Lines Matching refs:rio_mport

19 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset,
21 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset,
23 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset,
25 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset,
27 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset,
29 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset,
32 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid,
34 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid,
36 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid,
38 extern int rio_mport_write_config_16(struct rio_mport *port, u16 destid,
40 extern int rio_mport_read_config_8(struct rio_mport *port, u16 destid,
42 extern int rio_mport_write_config_8(struct rio_mport *port, u16 destid,
54 static inline int rio_local_read_config_32(struct rio_mport *port, u32 offset, in rio_local_read_config_32()
69 static inline int rio_local_write_config_32(struct rio_mport *port, u32 offset, in rio_local_write_config_32()
84 static inline int rio_local_read_config_16(struct rio_mport *port, u32 offset, in rio_local_read_config_16()
100 static inline int rio_local_write_config_16(struct rio_mport *port, u32 offset, in rio_local_write_config_16()
115 static inline int rio_local_read_config_8(struct rio_mport *port, u32 offset, in rio_local_read_config_8()
130 static inline int rio_local_write_config_8(struct rio_mport *port, u32 offset, in rio_local_write_config_8()
230 extern int rio_mport_send_doorbell(struct rio_mport *mport, u16 destid,
296 extern int rio_request_outb_mbox(struct rio_mport *, void *, int, int,
297 void (*)(struct rio_mport *, void *,int, int));
298 extern int rio_release_outb_mbox(struct rio_mport *, int);
311 static inline int rio_add_outb_message(struct rio_mport *mport, in rio_add_outb_message()
319 extern int rio_request_inb_mbox(struct rio_mport *, void *, int, int,
320 void (*)(struct rio_mport *, void *, int, int));
321 extern int rio_release_inb_mbox(struct rio_mport *, int);
332 static inline int rio_add_inb_buffer(struct rio_mport *mport, int mbox, in rio_add_inb_buffer()
345 static inline void *rio_get_inb_message(struct rio_mport *mport, int mbox) in rio_get_inb_message()
351 extern int rio_request_inb_dbell(struct rio_mport *, void *, u16, u16,
352 void (*)(struct rio_mport *, void *, u16, u16, u16));
353 extern int rio_release_inb_dbell(struct rio_mport *, u16, u16);
365 extern int rio_map_inb_region(struct rio_mport *mport, dma_addr_t local,
367 extern void rio_unmap_inb_region(struct rio_mport *mport, dma_addr_t lstart);
368 extern int rio_map_outb_region(struct rio_mport *mport, u16 destid, u64 rbase,
370 extern void rio_unmap_outb_region(struct rio_mport *mport,
377 extern int rio_add_mport_pw_handler(struct rio_mport *mport, void *dev_id,
378 int (*pwcback)(struct rio_mport *mport, void *dev_id,
380 extern int rio_del_mport_pw_handler(struct rio_mport *mport, void *dev_id,
381 int (*pwcback)(struct rio_mport *mport, void *dev_id,
383 extern int rio_inb_pwrite_handler(struct rio_mport *mport,
385 extern void rio_pw_enable(struct rio_mport *mport, int enable);
395 extern struct dma_chan *rio_request_mport_dma(struct rio_mport *mport);
445 extern u16 rio_local_get_device_id(struct rio_mport *port);
446 extern void rio_local_set_device_id(struct rio_mport *port, u16 did);