Lines Matching refs:ctucan_read32
140 static u32 ctucan_read32(struct ctucan_priv *priv, enum ctu_can_fd_can_registers reg) in ctucan_read32() function
151 #define CTU_CAN_FD_TXTNF(priv) (!!FIELD_GET(REG_STATUS_TXNF, ctucan_read32(priv, CTUCANFD_STATUS)))
152 #define CTU_CAN_FD_ENABLED(priv) (!!FIELD_GET(REG_MODE_ENA, ctucan_read32(priv, CTUCANFD_MODE)))
185 ctucan_read32(priv, CTUCANFD_DEVICE_ID)); in ctucan_reset()
328 u32 mode_reg = ctucan_read32(priv, CTUCANFD_MODE); in ctucan_set_mode()
428 mode_reg = ctucan_read32(priv, CTUCANFD_MODE); in ctucan_chip_start()
477 u32 tx_status = ctucan_read32(priv, CTUCANFD_TX_STATUS); in ctucan_get_tx_status()
653 idw = ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_read_rx_frame()
685 ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_read_rx_frame()
686 ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_read_rx_frame()
690 u32 data = ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_read_rx_frame()
694 ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_read_rx_frame()
721 ffw = ctucan_read32(priv, CTUCANFD_RX_DATA); in ctucan_rx()
759 fs = ctucan_read32(priv, CTUCANFD_EWL); in ctucan_read_fault_state()
760 rec_tec = ctucan_read32(priv, CTUCANFD_REC); in ctucan_read_fault_state()
786 u32 err_ctrs = ctucan_read32(priv, CTUCANFD_REC); in ctucan_get_rec_tec()
813 err_capt_alc = ctucan_read32(priv, CTUCANFD_ERR_CAPT); in ctucan_err_interrupt()
930 framecnt = FIELD_GET(REG_RX_STATUS_RXFRC, ctucan_read32(priv, CTUCANFD_RX_STATUS)); in ctucan_rx_poll()
934 framecnt = FIELD_GET(REG_RX_STATUS_RXFRC, ctucan_read32(priv, CTUCANFD_RX_STATUS)); in ctucan_rx_poll()
938 status = ctucan_read32(priv, CTUCANFD_STATUS); in ctucan_rx_poll()
1109 isr = ctucan_read32(priv, CTUCANFD_INT_STAT); in ctucan_interrupt()
1183 mode = ctucan_read32(priv, CTUCANFD_MODE); in ctucan_chip_stop()
1411 if ((ctucan_read32(priv, CTUCANFD_DEVICE_ID) & 0xFFFF) != CTUCANFD_ID) { in ctucan_probe_common()
1414 if ((ctucan_read32(priv, CTUCANFD_DEVICE_ID) & 0xFFFF) != CTUCANFD_ID) { in ctucan_probe_common()