Home
last modified time | relevance | path

Searched refs:cccr (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/clk/pxa/
Dclk-pxa25x.c101 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa25x_memory_get_rate() local
102 unsigned int m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_memory_get_rate()
205 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa25x_run_get_rate() local
206 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_run_get_rate()
216 unsigned long clkcfg, cccr = readl(clk_regs + CCCR); in clk_pxa25x_cpll_get_rate() local
221 l = L_clk_mult[(cccr >> 0) & 0x1f]; in clk_pxa25x_cpll_get_rate()
222 m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_cpll_get_rate()
223 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_cpll_get_rate()
Dclk-pxa27x.c252 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa27x_lcd_base_get_rate() local
257 if (cccr & (1 << CCCR_LCD_26_BIT)) in clk_pxa27x_lcd_base_get_rate()
395 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa27x_memory_get_rate() local
399 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_rate()
414 unsigned long cccr = readl(clk_regs + CCCR); in clk_pxa27x_memory_get_parent() local
418 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_parent()
Dclk-pxa.c159 void __iomem *cccr) in pxa2xx_cpll_change() argument
193 writel(freq->cccr, cccr); in pxa2xx_cpll_change()
Dclk-pxa.h139 unsigned int cccr; member
158 void __iomem *cccr);
/Linux-v6.1/drivers/net/wireless/silabs/wfx/
Dbus_sdio.c129 u8 cccr; in wfx_sdio_irq_subscribe() local
147 cccr = sdio_f0_readb(bus->func, SDIO_CCCR_IENx, NULL); in wfx_sdio_irq_subscribe()
148 cccr |= BIT(0); in wfx_sdio_irq_subscribe()
149 cccr |= BIT(bus->func->num); in wfx_sdio_irq_subscribe()
150 sdio_f0_writeb(bus->func, cccr, SDIO_CCCR_IENx, NULL); in wfx_sdio_irq_subscribe()
/Linux-v6.1/drivers/mmc/core/
Dsdio.c164 card->cccr.sdio_vsn = (data & 0xf0) >> 4; in sdio_read_cccr()
171 card->cccr.multi_block = 1; in sdio_read_cccr()
173 card->cccr.low_speed = 1; in sdio_read_cccr()
175 card->cccr.wide_bus = 1; in sdio_read_cccr()
183 card->cccr.high_power = 1; in sdio_read_cccr()
241 card->cccr.enable_async_irq = 1; in sdio_read_cccr()
248 card->cccr.high_speed = 1; in sdio_read_cccr()
251 card->cccr.high_speed = 0; in sdio_read_cccr()
269 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_enable_wide()
326 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_disable_wide()
[all …]
Dsdio_io.c255 if (func->card->cccr.multi_block) { in sdio_align_size()
326 if (func->card->cccr.multi_block && (size > sdio_max_byte_size(func))) { in sdio_io_rw_ext_helper()
Dcard.h183 card->cccr.wide_bus = 1; in wl1251_quirk()
Dsdio_cis.c186 vsn = func->card->cccr.sdio_vsn; in cistpl_funce_func()
/Linux-v6.1/drivers/net/can/m_can/
Dm_can.c378 u32 cccr = m_can_read(cdev, M_CAN_CCCR); in m_can_config_endisable() local
383 if (cccr & CCCR_CSR) in m_can_config_endisable()
384 cccr &= ~CCCR_CSR; in m_can_config_endisable()
388 m_can_write(cdev, M_CAN_CCCR, cccr | CCCR_INIT); in m_can_config_endisable()
391 m_can_write(cdev, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); in m_can_config_endisable()
393 m_can_write(cdev, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); in m_can_config_endisable()
1239 u32 cccr, test; in m_can_chip_config() local
1290 cccr = m_can_read(cdev, M_CAN_CCCR); in m_can_chip_config()
1296 cccr &= ~(CCCR_TEST | CCCR_MON | CCCR_DAR | in m_can_chip_config()
1301 cccr |= FIELD_PREP(CCCR_CME_MASK, CCCR_CME_CANFD_BRS); in m_can_chip_config()
[all …]
/Linux-v6.1/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c115 u8 cccr; in cw1200_request_irq() local
117 cccr = sdio_f0_readb(self->func, SDIO_CCCR_IENx, &ret); in cw1200_request_irq()
122 cccr |= BIT(0); in cw1200_request_irq()
125 cccr |= BIT(self->func->num); in cw1200_request_irq()
127 sdio_f0_writeb(self->func, cccr, SDIO_CCCR_IENx, &ret); in cw1200_request_irq()
/Linux-v6.1/arch/x86/events/intel/
Dp4.c806 u32 escr, cccr; in p4_hw_config() local
814 cccr = p4_default_cccr_conf(cpu); in p4_hw_config()
818 p4_config_pack_cccr(cccr); in p4_hw_config()
957 u64 escr_addr, cccr; in __p4_pmu_enable_event() local
973 cccr = p4_config_unpack_cccr(hwc->config); in __p4_pmu_enable_event()
983 (cccr & ~P4_CCCR_RESERVED) | P4_CCCR_ENABLE); in __p4_pmu_enable_event()
1102 u32 escr, cccr; in p4_pmu_swap_config_ts() local
1116 cccr = p4_config_unpack_cccr(hwc->config); in p4_pmu_swap_config_ts()
1119 cccr &= ~P4_CCCR_OVF_PMI_T0; in p4_pmu_swap_config_ts()
1120 cccr |= P4_CCCR_OVF_PMI_T1; in p4_pmu_swap_config_ts()
[all …]
/Linux-v6.1/arch/x86/include/asm/
Dperf_event_p4.h162 u32 cccr = p4_config_unpack_cccr(config); in p4_is_event_cascaded() local
163 return !!(cccr & P4_CCCR_CASCADE); in p4_is_event_cascaded()
210 u32 cccr = P4_CCCR_THREAD_ANY; in p4_default_cccr_conf() local
213 cccr |= P4_CCCR_OVF_PMI_T0; in p4_default_cccr_conf()
215 cccr |= P4_CCCR_OVF_PMI_T1; in p4_default_cccr_conf()
217 return cccr; in p4_default_cccr_conf()
/Linux-v6.1/drivers/scsi/
Dips.h419 uint32_t cccr; member
430 uint32_t cccr; member
472 uint32_t cccr; member
484 uint32_t cccr; member
496 uint32_t cccr; member
508 uint32_t cccr; member
520 uint32_t cccr; member
532 uint32_t cccr; member
Dips.c4396 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); in ips_init_scb()
/Linux-v6.1/include/linux/mmc/
Dcard.h322 struct sdio_cccr cccr; /* common card info */ member
350 return card->cccr.enable_async_irq; in mmc_card_enable_async_irq()
/Linux-v6.1/arch/powerpc/include/asm/
Dmpc5121.h35 u32 cccr; /* CFM Clock Control Register */ member
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/
Defuse.h62 u8 cccr; member
/Linux-v6.1/drivers/net/wireless/ti/wlcore/
Dsdio.c311 if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00) in wl1271_probe()
/Linux-v6.1/drivers/staging/ks7010/
Dks7010_sdio.c973 func->card->cccr.multi_block, func->cur_blksize, ret); in ks7010_sdio_probe()