| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | stm32_gpio.c | 44 int stm32_gpio_config(const struct stm32_gpio_dsc *dsc, in stm32_gpio_config() argument 51 if (CHECK_DSC(dsc)) { in stm32_gpio_config() 60 gpio_regs = (struct stm32_gpio_regs *)io_base[dsc->port]; in stm32_gpio_config() 62 i = (dsc->pin & 0x07) * 4; in stm32_gpio_config() 63 clrsetbits_le32(&gpio_regs->afr[dsc->pin >> 3], 0xF << i, ctl->af << i); in stm32_gpio_config() 65 i = dsc->pin * 2; in stm32_gpio_config() 77 int stm32_gpout_set(const struct stm32_gpio_dsc *dsc, int state) in stm32_gpout_set() argument 82 if (CHECK_DSC(dsc)) { in stm32_gpout_set() 87 gpio_regs = (struct stm32_gpio_regs *)io_base[dsc->port]; in stm32_gpout_set() 90 writel(1 << dsc->pin, &gpio_regs->bsrr); in stm32_gpout_set() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A 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 …]
|
| H A 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,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A 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);
|
| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yaffsfs.c | 2791 static void yaffsfs_SetDirRewound(struct yaffsfs_DirSearchContxt *dsc) in yaffsfs_SetDirRewound() argument 2793 if (dsc && in yaffsfs_SetDirRewound() 2794 dsc->dirObj && in yaffsfs_SetDirRewound() 2795 dsc->dirObj->variant_type == YAFFS_OBJECT_TYPE_DIRECTORY) { in yaffsfs_SetDirRewound() 2797 dsc->offset = 0; in yaffsfs_SetDirRewound() 2799 if (list_empty(&dsc->dirObj->variant.dir_variant.children)) in yaffsfs_SetDirRewound() 2800 dsc->nextReturn = NULL; in yaffsfs_SetDirRewound() 2802 dsc->nextReturn = in yaffsfs_SetDirRewound() 2803 list_entry(dsc->dirObj->variant.dir_variant. in yaffsfs_SetDirRewound() 2811 static void yaffsfs_DirAdvance(struct yaffsfs_DirSearchContxt *dsc) in yaffsfs_DirAdvance() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/app/lvgl_demo/rk_demo/smart_home/ |
| H A D | smart_home_ui.c | 64 lv_draw_rect_dsc_t dsc; in bg_pic_snapshot_blur() local 80 lv_draw_rect_dsc_init(&dsc); in bg_pic_snapshot_blur() 81 dsc.bg_opa = 70; in bg_pic_snapshot_blur() 82 dsc.bg_color = lv_color_black(); in bg_pic_snapshot_blur() 85 bg_snapshot->header.h, &dsc); in bg_pic_snapshot_blur()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | dev.h | 91 #define IS_SSV_HT(dsc) ((dsc)->rate_idx >= 15) argument 92 #define IS_SSV_SHORT_GI(dsc) ((dsc)->rate_idx>=23 && (dsc)->rate_idx<=30) argument 93 #define IS_SSV_HT_GF(dsc) ((dsc)->rate_idx >= 31) argument 94 #define IS_SSV_SHORT_PRE(dsc) ((dsc)->rate_idx>=4 && (dsc)->rate_idx<=14) argument
|
| /OK3568_Linux_fs/app/lvgl_demo/rk_demo/furniture_control/ |
| H A D | icebox_ui.c | 38 lv_draw_rect_dsc_t dsc; in bg_pic_snapshot_blur() local 54 lv_draw_rect_dsc_init(&dsc); in bg_pic_snapshot_blur() 55 dsc.bg_opa = 70; in bg_pic_snapshot_blur() 56 dsc.bg_color = lv_color_black(); in bg_pic_snapshot_blur() 59 bg_snapshot->header.h, &dsc); in bg_pic_snapshot_blur()
|
| H A D | furniture_control_ui.c | 35 lv_draw_rect_dsc_t dsc; in bg_pic_snapshot_blur() local 51 lv_draw_rect_dsc_init(&dsc); in bg_pic_snapshot_blur() 52 dsc.bg_opa = 20; in bg_pic_snapshot_blur() 53 dsc.bg_color = lv_color_black(); in bg_pic_snapshot_blur() 56 bg_snapshot->header.h, &dsc); in bg_pic_snapshot_blur()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A 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))
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dsc/ |
| H A 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()
|
| H A D | Makefile | 30 CFLAGS_$(AMDDALPATH)/dc/dsc/rc_calc.o := $(dsc_ccflags) 34 AMD_DAL_DSC = $(addprefix $(AMDDALPATH)/dc/dsc/,$(DSC))
|
| /OK3568_Linux_fs/kernel/include/linux/irqchip/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/arch/mips/mm/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_dsc.h | 63 const struct display_stream_compressor *dsc, 72 const struct display_stream_compressor *dsc,
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | tls_stats.c | 48 #define MLX5E_READ_CTR_ATOMIC64(ptr, dsc, i) \ argument 49 atomic64_read((atomic64_t *)((char *)(ptr) + (dsc)[i].offset))
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H A 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)
|
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | dwc2.c | 598 uint32_t dsc; in dwc_otg_submit_rh_msg_in_descriptor() local 636 dsc = 0x00000001; in dwc_otg_submit_rh_msg_in_descriptor() 640 data[2] = dsc & RH_A_NDP; in dwc_otg_submit_rh_msg_in_descriptor() 642 if (dsc & RH_A_PSM) in dwc_otg_submit_rh_msg_in_descriptor() 644 if (dsc & RH_A_NOCP) in dwc_otg_submit_rh_msg_in_descriptor() 646 else if (dsc & RH_A_OCPM) in dwc_otg_submit_rh_msg_in_descriptor() 650 data[5] = (dsc & RH_A_POTPGT) >> 24; in dwc_otg_submit_rh_msg_in_descriptor() 651 data[7] = dsc & RH_B_DR; in dwc_otg_submit_rh_msg_in_descriptor() 656 data[8] = (dsc & RH_B_DR) >> 8; in dwc_otg_submit_rh_msg_in_descriptor()
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A 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()
|