Searched refs:cccr (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.4.0/drivers/can/ |
D | can_mcan.c | 50 uint32_t cccr; in can_mcan_exit_sleep_mode() local 55 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_exit_sleep_mode() 60 cccr &= ~CAN_MCAN_CCCR_CSR; in can_mcan_exit_sleep_mode() 62 err = can_mcan_write_reg(dev, CAN_MCAN_CCCR, cccr); in can_mcan_exit_sleep_mode() 69 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_exit_sleep_mode() 74 while ((cccr & CAN_MCAN_CCCR_CSA) == CAN_MCAN_CCCR_CSA) { in can_mcan_exit_sleep_mode() 76 cccr |= CAN_MCAN_CCCR_CSR; in can_mcan_exit_sleep_mode() 77 err = can_mcan_write_reg(dev, CAN_MCAN_CCCR, cccr); in can_mcan_exit_sleep_mode() 86 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_exit_sleep_mode() 103 uint32_t cccr; in can_mcan_enter_init_mode() local [all …]
|