Lines Matching refs:pause_info
1186 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()
1214 pause_info, sizeof(*pause_info), in hinic_set_hw_pause_info()
1215 pause_info, &out_size); in hinic_set_hw_pause_info()
1216 if (err || !out_size || pause_info->status) { in hinic_set_hw_pause_info()
1218 err, pause_info->status, out_size); in hinic_set_hw_pause_info()