Searched refs:old_state (Results 101 - 125 of 240) sorted by relevance

12345678910

/linux-master/fs/netfs/
H A Dinternal.h223 enum fscache_cache_state old_state,
226 return try_cmpxchg_release(&cache->state, &old_state, new_state);
222 fscache_set_cache_state_maybe(struct fscache_cache *cache, enum fscache_cache_state old_state, enum fscache_cache_state new_state) argument
/linux-master/drivers/net/phy/
H A Dphy.c62 enum phy_state old_state)
64 if (old_state != phydev->state) {
66 phy_state_to_str(old_state),
1394 enum phy_state old_state = phydev->state; local
1449 phy_process_state_change(phydev, old_state);
1499 enum phy_state old_state; local
1509 old_state = phydev->state;
1520 phy_process_state_change(phydev, old_state);
61 phy_process_state_change(struct phy_device *phydev, enum phy_state old_state) argument
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dmac80211.c559 enum ieee80211_sta_state old_state,
564 if (old_state == IEEE80211_STA_NOTEXIST &&
568 if (old_state == IEEE80211_STA_AUTH &&
575 if (old_state == IEEE80211_STA_ASSOC &&
579 if (old_state == IEEE80211_STA_AUTH &&
583 if (old_state == IEEE80211_STA_NONE &&
593 enum ieee80211_sta_state old_state,
601 ret = __rtw89_ops_sta_state(hw, vif, sta, old_state, new_state);
556 __rtw89_ops_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
590 rtw89_ops_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
/linux-master/drivers/virtio/
H A Dvirtio_mem.c371 enum virtio_mem_bbm_bb_state old_state; local
373 old_state = vm->bbm.bb_states[idx];
376 BUG_ON(vm->bbm.bb_count[old_state] == 0);
377 vm->bbm.bb_count[old_state]--;
437 uint8_t old_state; local
439 old_state = vm->sbm.mb_states[idx];
442 BUG_ON(vm->sbm.mb_count[old_state] == 0);
443 vm->sbm.mb_count[old_state]--;
1697 const int old_state = virtio_mem_sbm_get_mb_state(vm, mb_id); local
1719 if (old_state
1956 const int old_state = virtio_mem_sbm_get_mb_state(vm, mb_id); local
2058 const int old_state = virtio_mem_sbm_get_mb_state(vm, mb_id); local
[all...]
/linux-master/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c925 enum can_state new_state, old_state; local
927 old_state = priv->can.state;
932 if (new_state == old_state)
939 if (old_state == CAN_STATE_STOPPED && new_state == CAN_STATE_BUS_OFF)
953 if (new_state == CAN_STATE_BUS_OFF && old_state < CAN_STATE_BUS_OFF) {
967 old_state >= CAN_STATE_BUS_OFF &&
1074 enum can_state new_state, old_state; local
1084 old_state = priv->can.state;
1090 if (new_state != old_state) {
1102 old_state >
[all...]
/linux-master/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c619 static int vop_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) argument
664 if (!old_state || !old_state->self_refresh_active) {
895 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
898 struct vop *vop = to_vop(old_state->crtc);
900 if (!old_state->crtc)
1278 struct drm_crtc_state *old_state)
1365 struct drm_crtc_state *old_state = drm_atomic_get_old_crtc_state(state, local
1385 if (old_state && old_state
1277 vop_crtc_gamma_set(struct vop *vop, struct drm_crtc *crtc, struct drm_crtc_state *old_state) argument
1569 struct drm_atomic_state *old_state = old_crtc_state->state; local
[all...]
/linux-master/drivers/hsi/clients/
H A Dcmt_speech.c915 static void cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) argument
917 if (old_state == CS_STATE_CONFIGURED) {
928 unsigned int old_state = hi->iface_state; local
932 if (old_state == CS_STATE_CONFIGURED)
962 cs_hsi_data_disable(hi, old_state);
966 if (old_state != hi->iface_state) {
973 } else if (old_state == CS_STATE_CONFIGURED) {
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmac80211.c836 enum ieee80211_sta_state old_state,
847 sta->addr, old_state, new_state);
851 if (old_state == IEEE80211_STA_NOTEXIST &&
854 else if (old_state == IEEE80211_STA_NONE &&
857 else if (old_state == IEEE80211_STA_AUTH &&
861 if (old_state == IEEE80211_STA_AUTH &&
864 else if (old_state == IEEE80211_STA_ASSOC &&
833 iwlagn_mac_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c555 * @old_state: Contains the FB to clean up
563 struct drm_plane_state *old_state)
565 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
643 * @old_state: contains the state to clean up
651 struct drm_plane_state *old_state)
654 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
765 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, local
767 struct drm_crtc *crtc = new_state->crtc ?: old_state->crtc;
771 struct vmw_plane_state *old_vps = vmw_plane_state_to_vps(old_state);
838 struct drm_plane_state *old_state local
562 vmw_du_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) argument
650 vmw_du_cursor_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) argument
2729 struct drm_plane_state *old_state = update->old_state; local
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dsched.c1025 enum spu_utilization_state old_state; local
1035 old_state = ctx->stats.util_state;
1043 ctx->stats.times[old_state] += delta;
1044 spu->stats.times[old_state] += delta;
1048 if (old_state == SPU_UTIL_USER)
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c164 struct drm_plane_state *old_state)
168 struct drm_framebuffer *fb = old_state->fb;
169 bool needed_dirtyfb = to_mdp5_plane_state(old_state)->needs_dirtyfb;
183 struct drm_plane_state *old_state = plane->state; local
194 plane_enabled(old_state), plane_enabled(state));
163 mdp5_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) argument
/linux-master/drivers/input/mouse/
H A Dcypress_ps2.c104 enum psmouse_state old_state; local
109 old_state = psmouse->state;
130 psmouse->state = old_state;
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_vsp.c380 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); local
383 struct rcar_du_crtc *crtc = to_rcar_crtc(old_state->crtc);
387 else if (old_state->crtc)
/linux-master/drivers/input/keyboard/
H A Dcros_ec_keyb.c183 int old_state; local
201 old_state = ckdev->old_kb_state[col] & (1 << row);
202 if (new_state != old_state) {
/linux-master/drivers/gpu/drm/gud/
H A Dgud_pipe.c566 struct drm_plane_state *old_state)
593 if (!old_state->fb)
609 if (drm_atomic_helper_damage_merged(old_state, state, &damage))
565 gud_pipe_update(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_state) argument
/linux-master/net/batman-adv/
H A Dmulticast.c743 * @old_state: the previous querier state on our link
762 struct batadv_mcast_querier_state *old_state,
765 if (!old_state->exists && new_state->exists)
768 else if (old_state->exists && !new_state->exists)
778 if ((!old_state->shadowing && new_state->shadowing) ||
779 (!old_state->exists && new_state->shadowing))
783 else if (old_state->shadowing && !new_state->shadowing)
761 batadv_mcast_querier_log(struct batadv_priv *bat_priv, char *str_proto, struct batadv_mcast_querier_state *old_state, struct batadv_mcast_querier_state *new_state) argument
/linux-master/drivers/mtd/tests/
H A Dpagetest.c86 struct rnd_state old_state = rnd_state; local
106 rnd_state = old_state;
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.h557 struct drm_atomic_state *old_state);
559 struct drm_atomic_state *old_state);
/linux-master/net/dccp/
H A Dinput.c576 const int old_state = sk->sk_state; local
696 switch (old_state) {
/linux-master/drivers/usb/common/
H A Dusb-otg-fsm.c60 static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) argument
62 switch (old_state) {
/linux-master/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c110 struct drm_plane_state *old_state)
115 struct drm_framebuffer *fb = old_state->fb;
109 mdp4_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) argument
/linux-master/drivers/gpu/drm/tiny/
H A Dst7586.c149 struct drm_plane_state *old_state)
163 if (drm_atomic_helper_damage_merged(old_state, state, &rect))
148 st7586_pipe_update(struct drm_simple_display_pipe *pipe, struct drm_plane_state *old_state) argument
/linux-master/drivers/net/can/
H A Dkvaser_pciefd.c1286 enum can_state old_state, new_state, tx_state, rx_state; local
1291 old_state = can->can.state;
1298 if (new_state != old_state) {
1300 if (old_state == CAN_STATE_BUS_OFF &&
1358 enum can_state old_state, new_state, tx_state, rx_state; local
1360 old_state = can->can.state;
1366 if (new_state != old_state) {
1378 if (old_state == CAN_STATE_BUS_OFF &&
/linux-master/drivers/video/fbdev/
H A Dpxafb.c1541 u_int old_state; local
1545 old_state = fbi->state;
1550 if (old_state == C_STARTUP && state == C_REENABLE)
1559 if (old_state != C_DISABLE && old_state != C_DISABLE_PM) {
1571 if (old_state != C_DISABLE) {
1575 if (old_state != C_DISABLE_CLKCHANGE)
1585 if (old_state == C_DISABLE_CLKCHANGE) {
1598 if (old_state == C_ENABLE) {
1612 if (old_state !
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndw.c518 nv50_wndw_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) argument
523 NV_ATOMIC(drm, "%s cleanup: %p\n", plane->name, old_state->fb);
524 if (!old_state->fb)
527 nvbo = nouveau_gem_object(old_state->fb->obj[0]);

Completed in 358 milliseconds

12345678910