Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/usb/
Dhso.c711 struct hso_net *odev = netdev_priv(net); in hso_net_open() local
714 if (!odev) { in hso_net_open()
719 odev->skb_tx_buf = NULL; in hso_net_open()
722 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open()
723 odev->rx_parse_state = WAIT_IP; in hso_net_open()
724 odev->rx_buf_size = 0; in hso_net_open()
725 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open()
726 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open()
729 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open()
730 hso_start_net_device(odev->parent); in hso_net_open()
[all …]
/Linux-v4.19/drivers/block/drbd/
Ddrbd_worker.c1547 struct drbd_device *odev = device; in _drbd_may_sync_now() local
1551 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now()
1554 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1558 odev = minor_to_device(resync_after); in _drbd_may_sync_now()
1559 if (!odev) in _drbd_may_sync_now()
1561 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1562 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now()
1563 odev->state.aftr_isp || odev->state.peer_isp || in _drbd_may_sync_now()
1564 odev->state.user_isp) in _drbd_may_sync_now()
1578 struct drbd_device *odev; in drbd_pause_after() local
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/net/core/
Dpktgen.c396 struct net_device *odev; /* The out-going device. member
602 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show()
1096 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write()
1152 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write()
1928 if (pkt_dev->odev != dev) in pktgen_change_name()
1997 struct net_device *odev; in pktgen_setup_dev() local
2001 if (pkt_dev->odev) { in pktgen_setup_dev()
2002 dev_put(pkt_dev->odev); in pktgen_setup_dev()
2003 pkt_dev->odev = NULL; in pktgen_setup_dev()
2006 odev = pktgen_dev_get_by_name(pn, pkt_dev, ifname); in pktgen_setup_dev()
[all …]
/Linux-v4.19/fs/exofs/
Dsys.c61 struct osd_dev *odev = edp->ored.od; in osdname_show() local
62 const struct osd_dev_info *odi = osduld_device_info(odev); in osdname_show()
69 struct osd_dev *odev = edp->ored.od; in systemid_show() local
70 const struct osd_dev_info *odi = osduld_device_info(odev); in systemid_show()
/Linux-v4.19/net/ipv6/
Dseg6_local.c266 struct net_device *odev; in input_action_end_dx2() local
285 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2()
286 if (!odev) in input_action_end_dx2()
292 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2()
295 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2()
305 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx2()
308 skb->dev = odev; in input_action_end_dx2()
/Linux-v4.19/kernel/bpf/
Ddevmap.c512 struct bpf_dtab_netdev *dev, *odev; in dev_map_notification() local
518 odev = cmpxchg(&dtab->netdev_map[i], dev, NULL); in dev_map_notification()
519 if (dev == odev) in dev_map_notification()
/Linux-v4.19/fs/efs/
Defs.h48 __be16 odev; member
Dinode.c115 rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); in efs_iget()
/Linux-v4.19/net/netrom/
Dnr_route.c107 struct net_device *odev; in nr_add_node() local
109 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node()
110 dev_put(odev); in nr_add_node()
/Linux-v4.19/drivers/video/fbdev/via/
Dhw.c914 u32 odev = 0; in via_parse_odev() local
923 odev |= device_mapping[i].device; in via_parse_odev()
934 return odev; in via_parse_odev()
937 void via_odev_to_seq(struct seq_file *m, u32 odev) in via_odev_to_seq() argument
942 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.c1479 static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) in odev_update() argument
1500 *odev |= devices; in odev_update()
1502 *odev &= ~devices; in odev_update()
1504 *odev = devices; in odev_update()
/Linux-v4.19/net/sctp/
Dprotocol.c490 struct net_device *odev; in sctp_v4_get_dst() local
512 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst()
514 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()
/Linux-v4.19/drivers/usb/gadget/udc/
Domap_udc.c2602 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument