/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rs690.c | 81 tmp.full = dfixed_const(100); in rs690_pm_info() 82 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock)); in rs690_pm_info() 83 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 85 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); in rs690_pm_info() 87 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); in rs690_pm_info() 88 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 90 rdev->pm.igp_system_mclk.full = dfixed_const(400); in rs690_pm_info() 91 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); in rs690_pm_info() 92 rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth); in rs690_pm_info() 95 tmp.full in rs690_pm_info() [all...] |
H A D | rv515.c | 981 a.full = dfixed_const(100); in rv515_crtc_bandwidth_compute() 982 sclk.full = dfixed_const(selected_sclk); in rv515_crtc_bandwidth_compute() 983 sclk.full = dfixed_div(sclk, a); in rv515_crtc_bandwidth_compute() 985 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute() 986 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute() 988 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute() 990 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute() 991 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute() 992 a.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute() 993 request_fifo_depth.full in rv515_crtc_bandwidth_compute() [all...] |
H A D | r100.c | 3244 min_mem_eff.full = dfixed_const_8(0); in r100_bandwidth_update() 3265 temp_ff.full = dfixed_const(temp); in r100_bandwidth_update() 3266 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3268 pix_clk.full = 0; in r100_bandwidth_update() 3269 pix_clk2.full = 0; in r100_bandwidth_update() 3270 peak_disp_bw.full = 0; in r100_bandwidth_update() 3272 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update() 3273 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ in r100_bandwidth_update() 3274 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3275 temp_ff.full in r100_bandwidth_update() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | rs690.c | 81 tmp.full = dfixed_const(100); in rs690_pm_info() 82 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock)); in rs690_pm_info() 83 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 85 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); in rs690_pm_info() 87 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); in rs690_pm_info() 88 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 90 rdev->pm.igp_system_mclk.full = dfixed_const(400); in rs690_pm_info() 91 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); in rs690_pm_info() 92 rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth); in rs690_pm_info() 95 tmp.full in rs690_pm_info() [all...] |
H A D | rv515.c | 949 a.full = dfixed_const(100); in rv515_crtc_bandwidth_compute() 950 sclk.full = dfixed_const(selected_sclk); in rv515_crtc_bandwidth_compute() 951 sclk.full = dfixed_div(sclk, a); in rv515_crtc_bandwidth_compute() 953 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute() 954 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute() 956 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute() 958 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute() 959 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute() 960 a.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute() 961 request_fifo_depth.full in rv515_crtc_bandwidth_compute() [all...] |
H A D | r100.c | 3241 min_mem_eff.full = dfixed_const_8(0); in r100_bandwidth_update() 3262 temp_ff.full = dfixed_const(temp); in r100_bandwidth_update() 3263 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3265 pix_clk.full = 0; in r100_bandwidth_update() 3266 pix_clk2.full = 0; in r100_bandwidth_update() 3267 peak_disp_bw.full = 0; in r100_bandwidth_update() 3269 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update() 3270 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ in r100_bandwidth_update() 3271 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3272 temp_ff.full in r100_bandwidth_update() [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_seq.c | 86 if (s->full) in trace_seq_printf() 98 s->full = 1; in trace_seq_printf() 116 if (s->full) in trace_seq_bitmask() 125 s->full = 1; in trace_seq_bitmask() 145 if (s->full) in trace_seq_vprintf() 155 s->full = 1; in trace_seq_vprintf() 179 if (s->full) in trace_seq_bprintf() 189 s->full = 1; in trace_seq_bprintf() 209 if (s->full) in trace_seq_puts() 215 s->full in trace_seq_puts() [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_seq.c | 86 if (s->full) in trace_seq_printf() 98 s->full = 1; in trace_seq_printf() 116 if (s->full) in trace_seq_bitmask() 125 s->full = 1; in trace_seq_bitmask() 146 if (s->full) in trace_seq_vprintf() 156 s->full = 1; in trace_seq_vprintf() 180 if (s->full) in trace_seq_bprintf() 190 s->full = 1; in trace_seq_bprintf() 210 if (s->full) in trace_seq_puts() 216 s->full in trace_seq_puts() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 37 * A.full => The full number as it is. Generally not easy to read 42 int full; member 223 temp.full = (X << SHIFT_AMOUNT); in ConvertToFraction() 225 temp.full = 0; in ConvertToFraction() 241 temp.full = (X << SHIFT_AMOUNT); in Convert_ULONG_ToFraction() 243 temp.full = 0; in Convert_ULONG_ToFraction() 280 fValue.full = 0; in GetScaledFraction() 290 fValue.full = fValue.full << times_shifte in GetScaledFraction() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 37 * A.full => The full number as it is. Generally not easy to read 42 int full; member 223 temp.full = (X << SHIFT_AMOUNT); in ConvertToFraction() 225 temp.full = 0; in ConvertToFraction() 241 temp.full = (X << SHIFT_AMOUNT); in Convert_ULONG_ToFraction() 243 temp.full = 0; in Convert_ULONG_ToFraction() 280 fValue.full = 0; in GetScaledFraction() 290 fValue.full = fValue.full << times_shifte in GetScaledFraction() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utmath.c | 22 u64 full; member 56 multiplicand_ovl.full = multiplicand; in acpi_ut_short_multiply() 73 *out_product = product.full; in acpi_ut_short_multiply() 97 operand_ovl.full = operand; in acpi_ut_short_shift_left() 110 *out_result = operand_ovl.full; in acpi_ut_short_shift_left() 134 operand_ovl.full = operand; in acpi_ut_short_shift_right() 147 *out_result = operand_ovl.full; in acpi_ut_short_shift_right() 272 dividend_ovl.full = dividend; in acpi_ut_short_divide() 287 *out_quotient = quotient.full; in acpi_ut_short_divide() 334 divisor.full in acpi_ut_divide() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | apm_power.c | 40 union power_supply_propval full; member 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery() 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery() 59 if (bp->full.intval > bp->max_charge) { in __find_main_battery() 61 bp->max_charge = bp->full.intval; in __find_main_battery() 63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery() 64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) { in __find_main_battery() 65 if (bp->full.intval > bp->max_energy) { in __find_main_battery() 67 bp->max_energy = bp->full.intval; in __find_main_battery() 93 &bp.full)) { in find_main_battery() 120 union power_supply_propval full; do_calculate_time() local 218 union power_supply_propval empty, full, cur; calculate_capacity() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utmath.c | 22 u64 full; member 56 multiplicand_ovl.full = multiplicand; in acpi_ut_short_multiply() 73 *out_product = product.full; in acpi_ut_short_multiply() 97 operand_ovl.full = operand; in acpi_ut_short_shift_left() 110 *out_result = operand_ovl.full; in acpi_ut_short_shift_left() 134 operand_ovl.full = operand; in acpi_ut_short_shift_right() 147 *out_result = operand_ovl.full; in acpi_ut_short_shift_right() 272 dividend_ovl.full = dividend; in acpi_ut_short_divide() 287 *out_quotient = quotient.full; in acpi_ut_short_divide() 334 divisor.full in acpi_ut_divide() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | apm_power.c | 40 union power_supply_propval full; member 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery() 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery() 59 if (bp->full.intval > bp->max_charge) { in __find_main_battery() 61 bp->max_charge = bp->full.intval; in __find_main_battery() 63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery() 64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) { in __find_main_battery() 65 if (bp->full.intval > bp->max_energy) { in __find_main_battery() 67 bp->max_energy = bp->full.intval; in __find_main_battery() 93 &bp.full)) { in find_main_battery() 120 union power_supply_propval full; do_calculate_time() local 218 union power_supply_propval empty, full, cur; calculate_capacity() local [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_fixed.h | 31 u32 full; member 39 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) 40 #define dfixed_init(A) { .full = dfixed_const((A)) } 41 #define dfixed_init_half(A) { .full = dfixed_const_half((A)) } 42 #define dfixed_trunc(A) ((A).full >> 12) 43 #define dfixed_frac(A) ((A).full & ((1 << 12) - 1)) 56 if (A.full > dfixed_const(non_frac)) in dfixed_ceil() 64 u64 tmp = ((u64)A.full << 13); in dfixed_div() 66 do_div(tmp, B.full); in dfixed_div() [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_fixed.h | 32 u32 full; member 40 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) 41 #define dfixed_init(A) { .full = dfixed_const((A)) } 42 #define dfixed_init_half(A) { .full = dfixed_const_half((A)) } 43 #define dfixed_trunc(A) ((A).full >> 12) 44 #define dfixed_frac(A) ((A).full & ((1 << 12) - 1)) 57 if (A.full > dfixed_const(non_frac)) in dfixed_ceil() 65 u64 tmp = ((u64)A.full << 13); in dfixed_div() 67 do_div(tmp, B.full); in dfixed_div() [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | cmpxchg_64.h | 24 u128 full; member 32 union __u128_halves o = { .full = (_old), }, \ 33 n = { .full = (_new), }; \ 41 o.full; \ 58 union __u128_halves o = { .full = *(_oldp), }, \ 59 n = { .full = (_new), }; \ 71 *(_oldp) = o.full; \
|
/kernel/liteos_a/testsuites/kernel/sample/posix/ |
H A D | Makefile | 23 FULL_MODULES := mqueue/full mutex/full sem/full pthread/full swtmr/full sched/full mem/full
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/ |
H A D | sst_loader.c | 60 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 62 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() 64 csr.full |= 0x7; in intel_sst_reset_dsp_mrfld() 65 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); in intel_sst_reset_dsp_mrfld() 66 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 68 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() 70 csr.full &= ~(0x1); in intel_sst_reset_dsp_mrfld() 71 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); in intel_sst_reset_dsp_mrfld() 73 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 74 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() [all...] |
H A D | sst_ipc.c | 126 header.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCX); in sst_post_message_mrfld() 137 header.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCX); in sst_post_message_mrfld() 160 msg->mrfld_header.p.header_high.full); in sst_post_message_mrfld() 169 sst_shim_write64(sst_drv_ctx->shim, SST_IPCX, msg->mrfld_header.full); in sst_post_message_mrfld() 186 imr.full = sst_shim_read64(sst_drv_ctx->shim, SST_IMRX); in intel_sst_clear_intr_mrfld() 187 isr.full = sst_shim_read64(sst_drv_ctx->shim, SST_ISRX); in intel_sst_clear_intr_mrfld() 191 sst_shim_write64(sst_drv_ctx->shim, SST_ISRX, isr.full); in intel_sst_clear_intr_mrfld() 194 clear_ipc.full = sst_shim_read64(sst_drv_ctx->shim, SST_IPCD); in intel_sst_clear_intr_mrfld() 199 sst_shim_write64(sst_drv_ctx->shim, SST_IPCD, clear_ipc.full); in intel_sst_clear_intr_mrfld() 202 sst_shim_write64(sst_drv_ctx->shim, SST_IMRX, imr.full); in intel_sst_clear_intr_mrfld() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/atom/sst/ |
H A D | sst_loader.c | 59 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 61 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() 63 csr.full |= 0x7; in intel_sst_reset_dsp_mrfld() 64 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); in intel_sst_reset_dsp_mrfld() 65 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 67 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() 69 csr.full &= ~(0x1); in intel_sst_reset_dsp_mrfld() 70 sst_shim_write64(sst_drv_ctx->shim, SST_CSR, csr.full); in intel_sst_reset_dsp_mrfld() 72 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 73 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | csc.c | 32 struct quantization full; member 55 .full = { 69 .full = { 85 .full = { 99 .full = { 195 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 200 coeff = csc_coeffs.y2r.r709.full.coeff; in csc_set_coeff() 205 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 223 coeff = csc_coeffs.r2y.r601.full.coeff; in csc_set_coeff() 228 coeff = csc_coeffs.r2y.r709.full in csc_set_coeff() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
H A D | csc.c | 32 struct quantization full; member 55 .full = { 69 .full = { 85 .full = { 99 .full = { 195 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 200 coeff = csc_coeffs.y2r.r709.full.coeff; in csc_set_coeff() 205 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 223 coeff = csc_coeffs.r2y.r601.full.coeff; in csc_set_coeff() 228 coeff = csc_coeffs.r2y.r709.full in csc_set_coeff() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 525 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth() 526 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth() 527 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth() 528 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth() 529 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth() 530 dram_efficiency.full = dfixed_const(7); in dce_v6_0_dram_bandwidth() 531 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth() 532 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 533 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 554 a.full in dce_v6_0_dram_bandwidth_for_display() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v6_0.c | 528 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth() 529 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth() 530 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth() 531 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth() 532 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth() 533 dram_efficiency.full = dfixed_const(7); in dce_v6_0_dram_bandwidth() 534 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth() 535 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 536 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 557 a.full in dce_v6_0_dram_bandwidth_for_display() [all...] |