Home
last modified time | relevance | path

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

12345678

/linux/drivers/gpu/drm/amd/display/modules/freesync/
H A Dfreesync.c227 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp()
294 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp()
295 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp()
335 in_out_vrr->adjust.v_total_min = in apply_below_the_range()
338 in_out_vrr->adjust.v_total_max = in apply_below_the_range()
501 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
504 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
505 in_out_vrr->adjust.v_total_min; in apply_fixed_refresh()
507 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
510 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp1_transition.c35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_transition() local
51 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_transition()
111 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_transition()
158 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_dp_transition() local
167 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition()
177 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition()
233 } else if (conn->hdcp1_retry_count < conn->link.adjust.hdcp1.min_auth_retries_wa) { in mod_hdcp_hdcp1_dp_transition()
263 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition()
287 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgm20b.c66 gm20b_pmu_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gm20b_pmu_acr_bld_patch() argument
73 hdr.code_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
74 hdr.code_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
76 hdr.data_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
77 hdr.data_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
79 hdr.overlay_dma_base = lower_32_bits((addr + adjust) << 8); in gm20b_pmu_acr_bld_patch()
80 hdr.overlay_dma_base1 = upper_32_bits((addr + adjust) << 8); in gm20b_pmu_acr_bld_patch()
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_tsc_adjust_test.c58 s64 adjust; in check_ia32_tsc_adjust() local
60 adjust = rdmsr(MSR_IA32_TSC_ADJUST); in check_ia32_tsc_adjust()
61 GUEST_SYNC(adjust); in check_ia32_tsc_adjust()
62 GUEST_ASSERT(adjust <= max); in check_ia32_tsc_adjust()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgm20b.c34 gm20b_gr_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gm20b_gr_acr_bld_patch() argument
41 hdr.code_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_gr_acr_bld_patch()
42 hdr.code_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_gr_acr_bld_patch()
44 hdr.data_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_gr_acr_bld_patch()
45 hdr.data_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_gr_acr_bld_patch()
H A Dgp108.c29 gp108_gr_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gp108_gr_acr_bld_patch() argument
33 hdr.code_dma_base = hdr.code_dma_base + adjust; in gp108_gr_acr_bld_patch()
34 hdr.data_dma_base = hdr.data_dma_base + adjust; in gp108_gr_acr_bld_patch()
H A Dgm200.c46 gm200_gr_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gm200_gr_acr_bld_patch() argument
50 hdr.code_dma_base = hdr.code_dma_base + adjust; in gm200_gr_acr_bld_patch()
51 hdr.data_dma_base = hdr.data_dma_base + adjust; in gm200_gr_acr_bld_patch()
/linux/Documentation/driver-api/media/drivers/
H A 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/drivers/gpu/drm/nouveau/nvkm/engine/sec2/
H A Dgp102.c78 gp102_sec2_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gp102_sec2_acr_bld_patch() argument
82 hdr.code_dma_base = hdr.code_dma_base + adjust; in gp102_sec2_acr_bld_patch()
83 hdr.data_dma_base = hdr.data_dma_base + adjust; in gp102_sec2_acr_bld_patch()
84 hdr.overlay_dma_base = hdr.overlay_dma_base + adjust; in gp102_sec2_acr_bld_patch()
241 gp102_sec2_acr_bld_patch_1(struct nvkm_acr *acr, u32 bld, s64 adjust) in gp102_sec2_acr_bld_patch_1() argument
245 hdr.code_dma_base = hdr.code_dma_base + adjust; in gp102_sec2_acr_bld_patch_1()
246 hdr.data_dma_base = hdr.data_dma_base + adjust; in gp102_sec2_acr_bld_patch_1()
/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c116 int64_t adjust; in inv_align_timestamp_it() local
126 adjust = add_max; in inv_align_timestamp_it()
128 adjust = sub_max; in inv_align_timestamp_it()
130 adjust = 0; in inv_align_timestamp_it()
132 ts->timestamp += adjust; in inv_align_timestamp_it()
/linux/drivers/ata/
H A Dpata_hpt37x.c948 int dpll, adjust; in hpt37x_init_one() local
963 for (adjust = 0; adjust < 8; adjust++) { in hpt37x_init_one()
970 if (adjust & 1) in hpt37x_init_one()
971 f_low -= adjust >> 1; in hpt37x_init_one()
973 f_high += adjust >> 1; in hpt37x_init_one()
977 if (adjust == 8) { in hpt37x_init_one()
H A Dpata_hpt3x2n.c496 int adjust; in hpt3x2n_init_one() local
575 for (adjust = 0; adjust < 8; adjust++) { in hpt3x2n_init_one()
580 if (adjust == 8) { in hpt3x2n_init_one()
/linux/security/apparmor/
H A Dmatch.c719 unsigned int *adjust) in is_loop() argument
729 *adjust = i; in is_loop()
764 unsigned int adjust; in leftmatch_fb() local
772 if (is_loop(wb, state, &adjust)) { in leftmatch_fb()
774 *count -= adjust; in leftmatch_fb()
783 unsigned int adjust; in leftmatch_fb() local
791 if (is_loop(wb, state, &adjust)) { in leftmatch_fb()
793 *count -= adjust; in leftmatch_fb()
/linux/drivers/media/tuners/
H A 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/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
H A Ddcn30_dwb_cm.c360 struct cm_grph_csc_adjustment adjust = params->csc_params; in dwb3_set_gamut_remap() local
363 if (adjust.gamut_adjust_type != CM_GAMUT_ADJUST_TYPE_SW) { in dwb3_set_gamut_remap()
365 dwb3_program_gamut_remap(dwbc, NULL, adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_BYPASS); in dwb3_set_gamut_remap()
372 arr_matrix[i] = adjust.temperature_matrix[i]; in dwb3_set_gamut_remap()
380 adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_RAMB_COEFF); in dwb3_set_gamut_remap()
383 adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_RAMA_COEFF); in dwb3_set_gamut_remap()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c463 int adjust; in igc_ptp_rx_pktstamp() local
473 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
476 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
479 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
482 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
485 adjust = 0; in igc_ptp_rx_pktstamp()
490 return ktime_sub_ns(timestamp, adjust); in igc_ptp_rx_pktstamp()
754 int adjust = 0; in igc_ptp_tx_reg_to_stamp() local
765 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_reg_to_stamp()
768 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_reg_to_stamp()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c942 int adjust = 0; in igb_ptp_tx_hwtstamp() local
952 adjust = IGB_I210_TX_LATENCY_10; in igb_ptp_tx_hwtstamp()
955 adjust = IGB_I210_TX_LATENCY_100; in igb_ptp_tx_hwtstamp()
958 adjust = IGB_I210_TX_LATENCY_1000; in igb_ptp_tx_hwtstamp()
964 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igb_ptp_tx_hwtstamp()
998 int adjust = 0; in igb_ptp_rx_pktstamp() local
1018 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_pktstamp()
1021 adjust = IGB_I210_RX_LATENCY_100; in igb_ptp_rx_pktstamp()
1024 adjust = IGB_I210_RX_LATENCY_1000; in igb_ptp_rx_pktstamp()
1029 *timestamp = ktime_sub_ns(ts.hwtstamp, adjust); in igb_ptp_rx_pktstamp()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A 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/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-selection.rst67 must be filled with zeros. The driver may adjust coordinates of the
72 - ``0`` - The driver can adjust the rectangle size freely and shall
85 Please refer to :ref:`sel-const-adjust`.
118 .. _sel-const-adjust:
181 It is not possible to adjust struct :c:type:`v4l2_rect`
H A Dselection-api-configuration.rst18 Therefore, as usual, drivers are expected to adjust the requested
41 The driver may further adjust the requested size and/or position
60 bounds rectangle. The driver must adjust the composing rectangle to fit
101 further adjust the requested size and/or position according to hardware
112 driver must adjust the area to fit to the bounding limits. Moreover, the
/linux/mm/
H A Dvma.c149 struct vm_area_struct *adjust; in init_multi_vma_prep() local
164 adjust = vmg->middle; in init_multi_vma_prep()
166 adjust = vmg->next; in init_multi_vma_prep()
168 adjust = NULL; in init_multi_vma_prep()
170 vp->adj_next = adjust; in init_multi_vma_prep()
171 if (!vp->anon_vma && adjust) in init_multi_vma_prep()
172 vp->anon_vma = adjust->anon_vma; in init_multi_vma_prep()
174 VM_WARN_ON(vp->anon_vma && adjust && adjust->anon_vma && in init_multi_vma_prep()
175 vp->anon_vma != adjust->anon_vma); in init_multi_vma_prep()
707 struct vm_area_struct *adjust; in vmg_adjust_set_range() local
[all …]
/linux/drivers/rtc/
H A Dsysfs.c157 int adjust = 0; in wakealarm_store() local
174 adjust = 1; in wakealarm_store()
180 if (adjust) in wakealarm_store()
/linux/kernel/sched/
H A Dloadavg.c80 long calc_load_fold_active(struct rq *this_rq, long adjust) in calc_load_fold_active() argument
84 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c894 enum xfs_refc_adjust_op adjust) in xfs_refc_merge_refcount() argument
899 return irec->rc_refcount + adjust; in xfs_refc_merge_refcount()
909 enum xfs_refc_adjust_op adjust, in xfs_refc_want_merge_center() argument
929 new_refcount = xfs_refc_merge_refcount(cleft, adjust); in xfs_refc_want_merge_center()
952 enum xfs_refc_adjust_op adjust) in xfs_refc_want_merge_left() argument
966 new_refcount = xfs_refc_merge_refcount(cleft, adjust); in xfs_refc_want_merge_left()
986 enum xfs_refc_adjust_op adjust) in xfs_refc_want_merge_right() argument
1000 new_refcount = xfs_refc_merge_refcount(cright, adjust); in xfs_refc_want_merge_right()
1025 enum xfs_refc_adjust_op adjust, in xfs_refcount_merge_extents() argument
1058 adjust, &ulen)) { in xfs_refcount_merge_extents()
[all …]
/linux/Documentation/ABI/testing/
H A 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

12345678