Home
last modified time | relevance | path

Searched refs:current_mode (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Decpp.c617 int current_mode = pp->current_mode; in ecpp_attach() local
620 (void) ecpp_mode_negotiation(pp, current_mode); in ecpp_attach()
1055 pp->current_mode = ECPP_CENTRONICS; in ecpp_open()
1122 pp->current_mode, pp->current_phase, in ecpp_open()
1208 if ((pp->current_mode == ECPP_ECP_MODE) && in ecpp_close()
1525 pp->xfer_parms.mode = pp->current_mode; in ecpp_putioc()
1536 if (pp->current_mode != ECPP_DIAG_MODE) { in ecpp_putioc()
1553 if (pp->current_mode != ECPP_DIAG_MODE) { in ecpp_putioc()
1578 if (pp->current_mode != ECPP_DIAG_MODE) { in ecpp_putioc()
1600 if (pp->current_mode != ECPP_DIAG_MODE) { in ecpp_putioc()
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_mac.c548 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic()
551 hw->fc.current_mode); in igc_setup_link_generic()
615 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic()
667 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic()
669 switch (hw->fc.current_mode) { in igc_force_mac_fc_generic()
797 hw->fc.current_mode = igc_fc_full; in igc_config_fc_after_link_up_generic()
800 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic()
815 hw->fc.current_mode = igc_fc_tx_pause; in igc_config_fc_after_link_up_generic()
829 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up_generic()
835 hw->fc.current_mode = igc_fc_none; in igc_config_fc_after_link_up_generic()
[all …]
H A Digc_phy.c403 switch (hw->fc.current_mode) { in igc_phy_setup_autoneg()
598 hw->fc.current_mode = igc_fc_none; in igc_phy_force_speed_duplex_setup()
H A Digc_hw.h502 enum igc_fc_mode current_mode; /* FC mode in effect */ member
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c1026 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1029 hw->fc.current_mode); in e1000_setup_link_generic()
1081 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1262 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1314 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000_force_mac_fc_generic()
1316 switch (hw->fc.current_mode) { in e1000_force_mac_fc_generic()
1458 hw->fc.current_mode = e1000_fc_full; in e1000_config_fc_after_link_up_generic()
1461 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
1476 hw->fc.current_mode = e1000_fc_tx_pause; in e1000_config_fc_after_link_up_generic()
1490 hw->fc.current_mode = e1000_fc_rx_pause; in e1000_config_fc_after_link_up_generic()
[all …]
H A De1000_82542.c337 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542()
340 hw->fc.current_mode); in e1000_setup_link_82542()
H A De1000_hw.h962 enum e1000_fc_mode current_mode; /* FC mode in effect */ member
H A De1000_phy.c1565 switch (hw->fc.current_mode) { in e1000_phy_setup_autoneg()
2022 hw->fc.current_mode = e1000_fc_none; in e1000_phy_force_speed_duplex_setup()
H A De1000_ich8lan.c5311 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_ich8lan()
5314 hw->fc.current_mode); in e1000_setup_link_ich8lan()
/illumos-gate/usr/src/uts/sun4u/tazmo/io/
H A Denvctrl.c904 unitp->current_mode = ENVCTRL_NORMAL_MODE; in envctrl_close()
971 if (unitp->current_mode == ENVCTRL_DIAG_MODE) { in envctrl_wput()
992 if (unitp->current_mode == ENVCTRL_DIAG_MODE && in envctrl_wput()
1002 if (unitp->current_mode == ENVCTRL_DIAG_MODE && in envctrl_wput()
1016 if (unitp->current_mode == ENVCTRL_DIAG_MODE && in envctrl_wput()
1112 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) { in envctrl_wput()
1218 *tempr = unitp->current_mode; in envctrl_wput()
1229 unitp->current_mode = *wdval; in envctrl_wput()
1256 unitp->current_mode = in envctrl_wput()
1259 unitp->current_mode = in envctrl_wput()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h155 int current_mode; /* 1284 mode */ member
506 ((pp)->current_mode == ECPP_CENTRONICS || \
507 (pp)->current_mode == ECPP_COMPAT_MODE))
510 ((pp)->current_mode == ECPP_CENTRONICS || \
511 (pp)->current_mode == ECPP_COMPAT_MODE))
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c403 unitp->current_mode = ENVCTRL_NORMAL_MODE; in envctrl_attach()
774 unitp->current_mode = ENVCTRL_NORMAL_MODE; in envctrl_close()
828 unitp->current_mode = wdval; in envctrl_ioctl()
856 unitp->current_mode = ENVCTRL_DIAG_MODE; in envctrl_ioctl()
858 unitp->current_mode = ENVCTRL_NORMAL_MODE; in envctrl_ioctl()
866 wdval = unitp->current_mode; in envctrl_ioctl()
877 if (unitp->current_mode == ENVCTRL_DIAG_MODE) { in envctrl_ioctl()
925 if (unitp->current_mode == ENVCTRL_DIAG_MODE) { in envctrl_ioctl()
1012 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) { in envctrl_ioctl()
1097 if (unitp->current_mode != ENVCTRL_DIAG_MODE) { in envctrl_ioctl()
[all …]
/illumos-gate/usr/src/uts/sun4u/javelin/sys/
H A Denvctrltwo.h65 int current_mode; /* NORMAL or DIAG_MODE */ member
/illumos-gate/usr/src/uts/common/io/igc/
H A Digc_gld.c272 *valp = (igc->igc_hw.fc.current_mode == igc_fc_full || in igc_m_getstat()
273 igc->igc_hw.fc.current_mode == igc_fc_rx_pause); in igc_m_getstat()
276 *valp = (igc->igc_hw.fc.current_mode == igc_fc_full || in igc_m_getstat()
277 igc->igc_hw.fc.current_mode == igc_fc_tx_pause); in igc_m_getstat()
H A Digc.c1765 igc->igc_hw.fc.current_mode = igc_fc_default; in igc_attach()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_ue450.h666 int current_mode; /* NORMAL or DIAG_MODE */ member
H A Denvctrl.h745 int current_mode; /* NORMAL or DIAG_MODE */ member
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_fp.c1067 uint32_t current_mode, expected_mode; in softmac_datapath_switch() local
1072 current_mode = DATAPATH_MODE(softmac); in softmac_datapath_switch()
1087 if (current_mode == expected_mode) { in softmac_datapath_switch()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c430 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
481 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
525 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
H A Dixgbe_common.c2831 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2862 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic()
2908 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2973 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc()
2976 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2981 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc()
2985 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2988 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc()
3161 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
H A Dixgbe_x550.c4058 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg_backplane_x550em_a()
4070 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg_fiber_x550em_a()
4124 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg_sgmii_x550em_a()
H A Dixgbe_type.h3796 enum ixgbe_fc_mode current_mode; /* FC mode in effect */ member
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c1566 u32 current_mode = 0; in i40e_led_get() local
1582 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_get()
1584 switch (current_mode) { in i40e_led_get()
1613 u32 current_mode = 0; in i40e_led_set() local
1633 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_set()
1635 switch (current_mode) { in i40e_led_set()
2033 hw->fc.current_mode = I40E_FC_FULL; in i40e_aq_get_link_info()
2035 hw->fc.current_mode = I40E_FC_TX_PAUSE; in i40e_aq_get_link_info()
2037 hw->fc.current_mode = I40E_FC_RX_PAUSE; in i40e_aq_get_link_info()
2039 hw->fc.current_mode = I40E_FC_NONE; in i40e_aq_get_link_info()
H A Di40e_type.h629 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c3630 switch (fc->current_mode) { in e1000g_m_getprop()