Home
last modified time | relevance | path

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

123

/external/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()
/external/libunwind/src/coredump/
D_UCD_access_reg_linux.c31 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument
43 if (regnum < 0 || regnum >= UNW_AARCH64_FPCR) in _UCD_access_reg()
46 if (regnum < 0 || regnum >= 16) in _UCD_access_reg()
49 if (regnum < 0 || regnum > UNW_SH_PR) in _UCD_access_reg()
120 if (regnum < 0 || regnum >= (unw_regnum_t)ARRAY_SIZE(remap_regs)) in _UCD_access_reg()
123 regnum = remap_regs[regnum]; in _UCD_access_reg()
129 Debug(1, "pr_reg[%d]:%ld (0x%lx)\n", regnum, in _UCD_access_reg()
130 (long)ui->prstatus->pr_reg[regnum], in _UCD_access_reg()
131 (long)ui->prstatus->pr_reg[regnum] in _UCD_access_reg()
133 *valp = ui->prstatus->pr_reg[regnum]; 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()
/external/libunwind/src/dwarf/
DGparser.c51 set_reg (dwarf_state_record_t *sr, unw_word_t regnum, dwarf_where_t where, in set_reg() argument
54 sr->rs_current.reg[regnum].where = where; in set_reg()
55 sr->rs_current.reg[regnum].val = val; in set_reg()
64 unw_word_t curr_ip, operand = 0, regnum, val, len, fde_encoding; in run_cfi_program() local
144 regnum = operand; in run_cfi_program()
145 if (regnum >= DWARF_NUM_PRESERVED_REGS) in run_cfi_program()
148 (unsigned int) regnum); in run_cfi_program()
154 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program()
156 (long) regnum, (long) (val * dci->data_align)); in run_cfi_program()
160 if (((ret = read_regnum (as, a, addr, &regnum, arg)) < 0) in run_cfi_program()
[all …]
/external/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()
/external/u-boot/drivers/net/phy/
Dmicrel_ksz90x1.c216 int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val) in ksz9021_phy_extended_write() argument
220 MII_KSZ9021_EXTENDED_CTRL, regnum | 0x8000); in ksz9021_phy_extended_write()
225 int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum) in ksz9021_phy_extended_read() argument
228 phy_write(phydev, MDIO_DEVAD_NONE, MII_KSZ9021_EXTENDED_CTRL, regnum); in ksz9021_phy_extended_read()
234 int regnum) in ksz9021_phy_extread() argument
236 return ksz9021_phy_extended_read(phydev, regnum); in ksz9021_phy_extread()
240 int devaddr, int regnum, u16 val) in ksz9021_phy_extwrite() argument
242 return ksz9021_phy_extended_write(phydev, regnum, val); in ksz9021_phy_extwrite()
289 int devaddr, int regnum, u16 mode, u16 val) in ksz9031_phy_extended_write() argument
296 MII_KSZ9031_MMD_REG_DATA, regnum); in ksz9031_phy_extended_write()
[all …]
/external/u-boot/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()
/external/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()
/external/u-boot/include/
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);
/external/u-boot/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()
/external/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()
/external/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()
/external/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()
/external/u-boot/arch/arm/include/asm/
Dopcodes-virt.h21 #define __MSR_ELR_HYP(regnum) __inst_arm_thumb32( \ argument
22 0xE12EF300 | regnum, \
23 0xF3808E30 | (regnum << 16) \
/external/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()
DGset_reg.c29 unw_set_reg (unw_cursor_t *cursor, int regnum, unw_word_t valp) in unw_set_reg() argument
33 return tdep_access_reg (c, regnum, &valp, 1); in unw_set_reg()
DGget_fpreg.c29 unw_get_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t *valp) in unw_get_fpreg() argument
33 return tdep_access_fpreg (c, regnum, valp, 0); in unw_get_fpreg()
DGset_fpreg.c29 unw_set_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t val) in unw_set_fpreg() argument
33 return tdep_access_fpreg (c, regnum, &val, 1); in unw_set_fpreg()
/external/u-boot/drivers/qe/
Duec_phy.c120 u16 uec_phy_read(struct uec_mii_info *mii_info, u16 regnum);
121 void uec_phy_write(struct uec_mii_info *mii_info, u16 regnum, u16 val);
126 void uec_write_phy_reg (struct eth_device *dev, int mii_id, int regnum, int value) in uec_write_phy_reg() argument
130 enet_tbi_mii_reg_e mii_reg = (enet_tbi_mii_reg_e) regnum; in uec_write_phy_reg()
140 (void)bb_miiphy_write(NULL, mii_id, regnum, value); in uec_write_phy_reg()
165 int uec_read_phy_reg (struct eth_device *dev, int mii_id, int regnum) in uec_read_phy_reg() argument
169 enet_tbi_mii_reg_e mii_reg = (enet_tbi_mii_reg_e) regnum; in uec_read_phy_reg()
180 (void)bb_miiphy_read(NULL, mii_id, regnum, &value); in uec_read_phy_reg()
805 u16 uec_phy_read(struct uec_mii_info *mii_info, u16 regnum) in uec_phy_read() argument
807 return mii_info->mdio_read (mii_info->dev, mii_info->mii_id, regnum); in uec_phy_read()
[all …]
/external/u-boot/board/freescale/ls1021aqds/
Deth.c69 int regnum) in ls1021a_mdio_read() argument
75 return priv->realbus->read(priv->realbus, addr, devad, regnum); in ls1021a_mdio_read()
79 int regnum, u16 value) in ls1021a_mdio_write() argument
85 return priv->realbus->write(priv->realbus, addr, devad, regnum, value); in ls1021a_mdio_write()
/external/u-boot/board/gdsys/common/
Dihs_mdio.c114 int regnum) in ihs_mdio_read() argument
122 ((addr & 0x1f) << 5) | (regnum & 0x1f) | (2 << 10)); in ihs_mdio_read()
133 int regnum, u16 value) in ihs_mdio_write() argument
140 write_control(info, ((addr & 0x1f) << 5) | (regnum & 0x1f) | (1 << 10)); in ihs_mdio_write()
/external/libunwind/doc/
Dunw_regname.tex15 \Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
20 register \Var{regnum}. If \Var{regnum} is an invalid or otherwise
/external/u-boot/board/freescale/ls1012aqds/
Deth.c64 int regnum) in ls1012aqds_mdio_read() argument
70 return priv->realbus->read(priv->realbus, addr, devad, regnum); in ls1012aqds_mdio_read()
74 int regnum, u16 value) in ls1012aqds_mdio_write() argument
80 return priv->realbus->write(priv->realbus, addr, devad, regnum, value); in ls1012aqds_mdio_write()

123