Lines Matching refs:xbdev
153 struct xenbus_device *xbdev; member
320 queue->info->xbdev->otherend_id, in xennet_alloc_rx_buffers()
445 gnttab_grant_foreign_access_ref(ref, queue->info->xbdev->otherend_id, in xennet_tx_setup_grant()
1191 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features()
1195 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features()
1200 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features()
1204 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features()
1300 np->xbdev = dev; in xennet_create_dev()
1467 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_single()
1482 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_single()
1492 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->tx_evtchn); in setup_netfront_split()
1495 err = xenbus_alloc_evtchn(queue->info->xbdev, &queue->rx_evtchn); in setup_netfront_split()
1523 xenbus_free_evtchn(queue->info->xbdev, queue->rx_evtchn); in setup_netfront_split()
1526 xenbus_free_evtchn(queue->info->xbdev, queue->tx_evtchn); in setup_netfront_split()
1617 devid = strrchr(queue->info->xbdev->nodename, '/') + 1; in xennet_init_queue()
1666 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
1776 dev_warn(&info->xbdev->dev, in xennet_create_queues()
1791 dev_err(&info->xbdev->dev, "no queues\n"); in xennet_create_queues()
1813 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
1818 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
1857 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback()
1953 if (!xenbus_read_unsigned(np->xbdev->otherend, "feature-rx-copy", 0)) { in xennet_connect()
1959 err = talk_to_netback(np->xbdev, np); in xennet_connect()
1970 device_unregister(&np->xbdev->dev); in xennet_connect()