Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/ethernet/phy/
Dphy_adin2111.c129 int rval; in phy_adin2111_c45_setup_dev_reg() local
131 rval = mdio_write(cfg->mdio, cfg->phy_addr, ADIN1100_MMD_ACCESS_CNTRL, devad); in phy_adin2111_c45_setup_dev_reg()
132 if (rval < 0) { in phy_adin2111_c45_setup_dev_reg()
133 return rval; in phy_adin2111_c45_setup_dev_reg()
135 rval = mdio_write(cfg->mdio, cfg->phy_addr, ADIN1100_MMD_ACCESS, reg); in phy_adin2111_c45_setup_dev_reg()
136 if (rval < 0) { in phy_adin2111_c45_setup_dev_reg()
137 return rval; in phy_adin2111_c45_setup_dev_reg()
147 int rval; in phy_adin2111_c45_read() local
151 rval = phy_adin2111_c45_setup_dev_reg(dev, devad, reg); in phy_adin2111_c45_read()
152 if (rval < 0) { in phy_adin2111_c45_read()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_adin2111.c504 int rval; in eth_adin2111_reg_read() local
507 rval = eth_adin2111_reg_read_oa(dev, reg, val); in eth_adin2111_reg_read()
509 rval = eth_adin2111_reg_read_generic(dev, reg, val); in eth_adin2111_reg_read()
512 return rval; in eth_adin2111_reg_read()
519 int rval; in eth_adin2111_reg_write() local
522 rval = eth_adin2111_reg_write_oa(dev, reg, val); in eth_adin2111_reg_write()
524 rval = eth_adin2111_reg_write_generic(dev, reg, val); in eth_adin2111_reg_write()
527 return rval; in eth_adin2111_reg_write()
/Zephyr-latest/subsys/modbus/
Dmodbus_server.c937 bool rval; in mbs_try_user_fc() local
942 rval = p->cb(iface, &ctx->rx_adu, &ctx->tx_adu, &p->excep_code, in mbs_try_user_fc()
950 return rval; in mbs_try_user_fc()
/Zephyr-latest/lib/os/
Dcbprintf_complete.c749 char rval; in _get_digit() local
754 rval = ((*fr >> 60) & 0xF) + '0'; in _get_digit()
757 rval = '0'; in _get_digit()
760 return rval; in _get_digit()