Home
last modified time | relevance | path

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

/titanic_50/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 …]
/titanic_50/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.h881 enum e1000_fc_mode current_mode; /* FC mode in effect */ member
H A De1000_phy.c1564 switch (hw->fc.current_mode) { in e1000_phy_setup_autoneg()
2021 hw->fc.current_mode = e1000_fc_none; in e1000_phy_force_speed_duplex_setup()
H A De1000_ich8lan.c5246 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_ich8lan()
5249 hw->fc.current_mode); in e1000_setup_link_ich8lan()
/titanic_50/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 …]
/titanic_50/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))
/titanic_50/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 …]
/titanic_50/usr/src/uts/sun4u/javelin/sys/
H A Denvctrltwo.h65 int current_mode; /* NORMAL or DIAG_MODE */ member
/titanic_50/usr/src/uts/sun4u/montecarlo/sys/
H A Dpcf8591_nct.h211 uint8_t current_mode; member
H A Dpcf8574_nct.h312 uint8_t current_mode; member
/titanic_50/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
/titanic_50/usr/src/uts/sun4u/montecarlo/io/
H A Dpcf8591_nct.c555 uint8_t curr_mode = unitp->current_mode; in pcf8591_ioctl()
573 unitp->current_mode = curr_mode; /* Don't do anything */ in pcf8591_ioctl()
801 unitp->current_mode = ENVCTRL_NORMAL_MODE; /* normal mode */ in pcf8591_do_attach()
H A Dpcf8574_nct.c488 unitp->current_mode = ENVCTRL_NORMAL_MODE; in pcf8574_do_attach()
1057 if (unitp->current_mode != ENVCTRL_DIAG_MODE) { in pcf8574_ioctl()
1143 uint8_t curr_mode = unitp->current_mode; in pcf8574_ioctl()
1161 unitp->current_mode = curr_mode; /* Don't do anything */ in pcf8574_ioctl()
/titanic_50/usr/src/uts/common/io/softmac/
H A Dsoftmac_fp.c1092 uint32_t current_mode, expected_mode; in softmac_datapath_switch() local
1097 current_mode = DATAPATH_MODE(softmac); in softmac_datapath_switch()
1112 if (current_mode == expected_mode) { in softmac_datapath_switch()
/titanic_50/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c429 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
480 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
524 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
H A Dixgbe_common.c2730 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2761 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic()
2807 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic()
2872 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc()
2875 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2880 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc()
2884 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc()
2887 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc()
3060 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
H A Dixgbe_type.h3551 enum ixgbe_fc_mode current_mode; /* FC mode in effect */ member
/titanic_50/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c1488 u32 current_mode = 0; in i40e_led_get() local
1504 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_get()
1506 switch (current_mode) { in i40e_led_get()
1534 u32 current_mode = 0; in i40e_led_set() local
1552 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_set()
1554 switch (current_mode) { in i40e_led_set()
1894 hw->fc.current_mode = I40E_FC_FULL; in i40e_aq_get_link_info()
1896 hw->fc.current_mode = I40E_FC_TX_PAUSE; in i40e_aq_get_link_info()
1898 hw->fc.current_mode = I40E_FC_RX_PAUSE; in i40e_aq_get_link_info()
1900 hw->fc.current_mode = I40E_FC_NONE; in i40e_aq_get_link_info()
H A Di40e_type.h555 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
/titanic_50/usr/src/uts/common/io/e1000g/
H A De1000g_main.c3592 switch (fc->current_mode) { in e1000g_m_getprop()