Searched refs:devlink_linecard (Results 1 – 6 of 6) sorted by relevance
9 struct devlink_linecard { struct23 unsigned int devlink_linecard_index(struct devlink_linecard *linecard) in devlink_linecard_index() argument28 static struct devlink_linecard *32 struct devlink_linecard *devlink_linecard; in devlink_linecard_get_by_index() local34 list_for_each_entry(devlink_linecard, &devlink->linecard_list, list) { in devlink_linecard_get_by_index()35 if (devlink_linecard->index == linecard_index) in devlink_linecard_get_by_index()36 return devlink_linecard; in devlink_linecard_get_by_index()47 static struct devlink_linecard *52 struct devlink_linecard *linecard; in devlink_linecard_get_from_attrs()62 static struct devlink_linecard *[all …]
1507 struct devlink_linecard *linecard) in devlink_port_linecard_set()
441 devlink_linecard_provision_fail(linecard->devlink_linecard); in mlxsw_linecard_provision_fail()654 devlink_linecard_provision_set(linecard->devlink_linecard, type); in mlxsw_linecard_provision_set()664 devlink_linecard_provision_clear(linecard->devlink_linecard); in mlxsw_linecard_provision_clear()703 devlink_linecard_activate(linecard->devlink_linecard); in mlxsw_linecard_active_set()710 devlink_linecard_deactivate(linecard->devlink_linecard); in mlxsw_linecard_active_clear()1045 static int mlxsw_linecard_provision(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_provision() argument1083 static int mlxsw_linecard_unprovision(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_unprovision() argument1118 static bool mlxsw_linecard_same_provision(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_same_provision() argument1134 mlxsw_linecard_types_count(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_types_count() argument1143 static void mlxsw_linecard_types_get(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_types_get() argument[all …]
145 err = devlink_linecard_nested_dl_set(linecard->devlink_linecard, devlink); in mlxsw_linecard_bdev_probe()
613 struct devlink_linecard *devlink_linecard; member
3091 linecard->devlink_linecard); in __mlxsw_core_port_init()