Searched refs:option_count (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | if_team.h | 306 size_t option_count); 309 size_t option_count);
|
/openbmc/linux/drivers/net/team/ |
H A D | team.c | 251 size_t option_count) in __team_options_register() argument 257 dst_opts = kcalloc(option_count, sizeof(struct team_option *), in __team_options_register() 261 for (i = 0; i < option_count; i++, option++) { in __team_options_register() 273 for (i = 0; i < option_count; i++) { in __team_options_register() 289 i = option_count; in __team_options_register() 300 size_t option_count) in __team_options_mark_removed() argument 304 for (i = 0; i < option_count; i++, option++) { in __team_options_mark_removed() 315 size_t option_count) in __team_options_unregister() argument 319 for (i = 0; i < option_count; i++, option++) { in __team_options_unregister() 335 size_t option_count) in team_options_register() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 666 u8 option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_port_split() local 671 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_port_split() 683 for (i = 1; i <= option_count; i++) { in ice_devlink_port_split() 688 j = (active_idx + i) % option_count; in ice_devlink_port_split() 1495 u8 i, active_idx, pending_idx, option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_set_port_split_options() local 1499 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_set_port_split_options() 1509 for (i = 0; i < option_count; i++) in ice_devlink_set_port_split_options()
|
H A D | ice_common.h | 156 u8 *option_count, u8 lport, bool lport_valid,
|
H A D | ice_common.c | 3815 u8 *option_count, u8 lport, bool lport_valid, in ice_aq_get_port_options() argument 3825 if (*option_count < ICE_AQC_PORT_OPT_COUNT_M) in ice_aq_get_port_options() 3836 *option_count * sizeof(*options), NULL); in ice_aq_get_port_options() 3841 *option_count = FIELD_GET(ICE_AQC_PORT_OPT_COUNT_M, in ice_aq_get_port_options() 3843 ice_debug(hw, ICE_DBG_PHY, "options: %x\n", *option_count); in ice_aq_get_port_options() 3849 if (*active_option_idx > (*option_count - 1)) in ice_aq_get_port_options() 3860 if (*pending_option_idx > (*option_count - 1)) in ice_aq_get_port_options() 3867 for (i = 0; i < *option_count; i++) { in ice_aq_get_port_options()
|