Lines Matching refs:standalone_work
29 struct dsa_standalone_event_work *standalone_work = in dsa_slave_standalone_event_work() local
31 const unsigned char *addr = standalone_work->addr; in dsa_slave_standalone_event_work()
32 struct net_device *dev = standalone_work->dev; in dsa_slave_standalone_event_work()
36 u16 vid = standalone_work->vid; in dsa_slave_standalone_event_work()
39 switch (standalone_work->event) { in dsa_slave_standalone_event_work()
85 kfree(standalone_work); in dsa_slave_standalone_event_work()
93 struct dsa_standalone_event_work *standalone_work; in dsa_slave_schedule_standalone_work() local
95 standalone_work = kzalloc(sizeof(*standalone_work), GFP_ATOMIC); in dsa_slave_schedule_standalone_work()
96 if (!standalone_work) in dsa_slave_schedule_standalone_work()
99 INIT_WORK(&standalone_work->work, dsa_slave_standalone_event_work); in dsa_slave_schedule_standalone_work()
100 standalone_work->event = event; in dsa_slave_schedule_standalone_work()
101 standalone_work->dev = dev; in dsa_slave_schedule_standalone_work()
103 ether_addr_copy(standalone_work->addr, addr); in dsa_slave_schedule_standalone_work()
104 standalone_work->vid = vid; in dsa_slave_schedule_standalone_work()
106 dsa_schedule_work(&standalone_work->work); in dsa_slave_schedule_standalone_work()