Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 25 of 193) sorted by relevance

12345678

/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_plane.c116 struct drm_plane_state *old_state) in armada_drm_plane_cleanup_fb() argument
120 old_state->fb ? old_state->fb->base.id : 0); in armada_drm_plane_cleanup_fb()
122 if (old_state->fb) in armada_drm_plane_cleanup_fb()
123 drm_framebuffer_put(old_state->fb); in armada_drm_plane_cleanup_fb()
147 struct drm_plane_state *old_state) in armada_drm_primary_plane_atomic_update() argument
164 old_state->visible, state->visible); in armada_drm_primary_plane_atomic_update()
170 if (!old_state->visible && state->visible) { in armada_drm_primary_plane_atomic_update()
177 if (armada_rect_hw_fp(&old_state->src) != val) in armada_drm_primary_plane_atomic_update()
180 if (armada_rect_yx(&old_state->dst) != val) in armada_drm_primary_plane_atomic_update()
183 if (armada_rect_hw(&old_state->dst) != val) in armada_drm_primary_plane_atomic_update()
[all …]
Darmada_overlay.c69 struct drm_plane_state *old_state) in armada_drm_overlay_plane_atomic_update() argument
86 old_state->visible, state->visible); in armada_drm_overlay_plane_atomic_update()
92 if (!old_state->visible && state->visible) in armada_drm_overlay_plane_atomic_update()
97 if (armada_rect_hw_fp(&old_state->src) != val) in armada_drm_overlay_plane_atomic_update()
100 if (armada_rect_yx(&old_state->dst) != val) in armada_drm_overlay_plane_atomic_update()
103 if (armada_rect_hw(&old_state->dst) != val) in armada_drm_overlay_plane_atomic_update()
106 if (old_state->src.x1 != state->src.x1 || in armada_drm_overlay_plane_atomic_update()
107 old_state->src.y1 != state->src.y1 || in armada_drm_overlay_plane_atomic_update()
108 old_state->fb != state->fb) { in armada_drm_overlay_plane_atomic_update()
153 } else if (old_state->visible != state->visible) { in armada_drm_overlay_plane_atomic_update()
[all …]
/Linux-v4.19/net/wimax/
Dstack.c103 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc() argument
112 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc()
128 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
145 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
152 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc()
190 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument
195 old_state, new_state); in __check_new_state()
207 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change() local
212 wimax_dev, new_state, old_state); in __wimax_state_change()
219 if (old_state == new_state) in __wimax_state_change()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_atomic_helper.c914 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument
922 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs()
931 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
969 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs()
1027 struct drm_atomic_state *old_state) in drm_atomic_helper_update_legacy_modeset_state() argument
1036 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
1057 for_each_new_connector_in_state(old_state, connector, new_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
1069 for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
1077 drm_atomic_get_new_plane_state(old_state, primary); in drm_atomic_helper_update_legacy_modeset_state()
1092 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) in crtc_set_mode() argument
[all …]
/Linux-v4.19/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c167 rockchip_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) in rockchip_atomic_helper_commit_tail_rpm() argument
169 struct drm_device *dev = old_state->dev; in rockchip_atomic_helper_commit_tail_rpm()
171 rockchip_drm_psr_inhibit_get_state(old_state); in rockchip_atomic_helper_commit_tail_rpm()
173 drm_atomic_helper_commit_modeset_disables(dev, old_state); in rockchip_atomic_helper_commit_tail_rpm()
175 drm_atomic_helper_commit_modeset_enables(dev, old_state); in rockchip_atomic_helper_commit_tail_rpm()
177 drm_atomic_helper_commit_planes(dev, old_state, in rockchip_atomic_helper_commit_tail_rpm()
180 rockchip_drm_psr_inhibit_put_state(old_state); in rockchip_atomic_helper_commit_tail_rpm()
182 drm_atomic_helper_commit_hw_done(old_state); in rockchip_atomic_helper_commit_tail_rpm()
184 drm_atomic_helper_wait_for_vblanks(dev, old_state); in rockchip_atomic_helper_commit_tail_rpm()
186 drm_atomic_helper_cleanup_planes(dev, old_state); in rockchip_atomic_helper_commit_tail_rpm()
/Linux-v4.19/include/drm/
Ddrm_atomic.h150 struct drm_plane_state *state, *old_state, *new_state; member
155 struct drm_crtc_state *state, *old_state, *new_state; member
173 struct drm_connector_state *state, *old_state, *new_state; member
260 struct drm_private_state *state, *old_state, *new_state; member
436 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state()
483 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
541 return state->connectors[index].old_state; in drm_atomic_get_old_connector_state()
652 (old_connector_state) = (__state)->connectors[__i].old_state, \
673 (old_connector_state) = (__state)->connectors[__i].old_state, 1))
713 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
[all …]
Ddrm_atomic_helper.h66 struct drm_atomic_state *old_state);
69 struct drm_atomic_state *old_state);
73 struct drm_atomic_state *old_state);
78 struct drm_atomic_state *old_state);
90 struct drm_atomic_state *old_state);
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dtt.c263 enum iwl_tt_state old_state; in iwl_legacy_tt_handler() local
275 old_state = tt->state; in iwl_legacy_tt_handler()
291 if (tt->state != old_state) { in iwl_legacy_tt_handler()
311 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler()
318 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler()
320 tt->state = old_state; in iwl_legacy_tt_handler()
330 tt->state = old_state; in iwl_legacy_tt_handler()
332 } else if (old_state == IWL_TI_CT_KILL && in iwl_legacy_tt_handler()
370 enum iwl_tt_state old_state; in iwl_advance_tt_handler() local
373 old_state = tt->state; in iwl_advance_tt_handler()
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c246 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
250 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()
276 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()
416 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
449 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr()
473 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
489 union kvmppc_icp_state old_state, new_state; in xics_rm_h_xirr() local
508 old_state = new_state = READ_ONCE(icp->state); in xics_rm_h_xirr()
510 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in xics_rm_h_xirr()
511 if (!old_state.xisr) in xics_rm_h_xirr()
[all …]
Dbook3s_xics.c342 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
349 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()
375 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
519 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
552 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr()
578 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
591 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
607 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr()
609 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
610 if (!old_state.xisr) in kvmppc_h_xirr()
[all …]
/Linux-v4.19/drivers/video/backlight/
Dpandora_bl.c39 unsigned old_state; member
60 if (priv->old_state == PANDORABL_WAS_OFF) in pandora_backlight_update_status()
73 if (priv->old_state == PANDORABL_WAS_OFF) { in pandora_backlight_update_status()
100 priv->old_state = 0; in pandora_backlight_update_status()
102 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_update_status()
140 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_probe()
/Linux-v4.19/drivers/input/keyboard/
Dpmic8xxx-keypad.c180 u16 *old_state) in pmic8xxx_kp_read_matrix() argument
192 if (old_state) { in pmic8xxx_kp_read_matrix()
193 rc = pmic8xxx_kp_read_data(kp, old_state, KEYP_OLD_DATA, in pmic8xxx_kp_read_matrix()
228 u16 *old_state) in __pmic8xxx_kp_scan_matrix() argument
233 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix()
285 u16 old_state[PM8XXX_MAX_ROWS]; in pmic8xxx_kp_scan_matrix() local
301 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
305 __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); in pmic8xxx_kp_scan_matrix()
306 __pmic8xxx_kp_scan_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
311 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_drv.c48 struct drm_atomic_state *old_state) in omap_atomic_wait_for_completion() argument
55 for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { in omap_atomic_wait_for_completion()
67 static void omap_atomic_commit_tail(struct drm_atomic_state *old_state) in omap_atomic_commit_tail() argument
69 struct drm_device *dev = old_state->dev; in omap_atomic_commit_tail()
75 drm_atomic_helper_commit_modeset_disables(dev, old_state); in omap_atomic_commit_tail()
89 drm_atomic_helper_commit_modeset_enables(dev, old_state); in omap_atomic_commit_tail()
90 omap_atomic_wait_for_completion(dev, old_state); in omap_atomic_commit_tail()
92 drm_atomic_helper_commit_planes(dev, old_state, 0); in omap_atomic_commit_tail()
94 drm_atomic_helper_commit_hw_done(old_state); in omap_atomic_commit_tail()
101 drm_atomic_helper_commit_planes(dev, old_state, 0); in omap_atomic_commit_tail()
[all …]
Domap_plane.c47 struct drm_plane_state *old_state) in omap_plane_cleanup_fb() argument
49 if (old_state->fb) in omap_plane_cleanup_fb()
50 omap_framebuffer_unpin(old_state->fb); in omap_plane_cleanup_fb()
54 struct drm_plane_state *old_state) in omap_plane_atomic_update() argument
94 struct drm_plane_state *old_state) in omap_plane_atomic_disable() argument
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c139 struct drm_plane_state *old_state) in virtio_gpu_primary_plane_update() argument
150 if (old_state->crtc) in virtio_gpu_primary_plane_update()
151 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_primary_plane_update()
191 struct drm_plane_state *old_state) in virtio_gpu_cursor_plane_update() argument
204 if (old_state->crtc) in virtio_gpu_cursor_plane_update()
205 output = drm_crtc_to_virtio_gpu_output(old_state->crtc); in virtio_gpu_cursor_plane_update()
217 if (bo && bo->dumb && (plane->state->fb != old_state->fb)) { in virtio_gpu_cursor_plane_update()
235 if (plane->state->fb != old_state->fb) { in virtio_gpu_cursor_plane_update()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c164 struct drm_plane_state *old_state) in exynos_drm_plane_destroy_state() argument
167 to_exynos_plane_state(old_state); in exynos_drm_plane_destroy_state()
168 __drm_atomic_helper_plane_destroy_state(old_state); in exynos_drm_plane_destroy_state()
257 struct drm_plane_state *old_state) in exynos_plane_atomic_update() argument
271 struct drm_plane_state *old_state) in exynos_plane_atomic_disable() argument
274 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(old_state->crtc); in exynos_plane_atomic_disable()
276 if (!old_state->crtc) in exynos_plane_atomic_disable()
/Linux-v4.19/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c40 struct drm_plane_state *old_state = plane->state; in tilcdc_plane_atomic_check() local
78 if (state->fb && old_state->fb && in tilcdc_plane_atomic_check()
79 state->fb->format != old_state->fb->format) { in tilcdc_plane_atomic_check()
90 struct drm_plane_state *old_state) in tilcdc_plane_atomic_update() argument
/Linux-v4.19/net/smc/
Dsmc_close.c167 int old_state; in smc_close_active() local
175 old_state = sk->sk_state; in smc_close_active()
268 if (old_state != sk->sk_state) in smc_close_active()
325 int old_state; in smc_close_passive_work() local
328 old_state = sk->sk_state; in smc_close_passive_work()
405 if (old_state != sk->sk_state) { in smc_close_passive_work()
419 int old_state; in smc_close_shutdown_write() local
427 old_state = sk->sk_state; in smc_close_shutdown_write()
469 if (old_state != sk->sk_state) in smc_close_shutdown_write()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_atomic.c23 struct drm_atomic_state *old_state) in msm_atomic_wait_for_commit_done() argument
27 struct msm_drm_private *priv = old_state->dev->dev_private; in msm_atomic_wait_for_commit_done()
31 for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { in msm_atomic_wait_for_commit_done()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_crtc.c64 struct drm_crtc_state *old_state) in sun4i_crtc_atomic_begin() argument
81 engine->ops->atomic_begin(engine, old_state); in sun4i_crtc_atomic_begin()
85 struct drm_crtc_state *old_state) in sun4i_crtc_atomic_flush() argument
107 struct drm_crtc_state *old_state) in sun4i_crtc_atomic_disable() argument
128 struct drm_crtc_state *old_state) in sun4i_crtc_atomic_enable() argument
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c57 struct mtk_plane_state *old_state = to_mtk_plane_state(plane->state); in mtk_plane_duplicate_state() local
68 state->pending = old_state->pending; in mtk_plane_duplicate_state()
112 struct drm_plane_state *old_state) in mtk_plane_atomic_update() argument
147 struct drm_plane_state *old_state) in mtk_plane_atomic_disable() argument
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c246 static void rcar_du_atomic_commit_tail(struct drm_atomic_state *old_state) in rcar_du_atomic_commit_tail() argument
248 struct drm_device *dev = old_state->dev; in rcar_du_atomic_commit_tail()
251 drm_atomic_helper_commit_modeset_disables(dev, old_state); in rcar_du_atomic_commit_tail()
252 drm_atomic_helper_commit_planes(dev, old_state, in rcar_du_atomic_commit_tail()
254 drm_atomic_helper_commit_modeset_enables(dev, old_state); in rcar_du_atomic_commit_tail()
256 drm_atomic_helper_commit_hw_done(old_state); in rcar_du_atomic_commit_tail()
257 drm_atomic_helper_wait_for_flip_done(dev, old_state); in rcar_du_atomic_commit_tail()
259 drm_atomic_helper_cleanup_planes(dev, old_state); in rcar_du_atomic_commit_tail()
/Linux-v4.19/drivers/gpu/drm/arm/
Dmalidp_crtc.c50 struct drm_crtc_state *old_state) in malidp_crtc_atomic_enable() argument
74 struct drm_crtc_state *old_state) in malidp_crtc_atomic_disable() argument
81 drm_atomic_helper_disable_planes_on_crtc(old_state, false); in malidp_crtc_atomic_disable()
440 struct malidp_crtc_state *state, *old_state; in malidp_crtc_duplicate_state() local
445 old_state = to_malidp_crtc_state(crtc->state); in malidp_crtc_duplicate_state()
451 memcpy(state->gamma_coeffs, old_state->gamma_coeffs, in malidp_crtc_duplicate_state()
453 memcpy(state->coloradj_coeffs, old_state->coloradj_coeffs, in malidp_crtc_duplicate_state()
455 memcpy(&state->scaler_config, &old_state->scaler_config, in malidp_crtc_duplicate_state()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c396 enum ib_qp_state old_state; in usnic_ib_qp_grp_modify() local
400 old_state = qp_grp->state; in usnic_ib_qp_grp_modify()
406 switch (old_state) { in usnic_ib_qp_grp_modify()
425 switch (old_state) { in usnic_ib_qp_grp_modify()
468 switch (old_state) { in usnic_ib_qp_grp_modify()
477 switch (old_state) { in usnic_ib_qp_grp_modify()
490 switch (old_state) { in usnic_ib_qp_grp_modify()
520 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify()
525 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify()
/Linux-v4.19/net/mac80211/
Ddriver-ops.c113 enum ieee80211_sta_state old_state, in drv_sta_state() argument
124 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
127 old_state, new_state); in drv_sta_state()
128 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state()
133 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()

12345678