/third_party/libunwind/src/arm/ |
D | is_fpreg.c | 31 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.c | 31 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.c | 30 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/ |
D | Gparser.c | 55 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, ®num, arg)) < 0) in run_cfi_program() [all …]
|
/third_party/libunwind/src/x86/ |
D | is_fpreg.c | 29 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/ |
D | mdio.c | 47 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()
|
D | mdio.h | 46 #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/ |
D | phy.h | 169 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 …]
|
D | fsl_mdio.h | 48 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);
|
D | micrel.h | 31 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/ |
D | is_fpreg.c | 31 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/ |
D | fsl_mdio.c | 16 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/ |
D | micrel_ksz90x1.c | 229 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/ |
D | lpddr4.c | 497 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/ |
D | mdio.h | 42 #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/ |
D | is_fpreg.c | 31 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/ |
D | is_fpreg.c | 31 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/ |
D | is_fpreg.c | 28 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/ |
D | is_fpreg.c | 32 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/ |
D | is_fpreg.c | 29 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/ |
D | memac_phy.c | 40 int regnum, u16 value) in memac_mdio_write() argument 48 dev_addr = regnum & 0x1f; in memac_mdio_write() 63 memac_out_32(®s->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(®s->mdio_addr, regnum & 0xffff); in memac_mdio_read()
|
D | tgec_phy.c | 20 int regnum, u16 value) in tgec_mdio_write() argument 40 out_be32(®s->mdio_addr, regnum & 0xffff); in tgec_mdio_write() 62 int regnum) in tgec_mdio_read() argument 82 out_be32(®s->mdio_addr, regnum & 0xffff); in tgec_mdio_read()
|
/third_party/libunwind/tests/ |
D | Gx64-test-dwarf-expressions.c | 15 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/ |
D | opcodes-virt.h | 21 #define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ argument 22 0xE12EF300 | regnum, \ 23 0xF3808E30 | (regnum << 16) \
|
/third_party/libunwind/src/mi/ |
D | Gget_reg.c | 29 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()
|