Home
last modified time | relevance | path

Searched refs:wa (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_workarounds.c130 struct i915_wa *wa; in wal_get_fw_for_rmw() local
133 for (i = 0, wa = wal->list; i < wal->count; i++, wa++) in wal_get_fw_for_rmw()
135 wa->reg, in wal_get_fw_for_rmw()
142 static void _wa_add(struct i915_wa_list *wal, const struct i915_wa *wa) in _wa_add() argument
144 unsigned int addr = i915_mmio_reg_offset(wa->reg); in _wa_add()
155 list = kmalloc_array(ALIGN(wal->count + 1, grow), sizeof(*wa), in _wa_add()
163 memcpy(list, wal->list, sizeof(*wa) * wal->count); in _wa_add()
180 if ((wa->clr | wa_->clr) && !(wa->clr & ~wa_->clr)) { in _wa_add()
186 wa_->set &= ~wa->clr; in _wa_add()
190 wa_->set |= wa->set; in _wa_add()
[all …]
Dselftest_workarounds.c1041 const struct i915_wa *wa = &engine->whitelist.list[i]; in check_whitelisted_registers() local
1043 if (i915_mmio_reg_offset(wa->reg) & in check_whitelisted_registers()
1047 if (!fn(engine, a[i], b[i], wa->reg)) in check_whitelisted_registers()
/Linux-v6.6/drivers/crypto/ccp/
Dccp-ops.c64 static void ccp_sg_free(struct ccp_sg_workarea *wa) in ccp_sg_free() argument
66 if (wa->dma_count) in ccp_sg_free()
67 dma_unmap_sg(wa->dma_dev, wa->dma_sg_head, wa->nents, wa->dma_dir); in ccp_sg_free()
69 wa->dma_count = 0; in ccp_sg_free()
72 static int ccp_init_sg_workarea(struct ccp_sg_workarea *wa, struct device *dev, in ccp_init_sg_workarea() argument
76 memset(wa, 0, sizeof(*wa)); in ccp_init_sg_workarea()
78 wa->sg = sg; in ccp_init_sg_workarea()
82 wa->nents = sg_nents_for_len(sg, len); in ccp_init_sg_workarea()
83 if (wa->nents < 0) in ccp_init_sg_workarea()
84 return wa->nents; in ccp_init_sg_workarea()
[all …]
/Linux-v6.6/drivers/clocksource/
Darm_arch_timer.c524 bool arch_timer_check_dt_erratum(const struct arch_timer_erratum_workaround *wa, in arch_timer_check_dt_erratum() argument
529 return of_property_read_bool(np, wa->id); in arch_timer_check_dt_erratum()
533 bool arch_timer_check_local_cap_erratum(const struct arch_timer_erratum_workaround *wa, in arch_timer_check_local_cap_erratum() argument
536 return this_cpu_has_cap((uintptr_t)wa->id); in arch_timer_check_local_cap_erratum()
541 bool arch_timer_check_acpi_oem_erratum(const struct arch_timer_erratum_workaround *wa, in arch_timer_check_acpi_oem_erratum() argument
545 const struct ate_acpi_oem_info *info = wa->id; in arch_timer_check_acpi_oem_erratum()
580 void arch_timer_enable_workaround(const struct arch_timer_erratum_workaround *wa, in arch_timer_enable_workaround() argument
586 __this_cpu_write(timer_unstable_counter_workaround, wa); in arch_timer_enable_workaround()
589 per_cpu(timer_unstable_counter_workaround, i) = wa; in arch_timer_enable_workaround()
592 if (wa->read_cntvct_el0 || wa->read_cntpct_el0) in arch_timer_enable_workaround()
[all …]
/Linux-v6.6/scripts/
Dkallsyms.c743 int wa, wb; in compare_symbols() local
752 wa = (sa->sym[0] == 'w') || (sa->sym[0] == 'W'); in compare_symbols()
754 if (wa != wb) in compare_symbols()
755 return wa - wb; in compare_symbols()
758 wa = may_be_linker_script_provide_symbol(sa); in compare_symbols()
760 if (wa != wb) in compare_symbols()
761 return wa - wb; in compare_symbols()
764 wa = strspn(sym_name(sa), "_"); in compare_symbols()
766 if (wa != wb) in compare_symbols()
767 return wa - wb; in compare_symbols()
/Linux-v6.6/drivers/media/pci/zoran/
Dzoran_device.c233 unsigned int wa, we, ha, he; in zr36057_set_vfe() local
239 wa = tvn->wa; in zr36057_set_vfe()
246 video_width > wa || video_height > ha) { in zr36057_set_vfe()
255 X = DIV_ROUND_UP(vid_win_wid * 64, tvn->wa); in zr36057_set_vfe()
258 hcrop1 = 2 * ((tvn->wa - we) / 4); in zr36057_set_vfe()
259 hcrop2 = tvn->wa - we - hcrop1; in zr36057_set_vfe()
269 h_end = h_start + tvn->wa - 1; in zr36057_set_vfe()
Dvideocodec.h222 u16 wt, wa, h_start, h_sync_start, ht, ha, v_start; member
Dzoran.h51 #define BUZ_MAX_WIDTH (zr->timing->wa)
Dzr36060.c574 reg += norm->wa; /* BHend */ in zr36060_set_video()
608 reg += norm->wa + 8; /* SHend */ in zr36060_set_video()
/Linux-v6.6/drivers/accel/ivpu/
Divpu_drv.h77 #define IVPU_WA(wa_name) (vdev->wa.wa_name)
100 struct ivpu_wa_table wa; member
Divpu_hw_37xx.c101 vdev->wa.punit_disabled = ivpu_is_fpga(vdev); in ivpu_hw_wa_init()
102 vdev->wa.clear_runtime_mem = false; in ivpu_hw_wa_init()
103 vdev->wa.d3hot_after_power_off = true; in ivpu_hw_wa_init()
106 vdev->wa.interrupt_clear_with_0 = true; in ivpu_hw_wa_init()
Divpu_hw_40xx.c123 vdev->wa.punit_disabled = ivpu_is_fpga(vdev); in ivpu_hw_wa_init()
124 vdev->wa.clear_runtime_mem = false; in ivpu_hw_wa_init()
127 vdev->wa.disable_clock_relinquish = true; in ivpu_hw_wa_init()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_debugfs.c588 const struct i915_wa *wa; in i915_wa_registers() local
598 for (wa = wal->list; count--; wa++) in i915_wa_registers()
600 i915_mmio_reg_offset(wa->reg), in i915_wa_registers()
601 wa->set, wa->clr); in i915_wa_registers()
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
DMakefile4 b43-$(CONFIG_B43_PHY_G) += phy_g.o tables.o lo.o wa.o
/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c362 struct i915_wa *wa; in guc_mmio_regset_init() local
380 for (i = 0, wa = wal->list; i < wal->count; i++, wa++) in guc_mmio_regset_init()
381 ret |= GUC_MMIO_REG_ADD(gt, regset, wa->reg, wa->masked_reg); in guc_mmio_regset_init()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc_ddc_types.h187 union ddc_wa wa; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddce_mem_input.c756 if (dce_mi->wa.single_head_rdreq_dmif_limit) { in dce_mi_allocate_dmif()
758 dce_mi->wa.single_head_rdreq_dmif_limit; in dce_mi_allocate_dmif()
786 if (dce_mi->wa.single_head_rdreq_dmif_limit) { in dce_mi_free_dmif()
788 dce_mi->wa.single_head_rdreq_dmif_limit; in dce_mi_free_dmif()
Ddce_hwseq.c80 if (hws->wa.blnd_crtc_trigger) { in dce_pipe_control_lock()
Ddce_mem_input.h429 struct dce_mem_input_wa wa; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer_private.h174 struct dce_hwseq_wa wa; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c861 hws->wa.DEGVIDCN10_253 = true; in dcn10_hwseq_create()
862 hws->wa.false_optc_underflow = true; in dcn10_hwseq_create()
863 hws->wa.DEGVIDCN10_254 = true; in dcn10_hwseq_create()
873 hws->wa.wait_hubpret_read_start_during_mpo_transition = true; in dcn10_hwseq_create()
876 hws->wa.wait_hubpret_read_start_during_mpo_transition = false; in dcn10_hwseq_create()
/Linux-v6.6/arch/arm/mm/
Dcache-l2x0-pmu.c374 L220_PLUS_EVENT_ATTR(wa, 0x9),
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_ddc.c153 ddc_service->wa.raw = 0; in ddc_service_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c570 hws->wa.blnd_crtc_trigger = true; in dce110_hwseq_create()
616 dce_mi->wa.single_head_rdreq_dmif_limit = 3; in dce110_mem_input_create()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1195 hws->wa.DEGVIDCN21 = true; in dcn21_hwseq_create()
1196 hws->wa.disallow_self_refresh_during_multi_plane_transition = true; in dcn21_hwseq_create()

12