Lines Matching refs:mcp251x_write_reg
367 static void mcp251x_write_reg(struct spi_device *spi, u8 reg, uint8_t val) in mcp251x_write_reg() function
400 mcp251x_write_reg(spi, TXBCTRL(tx_buf_idx) + i, in mcp251x_hw_tx_frame()
511 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_SLEEP); in mcp251x_hw_sleep()
562 mcp251x_write_reg(spi, CANINTE, in mcp251x_set_normal_mode()
568 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LOOPBACK); in mcp251x_set_normal_mode()
571 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LISTEN_ONLY); in mcp251x_set_normal_mode()
574 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_NORMAL); in mcp251x_set_normal_mode()
597 mcp251x_write_reg(spi, CNF1, ((bt->sjw - 1) << CNF1_SJW_SHIFT) | in mcp251x_do_set_bittiming()
599 mcp251x_write_reg(spi, CNF2, CNF2_BTLMODE | in mcp251x_do_set_bittiming()
619 mcp251x_write_reg(spi, RXBCTRL(0), in mcp251x_setup()
621 mcp251x_write_reg(spi, RXBCTRL(1), in mcp251x_setup()
707 mcp251x_write_reg(spi, CANINTE, 0x00); in mcp251x_stop()
708 mcp251x_write_reg(spi, CANINTF, 0x00); in mcp251x_stop()
710 mcp251x_write_reg(spi, TXBCTRL(0), 0); in mcp251x_stop()
794 mcp251x_write_reg(spi, TXBCTRL(0), 0); in mcp251x_restart_work_handler()