Searched refs:old_state (Results 1 - 25 of 240) sorted by relevance

12345678910

/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_mw.h13 struct drm_atomic_state *old_state);
/linux-master/kernel/livepatch/
H A Dstate.c88 struct klp_state *old_state)
92 state = klp_get_state(patch, old_state->id);
98 return state->version >= old_state->version;
109 struct klp_state *old_state; local
112 klp_for_each_state(old_patch, old_state) {
113 if (!klp_is_state_compatible(patch, old_state))
87 klp_is_state_compatible(struct klp_patch *patch, struct klp_state *old_state) argument
/linux-master/include/drm/
H A Ddrm_damage_helper.h75 const struct drm_plane_state *old_state,
80 bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state,
H A Ddrm_fb_dma_helper.h19 struct drm_plane_state *old_state,
H A Ddrm_atomic.h162 struct drm_plane_state *state, *old_state, *new_state; member in struct:__drm_planes_state
167 struct drm_crtc_state *state, *old_state, *new_state; member in struct:__drm_crtcs_state
185 struct drm_connector_state *state, *old_state, *new_state; member in struct:__drm_connnectors_state
345 struct drm_private_state *state, *old_state, *new_state; member in struct:__drm_private_objs_state
616 return state->crtcs[drm_crtc_index(crtc)].old_state;
663 return state->planes[drm_plane_index(plane)].old_state;
721 return state->connectors[index].old_state;
817 (old_connector_state) = (__state)->connectors[__i].old_state, \
839 (old_connector_state) = (__state)->connectors[__i].old_state, 1))
882 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
[all...]
/linux-master/drivers/gpu/drm/armada/
H A Darmada_plane.c139 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
157 old_state->visible, new_state->visible);
163 if (!old_state->visible && new_state->visible) {
170 if (armada_src_hw(old_state) != val)
173 if (armada_dst_yx(old_state) != val)
176 if (armada_dst_hw(old_state) != val)
178 if (old_state->src.x1 != new_state->src.x1 ||
179 old_state->src.y1 != new_state->src.y1 ||
180 old_state->fb != new_state->fb ||
190 if (old_state
229 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
[all...]
H A Darmada_overlay.c73 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
91 old_state->visible, new_state->visible);
97 if (!old_state->visible && new_state->visible)
102 if (armada_src_hw(old_state) != val)
105 if (armada_dst_yx(old_state) != val)
108 if (armada_dst_hw(old_state) != val)
111 if (old_state->src.x1 != new_state->src.x1 ||
112 old_state->src.y1 != new_state->src.y1 ||
113 old_state->fb != new_state->fb ||
160 } else if (old_state
224 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_atomic_helper.c1093 crtc_needs_disable(struct drm_crtc_state *old_state, argument
1101 return drm_atomic_crtc_effectively_active(old_state);
1108 if (old_state->self_refresh_active &&
1109 old_state->crtc != new_state->crtc)
1118 return old_state->active ||
1119 (old_state->self_refresh_active && !new_state->active) ||
1124 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1132 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) {
1144 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc);
1148 old_state,
1256 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1339 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1414 drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1426 drm_atomic_helper_commit_writebacks(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1461 drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1645 drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1704 drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, struct drm_atomic_state *old_state) argument
1743 drm_atomic_helper_commit_tail(struct drm_atomic_state *old_state) argument
1773 drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) argument
1794 commit_tail(struct drm_atomic_state *old_state) argument
2398 drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state) argument
2453 drm_atomic_helper_fake_vblank(struct drm_atomic_state *old_state) argument
2491 drm_atomic_helper_commit_hw_done(struct drm_atomic_state *old_state) argument
2536 drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *old_state) argument
2734 drm_atomic_helper_commit_planes(struct drm_device *dev, struct drm_atomic_state *old_state, uint32_t flags) argument
2858 struct drm_atomic_state *old_state = old_crtc_state->state; local
2964 drm_atomic_helper_cleanup_planes(struct drm_device *dev, struct drm_atomic_state *old_state) argument
[all...]
H A Ddrm_bridge.c586 * @old_state: old atomic state
596 struct drm_atomic_state *old_state)
610 drm_atomic_get_old_bridge_state(old_state,
627 struct drm_atomic_state *old_state)
629 if (old_state && bridge->funcs->atomic_post_disable) {
633 drm_atomic_get_old_bridge_state(old_state,
649 * @old_state: old atomic state
663 struct drm_atomic_state *old_state)
704 old_state);
709 drm_atomic_bridge_call_post_disable(bridge, old_state);
595 drm_atomic_bridge_chain_disable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
626 drm_atomic_bridge_call_post_disable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
662 drm_atomic_bridge_chain_post_disable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
718 drm_atomic_bridge_call_pre_enable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
752 drm_atomic_bridge_chain_pre_enable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
820 drm_atomic_bridge_chain_enable(struct drm_bridge *bridge, struct drm_atomic_state *old_state) argument
[all...]
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_damage_helper_test.c23 struct drm_plane_state old_state; member in struct:drm_damage_mock
40 mock->old_state.plane = &mock->plane;
127 set_plane_src(&mock->old_state, 0, 0, mock->fb.width << 16, mock->fb.height << 16);
129 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state);
145 set_plane_src(&mock->old_state, 0x3fffe, 0x3fffe,
149 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state);
166 set_plane_src(&mock->old_state, 0, 0, 1024 << 16, 768 << 16);
169 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state);
185 set_plane_src(&mock->old_state, 0x3fffe, 0x3fffe,
189 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state,
[all...]
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_drv.c64 static void vkms_atomic_commit_tail(struct drm_atomic_state *old_state) argument
66 struct drm_device *dev = old_state->dev;
71 drm_atomic_helper_commit_modeset_disables(dev, old_state);
73 drm_atomic_helper_commit_planes(dev, old_state, 0);
75 drm_atomic_helper_commit_modeset_enables(dev, old_state);
77 drm_atomic_helper_fake_vblank(old_state);
79 drm_atomic_helper_commit_hw_done(old_state);
81 drm_atomic_helper_wait_for_flip_done(dev, old_state);
83 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) {
90 drm_atomic_helper_cleanup_planes(dev, old_state);
[all...]
/linux-master/drivers/video/backlight/
H A Dpandora_bl.c36 unsigned old_state; member in struct:pandora_private
57 if (priv->old_state == PANDORABL_WAS_OFF)
70 if (priv->old_state == PANDORABL_WAS_OFF) {
97 priv->old_state = 0;
99 priv->old_state = PANDORABL_WAS_OFF;
135 priv->old_state = PANDORABL_WAS_OFF;
/linux-master/drivers/bus/mhi/ep/
H A Dsm.c62 enum mhi_state old_state; local
68 old_state = mhi_cntrl->mhi_state;
69 if (old_state == MHI_STATE_M3)
85 if (old_state == MHI_STATE_READY) {
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c249 struct drm_plane_state *old_state)
252 struct drm_framebuffer *old_fb = old_state->fb;
254 return state->crtc_x != old_state->crtc_x ||
255 state->crtc_y != old_state->crtc_y ||
256 state->crtc_w != old_state->crtc_w ||
257 state->crtc_h != old_state->crtc_h ||
258 state->src_x != old_state->src_x ||
259 state->src_y != old_state->src_y ||
260 state->src_w != old_state->src_w ||
261 state->src_h != old_state
248 dcss_plane_needs_setup(struct drm_plane_state *state, struct drm_plane_state *old_state) argument
271 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
[all...]
/linux-master/drivers/gpu/drm/tidss/
H A Dtidss_kms.c22 static void tidss_atomic_commit_tail(struct drm_atomic_state *old_state) argument
24 struct drm_device *ddev = old_state->dev;
31 drm_atomic_helper_commit_modeset_disables(ddev, old_state);
32 drm_atomic_helper_commit_planes(ddev, old_state, DRM_PLANE_COMMIT_ACTIVE_ONLY);
33 drm_atomic_helper_commit_modeset_enables(ddev, old_state);
35 drm_atomic_helper_commit_hw_done(old_state);
36 drm_atomic_helper_wait_for_flip_done(ddev, old_state);
38 drm_atomic_helper_cleanup_planes(ddev, old_state);
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c171 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
181 if (old_state->crtc)
182 output = drm_crtc_to_virtio_gpu_output(old_state->crtc);
196 if (!drm_atomic_helper_damage_merged(old_state, plane->state, &rect))
203 if (plane->state->fb != old_state->fb ||
204 plane->state->src_w != old_state->src_w ||
205 plane->state->src_h != old_state->src_h ||
206 plane->state->src_x != old_state->src_x ||
207 plane->state->src_y != old_state->src_y ||
288 struct drm_plane_state *old_state local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c242 union kvmppc_icp_state old_state, new_state; local
246 old_state = new_state = READ_ONCE(icp->state);
272 } while (!icp_rm_try_update(icp, old_state, new_state));
412 union kvmppc_icp_state old_state, new_state; local
445 old_state = new_state = READ_ONCE(icp->state);
469 } while (!icp_rm_try_update(icp, old_state, new_state));
490 union kvmppc_icp_state old_state, new_state; local
509 old_state = new_state = READ_ONCE(icp->state);
511 xirr = old_state.xisr | (((u32)old_state
529 union kvmppc_icp_state old_state, new_state; local
615 union kvmppc_icp_state old_state, new_state; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c244 enum iwl_tt_state old_state; local
256 old_state = tt->state;
272 if (tt->state != old_state) {
292 if (old_state == IWL_TI_CT_KILL)
299 if (old_state == IWL_TI_CT_KILL)
301 tt->state = old_state;
311 tt->state = old_state;
313 } else if (old_state == IWL_TI_CT_KILL) {
351 enum iwl_tt_state old_state; local
354 old_state
[all...]
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c29 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
68 if (old_state->fb && new_state->fb->format != old_state->fb->format) {
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_global_state.h44 (old_obj_state) = (__state)->global_objs[__i].old_state, 1); \
52 (old_obj_state) = (__state)->global_objs[__i].old_state, \
69 struct intel_global_state *state, *old_state, *new_state; member in struct:__intel_global_objs_state
H A Dintel_hdcp.h26 struct drm_connector_state *old_state,
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_drv.c49 struct drm_atomic_state *old_state)
56 for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) {
68 static void omap_atomic_commit_tail(struct drm_atomic_state *old_state) argument
70 struct drm_device *dev = old_state->dev;
76 drm_atomic_helper_commit_modeset_disables(dev, old_state);
90 drm_atomic_helper_commit_modeset_enables(dev, old_state);
91 omap_atomic_wait_for_completion(dev, old_state);
93 drm_atomic_helper_commit_planes(dev, old_state, 0);
95 drm_atomic_helper_commit_hw_done(old_state);
102 drm_atomic_helper_commit_planes(dev, old_state,
48 omap_atomic_wait_for_completion(struct drm_device *dev, struct drm_atomic_state *old_state) argument
142 struct drm_crtc_state *old_state, *new_state; local
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.c88 static void komeda_kms_commit_tail(struct drm_atomic_state *old_state) argument
90 struct drm_device *dev = old_state->dev;
93 drm_atomic_helper_commit_modeset_disables(dev, old_state);
95 drm_atomic_helper_commit_planes(dev, old_state,
98 drm_atomic_helper_commit_modeset_enables(dev, old_state);
100 komeda_kms_atomic_commit_hw_done(old_state);
102 drm_atomic_helper_wait_for_flip_done(dev, old_state);
106 drm_atomic_helper_cleanup_planes(dev, old_state);
/linux-master/drivers/input/keyboard/
H A Dpmic8xxx-keypad.c172 u16 *old_state)
184 if (old_state) {
185 rc = pmic8xxx_kp_read_data(kp, old_state, KEYP_OLD_DATA,
220 u16 *old_state)
225 int bits_changed = new_state[row] ^ old_state[row];
277 u16 old_state[PM8XXX_MAX_ROWS]; local
293 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state);
297 __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate);
298 __pmic8xxx_kp_scan_matrix(kp, new_state, old_state);
303 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state);
171 pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state, u16 *old_state) argument
219 __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state, u16 *old_state) argument
330 u16 old_state[PM8XXX_MAX_ROWS]; local
[all...]
/linux-master/drivers/gpu/drm/gud/
H A Dgud_connector.c293 struct drm_connector_state *old_state; local
299 old_state = drm_atomic_get_old_connector_state(state, connector);
302 if (old_state->tv.margins.left != new_state->tv.margins.left ||
303 old_state->tv.margins.right != new_state->tv.margins.right ||
304 old_state->tv.margins.top != new_state->tv.margins.top ||
305 old_state->tv.margins.bottom != new_state->tv.margins.bottom ||
306 old_state->tv.legacy_mode != new_state->tv.legacy_mode ||
307 old_state->tv.brightness != new_state->tv.brightness ||
308 old_state->tv.contrast != new_state->tv.contrast ||
309 old_state
[all...]

Completed in 326 milliseconds

12345678910