Home
last modified time | relevance | path

Searched refs:ntf (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/net/nfc/nci/
H A Dntf.c34 const struct nci_core_reset_ntf *ntf = (void *)skb->data; in nci_core_reset_ntf_packet() local
36 ndev->nci_ver = ntf->nci_ver; in nci_core_reset_ntf_packet()
38 ntf->nci_ver, ntf->config_status); in nci_core_reset_ntf_packet()
40 ndev->manufact_id = ntf->manufact_id; in nci_core_reset_ntf_packet()
42 __le32_to_cpu(ntf->manufact_specific_info); in nci_core_reset_ntf_packet()
50 struct nci_core_conn_credit_ntf *ntf = (void *) skb->data; in nci_core_conn_credits_ntf_packet() local
54 pr_debug("num_entries %d\n", ntf->num_entries); in nci_core_conn_credits_ntf_packet()
56 if (ntf->num_entries > NCI_MAX_NUM_CONN) in nci_core_conn_credits_ntf_packet()
57 ntf in nci_core_conn_credits_ntf_packet()
99 struct nci_core_intf_error_ntf *ntf = (void *) skb->data; nci_core_conn_intf_error_ntf_packet() local
287 nci_add_new_target(struct nci_dev *ndev, const struct nci_rf_discover_ntf *ntf) nci_add_new_target() argument
335 struct nci_rf_discover_ntf ntf; nci_rf_discover_ntf_packet() local
395 nci_extract_activation_params_iso_dep(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf, const __u8 *data) nci_extract_activation_params_iso_dep() argument
432 nci_extract_activation_params_nfc_dep(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf, const __u8 *data) nci_extract_activation_params_nfc_dep() argument
469 nci_target_auto_activated(struct nci_dev *ndev, const struct nci_rf_intf_activated_ntf *ntf) nci_target_auto_activated() argument
492 nci_store_general_bytes_nfc_dep(struct nci_dev *ndev, const struct nci_rf_intf_activated_ntf *ntf) nci_store_general_bytes_nfc_dep() argument
538 struct nci_rf_intf_activated_ntf ntf; nci_rf_intf_activated_ntf_packet() local
700 const struct nci_rf_deactivate_ntf *ntf = (void *)skb->data; nci_rf_deactivate_ntf_packet() local
[all...]
H A DMakefile8 nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
H A Dcore.c1432 if (!op || !op->ntf) in nci_op_ntf_packet()
1435 return op->ntf(ndev, skb); in nci_op_ntf_packet()
/kernel/linux/linux-5.10/net/nfc/nci/
H A Dntf.c33 struct nci_core_conn_credit_ntf *ntf = (void *) skb->data; in nci_core_conn_credits_ntf_packet() local
37 pr_debug("num_entries %d\n", ntf->num_entries); in nci_core_conn_credits_ntf_packet()
39 if (ntf->num_entries > NCI_MAX_NUM_CONN) in nci_core_conn_credits_ntf_packet()
40 ntf->num_entries = NCI_MAX_NUM_CONN; in nci_core_conn_credits_ntf_packet()
43 for (i = 0; i < ntf->num_entries; i++) { in nci_core_conn_credits_ntf_packet()
44 ntf->conn_entries[i].conn_id = in nci_core_conn_credits_ntf_packet()
45 nci_conn_id(&ntf->conn_entries[i].conn_id); in nci_core_conn_credits_ntf_packet()
48 i, ntf->conn_entries[i].conn_id, in nci_core_conn_credits_ntf_packet()
49 ntf->conn_entries[i].credits); in nci_core_conn_credits_ntf_packet()
52 ntf in nci_core_conn_credits_ntf_packet()
82 struct nci_core_intf_error_ntf *ntf = (void *) skb->data; nci_core_conn_intf_error_ntf_packet() local
265 nci_add_new_target(struct nci_dev *ndev, struct nci_rf_discover_ntf *ntf) nci_add_new_target() argument
313 struct nci_rf_discover_ntf ntf; nci_rf_discover_ntf_packet() local
373 nci_extract_activation_params_iso_dep(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf, __u8 *data) nci_extract_activation_params_iso_dep() argument
409 nci_extract_activation_params_nfc_dep(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf, __u8 *data) nci_extract_activation_params_nfc_dep() argument
445 nci_target_auto_activated(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf) nci_target_auto_activated() argument
468 nci_store_general_bytes_nfc_dep(struct nci_dev *ndev, struct nci_rf_intf_activated_ntf *ntf) nci_store_general_bytes_nfc_dep() argument
514 struct nci_rf_intf_activated_ntf ntf; nci_rf_intf_activated_ntf_packet() local
676 struct nci_rf_deactivate_ntf *ntf = (void *) skb->data; nci_rf_deactivate_ntf_packet() local
[all...]
H A DMakefile8 nci-objs := core.o data.o lib.o ntf.o rsp.o hci.o
H A Dcore.c1421 if (!op || !op->ntf) in nci_op_ntf_packet()
1424 return op->ntf(ndev, skb); in nci_op_ntf_packet()
/kernel/linux/linux-6.6/tools/net/ynl/samples/
H A Dnetdev.c45 printf(" (ntf: %s)", name); in netdev_print_device()
52 struct ynl_ntf_base_type *ntf; in main() local
69 printf("Select ifc ($ifindex; or 0 = dump; or -2 ntf check): "); in main()
97 while ((ntf = ynl_ntf_dequeue(ys))) { in main()
98 netdev_print_device((struct netdev_dev_get_rsp *)&ntf->data, in main()
99 ntf->cmd); in main()
100 ynl_ntf_free(ntf); in main()
/kernel/linux/linux-6.6/net/core/
H A Dnetdev-genl.c45 struct sk_buff *ntf; in netdev_genl_dev_notify() local
53 ntf = genlmsg_new(GENLMSG_DEFAULT_SIZE, GFP_KERNEL); in netdev_genl_dev_notify()
54 if (!ntf) in netdev_genl_dev_notify()
57 if (netdev_nl_dev_fill(netdev, ntf, &info)) { in netdev_genl_dev_notify()
58 nlmsg_free(ntf); in netdev_genl_dev_notify()
62 genlmsg_multicast_netns(&netdev_nl_family, dev_net(netdev), ntf, in netdev_genl_dev_notify()
/kernel/linux/linux-6.6/tools/net/ynl/
H A Dcli.py21 parser.add_argument('--subscribe', dest='ntf', type=str)
41 if args.ntf:
42 ynl.ntf_subscribe(args.ntf)
54 if args.ntf:
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-dev.c244 struct v4l2_async_notifier *ntf = &rkisp1->notifier; in rkisp1_subdev_notifier() local
248 v4l2_async_notifier_init(ntf); in rkisp1_subdev_notifier()
267 asd = v4l2_async_notifier_add_fwnode_remote_subdev(ntf, ep, in rkisp1_subdev_notifier()
289 v4l2_async_notifier_cleanup(ntf); in rkisp1_subdev_notifier()
295 ntf->ops = &rkisp1_subdev_notifier_ops; in rkisp1_subdev_notifier()
296 ret = v4l2_async_notifier_register(&rkisp1->v4l2_dev, ntf); in rkisp1_subdev_notifier()
298 v4l2_async_notifier_cleanup(ntf); in rkisp1_subdev_notifier()
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-dev.c185 struct v4l2_async_notifier *ntf = &rkisp1->notifier; in rkisp1_subdev_notifier_register() local
191 v4l2_async_nf_init(ntf, &rkisp1->v4l2_dev); in rkisp1_subdev_notifier_register()
193 ntf->ops = &rkisp1_subdev_notifier_ops; in rkisp1_subdev_notifier_register()
258 rk_asd = v4l2_async_nf_add_fwnode(ntf, source, in rkisp1_subdev_notifier_register()
284 v4l2_async_nf_cleanup(ntf); in rkisp1_subdev_notifier_register()
291 ret = v4l2_async_nf_register(ntf); in rkisp1_subdev_notifier_register()
293 v4l2_async_nf_cleanup(ntf); in rkisp1_subdev_notifier_register()
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dynl.c638 struct ynl_ntf_base_type *ntf; in ynl_sock_destroy() local
641 while ((ntf = ynl_ntf_dequeue(ys))) in ynl_sock_destroy()
642 ynl_ntf_free(ntf); in ynl_sock_destroy()
649 void ynl_ntf_free(struct ynl_ntf_base_type *ntf) in ynl_ntf_free() argument
651 ntf->free(ntf); in ynl_ntf_free()
685 struct ynl_ntf_base_type *ntf; in ynl_ntf_dequeue() local
690 ntf = ys->ntf_first; in ynl_ntf_dequeue()
691 ys->ntf_first = ntf->next; in ynl_ntf_dequeue()
692 if (ys->ntf_last_next == &ntf in ynl_ntf_dequeue()
[all...]
H A Dynl.h118 void ynl_ntf_free(struct ynl_ntf_base_type *ntf);
188 void (*free)(struct ynl_ntf_base_type *ntf);
226 void (*free)(struct ynl_ntf_base_type *ntf);
/kernel/linux/linux-6.6/drivers/nfc/nxp-nci/
H A Dcore.c117 .ntf = nxp_nci_rf_pll_unlocked_ntf,
121 .ntf = nxp_nci_rf_txldo_error_ntf,
/kernel/linux/linux-6.6/tools/net/ynl/generated/
H A Dnetdev-user.h81 void (*free)(struct netdev_dev_get_ntf *ntf);
H A Dhandshake-user.h92 void (*free)(struct handshake_accept_ntf *ntf);
H A Dethtool-user.h489 void (*free)(struct ethtool_linkinfo_get_ntf *ntf);
729 void (*free)(struct ethtool_linkmodes_get_ntf *ntf);
1146 void (*free)(struct ethtool_debug_get_ntf *ntf);
1346 void (*free)(struct ethtool_wol_get_ntf *ntf);
1563 void (*free)(struct ethtool_features_get_ntf *ntf);
1860 void (*free)(struct ethtool_privflags_get_ntf *ntf);
2089 void (*free)(struct ethtool_rings_get_ntf *ntf);
2412 void (*free)(struct ethtool_channels_get_ntf *ntf);
2714 void (*free)(struct ethtool_coalesce_get_ntf *ntf);
3141 void (*free)(struct ethtool_pause_get_ntf *ntf);
[all...]
/kernel/linux/linux-5.10/drivers/nfc/fdp/
H A Dfdp.c685 .ntf = fdp_nci_core_reset_ntf_packet,
693 .ntf = fdp_nci_prop_patch_ntf_packet,
/kernel/linux/linux-6.6/drivers/nfc/fdp/
H A Dfdp.c670 .ntf = fdp_nci_core_reset_ntf_packet,
678 .ntf = fdp_nci_prop_patch_ntf_packet,
/kernel/linux/linux-5.10/include/net/nfc/
H A Dnci_core.h62 int (*ntf)(struct nci_dev *dev, struct sk_buff *skb); member
/kernel/linux/linux-6.6/include/net/nfc/
H A Dnci_core.h62 int (*ntf)(struct nci_dev *dev, struct sk_buff *skb); member

Completed in 22 milliseconds