Searched refs:ioctl_reg (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pic16f819.c | 285 i2c_reg_t ioctl_reg; in pic16f819_ioctl() local 303 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in pic16f819_ioctl() 308 err = pic16f819_get(unitp, ioctl_reg.reg_num, &val8, in pic16f819_ioctl() 314 ioctl_reg.reg_value = val8; in pic16f819_ioctl() 315 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg, in pic16f819_ioctl() 322 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in pic16f819_ioctl() 327 err = pic16f819_set(unitp, ioctl_reg.reg_num, in pic16f819_ioctl() 328 ioctl_reg.reg_value); in pic16f819_ioctl()
|
H A D | ssc050.c | 317 i2c_reg_t ioctl_reg; in ssc050_ioctl() local 541 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in ssc050_ioctl() 546 err = ssc050_get(unitp, ioctl_reg.reg_num, &val8, in ssc050_ioctl() 552 ioctl_reg.reg_value = val8; in ssc050_ioctl() 553 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg, in ssc050_ioctl() 560 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in ssc050_ioctl() 565 err = ssc050_set(unitp, ioctl_reg.reg_num, in ssc050_ioctl() 566 ioctl_reg.reg_value); in ssc050_ioctl()
|
H A D | ssc100.c | 306 i2c_reg_t ioctl_reg; in ssc100_ioctl() local 451 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in ssc100_ioctl() 459 err = ssc100_get_reg(unitp, &byte, ioctl_reg.reg_num); in ssc100_ioctl() 461 ioctl_reg.reg_value = byte; in ssc100_ioctl() 462 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg, in ssc100_ioctl()
|
/titanic_41/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 422 i2c_reg_t ioctl_reg; in hpc3130_ioctl() local 531 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in hpc3130_ioctl() 548 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl() 557 ioctl_reg.reg_value = i2c_tran_pointer->i2c_rbuf[0]; in hpc3130_ioctl() 558 if (ddi_copyout((caddr_t)&ioctl_reg, (caddr_t)arg, in hpc3130_ioctl() 575 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_reg, in hpc3130_ioctl() 592 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl() 593 i2c_tran_pointer->i2c_wbuf[1] = (uchar_t)ioctl_reg.reg_value; in hpc3130_ioctl()
|