Home
last modified time | relevance | path

Searched refs:pause_info (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c1186 struct hinic_pause_config *pause_info) in hinic_get_hw_pause_info() argument
1188 u16 out_size = sizeof(*pause_info); in hinic_get_hw_pause_info()
1191 pause_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_get_hw_pause_info()
1194 pause_info, sizeof(*pause_info), in hinic_get_hw_pause_info()
1195 pause_info, &out_size); in hinic_get_hw_pause_info()
1196 if (err || !out_size || pause_info->status) { in hinic_get_hw_pause_info()
1198 err, pause_info->status, out_size); in hinic_get_hw_pause_info()
1206 struct hinic_pause_config *pause_info) in hinic_set_hw_pause_info() argument
1208 u16 out_size = sizeof(*pause_info); in hinic_set_hw_pause_info()
1211 pause_info->func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_hw_pause_info()
[all …]
Dhinic_ethtool.c261 struct hinic_pause_config pause_info = { 0 }; in hinic_get_link_ksettings() local
310 err = hinic_get_hw_pause_info(nic_dev->hwdev, &pause_info); in hinic_get_link_ksettings()
314 if (pause_info.rx_pause && pause_info.tx_pause) { in hinic_get_link_ksettings()
316 } else if (pause_info.tx_pause) { in hinic_get_link_ksettings()
318 } else if (pause_info.rx_pause) { in hinic_get_link_ksettings()
830 struct hinic_pause_config pause_info = {0}; in hinic_get_pauseparam() local
836 err = hinic_get_hw_pause_info(nic_dev->hwdev, &pause_info); in hinic_get_pauseparam()
838 pause->autoneg = pause_info.auto_neg; in hinic_get_pauseparam()
839 if (nic_cfg->pause_set || !pause_info.auto_neg) { in hinic_get_pauseparam()
843 pause->rx_pause = pause_info.rx_pause; in hinic_get_pauseparam()
[all …]
Dhinic_main.c939 struct hinic_pause_config pause_info = {0}; in hinic_refresh_nic_cfg() local
948 pause_info.auto_neg = nic_cfg->auto_neg; in hinic_refresh_nic_cfg()
949 pause_info.rx_pause = nic_cfg->rx_pause; in hinic_refresh_nic_cfg()
950 pause_info.tx_pause = nic_cfg->tx_pause; in hinic_refresh_nic_cfg()
951 hinic_set_hw_pause_info(nic_dev->hwdev, &pause_info); in hinic_refresh_nic_cfg()
Dhinic_port.h859 struct hinic_pause_config *pause_info);
862 struct hinic_pause_config *pause_info);