Home
last modified time | relevance | path

Searched refs:i2c_ctrl (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/io/i2c/nexus/
H A Di2cnex_util.c99 ep->i2c_ctrl = I2C_CTRL_E_OK; in i2c_ctrl_io_success()
106 ep->i2c_ctrl = ctrl; in i2c_ctrl_io_error()
120 ioc->i2c_ctrl = ctrl; in i2c_error()
129 ioc->i2c_ctrl = I2C_CTRL_E_OK; in i2c_success()
H A Di2cnex_ctrl.c353 err.i2c_error, err.i2c_ctrl); in i2c_ctrl_init_limits()
369 err.i2c_error, err.i2c_ctrl); in i2c_ctrl_init_limits()
395 err.i2c_error, err.i2c_ctrl); in i2c_ctrl_init_limits()
418 err.i2c_error, err.i2c_ctrl); in i2c_ctrl_init_limits()
787 req->ir_error.i2c_ctrl = INT32_MAX; in i2c_ctrl_io_i2c()
798 req->ir_error.i2c_ctrl == INT32_MAX) { in i2c_ctrl_io_i2c()
802 req->ir_error.i2c_ctrl = I2C_CTRL_E_DRIVER; in i2c_ctrl_io_i2c()
1005 req->smbr_error.i2c_ctrl = INT32_MAX; in i2c_ctrl_io_smbus()
1016 req->smbr_error.i2c_ctrl == INT32_MAX) { in i2c_ctrl_io_smbus()
1020 req->smbr_error.i2c_ctrl = I2C_CTRL_E_DRIVER; in i2c_ctrl_io_smbus()
H A Di2cnex.h70 typedef struct i2c_ctrl i2c_ctrl_t;
176 struct i2c_ctrl { struct
/illumos-gate/usr/src/uts/common/io/i2c/eeprom/spd511x/
H A Dspd511x.c108 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_page_change()
117 "register: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_page_change()
153 "registers: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_temp_read()
231 err.i2c_error, err.i2c_ctrl); in spd5118_read()
281 "registers: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_ident()
303 err.i2c_ctrl); in spd5118_ident()
317 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_ident()
324 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_ident()
331 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in spd5118_ident()
/illumos-gate/usr/src/test/i2c-tests/tests/ioctl/
H A Dinvalid-io.c58 req->ir_error.i2c_ctrl = INT32_MAX; in test_one_i2c()
71 if (req->ir_error.i2c_ctrl != I2C_CTRL_E_OK) { in test_one_i2c()
73 "error 0x%x", desc, req->ir_error.i2c_ctrl); in test_one_i2c()
173 req->smbr_error.i2c_ctrl = INT32_MAX; in test_one_smbus()
187 if (req->smbr_error.i2c_ctrl != I2C_CTRL_E_OK) { in test_one_smbus()
189 "error 0x%x", desc, req->smbr_error.i2c_ctrl); in test_one_smbus()
H A Daddresses.c89 if (add.uda_error.i2c_ctrl != I2C_CTRL_E_OK) { in test_add()
91 "error 0x%x", desc, add.uda_error.i2c_ctrl); in test_add()
525 if (rm.udr_error.i2c_ctrl != I2C_CTRL_E_OK) { in test_rm()
527 "error 0x%x", desc, rm.udr_error.i2c_ctrl); in test_rm()
/illumos-gate/usr/src/uts/common/io/i2c/sensor/ts511x/
H A Dts511x.c120 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ts511x_temp_read()
199 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ts511x_ident()
219 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ts511x_ident()
226 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ts511x_ident()
237 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ts511x_ident()
/illumos-gate/usr/src/uts/common/io/i2c/eeprom/at24c/
H A Dat24c.c213 err.i2c_error, err.i2c_ctrl); in at24c_read()
232 return (err->i2c_ctrl == I2C_CTRL_E_ADDR_NACK || in at24c_poll_nack()
233 err->i2c_ctrl == I2C_CTRL_E_NACK); in at24c_poll_nack()
257 err.i2c_error, err.i2c_ctrl); in at24c_write()
282 reg, err.i2c_error, err.i2c_ctrl); in at24c_write()
290 err.i2c_error, err.i2c_ctrl); in at24c_write()
/illumos-gate/usr/src/uts/common/io/i2c/gpio/pca953x/
H A Dpca953x.c147 err.i2c_ctrl); in pca953x_gpio_regs_get()
156 err.i2c_ctrl); in pca953x_gpio_regs_get()
165 err.i2c_ctrl); in pca953x_gpio_regs_get()
173 err.i2c_ctrl); in pca953x_gpio_regs_get()
198 err.i2c_ctrl); in pca953x_gpio_regs_put()
207 err.i2c_ctrl); in pca953x_gpio_regs_put()
216 err.i2c_ctrl); in pca953x_gpio_regs_put()
525 err.i2c_ctrl); in pca953x_op_dpio_input()
/illumos-gate/usr/src/uts/common/io/i2c/sensor/tmp43x/
H A Dtmp43x.c268 err.i2c_ctrl); in tmp43x_write_ctl()
294 "0x%x/0x%x", info->tri_read, err.i2c_error, err.i2c_ctrl); in tmp43x_read_ctl()
323 err.i2c_ctrl); in tmp43x_temp_read()
424 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in tmp43x_ident()
437 "id register: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in tmp43x_ident()
/illumos-gate/usr/src/lib/libi2c/common/
H A Dlibi2c_error.c393 const char *code = i2c_ctrl_errtostr(hdl, ioc->i2c_ctrl); in i2c_ioctl_error()
396 err->ie_ctrl_err = ioc->i2c_ctrl; in i2c_ioctl_error()
399 "error %s (0x%x)", desc, code, ioc->i2c_ctrl); in i2c_ioctl_error()
H A Dlibi2c_impl.h69 struct i2c_ctrl { struct
H A Dlibi2c.h213 typedef struct i2c_ctrl i2c_ctrl_t;
/illumos-gate/usr/src/uts/common/io/i2c/sensor/lm7x/
H A Dlm7x.c223 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in lm7x_temp_read()
317 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in lm7x_start()
325 "0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in lm7x_start()
/illumos-gate/usr/src/uts/common/io/i2c/mux/ltc430x/
H A Dltc430x.c218 "register: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ltc430x_gpio_regs_get()
227 "register: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ltc430x_gpio_regs_get()
250 err.i2c_ctrl); in ltc430x_gpio_regs_put()
258 err.i2c_ctrl); in ltc430x_gpio_regs_put()
505 "registers: 0x%x/0x%x", err.i2c_error, err.i2c_ctrl); in ltc430x_op_dpio_input()
/illumos-gate/usr/src/uts/common/io/i2c/eeprom/ee100x/
H A Dee100x.c181 "0x%x/0x%x", page, err.i2c_error, err.i2c_ctrl); in ee100x_read()
192 err.i2c_error, err.i2c_ctrl); in ee100x_read()
/illumos-gate/usr/src/uts/common/sys/i2c/
H A Di2c.h382 i2c_ctrl_error_t i2c_ctrl; member
/illumos-gate/usr/src/test/i2c-tests/i2csimd/
H A Di2csimd.c161 ep->i2c_ctrl = ctrl; in i2csimd_io_error()