Searched refs:option_count (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 188 u8 option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_port_split() local 193 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_port_split() 205 for (i = 1; i <= option_count; i++) { in ice_devlink_port_split() 210 j = (active_idx + i) % option_count; in ice_devlink_port_split() 273 u8 i, active_idx, pending_idx, option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_set_port_split_options() local 277 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_set_port_split_options() 287 for (i = 0; i < option_count; i++) in ice_devlink_set_port_split_options()
|
| /linux/include/linux/ |
| H A D | if_team.h | 303 size_t option_count); 306 size_t option_count);
|
| /linux/drivers/net/team/ |
| H A D | team_core.c | 253 size_t option_count) in __team_options_register() argument 259 dst_opts = kzalloc_objs(struct team_option *, option_count); in __team_options_register() 262 for (i = 0; i < option_count; i++, option++) { in __team_options_register() 274 for (i = 0; i < option_count; i++) { in __team_options_register() 290 i = option_count; in __team_options_register() 301 size_t option_count) in __team_options_mark_removed() argument 305 for (i = 0; i < option_count; i++, option++) { in __team_options_mark_removed() 316 size_t option_count) in __team_options_unregister() argument 320 for (i = 0; i < option_count; i++, option++) { in __team_options_unregister() 336 size_t option_count) in team_options_register() argument [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 4249 u8 *option_count, u8 lport, bool lport_valid, in ice_aq_get_port_options() argument 4259 if (*option_count < ICE_AQC_PORT_OPT_COUNT_M) in ice_aq_get_port_options() 4270 *option_count * sizeof(*options), NULL); in ice_aq_get_port_options() 4275 *option_count = FIELD_GET(ICE_AQC_PORT_OPT_COUNT_M, in ice_aq_get_port_options() 4277 ice_debug(hw, ICE_DBG_PHY, "options: %x\n", *option_count); in ice_aq_get_port_options() 4283 if (*active_option_idx > (*option_count - 1)) in ice_aq_get_port_options() 4294 if (*pending_option_idx > (*option_count - 1)) in ice_aq_get_port_options() 4301 for (i = 0; i < *option_count; i++) { in ice_aq_get_port_options()
|
| H A D | ice_ethtool.c | 482 u8 option_count = ICE_AQC_PORT_OPT_MAX; in ice_ethtool_get_maxspeed() local 486 status = ice_aq_get_port_options(hw, options, &option_count, lport, in ice_ethtool_get_maxspeed()
|