Lines Matching refs:packed_buf
71 void *packed_buf, size_t size_bytes) in sja1105_spi_send_packed_buf() argument
91 packed_buf, size_bytes); in sja1105_spi_send_packed_buf()
98 memcpy(packed_buf, rx_buf + SJA1105_SIZE_SPI_MSG_HEADER, in sja1105_spi_send_packed_buf()
119 u8 packed_buf[SJA1105_SIZE_SPI_MSG_MAXLEN]; in sja1105_spi_send_int() local
126 sja1105_pack(packed_buf, value, 8 * size_bytes - 1, 0, in sja1105_spi_send_int()
129 rc = sja1105_spi_send_packed_buf(priv, rw, reg_addr, packed_buf, in sja1105_spi_send_int()
133 sja1105_unpack(packed_buf, value, 8 * size_bytes - 1, 0, in sja1105_spi_send_int()
145 void *packed_buf, u64 buf_len) in sja1105_spi_send_long_packed_buf() argument
156 chunk.buf_ptr = packed_buf; in sja1105_spi_send_long_packed_buf()
168 distance_to_end = (uintptr_t)(packed_buf + buf_len - in sja1105_spi_send_long_packed_buf()
225 u8 packed_buf[SJA1105_SIZE_RESET_CMD]; in sja1105et_reset_cmd() local
242 sja1105et_reset_cmd_pack(packed_buf, reset); in sja1105et_reset_cmd()
245 packed_buf, SJA1105_SIZE_RESET_CMD); in sja1105et_reset_cmd()
254 u8 packed_buf[SJA1105_SIZE_RESET_CMD]; in sja1105pqrs_reset_cmd() local
272 sja1105pqrs_reset_cmd_pack(packed_buf, reset); in sja1105pqrs_reset_cmd()
275 packed_buf, SJA1105_SIZE_RESET_CMD); in sja1105pqrs_reset_cmd()
339 u8 packed_buf[4]; in sja1105_status_get() local
344 packed_buf, 4); in sja1105_status_get()
348 sja1105_status_unpack(packed_buf, status); in sja1105_status_get()