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

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dpcf8574.c293 i2c_bit_t ioctl_bit; local
366 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
375 if (ioctl_bit.bit_num > 7) {
393 ioctl_bit.bit_value = (boolean_t)PCF8574_BIT_READ_MASK(byte,
394 ioctl_bit.bit_num);
398 if (ddi_copyout((caddr_t)&ioctl_bit, (caddr_t)arg,
408 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
417 if (ioctl_bit.bit_num > 7) {
435 byte = PCF8574_BIT_WRITE_MASK(byte, ioctl_bit.bit_num,
436 ioctl_bit
[all...]
H A Dssc050.c315 i2c_bit_t ioctl_bit; local
474 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
480 if (ioctl_bit.bit_num > 7) {
485 reg = (uchar_t)SSC050_BIT_REG(port, ioctl_bit.bit_num);
488 if (ioctl_bit.direction == DIR_INPUT) {
514 ioctl_bit.bit_value = (boolean_t)val8;
515 if (ddi_copyout((caddr_t)&ioctl_bit, (caddr_t)arg,
522 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
528 if (ioctl_bit.bit_num > 7) {
533 reg = (uchar_t)SSC050_BIT_REG(port, ioctl_bit
[all...]
H A Dssc100.c304 i2c_bit_t ioctl_bit; local
373 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
381 if (ioctl_bit.bit_num > 7) {
398 ioctl_bit.bit_value = (boolean_t)SSC100_BIT_READ_MASK(byte,
399 ioctl_bit.bit_num);
403 if (ddi_copyout((caddr_t)&ioctl_bit, (caddr_t)arg,
412 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
420 if (ioctl_bit.bit_num > 7) {
437 byte = SSC100_BIT_WRITE_MASK(byte, ioctl_bit.bit_num,
438 ioctl_bit
[all...]
/illumos-gate/usr/src/uts/sun4u/littleneck/io/
H A Dpcf8574_lneck.c305 i2c_bit_t ioctl_bit; local
378 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
387 if (ioctl_bit.bit_num > 7) {
405 ioctl_bit.bit_value = (boolean_t)PCF8574_BIT_READ_MASK(byte,
406 ioctl_bit.bit_num);
410 if (ddi_copyout((caddr_t)&ioctl_bit, (caddr_t)arg,
420 if (ddi_copyin((caddr_t)arg, (caddr_t)&ioctl_bit,
429 if (ioctl_bit.bit_num > 7) {
447 byte = PCF8574_BIT_WRITE_MASK(byte, ioctl_bit.bit_num,
448 ioctl_bit
[all...]

Completed in 47 milliseconds