Home
last modified time | relevance | path

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

12

/openbmc/qemu/target/s390x/tcg/
H A Dfpu_helper.c345 int old_mode = s390_swap_bfp_rounding_mode(env, round_from_m34(m34)); in HELPER() local
348 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
372 int old_mode = s390_swap_bfp_rounding_mode(env, round_from_m34(m34)); in HELPER() local
375 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
383 int old_mode = s390_swap_bfp_rounding_mode(env, round_from_m34(m34)); in HELPER() local
386 s390_restore_bfp_rounding_mode(env, old_mode); in HELPER()
454 void s390_restore_bfp_rounding_mode(CPUS390XState *env, int old_mode) in s390_restore_bfp_rounding_mode() argument
456 set_float_rounding_mode(old_mode, &env->fpu_status); in s390_restore_bfp_rounding_mode()
462 int old_mode = s390_swap_bfp_rounding_mode(env, round_from_m34(m34)); in HELPER() local
465 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
145 old_mode = s390_swap_bfp_rounding_mode(env, erm); in vop64_2()
155 s390_restore_bfp_rounding_mode(env, old_mode); in vop64_2()
168 int old_mode; in vop128_2() local
170 old_mode = s390_swap_bfp_rounding_mode(env, erm); in vop128_2()
173 s390_restore_bfp_rounding_mode(env, old_mode); in vop128_2()
576 int i, old_mode; in HELPER() local
[all …]
/openbmc/qemu/target/loongarch/tcg/
H A Dfpu_helper.c320 FloatRoundMode old_mode = get_float_rounding_mode(status); in helper_flogb_s() local
325 set_float_rounding_mode(old_mode, status); in helper_flogb_s()
334 FloatRoundMode old_mode = get_float_rounding_mode(status); in helper_flogb_d() local
339 set_float_rounding_mode(old_mode, status); in helper_flogb_d()
539 FloatRoundMode old_mode = get_float_rounding_mode(&env->fp_status); in helper_ftintrm_l_d() local
543 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_d()
557 FloatRoundMode old_mode = get_float_rounding_mode(&env->fp_status); in helper_ftintrm_l_s() local
561 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_s()
575 FloatRoundMode old_mode = get_float_rounding_mode(&env->fp_status); in helper_ftintrm_w_d() local
579 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_w_d()
[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()
353 new_mode = update_ep_mode(port, mode, old_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
[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/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/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/drivers/md/
H A Ddm-thin.c2549 enum pool_mode old_mode = get_pool_mode(pool); in set_pool_mode() local
2559 if (old_mode != new_mode) in set_pool_mode()
2560 new_mode = old_mode; in set_pool_mode()
2569 if (old_mode == PM_FAIL) in set_pool_mode()
2570 new_mode = old_mode; in set_pool_mode()
2619 if (old_mode == PM_OUT_OF_DATA_SPACE) in set_pool_mode()
2639 if (old_mode != new_mode) in set_pool_mode()
2873 enum pool_mode old_mode = get_pool_mode(pool); in bind_control_target() local
2881 pt->adjusted_pf.mode = old_mode; in bind_control_target()
H A Ddm-cache-target.c877 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode() local
888 if (old_mode != new_mode) in set_cache_mode()
889 new_mode = old_mode; in set_cache_mode()
895 if (old_mode == CM_FAIL) in set_cache_mode()
911 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/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/qemu/target/s390x/
H A Ds390x-internal.h302 void s390_restore_bfp_rounding_mode(CPUS390XState *env, int old_mode);
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c1504 unsigned old_mode = get_field(old_ddtp, RISCV_IOMMU_DDTP_MODE); in riscv_iommu_process_ddtp() local
1512 if (new_mode == old_mode || in riscv_iommu_process_ddtp()
1519 ok = old_mode == RISCV_IOMMU_DDTP_MODE_OFF || in riscv_iommu_process_ddtp()
1520 old_mode == RISCV_IOMMU_DDTP_MODE_BARE; in riscv_iommu_process_ddtp()

12