Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/usb/misc/
Dcytherm.c69 struct usb_interface *intf = to_usb_interface(dev); in brightness_show()
78 struct usb_interface *intf = to_usb_interface(dev); in brightness_store()
119 struct usb_interface *intf = to_usb_interface(dev); in temp_show()
156 struct usb_interface *intf = to_usb_interface(dev); in button_show()
185 struct usb_interface *intf = to_usb_interface(dev); in port0_show()
209 struct usb_interface *intf = to_usb_interface(dev); in port0_store()
240 struct usb_interface *intf = to_usb_interface(dev); in port1_show()
264 struct usb_interface *intf = to_usb_interface(dev); in port1_store()
Dusbsevseg.c145 struct usb_interface *intf = to_usb_interface(dev); \
154 struct usb_interface *intf = to_usb_interface(dev); \
167 struct usb_interface *intf = to_usb_interface(dev); in text_show()
176 struct usb_interface *intf = to_usb_interface(dev); in text_store()
198 struct usb_interface *intf = to_usb_interface(dev); in decimals_show()
220 struct usb_interface *intf = to_usb_interface(dev); in decimals_store()
247 struct usb_interface *intf = to_usb_interface(dev); in textmode_show()
273 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-v5.15/drivers/hid/
Dhid-roccat-arvo.c34 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_mode_key()
54 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_mode_key()
84 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_key_mask()
104 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_key_mask()
158 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_actual_profile()
193 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_write()
212 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_read()
288 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_init_specials()
329 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in arvo_remove_specials()
Dhid-roccat-pyra.c92 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read()
117 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write()
190 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_settings()
208 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_read_profilex_buttons()
246 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_write_settings()
298 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_show_actual_profile()
320 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in pyra_sysfs_show_firmware_version()
395 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_init_specials()
436 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_remove_specials()
544 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in pyra_raw_event()
Dhid-roccat-koneplus.c89 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read()
114 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_write()
192 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_settings()
210 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read_profilex_buttons()
261 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_set_actual_profile()
307 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_show_firmware_version()
376 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_init_specials()
417 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_remove_specials()
510 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in koneplus_raw_event()
Dhid-roccat-lua.c32 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_read()
54 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_write()
117 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in lua_init_specials()
149 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in lua_remove_specials()
Dhid-corsair.c150 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_backlight_get()
213 usbif = to_usb_interface(dev->parent); in k90_backlight_work()
239 usbif = to_usb_interface(dev->parent); in k90_record_led_work()
265 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_show_macro_mode()
313 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_store_macro_mode()
342 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_show_current_profile()
382 struct usb_interface *usbif = to_usb_interface(dev->parent); in k90_store_current_profile()
556 struct usb_interface *usbif = to_usb_interface(dev->dev.parent); in corsair_probe()
691 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in corsair_mouse_report_fixup()
Dhid-roccat-kovaplus.c132 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read()
157 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_write()
222 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_settings()
240 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_read_profilex_buttons()
291 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_set_actual_profile()
363 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kovaplus_sysfs_show_firmware_version()
445 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_init_specials()
487 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_remove_specials()
601 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_raw_event()
Dhid-roccat-isku.c80 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_set_actual_profile()
123 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_read()
145 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_write()
268 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_init_specials()
309 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_remove_specials()
398 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in isku_raw_event()
Dhid-roccat-konepure.c77 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_init_specials()
118 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_remove_specials()
171 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in konepure_raw_event()
Dhid-roccat-savu.c57 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_init_specials()
98 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_remove_specials()
169 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in savu_raw_event()
Dhid-roccat-ryos.c85 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_init_specials()
126 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_remove_specials()
179 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in ryos_raw_event()
Dhid-holtek-kbd.c108 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_kbd_report_fixup()
143 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_kbd_probe()
Dhid-roccat-kone.c295 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_settings()
361 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_write_profilex()
430 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_show_weight()
482 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_set_tcu()
572 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in kone_sysfs_set_startup_profile()
696 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kone_init_specials()
736 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kone_remove_specials()
Dhid-roccat-common.c136 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_read()
159 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in roccat_common2_sysfs_write()
Dhid-holtek-mouse.c35 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in holtek_mouse_report_fixup()
Dhid-thrustmaster.c153 struct usb_interface *usbif = to_usb_interface(dev->parent); in thrustmaster_interrupts()
324 tm_wheel->usb_dev = interface_to_usbdev(to_usb_interface(hdev->dev.parent)); in thrustmaster_probe()
/Linux-v5.15/drivers/input/misc/
Dims-pcu.c1047 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_attribute_show()
1061 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_attribute_store()
1123 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_reset_device()
1154 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_update_firmware_store()
1206 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_update_firmware_status_show()
1232 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_is_attr_visible()
1300 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_data_show()
1319 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_data_store()
1342 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_addr_show()
1357 struct usb_interface *intf = to_usb_interface(dev); in ims_pcu_ofn_reg_addr_store()
[all …]
/Linux-v5.15/drivers/comedi/
Dcomedi_usb.c26 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
/Linux-v5.15/drivers/usb/core/
Dsysfs.c1067 struct usb_interface *intf = to_usb_interface(dev); \
1086 struct usb_interface *intf = to_usb_interface(dev); \
1106 intf = to_usb_interface(dev); in interface_show()
1121 intf = to_usb_interface(dev); in modalias_show()
1164 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_show()
1175 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_store()
1221 struct usb_interface *intf = to_usb_interface(dev); in intf_assoc_attrs_are_visible()
Dusb.c336 intf = to_usb_interface(dev); in __find_interface()
364 return dev ? to_usb_interface(dev) : NULL; in usb_find_interface()
1014 usb_create_sysfs_intf_files(to_usb_interface(dev)); in usb_bus_notify()
1021 usb_remove_sysfs_intf_files(to_usb_interface(dev)); in usb_bus_notify()
/Linux-v5.15/drivers/net/wireless/mediatek/mt7601u/
Dusb.h45 return interface_to_usbdev(to_usb_interface(mt7601u->dev)); in mt7601u_to_usb_dev()

123