Home
last modified time | relevance | path

Searched refs:chipco_read32 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/ssb/
Ddriver_chipcommon.c36 value |= chipco_read32(cc, offset) & ~mask; in chipco_write32_masked()
74 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode()
81 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode()
87 (chipco_read32(cc, SSB_CHIPCO_SYSCLKCTL) | in ssb_chipco_set_clockmode()
94 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode()
109 (chipco_read32(cc, SSB_CHIPCO_SYSCLKCTL) & in ssb_chipco_set_clockmode()
136 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in chipco_pctl_get_slowclksrc()
175 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in chipco_pctl_clockfreqlimit()
181 tmp = chipco_read32(cc, SSB_CHIPCO_SYSCLKCTL); in chipco_pctl_clockfreqlimit()
228 (chipco_read32(cc, SSB_CHIPCO_SYSCLKCTL) & in chipco_powercontrol_init()
[all …]
Ddriver_chipcommon_pmu.c25 return chipco_read32(cc, SSB_CHIPCO_PLLCTL_DATA); in ssb_chipco_pll_read()
40 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADDR); in ssb_chipco_regctl_maskset()
42 chipco_read32(cc, SSB_CHIPCO_REGCTL_ADDR); in ssb_chipco_regctl_maskset()
43 value = chipco_read32(cc, SSB_CHIPCO_REGCTL_DATA); in ssb_chipco_regctl_maskset()
47 chipco_read32(cc, SSB_CHIPCO_REGCTL_DATA); in ssb_chipco_regctl_maskset()
107 pmuctl = chipco_read32(cc, SSB_CHIPCO_PMU_CTL); in ssb_pmu0_pllinit_r0()
134 tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); in ssb_pmu0_pllinit_r0()
139 tmp = chipco_read32(cc, SSB_CHIPCO_CLKCTLST); in ssb_pmu0_pllinit_r0()
168 pmuctl = chipco_read32(cc, SSB_CHIPCO_PMU_CTL); in ssb_pmu0_pllinit_r0()
246 pmuctl = chipco_read32(cc, SSB_CHIPCO_PMU_CTL); in ssb_pmu1_pllinit_r0()
[all …]
Ddriver_chipcommon_sflash.c78 if (!(chipco_read32(cc, SSB_CHIPCO_FLASHCTL) & in ssb_sflash_cmd()
99 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init()
103 id2 = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init()
130 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA) & 0x3c; in ssb_sflash_init()
Ddriver_gpio.c125 u32 val = chipco_read32(chipco, SSB_CHIPCO_GPIOIN); in ssb_gpio_irq_chipco_handler()
126 u32 mask = chipco_read32(chipco, SSB_CHIPCO_GPIOIRQ); in ssb_gpio_irq_chipco_handler()
127 u32 pol = chipco_read32(chipco, SSB_CHIPCO_GPIOPOL); in ssb_gpio_irq_chipco_handler()
/Linux-v5.10/include/linux/ssb/
Dssb_driver_chipcommon.h605 #define chipco_read32(cc, offset) ssb_read32((cc)->dev, offset) macro
609 chipco_write32(cc, offset, chipco_read32(cc, offset) & (mask))
611 chipco_write32(cc, offset, chipco_read32(cc, offset) | (set))
613 chipco_write32(cc, offset, (chipco_read32(cc, offset) & (mask)) | (set))