Home
last modified time | relevance | path

Searched refs:iicdev_readfrom (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/iicbus/rtc/
H A Dpcf85063.c89 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 Drv3032.c179 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 Drx8803.c92 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, &reg, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
186 rc = iicdev_readfrom(dev, RX8803_FLAGS, &reg, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
H A Dds13rtc.c207 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 Dhym8563.c96 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 Disl12xx.c153 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 Drtc8583.c118 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 Dds3231.c72 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 Dda9063_iic.c84 error = iicdev_readfrom(sc->dev, DA9063_PAGE_CON, &reg, 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), &reg, 1, in da9063_iic_modify()
214 error = iicdev_readfrom(dev, DA9063_PAGE_CON, &reg, 1, IIC_WAIT); in da9063_iic_attach()
/freebsd/sys/dev/iicbus/
H A Diiconf.h163 int iicdev_readfrom(device_t _slavedev, uint8_t _regaddr, void *_buffer,
H A Diiconf.c521 iicdev_readfrom(device_t slavedev, uint8_t regaddr, void *buffer, in iicdev_readfrom() function
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx.c59 err = iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT); in rk8xx_read()
/freebsd/sys/dev/iicbus/sensor/
H A Dtmp461.c207 error = iicdev_readfrom(dev, reg, (void *) data, 1, IIC_DONTWAIT); in tmp461_read_1()
/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsyr827.c90 return (iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT)); in syr827_read()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_pmic.c77 return (iicdev_readfrom(dev, addr, data, size, IIC_INTRWAIT)); in am335x_pmic_read()
/freebsd/sys/dev/iicbus/adc/
H A Dads111x.c193 err = iic2errno(iicdev_readfrom(sc->dev, reg, data, 2, IIC_WAIT)); in ads111x_read_2()
/freebsd/sys/arm/allwinner/
H A Daxp209.c639 return (iicdev_readfrom(dev, reg, data, size, IIC_INTRWAIT)); in axp2xx_read()