Home
last modified time | relevance | path

Searched defs:udev (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/openbmc/linux/drivers/usb/core/
H A Ddriver.c252 struct usb_device *udev = to_usb_device(dev); in usb_probe_device() local
305 struct usb_device *udev = to_usb_device(dev); in usb_unbind_device() local
433 struct usb_device *udev; in usb_unbind_interface() local
859 struct usb_device *udev; in usb_device_match() local
946 struct usb_device *udev; in __usb_bus_reprobe_drivers() local
1563 struct usb_device *udev = to_usb_device(dev); in usb_suspend() local
1586 struct usb_device *udev = to_usb_device(dev); in usb_resume_complete() local
1599 struct usb_device *udev = to_usb_device(dev); in usb_resume() local
1942 struct usb_device *udev = to_usb_device(dev); in usb_runtime_suspend() local
1971 struct usb_device *udev = to_usb_device(dev); in usb_runtime_resume() local
[all …]
H A Dusb.h60 static inline unsigned usb_get_max_power(struct usb_device *udev, in usb_get_max_power()
116 static inline int usb_port_suspend(struct usb_device *udev, pm_message_t msg) in usb_port_suspend()
121 static inline int usb_port_resume(struct usb_device *udev, pm_message_t msg) in usb_port_resume()
126 #define usb_autosuspend_device(udev) do {} while (0) argument
127 static inline int usb_autoresume_device(struct usb_device *udev) in usb_autoresume_device()
132 static inline int usb_enable_usb2_hardware_lpm(struct usb_device *udev) in usb_enable_usb2_hardware_lpm()
137 static inline int usb_disable_usb2_hardware_lpm(struct usb_device *udev) in usb_disable_usb2_hardware_lpm()
173 static inline int is_root_hub(struct usb_device *udev) in is_root_hub()
H A Dsysfs.c55 struct usb_device *udev; in bMaxPower_show() local
74 struct usb_device *udev; in configuration_show() local
148 struct usb_device *udev; in speed_show() local
183 struct usb_device *udev; in rx_lanes_show() local
193 struct usb_device *udev; in tx_lanes_show() local
203 struct usb_device *udev; in busnum_show() local
213 struct usb_device *udev; in devnum_show() local
223 struct usb_device *udev; in devpath_show() local
233 struct usb_device *udev; in version_show() local
245 struct usb_device *udev; in maxchild_show() local
[all …]
H A Dhub.c890 struct usb_device *udev = urb->dev; in usb_hub_clear_tt_buffer() local
1148 struct usb_device *udev = port_dev->child; in hub_activate() local
2249 struct usb_device *udev = *pdev; in usb_disconnect() local
2568 int usb_new_device(struct usb_device *udev) in usb_new_device()
3271 int usb_disable_ltm(struct usb_device *udev) in usb_disable_ltm()
3828 struct usb_device *udev; in hub_handle_remote_wakeup() local
3938 struct usb_device *udev; in report_wakeup_requests() local
4492 struct usb_device *udev = port_dev->child; in hub_usb3_port_prepare_disable() local
5321 struct usb_device *udev = port_dev->child; in hub_port_connect() local
5564 struct usb_device *udev = port_dev->child; in hub_port_connect_change() local
[all …]
H A Dgeneric.c56 int usb_choose_configuration(struct usb_device *udev) in usb_choose_configuration()
200 struct usb_device *udev = data; in __check_for_non_generic_match() local
211 static bool usb_generic_driver_match(struct usb_device *udev) in usb_generic_driver_match()
226 int usb_generic_driver_probe(struct usb_device *udev) in usb_generic_driver_probe()
253 void usb_generic_driver_disconnect(struct usb_device *udev) in usb_generic_driver_disconnect()
265 int usb_generic_driver_suspend(struct usb_device *udev, pm_message_t msg) in usb_generic_driver_suspend()
293 int usb_generic_driver_resume(struct usb_device *udev, pm_message_t msg) in usb_generic_driver_resume()
H A Dquirks.c596 bool usb_endpoint_is_ignored(struct usb_device *udev, in usb_endpoint_is_ignored()
618 static bool usb_match_any_interface(struct usb_device *udev, in usb_match_any_interface()
644 static int usb_amd_resume_quirk(struct usb_device *udev) in usb_amd_resume_quirk()
656 static u32 usb_detect_static_quirks(struct usb_device *udev, in usb_detect_static_quirks()
675 static u32 usb_detect_dynamic_quirks(struct usb_device *udev) in usb_detect_dynamic_quirks()
698 void usb_detect_quirks(struct usb_device *udev) in usb_detect_quirks()
726 void usb_detect_interface_quirks(struct usb_device *udev) in usb_detect_interface_quirks()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_mmio.c19 static int virtio_mmio_get_config(struct udevice *udev, unsigned int offset, in virtio_mmio_get_config()
109 static int virtio_mmio_generation(struct udevice *udev, u32 *counter) in virtio_mmio_generation()
121 static int virtio_mmio_get_status(struct udevice *udev, u8 *status) in virtio_mmio_get_status()
130 static int virtio_mmio_set_status(struct udevice *udev, u8 status) in virtio_mmio_set_status()
142 static int virtio_mmio_reset(struct udevice *udev) in virtio_mmio_reset()
152 static int virtio_mmio_get_features(struct udevice *udev, u64 *features) in virtio_mmio_get_features()
166 static int virtio_mmio_set_features(struct udevice *udev) in virtio_mmio_set_features()
188 static struct virtqueue *virtio_mmio_setup_vq(struct udevice *udev, in virtio_mmio_setup_vq()
294 static int virtio_mmio_del_vqs(struct udevice *udev) in virtio_mmio_del_vqs()
334 static int virtio_mmio_ofdata_to_platdata(struct udevice *udev) in virtio_mmio_ofdata_to_platdata()
[all …]
H A Dvirtio_sandbox.c26 static int virtio_sandbox_get_config(struct udevice *udev, unsigned int offset, in virtio_sandbox_get_config()
32 static int virtio_sandbox_set_config(struct udevice *udev, unsigned int offset, in virtio_sandbox_set_config()
38 static int virtio_sandbox_get_status(struct udevice *udev, u8 *status) in virtio_sandbox_get_status()
47 static int virtio_sandbox_set_status(struct udevice *udev, u8 status) in virtio_sandbox_set_status()
59 static int virtio_sandbox_reset(struct udevice *udev) in virtio_sandbox_reset()
69 static int virtio_sandbox_get_features(struct udevice *udev, u64 *features) in virtio_sandbox_get_features()
78 static int virtio_sandbox_set_features(struct udevice *udev) in virtio_sandbox_set_features()
88 static struct virtqueue *virtio_sandbox_setup_vq(struct udevice *udev, in virtio_sandbox_setup_vq()
123 static int virtio_sandbox_del_vqs(struct udevice *udev) in virtio_sandbox_del_vqs()
134 static int virtio_sandbox_find_vqs(struct udevice *udev, unsigned int nvqs, in virtio_sandbox_find_vqs()
[all …]
H A Dvirtio_pci_modern.c177 static int virtio_pci_generation(struct udevice *udev, u32 *counter) in virtio_pci_generation()
186 static int virtio_pci_get_status(struct udevice *udev, u8 *status) in virtio_pci_get_status()
195 static int virtio_pci_set_status(struct udevice *udev, u8 status) in virtio_pci_set_status()
207 static int virtio_pci_reset(struct udevice *udev) in virtio_pci_reset()
226 static int virtio_pci_get_features(struct udevice *udev, u64 *features) in virtio_pci_get_features()
238 static int virtio_pci_set_features(struct udevice *udev) in virtio_pci_set_features()
256 static struct virtqueue *virtio_pci_setup_vq(struct udevice *udev, in virtio_pci_setup_vq()
325 static int virtio_pci_del_vqs(struct udevice *udev) in virtio_pci_del_vqs()
336 static int virtio_pci_find_vqs(struct udevice *udev, unsigned int nvqs, in virtio_pci_find_vqs()
441 static int virtio_pci_bind(struct udevice *udev) in virtio_pci_bind()
[all …]
H A Dvirtio_pci_legacy.c126 static int virtio_pci_get_status(struct udevice *udev, u8 *status) in virtio_pci_get_status()
135 static int virtio_pci_set_status(struct udevice *udev, u8 status) in virtio_pci_set_status()
147 static int virtio_pci_reset(struct udevice *udev) in virtio_pci_reset()
163 static int virtio_pci_get_features(struct udevice *udev, u64 *features) in virtio_pci_get_features()
176 static int virtio_pci_set_features(struct udevice *udev) in virtio_pci_set_features()
190 static struct virtqueue *virtio_pci_setup_vq(struct udevice *udev, in virtio_pci_setup_vq()
238 static int virtio_pci_del_vqs(struct udevice *udev) in virtio_pci_del_vqs()
249 static int virtio_pci_find_vqs(struct udevice *udev, unsigned int nvqs, in virtio_pci_find_vqs()
265 static int virtio_pci_notify(struct udevice *udev, struct virtqueue *vq) in virtio_pci_notify()
278 static int virtio_pci_bind(struct udevice *udev) in virtio_pci_bind()
[all …]
/openbmc/u-boot/drivers/usb/eth/
H A Dlan7x.c19 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data) in lan7x_write_reg()
60 static int lan7x_phy_wait_not_busy(struct usb_device *udev) in lan7x_phy_wait_not_busy()
119 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_read() local
127 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_write() local
144 static int lan7x_wait_eeprom(struct usb_device *udev) in lan7x_wait_eeprom()
152 static int lan7x_read_eeprom(struct usb_device *udev, in lan7x_read_eeprom()
181 int lan7x_phylib_register(struct udevice *udev) in lan7x_phylib_register()
222 int lan7x_eth_phylib_config_start(struct udevice *udev) in lan7x_eth_phylib_config_start()
262 int lan7x_update_flowcontrol(struct usb_device *udev, in lan7x_update_flowcontrol()
329 int lan7x_pmt_phy_reset(struct usb_device *udev, in lan7x_pmt_phy_reset()
[all …]
H A Dlan75xx.c38 static int lan75xx_phy_gig_workaround(struct usb_device *udev, in lan75xx_phy_gig_workaround()
59 static int lan75xx_update_flowcontrol(struct usb_device *udev, in lan75xx_update_flowcontrol()
75 static int lan75xx_set_receive_filter(struct usb_device *udev) in lan75xx_set_receive_filter()
83 static void lan75xx_start_tx_path(struct usb_device *udev) in lan75xx_start_tx_path()
93 static void lan75xx_start_rx_path(struct usb_device *udev) in lan75xx_start_rx_path()
104 static int lan75xx_basic_reset(struct usb_device *udev, in lan75xx_basic_reset()
133 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_write_hwaddr() local
165 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_start() local
242 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_read_rom_hwaddr() local
259 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_probe() local
H A Dlan78xx.c162 struct usb_device *udev) in lan78xx_read_otp_mac()
183 static int lan78xx_update_flowcontrol(struct usb_device *udev, in lan78xx_update_flowcontrol()
200 struct usb_device *udev, in lan78xx_read_mac()
247 static int lan78xx_set_receive_filter(struct usb_device *udev) in lan78xx_set_receive_filter()
255 static void lan78xx_start_tx_path(struct usb_device *udev) in lan78xx_start_tx_path()
265 static void lan78xx_start_rx_path(struct usb_device *udev) in lan78xx_start_rx_path()
276 static int lan78xx_basic_reset(struct usb_device *udev, in lan78xx_basic_reset()
305 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_write_hwaddr() local
337 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_eth_start() local
409 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_read_rom_hwaddr() local
[all …]
H A Dmcs7830.c161 static int mcs7830_phy_emit_wait(struct usb_device *udev, in mcs7830_phy_emit_wait()
252 static int mcs7830_write_config(struct usb_device *udev, in mcs7830_write_config()
302 static int mcs7830_set_autoneg(struct usb_device *udev) in mcs7830_set_autoneg()
343 static int mcs7830_get_rev(struct usb_device *udev) in mcs7830_get_rev()
367 static int mcs7830_apply_fixup(struct usb_device *udev) in mcs7830_apply_fixup()
403 static int mcs7830_basic_reset(struct usb_device *udev, in mcs7830_basic_reset()
486 static int mcs7830_init_common(struct usb_device *udev) in mcs7830_init_common()
511 struct usb_device *udev = ueth->pusb_dev; in mcs7830_send_common() local
850 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_eth_start() local
892 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_write_hwaddr() local
[all …]
H A Dsmsc95xx.c204 static int smsc95xx_phy_wait_not_busy(struct usb_device *udev) in smsc95xx_phy_wait_not_busy()
280 static int smsc95xx_wait_eeprom(struct usb_device *udev) in smsc95xx_wait_eeprom()
345 static int smsc95xx_phy_initialize(struct usb_device *udev, in smsc95xx_phy_initialize()
365 struct usb_device *udev) in smsc95xx_init_mac_address()
447 static void smsc95xx_start_tx_path(struct usb_device *udev, in smsc95xx_start_tx_path()
463 static void smsc95xx_start_rx_path(struct usb_device *udev, in smsc95xx_start_rx_path()
719 struct usb_device *udev = dev->pusb_dev; in smsc95xx_init() local
809 struct usb_device *udev = dev->pusb_dev; in smsc95xx_write_hwaddr() local
935 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_eth_start() local
1019 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_write_hwaddr() local
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_user.c106 struct tcmu_dev *udev; member
305 struct tcmu_dev *udev = nl_cmd->udev; in tcmu_fail_netlink_cmd() local
374 struct tcmu_dev *udev = NULL; in tcmu_genl_cmd_done() local
1324 struct tcmu_dev *udev = cmd->tcmu_dev; in tcmu_handle_completion() local
1603 struct tcmu_dev *udev; in tcmu_alloc_device() local
1645 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_dev_call_rcu() local
2199 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_configure_device() local
2314 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_free_device() local
2322 struct tcmu_dev *udev = TCMU_DEV(dev); in tcmu_destroy_device() local
3188 struct tcmu_dev *udev; in find_free_blocks() local
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c191 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_mthd() local
207 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd08() local
215 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd16() local
223 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_rd32() local
231 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr08() local
239 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr16() local
247 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_wr32() local
256 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_map() local
267 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_fini() local
288 struct nvkm_udevice *udev = nvkm_udevice(object); in nvkm_udevice_init() local
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c115 struct xhci_ctrl *xhci_get_ctrl(struct usb_device *udev) in xhci_get_ctrl()
288 static unsigned int xhci_parse_frame_interval(struct usb_device *udev, in xhci_parse_frame_interval()
330 static unsigned int xhci_get_endpoint_interval(struct usb_device *udev, in xhci_get_endpoint_interval()
386 static u32 xhci_get_endpoint_mult(struct usb_device *udev, in xhci_get_endpoint_mult()
397 static u32 xhci_get_endpoint_max_burst(struct usb_device *udev, in xhci_get_endpoint_max_burst()
418 static u32 xhci_get_max_esit_payload(struct usb_device *udev, in xhci_get_max_esit_payload()
489 static int xhci_set_configuration(struct usb_device *udev) in xhci_set_configuration()
706 static int _xhci_alloc_device(struct usb_device *udev) in _xhci_alloc_device()
745 int usb_alloc_device(struct usb_device *udev) in usb_alloc_device()
760 int xhci_check_maxpacket(struct usb_device *udev) in xhci_check_maxpacket()
[all …]
H A Dusb-uclass.c45 int submit_control_msg(struct usb_device *udev, unsigned long pipe, in submit_control_msg()
80 struct int_queue *create_int_queue(struct usb_device *udev, in create_int_queue()
94 void *poll_int_queue(struct usb_device *udev, struct int_queue *queue) in poll_int_queue()
105 int destroy_int_queue(struct usb_device *udev, struct int_queue *queue) in destroy_int_queue()
116 int usb_alloc_device(struct usb_device *udev) in usb_alloc_device()
128 int usb_reset_root_port(struct usb_device *udev) in usb_reset_root_port()
139 int usb_update_hub_device(struct usb_device *udev) in usb_update_hub_device()
150 int usb_get_max_xfer_size(struct usb_device *udev, size_t *size) in usb_get_max_xfer_size()
348 struct usb_device *udev; in find_child_devnum() local
685 struct usb_device *udev; in usb_detect_change() local
[all …]
/openbmc/linux/drivers/input/misc/
H A Duinput.c75 struct uinput_device *udev = input_get_drvdata(dev); in uinput_dev_event() local
146 static int uinput_request_send(struct uinput_device *udev, in uinput_request_send()
239 struct uinput_device *udev = input_get_drvdata(dev); in uinput_dev_upload_effect() local
262 struct uinput_device *udev = input_get_drvdata(dev); in uinput_dev_erase_effect() local
461 static int uinput_dev_setup(struct uinput_device *udev, in uinput_dev_setup()
489 static int uinput_abs_setup(struct uinput_device *udev, in uinput_abs_setup()
650 struct uinput_device *udev = file->private_data; in uinput_write() local
708 struct uinput_device *udev = file->private_data; in uinput_read() local
743 struct uinput_device *udev = file->private_data; in uinput_poll() local
756 struct uinput_device *udev = file->private_data; in uinput_release() local
[all …]
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_usb.c300 static int init_usb(struct lte_udev *udev) in init_usb()
383 struct lte_udev *udev = in do_rx() local
489 struct lte_udev *udev = priv_dev; in gdm_usb_recv() local
640 struct lte_udev *udev = in do_tx() local
709 struct lte_udev *udev = priv_dev; in gdm_usb_sdu_send() local
765 struct lte_udev *udev = priv_dev; in gdm_usb_hci_send() local
798 struct lte_udev *udev = priv_dev; in gdm_usb_get_endian() local
808 struct lte_udev *udev = NULL; in gdm_usb_probe() local
885 struct lte_udev *udev; in gdm_usb_disconnect() local
908 struct lte_udev *udev; in gdm_usb_suspend() local
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dath3k.c202 static int ath3k_load_firmware(struct usb_device *udev, in ath3k_load_firmware()
254 static int ath3k_get_state(struct usb_device *udev, unsigned char *state) in ath3k_get_state()
262 static int ath3k_get_version(struct usb_device *udev, in ath3k_get_version()
271 static int ath3k_load_fwfile(struct usb_device *udev, in ath3k_load_fwfile()
325 static void ath3k_switch_pid(struct usb_device *udev) in ath3k_switch_pid()
331 static int ath3k_set_normal_mode(struct usb_device *udev) in ath3k_set_normal_mode()
352 static int ath3k_load_patch(struct usb_device *udev) in ath3k_load_patch()
405 static int ath3k_load_syscfg(struct usb_device *udev) in ath3k_load_syscfg()
459 struct usb_device *udev = interface_to_usbdev(intf); in ath3k_probe() local
/openbmc/linux/drivers/leds/
H A Duleds.c42 struct uleds_device *udev = container_of(led_cdev, struct uleds_device, in uleds_brightness_set() local
54 struct uleds_device *udev; in uleds_open() local
76 struct uleds_device *udev = file->private_data; in uleds_write() local
134 struct uleds_device *udev = file->private_data; in uleds_read() local
172 struct uleds_device *udev = file->private_data; in uleds_poll() local
184 struct uleds_device *udev = file->private_data; in uleds_release() local
/openbmc/linux/drivers/usb/host/
H A Dxhci.c2530 struct usb_device *udev, in xhci_drop_ep_from_interval_table()
2591 struct usb_device *udev, in xhci_add_ep_to_interval_table()
2773 struct usb_device *udev, in xhci_configure_endpoint()
3034 struct usb_device *udev; in xhci_endpoint_disable() local
3084 struct usb_device *udev; in xhci_endpoint_reset() local
3276 struct usb_device *udev, in xhci_calculate_streams_and_bitmask()
3308 struct usb_device *udev, in xhci_calculate_no_streams_bitmask()
3664 struct usb_device *udev) in xhci_discover_or_reset_device()
4582 struct usb_device *udev, in xhci_calculate_intel_u1_timeout()
4620 struct usb_device *udev, in xhci_calculate_u1_timeout()
[all …]
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dfirmware.c12 static int send_vendor_request(struct usb_device *udev, int request, in send_vendor_request()
21 static int send_vendor_command(struct usb_device *udev, int request, in send_vendor_command()
32 struct usb_device *udev = interface_to_usbdev(intf); in plfxlc_download_fpga() local
145 struct usb_device *udev = interface_to_usbdev(intf); in plfxlc_download_xl_firmware() local
238 struct usb_device *udev = interface_to_usbdev(intf); in plfxlc_upload_mac_and_serial() local

12345678910>>...15