/linux/drivers/gpu/drm/amd/display/modules/freesync/ |
A D | freesync.c | 189 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp() 291 in_out_vrr->adjust.v_total_min = in apply_below_the_range() 294 in_out_vrr->adjust.v_total_max = in apply_below_the_range() 453 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh() 456 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh() 457 in_out_vrr->adjust.v_total_min; in apply_fixed_refresh() 459 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh() 462 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh() 495 *vmin = stream->adjust.v_total_min; in mod_freesync_get_vmin_vmax() 1102 in_out_vrr->adjust.v_total_min = in mod_freesync_build_vrr_params() [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
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()
|
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() 67 !hdcp->connection.link.adjust.hdcp1.disable && in is_cp_desired_hdcp1() 87 !hdcp->connection.link.adjust.hdcp2.disable && in is_cp_desired_hdcp2() 343 callback_in_ms(hdcp->connection.link.adjust.auth_delay * 1000, output); in mod_hdcp_add_display() 386 callback_in_ms(hdcp->connection.link.adjust.auth_delay * 1000, in mod_hdcp_remove_display() 414 if (memcmp(link_adjust, &hdcp->connection.link.adjust, in mod_hdcp_update_authentication() 416 memcmp(display_adjust, &display->adjust, in mod_hdcp_update_authentication() 434 hdcp->connection.link.adjust = *link_adjust; in mod_hdcp_update_authentication() 435 display->adjust = *display_adjust; in mod_hdcp_update_authentication() [all …]
|
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() 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 …]
|
/linux/drivers/gpu/drm/tegra/ |
A D | dp.c | 442 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 579 request->pre_emphasis[i] = adjust->pre_emphasis[i]; in drm_dp_link_train_adjust() [all …]
|
/linux/drivers/tty/ |
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/net/ipv6/ila/ |
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/nouveau/nvkm/subdev/pmu/ |
A D | gm20b.c | 76 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()
|
/linux/Documentation/driver-api/media/drivers/ |
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/gpu/drm/nouveau/nvkm/engine/gr/ |
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()
|
A D | gp108.c | 29 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()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | vmx_tsc_adjust_test.c | 65 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/drivers/gpu/drm/nouveau/nvkm/engine/sec2/ |
A D | gp102.c | 88 gp102_sec2_acr_bld_patch(struct nvkm_acr *acr, u32 bld, s64 adjust) in gp102_sec2_acr_bld_patch() argument 92 hdr.code_dma_base = hdr.code_dma_base + adjust; in gp102_sec2_acr_bld_patch() 93 hdr.data_dma_base = hdr.data_dma_base + adjust; in gp102_sec2_acr_bld_patch() 94 hdr.overlay_dma_base = hdr.overlay_dma_base + adjust; in gp102_sec2_acr_bld_patch() 272 gp102_sec2_acr_bld_patch_1(struct nvkm_acr *acr, u32 bld, s64 adjust) in gp102_sec2_acr_bld_patch_1() argument 276 hdr.code_dma_base = hdr.code_dma_base + adjust; in gp102_sec2_acr_bld_patch_1() 277 hdr.data_dma_base = hdr.data_dma_base + adjust; in gp102_sec2_acr_bld_patch_1()
|
/linux/drivers/media/platform/exynos4-is/ |
A D | fimc-is-param.c | 99 __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() 381 isp->adjust.exposure = 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() 393 isp->adjust.exposure = 0; in __is_set_isp_adjust() 395 isp->adjust.hue = 0; in __is_set_isp_adjust() 400 isp->adjust.cmd = cmd; in __is_set_isp_adjust() [all …]
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-ptp.c | 143 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/drivers/gpu/drm/amd/display/dc/dce60/ |
A D | dce60_hw_sequencer.c | 275 struct xfm_grph_csc_adjustment adjust; in dce60_program_front_end_for_pipe() local 283 memset(&adjust, 0, sizeof(adjust)); in dce60_program_front_end_for_pipe() 284 adjust.gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_BYPASS; in dce60_program_front_end_for_pipe() 303 adjust.gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_SW; in dce60_program_front_end_for_pipe() 306 adjust.temperature_matrix[i] = in dce60_program_front_end_for_pipe() 310 pipe_ctx->plane_res.xfm->funcs->transform_set_gamut_remap(pipe_ctx->plane_res.xfm, &adjust); in dce60_program_front_end_for_pipe()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ptp.c | 452 int adjust; in igc_ptp_rx_pktstamp() local 471 adjust = IGC_I225_RX_LATENCY_10; in igc_ptp_rx_pktstamp() 474 adjust = IGC_I225_RX_LATENCY_100; in igc_ptp_rx_pktstamp() 477 adjust = IGC_I225_RX_LATENCY_1000; in igc_ptp_rx_pktstamp() 480 adjust = IGC_I225_RX_LATENCY_2500; in igc_ptp_rx_pktstamp() 483 adjust = 0; in igc_ptp_rx_pktstamp() 650 int adjust = 0; in igc_ptp_tx_hwtstamp() local 662 adjust = IGC_I225_TX_LATENCY_10; in igc_ptp_tx_hwtstamp() 665 adjust = IGC_I225_TX_LATENCY_100; in igc_ptp_tx_hwtstamp() 668 adjust = IGC_I225_TX_LATENCY_1000; in igc_ptp_tx_hwtstamp() [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_hdcp.c | 184 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display() 194 display->adjust.disable = MOD_HDCP_DISPLAY_NOT_DISABLE; in hdcp_update_display() 196 hdcp_w->link.adjust.hdcp1.disable = 0; in hdcp_update_display() 197 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display() 199 hdcp_w->link.adjust.hdcp1.disable = 1; in hdcp_update_display() 200 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_1; in hdcp_update_display() 206 display->adjust.disable = MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION; in hdcp_update_display() 486 display->adjust.disable = MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION; in update_config() 487 link->adjust.auth_delay = 3; in update_config() 488 link->adjust.hdcp1.disable = 0; in update_config()
|
/linux/security/apparmor/ |
A D | match.c | 681 unsigned int *adjust) in is_loop() argument 691 *adjust = i; in is_loop() 699 *adjust = i; in is_loop() 728 unsigned int adjust; in leftmatch_fb() local 736 if (is_loop(wb, state, &adjust)) { in leftmatch_fb() 738 *count -= adjust; in leftmatch_fb() 747 unsigned int adjust; in leftmatch_fb() local 755 if (is_loop(wb, state, &adjust)) { in leftmatch_fb() 757 *count -= adjust; in leftmatch_fb()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ptp.c | 822 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() 877 int adjust = 0; in igb_ptp_rx_pktstamp() local 897 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_pktstamp() 900 adjust = IGB_I210_RX_LATENCY_100; in igb_ptp_rx_pktstamp() 903 adjust = IGB_I210_RX_LATENCY_1000; in igb_ptp_rx_pktstamp() 925 int adjust = 0; in igb_ptp_rx_rgtstamp() local 953 adjust = IGB_I210_RX_LATENCY_10; in igb_ptp_rx_rgtstamp() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
A D | dce110_clk_mgr.c | 102 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/drivers/ata/ |
A D | pata_hpt37x.c | 982 int dpll, adjust; in hpt37x_init_one() local 997 for (adjust = 0; adjust < 8; adjust++) { in hpt37x_init_one() 1004 if (adjust & 1) in hpt37x_init_one() 1005 f_low -= adjust >> 1; in hpt37x_init_one() 1007 f_high += adjust >> 1; in hpt37x_init_one() 1011 if (adjust == 8) { in hpt37x_init_one()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_dwb_cm.c | 357 struct cm_grph_csc_adjustment adjust = params->csc_params; in dwb3_set_gamut_remap() local 360 if (adjust.gamut_adjust_type != CM_GAMUT_ADJUST_TYPE_SW) { in dwb3_set_gamut_remap() 362 dwb3_program_gamut_remap(dwbc, NULL, adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_BYPASS); in dwb3_set_gamut_remap() 369 arr_matrix[i] = adjust.temperature_matrix[i]; in dwb3_set_gamut_remap() 377 adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_RAMB_COEFF); in dwb3_set_gamut_remap() 380 adjust.gamut_coef_format, CM_GAMUT_REMAP_MODE_RAMA_COEFF); in dwb3_set_gamut_remap()
|
/linux/drivers/media/tuners/ |
A D | tda9887.c | 311 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/Documentation/devicetree/bindings/serial/ |
A D | nvidia,tegra20-hsuart.txt | 27 - 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 */
|