Home
last modified time | relevance | path

Searched refs:ring_ref (Results 1 – 10 of 10) sorted by relevance

/drivers/char/tpm/
Dxen-tpmfront.c27 int ring_ref; member
268 priv->ring_ref = gref; in setup_ring()
290 "ring-ref", "%u", priv->ring_ref); in setup_ring()
334 if (priv->ring_ref) in ring_free()
335 gnttab_end_foreign_access(priv->ring_ref, 0, in ring_free()
/drivers/scsi/
Dxen-scsifront.c112 grant_ref_t ring_ref; member
731 info->ring_ref = gref; in scsifront_alloc_ring()
760 gnttab_end_foreign_access(info->ring_ref, 0, in scsifront_alloc_ring()
769 gnttab_end_foreign_access(info->ring_ref, 0, in scsifront_free_ring()
784 pr_debug("%s: %u %u\n", __func__, info->ring_ref, info->evtchn); in scsifront_init_ring()
792 info->ring_ref); in scsifront_init_ring()
/drivers/net/xen-netback/
Dxenbus.c687 grant_ref_t ring_ref; in connect_ctrl_ring() local
696 ring_ref = val; in connect_ctrl_ring()
709 err = xenvif_connect_ctrl(vif, ring_ref, evtchn); in connect_ctrl_ring()
713 ring_ref, evtchn); in connect_ctrl_ring()
Dcommon.h359 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref,
Dinterface.c612 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref, in xenvif_connect_ctrl() argument
622 err = xenbus_map_ring_valloc(xendev, &ring_ref, 1, &addr); in xenvif_connect_ctrl()
/drivers/block/
Dxen-blkfront.c181 unsigned int ring_ref[XENBUS_MAX_RING_GRANTS]; member
1299 if (rinfo->ring_ref[i] != GRANT_INVALID_REF) { in blkif_free_ring()
1300 gnttab_end_foreign_access(rinfo->ring_ref[i], 0, 0); in blkif_free_ring()
1301 rinfo->ring_ref[i] = GRANT_INVALID_REF; in blkif_free_ring()
1703 rinfo->ring_ref[i] = GRANT_INVALID_REF; in setup_blkring()
1720 rinfo->ring_ref[i] = gref[i]; in setup_blkring()
1754 err = xenbus_printf(xbt, dir, "ring-ref", "%u", rinfo->ring_ref[0]); in write_per_ring_nodes()
1765 "%u", rinfo->ring_ref[i]); in write_per_ring_nodes()
/drivers/media/tuners/
Dr820t.c1891 u32 ring_vco, ring_freq, ring_ref; in r820t_imr() local
1896 ring_ref = priv->cfg->xtal / 2000; in r820t_imr()
1898 ring_ref = priv->cfg->xtal / 1000; in r820t_imr()
1902 if ((16 + n) * 8 * ring_ref >= 3100000) { in r820t_imr()
1915 ring_vco = (16 + n_ring) * 8 * ring_ref; in r820t_imr()
/drivers/xen/
Dxen-scsiback.c780 static int scsiback_init_sring(struct vscsibk_info *info, grant_ref_t ring_ref, in scsiback_init_sring() argument
790 err = xenbus_map_ring_valloc(info->dev, &ring_ref, 1, &area); in scsiback_init_sring()
822 unsigned int ring_ref; in scsiback_map() local
827 "ring-ref", "%u", &ring_ref, in scsiback_map()
834 return scsiback_init_sring(info, ring_ref, evtchn); in scsiback_map()
Dpvcalls-back.c925 grant_ref_t ring_ref; in backend_connect() local
942 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
960 err = xenbus_map_ring_valloc(dev, &ring_ref, 1, in backend_connect()
/drivers/block/xen-blkback/
Dxenbus.c972 unsigned int ring_ref[XENBUS_MAX_RING_GRANTS]; in read_per_ring_refs() local
1005 "%u", &ring_ref[i]); in read_per_ring_refs()
1035 err = xen_blkif_map(ring, ring_ref, nr_grefs, evtchn); in read_per_ring_refs()