Lines Matching refs:address
23 uint64_t address; member
95 ret = parse_hex_sysattr(dev, "phys_addr", &rmem->address); in rmtfs_mem_open_rfsa()
165 ret = parse_hex_sysattr(dev, "maps/map0/addr", &rmem->address); in rmtfs_mem_open_uio()
230 rmem->address = strtoull(val, &endptr, 16); in rmtfs_mem_open_rfsa()
231 if ((rmem->address == ULLONG_MAX && errno == ERANGE) || endptr == val) { in rmtfs_mem_open_rfsa()
301 base = mmap(0, rmem->size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, rmem->address); in rmtfs_mem_open()
330 return rmem->address; in rmtfs_mem_alloc()
348 if (start < rmem->address || end > rmem->address + rmem->size) in rmtfs_mem_ptr()
351 return (char*)rmem->base + phys_address - rmem->address; in rmtfs_mem_ptr()
366 offset = phys_address - rmem->address; in rmtfs_mem_read()
385 offset = phys_address - rmem->address; in rmtfs_mem_write()
448 rmem->address = be32toh(reg.dw[0]); in rmtfs_mem_enumerate()
451 rmem->address = be64toh(reg.qw[0]); in rmtfs_mem_enumerate()