/Linux-v6.1/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-v6.1/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 | 195 u32 lstate; in qib_set_linkstate() local 249 lstate = QIBL_LINKV; in qib_set_linkstate() 263 lstate = QIBL_LINKACTIVE; in qib_set_linkstate() 270 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-v6.1/drivers/scsi/aic7xxx/ |
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 …]
|
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 …]
|
D | aic7xxx.h | 1236 struct ahc_tmode_lstate **lstate,
|
D | aic79xx.h | 1427 struct ahd_tmode_lstate **lstate,
|
/Linux-v6.1/drivers/infiniband/hw/ocrdma/ |
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()
|
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-v6.1/drivers/net/ethernet/sun/ |
D | sungem.c | 1322 gp->lstate = link_aneg; in gem_begin_auto_negotiation() 1326 gp->lstate = link_force_ok; in gem_begin_auto_negotiation() 1450 switch (gp->lstate) { in gem_mdio_link_not_up() 1457 gp->lstate = link_force_ok; in gem_mdio_link_not_up() 1471 gp->lstate = link_force_try; in gem_mdio_link_not_up() 1510 if (gp->lstate == link_up) in gem_link_timer() 1513 gp->lstate = link_up; in gem_link_timer() 1525 if (gp->lstate == link_force_try && gp->want_autoneg) { in gem_link_timer() 1526 gp->lstate = link_force_ret; in gem_link_timer() 1533 } else if (gp->lstate != link_up) { in gem_link_timer() [all …]
|
D | cassini.c | 678 int oldstate = cp->lstate; in cas_begin_auto_negotiation() 701 if (cp->lstate == link_up) { in cas_begin_auto_negotiation() 708 cp->lstate = link_down; in cas_begin_auto_negotiation() 739 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 744 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 757 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 759 cp->lstate = link_force_ok; in cas_begin_auto_negotiation() 1013 if (cp->lstate != link_up) { in cas_pcs_link_check() 1015 cp->lstate = link_up; in cas_pcs_link_check() 1022 } 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-v6.1/drivers/scsi/qla2xxx/ |
D | qla_edif.h | 104 int lstate; member
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
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()
|
D | chip.h | 774 const char *opa_lstate_name(u32 lstate);
|
D | chip.c | 12883 const char *opa_lstate_name(u32 lstate) in opa_lstate_name() argument 12893 if (lstate < ARRAY_SIZE(port_logical_names)) in opa_lstate_name() 12894 return port_logical_names[lstate]; in opa_lstate_name()
|