Home
last modified time | relevance | path

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

/linux/drivers/net/can/c_can/
H A Dc_can_main.c227 u32 ctrl = priv->read_reg(priv, C_CAN_CTRL_REG) & ~CONTROL_IRQMSK; in c_can_irq_control()
232 priv->write_reg(priv, C_CAN_CTRL_REG, ctrl); in c_can_irq_control()
491 while (init != (priv->read_reg(priv, C_CAN_CTRL_REG) & CONTROL_INIT)) { in c_can_wait_for_ctrl_init()
525 ctrl_save = priv->read_reg(priv, C_CAN_CTRL_REG); in c_can_set_bittiming()
527 priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_CCE | CONTROL_INIT); in c_can_set_bittiming()
534 priv->write_reg(priv, C_CAN_CTRL_REG, ctrl_save); in c_can_set_bittiming()
572 priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_SWR | CONTROL_INIT); in c_can_software_reset()
573 while (priv->read_reg(priv, C_CAN_CTRL_REG) & CONTROL_SWR) { in c_can_software_reset()
600 priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_ENABLE_AR); in c_can_chip_config()
605 priv->write_reg(priv, C_CAN_CTRL_REG, CONTROL_TEST); in c_can_chip_config()
[all …]
H A Dc_can.h26 C_CAN_CTRL_REG = 0, enumerator
69 [C_CAN_CTRL_REG] = 0x00,
109 [C_CAN_CTRL_REG] = 0x00,