Searched refs:rval (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/wsen/wsen_itds/ |
D | itds.c | 152 uint8_t rval; in itds_fetch_temperature() local 157 ITDS_REG_STATUS_DETECT, &rval); in itds_fetch_temperature() 162 if (!(rval & ITDS_EVENT_DRDY_T)) { in itds_fetch_temperature() 181 uint8_t rval; in itds_fetch_accel() local 184 ITDS_REG_STATUS, &rval); in itds_fetch_accel() 189 if (!(rval & ITDS_EVENT_DRDY)) { in itds_fetch_accel() 320 uint8_t rval; in itds_init() local 328 ITDS_REG_DEV_ID, &rval); in itds_init() 334 if (rval != ITDS_DEVICE_ID) { in itds_init() 335 LOG_ERR("device ID mismatch: %x", rval); in itds_init()
|
/Zephyr-Core-3.7.0/drivers/ethernet/phy/ |
D | phy_adin2111.c | 135 int rval; in phy_adin2111_c45_setup_dev_reg() local 137 rval = mdio_write(cfg->mdio, cfg->phy_addr, ADIN1100_MMD_ACCESS_CNTRL, devad); in phy_adin2111_c45_setup_dev_reg() 138 if (rval < 0) { in phy_adin2111_c45_setup_dev_reg() 139 return rval; in phy_adin2111_c45_setup_dev_reg() 141 rval = mdio_write(cfg->mdio, cfg->phy_addr, ADIN1100_MMD_ACCESS, reg); in phy_adin2111_c45_setup_dev_reg() 142 if (rval < 0) { in phy_adin2111_c45_setup_dev_reg() 143 return rval; in phy_adin2111_c45_setup_dev_reg() 153 int rval; in phy_adin2111_c45_read() local 157 rval = phy_adin2111_c45_setup_dev_reg(dev, devad, reg); in phy_adin2111_c45_read() 158 if (rval < 0) { in phy_adin2111_c45_read() [all …]
|
/Zephyr-Core-3.7.0/drivers/ethernet/ |
D | eth_adin2111.c | 504 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-Core-3.7.0/subsys/modbus/ |
D | modbus_server.c | 938 bool rval; in mbs_try_user_fc() local 943 rval = p->cb(iface, &ctx->rx_adu, &ctx->tx_adu, &p->excep_code, in mbs_try_user_fc() 951 return rval; in mbs_try_user_fc()
|
/Zephyr-Core-3.7.0/lib/os/ |
D | cbprintf_complete.c | 749 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()
|