Searched defs:target_idx (Results 1 - 7 of 7) sorted by relevance
/net/nfc/ |
H A D | nfc.h | 39 u32 target_idx; member in struct:nfc_rawsock 56 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, 87 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx); 92 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, 142 int nfc_dep_link_up(struct nfc_dev *dev, int target_idx, u8 comm_mode); 146 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol); 148 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx); 150 int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb,
|
H A D | rawsock.c | 101 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", 102 addr->dev_idx, addr->target_idx, addr->nfc_protocol); 117 if (addr->target_idx > dev->target_next_idx - 1 || 118 addr->target_idx < dev->target_next_idx - dev->n_targets) { 123 rc = nfc_activate_target(dev, addr->target_idx, addr->nfc_protocol); 128 nfc_rawsock(sk)->target_idx = addr->target_idx; 192 u32 target_idx = nfc_rawsock(sk)->target_idx; local 196 pr_debug("sk=%p target_idx [all...] |
H A D | core.c | 279 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) argument 284 if (dev->targets[i].idx == target_idx) 374 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, argument 382 target = nfc_find_target(dev, target_idx); 392 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); 394 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); 402 * @target_idx: index of the target that must be activated 405 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) argument 410 pr_debug("dev_name=%s target_idx=%u protocol=%u\n", 411 dev_name(&dev->dev), target_idx, protoco 452 nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx) argument 498 nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument 834 nfc_target_lost(struct nfc_dev *dev, u32 target_idx) argument [all...] |
H A D | netlink.c | 212 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) argument 227 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) 580 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, argument 599 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx))
|
H A D | llcp.h | 78 u32 target_idx; member in struct:nfc_llcp_local 119 u32 target_idx; member in struct:nfc_llcp_sock
|
H A D | llcp_core.c | 753 ret = nfc_data_exchange(local->dev, local->target_idx, 951 new_sock->target_idx = local->target_idx; 1537 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, argument 1548 local->target_idx = target_idx;
|
/net/core/ |
H A D | netprio_cgroup.c | 34 * @target_idx. @dev->priomap.priomap_len > @target_idx after successful 37 static int extend_netdev_table(struct net_device *dev, u32 target_idx) argument 44 if (old && old->priomap_len > target_idx) 50 * accommodate @target_idx. 56 if (new_len > target_idx)
|
Completed in 957 milliseconds