• Home
  • Raw
  • Download

Lines Matching refs:rdev

145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset,  in rio_read_config_32()  argument
148 return rio_mport_read_config_32(rdev->net->hport, rdev->destid, in rio_read_config_32()
149 rdev->hopcount, offset, data); in rio_read_config_32()
161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32() argument
164 return rio_mport_write_config_32(rdev->net->hport, rdev->destid, in rio_write_config_32()
165 rdev->hopcount, offset, data); in rio_write_config_32()
177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16() argument
180 return rio_mport_read_config_16(rdev->net->hport, rdev->destid, in rio_read_config_16()
181 rdev->hopcount, offset, data); in rio_read_config_16()
193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16() argument
196 return rio_mport_write_config_16(rdev->net->hport, rdev->destid, in rio_write_config_16()
197 rdev->hopcount, offset, data); in rio_write_config_16()
209 static inline int rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data) in rio_read_config_8() argument
211 return rio_mport_read_config_8(rdev->net->hport, rdev->destid, in rio_read_config_8()
212 rdev->hopcount, offset, data); in rio_read_config_8()
224 static inline int rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data) in rio_write_config_8() argument
226 return rio_mport_write_config_8(rdev->net->hport, rdev->destid, in rio_write_config_8()
227 rdev->hopcount, offset, data); in rio_write_config_8()
241 static inline int rio_send_doorbell(struct rio_dev *rdev, u16 data) in rio_send_doorbell() argument
243 return rio_mport_send_doorbell(rdev->net->hport, rdev->destid, data); in rio_send_doorbell()
312 struct rio_dev *rdev, int mbox, in rio_add_outb_message() argument
315 return mport->ops->add_outb_message(mport, rdev, mbox, in rio_add_outb_message()
394 extern struct dma_chan *rio_request_dma(struct rio_dev *rdev);
398 struct rio_dev *rdev, struct dma_chan *dchan,
414 static inline const char *rio_name(struct rio_dev *rdev) in rio_name() argument
416 return dev_name(&rdev->dev); in rio_name()
426 static inline void *rio_get_drvdata(struct rio_dev *rdev) in rio_get_drvdata() argument
428 return dev_get_drvdata(&rdev->dev); in rio_get_drvdata()
439 static inline void rio_set_drvdata(struct rio_dev *rdev, void *data) in rio_set_drvdata() argument
441 dev_set_drvdata(&rdev->dev, data); in rio_set_drvdata()