Home
last modified time | relevance | path

Searched refs:adjust (Results 1 – 25 of 194) sorted by relevance

12345678

/Linux-v5.4/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c180 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp()
237 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp()
238 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp()
280 in_out_vrr->adjust.v_total_min = in apply_below_the_range()
283 in_out_vrr->adjust.v_total_max = in apply_below_the_range()
416 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
419 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
420 in_out_vrr->adjust.v_total_min; in apply_fixed_refresh()
422 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
425 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
[all …]
/Linux-v5.4/net/ipv6/ila/
Dila_common.c43 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_fmt() local
53 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_fmt()
66 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_nofmt() local
71 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_nofmt()
/Linux-v5.4/drivers/tty/
Dtty_ldsem.c78 long adjust, count; in __ldsem_wake_readers() local
85 adjust = sem->wait_readers * (LDSEM_ACTIVE_BIAS - LDSEM_WAIT_BIAS); in __ldsem_wake_readers()
86 count = atomic_long_add_return(adjust, &sem->count); in __ldsem_wake_readers()
90 if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust)) in __ldsem_wake_readers()
159 long adjust = -LDSEM_ACTIVE_BIAS + LDSEM_WAIT_BIAS; in down_read_failed() local
170 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) { in down_read_failed()
171 count += adjust; in down_read_failed()
233 long adjust = -LDSEM_ACTIVE_BIAS; in down_write_failed() local
245 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) in down_write_failed()
/Linux-v5.4/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c65 int64_t adjust; in check_ia32_tsc_adjust() local
67 adjust = rdmsr(MSR_IA32_TSC_ADJUST); in check_ia32_tsc_adjust()
68 GUEST_SYNC(adjust); in check_ia32_tsc_adjust()
69 GUEST_ASSERT(adjust <= max); in check_ia32_tsc_adjust()
/Linux-v5.4/Documentation/media/v4l-drivers/
Dradiotrack.rst130 radio enable, tuner adjust disable)
133 radio disable, tuner adjust disable)
139 radio enable, tuner adjust disable)
144 radio enable, tuner adjust disable)
149 radio enable, tuner adjust disable)
161 disable, "zero" bit phase 1, tuner adjust)
163 disable, "zero" bit phase 2, tuner adjust)
166 disable, "one" bit phase 1, tuner adjust)
168 disable, "one" bit phase 2, tuner adjust)
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c143 u64 adjust; in xgbe_adjfreq() local
152 adjust = pdata->tstamp_addend; in xgbe_adjfreq()
153 adjust *= delta; in xgbe_adjfreq()
154 diff = div_u64(adjust, 1000000000UL); in xgbe_adjfreq()
/Linux-v5.4/drivers/media/platform/exynos4-is/
Dfimc-is-param.c99 __hw_param_copy(&par->isp.adjust, &cfg->isp.adjust); in __fimc_is_hw_update_param()
372 isp->adjust.contrast = val; in __is_set_isp_adjust()
375 isp->adjust.saturation = val; in __is_set_isp_adjust()
378 isp->adjust.sharpness = val; in __is_set_isp_adjust()
381 isp->adjust.exposure = val; in __is_set_isp_adjust()
384 isp->adjust.brightness = val; in __is_set_isp_adjust()
387 isp->adjust.hue = val; in __is_set_isp_adjust()
390 isp->adjust.contrast = 0; in __is_set_isp_adjust()
391 isp->adjust.saturation = 0; in __is_set_isp_adjust()
392 isp->adjust.sharpness = 0; in __is_set_isp_adjust()
[all …]
/Linux-v5.4/security/apparmor/
Dmatch.c625 unsigned int *adjust) in is_loop() argument
635 *adjust = i; in is_loop()
643 *adjust = i; in is_loop()
672 unsigned int adjust; in leftmatch_fb() local
680 if (is_loop(wb, state, &adjust)) { in leftmatch_fb()
682 *count -= adjust; in leftmatch_fb()
691 unsigned int adjust; in leftmatch_fb() local
699 if (is_loop(wb, state, &adjust)) { in leftmatch_fb()
701 *count -= adjust; in leftmatch_fb()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c102 struct dc_crtc_timing_adjust adjust = stream->adjust; in dce110_get_min_vblank_time_us() local
103 if (adjust.v_total_max != adjust.v_total_min) in dce110_get_min_vblank_time_us()
104 vertical_total_min = adjust.v_total_min; in dce110_get_min_vblank_time_us()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ptp.c822 int adjust = 0; in igb_ptp_tx_hwtstamp() local
832 adjust = IGB_I210_TX_LATENCY_10; in igb_ptp_tx_hwtstamp()
835 adjust = IGB_I210_TX_LATENCY_100; in igb_ptp_tx_hwtstamp()
838 adjust = IGB_I210_TX_LATENCY_1000; in igb_ptp_tx_hwtstamp()
844 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igb_ptp_tx_hwtstamp()
874 int adjust = 0; in igb_ptp_rx_pktstamp() local
887 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_pktstamp()
890 adjust = IGB_I210_RX_LATENCY_100; in igb_ptp_rx_pktstamp()
893 adjust = IGB_I210_RX_LATENCY_1000; in igb_ptp_rx_pktstamp()
898 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_pktstamp()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/serial/
Dnvidia,tegra20-hsuart.txt27 - nvidia,adjust-baud-rates: List of entries providing percentage of baud rate
46 Tx baud rate observed. To do this we use nvidia,adjust-baud-rates
56 nvidia,adjust-baud-rates = <0 9600 100>,
72 nvidia,adjust-baud-rates = <1000000 4000000 136>; /* 1.36% shift */
/Linux-v5.4/drivers/media/tuners/
Dtda9887.c311 static char *adjust[32] = { in dump_write_message() local
361 adjust[buf[2] & 0x1f]); in dump_write_message()
436 static unsigned int adjust = UNSET; variable
441 module_param(adjust, int, 0644);
468 if (adjust < 0x20) { in tda9887_set_insmod()
470 buf[2] |= adjust; in tda9887_set_insmod()
/Linux-v5.4/drivers/ata/
Dpata_hpt37x.c980 int dpll, adjust; in hpt37x_init_one() local
995 for (adjust = 0; adjust < 8; adjust++) { in hpt37x_init_one()
1002 if (adjust & 1) in hpt37x_init_one()
1003 f_low -= adjust >> 1; in hpt37x_init_one()
1005 f_high += adjust >> 1; in hpt37x_init_one()
1009 if (adjust == 8) { in hpt37x_init_one()
Dpata_hpt3x2n.c498 int adjust; in hpt3x2n_init_one() local
576 for (adjust = 0; adjust < 8; adjust++) { in hpt3x2n_init_one()
581 if (adjust == 8) { in hpt3x2n_init_one()
/Linux-v5.4/kernel/time/
Dntp.c535 struct timespec64 adjust, now; in sync_rtc_clock() local
543 adjust = now; in sync_rtc_clock()
545 adjust.tv_sec -= (sys_tz.tz_minuteswest * 60); in sync_rtc_clock()
551 rc = rtc_set_ntp_time(adjust, &target_nsec); in sync_rtc_clock()
569 struct timespec64 adjust; in sync_cmos_clock() local
588 if (rtc_tv_nsec_ok(-1 * target_nsec, &adjust, &now)) { in sync_cmos_clock()
590 adjust.tv_sec -= (sys_tz.tz_minuteswest * 60); in sync_cmos_clock()
591 rc = update_persistent_clock64(adjust); in sync_cmos_clock()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/dma/
Dusernv04.c47 u64 adjust = dmaobj->base.start & 0x00000fff; in nv04_dmaobj_bind() local
65 nvkm_wo32(*pgpuobj, 0x00, dmaobj->flags0 | (adjust << 20)); in nv04_dmaobj_bind()
/Linux-v5.4/drivers/ide/
Dhpt366.c1061 int adjust; in init_chipset_hpt366() local
1090 for (adjust = 0; adjust < 8; adjust++) { in init_chipset_hpt366()
1097 if (adjust & 1) in init_chipset_hpt366()
1098 f_low -= adjust >> 1; in init_chipset_hpt366()
1100 f_low += adjust >> 1; in init_chipset_hpt366()
1102 if (adjust == 8) { in init_chipset_hpt366()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-g-selection.rst74 must be filled with zeros. The driver may adjust coordinates of the
79 - ``0`` - The driver can adjust the rectangle size freely and shall
92 Please refer to :ref:`sel-const-adjust`.
126 .. _sel-const-adjust:
191 It is not possible to adjust struct :c:type:`v4l2_rect`
Dselection-api-configuration.rst24 Therefore, as usual, drivers are expected to adjust the requested
47 The driver may further adjust the requested size and/or position
66 bounds rectangle. The driver must adjust the composing rectangle to fit
107 further adjust the requested size and/or position according to hardware
118 driver must adjust the area to fit to the bounding limits. Moreover, the
/Linux-v5.4/drivers/mmc/host/
Dmeson-gx-mmc.c138 unsigned int adjust; member
494 unsigned int val = readl(host->regs + host->data->adjust); in meson_mmc_disable_resampling()
497 writel(val, host->regs + host->data->adjust); in meson_mmc_disable_resampling()
506 val = readl(host->regs + host->data->adjust); in meson_mmc_reset_resampling()
508 writel(val, host->regs + host->data->adjust); in meson_mmc_reset_resampling()
521 val = readl(host->regs + host->data->adjust); in meson_mmc_resampling_tuning()
523 writel(val, host->regs + host->data->adjust); in meson_mmc_resampling_tuning()
533 writel(val, host->regs + host->data->adjust); in meson_mmc_resampling_tuning()
1251 .adjust = SD_EMMC_ADJUST,
1258 .adjust = SD_EMMC_V3_ADJUST,
/Linux-v5.4/kernel/sched/
Dloadavg.c79 long calc_load_fold_active(struct rq *this_rq, long adjust) in calc_load_fold_active() argument
83 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-driver-hid-picolcd31 Description: Make it possible to adjust defio refresh rate.
40 it only makes sense to adjust this value if only one or two
/Linux-v5.4/drivers/rtc/
Dsysfs.c157 int adjust = 0; in wakealarm_store() local
174 adjust = 1; in wakealarm_store()
180 if (adjust) in wakealarm_store()
/Linux-v5.4/scripts/
Dmakelst32 $3 -r --source --adjust-vma=${t6:-0} $1
/Linux-v5.4/net/netfilter/
Dnf_nat_helper.c93 unsigned int rep_len, bool adjust) in __nf_nat_mangle_tcp_packet() argument
117 if (adjust && rep_len != match_len) in __nf_nat_mangle_tcp_packet()

12345678