Home
last modified time | relevance | path

Searched refs:iicdev_writeto (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/iicbus/rtc/
H A Dpcf85063.c208 error = iicdev_writeto(dev, PCF85063_CTRL1_REG, &ctrl_reg, in pcf85063_set_time()
214 error = iicdev_writeto(dev, PCF85063_TIME_REG, &data, in pcf85063_set_time()
221 error = iicdev_writeto(dev, PCF85063_CTRL1_REG, &ctrl_reg, in pcf85063_set_time()
234 error = iicdev_writeto(dev, PCF85063_TIME_REG, &time_reg, in pcf85063_set_time()
H A Drx8803.c167 rc = iicdev_writeto(dev, RX8803_CTRL, &reg, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
172 rc = iicdev_writeto(dev, in rx8803_settime()
181 rc = iicdev_writeto(dev, RX8803_CTRL, &reg, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
191 rc = iicdev_writeto(dev, RX8803_FLAGS, &reg, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
H A Drv3032.c183 if ((rv = iicdev_writeto(sc->dev, reg, &data, 1, IIC_WAIT)) != 0) in rv3032_update_register()
230 if ((rv = iicdev_writeto(sc->dev, RV3032_EEPROM_COMMAND, &data, sizeof(data), IIC_WAIT)) != 0) in rv3032_eeprom_update()
423 if ((rv = iicdev_writeto(sc->dev, RV3032_SECS, &time_regs, sizeof(time_regs), IIC_WAIT)) != 0) in rv3032_settime()
428 if ((rv = iicdev_writeto(sc->dev, RV3032_STATUS, &status, sizeof(status), IIC_WAIT)) != 0) in rv3032_settime()
H A Dds13rtc.c214 return (iicdev_writeto(sc->dev, reg, &val, sizeof(val), IIC_WAIT)); in write_reg()
233 return (iicdev_writeto(sc->dev, sc->secaddr, tregs, in write_timeregs()
256 return (iicdev_writeto(sc->dev, sc->secaddr, buf, sizeof(buf), in write_timeword()
H A Dhym8563.c104 return (iicdev_writeto(sc->dev, reg, buf, buflen, IIC_WAIT)); in hym8563_write_buf()
118 return (iicdev_writeto(sc->dev, reg, &val, 1, IIC_WAIT)); in hym8563_write_1()
H A Disl12xx.c160 return (iicdev_writeto(sc->dev, reg, &val, 1, WAITFLAGS)); in isl12xx_write1()
325 err = iicdev_writeto(sc->dev, ISL12XX_SC_REG, &tregs, in isl12xx_settime()
H A Dds3231.c79 return (iicdev_writeto(dev, reg, &data, 1, IIC_INTRWAIT)); in ds3231_write1()
575 error = iicdev_writeto(dev, DS3231_SECS, data, sizeof(data), in ds3231_settime()
H A Dnxprtc.c301 return (iicdev_writeto(sc->dev, reg, &val, sizeof(val), WAITFLAGS)); in write_reg()
357 return (iicdev_writeto(sc->dev, sc->secaddr, tregs, in write_timeregs()
/freebsd/sys/dev/iicbus/mux/
H A Dltc430x.c111 return (iicdev_writeto(dev, LTC430X_CTLREG_3, &busbits, sizeof(busbits), in ltc430x_bus_select()
200 iicdev_writeto(dev, LTC430X_CTLREG_2, &ctlreg2, sizeof(ctlreg2), in ltc430x_attach()
205 iicdev_writeto(dev, LTC430X_CTLREG_3, &busbits, sizeof(busbits), in ltc430x_attach()
H A Dpca9547.c90 return (iicdev_writeto(dev, busbits, NULL, 0, in pca9547_bus_select()
/freebsd/sys/dev/dialog/da9063/
H A Dda9063_iic.c93 error = iicdev_writeto(sc->dev, DA9063_PAGE_CON, &reg, 1, IIC_WAIT); in da9063_iic_select_page()
141 error = iicdev_writeto(dev, DA9063_IIC_PAGE_OFF(addr), &val, 1, in da9063_iic_write()
178 error = iicdev_writeto(dev, DA9063_IIC_PAGE_OFF(addr), &reg, 1, in da9063_iic_modify()
/freebsd/sys/dev/iicbus/
H A Diiconf.h165 int iicdev_writeto(device_t _slavedev, uint8_t _regaddr, void *_buffer,
H A Diiconf.c546 int iicdev_writeto(device_t slavedev, uint8_t regaddr, void *buffer, in iicdev_writeto() function
/freebsd/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx.c67 return (iicdev_writeto(dev, reg, data, size, IIC_INTRWAIT)); in rk8xx_write()
/freebsd/sys/dev/iicbus/sensor/
H A Dtmp461.c219 error = iicdev_writeto(dev, reg, (void *) &data, 1, IIC_DONTWAIT); in tmp461_write_1()
/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsyr827.c96 return (iicdev_writeto(dev, reg, &val, 1, IIC_INTRWAIT)); in syr827_write()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_pmic.c83 return (iicdev_writeto(dev, address, data, size, IIC_INTRWAIT)); in am335x_pmic_write()
/freebsd/sys/arm/allwinner/
H A Daxp209.c646 return (iicdev_writeto(dev, reg, &data, sizeof(data), IIC_INTRWAIT)); in axp2xx_write()