Searched refs:C_CAN_IFACE (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/can/c_can/ |
D | c_can.c | 49 #define C_CAN_IFACE(reg, iface) (C_CAN_IF1_##reg + (iface) * IF_ENUM_REG_LEN) macro 246 int cnt, reg = C_CAN_IFACE(COMREQ_REG, iface); in c_can_obj_update() 280 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), 0); in c_can_inval_tx_object() 288 priv->write_reg(priv, C_CAN_IFACE(ARB1_REG, iface), 0); in c_can_inval_msg_object() 289 priv->write_reg(priv, C_CAN_IFACE(ARB2_REG, iface), 0); in c_can_inval_msg_object() 323 priv->write_reg32(priv, C_CAN_IFACE(ARB1_REG, iface), arb); in c_can_setup_tx_object() 325 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), ctrl); in c_can_setup_tx_object() 328 u32 data = 0, dreg = C_CAN_IFACE(DATA1_REG, iface); in c_can_setup_tx_object() 340 C_CAN_IFACE(DATA1_REG, iface) + i / 2, in c_can_setup_tx_object() 356 priv->write_reg(priv, C_CAN_IFACE(MSGCTRL_REG, iface), ctrl); in c_can_handle_lost_msg_obj() [all …]
|