/linux-6.3-rc2/net/nfc/ |
A D | nfc.h | 29 struct nfc_dev *dev; 46 void nfc_llcp_mac_is_down(struct nfc_dev *dev); 49 int nfc_llcp_register_device(struct nfc_dev *dev); 77 int nfc_genl_targets_found(struct nfc_dev *dev); 80 int nfc_genl_device_added(struct nfc_dev *dev); 81 int nfc_genl_device_removed(struct nfc_dev *dev); 88 int nfc_genl_tm_deactivated(struct nfc_dev *dev); 128 int nfc_dev_up(struct nfc_dev *dev); 130 int nfc_dev_down(struct nfc_dev *dev); 134 int nfc_stop_poll(struct nfc_dev *dev); [all …]
|
A D | digital_core.c | 476 static int digital_start_poll(struct nfc_dev *nfc_dev, __u32 im_protocols, in digital_start_poll() argument 556 static void digital_stop_poll(struct nfc_dev *nfc_dev) in digital_stop_poll() argument 577 static int digital_dev_up(struct nfc_dev *nfc_dev) in digital_dev_up() argument 586 static int digital_dev_down(struct nfc_dev *nfc_dev) in digital_dev_down() argument 595 static int digital_dep_link_up(struct nfc_dev *nfc_dev, in digital_dep_link_up() argument 610 static int digital_dep_link_down(struct nfc_dev *nfc_dev) in digital_dep_link_down() argument 621 static int digital_activate_target(struct nfc_dev *nfc_dev, in digital_activate_target() argument 641 static void digital_deactivate_target(struct nfc_dev *nfc_dev, in digital_deactivate_target() argument 701 static int digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, in digital_in_send() argument 802 if (!ddev->nfc_dev) { in nfc_digital_allocate_device() [all …]
|
A D | core.c | 89 int nfc_dev_up(struct nfc_dev *dev) in nfc_dev_up() 137 int nfc_dev_down(struct nfc_dev *dev) in nfc_dev_down() 172 struct nfc_dev *dev = data; in nfc_rfkill_set_block() 241 int nfc_stop_poll(struct nfc_dev *dev) in nfc_stop_poll() 327 int nfc_dep_link_down(struct nfc_dev *dev) in nfc_dep_link_down() 696 int nfc_tm_deactivated(struct nfc_dev *dev) in nfc_tm_deactivated() 768 int nfc_targets_found(struct nfc_dev *dev, in nfc_targets_found() 964 struct nfc_dev *dev = to_nfc_dev(d); in nfc_release() 985 struct nfc_dev *dev = container_of(work, struct nfc_dev, in nfc_check_pres_work() 1026 struct nfc_dev *dev = to_nfc_dev(d); in match_idx() [all …]
|
A D | netlink.c | 110 struct nfc_dev *dev; in __get_device_from_cb() 129 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets() 162 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_targets_done() 597 struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; in nfc_genl_dump_devices() 720 struct nfc_dev *dev; in nfc_genl_get_device() 757 struct nfc_dev *dev; in nfc_genl_dev_up() 778 struct nfc_dev *dev; in nfc_genl_dev_down() 799 struct nfc_dev *dev; in nfc_genl_start_poll() 840 struct nfc_dev *dev; in nfc_genl_stop_poll() 881 struct nfc_dev *dev; in nfc_genl_activate_target() [all …]
|
A D | llcp.h | 52 struct nfc_dev *dev; 104 struct nfc_dev *dev; 203 struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev); 236 int nfc_llcp_send_symm(struct nfc_dev *dev);
|
A D | rawsock.c | 81 struct nfc_dev *dev; in rawsock_connect() 180 struct nfc_dev *dev = nfc_rawsock(sk)->dev; in rawsock_tx_work() 208 struct nfc_dev *dev = nfc_rawsock(sk)->dev; in rawsock_sendmsg() 359 void nfc_send_to_raw_sock(struct nfc_dev *dev, struct sk_buff *skb, in nfc_send_to_raw_sock()
|
/linux-6.3-rc2/include/net/nfc/ |
A D | nfc.h | 28 struct nfc_dev; 49 int (*dev_up)(struct nfc_dev *dev); 50 int (*dev_down)(struct nfc_dev *dev); 51 int (*start_poll)(struct nfc_dev *dev, 53 void (*stop_poll)(struct nfc_dev *dev); 56 int (*dep_link_down)(struct nfc_dev *dev); 69 int (*discover_se)(struct nfc_dev *dev); 163 struct nfc_dev { struct 226 static inline void nfc_set_parent_dev(struct nfc_dev *nfc_dev, in nfc_set_parent_dev() argument 229 nfc_dev->dev.parent = dev; in nfc_set_parent_dev() [all …]
|
A D | digital.h | 193 struct nfc_dev *nfc_dev; member 251 nfc_set_parent_dev(ndev->nfc_dev, dev); in nfc_digital_set_parent_dev()
|
A D | nci_core.h | 197 struct nfc_dev *nfc_dev; member 335 nfc_set_parent_dev(ndev->nfc_dev, dev); in nci_set_parent_dev() 352 return nfc_set_vendor_cmds(ndev->nfc_dev, cmds, n_cmds); in nci_set_vendor_cmds()
|
/linux-6.3-rc2/net/nfc/nci/ |
A D | core.c | 628 static int nci_dev_up(struct nfc_dev *nfc_dev) in nci_dev_up() argument 635 static int nci_dev_down(struct nfc_dev *nfc_dev) in nci_dev_down() argument 786 static int nci_set_listen_parameters(struct nfc_dev *nfc_dev) in nci_set_listen_parameters() argument 809 static int nci_start_poll(struct nfc_dev *nfc_dev, in nci_start_poll() argument 863 static void nci_stop_poll(struct nfc_dev *nfc_dev) in nci_stop_poll() argument 878 static int nci_activate_target(struct nfc_dev *nfc_dev, in nci_activate_target() argument 943 static void nci_deactivate_target(struct nfc_dev *nfc_dev, in nci_deactivate_target() argument 990 static int nci_dep_link_down(struct nfc_dev *nfc_dev) in nci_dep_link_down() argument 1058 static int nci_enable_se(struct nfc_dev *nfc_dev, u32 se_idx) in nci_enable_se() argument 1078 static int nci_discover_se(struct nfc_dev *nfc_dev) in nci_discover_se() argument [all …]
|
A D | rsp.c | 198 conn_info = devm_kzalloc(&ndev->nfc_dev->dev, in nci_rf_disc_rsp_packet() 282 conn_info = devm_kzalloc(&ndev->nfc_dev->dev, in nci_core_conn_create_rsp_packet() 289 conn_info->dest_params = devm_kzalloc(&ndev->nfc_dev->dev, in nci_core_conn_create_rsp_packet() 319 devm_kfree(&ndev->nfc_dev->dev, conn_info); in nci_core_conn_create_rsp_packet() 339 devm_kfree(&ndev->nfc_dev->dev, conn_info); in nci_core_conn_close_rsp_packet()
|
/linux-6.3-rc2/net/nfc/hci/ |
A D | core.c | 579 static int hci_dev_up(struct nfc_dev *nfc_dev) in hci_dev_up() argument 625 static int hci_dev_down(struct nfc_dev *nfc_dev) in hci_dev_down() argument 639 static int hci_start_poll(struct nfc_dev *nfc_dev, in hci_start_poll() argument 652 static void hci_stop_poll(struct nfc_dev *nfc_dev) in hci_stop_poll() argument 675 static int hci_dep_link_down(struct nfc_dev *nfc_dev) in hci_dep_link_down() argument 685 static int hci_activate_target(struct nfc_dev *nfc_dev, in hci_activate_target() argument 691 static void hci_deactivate_target(struct nfc_dev *nfc_dev, in hci_deactivate_target() argument 780 static int hci_check_presence(struct nfc_dev *nfc_dev, in hci_check_presence() argument 791 static int hci_discover_se(struct nfc_dev *nfc_dev) in hci_discover_se() argument 801 static int hci_enable_se(struct nfc_dev *nfc_dev, u32 se_idx) in hci_enable_se() argument [all …]
|
/linux-6.3-rc2/drivers/nfc/st-nci/ |
A D | vendor_cmds.c | 39 static int st_nci_factory_mode(struct nfc_dev *dev, void *data, in st_nci_factory_mode() 64 static int st_nci_hci_clear_all_pipes(struct nfc_dev *dev, void *data, in st_nci_hci_clear_all_pipes() 72 static int st_nci_hci_dm_put_data(struct nfc_dev *dev, void *data, in st_nci_hci_dm_put_data() 82 static int st_nci_hci_dm_update_aid(struct nfc_dev *dev, void *data, in st_nci_hci_dm_update_aid() 91 static int st_nci_hci_dm_get_info(struct nfc_dev *dev, void *data, in st_nci_hci_dm_get_info() 123 static int st_nci_hci_dm_get_data(struct nfc_dev *dev, void *data, in st_nci_hci_dm_get_data() 155 static int st_nci_hci_dm_fwupd_start(struct nfc_dev *dev, void *data, in st_nci_hci_dm_fwupd_start() 170 static int st_nci_hci_dm_fwupd_end(struct nfc_dev *dev, void *data, in st_nci_hci_dm_fwupd_end() 192 static int st_nci_hci_dm_reset(struct nfc_dev *dev, void *data, in st_nci_hci_dm_reset() 204 static int st_nci_hci_get_param(struct nfc_dev *dev, void *data, in st_nci_hci_get_param() [all …]
|
A D | se.c | 271 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on admin gate\n"); in st_nci_hci_admin_event_received() 295 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on apdu reader gate\n"); in st_nci_hci_apdu_reader_event_received() 313 struct device *dev = &ndev->nfc_dev->dev; in st_nci_hci_connectivity_event_received() 322 r = nfc_se_connectivity(ndev->nfc_dev, host); in st_nci_hci_connectivity_event_received() 372 r = nfc_se_transaction(ndev->nfc_dev, host, transaction); in st_nci_hci_connectivity_event_received() 375 nfc_err(&ndev->nfc_dev->dev, "Unexpected event on connectivity gate\n"); in st_nci_hci_connectivity_event_received() 537 nfc_remove_se(ndev->nfc_dev, se_idx); in st_nci_enable_se() 645 nfc_add_se(ndev->nfc_dev, ST_NCI_UICC_HOST_ID, NFC_SE_UICC); in st_nci_discover_se() 650 nfc_add_se(ndev->nfc_dev, ST_NCI_ESE_HOST_ID, NFC_SE_EMBEDDED); in st_nci_discover_se()
|
/linux-6.3-rc2/drivers/nfc/pn533/ |
A D | pn533.c | 1341 static int pn533_poll_dep(struct nfc_dev *nfc_dev) in pn533_poll_dep() argument 1628 static int pn533_start_poll(struct nfc_dev *nfc_dev, in pn533_start_poll() argument 1743 static void pn533_stop_poll(struct nfc_dev *nfc_dev) in pn533_stop_poll() argument 1796 static int pn533_activate_target(struct nfc_dev *nfc_dev, in pn533_activate_target() argument 1959 static int pn533_rf_field(struct nfc_dev *nfc_dev, u8 rf); 2042 static int pn533_dep_link_down(struct nfc_dev *nfc_dev) in pn533_dep_link_down() argument 2253 static int pn533_transceive(struct nfc_dev *nfc_dev, in pn533_transceive() argument 2556 static int pn533_rf_field(struct nfc_dev *nfc_dev, u8 rf) in pn533_rf_field() argument 2574 static int pn532_sam_configuration(struct nfc_dev *nfc_dev) in pn532_sam_configuration() argument 2594 static int pn533_dev_up(struct nfc_dev *nfc_dev) in pn533_dev_up() argument [all …]
|
A D | pn533.h | 134 struct nfc_dev *nfc_dev; member
|
A D | i2c.c | 211 r = nfc_register_device(priv->nfc_dev); in pn533_i2c_probe() 221 nfc_free_device(priv->nfc_dev); in pn533_i2c_probe()
|
/linux-6.3-rc2/drivers/nfc/st21nfca/ |
A D | vendor_cmds.c | 35 static int st21nfca_factory_mode(struct nfc_dev *dev, void *data, in st21nfca_factory_mode() 59 static int st21nfca_hci_clear_all_pipes(struct nfc_dev *dev, void *data, in st21nfca_hci_clear_all_pipes() 67 static int st21nfca_hci_dm_put_data(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_put_data() 77 static int st21nfca_hci_dm_update_aid(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_update_aid() 86 static int st21nfca_hci_dm_get_info(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_get_info() 121 static int st21nfca_hci_dm_get_data(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_get_data() 156 static int st21nfca_hci_dm_load(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_load() 165 static int st21nfca_hci_dm_reset(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_reset() 183 static int st21nfca_hci_get_param(struct nfc_dev *dev, void *data, in st21nfca_hci_get_param() 219 static int st21nfca_hci_dm_field_generator(struct nfc_dev *dev, void *data, in st21nfca_hci_dm_field_generator() [all …]
|
/linux-6.3-rc2/drivers/nfc/ |
A D | virtual_ncidev.c | 175 const struct nfc_dev *nfc_dev = vdev->ndev->nfc_dev; in virtual_ncidev_ioctl() local 181 if (copy_to_user(p, &nfc_dev->idx, sizeof(nfc_dev->idx))) in virtual_ncidev_ioctl()
|
A D | nfcsim.c | 16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \ 19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \ 362 idx = dev->nfc_digital_dev->nfc_dev->idx; in nfcsim_debugfs_init_dev()
|
/linux-6.3-rc2/drivers/nfc/nfcmrvl/ |
A D | uart.c | 152 if (priv->ndev->nfc_dev->fw_download_in_progress) in nfcmrvl_nci_uart_tx_start() 166 if (priv->ndev->nfc_dev->fw_download_in_progress) in nfcmrvl_nci_uart_tx_done()
|
A D | fw_dnld.c | 117 nfc_fw_download_done(priv->ndev->nfc_dev, priv->fw_dnld.name, error); in fw_dnld_over() 402 nfc_send_to_raw_sock(priv->ndev->nfc_dev, skb, in fw_dnld_rx_work() 449 dev_name(&priv->ndev->nfc_dev->dev)); in nfcmrvl_fw_dnld_init() 503 &ndev->nfc_dev->dev); in nfcmrvl_fw_dnld_start()
|
A D | main.c | 187 if (priv->ndev->nfc_dev->fw_download_in_progress) in nfcmrvl_nci_unregister_dev() 214 if (priv->ndev->nfc_dev->fw_download_in_progress) { in nfcmrvl_nci_recv_frame()
|
/linux-6.3-rc2/drivers/nfc/s3fwrn5/ |
A D | core.c | 33 dev_err(&fw_info->ndev->nfc_dev->dev, in s3fwrn5_firmware_init() 57 dev_info(&info->ndev->nfc_dev->dev, "Detected new firmware version\n"); in s3fwrn5_firmware_update()
|
/linux-6.3-rc2/drivers/nfc/nxp-nci/ |
A D | core.c | 99 nfc_err(&ndev->nfc_dev->dev, in nxp_nci_rf_pll_unlocked_ntf() 108 nfc_err(&ndev->nfc_dev->dev, in nxp_nci_rf_txldo_error_ntf()
|