Home
last modified time | relevance | path

Searched refs:ledmode (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ahci/
H A Dfac_prov_ahci.c85 ahci_fac_led_t fac_type, uint32_t *ledmode, boolean_t set) in do_led_control() argument
97 uint32_t led_status = *ledmode; in do_led_control()
155 *ledmode = (led_set != 0) ? in do_led_control()
173 uint32_t type, ledmode = 0, ahci_port; in ahci_led_mode() local
227 &ledmode)) != 0) { in ahci_led_mode()
236 ledmode ? "ON" : "OFF"); in ahci_led_mode()
244 ret = do_led_control(mod, devctl, ahci_port, fac_type, &ledmode, set); in ahci_led_mode()
255 nvlist_add_uint32(nvl, TOPO_PROP_VAL_VAL, ledmode) != 0) { in ahci_led_mode()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/
H A Dfac_prov_mptsas.c77 uint16_t slot, uint8_t led, uint32_t *ledmode, boolean_t set) in do_led_control() argument
88 lc.LedStatus = *ledmode; in do_led_control()
113 *ledmode = lc.LedStatus ? TOPO_LED_STATE_ON : TOPO_LED_STATE_OFF; in do_led_control()
125 uint32_t type, ledmode = 0; in mptsas_led_mode() local
183 &ledmode)) != 0) { in mptsas_led_mode()
191 ledmode ? "ON" : "OFF"); in mptsas_led_mode()
200 if (do_led_control(mod, devctl, enclosure, slot, mptsas_led, &ledmode, in mptsas_led_mode()
210 nvlist_add_uint32(nvl, TOPO_PROP_VAL_VAL, ledmode) != 0) { in mptsas_led_mode()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c582 uint8_t ledmode; in ipmi_indicator_mode() local
648 ledmode = (uint8_t)mode_in; in ipmi_indicator_mode()
649 if (ipmi_sunoem_led_set(hdl, gdl, ledmode) < 0) { in ipmi_indicator_mode()
652 ipmi_errmsg(hdl), ledmode ? "ON" : "OFF"); in ipmi_indicator_mode()
661 if (ipmi_sunoem_led_get(hdl, gdl, &ledmode) < 0) { in ipmi_indicator_mode()
676 nvlist_add_uint32(nvl, TOPO_PROP_VAL_VAL, ledmode) != 0) { in ipmi_indicator_mode()
703 uint8_t ledmode; in bay_locate_mode() local
770 ledmode = IPMI_SUNOEM_LED_MODE_FAST; in bay_locate_mode()
772 ledmode = IPMI_SUNOEM_LED_MODE_OFF; in bay_locate_mode()
773 if (ipmi_sunoem_led_set(hdl, gdl, ledmode) < 0) { in bay_locate_mode()
[all …]
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath_reg.h235 uint32_t ledmode; member
244 uint32_t ledmode; member
H A Duath.c1850 uath_set_ledsteady(struct uath_softc *sc, int lednum, int ledmode) in uath_set_ledsteady() argument
1856 led.ledmode = BE_32(ledmode); in uath_set_ledsteady()
1861 ledmode ? "on" : "off"); in uath_set_ledsteady()
1867 uath_set_ledblink(struct uath_softc *sc, int lednum, int ledmode, in uath_set_ledblink() argument
1874 led.ledmode = BE_32(ledmode); in uath_set_ledblink()
1881 ledmode ? "on" : "off"); in uath_set_ledblink()