Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/misc/mic/host/
Dmic_virtio.c388 struct mic_vqconfig *vqconfig = mic_vq_config(mvdev->dd); in mic_virtio_init_post() local
392 if (!le64_to_cpu(vqconfig[i].used_address)) { in mic_virtio_init_post()
398 le64_to_cpu(vqconfig[i].used_address); in mic_virtio_init_post()
530 struct mic_vqconfig *vqconfig; in mic_copy_dp_entry() local
560 vqconfig = mic_vq_config(dd_config); in mic_copy_dp_entry()
562 if (le16_to_cpu(vqconfig[i].num) > MIC_MAX_VRING_ENTRIES) { in mic_copy_dp_entry()
622 struct mic_vqconfig *vqconfig; in mic_virtio_add_device() local
643 vqconfig = mic_vq_config(dd); in mic_virtio_add_device()
649 num = le16_to_cpu(vqconfig[i].num); in mic_virtio_add_device()
673 vqconfig[i].address = cpu_to_le64(vr_addr); in mic_virtio_add_device()
[all …]
Dmic_debugfs.c199 struct mic_vqconfig *vqconfig; in mic_dp_show() local
237 vqconfig = mic_vq_config(d) + j; in mic_dp_show()
239 seq_printf(s, "address 0x%llx ", vqconfig->address); in mic_dp_show()
240 seq_printf(s, "num %d ", vqconfig->num); in mic_dp_show()
242 vqconfig->used_address); in mic_dp_show()
/linux-4.1.27/Documentation/mic/mpssd/
Dmpssd.c82 struct mic_vqconfig vqconfig[2]; member
88 .num_vq = ARRAY_SIZE(virtcons_dev_page.vqconfig),
92 .vqconfig[0] = {
95 .vqconfig[1] = {
102 struct mic_vqconfig vqconfig[2]; member
108 .num_vq = ARRAY_SIZE(virtnet_dev_page.vqconfig),
112 .vqconfig[0] = {
115 .vqconfig[1] = {
135 struct mic_vqconfig vqconfig[1]; member
141 .num_vq = ARRAY_SIZE(virtblk_dev_page.vqconfig),
[all …]
/linux-4.1.27/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()