Lines Matching refs:ssb_device
204 struct ssb_device;
208 u8 (*read8)(struct ssb_device *dev, u16 offset);
209 u16 (*read16)(struct ssb_device *dev, u16 offset);
210 u32 (*read32)(struct ssb_device *dev, u16 offset);
211 void (*write8)(struct ssb_device *dev, u16 offset, u8 value);
212 void (*write16)(struct ssb_device *dev, u16 offset, u16 value);
213 void (*write32)(struct ssb_device *dev, u16 offset, u32 value);
215 void (*block_read)(struct ssb_device *dev, void *buffer,
217 void (*block_write)(struct ssb_device *dev, const void *buffer,
265 struct ssb_device *sdev;
268 struct ssb_device { struct
288 struct ssb_device * dev_to_ssb_dev(const struct device *dev) in dev_to_ssb_dev()
297 void ssb_set_drvdata(struct ssb_device *dev, void *data) in ssb_set_drvdata()
302 void * ssb_get_drvdata(struct ssb_device *dev) in ssb_get_drvdata()
308 void ssb_set_devtypedata(struct ssb_device *dev, void *data);
310 void * ssb_get_devtypedata(struct ssb_device *dev) in ssb_get_devtypedata()
320 int (*probe)(struct ssb_device *dev, const struct ssb_device_id *id);
321 void (*remove)(struct ssb_device *dev);
322 int (*suspend)(struct ssb_device *dev, pm_message_t state);
323 int (*resume)(struct ssb_device *dev);
324 void (*shutdown)(struct ssb_device *dev);
424 struct ssb_device *mapped_device;
463 struct ssb_device devices[SSB_MAX_NR_CORES];
566 int ssb_device_is_enabled(struct ssb_device *dev);
569 void ssb_device_enable(struct ssb_device *dev, u32 core_specific_flags);
571 void ssb_device_disable(struct ssb_device *dev, u32 core_specific_flags);
575 static inline u8 ssb_read8(struct ssb_device *dev, u16 offset) in ssb_read8()
579 static inline u16 ssb_read16(struct ssb_device *dev, u16 offset) in ssb_read16()
583 static inline u32 ssb_read32(struct ssb_device *dev, u16 offset) in ssb_read32()
587 static inline void ssb_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_write8()
591 static inline void ssb_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_write16()
595 static inline void ssb_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_write32()
600 static inline void ssb_block_read(struct ssb_device *dev, void *buffer, in ssb_block_read()
606 static inline void ssb_block_write(struct ssb_device *dev, const void *buffer, in ssb_block_write()
620 extern u32 ssb_dma_translation(struct ssb_device *dev);
633 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()
644 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()