Home
last modified time | relevance | path

Searched refs:odev (Results 1 – 7 of 7) sorted by relevance

/drivers/net/usb/
Dhso.c712 struct hso_net *odev = netdev_priv(net); in hso_net_open() local
715 if (!odev) { in hso_net_open()
720 odev->skb_tx_buf = NULL; in hso_net_open()
723 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open()
724 odev->rx_parse_state = WAIT_IP; in hso_net_open()
725 odev->rx_buf_size = 0; in hso_net_open()
726 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open()
727 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open()
730 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open()
731 hso_start_net_device(odev->parent); in hso_net_open()
[all …]
/drivers/block/drbd/
Ddrbd_worker.c1522 struct drbd_device *odev = device; in _drbd_may_sync_now() local
1526 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now()
1529 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1533 odev = minor_to_device(resync_after); in _drbd_may_sync_now()
1534 if (!odev) in _drbd_may_sync_now()
1536 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1537 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now()
1538 odev->state.aftr_isp || odev->state.peer_isp || in _drbd_may_sync_now()
1539 odev->state.user_isp) in _drbd_may_sync_now()
1553 struct drbd_device *odev; in drbd_pause_after() local
[all …]
/drivers/video/fbdev/
Dplatinumfb.c537 static int platinumfb_probe(struct platform_device* odev) in platinumfb_probe() argument
539 struct device_node *dp = odev->dev.of_node; in platinumfb_probe()
545 dev_info(&odev->dev, "Found Apple Platinum video hardware\n"); in platinumfb_probe()
547 info = framebuffer_alloc(sizeof(*pinfo), &odev->dev); in platinumfb_probe()
549 dev_err(&odev->dev, "Failed to allocate fbdev !\n"); in platinumfb_probe()
556 dev_err(&odev->dev, "Can't get resources\n"); in platinumfb_probe()
560 dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n", in platinumfb_probe()
563 dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n", in platinumfb_probe()
635 dev_set_drvdata(&odev->dev, info); in platinumfb_probe()
648 static int platinumfb_remove(struct platform_device* odev) in platinumfb_remove() argument
[all …]
/drivers/video/fbdev/via/
Dhw.c915 u32 odev = 0; in via_parse_odev() local
924 odev |= device_mapping[i].device; in via_parse_odev()
935 return odev; in via_parse_odev()
938 void via_odev_to_seq(struct seq_file *m, u32 odev) in via_odev_to_seq() argument
943 if (odev & device_mapping[i].device) { in via_odev_to_seq()
Dhw.h652 void via_odev_to_seq(struct seq_file *m, u32 odev);
Dviafbdev.c1491 static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) in odev_update() argument
1512 *odev |= devices; in odev_update()
1514 *odev &= ~devices; in odev_update()
1516 *odev = devices; in odev_update()
/drivers/usb/gadget/udc/
Domap_udc.c2621 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument