Home
last modified time | relevance | path

Searched refs:iiccmd (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/iicbus/
H A Diic.h47 struct iiccmd { struct
61 #define I2CSTART _IOW('i', 1, struct iiccmd) /* start condition */ argument
63 #define I2CRSTCARD _IOW('i', 3, struct iiccmd) /* reset the card */
64 #define I2CWRITE _IOW('i', 4, struct iiccmd) /* send data */
65 #define I2CREAD _IOW('i', 5, struct iiccmd) /* receive data */
67 #define I2CRPTSTART _IOW('i', 7, struct iiccmd) /* repeated start */
H A Diic.c431 struct iiccmd iicswab; in iicioctl()
434 struct iiccmd *s; in iicioctl()
444 s = (struct iiccmd *)data; in iicioctl()
/freebsd/usr.sbin/i2c/
H A Di2c.c97 i2c_do_start(int fd, struct iiccmd *cmd) in i2c_do_start()
109 i2c_do_repeatstart(int fd, struct iiccmd *cmd) in i2c_do_repeatstart()
121 i2c_do_write(int fd, struct iiccmd *cmd) in i2c_do_write()
133 i2c_do_read(int fd, struct iiccmd *cmd) in i2c_do_read()
147 struct iiccmd cmd; in i2c_do_reset()
210 struct iiccmd cmd; in scan_bus()
315 write_offset(int fd, struct options i2c_opt, struct iiccmd *cmd) in write_offset()
329 struct iiccmd cmd; in i2c_write()
397 struct iiccmd cmd; in i2c_read()