Lines Matching refs:mcp251x_write_reg
368 static void mcp251x_write_reg(struct spi_device *spi, u8 reg, uint8_t val) in mcp251x_write_reg() function
401 mcp251x_write_reg(spi, TXBCTRL(tx_buf_idx) + i, in mcp251x_hw_tx_frame()
512 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_SLEEP); in mcp251x_hw_sleep()
563 mcp251x_write_reg(spi, CANINTE, in mcp251x_set_normal_mode()
569 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LOOPBACK); in mcp251x_set_normal_mode()
572 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LISTEN_ONLY); in mcp251x_set_normal_mode()
575 mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_NORMAL); in mcp251x_set_normal_mode()
598 mcp251x_write_reg(spi, CNF1, ((bt->sjw - 1) << CNF1_SJW_SHIFT) | in mcp251x_do_set_bittiming()
600 mcp251x_write_reg(spi, CNF2, CNF2_BTLMODE | in mcp251x_do_set_bittiming()
620 mcp251x_write_reg(spi, RXBCTRL(0), in mcp251x_setup()
622 mcp251x_write_reg(spi, RXBCTRL(1), in mcp251x_setup()
708 mcp251x_write_reg(spi, CANINTE, 0x00); in mcp251x_stop()
709 mcp251x_write_reg(spi, CANINTF, 0x00); in mcp251x_stop()
711 mcp251x_write_reg(spi, TXBCTRL(0), 0); in mcp251x_stop()
795 mcp251x_write_reg(spi, TXBCTRL(0), 0); in mcp251x_restart_work_handler()