Home
last modified time | relevance | path

Searched refs:bcma_cc_read32 (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/bcma/
Ddriver_chipcommon_pmu.c19 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); in bcma_chipco_pll_read()
20 return bcma_cc_read32(cc, BCMA_CC_PLLCTL_DATA); in bcma_chipco_pll_read()
27 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); in bcma_chipco_pll_write()
36 bcma_cc_read32(cc, BCMA_CC_PLLCTL_ADDR); in bcma_chipco_pll_maskset()
45 bcma_cc_read32(cc, BCMA_CC_CHIPCTL_ADDR); in bcma_chipco_chipctl_maskset()
54 bcma_cc_read32(cc, BCMA_CC_REGCTL_ADDR); in bcma_chipco_regctl_maskset()
63 if (!(bcma_cc_read32(cc, BCMA_CC_PMU_STAT) & in bcma_pmu_xtalfreq()
71 ilp_ctl = bcma_cc_read32(cc, BCMA_CC_PMU_XTAL_FREQ); in bcma_pmu_xtalfreq()
215 val = bcma_cc_read32(cc, BCMA_CC_CHIPCTL); in bcma_chipco_bcm4331_ext_pa_lines_ctl()
274 pmucap = bcma_cc_read32(cc, BCMA_CC_PMU_CAP); in bcma_pmu_early_init()
[all …]
Ddriver_chipcommon.c22 value |= bcma_cc_read32(cc, offset) & ~mask; in bcma_cc_write32_masked()
124 cc->status = bcma_cc_read32(cc, BCMA_CC_CHIPSTAT); in bcma_core_chipcommon_early_init()
125 cc->capabilities = bcma_cc_read32(cc, BCMA_CC_CAP); in bcma_core_chipcommon_early_init()
127 cc->capabilities_ext = bcma_cc_read32(cc, BCMA_CC_CAP_EXT); in bcma_core_chipcommon_early_init()
212 return bcma_cc_read32(cc, BCMA_CC_IRQSTAT) & mask; in bcma_chipco_irq_status()
217 return bcma_cc_read32(cc, BCMA_CC_GPIOIN) & mask; in bcma_chipco_gpio_in()
331 bcma_cc_read32(cc, BCMA_CC_CORECTL) in bcma_chipco_serial_init()
336 bcma_cc_read32(cc, BCMA_CC_CORECTL) in bcma_chipco_serial_init()
341 bcma_cc_read32(cc, BCMA_CC_CORECTL) in bcma_chipco_serial_init()
Ddriver_chipcommon_sflash.c79 if (!(bcma_cc_read32(cc, BCMA_CC_FLASHCTL) & in bcma_sflash_cmd()
101 id = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init()
105 id2 = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init()
131 id = bcma_cc_read32(cc, BCMA_CC_FLASHDATA) & 0x3c; in bcma_sflash_init()
Ddriver_gpio.c111 u32 val = bcma_cc_read32(cc, BCMA_CC_GPIOIN); in bcma_gpio_irq_handler()
112 u32 mask = bcma_cc_read32(cc, BCMA_CC_GPIOIRQ); in bcma_gpio_irq_handler()
113 u32 pol = bcma_cc_read32(cc, BCMA_CC_GPIOPOL); in bcma_gpio_irq_handler()
/linux-4.4.14/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c53 if (!(bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_START)) { in bcm47xxnflash_ops_bcm4706_ctl_cmd()
70 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & NCTL_READY) { in bcm47xxnflash_ops_bcm4706_poll()
71 if (bcma_cc_read32(cc, BCMA_CC_NFLASH_CTL) & in bcm47xxnflash_ops_bcm4706_poll()
131 *dest = bcma_cc_read32(b47n->cc, BCMA_CC_NFLASH_DATA); in bcm47xxnflash_ops_bcm4706_read()
205 return !!(bcma_cc_read32(b47n->cc, BCMA_CC_NFLASH_CTL) & NCTL_READY); in bcm47xxnflash_ops_bcm4706_dev_ready()
260 bcma_cc_read32(b47n->cc, BCMA_CC_NFLASH_DATA) in bcm47xxnflash_ops_bcm4706_cmdfunc()
331 return bcma_cc_read32(cc, BCMA_CC_NFLASH_DATA) & 0xff; in bcm47xxnflash_ops_bcm4706_read_byte()
/linux-4.4.14/include/linux/bcma/
Dbcma_driver_chipcommon.h653 #define bcma_cc_read32(cc, offset) \ macro
659 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
661 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
663 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
/linux-4.4.14/drivers/mtd/devices/
Dbcm47xxsflash.c267 return bcma_cc_read32(b47s->bcma_cc, offset); in bcm47xxsflash_bcma_cc_read()