/linux-master/drivers/usb/misc/ |
H A D | lvstest.c | 42 struct usb_device *udev, *hdev; local 51 hdev = interface_to_usbdev(intf); 52 hcd = bus_to_hcd(hdev->bus); 54 udev = usb_alloc_dev(hdev, hdev->bus, lvs->portnum); 76 struct usb_device *hdev = udev->parent; local 77 struct usb_hcd *hcd = bus_to_hcd(hdev->bus); 85 static int lvs_rh_clear_port_feature(struct usb_device *hdev, argument 88 return usb_control_msg(hdev, usb_sndctrlpipe(hdev, 93 lvs_rh_set_port_feature(struct usb_device *hdev, int port1, int feature) argument 105 struct usb_device *hdev = interface_to_usbdev(intf); local 134 struct usb_device *hdev = interface_to_usbdev(intf); local 163 struct usb_device *hdev = interface_to_usbdev(intf); local 182 struct usb_device *hdev = interface_to_usbdev(intf); local 201 struct usb_device *hdev = interface_to_usbdev(intf); local 230 struct usb_device *hdev = interface_to_usbdev(intf); local 297 struct usb_device *hdev = interface_to_usbdev(intf); local 330 struct usb_device *hdev = interface_to_usbdev(intf); local 395 struct usb_device *hdev; local [all...] |
/linux-master/drivers/hid/ |
H A D | hid-google-hammer.c | 301 struct hid_device *hdev; member in struct:hammer_kbd_leds 320 ret = hid_hw_power(led->hdev, PM_HINT_FULLON); 322 hid_err(led->hdev, "failed: device not resumed %d\n", ret); 326 ret = hid_hw_output_report(led->hdev, led->buf, sizeof(led->buf)); 328 ret = hid_hw_raw_request(led->hdev, 0, led->buf, 333 hid_err(led->hdev, "failed to set keyboard backlight: %d\n", 337 hid_hw_power(led->hdev, PM_HINT_NORMAL); 342 static int hammer_register_leds(struct hid_device *hdev) argument 346 kbd_backlight = devm_kzalloc(&hdev->dev, sizeof(*kbd_backlight), 351 kbd_backlight->hdev 371 hammer_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 388 hammer_folded_event(struct hid_device *hdev, bool folded) argument 422 hammer_has_usage(struct hid_device *hdev, unsigned int report_type, unsigned application, unsigned usage) argument 445 hammer_has_folded_event(struct hid_device *hdev) argument 451 hammer_has_backlight_control(struct hid_device *hdev) argument 457 hammer_get_folded_state(struct hid_device *hdev) argument 498 hammer_stop(void *hdev) argument 503 hammer_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 553 hammer_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-steelseries.c | 24 struct hid_device *hdev; member in struct:steelseries_device 129 static void steelseries_srws1_set_leds(struct hid_device *hdev, __u16 leds) argument 131 struct list_head *report_list = &hdev->report_enum[HID_OUTPUT_REPORT].report_list; 152 hid_hw_request(hdev, report, HID_REQ_SET_REPORT); 245 static int steelseries_srws1_probe(struct hid_device *hdev, argument 256 hid_err(hdev, "can't alloc SRW-S1 memory\n"); 260 hid_set_drvdata(hdev, drv_data); 262 ret = hid_parse(hdev); 264 hid_err(hdev, "parse failed\n"); 268 if (!hid_validate_values(hdev, HID_OUTPUT_REPOR 349 steelseries_srws1_remove(struct hid_device *hdev) argument 380 steelseries_headset_arctis_1_fetch_battery(struct hid_device *hdev) argument 401 steelseries_headset_fetch_battery(struct hid_device *hdev) argument 418 struct hid_device *hdev = sd->hdev; local 453 steelseries_headset_set_wireless_status(struct hid_device *hdev, bool connected) argument 513 steelseries_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 551 steelseries_remove(struct hid_device *hdev) argument 573 steelseries_srws1_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument 589 steelseries_headset_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *read_buf, int size) argument [all...] |
H A D | hid-ft260.c | 238 struct hid_device *hdev; member in struct:ft260_device 249 static int ft260_hid_feature_report_get(struct hid_device *hdev, argument 260 ret = hid_hw_raw_request(hdev, report_id, buf, len, HID_FEATURE_REPORT, 270 static int ft260_hid_feature_report_set(struct hid_device *hdev, u8 *data, argument 282 ret = hid_hw_raw_request(hdev, buf[0], buf, len, HID_FEATURE_REPORT, 289 static int ft260_i2c_reset(struct hid_device *hdev) argument 296 ret = ft260_hid_feature_report_set(hdev, (u8 *)&report, sizeof(report)); 298 hid_err(hdev, "failed to reset I2C controller: %d\n", ret); 308 struct hid_device *hdev = dev->hdev; local 353 ft260_hid_output_report(struct hid_device *hdev, u8 *data, size_t len) argument 374 struct hid_device *hdev = dev->hdev; local 421 struct hid_device *hdev = dev->hdev; local 503 struct hid_device *hdev = dev->hdev; local 580 struct hid_device *hdev = dev->hdev; local 617 struct hid_device *hdev = dev->hdev; local 658 struct hid_device *hdev = dev->hdev; local 770 ft260_get_system_config(struct hid_device *hdev, struct ft260_get_system_status_report *cfg) argument 785 ft260_is_interface_enabled(struct hid_device *hdev) argument 820 ft260_byte_show(struct hid_device *hdev, int id, u8 *cfg, int len, u8 *field, u8 *buf) argument 832 ft260_word_show(struct hid_device *hdev, int id, u8 *cfg, int len, __le16 *field, u8 *buf) argument 935 struct hid_device *hdev = to_hid_device(kdev); local 960 ft260_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 1051 ft260_remove(struct hid_device *hdev) argument 1065 ft260_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) argument [all...] |
H A D | hid-picolcd_debugfs.c | 50 picolcd_reset(data->hdev); 91 resp = picolcd_send_and_wait(data->hdev, REPORT_EE_READ, raw_data, 133 resp = picolcd_send_and_wait(data->hdev, REPORT_EE_WRITE, raw_data, 191 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off+1); 246 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, len_off); 277 resp = picolcd_send_and_wait(data->hdev, report_id, raw_data, 385 struct hid_device *hdev, struct hid_report *report) 393 if (list_empty(&hdev->debug_list)) 408 hid_debug_event(hdev, buff); 412 hid_debug_event(hdev, buf 384 picolcd_debug_out_report(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report) argument 641 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument 842 struct hid_device *hdev = data->hdev; local [all...] |
H A D | hid-gfrm.c | 27 static int gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 31 unsigned long hdev_type = (unsigned long) hid_get_drvdata(hdev); 50 static int gfrm_raw_event(struct hid_device *hdev, struct hid_report *report, argument 53 unsigned long hdev_type = (unsigned long) hid_get_drvdata(hdev); 68 ret = hid_report_raw_event(hdev, HID_INPUT_REPORT, search_key_dn, 76 ret = hid_report_raw_event(hdev, HID_INPUT_REPORT, search_key_up, 98 static int gfrm_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 102 hid_set_drvdata(hdev, (void *) id->driver_data); 104 ret = hid_parse(hdev); 114 if (!hid_register_report(hdev, HID_INPUT_REPOR [all...] |
H A D | hid-thrustmaster.c | 150 static void thrustmaster_interrupts(struct hid_device *hdev) argument 155 struct device *dev = &hdev->dev; 160 hid_err(hdev, "failed allocating send buffer\n"); 166 hid_err(hdev, "Wrong number of endpoints?\n"); 184 hid_err(hdev, "setup data couldn't be sent\n"); 195 struct hid_device *hdev = urb->context; local 199 hid_info(hdev, "Success?! The wheel should have been initialized!\n"); 201 hid_warn(hdev, "URB to change wheel mode seems to have failed with error %d\n", urb->status); 213 struct hid_device *hdev = urb->context; local 214 struct tm_wheel *tm_wheel = hid_get_drvdata(hdev); 260 thrustmaster_remove(struct hid_device *hdev) argument 281 thrustmaster_probe(struct hid_device *hdev, const struct hid_device_id *id) argument [all...] |
H A D | hid-mcp2200.c | 85 struct hid_device *hdev; member in struct:mcp2200 113 len = hid_hw_output_report(mcp->hdev, (u8 *) read_all, 148 status = hid_hw_output_report(mcp->hdev, (u8 *) cmd, 233 status = hid_hw_output_report(mcp->hdev, (u8 *) conf, 291 static int mcp2200_raw_event(struct hid_device *hdev, struct hid_report *report, argument 294 struct mcp2200 *mcp = hid_get_drvdata(hdev); 317 static int mcp2200_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 322 mcp = devm_kzalloc(&hdev->dev, sizeof(*mcp), GFP_KERNEL); 326 ret = hid_parse(hdev); 328 hid_err(hdev, "ca 367 mcp2200_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-a4tech.c | 34 static int a4_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 38 struct a4tech_sc *a4 = hid_get_drvdata(hdev); 56 static int a4_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument 60 struct a4tech_sc *a4 = hid_get_drvdata(hdev); 73 static int a4_event(struct hid_device *hdev, struct hid_field *field, argument 76 struct a4tech_sc *a4 = hid_get_drvdata(hdev); 79 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) 113 static int a4_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 118 a4 = devm_kzalloc(&hdev->dev, sizeof(*a4), GFP_KERNEL); 120 hid_err(hdev, "ca [all...] |
H A D | hid-chicony.c | 28 struct hid_device *hdev = report->device; local 36 hid_warn(hdev, "can't find wireless radio control's input"); 48 static int ch_raw_event(struct hid_device *hdev, argument 59 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 91 static __u8 *ch_switch12_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 94 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); 99 switch (hdev->product) { 103 hid_info(hdev, "Fixing up report descriptor\n"); 113 static int ch_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 117 if (!hid_is_usb(hdev)) [all...] |
H A D | hid-core.c | 2098 bool hid_match_one_id(const struct hid_device *hdev, argument 2101 return (id->bus == HID_BUS_ANY || id->bus == hdev->bus) && 2102 (id->group == HID_GROUP_ANY || id->group == hdev->group) && 2103 (id->vendor == HID_ANY_ID || id->vendor == hdev->vendor) && 2104 (id->product == HID_ANY_ID || id->product == hdev->product); 2107 const struct hid_device_id *hid_match_id(const struct hid_device *hdev, argument 2111 if (hid_match_one_id(hdev, id)) 2124 static bool hid_hiddev(struct hid_device *hdev) argument 2126 return !!hid_match_id(hdev, hid_hiddev_list); 2136 struct hid_device *hdev local 2153 struct hid_device *hdev = to_hid_device(dev); local 2169 hid_connect(struct hid_device *hdev, unsigned int connect_mask) argument 2276 hid_disconnect(struct hid_device *hdev) argument 2300 hid_hw_start(struct hid_device *hdev, unsigned int connect_mask) argument 2327 hid_hw_stop(struct hid_device *hdev) argument 2342 hid_hw_open(struct hid_device *hdev) argument 2370 hid_hw_close(struct hid_device *hdev) argument 2386 hid_hw_request(struct hid_device *hdev, struct hid_report *report, enum hid_class_request reqtype) argument 2410 hid_hw_raw_request(struct hid_device *hdev, unsigned char reportnum, __u8 *buf, size_t len, enum hid_report_type rtype, enum hid_class_request reqtype) argument 2436 hid_hw_output_report(struct hid_device *hdev, __u8 *buf, size_t len) argument 2454 hid_driver_suspend(struct hid_device *hdev, pm_message_t state) argument 2463 hid_driver_reset_resume(struct hid_device *hdev) argument 2472 hid_driver_resume(struct hid_device *hdev) argument 2548 hid_match_device(struct hid_device *hdev, struct hid_driver *hdrv) argument 2569 struct hid_device *hdev = to_hid_device(dev); local 2597 hid_check_device_match(struct hid_device *hdev, struct hid_driver *hdrv, const struct hid_device_id **id) argument 2616 __hid_device_probe(struct hid_device *hdev, struct hid_driver *hdrv) argument 2659 struct hid_device *hdev = to_hid_device(dev); local 2680 struct hid_device *hdev = to_hid_device(dev); local 2707 struct hid_device *hdev = container_of(dev, struct hid_device, dev); local 2730 const struct hid_device *hdev = to_hid_device(dev); local 2763 hid_add_device(struct hid_device *hdev) argument 2837 struct hid_device *hdev; local 2864 hid_remove_device(struct hid_device *hdev) argument 2884 hid_destroy_device(struct hid_device *hdev) argument 2896 struct hid_device *hdev = to_hid_device(dev); local [all...] |
/linux-master/drivers/nfc/pn544/ |
H A D | pn544.c | 113 struct nfc_hci_dev *hdev; member in struct:pn544_hci_info 126 static int pn544_hci_open(struct nfc_hci_dev *hdev) argument 128 struct pn544_hci_info *info = nfc_hci_get_clientdata(hdev); 148 static void pn544_hci_close(struct nfc_hci_dev *hdev) argument 150 struct pn544_hci_info *info = nfc_hci_get_clientdata(hdev); 165 static int pn544_hci_ready(struct nfc_hci_dev *hdev) argument 251 r = nfc_hci_send_cmd(hdev, PN544_SYS_MGMT_GATE, PN544_WRITE, 272 r = nfc_hci_set_param(hdev, NFC_HCI_ADMIN_GATE, 278 r = nfc_hci_set_param(hdev, PN544_SYS_MGMT_GATE, 284 r = nfc_hci_set_param(hdev, NFC_HCI_RF_READER_A_GAT 325 pn544_hci_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument 332 pn544_hci_start_poll(struct nfc_hci_dev *hdev, u32 im_protocols, u32 tm_protocols) argument 443 pn544_hci_dep_link_up(struct nfc_hci_dev *hdev, struct nfc_target *target, u8 comm_mode, u8 *gb, size_t gb_len) argument 473 pn544_hci_dep_link_down(struct nfc_hci_dev *hdev) argument 480 pn544_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) argument 501 pn544_hci_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) argument 602 pn544_hci_im_transceive(struct nfc_hci_dev *hdev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument 666 pn544_hci_tm_send(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument 681 pn544_hci_check_presence(struct nfc_hci_dev *hdev, struct nfc_target *target) argument 715 pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, struct sk_buff *skb) argument 770 pn544_hci_fw_download(struct nfc_hci_dev *hdev, const char *firmware_name) argument 781 pn544_hci_discover_se(struct nfc_hci_dev *hdev) argument 809 pn544_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) argument 864 pn544_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) argument 903 pn544_hci_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, char *llc_name, int phy_headroom, int phy_tailroom, int phy_payload, fw_download_t fw_download, struct nfc_hci_dev **hdev) argument 973 pn544_hci_remove(struct nfc_hci_dev *hdev) argument [all...] |
/linux-master/drivers/nfc/microread/ |
H A D | microread.c | 157 struct nfc_hci_dev *hdev; member in struct:microread_info 164 static int microread_open(struct nfc_hci_dev *hdev) argument 166 struct microread_info *info = nfc_hci_get_clientdata(hdev); 171 static void microread_close(struct nfc_hci_dev *hdev) argument 173 struct microread_info *info = nfc_hci_get_clientdata(hdev); 178 static int microread_hci_ready(struct nfc_hci_dev *hdev) argument 184 r = nfc_hci_send_cmd(hdev, MICROREAD_GATE_ID_MREAD_ISO_A, 189 r = nfc_hci_send_cmd(hdev, MICROREAD_GATE_ID_MREAD_ISO_A_3, 197 r = nfc_hci_send_cmd(hdev, MICROREAD_GATE_ID_MREAD_ISO_B, 202 r = nfc_hci_send_cmd(hdev, MICROREAD_GATE_ID_MREAD_NFC_T 217 microread_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument 224 microread_start_poll(struct nfc_hci_dev *hdev, u32 im_protocols, u32 tm_protocols) argument 300 microread_dep_link_up(struct nfc_hci_dev *hdev, struct nfc_target *target, u8 comm_mode, u8 *gb, size_t gb_len) argument 328 microread_dep_link_down(struct nfc_hci_dev *hdev) argument 334 microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) argument 348 microread_complete_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct nfc_target *target) argument 397 microread_im_transceive(struct nfc_hci_dev *hdev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument 455 microread_tm_send(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument 468 microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct sk_buff *skb) argument 547 microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, struct sk_buff *skb) argument 643 microread_probe(void *phy_id, const struct nfc_phy_ops *phy_ops, const char *llc_name, int phy_headroom, int phy_tailroom, int phy_payload, struct nfc_hci_dev **hdev) argument 710 microread_remove(struct nfc_hci_dev *hdev) argument [all...] |
/linux-master/drivers/accel/habanalabs/common/ |
H A D | memory.c | 29 static int set_alloc_page_size(struct hl_device *hdev, struct hl_mem_in *args, u32 *page_size) argument 31 struct asic_fixed_properties *prop = &hdev->asic_prop; 42 dev_err(hdev->dev, "user page size (%#llx) is not power of 2\n", psize); 90 struct hl_device *hdev = ctx->hdev; local 91 struct hl_vm *vm = &hdev->vm; 100 rc = set_alloc_page_size(hdev, args, &page_size); 108 dev_err(hdev->dev, "Cannot allocate 0 bytes\n"); 121 dev_err(hdev->dev, 163 dev_err(hdev 225 dma_map_host_va(struct hl_device *hdev, u64 addr, u64 size, struct hl_userptr **p_userptr) argument 273 dma_unmap_host_va(struct hl_device *hdev, struct hl_userptr *userptr) argument 312 free_phys_pg_pack(struct hl_device *hdev, struct hl_vm_phys_pg_pack *phys_pg_pack) argument 355 struct hl_device *hdev = ctx->hdev; local 398 clear_va_list_locked(struct hl_device *hdev, struct list_head *va_list) argument 419 print_va_list_locked(struct hl_device *hdev, struct list_head *va_list) argument 446 merge_va_blocks_locked(struct hl_device *hdev, struct list_head *va_list, struct hl_vm_va_block *va_block) argument 482 add_va_block_locked(struct hl_device *hdev, struct list_head *va_list, u64 start, u64 end) argument 534 add_va_block(struct hl_device *hdev, struct hl_va_range *va_range, u64 start, u64 end) argument 593 get_va_block(struct hl_device *hdev, struct hl_va_range *va_range, u64 size, u64 hint_addr, u32 va_block_align, enum hl_va_range_type range_type, u32 flags) argument 756 hl_reserve_va_block(struct hl_device *hdev, struct hl_ctx *ctx, enum hl_va_range_type type, u64 size, u32 alignment) argument 800 hl_unreserve_va_block(struct hl_device *hdev, struct hl_ctx *ctx, u64 start_addr, u64 size) argument 945 struct hl_device *hdev = ctx->hdev; local 1008 struct hl_device *hdev = ctx->hdev; local 1053 struct hl_device *hdev = ctx->hdev; local 1278 struct hl_device *hdev = ctx->hdev; local 1408 map_block(struct hl_device *hdev, u64 address, u64 *handle, u32 *size) argument 1463 struct hl_device *hdev = hpriv->hdev; local 1534 alloc_sgt_from_device_pages(struct hl_device *hdev, u64 *pages, u64 npages, u64 page_size, u64 exported_size, u64 offset, struct device *dev, enum dma_data_direction dir) argument 1711 struct hl_device *hdev; local 1731 struct hl_device *hdev; local 1791 struct hl_device *hdev = ctx->hdev; local 1861 struct hl_device *hdev = ctx->hdev; local 1902 validate_export_params_common(struct hl_device *hdev, u64 addr, u64 size, u64 offset) argument 1928 validate_export_params_no_mmu(struct hl_device *hdev, u64 device_addr, u64 size) argument 1960 validate_export_params(struct hl_device *hdev, u64 device_addr, u64 size, u64 offset, struct hl_vm_phys_pg_pack *phys_pg_pack) argument 1994 get_phys_pg_pack_from_hash_node(struct hl_device *hdev, struct hl_vm_hash_node *hnode) argument 2041 struct hl_device *hdev; local 2203 struct hl_device *hdev = hpriv->hdev; local 2319 get_user_memory(struct hl_device *hdev, u64 addr, u64 size, u32 npages, u64 start, u32 offset, struct hl_userptr *userptr) argument 2377 hl_pin_host_memory(struct hl_device *hdev, u64 addr, u64 size, struct hl_userptr *userptr) argument 2443 hl_unpin_host_memory(struct hl_device *hdev, struct hl_userptr *userptr) argument 2468 hl_userptr_delete_list(struct hl_device *hdev, struct list_head *userptr_list) argument 2493 hl_userptr_is_pinned(struct hl_device *hdev, u64 addr, u32 size, struct list_head *userptr_list, struct hl_userptr **userptr) argument 2518 va_range_init(struct hl_device *hdev, struct hl_va_range **va_ranges, enum hl_va_range_type range_type, u64 start, u64 end, u32 page_size) argument 2572 va_range_fini(struct hl_device *hdev, struct hl_va_range *va_range) argument 2613 struct hl_device *hdev = ctx->hdev; local 2755 struct hl_device *hdev = ctx->hdev; local 2837 hl_vm_init(struct hl_device *hdev) argument 2891 hl_vm_fini(struct hl_device *hdev) argument [all...] |
H A D | security.c | 42 * @hdev: pointer to hl_device structure 48 static int hl_get_pb_block(struct hl_device *hdev, u32 mm_reg_addr, argument 62 dev_err(hdev->dev, "No protection domain was found for 0x%x\n", 70 * @hdev: pointer to hl_device structure 75 static int hl_unset_pb_in_block(struct hl_device *hdev, u32 reg_offset, argument 79 dev_err(hdev->dev, 95 * @hdev: pointer to hl_device structure 103 int hl_unsecure_register(struct hl_device *hdev, u32 mm_reg_addr, int offset, argument 110 block_num = hl_get_pb_block(hdev, mm_reg_addr + offset, pb_blocks, 117 return hl_unset_pb_in_block(hdev, reg_offse 132 hl_unsecure_register_range(struct hl_device *hdev, struct range mm_reg_range, int offset, const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], int array_size) argument 168 hl_unsecure_registers(struct hl_device *hdev, const u32 mm_reg_array[], int mm_array_size, int offset, const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], int blocks_array_size) argument 198 hl_unsecure_registers_range(struct hl_device *hdev, const struct range mm_reg_range_array[], int mm_array_size, int offset, const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], int blocks_array_size) argument 225 hl_ack_pb_security_violations(struct hl_device *hdev, const u32 pb_blocks[], u32 block_offset, int array_size) argument 253 hl_config_glbl_sec(struct hl_device *hdev, const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], u32 block_offset, int array_size) argument 281 hl_secure_block(struct hl_device *hdev, struct hl_block_glbl_sec sgs_array[], int array_size) argument 307 hl_init_pb_with_mask(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const u32 *user_regs_array, u32 user_regs_array_size, u64 mask) argument 359 hl_init_pb(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const u32 *user_regs_array, u32 user_regs_array_size) argument 387 hl_init_pb_ranges_with_mask(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const struct range *user_regs_range_array, u32 user_regs_range_array_size, u64 mask) argument 445 hl_init_pb_ranges(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const struct range *user_regs_range_array, u32 user_regs_range_array_size) argument 471 hl_init_pb_single_dcore(struct hl_device *hdev, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const u32 *user_regs_array, u32 user_regs_array_size) argument 519 hl_init_pb_ranges_single_dcore(struct hl_device *hdev, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, const struct range *user_regs_range_array, u32 user_regs_range_array_size) argument 563 hl_ack_pb_with_mask(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size, u64 mask) argument 597 hl_ack_pb(struct hl_device *hdev, u32 num_dcores, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size) argument 618 hl_ack_pb_single_dcore(struct hl_device *hdev, u32 dcore_offset, u32 num_instances, u32 instance_offset, const u32 pb_blocks[], u32 blocks_array_size) argument 632 hl_automated_get_block_base_addr(struct hl_device *hdev, struct hl_special_block_info *block_info, u32 major, u32 minor, u32 sub_minor) argument 661 hl_check_block_range_exclusion(struct hl_device *hdev, struct hl_skip_blocks_cfg *skip_blocks_cfg, struct hl_special_block_info *block_info, u32 major, u32 minor, u32 sub_minor) argument 687 hl_read_glbl_errors(struct hl_device *hdev, u32 blk_idx, u32 major, u32 minor, u32 sub_minor, void *data) argument 723 hl_check_for_glbl_errors(struct hl_device *hdev) argument 742 hl_iterate_special_blocks(struct hl_device *hdev, struct iterate_special_ctx *ctx) argument [all...] |
/linux-master/drivers/nfc/st21nfca/ |
H A D | vendor_cmds.c | 38 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 47 test_and_set_bit(ST21NFCA_FACTORY_MODE, &hdev->quirks); 50 clear_bit(ST21NFCA_FACTORY_MODE, &hdev->quirks); 62 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 64 return nfc_hci_disconnect_all_gates(hdev); 70 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 72 return nfc_hci_send_cmd(hdev, ST21NFCA_DEVICE_MGNT_GATE, 80 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 82 return nfc_hci_send_cmd(hdev, ST21NFCA_DEVICE_MGNT_GATE, 91 struct nfc_hci_dev *hdev local 126 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 159 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 169 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 188 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 222 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 230 st21nfca_hci_loopback_event_received(struct nfc_hci_dev *hdev, u8 event, struct sk_buff *skb) argument 252 struct nfc_hci_dev *hdev = nfc_get_drvdata(dev); local 356 st21nfca_vendor_cmds_init(struct nfc_hci_dev *hdev) argument [all...] |
/linux-master/include/net/nfc/ |
H A D | llc.h | 17 typedef void (*rcv_to_hci_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb); 18 typedef int (*xmit_to_drv_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb); 19 typedef void (*llc_failure_t) (struct nfc_hci_dev *hdev, int err); 23 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev,
|
/linux-master/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm_drv.c | 70 struct hv_device *hdev) 77 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, 104 static int hyperv_vmbus_probe(struct hv_device *hdev, argument 111 hv = devm_drm_dev_alloc(&hdev->device, &hyperv_driver, 118 hv_set_drvdata(hdev, hv); 119 hv->hdev = hdev; 121 ret = hyperv_connect_vsp(hdev); 129 ret = hyperv_setup_vram(hv, hdev); 138 ret = hyperv_update_vram_location(hdev, h 69 hyperv_setup_vram(struct hyperv_drm_device *hv, struct hv_device *hdev) argument 165 hyperv_vmbus_remove(struct hv_device *hdev) argument 178 hyperv_vmbus_shutdown(struct hv_device *hdev) argument 183 hyperv_vmbus_suspend(struct hv_device *hdev) argument 197 hyperv_vmbus_resume(struct hv_device *hdev) argument [all...] |
/linux-master/net/bluetooth/ |
H A D | mgmt_util.h | 45 struct sk_buff *mgmt_alloc_skb(struct hci_dev *hdev, u16 opcode, 49 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, 56 struct hci_dev *hdev); 59 struct hci_dev *hdev, 61 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, 65 struct hci_dev *hdev, 68 struct hci_dev *hdev, 72 void mgmt_mesh_foreach(struct hci_dev *hdev, 75 struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle); 76 struct mgmt_mesh_tx *mgmt_mesh_next(struct hci_dev *hdev, struc [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 136 static int hclge_dbg_get_dfx_bd_num(struct hclge_dev *hdev, int offset, argument 144 ret = hclge_query_bd_num_cmd_send(hdev, desc); 146 dev_err(&hdev->pdev->dev, 157 dev_err(&hdev->pdev->dev, "The value of dfx bd_num is 0!\n"); 164 static int hclge_dbg_cmd_send(struct hclge_dev *hdev, argument 181 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); 183 dev_err(&hdev->pdev->dev, 189 hclge_dbg_dump_reg_tqp(struct hclge_dev *hdev, argument 200 ret = hclge_dbg_get_dfx_bd_num(hdev, reg_msg->offset, &bd_num); 219 for (index = 0; index < hdev 243 hclge_dbg_dump_reg_common(struct hclge_dev *hdev, const struct hclge_dbg_reg_type_info *reg_info, char *buf, int len, int *pos) argument 305 hclge_dbg_dump_mac_enable_status(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 335 hclge_dbg_dump_mac_frame_size(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 361 hclge_dbg_dump_mac_speed_duplex(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 392 hclge_dbg_dump_mac(struct hclge_dev *hdev, char *buf, int len) argument 408 hclge_dbg_dump_dcb_qset(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 439 hclge_dbg_dump_dcb_pri(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 469 hclge_dbg_dump_dcb_pg(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 495 hclge_dbg_dump_dcb_queue(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 526 hclge_dbg_dump_dcb_port(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 549 hclge_dbg_dump_dcb_tm(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 611 hclge_dbg_dump_dcb(struct hclge_dev *hdev, char *buf, int len) argument 639 hclge_dbg_dump_reg_cmd(struct hclge_dev *hdev, enum hnae3_dbg_cmd cmd, char *buf, int len) argument 663 hclge_dbg_dump_tc(struct hclge_dev *hdev, char *buf, int len) argument 736 __hclge_dbg_dump_tm_pg(struct hclge_dev *hdev, char *data_str, char *buf, int len) argument 800 hclge_dbg_dump_tm_pg(struct hclge_dev *hdev, char *buf, int len) argument 817 hclge_dbg_dump_tm_port(struct hclge_dev *hdev, char *buf, int len) argument 838 hclge_dbg_dump_tm_bp_qset_map(struct hclge_dev *hdev, u8 tc_id, char *buf, int len) argument 885 hclge_dbg_dump_tm_map(struct hclge_dev *hdev, char *buf, int len) argument 930 hclge_dbg_dump_tm_nodes(struct hclge_dev *hdev, char *buf, int len) argument 982 hclge_dbg_dump_tm_pri(struct hclge_dev *hdev, char *buf, int len) argument 1063 hclge_dbg_dump_tm_qset(struct hclge_dev *hdev, char *buf, int len) argument 1122 hclge_dbg_dump_qos_pause_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1149 hclge_dbg_dump_qos_pri_map(struct hclge_dev *hdev, char *buf, int len) argument 1185 hclge_dbg_dump_qos_dscp_map(struct hclge_dev *hdev, char *buf, int len) argument 1237 hclge_dbg_dump_tx_buf_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1261 hclge_dbg_dump_rx_priv_buf_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1291 hclge_dbg_dump_rx_common_wl_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1317 hclge_dbg_dump_rx_global_pkt_cnt(struct hclge_dev *hdev, char *buf, int len) argument 1342 hclge_dbg_dump_rx_priv_wl_buf_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1378 hclge_dbg_dump_rx_common_threshold_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1415 hclge_dbg_dump_qos_buf_cfg(struct hclge_dev *hdev, char *buf, int len) argument 1458 hclge_dbg_dump_mng_table(struct hclge_dev *hdev, char *buf, int len) argument 1519 hclge_dbg_fd_tcam_read(struct hclge_dev *hdev, bool sel_x, char *tcam_buf, struct hclge_dbg_tcam_msg tcam_msg) argument 1574 hclge_dbg_get_rules_location(struct hclge_dev *hdev, u16 *rule_locs) argument 1593 hclge_dbg_dump_fd_tcam(struct hclge_dev *hdev, char *buf, int len) argument 1659 hclge_dbg_dump_fd_counter(struct hclge_dev *hdev, char *buf, int len) argument 1705 hclge_dbg_dump_rst_info(struct hclge_dev *hdev, char *buf, int len) argument 1740 hclge_dbg_dump_serv_info(struct hclge_dev *hdev, char *buf, int len) argument 1762 hclge_dbg_dump_interrupt(struct hclge_dev *hdev, char *buf, int len) argument 1806 hclge_dbg_get_imp_stats_info(struct hclge_dev *hdev, char *buf, int len) argument 1881 hclge_dbg_dump_ncl_config(struct hclge_dev *hdev, char *buf, int len) argument 1911 hclge_dbg_dump_loopback(struct hclge_dev *hdev, char *buf, int len) argument 1976 hclge_dbg_dump_mac_tnl_status(struct hclge_dev *hdev, char *buf, int len) argument 2004 hclge_dbg_dump_mac_list(struct hclge_dev *hdev, char *buf, int len, bool is_unicast) argument 2047 hclge_dbg_dump_umv_info(struct hclge_dev *hdev, char *buf, int len) argument 2080 hclge_get_vlan_rx_offload_cfg(struct hclge_dev *hdev, u8 vf_id, struct hclge_dbg_vlan_cfg *vlan_cfg) argument 2115 hclge_get_vlan_tx_offload_cfg(struct hclge_dev *hdev, u8 vf_id, struct hclge_dbg_vlan_cfg *vlan_cfg) argument 2152 hclge_get_vlan_filter_config_cmd(struct hclge_dev *hdev, u8 vlan_type, u8 vf_id, struct hclge_desc *desc) argument 2173 hclge_get_vlan_filter_state(struct hclge_dev *hdev, u8 vlan_type, u8 vf_id, u8 *vlan_fe) argument 2190 hclge_get_port_vlan_filter_bypass_state(struct hclge_dev *hdev, u8 vf_id, u8 *bypass_en) argument 2242 hclge_dbg_dump_vlan_filter_config(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 2295 hclge_dbg_dump_vlan_offload_config(struct hclge_dev *hdev, char *buf, int len, int *pos) argument 2346 hclge_dbg_dump_vlan_config(struct hclge_dev *hdev, char *buf, int len) argument 2359 hclge_dbg_dump_ptp_info(struct hclge_dev *hdev, char *buf, int len) argument 2410 hclge_dbg_dump_mac_uc(struct hclge_dev *hdev, char *buf, int len) argument 2417 hclge_dbg_dump_mac_mc(struct hclge_dev *hdev, char *buf, int len) argument 2580 struct hclge_dev *hdev = vport->back; local [all...] |
/linux-master/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu_v2.c | 41 struct hl_device *hdev = ctx->hdev; local 47 dev_err(hdev->dev, "ctx %d is freed while it has pgts in use\n", 51 dev_err_ratelimited(hdev->dev, 62 struct asic_fixed_properties *prop = &ctx->hdev->asic_prop; 63 struct hl_device *hdev = ctx->hdev; local 76 scrambled_virt_addr = hdev->asic_funcs->scramble_addr(hdev, virt_addr); 106 dev_err(hdev 137 struct hl_device *hdev = ctx->hdev; local 248 struct hl_device *hdev = ctx->hdev; local 326 hl_mmu_v2_set_funcs(struct hl_device *hdev, struct hl_mmu_funcs *mmu) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | btqca.c | 20 int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver, argument 31 bt_dev_dbg(hdev, "QCA Version Request"); 44 skb = __hci_cmd_sync_ev(hdev, EDL_PATCH_CMD_OPCODE, EDL_PATCH_CMD_LEN, 48 bt_dev_err(hdev, "Reading QCA version information failed (%d)", 54 bt_dev_err(hdev, "QCA Version size mismatch len %d", skb->len); 61 bt_dev_err(hdev, "QCA TLV with no header"); 68 bt_dev_err(hdev, "QCA Wrong packet received %d %d", edl->cresp, 79 bt_dev_info(hdev, "QCA Product ID :0x%08x", 81 bt_dev_info(hdev, "QCA SOC Version :0x%08x", 83 bt_dev_info(hdev, "QC 100 qca_read_fw_build_info(struct hci_dev *hdev) argument 147 qca_send_patch_config_cmd(struct hci_dev *hdev) argument 191 qca_send_reset(struct hci_dev *hdev) argument 210 qca_read_fw_board_id(struct hci_dev *hdev, u16 *bid) argument 248 qca_send_pre_shutdown_cmd(struct hci_dev *hdev) argument 270 qca_tlv_check_data(struct hci_dev *hdev, struct qca_fw_config *config, u8 *fw_data, enum qca_btsoc_type soc_type) argument 387 qca_tlv_send_segment(struct hci_dev *hdev, int seg_size, const u8 *data, enum qca_tlv_dnld_mode mode, enum qca_btsoc_type soc_type) argument 460 qca_inject_cmd_complete_event(struct hci_dev *hdev) argument 485 qca_download_firmware(struct hci_dev *hdev, struct qca_fw_config *config, enum qca_btsoc_type soc_type, u8 rom_ver) argument 572 qca_disable_soc_logging(struct hci_dev *hdev) argument 593 qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument 617 qca_check_bdaddr(struct hci_dev *hdev) argument 666 qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, enum qca_btsoc_type soc_type, struct qca_btsoc_version ver, const char *firmware_name) argument 865 qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument [all...] |
H A D | btusb.c | 809 struct hci_dev *hdev; member in struct:btusb_data 861 int (*recv_event)(struct hci_dev *hdev, struct sk_buff *skb); 862 int (*recv_acl)(struct hci_dev *hdev, struct sk_buff *skb); 865 int (*setup_on_usb)(struct hci_dev *hdev); 873 static void btusb_reset(struct hci_dev *hdev) argument 878 if (hdev->reset) { 879 hdev->reset(hdev); 883 data = hci_get_drvdata(hdev); 887 bt_dev_err(hdev, "Faile 895 btusb_intel_cmd_timeout(struct hci_dev *hdev) argument 954 btusb_rtl_alloc_devcoredump(struct hci_dev *hdev, struct rtk_dev_coredump_hdr *hdr, u8 *buf, u32 len) argument 976 btusb_rtl_cmd_timeout(struct hci_dev *hdev) argument 1011 btusb_rtl_hw_error(struct hci_dev *hdev, u8 code) argument 1023 btusb_qca_cmd_timeout(struct hci_dev *hdev) argument 1216 btusb_validate_sco_handle(struct hci_dev *hdev, struct hci_sco_hdr *hdr) argument 1305 struct hci_dev *hdev = urb->context; local 1348 btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 1421 struct hci_dev *hdev = urb->context; local 1462 btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 1510 struct hci_dev *hdev = urb->context; local 1622 btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 1675 struct hci_dev *hdev = urb->context; local 1714 btusb_submit_diag_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 1763 struct hci_dev *hdev = (struct hci_dev *)skb->dev; local 1794 struct hci_dev *hdev = (struct hci_dev *)skb->dev; local 1813 btusb_open(struct hci_dev *hdev) argument 1876 btusb_close(struct hci_dev *hdev) argument 1914 btusb_flush(struct hci_dev *hdev) argument 1930 alloc_ctrl_urb(struct hci_dev *hdev, struct sk_buff *skb) argument 1963 alloc_bulk_urb(struct hci_dev *hdev, struct sk_buff *skb) argument 1986 alloc_isoc_urb(struct hci_dev *hdev, struct sk_buff *skb) argument 2019 submit_tx_urb(struct hci_dev *hdev, struct urb *urb) argument 2041 submit_or_queue_tx_urb(struct hci_dev *hdev, struct urb *urb) argument 2063 btusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb) argument 2108 btusb_notify(struct hci_dev *hdev, unsigned int evt) argument 2121 __set_isoc_interface(struct hci_dev *hdev, int altsetting) argument 2164 btusb_switch_alt_setting(struct hci_dev *hdev, int new_alts) argument 2226 struct hci_dev *hdev = data->hdev; local 2306 btusb_setup_bcm92035(struct hci_dev *hdev) argument 2322 btusb_setup_csr(struct hci_dev *hdev) argument 2475 inject_cmd_complete(struct hci_dev *hdev, __u16 opcode) argument 2503 struct hci_dev *hdev = data->hdev; local 2515 btusb_send_frame_intel(struct hci_dev *hdev, struct sk_buff *skb) argument 2582 btusb_setup_realtek(struct hci_dev *hdev) argument 2595 btusb_recv_event_realtek(struct hci_dev *hdev, struct sk_buff *skb) argument 2629 struct hci_dev *hdev = urb->context; local 2709 btusb_mtk_submit_wmt_recv_urb(struct hci_dev *hdev) argument 2762 btusb_mtk_hci_wmt_sync(struct hci_dev *hdev, struct btmtk_hci_wmt_params *wmt_params) argument 2890 btusb_mtk_func_query(struct hci_dev *hdev) argument 2914 struct hci_dev *hdev = data->hdev; local 2942 struct hci_dev *hdev = data->hdev; local 2999 btusb_mtk_reset_done(struct hci_dev *hdev) argument 3009 btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) argument 3081 btusb_mtk_setup(struct hci_dev *hdev) argument 3269 btusb_mtk_shutdown(struct hci_dev *hdev) argument 3291 btusb_recv_acl_mtk(struct hci_dev *hdev, struct sk_buff *skb) argument 3325 marvell_config_oob_wake(struct hci_dev *hdev) argument 3367 btusb_set_bdaddr_marvell(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument 3390 btusb_set_bdaddr_ath3012(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument 3414 btusb_set_bdaddr_wcn6855(struct hci_dev *hdev, const bdaddr_t *bdaddr) argument 3457 btusb_dump_hdr_qca(struct hci_dev *hdev, struct sk_buff *skb) argument 3483 btusb_coredump_qca(struct hci_dev *hdev) argument 3498 handle_dump_pkt_qca(struct hci_dev *hdev, struct sk_buff *skb) argument 3615 btusb_recv_acl_qca(struct hci_dev *hdev, struct sk_buff *skb) argument 3622 btusb_recv_evt_qca(struct hci_dev *hdev, struct sk_buff *skb) argument 3710 btusb_setup_qca_download_fw(struct hci_dev *hdev, const struct firmware *firmware, size_t hdr_size) argument 3779 btusb_setup_qca_load_rampatch(struct hci_dev *hdev, struct qca_version *ver, const struct qca_device_info *info) argument 3877 btusb_setup_qca_load_nvm(struct hci_dev *hdev, struct qca_version *ver, const struct qca_device_info *info) argument 3915 btusb_setup_qca(struct hci_dev *hdev) argument 3988 __set_diag_interface(struct hci_dev *hdev) argument 4024 alloc_diag_urb(struct hci_dev *hdev, bool enable) argument 4057 btusb_bcm_set_diag(struct hci_dev *hdev, bool enable) argument 4100 btusb_config_oob_wake(struct hci_dev *hdev) argument 4144 btusb_wakeup(struct hci_dev *hdev) argument 4151 btusb_shutdown_qca(struct hci_dev *hdev) argument 4214 struct hci_dev *hdev; local 4606 struct hci_dev *hdev; local 4735 struct hci_dev *hdev = data->hdev; local 4800 struct hci_dev *hdev = data->hdev; local [all...] |
/linux-master/sound/soc/codecs/ |
H A D | hdac_hdmi.c | 82 struct hdac_device *hdev; member in struct:hdac_hdmi_pin 126 struct hdac_device *hdev; member in struct:hdac_hdmi_priv 161 struct hdac_device *hdev = port->pin->hdev; local 171 dev_dbg(&hdev->dev, 219 static int hdac_hdmi_get_port_len(struct hdac_device *hdev, hda_nid_t nid) argument 224 caps = get_wcaps(hdev, nid); 230 param = snd_hdac_read_parm_uncached(hdev, nid, AC_PAR_DEVLIST_LEN); 242 static int hdac_hdmi_port_select_get(struct hdac_device *hdev, argument 245 return snd_hdac_codec_read(hdev, por 253 hdac_hdmi_port_select_set(struct hdac_device *hdev, struct hdac_hdmi_port *port) argument 336 hdac_hdmi_set_dip_index(struct hdac_device *hdev, hda_nid_t pin_nid, int packet_index, int byte_index) argument 357 hdac_hdmi_setup_audio_infoframe(struct hdac_device *hdev, struct hdac_hdmi_pcm *pcm, struct hdac_hdmi_port *port) argument 444 struct hdac_device *hdev = hdmi->hdev; local 491 hdac_hdmi_query_port_connlist(struct hdac_device *hdev, struct hdac_hdmi_pin *pin, struct hdac_hdmi_port *port) argument 527 hdac_hdmi_get_port_from_cvt( struct hdac_device *hdev, struct hdac_hdmi_priv *hdmi, struct hdac_hdmi_cvt *cvt) argument 566 hdac_hdmi_verify_connect_sel_all_pins(struct hdac_device *hdev) argument 594 struct hdac_device *hdev = hdmi->hdev; local 657 hdac_hdmi_query_cvt_params(struct hdac_device *hdev, struct hdac_hdmi_cvt *cvt) argument 720 hdac_hdmi_get_pcm(struct hdac_device *hdev, struct hdac_hdmi_port *port) argument 740 hdac_hdmi_set_power_state(struct hdac_device *hdev, hda_nid_t nid, unsigned int pwr_state) argument 761 hdac_hdmi_set_amp(struct hdac_device *hdev, hda_nid_t nid, int val) argument 774 struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); local 819 struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); local 874 struct hdac_device *hdev = dev_to_hdac_dev(w->dapm->dev); local 909 struct hdac_device *hdev = dev_to_hdac_dev(dapm->dev); local 963 hdac_hdmi_create_pin_port_muxs(struct hdac_device *hdev, struct hdac_hdmi_port *port, struct snd_soc_dapm_widget *widget, const char *widget_name) argument 1032 hdac_hdmi_add_pinmux_cvt_route(struct hdac_device *hdev, struct snd_soc_dapm_widget *widgets, struct snd_soc_dapm_route *route, int rindex) argument 1078 struct hdac_device *hdev = dev_to_hdac_dev(dapm->dev); local 1178 hdac_hdmi_init_dai_map(struct hdac_device *hdev) argument 1205 hdac_hdmi_add_cvt(struct hdac_device *hdev, hda_nid_t nid) argument 1227 hdac_hdmi_parse_eld(struct hdac_device *hdev, struct hdac_hdmi_port *port) argument 1256 struct hdac_device *hdev = pin->hdev; local 1339 hdac_hdmi_add_ports(struct hdac_device *hdev, struct hdac_hdmi_pin *pin) argument 1366 hdac_hdmi_add_pin(struct hdac_device *hdev, hda_nid_t nid) argument 1397 hdac_hdmi_skl_enable_all_pins(struct hdac_device *hdev) argument 1415 hdac_hdmi_skl_enable_dp12(struct hdac_device *hdev) argument 1562 hdac_hdmi_create_dais(struct hdac_device *hdev, struct snd_soc_dai_driver **dais, struct hdac_hdmi_priv *hdmi, int num_dais) argument 1631 hdac_hdmi_parse_and_map_nid(struct hdac_device *hdev, struct snd_soc_dai_driver **dais, int *num_dais) argument 1702 struct hdac_device *hdev = aptr; local 1772 create_fill_jack_kcontrols(struct snd_soc_card *card, struct hdac_device *hdev) argument 1818 struct hdac_device *hdev = hdmi->hdev; local 1894 struct hdac_device *hdev = hdmi->hdev; local 1938 hdac_hdmi_present_sense_all_pins(struct hdac_device *hdev, struct hdac_hdmi_priv *hdmi, bool detect_pin_caps) argument 1965 struct hdac_device *hdev = hdmi->hdev; local 2025 struct hdac_device *hdev = hdmi->hdev; local 2039 struct hdac_device *hdev = dev_to_hdac_dev(dev); local 2070 hdac_hdmi_get_chmap(struct hdac_device *hdev, int pcm_idx, unsigned char *chmap) argument 2079 hdac_hdmi_set_chmap(struct hdac_device *hdev, int pcm_idx, unsigned char *chmap, int prepared) argument 2101 is_hdac_hdmi_pcm_attached(struct hdac_device *hdev, int pcm_idx) argument 2115 hdac_hdmi_get_spk_alloc(struct hdac_device *hdev, int pcm_idx) argument 2143 hdac_hdmi_dev_probe(struct hdac_device *hdev) argument 2212 clear_dapm_works(struct hdac_device *hdev) argument 2223 hdac_hdmi_dev_remove(struct hdac_device *hdev) argument 2234 struct hdac_device *hdev = dev_to_hdac_dev(dev); local 2270 struct hdac_device *hdev = dev_to_hdac_dev(dev); local [all...] |
/linux-master/net/nfc/hci/ |
H A D | llc_nop.c | 13 struct nfc_hci_dev *hdev; member in struct:llc_nop 21 static void *llc_nop_init(struct nfc_hci_dev *hdev, xmit_to_drv_t xmit_to_drv, argument 35 llc_nop->hdev = hdev; 64 llc_nop->rcv_to_hci(llc_nop->hdev, skb); 71 return llc_nop->xmit_to_drv(llc_nop->hdev, skb);
|