Lines Matching refs:target_idx
214 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) in nfc_genl_target_lost() argument
229 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) in nfc_genl_target_lost()
660 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, in nfc_genl_dep_link_up_event() argument
679 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) in nfc_genl_dep_link_up_event()
894 u32 device_idx, target_idx, protocol; in nfc_genl_activate_target() local
908 target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]); in nfc_genl_activate_target()
911 nfc_deactivate_target(dev, target_idx, NFC_TARGET_MODE_SLEEP); in nfc_genl_activate_target()
912 rc = nfc_activate_target(dev, target_idx, protocol); in nfc_genl_activate_target()
922 u32 device_idx, target_idx; in nfc_genl_deactivate_target() local
934 target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]); in nfc_genl_deactivate_target()
936 rc = nfc_deactivate_target(dev, target_idx, NFC_TARGET_MODE_SLEEP); in nfc_genl_deactivate_target()