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