/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_vdsc.c | 383 struct drm_dsc_config *vdsc_cfg = &pipe_config->dsc.config; in intel_dsc_compute_params() 384 u16 compressed_bpp = pipe_config->dsc.compressed_bpp; in intel_dsc_compute_params() 391 pipe_config->dsc.slice_count); in intel_dsc_compute_params() 498 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dsc_pps_configure() 503 u8 num_vdsc_instances = (crtc_state->dsc.dsc_split) ? 2 : 1; in intel_dsc_pps_configure() 527 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure() 534 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure() 551 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure() 558 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure() 576 if (crtc_state->dsc.dsc_split) in intel_dsc_pps_configure() [all …]
|
D | intel_bios.c | 64 struct dsc_compression_parameters_entry *dsc; member 1461 devdata->dsc = kmemdup(¶ms->data[index], in parse_compression_parameters() 1462 sizeof(*devdata->dsc), GFP_KERNEL); in parse_compression_parameters() 1740 devdata->dsc != NULL); in parse_ddi_port() 2204 kfree(devdata->dsc); in intel_bios_driver_remove() 2483 struct dsc_compression_parameters_entry *dsc, in fill_dsc() argument 2486 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in fill_dsc() 2489 vdsc_cfg->dsc_version_major = dsc->version_major; in fill_dsc() 2490 vdsc_cfg->dsc_version_minor = dsc->version_minor; in fill_dsc() 2492 if (dsc->support_12bpc && dsc_max_bpc >= 12) in fill_dsc() [all …]
|
D | icl_dsi.c | 321 if (crtc_state->dsc.compression_enable) in afe_clk() 322 bpp = crtc_state->dsc.compressed_bpp; in afe_clk() 709 if (pipe_config->dsc.compression_enable) { in gen11_dsi_configure_transcoder() 849 if (crtc_state->dsc.compression_enable) { in gen11_dsi_set_transcoder_timings() 850 mul = crtc_state->dsc.compressed_bpp; in gen11_dsi_set_transcoder_timings() 873 if (crtc_state->dsc.compression_enable) in gen11_dsi_set_transcoder_timings() 874 bpp = crtc_state->dsc.compressed_bpp; in gen11_dsi_set_transcoder_timings() 1402 if (pipe_config->dsc.compressed_bpp) { in gen11_dsi_get_timings() 1403 int div = pipe_config->dsc.compressed_bpp; in gen11_dsi_get_timings() 1479 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in gen11_dsi_dsc_compute_config() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dsc.c | 30 static void dsc_log_pps(struct display_stream_compressor *dsc, struct drm_dsc_config *pps); 35 static void dsc_write_to_registers(struct display_stream_compressor *dsc, const struct dsc_reg_valu… 41 static void dsc2_read_state(struct display_stream_compressor *dsc, struct dcn_dsc_state *s); 42 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *ds… 43 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, 45 static bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc… 46 static void dsc2_enable(struct display_stream_compressor *dsc, int opp_pipe); 47 static void dsc2_disable(struct display_stream_compressor *dsc); 70 dsc->ctx->logger 81 void dsc2_construct(struct dcn20_dsc *dsc, in dsc2_construct() argument [all …]
|
D | dcn20_resource.h | 96 void dcn20_dsc_destroy(struct display_stream_compressor **dsc); 129 struct display_stream_compressor **dsc); 143 struct display_stream_compressor **dsc,
|
D | dcn20_resource.c | 1440 struct dcn20_dsc *dsc = in dcn20_dsc_create() local 1443 if (!dsc) { in dcn20_dsc_create() 1448 dsc2_construct(dsc, ctx, inst, &dsc_regs[inst], &dsc_shift, &dsc_mask); in dcn20_dsc_create() 1449 return &dsc->base; in dcn20_dsc_create() 1452 void dcn20_dsc_destroy(struct display_stream_compressor **dsc) in dcn20_dsc_destroy() argument 1454 kfree(container_of(*dsc, struct dcn20_dsc, base)); in dcn20_dsc_destroy() 1455 *dsc = NULL; in dcn20_dsc_destroy() 1669 struct display_stream_compressor **dsc, in dcn20_acquire_dsc() argument 1674 … display_stream_compressor *dsc_old = dc->current_state->res_ctx.pipe_ctx[pipe_idx].stream_res.dsc; in dcn20_acquire_dsc() 1676 ASSERT(*dsc == NULL); /* If this ASSERT fails, dsc was not released properly */ in dcn20_acquire_dsc() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_hwss.c | 393 dsc->ctx->logger 394 static void dsc_optc_config_log(struct display_stream_compressor *dsc, in dsc_optc_config_log() argument 433 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in dp_set_dsc_on_stream() local 457 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); in dp_set_dsc_on_stream() 458 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in dp_set_dsc_on_stream() 460 struct display_stream_compressor *odm_dsc = odm_pipe->stream_res.dsc; in dp_set_dsc_on_stream() 473 dsc_optc_config_log(dsc, &dsc_optc_cfg); in dp_set_dsc_on_stream() 484 dsc_optc_config_log(dsc, &dsc_optc_cfg); in dp_set_dsc_on_stream() 508 pipe_ctx->stream_res.dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in dp_set_dsc_on_stream() 510 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in dp_set_dsc_on_stream() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dsc.h | 95 void (*dsc_read_state)(struct display_stream_compressor *dsc, struct dcn_dsc_state *s); 96 …bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cf… 97 void (*dsc_set_config)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, 99 bool (*dsc_get_packed_pps)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg, 101 void (*dsc_enable)(struct display_stream_compressor *dsc, int opp_pipe); 102 void (*dsc_disable)(struct display_stream_compressor *dsc);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 1177 struct display_stream_compressor *dsc; in dp_dsc_clock_en_read() local 1201 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_clock_en_read() 1202 if (dsc) in dp_dsc_clock_en_read() 1203 dsc->funcs->dsc_read_state(dsc, &dsc_state); in dp_dsc_clock_en_read() 1333 struct display_stream_compressor *dsc; in dp_dsc_slice_width_read() local 1357 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_width_read() 1358 if (dsc) in dp_dsc_slice_width_read() 1359 dsc->funcs->dsc_read_state(dsc, &dsc_state); in dp_dsc_slice_width_read() 1487 struct display_stream_compressor *dsc; in dp_dsc_slice_height_read() local 1511 dsc = pipe_ctx->stream_res.dsc; in dp_dsc_slice_height_read() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_stats.h | 36 #define MLX5E_READ_CTR64_CPU(ptr, dsc, i) \ argument 37 (*(u64 *)((char *)ptr + dsc[i].offset)) 38 #define MLX5E_READ_CTR64_BE(ptr, dsc, i) \ argument 39 be64_to_cpu(*(__be64 *)((char *)ptr + dsc[i].offset)) 40 #define MLX5E_READ_CTR32_CPU(ptr, dsc, i) \ argument 41 (*(u32 *)((char *)ptr + dsc[i].offset)) 42 #define MLX5E_READ_CTR32_BE(ptr, dsc, i) \ argument 43 be32_to_cpu(*(__be32 *)((char *)ptr + dsc[i].offset))
|
/kernel/linux/linux-5.10/include/linux/irqchip/ |
D | irq-partition-percpu.h | 28 struct irq_domain *partition_get_domain(struct partition_desc *dsc); 47 struct irq_domain *partition_get_domain(struct partition_desc *dsc) in partition_get_domain() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 775 struct sbdmadscr *dsc; in sbdma_add_rcvbuffer() local 782 dsc = d->sbdma_addptr; in sbdma_add_rcvbuffer() 839 dsc->dscr_a = virt_to_phys(sb_new->data) | in sbdma_add_rcvbuffer() 842 dsc->dscr_a = virt_to_phys(sb_new->data) | in sbdma_add_rcvbuffer() 848 dsc->dscr_b = 0; in sbdma_add_rcvbuffer() 854 d->sbdma_ctxtable[dsc-d->sbdma_dscrtable] = sb_new; in sbdma_add_rcvbuffer() 889 struct sbdmadscr *dsc; in sbdma_add_txbuffer() local 897 dsc = d->sbdma_addptr; in sbdma_add_txbuffer() 928 dsc->dscr_a = phys | in sbdma_add_txbuffer() 937 dsc->dscr_b = V_DMA_DSCRB_OPTIONS(K_DMA_ETHTX_APPENDCRC_APPENDPAD) | in sbdma_add_txbuffer() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/ |
D | Makefile | 30 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc.o := $(dsc_ccflags) 34 AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC))
|
D | dc_dsc.c | 226 const struct display_stream_compressor *dsc, in get_dsc_enc_caps() argument 233 if (dsc) { in get_dsc_enc_caps() 234 if (!dsc->ctx->dc->debug.disable_dsc) in get_dsc_enc_caps() 235 dsc->funcs->dsc_get_enc_caps(dsc_enc_caps, pixel_clock_100Hz); in get_dsc_enc_caps() 236 if (dsc->ctx->dc->debug.native422_support) in get_dsc_enc_caps() 865 const struct display_stream_compressor *dsc, in dc_dsc_compute_bandwidth_range() argument 878 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range() 894 const struct display_stream_compressor *dsc, in dc_dsc_compute_config() argument 904 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_dsc.h | 63 const struct display_stream_compressor *dsc, 72 const struct display_stream_compressor *dsc,
|
D | Makefile | 30 DC_LIBS += dsc
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls_stats.c | 48 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument 49 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
|
D | ipsec_stats.c | 71 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument 72 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
|
/kernel/linux/linux-5.10/drivers/atm/ |
D | zatm.h | 99 u32 *dsc; /* pointer to skb's descriptor */ member 102 #define ZATM_PRV_DSC(skb) (((struct zatm_skb_prv *) (skb)->cb)->dsc)
|
D | zatm.c | 637 u32 *dsc; in do_tx() local 653 dsc = zatm_vcc->ring+zatm_vcc->ring_curr; in do_tx() 656 dsc[1] = 0; in do_tx() 657 dsc[2] = skb->len; in do_tx() 658 dsc[3] = virt_to_bus(skb->data); in do_tx() 660 dsc[0] = uPD98401_TXPD_V | uPD98401_TXPD_DP | uPD98401_TXPD_SM in do_tx() 664 EVENT("dsc (0x%lx)\n",(unsigned long) dsc,0); in do_tx() 668 dsc = NULL; in do_tx() 673 dsc = kmalloc(uPD98401_TXPD_SIZE * 2 + in do_tx() 675 if (!dsc) { in do_tx() [all …]
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | cerr-sb1.c | 466 struct dc_state *dsc = dc_states; in dc_state_str() local 467 while (dsc->val != 0xff) { in dc_state_str() 468 if (dsc->val == state) in dc_state_str() 470 dsc++; in dc_state_str() 472 return dsc->name; in dc_state_str()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-partition-percpu.c | 239 struct irq_domain *partition_get_domain(struct partition_desc *dsc) in partition_get_domain() argument 241 if (dsc) in partition_get_domain() 242 return dsc->domain; in partition_get_domain()
|
/kernel/linux/linux-5.10/sound/pci/ctxfi/ |
D | ctdaio.c | 453 struct daio_desc dsc = {0}; in dao_rsc_reinit() local 455 dsc.type = dao->daio.type; in dao_rsc_reinit() 456 dsc.msr = desc->msr; in dao_rsc_reinit() 457 dsc.passthru = desc->passthru; in dao_rsc_reinit() 459 return dao_rsc_init(dao, &dsc, mgr); in dao_rsc_reinit()
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
D | ueagle-atm.c | 1966 struct cmv_dsc_e1 *dsc = &sc->cmv_dsc.e1; in uea_dispatch_cmv_e1() local 1979 if (cmv->bFunction != dsc->function) { in uea_dispatch_cmv_e1() 1982 cmv->wIndex = cpu_to_le16(dsc->idx); in uea_dispatch_cmv_e1() 1983 put_unaligned_le32(dsc->address, in uea_dispatch_cmv_e1() 1985 cmv->wOffsetAddress = cpu_to_le16(dsc->offset); in uea_dispatch_cmv_e1() 1998 if (le16_to_cpu(cmv->wIndex) != dsc->idx || in uea_dispatch_cmv_e1() 1999 get_unaligned_le32(&cmv->dwSymbolicAddress) != dsc->address || in uea_dispatch_cmv_e1() 2000 le16_to_cpu(cmv->wOffsetAddress) != dsc->offset) in uea_dispatch_cmv_e1() 2028 struct cmv_dsc_e4 *dsc = &sc->cmv_dsc.e4; in uea_dispatch_cmv_e4() local 2037 if (be16_to_cpu(cmv->wFunction) != dsc->function) in uea_dispatch_cmv_e4() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 40 ctx->dsc.size = buf_size->dsc; in s5p_mfc_alloc_dec_temp_buffers_v5() 41 ret = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &ctx->dsc); in s5p_mfc_alloc_dec_temp_buffers_v5() 47 BUG_ON(ctx->dsc.dma & ((1 << MFC_BANK1_ALIGN_ORDER) - 1)); in s5p_mfc_alloc_dec_temp_buffers_v5() 48 memset(ctx->dsc.virt, 0, ctx->dsc.size); in s5p_mfc_alloc_dec_temp_buffers_v5() 57 s5p_mfc_release_priv_buf(ctx->dev, &ctx->dsc); in s5p_mfc_release_dec_desc_buffer_v5() 350 mfc_write(dev, OFFSETA(ctx->dsc.dma), S5P_FIMV_SI_CH0_DESC_ADR); in s5p_mfc_set_dec_desc_buffer() 351 mfc_write(dev, buf_size->dsc, S5P_FIMV_SI_CH0_DESC_SIZE); in s5p_mfc_set_dec_desc_buffer()
|