Home
last modified time | relevance | path

Searched refs:mpy (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dahci_da850.c29 void __iomem *ahci_base, u32 mpy) in da850_sata_init() argument
38 val = SATA_PHY_MPY(mpy) | SATA_PHY_LOS(1) | SATA_PHY_RXCDR(4) | in da850_sata_init()
166 u32 mpy; in ahci_da850_probe() local
195 mpy = ahci_da850_calculate_mpy(clk_get_rate(hpriv->clks[1].clk)); in ahci_da850_probe()
196 if (mpy == 0) { in ahci_da850_probe()
197 dev_err(dev, "invalid REFCLK multiplier value: 0x%x", mpy); in ahci_da850_probe()
217 da850_sata_init(dev, pwrdn_reg, hpriv->mmio, mpy); in ahci_da850_probe()
H A Dahci_dm816.c64 int mpy; in ahci_dm816_phy_init() local
83 mpy = ahci_dm816_get_mpy_bits(refclk_rate); in ahci_dm816_phy_init()
84 if (mpy < 0) { in ahci_dm816_phy_init()
90 val = AHCI_DM816_PHY_MPY(mpy) | AHCI_DM816_PHY_LOS(1) | in ahci_dm816_phy_init()
/openbmc/qemu/target/hexagon/imported/
H A Dmpy.idef36 STD_SP_MODES(mpy_acc, "Rx32+=mpy", ,RxV,RxV+ ,fMPY16SS, ,fPASS,fPASS)
37 STD_SP_MODES(mpy_nac, "Rx32-=mpy", ,RxV,RxV- ,fMPY16SS, ,fPASS,fPASS)
38 STD_SP_MODES(mpy_acc_sat,"Rx32+=mpy", ,RxV,RxV+ ,fMPY16SS,":sat" ,fSAT, fPASS)
39 STD_SP_MODES(mpy_nac_sat,"Rx32-=mpy", ,RxV,RxV- ,fMPY16SS,":sat" ,fSAT, fPASS)
40 STD_SP_MODES(mpy, "Rd32=mpy", ,RdV, ,fMPY16SS, ,fPASS,fPASS)
41 STD_SP_MODES(mpy_sat, "Rd32=mpy", ,RdV, ,fMPY16SS,":sat" ,fSAT, fPASS)
42 STD_SP_MODES(mpy_rnd, "Rd32=mpy", ,RdV, ,fMPY16SS,":rnd" ,fPASS,fROUND)
43 STD_SP_MODES(mpy_sat_rnd,"Rd32=mpy", ,RdV, ,fMPY16SS,":rnd:sat",fSAT, fROUND)
44 STD_SP_MODES(mpyd_acc, "Rxx32+=mpy",,RxxV,RxxV+ ,fMPY16SS, ,fPASS,fPASS)
45 STD_SP_MODES(mpyd_nac, "Rxx32-=mpy",,RxxV,RxxV- ,fMPY16SS, ,fPASS,fPASS)
[all …]
H A Dallidefs.def25 #include "mpy.idef"
H A Dalu.idef78 /* These insns and the SP mpy are the ones */
/openbmc/linux/arch/arc/kernel/
H A Dsetup.c161 struct bcr_mpy mpy; in arcv2_mumbojumbo() local
207 READ_BCR(ARC_REG_MPY_BCR, mpy); in arcv2_mumbojumbo()
209 if (mpy.dsp) /* OPT 7-9 */ in arcv2_mumbojumbo()
210 mpy_opt = mpy.dsp + 6; in arcv2_mumbojumbo()
220 IS_AVAIL1(mpy.ver, mpy_nm), in arcv2_mumbojumbo()
281 present = fpu.sp | fpu.dp | mpy.dsp; /* DSP and/or FPU */ in arcv2_mumbojumbo()
/openbmc/qemu/target/hexagon/idef-parser/
H A Dparser-helpers.c1870 HexValue gen_rvalue_mpy(Context *c, YYLTYPE *locp, HexMpy *mpy, in gen_rvalue_mpy() argument
1876 assert_signedness(c, locp, mpy->first_signedness); in gen_rvalue_mpy()
1877 assert_signedness(c, locp, mpy->second_signedness); in gen_rvalue_mpy()
1879 *op1 = gen_cast_op(c, locp, op1, mpy->first_bit_width * 2, in gen_rvalue_mpy()
1880 mpy->first_signedness); in gen_rvalue_mpy()
1882 if (mpy->first_bit_width == 32) { in gen_rvalue_mpy()
1883 *op2 = gen_cast_op(c, locp, op2, 64, mpy->second_signedness); in gen_rvalue_mpy()
1885 *op2 = gen_cast_op(c, locp, op2, mpy->second_bit_width * 2, in gen_rvalue_mpy()
1886 mpy->second_signedness); in gen_rvalue_mpy()
1890 if (mpy->first_bit_width == 16 && mpy->second_bit_width == 16) { in gen_rvalue_mpy()
[all …]
H A Didef-parser.y42 HexMpy mpy; member
62 %token <mpy> MPY
H A Dparser-helpers.h318 HexValue gen_rvalue_mpy(Context *c, YYLTYPE *locp, HexMpy *mpy, HexValue *op1,
/openbmc/qemu/target/xtensa/core-dsp3400/
H A Dxtensa-modules.c.inc76928 { "mpy", ICLASS_iclass_MPY,
/openbmc/linux/
H A Dopengrok1.0.log[all...]