Searched refs:cccr (Results 1 - 28 of 28) sorted by relevance

/linux-4.1.27/arch/x86/oprofile/
H A Dop_model_p4.c357 #define CCCR_CLEAR(cccr) ((cccr) &= CCCR_RESERVED_BITS)
358 #define CCCR_SET_REQUIRED_BITS(cccr) ((cccr) |= 0x00030000)
359 #define CCCR_SET_ESCR_SELECT(cccr, sel) ((cccr) |= (((sel) & 0x07) << 13))
360 #define CCCR_SET_PMI_OVF_0(cccr) ((cccr) |= (1<<26))
361 #define CCCR_SET_PMI_OVF_1(cccr) ((cccr) |= (1<<27))
362 #define CCCR_SET_ENABLE(cccr) ((cccr) |= (1<<12))
363 #define CCCR_SET_DISABLE(cccr) ((cccr) &= ~(1<<12))
364 #define CCCR_OVF_P(cccr) ((cccr) & (1U<<31))
365 #define CCCR_CLEAR_OVF(cccr) ((cccr) &= (~(1U<<31)))
415 /* the counter & cccr registers we pay attention to */ p4_fill_in_addresses()
508 unsigned int cccr = 0; pmc_setup_one_p4_counter() local
549 cccr, high); pmc_setup_one_p4_counter()
550 CCCR_CLEAR(cccr); pmc_setup_one_p4_counter()
551 CCCR_SET_REQUIRED_BITS(cccr); pmc_setup_one_p4_counter()
552 CCCR_SET_ESCR_SELECT(cccr, ev->escr_select); pmc_setup_one_p4_counter()
554 CCCR_SET_PMI_OVF_0(cccr); pmc_setup_one_p4_counter()
556 CCCR_SET_PMI_OVF_1(cccr); pmc_setup_one_p4_counter()
558 cccr, high); pmc_setup_one_p4_counter()
/linux-4.1.27/drivers/clk/pxa/
H A Dclk-pxa25x.c88 unsigned long cccr = CCCR; clk_pxa25x_memory_get_rate() local
89 unsigned int m = M_clk_mult[(cccr >> 5) & 0x03]; clk_pxa25x_memory_get_rate()
166 unsigned long cccr = CCCR; clk_pxa25x_run_get_rate() local
167 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; clk_pxa25x_run_get_rate()
177 unsigned long clkcfg, cccr = CCCR; clk_pxa25x_cpll_get_rate() local
182 l = L_clk_mult[(cccr >> 0) & 0x1f]; clk_pxa25x_cpll_get_rate()
183 m = M_clk_mult[(cccr >> 5) & 0x03]; clk_pxa25x_cpll_get_rate()
184 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; clk_pxa25x_cpll_get_rate()
H A Dclk-pxa27x.c175 unsigned long cccr = CCCR; clk_pxa27x_lcd_base_get_rate() local
180 if (cccr & (1 << CCCR_LCD_26_BIT)) clk_pxa27x_lcd_base_get_rate()
321 unsigned long cccr = CCCR; clk_pxa27x_memory_get_rate() local
325 a = cccr & (1 << CCCR_A_BIT); clk_pxa27x_memory_get_rate()
340 unsigned long cccr = CCCR; clk_pxa27x_memory_get_parent() local
344 a = cccr & (1 << CCCR_A_BIT); clk_pxa27x_memory_get_parent()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dcw1200_sdio.c123 u8 cccr; cw1200_request_irq() local
125 cccr = sdio_f0_readb(self->func, SDIO_CCCR_IENx, &ret); cw1200_request_irq()
130 cccr |= BIT(0); cw1200_request_irq()
133 cccr |= BIT(self->func->num); cw1200_request_irq()
135 sdio_f0_writeb(self->func, cccr, SDIO_CCCR_IENx, &ret); cw1200_request_irq()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dpxa25x.c67 unsigned long cccr, turbo; pxa25x_get_clk_frequency_khz() local
70 cccr = CCCR; pxa25x_get_clk_frequency_khz()
73 l = L_clk_mult[(cccr >> 0) & 0x1f]; pxa25x_get_clk_frequency_khz()
74 m = M_clk_mult[(cccr >> 5) & 0x03]; pxa25x_get_clk_frequency_khz()
75 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; pxa25x_get_clk_frequency_khz()
/linux-4.1.27/drivers/net/can/m_can/
H A Dm_can.c322 u32 cccr = m_can_read(priv, M_CAN_CCCR); m_can_config_endisable() local
328 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT); m_can_config_endisable()
331 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); m_can_config_endisable()
333 m_can_write(priv, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); m_can_config_endisable()
846 u32 cccr, test; m_can_chip_config() local
875 cccr = m_can_read(priv, M_CAN_CCCR); m_can_chip_config()
876 cccr &= ~(CCCR_TEST | CCCR_MON | (CCCR_CMR_MASK << CCCR_CMR_SHIFT) | m_can_chip_config()
882 cccr |= CCCR_MON; m_can_chip_config()
885 cccr |= CCCR_TEST; m_can_chip_config()
890 cccr |= CCCR_CME_CANFD_BRS << CCCR_CME_SHIFT; m_can_chip_config()
892 m_can_write(priv, M_CAN_CCCR, cccr); m_can_chip_config()
1051 u32 id, cccr; m_can_start_xmit() local
1080 cccr = m_can_read(priv, M_CAN_CCCR); m_can_start_xmit()
1081 cccr &= ~(CCCR_CMR_MASK << CCCR_CMR_SHIFT); m_can_start_xmit()
1084 cccr |= CCCR_CMR_CANFD_BRS << CCCR_CMR_SHIFT; m_can_start_xmit()
1086 cccr |= CCCR_CMR_CANFD << CCCR_CMR_SHIFT; m_can_start_xmit()
1088 cccr |= CCCR_CMR_CAN << CCCR_CMR_SHIFT; m_can_start_xmit()
1090 m_can_write(priv, M_CAN_CCCR, cccr); m_can_start_xmit()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmpc5121.h37 u32 cccr; /* CFM Clock Control Register */ member in struct:mpc512x_ccm
/linux-4.1.27/drivers/mmc/core/
H A Dsdio.c109 memset(&card->cccr, 0, sizeof(struct sdio_cccr)); sdio_read_cccr()
123 card->cccr.sdio_vsn = (data & 0xf0) >> 4; sdio_read_cccr()
130 card->cccr.multi_block = 1; sdio_read_cccr()
132 card->cccr.low_speed = 1; sdio_read_cccr()
134 card->cccr.wide_bus = 1; sdio_read_cccr()
142 card->cccr.high_power = 1; sdio_read_cccr()
190 card->cccr.high_speed = 1; sdio_read_cccr()
193 card->cccr.high_speed = 0; sdio_read_cccr()
211 if (card->cccr.low_speed && !card->cccr.wide_bus) sdio_enable_wide()
268 if (card->cccr.low_speed && !card->cccr.wide_bus) sdio_disable_wide()
328 if (!card->cccr.high_speed) mmc_sdio_switch_hs()
721 * It's host's responsibility to fill cccr and cis mmc_sdio_init_card()
726 if (card->cccr.high_speed) { mmc_sdio_init_card()
H A Dsdio_cis.c177 vsn = func->card->cccr.sdio_vsn; cistpl_funce_func()
H A Dsdio_io.c240 if (func->card->cccr.multi_block) { sdio_align_size()
311 if (func->card->cccr.multi_block && (size > sdio_max_byte_size(func))) { sdio_io_rw_ext_helper()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_p4.c805 u32 escr, cccr; p4_hw_config() local
813 cccr = p4_default_cccr_conf(cpu); p4_hw_config()
817 p4_config_pack_cccr(cccr); p4_hw_config()
956 u64 escr_addr, cccr; p4_pmu_enable_event() local
972 cccr = p4_config_unpack_cccr(hwc->config); p4_pmu_enable_event()
982 (cccr & ~P4_CCCR_RESERVED) | P4_CCCR_ENABLE); p4_pmu_enable_event()
1068 u32 escr, cccr; p4_pmu_swap_config_ts() local
1082 cccr = p4_config_unpack_cccr(hwc->config); p4_pmu_swap_config_ts()
1085 cccr &= ~P4_CCCR_OVF_PMI_T0; p4_pmu_swap_config_ts()
1086 cccr |= P4_CCCR_OVF_PMI_T1; p4_pmu_swap_config_ts()
1096 hwc->config |= p4_config_pack_cccr(cccr); p4_pmu_swap_config_ts()
1099 cccr &= ~P4_CCCR_OVF_PMI_T1; p4_pmu_swap_config_ts()
1100 cccr |= P4_CCCR_OVF_PMI_T0; p4_pmu_swap_config_ts()
1110 hwc->config |= p4_config_pack_cccr(cccr); p4_pmu_swap_config_ts()
1290 PMU_FORMAT_ATTR(cccr, "config:0-31" );
/linux-4.1.27/arch/x86/include/asm/
H A Dperf_event_p4.h161 u32 cccr = p4_config_unpack_cccr(config); p4_is_event_cascaded() local
162 return !!(cccr & P4_CCCR_CASCADE); p4_is_event_cascaded()
209 u32 cccr = P4_CCCR_THREAD_ANY; p4_default_cccr_conf() local
212 cccr |= P4_CCCR_OVF_PMI_T0; p4_default_cccr_conf()
214 cccr |= P4_CCCR_OVF_PMI_T1; p4_default_cccr_conf()
216 return cccr; p4_default_cccr_conf()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Defuse.h84 u8 cccr; member in struct:efuse_priv
/linux-4.1.27/arch/frv/kernel/
H A Dasm-offsets.c48 DEF_PTREG(REG_CCCR, cccr); foo()
H A Dhead-uc-fr401.S68 movgs gr4,cccr
74 movgs gr4,cccr
H A Dentry.S117 movsg cccr,gr25
244 movsg cccr,gr25
449 movsg cccr,gr20
451 movgs gr20,cccr
519 movsg cccr,gr25
956 movgs gr25,cccr
1028 movsg cccr,gr31
H A Dbreak.S617 movsg cccr ,gr25
718 movgs gr25,cccr
H A Dhead-mmu-fr451.S67 movgs gr4,cccr ; extant DARS/DAMK regs
H A Dhead-uc-fr555.S65 movgs gr4,cccr ; extant DARS/DAMK regs
H A Dgdb-stub.c1635 ptr = mem2hex(&__debug_frame->cccr, ptr, 4, 0); gdbstub()
1714 ptr = hex2mem(ptr, &__debug_frame->cccr,4); gdbstub()
1829 __debug_user_context->i.cccr = temp; gdbstub()
H A Dhead.S510 movgs gr0,cccr
/linux-4.1.27/drivers/scsi/
H A Dips.h437 uint32_t cccr; member in struct:__anon8996
448 uint32_t cccr; member in struct:__anon8997
490 uint32_t cccr; member in struct:__anon9000
502 uint32_t cccr; member in struct:__anon9001
514 uint32_t cccr; member in struct:__anon9002
526 uint32_t cccr; member in struct:__anon9003
538 uint32_t cccr; member in struct:__anon9004
550 uint32_t cccr; member in struct:__anon9005
H A Dips.c4412 scb->cmd.basic_io.cccr = cpu_to_le32((uint32_t) IPS_BIT_ILE); ips_init_scb()
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dregisters.h80 unsigned long cccr; /* Condition Code for Conditional Insns Register */ member in struct:pt_regs
171 unsigned long cccr; /* Condition Code for Conditional Insns Register */ member in struct:user_int_regs
/linux-4.1.27/drivers/cpufreq/
H A Dpxa2xx-cpufreq.c62 unsigned int cccr; member in struct:__anon3778
322 CCCR = pxa_freq_settings[idx].cccr; pxa_set_target()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dsdio.c317 if (func->card->cccr.sdio_vsn == SDIO_SDIO_REV_3_00) wl1271_probe()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dboard-omap3pandora.c259 card->cccr.wide_bus = 1; pandora_wl1251_init_card()
/linux-4.1.27/include/linux/mmc/
H A Dcard.h298 struct sdio_cccr cccr; /* common card info */ member in struct:mmc_card

Completed in 3800 milliseconds