Lines Matching refs:mcp251xfd_write

143 static int mcp251xfd_write(const struct device *dev, uint16_t addr, int len)  in mcp251xfd_write()  function
191 ret = mcp251xfd_write(dev, address, tx_len); in mcp251xfd_fifo_write()
200 return mcp251xfd_write(dev, MCP251XFD_REG_TXQCON + 1, 1); in mcp251xfd_fifo_write()
306 return mcp251xfd_write(dev, MCP251XFD_REG_TDC, MCP251XFD_REG_SIZE); in mcp251xfd_set_tdc()
352 ret = mcp251xfd_write(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_set_mode_internal()
430 ret = mcp251xfd_write(dev, MCP251XFD_REG_NBTCFG, MCP251XFD_REG_SIZE); in mcp251xfd_set_timing()
472 ret = mcp251xfd_write(dev, MCP251XFD_REG_DBTCFG, MCP251XFD_REG_SIZE); in mcp251xfd_set_timing_data()
581 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTOBJ(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_add_rx_filter()
598 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTMASK(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_add_rx_filter()
608 ret = mcp251xfd_write(dev, MCP251XFD_REG_BYTE_FLTCON(filter_idx), 1); in mcp251xfd_add_rx_filter()
642 ret = mcp251xfd_write(dev, MCP251XFD_REG_BYTE_FLTCON(filter_idx), 1); in mcp251xfd_remove_rx_filter()
653 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTCON(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_remove_rx_filter()
832 ret = mcp251xfd_write(dev, fifo->reg_fifocon_addr + 1, 1); in mcp251xfd_handle_fifo_read()
975 ret = mcp251xfd_write(dev, MCP251XFD_REG_BDIAG1, MCP251XFD_REG_SIZE); in mcp251xfd_handle_ivmif()
1022 ret = mcp251xfd_write(dev, MCP251XFD_REG_FIFOSTA(MCP251XFD_RX_FIFO_IDX), 1); in mcp251xfd_handle_rxovif()
1064 ret = mcp251xfd_write(dev, MCP251XFD_REG_INT, sizeof(*reg_int_hw)); in mcp251xfd_handle_interrupts()
1251 ret = mcp251xfd_write(dev, MCP251XFD_REG_CON_B3, 1); in mcp251xfd_stop()
1347 return mcp251xfd_write(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_init_con_reg()
1366 ret = mcp251xfd_write(dev, MCP251XFD_REG_OSC, MCP251XFD_REG_SIZE); in mcp251xfd_init_osc_reg()
1399 return mcp251xfd_write(dev, MCP251XFD_REG_IOCON, MCP251XFD_REG_SIZE); in mcp251xfd_init_iocon_reg()
1415 return mcp251xfd_write(dev, MCP251XFD_REG_INT, MCP251XFD_REG_SIZE); in mcp251xfd_init_int_reg()
1428 return mcp251xfd_write(dev, MCP251XFD_REG_TEFCON, MCP251XFD_REG_SIZE); in mcp251xfd_init_tef_fifo()
1444 return mcp251xfd_write(dev, MCP251XFD_REG_TXQCON, MCP251XFD_REG_SIZE); in mcp251xfd_init_tx_queue()
1465 return mcp251xfd_write(dev, MCP251XFD_REG_FIFOCON(MCP251XFD_RX_FIFO_IDX), in mcp251xfd_init_rx_fifo()
1482 return mcp251xfd_write(dev, MCP251XFD_REG_TSCON, MCP251XFD_REG_SIZE); in mcp251xfd_init_tscon()