Home
last modified time | relevance | path

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

123456

/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 layer in the
24 from HCI Rx context).
25 HCI events can also be received from the host controller. They will be handled
[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/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 spec 6.1.3.5 */ in nfc_hci_clear_all_pipes()
H A Dhcp.c6 #define pr_fmt(fmt) "hci: %s: " fmt, __func__
12 #include <net/nfc/hci.h>
14 #include "hci.h"
/linux/drivers/i3c/master/mipi-i3c-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 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/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 DKconfig24 HCI device and connection manager, scheduler
29 HCI Device drivers (Interface to the hardware)
96 This options enables support for the Microsoft defined HCI
104 Project defined HCI vendor extensions.
H A Dhci_core.c23 /* Bluetooth HCI core. */
51 /* HCI device list */
55 /* HCI callback list */
59 /* HCI ID Numbering */
62 /* Get HCI device by index.
437 /* ---- HCI ioctl helpers ---- */
849 /* ---- Interface to HCI drivers ---- */
931 /* During the HCI setup phase, a few error conditions are in hci_power_on()
1400 /* Convert to HCI addr type which struct smp_ltk uses */ in hci_bdaddr_is_paired()
1424 /* HCI comman
[all...]
H A Dhci_sync.c94 * queueing the HCI command. We can simply return. in hci_cmd_sync_add()
108 bt_cb(skb)->hci.req_flags |= HCI_REQ_START; in hci_cmd_sync_add()
123 /* If an error occurred during request building, remove all HCI in hci_req_sync_run()
124 * commands queued on the HCI request queue. in hci_req_sync_run()
136 bt_cb(skb)->hci.req_complete_skb = hci_cmd_sync_complete; in hci_req_sync_run()
137 bt_cb(skb)->hci.req_flags |= HCI_REQ_SKB; in hci_req_sync_run()
227 /* Send HCI command and wait for command complete event */
704 /* Submit HCI command to be run in as cmd_sync_work:
741 /* Queue HCI command:
780 /* Queue HCI comman
[all...]
/linux/drivers/nfc/pn544/
H A Dpn544.h9 #include <net/nfc/hci.h>
11 #define DRIVER_DESC "HCI NFC driver for PN544"
H A Dmei.c5 * HCI based Driver for NXP pn544 NFC Chip
10 #include <net/nfc/hci.h>
/linux/Documentation/devicetree/bindings/net/nfc/
H A Dmarvell,nci.yaml19 hci-muxed:
22 Specifies that the chip is muxing NCI over HCI frames
167 hci-muxed;
/linux/include/net/bluetooth/
H A Dhci.h37 /* HCI dev events */
48 /* HCI notify events */
56 /* HCI bus types */
70 /* HCI device quirks */
72 /* When this quirk is set, the HCI Reset command is send when
87 * HCI Read Buffer Size command are corrected if invalid.
105 /* When this quirk is set, then the HCI Read Local Supported
117 * HCI Delete Stored Link Key command is advertised, but
134 * initially reported by HCI Read BD Address command
144 * initially reported by HCI Read BD Address command
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid2 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
13 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
/linux/drivers/net/wireless/realtek/rtw88/
H A Dps.c74 request = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_power_mode_change()
75 confirm = rtw_read8(rtwdev, rtwdev->hci.cpwm_addr); in rtw_power_mode_change()
90 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, request); in rtw_power_mode_change()
96 rtwdev->hci.cpwm_addr); in rtw_power_mode_change()
/linux/drivers/bluetooth/
H A Dhci_ath.c5 * HCIATH3K (HCI Atheros AR300x Protocol) is a Atheros Communication's
221 * HCI sleep enable vendor specific HCI command. in ath_enqueue()
H A Dbtrsi.c114 BT_ERR("Failed to alloc HCI device"); in rsi_hci_attach()
133 BT_ERR("HCI registration failed with errcode %d", err); in rsi_hci_attach()
H A Dhci_ag6xx.c4 * Bluetooth HCI UART driver for Intel/AG6xx devices
124 /* Can write a maximum of 247 bytes per HCI command. in intel_mem_write()
125 * HCI cmd Header (3), Intel mem write header (6), data (247). in intel_mem_write()
/linux/include/net/nfc/
H A Dhci.h91 * adaptation of the HCI standard.
153 /* hci device allocation */
256 /* connecting to gates and sending hci instructions */
/linux/Documentation/admin-guide/
H A Dbtmrvl.rst95 Issuing a raw hci command
98 Use hcitool to issue raw hci command, refer to hcitool manual
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcore.h4850 * by hci instance, and handle things which need to consider under SER.
7572 struct rtw89_hci_info hci; member
7696 /* HCI related data, keep last */
7904 return rtwdev->hci.ops->tx_write(rtwdev, tx_req); in rtw89_hci_tx_write()
7909 rtwdev->hci.ops->reset(rtwdev); in rtw89_hci_reset()
7910 /* hci.ops->reset must complete all pending TX wait SKBs */ in rtw89_hci_reset()
7916 return rtwdev->hci.ops->start(rtwdev); in rtw89_hci_start()
7921 rtwdev->hci.ops->stop(rtwdev); in rtw89_hci_stop()
7926 return rtwdev->hci.ops->deinit(rtwdev); in rtw89_hci_deinit()
7931 rtwdev->hci.ops->pause(rtwdev, pause); in rtw89_hci_pause()
[all …]
/linux/drivers/nfc/st-nci/
H A Dst-nci.h67 * @HCI_CLEAR_ALL_PIPES: Allow to execute a HCI clear all pipes command.
80 * @HCI_GET_PARAM: Allow to retrieve an HCI CLF parameter (for example the

123456