/openbsd/sys/dev/pci/drm/amd/display/dc/core/ |
H A D | dc_link_enc_cfg.c | 154 .ep_type = stream->link->ep_type}, in add_link_enc_assignment() 231 lhs->ep_type == rhs->ep_type) in are_ep_ids_equal() 247 .ep_type = link->ep_type}; in get_link_enc_used_by_link() 394 if (stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && in link_enc_cfg_link_encs_assign() 422 assignment.ep_id.ep_type == DISPLAY_ENDPOINT_PHY ? "PHY" : "DPIA", in link_enc_cfg_link_encs_assign() 423 assignment.ep_id.ep_type == DISPLAY_ENDPOINT_PHY ? in link_enc_cfg_link_encs_assign() 435 assignment.ep_id.ep_type == DISPLAY_ENDPOINT_PHY ? "PHY" : "DPIA", in link_enc_cfg_link_encs_assign() 436 assignment.ep_id.ep_type == DISPLAY_ENDPOINT_PHY ? in link_enc_cfg_link_encs_assign() 516 .ep_type = link->ep_type}; in link_enc_cfg_get_link_enc_used_by_link() 599 .ep_type = stream->link->ep_type}; in link_enc_cfg_get_link_enc_used_by_stream_current() [all …]
|
/openbsd/sys/dev/usb/dwc2/ |
H A D | dwc2_hcd.h | 127 unsigned ep_type:2; member 348 u8 ep_type; member 614 ((_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_BULK || \ 615 (_qh_ptr_)->ep_type == USB_ENDPOINT_XFER_CONTROL) 625 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc() 626 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc() 631 return qh->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_qh() 632 qh->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_qh()
|
H A D | dwc2_hcdddma.c | 82 return (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_max_desc_num() 100 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_desc_list_alloc() 134 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_desc_list_free() 266 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_update_frame_list() 368 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_init_ddma() 369 qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_hcd_qh_init_ddma() 416 if ((qh->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hcd_qh_free_ddma() 417 qh->ep_type == USB_ENDPOINT_XFER_INT) && in dwc2_hcd_qh_free_ddma() 804 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL) in dwc2_init_non_isoc_dma_desc() 856 switch (chan->ep_type) { in dwc2_hcd_start_xfer_ddma() [all …]
|
H A D | dwc2_hcdintr.c | 565 if (chan->ep_type != USB_ENDPOINT_XFER_CONTROL) { in dwc2_hcd_save_data_toggle() 789 switch (chan->ep_type) { in dwc2_release_channel() 846 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_halt_channel() 847 chan->ep_type == USB_ENDPOINT_XFER_BULK) { in dwc2_halt_channel() 1446 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_hc_nyet_intr() 1447 chan->ep_type == USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_nyet_intr() 1486 if (qh->ep_type != USB_ENDPOINT_XFER_ISOC || in dwc2_hc_nyet_intr() 1555 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_babble_intr() 1873 chan->ep_type == USB_ENDPOINT_XFER_BULK)) { in dwc2_hc_chhltd_intr_dma() 1971 if (chan->ep_type == USB_ENDPOINT_XFER_INT || in dwc2_hc_chhltd_intr_dma() [all …]
|
H A D | dwc2_hcd.c | 556 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints() 753 chan->ep_type); in dwc2_hc_init() 2448 chan->ep_type = USB_ENDPOINT_XFER_BULK; in dwc2_hc_init_xfer() 2452 chan->ep_type = USB_ENDPOINT_XFER_INT; in dwc2_hc_init_xfer() 2456 chan->ep_type = USB_ENDPOINT_XFER_ISOC; in dwc2_hc_init_xfer() 3945 urb->pipe_info.pipe_type = ep_type; in dwc2_hcd_urb_set_pipeinfo() 4782 u8 ep_type = 0; 4837 ep_type = USB_ENDPOINT_XFER_CONTROL; 4840 ep_type = USB_ENDPOINT_XFER_ISOC; 4843 ep_type = USB_ENDPOINT_XFER_BULK; [all …]
|
H A D | dwc2_hcdqueue.c | 835 if (qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in) in dwc2_uframe_schedule_split() 884 if (qh->ep_type == USB_ENDPOINT_XFER_INT) { in dwc2_uframe_schedule_split() 1516 u8 ep_type = dwc2_hcd_get_pipe_type(&urb->pipe_info); in dwc2_qh_init() local 1518 bool ep_is_isoc = (ep_type == USB_ENDPOINT_XFER_ISOC); in dwc2_qh_init() 1519 bool ep_is_int = (ep_type == USB_ENDPOINT_XFER_INT); in dwc2_qh_init() 1533 qh->ep_type = ep_type; in dwc2_qh_init() 1603 switch (qh->ep_type) { in dwc2_qh_init() 1846 !(qh->ep_type == USB_ENDPOINT_XFER_ISOC && !qh->ep_is_in)) in dwc2_next_for_periodic_split()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_dpia_bw.c | 49 return (tmp && DISPLAY_ENDPOINT_USB4_DPIA == tmp->ep_type in get_bw_alloc_proceed_flag() 172 dc_struct->links[i]->ep_type != DISPLAY_ENDPOINT_USB4_DPIA) in get_lowest_dpia_index() 201 if (!dc->links[i] || dc->links[i]->ep_type != DISPLAY_ENDPOINT_USB4_DPIA) in get_host_router_total_dp_tunnel_bw() 308 if (!(link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && link->hpd_status)) in link_dp_dpia_set_dptx_usb4_bw_alloc_support() 436 if (!(link && DISPLAY_ENDPOINT_USB4_DPIA == link->ep_type in dpia_handle_usb4_bandwidth_allocation_for_link()
|
H A D | link_dp_training.c | 743 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && link->dc->debug.dpia_debug.bits.force_non_lttpr) in override_training_settings() 917 …if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && repeater_cnt > 0 && repeater_cnt < MAX_REPEATER… in configure_lttpr_mode_non_transparent() 1054 if (link->ep_type == DISPLAY_ENDPOINT_PHY && in dpcd_set_link_settings() 1616 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) { in perform_link_training_with_retries() 1651 if (link->ep_type == DISPLAY_ENDPOINT_PHY) { in perform_link_training_with_retries()
|
H A D | link_ddc.c | 526 if (ddc->link->ep_type != DISPLAY_ENDPOINT_PHY) in try_to_configure_aux_timeout()
|
H A D | link_dp_capability.c | 1382 link->ep_type != DISPLAY_ENDPOINT_PHY || in get_usbc_cable_id() 1846 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && in retrieve_link_cap()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/link/ |
H A D | link_detection.c | 177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type() 684 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && in apply_dpia_mst_dsc_always_on_wa() 696 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in revert_dpia_mst_dsc_always_on_wa() 788 link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in verify_link_capability_non_destructive() 816 link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) { in should_verify_link_capability_destructively() 955 if (link->ep_type == DISPLAY_ENDPOINT_PHY && in detect_link_and_local_sink() 988 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA && in detect_link_and_local_sink() 1229 if (link->ep_type != DISPLAY_ENDPOINT_PHY) { in link_detect_connection_type()
|
H A D | link_dpms.c | 125 if (link->ep_type == DISPLAY_ENDPOINT_PHY && in link_blank_dp_stream() 686 if (pipe_ctx->stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in update_psp_stream_config() 695 if (pipe_ctx->stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in update_psp_stream_config() 704 config.usb4_enabled = (pipe_ctx->stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) ? in update_psp_stream_config() 2077 if (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in enable_link_dp() 2322 if (pipe_ctx->stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in link_set_dpms_off() 2546 if (pipe_ctx->stream->link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) in link_set_dpms_on()
|
H A D | link_factory.c | 500 link->ep_type = DISPLAY_ENDPOINT_PHY; in construct_phy() 795 link->ep_type = DISPLAY_ENDPOINT_USB4_DPIA; in construct_dpia()
|
/openbsd/sys/dev/fdt/ |
H A D | rkanxdp.c | 198 if (rep && rep->ep_type == EP_DRM_CRTC) in rkanxdp_ep_activate() 211 if (rep && rep->ep_type == EP_DRM_PANEL) in rkanxdp_ep_activate()
|
H A D | tipd.c | 167 if (rep == NULL || rep->ep_type != EP_USB_CONTROLLER_PORT) in tipd_connect() 184 if (rep == NULL || rep->ep_type != EP_USB_CONTROLLER_PORT) in tipd_disconnect()
|
H A D | rkvop.c | 579 rk3399_vop_set_polarity(struct rkvop_softc *sc, enum vop_ep_type ep_type, uint32_t pol) in rk3399_vop_set_polarity() argument 583 switch (ep_type) { in rk3399_vop_set_polarity()
|
H A D | rkdwhdmi.c | 234 if (rep && rep->ep_type == EP_DRM_CRTC) in rkdwhdmi_ep_activate()
|
/openbsd/sys/dev/ofw/ |
H A D | ofw_misc.h | 200 enum endpoint_type ep_type; member
|
H A D | ofw_misc.c | 791 ep->ep_type = type; in endpoint_register()
|
/openbsd/sys/dev/usb/ |
H A D | uvideo.c | 1239 uint8_t ep_dir, ep_type; in uvideo_vs_parse_desc_alt() local 1286 ep_type = UE_GET_XFERTYPE(ed->bmAttributes); in uvideo_vs_parse_desc_alt() 1287 if (ep_dir == UE_DIR_IN && ep_type == UE_ISOCHRONOUS) in uvideo_vs_parse_desc_alt() 1289 else if (ep_dir == UE_DIR_IN && ep_type == UE_BULK) in uvideo_vs_parse_desc_alt() 1337 uint8_t ep_type; in uvideo_vs_set_alt() local 1369 ep_type = UE_GET_XFERTYPE(ed->bmAttributes); in uvideo_vs_set_alt() 1370 if (ep_type == UE_ISOCHRONOUS) in uvideo_vs_set_alt() 1372 else if (ep_type == UE_BULK) in uvideo_vs_set_alt()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/ |
H A D | dc_types.h | 933 enum display_endpoint_type ep_type; member
|
H A D | dc.h | 1530 enum display_endpoint_type ep_type; member
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hwseq.c | 161 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in dcn31_init_hw()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/ |
H A D | dcn10_resource.c | 1250 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
|
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 2728 seq_printf(m, "%s\n", (link->ep_type == DISPLAY_ENDPOINT_USB4_DPIA) ? "yes" : in is_dpia_link_show() 2729 (link->ep_type == DISPLAY_ENDPOINT_PHY) ? "no" : "unknown"); in is_dpia_link_show()
|