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

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dpic16f819.c285 i2c_reg_t ioctl_reg; local
303 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
308 err = pic16f819_get(unitp, ioctl_reg.reg_num, &val8,
314 ioctl_reg.reg_value = val8;
315 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg,
322 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
327 err = pic16f819_set(unitp, ioctl_reg.reg_num,
328 ioctl_reg.reg_value);
H A Dssc050.c317 i2c_reg_t ioctl_reg; local
541 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
546 err = ssc050_get(unitp, ioctl_reg.reg_num, &val8,
552 ioctl_reg.reg_value = val8;
553 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg,
560 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
565 err = ssc050_set(unitp, ioctl_reg.reg_num,
566 ioctl_reg.reg_value);
H A Dssc100.c306 i2c_reg_t ioctl_reg; local
451 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
459 err = ssc100_get_reg(unitp, &byte, ioctl_reg.reg_num);
461 ioctl_reg.reg_value = byte;
462 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg,
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c422 i2c_reg_t ioctl_reg; local
531 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
548 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num;
557 ioctl_reg.reg_value = i2c_tran_pointer->i2c_rbuf[0];
558 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg,
575 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg,
592 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num;
593 i2c_tran_pointer->i2c_wbuf[1] = (uchar_t)ioctl_reg.reg_value;

Completed in 63 milliseconds