| /linux/arch/parisc/math-emu/ |
| A D | denormal.c | 44 sgl_denormalize(unsigned int *sgl_opnd, boolean *inexactflag, int rmode) in sgl_denormalize() argument 56 switch (rmode) { in sgl_denormalize() 85 int rmode) in dbl_denormalize() argument 98 switch (rmode) { in dbl_denormalize()
|
| A D | float.h | 489 #define Is_rounding_mode(rmode) \ 490 (Roundingmode(Fpustatus_register) == rmode)
|
| /linux/arch/arm/vfp/ |
| A D | vfpdouble.c | 74 u32 rmode; in vfp_double_normaliseround() local 129 rmode = fpscr & FPSCR_RMODE_MASK; in vfp_double_normaliseround() 131 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_double_normaliseround() 135 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_double_normaliseround() 510 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_double_ftoui() local 538 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_double_ftoui() 542 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_double_ftoui() 564 if (rmode == FPSCR_ROUND_PLUSINF && vdm.sign == 0) in vfp_double_ftoui() 589 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_double_ftosi() local 617 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_double_ftosi() [all …]
|
| A D | vfpsingle.c | 75 u32 significand, incr, rmode; in __vfp_single_normaliseround() local 134 rmode = fpscr & FPSCR_RMODE_MASK; in __vfp_single_normaliseround() 136 if (rmode == FPSCR_ROUND_NEAREST) { in __vfp_single_normaliseround() 140 } else if (rmode == FPSCR_ROUND_TOZERO) { in __vfp_single_normaliseround() 551 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_single_ftoui() local 580 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_single_ftoui() 584 } else if (rmode == FPSCR_ROUND_TOZERO) { in vfp_single_ftoui() 606 if (rmode == FPSCR_ROUND_PLUSINF && vsm.sign == 0) in vfp_single_ftoui() 631 int rmode = fpscr & FPSCR_RMODE_MASK; in vfp_single_ftosi() local 663 if (rmode == FPSCR_ROUND_NEAREST) { in vfp_single_ftosi() [all …]
|
| /linux/drivers/regulator/ |
| A D | s5m8767.c | 527 struct sec_opmode_data *rmode; in s5m8767_pmic_dt_parse_pdata() local 552 rmode = devm_kcalloc(&pdev->dev, in s5m8767_pmic_dt_parse_pdata() 553 pdata->num_regulators, sizeof(*rmode), in s5m8767_pmic_dt_parse_pdata() 555 if (!rmode) in s5m8767_pmic_dt_parse_pdata() 559 pdata->opmode = rmode; in s5m8767_pmic_dt_parse_pdata() 591 rmode->id = i; in s5m8767_pmic_dt_parse_pdata() 593 &rmode->mode)) { in s5m8767_pmic_dt_parse_pdata() 598 rmode->mode = S5M8767_OPMODE_NORMAL_MODE; in s5m8767_pmic_dt_parse_pdata() 600 rmode++; in s5m8767_pmic_dt_parse_pdata()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | vmx.c | 1550 if (vmx->rmode.vm86_active) { in vmx_get_rflags() 1579 if (vmx->rmode.vm86_active) { in vmx_set_rflags() 1853 if (vmx->rmode.vm86_active) { in vmx_inject_exception() 3045 vmx->rmode.vm86_active = 0; in enter_pmode() 3122 vmx->rmode.vm86_active = 1; in enter_rmode() 3131 vmx->rmode.save_rflags = flags; in enter_rmode() 3532 *var = vmx->rmode.segs[seg]; in vmx_get_segment() 3610 vmx->rmode.segs[seg] = *var; in __vmx_set_segment() 4885 vmx->rmode.vm86_active = 0; in vmx_vcpu_reset() 4962 if (vmx->rmode.vm86_active) { in vmx_inject_irq() [all …]
|
| A D | vmx.h | 306 } rmode; member
|
| /linux/arch/m68k/fpsp040/ |
| A D | res_func.S | 500 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rmode 515 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rmode 850 fmovel %d0,%fpcr |set up users rmode and X 885 lsrl #4,%d0 |put rmode in lower 2 bits 894 bsrl round |round result to users rmode & prec 909 lsrl #4,%d0 |put rmode in lower 2 bits 935 lsrl #4,%d0 |put rmode in lower 2 bits 1025 fmovel %d0,%fpcr |set up users rmode and X 1060 lsrl #4,%d0 |put rmode in lower 2 bits 1084 lsrl #4,%d0 |put rmode in lower 2 bits [all …]
|
| A D | kernel_ex.S | 319 fmovel %d1,%fpcr |restore user's rmode/prec 338 fmovel %d1,%fpcr |restore user's rmode/prec
|
| A D | bindec.S | 401 bfextu USER_FPCR(%a6){#26:#2},%d1 |get initial rmode bits 673 fmovel #rm_mode,%FPCR |set rmode to RM 687 fmovel #rm_mode,%FPCR |set rmode to RM
|
| A D | sint.S | 150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
|
| A D | do_func.S | 406 fmovel USER_FPCR(%a6),%fpcr |use user's rmode and precision
|
| /linux/arch/x86/boot/compressed/ |
| A D | ident_map_64.c | 110 void initialize_identity_maps(void *rmode) in initialize_identity_maps() argument 162 boot_params_ptr = rmode; in initialize_identity_maps()
|
| A D | misc.c | 405 asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output) in extract_kernel() argument 413 boot_params_ptr = rmode; in extract_kernel()
|
| /linux/arch/m68k/include/asm/ |
| A D | mac_iop.h | 130 __u8 rmode; /* read the mode register */ member
|
| /linux/drivers/soc/qcom/ |
| A D | ocmem.c | 163 enum ocmem_macro_state mstate, enum region_mode rmode) in update_range() argument 172 region->mode = rmode; in update_range()
|
| /linux/drivers/usb/dwc2/ |
| A D | core.c | 146 static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, in dwc2_restore_essential_regs() argument 186 if (rmode) in dwc2_restore_essential_regs() 196 if (!rmode) in dwc2_restore_essential_regs()
|