Home
last modified time | relevance | path

Searched refs:ntf (Results 1 – 14 of 14) sorted by relevance

/linux/net/nfc/nci/
H A Dntf.c34 const struct nci_core_reset_ntf *ntf; in nci_core_reset_ntf_packet() local
39 ntf = (struct nci_core_reset_ntf *)skb->data; in nci_core_reset_ntf_packet()
41 ndev->nci_ver = ntf->nci_ver; in nci_core_reset_ntf_packet()
43 ntf->nci_ver, ntf->config_status); in nci_core_reset_ntf_packet()
45 ndev->manufact_id = ntf->manufact_id; in nci_core_reset_ntf_packet()
47 __le32_to_cpu(ntf->manufact_specific_info); in nci_core_reset_ntf_packet()
57 struct nci_core_conn_credit_ntf *ntf; in nci_core_conn_credits_ntf_packet() local
64 ntf = (struct nci_core_conn_credit_ntf *)skb->data; in nci_core_conn_credits_ntf_packet()
66 pr_debug("num_entries %d\n", ntf->num_entries); in nci_core_conn_credits_ntf_packet()
68 if (ntf->num_entries > NCI_MAX_NUM_CONN) in nci_core_conn_credits_ntf_packet()
[all …]
H A DMakefile8 nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
H A Dcore.c1461 if (!op || !op->ntf) in nci_op_ntf_packet()
1464 return op->ntf(ndev, skb); in nci_op_ntf_packet()
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_api.py80 ntf = next(ethnl.poll_ntf(duration=0.2), None)
81 ksft_is(ntf, None)
166 ntf = next(ethnl.poll_ntf(duration=0.2), None)
167 if ntf is None:
169 ksft_eq(ntf["name"], "rss-ntf")
170 ksft_eq(set(ntf["msg"]["indir"]), {1})
173 ntf = next(ethnl.poll_ntf(duration=0.2), None)
174 if ntf is None:
176 ksft_eq(ntf["name"], "rss-ntf")
177 ksft_is(ntf["msg"].get("context"), None)
[all …]
/linux/net/psp/
H A Dpsp_nl.c63 struct sk_buff *ntf; in psp_nl_multicast_per_ns() local
87 ntf = build_ntf(psd, assoc_net, ctx); in psp_nl_multicast_per_ns()
88 if (!ntf) in psp_nl_multicast_per_ns()
91 genlmsg_multicast_netns(&psp_nl_family, assoc_net, ntf, 0, in psp_nl_multicast_per_ns()
97 ntf = build_ntf(psd, main_net, ctx); in psp_nl_multicast_per_ns()
98 if (ntf) in psp_nl_multicast_per_ns()
99 genlmsg_multicast_netns(&psp_nl_family, main_net, ntf, 0, group, in psp_nl_multicast_per_ns()
110 static void psp_nl_multicast_all_ns(struct psp_dev *psd, struct sk_buff *ntf, in psp_nl_multicast_all_ns() argument
113 psp_nl_multicast_per_ns(psd, group, psp_nl_clone_ntf, ntf); in psp_nl_multicast_all_ns()
114 nlmsg_consume(ntf); in psp_nl_multicast_all_ns()
[all …]
/linux/tools/net/ynl/samples/
H A Dnetdev.c
/linux/net/ethtool/
H A Drss.c490 struct sk_buff *ntf; in ethnl_rss_delete_notify() local
497 ntf = genlmsg_new(ntf_size, GFP_KERNEL); in ethnl_rss_delete_notify()
498 if (!ntf) in ethnl_rss_delete_notify()
501 hdr = ethnl_bcastmsg_put(ntf, ETHTOOL_MSG_RSS_DELETE_NTF); in ethnl_rss_delete_notify()
505 if (ethnl_fill_reply_header(ntf, dev, ETHTOOL_A_RSS_HEADER) || in ethnl_rss_delete_notify()
506 nla_put_u32(ntf, ETHTOOL_A_RSS_CONTEXT, rss_context)) in ethnl_rss_delete_notify()
509 genlmsg_end(ntf, hdr); in ethnl_rss_delete_notify()
510 if (ethnl_multicast(ntf, dev)) in ethnl_rss_delete_notify()
516 nlmsg_free(ntf); in ethnl_rss_delete_notify()
986 struct sk_buff *ntf; in ethnl_rss_create_send_ntf() local
[all …]
/linux/tools/net/ynl/lib/
H A Dynl.c808 struct ynl_ntf_base_type *ntf; in ynl_sock_destroy() local
811 while ((ntf = ynl_ntf_dequeue(ys))) in ynl_sock_destroy()
812 ynl_ntf_free(ntf); in ynl_sock_destroy()
819 void ynl_ntf_free(struct ynl_ntf_base_type *ntf) in ynl_ntf_free() argument
821 ntf->free(ntf); in ynl_ntf_free()
855 struct ynl_ntf_base_type *ntf; in ynl_ntf_dequeue() local
860 ntf = ys->ntf_first; in ynl_ntf_dequeue()
861 ys->ntf_first = ntf->next; in ynl_ntf_dequeue()
862 if (ys->ntf_last_next == &ntf in ynl_ntf_dequeue()
[all...]
H A Dynl.h142 void ynl_ntf_free(struct ynl_ntf_base_type *ntf);
H A Dynl-priv.h97 void (*free)(struct ynl_ntf_base_type *ntf);
133 void (*free)(struct ynl_ntf_base_type *ntf);
/linux/drivers/net/pse-pd/
H A Dpse_core.c488 struct pse_ntf ntf = {}; in pse_disable_pi_pol() local
497 ntf.notifs = notifs; in pse_disable_pi_pol()
498 ntf.id = id; in pse_disable_pi_pol()
499 kfifo_in_spinlocked(&pcdev->ntf_fifo, &ntf, 1, &pcdev->ntf_fifo_lock); in pse_disable_pi_pol()
1015 struct pse_ntf ntf; in pse_send_ntf_worker() local
1019 while (kfifo_out(&pcdev->ntf_fifo, &ntf, 1)) { in pse_send_ntf_worker()
1023 psec = pse_control_find_by_id(pcdev, ntf.id); in pse_send_ntf_worker()
1027 ethnl_pse_send_ntf(netdev, ntf.notifs); in pse_send_ntf_worker()
1270 struct pse_ntf ntf = {}; in pse_isr() local
1286 ntf.notifs = notifs; in pse_isr()
[all …]
/linux/tools/net/ynl/pyynl/
H A Dcli.py291 if args.ntf:
292 ynl.ntf_subscribe(args.ntf)
321 if args.ntf:
/linux/net/core/
H A Dnetdev-genl.c91 struct sk_buff *ntf; in netdev_genl_dev_notify() local
99 ntf = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in netdev_genl_dev_notify()
100 if (!ntf) in netdev_genl_dev_notify()
103 if (netdev_nl_dev_fill(netdev, ntf, &info)) { in netdev_genl_dev_notify()
104 nlmsg_free(ntf); in netdev_genl_dev_notify()
108 genlmsg_multicast_netns(&netdev_nl_family, dev_net(netdev), ntf, in netdev_genl_dev_notify()
/linux/drivers/nfc/fdp/
H A Dfdp.c670 .ntf = fdp_nci_core_reset_ntf_packet,
678 .ntf = fdp_nci_prop_patch_ntf_packet,