Lines Matching full:core

35 	u8 (*read8)(struct bcma_device *core, u16 offset);
36 u16 (*read16)(struct bcma_device *core, u16 offset);
37 u32 (*read32)(struct bcma_device *core, u16 offset);
38 void (*write8)(struct bcma_device *core, u16 offset, u8 value);
39 void (*write16)(struct bcma_device *core, u16 offset, u16 value);
40 void (*write32)(struct bcma_device *core, u16 offset, u32 value);
42 void (*block_read)(struct bcma_device *core, void *buffer,
44 void (*block_write)(struct bcma_device *core, const void *buffer,
48 u32 (*aread32)(struct bcma_device *core, u16 offset);
49 void (*awrite32)(struct bcma_device *core, u16 offset, u32 value);
52 /* Core manufacturers */
57 /* Core class values. */
66 /* Core-ID values. */
122 #define BCMA_CORE_SDR_DDR1_MEM_CTL 0x835 /* SDR/DDR1 memory controller core */
150 static inline void *bcma_get_drvdata(struct bcma_device *core) in bcma_get_drvdata() argument
152 return core->drvdata; in bcma_get_drvdata()
154 static inline void bcma_set_drvdata(struct bcma_device *core, void *drvdata) in bcma_set_drvdata() argument
156 core->drvdata = drvdata; in bcma_set_drvdata()
208 static inline u32 bcma_read8(struct bcma_device *core, u16 offset) in bcma_read8() argument
210 return core->bus->ops->read8(core, offset); in bcma_read8()
212 static inline u32 bcma_read16(struct bcma_device *core, u16 offset) in bcma_read16() argument
214 return core->bus->ops->read16(core, offset); in bcma_read16()
216 static inline u32 bcma_read32(struct bcma_device *core, u16 offset) in bcma_read32() argument
218 return core->bus->ops->read32(core, offset); in bcma_read32()
221 void bcma_write8(struct bcma_device *core, u16 offset, u32 value) in bcma_write8() argument
223 core->bus->ops->write8(core, offset, value); in bcma_write8()
226 void bcma_write16(struct bcma_device *core, u16 offset, u32 value) in bcma_write16() argument
228 core->bus->ops->write16(core, offset, value); in bcma_write16()
231 void bcma_write32(struct bcma_device *core, u16 offset, u32 value) in bcma_write32() argument
233 core->bus->ops->write32(core, offset, value); in bcma_write32()
236 static inline void bcma_block_read(struct bcma_device *core, void *buffer, in bcma_block_read() argument
239 core->bus->ops->block_read(core, buffer, count, offset, reg_width); in bcma_block_read()
241 static inline void bcma_block_write(struct bcma_device *core, in bcma_block_write() argument
245 core->bus->ops->block_write(core, buffer, count, offset, reg_width); in bcma_block_write()
248 static inline u32 bcma_aread32(struct bcma_device *core, u16 offset) in bcma_aread32() argument
250 return core->bus->ops->aread32(core, offset); in bcma_aread32()
253 void bcma_awrite32(struct bcma_device *core, u16 offset, u32 value) in bcma_awrite32() argument
255 core->bus->ops->awrite32(core, offset, value); in bcma_awrite32()
285 extern bool bcma_core_is_enabled(struct bcma_device *core);
286 extern void bcma_core_disable(struct bcma_device *core, u32 flags);
287 extern int bcma_core_enable(struct bcma_device *core, u32 flags);
288 extern void bcma_core_set_clockmode(struct bcma_device *core,
290 extern void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status,
296 extern u32 bcma_core_dma_translation(struct bcma_device *core);