/Linux-v5.10/drivers/cpuidle/governors/ |
D | ladder.c | 138 struct ladder_device_state *lstate; in ladder_enable_device() local 145 lstate = &ldev->states[i]; in ladder_enable_device() 147 lstate->stats.promotion_count = 0; in ladder_enable_device() 148 lstate->stats.demotion_count = 0; in ladder_enable_device() 150 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device() 151 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device() 154 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device() 156 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
|
/Linux-v5.10/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.10/drivers/scsi/aic7xxx/ |
D | aic7xxx_core.c | 223 struct ahc_tmode_lstate *lstate, 3939 struct ahc_tmode_lstate* lstate; in ahc_parse_msg() local 3941 lstate = tstate->enabled_luns[devinfo->lun]; in ahc_parse_msg() 3942 if (lstate != NULL) { in ahc_parse_msg() 3943 ahc_queue_lstate_event(ahc, lstate, in ahc_parse_msg() 3947 ahc_send_lstate_events(ahc, lstate); in ahc_parse_msg() 4320 struct ahc_tmode_lstate* lstate; in ahc_handle_devreset() local 4322 lstate = tstate->enabled_luns[lun]; in ahc_handle_devreset() 4323 if (lstate == NULL) in ahc_handle_devreset() 4326 ahc_queue_lstate_event(ahc, lstate, devinfo->our_scsiid, in ahc_handle_devreset() [all …]
|
D | aic79xx_core.c | 222 struct ahd_tmode_lstate *lstate, 5434 struct ahd_tmode_lstate* lstate; in ahd_parse_msg() local 5436 lstate = tstate->enabled_luns[devinfo->lun]; in ahd_parse_msg() 5437 if (lstate != NULL) { in ahd_parse_msg() 5438 ahd_queue_lstate_event(ahd, lstate, in ahd_parse_msg() 5442 ahd_send_lstate_events(ahd, lstate); in ahd_parse_msg() 5920 struct ahd_tmode_lstate* lstate; in ahd_handle_devreset() local 5922 lstate = tstate->enabled_luns[cur_lun]; in ahd_handle_devreset() 5923 if (lstate == NULL) in ahd_handle_devreset() 5926 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.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_main.c | 309 u8 lstate = 0; in ocrdma_add() local 338 status = ocrdma_mbx_get_link_speed(dev, NULL, &lstate); in ocrdma_add() 340 ocrdma_update_link_state(dev, lstate); in ocrdma_add() 430 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate) in ocrdma_update_link_state() argument 434 if (!lstate) in ocrdma_update_link_state() 438 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.10/drivers/net/ethernet/sun/ |
D | sungem.c | 1323 gp->lstate = link_aneg; in gem_begin_auto_negotiation() 1327 gp->lstate = link_force_ok; in gem_begin_auto_negotiation() 1451 switch (gp->lstate) { in gem_mdio_link_not_up() 1458 gp->lstate = link_force_ok; in gem_mdio_link_not_up() 1472 gp->lstate = link_force_try; in gem_mdio_link_not_up() 1511 if (gp->lstate == link_up) in gem_link_timer() 1514 gp->lstate = link_up; in gem_link_timer() 1526 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer() 1527 gp->lstate = link_force_ret; in gem_link_timer() 1534 } else if (gp->lstate != link_up) { in gem_link_timer() [all …]
|
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 …]
|
D | sungem.h | 1002 enum link_state lstate; member
|
D | cassini.h | 2820 enum link_state lstate; member
|
/Linux-v5.10/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 | 816 const char *opa_lstate_name(u32 lstate);
|
D | chip.c | 12922 const char *opa_lstate_name(u32 lstate) in opa_lstate_name() argument 12932 if (lstate < ARRAY_SIZE(port_logical_names)) in opa_lstate_name() 12933 return port_logical_names[lstate]; in opa_lstate_name()
|