Lines Matching refs:cmd_resp
71 unsigned char cmd_resp[2]; in sst25l_status() local
77 cmd_resp[0] = SST25L_CMD_RDSR; in sst25l_status()
78 cmd_resp[1] = 0xff; in sst25l_status()
79 t.tx_buf = cmd_resp; in sst25l_status()
80 t.rx_buf = cmd_resp; in sst25l_status()
81 t.len = sizeof(cmd_resp); in sst25l_status()
87 *status = cmd_resp[1]; in sst25l_status()
313 unsigned char cmd_resp[6]; in sst25l_match_device() local
320 cmd_resp[0] = SST25L_CMD_READ_ID; in sst25l_match_device()
321 cmd_resp[1] = 0; in sst25l_match_device()
322 cmd_resp[2] = 0; in sst25l_match_device()
323 cmd_resp[3] = 0; in sst25l_match_device()
324 cmd_resp[4] = 0xff; in sst25l_match_device()
325 cmd_resp[5] = 0xff; in sst25l_match_device()
326 t.tx_buf = cmd_resp; in sst25l_match_device()
327 t.rx_buf = cmd_resp; in sst25l_match_device()
328 t.len = sizeof(cmd_resp); in sst25l_match_device()
336 id = (cmd_resp[4] << 8) | cmd_resp[5]; in sst25l_match_device()