Home
last modified time | relevance | path

Searched refs:IIC_M_WR (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/sys/dev/iicbus/
H A Diicsmb.c312 { slave, how == SMB_QWRITE ? IIC_M_WR : IIC_M_RD, 0, NULL }, in iicsmb_quick()
332 { slave, IIC_M_WR, 1, &byte }, in iicsmb_sendb()
357 { slave, IIC_M_WR, nitems(bytes), bytes }, in iicsmb_writeb()
370 { slave, IIC_M_WR, nitems(bytes), bytes }, in iicsmb_writew()
382 { slave, IIC_M_WR | IIC_M_NOSTOP, 1, &cmd }, in iicsmb_readb()
396 { slave, IIC_M_WR | IIC_M_NOSTOP, 1, &cmd }, in iicsmb_readw()
413 { slave, IIC_M_WR | IIC_M_NOSTOP, nitems(in), in }, in iicsmb_pcall()
429 { slave, IIC_M_WR | IIC_M_NOSTOP, nitems(bytes), bytes }, in iicsmb_bwrite()
430 { slave, IIC_M_WR | IIC_M_NOSTART, count, buf }, in iicsmb_bwrite()
444 { slave, IIC_M_WR | IIC_M_NOSTO in iicsmb_bread()
[all...]
H A Dacpi_iicbus.c96 { slave, IIC_M_WR, 1, &byte }, in acpi_iicbus_sendb()
123 { slave, IIC_M_WR | IIC_M_NOSTOP, 1, &cmd }, in acpi_iicbus_write()
124 { slave, IIC_M_WR | IIC_M_NOSTART, buflen, buf }, in acpi_iicbus_write()
136 { slave, IIC_M_WR | IIC_M_NOSTOP, 1, &cmd }, in acpi_iicbus_read()
159 { slave, IIC_M_WR | IIC_M_NOSTOP, nitems(bytes), bytes }, in acpi_iicbus_bwrite()
160 { slave, IIC_M_WR | IIC_M_NOSTART, count, buf }, in acpi_iicbus_bwrite()
175 { slave, IIC_M_WR | IIC_M_NOSTOP, 1, &cmd }, in acpi_iicbus_bread()
H A Diichid.c321 {sc->addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(cmd), cmd}, in iichid_cmd_write()
322 {sc->addr, IIC_M_WR | IIC_M_NOSTART, len, __DECONST(void *, buf)}, in iichid_cmd_write()
346 { sc->addr, IIC_M_WR | IIC_M_NOSTOP, 2, (uint8_t *)&cmd }, in iichid_cmd_get_hid_desc()
369 { sc->addr, IIC_M_WR, sizeof(cmd), cmd }, in iichid_set_power()
383 { sc->addr, IIC_M_WR, sizeof(cmd), cmd }, in iichid_reset()
397 { sc->addr, IIC_M_WR | IIC_M_NOSTOP, 2, (uint8_t *)&cmd }, in iichid_cmd_get_report_desc()
440 { sc->addr, IIC_M_WR | IIC_M_NOSTOP, cmdlen, cmd }, in iichid_cmd_get_report()
510 {sc->addr, IIC_M_WR | IIC_M_NOSTOP, cmdlen, cmd}, in iichid_cmd_set_report()
511 {sc->addr, IIC_M_WR | IIC_M_NOSTART, len, __DECONST(void *, buf)}, in iichid_cmd_set_report()
H A Diic.h39 #define IIC_M_WR 0 /* Fake flag for write */ macro
H A Dicee.c223 { 0, IIC_M_WR, 1, addr }, in icee_read()
282 { 0, IIC_M_WR, 0, data }, in icee_write()
H A Diiconf.c534 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in iicdev_readfrom()
582 msg.flags = IIC_M_WR; in iicdev_writeto()
/freebsd/sys/dev/iicbus/pmic/
H A Dact8846.c77 {0, IIC_M_WR, 1, &addr}, in act8846_read()
101 {0, IIC_M_WR, 1, &addr}, in act8846_read_buf()
126 {0, IIC_M_WR, 2, data}, in act8846_write()
148 {0, IIC_M_WR, 1, data}, in act8846_write_buf()
149 {0, IIC_M_WR | IIC_M_NOSTART, size, buf}, in act8846_write_buf()
H A Dfan53555.c124 {0, IIC_M_WR | IIC_M_NOSTOP, 1, &addr}, in fan53555_read()
149 {0, IIC_M_WR, 2, data}, in fan53555_write()
/freebsd/sys/dev/iicbus/adc/
H A Dad7418.c44 #define IIC_M_WR 0 /* write operation */ macro
140 { AD7418_ADDR, IIC_M_WR, 1, &addr }, in ad7418_read_1()
152 { AD7418_ADDR, IIC_M_WR, 2, data }, in ad7418_write_1()
184 { AD7418_ADDR, IIC_M_WR, 1, &addr }, in ad7418_read_2()
H A Dad7417.c131 { addr, IIC_M_WR, 0, buf } in ad7417_write()
158 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in ad7417_read_1()
186 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in ad7417_read_2()
216 { addr, IIC_M_WR, 2, buf }, in ad7417_write_read()
217 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &in->reg }, in ad7417_write_read()
H A Dpcf8591.c89 msg.flags = IIC_M_WR; in pcf8591_set_config()
/freebsd/sys/dev/iicbus/rtc/
H A Dds1672.c46 #define IIC_M_WR 0 /* write operation */ macro
74 { DS1672_ADDR, IIC_M_WR, 1, &addr }, in ds1672_read()
86 { DS1672_ADDR, IIC_M_WR, size + 1, buffer }, in ds1672_write()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_rtc.c105 {0, IIC_M_WR, 1, &addr}, in max77620_rtc_read()
130 {0, IIC_M_WR, 1, &addr}, in max77620_rtc_read_buf()
155 {0, IIC_M_WR, 2, data}, in max77620_rtc_write()
178 {0, IIC_M_WR, 1, data}, in max77620_rtc_write_buf()
179 {0, IIC_M_WR | IIC_M_NOSTART, size, buf}, in max77620_rtc_write_buf()
H A Dmax77620.c81 {0, IIC_M_WR, 1, &addr}, in max77620_read()
105 {0, IIC_M_WR, 1, &addr}, in max77620_read_buf()
130 {0, IIC_M_WR, 2, data}, in max77620_write()
153 {0, IIC_M_WR, 1, data}, in max77620_write_buf()
154 {0, IIC_M_WR | IIC_M_NOSTART, size, buf}, in max77620_write_buf()
/freebsd/sys/arm/nvidia/
H A Das3722.c82 {0, IIC_M_WR, 1, &addr}, in as3722_read()
106 {0, IIC_M_WR, 1, &addr}, in as3722_read_buf()
131 {0, IIC_M_WR, 2, data}, in as3722_write()
153 {0, IIC_M_WR, 1, data}, in as3722_write_buf()
154 {0, IIC_M_WR | IIC_M_NOSTART, size, buf}, in as3722_write_buf()
/freebsd/sys/dev/iicbus/sensor/
H A Dhtu21.c133 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in htu21_get_measurement()
158 msgs[0].flags = IIC_M_WR; in htu21_get_measurement_nohold()
264 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in htu21_get_cfg()
290 msg.flags = IIC_M_WR; in htu21_set_cfg()
360 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in htu21_get_serial()
383 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in htu21_get_serial()
H A Dmax44009.c81 msgs[0].flags = IIC_M_WR | IIC_M_NOSTOP; in max44009_get_reading()
89 msgs[2].flags = IIC_M_WR | IIC_M_NOSTOP; in max44009_get_reading()
H A Dds1631.c122 { addr, IIC_M_WR, 0, buf } in ds1631_write()
149 { addr, IIC_M_WR, 1, &reg }, in ds1631_read_1()
177 { addr, IIC_M_WR, 1, &reg }, in ds1631_read_2()
H A Dmax6690.c113 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &rsl }, in max6690_read()
115 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in max6690_read()
/freebsd/sys/arm/ti/am335x/
H A Dtda19988.c257 { sc->sc_addr, IIC_M_WR, 2, cmd }, in tda19988_set_page()
277 { sc->sc_cec_addr, IIC_M_WR, 1, &addr }, in tda19988_cec_read()
293 { sc->sc_cec_addr, IIC_M_WR, 2, cmd }, in tda19988_cec_write()
311 { sc->sc_addr, IIC_M_WR, 1, &reg }, in tda19988_block_read()
332 { sc->sc_addr, IIC_M_WR, 1, &reg }, in tda19988_reg_read()
353 { sc->sc_addr, IIC_M_WR, 2, cmd }, in tda19988_reg_write()
375 { sc->sc_addr, IIC_M_WR, 3, cmd }, in tda19988_reg_write2()
/freebsd/sys/dev/iicbus/pmic/silergy/
H A Dsy8106a.c86 msg[0].flags = IIC_M_WR; in sy8106a_read()
111 msg.flags = IIC_M_WR; in sy8106a_write()
/freebsd/sys/dev/isl/
H A Disl.c81 { addr, IIC_M_WR | IIC_M_NOSTOP, 1, &reg }, in isl_read_byte()
94 { addr, IIC_M_WR, nitems(bytes), bytes }, in isl_write_byte()
/freebsd/sys/arm/ti/twl/
H A Dtwl.c185 msg[0].flags = IIC_M_WR | IIC_M_NOSTOP; in twl_read()
244 msg.flags = IIC_M_WR; in twl_write()
/freebsd/sys/dev/iicbus/pwm/
H A Dadm1030.c94 {addr, IIC_M_WR, 0, buf} in adm1030_write_byte()
/freebsd/sys/dev/iicbus/mux/
H A Dpca954x.c155 msg.flags = IIC_M_WR; in pca954x_find_chip()

12