Home
last modified time | relevance | path

Searched refs:regnum (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/libunwind/src/arm/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return ((regnum >= UNW_ARM_S0 && regnum <= UNW_ARM_S31) in unw_is_fpreg()
34 || (regnum >= UNW_ARM_F0 && regnum <= UNW_ARM_F7) in unw_is_fpreg()
35 || (regnum >= UNW_ARM_wCGR0 && regnum <= UNW_ARM_wCGR7) in unw_is_fpreg()
36 || (regnum >= UNW_ARM_wR0 && regnum <= UNW_ARM_wR15) in unw_is_fpreg()
37 || (regnum >= UNW_ARM_wC0 && regnum <= UNW_ARM_wC7) in unw_is_fpreg()
38 || (regnum >= UNW_ARM_D0 && regnum <= UNW_ARM_D31)); in unw_is_fpreg()
/third_party/libunwind/src/coredump/
D_UCD_access_reg_linux.c31 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument
42 if (regnum < 0) in _UCD_access_reg()
46 if (regnum >= UNW_AARCH64_FPCR) in _UCD_access_reg()
49 if (regnum >= 16) in _UCD_access_reg()
52 if (regnum > UNW_SH_PR) in _UCD_access_reg()
55 if (regnum > UNW_TILEGX_CFA) in _UCD_access_reg()
58 if (regnum > UNW_S390X_R15) in _UCD_access_reg()
61 if (regnum >= ARRAY_SIZE(ui->prstatus->pr_reg)) in _UCD_access_reg()
64 if (regnum == UNW_RISCV_PC) in _UCD_access_reg()
65 regnum = 0; in _UCD_access_reg()
[all …]
D_UCD_access_reg_freebsd.c30 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument
42 switch (regnum) { in _UCD_access_reg()
77 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
81 switch (regnum) { in _UCD_access_reg()
110 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
114 if (regnum >= UNW_ARM_R0 && regnum <= UNW_ARM_R12) { in _UCD_access_reg()
115 *valp = ui->prstatus->pr_reg.r[regnum]; in _UCD_access_reg()
117 switch (regnum) { in _UCD_access_reg()
128 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
133 if (regnum >= UNW_AARCH64_X0 && regnum < UNW_AARCH64_X30) { in _UCD_access_reg()
[all …]
/third_party/libunwind/src/dwarf/
DGparser.c55 set_reg (dwarf_state_record_t *sr, unw_word_t regnum, dwarf_where_t where, in set_reg() argument
58 sr->rs_current.reg.where[regnum] = where; in set_reg()
59 sr->rs_current.reg.val[regnum] = val; in set_reg()
117 unw_word_t operand = 0, regnum, val, len; in run_cfi_program() local
176 regnum = operand; in run_cfi_program()
177 if (regnum >= DWARF_NUM_PRESERVED_REGS) in run_cfi_program()
180 (unsigned int) regnum); in run_cfi_program()
186 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program()
188 (long) regnum, (long) (val * dci->data_align)); in run_cfi_program()
192 if (((ret = read_regnum (as, a, addr, &regnum, arg)) < 0) in run_cfi_program()
[all …]
/third_party/libunwind/src/x86/
Dis_fpreg.c29 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
31 return ((regnum >= UNW_X86_ST0 && regnum <= UNW_X86_ST7) in unw_is_fpreg()
32 || (regnum >= UNW_X86_XMM0_lo && regnum <= UNW_X86_XMM7_hi) in unw_is_fpreg()
33 || (regnum >= UNW_X86_XMM0 && regnum <= UNW_X86_XMM7)); in unw_is_fpreg()
/third_party/uboot/u-boot-2020.01/drivers/net/hisfv300/
Dmdio.c47 int hieth_mdio_read(struct hieth_netdev_local *ld, int phy_addr, unsigned int regnum) in hieth_mdio_read() argument
50 hieth_assert((!((unsigned int)phy_addr & (~0x1F))) && (!(regnum & (~0x1F)))); in hieth_mdio_read()
59 mdio_start_phyread(ld, (unsigned int)phy_addr, regnum); in hieth_mdio_read()
72 (int)regnum, val); in hieth_mdio_read()
77 int hieth_mdio_write(struct hieth_netdev_local *ld, int phy_addr, int regnum, int val) in hieth_mdio_write() argument
79 hieth_assert((!((unsigned int)phy_addr & (~0x1F))) && (!((unsigned int)regnum & (~0x1F)))); in hieth_mdio_write()
81 hieth_trace(HIETH_TRACE_MDIO, "phy_addr = %d, regnum = %d", phy_addr, regnum); in hieth_mdio_write()
91 mdio_phywrite(ld, (unsigned int)phy_addr, (unsigned int)regnum, (unsigned int)val); in hieth_mdio_write()
Dmdio.h46 #define mdio_start_phyread(ld, phy_addr, regnum) \ argument
47 hieth_writel(ld, mdio_mk_rwctl(0, 0, 0, phy_addr, (ld)->mdio_frqdiv, regnum), MDIO_RWCTRL)
51 #define mdio_phywrite(ld, phy_addr, regnum, val) \ argument
52 hieth_writel(ld, mdio_mk_rwctl(val, 0, 1, phy_addr, (ld)->mdio_frqdiv, regnum), MDIO_RWCTRL)
57 int hieth_mdio_read(struct hieth_netdev_local *ld, int phy_addr, unsigned int regnum);
58 int hieth_mdio_write(struct hieth_netdev_local *ld, int phy_addr, int regnum, int val);
/third_party/uboot/u-boot-2020.01/include/
Dphy.h169 static inline int phy_read(struct phy_device *phydev, int devad, int regnum) in phy_read() argument
173 return bus->read(bus, phydev->addr, devad, regnum); in phy_read()
176 static inline int phy_write(struct phy_device *phydev, int devad, int regnum, in phy_write() argument
181 return bus->write(bus, phydev->addr, devad, regnum, val); in phy_write()
185 int regnum) in phy_mmd_start_indirect() argument
191 phy_write(phydev, MDIO_DEVAD_NONE, MII_MMD_DATA, regnum); in phy_mmd_start_indirect()
199 int regnum) in phy_read_mmd() argument
203 if (regnum > (u16)~0 || devad > 32) in phy_read_mmd()
208 return drv->read_mmd(phydev, devad, regnum); in phy_read_mmd()
213 return phy_read(phydev, devad, regnum); in phy_read_mmd()
[all …]
Dfsl_mdio.h48 int dev_addr, int regnum);
49 int tsec_phy_read(struct mii_dev *bus, int addr, int dev_addr, int regnum);
50 int tsec_phy_write(struct mii_dev *bus, int addr, int dev_addr, int regnum,
53 int regnum, u16 value);
55 int regnum);
Dmicrel.h31 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val);
32 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum);
35 int regnum, u16 mode, u16 val);
37 int regnum, u16 mode);
/third_party/libunwind/src/x86_64/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
34 return ((regnum >= UNW_X86_ST0 && regnum <= UNW_X86_ST7) in unw_is_fpreg()
35 || (regnum >= UNW_X86_XMM0_lo && regnum <= UNW_X86_XMM7_hi)); in unw_is_fpreg()
/third_party/uboot/u-boot-2020.01/drivers/net/
Dfsl_mdio.c16 int dev_addr, int regnum, int value) in tsec_local_mdio_write() argument
20 out_be32(&phyregs->miimadd, (port_addr << 8) | (regnum & 0x1f)); in tsec_local_mdio_write()
30 int dev_addr, int regnum) in tsec_local_mdio_read() argument
36 out_be32(&phyregs->miimadd, (port_addr << 8) | (regnum & 0x1f)); in tsec_local_mdio_read()
75 int tsec_phy_read(struct mii_dev *bus, int addr, int dev_addr, int regnum) in tsec_phy_read() argument
80 return tsec_local_mdio_read(phyregs, addr, dev_addr, regnum); in tsec_phy_read()
83 int tsec_phy_write(struct mii_dev *bus, int addr, int dev_addr, int regnum, in tsec_phy_write() argument
89 tsec_local_mdio_write(phyregs, addr, dev_addr, regnum, value); in tsec_phy_write()
/third_party/uboot/u-boot-2020.01/drivers/net/phy/
Dmicrel_ksz90x1.c229 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val) in ksz9021_phy_extended_write() argument
233 MII_KSZ9021_EXTENDED_CTRL, regnum | 0x8000); in ksz9021_phy_extended_write()
238 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum) in ksz9021_phy_extended_read() argument
241 phy_write(phydev, MDIO_DEVAD_NONE, MII_KSZ9021_EXTENDED_CTRL, regnum); in ksz9021_phy_extended_read()
247 int regnum) in ksz9021_phy_extread() argument
249 return ksz9021_phy_extended_read(phydev, regnum); in ksz9021_phy_extread()
253 int devaddr, int regnum, u16 val) in ksz9021_phy_extwrite() argument
255 return ksz9021_phy_extended_write(phydev, regnum, val); in ksz9021_phy_extwrite()
302 int devaddr, int regnum, u16 mode, u16 val) in ksz9031_phy_extended_write() argument
309 MII_KSZ9031_MMD_REG_DATA, regnum); in ksz9031_phy_extended_write()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/ram/k3-j721e/
Dlpddr4.c497 uint32_t regnum; in lpddr4_writectlconfig() local
503 for (regnum = 0; regnum < LPDDR4_CTL_REG_COUNT; regnum++) { in lpddr4_writectlconfig()
505 if (regvalues->updatectlreg[regnum]) { in lpddr4_writectlconfig()
507 lpddr4_writereg(pd, LPDDR4_CTL_REGS, regnum, in lpddr4_writectlconfig()
510 [regnum])); in lpddr4_writectlconfig()
521 uint32_t regnum; in lpddr4_writephyindepconfig() local
527 for (regnum = 0; regnum < LPDDR4_PHY_INDEP_REG_COUNT; regnum++) { in lpddr4_writephyindepconfig()
529 if (regvalues->updatephyindepreg[regnum]) { in lpddr4_writephyindepconfig()
532 regnum, in lpddr4_writephyindepconfig()
535 [regnum])); in lpddr4_writephyindepconfig()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/net/higmacv300/
Dmdio.h42 #define mdio_start_phyread(ld, phy_addr, regnum) \ argument
43 higmac_writel(ld, mdio_mk_rwctl(MDIO_CMD_READ, phy_addr, regnum), \
48 #define mdio_phywrite(ld, phy_addr, regnum) \ argument
49 higmac_writel(ld, mdio_mk_rwctl(MDIO_CMD_WRITE, phy_addr, regnum), \
/third_party/libunwind/src/ppc64/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return (regnum >= UNW_PPC64_F0 && regnum <= UNW_PPC64_F31); in unw_is_fpreg()
/third_party/libunwind/src/ppc32/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return (regnum >= UNW_PPC32_F0 && regnum <= UNW_PPC32_F31); in unw_is_fpreg()
/third_party/libunwind/src/riscv/
Dis_fpreg.c28 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
30 return (regnum >= UNW_RISCV_F0 && regnum <= UNW_RISCV_F31); in unw_is_fpreg()
/third_party/libunwind/src/s390x/
Dis_fpreg.c32 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
35 return regnum >= UNW_S390X_F0 && regnum <= UNW_S390X_F15; in unw_is_fpreg()
/third_party/libunwind/src/aarch64/
Dis_fpreg.c29 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
31 return (regnum >= UNW_AARCH64_V0 && regnum <= UNW_AARCH64_V31); in unw_is_fpreg()
/third_party/uboot/u-boot-2020.01/drivers/net/fm/
Dmemac_phy.c40 int regnum, u16 value) in memac_mdio_write() argument
48 dev_addr = regnum & 0x1f; in memac_mdio_write()
63 memac_out_32(&regs->mdio_addr, regnum & 0xffff); in memac_mdio_write()
85 int regnum) in memac_mdio_read() argument
95 dev_addr = regnum & 0x1f; in memac_mdio_read()
110 memac_out_32(&regs->mdio_addr, regnum & 0xffff); in memac_mdio_read()
Dtgec_phy.c20 int regnum, u16 value) in tgec_mdio_write() argument
40 out_be32(&regs->mdio_addr, regnum & 0xffff); in tgec_mdio_write()
62 int regnum) in tgec_mdio_read() argument
82 out_be32(&regs->mdio_addr, regnum & 0xffff); in tgec_mdio_read()
/third_party/libunwind/tests/
DGx64-test-dwarf-expressions.c15 extern int64_t DW_CFA_expression_testcase(int64_t regnum, int64_t height);
20 extern int64_t recover_register(int64_t regnum, int64_t height) in recover_register() argument
43 if ((rc = unw_get_reg(&cursor, (unw_regnum_t) regnum, &value)) != 0) in recover_register()
44 panic("%s: unw_get_reg failed to retrieve register %lu", __FUNCTION__, regnum); in recover_register()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/
Dopcodes-virt.h21 #define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ argument
22 0xE12EF300 | regnum, \
23 0xF3808E30 | (regnum << 16) \
/third_party/libunwind/src/mi/
DGget_reg.c29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) in unw_get_reg() argument
34 if (regnum == UNW_REG_IP) in unw_get_reg()
40 return tdep_access_reg (c, regnum, valp, 0); in unw_get_reg()

1234