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

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/cpuidle/governors/
H A Dladder.c132 struct ladder_device_state *lstate; local
139 lstate = &ldev->states[i];
141 lstate->stats.promotion_count = 0;
142 lstate->stats.demotion_count = 0;
144 lstate->threshold.promotion_count = PROMOTION_COUNT;
145 lstate->threshold.demotion_count = DEMOTION_COUNT;
148 lstate->threshold.promotion_time = state->exit_latency;
150 lstate->threshold.demotion_time = state->exit_latency;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/cpuidle/governors/
H A Dladder.c132 struct ladder_device_state *lstate; local
139 lstate = &ldev->states[i];
141 lstate->stats.promotion_count = 0;
142 lstate->stats.demotion_count = 0;
144 lstate->threshold.promotion_count = PROMOTION_COUNT;
145 lstate->threshold.demotion_count = DEMOTION_COUNT;
148 lstate->threshold.promotion_time = state->exit_latency;
150 lstate->threshold.demotion_time = state->exit_latency;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/qib/
H A Dqib_intr.c87 u32 lstate; local
91 lstate = dd->f_iblink_state(ibcs); /* linkstate */
100 if (lstate >= IB_PORT_INIT && (ppd->lflags & QIBL_LINKDOWN) &&
114 if (lstate != IB_PORT_DOWN) {
115 /* lstate is INIT, ARMED, or ACTIVE */
116 if (lstate != IB_PORT_ACTIVE) {
121 if (lstate == IB_PORT_ARMED) {
H A Dqib_driver.c190 u32 lstate; local
244 lstate = QIBL_LINKV;
258 lstate = QIBL_LINKACTIVE;
265 ret = qib_wait_linkstate(ppd, lstate, 10);
H A Dqib_mad.c643 u16 lstate; local
793 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
794 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
803 if (lstate == 0)
807 if (lstate == 0)
808 lstate = QIB_IB_LINKDOWN_ONLY;
809 else if (lstate == 1)
810 lstate = QIB_IB_LINKDOWN_SLEEP;
811 else if (lstate == 2)
812 lstate
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_intr.c87 u32 lstate; local
91 lstate = dd->f_iblink_state(ibcs); /* linkstate */
100 if (lstate >= IB_PORT_INIT && (ppd->lflags & QIBL_LINKDOWN) &&
114 if (lstate != IB_PORT_DOWN) {
115 /* lstate is INIT, ARMED, or ACTIVE */
116 if (lstate != IB_PORT_ACTIVE) {
121 if (lstate == IB_PORT_ARMED) {
H A Dqib_driver.c190 u32 lstate; local
244 lstate = QIBL_LINKV;
258 lstate = QIBL_LINKACTIVE;
265 ret = qib_wait_linkstate(ppd, lstate, 10);
H A Dqib_mad.c643 u16 lstate; local
793 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
794 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
803 if (lstate == 0)
807 if (lstate == 0)
808 lstate = QIB_IB_LINKDOWN_ONLY;
809 else if (lstate == 1)
810 lstate = QIB_IB_LINKDOWN_SLEEP;
811 else if (lstate == 2)
812 lstate
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c230 struct ahc_tmode_lstate *lstate,
3916 struct ahc_tmode_lstate* lstate; local
3918 lstate = tstate->enabled_luns[devinfo->lun];
3919 if (lstate != NULL) {
3920 ahc_queue_lstate_event(ahc, lstate,
3924 ahc_send_lstate_events(ahc, lstate);
4293 struct ahc_tmode_lstate* lstate; local
4295 lstate = tstate->enabled_luns[lun];
4296 if (lstate == NULL)
4299 ahc_queue_lstate_event(ahc, lstate, devinf
4484 struct ahc_tmode_lstate *lstate; local
6538 struct ahc_tmode_lstate* lstate; local
6677 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
6728 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument
7288 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
7332 struct ahc_tmode_lstate *lstate; local
7798 struct ahc_tmode_lstate *lstate; local
[all...]
H A Daic79xx_core.c230 struct ahd_tmode_lstate *lstate,
5392 struct ahd_tmode_lstate* lstate; local
5394 lstate = tstate->enabled_luns[devinfo->lun];
5395 if (lstate != NULL) {
5396 ahd_queue_lstate_event(ahd, lstate,
5400 ahd_send_lstate_events(ahd, lstate);
5874 struct ahd_tmode_lstate* lstate; local
5876 lstate = tstate->enabled_luns[cur_lun];
5877 if (lstate == NULL)
5880 ahd_queue_lstate_event(ahd, lstate, devinf
6118 struct ahd_tmode_lstate *lstate; local
8756 struct ahd_tmode_lstate* lstate; local
9162 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
9213 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument
10160 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
10205 struct ahd_tmode_lstate *lstate; local
10596 struct ahd_tmode_lstate *lstate; local
[all...]
H A Daic7xxx.h1239 struct ahc_tmode_lstate **lstate,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c230 struct ahc_tmode_lstate *lstate,
3916 struct ahc_tmode_lstate* lstate; local
3918 lstate = tstate->enabled_luns[devinfo->lun];
3919 if (lstate != NULL) {
3920 ahc_queue_lstate_event(ahc, lstate,
3924 ahc_send_lstate_events(ahc, lstate);
4293 struct ahc_tmode_lstate* lstate; local
4295 lstate = tstate->enabled_luns[lun];
4296 if (lstate == NULL)
4299 ahc_queue_lstate_event(ahc, lstate, devinf
4484 struct ahc_tmode_lstate *lstate; local
6538 struct ahc_tmode_lstate* lstate; local
6677 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
6728 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument
7288 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
7332 struct ahc_tmode_lstate *lstate; local
7798 struct ahc_tmode_lstate *lstate; local
[all...]
H A Daic79xx_core.c230 struct ahd_tmode_lstate *lstate,
5392 struct ahd_tmode_lstate* lstate; local
5394 lstate = tstate->enabled_luns[devinfo->lun];
5395 if (lstate != NULL) {
5396 ahd_queue_lstate_event(ahd, lstate,
5400 ahd_send_lstate_events(ahd, lstate);
5874 struct ahd_tmode_lstate* lstate; local
5876 lstate = tstate->enabled_luns[cur_lun];
5877 if (lstate == NULL)
5880 ahd_queue_lstate_event(ahd, lstate, devinf
6118 struct ahd_tmode_lstate *lstate; local
8756 struct ahd_tmode_lstate* lstate; local
9162 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
9213 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument
10160 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
10205 struct ahd_tmode_lstate *lstate; local
10596 struct ahd_tmode_lstate *lstate; local
[all...]
H A Daic7xxx.h1239 struct ahc_tmode_lstate **lstate,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_mad.c423 u16 lstate; local
563 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
564 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
573 if (lstate == 0)
577 if (lstate == 0)
578 lstate = IPATH_IB_LINKDOWN_ONLY;
579 else if (lstate == 1)
580 lstate = IPATH_IB_LINKDOWN_SLEEP;
581 else if (lstate == 2)
582 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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/ipath/
H A Dipath_mad.c423 u16 lstate; local
563 lstate = (pip->portphysstate_linkdown >> 4) & 0xF;
564 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP))
573 if (lstate == 0)
577 if (lstate == 0)
578 lstate = IPATH_IB_LINKDOWN_ONLY;
579 else if (lstate == 1)
580 lstate = IPATH_IB_LINKDOWN_SLEEP;
581 else if (lstate == 2)
582 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);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A Dcassini.c680 int oldstate = cp->lstate;
699 if (cp->lstate == link_up) {
706 cp->lstate = link_down;
735 cp->lstate = link_aneg;
740 cp->lstate = link_force_ok;
753 cp->lstate = link_aneg;
755 cp->lstate = link_force_ok;
1005 if (cp->lstate != link_up) {
1007 cp->lstate = link_up;
1014 } else if (cp->lstate
[all...]
H A Dsungem.c1356 gp->lstate = link_aneg;
1360 gp->lstate = link_force_ok;
1484 switch (gp->lstate) {
1492 gp->lstate = link_force_ok;
1508 gp->lstate = link_force_try;
1556 if (gp->lstate == link_up)
1559 gp->lstate = link_up;
1571 if (gp->lstate == link_force_try && gp->want_autoneg) {
1572 gp->lstate = link_force_ret;
1579 } else if (gp->lstate !
[all...]
H A Dsungem.h1011 enum link_state lstate; member in struct:gem
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A Dcassini.c680 int oldstate = cp->lstate;
699 if (cp->lstate == link_up) {
706 cp->lstate = link_down;
735 cp->lstate = link_aneg;
740 cp->lstate = link_force_ok;
753 cp->lstate = link_aneg;
755 cp->lstate = link_force_ok;
1005 if (cp->lstate != link_up) {
1007 cp->lstate = link_up;
1014 } else if (cp->lstate
[all...]
H A Dsungem.c1356 gp->lstate = link_aneg;
1360 gp->lstate = link_force_ok;
1484 switch (gp->lstate) {
1492 gp->lstate = link_force_ok;
1508 gp->lstate = link_force_try;
1556 if (gp->lstate == link_up)
1559 gp->lstate = link_up;
1571 if (gp->lstate == link_force_try && gp->want_autoneg) {
1572 gp->lstate = link_force_ret;
1579 } else if (gp->lstate !
[all...]

Completed in 410 milliseconds

12