Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1968 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn20_populate_dml_writeback_from_context() argument
1979 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context()
1980 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context()
1981 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context()
1982 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
1983 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context()
1984 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context()
1985 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; in dcn20_populate_dml_writeback_from_context()
1986 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; in dcn20_populate_dml_writeback_from_context()
1987 pipes[pipe_cnt].dout.wb.wb_htaps_chroma = wb_info->dwb_params.scaler_taps.h_taps_c; in dcn20_populate_dml_writeback_from_context()
[all …]
Ddcn20_resource.h53 struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes);
59 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
118 display_e2e_pipe_params_st *pipes,
152 display_e2e_pipe_params_st *pipes,
158 display_e2e_pipe_params_st *pipes,
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c102 struct pipe_ctx *pipes = in dp_enable_link_phy() local
118 if (pipes[i].stream != NULL && in dp_enable_link_phy()
119 pipes[i].stream->link == link) { in dp_enable_link_phy()
120 if (pipes[i].clock_source != NULL && in dp_enable_link_phy()
121 pipes[i].clock_source->id != CLOCK_SOURCE_ID_DP_DTO) { in dp_enable_link_phy()
122 pipes[i].clock_source = dp_cs; in dp_enable_link_phy()
123 pipes[i].stream_res.pix_clk_params.requested_pix_clk_100hz = in dp_enable_link_phy()
124 pipes[i].stream->timing.pix_clk_100hz; in dp_enable_link_phy()
125 pipes[i].clock_source->funcs->program_pix_clk( in dp_enable_link_phy()
126 pipes[i].clock_source, in dp_enable_link_phy()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c46 const display_e2e_pipe_params_st *pipes,
53 const display_e2e_pipe_params_st *pipes, in dml_get_voltage_level() argument
59 || memcmp(pipes, mode_lib->vba.cache_pipes, in dml_get_voltage_level()
64 memcpy(mode_lib->vba.cache_pipes, pipes, sizeof(*pipes) * num_pipes); in dml_get_voltage_level()
67 if (need_recalculate && pipes[0].clks_cfg.dppclk_mhz != 0) in dml_get_voltage_level()
80 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_…
82 recalculate_params(mode_lib, pipes, num_pipes); \
108 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_…
111 recalculate_params(mode_lib, pipes, num_pipes); \
164 const display_e2e_pipe_params_st *pipes, in get_total_immediate_flip_bytes() argument
[all …]
Ddisplay_mode_lib.c129 display_e2e_pipe_params_st *pipes, in dml_log_pipe_params() argument
141 pipe_src = &(pipes[i].pipe.src); in dml_log_pipe_params()
142 pipe_dest = &(pipes[i].pipe.dest); in dml_log_pipe_params()
143 scale_ratio_depth = &(pipes[i].pipe.scale_ratio_depth); in dml_log_pipe_params()
144 scale_taps = &(pipes[i].pipe.scale_taps); in dml_log_pipe_params()
145 dout = &(pipes[i].dout); in dml_log_pipe_params()
146 clks_cfg = &(pipes[i].clks_cfg); in dml_log_pipe_params()
Ddisplay_mode_vba.h34 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_…
58 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_…
108 const display_e2e_pipe_params_st *pipes,
112 const display_e2e_pipe_params_st *pipes,
116 const display_e2e_pipe_params_st *pipes,
120 const display_e2e_pipe_params_st *pipes,
/Linux-v5.10/sound/sparc/
Ddbri.c313 struct dbri_pipe pipes[DBRI_NO_PIPES]; /* DBRI's 32 data pipes */ member
770 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize()
814 return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1)); in pipe_active()
834 sdp = dbri->pipes[pipe].sdp; in reset_pipe()
847 desc = dbri->pipes[pipe].first_desc; in reset_pipe()
853 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe()
855 dbri->pipes[pipe].desc = -1; in reset_pipe()
856 dbri->pipes[pipe].first_desc = -1; in reset_pipe()
883 dbri->pipes[pipe].sdp = sdp; in setup_pipe()
884 dbri->pipes[pipe].desc = -1; in setup_pipe()
[all …]
/Linux-v5.10/drivers/platform/goldfish/
Dgoldfish_pipe.c198 struct goldfish_pipe **pipes; member
525 pipe = dev->pipes[id]; in signalled_pipes_add_locked()
657 if (!dev->pipes[id]) in get_free_pipe_id_locked()
666 struct goldfish_pipe **pipes = in get_free_pipe_id_locked() local
667 kcalloc(new_capacity, sizeof(*pipes), GFP_ATOMIC); in get_free_pipe_id_locked()
668 if (!pipes) in get_free_pipe_id_locked()
670 memcpy(pipes, dev->pipes, sizeof(*pipes) * dev->pipes_capacity); in get_free_pipe_id_locked()
671 kfree(dev->pipes); in get_free_pipe_id_locked()
672 dev->pipes = pipes; in get_free_pipe_id_locked()
735 dev->pipes[id] = pipe; in goldfish_pipe_open()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.h48 display_e2e_pipe_params_st *pipes,
60 display_e2e_pipe_params_st *pipes,
64 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
68 display_e2e_pipe_params_st *pipes);
Ddcn30_resource.c1450 display_e2e_pipe_params_st *pipes) in dcn30_populate_dml_pipes_from_context() argument
1455 dcn20_populate_dml_pipes_from_context(dc, context, pipes); in dcn30_populate_dml_pipes_from_context()
1461 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
1469 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn30_populate_dml_writeback_from_context() argument
1484 pipes[pipe_cnt].dout.wb_enable = 0; in dcn30_populate_dml_writeback_from_context()
1485 pipes[pipe_cnt].dout.num_active_wb = 0; in dcn30_populate_dml_writeback_from_context()
1491 pipes[pipe_cnt].dout.wb_enable = 1; in dcn30_populate_dml_writeback_from_context()
1492 pipes[pipe_cnt].dout.num_active_wb++; in dcn30_populate_dml_writeback_from_context()
1535 pipes[pipe_cnt].pipe.dest.pixel_rate_mhz, in dcn30_populate_dml_writeback_from_context()
1542 pipes[pipe_cnt].pipe.dest.htotal, in dcn30_populate_dml_writeback_from_context()
[all …]
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_event.c110 return (a->pipes[0] | a->pipes[1]) & in is_new_frame()
120 u64 evts_mask = evts->global | evts->pipes[0] | evts->pipes[1]; in komeda_print_events()
147 evt_str(&str, evts->pipes[0]); in komeda_print_events()
149 evt_str(&str, evts->pipes[1]); in komeda_print_events()
/Linux-v5.10/drivers/gpu/drm/tidss/
Dtidss_kms.c123 struct pipe pipes[TIDSS_MAX_PORTS]; in tidss_dispc_modeset_init() local
181 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init()
182 pipes[num_pipes].bridge = bridge; in tidss_dispc_modeset_init()
183 pipes[num_pipes].enc_type = enc_type; in tidss_dispc_modeset_init()
209 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init()
218 enc = tidss_encoder_create(tidss, pipes[i].enc_type, in tidss_dispc_modeset_init()
225 ret = drm_bridge_attach(enc, pipes[i].bridge, NULL, 0); in tidss_dispc_modeset_init()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c707 struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes);
1028 display_e2e_pipe_params_st *pipes, in calculate_wm_set_for_vlevel() argument
1035 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel()
1036 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel()
1037 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel()
1043 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1044 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel()
1045 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1046 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1047 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
[all …]
/Linux-v5.10/drivers/gpu/drm/omapdrm/
Domap_drv.c136 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_disconnect_pipelines()
166 pipe = &priv->pipes[priv->num_pipes++]; in omap_connect_pipelines()
169 if (priv->num_pipes == ARRAY_SIZE(priv->pipes)) { in omap_connect_pipelines()
288 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
312 sort(priv->pipes, priv->num_pipes, sizeof(priv->pipes[0]), in omap_modeset_init()
320 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
331 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
404 struct drm_connector *connector = priv->pipes[i].connector; in omap_modeset_enable_external_hpd()
409 if (priv->pipes[i].output->bridge) in omap_modeset_enable_external_hpd()
423 struct drm_connector *connector = priv->pipes[i].connector; in omap_modeset_disable_external_hpd()
[all …]
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c188 evts->pipes[0] |= KOMEDA_EVENT_FLIP; in d71_irq_handler()
190 evts->pipes[1] |= KOMEDA_EVENT_FLIP; in d71_irq_handler()
204 evts->pipes[0] |= get_pipeline_event(d71->pipes[0], gcu_status); in d71_irq_handler()
207 evts->pipes[1] |= get_pipeline_event(d71->pipes[1], gcu_status); in d71_irq_handler()
227 pipe = d71->pipes[i]; in d71_enable_irq()
246 pipe = d71->pipes[i]; in d71_disable_irq()
260 struct d71_pipeline *pipe = d71->pipes[master_pipe]; in d71_on_off_vblank()
435 d71->pipes[i] = to_d71_pipeline(pipe); in d71_enum_resources()
578 malidp_write32_mask(d71->pipes[i]->lpu_addr, LPU_TBU_CONTROL, in d71_connect_iommu()
/Linux-v5.10/net/nfc/nci/
Dhci.c115 hdev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes()
116 hdev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes()
126 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host()
127 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host()
128 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host()
285 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received()
314 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received()
315 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received()
336 ndev->hci_dev->pipes[delete_info->pipe].gate = in nci_hci_cmd_received()
338 ndev->hci_dev->pipes[delete_info->pipe].host = in nci_hci_cmd_received()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/
Dusb.c70 struct ath6kl_usb_pipe pipes[ATH6KL_USB_PIPE_MAX]; member
254 ath6kl_usb_free_pipe_resources(&ar_usb->pipes[i]); in ath6kl_usb_cleanup_pipe_resources()
352 pipe = &ar_usb->pipes[pipe_num]; in ath6kl_usb_setup_pipe_resources()
468 if (ar_usb->pipes[i].ar_usb != NULL) in ath6kl_usb_flush_all()
469 usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted); in ath6kl_usb_flush_all()
490 ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_cnt_thresh = 1; in ath6kl_usb_start_recv_pipes()
492 ath6kl_usb_post_recv_transfers(&ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA], in ath6kl_usb_start_recv_pipes()
639 pipe = &ar_usb->pipes[i]; in ath6kl_usb_create()
695 device->pipes[i].urb_cnt_thresh = in hif_start()
696 device->pipes[i].urb_alloc / 2; in hif_start()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dusb.c120 ath10k_usb_free_pipe_resources(ar, &ar_usb->pipes[i]); in ath10k_usb_cleanup_pipe_resources()
264 if (ar_usb->pipes[i].ar_usb) { in ath10k_usb_flush_all()
265 usb_kill_anchored_urbs(&ar_usb->pipes[i].urb_submitted); in ath10k_usb_flush_all()
266 cancel_work_sync(&ar_usb->pipes[i].io_complete_work); in ath10k_usb_flush_all()
275 ar_usb->pipes[ATH10K_USB_PIPE_RX_DATA].urb_cnt_thresh = 1; in ath10k_usb_start_recv_pipes()
278 &ar_usb->pipes[ATH10K_USB_PIPE_RX_DATA]); in ath10k_usb_start_recv_pipes()
395 ar_usb->pipes[i].urb_cnt_thresh = in ath10k_usb_hif_start()
396 ar_usb->pipes[i].urb_alloc / 2; in ath10k_usb_hif_start()
406 struct ath10k_usb_pipe *pipe = &ar_usb->pipes[pipe_id]; in ath10k_usb_hif_tx_sg()
471 return ar_usb->pipes[pipe_id].urb_cnt; in ath10k_usb_hif_get_free_queue_number()
[all …]
/Linux-v5.10/Documentation/driver-api/
Dxillybus.rst17 -- Seekable pipes
23 -- Channels, pipes, and the message channel
85 project to another (the number of data pipes needed in each direction and
90 Xillybus presents independent data streams, which resemble pipes or TCP/IP
125 possibly pressing CTRL-C as some stage, even though the xillybus_* pipes have
128 The driver and hardware are designed to behave sensibly as pipes, including:
138 device files are treated like two independent pipes (except for sharing a
144 Xillybus pipes are configured (on the IP core) to be either synchronous or
154 For FPGA to host pipes, asynchronous pipes allow data transfer from the FPGA
156 has been requested by a read() call. On synchronous pipes, only the amount
[all …]
/Linux-v5.10/Documentation/filesystems/
Dsplice.rst2 splice and pipes
13 pipes API
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h106 display_e2e_pipe_params_st *pipes,
112 display_e2e_pipe_params_st *pipes);
144 display_e2e_pipe_params_st *pipes);
149 display_e2e_pipe_params_st *pipes,
/Linux-v5.10/net/nfc/hci/
Dcore.c42 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes()
43 hdev->pipes[i].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_reset_pipes()
54 if (hdev->pipes[i].dest_host != host) in nfc_hci_reset_pipes_per_host()
57 hdev->pipes[i].gate = NFC_HCI_INVALID_GATE; in nfc_hci_reset_pipes_per_host()
58 hdev->pipes[i].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_reset_pipes_per_host()
197 gate = hdev->pipes[pipe].gate; in nfc_hci_cmd_received()
218 hdev->pipes[create_info->pipe].gate = create_info->dest_gate; in nfc_hci_cmd_received()
219 hdev->pipes[create_info->pipe].dest_host = in nfc_hci_cmd_received()
240 hdev->pipes[delete_info->pipe].gate = NFC_HCI_INVALID_GATE; in nfc_hci_cmd_received()
241 hdev->pipes[delete_info->pipe].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_cmd_received()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dsh_css.c135 struct ia_css_pipe *pipes[IA_CSS_PIPE_ID_NUM]; /* pipe handles */ member
405 struct ia_css_pipe *pipes[],
1500 assert(stream->pipes[i]); in sh_css_invalidate_shading_tables()
1501 sh_css_pipe_free_shading_table(stream->pipes[i]); in sh_css_invalidate_shading_tables()
1913 ia_css_pipeline_map(stream->pipes[i]->pipe_num, map); in map_sp_threads()
2019 main_pipe = stream->pipes[i]; in create_host_pipeline_structure()
2169 switch (stream->pipes[i]->mode) { in create_host_pipeline()
2171 err = create_host_preview_pipeline(stream->pipes[i]); in create_host_pipeline()
2174 err = create_host_video_pipeline(stream->pipes[i]); in create_host_pipeline()
2177 err = create_host_capture_pipeline(stream->pipes[i]); in create_host_pipeline()
[all …]
Datomisp_compat_css20.c198 if (stream_env->pipes[pipe_id]) { in __dump_pipe_config()
296 if (stream_env->pipes[j]) { in __dump_stream_config()
493 if (stream_env->pipes[i]) in __create_stream()
494 multi_pipes[pipe_index++] = stream_env->pipes[i]; in __create_stream()
546 if (!stream_env->pipes[i] || in __destroy_stream_pipes()
549 if (ia_css_pipe_destroy(stream_env->pipes[i]) in __destroy_stream_pipes()
555 stream_env->pipes[i] = NULL; in __destroy_stream_pipes()
759 &stream_env->pipes[pipe_id]); in __create_pipe()
764 &stream_env->pipes[pipe_id]); in __create_pipe()
788 if (asd->stream_env[i].pipes[j]) { in __create_pipes()
[all …]
/Linux-v5.10/drivers/nfc/st-nci/
Dse.c230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session()
232 ndev->hci_dev->pipes[pipe_info[2]].host = in st_nci_hci_load_session()
363 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received()
364 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received()
384 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received()
391 ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) in st_nci_hci_cmd_received()

1234