/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci.c | 1434 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local 1467 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket() 1468 if (!ctrl_ctx) { in xhci_check_maxpacket() 1483 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket() 1484 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket() 1492 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket() 1786 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local 1810 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 1811 if (!ctrl_ctx) { in xhci_drop_endpoint() 1823 le32_to_cpu(ctrl_ctx in xhci_drop_endpoint() 1872 struct xhci_input_control_ctx *ctrl_ctx; xhci_add_endpoint() local 1977 struct xhci_input_control_ctx *ctrl_ctx; xhci_zero_in_ctx() local 2109 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_count_num_new_endpoints() argument 2130 xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_count_num_dropped_endpoints() argument 2156 xhci_reserve_host_resources(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_reserve_host_resources() argument 2183 xhci_free_host_resources(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_free_host_resources() argument 2202 xhci_finish_resource_reservation(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_finish_resource_reservation() argument 2703 struct xhci_input_control_ctx *ctrl_ctx; xhci_reserve_bandwidth() local 2797 struct xhci_input_control_ctx *ctrl_ctx; xhci_configure_endpoint() local 2916 struct xhci_input_control_ctx *ctrl_ctx; xhci_check_bandwidth() local 3032 xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, struct xhci_input_control_ctx *ctrl_ctx, u32 add_flags, u32 drop_flags) xhci_setup_input_ctx_for_config_ep() argument 3048 struct xhci_input_control_ctx *ctrl_ctx; xhci_setup_input_ctx_for_quirk() local 3183 struct xhci_input_control_ctx *ctrl_ctx; xhci_endpoint_reset() local 3470 struct xhci_input_control_ctx *ctrl_ctx; xhci_alloc_streams() local 3637 struct xhci_input_control_ctx *ctrl_ctx; xhci_free_streams() local 4132 struct xhci_input_control_ctx *ctrl_ctx; xhci_setup_device() local 4342 struct xhci_input_control_ctx *ctrl_ctx; xhci_change_max_exit_latency() local 5106 struct xhci_input_control_ctx *ctrl_ctx; xhci_update_hub_device() local [all...] |
H A D | xhci-trace.h | 431 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 432 TP_ARGS(ctrl_ctx), 439 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags); 440 __entry->add = le32_to_cpu(ctrl_ctx->add_flags); 447 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 448 TP_ARGS(ctrl_ctx) 452 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 453 TP_ARGS(ctrl_ctx)
|
H A D | xhci.h | 798 #define EP_IS_ADDED(ctrl_ctx, i) \ 799 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1))) 800 #define EP_IS_DROPPED(ctrl_ctx, i) \ 801 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) 2026 struct xhci_input_control_ctx *ctrl_ctx,
|
H A D | xhci-mem.c | 1573 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() 1589 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info() 1595 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info() 1571 xhci_update_bw_info(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_input_control_ctx *ctrl_ctx, struct xhci_virt_device *virt_dev) xhci_update_bw_info() argument
|
H A D | xhci-ring.c | 1403 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local 1418 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1419 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep() 1424 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep() 1425 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); in xhci_handle_cmd_config_ep()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci.c | 1423 struct xhci_input_control_ctx *ctrl_ctx; in xhci_check_maxpacket() local 1456 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_maxpacket() 1457 if (!ctrl_ctx) { in xhci_check_maxpacket() 1472 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket() 1473 ctrl_ctx->drop_flags = 0; in xhci_check_maxpacket() 1481 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_check_maxpacket() 1775 struct xhci_input_control_ctx *ctrl_ctx; in xhci_drop_endpoint() local 1799 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint() 1800 if (!ctrl_ctx) { in xhci_drop_endpoint() 1812 le32_to_cpu(ctrl_ctx in xhci_drop_endpoint() 1859 struct xhci_input_control_ctx *ctrl_ctx; xhci_add_endpoint() local 1956 struct xhci_input_control_ctx *ctrl_ctx; xhci_zero_in_ctx() local 2088 xhci_count_num_new_endpoints(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_count_num_new_endpoints() argument 2109 xhci_count_num_dropped_endpoints(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_count_num_dropped_endpoints() argument 2135 xhci_reserve_host_resources(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_reserve_host_resources() argument 2162 xhci_free_host_resources(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_free_host_resources() argument 2181 xhci_finish_resource_reservation(struct xhci_hcd *xhci, struct xhci_input_control_ctx *ctrl_ctx) xhci_finish_resource_reservation() argument 2675 struct xhci_input_control_ctx *ctrl_ctx; xhci_reserve_bandwidth() local 2769 struct xhci_input_control_ctx *ctrl_ctx; xhci_configure_endpoint() local 2888 struct xhci_input_control_ctx *ctrl_ctx; xhci_check_bandwidth() local 3006 xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, struct xhci_input_control_ctx *ctrl_ctx, u32 add_flags, u32 drop_flags) xhci_setup_input_ctx_for_config_ep() argument 3077 struct xhci_input_control_ctx *ctrl_ctx; xhci_endpoint_reset() local 3362 struct xhci_input_control_ctx *ctrl_ctx; xhci_alloc_streams() local 3529 struct xhci_input_control_ctx *ctrl_ctx; xhci_free_streams() local 4023 struct xhci_input_control_ctx *ctrl_ctx; xhci_setup_device() local 4231 struct xhci_input_control_ctx *ctrl_ctx; xhci_change_max_exit_latency() local 4978 struct xhci_input_control_ctx *ctrl_ctx; xhci_update_hub_device() local [all...] |
H A D | xhci-trace.h | 424 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 425 TP_ARGS(ctrl_ctx), 431 __entry->drop = le32_to_cpu(ctrl_ctx->drop_flags); 432 __entry->add = le32_to_cpu(ctrl_ctx->add_flags); 439 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 440 TP_ARGS(ctrl_ctx) 444 TP_PROTO(struct xhci_input_control_ctx *ctrl_ctx), 445 TP_ARGS(ctrl_ctx)
|
H A D | xhci.h | 801 #define EP_IS_ADDED(ctrl_ctx, i) \ 802 (le32_to_cpu(ctrl_ctx->add_flags) & (1 << (i + 1))) 803 #define EP_IS_DROPPED(ctrl_ctx, i) \ 804 (le32_to_cpu(ctrl_ctx->drop_flags) & (1 << (i + 1))) 2064 struct xhci_input_control_ctx *ctrl_ctx,
|
H A D | xhci-mem.c | 1524 struct xhci_input_control_ctx *ctrl_ctx, in xhci_update_bw_info() 1540 if (!EP_IS_ADDED(ctrl_ctx, i) && EP_IS_DROPPED(ctrl_ctx, i)) { in xhci_update_bw_info() 1546 if (EP_IS_ADDED(ctrl_ctx, i)) { in xhci_update_bw_info() 1522 xhci_update_bw_info(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_input_control_ctx *ctrl_ctx, struct xhci_virt_device *virt_dev) xhci_update_bw_info() argument
|
H A D | xhci-ring.c | 1493 struct xhci_input_control_ctx *ctrl_ctx; in xhci_handle_cmd_config_ep() local 1506 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep() 1507 if (!ctrl_ctx) { in xhci_handle_cmd_config_ep() 1512 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 441 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_zero_in_ctx() local 446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 454 ctrl_ctx->drop_flags = 0; in cdnsp_zero_in_ctx() 455 ctrl_ctx->add_flags = 0; in cdnsp_zero_in_ctx() 638 struct cdnsp_input_control_ctx *ctrl_ctx; in cdnsp_update_eps_configuration() local 644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 647 if (ctrl_ctx->add_flags == 0 && ctrl_ctx->drop_flags == 0) in cdnsp_update_eps_configuration() 650 ctrl_ctx->add_flags |= cpu_to_le32(SLOT_FLAG); in cdnsp_update_eps_configuration() 651 ctrl_ctx in cdnsp_update_eps_configuration() 855 struct cdnsp_input_control_ctx *ctrl_ctx; cdnsp_setup_device() local 929 struct cdnsp_input_control_ctx *ctrl_ctx; cdnsp_gadget_ep_enable() local 1002 struct cdnsp_input_control_ctx *ctrl_ctx; cdnsp_gadget_ep_disable() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | usbtest.c | 1067 struct ctrl_ctx { struct 1089 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() 1205 struct ctrl_ctx context; in test_ctrl_queue()
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | usbtest.c | 1067 struct ctrl_ctx { struct 1089 struct ctrl_ctx *ctx = urb->context; in ctrl_complete() 1205 struct ctrl_ctx context; in test_ctrl_queue()
|