/linux/net/nfc/ |
H A D | nfc.h | 30 u32 target_idx; member 47 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, 79 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx); 84 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, 137 int nfc_dep_link_up(struct nfc_dev *dev, int target_idx, u8 comm_mode); 141 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol); 143 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode); 145 int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb,
|
H A D | rawsock.c | 91 addr->dev_idx, addr->target_idx, addr->nfc_protocol); in rawsock_connect() 106 if (addr->target_idx > dev->target_next_idx - 1 || in rawsock_connect() 107 addr->target_idx < dev->target_next_idx - dev->n_targets) { in rawsock_connect() 112 rc = nfc_activate_target(dev, addr->target_idx, addr->nfc_protocol); in rawsock_connect() 117 nfc_rawsock(sk)->target_idx = addr->target_idx; in rawsock_connect() 181 u32 target_idx = nfc_rawsock(sk)->target_idx; in rawsock_tx_work() local 185 pr_debug("sk=%p target_idx=%u\n", sk, target_idx); in rawsock_tx_work() 196 rc = nfc_data_exchange(dev, target_idx, skb, in rawsock_tx_work() 310 nfc_rawsock(sk)->target_idx, in rawsock_destruct()
|
H A D | core.c | 268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target() argument 273 if (dev->targets[i].idx == target_idx) in nfc_find_target() 363 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, in nfc_dep_link_is_up() argument 371 target = nfc_find_target(dev, target_idx); in nfc_dep_link_is_up() 381 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up() 383 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up() 394 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) in nfc_activate_target() argument 400 dev_name(&dev->dev), target_idx, protocol); in nfc_activate_target() 414 target = nfc_find_target(dev, target_idx); in nfc_activate_target() 442 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) in nfc_deactivate_target() argument [all …]
|
H A D | netlink.c | 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() [all …]
|
H A D | llcp.h | 65 u32 target_idx; member 106 u32 target_idx; member
|
H A D | llcp_sock.c | 513 pr_debug("%p %d %d %d\n", sk, llcp_sock->target_idx, in llcp_sock_getname() 525 llcp_addr->target_idx = llcp_sock->target_idx; in llcp_sock_getname() 670 addr->target_idx, addr->nfc_protocol); in llcp_sock_connect() 704 addr->target_idx != local->target_idx) { in llcp_sock_connect()
|
H A D | llcp_core.c | 793 ret = nfc_data_exchange(local->dev, local->target_idx, in nfc_llcp_tx_work() 992 new_sock->target_idx = local->target_idx; in nfc_llcp_recv_connect() 1589 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, in nfc_llcp_mac_is_up() argument 1600 local->target_idx = target_idx; in nfc_llcp_mac_is_up()
|
H A D | llcp_commands.c | 385 err = nfc_data_exchange(dev, local->target_idx, skb, in nfc_llcp_send_symm()
|
/linux/include/trace/events/ |
H A D | damon.h | 15 unsigned int target_idx, struct damon_region *r, 18 TP_ARGS(context_idx, target_idx, scheme_idx, r, nr_regions, do_trace), 25 __field(unsigned long, target_idx) 36 __entry->target_idx = target_idx; 46 __entry->target_idx, __entry->nr_regions,
|
/linux/net/core/ |
H A D | netprio_cgroup.c | 41 static int extend_netdev_table(struct net_device *dev, u32 target_idx) in extend_netdev_table() argument 48 if (old && old->priomap_len > target_idx) in extend_netdev_table() 60 if (new_len > target_idx) in extend_netdev_table()
|
/linux/include/uapi/linux/ |
H A D | nfc.h | 268 __u32 target_idx; member 276 __u32 target_idx; member
|
/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 695 int connect_socket(int dev_idx, int target_idx) in connect_socket() argument 707 addr.target_idx = target_idx; in connect_socket() 724 int target_idx; in connect_tag() local 739 target_idx = get_taginfo(dev_idx, sd, fid, pid); in connect_tag() 740 if (target_idx == -1) in connect_tag() 742 return connect_socket(dev_idx, target_idx); in connect_tag()
|
/linux/mm/damon/ |
H A D | dbgfs.c | 556 int target_idx = 0; in sprint_init_regions() local 564 target_idx, r->ar.start, r->ar.end); in sprint_init_regions() 569 target_idx++; in sprint_init_regions() 603 static int add_init_region(struct damon_ctx *c, int target_idx, in add_init_region() argument 615 if (idx++ == target_idx) { in add_init_region() 638 int target_idx; in set_init_regions() local 649 &target_idx, &ar.start, &ar.end, &parsed); in set_init_regions() 652 err = add_init_region(c, target_idx, &ar); in set_init_regions()
|
H A D | core.c | 773 dst->target_idx = src->target_idx; in damos_commit_filter_arg() 1281 int target_idx = 0; in __damos_filter_out() local 1289 target_idx++; in __damos_filter_out() 1291 matched = target_idx == filter->target_idx; in __damos_filter_out()
|
H A D | sysfs-schemes.c | 335 int target_idx; member 474 return sysfs_emit(buf, "%d\n", filter->target_idx); in damon_target_idx_show() 482 int err = kstrtoint(buf, 0, &filter->target_idx); in damon_target_idx_store() 1942 filter->target_idx = sysfs_filter->target_idx; in damon_sysfs_add_scheme_filters()
|
/linux/include/net/nfc/ |
H A D | nfc.h | 277 int nfc_target_lost(struct nfc_dev *dev, u32 target_idx); 279 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx,
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_acl.c | 510 u16 target_idx) in ksz9477_move_entries_upwards() argument 515 for (i = start_idx; i > target_idx; i--) { in ksz9477_move_entries_upwards()
|
/linux/include/linux/ |
H A D | damon.h | 350 int target_idx; member
|
/linux/Documentation/networking/ |
H A D | nfc.rst | 111 __u32 target_idx;
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 416 ``memcg_path``, ``addr_start``, ``addr_end``, and ``target_idx``. To ``type`` 426 the list of the DAMON context's monitoring targets list to ``target_idx`` file. 594 …kdamond.0 47293 [000] 80801.060214: damon:damos_before_apply: ctx_idx=0 scheme_idx=0 target_idx=0 …
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-mm-damon | 348 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
|