Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
/Linux-v4.19/drivers/clk/pxa/
Dclk-pxa25x.c127 unsigned long cccr = readl(CCCR); in clk_pxa25x_memory_get_rate() local
128 unsigned int m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_memory_get_rate()
231 unsigned long cccr = readl(CCCR); in clk_pxa25x_run_get_rate() local
232 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_run_get_rate()
242 unsigned long clkcfg, cccr = readl(CCCR); in clk_pxa25x_cpll_get_rate() local
247 l = L_clk_mult[(cccr >> 0) & 0x1f]; in clk_pxa25x_cpll_get_rate()
248 m = M_clk_mult[(cccr >> 5) & 0x03]; in clk_pxa25x_cpll_get_rate()
249 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; in clk_pxa25x_cpll_get_rate()
Dclk-pxa27x.c279 unsigned long cccr = readl(CCCR); in clk_pxa27x_lcd_base_get_rate() local
284 if (cccr & (1 << CCCR_LCD_26_BIT)) in clk_pxa27x_lcd_base_get_rate()
422 unsigned long cccr = readl(CCCR); in clk_pxa27x_memory_get_rate() local
426 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_rate()
441 unsigned long cccr = readl(CCCR); in clk_pxa27x_memory_get_parent() local
445 a = cccr & (1 << CCCR_A_BIT); in clk_pxa27x_memory_get_parent()
Dclk-pxa.c157 void __iomem *cccr) in pxa2xx_cpll_change() argument
190 writel(freq->cccr, cccr); in pxa2xx_cpll_change()
Dclk-pxa.h141 unsigned int cccr; member
159 void __iomem *cccr);
/Linux-v4.19/drivers/mmc/core/
Dsdio.c125 card->cccr.sdio_vsn = (data & 0xf0) >> 4; in sdio_read_cccr()
132 card->cccr.multi_block = 1; in sdio_read_cccr()
134 card->cccr.low_speed = 1; in sdio_read_cccr()
136 card->cccr.wide_bus = 1; in sdio_read_cccr()
144 card->cccr.high_power = 1; in sdio_read_cccr()
192 card->cccr.high_speed = 1; in sdio_read_cccr()
195 card->cccr.high_speed = 0; in sdio_read_cccr()
213 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_enable_wide()
270 if (card->cccr.low_speed && !card->cccr.wide_bus) in sdio_disable_wide()
330 if (!card->cccr.high_speed) in mmc_sdio_switch_hs()
[all …]
Dsdio_io.c242 if (func->card->cccr.multi_block) { in sdio_align_size()
316 if (func->card->cccr.multi_block && (size > sdio_max_byte_size(func))) { in sdio_io_rw_ext_helper()
Dsdio_cis.c177 vsn = func->card->cccr.sdio_vsn; in cistpl_funce_func()
/Linux-v4.19/drivers/net/can/m_can/
Dm_can.c413 u32 cccr = m_can_read(priv, M_CAN_CCCR); in m_can_config_endisable() local
419 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT); in m_can_config_endisable()
422 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); in m_can_config_endisable()
424 m_can_write(priv, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); in m_can_config_endisable()
1054 u32 cccr, test; in m_can_chip_config() local
1099 cccr = m_can_read(priv, M_CAN_CCCR); in m_can_chip_config()
1105 cccr &= ~(CCCR_TEST | CCCR_MON | in m_can_chip_config()
1110 cccr |= CCCR_CME_CANFD_BRS << CCCR_CME_SHIFT; in m_can_chip_config()
1114 cccr &= ~(CCCR_TEST | CCCR_MON | CCCR_BRSE | CCCR_FDOE | in m_can_chip_config()
1119 cccr |= CCCR_NISO; in m_can_chip_config()
[all …]
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c124 u8 cccr; in cw1200_request_irq() local
126 cccr = sdio_f0_readb(self->func, SDIO_CCCR_IENx, &ret); in cw1200_request_irq()
131 cccr |= BIT(0); in cw1200_request_irq()
134 cccr |= BIT(self->func->num); in cw1200_request_irq()
136 sdio_f0_writeb(self->func, cccr, SDIO_CCCR_IENx, &ret); in cw1200_request_irq()
/Linux-v4.19/arch/x86/events/intel/
Dp4.c805 u32 escr, cccr; in p4_hw_config() local
813 cccr = p4_default_cccr_conf(cpu); in p4_hw_config()
817 p4_config_pack_cccr(cccr); in p4_hw_config()
956 u64 escr_addr, cccr; in p4_pmu_enable_event() local
972 cccr = p4_config_unpack_cccr(hwc->config); in p4_pmu_enable_event()
982 (cccr & ~P4_CCCR_RESERVED) | P4_CCCR_ENABLE); in p4_pmu_enable_event()
1068 u32 escr, cccr; in p4_pmu_swap_config_ts() local
1082 cccr = p4_config_unpack_cccr(hwc->config); in p4_pmu_swap_config_ts()
1085 cccr &= ~P4_CCCR_OVF_PMI_T0; in p4_pmu_swap_config_ts()
1086 cccr |= P4_CCCR_OVF_PMI_T1; in p4_pmu_swap_config_ts()
[all …]
/Linux-v4.19/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-v4.19/drivers/scsi/
Dips.h428 uint32_t cccr; member
439 uint32_t cccr; member
481 uint32_t cccr; member
493 uint32_t cccr; member
505 uint32_t cccr; member
517 uint32_t cccr; member
529 uint32_t cccr; member
541 uint32_t cccr; member
Dips.c4393 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); in ips_init_scb()
/Linux-v4.19/arch/powerpc/include/asm/
Dmpc5121.h37 u32 cccr; /* CFM Clock Control Register */ member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Defuse.h84 u8 cccr; member
/Linux-v4.19/drivers/staging/rtlwifi/
Defuse.h73 u8 cccr; member
/Linux-v4.19/include/linux/mmc/
Dcard.h294 struct sdio_cccr cccr; /* common card info */ member
/Linux-v4.19/arch/arm/mach-omap2/
Dpdata-quirks.c353 card->cccr.wide_bus = 1; in pandora_wl1251_init_card()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dsdio.c333 if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00) in wl1271_probe()
/Linux-v4.19/drivers/staging/ks7010/
Dks7010_sdio.c972 func->card->cccr.multi_block, func->cur_blksize, ret); in ks7010_sdio_probe()