Searched refs:cmr (Results 1 – 2 of 2) sorted by relevance
53 uint32_t cmr; in sam_pwm_set_cycles() local68 cmr = PWM_CMR_CPRE_CLKA; in sam_pwm_set_cycles()71 cmr |= PWM_CMR_CPOL; in sam_pwm_set_cycles()75 if (pwm->PWM_CH_NUM[channel].PWM_CMR != cmr) { in sam_pwm_set_cycles()78 pwm->PWM_CH_NUM[channel].PWM_CMR = cmr; in sam_pwm_set_cycles()
368 uint8_t cmr; in can_sja1000_send() local408 cmr = CAN_SJA1000_CMR_SRR; in can_sja1000_send()410 cmr = CAN_SJA1000_CMR_TR; in can_sja1000_send()414 cmr |= CAN_SJA1000_CMR_AT; in can_sja1000_send()417 can_sja1000_write_reg(dev, CAN_SJA1000_CMR, cmr); in can_sja1000_send()