Lines Matching refs:sensf_res
744 struct digital_sensf_res *sensf_res; in digital_in_recv_sensf_res() local
769 sensf_res = (struct digital_sensf_res *)resp->data; in digital_in_recv_sensf_res()
771 memcpy(target.sensf_res, sensf_res, resp->len); in digital_in_recv_sensf_res()
774 memcpy(target.nfcid2, sensf_res->nfcid2, NFC_NFCID2_MAXSIZE); in digital_in_recv_sensf_res()
1123 struct digital_sensf_res *sensf_res; in digital_tg_send_sensf_res() local
1128 size -= sizeof(sensf_res->rd); in digital_tg_send_sensf_res()
1136 sensf_res = (struct digital_sensf_res *)skb->data; in digital_tg_send_sensf_res()
1138 memset(sensf_res, 0, size); in digital_tg_send_sensf_res()
1140 sensf_res->cmd = DIGITAL_CMD_SENSF_RES; in digital_tg_send_sensf_res()
1141 sensf_res->nfcid2[0] = DIGITAL_SENSF_NFCID2_NFC_DEP_B1; in digital_tg_send_sensf_res()
1142 sensf_res->nfcid2[1] = DIGITAL_SENSF_NFCID2_NFC_DEP_B2; in digital_tg_send_sensf_res()
1143 get_random_bytes(&sensf_res->nfcid2[2], 6); in digital_tg_send_sensf_res()
1147 sensf_res->rd[0] = sensf_req->sc1; in digital_tg_send_sensf_res()
1148 sensf_res->rd[1] = sensf_req->sc2; in digital_tg_send_sensf_res()
1151 sensf_res->rd[0] = DIGITAL_SENSF_RES_RD_AP_B1; in digital_tg_send_sensf_res()
1152 sensf_res->rd[1] = DIGITAL_SENSF_RES_RD_AP_B2; in digital_tg_send_sensf_res()