Home
last modified time | relevance | path

Searched refs:extctl (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_iba6110.c1103 u64 extctl; in ipath_setup_ht_setextled() local
1132 extctl = (dd->ipath_extctrl & ~INFINIPATH_EXTC_LEDGBLOK_ON) in ipath_setup_ht_setextled()
1135 extctl &= ~INFINIPATH_EXTC_LEDGBLERR_OFF; in ipath_setup_ht_setextled()
1137 extctl |= INFINIPATH_EXTC_LEDGBLOK_ON; in ipath_setup_ht_setextled()
1140 extctl = dd->ipath_extctrl & in ipath_setup_ht_setextled()
1144 extctl |= INFINIPATH_EXTC_LED1PRIPORT_ON; in ipath_setup_ht_setextled()
1146 extctl |= INFINIPATH_EXTC_LED2PRIPORT_ON; in ipath_setup_ht_setextled()
1148 dd->ipath_extctrl = extctl; in ipath_setup_ht_setextled()
1149 ipath_write_kreg(dd, dd->ipath_kregs->kr_extctrl, extctl); in ipath_setup_ht_setextled()
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_iba6120.c1444 u64 extctl, val, lst, ltst; in qib_6120_setup_setextled() local
1471 extctl = dd->cspec->extctrl & ~(SYM_MASK(EXTCtrl, LEDPriPortGreenOn) | in qib_6120_setup_setextled()
1475 extctl |= SYM_MASK(EXTCtrl, LEDPriPortYellowOn); in qib_6120_setup_setextled()
1477 extctl |= SYM_MASK(EXTCtrl, LEDPriPortGreenOn); in qib_6120_setup_setextled()
1478 dd->cspec->extctrl = extctl; in qib_6120_setup_setextled()
1479 qib_write_kreg(dd, kr_extctrl, extctl); in qib_6120_setup_setextled()
Dqib_iba7220.c1729 u64 extctl, ledblink = 0, val, lst, ltst; in qib_setup_7220_setextled() local
1754 extctl = dd->cspec->extctrl & ~(SYM_MASK(EXTCtrl, LEDPriPortGreenOn) | in qib_setup_7220_setextled()
1757 extctl |= SYM_MASK(EXTCtrl, LEDPriPortGreenOn); in qib_setup_7220_setextled()
1767 extctl |= SYM_MASK(EXTCtrl, LEDPriPortYellowOn); in qib_setup_7220_setextled()
1768 dd->cspec->extctrl = extctl; in qib_setup_7220_setextled()
1769 qib_write_kreg(dd, kr_extctrl, extctl); in qib_setup_7220_setextled()
Dqib_iba7322.c2482 u64 extctl, ledblink = 0, val; in qib_setup_7322_setextled() local
2508 extctl = dd->cspec->extctrl & (ppd->port == 1 ? in qib_setup_7322_setextled()
2511 extctl |= ppd->port == 1 ? ExtLED_IB1_GRN : ExtLED_IB2_GRN; in qib_setup_7322_setextled()
2521 extctl |= ppd->port == 1 ? ExtLED_IB1_YEL : ExtLED_IB2_YEL; in qib_setup_7322_setextled()
2522 dd->cspec->extctrl = extctl; in qib_setup_7322_setextled()