Home
last modified time | relevance | path

Searched refs:ep_index (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-sideband.c91 sb->eps[ep->ep_index] = NULL; in __xhci_sideband_remove_endpoint()
121 unsigned int ep_index) in xhci_sideband_notify_ep_ring_free() argument
126 evt.evt_data = &ep_index; in xhci_sideband_notify_ep_ring_free()
150 unsigned int ep_index; in xhci_sideband_add_endpoint() local
157 ep_index = xhci_get_endpoint_index(&host_ep->desc); in xhci_sideband_add_endpoint()
158 ep = &sb->vdev->eps[ep_index]; in xhci_sideband_add_endpoint()
171 if (sb->eps[ep_index] || ep->sideband) in xhci_sideband_add_endpoint()
175 sb->eps[ep_index] = ep; in xhci_sideband_add_endpoint()
198 unsigned int ep_index; in xhci_sideband_remove_endpoint() local
202 ep_index = xhci_get_endpoint_index(&host_ep->desc); in xhci_sideband_remove_endpoint()
[all …]
H A Dxhci-debugfs.h115 int ep_index);
118 int ep_index);
121 int ep_index);
132 int ep_index) { } in xhci_debugfs_create_endpoint() argument
136 int ep_index) { } in xhci_debugfs_remove_endpoint() argument
140 int ep_index) { } in xhci_debugfs_create_stream_files() argument
H A Dxhci-mtk-sch.c918 unsigned int ep_index; in add_ep_quirk() local
921 ep_index = xhci_get_endpoint_index(&ep->desc); in add_ep_quirk()
922 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
985 unsigned int ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_mtk_check_bandwidth() local
994 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
/linux/drivers/usb/gadget/udc/
H A Dfsl_usb2_udc.h524 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF) macro
526 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
533 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))
538 if (ep_index(ep) != 0) in get_qh_by_ep()
H A Dfsl_udc_core.c599 struct_ep_qh_setup(udc, (unsigned char) ep_index(ep), in fsl_ep_enable()
607 dr_ep_setup((unsigned char) ep_index(ep), in fsl_ep_enable()
641 ep_num = ep_index(ep); in fsl_ep_disable()
713 fsl_writel(ep_is_in(ep) ? (1 << (ep_index(ep) + 16)) in fsl_prime_ep()
714 : (1 << (ep_index(ep))), &dr_regs->endpointprime); in fsl_prime_ep()
723 ? (1 << (ep_index(ep) + 16)) in fsl_queue_td()
724 : (1 << (ep_index(ep))); in fsl_queue_td()
727 if (!(list_empty(&ep->queue)) && !(ep_index(ep) == 0)) { in fsl_queue_td()
930 ep_num = ep_index(ep); in fsl_ep_dequeue()
1025 ep_num = (unsigned char)(ep_index(ep)); in fsl_ep_set_halt()
[all …]
H A Dfsl_qe_udc.h152 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF) macro
154 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
H A Dtegra-xudc.c2706 unsigned int ep_index = trb_read_endpoint_id(event); in tegra_xudc_handle_transfer_event() local
2707 struct tegra_xudc_ep *ep = &xudc->ep[ep_index]; in tegra_xudc_handle_transfer_event()
2713 ep_index); in tegra_xudc_handle_transfer_event()
2734 dev_info(xudc->dev, "stream rejected on EP %u\n", ep_index); in tegra_xudc_handle_transfer_event()
2739 dev_info(xudc->dev, "prime pipe received on EP %u\n", ep_index); in tegra_xudc_handle_transfer_event()
2748 ep_wait_for_stopped(xudc, ep_index); in tegra_xudc_handle_transfer_event()
2757 ep_wait_for_stopped(xudc, ep_index); in tegra_xudc_handle_transfer_event()
2770 comp_code, ep_index); in tegra_xudc_handle_transfer_event()
2772 ep_halt(xudc, ep_index); in tegra_xudc_handle_transfer_event()
2793 ep_index); in tegra_xudc_handle_transfer_event()
[all …]
/linux/sound/soc/sof/intel/
H A Dhda.c1172 int ep_index = 0; in find_acpi_adr_device()
1216 endpoints[ep_index].num = j; in find_acpi_adr_device()
1219 endpoints[ep_index].aggregated = 1; in find_acpi_adr_device()
1220 endpoints[ep_index].group_id = amp_group_id; in find_acpi_adr_device()
1221 endpoints[ep_index].group_position = *amp_index; in find_acpi_adr_device()
1225 endpoints[ep_index].aggregated = 0; in find_acpi_adr_device()
1226 endpoints[ep_index].group_id = 0; in find_acpi_adr_device()
1227 endpoints[ep_index].group_position = 0; in find_acpi_adr_device()
1229 ep_index++; in find_acpi_adr_device()
1232 adr_dev[index].num_endpoints = ep_index; in find_acpi_adr_device()
1163 int ep_index = 0; find_acpi_adr_device() local
[all...]
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c507 unsigned int ep_index) in cdnsp_get_ep_ctx() argument
510 ep_index++; in cdnsp_get_ep_ctx()
512 ep_index++; in cdnsp_get_ep_ctx()
514 return (struct cdnsp_ep_ctx *)(ctx->bytes + (ep_index * ctx->ctx_size)); in cdnsp_get_ep_ctx()