| /linux/net/bluetooth/ |
| H A D | hci_sync.c | 23 static void hci_cmd_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_cmd_sync_complete() 51 struct sk_buff *hci_cmd_sync_alloc(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync_alloc() 88 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_add() local 117 struct hci_dev *hdev = req->hdev; in hci_req_sync_run() local 148 static void hci_request_init(struct hci_request *req, struct hci_dev *hdev) in hci_request_init() 156 struct sk_buff *__hci_cmd_sync_sk(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_sk() 220 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() 228 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync() 247 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() 256 int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_status_sk() [all …]
|
| H A D | hci_debugfs.c | 93 struct hci_dev *hdev = f->private; in features_show() local 110 struct hci_dev *hdev = f->private; in device_id_show() local 124 struct hci_dev *hdev = f->private; in device_list_show() local 144 struct hci_dev *hdev = f->private; in blacklist_show() local 159 struct hci_dev *hdev = f->private; in blocked_keys_show() local 174 struct hci_dev *hdev = f->private; in uuids_show() local 199 struct hci_dev *hdev = f->private; in remote_oob_show() local 218 struct hci_dev *hdev = data; in conn_info_min_age_set() local 234 struct hci_dev *hdev = data; in conn_info_min_age_get() local 248 struct hci_dev *hdev = data; in conn_info_max_age_set() local [all …]
|
| H A D | hci_core.c | 69 struct hci_dev *hdev = NULL, *d; in __hci_dev_get() local 99 static void hci_dev_put_srcu(struct hci_dev *hdev, int srcu_index) in hci_dev_put_srcu() 107 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active() 122 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state() 152 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush() 166 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup() 182 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown() 198 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve() 217 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve() 236 u32 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, in hci_inquiry_cache_update() [all …]
|
| 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 *hdev, struct sk_buff *skb) in hci_devcd_handle_pkt_init() [all …]
|
| H A D | hci_event.c | 47 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_ev_skb_pull() 59 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_cc_skb_pull() 71 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, in hci_le_ev_skb_pull() 87 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() 125 static u8 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_periodic_inq() 140 static u8 hci_cc_exit_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_exit_periodic_inq() 155 static u8 hci_cc_remote_name_req_cancel(struct hci_dev *hdev, void *data, in hci_cc_remote_name_req_cancel() 165 static u8 hci_cc_role_discovery(struct hci_dev *hdev, void *data, in hci_cc_role_discovery() 187 static u8 hci_cc_read_link_policy(struct hci_dev *hdev, void *data, in hci_cc_read_link_policy() 209 static u8 hci_cc_write_link_policy(struct hci_dev *hdev, void *data, in hci_cc_write_link_policy() [all …]
|
| 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() 489 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list() 547 static int read_ext_index_list(struct sock *sk, struct hci_dev *hdev, in read_ext_index_list() 613 static bool is_configured(struct hci_dev *hdev) in is_configured() 627 static __le32 get_missing_options(struct hci_dev *hdev) in get_missing_options() [all …]
|
| H A D | msft.h | 32 static inline bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() 37 static inline void msft_register(struct hci_dev *hdev) {} in msft_register() 38 static inline void msft_release(struct hci_dev *hdev) {} in msft_release() 39 static inline void msft_do_open(struct hci_dev *hdev) {} in msft_do_open() 40 static inline void msft_do_close(struct hci_dev *hdev) {} in msft_do_close() 41 static inline void msft_vendor_evt(struct hci_dev *hdev, void *data, in msft_vendor_evt() 43 static inline __u64 msft_get_features(struct hci_dev *hdev) { return 0; } in msft_get_features() 44 static inline int msft_add_monitor_pattern(struct hci_dev *hdev, in msft_add_monitor_pattern() 50 static inline int msft_remove_monitor(struct hci_dev *hdev, in msft_remove_monitor() 58 static inline int msft_set_filter_enable(struct hci_dev *hdev, bool enable) in msft_set_filter_enable() [all …]
|
| H A D | hci_conn.c | 74 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() local 142 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() local 189 struct hci_dev *hdev = conn->hdev; in hci_disconnect() local 202 struct hci_dev *hdev = conn->hdev; in hci_add_sco() local 235 static int configure_datapath_sync(struct hci_dev *hdev, struct bt_codec *codec) in configure_datapath_sync() 281 static int hci_enhanced_setup_sync(struct hci_dev *hdev, void *data) in hci_enhanced_setup_sync() 409 struct hci_dev *hdev = conn->hdev; in hci_setup_sync_conn() local 491 static int le_conn_update_sync(struct hci_dev *hdev, void *data) in le_conn_update_sync() 555 static void le_conn_update_complete(struct hci_dev *hdev, void *data, int err) in le_conn_update_complete() 589 struct hci_dev *hdev = conn->hdev; in hci_le_start_enc() local [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_main.c | 87 void hclgevf_arq_init(struct hclgevf_dev *hdev) in hclgevf_arq_init() 112 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_stats() local 154 static int hclgevf_get_basic_info(struct hclgevf_dev *hdev) in hclgevf_get_basic_info() 183 static int hclgevf_get_port_base_vlan_filter_state(struct hclgevf_dev *hdev) in hclgevf_get_port_base_vlan_filter_state() 206 static int hclgevf_get_queue_info(struct hclgevf_dev *hdev) in hclgevf_get_queue_info() 233 static int hclgevf_get_queue_depth(struct hclgevf_dev *hdev) in hclgevf_get_queue_depth() 261 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_get_qid_global() local 277 static int hclgevf_get_pf_media_type(struct hclgevf_dev *hdev) in hclgevf_get_pf_media_type() 299 static int hclgevf_alloc_tqps(struct hclgevf_dev *hdev) in hclgevf_alloc_tqps() 349 static int hclgevf_knic_setup(struct hclgevf_dev *hdev) in hclgevf_knic_setup() [all …]
|
| /linux/drivers/accel/habanalabs/goya/ |
| H A D | goya.c | 360 int goya_set_fixed_properties(struct hl_device *hdev) in goya_set_fixed_properties() 507 static int goya_pci_bars_map(struct hl_device *hdev) in goya_pci_bars_map() 523 static u64 goya_set_ddr_bar_base(struct hl_device *hdev, u64 addr) in goya_set_ddr_bar_base() 557 static int goya_init_iatu(struct hl_device *hdev) in goya_init_iatu() 591 static enum hl_device_hw_state goya_get_hw_state(struct hl_device *hdev) in goya_get_hw_state() 607 static int goya_early_init(struct hl_device *hdev) in goya_early_init() 708 static int goya_early_fini(struct hl_device *hdev) in goya_early_fini() 716 static void goya_mmu_prepare_reg(struct hl_device *hdev, u64 reg, u32 asid) in goya_mmu_prepare_reg() 723 static void goya_qman0_set_security(struct hl_device *hdev, bool secure) in goya_qman0_set_security() 744 static void goya_fetch_psoc_frequency(struct hl_device *hdev) in goya_fetch_psoc_frequency() [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | device.c | 51 static u64 hl_set_dram_bar(struct hl_device *hdev, u64 addr, struct pci_mem_region *region, in hl_set_dram_bar() 73 int hl_access_sram_dram_region(struct hl_device *hdev, u64 addr, u64 *val, in hl_access_sram_dram_region() 119 static void *hl_dma_alloc_common(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, in hl_dma_alloc_common() 141 static void hl_asic_dma_free_common(struct hl_device *hdev, size_t size, void *cpu_addr, in hl_asic_dma_free_common() 160 void *hl_asic_dma_alloc_coherent_caller(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle, in hl_asic_dma_alloc_coherent_caller() 166 void hl_asic_dma_free_coherent_caller(struct hl_device *hdev, size_t size, void *cpu_addr, in hl_asic_dma_free_coherent_caller() 172 void *hl_asic_dma_pool_zalloc_caller(struct hl_device *hdev, size_t size, gfp_t mem_flags, in hl_asic_dma_pool_zalloc_caller() 178 void hl_asic_dma_pool_free_caller(struct hl_device *hdev, void *vaddr, dma_addr_t dma_addr, in hl_asic_dma_pool_free_caller() 184 void *hl_cpu_accessible_dma_pool_alloc(struct hl_device *hdev, size_t size, dma_addr_t *dma_handle) in hl_cpu_accessible_dma_pool_alloc() 189 void hl_cpu_accessible_dma_pool_free(struct hl_device *hdev, size_t size, void *vaddr) in hl_cpu_accessible_dma_pool_free() [all …]
|
| H A D | firmware_if.c | 55 int hl_fw_version_cmp(struct hl_device *hdev, u32 major, u32 minor, u32 subminor) in hl_fw_version_cmp() 137 static int hl_get_sw_major_minor_subminor(struct hl_device *hdev, const char *fw_str) in hl_get_sw_major_minor_subminor() 197 static int hl_get_preboot_major_minor(struct hl_device *hdev, char *preboot_ver) in hl_get_preboot_major_minor() 220 static int hl_request_fw(struct hl_device *hdev, in hl_request_fw() 284 static int hl_fw_copy_fw_to_device(struct hl_device *hdev, in hl_fw_copy_fw_to_device() 318 static int hl_fw_copy_msg_to_device(struct hl_device *hdev, in hl_fw_copy_msg_to_device() 355 int hl_fw_load_fw_to_device(struct hl_device *hdev, const char *fw_name, in hl_fw_load_fw_to_device() 371 int hl_fw_send_pci_access_msg(struct hl_device *hdev, u32 opcode, u64 value) in hl_fw_send_pci_access_msg() 404 int hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, in hl_fw_send_cpu_message() 542 int hl_fw_unmask_irq(struct hl_device *hdev, u16 event_type) in hl_fw_unmask_irq() [all …]
|
| H A D | habanalabs_drv.c | 120 static enum hl_asic_type get_asic_type(struct hl_device *hdev) in get_asic_type() 179 struct hl_device *hdev = to_hl_device(ddev); in hl_device_open() local 280 struct hl_device *hdev; in hl_device_open_ctrl() local 333 static void set_driver_behavior_per_device(struct hl_device *hdev) in set_driver_behavior_per_device() 345 static void copy_kernel_module_params_to_device(struct hl_device *hdev) in copy_kernel_module_params_to_device() 355 static void fixup_device_params_per_asic(struct hl_device *hdev, int timeout) in fixup_device_params_per_asic() 379 static int fixup_device_params(struct hl_device *hdev) in fixup_device_params() 414 static int allocate_device_id(struct hl_device *hdev) in allocate_device_id() 451 struct hl_device *hdev; in create_hdev() local 510 static void destroy_hdev(struct hl_device *hdev) in destroy_hdev() [all …]
|
| H A D | hw_queue.c | 43 struct hl_device *hdev = cs->ctx->hdev; in hl_hw_queue_update_ci() local 83 void hl_hw_queue_submit_bd(struct hl_device *hdev, struct hl_hw_queue *q, in hl_hw_queue_submit_bd() 127 static int ext_queue_sanity_checks(struct hl_device *hdev, in ext_queue_sanity_checks() 176 static int int_queue_sanity_checks(struct hl_device *hdev, in int_queue_sanity_checks() 211 static int hw_queue_sanity_checks(struct hl_device *hdev, struct hl_hw_queue *q, in hw_queue_sanity_checks() 239 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id, in hl_hw_queue_send_cb_no_cmpl() 281 struct hl_device *hdev = job->cs->ctx->hdev; in ext_queue_schedule_job() local 346 struct hl_device *hdev = job->cs->ctx->hdev; in int_queue_schedule_job() local 382 struct hl_device *hdev = job->cs->ctx->hdev; in hw_queue_schedule_job() local 415 static int init_signal_cs(struct hl_device *hdev, in init_signal_cs() [all …]
|
| H A D | irq.c | 22 struct hl_device *hdev; member 62 struct hl_device *hdev = eqe_work->hdev; in irq_handle_eqe() local 78 static void job_finish(struct hl_device *hdev, u32 cs_seq, struct hl_cq *cq, ktime_t timestamp) in job_finish() 99 static void cs_finish(struct hl_device *hdev, u16 cs_seq, ktime_t timestamp) in cs_finish() 133 struct hl_device *hdev = cq->hdev; in hl_irq_handler_cq() local 211 struct hl_device *hdev = job->hdev; in hl_ts_free_objects() local 255 static int handle_registration_node(struct hl_device *hdev, struct hl_user_pending_interrupt *pend, in handle_registration_node() 331 static void handle_user_interrupt_ts_list(struct hl_device *hdev, struct hl_user_interrupt *intr) in handle_user_interrupt_ts_list() 379 static void handle_user_interrupt_wait_list(struct hl_device *hdev, struct hl_user_interrupt *intr) in handle_user_interrupt_wait_list() 396 static void handle_tpc_interrupt(struct hl_device *hdev) in handle_tpc_interrupt() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_tm.c | 138 static void hclge_pfc_stats_get(struct hclge_dev *hdev, bool tx, u64 *stats) in hclge_pfc_stats_get() 152 void hclge_pfc_rx_stats_get(struct hclge_dev *hdev, u64 *stats) in hclge_pfc_rx_stats_get() 157 void hclge_pfc_tx_stats_get(struct hclge_dev *hdev, u64 *stats) in hclge_pfc_tx_stats_get() 162 int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx) in hclge_mac_pause_en_cfg() 174 int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap, in hclge_pfc_pause_en_cfg() 188 static int hclge_pause_param_cfg(struct hclge_dev *hdev, const u8 *addr, in hclge_pause_param_cfg() 206 int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr) in hclge_pause_addr_cfg() 228 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() 251 int hclge_up_to_tc_map(struct hclge_dev *hdev) in hclge_up_to_tc_map() 269 static void hclge_dscp_to_prio_map_init(struct hclge_dev *hdev) in hclge_dscp_to_prio_map_init() [all …]
|
| H A D | hclge_main.c | 440 static int hclge_mac_update_stats_defective(struct hclge_dev *hdev) in hclge_mac_update_stats_defective() 476 static int hclge_mac_update_stats_complete(struct hclge_dev *hdev) in hclge_mac_update_stats_complete() 523 static int hclge_mac_query_reg_num(struct hclge_dev *hdev, u32 *reg_num) in hclge_mac_query_reg_num() 557 int hclge_mac_update_stats(struct hclge_dev *hdev) in hclge_mac_update_stats() 566 static int hclge_comm_get_count(struct hclge_dev *hdev, in hclge_comm_get_count() 580 static u64 *hclge_comm_get_stats(struct hclge_dev *hdev, in hclge_comm_get_stats() 598 static void hclge_comm_get_strings(struct hclge_dev *hdev, u32 stringset, in hclge_comm_get_strings() 615 static void hclge_update_stats_for_all(struct hclge_dev *hdev) in hclge_update_stats_for_all() 641 struct hclge_dev *hdev = vport->back; in hclge_update_stats() local 671 struct hclge_dev *hdev = vport->back; in hclge_get_sset_count() local [all …]
|
| H A D | hclge_dcb.c | 11 static int hclge_ieee_ets_to_tm_info(struct hclge_dev *hdev, in hclge_ieee_ets_to_tm_info() 44 static void hclge_tm_info_to_ieee_ets(struct hclge_dev *hdev, in hclge_tm_info_to_ieee_ets() 72 struct hclge_dev *hdev = vport->back; in hclge_ieee_getets() local 79 static int hclge_dcb_common_validate(struct hclge_dev *hdev, u8 num_tc, in hclge_dcb_common_validate() 110 static u8 hclge_ets_tc_changed(struct hclge_dev *hdev, struct ieee_ets *ets, in hclge_ets_tc_changed() 128 static int hclge_ets_sch_mode_validate(struct hclge_dev *hdev, in hclge_ets_sch_mode_validate() 178 static int hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets, in hclge_ets_validate() 201 static int hclge_map_update(struct hclge_dev *hdev) in hclge_map_update() 222 static int hclge_notify_down_uinit(struct hclge_dev *hdev) in hclge_notify_down_uinit() 237 static int hclge_notify_init_up(struct hclge_dev *hdev) in hclge_notify_init_up() [all …]
|
| H A D | hclge_err.c | 1554 struct hclge_dev *hdev) in hclge_err_mod_check_support_cmd() 1566 hclge_query_reg_info(struct hclge_dev *hdev, in hclge_query_reg_info() 1597 static void hclge_query_reg_info_of_ssu(struct hclge_dev *hdev) in hclge_query_reg_info_of_ssu() 1788 static int hclge_cmd_query_error(struct hclge_dev *hdev, in hclge_cmd_query_error() 1809 static int hclge_clear_mac_tnl_int(struct hclge_dev *hdev) in hclge_clear_mac_tnl_int() 1819 static int hclge_config_common_hw_err_int(struct hclge_dev *hdev, bool en) in hclge_config_common_hw_err_int() 1856 static int hclge_config_ncsi_hw_err_int(struct hclge_dev *hdev, bool en) in hclge_config_ncsi_hw_err_int() 1878 static int hclge_config_igu_egu_hw_err_int(struct hclge_dev *hdev, bool en) in hclge_config_igu_egu_hw_err_int() 1917 static int hclge_config_ppp_error_interrupt(struct hclge_dev *hdev, u32 cmd, in hclge_config_ppp_error_interrupt() 1966 static int hclge_config_ppp_hw_err_int(struct hclge_dev *hdev, bool en) in hclge_config_ppp_hw_err_int() [all …]
|
| H A D | hclge_debugfs.c | 737 static int hclge_dbg_get_dfx_bd_num(struct hclge_dev *hdev, int offset, in hclge_dbg_get_dfx_bd_num() 765 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src, in hclge_dbg_cmd_send() 788 hclge_dbg_dump_reg_tqp(struct hclge_dev *hdev, in hclge_dbg_dump_reg_tqp() 840 hclge_dbg_dump_reg_common(struct hclge_dev *hdev, in hclge_dbg_dump_reg_common() 901 static int hclge_dbg_dump_mac_enable_status(struct hclge_dev *hdev, in hclge_dbg_dump_mac_enable_status() 930 static int hclge_dbg_dump_mac_frame_size(struct hclge_dev *hdev, in hclge_dbg_dump_mac_frame_size() 954 static int hclge_dbg_dump_mac_speed_duplex(struct hclge_dev *hdev, in hclge_dbg_dump_mac_speed_duplex() 986 struct hclge_dev *hdev = hclge_seq_file_to_hdev(s); in hclge_dbg_dump_mac() local 1000 static int hclge_dbg_dump_dcb_qset(struct hclge_dev *hdev, struct seq_file *s) in hclge_dbg_dump_dcb_qset() 1028 static int hclge_dbg_dump_dcb_pri(struct hclge_dev *hdev, struct seq_file *s) in hclge_dbg_dump_dcb_pri() [all …]
|
| /linux/net/nfc/hci/ |
| H A D | core.c | 37 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes() 49 void nfc_hci_reset_pipes_per_host(struct nfc_hci_dev *hdev, u8 host) in nfc_hci_reset_pipes_per_host() 65 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_tx_work() local 128 struct nfc_hci_dev *hdev = container_of(work, struct nfc_hci_dev, in nfc_hci_msg_rx_work() local 148 static void __nfc_hci_cmd_completion(struct nfc_hci_dev *hdev, int err, in __nfc_hci_cmd_completion() 165 void nfc_hci_resp_received(struct nfc_hci_dev *hdev, u8 result, in nfc_hci_resp_received() 181 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received() 284 int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_target_discovered() 381 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, in nfc_hci_event_received() 444 struct nfc_hci_dev *hdev = timer_container_of(hdev, t, cmd_timer); in nfc_hci_cmd_timeout() local [all …]
|
| /linux/drivers/accel/habanalabs/gaudi2/ |
| H A D | gaudi2.c | 2568 static void gaudi2_init_scrambler_hbm(struct hl_device *hdev) in gaudi2_init_scrambler_hbm() 2573 static u32 gaudi2_get_signal_cb_size(struct hl_device *hdev) in gaudi2_get_signal_cb_size() 2578 static u32 gaudi2_get_wait_cb_size(struct hl_device *hdev) in gaudi2_get_wait_cb_size() 2583 void gaudi2_iterate_tpcs(struct hl_device *hdev, struct iterate_module_ctx *ctx) in gaudi2_iterate_tpcs() 2628 static int set_number_of_functional_hbms(struct hl_device *hdev) in set_number_of_functional_hbms() 2675 static int gaudi2_set_dram_properties(struct hl_device *hdev) in gaudi2_set_dram_properties() 2757 static int gaudi2_set_fixed_properties(struct hl_device *hdev) in gaudi2_set_fixed_properties() 2961 static int gaudi2_pci_bars_map(struct hl_device *hdev) in gaudi2_pci_bars_map() 2976 static u64 gaudi2_set_hbm_bar_base(struct hl_device *hdev, u64 addr) in gaudi2_set_hbm_bar_base() 3005 static int gaudi2_init_iatu(struct hl_device *hdev) in gaudi2_init_iatu() [all …]
|
| /linux/drivers/accel/habanalabs/gaudi/ |
| H A D | gaudi.c | 498 get_collective_mode(struct hl_device *hdev, u32 queue_id) in get_collective_mode() 518 static inline void set_default_power_values(struct hl_device *hdev) in set_default_power_values() 535 static int gaudi_set_fixed_properties(struct hl_device *hdev) in gaudi_set_fixed_properties() 709 static int gaudi_pci_bars_map(struct hl_device *hdev) in gaudi_pci_bars_map() 725 static u64 gaudi_set_hbm_bar_base(struct hl_device *hdev, u64 addr) in gaudi_set_hbm_bar_base() 754 static int gaudi_init_iatu(struct hl_device *hdev) in gaudi_init_iatu() 796 static enum hl_device_hw_state gaudi_get_hw_state(struct hl_device *hdev) in gaudi_get_hw_state() 801 static int gaudi_early_init(struct hl_device *hdev) in gaudi_early_init() 893 static int gaudi_early_fini(struct hl_device *hdev) in gaudi_early_fini() 907 static int gaudi_fetch_psoc_frequency(struct hl_device *hdev) in gaudi_fetch_psoc_frequency() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btintel.c | 74 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 113 int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg() 130 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() 155 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr() 173 static int btintel_set_event_mask(struct hci_dev *hdev, bool debug) in btintel_set_event_mask() 193 int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag() 226 static int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable) in btintel_set_diag_mfg() 243 static int btintel_set_diag_combined(struct hci_dev *hdev, bool enable) in btintel_set_diag_combined() 260 void btintel_hw_error(struct hci_dev *hdev, u8 code) in btintel_hw_error() 299 int btintel_version_info(struct hci_dev *hdev, struct intel_version *ver) in btintel_version_info() [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_venus.c | 138 static void venus_set_state(struct venus_hfi_device *hdev, in venus_set_state() 146 static bool venus_is_valid_state(struct venus_hfi_device *hdev) in venus_is_valid_state() 151 static void venus_dump_packet(struct venus_hfi_device *hdev, const void *packet) in venus_dump_packet() 162 static int venus_write_queue(struct venus_hfi_device *hdev, in venus_write_queue() 239 static int venus_read_queue(struct venus_hfi_device *hdev, in venus_read_queue() 344 static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc, in venus_alloc() 360 static void venus_free(struct venus_hfi_device *hdev, struct mem_desc *mem) in venus_free() 367 static void venus_set_registers(struct venus_hfi_device *hdev) in venus_set_registers() 378 static void venus_soft_int(struct venus_hfi_device *hdev) in venus_soft_int() 391 static int venus_iface_cmdq_write_nolock(struct venus_hfi_device *hdev, in venus_iface_cmdq_write_nolock() [all …]
|