Home
last modified time | relevance | path

Searched refs:spi_cmd_buffer (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nfc/st95hf/
H A Dcore.c249 unsigned char spi_cmd_buffer[MAX_CMD_LEN]; in st95hf_send_recv_cmd() local
260 spi_cmd_buffer[0] = ST95HF_COMMAND_SEND; in st95hf_send_recv_cmd()
261 spi_cmd_buffer[1] = cmd_array[cmd].cmd_id; in st95hf_send_recv_cmd()
262 spi_cmd_buffer[2] = cmd_array[cmd].no_cmd_params; in st95hf_send_recv_cmd()
264 memcpy(&spi_cmd_buffer[3], cmd_array[cmd].cmd_params, in st95hf_send_recv_cmd()
265 spi_cmd_buffer[2]); in st95hf_send_recv_cmd()
270 spi_cmd_buffer[3 + list_array[i].param_offset] = in st95hf_send_recv_cmd()
275 spi_cmd_buffer, in st95hf_send_recv_cmd()