/Linux-v5.4/drivers/cpuidle/governors/ |
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 = state->exit_latency; in ladder_enable_device() 157 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
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()
|
D | qib_driver.c | 194 u32 lstate; in qib_set_linkstate() local 248 lstate = QIBL_LINKV; in qib_set_linkstate() 262 lstate = QIBL_LINKACTIVE; in qib_set_linkstate() 269 ret = qib_wait_linkstate(ppd, lstate, 10); in qib_set_linkstate()
|
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-v5.4/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 223 struct ahc_tmode_lstate *lstate, 3955 struct ahc_tmode_lstate* lstate; in ahc_parse_msg() local 3957 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg() 3958 if (lstate != NULL) { in ahc_parse_msg() 3959 ahc_queue_lstate_event(ahc, lstate, in ahc_parse_msg() 3963 ahc_send_lstate_events(ahc, lstate); in ahc_parse_msg() 4336 struct ahc_tmode_lstate* lstate; in ahc_handle_devreset() local 4338 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset() 4339 if (lstate == NULL) in ahc_handle_devreset() 4342 ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid, in ahc_handle_devreset() [all …]
|
D | aic79xx_core.c | 222 struct ahd_tmode_lstate *lstate, 5462 struct ahd_tmode_lstate* lstate; in ahd_parse_msg() local 5464 lstate = tstate->enabled_luns[devinfo->lun]; in ahd_parse_msg() 5465 if (lstate != NULL) { in ahd_parse_msg() 5466 ahd_queue_lstate_event(ahd, lstate, in ahd_parse_msg() 5470 ahd_send_lstate_events(ahd, lstate); in ahd_parse_msg() 5948 struct ahd_tmode_lstate* lstate; in ahd_handle_devreset() local 5950 lstate = tstate->enabled_luns[cur_lun]; in ahd_handle_devreset() 5951 if (lstate == NULL) in ahd_handle_devreset() 5954 ahd_queue_lstate_event(ahd, lstate, devinfo->our_scsiid, in ahd_handle_devreset() [all …]
|
D | aic7xxx.h | 1242 struct ahc_tmode_lstate **lstate,
|
D | aic79xx.h | 1431 struct ahd_tmode_lstate **lstate,
|
/Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 308 u8 lstate = 0; in ocrdma_add() local 337 status = ocrdma_mbx_get_link_speed(dev, NULL, &lstate); in ocrdma_add() 339 ocrdma_update_link_state(dev, lstate); in ocrdma_add() 429 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate) in ocrdma_update_link_state() argument 433 if (!lstate) in ocrdma_update_link_state() 437 if (!lstate) in ocrdma_update_link_state()
|
D | ocrdma_hw.h | 157 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate);
|
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-v5.4/drivers/net/ethernet/sun/ |
D | sungem.c | 1332 gp->lstate = link_aneg; in gem_begin_auto_negotiation() 1336 gp->lstate = link_force_ok; in gem_begin_auto_negotiation() 1460 switch (gp->lstate) { in gem_mdio_link_not_up() 1467 gp->lstate = link_force_ok; in gem_mdio_link_not_up() 1481 gp->lstate = link_force_try; in gem_mdio_link_not_up() 1520 if (gp->lstate == link_up) in gem_link_timer() 1523 gp->lstate = link_up; in gem_link_timer() 1535 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer() 1536 gp->lstate = link_force_ret; in gem_link_timer() 1543 } else if (gp->lstate != link_up) { in gem_link_timer() [all …]
|
D | cassini.c | 689 int oldstate = cp->lstate; in cas_begin_auto_negotiation() 712 if (cp->lstate == link_up) { in cas_begin_auto_negotiation() 719 cp->lstate = link_down; in cas_begin_auto_negotiation() 750 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 755 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 768 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 770 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 1024 if (cp->lstate != link_up) { in cas_pcs_link_check() 1026 cp->lstate = link_up; in cas_pcs_link_check() 1033 } else if (cp->lstate == link_up) { in cas_pcs_link_check() [all …]
|
D | sungem.h | 1002 enum link_state lstate; member
|
D | cassini.h | 2820 enum link_state lstate; member
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | mad.c | 1954 int lstate; in __subn_set_opa_sc_to_vlt() local 1970 lstate = driver_lstate(ppd); in __subn_set_opa_sc_to_vlt() 1976 (lstate == IB_PORT_ARMED || lstate == IB_PORT_ACTIVE)) { in __subn_set_opa_sc_to_vlt() 2020 int lstate; in __subn_set_opa_sc_to_vlnt() local 2030 lstate = driver_lstate(ppd); in __subn_set_opa_sc_to_vlnt() 2031 if (lstate == IB_PORT_ARMED || lstate == IB_PORT_ACTIVE) { in __subn_set_opa_sc_to_vlnt() 2050 u32 lstate; in __subn_get_opa_psi() local 2063 lstate = driver_lstate(ppd); in __subn_get_opa_psi() 2065 if (start_of_sm_config && (lstate == IB_PORT_INIT)) in __subn_get_opa_psi() 2075 (driver_pstate(ppd) << 4) | (lstate & 0xf); in __subn_get_opa_psi()
|
D | chip.h | 810 const char *opa_lstate_name(u32 lstate);
|
D | chip.c | 12756 const char *opa_lstate_name(u32 lstate) in opa_lstate_name() argument 12766 if (lstate < ARRAY_SIZE(port_logical_names)) in opa_lstate_name() 12767 return port_logical_names[lstate]; in opa_lstate_name()
|