Home
last modified time | relevance | path

Searched full:adjust (Results 1 – 25 of 3810) sorted by relevance

12345678910>>...153

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp.c43 hdcp->connection.link.adjust.hdcp1.disable = 1; in push_error_status()
47 hdcp->connection.link.adjust.hdcp2.disable = 1; in push_error_status()
60 hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { in is_cp_desired_hdcp1()
67 !hdcp->connection.link.adjust.hdcp1.disable && in is_cp_desired_hdcp1()
80 hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { in is_cp_desired_hdcp2()
87 !hdcp->connection.link.adjust.hdcp2.disable && in is_cp_desired_hdcp2()
262 display->adjust.disable == true && in update_display_adjustments()
264 display->adjust.disable = false; in update_display_adjustments()
271 display->adjust.disable = true; in update_display_adjustments()
275 memcmp(adj, &display->adjust, in update_display_adjustments()
[all …]
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()
Dhdcp2_transition.c35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_transition() local
41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
91 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_transition()
104 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_transition()
180 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_transition()
376 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_dp_transition() local
382 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
416 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_dp_transition()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c180 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp()
199 /* Adjust frame duration delta based on ratio between current and in update_v_total_for_static_ramp()
210 /* adjust for frame duration below min */ in update_v_total_for_static_ramp()
223 /* adjust for frame duration above max */ in update_v_total_for_static_ramp()
241 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp()
242 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp()
282 in_out_vrr->adjust.v_total_min = in apply_below_the_range()
285 in_out_vrr->adjust.v_total_max = in apply_below_the_range()
445 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
448 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c191 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp()
210 /* Adjust frame duration delta based on ratio between current and in update_v_total_for_static_ramp()
221 /* Adjust for frame duration below min */ in update_v_total_for_static_ramp()
234 /* Adjust for frame duration above max */ in update_v_total_for_static_ramp()
252 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp()
253 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp()
293 in_out_vrr->adjust.v_total_min = in apply_below_the_range()
296 in_out_vrr->adjust.v_total_max = in apply_below_the_range()
458 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh()
461 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh()
[all …]
/kernel/linux/linux-6.6/arch/x86/kernel/
Dtsc_sync.c38 * This may cause the TSC ADJUST value on socket 0 to be NOT 0.
76 pr_warn(FW_BUG "TSC ADJUST differs: CPU%u %lld --> %lld. Restoring\n", in tsc_verify_tsc_adjust()
131 * On the boot cpu we just force set the ADJUST value to 0 if it's in tsc_sanitize_first_cpu()
133 * hotplug should have set the ADJUST register to a value > 0 so in tsc_sanitize_first_cpu()
136 * Also don't force the ADJUST value to zero if that is a valid value in tsc_sanitize_first_cpu()
139 * and socket 0 may not have an TSC ADJUST value of 0. in tsc_sanitize_first_cpu()
143 pr_warn(FW_BUG "TSC ADJUST: CPU%u: %lld force to 0\n", in tsc_sanitize_first_cpu()
148 pr_info("TSC ADJUST: CPU%u: %lld NOT forced to 0\n", in tsc_sanitize_first_cpu()
178 * Store and check the TSC ADJUST MSR if available
196 * The default adjust value cannot be assumed to be zero on any socket. in tsc_store_and_check_tsc_adjust()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc_sync.c37 * This may cause the TSC ADJUST value on socket 0 to be NOT 0.
75 pr_warn(FW_BUG "TSC ADJUST differs: CPU%u %lld --> %lld. Restoring\n", in tsc_verify_tsc_adjust()
130 * On the boot cpu we just force set the ADJUST value to 0 if it's in tsc_sanitize_first_cpu()
132 * hotplug should have set the ADJUST register to a value > 0 so in tsc_sanitize_first_cpu()
135 * Also don't force the ADJUST value to zero if that is a valid value in tsc_sanitize_first_cpu()
138 * and socket 0 may not have an TSC ADJUST value of 0. in tsc_sanitize_first_cpu()
142 pr_warn(FW_BUG "TSC ADJUST: CPU%u: %lld force to 0\n", in tsc_sanitize_first_cpu()
147 pr_info("TSC ADJUST: CPU%u: %lld NOT forced to 0\n", in tsc_sanitize_first_cpu()
177 * Store and check the TSC ADJUST MSR if available
223 printk_once(FW_BUG "TSC ADJUST differs within socket(s), fixing all errors\n"); in tsc_store_and_check_tsc_adjust()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
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()
Dhdcp2_transition.c35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_transition() local
41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
91 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_transition()
104 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_transition()
180 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_transition()
376 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_dp_transition() local
382 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
416 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_dp_transition()
[all …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_ptp.c173 int adjust; in igc_ptp_rx_pktstamp() local
188 /* Adjust timestamp for the RX latency based on link speed */ in igc_ptp_rx_pktstamp()
191 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp()
194 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp()
197 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp()
200 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp()
203 adjust = 0; in igc_ptp_rx_pktstamp()
208 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igc_ptp_rx_pktstamp()
372 int adjust = 0; in igc_ptp_tx_hwtstamp() local
385 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_hwtstamp()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddp.c442 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_init() local
447 adjust->voltage_swing[i] = 0; in drm_dp_link_train_init()
450 adjust->pre_emphasis[i] = 0; in drm_dp_link_train_init()
453 adjust->post_cursor[i] = 0; in drm_dp_link_train_init()
550 struct drm_dp_link_train_set *adjust = &link->train.adjust; in drm_dp_link_get_adjustments() local
554 adjust->voltage_swing[i] = in drm_dp_link_get_adjustments()
558 adjust->pre_emphasis[i] = in drm_dp_link_get_adjustments()
562 adjust->post_cursor[i] = in drm_dp_link_get_adjustments()
570 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_adjust() local
574 if (request->voltage_swing[i] != adjust->voltage_swing[i]) in drm_dp_link_train_adjust()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Ddp.c442 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_init() local
447 adjust->voltage_swing[i] = 0; in drm_dp_link_train_init()
450 adjust->pre_emphasis[i] = 0; in drm_dp_link_train_init()
453 adjust->post_cursor[i] = 0; in drm_dp_link_train_init()
550 struct drm_dp_link_train_set *adjust = &link->train.adjust; in drm_dp_link_get_adjustments() local
563 adjust->voltage_swing[i] = in drm_dp_link_get_adjustments()
567 adjust->pre_emphasis[i] = in drm_dp_link_get_adjustments()
571 adjust->post_cursor[i] = in drm_dp_link_get_adjustments()
579 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_adjust() local
583 if (request->voltage_swing[i] != adjust->voltage_swing[i]) in drm_dp_link_train_adjust()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/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)
/kernel/linux/linux-6.6/Documentation/driver-api/media/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)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgm20b.c76 gm20b_pmu_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gm20b_pmu_acr_bld_patch() argument
83 hdr.code_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
84 hdr.code_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
86 hdr.data_dma_base = lower_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
87 hdr.data_dma_base1 = upper_32_bits((addr + adjust) >> 8); in gm20b_pmu_acr_bld_patch()
89 hdr.overlay_dma_base = lower_32_bits((addr + adjust) << 8); in gm20b_pmu_acr_bld_patch()
90 hdr.overlay_dma_base1 = upper_32_bits((addr + adjust) << 8); in gm20b_pmu_acr_bld_patch()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dfsl,imx8mq-usb-phy.yaml53 Adjust amount of current sourced to DPn and DMn after a J-to-K
60 Adjust the boosted transmit launch pk-pk differential amplitude
65 Adjust the voltage level used to detect a disconnect event at the host
72 Adjust TX de-emphasis attenuation in dB at nominal
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c116 int64_t adjust; in inv_align_timestamp_it() local
121 /* adjust timestamp while respecting jitter */ in inv_align_timestamp_it()
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()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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`.
96 2. Adjust width, height, left, and top to hardware limits and
118 .. _sel-const-adjust:
181 It is not possible to adjust struct :c:type:`v4l2_rect`
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
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`.
96 2. Adjust width, height, left, and top to hardware limits and
118 .. _sel-const-adjust:
181 It is not possible to adjust struct :c:type:`v4l2_rect`
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
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()
/kernel/linux/linux-5.10/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 */

12345678910>>...153