Home
last modified time | relevance | path

Searched full:hci (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dcore.c19 #include "hci.h"
29 #define HCI_VERSION 0x00 /* HCI Version (in BCD) */
120 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_bus_init() local
126 if (hci->cmd == &mipi_i3c_hci_cmd_v1) { in i3c_hci_bus_init()
127 ret = mipi_i3c_hci_dat_v1.init(hci); in i3c_hci_bus_init()
143 ret = hci->io->init(hci); in i3c_hci_bus_init()
148 if (hci->quirks & HCI_QUIRK_RESP_BUF_THLD) in i3c_hci_bus_init()
149 amd_set_resp_buf_thld(hci); in i3c_hci_bus_init()
159 struct i3c_hci *hci in i3c_hci_bus_cleanup() local
171 mipi_i3c_hci_resume(struct i3c_hci * hci) mipi_i3c_hci_resume() argument
177 mipi_i3c_hci_pio_reset(struct i3c_hci * hci) mipi_i3c_hci_pio_reset() argument
183 mipi_i3c_hci_dct_index_reset(struct i3c_hci * hci) mipi_i3c_hci_dct_index_reset() argument
191 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_send_ccc_cmd() local
268 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_daa() local
275 i3c_hci_alloc_safe_xfer_buf(struct i3c_hci * hci,struct hci_xfer * xfer) i3c_hci_alloc_safe_xfer_buf() argument
291 i3c_hci_free_safe_xfer_buf(struct i3c_hci * hci,struct hci_xfer * xfer) i3c_hci_free_safe_xfer_buf() argument
308 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_priv_xfers() local
373 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_i2c_xfers() local
422 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_attach_i3c_dev() local
448 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_reattach_i3c_dev() local
462 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_detach_i3c_dev() local
476 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_attach_i2c_dev() local
502 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_detach_i2c_dev() local
519 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_request_ibi() local
533 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_free_ibi() local
541 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_enable_ibi() local
551 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_disable_ibi() local
562 struct i3c_hci *hci = to_i3c_hci(m); i3c_hci_recycle_ibi_slot() local
588 struct i3c_hci *hci = dev_id; i3c_hci_irq_handler() local
619 i3c_hci_init(struct i3c_hci * hci) i3c_hci_init() argument
796 struct i3c_hci *hci; i3c_hci_probe() local
832 struct i3c_hci *hci = platform_get_drvdata(pdev); i3c_hci_remove() local
[all...]
H A Dext_caps.c15 #include "hci.h"
24 static int hci_extcap_hardware_id(struct i3c_hci *hci, void __iomem *base) in hci_extcap_hardware_id() argument
26 hci->vendor_mipi_id = readl(base + 0x04); in hci_extcap_hardware_id()
27 hci->vendor_version_id = readl(base + 0x08); in hci_extcap_hardware_id()
28 hci->vendor_product_id = readl(base + 0x0c); in hci_extcap_hardware_id()
30 dev_info(&hci->master.dev, "vendor MIPI ID: %#x\n", hci->vendor_mipi_id); in hci_extcap_hardware_id()
31 dev_info(&hci->master.dev, "vendor version ID: %#x\n", hci->vendor_version_id); in hci_extcap_hardware_id()
32 dev_info(&hci in hci_extcap_hardware_id()
45 hci_extcap_master_config(struct i3c_hci * hci,void __iomem * base) hci_extcap_master_config() argument
59 hci_extcap_multi_bus(struct i3c_hci * hci,void __iomem * base) hci_extcap_multi_bus() argument
68 hci_extcap_xfer_modes(struct i3c_hci * hci,void __iomem * base) hci_extcap_xfer_modes() argument
88 hci_extcap_xfer_rates(struct i3c_hci * hci,void __iomem * base) hci_extcap_xfer_rates() argument
116 hci_extcap_auto_command(struct i3c_hci * hci,void __iomem * base) hci_extcap_auto_command() argument
130 hci_extcap_debug(struct i3c_hci * hci,void __iomem * base) hci_extcap_debug() argument
137 hci_extcap_scheduled_cmd(struct i3c_hci * hci,void __iomem * base) hci_extcap_scheduled_cmd() argument
144 hci_extcap_non_curr_master(struct i3c_hci * hci,void __iomem * base) hci_extcap_non_curr_master() argument
151 hci_extcap_ccc_resp_conf(struct i3c_hci * hci,void __iomem * base) hci_extcap_ccc_resp_conf() argument
157 hci_extcap_global_DAT(struct i3c_hci * hci,void __iomem * base) hci_extcap_global_DAT() argument
163 hci_extcap_multilane(struct i3c_hci * hci,void __iomem * base) hci_extcap_multilane() argument
169 hci_extcap_ncm_multilane(struct i3c_hci * hci,void __iomem * base) hci_extcap_ncm_multilane() argument
201 hci_extcap_vendor_NXP(struct i3c_hci * hci,void __iomem * base) hci_extcap_vendor_NXP() argument
226 hci_extcap_vendor_specific(struct i3c_hci * hci,void __iomem * base,u32 cap_id,u32 cap_length) hci_extcap_vendor_specific() argument
256 i3c_hci_parse_ext_caps(struct i3c_hci * hci) i3c_hci_parse_ext_caps() argument
[all...]
H A Ddat_v1.c15 #include "hci.h"
38 #define dat_w0_read(i) readl(hci->DAT_regs + (i) * 8)
39 #define dat_w1_read(i) readl(hci->DAT_regs + (i) * 8 + 4)
40 #define dat_w0_write(i, v) writel(v, hci->DAT_regs + (i) * 8)
41 #define dat_w1_write(i, v) writel(v, hci->DAT_regs + (i) * 8 + 4)
43 static int hci_dat_v1_init(struct i3c_hci *hci) in hci_dat_v1_init() argument
47 if (!hci->DAT_regs) { in hci_dat_v1_init()
48 dev_err(&hci->master.dev, in hci_dat_v1_init()
52 if (hci->DAT_entry_size != 8) { in hci_dat_v1_init()
53 dev_err(&hci in hci_dat_v1_init()
74 hci_dat_v1_cleanup(struct i3c_hci * hci) hci_dat_v1_cleanup() argument
80 hci_dat_v1_alloc_entry(struct i3c_hci * hci) hci_dat_v1_alloc_entry() argument
101 hci_dat_v1_free_entry(struct i3c_hci * hci,unsigned int dat_idx) hci_dat_v1_free_entry() argument
109 hci_dat_v1_set_dynamic_addr(struct i3c_hci * hci,unsigned int dat_idx,u8 address) hci_dat_v1_set_dynamic_addr() argument
121 hci_dat_v1_set_static_addr(struct i3c_hci * hci,unsigned int dat_idx,u8 address) hci_dat_v1_set_static_addr() argument
132 hci_dat_v1_set_flags(struct i3c_hci * hci,unsigned int dat_idx,u32 w0_flags,u32 w1_flags) hci_dat_v1_set_flags() argument
145 hci_dat_v1_clear_flags(struct i3c_hci * hci,unsigned int dat_idx,u32 w0_flags,u32 w1_flags) hci_dat_v1_clear_flags() argument
158 hci_dat_v1_get_index(struct i3c_hci * hci,u8 dev_addr) hci_dat_v1_get_index() argument
[all...]
H A Dpio.c14 #include "hci.h"
23 #define pio_reg_read(r) readl(hci->PIO_regs + (PIO_##r))
24 #define pio_reg_write(r, v) writel(v, hci->PIO_regs + (PIO_##r))
139 static int hci_pio_init(struct i3c_hci *hci) in hci_pio_init() argument
148 hci->io_data = pio; in hci_pio_init()
152 dev_info(&hci->master.dev, "CMD/RESP FIFO = %ld entries\n", in hci_pio_init()
154 dev_info(&hci->master.dev, "IBI FIFO = %ld bytes\n", in hci_pio_init()
156 dev_info(&hci->master.dev, "RX data FIFO = %d bytes\n", in hci_pio_init()
158 dev_info(&hci->master.dev, "TX data FIFO = %d bytes\n", in hci_pio_init()
168 if (hci in hci_pio_init()
209 hci_pio_cleanup(struct i3c_hci * hci) hci_pio_cleanup() argument
227 hci_pio_write_cmd(struct i3c_hci * hci,struct hci_xfer * xfer) hci_pio_write_cmd() argument
241 hci_pio_do_rx(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_do_rx() argument
266 hci_pio_do_trailing_rx(struct i3c_hci * hci,struct hci_pio_data * pio,unsigned int count) hci_pio_do_trailing_rx() argument
307 hci_pio_do_tx(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_do_tx() argument
347 hci_pio_process_rx(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_process_rx() argument
354 hci_pio_process_tx(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_process_tx() argument
361 hci_pio_queue_data(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_queue_data() argument
394 hci_pio_push_to_next_rx(struct i3c_hci * hci,struct hci_xfer * xfer,unsigned int words_to_keep) hci_pio_push_to_next_rx() argument
476 hci_pio_process_resp(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_process_resp() argument
542 hci_pio_queue_resp(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_queue_resp() argument
561 hci_pio_process_cmd(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_process_cmd() argument
588 hci_pio_queue_xfer(struct i3c_hci * hci,struct hci_xfer * xfer,int n) hci_pio_queue_xfer() argument
621 hci_pio_dequeue_xfer_common(struct i3c_hci * hci,struct hci_pio_data * pio,struct hci_xfer * xfer,int n) hci_pio_dequeue_xfer_common() argument
683 hci_pio_dequeue_xfer(struct i3c_hci * hci,struct hci_xfer * xfer,int n) hci_pio_dequeue_xfer() argument
699 hci_pio_err(struct i3c_hci * hci,struct hci_pio_data * pio,u32 status) hci_pio_err() argument
740 hci_pio_set_ibi_thresh(struct i3c_hci * hci,struct hci_pio_data * pio,unsigned int thresh_val) hci_pio_set_ibi_thresh() argument
756 hci_pio_get_ibi_segment(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_get_ibi_segment() argument
806 hci_pio_prep_new_ibi(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_prep_new_ibi() argument
861 hci_pio_free_ibi_slot(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_free_ibi_slot() argument
873 hci_pio_process_ibi(struct i3c_hci * hci,struct hci_pio_data * pio) hci_pio_process_ibi() argument
941 hci_pio_request_ibi(struct i3c_hci * hci,struct i3c_dev_desc * dev,const struct i3c_ibi_setup * req) hci_pio_request_ibi() argument
962 hci_pio_free_ibi(struct i3c_hci * hci,struct i3c_dev_desc * dev) hci_pio_free_ibi() argument
972 hci_pio_recycle_ibi_slot(struct i3c_hci * hci,struct i3c_dev_desc * dev,struct i3c_ibi_slot * slot) hci_pio_recycle_ibi_slot() argument
982 hci_pio_irq_handler(struct i3c_hci * hci) hci_pio_irq_handler() argument
[all...]
H A Ddma.c7 * Note: The I3C HCI v2.0 spec is still in flux. The IBI support is based on
18 #include "hci.h"
40 #define rhs_reg_read(r) readl(hci->RHS_regs + (RHS_##r))
41 #define rhs_reg_write(r, v) writel(v, hci->RHS_regs + (RHS_##r))
150 static void hci_dma_cleanup(struct i3c_hci *hci) in hci_dma_cleanup() argument
152 struct hci_rings_data *rings = hci->io_data; in hci_dma_cleanup()
168 dma_free_coherent(&hci->master.dev, in hci_dma_cleanup()
172 dma_free_coherent(&hci->master.dev, in hci_dma_cleanup()
177 dma_free_coherent(&hci->master.dev, in hci_dma_cleanup()
181 dma_unmap_single(&hci in hci_dma_cleanup()
193 hci_dma_init(struct i3c_hci * hci) hci_dma_init() argument
342 hci_dma_unmap_xfer(struct i3c_hci * hci,struct hci_xfer * xfer_list,unsigned int n) hci_dma_unmap_xfer() argument
358 hci_dma_queue_xfer(struct i3c_hci * hci,struct hci_xfer * xfer_list,int n) hci_dma_queue_xfer() argument
445 hci_dma_dequeue_xfer(struct i3c_hci * hci,struct hci_xfer * xfer_list,int n) hci_dma_dequeue_xfer() argument
500 hci_dma_xfer_done(struct i3c_hci * hci,struct hci_rh_data * rh) hci_dma_xfer_done() argument
546 hci_dma_request_ibi(struct i3c_hci * hci,struct i3c_dev_desc * dev,const struct i3c_ibi_setup * req) hci_dma_request_ibi() argument
567 hci_dma_free_ibi(struct i3c_hci * hci,struct i3c_dev_desc * dev) hci_dma_free_ibi() argument
577 hci_dma_recycle_ibi_slot(struct i3c_hci * hci,struct i3c_dev_desc * dev,struct i3c_ibi_slot * slot) hci_dma_recycle_ibi_slot() argument
587 hci_dma_process_ibi(struct i3c_hci * hci,struct hci_rh_data * rh) hci_dma_process_ibi() argument
736 hci_dma_irq_handler(struct i3c_hci * hci) hci_dma_irq_handler() argument
[all...]
H A Dhci.h7 * Common HCI stuff
30 #define reg_read(r) readl(hci->base_regs + (r))
31 #define reg_write(r, v) writel(v, hci->base_regs + (r))
72 * hci->cmd->*() method. The cmd method will initialize cmd_desc[] and
76 * hci->io->queue_xfer(), and requires CMD_0_ROC to be set.
118 bool (*irq_handler)(struct i3c_hci *hci);
119 int (*queue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n);
120 bool (*dequeue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n);
121 int (*request_ibi)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
123 void (*free_ibi)(struct i3c_hci *hci, struc
[all...]
H A Dcmd_v2.c7 * I3C HCI v2.0 Command Descriptor Handling
9 * Note: The I3C HCI v2.0 spec is still in flux. The code here will change.
15 #include "hci.h"
66 static unsigned int get_i3c_rate_idx(struct i3c_hci *hci) in get_i3c_rate_idx() argument
68 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i3c_rate_idx()
83 static unsigned int get_i2c_rate_idx(struct i3c_hci *hci) in get_i2c_rate_idx() argument
85 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i2c_rate_idx()
92 static void hci_cmd_v2_prep_private_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_private_xfer() argument
151 static int hci_cmd_v2_prep_ccc(struct i3c_hci *hci, struct hci_xfer *xfer, in hci_cmd_v2_prep_ccc() argument
155 unsigned int rate = get_i3c_rate_idx(hci); in hci_cmd_v2_prep_ccc()
217 hci_cmd_v2_prep_i3c_xfer(struct i3c_hci * hci,struct i3c_dev_desc * dev,struct hci_xfer * xfer) hci_cmd_v2_prep_i3c_xfer() argument
228 hci_cmd_v2_prep_i2c_xfer(struct i3c_hci * hci,struct i2c_dev_desc * dev,struct hci_xfer * xfer) hci_cmd_v2_prep_i2c_xfer() argument
239 hci_cmd_v2_daa(struct i3c_hci * hci) hci_cmd_v2_daa() argument
[all...]
H A Dcmd_v1.c7 * I3C HCI v1.0/v1.1 Command Descriptor Handling
13 #include "hci.h"
122 static enum hci_cmd_mode get_i3c_mode(struct i3c_hci *hci) in get_i3c_mode() argument
124 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i3c_mode()
137 static enum hci_cmd_mode get_i2c_mode(struct i3c_hci *hci) in get_i2c_mode() argument
139 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i2c_mode()
170 static int hci_cmd_v1_prep_ccc(struct i3c_hci *hci, in hci_cmd_v1_prep_ccc() argument
175 enum hci_cmd_mode mode = get_i3c_mode(hci); in hci_cmd_v1_prep_ccc()
186 ret = mipi_i3c_hci_dat_v1.get_index(hci, ccc_addr); in hci_cmd_v1_prep_ccc()
220 static void hci_cmd_v1_prep_i3c_xfer(struct i3c_hci *hci, in hci_cmd_v1_prep_i3c_xfer() argument
255 hci_cmd_v1_prep_i2c_xfer(struct i3c_hci * hci,struct i2c_dev_desc * dev,struct hci_xfer * xfer) hci_cmd_v1_prep_i2c_xfer() argument
290 hci_cmd_v1_daa(struct i3c_hci * hci) hci_cmd_v1_daa() argument
[all...]
H A Ddat.h19 int (*init)(struct i3c_hci *hci);
20 void (*cleanup)(struct i3c_hci *hci);
21 int (*alloc_entry)(struct i3c_hci *hci);
22 void (*free_entry)(struct i3c_hci *hci, unsigned int dat_idx);
23 void (*set_dynamic_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
24 void (*set_static_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
25 void (*set_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
26 void (*clear_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
27 int (*get_index)(struct i3c_hci *hci, u8 address);
H A Dcmd.h50 (atomic_inc_return_relaxed(&hci->next_cmd_tid) % (1U << 4))
54 int (*prep_ccc)(struct i3c_hci *hci, struct hci_xfer *xfer,
56 void (*prep_i3c_xfer)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
58 void (*prep_i2c_xfer)(struct i3c_hci *hci, struct i2c_dev_desc *dev,
60 int (*perform_daa)(struct i3c_hci *hci);
H A Dhci_quirks.c3 * I3C HCI Quirks
12 #include "hci.h"
25 void amd_set_od_pp_timing(struct i3c_hci *hci) in amd_set_od_pp_timing() argument
37 void amd_set_resp_buf_thld(struct i3c_hci *hci) in amd_set_resp_buf_thld() argument
H A DMakefile3 obj-$(CONFIG_MIPI_I3C_HCI) += mipi-i3c-hci.o
4 mipi-i3c-hci-y := core.o ext_caps.o pio.o dma.o \
8 obj-$(CONFIG_MIPI_I3C_HCI_PCI) += mipi-i3c-hci-pci.o
H A Ddct_v1.c13 #include "hci.h"
20 void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx, in i3c_hci_dct_get_val() argument
23 void __iomem *reg = hci->DCT_regs + dct_idx * 4 * 4; in i3c_hci_dct_get_val()
/linux/drivers/bluetooth/
H A DKconfig27 tristate "HCI USB driver"
31 Bluetooth HCI USB driver.
94 tristate "HCI SDIO driver"
97 Bluetooth HCI SDIO driver.
105 tristate "HCI UART driver"
111 Bluetooth HCI UART driver.
133 Say Y here to compile support for HCI UART (H4) protocol.
160 Say Y here to compile support for HCI BCSP protocol.
167 HCIATH3K (HCI Atheros AR300x) is a serial protocol for
173 Say Y here to compile support for HCI UAR
[all...]
H A Dhci_serdev.c3 * Bluetooth HCI serdev driver lib
28 /* Update HCI stat counters */ in hci_uart_tx_complete()
91 /* ------- Interface to HCI layer ------ */
163 /* Send frames from HCI layer */
237 /* HCI UART devices are assumed to be wakeable by default. in hci_uart_wakeup()
328 /* Initialize and register HCI device */ in hci_uart_register_device_priv()
331 BT_ERR("Can't allocate HCI device"); in hci_uart_register_device_priv()
373 BT_ERR("Can't register HCI device"); in hci_uart_register_device_priv()
/linux/Documentation/driver-api/nfc/
H A Dnfc-hci.rst2 HCI backend for NFC Core
11 The HCI layer implements much of the ETSI TS 102 622 V10.2.0 specification. It
12 enables easy writing of HCI-based NFC drivers. The HCI layer runs as an NFC Core
14 to HCI commands and events.
16 HCI chapter
19 HCI registers as an nfc device with NFC Core. Requests coming from userspace are
20 routed through netlink sockets to NFC Core and then to HCI. From this point,
21 they are translated in a sequence of HCI commands sent to the HCI laye
[all...]
H A Dnfc-pn544.rst18 In the normal (HCI) mode and in the firmware update mode read and
22 In the normal (HCI) mode the protocol used is derived from the ETSI
23 HCI specification. The firmware is updated using a specific protocol,
24 which is different from HCI.
26 HCI messages consist of an eight bit header and the message body. The
27 header contains the message length. Maximum size for an HCI message is
28 33. In HCI mode sent messages are tested for a correct
33 For the ETSI HCI specification see
/linux/drivers/net/wireless/realtek/rtw88/
H A Dhci.h40 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
45 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off()
50 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup()
55 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start()
60 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop()
65 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps()
70 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps()
75 rtwdev->hci.ops->interface_cfg(rtwdev); in rtw_hci_interface_cfg()
80 if (rtwdev->hci.ops->dynamic_rx_agg) in rtw_hci_dynamic_rx_agg()
81 rtwdev->hci in rtw_hci_dynamic_rx_agg()
[all...]
H A Dsdio.h81 /* HCI Current Power Mode */
89 /* HCI Current Power Mode 1 */
91 /* HCI Current Power Mode 2 */
100 /* HCI Request Power Mode 1 */
102 /* HCI Request Power Mode 2 */
104 /* HCI Power Save Clock */
106 /* SDIO HCI Suspend Control */
/linux/Documentation/devicetree/bindings/i3c/
H A Dmipi-i3c-hci.yaml4 $id: http://devicetree.org/schemas/i3c/mipi-i3c-hci.yaml#
7 title: MIPI I3C HCI
18 The MIPI I3C HCI (Host Controller Interface) specification defines
27 https://www.mipi.org/specifications/i3c-hci
31 const: mipi-i3c-hci
47 compatible = "mipi-i3c-hci";
/linux/net/nfc/hci/
H A DKconfig4 tristate "NFC HCI implementation"
7 Say Y here if you want to build support for a kernel NFC HCI
9 HCI frames, like for example the NXP pn544.
14 bool "SHDLC link layer for HCI based NFC drivers"
17 Say yes if you use an NFC HCI driver that requires SHDLC link layer.
H A DMakefile3 # Makefile for the Linux NFC HCI layer.
6 obj-$(CONFIG_NFC_HCI) += hci.o
8 hci-y := core.o hcp.o command.o llc.o llc_nop.o
9 hci-$(CONFIG_NFC_SHDLC) += llc_shdlc.o
H A Dcommand.c6 #define pr_fmt(fmt) "hci: %s: " fmt, __func__
13 #include <net/nfc/hci.h>
15 #include "hci.h"
26 /* TODO: Define hci cmd execution delay. Should it be the same in nfc_hci_execute_cmd_async()
34 * HCI command execution completion callback.
35 * err will be a standard linux error (may be converted from HCI response)
43 pr_debug("HCI Cmd completed with result=%d\n", err); in nfc_hci_execute_cb()
68 /* TODO: Define hci cmd execution delay. Should it be the same in nfc_hci_execute_cmd()
108 * Execute an hci command sent to gate.
249 * and fill param with it. HCI spe in nfc_hci_clear_all_pipes()
[all...]
/linux/drivers/nfc/st21nfca/
H A Dst21nfca.h9 #include <net/nfc/hci.h>
15 /* framing in HCI mode */
53 #define DRIVER_DESC "HCI NFC driver for ST21NFCA"
76 * @HCI_CLEAR_ALL_PIPES: Allow to execute a HCI clear all pipes command.
89 * @HCI_GET_PARAM: Allow to retrieve an HCI CLF parameter (for example the
/linux/net/bluetooth/
H A DKconfig28 HCI device and connection manager, scheduler
33 HCI Device drivers (Interface to the hardware)
103 This options enables support for the Microsoft defined HCI
111 Project defined HCI vendor extensions.

123456789