Searched refs:write_reg_buf (Results 1 – 2 of 2) sorted by relevance
722 union mcp251xfd_write_reg_buf *write_reg_buf, in mcp251xfd_spi_cmd_write() argument728 mcp251xfd_spi_cmd_write_crc_set_addr(&write_reg_buf->crc.cmd, in mcp251xfd_spi_cmd_write()730 data = write_reg_buf->crc.data; in mcp251xfd_spi_cmd_write()732 mcp251xfd_spi_cmd_write_nocrc(&write_reg_buf->nocrc.cmd, in mcp251xfd_spi_cmd_write()734 data = write_reg_buf->nocrc.data; in mcp251xfd_spi_cmd_write()
185 union mcp251xfd_write_reg_buf *write_reg_buf, in mcp251xfd_cmd_prepare_write_reg() argument196 data = mcp251xfd_spi_cmd_write(priv, write_reg_buf, reg + first_byte); in mcp251xfd_cmd_prepare_write_reg()203 mcp251xfd_spi_cmd_crc_set_len_in_reg(&write_reg_buf->crc.cmd, in mcp251xfd_cmd_prepare_write_reg()206 len += sizeof(write_reg_buf->crc.cmd); in mcp251xfd_cmd_prepare_write_reg()207 crc = mcp251xfd_crc16_compute(&write_reg_buf->crc, len); in mcp251xfd_cmd_prepare_write_reg()208 put_unaligned_be16(crc, (void *)write_reg_buf + len); in mcp251xfd_cmd_prepare_write_reg()211 len += sizeof(write_reg_buf->crc.crc); in mcp251xfd_cmd_prepare_write_reg()213 len += sizeof(write_reg_buf->nocrc.cmd); in mcp251xfd_cmd_prepare_write_reg()
Completed in 11 milliseconds