Searched refs:led_data (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 712 lom_led_state_t led_data; in read_led_status() local 747 (void) memset(&led_data, 0, sizeof (led_data)); in read_led_status() 748 led_data.index = index; in read_led_status() 749 res = ioctl(lom_fd, LOMIOCLEDSTATE, &led_data); in read_led_status() 751 if (res != 0 || led_data.state == LOM_LED_NOT_IMPLEMENTED || in read_led_status() 752 strcmp(led_data.label, led_labels[index]) != 0) { in read_led_status() 760 (void) memset(&led_data, 0, sizeof (led_data)); in read_led_status() 761 led_data.index = -1; in read_led_status() 762 res = ioctl(lom_fd, LOMIOCLEDSTATE, &led_data); in read_led_status() 769 if (led_data.state == LOM_LED_NOT_IMPLEMENTED || in read_led_status() [all …]
|
/titanic_41/usr/src/uts/sun4u/montecarlo/io/ |
H A D | scsb.c | 2675 uchar_t *puc, reg, led_reg, led_data[SCSB_LEDDATA_REGISTERS]; in scsb_set_scfg_pres_leds() local 2686 led_data[i] = 0; in scsb_set_scfg_pres_leds() 2724 led_data[led_idx] |= 1 << led_bit; in scsb_set_scfg_pres_leds() 2727 led_data[led_idx] &= ~(1 << led_bit); in scsb_set_scfg_pres_leds() 2791 led_data[led_idx] |= 1 << led_bit; in scsb_set_scfg_pres_leds() 2814 puc = &led_data[i - lid]; in scsb_set_scfg_pres_leds() 2818 puc = led_data; in scsb_set_scfg_pres_leds()
|