/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.c | 43 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 …]
|
H A D | hdcp1_transition.c | 35 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()
|
H A D | hdcp2_transition.c | 35 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() 189 && !adjust->hdcp2.force_sw_locality_check; in mod_hdcp_hdcp2_transition() 204 adjust->hdcp2.force_sw_locality_check = true; in mod_hdcp_hdcp2_transition() 388 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_dp_transition() local 394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition() [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/freesync/ |
H A D | freesync.c | 225 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp() 244 /* Adjust frame duration delta based on ratio between current and in update_v_total_for_static_ramp() 255 /* Adjust for frame duration below min */ in update_v_total_for_static_ramp() 268 /* Adjust for frame duration above max */ in update_v_total_for_static_ramp() 286 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp() 287 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp() 326 in_out_vrr->adjust.v_total_min = in apply_below_the_range() 329 in_out_vrr->adjust.v_total_max = in apply_below_the_range() 491 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh() 494 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh() [all …]
|
/linux/arch/x86/kernel/ |
H A D | tsc_sync.c | 39 * This may cause the TSC ADJUST value on socket 0 to be NOT 0. 77 pr_warn(FW_BUG "TSC ADJUST differs: CPU%u %lld --> %lld. Restoring\n", in tsc_verify_tsc_adjust() 132 * On the boot cpu we just force set the ADJUST value to 0 if it's in tsc_sanitize_first_cpu() 134 * hotplug should have set the ADJUST register to a value > 0 so in tsc_sanitize_first_cpu() 137 * Also don't force the ADJUST value to zero if that is a valid value in tsc_sanitize_first_cpu() 140 * and socket 0 may not have an TSC ADJUST value of 0. in tsc_sanitize_first_cpu() 144 pr_warn(FW_BUG "TSC ADJUST: CPU%u: %lld force to 0\n", in tsc_sanitize_first_cpu() 149 pr_info("TSC ADJUST: CPU%u: %lld NOT forced to 0\n", in tsc_sanitize_first_cpu() 179 * Store and check the TSC ADJUST MSR if available 197 * The default adjust value cannot be assumed to be zero on any socket. in tsc_store_and_check_tsc_adjust() [all …]
|
/linux/net/ipv6/ila/ |
H A D | ila_common.c | 43 __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/drivers/gpu/drm/tegra/ |
H A D | dp.c | 375 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_init() local 380 adjust->voltage_swing[i] = 0; in drm_dp_link_train_init() 383 adjust->pre_emphasis[i] = 0; in drm_dp_link_train_init() 386 adjust->post_cursor[i] = 0; in drm_dp_link_train_init() 483 struct drm_dp_link_train_set *adjust = &link->train.adjust; in drm_dp_link_get_adjustments() local 496 adjust->voltage_swing[i] = in drm_dp_link_get_adjustments() 500 adjust->pre_emphasis[i] = in drm_dp_link_get_adjustments() 504 adjust->post_cursor[i] = in drm_dp_link_get_adjustments() 512 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_adjust() local 516 if (request->voltage_swing[i] != adjust->voltage_swing[i]) in drm_dp_link_train_adjust() [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | radiotrack.rst | 130 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/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-param.c | 99 __hw_param_copy(&par->isp.adjust, &cfg->isp.adjust); in __fimc_is_hw_update_param() 363 isp->adjust.contrast = val; in __is_set_isp_adjust() 366 isp->adjust.saturation = val; in __is_set_isp_adjust() 369 isp->adjust.sharpness = val; in __is_set_isp_adjust() 372 isp->adjust.exposure = val; in __is_set_isp_adjust() 375 isp->adjust.brightness = val; in __is_set_isp_adjust() 378 isp->adjust.hue = val; in __is_set_isp_adjust() 381 isp->adjust.contrast = 0; in __is_set_isp_adjust() 382 isp->adjust.saturation = 0; in __is_set_isp_adjust() 383 isp->adjust.sharpness = 0; in __is_set_isp_adjust() [all …]
|
H A D | fimc-isp.h | 76 /* Adjust - contrast */ 78 /* Adjust - saturation */ 80 /* Adjust - sharpness */ 82 /* Adjust - brightness */ 84 /* Adjust - hue */
|
/linux/drivers/tty/ |
H A D | tty_ldsem.c | 78 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/drivers/iio/common/inv_sensors/ |
H A D | inv_sensors_timestamp.c | 116 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()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-selection.rst | 67 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`
|
H A D | selection-api-configuration.rst | 17 Therefore, as usual, drivers are expected to adjust the requested 40 The driver may further adjust the requested size and/or position 59 bounds rectangle. The driver must adjust the composing rectangle to fit 100 further adjust the requested size and/or position according to hardware 111 driver must adjust the area to fit to the bounding limits. Moreover, the
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gm20b.c | 66 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/drivers/gpu/drm/amd/display/dc/mpc/dcn401/ |
H A D | dcn401_mpc.c | 421 const struct mpc_grph_gamut_adjustment *adjust) in mpc401_set_gamut_remap() argument 427 if (adjust->gamut_adjust_type != GRAPHICS_GAMUT_ADJUST_TYPE_SW) { in mpc401_set_gamut_remap() 430 adjust->mpcc_gamut_remap_block_id, MPCC_GAMUT_REMAP_MODE_SELECT_0); in mpc401_set_gamut_remap() 436 arr_matrix[i] = adjust->temperature_matrix[i]; in mpc401_set_gamut_remap() 440 switch (adjust->mpcc_gamut_remap_block_id) { in mpc401_set_gamut_remap() 464 adjust->mpcc_gamut_remap_block_id, mode_select); in mpc401_set_gamut_remap() 561 struct mpc_grph_gamut_adjustment *adjust) in mpc401_get_gamut_remap() argument 566 mpc_read_gamut_remap(mpc, mpcc_id, arr_reg_val, adjust->mpcc_gamut_remap_block_id, &mode_select); in mpc401_get_gamut_remap() 569 adjust->gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_BYPASS; in mpc401_get_gamut_remap() 573 adjust->gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_SW; in mpc401_get_gamut_remap() [all …]
|
/linux/tools/testing/selftests/kvm/x86/ |
H A D | vmx_tsc_adjust_test.c | 57 int64_t adjust; in check_ia32_tsc_adjust() local 59 adjust = rdmsr(MSR_IA32_TSC_ADJUST); in check_ia32_tsc_adjust() 60 GUEST_SYNC(adjust); in check_ia32_tsc_adjust() 61 GUEST_ASSERT(adjust <= max); in check_ia32_tsc_adjust()
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | fsl,imx8mq-usb-phy.yaml | 58 Adjust amount of current sourced to DPn and DMn after a J-to-K 65 Adjust the boosted transmit launch pk-pk differential amplitude 70 Adjust the voltage level used to detect a disconnect event at the host 77 Adjust TX de-emphasis attenuation in dB at nominal
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | nvidia,tegra20-hsuart.yaml | 58 nvidia,adjust-baud-rates: 78 we use nvidia,adjust-baud-rates. 86 nvidia,adjust-baud-rates = <0 9600 100>, 124 nvidia,adjust-baud-rates = <1000000 4000000 136>; /* 1.36% shift */
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
H A D | gp102.c | 78 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/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gm20b.c | 34 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()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr3/ |
H A D | ia_css_tnr3_types.h | 42 unsigned int round_adj_y; /** Rounding Adjust for Y */ 43 unsigned int round_adj_u; /** Rounding Adjust for U */ 44 unsigned int round_adj_v; /** Rounding Adjust for V */
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_check_mtu.c | 70 /* Exceed MTU with 1 via delta adjust */ in xdp_exceed_mtu() 99 * are responsible for catching this, when doing actual size adjust in xdp_minus_delta() 185 /* Exceed MTU with 1 via delta adjust */ in tc_exceed_mtu() 212 /* Exceed MTU with 1 via delta adjust */ in tc_exceed_mtu_da() 239 * are responsible for catching this, when doing actual size adjust in tc_minus_delta()
|
/linux/tools/testing/selftests/tc-testing/creating-plugins/ |
H A D | AddingPlugins.txt | 36 def adjust_command(self, stage, command) # see "ADJUST" below 68 ADJUST 72 executed. The plugin can adjust the command, based on the stage of
|
/linux/Documentation/netlink/specs/ |
H A D | dpll.yaml | 390 name: phase-adjust-min 393 name: phase-adjust-max 396 name: phase-adjust 611 - phase-adjust-min 612 - phase-adjust-max 613 - phase-adjust 644 - phase-adjust
|