/freebsd/sys/dev/iicbus/rtc/ |
H A D | pcf85063.c | 89 error = iicdev_readfrom(dev, PCF85063_TIME_REG, &flags, 1, IIC_WAIT); in pcf85063_check_status() 134 error = iicdev_readfrom(dev, PCF85063_CTRL1_REG, &control_reg, in pcf85063_get_time() 140 error = iicdev_readfrom(dev, PCF85063_TIME_REG, &data, in pcf85063_get_time() 180 error = iicdev_readfrom(dev, PCF85063_TIME_REG, &ctrl_reg, in pcf85063_set_time() 199 error = iicdev_readfrom(dev, PCF85063_CTRL1_REG, &ctrl_reg, in pcf85063_set_time() 227 error = iicdev_readfrom(dev, PCF85063_TIME_REG, &time_reg, in pcf85063_set_time()
|
H A D | rv3032.c | 179 if ((rv = iicdev_readfrom(sc->dev, reg, &data, 1, IIC_WAIT)) != 0) in rv3032_update_register() 195 if ((rv = iicdev_readfrom(sc->dev, RV3032_TEMP_LSB, &data, sizeof(data), IIC_WAIT)) != 0) in rv3032_eeprom_wait() 270 if ((rv = iicdev_readfrom(sc->dev, RV3032_TEMP_LSB, &data, sizeof(data), IIC_WAIT)) != 0) in rv3032_temp_read() 383 if ((rv = iicdev_readfrom(sc->dev, RV3032_STATUS, &status, sizeof(status), IIC_WAIT)) != 0) in rv3032_gettime() 387 if ((rv = iicdev_readfrom(sc->dev, RV3032_SECS, &time_regs, sizeof(time_regs), IIC_WAIT)) != 0) in rv3032_gettime() 411 if ((rv = iicdev_readfrom(sc->dev, RV3032_STATUS, &status, sizeof(status), IIC_WAIT)) != 0) in rv3032_settime()
|
H A D | rx8803.c | 92 rc = iicdev_readfrom(dev, RX8803_FLAGS, &flags, 1, IIC_WAIT); in rx8803_check_status() 115 rc = iicdev_readfrom(dev, in rx8803_gettime() 161 rc = iicdev_readfrom(dev, RX8803_CTRL, ®, sizeof(uint8_t), IIC_WAIT); in rx8803_settime() 186 rc = iicdev_readfrom(dev, RX8803_FLAGS, ®, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
|
H A D | ds13rtc.c | 207 return (iicdev_readfrom(sc->dev, reg, val, sizeof(*val), IIC_WAIT)); in read_reg() 222 if ((err = iicdev_readfrom(sc->dev, sc->secaddr, tregs, in read_timeregs() 243 if ((err = iicdev_readfrom(sc->dev, sc->secaddr, buf, sizeof(buf), in read_timeword()
|
H A D | hym8563.c | 96 return (iicdev_readfrom(sc->dev, reg, buf, buflen, IIC_WAIT)); in hym8563_read_buf() 111 return (iicdev_readfrom(sc->dev, reg, data, 1, IIC_WAIT)); in hym8563_read_1()
|
H A D | isl12xx.c | 153 return (iicdev_readfrom(sc->dev, reg, data, 1, WAITFLAGS)); in isl12xx_read1() 246 err = iicdev_readfrom(sc->dev, ISL12XX_SC_REG, &tregs, in isl12xx_gettime()
|
H A D | rtc8583.c | 118 return (iicdev_readfrom(sc->dev, reg, data, 1, IIC_WAIT)); in rtc8583_read1() 201 if ((err = iicdev_readfrom(sc->dev, RTC8583_SC_REG, &tregs, sizeof(tregs), in rtc8583_gettime()
|
H A D | ds3231.c | 72 return (iicdev_readfrom(dev, reg, data, 1, IIC_INTRWAIT)); in ds3231_read1() 149 error = iicdev_readfrom(sc->sc_dev, DS3231_TEMP, buf8, sizeof(buf8), in ds3231_temp_read() 496 error = iicdev_readfrom(sc->sc_dev, DS3231_SECS, data, sizeof(data), in ds3231_gettime()
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063_iic.c | 84 error = iicdev_readfrom(sc->dev, DA9063_PAGE_CON, ®, 1, IIC_WAIT); in da9063_iic_select_page() 116 error = iicdev_readfrom(dev, DA9063_IIC_PAGE_OFF(addr), val, 1, in da9063_iic_read() 168 error = iicdev_readfrom(dev, DA9063_IIC_PAGE_OFF(addr), ®, 1, in da9063_iic_modify() 214 error = iicdev_readfrom(dev, DA9063_PAGE_CON, ®, 1, IIC_WAIT); in da9063_iic_attach()
|
/freebsd/sys/dev/iicbus/ |
H A D | iiconf.h | 163 int iicdev_readfrom(device_t _slavedev, uint8_t _regaddr, void *_buffer,
|
H A D | iiconf.c | 521 iicdev_readfrom(device_t slavedev, uint8_t regaddr, void *buffer, in iicdev_readfrom() function
|
/freebsd/sys/dev/iicbus/pmic/rockchip/ |
H A D | rk8xx.c | 59 err = iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT); in rk8xx_read()
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | tmp461.c | 207 error = iicdev_readfrom(dev, reg, (void *) data, 1, IIC_DONTWAIT); in tmp461_read_1()
|
/freebsd/sys/dev/iicbus/pmic/silergy/ |
H A D | syr827.c | 90 return (iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT)); in syr827_read()
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_pmic.c | 77 return (iicdev_readfrom(dev, addr, data, size, IIC_INTRWAIT)); in am335x_pmic_read()
|
/freebsd/sys/dev/iicbus/adc/ |
H A D | ads111x.c | 193 err = iic2errno(iicdev_readfrom(sc->dev, reg, data, 2, IIC_WAIT)); in ads111x_read_2()
|
/freebsd/sys/arm/allwinner/ |
H A D | axp209.c | 639 return (iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT)); in axp2xx_read()
|