Searched refs:rkcanfd_read (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-core.c | 168 bec->rxerr = rkcanfd_read(priv, RKCANFD_REG_RXERRORCNT); in rkcanfd_get_berr_counter_corrected() 169 bec->txerr = rkcanfd_read(priv, RKCANFD_REG_TXERRORCNT); in rkcanfd_get_berr_counter_corrected() 196 reg_state = rkcanfd_read(priv, RKCANFD_REG_STATE); in rkcanfd_get_berr_counter_corrected() 227 rkcanfd_read(priv, RKCANFD_REG_INT_MASK)); in rkcanfd_chip_interrupts_enable() 240 reg = rkcanfd_read(priv, RKCANFD_REG_RX_FIFO_CTRL); in rkcanfd_chip_fifo_setup() 245 reg = rkcanfd_read(priv, RKCANFD_REG_RX_FIFO_CTRL); in rkcanfd_chip_fifo_setup() 271 reg = rkcanfd_read(priv, RKCANFD_REG_MODE); in rkcanfd_chip_start() 316 rkcanfd_read(priv, RKCANFD_REG_MODE)); in rkcanfd_chip_start() 407 reg_cmd = rkcanfd_read(priv, RKCANFD_REG_CMD); in rkcanfd_handle_error_int_reg_ec() 408 reg_state = rkcanfd_read(priv, RKCANFD_REG_STATE); in rkcanfd_handle_error_int_reg_ec() [all …]
|
H A D | rockchip_canfd.h | 488 rkcanfd_read(const struct rkcanfd_priv *priv, u32 reg) in rkcanfd_read() function 509 return rkcanfd_read(priv, RKCANFD_REG_TIMESTAMP); in rkcanfd_get_timestamp()
|
H A D | rockchip_canfd-rx.c | 282 const u32 reg = rkcanfd_read(priv, RKCANFD_REG_RX_FIFO_CTRL); in rkcanfd_rx_fifo_get_len()
|