Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 25 of 66) sorted by relevance

123

/linux/kernel/
A Dsmpboot.c421 int oldstate; in cpu_wait_death() local
441 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_wait_death()
442 if (oldstate == CPU_DEAD) { in cpu_wait_death()
449 oldstate, CPU_BROKEN) != oldstate) in cpu_wait_death()
467 int oldstate; in cpu_report_death() local
472 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_report_death()
473 if (oldstate != CPU_BROKEN) in cpu_report_death()
478 oldstate, newstate) != oldstate); in cpu_report_death()
/linux/drivers/scsi/
A Dhosts.c76 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local
78 if (state == oldstate) in scsi_host_set_state()
89 switch (oldstate) { in scsi_host_set_state()
99 switch (oldstate) { in scsi_host_set_state()
108 switch (oldstate) { in scsi_host_set_state()
119 switch (oldstate) { in scsi_host_set_state()
129 switch (oldstate) { in scsi_host_set_state()
139 switch (oldstate) { in scsi_host_set_state()
155 scsi_host_state_name(oldstate), in scsi_host_set_state()
A Dscsi_lib.c2271 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2273 if (state == oldstate) in scsi_device_set_state()
2278 switch (oldstate) { in scsi_device_set_state()
2287 switch (oldstate) { in scsi_device_set_state()
2300 switch (oldstate) { in scsi_device_set_state()
2312 switch (oldstate) { in scsi_device_set_state()
2324 switch (oldstate) { in scsi_device_set_state()
2336 switch (oldstate) { in scsi_device_set_state()
2345 switch (oldstate) { in scsi_device_set_state()
2358 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux/drivers/gpu/drm/sti/
A Dsti_gdp.c728 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update()
729 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update()
730 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update()
731 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update()
732 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update()
733 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update()
734 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update()
735 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update()
736 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update()
876 if (!oldstate->crtc) { in sti_gdp_atomic_disable()
[all …]
A Dsti_hqvdp.c1133 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update()
1134 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update()
1135 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update()
1136 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update()
1137 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update()
1138 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update()
1139 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1140 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update()
1141 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update()
1252 if (!oldstate->crtc) { in sti_hqvdp_atomic_disable()
[all …]
A Dsti_cursor.c316 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local
320 if (!oldstate->crtc) { in sti_cursor_atomic_disable()
327 oldstate->crtc->base.id, in sti_cursor_atomic_disable()
328 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
/linux/include/trace/events/
A Dsock.h140 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate),
142 TP_ARGS(sk, oldstate, newstate),
146 __field(int, oldstate)
164 __entry->oldstate = oldstate;
200 show_tcp_state_name(__entry->oldstate),
/linux/drivers/gpu/drm/ingenic/
A Dingenic-ipu.c275 struct drm_plane_state *oldstate) in osd_changed() argument
277 return state->src_x != oldstate->src_x || in osd_changed()
278 state->src_y != oldstate->src_y || in osd_changed()
279 state->src_w != oldstate->src_w || in osd_changed()
280 state->src_h != oldstate->src_h || in osd_changed()
281 state->crtc_x != oldstate->crtc_x || in osd_changed()
282 state->crtc_y != oldstate->crtc_y || in osd_changed()
283 state->crtc_w != oldstate->crtc_w || in osd_changed()
284 state->crtc_h != oldstate->crtc_h; in osd_changed()
292 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local
[all …]
/linux/drivers/mtd/lpddr/
A Dlpddr_cmds.c83 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset()
269 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
301 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready()
316 chip->oldstate = FL_ERASING; in chip_ready()
333 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
353 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
385 switch (chip->oldstate) { in put_chip()
391 chip->oldstate = FL_READY; in put_chip()
398 map->name, chip->oldstate); in put_chip()
/linux/include/linux/
A Drcutree.h45 bool poll_state_synchronize_rcu(unsigned long oldstate);
46 void cond_synchronize_rcu(unsigned long oldstate);
A Drcutiny.h19 bool poll_state_synchronize_rcu(unsigned long oldstate);
21 static inline void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
/linux/sound/soc/sof/intel/
A Dhda-bus.c41 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() local
45 if (enable == oldstate) in sof_hda_bus_link_power()
/linux/drivers/mtd/chips/
A Dcfi_cmdset_0001.c873 chip->oldstate = FL_ERASING; in chip_ready()
903 chip->oldstate = chip->state; in chip_ready()
1062 switch(chip->oldstate) { in put_chip()
1075 chip->oldstate = FL_READY; in put_chip()
1080 chip->state = chip->oldstate; in put_chip()
1081 chip->oldstate = FL_READY; in put_chip()
1149 flstate_t oldstate, newstate; in xip_wait_for_operation() local
1191 oldstate = chip->state; in xip_wait_for_operation()
1234 chip->state = oldstate; in xip_wait_for_operation()
2065 chip->oldstate = FL_READY; in cfi_intelext_sync()
[all …]
A Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
A Dcfi_cmdset_0002.c931 chip->oldstate = FL_ERASING; in get_chip()
962 chip->oldstate = chip->state; in get_chip()
992 switch(chip->oldstate) { in put_chip()
998 chip->oldstate = FL_READY; in put_chip()
1003 chip->state = chip->oldstate; in put_chip()
1004 chip->oldstate = FL_READY; in put_chip()
1071 flstate_t oldstate; in xip_udelay() local
1105 oldstate = chip->state; in xip_udelay()
1141 chip->state = oldstate; in xip_udelay()
2936 chip->oldstate = chip->state; in cfi_amdstd_sync()
[all …]
/linux/arch/arm/mach-sa1100/
A Dhackkit.c48 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate);
95 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() argument
/linux/net/dccp/
A Dproto.c80 const int oldstate = sk->sk_state; in dccp_set_state() local
83 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state()
84 WARN_ON(state == oldstate); in dccp_set_state()
88 if (oldstate != DCCP_OPEN) in dccp_set_state()
91 if (oldstate == DCCP_PARTOPEN) in dccp_set_state()
96 if (oldstate == DCCP_OPEN || oldstate == DCCP_ACTIVE_CLOSEREQ || in dccp_set_state()
97 oldstate == DCCP_CLOSING) in dccp_set_state()
106 if (oldstate == DCCP_OPEN) in dccp_set_state()
/linux/net/dccp/ccids/
A Dccid3.c54 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() local
57 dccp_role(sk), sk, ccid3_tx_state_name(oldstate), in ccid3_hc_tx_set_state()
59 WARN_ON(state == oldstate); in ccid3_hc_tx_set_state()
580 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() local
583 dccp_role(sk), sk, ccid3_rx_state_name(oldstate), in ccid3_hc_rx_set_state()
585 WARN_ON(state == oldstate); in ccid3_hc_rx_set_state()
/linux/kernel/rcu/
A Dtiny.c214 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
216 return READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
/linux/sound/hda/ext/
A Dhdac_ext_controller.c359 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
361 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/linux/include/linux/mtd/
A Dflashchip.h69 flstate_t oldstate; member
/linux/drivers/pwm/
A Dpwm-fsl-ftm.c304 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local
319 if (oldstate->enabled) { in fsl_pwm_apply()
334 if (!oldstate->enabled) { in fsl_pwm_apply()
/linux/drivers/net/fddi/skfp/
A Dpcmplc.c587 int oldstate ; in pcm() local
600 oldstate = mib->fddiPORTPCMState ; in pcm()
626 if ( mib->fddiPORTPCMState != oldstate && in pcm()
627 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm()
636 if ( mib->fddiPORTPCMState != oldstate ) { in pcm()
638 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm()
642 } else if ( oldstate == PC0_OFF ) { in pcm()
646 oldstate == PC8_ACTIVE ) { in pcm()
/linux/drivers/s390/char/
A Dtape_core.c265 enum tape_medium_state oldstate; in tape_med_state_set() local
267 oldstate = device->medium_state; in tape_med_state_set()
268 if (oldstate == newstate) in tape_med_state_set()
274 if (oldstate == MS_LOADED) in tape_med_state_set()
279 if (oldstate == MS_UNLOADED) in tape_med_state_set()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument

Completed in 71 milliseconds

123