Home
last modified time | relevance | path

Searched refs:event_dev (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/clocksource/
Dtimer-keystone.c45 struct clock_event_device event_dev; member
145 struct clock_event_device *event_dev = &timer.event_dev; in keystone_timer_init() local
198 TIMER_NAME, event_dev); in keystone_timer_init()
205 event_dev->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in keystone_timer_init()
206 event_dev->set_next_event = keystone_set_next_event; in keystone_timer_init()
207 event_dev->set_state_shutdown = keystone_shutdown; in keystone_timer_init()
208 event_dev->set_state_periodic = keystone_set_periodic; in keystone_timer_init()
209 event_dev->set_state_oneshot = keystone_shutdown; in keystone_timer_init()
210 event_dev->cpumask = cpu_possible_mask; in keystone_timer_init()
211 event_dev->owner = THIS_MODULE; in keystone_timer_init()
[all …]
Dasm9260_timer.c155 static struct clock_event_device event_dev = { variable
206 DRIVER_NAME, &event_dev); in asm9260_timer_init()
232 event_dev.cpumask = cpumask_of(0); in asm9260_timer_init()
233 clockevents_config_and_register(&event_dev, rate, 0x2c00, 0xfffffffe); in asm9260_timer_init()
/Linux-v5.4/drivers/input/keyboard/
Dgoldfish_events.c29 struct event_dev { struct
38 struct event_dev *edev = dev_id; in events_interrupt() argument
50 static void events_import_bits(struct event_dev *edev, in events_import_bits()
73 static void events_import_abs_params(struct event_dev *edev) in events_import_abs_params()
105 struct event_dev *edev; in events_probe()
129 sizeof(struct event_dev) + keymapnamelen + 1, in events_probe()
/Linux-v5.4/net/core/
Dfailover.c188 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in failover_event() local
191 if (netif_is_failover(event_dev)) in failover_event()
196 return failover_slave_register(event_dev); in failover_event()
198 return failover_slave_unregister(event_dev); in failover_event()
202 return failover_slave_link_change(event_dev); in failover_event()
204 return failover_slave_name_change(event_dev); in failover_event()
/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c2452 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in netvsc_netdev_event() local
2455 if (event_dev->netdev_ops == &device_ops) in netvsc_netdev_event()
2459 if (event_dev->type != ARPHRD_ETHER) in netvsc_netdev_event()
2463 if (is_vlan_dev(event_dev)) in netvsc_netdev_event()
2467 if ((event_dev->priv_flags & IFF_BONDING) && in netvsc_netdev_event()
2468 (event_dev->flags & IFF_MASTER)) in netvsc_netdev_event()
2473 return netvsc_register_vf(event_dev); in netvsc_netdev_event()
2475 return netvsc_unregister_vf(event_dev); in netvsc_netdev_event()
2478 return netvsc_vf_changed(event_dev); in netvsc_netdev_event()
/Linux-v5.4/net/smc/
Dsmc_pnet.c655 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in smc_pnet_netdev_event() local
660 smc_pnet_remove_by_ndev(event_dev); in smc_pnet_netdev_event()
/Linux-v5.4/drivers/net/bonding/
Dbond_main.c3216 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in bond_netdev_event() local
3218 netdev_dbg(event_dev, "%s received %s\n", in bond_netdev_event()
3221 if (!(event_dev->priv_flags & IFF_BONDING)) in bond_netdev_event()
3224 if (event_dev->flags & IFF_MASTER) { in bond_netdev_event()
3227 ret = bond_master_netdev_event(event, event_dev); in bond_netdev_event()
3232 if (event_dev->flags & IFF_SLAVE) in bond_netdev_event()
3233 return bond_slave_netdev_event(event, event_dev); in bond_netdev_event()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2280 struct net_device *event_dev = ifa->idev->dev; in cxgb4_inet6addr_handler() local
2285 if (is_vlan_dev(event_dev)) in cxgb4_inet6addr_handler()
2286 event_dev = vlan_dev_real_dev(event_dev); in cxgb4_inet6addr_handler()
2288 if (event_dev->flags & IFF_MASTER) { in cxgb4_inet6addr_handler()
2307 if (event_dev) in cxgb4_inet6addr_handler()
2308 parent = event_dev->dev.parent; in cxgb4_inet6addr_handler()
2313 cxgb4_clip_get(event_dev, (const u32 *)ifa, 1); in cxgb4_inet6addr_handler()
2316 cxgb4_clip_release(event_dev, (const u32 *)ifa, 1); in cxgb4_inet6addr_handler()
/Linux-v5.4/net/iucv/
Daf_iucv.c2349 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in afiucv_netdev_event() local
2358 if ((iucv->hs_dev == event_dev) && in afiucv_netdev_event()