Home
last modified time | relevance | path

Searched refs:rmode (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/arch/parisc/math-emu/
Ddenormal.c44 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()
Dfloat.h489 #define Is_rounding_mode(rmode) \
490 (Roundingmode(Fpustatus_register) == rmode)
/linux-6.1.9/arch/arm/vfp/
Dvfpdouble.c74 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()
137 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vd->sign != 0)) 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()
544 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vdm.sign != 0)) { in vfp_double_ftoui()
564 if (rmode == FPSCR_ROUND_PLUSINF && vdm.sign == 0) in vfp_double_ftoui()
[all …]
Dvfpsingle.c75 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()
142 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vs->sign != 0)) 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()
586 } else if ((rmode == FPSCR_ROUND_PLUSINF) ^ (vsm.sign != 0)) { in vfp_single_ftoui()
606 if (rmode == FPSCR_ROUND_PLUSINF && vsm.sign == 0) in vfp_single_ftoui()
[all …]
/linux-6.1.9/drivers/regulator/
Ds5m8767.c526 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()
561 pdata->opmode = rmode; in s5m8767_pmic_dt_parse_pdata()
594 rmode->id = i; in s5m8767_pmic_dt_parse_pdata()
596 &rmode->mode)) { in s5m8767_pmic_dt_parse_pdata()
601 rmode->mode = S5M8767_OPMODE_NORMAL_MODE; in s5m8767_pmic_dt_parse_pdata()
603 rmode++; in s5m8767_pmic_dt_parse_pdata()
/linux-6.1.9/arch/x86/boot/compressed/
Dpgtable_64.c109 struct paging_config paging_prepare(void *rmode) in paging_prepare() argument
114 boot_params = rmode; in paging_prepare()
Dident_map_64.c110 void initialize_identity_maps(void *rmode) in initialize_identity_maps() argument
162 boot_params = rmode; in initialize_identity_maps()
Dmisc.c350 asmlinkage __visible void *extract_kernel(void *rmode, memptr heap, in extract_kernel() argument
361 boot_params = rmode; in extract_kernel()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c797 if (to_vmx(vcpu)->rmode.vm86_active) in vmx_update_exception_bitmap()
1420 if (vmx->rmode.vm86_active) { in vmx_get_rflags()
1422 save_rflags = vmx->rmode.save_rflags; in vmx_get_rflags()
1444 if (vmx->rmode.vm86_active) { in vmx_set_rflags()
1445 vmx->rmode.save_rflags = rflags; in vmx_set_rflags()
1718 if (vmx->rmode.vm86_active) { in vmx_inject_exception()
2874 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_ES], VCPU_SREG_ES); in enter_pmode()
2875 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_DS], VCPU_SREG_DS); in enter_pmode()
2876 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_FS], VCPU_SREG_FS); in enter_pmode()
2877 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_GS], VCPU_SREG_GS); in enter_pmode()
[all …]
Dvmx.h317 } rmode; member
/linux-6.1.9/arch/m68k/fpsp040/
Dres_func.S497 | Check rmode for rp or rm and set lsb accordingly.
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
918 bsrl round |round result to users rmode & prec
935 lsrl #4,%d0 |put rmode in lower 2 bits
944 bsrl round |round result to users rmode & prec
[all …]
Dkernel_ex.S319 fmovel %d1,%fpcr |restore user's rmode/prec
338 fmovel %d1,%fpcr |restore user's rmode/prec
Dbindec.S401 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
Dsint.S150 | rounding modes. L_SCR1 contains the rmode in the lower byte.
Ddo_func.S406 fmovel USER_FPCR(%a6),%fpcr |use user's rmode and precision
/linux-6.1.9/arch/m68k/include/asm/
Dmac_iop.h130 __u8 rmode; /* read the mode register */ member
/linux-6.1.9/drivers/soc/qcom/
Docmem.c165 enum ocmem_macro_state mstate, enum region_mode rmode) in update_range() argument
174 region->mode = rmode; in update_range()
/linux-6.1.9/drivers/usb/dwc2/
Dcore.c146 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()
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c555 __le16 rmode; /* receive mode */ member
3848 ai->config.rmode |= RXMODE_NORMALIZED_RSSI; in airo_readconfig()
4815 return (le16_to_cpu(ai->config.rmode) & le16_to_cpu(RXMODE_MASK)) >= in sniffing_mode()
4838 ai->config.rmode &= ~RXMODE_FULL_MASK; in proc_config_on_close()
4847 ai->config.rmode |= RXMODE_RFMON | RXMODE_DISABLE_802_3_HEADER; in proc_config_on_close()
4851 ai->config.rmode |= RXMODE_RFMON_ANYBSS | RXMODE_DISABLE_802_3_HEADER; in proc_config_on_close()
4855 ai->config.rmode |= RXMODE_LANMON; in proc_config_on_close()
5065 mode == MODE_STA_ESS ? get_rmode(ai->config.rmode): in proc_config_open()
6267 local->config.rmode &= ~RXMODE_FULL_MASK; in airo_set_mode()
6274 local->config.rmode &= ~RXMODE_FULL_MASK; in airo_set_mode()
[all …]