Lines Matching refs:reg_byte
164 uint8_t *reg_byte; in mcp251xfd_fifo_write() local
196 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_fifo_write()
197 *reg_byte = MCP251XFD_UINT32_FLAG_TO_BYTE_MASK(MCP251XFD_REG_TXQCON_UINC | in mcp251xfd_fifo_write()
243 uint8_t *reg_byte; in mcp251xfd_get_mode_internal() local
246 reg_byte = mcp251xfd_read_crc(dev, MCP251XFD_REG_CON_B2, 1); in mcp251xfd_get_mode_internal()
247 if (!reg_byte) { in mcp251xfd_get_mode_internal()
251 *mode = FIELD_GET(mask, *reg_byte); in mcp251xfd_get_mode_internal()
553 uint8_t *reg_byte; in mcp251xfd_add_rx_filter() local
604 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_add_rx_filter()
605 *reg_byte = MCP251XFD_REG_BYTE_FLTCON_FLTEN; in mcp251xfd_add_rx_filter()
606 *reg_byte |= FIELD_PREP(MCP251XFD_REG_BYTE_FLTCON_FBP_MASK, MCP251XFD_RX_FIFO_IDX); in mcp251xfd_add_rx_filter()
628 uint8_t *reg_byte; in mcp251xfd_remove_rx_filter() local
639 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_remove_rx_filter()
640 *reg_byte = 0; in mcp251xfd_remove_rx_filter()
743 uint8_t *reg_byte; in mcp251xfd_handle_fifo_read() local
828 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_handle_fifo_read()
829 *reg_byte = MCP251XFD_UINT32_FLAG_TO_BYTE_MASK(MCP251XFD_REG_FIFOCON_UINC); in mcp251xfd_handle_fifo_read()
1013 uint8_t *reg_byte; in mcp251xfd_handle_rxovif() local
1019 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_handle_rxovif()
1020 *reg_byte = 0; in mcp251xfd_handle_rxovif()
1238 uint8_t *reg_byte; in mcp251xfd_stop() local
1248 reg_byte = mcp251xfd_get_spi_buf_ptr(dev); in mcp251xfd_stop()
1249 *reg_byte = MCP251XFD_UINT32_FLAG_TO_BYTE_MASK(MCP251XFD_REG_CON_ABAT); in mcp251xfd_stop()
1259 reg_byte = mcp251xfd_read_crc(dev, MCP251XFD_REG_CON_B3, 1); in mcp251xfd_stop()
1261 if (!reg_byte || in mcp251xfd_stop()
1262 (*reg_byte & MCP251XFD_UINT32_FLAG_TO_BYTE_MASK(MCP251XFD_REG_CON_ABAT)) == 0) { in mcp251xfd_stop()