/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_utils.h | 54 * result = dml_mode_programming(&in_ctx->dml_core_ctx, s->mode_support_params.out_lowest_state_idx, &s->cur_display_config, true); 110 * @in_ctx : This structure has the pointer to display_mode_lib_st. 117 void dml2_calculate_rq_and_dlg_params(const struct dc *dc, struct dc_state *context, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe_cnt); 126 void dml2_apply_det_buffer_allocation_policy(struct dml2_context *in_ctx, struct dml_display_cfg_st *dml_dispcfg); 136 bool dml2_verify_det_buffer_configuration(struct dml2_context *in_ctx, struct dc_state *display_state, struct dml2_helper_det_policy_scratch *det_scratch); 143 void dml2_initialize_det_scratch(struct dml2_context *in_ctx);
|
H A D | dml2_utils.c | 287 void dml2_calculate_rq_and_dlg_params(const struct dc *dc, struct dc_state *context, struct resource_context *out_new_hw_state, struct dml2_context *in_ctx, unsigned int pipe_cnt) argument 292 struct dml2_calculate_rq_and_dlg_params_scratch *s = &in_ctx->v20.scratch.calculate_rq_and_dlg_params_scratch; 294 context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz = (unsigned int)in_ctx->v20.dml_core_ctx.mp.DCFCLKDeepSleep * 1000; 297 if (in_ctx->v20.dml_core_ctx.ms.support.FCLKChangeSupport[in_ctx->v20.scratch.mode_support_params.out_lowest_state_idx] == dml_fclock_change_unsupported) 305 unbounded_req_enabled = in_ctx->v20.dml_core_ctx.ms.UnboundedRequestEnabledThisState; 313 context->bw_ctx.bw.dcn.compbuf_size_kb = in_ctx->v20.dml_core_ctx.ip.config_return_buffer_size_in_kbytes; 322 if (get_plane_id(in_ctx, context, context->res_ctx.pipe_ctx[dc_pipe_ctx_index].plane_state, 324 in_ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_index[context->res_ctx.pipe_ctx[dc_pipe_ctx_index].pipe_idx], &plane_id)) { 325 dml_pipe_idx = find_dml_pipe_idx_by_plane_id(in_ctx, plane_i 399 dml2_initialize_det_scratch(struct dml2_context *in_ctx) argument 408 find_planes_per_stream_and_stream_count(struct dml2_context *in_ctx, struct dml_display_cfg_st *dml_dispcfg, int *num_of_planes_per_stream) argument 425 dml2_apply_det_buffer_allocation_policy(struct dml2_context *in_ctx, struct dml_display_cfg_st *dml_dispcfg) argument 454 dml2_verify_det_buffer_configuration(struct dml2_context *in_ctx, struct dc_state *display_state, struct dml2_helper_det_policy_scratch *det_scratch) argument [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | qos.c | 33 void *in_ctx; local 52 in_ctx = uverbs_attr_get_alloced_ptr(attrs, 56 memcpy(rl_raw, in_ctx, inlen);
|
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 474 pdev->in_ctx.type = CDNSP_CTX_TYPE_INPUT; 475 pdev->in_ctx.ctx_size = pdev->out_ctx.ctx_size; 476 pdev->in_ctx.size = size + pdev->out_ctx.ctx_size; 477 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, 478 &pdev->in_ctx.dma); 480 if (!pdev->in_ctx.bytes) { 675 if (pdev->in_ctx.bytes) 676 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, 677 pdev->in_ctx.dma); 683 pdev->in_ctx [all...] |
H A D | cdnsp-gadget.c | 446 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); 456 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); 462 ep_ctx = cdnsp_get_ep_ctx(&pdev->in_ctx, i); 475 cdnsp_queue_configure_endpoint(pdev, pdev->cmd.in_ctx->dma); 644 ctrl_ctx = cdnsp_get_input_control_ctx(&pdev->in_ctx); 655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); 694 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); 793 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); 816 memset(pdev->in_ctx.bytes, 0, CDNSP_CTX_SIZE); 876 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); [all...] |
H A D | cdnsp-trace.h | 414 __field(dma_addr_t, in_ctx) 420 __entry->in_ctx = pdev->in_ctx.dma; 426 __entry->pdev, __entry->gadget, &__entry->in_ctx,
|
H A D | cdnsp-gadget.h | 727 * @in_ctx: Pointer to input context structure. 733 struct cdnsp_container_ctx *in_ctx; member in struct:cdnsp_command 804 * @in_ctx: Pointer to input endpoint context structure. 826 struct cdnsp_ep_ctx *in_ctx; member in struct:cdnsp_ep 1376 * @in_ctx: Input context. 1440 struct cdnsp_container_ctx in_ctx; member in struct:cdnsp_device
|
/linux-master/drivers/usb/host/ |
H A D | xhci.c | 1493 command->in_ctx = vdev->in_ctx; 1494 ctrl_ctx = xhci_get_input_control_ctx(command->in_ctx); 1502 xhci_endpoint_copy(xhci, vdev->in_ctx, vdev->out_ctx, 0); 1504 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, 0); 1805 struct xhci_container_ctx *in_ctx, *out_ctx; local 1828 in_ctx = xhci->devs[udev->slot_id]->in_ctx; 1830 ctrl_ctx = xhci_get_input_control_ctx(in_ctx); 1888 struct xhci_container_ctx *in_ctx; local 2698 xhci_reserve_bandwidth(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct xhci_container_ctx *in_ctx) argument 3035 xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, struct xhci_input_control_ctx *ctrl_ctx, u32 add_flags, u32 drop_flags) argument [all...] |
H A D | xhci-trace.h | 174 __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,
|
H A D | xhci-mem.c | 896 if (dev->in_ctx) 897 xhci_free_container_ctx(xhci, dev->in_ctx); 976 dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags); 977 if (!dev->in_ctx) 980 xhci_dbg(xhci, "Slot %d input ctx = 0x%pad (dma)\n", slot_id, &dev->in_ctx->dma); 1012 if (dev->in_ctx) 1013 xhci_free_container_ctx(xhci, dev->in_ctx); 1029 ep0_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, 0); 1087 ep0_ctx = xhci_get_ep_ctx(xhci, dev->in_ctx, 0); 1088 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); 1522 xhci_update_bw_info(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_input_control_ctx *ctrl_ctx, struct xhci_virt_device *virt_dev) argument 1580 xhci_endpoint_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx, unsigned int ep_index) argument 1606 xhci_slot_copy(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, struct xhci_container_ctx *out_ctx) argument [all...] |
H A D | xhci.h | 529 struct xhci_container_ctx *in_ctx; member in struct:xhci_command 740 struct xhci_container_ctx *in_ctx; member in struct:xhci_virt_device 1784 struct xhci_container_ctx *in_ctx, 1788 struct xhci_container_ctx *in_ctx, 1792 struct xhci_container_ctx *in_ctx,
|
H A D | xhci-mtk-sch.c | 923 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); 995 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
|
H A D | xhci-ring.c | 1529 ctrl_ctx = xhci_get_input_control_ctx(virt_dev->in_ctx);
|
/linux-master/sound/usb/ |
H A D | endpoint.c | 1763 struct snd_urb_ctx *in_ctx; local 1766 in_ctx = urb->context; 1769 for (i = 0; i < in_ctx->packets; i++) 1802 out_packet->packets = in_ctx->packets; 1803 for (i = 0; i < in_ctx->packets; i++) {
|