Home
last modified time | relevance | path

Searched refs:C_CAN_IFACE (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/can/c_can/
Dc_can_main.c48 #define C_CAN_IFACE(reg, iface) (C_CAN_IF1_##reg + (iface) * IF_ENUM_REG_LEN) macro
238 int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); in c_can_obj_update()
270 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), 0); in c_can_inval_tx_object()
278 priv->write_reg32(priv, C_CAN_IFACE(ARB1_REG, iface), 0); in c_can_inval_msg_object()
311 priv->write_reg32(priv, C_CAN_IFACE(ARB1_REG, iface), arb); in c_can_setup_tx_object()
313 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), ctrl); in c_can_setup_tx_object()
316 u32 data = 0, dreg = C_CAN_IFACE(DATA1_REG, iface); in c_can_setup_tx_object()
328 C_CAN_IFACE(DATA1_REG, iface) + i / 2, in c_can_setup_tx_object()
344 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), ctrl); in c_can_handle_lost_msg_obj()
378 arb = priv->read_reg32(priv, C_CAN_IFACE(ARB1_REG, iface)); in c_can_read_msg_object()
[all …]