/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | coredump.c | 51 static int hci_devcd_update_state(struct hci_dev *hdev, int state) in hci_devcd_update_state() 62 static int hci_devcd_mkheader(struct hci_dev *hdev, struct sk_buff *skb) in hci_devcd_mkheader() 81 static void hci_devcd_notify(struct hci_dev *hdev, int state) in hci_devcd_notify() 88 void hci_devcd_reset(struct hci_dev *hdev) in hci_devcd_reset() 101 static void hci_devcd_free(struct hci_dev *hdev) in hci_devcd_free() 109 static int hci_devcd_alloc(struct hci_dev *hdev, u32 size) in hci_devcd_alloc() 125 static bool hci_devcd_copy(struct hci_dev *hdev, char *buf, u32 size) in hci_devcd_copy() 137 static bool hci_devcd_memset(struct hci_dev *hdev, u8 pattern, u32 len) in hci_devcd_memset() 149 static int hci_devcd_prepare(struct hci_dev *hdev, u32 dump_size) in hci_devcd_prepare() 181 static void hci_devcd_handle_pkt_init(struct hci_dev *hde [all...] |
H A D | hci_core.c | 112 struct hci_dev *hci_dev_get(int index) in hci_dev_get() 114 struct hci_dev *hdev = NULL, *d; in hci_dev_get() 134 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active() 148 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state() 178 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush() 192 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup() 208 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown() 224 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve() 243 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve() 262 u32 hci_inquiry_cache_update(struct hci_dev *hde [all...] |
H A D | hci_request.c | 35 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init() 47 bool hci_req_status_pend(struct hci_dev *hdev) in hci_req_status_pend() 55 struct hci_dev *hdev = req->hdev; in req_run() 100 void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete() 115 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync() 191 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync() 212 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() 242 struct hci_dev *hdev = req->hdev; in hci_req_add_ev() 276 static void start_interleave_scan(struct hci_dev *hdev) in start_interleave_scan() 283 static bool is_interleave_scanning(struct hci_dev *hde [all...] |
H A D | msft.c | 137 bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() 142 static bool read_supported_features(struct hci_dev *hdev, in read_supported_features() 195 (struct hci_dev *hdev, u16 handle, bool is_mgmt) in msft_find_handle_data() 212 (struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr, in msft_find_address_data() 229 static int msft_monitor_device_del(struct hci_dev *hdev, __u16 mgmt_handle, in msft_monitor_device_del() 259 static int msft_le_monitor_advertisement_cb(struct hci_dev *hdev, u16 opcode, in msft_le_monitor_advertisement_cb() 304 static void msft_remove_addr_filters_sync(struct hci_dev *hdev, u8 handle) in msft_remove_addr_filters_sync() 367 static int msft_le_cancel_monitor_advertisement_cb(struct hci_dev *hdev, in msft_le_cancel_monitor_advertisement_cb() 424 static int msft_remove_monitor_sync(struct hci_dev *hdev, in msft_remove_monitor_sync() 450 int msft_suspend_sync(struct hci_dev *hde [all...] |
H A D | leds.h | 8 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled); 9 void hci_leds_init(struct hci_dev *hdev); 16 static inline void hci_leds_update_powered(struct hci_dev *hdev, in hci_leds_update_powered() 18 static inline void hci_leds_init(struct hci_dev *hdev) {} in hci_leds_init()
|
H A D | smp.h | 184 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, 191 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], 193 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa); 194 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]); 196 int smp_force_bredr(struct hci_dev *hdev, bool enable); 198 int smp_register(struct hci_dev *hdev); 199 void smp_unregister(struct hci_dev *hdev);
|
H A D | mgmt.c | 323 static int mgmt_index_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_index_event() 330 static int mgmt_limited_event(u16 event, struct hci_dev *hdev, void *data, in mgmt_limited_event() 337 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event() 366 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version() 379 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands() 431 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list() 435 struct hci_dev *d; in read_index_list() 491 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list() 495 struct hci_dev *d; in read_unconf_index_list() 551 static int read_ext_index_list(struct sock *sk, struct hci_dev *hde [all...] |
H A D | hci_event.c | 50 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_ev_skb_pull() 62 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_skb_pull() 74 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_le_ev_skb_pull() 86 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() 126 static u8 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_periodic_inq() 141 static u8 hci_cc_exit_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_exit_periodic_inq() 158 static u8 hci_cc_remote_name_req_cancel(struct hci_dev *hdev, void *data, in hci_cc_remote_name_req_cancel() 168 static u8 hci_cc_role_discovery(struct hci_dev *hdev, void *data, in hci_cc_role_discovery() 190 static u8 hci_cc_read_link_policy(struct hci_dev *hdev, void *data, in hci_cc_read_link_policy() 212 static u8 hci_cc_write_link_policy(struct hci_dev *hde [all...] |
H A D | hci_conn.c | 74 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() 143 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() 183 struct hci_dev *hdev = conn->hdev; in hci_acl_create_connection() 250 struct hci_dev *hdev = conn->hdev; in hci_disconnect() 263 struct hci_dev *hdev = conn->hdev; in hci_add_sco() 296 static int configure_datapath_sync(struct hci_dev *hdev, struct bt_codec *codec) in configure_datapath_sync() 335 static int hci_enhanced_setup_sync(struct hci_dev *hdev, void *data) in hci_enhanced_setup_sync() 461 struct hci_dev *hdev = conn->hdev; in hci_setup_sync_conn() 538 struct hci_dev *hdev = conn->hdev; in hci_le_conn_update() 574 struct hci_dev *hde in hci_le_start_enc() [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | btqca.h | 137 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 138 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, 141 int qca_read_soc_version(struct hci_dev *hdev, u32 *soc_version, 143 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 144 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev); 152 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 157 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() 164 static inline int qca_read_soc_version(struct hci_dev *hdev, u32 *soc_version, in qca_read_soc_version() 170 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() 180 static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hde [all...] |
H A D | btbcm.c | 37 static int btbcm_set_bdaddr_from_efi(struct hci_dev *hdev) in btbcm_set_bdaddr_from_efi() 67 static int btbcm_set_bdaddr_from_efi(struct hci_dev *hdev) in btbcm_set_bdaddr_from_efi() 73 int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 140 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr() 157 int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params() 185 int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params() 203 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw) in btbcm_patchram() 266 static int btbcm_reset(struct hci_dev *hdev) in btbcm_reset() 285 static struct sk_buff *btbcm_read_local_name(struct hci_dev *hdev) in btbcm_read_local_name() 306 static struct sk_buff *btbcm_read_local_version(struct hci_dev *hde [all...] |
H A D | btrsi.c | 31 struct hci_dev *hdev; 34 static int rsi_hci_open(struct hci_dev *hdev) in rsi_hci_open() 39 static int rsi_hci_close(struct hci_dev *hdev) in rsi_hci_close() 44 static int rsi_hci_flush(struct hci_dev *hdev) in rsi_hci_flush() 49 static int rsi_hci_send_pkt(struct hci_dev *hdev, struct sk_buff *skb) in rsi_hci_send_pkt() 93 struct hci_dev *hdev = h_adapter->hdev; in rsi_hci_recv_pkt() 113 struct hci_dev *hdev; in rsi_hci_attach() 161 struct hci_dev *hdev; in rsi_hci_detach()
|
H A D | btintel.c | 27 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 66 int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg() 83 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() 108 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr() 126 int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag() 159 int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable) in btintel_set_diag_mfg() 177 void btintel_hw_error(struct hci_dev *hdev, u8 code) in btintel_hw_error() 211 void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver) in btintel_version_info() 233 int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen, in btintel_secure_send() 258 int btintel_load_ddc_config(struct hci_dev *hde [all...] |
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btqca.h | 157 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 158 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, 161 int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver, 163 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 164 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev); 167 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 172 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() 180 static inline int qca_read_soc_version(struct hci_dev *hdev, in qca_read_soc_version() 187 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() 192 static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hde [all...] |
H A D | btintel.c | 41 struct hci_dev *hdev; 62 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 101 int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg() 118 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() 143 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr() 161 static int btintel_set_event_mask(struct hci_dev *hdev, bool debug) in btintel_set_event_mask() 181 int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag() 214 static int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable) in btintel_set_diag_mfg() 231 static int btintel_set_diag_combined(struct hci_dev *hdev, bool enable) in btintel_set_diag_combined() 248 static void btintel_hw_error(struct hci_dev *hde [all...] |
H A D | virtio_bt.c | 26 struct hci_dev *hdev; 51 static int virtbt_open(struct hci_dev *hdev) in virtbt_open() 65 static int virtbt_close(struct hci_dev *hdev) in virtbt_close() 88 static int virtbt_flush(struct hci_dev *hdev) in virtbt_flush() 93 static int virtbt_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in virtbt_send_frame() 113 static int virtbt_setup_zephyr(struct hci_dev *hdev) in virtbt_setup_zephyr() 130 static int virtbt_set_bdaddr_zephyr(struct hci_dev *hdev, in virtbt_set_bdaddr_zephyr() 144 static int virtbt_setup_intel(struct hci_dev *hdev) in virtbt_setup_intel() 157 static int virtbt_set_bdaddr_intel(struct hci_dev *hdev, const bdaddr_t *bdaddr) in virtbt_set_bdaddr_intel() 170 static int virtbt_setup_realtek(struct hci_dev *hde [all...] |
H A D | btrsi.c | 30 struct hci_dev *hdev; 33 static int rsi_hci_open(struct hci_dev *hdev) in rsi_hci_open() 38 static int rsi_hci_close(struct hci_dev *hdev) in rsi_hci_close() 43 static int rsi_hci_flush(struct hci_dev *hdev) in rsi_hci_flush() 48 static int rsi_hci_send_pkt(struct hci_dev *hdev, struct sk_buff *skb) in rsi_hci_send_pkt() 92 struct hci_dev *hdev = h_adapter->hdev; in rsi_hci_recv_pkt() 112 struct hci_dev *hdev; in rsi_hci_attach() 160 struct hci_dev *hdev; in rsi_hci_detach()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_request.c | 37 void hci_req_init(struct hci_request *req, struct hci_dev *hdev) in hci_req_init() 49 bool hci_req_status_pend(struct hci_dev *hdev) in hci_req_status_pend() 57 struct hci_dev *hdev = req->hdev; in req_run() 102 static void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_req_sync_complete() 118 void hci_req_sync_cancel(struct hci_dev *hdev, int err) in hci_req_sync_cancel() 129 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() 186 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() 194 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, in __hci_req_sync() 270 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, in hci_req_sync() 291 struct sk_buff *hci_prepare_cmd(struct hci_dev *hde [all...] |
H A D | hci_event.c | 47 static void hci_cc_inquiry_cancel(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_inquiry_cancel() 87 static void hci_cc_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_periodic_inq() 99 static void hci_cc_exit_periodic_inq(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_exit_periodic_inq() 113 static void hci_cc_remote_name_req_cancel(struct hci_dev *hdev, in hci_cc_remote_name_req_cancel() 119 static void hci_cc_role_discovery(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_role_discovery() 138 static void hci_cc_read_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_read_link_policy() 157 static void hci_cc_write_link_policy(struct hci_dev *hdev, struct sk_buff *skb) in hci_cc_write_link_policy() 181 static void hci_cc_read_def_link_policy(struct hci_dev *hdev, in hci_cc_read_def_link_policy() 194 static void hci_cc_write_def_link_policy(struct hci_dev *hdev, in hci_cc_write_def_link_policy() 212 static void hci_cc_reset(struct hci_dev *hde [all...] |
H A D | hci_core.c | 68 struct hci_dev *hdev = file->private_data; in dut_mode_read() 80 struct hci_dev *hdev = file->private_data; in dut_mode_write() 124 struct hci_dev *hdev = file->private_data; in vendor_diag_read() 136 struct hci_dev *hdev = file->private_data; in vendor_diag_write() 177 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic() 248 struct hci_dev *hdev = req->hdev; in hci_init1_req() 305 struct hci_dev *hdev = req->hdev; in le_setup() 323 struct hci_dev *hdev = req->hdev; in hci_setup_event_mask() 419 struct hci_dev *hdev = req->hdev; in hci_init2_req() 503 struct hci_dev *hde in hci_setup_link_policy() [all...] |
H A D | leds.h | 8 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled); 9 void hci_leds_init(struct hci_dev *hdev); 16 static inline void hci_leds_update_powered(struct hci_dev *hdev, in hci_leds_update_powered() 18 static inline void hci_leds_init(struct hci_dev *hdev) {} in hci_leds_init()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ssb-hcd.c | 105 struct platform_device *hci_dev; in ssb_hcd_create_pdev() local 118 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in ssb_hcd_create_pdev() 120 if (!hci_dev) in ssb_hcd_create_pdev() 123 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev() 124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev() 126 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev() 131 ret = platform_device_add_data(hci_dev, &ohci_pdata, in ssb_hcd_create_pdev() 134 ret = platform_device_add_data(hci_dev, &ehci_pdata, in ssb_hcd_create_pdev() 138 ret = platform_device_add(hci_dev); in ssb_hcd_create_pdev() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ssb-hcd.c | 105 struct platform_device *hci_dev; in ssb_hcd_create_pdev() local 118 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in ssb_hcd_create_pdev() 120 if (!hci_dev) in ssb_hcd_create_pdev() 123 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev() 124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev() 126 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev() 131 ret = platform_device_add_data(hci_dev, &ohci_pdata, in ssb_hcd_create_pdev() 134 ret = platform_device_add_data(hci_dev, &ehci_pdata, in ssb_hcd_create_pdev() 138 ret = platform_device_add(hci_dev); in ssb_hcd_create_pdev() [all...] |
/kernel/linux/linux-5.10/drivers/nfc/st-nci/ |
H A D | se.c | 226 ndev->hci_dev->init_data.gates[j].pipe = pipe_info[2]; in st_nci_hci_load_session() 228 ndev->hci_dev->gate2pipe[st_nci_gates[j].gate] = in st_nci_hci_load_session() 230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session() 232 ndev->hci_dev->pipes[pipe_info[2]].host = in st_nci_hci_load_session() 365 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received() 366 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received() 386 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received() 393 ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) in st_nci_hci_cmd_received() 394 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received() 396 if (ndev->hci_dev in st_nci_hci_cmd_received() [all...] |
/kernel/linux/linux-6.6/drivers/nfc/st-nci/ |
H A D | se.c | 226 ndev->hci_dev->init_data.gates[j].pipe = pipe_info[2]; in st_nci_hci_load_session() 228 ndev->hci_dev->gate2pipe[st_nci_gates[j].gate] = in st_nci_hci_load_session() 230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session() 232 ndev->hci_dev->pipes[pipe_info[2]].host = in st_nci_hci_load_session() 385 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received() 386 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received() 406 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received() 413 ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) in st_nci_hci_cmd_received() 414 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received() 416 if (ndev->hci_dev in st_nci_hci_cmd_received() [all...] |