Lines Matching refs:can_sja1000_write_reg

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()
264 can_sja1000_write_reg(dev, CAN_SJA1000_MOD, mod); in can_sja1000_set_mode()
265 can_sja1000_write_reg(dev, CAN_SJA1000_BTR1, btr1); in can_sja1000_set_mode()
345 can_sja1000_write_reg(dev, CAN_SJA1000_FRAME_INFO, info); in can_sja1000_write_frame()
349 can_sja1000_write_reg(dev, CAN_SJA1000_XFF_ID1, in can_sja1000_write_frame()
351 can_sja1000_write_reg(dev, CAN_SJA1000_XFF_ID2, in can_sja1000_write_frame()
353 can_sja1000_write_reg(dev, CAN_SJA1000_EFF_ID3, in can_sja1000_write_frame()
355 can_sja1000_write_reg(dev, CAN_SJA1000_EFF_ID4, in can_sja1000_write_frame()
360 can_sja1000_write_reg(dev, CAN_SJA1000_EFF_DATA + i, in can_sja1000_write_frame()
366 can_sja1000_write_reg(dev, CAN_SJA1000_XFF_ID1, in can_sja1000_write_frame()
368 can_sja1000_write_reg(dev, CAN_SJA1000_XFF_ID2, in can_sja1000_write_frame()
373 can_sja1000_write_reg(dev, CAN_SJA1000_SFF_DATA + i, in can_sja1000_write_frame()
431 can_sja1000_write_reg(dev, CAN_SJA1000_CMR, cmr); in can_sja1000_send()
599 can_sja1000_write_reg(dev, CAN_SJA1000_CMR, CAN_SJA1000_CMR_RRB); in can_sja1000_handle_receive_irq()
624 can_sja1000_write_reg(dev, CAN_SJA1000_CMR, CAN_SJA1000_CMR_CDO); in can_sja1000_handle_data_overrun_irq()
777 can_sja1000_write_reg(dev, CAN_SJA1000_CDR, config->cdr | CAN_SJA1000_CDR_CAN_MODE); in can_sja1000_init()
780 can_sja1000_write_reg(dev, CAN_SJA1000_ACR0, 0x00); in can_sja1000_init()
781 can_sja1000_write_reg(dev, CAN_SJA1000_ACR1, 0x00); in can_sja1000_init()
782 can_sja1000_write_reg(dev, CAN_SJA1000_ACR2, 0x00); in can_sja1000_init()
783 can_sja1000_write_reg(dev, CAN_SJA1000_ACR3, 0x00); in can_sja1000_init()
785 can_sja1000_write_reg(dev, CAN_SJA1000_AMR0, 0xFF); in can_sja1000_init()
786 can_sja1000_write_reg(dev, CAN_SJA1000_AMR1, 0xFF); in can_sja1000_init()
787 can_sja1000_write_reg(dev, CAN_SJA1000_AMR2, 0xFF); in can_sja1000_init()
788 can_sja1000_write_reg(dev, CAN_SJA1000_AMR3, 0xFF); in can_sja1000_init()
807 can_sja1000_write_reg(dev, CAN_SJA1000_OCR, config->ocr); in can_sja1000_init()
813 can_sja1000_write_reg(dev, CAN_SJA1000_EWLR, 96); in can_sja1000_init()
823 can_sja1000_write_reg(dev, CAN_SJA1000_IER, in can_sja1000_init()