Searched refs:can_sja1000_write_reg (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_sja1000.c | 22 static inline void can_sja1000_write_reg(const struct device *dev, uint8_t reg, uint8_t val) in can_sja1000_write_reg() function 48 can_sja1000_write_reg(dev, CAN_SJA1000_MOD, mod | CAN_SJA1000_MOD_RM); in can_sja1000_enter_reset_mode() 61 can_sja1000_write_reg(dev, CAN_SJA1000_MOD, mod & ~(CAN_SJA1000_MOD_RM)); in can_sja1000_leave_reset_mode_nowait() 76 can_sja1000_write_reg(dev, CAN_SJA1000_MOD, mod & ~(CAN_SJA1000_MOD_RM)); in can_sja1000_leave_reset_mode() 87 can_sja1000_write_reg(dev, CAN_SJA1000_RXERR, 0); in can_sja1000_clear_errors() 88 can_sja1000_write_reg(dev, CAN_SJA1000_TXERR, 0); in can_sja1000_clear_errors() 129 can_sja1000_write_reg(dev, CAN_SJA1000_BTR0, btr0); in can_sja1000_set_timing() 130 can_sja1000_write_reg(dev, CAN_SJA1000_BTR1, btr1); in can_sja1000_set_timing() 254 can_sja1000_write_reg(dev, CAN_SJA1000_MOD, mod); in can_sja1000_set_mode() 255 can_sja1000_write_reg(dev, CAN_SJA1000_BTR1, btr1); in can_sja1000_set_mode() [all …]
|