Searched refs:cmr (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/pwm/ |
D | pwm-atmel-tcb.c | 45 u32 cmr; member 88 unsigned cmr; in atmel_tcb_pwm_request() local 107 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request() 112 if (cmr & ATMEL_TC_WAVE) { in atmel_tcb_pwm_request() 122 tcbpwm->div = cmr & ATMEL_TC_TCCLKS; in atmel_tcb_pwm_request() 125 cmr &= (ATMEL_TC_TCCLKS | ATMEL_TC_ACMR_MASK | in atmel_tcb_pwm_request() 128 cmr = 0; in atmel_tcb_pwm_request() 130 cmr |= ATMEL_TC_WAVE | ATMEL_TC_WAVESEL_UP_AUTO | ATMEL_TC_EEVT_XC0; in atmel_tcb_pwm_request() 131 regmap_write(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), cmr); in atmel_tcb_pwm_request() 153 unsigned cmr; in atmel_tcb_pwm_disable() local [all …]
|
D | pwm-atmel.c | 311 u32 cmr = atmel_pwm_ch_readl(atmel_pwm, pwm->hwpwm, PWM_CMR); in atmel_pwm_apply() local 315 pres = cmr & PWM_CMR_CPRE_MSK; in atmel_pwm_apply() 363 u32 sr, cmr; in atmel_pwm_get_state() local 366 cmr = atmel_pwm_ch_readl(atmel_pwm, pwm->hwpwm, PWM_CMR); in atmel_pwm_get_state() 373 pres = cmr & PWM_CMR_CPRE_MSK; in atmel_pwm_get_state() 395 if (cmr & PWM_CMR_CPOL) in atmel_pwm_get_state()
|
/linux-5.19.10/drivers/counter/ |
D | microchip-tcb-capture.c | 89 u32 bmr, cmr; in mchp_tc_count_function_write() local 92 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_function_write() 95 cmr &= ~ATMEL_TC_WAVE; in mchp_tc_count_function_write() 103 cmr |= ATMEL_TC_TIMER_CLOCK2; in mchp_tc_count_function_write() 105 cmr |= ATMEL_TC_TIMER_CLOCK1; in mchp_tc_count_function_write() 107 cmr |= ATMEL_TC_CMR_MASK; in mchp_tc_count_function_write() 108 cmr &= ~(ATMEL_TC_ABETRG | ATMEL_TC_XC0); in mchp_tc_count_function_write() 121 cmr |= ATMEL_TC_ETRGEDG_RISING | ATMEL_TC_ABETRG | ATMEL_TC_XC0; in mchp_tc_count_function_write() 129 regmap_write(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), cmr); in mchp_tc_count_function_write() 137 ATMEL_TC_REG(priv->channel[1], CMR), cmr); in mchp_tc_count_function_write() [all …]
|
/linux-5.19.10/drivers/clocksource/ |
D | timer-atmel-tcb.c | 44 u32 cmr; member 78 tcb_cache[i].cmr = readl(tcaddr + ATMEL_TC_REG(i, CMR)); in tc_clksrc_suspend() 94 writel(tcb_cache[i].cmr, tcaddr + ATMEL_TC_REG(i, CMR)); in tc_clksrc_resume()
|
/linux-5.19.10/drivers/scsi/lpfc/ |
D | lpfc.h | 227 uint32_t cmr : 1; /* Configure Max RPIs */ member 229 uint32_t cmr : 1; /* Configure Max RPIs */
|
D | lpfc_hw.h | 3436 uint32_t cmr : 1; /* Configure Max RPIs */ member 3438 uint32_t cmr : 1; /* Configure Max RPIs */ member
|