Searched refs:active_idx (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink_port.c | 51 u8 i, j, options_count, cnt, speed, pending_idx, active_idx; in ice_devlink_port_options_print() local 70 i, true, &active_idx, in ice_devlink_port_options_print() 184 u8 i, j, active_idx, pending_idx, new_option; in ice_devlink_port_split() local 192 0, true, &active_idx, &active_valid, in ice_devlink_port_split() 202 active_idx = pending_valid ? pending_idx : active_idx; in ice_devlink_port_split() 208 j = (active_idx + i) % option_count; in ice_devlink_port_split() 216 if (new_option == active_idx) { in ice_devlink_port_split() 271 u8 i, active_idx, pending_idx, option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_set_port_split_options() local 276 0, true, &active_idx, &active_valid, in ice_devlink_set_port_split_options() 289 ice_active_port_option = active_idx; in ice_devlink_set_port_split_options()
|
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 190 u8 active_idx; member 393 uc->updated[new_cam].active_idx = cam; in ucsi_ccg_update_get_current_cam_cmd() 523 new_port->active_idx = cam; in ucsi_ccg_update_set_new_cam_cmd() 525 cam = new_port->active_idx; in ucsi_ccg_update_set_new_cam_cmd()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 483 u8 active_idx = 0, pending_idx = 0; in ice_ethtool_get_maxspeed() local 487 true, &active_idx, &active_valid, in ice_ethtool_get_maxspeed() 494 *max_speed = options[active_idx].max_lane_speed & ICE_AQC_PORT_OPT_MAX_LANE_M; in ice_ethtool_get_maxspeed()
|