Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/char/agp/
Dgeneric.c479 static void agp_v2_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_agpstat) in agp_v2_parse_one() argument
483 if (*requested_mode & AGP2_RESERVED_MASK) { in agp_v2_parse_one()
485 *requested_mode & AGP2_RESERVED_MASK, *requested_mode); in agp_v2_parse_one()
486 *requested_mode &= ~AGP2_RESERVED_MASK; in agp_v2_parse_one()
515 tmp = *requested_mode & 7; in agp_v2_parse_one()
519 *requested_mode |= AGPSTAT2_1X; in agp_v2_parse_one()
525 *requested_mode &= ~(AGPSTAT2_1X); /* rate=2 */ in agp_v2_parse_one()
532 *requested_mode &= ~(AGPSTAT2_1X|AGPSTAT2_2X); /* rate=4*/ in agp_v2_parse_one()
537 …if (!((*bridge_agpstat & AGPSTAT_SBA) && (*vga_agpstat & AGPSTAT_SBA) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
541 …if (!((*bridge_agpstat & AGPSTAT2_4X) && (*vga_agpstat & AGPSTAT2_4X) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_mac.c132 if (hw->fc.requested_mode == igc_fc_default) in igc_setup_link()
133 hw->fc.requested_mode = igc_fc_full; in igc_setup_link()
139 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link()
550 if (hw->fc.requested_mode == igc_fc_full) { in igc_config_fc_after_link_up()
607 else if ((hw->fc.requested_mode == igc_fc_none) || in igc_config_fc_after_link_up()
608 (hw->fc.requested_mode == igc_fc_tx_pause) || in igc_config_fc_after_link_up()
Digc_ethtool.c734 hw->fc.requested_mode = igc_fc_default; in igc_ethtool_set_pauseparam()
743 hw->fc.requested_mode = igc_fc_full; in igc_ethtool_set_pauseparam()
745 hw->fc.requested_mode = igc_fc_rx_pause; in igc_ethtool_set_pauseparam()
747 hw->fc.requested_mode = igc_fc_tx_pause; in igc_ethtool_set_pauseparam()
749 hw->fc.requested_mode = igc_fc_none; in igc_ethtool_set_pauseparam()
751 hw->fc.current_mode = hw->fc.requested_mode; in igc_ethtool_set_pauseparam()
1735 switch (hw->fc.requested_mode) { in igc_ethtool_get_link_ksettings()
1848 hw->fc.requested_mode = igc_fc_default; in igc_ethtool_set_link_ksettings()
Digc_hw.h171 enum igc_fc_mode requested_mode; member
Digc_main.c104 fc->current_mode = fc->requested_mode; in igc_reset()
6571 hw->fc.requested_mode = igc_fc_default; in igc_probe()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
De1000_mac.c691 if (hw->fc.requested_mode == e1000_fc_default) { in igb_setup_link()
701 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link()
817 hw->fc.requested_mode = e1000_fc_none; in igb_set_default_fc()
819 hw->fc.requested_mode = e1000_fc_tx_pause; in igb_set_default_fc()
821 hw->fc.requested_mode = e1000_fc_full; in igb_set_default_fc()
1005 if (hw->fc.requested_mode == e1000_fc_full) { in igb_config_fc_after_link_up()
1061 else if ((hw->fc.requested_mode == e1000_fc_none) || in igb_config_fc_after_link_up()
1062 (hw->fc.requested_mode == e1000_fc_tx_pause) || in igb_config_fc_after_link_up()
1160 if (hw->fc.requested_mode == e1000_fc_full) { in igb_config_fc_after_link_up()
Digb_ethtool.c198 switch (hw->fc.requested_mode) { in igb_get_link_ksettings()
326 hw->fc.requested_mode = e1000_fc_default; in igb_set_link_ksettings()
412 hw->fc.requested_mode = e1000_fc_default; in igb_set_pauseparam()
421 hw->fc.requested_mode = e1000_fc_full; in igb_set_pauseparam()
423 hw->fc.requested_mode = e1000_fc_rx_pause; in igb_set_pauseparam()
425 hw->fc.requested_mode = e1000_fc_tx_pause; in igb_set_pauseparam()
427 hw->fc.requested_mode = e1000_fc_none; in igb_set_pauseparam()
429 hw->fc.current_mode = hw->fc.requested_mode; in igb_set_pauseparam()
De1000_hw.h471 enum e1000_fc_mode requested_mode; member
De1000_82575.c1754 switch (hw->fc.requested_mode) { in igb_setup_serdes_link_82575()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dmac.c649 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic()
651 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic()
653 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic()
681 if (hw->fc.requested_mode == e1000_fc_default) { in e1000e_setup_link_generic()
690 hw->fc.current_mode = hw->fc.requested_mode; in e1000e_setup_link_generic()
1103 if (hw->fc.requested_mode == e1000_fc_full) { in e1000e_config_fc_after_link_up()
1236 if (hw->fc.requested_mode == e1000_fc_full) { in e1000e_config_fc_after_link_up()
Dethtool.c312 hw->fc.requested_mode = e1000_fc_default; in e1000_set_link_ksettings()
381 hw->fc.requested_mode = e1000_fc_default; in e1000_set_pauseparam()
390 hw->fc.requested_mode = e1000_fc_full; in e1000_set_pauseparam()
392 hw->fc.requested_mode = e1000_fc_rx_pause; in e1000_set_pauseparam()
394 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_pauseparam()
396 hw->fc.requested_mode = e1000_fc_none; in e1000_set_pauseparam()
398 hw->fc.current_mode = hw->fc.requested_mode; in e1000_set_pauseparam()
Dhw.h667 enum e1000_fc_mode requested_mode; /* FC mode requested by caller */ member
D82571.c1404 if (hw->fc.requested_mode == e1000_fc_default) in e1000_setup_link_82571()
1405 hw->fc.requested_mode = e1000_fc_full; in e1000_setup_link_82571()
Dich8lan.c4996 if (hw->fc.requested_mode == e1000_fc_default) { in e1000_setup_link_ich8lan()
4999 hw->fc.requested_mode = e1000_fc_rx_pause; in e1000_setup_link_ich8lan()
5001 hw->fc.requested_mode = e1000_fc_full; in e1000_setup_link_ich8lan()
5007 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_ich8lan()
Dnetdev.c4029 fc->current_mode = fc->requested_mode; in e1000e_reset()
7608 adapter->hw.fc.requested_mode = e1000_fc_default; in e1000_probe()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c569 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) { in ixgbe_setup_fw_link()
574 switch (hw->fc.requested_mode) { in ixgbe_setup_fw_link()
616 if (hw->fc.requested_mode == ixgbe_fc_default) in ixgbe_fc_autoneg_fw()
617 hw->fc.requested_mode = ixgbe_fc_full; in ixgbe_fc_autoneg_fw()
2184 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg_sgmii_x550em_a()
2908 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) { in ixgbe_setup_fc_x550em()
2916 if (hw->fc.requested_mode == ixgbe_fc_default) in ixgbe_setup_fc_x550em()
2917 hw->fc.requested_mode = ixgbe_fc_full; in ixgbe_setup_fc_x550em()
2920 switch (hw->fc.requested_mode) { in ixgbe_setup_fc_x550em()
3052 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg_backplane_x550em_a()
[all …]
Dixgbe_82598.c307 switch (hw->fc.requested_mode) { in ixgbe_fc_enable_82598()
309 hw->fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_fc_enable_82598()
312 hw->fc.requested_mode = ixgbe_fc_none; in ixgbe_fc_enable_82598()
Dixgbe_common.c125 if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) { in ixgbe_setup_fc_generic()
134 if (hw->fc.requested_mode == ixgbe_fc_default) in ixgbe_setup_fc_generic()
135 hw->fc.requested_mode = ixgbe_fc_full; in ixgbe_setup_fc_generic()
172 switch (hw->fc.requested_mode) { in ixgbe_setup_fc_generic()
2282 if (hw->fc.requested_mode == ixgbe_fc_full) { in ixgbe_negotiate_fc()
2457 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
Dixgbe_ethtool.c405 switch (hw->fc.requested_mode) { in ixgbe_get_link_ksettings()
585 fc.requested_mode = ixgbe_fc_full; in ixgbe_set_pauseparam()
587 fc.requested_mode = ixgbe_fc_rx_pause; in ixgbe_set_pauseparam()
589 fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_set_pauseparam()
591 fc.requested_mode = ixgbe_fc_none; in ixgbe_set_pauseparam()
Dixgbe_lib.c1194 adapter->hw.fc.requested_mode = adapter->last_lfc_mode; in ixgbe_set_interrupt_capability()
Dixgbe_main.c6457 hw->fc.requested_mode = ixgbe_fc_full; in ixgbe_sw_init()
9276 adapter->last_lfc_mode = adapter->hw.fc.requested_mode; in ixgbe_setup_tc()
9277 adapter->hw.fc.requested_mode = ixgbe_fc_none; in ixgbe_setup_tc()
9283 adapter->hw.fc.requested_mode = adapter->last_lfc_mode; in ixgbe_setup_tc()
Dixgbe_type.h3309 enum ixgbe_fc_mode requested_mode; /* FC mode requested by caller */ member
/linux-6.1.9/ipc/
Dutil.c556 int requested_mode, granted_mode; in ipcperms() local
559 requested_mode = (flag >> 6) | (flag >> 3) | flag; in ipcperms()
567 if ((requested_mode & ~granted_mode & 0007) && in ipcperms()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1121 switch (hw->fc.requested_mode) { in i40e_get_link_ksettings()
1735 hw->fc.requested_mode = I40E_FC_FULL; in i40e_set_pauseparam()
1737 hw->fc.requested_mode = I40E_FC_RX_PAUSE; in i40e_set_pauseparam()
1739 hw->fc.requested_mode = I40E_FC_TX_PAUSE; in i40e_set_pauseparam()
1741 hw->fc.requested_mode = I40E_FC_NONE; in i40e_set_pauseparam()
Di40e_type.h468 enum i40e_fc_mode requested_mode; /* FC mode requested by caller */ member

12