Home
last modified time | relevance | path

Searched refs:in_ctx (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_utils.c279 …context, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe… in dml2_calculate_rq_and_dlg_params() argument
283 …struct dml2_calculate_rq_and_dlg_params_scratch *s = &in_ctx->v20.scratch.calculate_rq_and_dlg_par… in dml2_calculate_rq_and_dlg_params()
285 …context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = (unsigned int)in_ctx->v20.dml_core_ctx.mp.DCFCL… in dml2_calculate_rq_and_dlg_params()
288 if (in_ctx->v20.dml_core_ctx.ms.support.FCLKChangeSupport[0] == dml_fclock_change_unsupported) in dml2_calculate_rq_and_dlg_params()
296 …context->bw_ctx.bw.dcn.compbuf_size_kb = in_ctx->v20.dml_core_ctx.ip.config_return_buffer_size_in_… in dml2_calculate_rq_and_dlg_params()
305 if (get_plane_id(in_ctx, context, context->res_ctx.pipe_ctx[dc_pipe_ctx_index].plane_state, in dml2_calculate_rq_and_dlg_params()
307in_ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[context->res_ctx.pipe_ctx[d… in dml2_calculate_rq_and_dlg_params()
308 dml_pipe_idx = find_dml_pipe_idx_by_plane_id(in_ctx, plane_id); in dml2_calculate_rq_and_dlg_params()
310 …dml_pipe_idx = dml2_helper_find_dml_pipe_idx_by_stream_id(in_ctx, context->res_ctx.pipe_ctx[dc_pip… in dml2_calculate_rq_and_dlg_params()
315 ASSERT(in_ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_stream_id_valid[dml_pipe_idx]); in dml2_calculate_rq_and_dlg_params()
[all …]
Ddml2_utils.h122 …context, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe…
131 void dml2_apply_det_buffer_allocation_policy(struct dml2_context *in_ctx, struct dml_display_cfg_st…
141 bool dml2_verify_det_buffer_configuration(struct dml2_context *in_ctx, struct dc_state *display_sta…
148 void dml2_initialize_det_scratch(struct dml2_context *in_ctx);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_wrapper.c120 struct dml2_context *in_ctx, unsigned int pipe_cnt) in dml21_calculate_rq_and_dlg_params() argument
132 …memcpy(&context->bw_ctx.bw.dcn.arb_regs, &in_ctx->v21.mode_programming.programming->global_regs.ar… in dml21_calculate_rq_and_dlg_params()
135 …context->bw_ctx.bw.dcn.compbuf_size_kb = (int)in_ctx->v21.mode_programming.programming->global_reg… in dml21_calculate_rq_and_dlg_params()
142 pln_prog = &in_ctx->v21.mode_programming.programming->plane_programming[dml_prog_idx]; in dml21_calculate_rq_and_dlg_params()
147 …stream_prog = &in_ctx->v21.mode_programming.programming->stream_programming[pln_prog->plane_descri… in dml21_calculate_rq_and_dlg_params()
153 …num_pipes = dml21_find_dc_pipes_for_plane(dc, context, in_ctx, dc_main_pipes, dc_phantom_pipes, dm… in dml21_calculate_rq_and_dlg_params()
160 dml21_program_dc_pipe(in_ctx, context, dc_main_pipes[dc_pipe_index], pln_prog, stream_prog); in dml21_calculate_rq_and_dlg_params()
163 dml21_program_dc_pipe(in_ctx, context, dc_phantom_pipes[dc_pipe_index], pln_prog, stream_prog); in dml21_calculate_rq_and_dlg_params()
171 if (in_ctx->v21.dml_init.soc_bb.clk_table.dispclk.num_clk_values > 1) { in dml21_calculate_rq_and_dlg_params()
173in_ctx->v21.dml_init.soc_bb.clk_table.dispclk.clk_values_khz[in_ctx->v21.dml_init.soc_bb.clk_table… in dml21_calculate_rq_and_dlg_params()
[all …]
Ddml21_translation_helper.h23 void dml21_copy_clocks_to_dc_state(struct dml2_context *in_ctx, struct dc_state *context);
25 …arks *watermark, enum dml2_dchub_watermark_reg_set_index reg_set_idx, struct dml2_context *in_ctx);
26 …ark_sets(const struct dc *in_dc, union dcn_watermark_set *watermarks, struct dml2_context *in_ctx);
Ddml21_translation_helper.c1025 void dml21_copy_clocks_to_dc_state(struct dml2_context *in_ctx, struct dc_state *context) in dml21_copy_clocks_to_dc_state() argument
1028 …context->bw_ctx.bw.dcn.clk.dispclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4… in dml21_copy_clocks_to_dc_state()
1029 …context->bw_ctx.bw.dcn.clk.dcfclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x… in dml21_copy_clocks_to_dc_state()
1030 …context->bw_ctx.bw.dcn.clk.dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4… in dml21_copy_clocks_to_dc_state()
1031 …context->bw_ctx.bw.dcn.clk.fclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.a… in dml21_copy_clocks_to_dc_state()
1032 …context->bw_ctx.bw.dcn.clk.idle_dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks… in dml21_copy_clocks_to_dc_state()
1033 …context->bw_ctx.bw.dcn.clk.idle_fclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dc… in dml21_copy_clocks_to_dc_state()
1034 …context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = in_ctx->v21.mode_programming.programming->min_c… in dml21_copy_clocks_to_dc_state()
1035 …context->bw_ctx.bw.dcn.clk.fclk_p_state_change_support = in_ctx->v21.mode_programming.programming-… in dml21_copy_clocks_to_dc_state()
1036 …context->bw_ctx.bw.dcn.clk.p_state_change_support = in_ctx->v21.mode_programming.programming->uclk… in dml21_copy_clocks_to_dc_state()
[all …]
Ddml21_utils.h26 struct dml2_context *in_ctx,
Ddml21_utils.c250 struct dml2_context *in_ctx, in dml21_populate_mall_allocation_size() argument
262 if (in_ctx->config.svp_pstate.callbacks.get_pipe_subvp_type(context, dc_pipe) != SUBVP_PHANTOM) { in dml21_populate_mall_allocation_size()
/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-mem.c474 pdev->in_ctx.type = CDNSP_CTX_TYPE_INPUT; in cdnsp_init_device_ctx()
475 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
476 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; in cdnsp_init_device_ctx()
477 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
478 &pdev->in_ctx.dma); in cdnsp_init_device_ctx()
480 if (!pdev->in_ctx.bytes) { in cdnsp_init_device_ctx()
675 if (pdev->in_ctx.bytes) in cdnsp_free_priv_device()
676 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_free_priv_device()
677 pdev->in_ctx.dma); in cdnsp_free_priv_device()
683 pdev->in_ctx.bytes = NULL; in cdnsp_free_priv_device()
[all …]
Dcdnsp-gadget.c446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
456 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
462 ep_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, i); in cdnsp_zero_in_ctx()
475 cdnsp_queue_configure_endpoint(pdev, pdev->cmd.in_ctx->dma); in cdnsp_configure_endpoint()
644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
694 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device()
793 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams()
816 memset(pdev->in_ctx.bytes, 0, CDNSP_CTX_SIZE); in cdnsp_disable_slot()
876 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_device()
[all …]
Dcdnsp-trace.h414 __field(dma_addr_t, in_ctx)
420 __entry->in_ctx = pdev->in_ctx.dma;
426 __entry->pdev, __entry->gadget, &__entry->in_ctx,
Dcdnsp-gadget.h733 struct cdnsp_container_ctx *in_ctx; member
827 struct cdnsp_ep_ctx *in_ctx; member
1443 struct cdnsp_container_ctx in_ctx; member
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dqos.c33 void *in_ctx; in UVERBS_HANDLER() local
52 in_ctx = uverbs_attr_get_alloced_ptr(attrs, in UVERBS_HANDLER()
56 memcpy(rl_raw, in_ctx, inlen); in UVERBS_HANDLER()
/linux-6.12.1/drivers/usb/host/
Dxhci.c1503 command->in_ctx = vdev->in_ctx; in xhci_check_ep0_maxpacket()
1504 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); in xhci_check_ep0_maxpacket()
1512 xhci_endpoint_copy(xhci, vdev->in_ctx, vdev->out_ctx, 0); in xhci_check_ep0_maxpacket()
1514 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, 0); in xhci_check_ep0_maxpacket()
1815 struct xhci_container_ctx *in_ctx, *out_ctx; in xhci_drop_endpoint() local
1838 in_ctx = xhci->devs[udev->slot_id]->in_ctx; in xhci_drop_endpoint()
1840 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_drop_endpoint()
1898 struct xhci_container_ctx *in_ctx; in xhci_add_endpoint() local
1929 in_ctx = virt_dev->in_ctx; in xhci_add_endpoint()
1930 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); in xhci_add_endpoint()
[all …]
Dxhci-trace.h174 __field(unsigned long long, in_ctx)
181 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
187 __entry->vdev, __entry->slot_id, __entry->in_ctx,
203 __field(unsigned long long, in_ctx)
213 __entry->in_ctx = (unsigned long long) vdev->in_ctx->dma;
223 __entry->vdev, __entry->in_ctx, __entry->out_ctx,
Dxhci-mem.c891 if (dev->in_ctx) in xhci_free_virt_device()
892 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_free_virt_device()
971 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); in xhci_alloc_virt_device()
972 if (!dev->in_ctx) in xhci_alloc_virt_device()
975 xhci_dbg(xhci, "Slot %d input ctx = 0x%pad (dma)\n", slot_id, &dev->in_ctx->dma); in xhci_alloc_virt_device()
1007 if (dev->in_ctx) in xhci_alloc_virt_device()
1008 xhci_free_container_ctx(xhci, dev->in_ctx); in xhci_alloc_virt_device()
1024 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); in xhci_copy_ep0_dequeue_into_input_ctx()
1082 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); in xhci_setup_addressable_virt_dev()
1083 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
[all …]
Dxhci.h530 struct xhci_container_ctx *in_ctx; member
741 struct xhci_container_ctx *in_ctx; member
1778 struct xhci_container_ctx *in_ctx,
1782 struct xhci_container_ctx *in_ctx,
1786 struct xhci_container_ctx *in_ctx,
Dxhci-mtk-sch.c923 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in add_ep_quirk()
995 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_mtk_check_bandwidth()
Dxhci-ring.c1543 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx); in xhci_handle_cmd_config_ep()
/linux-6.12.1/sound/usb/
Dendpoint.c1766 struct snd_urb_ctx *in_ctx; in snd_usb_handle_sync_urb() local
1769 in_ctx = urb->context; in snd_usb_handle_sync_urb()
1772 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb()
1805 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb()
1806 for (i = 0; i < in_ctx->packets; i++) { in snd_usb_handle_sync_urb()