• Home
  • Raw
  • Download

Lines Matching refs:idx

73 	if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) ||  in nfc_genl_send_target()
111 u32 idx; in __get_device_from_cb() local
116 idx = nla_get_u32(info->info.attrs[NFC_ATTR_DEVICE_INDEX]); in __get_device_from_cb()
118 dev = nfc_get_device(idx); in __get_device_from_cb()
186 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_targets_found()
243 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_tm_activated()
274 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_tm_deactivated()
292 nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_setup_device_added()
343 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_device_removed()
377 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_llc_send_sdres()
438 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_se_added()
469 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_se_removed()
505 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_se_transaction()
550 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_se_connectivity()
663 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_dep_link_up_event()
702 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_dep_link_down_event()
721 u32 idx; in nfc_genl_get_device() local
727 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_get_device()
729 dev = nfc_get_device(idx); in nfc_genl_get_device()
759 u32 idx; in nfc_genl_dev_up() local
764 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_up()
766 dev = nfc_get_device(idx); in nfc_genl_dev_up()
780 u32 idx; in nfc_genl_dev_down() local
785 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_down()
787 dev = nfc_get_device(idx); in nfc_genl_dev_down()
801 u32 idx; in nfc_genl_start_poll() local
812 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_start_poll()
822 dev = nfc_get_device(idx); in nfc_genl_start_poll()
842 u32 idx; in nfc_genl_stop_poll() local
847 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_stop_poll()
849 dev = nfc_get_device(idx); in nfc_genl_stop_poll()
935 u32 idx; in nfc_genl_dep_link_up() local
944 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dep_link_up()
955 dev = nfc_get_device(idx); in nfc_genl_dep_link_up()
970 u32 idx; in nfc_genl_dep_link_down() local
976 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dep_link_down()
978 dev = nfc_get_device(idx); in nfc_genl_dep_link_down()
999 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, local->dev->idx) || in nfc_genl_send_params()
1019 u32 idx; in nfc_genl_llc_get_params() local
1025 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_llc_get_params()
1027 dev = nfc_get_device(idx); in nfc_genl_llc_get_params()
1071 u32 idx; in nfc_genl_llc_set_params() local
1094 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_llc_set_params()
1096 dev = nfc_get_device(idx); in nfc_genl_llc_set_params()
1139 u32 idx; in nfc_genl_llc_sdreq() local
1151 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_llc_sdreq()
1153 dev = nfc_get_device(idx); in nfc_genl_llc_sdreq()
1230 u32 idx; in nfc_genl_fw_download() local
1236 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_fw_download()
1238 dev = nfc_get_device(idx); in nfc_genl_fw_download()
1268 nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx)) in nfc_genl_fw_download_done()
1287 u32 idx, se_idx; in nfc_genl_enable_se() local
1293 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_enable_se()
1296 dev = nfc_get_device(idx); in nfc_genl_enable_se()
1310 u32 idx, se_idx; in nfc_genl_disable_se() local
1316 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_disable_se()
1319 dev = nfc_get_device(idx); in nfc_genl_disable_se()
1346 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, dev->idx) || in nfc_genl_send_se()
1347 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se->idx) || in nfc_genl_send_se()
1647 if (nla_put_u32(skb, NFC_ATTR_DEVICE_INDEX, dev->idx)) in __nfc_alloc_vendor_cmd_skb()