Home
last modified time | relevance | path

Searched refs:option_count (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_devlink.c643 u8 option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_port_split() local
648 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_port_split()
660 for (i = 1; i <= option_count; i++) { in ice_devlink_port_split()
665 j = (active_idx + i) % option_count; in ice_devlink_port_split()
958 u8 i, active_idx, pending_idx, option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_set_port_split_options() local
962 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_set_port_split_options()
972 for (i = 0; i < option_count; i++) in ice_devlink_set_port_split_options()
Dice_common.h156 u8 *option_count, u8 lport, bool lport_valid,
Dice_common.c3716 u8 *option_count, u8 lport, bool lport_valid, in ice_aq_get_port_options() argument
3726 if (*option_count < ICE_AQC_PORT_OPT_COUNT_M) in ice_aq_get_port_options()
3737 *option_count * sizeof(*options), NULL); in ice_aq_get_port_options()
3742 *option_count = FIELD_GET(ICE_AQC_PORT_OPT_COUNT_M, in ice_aq_get_port_options()
3744 ice_debug(hw, ICE_DBG_PHY, "options: %x\n", *option_count); in ice_aq_get_port_options()
3750 if (*active_option_idx > (*option_count - 1)) in ice_aq_get_port_options()
3761 if (*pending_option_idx > (*option_count - 1)) in ice_aq_get_port_options()
3768 for (i = 0; i < *option_count; i++) { in ice_aq_get_port_options()
/linux-6.1.9/include/linux/ !
Dif_team.h303 size_t option_count);
306 size_t option_count);
/linux-6.1.9/drivers/net/team/ !
Dteam.c255 size_t option_count) in __team_options_register() argument
261 dst_opts = kcalloc(option_count, sizeof(struct team_option *), in __team_options_register()
265 for (i = 0; i < option_count; i++, option++) { in __team_options_register()
277 for (i = 0; i < option_count; i++) { in __team_options_register()
291 i = option_count; in __team_options_register()
302 size_t option_count) in __team_options_mark_removed() argument
306 for (i = 0; i < option_count; i++, option++) { in __team_options_mark_removed()
317 size_t option_count) in __team_options_unregister() argument
321 for (i = 0; i < option_count; i++, option++) { in __team_options_unregister()
337 size_t option_count) in team_options_register() argument
[all …]