Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-5.10/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()
547 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()
513 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-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()
604 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in kovaplus_raw_event()
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()
561 usbif = to_usb_interface(dev->dev.parent); in corsair_probe()
696 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); in corsair_mouse_report_fixup()
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()
401 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()
174 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()
172 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()
182 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()
153 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-chicony.c66 intf = to_usb_interface(hdev->dev.parent); in ch_switch12_report_fixup()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_usb.c26 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
/kernel/linux/linux-5.10/drivers/usb/core/
Dsysfs.c1088 struct usb_interface *intf = to_usb_interface(dev); \
1107 struct usb_interface *intf = to_usb_interface(dev); \
1127 intf = to_usb_interface(dev); in interface_show()
1142 intf = to_usb_interface(dev); in modalias_show()
1185 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_show()
1196 struct usb_interface *intf = to_usb_interface(dev); in interface_authorized_store()
1242 struct usb_interface *intf = to_usb_interface(dev); in intf_assoc_attrs_are_visible()
Dusb.c337 intf = to_usb_interface(dev); in __find_interface()
365 return dev ? to_usb_interface(dev) : NULL; in usb_find_interface()
968 usb_create_sysfs_intf_files(to_usb_interface(dev)); in usb_bus_notify()
975 usb_remove_sysfs_intf_files(to_usb_interface(dev)); in usb_bus_notify()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dusb.h45 return interface_to_usbdev(to_usb_interface(mt7601u->dev)); in mt7601u_to_usb_dev()

123