| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_plane.c | 113 static void mtk_plane_update_new_state(struct drm_plane_state *new_state, in mtk_plane_update_new_state() argument 116 struct drm_framebuffer *fb = new_state->fb; in mtk_plane_update_new_state() 139 offset = (new_state->src.x1 >> 16) * fb->format->cpp[0]; in mtk_plane_update_new_state() 141 offset = (new_state->src.y1 >> 16) * pitch; in mtk_plane_update_new_state() 148 int x_offset_in_blocks = (new_state->src.x1 >> 16) / AFBC_DATA_BLOCK_WIDTH; in mtk_plane_update_new_state() 149 int y_offset_in_blocks = (new_state->src.y1 >> 16) / AFBC_DATA_BLOCK_HEIGHT; in mtk_plane_update_new_state() 187 mtk_plane_state->pending.x = new_state->dst.x1; in mtk_plane_update_new_state() 188 mtk_plane_state->pending.y = new_state->dst.y1; in mtk_plane_update_new_state() 189 mtk_plane_state->pending.width = drm_rect_width(&new_state->dst); in mtk_plane_update_new_state() 190 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state() [all …]
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_overlay.c | 76 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_overlay_plane_atomic_update() local 85 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_overlay_plane_atomic_update() 90 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_overlay_plane_atomic_update() 91 new_state->fb->base.id, in armada_drm_overlay_plane_atomic_update() 92 old_state->visible, new_state->visible); in armada_drm_overlay_plane_atomic_update() 94 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_overlay_plane_atomic_update() 98 if (!old_state->visible && new_state->visible) in armada_drm_overlay_plane_atomic_update() 102 val = armada_src_hw(new_state); in armada_drm_overlay_plane_atomic_update() 105 val = armada_dst_yx(new_state); in armada_drm_overlay_plane_atomic_update() 108 val = armada_dst_hw(new_state); in armada_drm_overlay_plane_atomic_update() [all …]
|
| H A D | armada_plane.c | 137 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_primary_plane_atomic_update() local 146 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_primary_plane_atomic_update() 151 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_primary_plane_atomic_update() 152 new_state->fb->base.id, in armada_drm_primary_plane_atomic_update() 153 old_state->visible, new_state->visible); in armada_drm_primary_plane_atomic_update() 155 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_primary_plane_atomic_update() 159 if (!old_state->visible && new_state->visible) { in armada_drm_primary_plane_atomic_update() 161 if (drm_fb_to_armada_fb(new_state->fb)->fmt > CFG_420) in armada_drm_primary_plane_atomic_update() 165 val = armada_src_hw(new_state); in armada_drm_primary_plane_atomic_update() 168 val = armada_dst_yx(new_state); in armada_drm_primary_plane_atomic_update() [all …]
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv_rm_xics.c | 242 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 246 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 251 success = new_state.cppr > priority && in icp_rm_try_to_deliver() 252 new_state.mfrr > priority && in icp_rm_try_to_deliver() 253 new_state.pending_pri > priority; in icp_rm_try_to_deliver() 260 *reject = new_state.xisr; in icp_rm_try_to_deliver() 261 new_state.xisr = irq; in icp_rm_try_to_deliver() 262 new_state.pending_pri = priority; in icp_rm_try_to_deliver() 269 new_state.need_resend = true; in icp_rm_try_to_deliver() 272 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() [all …]
|
| H A D | book3s_xics.c | 339 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local 346 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver() 351 success = new_state.cppr > priority && in icp_try_to_deliver() 352 new_state.mfrr > priority && in icp_try_to_deliver() 353 new_state.pending_pri > priority; in icp_try_to_deliver() 360 *reject = new_state.xisr; in icp_try_to_deliver() 361 new_state.xisr = irq; in icp_try_to_deliver() 362 new_state.pending_pri = priority; in icp_try_to_deliver() 369 new_state.need_resend = true; in icp_try_to_deliver() 372 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver() [all …]
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | ipuv3-plane.c | 370 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in ipu_plane_atomic_check() local 376 struct drm_framebuffer *fb = new_state->fb; in ipu_plane_atomic_check() 386 if (WARN_ON(!new_state->crtc)) in ipu_plane_atomic_check() 390 drm_atomic_get_new_crtc_state(state, new_state->crtc); in ipu_plane_atomic_check() 394 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in ipu_plane_atomic_check() 408 if (drm_rect_width(&new_state->dst) < 13) in ipu_plane_atomic_check() 418 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check() 429 (drm_rect_width(&new_state->dst) != drm_rect_width(&old_state->dst) || in ipu_plane_atomic_check() 430 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check() 434 eba = drm_plane_state_to_eba(new_state, 0); in ipu_plane_atomic_check() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vf_mbx.c | 157 enum ice_mbx_snapshot_state *new_state) in ice_mbx_traverse() argument 182 *new_state = ICE_MAL_VF_DETECT_STATE_NEW_SNAPSHOT; in ice_mbx_traverse() 198 enum ice_mbx_snapshot_state *new_state, in ice_mbx_detect_malvf() argument 208 ice_mbx_traverse(hw, new_state); in ice_mbx_detect_malvf() 275 enum ice_mbx_snapshot_state new_state; in ice_mbx_vf_state_handler() local 302 new_state = ICE_MAL_VF_DETECT_STATE_INVALID; in ice_mbx_vf_state_handler() 334 new_state = ICE_MAL_VF_DETECT_STATE_DETECT; in ice_mbx_vf_state_handler() 335 status = ice_mbx_detect_malvf(hw, vf_info, &new_state, &is_malvf); in ice_mbx_vf_state_handler() 337 new_state = ICE_MAL_VF_DETECT_STATE_TRAVERSE; in ice_mbx_vf_state_handler() 338 ice_mbx_traverse(hw, &new_state); in ice_mbx_vf_state_handler() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | sf.c | 176 enum iwl_sf_state new_state) in iwl_mvm_sf_config() argument 179 .state = cpu_to_le32(new_state), in iwl_mvm_sf_config() 187 if (new_state != SF_FULL_ON && mvm->sf_state == new_state) in iwl_mvm_sf_config() 190 switch (new_state) { in iwl_mvm_sf_config() 207 new_state); in iwl_mvm_sf_config() 214 mvm->sf_state = new_state; in iwl_mvm_sf_config() 227 enum iwl_sf_state new_state; in iwl_mvm_sf_update() local 258 new_state = SF_INIT_OFF; in iwl_mvm_sf_update() 265 new_state = data.sta_vif_state; in iwl_mvm_sf_update() 271 new_state = SF_UNINIT; in iwl_mvm_sf_update() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_mixer.c | 45 struct mdp5_hw_mixer_state *new_state; in mdp5_mixer_assign() local 51 new_state = &global_state->hwmixer; in mdp5_mixer_assign() 63 if (new_state->hwmixer_to_crtc[cur->idx] && in mdp5_mixer_assign() 64 new_state->hwmixer_to_crtc[cur->idx] != crtc) in mdp5_mixer_assign() 78 if (new_state->hwmixer_to_crtc[pair_idx]) in mdp5_mixer_assign() 109 new_state->hwmixer_to_crtc[(*mixer)->idx] = crtc; in mdp5_mixer_assign() 113 new_state->hwmixer_to_crtc[(*r_mixer)->idx] = crtc; in mdp5_mixer_assign() 122 struct mdp5_hw_mixer_state *new_state; in mdp5_mixer_release() local 130 new_state = &global_state->hwmixer; in mdp5_mixer_release() 132 if (WARN_ON(!new_state->hwmixer_to_crtc[mixer->idx])) in mdp5_mixer_release() [all …]
|
| H A D | mdp5_pipe.c | 17 struct mdp5_hw_pipe_state *old_state, *new_state; in mdp5_pipe_assign() local 28 new_state = &new_global_state->hwpipe; in mdp5_pipe_assign() 40 if (new_state->hwpipe_to_plane[cur->idx] || in mdp5_pipe_assign() 111 new_state->hwpipe_to_plane[(*hwpipe)->idx] = plane; in mdp5_pipe_assign() 116 new_state->hwpipe_to_plane[(*r_hwpipe)->idx] = plane; in mdp5_pipe_assign() 127 struct mdp5_hw_pipe_state *new_state; in mdp5_pipe_release() local 136 new_state = &state->hwpipe; in mdp5_pipe_release() 138 if (WARN_ON(!new_state->hwpipe_to_plane[hwpipe->idx])) in mdp5_pipe_release() 142 new_state->hwpipe_to_plane[hwpipe->idx]->name); in mdp5_pipe_release() 149 new_state->hwpipe_to_plane[hwpipe->idx] = NULL; in mdp5_pipe_release()
|
| H A D | mdp5_plane.c | 136 struct drm_plane_state *new_state) in mdp5_plane_prepare_fb() argument 138 bool needs_dirtyfb = to_mdp5_plane_state(new_state)->needs_dirtyfb; in mdp5_plane_prepare_fb() 140 if (!new_state->fb) in mdp5_plane_prepare_fb() 143 drm_gem_plane_helper_prepare_fb(plane, new_state); in mdp5_plane_prepare_fb() 145 return msm_framebuffer_prepare(new_state->fb, needs_dirtyfb); in mdp5_plane_prepare_fb() 349 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mdp5_plane_atomic_update() local 354 if (plane_enabled(new_state)) { in mdp5_plane_atomic_update() 358 new_state->crtc, new_state->fb, in mdp5_plane_atomic_update() 359 &new_state->src, &new_state->dst); in mdp5_plane_atomic_update() 422 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mdp5_plane_atomic_async_update() local [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | pmic8xxx-keypad.c | 171 static int pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in pmic8xxx_kp_read_matrix() argument 194 rc = pmic8xxx_kp_read_data(kp, new_state, KEYP_RECENT_DATA, in pmic8xxx_kp_read_matrix() 219 static void __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in __pmic8xxx_kp_scan_matrix() argument 225 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix() 235 !(new_state[row] & (1 << col)) ? in __pmic8xxx_kp_scan_matrix() 243 !(new_state[row] & (1 << col))); in __pmic8xxx_kp_scan_matrix() 250 static bool pmic8xxx_detect_ghost_keys(struct pmic8xxx_kp *kp, u16 *new_state) in pmic8xxx_detect_ghost_keys() argument 257 row_state = (~new_state[row]) & in pmic8xxx_detect_ghost_keys() 276 u16 new_state[PM8XXX_MAX_ROWS]; in pmic8xxx_kp_scan_matrix() local 282 rc = pmic8xxx_kp_read_matrix(kp, new_state, NULL); in pmic8xxx_kp_scan_matrix() [all …]
|
| H A D | omap-keypad.c | 93 unsigned char new_state[8], changed, key_down = 0; in omap_kp_tasklet() local 97 omap_kp_scan_keypad(omap_kp_data, new_state); in omap_kp_tasklet() 101 changed = new_state[col] ^ keypad_state[col]; in omap_kp_tasklet() 102 key_down |= new_state[col]; in omap_kp_tasklet() 112 row, (new_state[col] & (1 << row)) ? in omap_kp_tasklet() 123 new_state[col] & (1 << row)); in omap_kp_tasklet() 128 memcpy(keypad_state, new_state, sizeof(keypad_state)); in omap_kp_tasklet()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_plane.c | 47 struct drm_plane_state *new_state) in omap_plane_prepare_fb() argument 49 if (!new_state->fb) in omap_plane_prepare_fb() 52 drm_gem_plane_helper_prepare_fb(plane, new_state); in omap_plane_prepare_fb() 54 return omap_framebuffer_pin(new_state->fb); in omap_plane_prepare_fb() 68 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update() local 79 new_omap_state = to_omap_plane_state(new_state); in omap_plane_atomic_update() 82 dual_ovl = is_omap_plane_dual_overlay(new_state); in omap_plane_atomic_update() 96 DBG("%s, crtc=%p fb=%p", plane->name, new_state->crtc, in omap_plane_atomic_update() 97 new_state->fb); in omap_plane_atomic_update() 102 info.global_alpha = new_state->alpha >> 8; in omap_plane_atomic_update() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | g84.c | 102 enum nvkm_therm_thrs_state prev_state, new_state; in g84_therm_threshold_hyst_emulation() local 111 new_state = NVKM_THERM_THRS_HIGHER; in g84_therm_threshold_hyst_emulation() 114 new_state = NVKM_THERM_THRS_LOWER; in g84_therm_threshold_hyst_emulation() 119 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation() 120 new_state = NVKM_THERM_THRS_HIGHER; in g84_therm_threshold_hyst_emulation() 121 else if (new_state == NVKM_THERM_THRS_HIGHER && in g84_therm_threshold_hyst_emulation() 123 new_state = NVKM_THERM_THRS_LOWER; in g84_therm_threshold_hyst_emulation() 124 nvkm_therm_sensor_set_threshold_state(therm, thrs_name, new_state); in g84_therm_threshold_hyst_emulation() 127 if (prev_state < new_state) in g84_therm_threshold_hyst_emulation() 129 else if (prev_state > new_state) in g84_therm_threshold_hyst_emulation()
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | vbox_mode.c | 261 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_check() local 265 if (new_state->crtc) { in vbox_primary_atomic_check() 267 new_state->crtc); in vbox_primary_atomic_check() 272 return drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_primary_atomic_check() 281 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_update() local 283 struct drm_crtc *crtc = new_state->crtc; in vbox_primary_atomic_update() 284 struct drm_framebuffer *fb = new_state->fb; in vbox_primary_atomic_update() 290 new_state->src_x >> 16, in vbox_primary_atomic_update() 291 new_state->src_y >> 16); in vbox_primary_atomic_update() 295 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update() [all …]
|
| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_plane.c | 127 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vkms_plane_atomic_update() local 131 struct drm_framebuffer *fb = new_state->fb; in vkms_plane_atomic_update() 135 if (!new_state->crtc || !fb) in vkms_plane_atomic_update() 139 vkms_plane_state = to_vkms_plane_state(new_state); in vkms_plane_atomic_update() 143 memcpy(&frame_info->src, &new_state->src, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 144 memcpy(&frame_info->dst, &new_state->dst, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 148 frame_info->rotation = new_state->rotation; in vkms_plane_atomic_update() 151 get_conversion_matrix_to_argb_u16(fmt, new_state->color_encoding, new_state->color_range, in vkms_plane_atomic_update()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_cursor_plane.c | 596 struct drm_plane_state *new_state) in vmw_cursor_plane_prepare_fb() argument 598 struct drm_framebuffer *fb = new_state->fb; in vmw_cursor_plane_prepare_fb() 600 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state); in vmw_cursor_plane_prepare_fb() 651 const u32 size = new_state->crtc_w * in vmw_cursor_plane_prepare_fb() 652 new_state->crtc_h * in vmw_cursor_plane_prepare_fb() 695 struct drm_plane_state *new_state = in vmw_cursor_plane_atomic_check() local 701 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state); in vmw_cursor_plane_atomic_check() 703 struct drm_framebuffer *fb = new_state->fb; in vmw_cursor_plane_atomic_check() 705 if (new_state->crtc) in vmw_cursor_plane_atomic_check() 706 crtc_state = drm_atomic_get_new_crtc_state(new_state->state, in vmw_cursor_plane_atomic_check() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | tcp_ca_kfunc.c | 14 extern void bbr_set_state(struct sock *sk, u8 new_state) __ksym; 21 extern void dctcp_state(struct sock *sk, u8 new_state) __ksym; 26 extern void cubictcp_state(struct sock *sk, u8 new_state) __ksym; 92 void BPF_PROG(set_state, struct sock *sk, u8 new_state) in BPF_PROG() argument 94 bbr_set_state(sk, new_state); in BPF_PROG() 95 dctcp_state(sk, new_state); in BPF_PROG() 96 cubictcp_state(sk, new_state); in BPF_PROG()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | hub.c | 537 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in tegra_shared_plane_atomic_update() local 539 struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state); in tegra_shared_plane_atomic_update() 540 struct tegra_dc *dc = to_tegra_dc(new_state->crtc); in tegra_shared_plane_atomic_update() 541 unsigned int zpos = new_state->normalized_zpos; in tegra_shared_plane_atomic_update() 542 struct drm_framebuffer *fb = new_state->fb; in tegra_shared_plane_atomic_update() 551 if (!new_state->crtc || !new_state->fb) in tegra_shared_plane_atomic_update() 554 if (!new_state->visible) { in tegra_shared_plane_atomic_update() 586 min_width = min(new_state->src_w >> 16, new_state->crtc_w); in tegra_shared_plane_atomic_update() 604 if (new_state->src_w != new_state->crtc_w << 16) { in tegra_shared_plane_atomic_update() 605 fixed20_12 width = dfixed_init(new_state->src_w >> 16); in tegra_shared_plane_atomic_update() [all …]
|
| H A D | dc.c | 730 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in tegra_plane_atomic_update() local 732 struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state); in tegra_plane_atomic_update() 733 struct drm_framebuffer *fb = new_state->fb; in tegra_plane_atomic_update() 739 if (!new_state->crtc || !new_state->fb) in tegra_plane_atomic_update() 742 if (!new_state->visible) in tegra_plane_atomic_update() 746 window.src.x = new_state->src.x1 >> 16; in tegra_plane_atomic_update() 747 window.src.y = new_state->src.y1 >> 16; in tegra_plane_atomic_update() 748 window.src.w = drm_rect_width(&new_state->src) >> 16; in tegra_plane_atomic_update() 749 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update() 750 window.dst.x = new_state->dst.x1; in tegra_plane_atomic_update() [all …]
|
| /linux/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-plane.c | 274 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in dcss_plane_atomic_update() local 278 struct drm_framebuffer *fb = new_state->fb; in dcss_plane_atomic_update() 286 if (!fb || !new_state->crtc || !new_state->visible) in dcss_plane_atomic_update() 289 crtc_state = new_state->crtc->state; in dcss_plane_atomic_update() 293 !dcss_plane_needs_setup(new_state, old_state)) { in dcss_plane_atomic_update() 314 new_state->fb->format, in dcss_plane_atomic_update() 319 new_state->rotation); in dcss_plane_atomic_update() 323 is_rotation_90_or_270 = new_state->rotation & (DRM_MODE_ROTATE_90 | in dcss_plane_atomic_update() 327 new_state->scaling_filter); in dcss_plane_atomic_update() 330 new_state->fb->format, in dcss_plane_atomic_update() [all …]
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_connector.c | 290 struct drm_connector_state *new_state; in gud_connector_atomic_check() local 294 new_state = drm_atomic_get_new_connector_state(state, connector); in gud_connector_atomic_check() 295 if (!new_state->crtc) in gud_connector_atomic_check() 299 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc); in gud_connector_atomic_check() 301 if (old_state->tv.margins.left != new_state->tv.margins.left || in gud_connector_atomic_check() 302 old_state->tv.margins.right != new_state->tv.margins.right || in gud_connector_atomic_check() 303 old_state->tv.margins.top != new_state->tv.margins.top || in gud_connector_atomic_check() 304 old_state->tv.margins.bottom != new_state->tv.margins.bottom || in gud_connector_atomic_check() 305 old_state->tv.legacy_mode != new_state->tv.legacy_mode || in gud_connector_atomic_check() 306 old_state->tv.brightness != new_state->tv.brightness || in gud_connector_atomic_check() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-al-fic.c | 46 enum al_fic_state new_state) in al_fic_set_trigger() argument 51 if (new_state == AL_FIC_CONFIGURED_LEVEL) { in al_fic_set_trigger() 59 fic->state = new_state; in al_fic_set_trigger() 67 enum al_fic_state new_state; in al_fic_irq_set_type() local 77 new_state = (flow_type & IRQ_TYPE_LEVEL_HIGH) ? in al_fic_irq_set_type() 90 al_fic_set_trigger(fic, gc, new_state); in al_fic_irq_set_type() 91 } else if (fic->state != new_state) { in al_fic_irq_set_type()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | rs780_dpm.c | 430 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_set_engine_clock_scaling() local 434 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_set_engine_clock_scaling() 435 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_scaling() 439 new_state->sclk_low, false, &min_dividers); in rs780_set_engine_clock_scaling() 444 new_state->sclk_high, false, &max_dividers); in rs780_set_engine_clock_scaling() 477 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_set_engine_clock_spc() local 481 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_set_engine_clock_spc() 482 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_spc() 496 struct igp_ps *new_state = rs780_get_ps(new_ps); in rs780_activate_engine_clk_scaling() local 499 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_activate_engine_clk_scaling() [all …]
|