Searched refs:g_buf (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1026.c | 603 i2c_gpio_t g_buf; in adm1026_ioctl() local 621 if (ddi_copyin((caddr_t)arg, &g_buf, in adm1026_ioctl() 627 if (g_buf.reg_mask & 0xffff0000) { in adm1026_ioctl() 636 err = adm1026_set_output(unitp, g_buf.reg_val, g_buf.reg_mask); in adm1026_ioctl() 640 err = adm1026_get_output(unitp, g_buf.reg_mask, &g_buf.reg_val); in adm1026_ioctl() 642 err = ddi_copyout(&g_buf, (caddr_t)arg, in adm1026_ioctl() 648 err = adm1026_set_config(unitp, cmd, g_buf.reg_val, in adm1026_ioctl() 649 g_buf.reg_mask); in adm1026_ioctl() 654 err = adm1026_get_config(unitp, cmd, g_buf.reg_mask, in adm1026_ioctl() 655 &g_buf.reg_val); in adm1026_ioctl() [all …]
|
H A D | pca9556.c | 608 i2c_gpio_t g_buf; in pca9556_ioctl() local 637 if (ddi_copyin((caddr_t)arg, &g_buf, in pca9556_ioctl() 715 g_buf.reg_val = g_buf.reg_mask & in pca9556_ioctl() 717 err = ddi_copyout(&g_buf, (caddr_t)arg, in pca9556_ioctl() 728 temp = pcap->pca9556_transfer->i2c_rbuf[0] & (~g_buf.reg_mask); in pca9556_ioctl() 730 (g_buf.reg_val & g_buf.reg_mask); in pca9556_ioctl()
|