• Home
  • Raw
  • Download

Lines Matching refs:data

45 	struct nci_core_conn_credit_ntf *ntf = (void *) skb->data;  in nci_core_conn_credits_ntf_packet()
77 __u8 status = skb->data[0]; in nci_core_generic_error_ntf_packet()
91 struct nci_core_intf_error_ntf *ntf = (void *) skb->data; in nci_core_conn_intf_error_ntf_packet()
104 __u8 *data) in nci_extract_rf_params_nfca_passive_poll() argument
106 nfca_poll->sens_res = __le16_to_cpu(*((__u16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
107 data += 2; in nci_extract_rf_params_nfca_passive_poll()
109 nfca_poll->nfcid1_len = min_t(__u8, *data++, NFC_NFCID1_MAXSIZE); in nci_extract_rf_params_nfca_passive_poll()
114 memcpy(nfca_poll->nfcid1, data, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
115 data += nfca_poll->nfcid1_len; in nci_extract_rf_params_nfca_passive_poll()
117 nfca_poll->sel_res_len = *data++; in nci_extract_rf_params_nfca_passive_poll()
120 nfca_poll->sel_res = *data++; in nci_extract_rf_params_nfca_passive_poll()
126 return data; in nci_extract_rf_params_nfca_passive_poll()
131 __u8 *data) in nci_extract_rf_params_nfcb_passive_poll() argument
133 nfcb_poll->sensb_res_len = min_t(__u8, *data++, NFC_SENSB_RES_MAXSIZE); in nci_extract_rf_params_nfcb_passive_poll()
137 memcpy(nfcb_poll->sensb_res, data, nfcb_poll->sensb_res_len); in nci_extract_rf_params_nfcb_passive_poll()
138 data += nfcb_poll->sensb_res_len; in nci_extract_rf_params_nfcb_passive_poll()
140 return data; in nci_extract_rf_params_nfcb_passive_poll()
145 __u8 *data) in nci_extract_rf_params_nfcf_passive_poll() argument
147 nfcf_poll->bit_rate = *data++; in nci_extract_rf_params_nfcf_passive_poll()
148 nfcf_poll->sensf_res_len = min_t(__u8, *data++, NFC_SENSF_RES_MAXSIZE); in nci_extract_rf_params_nfcf_passive_poll()
153 memcpy(nfcf_poll->sensf_res, data, nfcf_poll->sensf_res_len); in nci_extract_rf_params_nfcf_passive_poll()
154 data += nfcf_poll->sensf_res_len; in nci_extract_rf_params_nfcf_passive_poll()
156 return data; in nci_extract_rf_params_nfcf_passive_poll()
276 __u8 *data = skb->data; in nci_rf_discover_ntf_packet() local
279 ntf.rf_discovery_id = *data++; in nci_rf_discover_ntf_packet()
280 ntf.rf_protocol = *data++; in nci_rf_discover_ntf_packet()
281 ntf.rf_tech_and_mode = *data++; in nci_rf_discover_ntf_packet()
282 ntf.rf_tech_specific_params_len = *data++; in nci_rf_discover_ntf_packet()
293 data = nci_extract_rf_params_nfca_passive_poll(ndev, in nci_rf_discover_ntf_packet()
294 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_discover_ntf_packet()
298 data = nci_extract_rf_params_nfcb_passive_poll(ndev, in nci_rf_discover_ntf_packet()
299 &(ntf.rf_tech_specific_params.nfcb_poll), data); in nci_rf_discover_ntf_packet()
303 data = nci_extract_rf_params_nfcf_passive_poll(ndev, in nci_rf_discover_ntf_packet()
304 &(ntf.rf_tech_specific_params.nfcf_poll), data); in nci_rf_discover_ntf_packet()
310 data += ntf.rf_tech_specific_params_len; in nci_rf_discover_ntf_packet()
315 ntf.ntf_type = *data++; in nci_rf_discover_ntf_packet()
331 struct nci_rf_intf_activated_ntf *ntf, __u8 *data) in nci_extract_activation_params_iso_dep() argument
339 nfca_poll->rats_res_len = min_t(__u8, *data++, 20); in nci_extract_activation_params_iso_dep()
343 data, nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
349 nfcb_poll->attrib_res_len = min_t(__u8, *data++, 50); in nci_extract_activation_params_iso_dep()
353 data, nfcb_poll->attrib_res_len); in nci_extract_activation_params_iso_dep()
367 struct nci_rf_intf_activated_ntf *ntf, __u8 *data) in nci_extract_activation_params_nfc_dep() argument
376 poll->atr_res_len = min_t(__u8, *data++, 63); in nci_extract_activation_params_nfc_dep()
380 poll->atr_res[poll->atr_res_len-1-i] = data[i]; in nci_extract_activation_params_nfc_dep()
420 __u8 *data = skb->data; in nci_rf_intf_activated_ntf_packet() local
423 ntf.rf_discovery_id = *data++; in nci_rf_intf_activated_ntf_packet()
424 ntf.rf_interface = *data++; in nci_rf_intf_activated_ntf_packet()
425 ntf.rf_protocol = *data++; in nci_rf_intf_activated_ntf_packet()
426 ntf.activation_rf_tech_and_mode = *data++; in nci_rf_intf_activated_ntf_packet()
427 ntf.max_data_pkt_payload_size = *data++; in nci_rf_intf_activated_ntf_packet()
428 ntf.initial_num_credits = *data++; in nci_rf_intf_activated_ntf_packet()
429 ntf.rf_tech_specific_params_len = *data++; in nci_rf_intf_activated_ntf_packet()
446 data = nci_extract_rf_params_nfca_passive_poll(ndev, in nci_rf_intf_activated_ntf_packet()
447 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_intf_activated_ntf_packet()
451 data = nci_extract_rf_params_nfcb_passive_poll(ndev, in nci_rf_intf_activated_ntf_packet()
452 &(ntf.rf_tech_specific_params.nfcb_poll), data); in nci_rf_intf_activated_ntf_packet()
456 data = nci_extract_rf_params_nfcf_passive_poll(ndev, in nci_rf_intf_activated_ntf_packet()
457 &(ntf.rf_tech_specific_params.nfcf_poll), data); in nci_rf_intf_activated_ntf_packet()
468 ntf.data_exch_rf_tech_and_mode = *data++; in nci_rf_intf_activated_ntf_packet()
469 ntf.data_exch_tx_bit_rate = *data++; in nci_rf_intf_activated_ntf_packet()
470 ntf.data_exch_rx_bit_rate = *data++; in nci_rf_intf_activated_ntf_packet()
471 ntf.activation_params_len = *data++; in nci_rf_intf_activated_ntf_packet()
483 &ntf, data); in nci_rf_intf_activated_ntf_packet()
488 &ntf, data); in nci_rf_intf_activated_ntf_packet()
545 struct nci_rf_deactivate_ntf *ntf = (void *) skb->data; in nci_rf_deactivate_ntf_packet()
569 __u16 ntf_opcode = nci_opcode(skb->data); in nci_ntf_packet()
572 nci_pbf(skb->data), in nci_ntf_packet()
575 nci_plen(skb->data)); in nci_ntf_packet()