Home
last modified time | relevance | path

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

12

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_atomic_helper.c909 static bool crtc_needs_disable(struct drm_crtc_state *old_state, struct drm_crtc_state *new_state) in crtc_needs_disable() argument
916 return drm_atomic_crtc_effectively_active(old_state); in crtc_needs_disable()
918 if (old_state->self_refresh_active && in crtc_needs_disable()
919 old_state->crtc != new_state->crtc) in crtc_needs_disable()
927 return old_state->active || (old_state->self_refresh_active && !new_state->enable) || in crtc_needs_disable()
931 static void disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument
939 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) in disable_outputs()
951 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
954 new_crtc_state = drm_atomic_get_new_crtc_state(old_state, new_conn_state->crtc); in disable_outputs()
982 drm_atomic_bridge_chain_disable(bridge, old_state); in disable_outputs()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c153 static void rockchip_drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) in rockchip_drm_atomic_helper_commit_tail_rpm() argument
155 struct drm_device *dev = old_state->dev; in rockchip_drm_atomic_helper_commit_tail_rpm()
159 drm_atomic_helper_commit_modeset_disables(dev, old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
161 drm_atomic_helper_commit_modeset_enables(dev, old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
163 rockchip_drm_bandwidth_atomic_check(dev, old_state, &vop_bw_info); in rockchip_drm_atomic_helper_commit_tail_rpm()
168 drm_atomic_helper_commit_planes(dev, old_state, DRM_PLANE_COMMIT_ACTIVE_ONLY); in rockchip_drm_atomic_helper_commit_tail_rpm()
171 drm_atomic_helper_fake_vblank(old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
173 drm_atomic_helper_commit_hw_done(old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
175 drm_atomic_helper_wait_for_vblanks(dev, old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
177 drm_atomic_helper_cleanup_planes(dev, old_state); in rockchip_drm_atomic_helper_commit_tail_rpm()
Drockchip_drm_logo.c860 struct drm_atomic_state *state, *old_state; in rockchip_drm_show_logo() local
967 old_state = drm_atomic_helper_duplicate_state(drm_dev, mode_config->acquire_ctx); in rockchip_drm_show_logo()
968 if (IS_ERR(old_state)) { in rockchip_drm_show_logo()
970 ret = PTR_ERR_OR_ZERO(old_state); in rockchip_drm_show_logo()
1015 WARN_ON(drm_atomic_helper_swap_state(old_state, false)); in rockchip_drm_show_logo()
1020 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
1043 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
Drockchip_drm_vop.c1461 static int vop_crtc_atomic_gamma_set(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop_crtc_atomic_gamma_set() argument
1554 static void vop_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop_crtc_atomic_disable() argument
1625 static void vop_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) in vop_plane_cleanup_fb() argument
1627 if (old_state->fb) { in vop_plane_cleanup_fb()
1628 drm_framebuffer_put(old_state->fb); in vop_plane_cleanup_fb()
1745 static void vop_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) in vop_plane_atomic_disable() argument
1748 struct vop *vop = to_vop(old_state->crtc); in vop_plane_atomic_disable()
1753 if (!old_state->crtc) { in vop_plane_atomic_disable()
1778 static void vop_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) in vop_plane_atomic_update() argument
1836 vop_plane_atomic_disable(plane, old_state); in vop_plane_atomic_update()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_fsm.c48 mac_vap_state_enum_uint8 old_state; in hmac_fsm_change_state() local
50 old_state = hmac_vap->base_vap->vap_state; in hmac_fsm_change_state()
58 …mac_fsm_change_state::hmac_syn_vap_state failed[%d], old_state=%d, new_state=%d.}", ret, old_state, in hmac_fsm_change_state()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Ddriver-ops.c110 enum ieee80211_sta_state old_state, in drv_sta_state() argument
121 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
124 old_state, new_state); in drv_sta_state()
125 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state()
130 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()
Dtrace.h803 enum ieee80211_sta_state old_state,
806 TP_ARGS(local, sdata, sta, old_state, new_state),
812 __field(u32, old_state)
820 __entry->old_state = old_state;
827 __entry->old_state, __entry->new_state
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1329 struct drm_atomic_state *old_state = old_bridge_state->base.state; in analogix_dp_bridge_atomic_pre_enable() local
1335 crtc = analogix_dp_get_new_crtc(dp, old_state); in analogix_dp_bridge_atomic_pre_enable()
1340 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_pre_enable()
1409 struct drm_atomic_state *old_state = old_bridge_state->base.state; in analogix_dp_bridge_atomic_enable() local
1417 crtc = analogix_dp_get_new_crtc(dp, old_state); in analogix_dp_bridge_atomic_enable()
1422 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_enable()
1487 struct drm_atomic_state *old_state = old_bridge_state->base.state; in analogix_dp_bridge_atomic_disable() local
1493 new_crtc = analogix_dp_get_new_crtc(dp_dev, old_state); in analogix_dp_bridge_atomic_disable()
1497 new_crtc_state = drm_atomic_get_new_crtc_state(old_state, new_crtc); in analogix_dp_bridge_atomic_disable()
1506 old_crtc = analogix_dp_get_old_crtc(dp_dev, old_state); in analogix_dp_bridge_atomic_disable()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Drockchip_drm_vvop.c62 struct drm_plane_state *old_state) in vvop_plane_atomic_update() argument
181 struct drm_crtc_state *old_state) in vvop_crtc_atomic_enable() argument
187 struct drm_crtc_state *old_state) in vvop_crtc_atomic_disable() argument
Drockchip_drm_logo.c872 struct drm_atomic_state *state, *old_state; in rockchip_drm_show_logo() local
975 old_state = drm_atomic_helper_duplicate_state(drm_dev, in rockchip_drm_show_logo()
977 if (IS_ERR(old_state)) { in rockchip_drm_show_logo()
979 ret = PTR_ERR_OR_ZERO(old_state); in rockchip_drm_show_logo()
1026 WARN_ON(drm_atomic_helper_swap_state(old_state, false)); in rockchip_drm_show_logo()
1031 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
1051 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
Drockchip_drm_vop2.c2990 struct drm_crtc_state *old_state) in vop2_crtc_atomic_gamma_set() argument
3006 struct drm_crtc_state *old_state) in vop2_crtc_atomic_cubic_lut_set() argument
3701 struct drm_crtc_state *old_state) in vop2_crtc_atomic_disable_for_psr() argument
3716 struct drm_crtc_state *old_state) in vop2_crtc_atomic_disable() argument
3729 vop2_crtc_atomic_disable_for_psr(crtc, old_state); in vop2_crtc_atomic_disable()
4134 static void vop2_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_disable() argument
4144 if (!old_state->crtc) in vop2_plane_atomic_disable()
4498 static void vop2_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_update() argument
4549 vop2_plane_atomic_disable(plane, old_state); in vop2_plane_atomic_update()
6071 static void vop2_crtc_enable_dsc(struct drm_crtc *crtc, struct drm_crtc_state *old_state, u8 dsc_id) in vop2_crtc_enable_dsc() argument
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Drockchip_drm_logo.c821 struct drm_atomic_state *state, *old_state; in rockchip_drm_show_logo() local
924 old_state = drm_atomic_helper_duplicate_state(drm_dev, in rockchip_drm_show_logo()
926 if (IS_ERR(old_state)) { in rockchip_drm_show_logo()
928 ret = PTR_ERR_OR_ZERO(old_state); in rockchip_drm_show_logo()
973 WARN_ON(drm_atomic_helper_swap_state(old_state, false)); in rockchip_drm_show_logo()
978 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
998 drm_atomic_state_put(old_state); in rockchip_drm_show_logo()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_plane.c512 struct drm_plane_state *old_state) in sunxi_plane_atomic_update() argument
720 struct drm_plane_state *old_state) in sunxi_plane_atomic_disable() argument
729 scrtc = to_sunxi_crtc(old_state->crtc); in sunxi_plane_atomic_disable()
744 if (scrtc->hw_funcs->single_layer_apply(drm_crtc_index(old_state->crtc), in sunxi_plane_atomic_disable()
Dsunxi_drm_crtc.c489 struct drm_crtc_state *old_state) in sunxi_crtc_atomic_enable() argument
694 struct drm_crtc_state *old_state) in sunxi_crtc_atomic_disable() argument
/device/board/isoftstone/yangfan/kernel/src/driv/media/i2c/
Drk_ircut.c181 enum IRCUT_STATE_e old_state; in ircut_operation() local
185 old_state = ircut->state; in ircut_operation()
236 ircut->state = old_state; in ircut_operation()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_pm.c759 tBTM_PM_STATE old_state; in btm_pm_proc_mode_change() local
770 old_state = p_cb->state; in btm_pm_proc_mode_change()
774 …BTM_TRACE_DEBUG("%s switched from %s to %s.", __func__, mode_to_string(old_state), mode_to_string(… in btm_pm_proc_mode_change()
794 if (old_state & BTM_PM_STORED_MASK) { in btm_pm_proc_mode_change()
Dbtm_sec.c1445 UINT8 old_state = p_dev_rec->sec_state; in btm_sec_send_hci_disconnect() local
1452 switch (old_state) { in btm_sec_send_hci_disconnect()
1490 p_dev_rec->sec_state = old_state; in btm_sec_send_hci_disconnect()
3857 tBTM_PAIRING_STATE old_state = btm_cb.pairing_state; in btm_sec_auth_complete() local
3920 && (old_state != BTM_PAIR_STATE_IDLE) ) { in btm_sec_auth_complete()
3944 if (old_state != BTM_PAIR_STATE_IDLE) { in btm_sec_auth_complete()
5678 tBTM_PAIRING_STATE old_state = btm_cb.pairing_state; in btm_sec_change_pairing_state() local
5705 if (old_state == BTM_PAIR_STATE_IDLE) { in btm_sec_change_pairing_state()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_sdio_host.c128 static hi_void oal_sdio_print_state(hi_u32 old_state, hi_u32 new_state) in oal_sdio_print_state() argument
130 if (old_state != new_state) { in oal_sdio_print_state()
132 (old_state & OAL_SDIO_TX) ? 1 : 0, (new_state & OAL_SDIO_TX) ? 1 : 0, in oal_sdio_print_state()
133 (old_state & OAL_SDIO_RX) ? 1 : 0, (new_state & OAL_SDIO_RX) ? 1 : 0); in oal_sdio_print_state()
1183 hi_u32 old_state; in oal_enable_sdio_state() local
1189 old_state = hi_sdio->state; in oal_enable_sdio_state()
1191 oal_sdio_print_state(old_state, hi_sdio->state); in oal_enable_sdio_state()
1196 hi_u32 old_state; in oal_disable_sdio_state() local
1203 old_state = hi_sdio->state; in oal_disable_sdio_state()
1205 oal_sdio_print_state(old_state, hi_sdio->state); in oal_disable_sdio_state()
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Ddw-hdmi-qp.c1837 struct drm_connector_state *old_state = in dw_hdmi_color_changed() local
1846 if (new_state->colorspace != old_state->colorspace) in dw_hdmi_color_changed()
1852 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, in hdr_metadata_equal() argument
1855 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in hdr_metadata_equal()
1870 struct drm_connector_state *old_state = in dw_hdmi_connector_atomic_check() local
1938 if (!hdr_metadata_equal(old_state, new_state) || in dw_hdmi_connector_atomic_check()
2065 struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_disable() argument
2090 struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_enable() argument
2093 struct drm_atomic_state *state = old_state->base.state; in dw_hdmi_qp_bridge_atomic_enable()
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c1844 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, const struct drm_connec… in hdr_metadata_equal() argument
1846 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in hdr_metadata_equal()
1862 struct drm_connector_state *old_state = drm_atomic_get_old_connector_state(state, connector); in dw_hdmi_connector_atomic_check() local
1918 …if (!hdr_metadata_equal(old_state, new_state) || dw_hdmi_color_changed(connector) || color_changed… in dw_hdmi_connector_atomic_check()
2041 …oid dw_hdmi_qp_bridge_atomic_disable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_disable() argument
2057 …void dw_hdmi_qp_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_enable() argument
2060 struct drm_atomic_state *state = old_state->base.state; in dw_hdmi_qp_bridge_atomic_enable()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c1711 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, in hdr_metadata_equal() argument
1714 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in hdr_metadata_equal()
1729 struct drm_connector_state *old_state = in dw_hdmi_connector_atomic_check() local
1785 if (!hdr_metadata_equal(old_state, new_state) || in dw_hdmi_connector_atomic_check()
1916 struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_disable() argument
1931 struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_enable() argument
1934 struct drm_atomic_state *state = old_state->base.state; in dw_hdmi_qp_bridge_atomic_enable()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c3040 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, const struct drm_connec… in hdr_metadata_equal() argument
3042 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in hdr_metadata_equal()
3058 struct drm_connector_state *old_state = drm_atomic_get_old_connector_state(state, connector); in dw_hdmi_connector_atomic_check() local
3109 …if (!hdr_metadata_equal(old_state, new_state) || dw_hdmi_color_changed(connector) || color_changed… in dw_hdmi_connector_atomic_check()
3709 …c void dw_hdmi_bridge_atomic_disable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_hdmi_bridge_atomic_disable() argument
3721 …ic void dw_hdmi_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_hdmi_bridge_atomic_enable() argument
3724 struct drm_atomic_state *state = old_state->base.state; in dw_hdmi_bridge_atomic_enable()
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/
Dnetif.h668 u8_t old_state; member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddbus.c1277 int old_state; in dbus_if_state_change() local
1284 old_state = dhd_bus->pub.busstate; in dbus_if_state_change()
1290 if (state == DBUS_STATE_SLEEP && old_state != DBUS_STATE_UP) in dbus_if_state_change()
1293 DBUSTRACE(("dbus state change from %d to to %d\n", old_state, state)); in dbus_if_state_change()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddbus.c1320 int old_state; in dbus_if_state_change() local
1329 old_state = dhd_bus->pub.busstate; in dbus_if_state_change()
1335 if (state == DBUS_STATE_SLEEP && old_state != DBUS_STATE_UP) { in dbus_if_state_change()
1339 DBUSTRACE(("dbus state change from %d to to %d\n", old_state, state)); in dbus_if_state_change()

12