Home
last modified time | relevance | path

Searched refs:old_mode (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/qemu/target/s390x/tcg/
H A Dfpu_helper.c348 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
375 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
386 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
465 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
476 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
487 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
498 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
509 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
520 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
532 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
[all …]
H A Dvec_fpu_helper.c119 int i, old_mode; in vop32_2() local
121 old_mode = s390_swap_bfp_rounding_mode(env, erm); in vop32_2()
131 s390_restore_bfp_rounding_mode(env, old_mode); in vop32_2()
143 int i, old_mode; in vop64_2() local
155 s390_restore_bfp_rounding_mode(env, old_mode); in vop64_2()
168 int old_mode; in vop128_2() local
173 s390_restore_bfp_rounding_mode(env, old_mode); in vop128_2()
576 int i, old_mode; in HELPER() local
591 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
602 int old_mode; in HELPER() local
[all …]
/openbmc/qemu/target/loongarch/tcg/
H A Dfpu_helper.c324 set_float_rounding_mode(old_mode, status); in helper_flogb_s()
338 set_float_rounding_mode(old_mode, status); in helper_flogb_d()
542 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_d()
560 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_s()
578 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_w_d()
596 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_w_s()
614 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrp_l_d()
632 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrp_l_s()
650 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrp_w_d()
668 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrp_w_s()
[all …]
/openbmc/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h84 enum xen_lazy_mode old_mode = this_cpu_read(xen_lazy_mode); in enter_lazy() local
86 if (mode == old_mode) { in enter_lazy()
91 BUG_ON(old_mode != XEN_LAZY_NONE); in enter_lazy()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_cppi41.c346 u32 old_mode; in cppi41_set_dma_mode() local
349 old_mode = controller->tx_mode; in cppi41_set_dma_mode()
351 old_mode = controller->rx_mode; in cppi41_set_dma_mode()
355 if (new_mode == old_mode) in cppi41_set_dma_mode()
374 u32 old_mode; in da8xx_set_dma_mode() local
376 old_mode = controller->tx_mode; in da8xx_set_dma_mode()
382 new_mode = old_mode & ~(3 << shift); in da8xx_set_dma_mode()
385 if (new_mode == old_mode) in da8xx_set_dma_mode()
398 u32 old_mode; in cppi41_set_autoreq_mode() local
400 old_mode = controller->auto_req; in cppi41_set_autoreq_mode()
[all …]
/openbmc/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-crtc.c89 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_enable() local
101 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { in dcss_crtc_atomic_enable()
125 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_disable() local
144 if (!drm_mode_equal(mode, old_mode) || !crtc->state->active) in dcss_crtc_atomic_disable()
/openbmc/linux/fs/ceph/
H A Dacl.c97 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; in ceph_set_acl() local
139 if (new_mode != old_mode) { in ceph_set_acl()
150 if (new_mode != old_mode) { in ceph_set_acl()
152 newattrs.ia_mode = old_mode; in ceph_set_acl()
/openbmc/linux/fs/btrfs/
H A Dacl.c118 umode_t old_mode = inode->i_mode; in btrfs_set_acl() local
128 inode->i_mode = old_mode; in btrfs_set_acl()
/openbmc/linux/drivers/scsi/
H A Dppa.c912 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
915 old_mode = dev->mode; in device_check()
947 if (dev->mode != old_mode) { in device_check()
948 dev->mode = old_mode; in device_check()
970 if (dev->mode != old_mode) { in device_check()
971 dev->mode = old_mode; in device_check()
H A Dimm.c1009 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
1012 old_mode = dev->mode; in device_check()
1042 dev->mode = old_mode; in device_check()
1067 dev->mode = old_mode; in device_check()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c369 enum ef4_phy_mode old_mode, new_mode; in phy_flash_cfg_store() local
373 old_mode = efx->phy_mode; in phy_flash_cfg_store()
375 new_mode = old_mode & ~PHY_MODE_SPECIAL; in phy_flash_cfg_store()
378 if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) { in phy_flash_cfg_store()
/openbmc/linux/sound/soc/codecs/
H A Dtwl4030.c1703 u8 mode, old_mode, format, old_format; in twl4030_hw_params() local
1724 old_mode = twl4030_read(component, in twl4030_hw_params()
1726 mode = old_mode & ~TWL4030_APLL_RATE; in twl4030_hw_params()
1782 if (format != old_format || mode != old_mode) { in twl4030_hw_params()
1976 u8 old_mode, mode; in twl4030_voice_hw_params() local
1982 old_mode = twl4030_read(component, in twl4030_voice_hw_params()
1984 mode = old_mode; in twl4030_voice_hw_params()
1999 if (mode != old_mode) { in twl4030_voice_hw_params()
/openbmc/linux/fs/coda/
H A Ddir.c521 int old_mode; in coda_revalidate_inode() local
538 old_mode = inode->i_mode; in coda_revalidate_inode()
542 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) { in coda_revalidate_inode()
/openbmc/linux/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c279 const struct drm_display_mode *old_mode = &pipe->crtc.state->mode; in imx_lcdc_pipe_check() local
290 old_mode->hdisplay != mode->hdisplay || in imx_lcdc_pipe_check()
291 old_mode->vdisplay != mode->vdisplay; in imx_lcdc_pipe_check()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c324 int old_mode; in ivtv_set_output_mode() local
327 old_mode = itv->output_mode; in ivtv_set_output_mode()
328 if (old_mode == 0) in ivtv_set_output_mode()
329 itv->output_mode = old_mode = mode; in ivtv_set_output_mode()
331 return old_mode; in ivtv_set_output_mode()
/openbmc/linux/drivers/misc/cxl/
H A Dsysfs.c391 int old_mode, mode = -1; in mode_store() local
415 old_mode = afu->current_mode; in mode_store()
421 if ((rc = cxl_ops->afu_deactivate_mode(afu, old_mode))) in mode_store()
/openbmc/linux/drivers/input/mouse/
H A Dhgpk.c817 enum hgpk_mode old_mode = priv->mode; in attr_set_mode() local
826 if (old_mode == new_mode) in attr_set_mode()
856 priv->mode = old_mode; in attr_set_mode()
/openbmc/linux/fs/gfs2/
H A Dinode.c1655 umode_t old_mode = oip->i_inode.i_mode; in gfs2_exchange() local
1670 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1719 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1735 error = update_moved_ino(oip, ndip, S_ISDIR(old_mode)); in gfs2_exchange()
1744 IF2DT(old_mode)); in gfs2_exchange()
1754 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1757 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()
/openbmc/linux/drivers/md/
H A Ddm-thin.c2548 enum pool_mode old_mode = get_pool_mode(pool); in set_pool_mode() local
2558 if (old_mode != new_mode) in set_pool_mode()
2559 new_mode = old_mode; in set_pool_mode()
2568 if (old_mode == PM_FAIL) in set_pool_mode()
2569 new_mode = old_mode; in set_pool_mode()
2618 if (old_mode == PM_OUT_OF_DATA_SPACE) in set_pool_mode()
2638 if (old_mode != new_mode) in set_pool_mode()
2872 enum pool_mode old_mode = get_pool_mode(pool); in bind_control_target() local
2880 pt->adjusted_pf.mode = old_mode; in bind_control_target()
H A Ddm-cache-target.c876 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode() local
887 if (old_mode != new_mode) in set_cache_mode()
888 new_mode = old_mode; in set_cache_mode()
894 if (old_mode == CM_FAIL) in set_cache_mode()
910 if (new_mode != old_mode) in set_cache_mode()
H A Ddm-clone-target.c170 enum clone_metadata_mode old_mode = get_clone_mode(clone); in __set_clone_mode() local
173 if (old_mode == CM_FAIL) in __set_clone_mode()
189 if (new_mode != old_mode) { in __set_clone_mode()
H A Ddm-bufio.c734 static void __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, in __cache_mark_many() argument
742 le = lru_evict(&bc->lru[old_mode], __evict_pred, &w, bc->no_sleep); in __cache_mark_many()
752 static void cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, in cache_mark_many() argument
758 __cache_mark_many(bc, old_mode, new_mode, pred, context, &lh); in cache_mark_many()
/openbmc/qemu/target/s390x/
H A Ds390x-internal.h302 void s390_restore_bfp_rounding_mode(CPUS390XState *env, int old_mode);
/openbmc/linux/net/sched/
H A Dsch_htb.c702 enum htb_cmode old_mode; in htb_charge_class() local
718 old_mode = cl->cmode; in htb_charge_class()
721 if (old_mode != cl->cmode) { in htb_charge_class()
722 if (old_mode != HTB_CAN_SEND) in htb_charge_class()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c9256 const struct drm_display_mode *old_mode, *new_mode; in is_timing_unchanged_for_freesync() local
9261 old_mode = &old_crtc_state->mode; in is_timing_unchanged_for_freesync()
9264 if (old_mode->clock == new_mode->clock && in is_timing_unchanged_for_freesync()
9265 old_mode->hdisplay == new_mode->hdisplay && in is_timing_unchanged_for_freesync()
9266 old_mode->vdisplay == new_mode->vdisplay && in is_timing_unchanged_for_freesync()
9267 old_mode->htotal == new_mode->htotal && in is_timing_unchanged_for_freesync()
9268 old_mode->vtotal != new_mode->vtotal && in is_timing_unchanged_for_freesync()
9271 old_mode->hsync_end == new_mode->hsync_end && in is_timing_unchanged_for_freesync()
9273 old_mode->hskew == new_mode->hskew && in is_timing_unchanged_for_freesync()
9274 old_mode->vscan == new_mode->vscan && in is_timing_unchanged_for_freesync()
[all …]

12