/freebsd/sys/dev/iicbus/rtc/ |
H A D | pcf85063.c | 208 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 D | rx8803.c | 167 rc = iicdev_writeto(dev, RX8803_CTRL, ®, sizeof(uint8_t), IIC_WAIT); in rx8803_settime() 172 rc = iicdev_writeto(dev, in rx8803_settime() 181 rc = iicdev_writeto(dev, RX8803_CTRL, ®, sizeof(uint8_t), IIC_WAIT); in rx8803_settime() 191 rc = iicdev_writeto(dev, RX8803_FLAGS, ®, sizeof(uint8_t), IIC_WAIT); in rx8803_settime()
|
H A D | rv3032.c | 183 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 D | ds13rtc.c | 214 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 D | hym8563.c | 104 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 D | isl12xx.c | 160 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 D | ds3231.c | 79 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 D | nxprtc.c | 301 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 D | ltc430x.c | 111 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 D | pca9547.c | 90 return (iicdev_writeto(dev, busbits, NULL, 0, in pca9547_bus_select()
|
/freebsd/sys/dev/dialog/da9063/ |
H A D | da9063_iic.c | 93 error = iicdev_writeto(sc->dev, DA9063_PAGE_CON, ®, 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), ®, 1, in da9063_iic_modify()
|
/freebsd/sys/dev/iicbus/ |
H A D | iiconf.h | 165 int iicdev_writeto(device_t _slavedev, uint8_t _regaddr, void *_buffer,
|
H A D | iiconf.c | 546 int iicdev_writeto(device_t slavedev, uint8_t regaddr, void *buffer, in iicdev_writeto() function
|
/freebsd/sys/dev/iicbus/pmic/rockchip/ |
H A D | rk8xx.c | 67 return (iicdev_writeto(dev, reg, data, size, IIC_INTRWAIT)); in rk8xx_write()
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | tmp461.c | 219 error = iicdev_writeto(dev, reg, (void *) &data, 1, IIC_DONTWAIT); in tmp461_write_1()
|
/freebsd/sys/dev/iicbus/pmic/silergy/ |
H A D | syr827.c | 96 return (iicdev_writeto(dev, reg, &val, 1, IIC_INTRWAIT)); in syr827_write()
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_pmic.c | 83 return (iicdev_writeto(dev, address, data, size, IIC_INTRWAIT)); in am335x_pmic_write()
|
/freebsd/sys/arm/allwinner/ |
H A D | axp209.c | 646 return (iicdev_writeto(dev, reg, &data, sizeof(data), IIC_INTRWAIT)); in axp2xx_write()
|