Home
last modified time | relevance | path

Searched refs:new_state (Results 1 - 25 of 592) sorted by relevance

12345678910>>...24

/kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c26 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in tilcdc_plane_atomic_check() local
33 if (!new_state->crtc) in tilcdc_plane_atomic_check()
36 if (WARN_ON(!new_state->fb)) in tilcdc_plane_atomic_check()
39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check()
46 new_state->crtc); in tilcdc_plane_atomic_check()
51 if (crtc_state->mode.hdisplay != new_state->crtc_w || in tilcdc_plane_atomic_check()
52 crtc_state->mode.vdisplay != new_state->crtc_h) { in tilcdc_plane_atomic_check()
56 new_state->crtc_w, new_state in tilcdc_plane_atomic_check()
81 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, tilcdc_plane_atomic_update() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/
H A Darmada_plane.c141 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_primary_plane_atomic_update() local
150 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_primary_plane_atomic_update()
155 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_primary_plane_atomic_update()
156 new_state->fb->base.id, in armada_drm_primary_plane_atomic_update()
157 old_state->visible, new_state->visible); in armada_drm_primary_plane_atomic_update()
159 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_primary_plane_atomic_update()
163 if (!old_state->visible && new_state->visible) { in armada_drm_primary_plane_atomic_update()
165 if (drm_fb_to_armada_fb(new_state in armada_drm_primary_plane_atomic_update()
[all...]
H A Darmada_overlay.c75 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_overlay_plane_atomic_update() local
84 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_overlay_plane_atomic_update()
89 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_overlay_plane_atomic_update()
90 new_state->fb->base.id, in armada_drm_overlay_plane_atomic_update()
91 old_state->visible, new_state->visible); in armada_drm_overlay_plane_atomic_update()
93 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_overlay_plane_atomic_update()
97 if (!old_state->visible && new_state->visible) in armada_drm_overlay_plane_atomic_update()
101 val = armada_src_hw(new_state); in armada_drm_overlay_plane_atomic_update()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.c133 static void mtk_plane_update_new_state(struct drm_plane_state *new_state, in mtk_plane_update_new_state() argument
136 struct drm_framebuffer *fb = new_state->fb; in mtk_plane_update_new_state()
156 * for example: addr += (new_state->src.x1 >> 16) * fb->format->cpp[0]; in mtk_plane_update_new_state()
159 offset = (new_state->src.x1 >> 16) * fb->format->cpp[0]; in mtk_plane_update_new_state()
161 offset = (new_state->src.y1 >> 16) * pitch; in mtk_plane_update_new_state()
168 int x_offset_in_blocks = (new_state->src.x1 >> 16) / AFBC_DATA_BLOCK_WIDTH; in mtk_plane_update_new_state()
169 int y_offset_in_blocks = (new_state->src.y1 >> 16) / AFBC_DATA_BLOCK_HEIGHT; in mtk_plane_update_new_state()
207 mtk_plane_state->pending.x = new_state->dst.x1; in mtk_plane_update_new_state()
208 mtk_plane_state->pending.y = new_state->dst.y1; in mtk_plane_update_new_state()
209 mtk_plane_state->pending.width = drm_rect_width(&new_state in mtk_plane_update_new_state()
218 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, mtk_plane_atomic_async_update() local
283 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, mtk_plane_atomic_disable() local
294 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, mtk_plane_atomic_update() local
[all...]
/kernel/linux/linux-5.10/net/wimax/
H A Dstack.c88 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc()
96 d_fnstart(3, dev, "(wimax_dev %p new_state %u old_state %u)\n", in wimax_gnl_re_state_change_alloc()
97 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc()
118 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_NEW, new_state); in wimax_gnl_re_state_change_alloc()
129 d_fnend(3, dev, "(wimax_dev %p new_state %u old_state %u) = %p\n", in wimax_gnl_re_state_change_alloc()
130 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
136 d_fnend(3, dev, "(wimax_dev %p new_state %u old_state %u) = %d\n", in wimax_gnl_re_state_change_alloc()
137 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc()
175 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument
178 if (WARN_ON(((1 << new_state) in __check_new_state()
86 wimax_gnl_re_state_change_alloc( struct wimax_dev *wimax_dev, enum wimax_st new_state, enum wimax_st old_state, void **header) wimax_gnl_re_state_change_alloc() argument
189 __wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state) __wimax_state_change() argument
333 wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state) wimax_state_change() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c249 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
253 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()
258 success = new_state.cppr > priority && in icp_rm_try_to_deliver()
259 new_state.mfrr > priority && in icp_rm_try_to_deliver()
260 new_state.pending_pri > priority; in icp_rm_try_to_deliver()
267 *reject = new_state.xisr; in icp_rm_try_to_deliver()
268 new_state.xisr = irq; in icp_rm_try_to_deliver()
269 new_state.pending_pri = priority; in icp_rm_try_to_deliver()
276 new_state.need_resend = true; in icp_rm_try_to_deliver()
279 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()
419 union kvmppc_icp_state old_state, new_state; icp_rm_down_cppr() local
492 union kvmppc_icp_state old_state, new_state; xics_rm_h_xirr() local
531 union kvmppc_icp_state old_state, new_state; xics_rm_h_ipi() local
617 union kvmppc_icp_state old_state, new_state; xics_rm_h_cppr() local
[all...]
H A Dbook3s_xics.c339 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, fals in icp_try_to_deliver()
516 union kvmppc_icp_state old_state, new_state; icp_down_cppr() local
588 union kvmppc_icp_state old_state, new_state; kvmppc_h_xirr() local
622 union kvmppc_icp_state old_state, new_state; kvmppc_h_ipi() local
723 union kvmppc_icp_state old_state, new_state; kvmppc_h_cppr() local
1114 union kvmppc_icp_state old_state, new_state; kvmppc_xics_set_icp() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c242 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()
412 union kvmppc_icp_state old_state, new_state; icp_rm_down_cppr() local
490 union kvmppc_icp_state old_state, new_state; xics_rm_h_xirr() local
529 union kvmppc_icp_state old_state, new_state; xics_rm_h_ipi() local
615 union kvmppc_icp_state old_state, new_state; xics_rm_h_cppr() local
[all...]
H A Dbook3s_xics.c339 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, fals in icp_try_to_deliver()
516 union kvmppc_icp_state old_state, new_state; icp_down_cppr() local
588 union kvmppc_icp_state old_state, new_state; kvmppc_h_xirr() local
622 union kvmppc_icp_state old_state, new_state; kvmppc_h_ipi() local
723 union kvmppc_icp_state old_state, new_state; kvmppc_h_cppr() local
1105 union kvmppc_icp_state old_state, new_state; kvmppc_xics_set_icp() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_vf_mbx.c150 * @new_state: new algorithm state
157 enum ice_mbx_snapshot_state *new_state) in ice_mbx_traverse()
182 *new_state = ICE_MAL_VF_DETECT_STATE_NEW_SNAPSHOT; in ice_mbx_traverse()
189 * @new_state: new algorithm state
198 enum ice_mbx_snapshot_state *new_state, in ice_mbx_detect_malvf()
208 ice_mbx_traverse(hw, new_state); in ice_mbx_detect_malvf()
243 enum ice_mbx_snapshot_state new_state; in ice_mbx_vf_state_handler() local
270 new_state = ICE_MAL_VF_DETECT_STATE_INVALID; in ice_mbx_vf_state_handler()
302 new_state = ICE_MAL_VF_DETECT_STATE_DETECT; in ice_mbx_vf_state_handler()
303 status = ice_mbx_detect_malvf(hw, vf_info, &new_state, in ice_mbx_vf_state_handler()
156 ice_mbx_traverse(struct ice_hw *hw, enum ice_mbx_snapshot_state *new_state) ice_mbx_traverse() argument
197 ice_mbx_detect_malvf(struct ice_hw *hw, struct ice_mbx_vf_info *vf_info, enum ice_mbx_snapshot_state *new_state, bool *is_malvf) ice_mbx_detect_malvf() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsf.c214 enum iwl_sf_state new_state) in iwl_mvm_sf_config()
217 .state = cpu_to_le32(new_state), in iwl_mvm_sf_config()
229 if (new_state != SF_FULL_ON && mvm->sf_state == new_state) in iwl_mvm_sf_config()
232 switch (new_state) { in iwl_mvm_sf_config()
257 new_state); in iwl_mvm_sf_config()
264 mvm->sf_state = new_state; in iwl_mvm_sf_config()
277 enum iwl_sf_state new_state; in iwl_mvm_sf_update() local
306 new_state = SF_INIT_OFF; in iwl_mvm_sf_update()
313 new_state in iwl_mvm_sf_update()
213 iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, enum iwl_sf_state new_state) iwl_mvm_sf_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_mixer.c45 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 in mdp5_mixer_release()
[all...]
H A Dmdp5_pipe.c17 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 in mdp5_pipe_release()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_mixer.c45 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 in mdp5_mixer_release()
[all...]
H A Dmdp5_pipe.c17 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 in mdp5_pipe_release()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c101 struct drm_plane_state *new_state) in lsdc_plane_prepare_fb()
103 struct drm_framebuffer *fb = new_state->fb; in lsdc_plane_prepare_fb()
135 return drm_gem_plane_helper_prepare_fb(plane, new_state); in lsdc_plane_prepare_fb()
177 struct drm_plane_state *new_state; in lsdc_cursor_plane_atomic_async_check() local
180 new_state = drm_atomic_get_new_plane_state(state, plane); in lsdc_cursor_plane_atomic_async_check()
187 if (new_state->crtc_w != new_state->crtc_h) { in lsdc_cursor_plane_atomic_async_check()
189 new_state->crtc_w, new_state->crtc_h); in lsdc_cursor_plane_atomic_async_check()
193 if (new_state in lsdc_cursor_plane_atomic_async_check()
100 lsdc_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) lsdc_plane_prepare_fb() argument
227 struct drm_plane_state *new_state; lsdc_cursor_plane_atomic_async_update() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.c369 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in ipu_plane_atomic_check() local
375 struct drm_framebuffer *fb = new_state->fb; in ipu_plane_atomic_check()
385 if (WARN_ON(!new_state->crtc)) in ipu_plane_atomic_check()
390 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, in ipu_plane_atomic_check()
580 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, ipu_plane_atomic_update() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsf.c176 enum iwl_sf_state new_state) in iwl_mvm_sf_config()
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
255 new_state = SF_INIT_OFF; in iwl_mvm_sf_update()
262 new_state in iwl_mvm_sf_update()
175 iwl_mvm_sf_config(struct iwl_mvm *mvm, struct ieee80211_sta *sta, enum iwl_sf_state new_state) iwl_mvm_sf_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dpmic8xxx-keypad.c171 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, NUL in pmic8xxx_kp_scan_matrix()
329 u16 new_state[PM8XXX_MAX_ROWS]; pmic8xxx_kp_stuck_irq() local
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dpmic8xxx-keypad.c171 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, NUL in pmic8xxx_kp_scan_matrix()
329 u16 new_state[PM8XXX_MAX_ROWS]; pmic8xxx_kp_stuck_irq() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_plane.c46 struct drm_plane_state *new_state) in omap_plane_prepare_fb()
48 if (!new_state->fb) in omap_plane_prepare_fb()
51 drm_gem_plane_helper_prepare_fb(plane, new_state); in omap_plane_prepare_fb()
53 return omap_framebuffer_pin(new_state->fb); in omap_plane_prepare_fb()
67 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update() local
78 new_omap_state = to_omap_plane_state(new_state); in omap_plane_atomic_update()
81 dual_ovl = is_omap_plane_dual_overlay(new_state); in omap_plane_atomic_update()
95 DBG("%s, crtc=%p fb=%p", plane->name, new_state->crtc, in omap_plane_atomic_update()
96 new_state->fb); in omap_plane_atomic_update()
101 info.global_alpha = new_state in omap_plane_atomic_update()
45 omap_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) omap_plane_prepare_fb() argument
173 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, omap_plane_atomic_disable() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c102 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()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c102 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()
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_atomic.h162 struct drm_plane_state *state, *old_state, *new_state; member
167 struct drm_crtc_state *state, *old_state, *new_state; member
185 struct drm_connector_state *state, *old_state, *new_state; member
345 struct drm_private_state *state, *old_state, *new_state; member
582 return state->crtcs[drm_crtc_index(crtc)].new_state; in drm_atomic_get_new_crtc_state()
630 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state()
693 return state->connectors[index].new_state; in drm_atomic_get_new_connector_state()
770 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
812 (new_connector_state) = (__state)->connectors[__i].new_state, \
836 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c89 struct drm_plane_state *new_state = in logicvc_plane_atomic_check() local
96 if (!new_state->crtc) in logicvc_plane_atomic_check()
99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check()
100 new_state->crtc); in logicvc_plane_atomic_check()
104 if (new_state->crtc_x < 0 || new_state->crtc_y < 0) { in logicvc_plane_atomic_check()
111 ret = logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_check()
126 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in logicvc_plane_atomic_check()
143 struct drm_plane_state *new_state = in logicvc_plane_atomic_update() local
147 struct drm_framebuffer *fb = new_state in logicvc_plane_atomic_update()
[all...]

Completed in 16 milliseconds

12345678910>>...24