/linux-6.1.9/drivers/gpu/drm/tilcdc/ |
D | tilcdc_plane.c | 26 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in tilcdc_plane_atomic_check() local 33 if (!new_state->crtc) in tilcdc_plane_atomic_check() 36 if (WARN_ON(!new_state->fb)) in tilcdc_plane_atomic_check() 39 if (new_state->crtc_x || new_state->crtc_y) { in tilcdc_plane_atomic_check() 46 new_state->crtc); in tilcdc_plane_atomic_check() 51 if (crtc_state->mode.hdisplay != new_state->crtc_w || in tilcdc_plane_atomic_check() 52 crtc_state->mode.vdisplay != new_state->crtc_h) { in tilcdc_plane_atomic_check() 56 new_state->crtc_w, new_state->crtc_h); in tilcdc_plane_atomic_check() 61 new_state->fb->format->cpp[0]; in tilcdc_plane_atomic_check() 62 if (new_state->fb->pitches[0] != pitch) { in tilcdc_plane_atomic_check() [all …]
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_drm_plane.c | 115 static void mtk_plane_update_new_state(struct drm_plane_state *new_state, in mtk_plane_update_new_state() argument 118 struct drm_framebuffer *fb = new_state->fb; in mtk_plane_update_new_state() 130 addr += (new_state->src.x1 >> 16) * fb->format->cpp[0]; in mtk_plane_update_new_state() 131 addr += (new_state->src.y1 >> 16) * pitch; in mtk_plane_update_new_state() 137 mtk_plane_state->pending.x = new_state->dst.x1; in mtk_plane_update_new_state() 138 mtk_plane_state->pending.y = new_state->dst.y1; in mtk_plane_update_new_state() 139 mtk_plane_state->pending.width = drm_rect_width(&new_state->dst); in mtk_plane_update_new_state() 140 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state() 141 mtk_plane_state->pending.rotation = new_state->rotation; in mtk_plane_update_new_state() 142 mtk_plane_state->pending.color_encoding = new_state->color_encoding; in mtk_plane_update_new_state() [all …]
|
/linux-6.1.9/drivers/gpu/drm/armada/ |
D | armada_plane.c | 141 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_primary_plane_atomic_update() local 150 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_primary_plane_atomic_update() 155 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_primary_plane_atomic_update() 156 new_state->fb->base.id, in armada_drm_primary_plane_atomic_update() 157 old_state->visible, new_state->visible); in armada_drm_primary_plane_atomic_update() 159 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_primary_plane_atomic_update() 163 if (!old_state->visible && new_state->visible) { in armada_drm_primary_plane_atomic_update() 165 if (drm_fb_to_armada_fb(new_state->fb)->fmt > CFG_420) in armada_drm_primary_plane_atomic_update() 169 val = armada_src_hw(new_state); in armada_drm_primary_plane_atomic_update() 172 val = armada_dst_yx(new_state); in armada_drm_primary_plane_atomic_update() [all …]
|
D | armada_overlay.c | 73 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_overlay_plane_atomic_update() local 82 if (!new_state->fb || WARN_ON(!new_state->crtc)) in armada_drm_overlay_plane_atomic_update() 87 new_state->crtc->base.id, new_state->crtc->name, in armada_drm_overlay_plane_atomic_update() 88 new_state->fb->base.id, in armada_drm_overlay_plane_atomic_update() 89 old_state->visible, new_state->visible); in armada_drm_overlay_plane_atomic_update() 91 dcrtc = drm_to_armada_crtc(new_state->crtc); in armada_drm_overlay_plane_atomic_update() 95 if (!old_state->visible && new_state->visible) in armada_drm_overlay_plane_atomic_update() 99 val = armada_src_hw(new_state); in armada_drm_overlay_plane_atomic_update() 102 val = armada_dst_yx(new_state); in armada_drm_overlay_plane_atomic_update() 105 val = armada_dst_hw(new_state); in armada_drm_overlay_plane_atomic_update() [all …]
|
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 242 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 246 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 251 success = new_state.cppr > priority && in icp_rm_try_to_deliver() 252 new_state.mfrr > priority && in icp_rm_try_to_deliver() 253 new_state.pending_pri > priority; in icp_rm_try_to_deliver() 260 *reject = new_state.xisr; in icp_rm_try_to_deliver() 261 new_state.xisr = irq; in icp_rm_try_to_deliver() 262 new_state.pending_pri = priority; in icp_rm_try_to_deliver() 269 new_state.need_resend = true; in icp_rm_try_to_deliver() 272 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() [all …]
|
D | book3s_xics.c | 339 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local 346 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver() 351 success = new_state.cppr > priority && in icp_try_to_deliver() 352 new_state.mfrr > priority && in icp_try_to_deliver() 353 new_state.pending_pri > priority; in icp_try_to_deliver() 360 *reject = new_state.xisr; in icp_try_to_deliver() 361 new_state.xisr = irq; in icp_try_to_deliver() 362 new_state.pending_pri = priority; in icp_try_to_deliver() 369 new_state.need_resend = true; in icp_try_to_deliver() 372 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sf.c | 158 enum iwl_sf_state new_state) in iwl_mvm_sf_config() argument 161 .state = cpu_to_le32(new_state), in iwl_mvm_sf_config() 173 if (new_state != SF_FULL_ON && mvm->sf_state == new_state) in iwl_mvm_sf_config() 176 switch (new_state) { in iwl_mvm_sf_config() 201 new_state); in iwl_mvm_sf_config() 208 mvm->sf_state = new_state; in iwl_mvm_sf_config() 221 enum iwl_sf_state new_state; in iwl_mvm_sf_update() local 250 new_state = SF_INIT_OFF; in iwl_mvm_sf_update() 257 new_state = data.sta_vif_state; in iwl_mvm_sf_update() 263 new_state = SF_UNINIT; in iwl_mvm_sf_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 369 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in ipu_plane_atomic_check() local 375 struct drm_framebuffer *fb = new_state->fb; in ipu_plane_atomic_check() 385 if (WARN_ON(!new_state->crtc)) in ipu_plane_atomic_check() 390 new_state->crtc); in ipu_plane_atomic_check() 394 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in ipu_plane_atomic_check() 408 if (drm_rect_width(&new_state->dst) < 13) in ipu_plane_atomic_check() 418 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check() 429 (drm_rect_width(&new_state->dst) != drm_rect_width(&old_state->dst) || in ipu_plane_atomic_check() 430 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check() 434 eba = drm_plane_state_to_eba(new_state, 0); in ipu_plane_atomic_check() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_mixer.c | 45 struct mdp5_hw_mixer_state *new_state; in mdp5_mixer_assign() local 51 new_state = &global_state->hwmixer; in mdp5_mixer_assign() 63 if (new_state->hwmixer_to_crtc[cur->idx] && in mdp5_mixer_assign() 64 new_state->hwmixer_to_crtc[cur->idx] != crtc) in mdp5_mixer_assign() 78 if (new_state->hwmixer_to_crtc[pair_idx]) in mdp5_mixer_assign() 109 new_state->hwmixer_to_crtc[(*mixer)->idx] = crtc; in mdp5_mixer_assign() 113 new_state->hwmixer_to_crtc[(*r_mixer)->idx] = crtc; in mdp5_mixer_assign() 122 struct mdp5_hw_mixer_state *new_state; in mdp5_mixer_release() local 130 new_state = &global_state->hwmixer; in mdp5_mixer_release() 132 if (WARN_ON(!new_state->hwmixer_to_crtc[mixer->idx])) in mdp5_mixer_release() [all …]
|
D | mdp5_pipe.c | 17 struct mdp5_hw_pipe_state *old_state, *new_state; in mdp5_pipe_assign() local 28 new_state = &new_global_state->hwpipe; in mdp5_pipe_assign() 40 if (new_state->hwpipe_to_plane[cur->idx] || in mdp5_pipe_assign() 111 new_state->hwpipe_to_plane[(*hwpipe)->idx] = plane; in mdp5_pipe_assign() 116 new_state->hwpipe_to_plane[(*r_hwpipe)->idx] = plane; in mdp5_pipe_assign() 127 struct mdp5_hw_pipe_state *new_state; in mdp5_pipe_release() local 136 new_state = &state->hwpipe; in mdp5_pipe_release() 138 if (WARN_ON(!new_state->hwpipe_to_plane[hwpipe->idx])) in mdp5_pipe_release() 142 new_state->hwpipe_to_plane[hwpipe->idx]->name); in mdp5_pipe_release() 149 new_state->hwpipe_to_plane[hwpipe->idx] = NULL; in mdp5_pipe_release()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_vf_mbx.c | 192 enum ice_mbx_snapshot_state *new_state) in ice_mbx_traverse() argument 217 *new_state = ICE_MAL_VF_DETECT_STATE_NEW_SNAPSHOT; in ice_mbx_traverse() 233 enum ice_mbx_snapshot_state *new_state, in ice_mbx_detect_malvf() argument 248 ice_mbx_traverse(hw, new_state); in ice_mbx_detect_malvf() 308 enum ice_mbx_snapshot_state new_state; in ice_mbx_vf_state_handler() local 334 new_state = ICE_MAL_VF_DETECT_STATE_INVALID; in ice_mbx_vf_state_handler() 366 new_state = ICE_MAL_VF_DETECT_STATE_DETECT; in ice_mbx_vf_state_handler() 367 status = ice_mbx_detect_malvf(hw, vf_id, &new_state, is_malvf); in ice_mbx_vf_state_handler() 369 new_state = ICE_MAL_VF_DETECT_STATE_TRAVERSE; in ice_mbx_vf_state_handler() 370 ice_mbx_traverse(hw, &new_state); in ice_mbx_vf_state_handler() [all …]
|
/linux-6.1.9/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 171 static int pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in pmic8xxx_kp_read_matrix() argument 194 rc = pmic8xxx_kp_read_data(kp, new_state, KEYP_RECENT_DATA, in pmic8xxx_kp_read_matrix() 219 static void __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in __pmic8xxx_kp_scan_matrix() argument 225 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix() 235 !(new_state[row] & (1 << col)) ? in __pmic8xxx_kp_scan_matrix() 243 !(new_state[row] & (1 << col))); in __pmic8xxx_kp_scan_matrix() 250 static bool pmic8xxx_detect_ghost_keys(struct pmic8xxx_kp *kp, u16 *new_state) in pmic8xxx_detect_ghost_keys() argument 257 row_state = (~new_state[row]) & in pmic8xxx_detect_ghost_keys() 276 u16 new_state[PM8XXX_MAX_ROWS]; in pmic8xxx_kp_scan_matrix() local 282 rc = pmic8xxx_kp_read_matrix(kp, new_state, NULL); in pmic8xxx_kp_scan_matrix() [all …]
|
D | twl4030_keypad.c | 166 u8 new_state[TWL4030_MAX_ROWS]; in twl4030_read_kp_matrix_state() local 168 int ret = twl4030_kpread(kp, new_state, in twl4030_read_kp_matrix_state() 172 state[row] = twl4030_col_xlate(kp, new_state[row]); in twl4030_read_kp_matrix_state() 197 u16 new_state[TWL4030_MAX_ROWS]; in twl4030_kp_scan() local 201 memset(new_state, 0, sizeof(new_state)); in twl4030_kp_scan() 204 int ret = twl4030_read_kp_matrix_state(kp, new_state); in twl4030_kp_scan() 209 if (twl4030_is_in_ghost_state(kp, new_state)) in twl4030_kp_scan() 215 int changed = new_state[row] ^ kp->kp_state[row]; in twl4030_kp_scan() 228 (new_state[row] & (1 << col)) ? in twl4030_kp_scan() 234 new_state[row] & (1 << col)); in twl4030_kp_scan() [all …]
|
D | pxa27x_keypad.c | 413 uint32_t new_state[MAX_MATRIX_KEY_COLS]; in pxa27x_keypad_scan_matrix() local 418 memset(new_state, 0, sizeof(new_state)); in pxa27x_keypad_scan_matrix() 432 new_state[col] = (1 << row); in pxa27x_keypad_scan_matrix() 442 new_state[0] = kpasmkp0 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 443 new_state[1] = (kpasmkp0 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 444 new_state[2] = kpasmkp1 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 445 new_state[3] = (kpasmkp1 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 446 new_state[4] = kpasmkp2 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 447 new_state[5] = (kpasmkp2 >> 16) & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() 448 new_state[6] = kpasmkp3 & KPASMKP_MKC_MASK; in pxa27x_keypad_scan_matrix() [all …]
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/ |
D | omap_plane.c | 46 struct drm_plane_state *new_state) in omap_plane_prepare_fb() argument 48 if (!new_state->fb) in omap_plane_prepare_fb() 51 drm_gem_plane_helper_prepare_fb(plane, new_state); in omap_plane_prepare_fb() 53 return omap_framebuffer_pin(new_state->fb); in omap_plane_prepare_fb() 67 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update() local 78 new_omap_state = to_omap_plane_state(new_state); in omap_plane_atomic_update() 81 dual_ovl = is_omap_plane_dual_overlay(new_state); in omap_plane_atomic_update() 95 DBG("%s, crtc=%p fb=%p", plane->name, new_state->crtc, in omap_plane_atomic_update() 96 new_state->fb); in omap_plane_atomic_update() 101 info.global_alpha = new_state->alpha >> 8; in omap_plane_atomic_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | g84.c | 102 enum nvkm_therm_thrs_state prev_state, new_state; in g84_therm_threshold_hyst_emulation() local 111 new_state = NVKM_THERM_THRS_HIGHER; in g84_therm_threshold_hyst_emulation() 114 new_state = NVKM_THERM_THRS_LOWER; in g84_therm_threshold_hyst_emulation() 119 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation() 120 new_state = NVKM_THERM_THRS_HIGHER; in g84_therm_threshold_hyst_emulation() 121 else if (new_state == NVKM_THERM_THRS_HIGHER && in g84_therm_threshold_hyst_emulation() 123 new_state = NVKM_THERM_THRS_LOWER; in g84_therm_threshold_hyst_emulation() 124 nvkm_therm_sensor_set_threshold_state(therm, thrs_name, new_state); in g84_therm_threshold_hyst_emulation() 127 if (prev_state < new_state) in g84_therm_threshold_hyst_emulation() 129 else if (prev_state > new_state) in g84_therm_threshold_hyst_emulation()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 96 struct drm_plane_state *new_state) in mdp4_plane_prepare_fb() argument 101 if (!new_state->fb) in mdp4_plane_prepare_fb() 104 drm_gem_plane_helper_prepare_fb(plane, new_state); in mdp4_plane_prepare_fb() 106 return msm_framebuffer_prepare(new_state->fb, kms->aspace, false); in mdp4_plane_prepare_fb() 134 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mdp4_plane_atomic_update() local 139 new_state->crtc, new_state->fb, in mdp4_plane_atomic_update() 140 new_state->crtc_x, new_state->crtc_y, in mdp4_plane_atomic_update() 141 new_state->crtc_w, new_state->crtc_h, in mdp4_plane_atomic_update() 142 new_state->src_x, new_state->src_y, in mdp4_plane_atomic_update() 143 new_state->src_w, new_state->src_h); in mdp4_plane_atomic_update()
|
/linux-6.1.9/include/drm/ |
D | drm_atomic.h | 162 struct drm_plane_state *state, *old_state, *new_state; member 167 struct drm_crtc_state *state, *old_state, *new_state; member 185 struct drm_connector_state *state, *old_state, *new_state; member 345 struct drm_private_state *state, *old_state, *new_state; member 575 return state->crtcs[drm_crtc_index(crtc)].new_state; in drm_atomic_get_new_crtc_state() 623 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state() 686 return state->connectors[index].new_state; in drm_atomic_get_new_connector_state() 763 (new_connector_state) = (__state)->connectors[__i].new_state, 1)) 805 (new_connector_state) = (__state)->connectors[__i].new_state, \ 829 (new_crtc_state) = (__state)->crtcs[__i].new_state, \ [all …]
|
/linux-6.1.9/drivers/gpu/drm/logicvc/ |
D | logicvc_layer.c | 89 struct drm_plane_state *new_state = in logicvc_plane_atomic_check() local 96 if (!new_state->crtc) in logicvc_plane_atomic_check() 99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check() 100 new_state->crtc); in logicvc_plane_atomic_check() 104 if (new_state->crtc_x < 0 || new_state->crtc_y < 0) { in logicvc_plane_atomic_check() 111 ret = logicvc_layer_buffer_find_setup(logicvc, layer, new_state, in logicvc_plane_atomic_check() 126 ret = drm_atomic_helper_check_plane_state(new_state, crtc_state, in logicvc_plane_atomic_check() 143 struct drm_plane_state *new_state = in logicvc_plane_atomic_update() local 147 struct drm_framebuffer *fb = new_state->fb; in logicvc_plane_atomic_update() 155 new_state->crtc_w - 1); in logicvc_plane_atomic_update() [all …]
|
/linux-6.1.9/drivers/platform/x86/dell/ |
D | dell-laptop.c | 1553 struct kbd_state new_state; in kbd_led_timeout_store() local 1646 new_state = state; in kbd_led_timeout_store() 1649 new_state.timeout_value_ac = value; in kbd_led_timeout_store() 1650 new_state.timeout_unit_ac = unit; in kbd_led_timeout_store() 1652 new_state.timeout_value = value; in kbd_led_timeout_store() 1653 new_state.timeout_unit = unit; in kbd_led_timeout_store() 1656 ret = kbd_set_state_safe(&new_state, &state); in kbd_led_timeout_store() 1719 struct kbd_state new_state; in kbd_led_triggers_store() local 1770 new_state = state; in kbd_led_triggers_store() 1772 new_state.triggers |= BIT(trigger_bit); in kbd_led_triggers_store() [all …]
|
/linux-6.1.9/drivers/gpu/drm/vboxvideo/ |
D | vbox_mode.c | 260 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_check() local 264 if (new_state->crtc) { in vbox_primary_atomic_check() 266 new_state->crtc); in vbox_primary_atomic_check() 271 return drm_atomic_helper_check_plane_state(new_state, crtc_state, in vbox_primary_atomic_check() 280 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vbox_primary_atomic_update() local 282 struct drm_crtc *crtc = new_state->crtc; in vbox_primary_atomic_update() 283 struct drm_framebuffer *fb = new_state->fb; in vbox_primary_atomic_update() 289 new_state->src_x >> 16, in vbox_primary_atomic_update() 290 new_state->src_y >> 16); in vbox_primary_atomic_update() 294 clips = drm_plane_get_damage_clips(new_state); in vbox_primary_atomic_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/meson/ |
D | meson_plane.c | 137 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in meson_plane_atomic_update() local 139 struct drm_rect dest = drm_plane_state_dest(new_state); in meson_plane_atomic_update() 141 struct drm_framebuffer *fb = new_state->fb; in meson_plane_atomic_update() 254 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) { in meson_plane_atomic_update() 264 src_w = fixed16_to_int(new_state->src_w); in meson_plane_atomic_update() 265 src_h = fixed16_to_int(new_state->src_h); in meson_plane_atomic_update() 266 dst_w = new_state->crtc_w; in meson_plane_atomic_update() 267 dst_h = new_state->crtc_h; in meson_plane_atomic_update() 276 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) { in meson_plane_atomic_update() 285 if (new_state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) in meson_plane_atomic_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 273 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in dcss_plane_atomic_update() local 277 struct drm_framebuffer *fb = new_state->fb; in dcss_plane_atomic_update() 285 if (!fb || !new_state->crtc || !new_state->visible) in dcss_plane_atomic_update() 288 crtc_state = new_state->crtc->state; in dcss_plane_atomic_update() 292 !dcss_plane_needs_setup(new_state, old_state)) { in dcss_plane_atomic_update() 313 new_state->fb->format, in dcss_plane_atomic_update() 318 new_state->rotation); in dcss_plane_atomic_update() 322 is_rotation_90_or_270 = new_state->rotation & (DRM_MODE_ROTATE_90 | in dcss_plane_atomic_update() 326 new_state->scaling_filter); in dcss_plane_atomic_update() 329 new_state->fb->format, in dcss_plane_atomic_update() [all …]
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | hub.c | 537 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in tegra_shared_plane_atomic_update() local 539 struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state); in tegra_shared_plane_atomic_update() 540 struct tegra_dc *dc = to_tegra_dc(new_state->crtc); in tegra_shared_plane_atomic_update() 541 unsigned int zpos = new_state->normalized_zpos; in tegra_shared_plane_atomic_update() 542 struct drm_framebuffer *fb = new_state->fb; in tegra_shared_plane_atomic_update() 551 if (!new_state->crtc || !new_state->fb) in tegra_shared_plane_atomic_update() 554 if (!new_state->visible) { in tegra_shared_plane_atomic_update() 586 min_width = min(new_state->src_w >> 16, new_state->crtc_w); in tegra_shared_plane_atomic_update() 604 if (new_state->src_w != new_state->crtc_w << 16) { in tegra_shared_plane_atomic_update() 605 fixed20_12 width = dfixed_init(new_state->src_w >> 16); in tegra_shared_plane_atomic_update() [all …]
|
/linux-6.1.9/drivers/pcmcia/ |
D | sa1111_lubbock.c | 94 struct pcmcia_state new_state; in lubbock_pcmcia_configure_socket() local 108 sa1111_pcmcia_socket_state(skt, &new_state); in lubbock_pcmcia_configure_socket() 110 if (!new_state.vs_3v && !new_state.vs_Xv) { in lubbock_pcmcia_configure_socket()
|