Searched refs:M_CAN_CCCR (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/can/m_can/
H A Dm_can.c43 M_CAN_CCCR = 0x18, enumerator in enum:m_can_reg
322 u32 cccr = m_can_read(priv, M_CAN_CCCR); m_can_config_endisable()
328 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT); m_can_config_endisable()
331 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); m_can_config_endisable()
333 m_can_write(priv, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); m_can_config_endisable()
340 while ((m_can_read(priv, M_CAN_CCCR) & (CCCR_INIT | CCCR_CCE)) != val) { m_can_config_endisable()
875 cccr = m_can_read(priv, M_CAN_CCCR); m_can_chip_config()
892 m_can_write(priv, M_CAN_CCCR, cccr); m_can_chip_config()
1080 cccr = m_can_read(priv, M_CAN_CCCR); m_can_start_xmit()
1090 m_can_write(priv, M_CAN_CCCR, cccr); m_can_start_xmit()

Completed in 53 milliseconds