Lines Matching refs:can_mcan_read_reg
20 int can_mcan_read_reg(const struct device *dev, uint16_t reg, uint32_t *val) in can_mcan_read_reg() function
55 err = can_mcan_read_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()
86 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_exit_sleep_mode()
108 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_enter_init_mode()
122 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_enter_init_mode()
139 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_enter_init_mode()
160 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_leave_init_mode()
174 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_leave_init_mode()
185 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_leave_init_mode()
401 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_set_mode()
406 err = can_mcan_read_reg(dev, CAN_MCAN_TEST, &test); in can_mcan_set_mode()
499 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_state_change_handler()
527 err = can_mcan_read_reg(dev, CAN_MCAN_TXEFS, &txefs); in can_mcan_tx_event_handler()
561 err = can_mcan_read_reg(dev, CAN_MCAN_TXEFS, &txefs); in can_mcan_tx_event_handler()
604 int err = can_mcan_read_reg(dev, CAN_MCAN_PSR, val); in can_mcan_read_psr()
633 err = can_mcan_read_reg(dev, CAN_MCAN_IR, &ir); in can_mcan_line_0_isr()
674 err = can_mcan_read_reg(dev, CAN_MCAN_IR, &ir); in can_mcan_line_0_isr()
696 err = can_mcan_read_reg(dev, fifo_status_reg, &fifo_status); in can_mcan_get_message()
785 err = can_mcan_read_reg(dev, fifo_status_reg, &fifo_status); in can_mcan_get_message()
800 err = can_mcan_read_reg(dev, CAN_MCAN_IR, &ir); in can_mcan_line_1_isr()
841 err = can_mcan_read_reg(dev, CAN_MCAN_IR, &ir); in can_mcan_line_1_isr()
875 err = can_mcan_read_reg(dev, CAN_MCAN_ECR, ®); in can_mcan_get_state()
1260 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, &cccr); in can_mcan_enable_configuration_change()
1418 err = can_mcan_read_reg(dev, CAN_MCAN_CREL, ®); in can_mcan_init()
1429 err = can_mcan_read_reg(dev, CAN_MCAN_CCCR, ®); in can_mcan_init()
1442 err = can_mcan_read_reg(dev, CAN_MCAN_TEST, ®); in can_mcan_init()
1454 err = can_mcan_read_reg(dev, CAN_MCAN_GFC, ®); in can_mcan_init()