/linux-6.3-rc2/drivers/cpuidle/governors/ |
A 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-6.3-rc2/drivers/infiniband/hw/qib/ |
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()
|
A 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()
|
A D | qib_mad.c | 669 u16 lstate; in subn_set_portinfo() local 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() 839 else if (lstate == 3) in subn_set_portinfo() 840 lstate = QIB_IB_LINKDOWN_DISABLE; in subn_set_portinfo() [all …]
|
/linux-6.3-rc2/drivers/scsi/aic7xxx/ |
A D | aic7xxx_core.c | 6683 if (lstate->event_w_idx >= lstate->event_r_idx) in ahc_queue_lstate_event() 6684 pending = lstate->event_w_idx - lstate->event_r_idx; in ahc_queue_lstate_event() 6687 - (lstate->event_r_idx - lstate->event_w_idx); in ahc_queue_lstate_event() 6705 lstate->event_buffer[lstate->event_r_idx].event_type, in ahc_queue_lstate_event() 6706 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahc_queue_lstate_event() 6713 event = &lstate->event_buffer[lstate->event_w_idx]; in ahc_queue_lstate_event() 6732 while (lstate->event_r_idx != lstate->event_w_idx in ahc_send_lstate_events() 6736 event = &lstate->event_buffer[lstate->event_r_idx]; in ahc_send_lstate_events() 7314 *lstate = in ahc_find_tmode_devs() 7491 lstate = kzalloc(sizeof(*lstate), GFP_ATOMIC); in ahc_handle_en_lun() [all …]
|
A D | aic79xx_core.c | 9154 if (lstate->event_w_idx >= lstate->event_r_idx) in ahd_queue_lstate_event() 9155 pending = lstate->event_w_idx - lstate->event_r_idx; in ahd_queue_lstate_event() 9158 - (lstate->event_r_idx - lstate->event_w_idx); in ahd_queue_lstate_event() 9176 lstate->event_buffer[lstate->event_r_idx].event_type, in ahd_queue_lstate_event() 9177 lstate->event_buffer[lstate->event_r_idx].event_arg); in ahd_queue_lstate_event() 9184 event = &lstate->event_buffer[lstate->event_w_idx]; in ahd_queue_lstate_event() 9203 while (lstate->event_r_idx != lstate->event_w_idx in ahd_send_lstate_events() 9207 event = &lstate->event_buffer[lstate->event_r_idx]; in ahd_send_lstate_events() 10210 *lstate = in ahd_find_tmode_devs() 10342 lstate = kzalloc(sizeof(*lstate), GFP_ATOMIC); in ahd_handle_en_lun() [all …]
|
A D | aic7xxx.h | 1236 struct ahc_tmode_lstate **lstate,
|
A D | aic79xx.h | 1427 struct ahd_tmode_lstate **lstate,
|
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/ |
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()
|
A D | ocrdma_hw.h | 157 void ocrdma_update_link_state(struct ocrdma_dev *dev, u8 lstate);
|
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-6.3-rc2/drivers/net/ethernet/sun/ |
A 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() 1513 gp->lstate = link_up; in gem_link_timer() 1534 gp->lstate = link_up; in gem_link_timer() 1544 gp->lstate = link_down; in gem_link_timer() 1729 gp->lstate = link_down; in gem_init_phy() 2250 if (gp->lstate == link_up) in gem_reset_task() 2262 if (gp->lstate != link_up) in gem_reset_task() 2513 if (gp->lstate == link_up) in gem_change_mtu() [all …]
|
A D | cassini.c | 676 int oldstate = cp->lstate; in cas_begin_auto_negotiation() 706 cp->lstate = link_down; in cas_begin_auto_negotiation() 737 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 755 cp->lstate = link_aneg; in cas_begin_auto_negotiation() 1013 cp->lstate = link_up; in cas_pcs_link_check() 1021 cp->lstate = link_down; in cas_pcs_link_check() 1543 switch (cp->lstate) { in cas_mdio_link_not_up() 1623 cp->lstate = link_up; in cas_mii_link_check() 1639 cp->lstate = link_down; in cas_mii_link_check() 4494 linkstate = cp->lstate; in cas_get_link_ksettings() [all …]
|
A D | sungem.h | 1002 enum link_state lstate; member
|
A D | cassini.h | 2820 enum link_state lstate; member
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_edif.h | 104 int lstate; member
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
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()
|
A D | chip.h | 774 const char *opa_lstate_name(u32 lstate);
|
A 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()
|