Home
last modified time | relevance | path

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

123

/linux-6.6.21/include/linux/
Drcutiny.h49 bool poll_state_synchronize_rcu(unsigned long oldstate);
56 static inline void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
76 static inline void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
78 cond_synchronize_rcu(oldstate); in cond_synchronize_rcu_expedited()
Drcutree.h80 void cond_synchronize_rcu_expedited(unsigned long oldstate);
86 bool poll_state_synchronize_rcu(unsigned long oldstate);
88 void cond_synchronize_rcu(unsigned long oldstate);
/linux-6.6.21/drivers/scsi/
Dhosts.c77 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local
79 if (state == oldstate) in scsi_host_set_state()
90 switch (oldstate) { in scsi_host_set_state()
100 switch (oldstate) { in scsi_host_set_state()
109 switch (oldstate) { in scsi_host_set_state()
120 switch (oldstate) { in scsi_host_set_state()
130 switch (oldstate) { in scsi_host_set_state()
140 switch (oldstate) { in scsi_host_set_state()
156 scsi_host_state_name(oldstate), in scsi_host_set_state()
Dscsi_lib.c2325 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2327 if (state == oldstate) in scsi_device_set_state()
2332 switch (oldstate) { in scsi_device_set_state()
2341 switch (oldstate) { in scsi_device_set_state()
2354 switch (oldstate) { in scsi_device_set_state()
2366 switch (oldstate) { in scsi_device_set_state()
2378 switch (oldstate) { in scsi_device_set_state()
2390 switch (oldstate) { in scsi_device_set_state()
2399 switch (oldstate) { in scsi_device_set_state()
2412 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_gdp.c706 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_gdp_atomic_update() local
730 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update()
731 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update()
732 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update()
733 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update()
734 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update()
735 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update()
736 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update()
737 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update()
738 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update()
[all …]
Dsti_hqvdp.c1116 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_hqvdp_atomic_update() local
1135 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update()
1136 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update()
1137 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update()
1138 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update()
1139 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update()
1140 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update()
1141 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1142 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update()
1143 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update()
[all …]
Dsti_cursor.c317 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local
321 if (!oldstate->crtc) { in sti_cursor_atomic_disable()
328 oldstate->crtc->base.id, in sti_cursor_atomic_disable()
329 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
/linux-6.6.21/include/trace/events/
Dsock.h142 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate),
144 TP_ARGS(sk, oldstate, newstate),
148 __field(int, oldstate)
166 __entry->oldstate = oldstate;
202 show_tcp_state_name(__entry->oldstate),
/linux-6.6.21/kernel/rcu/
Dtiny.c242 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
244 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
/linux-6.6.21/drivers/gpu/drm/ingenic/
Dingenic-ipu.c311 struct drm_plane_state *oldstate) in osd_changed() argument
313 return state->src_x != oldstate->src_x || in osd_changed()
314 state->src_y != oldstate->src_y || in osd_changed()
315 state->src_w != oldstate->src_w || in osd_changed()
316 state->src_h != oldstate->src_h || in osd_changed()
317 state->crtc_x != oldstate->crtc_x || in osd_changed()
318 state->crtc_y != oldstate->crtc_y || in osd_changed()
319 state->crtc_w != oldstate->crtc_w || in osd_changed()
320 state->crtc_h != oldstate->crtc_h; in osd_changed()
328 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local
[all …]
/linux-6.6.21/sound/soc/sof/intel/
Dhda-bus.c37 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() local
41 if (enable == oldstate) in sof_hda_bus_link_power()
/linux-6.6.21/drivers/mtd/lpddr/
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-6.6.21/drivers/mtd/chips/
Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
Dcfi_cmdset_0001.c836 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready()
890 chip->oldstate = FL_ERASING; in chip_ready()
920 chip->oldstate = chip->state; in chip_ready()
929 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
1016 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
1047 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
1079 switch(chip->oldstate) { in put_chip()
1092 chip->oldstate = FL_READY; in put_chip()
1097 chip->state = chip->oldstate; in put_chip()
1098 chip->oldstate = FL_READY; in put_chip()
[all …]
Dcfi_cmdset_0002.c923 chip->oldstate = FL_ERASING; in get_chip()
954 chip->oldstate = chip->state; in get_chip()
964 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip()
984 switch(chip->oldstate) { in put_chip()
990 chip->oldstate = FL_READY; in put_chip()
995 chip->state = chip->oldstate; in put_chip()
996 chip->oldstate = FL_READY; in put_chip()
1003 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip()
1063 flstate_t oldstate; in xip_udelay() local
1069 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay()
[all …]
Dcfi_cmdset_0020.c285 chip->oldstate = FL_ERASING; in do_read_onechip()
365 chip->state = chip->oldstate; in do_read_onechip()
993 chip->oldstate = chip->state; in cfi_staa_sync()
1025 chip->state = chip->oldstate; in cfi_staa_sync()
1330 chip->oldstate = chip->state; in cfi_staa_suspend()
1360 chip->state = chip->oldstate; in cfi_staa_suspend()
/linux-6.6.21/net/dccp/
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-6.6.21/net/dccp/ccids/
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-6.6.21/include/linux/mtd/
Dflashchip.h69 flstate_t oldstate; member
/linux-6.6.21/sound/hda/ext/
Dhdac_ext_controller.c381 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
383 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/linux-6.6.21/drivers/pwm/
Dpwm-fsl-ftm.c300 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local
315 if (oldstate->enabled) { in fsl_pwm_apply()
330 if (!oldstate->enabled) { in fsl_pwm_apply()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
/linux-6.6.21/drivers/s390/char/
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-6.6.21/drivers/net/fddi/skfp/
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-6.6.21/drivers/tty/serial/8250/
D8250_pxa.c80 unsigned int oldstate) in serial_pxa_pm() argument

123