Home
last modified time | relevance | path

Searched refs:devlink_linecard (Results 1 – 6 of 6) sorted by relevance

/linux/net/devlink/
H A Dlinecard.c9 struct devlink_linecard { struct
23 unsigned int devlink_linecard_index(struct devlink_linecard *linecard) in devlink_linecard_index() argument
28 static struct devlink_linecard *
32 struct devlink_linecard *devlink_linecard; in devlink_linecard_get_by_index() local
34 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 …]
H A Dport.c1507 struct devlink_linecard *linecard) in devlink_port_linecard_set()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_linecards.c441 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() argument
1083 static int mlxsw_linecard_unprovision(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_unprovision() argument
1118 static bool mlxsw_linecard_same_provision(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_same_provision() argument
1134 mlxsw_linecard_types_count(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_types_count() argument
1143 static void mlxsw_linecard_types_get(struct devlink_linecard *devlink_linecard, in mlxsw_linecard_types_get() argument
[all …]
H A Dcore_linecard_dev.c145 err = devlink_linecard_nested_dl_set(linecard->devlink_linecard, devlink); in mlxsw_linecard_bdev_probe()
H A Dcore.h613 struct devlink_linecard *devlink_linecard; member
H A Dcore.c3091 linecard->devlink_linecard); in __mlxsw_core_port_init()