Home
last modified time | relevance | path

Searched refs:CMR (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-atmel-tcb.c87 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request()
111 regmap_write(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), cmr); in atmel_tcb_pwm_request()
141 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_disable()
158 regmap_write(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), cmr); in atmel_tcb_pwm_disable()
195 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_enable()
238 regmap_write(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), cmr); in atmel_tcb_pwm_enable()
498 regmap_read(tcbpwm->regmap, ATMEL_TC_REG(channel, CMR), &chan->cmr); in atmel_tcb_pwm_suspend()
512 regmap_write(tcbpwm->regmap, ATMEL_TC_REG(channel, CMR), chan->cmr); in atmel_tcb_pwm_resume()
/openbmc/linux/drivers/clocksource/
H A Dtimer-atmel-tcb.c78 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()
185 ATMEL_TC_WAVESEL_UP_AUTO, regs + ATMEL_TC_REG(2, CMR)); in tc_set_oneshot()
207 regs + ATMEL_TC_REG(2, CMR)); in tc_set_periodic()
321 tcaddr + ATMEL_TC_REG(0, CMR)); in tcb_setup_dual_chan()
331 tcaddr + ATMEL_TC_REG(1, CMR)); in tcb_setup_dual_chan()
347 tcaddr + ATMEL_TC_REG(0, CMR)); in tcb_setup_single_chan()
/openbmc/linux/drivers/counter/
H A Dmicrochip-tcb-capture.c90 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_function_write()
127 regmap_write(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), cmr); in mchp_tc_count_function_write()
135 ATMEL_TC_REG(priv->channel[1], CMR), cmr); in mchp_tc_count_function_write()
183 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_action_read()
234 ATMEL_TC_REG(priv->channel[0], CMR), in mchp_tc_count_action_write()
/openbmc/linux/sound/soc/atmel/
H A Datmel_ssc_dai.c697 ssc_writel(ssc_p->ssc->regs, CMR, cmr_div); in atmel_ssc_hw_params()
783 ssc_p->ssc_state.ssc_cmr = ssc_readl(ssc_p->ssc->regs, CMR); in atmel_ssc_suspend()
808 ssc_writel(ssc_p->ssc->regs, CMR, ssc_p->ssc_state.ssc_cmr); in atmel_ssc_resume()
/openbmc/linux/drivers/video/fbdev/
H A Dimsttfb.c75 CMR = 28, /* 0x70 */ enumerator
720 write_reg_le32(par->dc_regs, CMR, 0x00ff); in set_imstt_regvals()
724 write_reg_le32(par->dc_regs, CMR, 0x01ff); in set_imstt_regvals()
/openbmc/linux/sound/spi/
H A Dat73c213.c193 ssc_writel(chip->ssc->regs, CMR, ssc_div/2); in snd_at73c213_set_bitrate()