Searched refs:swdev (Results 1 – 5 of 5) sorted by relevance
40 struct prestera_switchdev *swdev; member102 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() argument441 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() local482 swdev->bridge_8021q_exists = false; in prestera_bridge_destroy()[all …]
289 struct prestera_switchdev *swdev; member
217 dev_t swdev; in snapshot_set_swap_area() local227 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()
2839 struct ksz_device *swdev; in ksz_switch_alloc() local2849 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()
612 http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html