Home
last modified time | relevance | path

Searched refs:dsc (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c343 dsc->ctx->logger
344 static void dsc_optc_config_log(struct display_stream_compressor *dsc, in dsc_optc_config_log() argument
383 struct display_stream_compressor *dsc = pipe_ctx->stream_res.dsc; in dp_set_dsc_on_stream() local
406 dsc->funcs->dsc_set_config(dsc, &dsc_cfg, &dsc_optc_cfg); in dp_set_dsc_on_stream()
407 dsc->funcs->dsc_enable(dsc, pipe_ctx->stream_res.opp->inst); in dp_set_dsc_on_stream()
409 struct display_stream_compressor *odm_dsc = odm_pipe->stream_res.dsc; in dp_set_dsc_on_stream()
422 dsc_optc_config_log(dsc, &dsc_optc_cfg); in dp_set_dsc_on_stream()
433 dsc_optc_config_log(dsc, &dsc_optc_cfg); in dp_set_dsc_on_stream()
455 pipe_ctx->stream_res.dsc->funcs->dsc_disable(pipe_ctx->stream_res.dsc); in dp_set_dsc_on_stream()
457 odm_pipe->stream_res.dsc->funcs->dsc_disable(odm_pipe->stream_res.dsc); in dp_set_dsc_on_stream()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c31 static void dsc_log_pps(struct display_stream_compressor *dsc, struct drm_dsc_config *pps);
36 static void dsc_write_to_registers(struct display_stream_compressor *dsc, const struct dsc_reg_valu…
42 static void dsc2_read_state(struct display_stream_compressor *dsc, struct dcn_dsc_state *s);
43 static bool dsc2_validate_stream(struct display_stream_compressor *dsc, const struct dsc_config *ds…
44 static void dsc2_set_config(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
46 static bool dsc2_get_packed_pps(struct display_stream_compressor *dsc, const struct dsc_config *dsc…
47 static void dsc2_enable(struct display_stream_compressor *dsc, int opp_pipe);
48 static void dsc2_disable(struct display_stream_compressor *dsc);
71 dsc->ctx->logger
82 void dsc2_construct(struct dcn20_dsc *dsc, in dsc2_construct() argument
[all …]
Ddcn20_resource.c1173 struct dcn20_dsc *dsc = in dcn20_dsc_create() local
1176 if (!dsc) { in dcn20_dsc_create()
1181 dsc2_construct(dsc, ctx, inst, &dsc_regs[inst], &dsc_shift, &dsc_mask); in dcn20_dsc_create()
1182 return &dsc->base; in dcn20_dsc_create()
1185 void dcn20_dsc_destroy(struct display_stream_compressor **dsc) in dcn20_dsc_destroy() argument
1187 kfree(container_of(*dsc, struct dcn20_dsc, base)); in dcn20_dsc_destroy()
1188 *dsc = NULL; in dcn20_dsc_destroy()
1422 struct display_stream_compressor **dsc) in acquire_dsc() argument
1426 ASSERT(*dsc == NULL); in acquire_dsc()
1427 *dsc = NULL; in acquire_dsc()
[all …]
Ddcn20_resource.h96 void dcn20_dsc_destroy(struct display_stream_compressor **dsc);
Ddcn20_hwseq.c1414 if (pipe_ctx->stream_res.dsc) { in dcn20_disable_stream_gating()
1417 dcn20_dsc_pg_control(hws, pipe_ctx->stream_res.dsc->inst, true); in dcn20_disable_stream_gating()
1419 dcn20_dsc_pg_control(hws, odm_pipe->stream_res.dsc->inst, true); in dcn20_disable_stream_gating()
1431 if (pipe_ctx->stream_res.dsc) { in dcn20_enable_stream_gating()
1434 dcn20_dsc_pg_control(hws, pipe_ctx->stream_res.dsc->inst, false); in dcn20_enable_stream_gating()
1436 dcn20_dsc_pg_control(hws, odm_pipe->stream_res.dsc->inst, false); in dcn20_enable_stream_gating()
1640 else if (pipe_ctx->stream_res.dsc) { in dcn20_reset_back_end_for_pipe()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h92 void (*dsc_read_state)(struct display_stream_compressor *dsc, struct dcn_dsc_state *s);
93 …bool (*dsc_validate_stream)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cf…
94 void (*dsc_set_config)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
96 bool (*dsc_get_packed_pps)(struct display_stream_compressor *dsc, const struct dsc_config *dsc_cfg,
98 void (*dsc_enable)(struct display_stream_compressor *dsc, int opp_pipe);
99 void (*dsc_disable)(struct display_stream_compressor *dsc);
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/
DMakefile21 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc.o := $(dsc_ccflags)
22 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc_dpi.o := $(dsc_ccflags)
23 CFLAGS_$(AMDDALPATH)/dc/dsc/dc_dsc.o := $(dsc_ccflags)
27 AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC))
Ddc_dsc.c186 struct display_stream_compressor *dsc = dc->res_pool->dscs[0]; in get_dsc_enc_caps() local
189 if (dsc) in get_dsc_enc_caps()
190 dsc->funcs->dsc_get_enc_caps(dsc_enc_caps, pixel_clock_100Hz); in get_dsc_enc_caps()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h35 #define MLX5E_READ_CTR64_CPU(ptr, dsc, i) \ argument
36 (*(u64 *)((char *)ptr + dsc[i].offset))
37 #define MLX5E_READ_CTR64_BE(ptr, dsc, i) \ argument
38 be64_to_cpu(*(__be64 *)((char *)ptr + dsc[i].offset))
39 #define MLX5E_READ_CTR32_CPU(ptr, dsc, i) \ argument
40 (*(u32 *)((char *)ptr + dsc[i].offset))
41 #define MLX5E_READ_CTR32_BE(ptr, dsc, i) \ argument
42 be32_to_cpu(*(__be32 *)((char *)ptr + dsc[i].offset))
/Linux-v5.4/include/linux/irqchip/
Dirq-partition-percpu.h28 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
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dsb1250-mac.c775 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 …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls_stats.c49 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument
50 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
Dipsec_stats.c70 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument
71 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
/Linux-v5.4/drivers/atm/
Dzatm.h99 u32 *dsc; /* pointer to skb's descriptor */ member
102 #define ZATM_PRV_DSC(skb) (((struct zatm_skb_prv *) (skb)->cb)->dsc)
Dzatm.c637 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 …]
/Linux-v5.4/arch/mips/mm/
Dcerr-sb1.c466 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()
/Linux-v5.4/drivers/irqchip/
Dirq-partition-percpu.c239 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()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/
DMakefile34 DC_LIBS += dsc
/Linux-v5.4/sound/pci/ctxfi/
Dctdaio.c453 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()
/Linux-v5.4/drivers/usb/atm/
Dueagle-atm.c1966 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 …]
/Linux-v5.4/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c40 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()
Ds5p_mfc_common.h206 unsigned int dsc; member
686 struct s5p_mfc_priv_buf dsc; member
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.h93 struct mdp5_sub_block dsc; member
/Linux-v5.4/drivers/ide/
Dide-atapi.c425 u8 stat, ireason, dsc = 0; in ide_pc_intr() local
494 dsc = 1; in ide_pc_intr()
503 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr()
/Linux-v5.4/arch/alpha/include/asm/
Dcore_tsunami.h68 tsunami_64 dsc; member

12