Home
last modified time | relevance | path

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

123

/openbsd/src/sys/dev/pci/drm/
Ddrm_atomic_helper.c1100 crtc_needs_disable(struct drm_crtc_state *old_state, in crtc_needs_disable() argument
1108 return drm_atomic_crtc_effectively_active(old_state); in crtc_needs_disable()
1115 if (old_state->self_refresh_active && in crtc_needs_disable()
1116 old_state->crtc != new_state->crtc) in crtc_needs_disable()
1125 return old_state->active || in crtc_needs_disable()
1126 (old_state->self_refresh_active && !new_state->active) || in crtc_needs_disable()
1131 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument
1139 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs()
1151 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1155 old_state, in disable_outputs()
[all …]
Ddrm_bridge.c566 struct drm_atomic_state *old_state) in drm_atomic_bridge_chain_disable() argument
580 drm_atomic_get_old_bridge_state(old_state, in drm_atomic_bridge_chain_disable()
597 struct drm_atomic_state *old_state) in drm_atomic_bridge_call_post_disable() argument
599 if (old_state && bridge->funcs->atomic_post_disable) { in drm_atomic_bridge_call_post_disable()
603 drm_atomic_get_old_bridge_state(old_state, in drm_atomic_bridge_call_post_disable()
640 struct drm_atomic_state *old_state) in drm_atomic_bridge_chain_post_disable() argument
687 old_state); in drm_atomic_bridge_chain_post_disable()
692 drm_atomic_bridge_call_post_disable(bridge, old_state); in drm_atomic_bridge_chain_post_disable()
702 struct drm_atomic_state *old_state) in drm_atomic_bridge_call_pre_enable() argument
704 if (old_state && bridge->funcs->atomic_pre_enable) { in drm_atomic_bridge_call_pre_enable()
[all …]
Ddrm_damage_helper.c224 const struct drm_plane_state *old_state, in drm_atomic_helper_damage_iter_init() argument
245 !drm_rect_equals(&state->src, &old_state->src)) { in drm_atomic_helper_damage_iter_init()
310 bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, in drm_atomic_helper_damage_merged() argument
323 drm_atomic_helper_damage_iter_init(&iter, old_state, state); in drm_atomic_helper_damage_merged()
/openbsd/src/gnu/usr.bin/binutils-2.17/gas/
Dapp.c198 static int old_state; variable
216 int old_state; member
239 saved->old_state = old_state; in app_push()
275 old_state = saved->old_state; in app_pop()
459 state = old_state; in do_scrub_chars()
460 old_state = 3; in do_scrub_chars()
498 state = old_state; in do_scrub_chars()
519 old_state = 7; in do_scrub_chars()
565 state = old_state; in do_scrub_chars()
571 state = old_state; in do_scrub_chars()
[all …]
/openbsd/src/gnu/usr.bin/binutils/gas/
Dapp.c198 static int old_state; variable
216 int old_state; member
239 saved->old_state = old_state; in app_push()
275 old_state = saved->old_state; in app_pop()
453 state = old_state; in do_scrub_chars()
454 old_state = 3; in do_scrub_chars()
492 state = old_state; in do_scrub_chars()
513 old_state = 7; in do_scrub_chars()
562 state = old_state; in do_scrub_chars()
568 state = old_state; in do_scrub_chars()
[all …]
/openbsd/src/sys/dev/pci/drm/include/drm/
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
616 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state()
663 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state()
721 return state->connectors[index].old_state; in drm_atomic_get_old_connector_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 …]
Ddrm_atomic_helper.h80 struct drm_atomic_state *old_state);
83 struct drm_atomic_state *old_state);
87 struct drm_atomic_state *old_state);
95 struct drm_atomic_state *old_state);
109 struct drm_atomic_state *old_state);
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,
/openbsd/src/sys/dev/
Dsoftraid_raid1.c108 int old_state, s; in sr_raid1_set_chunk_state() local
116 old_state = sd->sd_vol.sv_chunks[c]->src_meta.scm_status; in sr_raid1_set_chunk_state()
119 if (old_state == new_state) in sr_raid1_set_chunk_state()
122 switch (old_state) { in sr_raid1_set_chunk_state()
180 old_state, new_state); in sr_raid1_set_chunk_state()
198 int old_state = sd->sd_vol_status; in sr_raid1_set_vol_state() local
237 "was %d\n", DEVNAME(sd->sd_sc), old_state); in sr_raid1_set_vol_state()
243 old_state, new_state); in sr_raid1_set_vol_state()
245 switch (old_state) { in sr_raid1_set_vol_state()
313 old_state, new_state); in sr_raid1_set_vol_state()
Dsoftraid_raid6.c165 int old_state, s; in sr_raid6_set_chunk_state() local
174 old_state = sd->sd_vol.sv_chunks[c]->src_meta.scm_status; in sr_raid6_set_chunk_state()
177 if (old_state == new_state) in sr_raid6_set_chunk_state()
180 switch (old_state) { in sr_raid6_set_chunk_state()
225 old_state, new_state); in sr_raid6_set_chunk_state()
243 int old_state = sd->sd_vol_status; in sr_raid6_set_vol_state() local
276 printf("old_state = %d, ", old_state); in sr_raid6_set_vol_state()
285 old_state, new_state); in sr_raid6_set_vol_state()
287 switch (old_state) { in sr_raid6_set_vol_state()
354 old_state, new_state); in sr_raid6_set_vol_state()
Dsoftraid_raid5.c149 int old_state, s; in sr_raid5_set_chunk_state() local
157 old_state = sd->sd_vol.sv_chunks[c]->src_meta.scm_status; in sr_raid5_set_chunk_state()
160 if (old_state == new_state) in sr_raid5_set_chunk_state()
163 switch (old_state) { in sr_raid5_set_chunk_state()
208 old_state, new_state); in sr_raid5_set_chunk_state()
226 int old_state = sd->sd_vol_status; in sr_raid5_set_vol_state() local
259 "was %d\n", DEVNAME(sd->sd_sc), old_state); in sr_raid5_set_vol_state()
270 old_state, new_state); in sr_raid5_set_vol_state()
272 switch (old_state) { in sr_raid5_set_vol_state()
339 old_state, new_state); in sr_raid5_set_vol_state()
/openbsd/src/usr.sbin/dvmrpd/
Dneighbor.c93 int old_state; in nbr_fsm() local
97 old_state = nbr->state; in nbr_fsm()
99 if ((nbr_fsm_tbl[i].state & old_state) && in nbr_fsm()
110 nbr_state_name(old_state)); in nbr_fsm()
138 nbr_event_name(event), nbr_state_name(old_state)); in nbr_fsm()
145 if (old_state != nbr->state) { in nbr_fsm()
146 if (old_state & NBR_STA_2_WAY || nbr->state & NBR_STA_2_WAY) { in nbr_fsm()
162 inet_ntoa(nbr->id), nbr_state_name(old_state), in nbr_fsm()
Dgroup.c146 int old_state; in group_fsm() local
150 old_state = group->state; in group_fsm()
153 if ((grp_fsm[i].state & old_state) && in group_fsm()
163 group_event_name(event), group_state_name(old_state)); in group_fsm()
211 group_state_name(old_state)); in group_fsm()
224 inet_ntoa(group->addr), group_state_name(old_state), in group_fsm()
Dinterface.c94 int old_state; in if_fsm() local
98 old_state = iface->state; in if_fsm()
101 if ((iface_fsm[i].state & old_state) && in if_fsm()
111 if_event_name(event), if_state_name(old_state)); in if_fsm()
133 if_state_name(old_state)); in if_fsm()
143 iface->name, if_state_name(old_state), if_state_name(iface->state)); in if_fsm()
/openbsd/src/usr.sbin/ripd/
Dinterface.c99 int old_state; in if_fsm() local
103 old_state = iface->state; in if_fsm()
106 if ((iface_fsm[i].state & old_state) && in if_fsm()
116 if_event_name(event), if_state_name(old_state)); in if_fsm()
135 if_state_name(old_state)); in if_fsm()
142 if (old_state == IF_STA_ACTIVE && iface->state == IF_STA_DOWN) in if_fsm()
144 if (old_state & IF_STA_DOWN && iface->state == IF_STA_ACTIVE) in if_fsm()
150 iface->name, if_state_name(old_state), if_state_name(iface->state)); in if_fsm()
Dneighbor.c98 int old_state; in nbr_fsm() local
102 old_state = nbr->state; in nbr_fsm()
104 if ((nbr_fsm_tbl[i].state & old_state) && in nbr_fsm()
115 nbr_state_name(old_state)); in nbr_fsm()
137 if (old_state != nbr->state) { in nbr_fsm()
146 inet_ntoa(nbr->id), nbr_state_name(old_state), in nbr_fsm()
/openbsd/src/usr.sbin/ospf6d/
Dinterface.c98 int old_state; in if_fsm() local
102 old_state = iface->state; in if_fsm()
105 if ((iface_fsm[i].state & old_state) && in if_fsm()
115 if_event_names[event], if_state_name(old_state)); in if_fsm()
137 if_state_name(old_state)); in if_fsm()
144 if (iface->state != old_state) { in if_fsm()
154 if (old_state & (IF_STA_MULTI | IF_STA_POINTTOPOINT) && in if_fsm()
157 if ((old_state & (IF_STA_MULTI | IF_STA_POINTTOPOINT)) == 0 && in if_fsm()
164 iface->name, if_state_name(old_state), if_state_name(iface->state)); in if_fsm()
455 int old_state; in if_act_elect() local
[all …]
Dneighbor.c122 int old_state; in nbr_fsm() local
129 old_state = nbr->state; in nbr_fsm()
131 if ((nbr_fsm_tbl[i].state & old_state) && in nbr_fsm()
143 nbr_state_name(old_state)); in nbr_fsm()
191 nbr_event_names[event], nbr_state_name(old_state)); in nbr_fsm()
198 if (old_state != nbr->state) { in nbr_fsm()
201 if (old_state & NBR_STA_FULL || nbr->state & NBR_STA_FULL) { in nbr_fsm()
219 if (old_state & ~NBR_STA_PRELIM && nbr->state & NBR_STA_PRELIM) in nbr_fsm()
227 nbr_state_name(old_state), in nbr_fsm()
/openbsd/src/usr.sbin/ospfd/
Dinterface.c93 int old_state; in if_fsm() local
97 old_state = iface->state; in if_fsm()
100 if ((iface_fsm[i].state & old_state) && in if_fsm()
110 if_event_names[event], if_state_name(old_state)); in if_fsm()
132 if_state_name(old_state)); in if_fsm()
139 if (iface->state != old_state) { in if_fsm()
144 if (old_state & (IF_STA_MULTI | IF_STA_POINTTOPOINT) && in if_fsm()
147 if ((old_state & (IF_STA_MULTI | IF_STA_POINTTOPOINT)) == 0 && in if_fsm()
154 iface->name, if_state_name(old_state), if_state_name(iface->state)); in if_fsm()
407 int old_state; in if_act_elect() local
[all …]
Dneighbor.c122 int old_state; in nbr_fsm() local
129 old_state = nbr->state; in nbr_fsm()
131 if ((nbr_fsm_tbl[i].state & old_state) && in nbr_fsm()
143 nbr_state_name(old_state)); in nbr_fsm()
191 nbr_event_names[event], nbr_state_name(old_state)); in nbr_fsm()
198 if (old_state != nbr->state) { in nbr_fsm()
204 if (old_state & NBR_STA_FULL || nbr->state & NBR_STA_FULL) { in nbr_fsm()
218 if (old_state & ~NBR_STA_PRELIM && nbr->state & NBR_STA_PRELIM) in nbr_fsm()
226 nbr_state_name(old_state), in nbr_fsm()
/openbsd/src/sys/dev/pci/drm/i915/display/
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
Dintel_atomic.c122 struct drm_connector_state *old_state = in intel_digital_connector_atomic_check() local
125 to_intel_digital_connector_state(old_state); in intel_digital_connector_atomic_check()
128 intel_hdcp_atomic_check(conn, old_state, new_state); in intel_digital_connector_atomic_check()
146 !drm_connector_atomic_hdr_metadata_equal(old_state, new_state)) in intel_digital_connector_atomic_check()
/openbsd/src/gnu/usr.bin/binutils/gdb/
Di386gnu-nat.c219 thread_state_data_t old_state; in gnu_store_registers() local
225 memcpy (&old_state, &thread->state, sizeof (old_state)); in gnu_store_registers()
245 && memcpy (REG_ADDR (&old_state, check_regno), in gnu_store_registers()
/openbsd/src/lib/librthread/
Drthread_barrier.c103 int rc, old_state, gen; in pthread_barrier_wait() local
109 if ((rc = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &old_state))) in pthread_barrier_wait()
141 rc = pthread_setcancelstate(old_state, NULL); in pthread_barrier_wait()
/openbsd/src/sys/dev/microcode/aic7xxx/
Daicasm_scan.l395 YY_BUFFER_STATE old_state;
402 old_state = YY_CURRENT_BUFFER;
407 mm_switch_to_buffer(old_state);
410 yy_switch_to_buffer(old_state);

123