Home
last modified time | relevance | path

Searched refs:vqconfig (Results 1 – 3 of 3) sorted by relevance

/drivers/misc/mic/host/
Dmic_virtio.c387 struct mic_vqconfig *vqconfig = mic_vq_config(mvdev->dd); in mic_virtio_init_post() local
391 if (!le64_to_cpu(vqconfig[i].used_address)) { in mic_virtio_init_post()
397 le64_to_cpu(vqconfig[i].used_address); in mic_virtio_init_post()
529 struct mic_vqconfig *vqconfig; in mic_copy_dp_entry() local
559 vqconfig = mic_vq_config(dd_config); in mic_copy_dp_entry()
561 if (le16_to_cpu(vqconfig[i].num) > MIC_MAX_VRING_ENTRIES) { in mic_copy_dp_entry()
621 struct mic_vqconfig *vqconfig; in mic_virtio_add_device() local
642 vqconfig = mic_vq_config(dd); in mic_virtio_add_device()
648 num = le16_to_cpu(vqconfig[i].num); in mic_virtio_add_device()
672 vqconfig[i].address = cpu_to_le64(vr_addr); in mic_virtio_add_device()
[all …]
Dmic_debugfs.c108 struct mic_vqconfig *vqconfig; in mic_dp_show() local
149 vqconfig = mic_vq_config(d) + j; in mic_dp_show()
151 seq_printf(s, "address 0x%llx ", vqconfig->address); in mic_dp_show()
152 seq_printf(s, "num %d ", vqconfig->num); in mic_dp_show()
154 vqconfig->used_address); in mic_dp_show()
/drivers/misc/mic/card/
Dmic_virtio.c236 struct mic_vqconfig __iomem *vqconfig; in mic_find_vq() local
253 vqconfig = mic_vq_config(mvdev->desc) + index; in mic_find_vq()
254 memcpy_fromio(&config, vqconfig, sizeof(config)); in mic_find_vq()
290 iowrite64(virt_to_phys(used), &vqconfig->used_address); in mic_find_vq()