Home
last modified time | relevance | path

Searched refs:ep_type (Results 1 – 25 of 27) sorted by relevance

12

/openbsd-src/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_link_enc_cfg.c154 .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-src/sys/dev/usb/dwc2/
H A Ddwc2_hcd.h127 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 Ddwc2_hcdddma.c82 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()
724 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL && in dwc2_fill_host_dma_desc()
804 if (qh->ep_type == USB_ENDPOINT_XFER_CONTROL) in dwc2_init_non_isoc_dma_desc()
[all …]
H A Ddwc2_hcdintr.c529 if (xfer_length && chan->ep_type == USB_ENDPOINT_XFER_BULK && in dwc2_update_urb_state()
565 if (chan->ep_type != USB_ENDPOINT_XFER_CONTROL) { in dwc2_hcd_save_data_toggle()
646 chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_update_isoc_urb_state()
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()
1041 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC && chan->ep_is_in && in dwc2_hc_xfercomp_intr()
1275 !(chan->ep_type == USB_ENDPOINT_XFER_CONTROL && in dwc2_hc_nak_intr()
1353 if (chan->ep_type != USB_ENDPOINT_XFER_ISOC || chan->ep_is_in) { in dwc2_hc_ack_intr()
1429 if (chan->ep_is_in && chan->ep_type == USB_ENDPOINT_XFER_ISOC && in dwc2_hc_nyet_intr()
[all …]
H A Ddwc2_hcd.c479 dev_dbg(hsotg->dev, " ep_type: %d\n", chan->ep_type); in dwc2_dump_channel_info()
556 switch (chan->ep_type) { in dwc2_hc_enable_slave_ints()
645 if (chan->ep_type == USB_ENDPOINT_XFER_ISOC) in dwc2_hc_enable_dma_ints()
650 chan->ep_type != USB_ENDPOINT_XFER_ISOC) { in dwc2_hc_enable_dma_ints()
656 if (chan->ep_type != USB_ENDPOINT_XFER_INT) in dwc2_hc_enable_dma_ints()
735 hcchar |= chan->ep_type << HCCHAR_EPTYPE_SHIFT & HCCHAR_EPTYPE_MASK; in dwc2_hc_init()
753 chan->ep_type); in dwc2_hc_init()
839 (chan->ep_type == USB_ENDPOINT_XFER_ISOC || in dwc2_hc_halt()
840 chan->ep_type == USB_ENDPOINT_XFER_INT)) { in dwc2_hc_halt()
925 if (chan->ep_type == USB_ENDPOINT_XFER_CONTROL || in dwc2_hc_halt()
[all …]
H A Ddwc2_hcdqueue.c835 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-src/sys/dev/pci/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia_bw.c49 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 Dlink_dp_training.c743 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_CNT) 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 Dlink_ddc.c526 if (ddc->link->ep_type != DISPLAY_ENDPOINT_PHY) in try_to_configure_aux_timeout()
H A Dlink_dp_capability.c1382 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-src/sys/dev/pci/drm/amd/display/dc/link/
H A Dlink_detection.c177 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 Dlink_dpms.c125 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 Dlink_factory.c500 link->ep_type = DISPLAY_ENDPOINT_PHY; in construct_phy()
795 link->ep_type = DISPLAY_ENDPOINT_USB4_DPIA; in construct_dpia()
/openbsd-src/sys/dev/fdt/
H A Drkanxdp.c198 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 Dtipd.c167 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 Drkvop.c579 rk3399_vop_set_polarity(struct rkvop_softc *sc, enum vop_ep_type ep_type, uint32_t pol) in rk3399_vop_init()
583 switch (ep_type) { in rk3399_vop_init()
586 rk3399_vop_set_polarity(struct rkvop_softc * sc,enum vop_ep_type ep_type,uint32_t pol) rk3399_vop_set_polarity() argument
H A Drkdwhdmi.c234 if (rep && rep->ep_type == EP_DRM_CRTC) in rkdwhdmi_ep_activate()
/openbsd-src/sys/dev/ofw/
H A Dofw_misc.h200 enum endpoint_type ep_type; member
H A Dofw_misc.c791 ep->ep_type = type; in endpoint_register()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/
H A Ddc_types.h927 /* Extends graphics_object_id with an additional member 'ep_type' for
933 enum display_endpoint_type ep_type;
932 enum display_endpoint_type ep_type; global() member
H A Ddc.h1530 enum display_endpoint_type ep_type; member
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn31/
H A Ddcn31_hwseq.c161 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in dcn31_init_hw()
/openbsd-src/sys/dev/usb/
H A Duvideo.c1239 uint8_t ep_dir, ep_type; in uvideo_vs_parse_desc_alt()
1286 ep_type = UE_GET_XFERTYPE(ed->bmAttributes); in uvideo_vs_set_alt()
1287 if (ep_dir == UE_DIR_IN && ep_type == UE_ISOCHRONOUS) in uvideo_vs_set_alt()
1289 else if (ep_dir == UE_DIR_IN && ep_type == UE_BULK) in uvideo_vs_set_alt()
1337 uint8_t ep_type; in uvideo_vs_set_alt()
1369 ep_type = UE_GET_XFERTYPE(ed->bmAttributes); in uvideo_desc_len()
1370 if (ep_type == UE_ISOCHRONOUS) in uvideo_desc_len()
1372 else if (ep_type == UE_BULK) in uvideo_desc_len()
1205 uint8_t ep_dir, ep_type; uvideo_vs_parse_desc_alt() local
/openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_resource.c1250 if (link->ep_type == DISPLAY_ENDPOINT_PHY && pool->stream_enc[i]->id == in dcn10_find_first_free_match_stream_enc_for_link()
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c2728 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()

12