/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 909 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_stat in disable_outputs() 1058 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_update_legacy_modeset_state() argument 1143 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) crtc_set_mode() argument 1220 drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_disables() argument 1231 drm_atomic_helper_commit_writebacks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_writebacks() argument 1267 drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_enables() argument 1412 drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_vblanks() argument 1474 drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_flip_done() argument 1514 drm_atomic_helper_commit_tail(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail() argument 1544 drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail_rpm() argument 1564 commit_tail(struct drm_atomic_state *old_state) commit_tail() argument 2080 drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_dependencies() argument 2175 drm_atomic_helper_fake_vblank(struct drm_atomic_state *old_state) drm_atomic_helper_fake_vblank() argument 2214 drm_atomic_helper_commit_hw_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_hw_done() argument 2262 drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_cleanup_done() argument 2406 drm_atomic_helper_commit_planes(struct drm_device *dev, struct drm_atomic_state *old_state, uint32_t flags) drm_atomic_helper_commit_planes() argument 2520 struct drm_atomic_state *old_state = old_crtc_state->state; drm_atomic_helper_commit_planes_on_crtc() local 2618 drm_atomic_helper_cleanup_planes(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_cleanup_planes() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_fb.c | 145 * @old_state: new modeset state to be committed 153 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() [all...] |
H A D | rockchip_drm_logo.c | 860 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()
|
H A D | rockchip_drm_vop.c | 1461 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() 2980 vop_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) vop_crtc_atomic_enable() argument 3689 struct drm_atomic_state *old_state = old_crtc_state->state; vop_crtc_atomic_flush() local 3818 struct rockchip_crtc_state *rockchip_state, *old_state; vop_crtc_duplicate_state() local [all...] |
H A D | rockchip_drm_vop2.c | 2956 static int vop2_crtc_atomic_gamma_set(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop2_crtc_atomic_gamma_set() argument 2971 static int vop2_crtc_atomic_cubic_lut_set(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop2_crtc_atomic_cubic_lut_set() argument 3340 static void vop2_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop2_crtc_atomic_disable() argument 3744 static void vop2_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_disable() argument 3754 if (!old_state->crtc) { in vop2_plane_atomic_disable() 4119 static void vop2_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_update() argument 4173 vop2_plane_atomic_disable(plane, old_state); in vop2_plane_atomic_update() 5585 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 5791 static void vop2_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop2_crtc_atomic_enable() argument 6198 vop2_crtc_enable_dsc(crtc, old_state, in vop2_crtc_atomic_enable() 7241 struct drm_atomic_state *old_state = old_cstate->state; vop2_crtc_atomic_flush() local [all...] |
H A D | dw-dp.c | 1836 static void dw_dp_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_dp_bridge_atomic_enable() argument
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_fsm.c | 48 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 "{hmac_fsm_change_state::hmac_syn_vap_state failed[%d], old_state=%d, new_state=%d.}", ret, old_state, in hmac_fsm_change_state()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_logo.c | 821 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()
|
H A D | rockchip_drm_vop2.c | 2948 struct drm_crtc_state *old_state) in vop2_crtc_atomic_gamma_set() 2964 struct drm_crtc_state *old_state) in vop2_crtc_atomic_cubic_lut_set() 3343 struct drm_crtc_state *old_state) in vop2_crtc_atomic_disable() 3753 static void vop2_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_disable() argument 3763 if (!old_state->crtc) in vop2_plane_atomic_disable() 4117 static void vop2_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) in vop2_plane_atomic_update() argument 4168 vop2_plane_atomic_disable(plane, old_state); in vop2_plane_atomic_update() 5631 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 5852 static void vop2_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) in vop2_crtc_atomic_enable() argument 6253 vop2_crtc_enable_dsc(crtc, old_state, in vop2_crtc_atomic_enable() 2947 vop2_crtc_atomic_gamma_set(struct drm_crtc *crtc, struct drm_crtc_state *old_state) vop2_crtc_atomic_gamma_set() argument 2963 vop2_crtc_atomic_cubic_lut_set(struct drm_crtc *crtc, struct drm_crtc_state *old_state) vop2_crtc_atomic_cubic_lut_set() argument 3342 vop2_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) vop2_crtc_atomic_disable() argument 7358 struct drm_atomic_state *old_state = old_cstate->state; vop2_crtc_atomic_flush() local [all...] |
H A D | dw-dp.c | 1838 struct drm_bridge_state *old_state) in dw_dp_bridge_atomic_enable() 1837 dw_dp_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) dw_dp_bridge_atomic_enable() argument
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.c | 1329 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() 1523 struct drm_atomic_state *old_state = old_bridge_state->base.state; analogix_dp_bridge_atomic_post_disable() local [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_sdio_host.c | 128 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_sdi in oal_disable_sdio_state() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp.c | 1844 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, const struct drm_connector_state *new_state)
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 static void 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 static 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/ |
H A D | dw-hdmi-qp.c | 1711 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() 1931 struct drm_bridge_state *old_state) in dw_hdmi_qp_bridge_atomic_enable() 1934 struct drm_atomic_state *state = old_state->base.state; in dw_hdmi_qp_bridge_atomic_enable() 1915 dw_hdmi_qp_bridge_atomic_disable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) dw_hdmi_qp_bridge_atomic_disable() argument 1930 dw_hdmi_qp_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) dw_hdmi_qp_bridge_atomic_enable() argument
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dbus.c | 1277 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()
|
H A D | dhd_wlfc.c | 1500 uint8 old_state = item->state; in _dhd_wlfc_hanger_free_pkt() local 1505 if (old_state == WLFC_HANGER_ITEM_STATE_INUSE_SUPPRESSED) { in _dhd_wlfc_hanger_free_pkt() 1507 pkt, old_state, item->pkt_state); in _dhd_wlfc_hanger_free_pkt() 1509 ASSERT(old_state != WLFC_HANGER_ITEM_STATE_INUSE_SUPPRESSED); in _dhd_wlfc_hanger_free_pkt()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 3040 static bool hdr_metadata_equal(const struct drm_connector_state *old_state, const struct drm_connector_state *new_state) 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 static void dw_hdmi_bridge_atomic_disable(struct drm_bridge *bridge, struct drm_bridge_state *old_state) in dw_hdmi_bridge_atomic_disable() argument 3721 static 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/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | netif.h | 1082 u8_t old_state; member
|