Lines Matching refs:ssb_device

197 struct ssb_device;
201 u8 (*read8)(struct ssb_device *dev, u16 offset);
202 u16 (*read16)(struct ssb_device *dev, u16 offset);
203 u32 (*read32)(struct ssb_device *dev, u16 offset);
204 void (*write8)(struct ssb_device *dev, u16 offset, u8 value);
205 void (*write16)(struct ssb_device *dev, u16 offset, u16 value);
206 void (*write32)(struct ssb_device *dev, u16 offset, u32 value);
208 void (*block_read)(struct ssb_device *dev, void *buffer,
210 void (*block_write)(struct ssb_device *dev, const void *buffer,
258 struct ssb_device *sdev;
261 struct ssb_device { struct
281 struct ssb_device * dev_to_ssb_dev(struct device *dev) in dev_to_ssb_dev()
290 void ssb_set_drvdata(struct ssb_device *dev, void *data) in ssb_set_drvdata()
295 void * ssb_get_drvdata(struct ssb_device *dev) in ssb_get_drvdata()
301 void ssb_set_devtypedata(struct ssb_device *dev, void *data);
303 void * ssb_get_devtypedata(struct ssb_device *dev) in ssb_get_devtypedata()
313 int (*probe)(struct ssb_device *dev, const struct ssb_device_id *id);
314 void (*remove)(struct ssb_device *dev);
315 int (*suspend)(struct ssb_device *dev, pm_message_t state);
316 int (*resume)(struct ssb_device *dev);
317 void (*shutdown)(struct ssb_device *dev);
417 struct ssb_device *mapped_device;
456 struct ssb_device devices[SSB_MAX_NR_CORES];
565 int ssb_device_is_enabled(struct ssb_device *dev);
568 void ssb_device_enable(struct ssb_device *dev, u32 core_specific_flags);
570 void ssb_device_disable(struct ssb_device *dev, u32 core_specific_flags);
574 static inline u8 ssb_read8(struct ssb_device *dev, u16 offset) in ssb_read8()
578 static inline u16 ssb_read16(struct ssb_device *dev, u16 offset) in ssb_read16()
582 static inline u32 ssb_read32(struct ssb_device *dev, u16 offset) in ssb_read32()
586 static inline void ssb_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_write8()
590 static inline void ssb_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_write16()
594 static inline void ssb_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_write32()
599 static inline void ssb_block_read(struct ssb_device *dev, void *buffer, in ssb_block_read()
605 static inline void ssb_block_write(struct ssb_device *dev, const void *buffer, in ssb_block_write()
619 extern u32 ssb_dma_translation(struct ssb_device *dev);
623 static inline void __cold __ssb_dma_not_implemented(struct ssb_device *dev) in __ssb_dma_not_implemented()
640 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()
651 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()