Home
last modified time | relevance | path

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

1234

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dml/dcn2x/
Ddcn2x.c66 display_e2e_pipe_params_st *pipes) in dcn20_populate_dml_writeback_from_context() argument
79 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context()
80 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context()
81 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context()
82 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
83 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context()
84 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context()
85 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1; in dcn20_populate_dml_writeback_from_context()
86 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1; in dcn20_populate_dml_writeback_from_context()
87 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 …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1982 display_e2e_pipe_params_st *pipes, in dcn20_populate_dml_pipes_from_context() argument
2031 pipes[pipe_cnt].clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; in dcn20_populate_dml_pipes_from_context()
2033 pipes[pipe_cnt].dout.dsc_enable = res_ctx->pipe_ctx[i].stream->timing.flags.DSC; in dcn20_populate_dml_pipes_from_context()
2035 pipes[pipe_cnt].dout.dsc_slices = res_ctx->pipe_ctx[i].stream->timing.dsc_cfg.num_slices_h; in dcn20_populate_dml_pipes_from_context()
2037 pipes[pipe_cnt].pipe.src.dynamic_metadata_enable = true; in dcn20_populate_dml_pipes_from_context()
2039 pipes[pipe_cnt].pipe.src.dynamic_metadata_lines_before_active = in dcn20_populate_dml_pipes_from_context()
2043 pipes[pipe_cnt].pipe.src.dynamic_metadata_xmit_bytes = in dcn20_populate_dml_pipes_from_context()
2046 pipes[pipe_cnt].pipe.src.dcc = false; in dcn20_populate_dml_pipes_from_context()
2047 pipes[pipe_cnt].pipe.src.dcc_rate = 1; in dcn20_populate_dml_pipes_from_context()
2048 pipes[pipe_cnt].pipe.dest.synchronized_vblank_all_planes = synchronized_vblank; in dcn20_populate_dml_pipes_from_context()
[all …]
Ddcn20_resource.h55 display_e2e_pipe_params_st *pipes,
119 display_e2e_pipe_params_st *pipes,
156 display_e2e_pipe_params_st *pipes,
163 display_e2e_pipe_params_st *pipes,
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c74 struct pipe_ctx *pipes = in dp_enable_link_phy() local
97 if (pipes[i].stream != NULL && in dp_enable_link_phy()
98 pipes[i].stream->link == link) { in dp_enable_link_phy()
99 if (pipes[i].clock_source != NULL && in dp_enable_link_phy()
100 pipes[i].clock_source->id != CLOCK_SOURCE_ID_DP_DTO) { in dp_enable_link_phy()
101 pipes[i].clock_source = dp_cs; in dp_enable_link_phy()
102 pipes[i].stream_res.pix_clk_params.requested_pix_clk_100hz = in dp_enable_link_phy()
103 pipes[i].stream->timing.pix_clk_100hz; in dp_enable_link_phy()
104 pipes[i].clock_source->funcs->program_pix_clk( in dp_enable_link_phy()
105 pipes[i].clock_source, in dp_enable_link_phy()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_resource.c1576 display_e2e_pipe_params_st *pipes, in dcn31_populate_dml_pipes_from_context() argument
1583 dcn20_populate_dml_pipes_from_context(dc, context, pipes, fast_validate); in dcn31_populate_dml_pipes_from_context()
1598 pipes[pipe_cnt].pipe.src.immediate_flip = true; in dcn31_populate_dml_pipes_from_context()
1600 pipes[pipe_cnt].pipe.src.unbounded_req_mode = false; in dcn31_populate_dml_pipes_from_context()
1601 pipes[pipe_cnt].pipe.src.gpuvm = true; in dcn31_populate_dml_pipes_from_context()
1602 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_luma = 0; in dcn31_populate_dml_pipes_from_context()
1603 pipes[pipe_cnt].pipe.src.dcc_fraction_of_zs_req_chroma = 0; in dcn31_populate_dml_pipes_from_context()
1604 pipes[pipe_cnt].pipe.dest.vfront_porch = timing->v_front_porch; in dcn31_populate_dml_pipes_from_context()
1605 pipes[pipe_cnt].pipe.src.dcc_rate = 3; in dcn31_populate_dml_pipes_from_context()
1606 pipes[pipe_cnt].dout.dsc_input_bpc = 0; in dcn31_populate_dml_pipes_from_context()
[all …]
/Linux-v5.15/sound/sparc/
Ddbri.c312 struct dbri_pipe pipes[DBRI_NO_PIPES]; /* DBRI's 32 data pipes */ member
769 dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1; in dbri_initialize()
813 return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1)); in pipe_active()
833 sdp = dbri->pipes[pipe].sdp; in reset_pipe()
846 desc = dbri->pipes[pipe].first_desc; in reset_pipe()
852 } while (desc != -1 && desc != dbri->pipes[pipe].first_desc); in reset_pipe()
854 dbri->pipes[pipe].desc = -1; in reset_pipe()
855 dbri->pipes[pipe].first_desc = -1; in reset_pipe()
882 dbri->pipes[pipe].sdp = sdp; in setup_pipe()
883 dbri->pipes[pipe].desc = -1; in setup_pipe()
[all …]
/Linux-v5.15/drivers/platform/goldfish/
Dgoldfish_pipe.c198 struct goldfish_pipe **pipes; member
522 pipe = dev->pipes[id]; in signalled_pipes_add_locked()
654 if (!dev->pipes[id]) in get_free_pipe_id_locked()
663 struct goldfish_pipe **pipes = in get_free_pipe_id_locked() local
664 kcalloc(new_capacity, sizeof(*pipes), GFP_ATOMIC); in get_free_pipe_id_locked()
665 if (!pipes) in get_free_pipe_id_locked()
667 memcpy(pipes, dev->pipes, sizeof(*pipes) * dev->pipes_capacity); in get_free_pipe_id_locked()
668 kfree(dev->pipes); in get_free_pipe_id_locked()
669 dev->pipes = pipes; in get_free_pipe_id_locked()
732 dev->pipes[id] = pipe; in goldfish_pipe_open()
[all …]
/Linux-v5.15/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); \
112 …attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_…
115 recalculate_params(mode_lib, pipes, num_pipes); \
169 const display_e2e_pipe_params_st *pipes, in get_total_immediate_flip_bytes() argument
[all …]
Ddisplay_mode_lib.c137 display_e2e_pipe_params_st *pipes, in dml_log_pipe_params() argument
149 pipe_src = &(pipes[i].pipe.src); in dml_log_pipe_params()
150 pipe_dest = &(pipes[i].pipe.dest); in dml_log_pipe_params()
151 scale_ratio_depth = &(pipes[i].pipe.scale_ratio_depth); in dml_log_pipe_params()
152 scale_taps = &(pipes[i].pipe.scale_taps); in dml_log_pipe_params()
153 dout = &(pipes[i].dout); in dml_log_pipe_params()
154 clks_cfg = &(pipes[i].clks_cfg); in dml_log_pipe_params()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1457 display_e2e_pipe_params_st *pipes, in dcn30_populate_dml_pipes_from_context() argument
1463 dcn20_populate_dml_pipes_from_context(dc, context, pipes, fast_validate); in dcn30_populate_dml_pipes_from_context()
1469 pipes[pipe_cnt++].pipe.scale_ratio_depth.lb_depth = in dcn30_populate_dml_pipes_from_context()
1477 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn30_populate_dml_writeback_from_context() argument
1492 pipes[pipe_cnt].dout.wb_enable = 0; in dcn30_populate_dml_writeback_from_context()
1493 pipes[pipe_cnt].dout.num_active_wb = 0; in dcn30_populate_dml_writeback_from_context()
1499 pipes[pipe_cnt].dout.wb_enable = 1; in dcn30_populate_dml_writeback_from_context()
1500 pipes[pipe_cnt].dout.num_active_wb++; in dcn30_populate_dml_writeback_from_context()
1543 pipes[pipe_cnt].pipe.dest.pixel_rate_mhz, in dcn30_populate_dml_writeback_from_context()
1550 pipes[pipe_cnt].pipe.dest.htotal, in dcn30_populate_dml_writeback_from_context()
[all …]
Ddcn30_resource.h48 display_e2e_pipe_params_st *pipes,
60 display_e2e_pipe_params_st *pipes,
65 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
69 display_e2e_pipe_params_st *pipes,
/Linux-v5.15/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.15/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c711 display_e2e_pipe_params_st *pipes,
1039 display_e2e_pipe_params_st *pipes, in calculate_wm_set_for_vlevel() argument
1046 pipes[0].clks_cfg.voltage = vlevel; in calculate_wm_set_for_vlevel()
1047 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel()
1048 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel()
1054 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1055 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel()
1056 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1057 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
1058 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
[all …]
/Linux-v5.15/drivers/gpu/drm/tidss/
Dtidss_kms.c127 struct pipe pipes[TIDSS_MAX_PORTS]; in tidss_dispc_modeset_init() local
185 pipes[num_pipes].hw_videoport = i; in tidss_dispc_modeset_init()
186 pipes[num_pipes].bridge = bridge; in tidss_dispc_modeset_init()
187 pipes[num_pipes].enc_type = enc_type; in tidss_dispc_modeset_init()
213 tcrtc = tidss_crtc_create(tidss, pipes[i].hw_videoport, in tidss_dispc_modeset_init()
222 enc = tidss_encoder_create(tidss, pipes[i].enc_type, in tidss_dispc_modeset_init()
229 ret = drm_bridge_attach(enc, pipes[i].bridge, NULL, 0); in tidss_dispc_modeset_init()
/Linux-v5.15/drivers/gpu/drm/omapdrm/
Domap_drv.c137 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_disconnect_pipelines()
167 pipe = &priv->pipes[priv->num_pipes++]; in omap_connect_pipelines()
170 if (priv->num_pipes == ARRAY_SIZE(priv->pipes)) { in omap_connect_pipelines()
282 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
302 sort(priv->pipes, priv->num_pipes, sizeof(priv->pipes[0]), in omap_modeset_init()
310 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
321 struct omap_drm_pipeline *pipe = &priv->pipes[i]; in omap_modeset_init()
387 struct drm_connector *connector = priv->pipes[i].connector; in omap_modeset_enable_external_hpd()
392 if (priv->pipes[i].output->bridge) in omap_modeset_enable_external_hpd()
406 struct drm_connector *connector = priv->pipes[i].connector; in omap_modeset_disable_external_hpd()
[all …]
/Linux-v5.15/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.15/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()
283 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received()
312 ndev->hci_dev->pipes[new_pipe].gate = dest_gate; in nci_hci_cmd_received()
313 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received()
334 ndev->hci_dev->pipes[delete_info->pipe].gate = in nci_hci_cmd_received()
336 ndev->hci_dev->pipes[delete_info->pipe].host = in nci_hci_cmd_received()
[all …]
/Linux-v5.15/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.15/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.15/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.15/Documentation/filesystems/
Dsplice.rst2 splice and pipes
13 pipes API
/Linux-v5.15/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.15/drivers/staging/media/atomisp/pci/
Dsh_css.c132 struct ia_css_pipe *pipes[IA_CSS_PIPE_ID_NUM]; /* pipe handles */ member
401 struct ia_css_pipe *pipes[],
1482 assert(stream->pipes[i]); in sh_css_invalidate_shading_tables()
1483 sh_css_pipe_free_shading_table(stream->pipes[i]); in sh_css_invalidate_shading_tables()
1880 ia_css_pipeline_map(stream->pipes[i]->pipe_num, map); in map_sp_threads()
1975 main_pipe = stream->pipes[i]; in create_host_pipeline_structure()
2117 switch (stream->pipes[i]->mode) { in create_host_pipeline()
2119 err = create_host_preview_pipeline(stream->pipes[i]); in create_host_pipeline()
2122 err = create_host_video_pipeline(stream->pipes[i]); in create_host_pipeline()
2125 err = create_host_capture_pipeline(stream->pipes[i]); in create_host_pipeline()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h110 display_e2e_pipe_params_st *pipes,
118 display_e2e_pipe_params_st *pipes,
172 display_e2e_pipe_params_st *pipes);
177 display_e2e_pipe_params_st *pipes,
/Linux-v5.15/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()
362 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received()
363 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received()
383 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received()
390 ndev->hci_dev->pipes[pipe].host != ST_NCI_UICC_HOST_ID) in st_nci_hci_cmd_received()

1234