Home
last modified time | relevance | path

Searched refs:to_usb_interface (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v4.19/drivers/usb/misc/
Dcytherm.c83 struct usb_interface *intf = to_usb_interface(dev); in brightness_show()
92 struct usb_interface *intf = to_usb_interface(dev); in brightness_store()
133 struct usb_interface *intf = to_usb_interface(dev); in temp_show()
170 struct usb_interface *intf = to_usb_interface(dev); in button_show()
199 struct usb_interface *intf = to_usb_interface(dev); in port0_show()
223 struct usb_interface *intf = to_usb_interface(dev); in port0_store()
254 struct usb_interface *intf = to_usb_interface(dev); in port1_show()
278 struct usb_interface *intf = to_usb_interface(dev); in port1_store()
Dusbsevseg.c171 struct usb_interface *intf = to_usb_interface(dev); \
180 struct usb_interface *intf = to_usb_interface(dev); \
193 struct usb_interface *intf = to_usb_interface(dev); in text_show()
202 struct usb_interface *intf = to_usb_interface(dev); in text_store()
224 struct usb_interface *intf = to_usb_interface(dev); in decimals_show()
246 struct usb_interface *intf = to_usb_interface(dev); in decimals_store()
273 struct usb_interface *intf = to_usb_interface(dev); in textmode_show()
299 struct usb_interface *intf = to_usb_interface(dev); in textmode_store()
Dlvstest.c104 struct usb_interface *intf = to_usb_interface(dev); in u3_entry_store()
133 struct usb_interface *intf = to_usb_interface(dev); in u3_exit_store()
162 struct usb_interface *intf = to_usb_interface(dev); in hot_reset_store()
181 struct usb_interface *intf = to_usb_interface(dev); in warm_reset_store()
200 struct usb_interface *intf = to_usb_interface(dev); in u2_timeout_store()
229 struct usb_interface *intf = to_usb_interface(dev); in u1_timeout_store()
258 struct usb_interface *intf = to_usb_interface(dev); in get_dev_desc_store()
296 struct usb_interface *intf = to_usb_interface(dev); in enable_compliance_store()
Dtrancevibrator.c36 struct usb_interface *intf = to_usb_interface(dev); in speed_show()
45 struct usb_interface *intf = to_usb_interface(dev); in speed_store()
Dcypress_cy7c63.c123 struct usb_interface *intf = to_usb_interface(dev); in write_port()
168 struct usb_interface *intf = to_usb_interface(dev); in read_port()
/Linux-v4.19/drivers/hid/
Dhid-roccat-arvo.c37 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_mode_key()
57 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_mode_key()
87 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_key_mask()
107 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_key_mask()
161 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_actual_profile()
196 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_write()
215 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_read()
291 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_init_specials()
332 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_remove_specials()
Dhid-roccat-pyra.c95 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read()
120 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write()
193 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_settings()
211 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_buttons()
249 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write_settings()
301 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_show_actual_profile()
323 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_show_firmware_version()
398 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_init_specials()
439 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_remove_specials()
547 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_raw_event()
Dhid-roccat-koneplus.c92 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read()
117 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_write()
195 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_settings()
213 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_buttons()
264 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_set_actual_profile()
310 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_show_firmware_version()
379 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_init_specials()
420 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_remove_specials()
513 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_raw_event()
Dhid-roccat-lua.c35 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_read()
57 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_write()
120 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in lua_init_specials()
152 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in lua_remove_specials()
Dhid-corsair.c153 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_backlight_get()
216 usbif = to_usb_interface(dev->parent); in k90_backlight_work()
242 usbif = to_usb_interface(dev->parent); in k90_record_led_work()
268 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_show_macro_mode()
316 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_store_macro_mode()
345 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_show_current_profile()
385 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_store_current_profile()
559 struct usb_interface *usbif = to_usb_interface(dev->dev.parent); in corsair_probe()
694 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in corsair_mouse_report_fixup()
Dhid-roccat-kovaplus.c135 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read()
160 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_write()
225 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_settings()
243 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_buttons()
294 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_set_actual_profile()
366 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_show_firmware_version()
448 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_init_specials()
490 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_remove_specials()
604 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_raw_event()
Dhid-roccat-isku.c83 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_set_actual_profile()
126 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_read()
148 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_write()
271 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_init_specials()
312 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_remove_specials()
401 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_raw_event()
Dhid-roccat-savu.c60 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_init_specials()
101 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_remove_specials()
172 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_raw_event()
Dhid-roccat-konepure.c80 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_init_specials()
121 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_remove_specials()
174 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_raw_event()
Dhid-holtek-kbd.c111 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_kbd_report_fixup()
141 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_kbd_probe()
Dhid-roccat-ryos.c88 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_init_specials()
129 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_remove_specials()
182 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_raw_event()
Dhid-roccat-kone.c298 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_settings()
355 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_profilex()
424 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_show_weight()
476 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_set_tcu()
566 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_set_startup_profile()
690 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kone_init_specials()
730 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kone_remove_specials()
Dhid-roccat-common.c139 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_read()
162 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_write()
Dhid-holtek-mouse.c38 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_mouse_report_fixup()
/Linux-v4.19/drivers/usb/wusbcore/
Dcbaf.c303 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_show()
316 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_chid_store()
350 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_show()
361 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_name_store()
377 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_show()
388 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_host_band_groups_store()
416 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_show()
429 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_cdid_store()
459 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_device_band_groups_show()
473 struct usb_interface *iface = to_usb_interface(dev); in cbaf_wusb_device_name_show()
[all …]
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dusb.h30 return interface_to_usbdev(to_usb_interface(mt76x0->mt76.dev)); in mt76x0_to_usb_dev()
35 return interface_to_usbdev(to_usb_interface(mt76->dev)); in mt76_to_usb_dev()
/Linux-v4.19/drivers/input/misc/
Dims-pcu.c1061 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_attribute_show()
1075 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_attribute_store()
1137 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_reset_device()
1168 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_update_firmware_store()
1220 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_update_firmware_status_show()
1246 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_is_attr_visible()
1314 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_data_show()
1333 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_data_store()
1356 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_addr_show()
1371 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_addr_store()
[all …]
/Linux-v4.19/drivers/usb/core/
Dsysfs.c959 struct usb_interface *intf = to_usb_interface(dev); \
978 struct usb_interface *intf = to_usb_interface(dev); \
998 intf = to_usb_interface(dev); in interface_show()
1013 intf = to_usb_interface(dev); in modalias_show()
1056 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_show()
1067 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_store()
1113 struct usb_interface *intf = to_usb_interface(dev); in intf_assoc_attrs_are_visible()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_usb.c26 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dusb.h53 return interface_to_usbdev(to_usb_interface(mt7601u->dev)); in mt7601u_to_usb_dev()

123