Home
last modified time | relevance | path

Searched refs:iicbus_transfer (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/dev/iicbus/adc/
H A Dad7418.c143 return iicbus_transfer(dev, msgs, 2) != 0 ? -1 : data[0]; in ad7418_read_1()
156 return iicbus_transfer(dev, msgs, 1); in ad7418_write_1()
188 return iicbus_transfer(dev, msgs, 2) != 0 ? in ad7418_read_2()
H A Dad7417.c140 if (iicbus_transfer(dev, msg, nitems(msg)) == 0) in ad7417_write()
164 err = iicbus_transfer(dev, msg, nitems(msg)); in ad7417_read_1()
192 err = iicbus_transfer(dev, msg, nitems(msg)); in ad7417_read_2()
227 err = iicbus_transfer(dev, msg, nitems(msg)); in ad7417_write_read()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_rtc.c113 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_rtc_read()
138 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_rtc_read_buf()
162 rv = iicbus_transfer(sc->dev, msgs, 1); in max77620_rtc_write()
186 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_rtc_write_buf()
H A Dmax77620.c89 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_read()
113 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_read_buf()
137 rv = iicbus_transfer(sc->dev, msgs, 1); in max77620_write()
161 rv = iicbus_transfer(sc->dev, msgs, 2); in max77620_write_buf()
/freebsd/sys/arm/nvidia/
H A Das3722.c90 rv = iicbus_transfer(sc->dev, msgs, 2); in as3722_read()
114 rv = iicbus_transfer(sc->dev, msgs, 2); in as3722_read_buf()
138 rv = iicbus_transfer(sc->dev, msgs, 1); in as3722_write()
161 rv = iicbus_transfer(sc->dev, msgs, 2); in as3722_write_buf()
/freebsd/sys/dev/iicbus/
H A Dacpi_iicbus.c99 return (iicbus_transfer(dev, msgs, nitems(msgs))); in acpi_iicbus_sendb()
111 error = iicbus_transfer(dev, msgs, nitems(msgs)); in acpi_iicbus_recvb()
127 return (iicbus_transfer(dev, msgs, nitems(msgs))); in acpi_iicbus_write()
145 error = iicbus_transfer(dev, msgs, nitems(msgs)); in acpi_iicbus_read()
166 return (iicbus_transfer(dev, msgs, nitems(msgs))); in acpi_iicbus_bwrite()
187 error = iicbus_transfer(dev, msgs, nitems(msgs)); in acpi_iicbus_bread()
201 error = iicbus_transfer(dev, block_msg, nitems(block_msg)); in acpi_iicbus_bread()
H A Diichid.c281 error = iicbus_transfer(sc->dev, msgs, nitems(msgs)); in iichid_cmd_read()
303 error = iicbus_transfer(sc->dev, msgs, 1); in iichid_cmd_read()
333 return (iicbus_transfer(sc->dev, msgs, nitems(msgs))); in iichid_cmd_write()
353 error = iicbus_transfer(sc->dev, msgs, nitems(msgs)); in iichid_cmd_get_hid_desc()
374 return (iicbus_transfer(sc->dev, msgs, nitems(msgs))); in iichid_set_power()
388 return (iicbus_transfer(sc->dev, msgs, nitems(msgs))); in iichid_reset()
405 error = iicbus_transfer(sc->dev, msgs, nitems(msgs)); in iichid_cmd_get_report_desc()
455 error = iicbus_transfer(sc->dev, msgs, nitems(msgs)); in iichid_cmd_get_report()
517 return (iicbus_transfer(sc->dev, msgs, nitems(msgs))); in iichid_cmd_set_report()
989 error = iic2errno(iicbus_transfer(dev, in iichid_ioctl()
H A Diicbus.c385 DEVMETHOD(iicbus_transfer, iicbus_transfer),
H A Diiconf.h153 int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
/freebsd/sys/arm/ti/am335x/
H A Dtda19988.c263 result = (iicbus_transfer(sc->sc_dev, msg, 1)); in tda19988_set_page()
281 result = iicbus_transfer(sc->sc_dev, msg, 2); in tda19988_cec_read()
299 result = iicbus_transfer(sc->sc_dev, msg, 1); in tda19988_cec_write()
320 result = (iicbus_transfer(sc->sc_dev, msg, 2)); in tda19988_block_read()
341 result = (iicbus_transfer(sc->sc_dev, msg, 2)); in tda19988_reg_read()
362 result = iicbus_transfer(sc->sc_dev, msg, 1); in tda19988_reg_write()
385 result = iicbus_transfer(sc->sc_dev, msg, 1); in tda19988_reg_write2()
/freebsd/sys/dev/iicbus/rtc/
H A Dds1672.c78 return (iicbus_transfer(dev, msgs, 2)); in ds1672_read()
94 return (iicbus_transfer(dev, msgs, 1)); in ds1672_write()
/freebsd/sys/arm/ti/twl/
H A Dtwl.c194 rc = iicbus_transfer(dev, msg, 2); in twl_read()
248 rc = iicbus_transfer(dev, &msg, 1); in twl_write()
281 if (iicbus_transfer(sc->sc_dev, &msg, 1) != 0) in twl_test_present()
/freebsd/sys/dev/iicbus/sensor/
H A Dds1631.c132 if (iicbus_transfer(dev, msg, nitems(msg)) == 0) in ds1631_write()
155 err = iicbus_transfer(dev, msg, nitems(msg)); in ds1631_read_1()
183 err = iicbus_transfer(dev, msg, nitems(msg)); in ds1631_read_2()
H A Dlm75.c137 if (iicbus_transfer(dev, msg, nitems(msg)) != 0) in lm75_read()
150 if (iicbus_transfer(dev, msg, nitems(msg)) != 0) in lm75_write()
H A Dds1775.c101 err = iicbus_transfer(dev, msg, nitems(msg)); in ds1775_read_2()
/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsy8106a.c95 return (iicbus_transfer(dev, msg, 2)); in sy8106a_read()
115 return (iicbus_transfer(dev, &msg, 1)); in sy8106a_write()
/freebsd/sys/dev/isl/
H A Disl.c85 return (iicbus_transfer(dev, msgs, nitems(msgs))); in isl_read_byte()
97 return (iicbus_transfer(dev, msgs, nitems(msgs))); in isl_write_byte()
/freebsd/sys/dev/iicbus/mux/
H A Diicmux.c202 return (iicbus_transfer(sc->busdev, msgs, nmsgs)); in iicmux_transfer()
360 DEVMETHOD(iicbus_transfer, iicmux_transfer),
H A Dpca954x.c158 error = iicbus_transfer(dev, &msg, 1); in pca954x_bus_select()
/freebsd/sys/dev/iicbus/controller/opencores/
H A Diicoc_pci.c127 DEVMETHOD(iicbus_transfer, iicbus_transfer_gen),
H A Diicoc_fdt.c174 DEVMETHOD(iicbus_transfer, iicbus_transfer_gen),
/freebsd/sys/dev/ichiic/
H A Dig4_acpi.c187 DEVMETHOD(iicbus_transfer, ig4iic_transfer),
/freebsd/sys/dev/iicbus/pwm/
H A Dadm1030.c103 if (iicbus_transfer(dev, msg, 1) == 0) in adm1030_write_byte()
/freebsd/sys/powerpc/powernv/
H A Dopal_i2c.c97 DEVMETHOD(iicbus_transfer, opal_i2c_transfer),
/freebsd/sys/dev/drm2/
H A Ddrm_dp_iic_helper.c265 DEVMETHOD(iicbus_transfer, iic_dp_aux_xfer),

123