Lines Matching refs:target_idx
199 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost() argument
214 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) in nfc_genl_target_lost()
647 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, in nfc_genl_dep_link_up_event() argument
666 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) in nfc_genl_dep_link_up_event()
882 u32 device_idx, target_idx, protocol; in nfc_genl_activate_target() local
896 target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]); in nfc_genl_activate_target()
899 nfc_deactivate_target(dev, target_idx, NFC_TARGET_MODE_SLEEP); in nfc_genl_activate_target()
900 rc = nfc_activate_target(dev, target_idx, protocol); in nfc_genl_activate_target()
910 u32 device_idx, target_idx; in nfc_genl_deactivate_target() local
923 target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]); in nfc_genl_deactivate_target()
925 rc = nfc_deactivate_target(dev, target_idx, NFC_TARGET_MODE_SLEEP); in nfc_genl_deactivate_target()