Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c40 struct prestera_switchdev *swdev; member
102 list_for_each_entry(bridge, &sw->swdev->bridge_list, head) in prestera_bridge_find()
434 prestera_bridge_create(struct prestera_switchdev *swdev, struct net_device *dev) in prestera_bridge_create() argument
441 if (vlan_enabled && swdev->bridge_8021q_exists) { in prestera_bridge_create()
451 swdev->bridge_8021q_exists = true; in prestera_bridge_create()
453 err = prestera_hw_bridge_create(swdev->sw, &bridge_id); in prestera_bridge_create()
463 bridge->swdev = swdev; in prestera_bridge_create()
470 list_add(&bridge->head, &swdev->bridge_list); in prestera_bridge_create()
477 struct prestera_switchdev *swdev = bridge->swdev; in prestera_bridge_destroy() local
482 swdev->bridge_8021q_exists = false; in prestera_bridge_destroy()
[all …]
Dprestera.h289 struct prestera_switchdev *swdev; member
/Linux-v6.1/kernel/power/
Duser.c217 dev_t swdev; in snapshot_set_swap_area() local
227 swdev = new_decode_dev(swap_area.dev); in snapshot_set_swap_area()
234 swdev = new_decode_dev(swap_area.dev); in snapshot_set_swap_area()
242 data->swap = swap_type_of(swdev, offset); in snapshot_set_swap_area()
244 return swdev ? -ENODEV : -EINVAL; in snapshot_set_swap_area()
245 data->dev = swdev; in snapshot_set_swap_area()
/Linux-v6.1/drivers/net/dsa/microchip/
Dksz_common.c2839 struct ksz_device *swdev; in ksz_switch_alloc() local
2849 swdev = devm_kzalloc(base, sizeof(*swdev), GFP_KERNEL); in ksz_switch_alloc()
2850 if (!swdev) in ksz_switch_alloc()
2853 ds->priv = swdev; in ksz_switch_alloc()
2854 swdev->dev = base; in ksz_switch_alloc()
2856 swdev->ds = ds; in ksz_switch_alloc()
2857 swdev->priv = priv; in ksz_switch_alloc()
2859 return swdev; in ksz_switch_alloc()
/Linux-v6.1/Documentation/arm64/
Dsve.rst612 http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html