Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nfc/pn533/
Dpn533.h123 struct pn533 { struct
173 typedef int (*pn533_send_async_complete_t) (struct pn533 *dev, void *arg, argument
194 bool (*rx_is_frame_valid)(void *frame, struct pn533 *dev);
206 int (*send_frame)(struct pn533 *priv,
208 int (*send_ack)(struct pn533 *dev, gfp_t flags);
209 void (*abort_cmd)(struct pn533 *priv, gfp_t flags);
213 struct pn533 *pn533_register_device(u32 device_type,
222 int pn533_finalize_setup(struct pn533 *dev);
223 void pn533_unregister_device(struct pn533 *priv);
224 void pn533_recv_frame(struct pn533 *dev, struct sk_buff *skb, int status);
[all …]
Dpn533.c251 static bool pn533_std_rx_frame_is_valid(void *_frame, struct pn533 *dev) in pn533_std_rx_frame_is_valid()
331 bool pn533_rx_frame_is_cmd_response(struct pn533 *dev, void *frame) in pn533_rx_frame_is_cmd_response()
355 static void pn533_build_cmd_frame(struct pn533 *dev, u8 cmd_code, in pn533_build_cmd_frame()
371 static int pn533_send_async_complete(struct pn533 *dev) in pn533_send_async_complete()
411 static int __pn533_send_async(struct pn533 *dev, u8 cmd_code, in __pn533_send_async()
461 static int pn533_send_data_async(struct pn533 *dev, u8 cmd_code, in pn533_send_data_async()
474 static int pn533_send_cmd_async(struct pn533 *dev, u8 cmd_code, in pn533_send_cmd_async()
495 static int pn533_send_cmd_direct_async(struct pn533 *dev, u8 cmd_code, in pn533_send_cmd_direct_async()
526 struct pn533 *dev = container_of(work, struct pn533, cmd_complete_work); in pn533_wq_cmd_complete()
536 struct pn533 *dev = container_of(work, struct pn533, cmd_work); in pn533_wq_cmd()
[all …]
Di2c.c27 struct pn533 *priv;
37 static int pn533_i2c_send_ack(struct pn533 *dev, gfp_t flags) in pn533_i2c_send_ack()
50 static int pn533_i2c_send_frame(struct pn533 *dev, in pn533_i2c_send_frame()
85 static void pn533_i2c_abort_cmd(struct pn533 *dev, gfp_t flags) in pn533_i2c_abort_cmd()
177 struct pn533 *priv; in pn533_i2c_probe()
Dusb.c56 struct pn533 *priv;
87 struct pn533 *priv = phy->priv; in pn533_recv_ack()
139 static int pn533_usb_send_ack(struct pn533 *dev, gfp_t flags) in pn533_usb_send_ack()
156 static int pn533_usb_send_frame(struct pn533 *dev, in pn533_usb_send_frame()
194 static void pn533_usb_abort_cmd(struct pn533 *dev, gfp_t flags) in pn533_usb_abort_cmd()
301 static bool pn533_acr122_is_rx_frame_valid(void *_frame, struct pn533 *dev) in pn533_acr122_is_rx_frame_valid()
445 struct pn533 *priv; in pn533_usb_probe()
DKconfig13 This module adds support for the NXP pn533 USB interface.
24 This module adds support for the NXP pn533 I2C interface.
DMakefile8 obj-$(CONFIG_NFC_PN533) += pn533.o
/Linux-v5.4/drivers/nfc/
DMakefile9 obj-$(CONFIG_NFC_PN533) += pn533/
DKconfig54 source "drivers/nfc/pn533/Kconfig"
/Linux-v5.4/Documentation/devicetree/bindings/net/nfc/
Dpn533-i2c.txt4 - compatible: Should be "nxp,pn532-i2c" or "nxp,pn533-i2c".