Searched refs:i2c_opt (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/usr.sbin/i2c/
H A Di2c.c315 write_offset(int fd, struct options i2c_opt, struct iiccmd *cmd) argument
318 if (i2c_opt.off_len > 0) {
319 cmd->count = i2c_opt.off_len;
320 cmd->buf = (void*)i2c_opt.off_buf;
327 i2c_write(int fd, struct options i2c_opt, uint8_t *i2c_buf) argument
330 char buf[i2c_opt.off_len + i2c_opt.count];
333 cmd.slave = i2c_opt.addr;
338 switch(i2c_opt.mode) {
340 if (write_offset(fd, i2c_opt,
395 i2c_read(int fd, struct options i2c_opt, uint8_t *i2c_buf) argument
449 i2c_rdwr_transfer(int fd, struct options i2c_opt, uint8_t *i2c_buf) argument
490 access_bus(int fd, struct options i2c_opt) argument
545 command_bus(struct options i2c_opt, char *cmd) argument
692 exec_bus(struct options i2c_opt, char *cmd) argument
713 instruct_bus(struct options i2c_opt, int argc, char **argv) argument
742 struct options i2c_opt; local
[all...]

Completed in 103 milliseconds