Lines Matching refs:cccr
413 u32 cccr = m_can_read(priv, M_CAN_CCCR); in m_can_config_endisable() local
419 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT); in m_can_config_endisable()
422 m_can_write(priv, M_CAN_CCCR, cccr | CCCR_INIT | CCCR_CCE); in m_can_config_endisable()
424 m_can_write(priv, M_CAN_CCCR, cccr & ~(CCCR_INIT | CCCR_CCE)); in m_can_config_endisable()
1054 u32 cccr, test; in m_can_chip_config() local
1099 cccr = m_can_read(priv, M_CAN_CCCR); in m_can_chip_config()
1105 cccr &= ~(CCCR_TEST | CCCR_MON | in m_can_chip_config()
1110 cccr |= CCCR_CME_CANFD_BRS << CCCR_CME_SHIFT; in m_can_chip_config()
1114 cccr &= ~(CCCR_TEST | CCCR_MON | CCCR_BRSE | CCCR_FDOE | in m_can_chip_config()
1119 cccr |= CCCR_NISO; in m_can_chip_config()
1122 cccr |= (CCCR_BRSE | CCCR_FDOE); in m_can_chip_config()
1127 cccr |= CCCR_TEST | CCCR_MON; in m_can_chip_config()
1133 cccr |= CCCR_MON; in m_can_chip_config()
1136 m_can_write(priv, M_CAN_CCCR, cccr); in m_can_chip_config()
1393 u32 id, cccr, fdflags; in m_can_start_xmit() local
1428 cccr = m_can_read(priv, M_CAN_CCCR); in m_can_start_xmit()
1429 cccr &= ~(CCCR_CMR_MASK << CCCR_CMR_SHIFT); in m_can_start_xmit()
1432 cccr |= CCCR_CMR_CANFD_BRS << in m_can_start_xmit()
1435 cccr |= CCCR_CMR_CANFD << in m_can_start_xmit()
1438 cccr |= CCCR_CMR_CAN << CCCR_CMR_SHIFT; in m_can_start_xmit()
1440 m_can_write(priv, M_CAN_CCCR, cccr); in m_can_start_xmit()