Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/
Dxen-scsifront.c112 grant_ref_t ring_ref; member
726 info->ring_ref = gref; in scsifront_alloc_ring()
755 gnttab_end_foreign_access(info->ring_ref, 0, in scsifront_alloc_ring()
764 gnttab_end_foreign_access(info->ring_ref, 0, in scsifront_free_ring()
779 pr_debug("%s: %u %u\n", __func__, info->ring_ref, info->evtchn); in scsifront_init_ring()
787 info->ring_ref); in scsifront_init_ring()
/Linux-v5.4/drivers/net/xen-netback/
Dxenbus.c839 grant_ref_t ring_ref; in connect_ctrl_ring() local
848 ring_ref = val; in connect_ctrl_ring()
861 err = xenvif_connect_ctrl(vif, ring_ref, evtchn); in connect_ctrl_ring()
865 ring_ref, evtchn); in connect_ctrl_ring()
Dcommon.h344 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref,
Dinterface.c582 int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref, in xenvif_connect_ctrl() argument
591 &ring_ref, 1, &addr); in xenvif_connect_ctrl()
/Linux-v5.4/drivers/block/xen-blkback/
Dxenbus.c916 unsigned int ring_ref[XENBUS_MAX_RING_GRANTS]; in read_per_ring_refs() local
943 "%u", &ring_ref[i]); in read_per_ring_refs()
960 &ring_ref[0]); in read_per_ring_refs()
988 err = xen_blkif_map(ring, ring_ref, nr_grefs, evtchn); in read_per_ring_refs()
/Linux-v5.4/drivers/block/
Dxen-blkfront.c176 unsigned int ring_ref[XENBUS_MAX_RING_GRANTS]; member
1329 if (rinfo->ring_ref[i] != GRANT_INVALID_REF) { in blkif_free_ring()
1330 gnttab_end_foreign_access(rinfo->ring_ref[i], 0, 0); in blkif_free_ring()
1331 rinfo->ring_ref[i] = GRANT_INVALID_REF; in blkif_free_ring()
1679 rinfo->ring_ref[i] = GRANT_INVALID_REF; in setup_blkring()
1697 rinfo->ring_ref[i] = gref[i]; in setup_blkring()
1731 err = xenbus_printf(xbt, dir, "ring-ref", "%u", rinfo->ring_ref[0]); in write_per_ring_nodes()
1742 "%u", rinfo->ring_ref[i]); in write_per_ring_nodes()
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c815 static int scsiback_init_sring(struct vscsibk_info *info, grant_ref_t ring_ref, in scsiback_init_sring() argument
825 err = xenbus_map_ring_valloc(info->dev, &ring_ref, 1, &area); in scsiback_init_sring()
857 unsigned int ring_ref, evtchn; in scsiback_map() local
861 "ring-ref", "%u", &ring_ref, in scsiback_map()
868 return scsiback_init_sring(info, ring_ref, evtchn); in scsiback_map()
Dpvcalls-back.c909 grant_ref_t ring_ref; in backend_connect() local
926 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
944 err = xenbus_map_ring_valloc(dev, &ring_ref, 1, in backend_connect()
/Linux-v5.4/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()