Lines Matching refs:bcma_device

18 struct bcma_device;
44 u8 (*read8)(struct bcma_device *core, u16 offset);
45 u16 (*read16)(struct bcma_device *core, u16 offset);
46 u32 (*read32)(struct bcma_device *core, u16 offset);
47 void (*write8)(struct bcma_device *core, u16 offset, u8 value);
48 void (*write16)(struct bcma_device *core, u16 offset, u16 value);
49 void (*write32)(struct bcma_device *core, u16 offset, u32 value);
51 void (*block_read)(struct bcma_device *core, void *buffer,
53 void (*block_write)(struct bcma_device *core, const void *buffer,
57 u32 (*aread32)(struct bcma_device *core, u16 offset);
58 void (*awrite32)(struct bcma_device *core, u16 offset, u32 value);
267 struct bcma_device { struct
291 static inline void *bcma_get_drvdata(struct bcma_device *core) in bcma_get_drvdata() argument
295 static inline void bcma_set_drvdata(struct bcma_device *core, void *drvdata) in bcma_set_drvdata()
304 int (*probe)(struct bcma_device *dev);
305 void (*remove)(struct bcma_device *dev);
306 int (*suspend)(struct bcma_device *dev);
307 int (*resume)(struct bcma_device *dev);
308 void (*shutdown)(struct bcma_device *dev);
350 struct bcma_device *mapped_core;
367 static inline u32 bcma_read8(struct bcma_device *core, u16 offset) in bcma_read8()
371 static inline u32 bcma_read16(struct bcma_device *core, u16 offset) in bcma_read16()
375 static inline u32 bcma_read32(struct bcma_device *core, u16 offset) in bcma_read32()
380 void bcma_write8(struct bcma_device *core, u16 offset, u32 value) in bcma_write8()
385 void bcma_write16(struct bcma_device *core, u16 offset, u32 value) in bcma_write16()
390 void bcma_write32(struct bcma_device *core, u16 offset, u32 value) in bcma_write32()
395 static inline void bcma_block_read(struct bcma_device *core, void *buffer, in bcma_block_read()
400 static inline void bcma_block_write(struct bcma_device *core, in bcma_block_write()
407 static inline u32 bcma_aread32(struct bcma_device *core, u16 offset) in bcma_aread32()
412 void bcma_awrite32(struct bcma_device *core, u16 offset, u32 value) in bcma_awrite32()
417 static inline void bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) in bcma_mask32()
421 static inline void bcma_set32(struct bcma_device *cc, u16 offset, u32 set) in bcma_set32()
425 static inline void bcma_maskset32(struct bcma_device *cc, in bcma_maskset32()
430 static inline void bcma_mask16(struct bcma_device *cc, u16 offset, u16 mask) in bcma_mask16()
434 static inline void bcma_set16(struct bcma_device *cc, u16 offset, u16 set) in bcma_set16()
438 static inline void bcma_maskset16(struct bcma_device *cc, in bcma_maskset16()
444 extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
446 static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, in bcma_find_core()
456 struct bcma_device *core, bool enable);
465 struct bcma_device *core, bool enable) in bcma_host_pci_irq_ctl()
473 extern bool bcma_core_is_enabled(struct bcma_device *core);
474 extern void bcma_core_disable(struct bcma_device *core, u32 flags);
475 extern int bcma_core_enable(struct bcma_device *core, u32 flags);
476 extern void bcma_core_set_clockmode(struct bcma_device *core,
478 extern void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status,
485 extern u32 bcma_core_dma_translation(struct bcma_device *core);
487 extern unsigned int bcma_core_irq(struct bcma_device *core, int num);