Home
last modified time | relevance | path

Searched defs:hdev (Results 51 – 75 of 270) sorted by relevance

1234567891011

/Linux-v5.10/sound/soc/codecs/
Dhdac_hdmi.c81 struct hdac_device *hdev; member
125 struct hdac_device *hdev; member
160 struct hdac_device *hdev = port->pin->hdev; in hdac_hdmi_jack_report() local
218 static int hdac_hdmi_get_port_len(struct hdac_device *hdev, hda_nid_t nid) in hdac_hdmi_get_port_len()
241 static int hdac_hdmi_port_select_get(struct hdac_device *hdev, in hdac_hdmi_port_select_get()
252 static int hdac_hdmi_port_select_set(struct hdac_device *hdev, in hdac_hdmi_port_select_set()
335 hdac_hdmi_set_dip_index(struct hdac_device *hdev, hda_nid_t pin_nid, in hdac_hdmi_set_dip_index()
356 static int hdac_hdmi_setup_audio_infoframe(struct hdac_device *hdev, in hdac_hdmi_setup_audio_infoframe()
444 struct hdac_device *hdev = hdmi->hdev; in hdac_hdmi_set_tdm_slot() local
484 static int hdac_hdmi_query_port_connlist(struct hdac_device *hdev, in hdac_hdmi_query_port_connlist()
[all …]
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c59 static int hclge_alloc_cmd_queue(struct hclge_dev *hdev, int ring_type) in hclge_alloc_cmd_queue()
102 struct hclge_dev *hdev = ring->dev; in hclge_cmd_config_regs() local
137 struct hclge_dev *hdev = container_of(hw, struct hclge_dev, hw); in hclge_cmd_csq_clean() local
258 struct hclge_dev *hdev = container_of(hw, struct hclge_dev, hw); in hclge_cmd_send() local
333 static void hclge_set_default_capability(struct hclge_dev *hdev) in hclge_set_default_capability()
342 static void hclge_parse_capability(struct hclge_dev *hdev, in hclge_parse_capability()
361 hclge_cmd_query_version_and_capability(struct hclge_dev *hdev) in hclge_cmd_query_version_and_capability()
389 int hclge_cmd_queue_init(struct hclge_dev *hdev) in hclge_cmd_queue_init()
425 static int hclge_firmware_compat_config(struct hclge_dev *hdev) in hclge_firmware_compat_config()
442 int hclge_cmd_init(struct hclge_dev *hdev) in hclge_cmd_init()
[all …]
Dhclge_mbx.c28 struct hclge_dev *hdev = vport->back; in hclge_gen_resp_to_vf() local
82 struct hclge_dev *hdev = vport->back; in hclge_send_mbx_msg() local
109 struct hclge_dev *hdev = vport->back; in hclge_inform_reset_assert_to_vf() local
261 struct hclge_dev *hdev = vport->back; in hclge_set_vf_uc_mac_addr() local
303 struct hclge_dev *hdev = vport->back; in hclge_set_vf_mc_mac_addr() local
415 struct hclge_dev *hdev = vport->back; in hclge_get_vf_queue_info() local
441 struct hclge_dev *hdev = vport->back; in hclge_get_vf_queue_depth() local
458 struct hclge_dev *hdev = vport->back; in hclge_get_vf_media_type() local
473 struct hclge_dev *hdev = vport->back; in hclge_get_link_info() local
508 struct hclge_dev *hdev = vport->back; in hclge_get_link_mode() local
[all …]
Dhclge_mdio.c46 struct hclge_dev *hdev = bus->priv; in hclge_mdio_write() local
84 struct hclge_dev *hdev = bus->priv; in hclge_mdio_read() local
123 int hclge_mac_mdio_config(struct hclge_dev *hdev) in hclge_mac_mdio_config()
179 struct hclge_dev *hdev = vport->back; in hclge_mac_adjust_link() local
202 struct hclge_dev *hdev = vport->back; in hclge_mac_connect_phy() local
242 struct hclge_dev *hdev = vport->back; in hclge_mac_disconnect_phy() local
251 void hclge_mac_start_phy(struct hclge_dev *hdev) in hclge_mac_start_phy()
261 void hclge_mac_stop_phy(struct hclge_dev *hdev) in hclge_mac_stop_phy()
/Linux-v5.10/drivers/misc/habanalabs/common/
Ddebugfs.c21 static int hl_debugfs_i2c_read(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_read()
47 static int hl_debugfs_i2c_write(struct hl_device *hdev, u8 i2c_bus, u8 i2c_addr, in hl_debugfs_i2c_write()
74 static void hl_debugfs_led_set(struct hl_device *hdev, u8 led, u8 state) in hl_debugfs_led_set()
377 struct hl_device *hdev = dev_entry->hdev; in mmu_show() local
539 struct hl_device *hdev = dev_entry->hdev; in mmu_asid_va_write() local
580 struct hl_device *hdev = dev_entry->hdev; in engines_show() local
593 static bool hl_is_device_va(struct hl_device *hdev, u64 addr) in hl_is_device_va()
615 static int device_va_to_pa(struct hl_device *hdev, u64 virt_addr, in device_va_to_pa()
698 struct hl_device *hdev = entry->hdev; in hl_data_read32() local
733 struct hl_device *hdev = entry->hdev; in hl_data_write32() local
[all …]
Dasid.c12 int hl_asid_init(struct hl_device *hdev) in hl_asid_init()
27 void hl_asid_fini(struct hl_device *hdev) in hl_asid_fini()
33 unsigned long hl_asid_alloc(struct hl_device *hdev) in hl_asid_alloc()
51 void hl_asid_free(struct hl_device *hdev, unsigned long asid) in hl_asid_free()
Dcontext.c14 struct hl_device *hdev = ctx->hdev; in hl_ctx_fini() local
73 int hl_ctx_create(struct hl_device *hdev, struct hl_fpriv *hpriv) in hl_ctx_create()
121 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_free()
130 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) in hl_ctx_init()
200 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_get()
258 void hl_ctx_mgr_fini(struct hl_device *hdev, struct hl_ctx_mgr *mgr) in hl_ctx_mgr_fini()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi_security.c452 static void gaudi_pb_set_block(struct hl_device *hdev, u64 base) in gaudi_pb_set_block()
462 static void gaudi_init_mme_protection_bits(struct hl_device *hdev) in gaudi_init_mme_protection_bits()
1446 static void gaudi_init_dma_protection_bits(struct hl_device *hdev) in gaudi_init_dma_protection_bits()
5160 static void gaudi_init_tpc_protection_bits(struct hl_device *hdev) in gaudi_init_tpc_protection_bits()
8824 static void gaudi_init_protection_bits(struct hl_device *hdev) in gaudi_init_protection_bits()
8867 static void gaudi_init_range_registers_lbw(struct hl_device *hdev) in gaudi_init_range_registers_lbw()
8932 static void gaudi_init_range_registers_hbw(struct hl_device *hdev) in gaudi_init_range_registers_hbw()
9049 void gaudi_init_security(struct hl_device *hdev) in gaudi_init_security()
Dgaudi_hwmgr.c11 void gaudi_set_pll_profile(struct hl_device *hdev, enum hl_pll_frequency freq) in gaudi_set_pll_profile()
19 int gaudi_get_clk_rate(struct hl_device *hdev, u32 *cur_clk, u32 *max_clk) in gaudi_get_clk_rate()
53 struct hl_device *hdev = dev_get_drvdata(dev); in clk_max_freq_mhz_show() local
70 struct hl_device *hdev = dev_get_drvdata(dev); in clk_max_freq_mhz_store() local
97 struct hl_device *hdev = dev_get_drvdata(dev); in clk_cur_freq_mhz_show() local
117 void gaudi_add_device_attr(struct hl_device *hdev, in gaudi_add_device_attr()
/Linux-v5.10/drivers/bluetooth/
Dbtintel.h173 static inline int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
178 static inline int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg()
183 static inline int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg()
188 static inline int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btintel_set_bdaddr()
193 static inline int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag()
198 static inline int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable) in btintel_set_diag_mfg()
203 static inline void btintel_hw_error(struct hci_dev *hdev, u8 code) in btintel_hw_error()
207 static inline void btintel_version_info(struct hci_dev *hdev, in btintel_version_info()
212 static inline void btintel_version_info_tlv(struct hci_dev *hdev, in btintel_version_info_tlv()
217 static inline int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, in btintel_secure_send()
[all …]
Dbtqca.c17 int qca_read_soc_version(struct hci_dev *hdev, u32 *soc_version, in qca_read_soc_version()
104 static int qca_send_reset(struct hci_dev *hdev) in qca_send_reset()
123 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev) in qca_send_pre_shutdown_cmd()
250 static int qca_tlv_send_segment(struct hci_dev *hdev, int seg_size, in qca_tlv_send_segment()
323 static int qca_inject_cmd_complete_event(struct hci_dev *hdev) in qca_inject_cmd_complete_event()
348 static int qca_download_firmware(struct hci_dev *hdev, in qca_download_firmware()
403 static int qca_disable_soc_logging(struct hci_dev *hdev) in qca_disable_soc_logging()
424 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome()
448 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup()
529 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr()
Dbtqcomsmd.c21 struct hci_dev *hdev; member
27 static int btqcomsmd_recv(struct hci_dev *hdev, unsigned int type, in btqcomsmd_recv()
63 static int btqcomsmd_send(struct hci_dev *hdev, struct sk_buff *skb) in btqcomsmd_send()
98 static int btqcomsmd_open(struct hci_dev *hdev) in btqcomsmd_open()
103 static int btqcomsmd_close(struct hci_dev *hdev) in btqcomsmd_close()
108 static int btqcomsmd_setup(struct hci_dev *hdev) in btqcomsmd_setup()
128 struct hci_dev *hdev; in btqcomsmd_probe() local
Dbtbcm.h70 static inline int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr()
75 static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr()
80 static inline int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params()
86 static inline int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params()
92 static inline int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw) in btbcm_patchram()
97 static inline int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram()
102 static inline int btbcm_setup_apple(struct hci_dev *hdev) in btbcm_setup_apple()
107 static inline int btbcm_initialize(struct hci_dev *hdev, bool *fw_load_done) in btbcm_initialize()
112 static inline int btbcm_finalize(struct hci_dev *hdev, bool *fw_load_done) in btbcm_finalize()
Dbtsdio.c44 struct hci_dev *hdev; member
186 static int btsdio_open(struct hci_dev *hdev) in btsdio_open()
216 static int btsdio_close(struct hci_dev *hdev) in btsdio_close()
234 static int btsdio_flush(struct hci_dev *hdev) in btsdio_flush()
245 static int btsdio_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in btsdio_send_frame()
279 struct hci_dev *hdev; in btsdio_probe() local
351 struct hci_dev *hdev; in btsdio_remove() local
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c41 struct hclgevf_dev *hdev = container_of(hw, struct hclgevf_dev, hw); in hclgevf_cmd_csq_clean() local
87 struct hclgevf_dev *hdev = ring->dev; in hclgevf_cmd_config_regs() local
147 static int hclgevf_alloc_cmd_queue(struct hclgevf_dev *hdev, int ring_type) in hclgevf_alloc_cmd_queue()
221 struct hclgevf_dev *hdev = (struct hclgevf_dev *)hw->hdev; in hclgevf_cmd_send() local
316 static void hclgevf_set_default_capability(struct hclgevf_dev *hdev) in hclgevf_set_default_capability()
325 static void hclgevf_parse_capability(struct hclgevf_dev *hdev, in hclgevf_parse_capability()
341 static int hclgevf_cmd_query_version_and_capability(struct hclgevf_dev *hdev) in hclgevf_cmd_query_version_and_capability()
369 int hclgevf_cmd_queue_init(struct hclgevf_dev *hdev) in hclgevf_cmd_queue_init()
401 int hclgevf_cmd_init(struct hclgevf_dev *hdev) in hclgevf_cmd_init()
473 void hclgevf_cmd_uninit(struct hclgevf_dev *hdev) in hclgevf_cmd_uninit()
Dhclgevf_mbx.c16 static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev) in hclgevf_reset_mbx_resp_status()
33 static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1, in hclgevf_get_mbx_resp()
90 int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev, in hclgevf_send_mbx_msg()
152 void hclgevf_mbx_handler(struct hclgevf_dev *hdev) in hclgevf_mbx_handler()
263 static void hclgevf_parse_promisc_info(struct hclgevf_dev *hdev, in hclgevf_parse_promisc_info()
271 void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev) in hclgevf_mbx_async_handler()
/Linux-v5.10/drivers/hid/
Dhid-elan.c51 static int is_not_elan_touchpad(struct hid_device *hdev) in is_not_elan_touchpad()
63 static int elan_input_mapping(struct hid_device *hdev, struct hid_input *hi, in elan_input_mapping()
79 static int elan_get_device_param(struct hid_device *hdev, in elan_get_device_param()
118 static int elan_get_device_params(struct hid_device *hdev) in elan_get_device_params()
152 static int elan_input_configured(struct hid_device *hdev, struct hid_input *hi) in elan_input_configured()
361 static int elan_raw_event(struct hid_device *hdev, in elan_raw_event()
386 static int elan_start_multitouch(struct hid_device *hdev) in elan_start_multitouch()
416 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_get_brigtness() local
428 struct hid_device *hdev = to_hid_device(dev); in elan_mute_led_set_brigtness() local
456 static int elan_init_mute_led(struct hid_device *hdev) in elan_init_mute_led()
[all …]
Dhid-samsung.c51 static inline void samsung_irda_dev_trace(struct hid_device *hdev, in samsung_irda_dev_trace()
58 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_irda_report_fixup()
95 static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, in samsung_kbd_mouse_input_mapping()
128 static __u8 *samsung_report_fixup(struct hid_device *hdev, __u8 *rdesc, in samsung_report_fixup()
136 static int samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, in samsung_input_mapping()
149 static int samsung_probe(struct hid_device *hdev, in samsung_probe()
Dhid-cypress.c32 static __u8 *cp_rdesc_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_rdesc_fixup()
49 static __u8 *va_logical_boundary_fixup(struct hid_device *hdev, __u8 *rdesc, in va_logical_boundary_fixup()
70 static __u8 *cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, in cp_report_fixup()
83 static int cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, in cp_input_mapped()
100 static int cp_event(struct hid_device *hdev, struct hid_field *field, in cp_event()
128 static int cp_probe(struct hid_device *hdev, const struct hid_device_id *id) in cp_probe()
Dhid-uclogic-core.c72 static __u8 *uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc, in uclogic_report_fixup()
84 static int uclogic_input_mapping(struct hid_device *hdev, in uclogic_input_mapping()
102 static int uclogic_input_configured(struct hid_device *hdev, in uclogic_input_configured()
160 static int uclogic_probe(struct hid_device *hdev, in uclogic_probe()
230 static int uclogic_resume(struct hid_device *hdev) in uclogic_resume()
246 static int uclogic_raw_event(struct hid_device *hdev, in uclogic_raw_event()
345 static void uclogic_remove(struct hid_device *hdev) in uclogic_remove()
/Linux-v5.10/drivers/usb/misc/
Dlvstest.c42 struct usb_device *udev, *hdev; in create_lvs_device() local
76 struct usb_device *hdev = udev->parent; in destroy_lvs_device() local
85 static int lvs_rh_clear_port_feature(struct usb_device *hdev, in lvs_rh_clear_port_feature()
93 static int lvs_rh_set_port_feature(struct usb_device *hdev, in lvs_rh_set_port_feature()
105 struct usb_device *hdev = interface_to_usbdev(intf); in u3_entry_store() local
134 struct usb_device *hdev = interface_to_usbdev(intf); in u3_exit_store() local
163 struct usb_device *hdev = interface_to_usbdev(intf); in hot_reset_store() local
182 struct usb_device *hdev = interface_to_usbdev(intf); in warm_reset_store() local
201 struct usb_device *hdev = interface_to_usbdev(intf); in u2_timeout_store() local
230 struct usb_device *hdev = interface_to_usbdev(intf); in u1_timeout_store() local
[all …]
/Linux-v5.10/net/bluetooth/
Dhci_request.h25 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock) argument
26 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock) argument
29 struct hci_dev *hdev; member
102 static inline void hci_req_update_scan(struct hci_dev *hdev) in hci_req_update_scan()
116 static inline void hci_update_background_scan(struct hci_dev *hdev) in hci_update_background_scan()
Dhci_sysfs.c34 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local
47 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local
63 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local
85 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local
95 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs()
Dmsft.h22 static inline void msft_do_open(struct hci_dev *hdev) {} in msft_do_open()
23 static inline void msft_do_close(struct hci_dev *hdev) {} in msft_do_close()
24 static inline void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb) {} in msft_vendor_evt()
25 static inline __u64 msft_get_features(struct hci_dev *hdev) { return 0; } in msft_get_features()
/Linux-v5.10/drivers/nfc/microread/
Dmicroread.c158 struct nfc_hci_dev *hdev; member
165 static int microread_open(struct nfc_hci_dev *hdev) in microread_open()
172 static void microread_close(struct nfc_hci_dev *hdev) in microread_close()
179 static int microread_hci_ready(struct nfc_hci_dev *hdev) in microread_hci_ready()
218 static int microread_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) in microread_xmit()
225 static int microread_start_poll(struct nfc_hci_dev *hdev, in microread_start_poll()
301 static int microread_dep_link_up(struct nfc_hci_dev *hdev, in microread_dep_link_up()
329 static int microread_dep_link_down(struct nfc_hci_dev *hdev) in microread_dep_link_down()
335 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate()
349 static int microread_complete_target_discovered(struct nfc_hci_dev *hdev, in microread_complete_target_discovered()
[all …]

1234567891011