Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/oprofile/
Dop_model_p4.c357 #define CCCR_CLEAR(cccr) ((cccr) &= CCCR_RESERVED_BITS) argument
358 #define CCCR_SET_REQUIRED_BITS(cccr) ((cccr) |= 0x00030000) argument
359 #define CCCR_SET_ESCR_SELECT(cccr, sel) ((cccr) |= (((sel) & 0x07) << 13)) argument
360 #define CCCR_SET_PMI_OVF_0(cccr) ((cccr) |= (1<<26)) argument
361 #define CCCR_SET_PMI_OVF_1(cccr) ((cccr) |= (1<<27)) argument
362 #define CCCR_SET_ENABLE(cccr) ((cccr) |= (1<<12)) argument
363 #define CCCR_SET_DISABLE(cccr) ((cccr) &= ~(1<<12)) argument
364 #define CCCR_OVF_P(cccr) ((cccr) & (1U<<31)) argument
365 #define CCCR_CLEAR_OVF(cccr) ((cccr) &= (~(1U<<31))) argument
508 unsigned int cccr = 0; in pmc_setup_one_p4_counter() local
[all …]
/kernel/linux/linux-5.10/drivers/clk/pxa/
Dclk-pxa25x.c124 unsigned long cccr = readl(CCCR); in clk_pxa25x_memory_get_rate() local
125 unsigned int m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_memory_get_rate()
228 unsigned long cccr = readl(CCCR); in clk_pxa25x_run_get_rate() local
229 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_run_get_rate()
239 unsigned long clkcfg, cccr = readl(CCCR); in clk_pxa25x_cpll_get_rate() local
244 l = L_clk_mult[(cccr >> 0) & 0x1f]; in clk_pxa25x_cpll_get_rate()
245 m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_cpll_get_rate()
246 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_cpll_get_rate()
Dclk-pxa27x.c275 unsigned long cccr = readl(CCCR); in clk_pxa27x_lcd_base_get_rate() local
280 if (cccr & (1 << CCCR_LCD_26_BIT)) in clk_pxa27x_lcd_base_get_rate()
418 unsigned long cccr = readl(CCCR); in clk_pxa27x_memory_get_rate() local
422 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_rate()
437 unsigned long cccr = readl(CCCR); in clk_pxa27x_memory_get_parent() local
441 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_parent()
Dclk-pxa.c154 void __iomem *cccr) in pxa2xx_cpll_change() argument
187 writel(freq->cccr, cccr); in pxa2xx_cpll_change()
Dclk-pxa.h137 unsigned int cccr; member
155 void __iomem *cccr);
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dbus_sdio.c114 u8 cccr; in wfx_sdio_irq_subscribe() local
133 cccr = sdio_f0_readb(bus->func, SDIO_CCCR_IENx, NULL); in wfx_sdio_irq_subscribe()
134 cccr |= BIT(0); in wfx_sdio_irq_subscribe()
135 cccr |= BIT(bus->func->num); in wfx_sdio_irq_subscribe()
136 sdio_f0_writeb(bus->func, cccr, SDIO_CCCR_IENx, NULL); in wfx_sdio_irq_subscribe()
/kernel/linux/linux-5.10/drivers/net/can/m_can/
Dm_can.c374 u32 cccr = m_can_read(cdev, M_CAN_CCCR); in m_can_config_endisable() local
379 if (cccr & CCCR_CSR) in m_can_config_endisable()
380 cccr &= ~CCCR_CSR; in m_can_config_endisable()
384 m_can_write(cdev, M_CAN_CCCR, cccr | CCCR_INIT); in m_can_config_endisable()
387 m_can_write(cdev, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); in m_can_config_endisable()
389 m_can_write(cdev, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); in m_can_config_endisable()
1123 u32 cccr, test; in m_can_chip_config() local
1168 cccr = m_can_read(cdev, M_CAN_CCCR); in m_can_chip_config()
1174 cccr &= ~(CCCR_TEST | CCCR_MON | CCCR_DAR | in m_can_chip_config()
1179 cccr |= CCCR_CME_CANFD_BRS << CCCR_CME_SHIFT; in m_can_chip_config()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio.c163 card->cccr.sdio_vsn = (data & 0xf0) >> 4; in sdio_read_cccr()
170 card->cccr.multi_block = 1; in sdio_read_cccr()
172 card->cccr.low_speed = 1; in sdio_read_cccr()
174 card->cccr.wide_bus = 1; in sdio_read_cccr()
182 card->cccr.high_power = 1; in sdio_read_cccr()
233 card->cccr.high_speed = 1; in sdio_read_cccr()
236 card->cccr.high_speed = 0; in sdio_read_cccr()
254 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_enable_wide()
311 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_disable_wide()
390 if (!card->cccr.high_speed) in mmc_sdio_switch_hs()
[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()
Dsdio_cis.c186 vsn = func->card->cccr.sdio_vsn; in cistpl_funce_func()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
1069 u32 escr, cccr; in p4_pmu_swap_config_ts() local
1083 cccr = p4_config_unpack_cccr(hwc->config); in p4_pmu_swap_config_ts()
1086 cccr &= ~P4_CCCR_OVF_PMI_T0; in p4_pmu_swap_config_ts()
1087 cccr |= P4_CCCR_OVF_PMI_T1; in p4_pmu_swap_config_ts()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c4392 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); in ips_init_scb()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc5121.h35 u32 cccr; /* CFM Clock Control Register */ member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.h62 u8 cccr; member
/kernel/linux/linux-5.10/include/linux/mmc/
Dcard.h296 struct sdio_cccr cccr; /* common card info */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dsdio.c312 if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00) in wl1271_probe()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks7010_sdio.c973 func->card->cccr.multi_block, func->cur_blksize, ret); in ks7010_sdio_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
Domap_hsmmc.c1531 card->cccr.wide_bus = 1; in omap_hsmmc_init_card()