Home
last modified time | relevance | path

Searched refs:ledchip (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c792 struct envctrl_chip ledchip, envcchip; in envctrl_ioctl() local
1058 if (ddi_copyin((caddr_t)arg, (caddr_t)&ledchip, in envctrl_ioctl()
1063 if ((ledchip.type != ENVCTRL_PCF8574A) || in envctrl_ioctl()
1064 (ledchip.chip_num != ENVCTRL_DEV7)) { in envctrl_ioctl()
1069 if (envctrl_set_dskled(unitp, &ledchip)) { in envctrl_ioctl()
1075 if (ddi_copyin((caddr_t)arg, (caddr_t)&ledchip, in envctrl_ioctl()
1080 if ((ledchip.type != ENVCTRL_PCF8574A) || in envctrl_ioctl()
1081 (ledchip.chip_num != ENVCTRL_DEV7)) { in envctrl_ioctl()
1086 if (envctrl_get_dskled(unitp, &ledchip)) { in envctrl_ioctl()
1089 if (ddi_copyout((caddr_t)&ledchip, (caddr_t)arg, in envctrl_ioctl()
/illumos-gate/usr/src/uts/sun4u/tazmo/io/
H A Denvctrl.c925 struct envctrl_pcf8574_chip *ledchip; in envctrl_wput() local
1124 ledchip = (struct envctrl_pcf8574_chip *) in envctrl_wput()
1127 if (envctrl_set_dskled(unitp, ledchip)) { in envctrl_wput()
1139 ledchip = (struct envctrl_pcf8574_chip *) in envctrl_wput()
1142 if (envctrl_get_dskled(unitp, ledchip)) { in envctrl_wput()