Home
last modified time | relevance | path

Searched refs:udev (Results 76 - 100 of 878) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dbcm203x.c48 struct usb_device *udev; member
66 struct usb_device *udev = urb->dev; in bcm203x_complete() local
69 BT_DBG("udev %p urb %p", udev, urb); in bcm203x_complete()
81 usb_fill_bulk_urb(urb, udev, usb_sndbulkpipe(udev, BCM203X_OUT_EP), in bcm203x_complete()
91 usb_fill_int_urb(urb, udev, usb_rcvintpipe(udev, BCM203X_IN_EP), in bcm203x_complete()
111 usb_fill_int_urb(urb, udev, usb_rcvintpipe(udev, BCM203X_IN_E in bcm203x_complete()
155 struct usb_device *udev = interface_to_usbdev(intf); bcm203x_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dsierra_ms.c48 static int sierra_set_ms_mode(struct usb_device *udev, __u16 eSWocMode) in sierra_set_ms_mode() argument
51 dev_dbg(&udev->dev, "SWIMS: %s", "DEVICE MODE SWITCH\n"); in sierra_set_ms_mode()
52 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in sierra_set_ms_mode()
64 static int sierra_get_swoc_info(struct usb_device *udev, in sierra_get_swoc_info() argument
69 dev_dbg(&udev->dev, "SWIMS: Attempting to get TRU-Install info\n"); in sierra_get_swoc_info()
71 result = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in sierra_get_swoc_info()
98 struct usb_device *udev = interface_to_usbdev(intf); in truinst_show() local
108 result = sierra_get_swoc_info(udev, swocInf in truinst_show()
131 struct usb_device *udev; sierra_ms_init() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Dsierra_ms.c48 static int sierra_set_ms_mode(struct usb_device *udev, __u16 eSWocMode) in sierra_set_ms_mode() argument
51 dev_dbg(&udev->dev, "SWIMS: %s", "DEVICE MODE SWITCH\n"); in sierra_set_ms_mode()
52 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in sierra_set_ms_mode()
64 static int sierra_get_swoc_info(struct usb_device *udev, in sierra_get_swoc_info() argument
69 dev_dbg(&udev->dev, "SWIMS: Attempting to get TRU-Install info\n"); in sierra_get_swoc_info()
71 result = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), in sierra_get_swoc_info()
98 struct usb_device *udev = interface_to_usbdev(intf); in truinst_show() local
108 result = sierra_get_swoc_info(udev, swocInf in truinst_show()
131 struct usb_device *udev; sierra_ms_init() local
[all...]
/third_party/eudev/src/udev/
H A Dudev-watch.c31 #include "udev.h"
39 int udev_watch_init(struct udev *udev) { in udev_watch_init() argument
49 void udev_watch_restore(struct udev *udev) { in udev_watch_restore() argument
53 if (rename(UDEV_ROOT_RUN "/udev/watch", UDEV_ROOT_RUN "/udev/watch.old") == 0) { in udev_watch_restore()
57 dir = opendir(UDEV_ROOT_RUN "/udev/watch.old"); in udev_watch_restore()
59 log_error_errno(errno, "unable to open old watches dir " UDEV_ROOT_RUN "/udev/watch.old; old watches will not be restored: %m"); in udev_watch_restore()
76 dev = udev_device_new_from_device_id(udev, devic in udev_watch_restore()
95 udev_watch_begin(struct udev *udev, struct udev_device *dev) udev_watch_begin() argument
121 udev_watch_end(struct udev *udev, struct udev_device *dev) udev_watch_end() argument
141 udev_watch_lookup(struct udev *udev, int wd) udev_watch_lookup() argument
[all...]
H A Dudev-builtin-kmod.c32 #include "udev.h"
36 static int load_module(struct udev *udev, const char *alias) { in load_module() argument
71 struct udev *udev = udev_device_get_udev(dev); in builtin_kmod() local
84 load_module(udev, argv[i]); in builtin_kmod()
90 /* called at udev startup and reload */
91 static int builtin_kmod_init(struct udev *udev) { in builtin_kmod_init() argument
100 kmod_set_log_fn(ctx, udev_kmod_log, udev); in builtin_kmod_init()
106 builtin_kmod_exit(struct udev *udev) builtin_kmod_exit() argument
112 builtin_kmod_validate(struct udev *udev) builtin_kmod_validate() argument
[all...]
H A Dudev-builtin.c28 #include "udev.h"
48 void udev_builtin_init(struct udev *udev) { in udev_builtin_init() argument
56 builtins[i]->init(udev); in udev_builtin_init()
61 void udev_builtin_exit(struct udev *udev) { in udev_builtin_exit() argument
69 builtins[i]->exit(udev); in udev_builtin_exit()
74 bool udev_builtin_validate(struct udev *udev) { in udev_builtin_validate() argument
78 if (builtins[i]->validate && builtins[i]->validate(udev)) in udev_builtin_validate()
83 udev_builtin_list(struct udev *udev) udev_builtin_list() argument
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_util.c40 struct usb_device *udev; in device_set_usb_desc() local
55 udev = uaa->device; in device_set_usb_desc()
67 do_unlock = usbd_ctrl_lock(udev); in device_set_usb_desc()
69 temp_p = (char *)udev->scratch.data; in device_set_usb_desc()
73 err = usbd_req_get_string_any(udev, NULL, temp_p, in device_set_usb_desc()
74 sizeof(udev->scratch.data), in device_set_usb_desc()
79 usb_devinfo(udev, temp_p, in device_set_usb_desc()
80 sizeof(udev->scratch.data)); in device_set_usb_desc()
84 usbd_ctrl_unlock(udev); in device_set_usb_desc()
88 device_get_nameunit(udev in device_set_usb_desc()
200 usb_check_request(struct usb_device *udev, struct usb_device_request *req) usb_check_request() argument
[all...]
H A Dusb_transfer.c152 usbd_get_dma_delay(struct usb_device *udev) in usbd_get_dma_delay() argument
157 mtod = udev->bus->methods; in usbd_get_dma_delay()
161 (mtod->get_dma_delay) (udev, &temp); in usbd_get_dma_delay()
366 xfer->flags_int.usb_mode = parm->udev->flags.usb_mode; in usbd_transfer_setup_sub()
856 usbd_transfer_setup(struct usb_device *udev, in usbd_transfer_setup() argument
910 do_unlock = usbd_ctrl_lock(udev); in usbd_transfer_setup()
915 parm = &udev->scratch.xfer_setup[0].parm; in usbd_transfer_setup()
918 parm->udev = udev; in usbd_transfer_setup()
919 parm->speed = usbd_get_speed(udev); in usbd_transfer_setup()
2643 struct usb_device *udev; usbd_pipe_start() local
3030 usbd_ctrl_transfer_setup(struct usb_device *udev) usbd_ctrl_transfer_setup() argument
3109 usbd_clear_stall_locked(struct usb_device *udev, struct usb_endpoint *ep) usbd_clear_stall_locked() argument
3129 usbd_clear_data_toggle(struct usb_device *udev, struct usb_endpoint *ep) usbd_clear_data_toggle() argument
3246 struct usb_device *udev; usbd_transfer_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c1383 static int xhci_check_args(struct usb_hcd *hcd, struct usb_device *udev, in xhci_check_args() argument
1389 if (!hcd || (check_ep && !ep) || !udev) { in xhci_check_args()
1393 if (!udev->parent) { in xhci_check_args()
1400 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1406 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1407 if (virt_dev->udev != udev) { in xhci_check_args()
1408 xhci_dbg(xhci, "xHCI %s called with udev and " in xhci_check_args()
1421 struct usb_device *udev, struc
1781 xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) xhci_drop_endpoint() argument
1866 xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) xhci_add_endpoint() argument
2009 xhci_configure_endpoint_result(struct xhci_hcd *xhci, struct usb_device *udev, u32 *cmd_status) xhci_configure_endpoint_result() argument
2059 xhci_evaluate_context_result(struct xhci_hcd *xhci, struct usb_device *udev, u32 *cmd_status) xhci_evaluate_context_result() argument
2216 xhci_get_block_size(struct usb_device *udev) xhci_get_block_size() argument
2539 xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_drop_ep_from_interval_table() argument
2603 xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_add_ep_to_interval_table() argument
2790 xhci_configure_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct xhci_command *command, bool ctx_change, bool must_succeed) xhci_configure_endpoint() argument
2910 xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_check_bandwidth() argument
3008 xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_reset_bandwidth() argument
3128 struct usb_device *udev; xhci_endpoint_disable() local
3180 struct usb_device *udev; xhci_endpoint_reset() local
3307 xhci_check_streams_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint *ep, unsigned int slot_id) xhci_check_streams_endpoint() argument
3373 xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int *num_streams, u32 *changed_ep_bitmask) xhci_calculate_streams_and_bitmask() argument
3405 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3462 xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) xhci_alloc_streams() argument
3629 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
3761 xhci_discover_or_reset_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_discover_or_reset_device() argument
3923 xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_free_dev() argument
4035 xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_alloc_dev() argument
4123 xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev, enum xhci_setup_dev setup) xhci_setup_device() argument
4309 xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_address_device() argument
4314 xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_enable_device() argument
4337 xhci_change_max_exit_latency(struct xhci_hcd *xhci, struct usb_device *udev, u16 max_exit_latency) xhci_change_max_exit_latency() argument
4403 xhci_calculate_hird_besl(struct xhci_hcd *xhci, struct usb_device *udev) xhci_calculate_hird_besl() argument
4438 xhci_calculate_usb2_hw_lpm_params(struct usb_device *udev) xhci_calculate_usb2_hw_lpm_params() argument
4459 xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, struct usb_device *udev, int enable) xhci_set_usb2_hardware_lpm() argument
4589 xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device() argument
4625 xhci_get_timeout_no_hub_lpm(struct usb_device *udev, enum usb3_link_state state) xhci_get_timeout_no_hub_lpm() argument
4675 xhci_calculate_intel_u1_timeout( struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_intel_u1_timeout() argument
4713 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_u1_timeout() argument
4756 xhci_calculate_intel_u2_timeout( struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_intel_u2_timeout() argument
4777 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_u2_timeout() argument
4808 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_call_host_update_timeout_for_endpoint() argument
4822 xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_endpoint() argument
4847 xhci_update_timeout_for_interface(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_interface *alt, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_interface() argument
4864 xhci_check_intel_tier_policy(struct usb_device *udev, enum usb3_link_state state) xhci_check_intel_tier_policy() argument
4888 xhci_check_tier_policy(struct xhci_hcd *xhci, struct usb_device *udev, enum usb3_link_state state) xhci_check_tier_policy() argument
4903 xhci_calculate_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_calculate_lpm_timeout() argument
4970 calculate_max_exit_latency(struct usb_device *udev, enum usb3_link_state state_changed, u16 hub_encoded_timeout) calculate_max_exit_latency() argument
5016 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
5055 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
5071 xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, struct usb_device *udev, int enable) xhci_set_usb2_hardware_lpm() argument
5077 xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device() argument
5082 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
5088 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
5370 struct usb_device *udev; xhci_clear_tt_buffer_complete() local
[all...]
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dusb_controller.c329 struct usb_device *udev; in usb_bus_explore() local
332 udev = bus->devices[USB_ROOT_HUB_ADDR]; in usb_bus_explore()
337 if (udev != NULL) { in usb_bus_explore()
339 uhub_explore_handle_re_enumerate(udev); in usb_bus_explore()
343 if ((udev != NULL) && (udev->hub != NULL)) { in usb_bus_explore()
373 (void)(udev->hub->explore) (udev); in usb_bus_explore()
390 struct usb_device *udev; in usb_bus_detach() local
394 udev in usb_bus_detach()
424 struct usb_device *udev; usb_bus_suspend() local
481 struct usb_device *udev; usb_bus_resume() local
564 struct usb_device *udev; usb_bus_shutdown() local
912 usb_proc_explore_mwait(struct usb_device *udev, void *pm1, void *pm2) usb_proc_explore_mwait() argument
918 usb_proc_explore_msignal(struct usb_device *udev, void *pm1, void *pm2) usb_proc_explore_msignal() argument
924 usb_proc_explore_lock(struct usb_device *udev) usb_proc_explore_lock() argument
930 usb_proc_explore_unlock(struct usb_device *udev) usb_proc_explore_unlock() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci.c1372 static int xhci_check_args(struct usb_hcd *hcd, struct usb_device *udev, in xhci_check_args() argument
1378 if (!hcd || (check_ep && !ep) || !udev) { in xhci_check_args()
1382 if (!udev->parent) { in xhci_check_args()
1389 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1395 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1396 if (virt_dev->udev != udev) { in xhci_check_args()
1397 xhci_dbg(xhci, "xHCI %s called with udev and " in xhci_check_args()
1410 struct usb_device *udev, struc
1770 xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) xhci_drop_endpoint() argument
1853 xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) xhci_add_endpoint() argument
1988 xhci_configure_endpoint_result(struct xhci_hcd *xhci, struct usb_device *udev, u32 *cmd_status) xhci_configure_endpoint_result() argument
2038 xhci_evaluate_context_result(struct xhci_hcd *xhci, struct usb_device *udev, u32 *cmd_status) xhci_evaluate_context_result() argument
2195 xhci_get_block_size(struct usb_device *udev) xhci_get_block_size() argument
2517 xhci_drop_ep_from_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_drop_ep_from_interval_table() argument
2578 xhci_add_ep_to_interval_table(struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) xhci_add_ep_to_interval_table() argument
2762 xhci_configure_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct xhci_command *command, bool ctx_change, bool must_succeed) xhci_configure_endpoint() argument
2882 xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_check_bandwidth() argument
2981 xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) xhci_reset_bandwidth() argument
3024 struct usb_device *udev; xhci_endpoint_disable() local
3074 struct usb_device *udev; xhci_endpoint_reset() local
3199 xhci_check_streams_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint *ep, unsigned int slot_id) xhci_check_streams_endpoint() argument
3265 xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int *num_streams, u32 *changed_ep_bitmask) xhci_calculate_streams_and_bitmask() argument
3297 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3354 xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) xhci_alloc_streams() argument
3521 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
3653 xhci_discover_or_reset_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_discover_or_reset_device() argument
3815 xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_free_dev() argument
3925 xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev) xhci_alloc_dev() argument
4014 xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev, enum xhci_setup_dev setup) xhci_setup_device() argument
4198 xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_address_device() argument
4203 xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_enable_device() argument
4226 xhci_change_max_exit_latency(struct xhci_hcd *xhci, struct usb_device *udev, u16 max_exit_latency) xhci_change_max_exit_latency() argument
4300 xhci_calculate_hird_besl(struct xhci_hcd *xhci, struct usb_device *udev) xhci_calculate_hird_besl() argument
4335 xhci_calculate_usb2_hw_lpm_params(struct usb_device *udev) xhci_calculate_usb2_hw_lpm_params() argument
4356 xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, struct usb_device *udev, int enable) xhci_set_usb2_hardware_lpm() argument
4474 xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device() argument
4510 xhci_get_timeout_no_hub_lpm(struct usb_device *udev, enum usb3_link_state state) xhci_get_timeout_no_hub_lpm() argument
4560 xhci_calculate_intel_u1_timeout( struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_intel_u1_timeout() argument
4598 xhci_calculate_u1_timeout(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_u1_timeout() argument
4641 xhci_calculate_intel_u2_timeout( struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_intel_u2_timeout() argument
4662 xhci_calculate_u2_timeout(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc) xhci_calculate_u2_timeout() argument
4693 xhci_call_host_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_call_host_update_timeout_for_endpoint() argument
4707 xhci_update_timeout_for_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_endpoint_descriptor *desc, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_endpoint() argument
4732 xhci_update_timeout_for_interface(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_interface *alt, enum usb3_link_state state, u16 *timeout) xhci_update_timeout_for_interface() argument
4748 xhci_check_tier_policy(struct xhci_hcd *xhci, struct usb_device *udev, enum usb3_link_state state) xhci_check_tier_policy() argument
4777 xhci_calculate_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_calculate_lpm_timeout() argument
4841 calculate_max_exit_latency(struct usb_device *udev, enum usb3_link_state state_changed, u16 hub_encoded_timeout) calculate_max_exit_latency() argument
4885 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
4927 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
4943 xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd, struct usb_device *udev, int enable) xhci_set_usb2_hardware_lpm() argument
4949 xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev) xhci_update_device() argument
4954 xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_enable_usb3_lpm_timeout() argument
4960 xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) xhci_disable_usb3_lpm_timeout() argument
5256 struct usb_device *udev; xhci_clear_tt_buffer_complete() local
[all...]
/kernel/linux/linux-5.10/drivers/net/mdio/
H A Dmdio-mvusb.c26 struct usb_device *udev; member
42 err = usb_bulk_msg(mvusb->udev, usb_sndbulkpipe(mvusb->udev, 2), in mvusb_mdio_read()
47 err = usb_bulk_msg(mvusb->udev, usb_rcvbulkpipe(mvusb->udev, 6), in mvusb_mdio_read()
66 return usb_bulk_msg(mvusb->udev, usb_sndbulkpipe(mvusb->udev, 2), in mvusb_mdio_write()
84 mvusb->udev = usb_get_dev(interface_to_usbdev(interface)); in mvusb_mdio_probe()
104 usb_put_dev(mvusb->udev); in mvusb_mdio_probe()
111 struct usb_device *udev in mvusb_mdio_disconnect() local
[all...]
/kernel/linux/linux-6.6/drivers/net/mdio/
H A Dmdio-mvusb.c26 struct usb_device *udev; member
39 err = usb_bulk_msg(mvusb->udev, usb_sndbulkpipe(mvusb->udev, 2), in mvusb_mdio_read()
44 err = usb_bulk_msg(mvusb->udev, usb_rcvbulkpipe(mvusb->udev, 6), in mvusb_mdio_read()
60 return usb_bulk_msg(mvusb->udev, usb_sndbulkpipe(mvusb->udev, 2), in mvusb_mdio_write()
78 mvusb->udev = usb_get_dev(interface_to_usbdev(interface)); in mvusb_mdio_probe()
98 usb_put_dev(mvusb->udev); in mvusb_mdio_probe()
105 struct usb_device *udev in mvusb_mdio_disconnect() local
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dipheth.c88 struct usb_device *udev; member
119 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE, in ipheth_alloc_urbs()
124 rx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, in ipheth_alloc_urbs()
137 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE, tx_buf, in ipheth_alloc_urbs()
149 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE + IPHETH_IP_ALIGN, iphone->rx_buf, in ipheth_free_urbs()
151 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE, iphone->tx_buf, in ipheth_free_urbs()
241 struct usb_device *udev; in ipheth_carrier_set() local
247 udev = dev->udev; in ipheth_carrier_set()
248 retval = usb_control_msg(udev, in ipheth_carrier_set()
284 struct usb_device *udev = dev->udev; ipheth_get_macaddr() local
315 struct usb_device *udev = dev->udev; ipheth_rx_submit() local
335 struct usb_device *udev = dev->udev; ipheth_open() local
364 struct usb_device *udev = dev->udev; ipheth_tx() local
432 struct usb_device *udev = interface_to_usbdev(intf); ipheth_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/usbip/
H A Dstub_rx.c141 usb_lock_device(sdev->udev); in tweak_set_configuration_cmd()
142 err = usb_set_configuration(sdev->udev, config); in tweak_set_configuration_cmd()
143 usb_unlock_device(sdev->udev); in tweak_set_configuration_cmd()
145 dev_err(&sdev->udev->dev, "can't set config #%d, error %d\n", in tweak_set_configuration_cmd()
157 if (usb_lock_device_for_reset(sdev->udev, NULL) < 0) { in tweak_reset_device_cmd()
161 usb_reset_device(sdev->udev); in tweak_reset_device_cmd()
162 usb_unlock_device(sdev->udev); in tweak_reset_device_cmd()
307 dev_err(&sdev->udev->dev, "alloc stub_priv\n"); in stub_priv_alloc()
329 struct usb_device *udev = sdev->udev; in get_pipe() local
460 struct usb_device *udev = sdev->udev; stub_recv_cmd_submit() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/usbip/
H A Dstub_rx.c141 usb_lock_device(sdev->udev); in tweak_set_configuration_cmd()
142 err = usb_set_configuration(sdev->udev, config); in tweak_set_configuration_cmd()
143 usb_unlock_device(sdev->udev); in tweak_set_configuration_cmd()
145 dev_err(&sdev->udev->dev, "can't set config #%d, error %d\n", in tweak_set_configuration_cmd()
157 if (usb_lock_device_for_reset(sdev->udev, NULL) < 0) { in tweak_reset_device_cmd()
161 usb_reset_device(sdev->udev); in tweak_reset_device_cmd()
162 usb_unlock_device(sdev->udev); in tweak_reset_device_cmd()
307 dev_err(&sdev->udev->dev, "alloc stub_priv\n"); in stub_priv_alloc()
329 struct usb_device *udev = sdev->udev; in get_pipe() local
460 struct usb_device *udev = sdev->udev; stub_recv_cmd_submit() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dquirks.c587 bool usb_endpoint_is_ignored(struct usb_device *udev, in usb_endpoint_is_ignored() argument
595 if (!usb_match_device(udev, id)) in usb_endpoint_is_ignored()
598 if (!usb_match_one_id_intf(udev, intf, id)) in usb_endpoint_is_ignored()
609 static bool usb_match_any_interface(struct usb_device *udev, in usb_match_any_interface() argument
614 for (i = 0; i < udev->descriptor.bNumConfigurations; ++i) { in usb_match_any_interface()
615 struct usb_host_config *cfg = &udev->config[i]; in usb_match_any_interface()
627 if (usb_match_one_id_intf(udev, intf, id)) in usb_match_any_interface()
635 static int usb_amd_resume_quirk(struct usb_device *udev) in usb_amd_resume_quirk() argument
639 hcd = bus_to_hcd(udev->bus); in usb_amd_resume_quirk()
641 if (udev in usb_amd_resume_quirk()
647 usb_detect_static_quirks(struct usb_device *udev, const struct usb_device_id *id) usb_detect_static_quirks() argument
666 usb_detect_dynamic_quirks(struct usb_device *udev) usb_detect_dynamic_quirks() argument
689 usb_detect_quirks(struct usb_device *udev) usb_detect_quirks() argument
717 usb_detect_interface_quirks(struct usb_device *udev) usb_detect_interface_quirks() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dquirks.c586 bool usb_endpoint_is_ignored(struct usb_device *udev, in usb_endpoint_is_ignored() argument
594 if (!usb_match_device(udev, id)) in usb_endpoint_is_ignored()
597 if (!usb_match_one_id_intf(udev, intf, id)) in usb_endpoint_is_ignored()
608 static bool usb_match_any_interface(struct usb_device *udev, in usb_match_any_interface() argument
613 for (i = 0; i < udev->descriptor.bNumConfigurations; ++i) { in usb_match_any_interface()
614 struct usb_host_config *cfg = &udev->config[i]; in usb_match_any_interface()
626 if (usb_match_one_id_intf(udev, intf, id)) in usb_match_any_interface()
634 static int usb_amd_resume_quirk(struct usb_device *udev) in usb_amd_resume_quirk() argument
638 hcd = bus_to_hcd(udev->bus); in usb_amd_resume_quirk()
640 if (udev in usb_amd_resume_quirk()
646 usb_detect_static_quirks(struct usb_device *udev, const struct usb_device_id *id) usb_detect_static_quirks() argument
665 usb_detect_dynamic_quirks(struct usb_device *udev) usb_detect_dynamic_quirks() argument
688 usb_detect_quirks(struct usb_device *udev) usb_detect_quirks() argument
716 usb_detect_interface_quirks(struct usb_device *udev) usb_detect_interface_quirks() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dusbtest.c150 struct usb_device *udev; in get_endpoints() local
196 udev = testdev_to_usbdev(dev); in get_endpoints()
199 tmp = usb_set_interface(udev, in get_endpoints()
207 dev->in_pipe = usb_rcvbulkpipe(udev, in get_endpoints()
210 dev->out_pipe = usb_sndbulkpipe(udev, in get_endpoints()
215 dev->in_iso_pipe = usb_rcvisocpipe(udev, in get_endpoints()
222 dev->out_iso_pipe = usb_sndisocpipe(udev, in get_endpoints()
229 dev->in_int_pipe = usb_rcvintpipe(udev, in get_endpoints()
236 dev->out_int_pipe = usb_sndintpipe(udev, in get_endpoints()
258 struct usb_device *udev, in usbtest_alloc_urb()
257 usbtest_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, unsigned transfer_flags, unsigned offset, u8 bInterval, usb_complete_t complete_fn) usbtest_alloc_urb() argument
317 simple_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, u8 bInterval) simple_alloc_urb() argument
327 complicated_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, u8 bInterval) complicated_alloc_urb() argument
342 get_maxpacket(struct usb_device *udev, int pipe) get_maxpacket() argument
350 ss_isoc_get_packet_num(struct usb_device *udev, int pipe) ss_isoc_get_packet_num() argument
463 struct usb_device *udev = urb->dev; simple_io() local
609 struct usb_device *udev = testdev_to_usbdev(tdev); perform_sglist() local
672 struct usb_device *udev = interface_to_usbdev(iface); get_altsetting() local
693 struct usb_device *udev; set_altsetting() local
829 struct usb_device *udev = interface_to_usbdev(iface); ch9_postconfig() local
1203 struct usb_device *udev = testdev_to_usbdev(dev); test_ctrl_queue() local
1558 struct usb_device *udev = testdev_to_usbdev(dev); unlink_queued() local
1756 struct usb_device *udev = testdev_to_usbdev(dev); halt_simple() local
1788 struct usb_device *udev = testdev_to_usbdev(dev); toggle_sync_simple() local
1827 struct usb_device *udev; ctrl_out() local
1974 iso_alloc_urb( struct usb_device *udev, int pipe, struct usb_endpoint_descriptor *desc, long bytes, unsigned offset ) iso_alloc_urb() argument
2042 struct usb_device *udev; test_queue() local
2183 struct usb_device *udev = testdev_to_usbdev(dev); usbtest_do_ioctl() local
2764 struct usb_device *udev; usbtest_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dusbtest.c150 struct usb_device *udev; in get_endpoints() local
196 udev = testdev_to_usbdev(dev); in get_endpoints()
199 tmp = usb_set_interface(udev, in get_endpoints()
207 dev->in_pipe = usb_rcvbulkpipe(udev, in get_endpoints()
210 dev->out_pipe = usb_sndbulkpipe(udev, in get_endpoints()
215 dev->in_iso_pipe = usb_rcvisocpipe(udev, in get_endpoints()
222 dev->out_iso_pipe = usb_sndisocpipe(udev, in get_endpoints()
229 dev->in_int_pipe = usb_rcvintpipe(udev, in get_endpoints()
236 dev->out_int_pipe = usb_sndintpipe(udev, in get_endpoints()
258 struct usb_device *udev, in usbtest_alloc_urb()
257 usbtest_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, unsigned transfer_flags, unsigned offset, u8 bInterval, usb_complete_t complete_fn) usbtest_alloc_urb() argument
317 simple_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, u8 bInterval) simple_alloc_urb() argument
327 complicated_alloc_urb( struct usb_device *udev, int pipe, unsigned long bytes, u8 bInterval) complicated_alloc_urb() argument
342 get_maxpacket(struct usb_device *udev, int pipe) get_maxpacket() argument
350 ss_isoc_get_packet_num(struct usb_device *udev, int pipe) ss_isoc_get_packet_num() argument
463 struct usb_device *udev = urb->dev; simple_io() local
609 struct usb_device *udev = testdev_to_usbdev(tdev); perform_sglist() local
672 struct usb_device *udev = interface_to_usbdev(iface); get_altsetting() local
693 struct usb_device *udev; set_altsetting() local
829 struct usb_device *udev = interface_to_usbdev(iface); ch9_postconfig() local
1203 struct usb_device *udev = testdev_to_usbdev(dev); test_ctrl_queue() local
1558 struct usb_device *udev = testdev_to_usbdev(dev); unlink_queued() local
1756 struct usb_device *udev = testdev_to_usbdev(dev); halt_simple() local
1788 struct usb_device *udev = testdev_to_usbdev(dev); toggle_sync_simple() local
1827 struct usb_device *udev; ctrl_out() local
1974 iso_alloc_urb( struct usb_device *udev, int pipe, struct usb_endpoint_descriptor *desc, long bytes, unsigned offset ) iso_alloc_urb() argument
2042 struct usb_device *udev; test_queue() local
2183 struct usb_device *udev = testdev_to_usbdev(dev); usbtest_do_ioctl() local
2764 struct usb_device *udev; usbtest_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/siano/
H A Dsmsusb.c50 struct usb_device *udev; member
164 dev->udev, in smsusb_submit_urb()
165 usb_rcvbulkpipe(dev->udev, dev->in_ep), in smsusb_submit_urb()
229 ret = usb_bulk_msg(dev->udev, usb_sndbulkpipe(dev->udev, 2), in smsusb_sendrequest()
250 static int smsusb1_load_firmware(struct usb_device *udev, int id, int board_id) in smsusb1_load_firmware() argument
267 rc = request_firmware(&fw, fw_filename, &udev->dev); in smsusb1_load_firmware()
273 rc = request_firmware(&fw, fw_filename, &udev->dev); in smsusb1_load_firmware()
286 rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, in smsusb1_load_firmware()
363 struct usb_device *udev = dev->udev; siano_media_device_register() local
502 struct usb_device *udev = interface_to_usbdev(intf); smsusb_probe() local
596 struct usb_device *udev = interface_to_usbdev(intf); smsusb_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/siano/
H A Dsmsusb.c50 struct usb_device *udev; member
164 dev->udev, in smsusb_submit_urb()
165 usb_rcvbulkpipe(dev->udev, dev->in_ep), in smsusb_submit_urb()
229 ret = usb_bulk_msg(dev->udev, usb_sndbulkpipe(dev->udev, 2), in smsusb_sendrequest()
250 static int smsusb1_load_firmware(struct usb_device *udev, int id, int board_id) in smsusb1_load_firmware() argument
267 rc = request_firmware(&fw, fw_filename, &udev->dev); in smsusb1_load_firmware()
273 rc = request_firmware(&fw, fw_filename, &udev->dev); in smsusb1_load_firmware()
286 rc = usb_bulk_msg(udev, usb_sndbulkpipe(udev, in smsusb1_load_firmware()
363 struct usb_device *udev = dev->udev; siano_media_device_register() local
502 struct usb_device *udev = interface_to_usbdev(intf); smsusb_probe() local
596 struct usb_device *udev = interface_to_usbdev(intf); smsusb_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c31 static int usb_cypress_writemem(struct usb_device *udev,u16 addr,u8 *data, u8 len) in usb_cypress_writemem() argument
33 return usb_control_msg(udev, usb_sndctrlpipe(udev,0), in usb_cypress_writemem()
37 int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type) in usb_cypress_load_firmware() argument
51 if (usb_cypress_writemem(udev, cpu_cs_register, buf, 1) != 1) in usb_cypress_load_firmware()
56 ret = usb_cypress_writemem(udev, hx->addr, hx->data, hx->len); in usb_cypress_load_firmware()
74 if (usb_cypress_writemem(udev, cpu_cs_register, buf, 1) != 1) { in usb_cypress_load_firmware()
87 int dvb_usb_download_firmware(struct usb_device *udev, in dvb_usb_download_firmware() argument
93 if ((ret = request_firmware(&fw, props->firmware, &udev->dev)) != 0) { in dvb_usb_download_firmware()
105 ret = usb_cypress_load_firmware(udev, f in dvb_usb_download_firmware()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c31 static int usb_cypress_writemem(struct usb_device *udev,u16 addr,u8 *data, u8 len) in usb_cypress_writemem() argument
33 return usb_control_msg(udev, usb_sndctrlpipe(udev,0), in usb_cypress_writemem()
37 int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type) in usb_cypress_load_firmware() argument
51 if (usb_cypress_writemem(udev, cpu_cs_register, buf, 1) != 1) in usb_cypress_load_firmware()
56 ret = usb_cypress_writemem(udev, hx->addr, hx->data, hx->len); in usb_cypress_load_firmware()
74 if (usb_cypress_writemem(udev, cpu_cs_register, buf, 1) != 1) { in usb_cypress_load_firmware()
87 int dvb_usb_download_firmware(struct usb_device *udev, in dvb_usb_download_firmware() argument
93 if ((ret = request_firmware(&fw, props->firmware, &udev->dev)) != 0) { in dvb_usb_download_firmware()
105 ret = usb_cypress_load_firmware(udev, f in dvb_usb_download_firmware()
[all...]
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dipheth.c94 struct usb_device *udev; member
127 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, in ipheth_alloc_urbs()
132 rx_buf = usb_alloc_coherent(iphone->udev, iphone->rx_buf_len, in ipheth_alloc_urbs()
145 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, tx_buf, in ipheth_alloc_urbs()
157 usb_free_coherent(iphone->udev, iphone->rx_buf_len, iphone->rx_buf, in ipheth_free_urbs()
159 usb_free_coherent(iphone->udev, IPHETH_TX_BUF_SIZE, iphone->tx_buf, in ipheth_free_urbs()
342 struct usb_device *udev; in ipheth_carrier_set() local
348 udev = dev->udev; in ipheth_carrier_set()
349 retval = usb_control_msg(udev, in ipheth_carrier_set()
385 struct usb_device *udev = dev->udev; ipheth_get_macaddr() local
416 struct usb_device *udev = dev->udev; ipheth_enable_ncm() local
437 struct usb_device *udev = dev->udev; ipheth_rx_submit() local
457 struct usb_device *udev = dev->udev; ipheth_open() local
486 struct usb_device *udev = dev->udev; ipheth_tx() local
552 struct usb_device *udev = interface_to_usbdev(intf); ipheth_probe() local
[all...]

Completed in 21 milliseconds

12345678910>>...36