Searched refs:phys_address (Results 1 – 2 of 2) sorted by relevance
/device/linaro/dragonboard/qcom/rmtfs/ |
D | sharedmem.c | 337 static void *rmtfs_mem_ptr(struct rmtfs_mem *rmem, unsigned long phys_address, ssize_t len) in rmtfs_mem_ptr() argument 345 start = phys_address; in rmtfs_mem_ptr() 351 return (char*)rmem->base + phys_address - rmem->address; in rmtfs_mem_ptr() 354 ssize_t rmtfs_mem_read(struct rmtfs_mem *rmem, unsigned long phys_address, void *buf, ssize_t len) in rmtfs_mem_read() argument 360 ptr = rmtfs_mem_ptr(rmem, phys_address, len); in rmtfs_mem_read() 366 offset = phys_address - rmem->address; in rmtfs_mem_read() 373 ssize_t rmtfs_mem_write(struct rmtfs_mem *rmem, unsigned long phys_address, const void *buf, ssize_… in rmtfs_mem_write() argument 379 ptr = rmtfs_mem_ptr(rmem, phys_address, len); in rmtfs_mem_write() 385 offset = phys_address - rmem->address; in rmtfs_mem_write()
|
D | rmtfs.h | 23 ssize_t rmtfs_mem_read(struct rmtfs_mem *rmem, unsigned long phys_address, void *buf, ssize_t len); 24 ssize_t rmtfs_mem_write(struct rmtfs_mem *rmem, unsigned long phys_address, const void *buf, ssize_…
|