Home
last modified time | relevance | path

Searched refs:nfc_digital_dev (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/net/nfc/
Ddigital.h75 struct nfc_digital_dev;
87 typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev,
147 int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type,
149 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
153 int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type,
155 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
160 int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev,
164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
166 int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech);
[all …]
/linux-6.1.9/net/nfc/
Ddigital.h45 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev,
48 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type,
53 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param);
54 static inline int digital_in_send_cmd(struct nfc_digital_dev *ddev, in digital_in_send_cmd()
63 void digital_poll_next_tech(struct nfc_digital_dev *ddev);
65 int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech);
66 int digital_in_send_sensb_req(struct nfc_digital_dev *ddev, u8 rf_tech);
67 int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech);
68 int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech);
70 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev,
[all …]
Ddigital_core.c42 struct sk_buff *digital_skb_alloc(struct nfc_digital_dev *ddev, in digital_skb_alloc()
100 static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on) in digital_switch_rf()
105 static inline void digital_abort_cmd(struct nfc_digital_dev *ddev) in digital_abort_cmd()
113 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd_complete()
114 struct nfc_digital_dev, in digital_wq_cmd_complete()
142 static void digital_send_cmd_complete(struct nfc_digital_dev *ddev, in digital_send_cmd_complete()
157 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd()
158 struct nfc_digital_dev, in digital_wq_cmd()
227 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, in digital_send_cmd()
255 int digital_in_configure_hw(struct nfc_digital_dev *ddev, int type, int param) in digital_in_configure_hw()
[all …]
Ddigital_technology.c164 static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
167 int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_pull_sod()
195 int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev, in digital_in_iso_dep_push_sod()
215 static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_ats()
251 static int digital_in_send_rats(struct nfc_digital_dev *ddev, in digital_in_send_rats()
272 static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sel_res()
341 static int digital_in_send_sel_req(struct nfc_digital_dev *ddev, in digital_in_send_sel_req()
387 static void digital_in_recv_sdd_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sdd_res()
442 static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev, in digital_in_send_sdd_req()
476 static void digital_in_recv_sens_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sens_res()
[all …]
Ddigital_dep.c106 static void digital_in_recv_dep_res(struct nfc_digital_dev *ddev, void *arg,
108 static void digital_tg_recv_dep_req(struct nfc_digital_dev *ddev, void *arg,
168 static void digital_skb_push_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_push_dep_sod()
179 static int digital_skb_pull_dep_sod(struct nfc_digital_dev *ddev, in digital_skb_pull_dep_sod()
200 digital_send_dep_data_prep(struct nfc_digital_dev *ddev, struct sk_buff *skb, in digital_send_dep_data_prep()
231 digital_recv_dep_data_gather(struct nfc_digital_dev *ddev, u8 pfb, in digital_recv_dep_data_gather()
233 int (*send_ack)(struct nfc_digital_dev *ddev, in digital_recv_dep_data_gather()
295 static void digital_in_recv_psl_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_psl_res()
359 static int digital_in_send_psl_req(struct nfc_digital_dev *ddev, in digital_in_send_psl_req()
399 static void digital_in_recv_atr_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_atr_res()
[all …]
/linux-6.1.9/drivers/nfc/
Dnfcsim.c16 #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, \
32 struct nfc_digital_dev *nfc_digital_dev; member
198 dev->cb(dev->nfc_digital_dev, dev->arg, skb); in nfcsim_recv_wq()
201 static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb, in nfcsim_send()
240 static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev) in nfcsim_abort_cmd()
247 static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on) in nfcsim_switch_rf()
256 static int nfcsim_in_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_in_configure_hw()
279 static int nfcsim_in_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_in_send_cmd()
286 static int nfcsim_tg_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_tg_configure_hw()
[all …]
Dport100.c440 struct nfc_digital_dev *nfc_digital_dev; member
955 static void port100_abort_cmd(struct nfc_digital_dev *ddev) in port100_abort_cmd()
1047 static int port100_switch_rf(struct nfc_digital_dev *ddev, bool on) in port100_switch_rf()
1072 static int port100_in_set_rf(struct nfc_digital_dev *ddev, u8 rf) in port100_in_set_rf()
1101 static int port100_in_set_framing(struct nfc_digital_dev *ddev, int param) in port100_in_set_framing()
1143 static int port100_in_configure_hw(struct nfc_digital_dev *ddev, int type, in port100_in_configure_hw()
1201 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_in_comm_rf_complete()
1206 static int port100_in_send_cmd(struct nfc_digital_dev *ddev, in port100_in_send_cmd()
1229 static int port100_tg_set_rf(struct nfc_digital_dev *ddev, u8 rf) in port100_tg_set_rf()
1258 static int port100_tg_set_framing(struct nfc_digital_dev *ddev, int param) in port100_tg_set_framing()
[all …]
Dtrf7970a.c428 struct nfc_digital_dev *ddev;
1123 static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on) in trf7970a_switch_rf()
1338 static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_in_configure_hw()
1459 static int trf7970a_send_cmd(struct nfc_digital_dev *ddev, in trf7970a_send_cmd()
1681 static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_tg_configure_hw()
1717 static int _trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in _trf7970a_tg_listen()
1792 static int trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in trf7970a_tg_listen()
1803 static int trf7970a_tg_listen_md(struct nfc_digital_dev *ddev, in trf7970a_tg_listen_md()
1826 static int trf7970a_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech) in trf7970a_tg_get_rf_tech()
1838 static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev) in trf7970a_abort_cmd()
/linux-6.1.9/drivers/nfc/st95hf/
Dcore.c220 struct nfc_digital_dev *ddev;
536 struct nfc_digital_dev *nfcddev = st95context->ddev; in iso14443_config_fdt()
610 struct nfc_digital_dev *nfcddev = stcontext->ddev; in st95hf_handle_wtx()
701 struct nfc_digital_dev *nfcddev = stcontext->ddev; in st95hf_response_handler()
870 static int st95hf_in_configure_hw(struct nfc_digital_dev *ddev, in st95hf_in_configure_hw()
916 static int st95hf_in_send_cmd(struct nfc_digital_dev *ddev, in st95hf_in_send_cmd()
990 static int st95hf_tg_configure_hw(struct nfc_digital_dev *ddev, in st95hf_tg_configure_hw()
997 static int st95hf_tg_send_cmd(struct nfc_digital_dev *ddev, in st95hf_tg_send_cmd()
1006 static int st95hf_tg_listen(struct nfc_digital_dev *ddev, in st95hf_tg_listen()
1014 static int st95hf_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech) in st95hf_tg_get_rf_tech()
[all …]