Lines Matching defs:ocmem
52 struct ocmem { struct
54 const struct ocmem_config *config; argument
60 struct ocmem_region *regions; argument
61 unsigned long active_allocations;
104 static inline void ocmem_write(struct ocmem *ocmem, u32 reg, u32 data) in ocmem_write()
109 static inline u32 ocmem_read(struct ocmem *ocmem, u32 reg) in ocmem_read()
114 static void update_ocmem(struct ocmem *ocmem) in update_ocmem()
145 static unsigned long phys_to_offset(struct ocmem *ocmem, in phys_to_offset()
154 static unsigned long device_address(struct ocmem *ocmem, in device_address()
164 static void update_range(struct ocmem *ocmem, struct ocmem_buf *buf, in update_range()
209 struct ocmem_buf *ocmem_allocate(struct ocmem *ocmem, enum ocmem_client client, in ocmem_allocate()
265 void ocmem_free(struct ocmem *ocmem, enum ocmem_client client, in ocmem_free()
298 struct ocmem *ocmem; in ocmem_dev_probe() local