Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/usb/
Dhso.c696 struct hso_net *odev = netdev_priv(net); in hso_net_open() local
699 if (!odev) { in hso_net_open()
704 odev->skb_tx_buf = NULL; in hso_net_open()
707 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open()
708 odev->rx_parse_state = WAIT_IP; in hso_net_open()
709 odev->rx_buf_size = 0; in hso_net_open()
710 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open()
711 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open()
714 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open()
715 hso_start_net_device(odev->parent); in hso_net_open()
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_worker.c1535 struct drbd_device *odev = device; in _drbd_may_sync_now() local
1539 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now()
1542 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1546 odev = minor_to_device(resync_after); in _drbd_may_sync_now()
1547 if (!odev) in _drbd_may_sync_now()
1549 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1550 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now()
1551 odev->state.aftr_isp || odev->state.peer_isp || in _drbd_may_sync_now()
1552 odev->state.user_isp) in _drbd_may_sync_now()
1566 struct drbd_device *odev; in drbd_pause_after() local
[all …]
/kernel/linux/linux-5.10/net/core/
Dpktgen.c390 struct net_device *odev; /* The out-going device. member
596 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show()
1090 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write()
1146 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write()
1922 if (pkt_dev->odev != dev) in pktgen_change_name()
1991 struct net_device *odev; in pktgen_setup_dev() local
1995 if (pkt_dev->odev) { in pktgen_setup_dev()
1996 dev_put(pkt_dev->odev); in pktgen_setup_dev()
1997 pkt_dev->odev = NULL; in pktgen_setup_dev()
2000 odev = pktgen_dev_get_by_name(pn, pkt_dev, ifname); in pktgen_setup_dev()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dplatinumfb.c530 static int platinumfb_probe(struct platform_device* odev) in platinumfb_probe() argument
532 struct device_node *dp = odev->dev.of_node; in platinumfb_probe()
538 dev_info(&odev->dev, "Found Apple Platinum video hardware\n"); in platinumfb_probe()
540 info = framebuffer_alloc(sizeof(*pinfo), &odev->dev); in platinumfb_probe()
548 dev_err(&odev->dev, "Can't get resources\n"); in platinumfb_probe()
552 dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n", in platinumfb_probe()
555 dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n", in platinumfb_probe()
626 dev_set_drvdata(&odev->dev, info); in platinumfb_probe()
639 static int platinumfb_remove(struct platform_device* odev) in platinumfb_remove() argument
641 struct fb_info *info = dev_get_drvdata(&odev->dev); in platinumfb_remove()
/kernel/linux/linux-5.10/net/ipv6/
Dseg6_local.c282 struct net_device *odev; in input_action_end_dx2() local
301 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2()
302 if (!odev) in input_action_end_dx2()
308 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2()
311 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2()
321 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx2()
324 skb->dev = odev; in input_action_end_dx2()
/kernel/linux/linux-5.10/fs/efs/
Defs.h48 __be16 odev; member
Dinode.c116 rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); in efs_iget()
/kernel/linux/linux-5.10/kernel/bpf/
Ddevmap.c839 struct bpf_dtab_netdev *dev, *odev; in dev_map_notification() local
844 odev = cmpxchg(&dtab->netdev_map[i], dev, NULL); in dev_map_notification()
845 if (dev == odev) in dev_map_notification()
/kernel/linux/linux-5.10/net/netrom/
Dnr_route.c104 struct net_device *odev; in nr_add_node() local
106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node()
107 dev_put(odev); in nr_add_node()
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dhw.c900 u32 odev = 0; in via_parse_odev() local
909 odev |= device_mapping[i].device; in via_parse_odev()
920 return odev; in via_parse_odev()
923 void via_odev_to_seq(struct seq_file *m, u32 odev) in via_odev_to_seq() argument
928 if (odev & device_mapping[i].device) { in via_odev_to_seq()
Dhw.h638 void via_odev_to_seq(struct seq_file *m, u32 odev);
Dviafbdev.c1460 static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) in odev_update() argument
1481 *odev |= devices; in odev_update()
1483 *odev &= ~devices; in odev_update()
1485 *odev = devices; in odev_update()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c491 struct net_device *odev; in sctp_v4_get_dst() local
513 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst()
515 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Domap_udc.c2616 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument