Searched refs:lstate (Results 1 - 15 of 15) sorted by relevance

/drivers/cpuidle/governors/
H A Dladder.c138 struct ladder_device_state *lstate; local
145 lstate = &ldev->states[i];
147 lstate->stats.promotion_count = 0;
148 lstate->stats.demotion_count = 0;
150 lstate->threshold.promotion_count = PROMOTION_COUNT;
151 lstate->threshold.demotion_count = DEMOTION_COUNT;
154 lstate->threshold.promotion_time = state->exit_latency;
156 lstate->threshold.demotion_time = state->exit_latency;
/drivers/infiniband/hw/qib/
H A Dqib_intr.c87 u32 lstate; local
91 lstate = dd->f_iblink_state(ibcs); /* linkstate */
103 if (lstate >= IB_PORT_INIT &&
118 if (lstate != IB_PORT_DOWN) {
119 /* lstate is INIT, ARMED, or ACTIVE */
120 if (lstate != IB_PORT_ACTIVE) {
125 if (lstate == IB_PORT_ARMED) {
H A Dqib_driver.c196 u32 lstate; local
250 lstate = QIBL_LINKV;
264 lstate = QIBL_LINKACTIVE;
271 ret = qib_wait_linkstate(ppd, lstate, 10);
H A Dqib_mad.c642 u16 lstate; local
797 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
798 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
807 if (lstate == 0)
811 if (lstate == 0)
812 lstate = QIB_IB_LINKDOWN_ONLY;
813 else if (lstate == 1)
814 lstate = QIB_IB_LINKDOWN_SLEEP;
815 else if (lstate == 2)
816 lstate
[all...]
/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c230 struct ahc_tmode_lstate *lstate,
3962 struct ahc_tmode_lstate* lstate; local
3964 lstate = tstate->enabled_luns[devinfo->lun];
3965 if (lstate != NULL) {
3966 ahc_queue_lstate_event(ahc, lstate,
3970 ahc_send_lstate_events(ahc, lstate);
4343 struct ahc_tmode_lstate* lstate; local
4345 lstate = tstate->enabled_luns[lun];
4346 if (lstate == NULL)
4349 ahc_queue_lstate_event(ahc, lstate, devinf
4535 struct ahc_tmode_lstate *lstate; local
6604 struct ahc_tmode_lstate* lstate; local
6743 ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument
6794 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument
7354 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, struct ahc_tmode_tstate **tstate, struct ahc_tmode_lstate **lstate, int notfound_failure) argument
7398 struct ahc_tmode_lstate *lstate; local
7864 struct ahc_tmode_lstate *lstate; local
[all...]
H A Daic79xx_core.c230 struct ahd_tmode_lstate *lstate,
5468 struct ahd_tmode_lstate* lstate; local
5470 lstate = tstate->enabled_luns[devinfo->lun];
5471 if (lstate != NULL) {
5472 ahd_queue_lstate_event(ahd, lstate,
5476 ahd_send_lstate_events(ahd, lstate);
5954 struct ahd_tmode_lstate* lstate; local
5956 lstate = tstate->enabled_luns[cur_lun];
5957 if (lstate == NULL)
5960 ahd_queue_lstate_event(ahd, lstate, devinf
6198 struct ahd_tmode_lstate *lstate; local
8837 struct ahd_tmode_lstate* lstate; local
9243 ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument
9294 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument
10278 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, struct ahd_tmode_tstate **tstate, struct ahd_tmode_lstate **lstate, int notfound_failure) argument
10323 struct ahd_tmode_lstate *lstate; local
10714 struct ahd_tmode_lstate *lstate; local
[all...]
H A Daic7xxx.h1247 struct ahc_tmode_lstate **lstate,
H A Daic79xx.h1440 struct ahd_tmode_lstate **lstate,
/drivers/infiniband/hw/ipath/
H A Dipath_mad.c429 u16 lstate; local
570 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
571 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
580 if (lstate == 0)
584 if (lstate == 0)
585 lstate = IPATH_IB_LINKDOWN_ONLY;
586 else if (lstate == 1)
587 lstate = IPATH_IB_LINKDOWN_SLEEP;
588 else if (lstate == 2)
589 lstate
[all...]
H A Dipath_intr.c260 u32 ltstate, lstate, ibstate, lastlstate; local
266 lstate = ipath_ib_linkstate(dd, ibcs); /* linkstate */
290 if (lstate >= INFINIPATH_IBCS_L_STATE_INIT &&
409 dd->ipath_f_setextled(dd, lstate, ltstate);
417 if (lstate == lastlstate)
437 dd->ipath_unit, lstate,
H A Dipath_driver.c2007 u32 lstate; local
2054 lstate = IPATH_LINKARMED | IPATH_LINKACTIVE;
2067 lstate = IPATH_LINKACTIVE;
2116 ret = ipath_wait_linkstate(dd, lstate, 2000);
2257 u64 lstate, ltstate, val; local
2273 lstate = ipath_ib_linkstate(dd, val);
2275 dd->ipath_f_setextled(dd, lstate, ltstate);
/drivers/net/ethernet/sun/
H A Dsungem.c1326 gp->lstate = link_aneg;
1330 gp->lstate = link_force_ok;
1454 switch (gp->lstate) {
1461 gp->lstate = link_force_ok;
1475 gp->lstate = link_force_try;
1514 if (gp->lstate == link_up)
1517 gp->lstate = link_up;
1529 if (gp->lstate == link_force_try && gp->want_autoneg) {
1530 gp->lstate = link_force_ret;
1537 } else if (gp->lstate !
[all...]
H A Dcassini.c702 int oldstate = cp->lstate;
725 if (cp->lstate == link_up) {
732 cp->lstate = link_down;
763 cp->lstate = link_aneg;
768 cp->lstate = link_force_ok;
781 cp->lstate = link_aneg;
783 cp->lstate = link_force_ok;
1038 if (cp->lstate != link_up) {
1040 cp->lstate = link_up;
1047 } else if (cp->lstate
[all...]
H A Dsungem.h1001 enum link_state lstate; member in struct:gem
H A Dcassini.h2834 enum link_state lstate; member in struct:cas

Completed in 351 milliseconds