Searched refs:first_byte (Results 1 – 3 of 3) sorted by relevance
91 u8 first_byte, last_byte, len; in mcp251xfd_regmap_nocrc_update_bits() local101 first_byte = mcp251xfd_first_byte_set(mask); in mcp251xfd_regmap_nocrc_update_bits()103 len = last_byte - first_byte + 1; in mcp251xfd_regmap_nocrc_update_bits()128 mcp251xfd_spi_cmd_read_nocrc(&buf_tx->cmd, reg + first_byte); in mcp251xfd_regmap_nocrc_update_bits()136 mask_le32 = cpu_to_le32(mask >> BITS_PER_BYTE * first_byte); in mcp251xfd_regmap_nocrc_update_bits()137 val_le32 = cpu_to_le32(val >> BITS_PER_BYTE * first_byte); in mcp251xfd_regmap_nocrc_update_bits()142 mcp251xfd_spi_cmd_write_nocrc(&buf_tx->cmd, reg + first_byte); in mcp251xfd_regmap_nocrc_update_bits()
25 u8 first_byte, last_byte, len; in mcp251xfd_cmd_prepare_write_reg() local29 first_byte = mcp251xfd_first_byte_set(mask); in mcp251xfd_cmd_prepare_write_reg()31 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg()33 data = mcp251xfd_spi_cmd_write(priv, write_reg_buf, reg + first_byte); in mcp251xfd_cmd_prepare_write_reg()34 val_le32 = cpu_to_le32(val >> BITS_PER_BYTE * first_byte); in mcp251xfd_cmd_prepare_write_reg()
712 int first_byte = 1; in spi_write_flash() local732 if (first_byte) { in spi_write_flash()734 first_byte = 0; in spi_write_flash()