/linux/drivers/cpuidle/governors/ |
H A D | ladder.c | 139 struct ladder_device_state *lstate; in ladder_enable_device() local 146 lstate = &ldev->states[i]; in ladder_enable_device() 148 lstate->stats.promotion_count = 0; in ladder_enable_device() 149 lstate->stats.demotion_count = 0; in ladder_enable_device() 151 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device() 152 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device() 155 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device() 157 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_intr.c | 87 u32 lstate; in qib_handle_e_ibstatuschanged() local 91 lstate = dd->f_iblink_state(ibcs); /* linkstate */ in qib_handle_e_ibstatuschanged() 103 if (lstate >= IB_PORT_INIT && in qib_handle_e_ibstatuschanged() 118 if (lstate != IB_PORT_DOWN) { in qib_handle_e_ibstatuschanged() 120 if (lstate != IB_PORT_ACTIVE) { in qib_handle_e_ibstatuschanged() 125 if (lstate == IB_PORT_ARMED) { in qib_handle_e_ibstatuschanged()
|
H A D | qib_mad.c | 669 u16 lstate; in subn_set_portinfo() local 819 lstate = (pip->portphysstate_linkdown >> 4) & 0xF; in subn_set_portinfo() 820 if (lstate && !(state == IB_PORT_DOWN || state == IB_PORT_NOP)) in subn_set_portinfo() 829 if (lstate == 0) in subn_set_portinfo() 833 if (lstate == 0) in subn_set_portinfo() 834 lstate = QIB_IB_LINKDOWN_ONLY; in subn_set_portinfo() 835 else if (lstate == 1) in subn_set_portinfo() 836 lstate = QIB_IB_LINKDOWN_SLEEP; in subn_set_portinfo() 837 else if (lstate == 2) in subn_set_portinfo() 838 lstate = QIB_IB_LINKDOWN; in subn_set_portinfo() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 223 struct ahc_tmode_lstate *lstate, 3937 struct ahc_tmode_lstate* lstate; in ahc_parse_msg() local 3939 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg() 3940 if (lstate != NULL) { in ahc_parse_msg() 3941 ahc_queue_lstate_event(ahc, lstate, in ahc_parse_msg() 3945 ahc_send_lstate_events(ahc, lstate); in ahc_parse_msg() 4318 struct ahc_tmode_lstate* lstate; in ahc_handle_devreset() local 4320 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset() 4321 if (lstate == NULL) in ahc_handle_devreset() 4324 ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid, in ahc_handle_devreset() [all …]
|
H A D | aic79xx_core.c | 222 struct ahd_tmode_lstate *lstate, 5432 struct ahd_tmode_lstate* lstate; in ahd_parse_msg() local 5434 lstate = tstate->enabled_luns[devinfo->lun]; in ahd_parse_msg() 5435 if (lstate != NULL) { in ahd_parse_msg() 5436 ahd_queue_lstate_event(ahd, lstate, in ahd_parse_msg() 5440 ahd_send_lstate_events(ahd, lstate); in ahd_parse_msg() 5918 struct ahd_tmode_lstate* lstate; in ahd_handle_devreset() local 5920 lstate = tstate->enabled_luns[cur_lun]; in ahd_handle_devreset() 5921 if (lstate == NULL) in ahd_handle_devreset() 5924 ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid, in ahd_handle_devreset() [all …]
|
H A D | aic79xx.h | 1427 struct ahd_tmode_lstate **lstate,
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 265 u8 lstate = 0; in ocrdma_add() local 294 status = ocrdma_mbx_get_link_speed(dev, NULL, &lstate); in ocrdma_add() 296 ocrdma_update_link_state(dev, lstate); in ocrdma_add() 386 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate) in ocrdma_update_link_state() argument 390 if (!lstate) in ocrdma_update_link_state() 394 if (!lstate) in ocrdma_update_link_state()
|
H A D | ocrdma_hw.h | 157 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate);
|
H A D | ocrdma_hw.c | 831 u8 lstate; in ocrdma_process_link_state() local 834 lstate = ocrdma_get_ae_link_state(evt->speed_state_ptn); in ocrdma_process_link_state() 836 if (!(lstate & OCRDMA_AE_LSC_LLINK_MASK)) in ocrdma_process_link_state() 840 ocrdma_update_link_state(dev, (lstate & OCRDMA_LINK_ST_MASK)); in ocrdma_process_link_state()
|
/linux/drivers/net/ethernet/sun/ |
H A D | sungem.c | 1312 gp->lstate = link_aneg; in gem_begin_auto_negotiation() 1316 gp->lstate = link_force_ok; in gem_begin_auto_negotiation() 1440 switch (gp->lstate) { in gem_mdio_link_not_up() 1447 gp->lstate = link_force_ok; in gem_mdio_link_not_up() 1461 gp->lstate = link_force_try; in gem_mdio_link_not_up() 1500 if (gp->lstate == link_up) in gem_link_timer() 1503 gp->lstate = link_up; in gem_link_timer() 1515 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer() 1516 gp->lstate = link_force_ret; in gem_link_timer() 1523 } else if (gp->lstate != link_up) { in gem_link_timer() [all …]
|
H A D | cassini.c | 677 int oldstate = cp->lstate; in cas_begin_auto_negotiation() 700 if (cp->lstate == link_up) { in cas_begin_auto_negotiation() 707 cp->lstate = link_down; in cas_begin_auto_negotiation() 738 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 743 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 756 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 758 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 1012 if (cp->lstate != link_up) { in cas_pcs_link_check() 1014 cp->lstate = link_up; in cas_pcs_link_check() 1021 } else if (cp->lstate == link_up) { in cas_pcs_link_check() [all …]
|
H A D | sungem.h | 1002 enum link_state lstate; member
|
H A D | cassini.h | 2820 enum link_state lstate; member
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_edif.h | 104 int lstate; member
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 1912 int lstate; in __subn_set_opa_sc_to_vlt() local 1928 lstate = driver_lstate(ppd); in __subn_set_opa_sc_to_vlt() 1934 (lstate == IB_PORT_ARMED || lstate == IB_PORT_ACTIVE)) { in __subn_set_opa_sc_to_vlt() 1978 int lstate; in __subn_set_opa_sc_to_vlnt() local 1988 lstate = driver_lstate(ppd); in __subn_set_opa_sc_to_vlnt() 1989 if (lstate == IB_PORT_ARMED || lstate == IB_PORT_ACTIVE) { in __subn_set_opa_sc_to_vlnt() 2008 u32 lstate; in __subn_get_opa_psi() local 2021 lstate = driver_lstate(ppd); in __subn_get_opa_psi() 2023 if (start_of_sm_config && (lstate == IB_PORT_INIT)) in __subn_get_opa_psi() 2033 (driver_pstate(ppd) << 4) | (lstate & 0xf); in __subn_get_opa_psi()
|