Home
last modified time | relevance | path

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

/drivers/clocksource/
Dtimer-keystone.c49 struct clock_event_device event_dev; member
149 struct clock_event_device *event_dev = &timer.event_dev; in keystone_timer_init() local
202 TIMER_NAME, event_dev); in keystone_timer_init()
209 event_dev->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in keystone_timer_init()
210 event_dev->set_next_event = keystone_set_next_event; in keystone_timer_init()
211 event_dev->set_state_shutdown = keystone_shutdown; in keystone_timer_init()
212 event_dev->set_state_periodic = keystone_set_periodic; in keystone_timer_init()
213 event_dev->set_state_oneshot = keystone_shutdown; in keystone_timer_init()
214 event_dev->cpumask = cpu_all_mask; in keystone_timer_init()
215 event_dev->owner = THIS_MODULE; in keystone_timer_init()
[all …]
Dasm9260_timer.c159 static struct clock_event_device event_dev = { variable
214 DRIVER_NAME, &event_dev); in asm9260_timer_init()
240 event_dev.cpumask = cpumask_of(0); in asm9260_timer_init()
241 clockevents_config_and_register(&event_dev, rate, 0x2c00, 0xfffffffe); in asm9260_timer_init()
/drivers/input/keyboard/
Dgoldfish_rotary.c32 struct event_dev { struct
40 static irqreturn_t rotary_interrupt_impl(struct event_dev *edev) in rotary_interrupt_impl() argument
54 struct event_dev *edev = dev_id; in rotary_interrupt()
62 static void rotary_import_bits(struct event_dev *edev, in rotary_import_bits()
86 static void rotary_import_abs_params(struct event_dev *edev) in rotary_import_abs_params()
117 struct event_dev *edev; in rotary_probe()
141 sizeof(struct event_dev) + keymapnamelen + 1, in rotary_probe()
/drivers/net/hyperv/
Dnetvsc_drv.c2219 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in netvsc_netdev_event() local
2222 if (event_dev->netdev_ops == &device_ops) in netvsc_netdev_event()
2226 if (event_dev->type != ARPHRD_ETHER) in netvsc_netdev_event()
2230 if (is_vlan_dev(event_dev)) in netvsc_netdev_event()
2234 if ((event_dev->priv_flags & IFF_BONDING) && in netvsc_netdev_event()
2235 (event_dev->flags & IFF_MASTER)) in netvsc_netdev_event()
2240 return netvsc_register_vf(event_dev); in netvsc_netdev_event()
2242 return netvsc_unregister_vf(event_dev); in netvsc_netdev_event()
2245 return netvsc_vf_changed(event_dev); in netvsc_netdev_event()
/drivers/net/bonding/
Dbond_main.c3173 struct net_device *event_dev = netdev_notifier_info_to_dev(ptr); in bond_netdev_event() local
3175 netdev_dbg(event_dev, "event: %lx\n", event); in bond_netdev_event()
3177 if (!(event_dev->priv_flags & IFF_BONDING)) in bond_netdev_event()
3180 if (event_dev->flags & IFF_MASTER) { in bond_netdev_event()
3183 netdev_dbg(event_dev, "IFF_MASTER\n"); in bond_netdev_event()
3184 ret = bond_master_netdev_event(event, event_dev); in bond_netdev_event()
3189 if (event_dev->flags & IFF_SLAVE) { in bond_netdev_event()
3190 netdev_dbg(event_dev, "IFF_SLAVE\n"); in bond_netdev_event()
3191 return bond_slave_netdev_event(event, event_dev); in bond_netdev_event()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2121 struct net_device *event_dev = ifa->idev->dev; in cxgb4_inet6addr_handler() local
2126 if (is_vlan_dev(event_dev)) in cxgb4_inet6addr_handler()
2127 event_dev = vlan_dev_real_dev(event_dev); in cxgb4_inet6addr_handler()
2129 if (event_dev->flags & IFF_MASTER) { in cxgb4_inet6addr_handler()
2148 if (event_dev) in cxgb4_inet6addr_handler()
2149 parent = event_dev->dev.parent; in cxgb4_inet6addr_handler()
2154 cxgb4_clip_get(event_dev, (const u32 *)ifa, 1); in cxgb4_inet6addr_handler()
2157 cxgb4_clip_release(event_dev, (const u32 *)ifa, 1); in cxgb4_inet6addr_handler()