Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c39 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv() argument
41 return vdev->priv; in vnic_dev_priv()
44 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
56 vdev_err(vdev, "vNIC BAR0 res hdr length error\n"); in vnic_dev_discover_res()
63 vdev_err(vdev, "vNIC BAR0 res hdr not mem-mapped\n"); in vnic_dev_discover_res()
72 vdev_err(vdev, "vNIC BAR0 res magic/version error exp (%lx/%lx) or (%lx/%lx), curr (%x/%x)\n", in vnic_dev_discover_res()
109 vdev_err(vdev, "vNIC BAR0 resource %d out-of-bounds, offset 0x%x + size 0x%x > bar len 0x%lx\n", in vnic_dev_discover_res()
124 vdev->res[type].count = count; in vnic_dev_discover_res()
125 vdev->res[type].vaddr = (char __iomem *)bar[bar_num].vaddr + in vnic_dev_discover_res()
127 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
[all …]
Dvnic_dev.h111 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
117 void *vnic_dev_priv(struct vnic_dev *vdev);
118 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
120 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
123 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
125 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
127 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
129 void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index);
130 void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev);
131 int vnic_dev_fw_info(struct vnic_dev *vdev,
[all …]
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_intrs.c30 struct vfio_pci_device *vdev = opaque; in vfio_send_intx_eventfd() local
32 if (likely(is_intx(vdev) && !vdev->virq_disabled)) in vfio_send_intx_eventfd()
33 eventfd_signal(vdev->ctx[0].trigger, 1); in vfio_send_intx_eventfd()
36 void vfio_pci_intx_mask(struct vfio_pci_device *vdev) in vfio_pci_intx_mask() argument
38 struct pci_dev *pdev = vdev->pdev; in vfio_pci_intx_mask()
41 spin_lock_irqsave(&vdev->irqlock, flags); in vfio_pci_intx_mask()
49 if (unlikely(!is_intx(vdev))) { in vfio_pci_intx_mask()
50 if (vdev->pci_2_3) in vfio_pci_intx_mask()
52 } else if (!vdev->ctx[0].masked) { in vfio_pci_intx_mask()
57 if (vdev->pci_2_3) in vfio_pci_intx_mask()
[all …]
Dvfio_pci.c124 struct vfio_pci_device *vdev = opaque; in vfio_pci_set_vga_decode() local
125 struct pci_dev *tmp = NULL, *pdev = vdev->pdev; in vfio_pci_set_vga_decode()
158 static void vfio_pci_probe_mmaps(struct vfio_pci_device *vdev) in vfio_pci_probe_mmaps() argument
167 res = &vdev->pdev->resource[bar]; in vfio_pci_probe_mmaps()
184 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
209 &vdev->dummy_resources_list); in vfio_pci_probe_mmaps()
210 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
222 vdev->bar_mmap_supported[bar] = false; in vfio_pci_probe_mmaps()
226 static void vfio_pci_try_bus_reset(struct vfio_pci_device *vdev);
227 static void vfio_pci_disable(struct vfio_pci_device *vdev);
[all …]
Dvfio_pci_private.h36 struct vfio_pci_device *vdev; member
59 size_t (*rw)(struct vfio_pci_device *vdev, char __user *buf,
61 void (*release)(struct vfio_pci_device *vdev,
63 int (*mmap)(struct vfio_pci_device *vdev,
66 int (*add_capability)(struct vfio_pci_device *vdev,
147 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) argument
148 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX) argument
149 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) argument
150 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev))) argument
151 #define irq_is(vdev, type) (vdev->irq_type == type) argument
[all …]
Dvfio_pci_rdwr.c41 static int vfio_pci_iowrite##size(struct vfio_pci_device *vdev, \
45 down_read(&vdev->memory_lock); \
46 if (!__vfio_pci_memory_enabled(vdev)) { \
47 up_read(&vdev->memory_lock); \
55 up_read(&vdev->memory_lock); \
68 static int vfio_pci_ioread##size(struct vfio_pci_device *vdev, \
72 down_read(&vdev->memory_lock); \
73 if (!__vfio_pci_memory_enabled(vdev)) { \
74 up_read(&vdev->memory_lock); \
82 up_read(&vdev->memory_lock); \
[all …]
/kernel/linux/linux-5.10/include/linux/
Dvirtio_config.h79 void (*get)(struct virtio_device *vdev, unsigned offset,
81 void (*set)(struct virtio_device *vdev, unsigned offset,
83 u32 (*generation)(struct virtio_device *vdev);
84 u8 (*get_status)(struct virtio_device *vdev);
85 void (*set_status)(struct virtio_device *vdev, u8 status);
86 void (*reset)(struct virtio_device *vdev);
92 u64 (*get_features)(struct virtio_device *vdev);
93 int (*finalize_features)(struct virtio_device *vdev);
94 const char *(*bus_name)(struct virtio_device *vdev);
97 const struct cpumask *(*get_vq_affinity)(struct virtio_device *vdev,
[all …]
Dvdpa.h199 int (*set_vq_address)(struct vdpa_device *vdev,
202 void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num);
203 void (*kick_vq)(struct vdpa_device *vdev, u16 idx);
204 void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx,
206 void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready);
207 bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx);
208 int (*set_vq_state)(struct vdpa_device *vdev, u16 idx,
210 int (*get_vq_state)(struct vdpa_device *vdev, u16 idx,
213 (*get_vq_notification)(struct vdpa_device *vdev, u16 idx);
218 u32 (*get_vq_align)(struct vdpa_device *vdev);
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dvnic_dev.c73 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
82 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv() argument
84 return vdev->priv; in vnic_dev_priv()
87 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
154 vdev->res[type].count = count; in vnic_dev_discover_res()
155 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
161 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count() argument
164 return vdev->res[type].count; in vnic_dev_get_res_count()
167 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res() argument
170 if (!vdev->res[type].vaddr) in vnic_dev_get_res()
[all …]
Dvnic_dev.h112 void *vnic_dev_priv(struct vnic_dev *vdev);
113 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
115 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
121 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
123 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
125 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
127 int vnic_dev_fw_info(struct vnic_dev *vdev,
129 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
131 int vnic_dev_stats_clear(struct vnic_dev *vdev);
132 int vnic_dev_cmd_init(struct vnic_dev *vdev);
[all …]
/kernel/linux/linux-5.10/drivers/vfio/platform/
Dvfio_platform_common.c26 #define VFIO_PLATFORM_IS_ACPI(vdev) ((vdev)->acpihid != NULL) argument
50 static int vfio_platform_acpi_probe(struct vfio_platform_device *vdev, in vfio_platform_acpi_probe() argument
61 vdev->name); in vfio_platform_acpi_probe()
66 vdev->acpihid = acpi_device_hid(adev); in vfio_platform_acpi_probe()
68 return WARN_ON(!vdev->acpihid) ? -EINVAL : 0; in vfio_platform_acpi_probe()
71 static int vfio_platform_acpi_call_reset(struct vfio_platform_device *vdev, in vfio_platform_acpi_call_reset() argument
75 struct device *dev = vdev->device; in vfio_platform_acpi_call_reset()
92 static bool vfio_platform_acpi_has_reset(struct vfio_platform_device *vdev) in vfio_platform_acpi_has_reset() argument
95 struct device *dev = vdev->device; in vfio_platform_acpi_has_reset()
104 static bool vfio_platform_has_reset(struct vfio_platform_device *vdev) in vfio_platform_has_reset() argument
[all …]
Dvfio_amba.c20 static struct resource *get_amba_resource(struct vfio_platform_device *vdev, in get_amba_resource() argument
23 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource()
31 static int get_amba_irq(struct vfio_platform_device *vdev, int i) in get_amba_irq() argument
33 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq()
45 struct vfio_platform_device *vdev; in vfio_amba_probe() local
48 vdev = kzalloc(sizeof(*vdev), GFP_KERNEL); in vfio_amba_probe()
49 if (!vdev) in vfio_amba_probe()
52 vdev->name = kasprintf(GFP_KERNEL, "vfio-amba-%08x", adev->periphid); in vfio_amba_probe()
53 if (!vdev->name) { in vfio_amba_probe()
54 kfree(vdev); in vfio_amba_probe()
[all …]
Dvfio_platform_irq.c41 static int vfio_platform_set_irq_mask(struct vfio_platform_device *vdev, in vfio_platform_set_irq_mask() argument
49 if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) in vfio_platform_set_irq_mask()
56 return vfio_virqfd_enable((void *) &vdev->irqs[index], in vfio_platform_set_irq_mask()
59 &vdev->irqs[index].mask, fd); in vfio_platform_set_irq_mask()
61 vfio_virqfd_disable(&vdev->irqs[index].mask); in vfio_platform_set_irq_mask()
66 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask()
72 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask()
101 static int vfio_platform_set_irq_unmask(struct vfio_platform_device *vdev, in vfio_platform_set_irq_unmask() argument
109 if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) in vfio_platform_set_irq_unmask()
116 return vfio_virqfd_enable((void *) &vdev->irqs[index], in vfio_platform_set_irq_unmask()
[all …]
Dvfio_platform.c24 static struct resource *get_platform_resource(struct vfio_platform_device *vdev, in get_platform_resource() argument
27 struct platform_device *dev = (struct platform_device *) vdev->opaque; in get_platform_resource()
43 static int get_platform_irq(struct vfio_platform_device *vdev, int i) in get_platform_irq() argument
45 struct platform_device *pdev = (struct platform_device *) vdev->opaque; in get_platform_irq()
52 struct vfio_platform_device *vdev; in vfio_platform_probe() local
55 vdev = kzalloc(sizeof(*vdev), GFP_KERNEL); in vfio_platform_probe()
56 if (!vdev) in vfio_platform_probe()
59 vdev->opaque = (void *) pdev; in vfio_platform_probe()
60 vdev->name = pdev->name; in vfio_platform_probe()
61 vdev->flags = VFIO_DEVICE_FLAGS_PLATFORM; in vfio_platform_probe()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dvnic_dev.c68 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
77 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv() argument
79 return vdev->priv; in svnic_dev_priv()
82 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
158 vdev->res[type].count = count; in vnic_dev_discover_res()
159 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
165 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count() argument
168 return vdev->res[type].count; in svnic_dev_get_res_count()
171 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res() argument
174 if (!vdev->res[type].vaddr) in svnic_dev_get_res()
[all …]
Dvnic_dev.h70 void *svnic_dev_priv(struct vnic_dev *vdev);
71 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev,
73 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
79 int svnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
81 void svnic_dev_free_desc_ring(struct vnic_dev *vdev,
83 int svnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
85 int svnic_dev_fw_info(struct vnic_dev *vdev,
87 int svnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
89 int svnic_dev_stats_clear(struct vnic_dev *vdev);
90 int svnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats);
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-dev.c48 struct video_device *vdev = to_video_device(cd); in index_show() local
50 return sprintf(buf, "%i\n", vdev->index); in index_show()
57 struct video_device *vdev = to_video_device(cd); in dev_debug_show() local
59 return sprintf(buf, "%i\n", vdev->dev_debug); in dev_debug_show()
65 struct video_device *vdev = to_video_device(cd); in dev_debug_store() local
73 vdev->dev_debug = value; in dev_debug_store()
81 struct video_device *vdev = to_video_device(cd); in name_show() local
83 return sprintf(buf, "%.*s\n", (int)sizeof(vdev->name), vdev->name); in name_show()
127 static inline void devnode_set(struct video_device *vdev) in devnode_set() argument
129 set_bit(vdev->num, devnode_bits(vdev->vfl_type)); in devnode_set()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c90 static enum vxge_hw_status vxge_reset_all_vpaths(struct vxgedev *vdev);
92 static inline int is_vxge_card_up(struct vxgedev *vdev) in is_vxge_card_up() argument
94 return test_bit(__VXGE_STATE_CARD_UP, &vdev->state); in is_vxge_card_up()
121 static inline void VXGE_COMPLETE_ALL_TX(struct vxgedev *vdev) in VXGE_COMPLETE_ALL_TX() argument
126 for (i = 0; i < vdev->no_of_vpath; i++) in VXGE_COMPLETE_ALL_TX()
127 VXGE_COMPLETE_VPATH_TX(&vdev->vpaths[i].fifo); in VXGE_COMPLETE_ALL_TX()
130 static inline void VXGE_COMPLETE_ALL_RX(struct vxgedev *vdev) in VXGE_COMPLETE_ALL_RX() argument
136 for (i = 0; i < vdev->no_of_vpath; i++) { in VXGE_COMPLETE_ALL_RX()
137 ring = &vdev->vpaths[i].ring; in VXGE_COMPLETE_ALL_RX()
151 struct vxgedev *vdev = netdev_priv(dev); in vxge_callback_link_up() local
[all …]
/kernel/linux/linux-5.10/drivers/vdpa/
Dvdpa.c19 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_probe() local
20 struct vdpa_driver *drv = drv_to_vdpa(vdev->dev.driver); in vdpa_dev_probe()
24 ret = drv->probe(vdev); in vdpa_dev_probe()
31 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_remove() local
32 struct vdpa_driver *drv = drv_to_vdpa(vdev->dev.driver); in vdpa_dev_remove()
35 drv->remove(vdev); in vdpa_dev_remove()
48 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_release_dev() local
49 const struct vdpa_config_ops *ops = vdev->config; in vdpa_release_dev()
52 ops->free(vdev); in vdpa_release_dev()
54 ida_simple_remove(&vdpa_index_ida, vdev->index); in vdpa_release_dev()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dvio.c71 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe() local
78 id = vio_match_device(drv->id_table, vdev); in vio_device_probe()
84 if (vdev->tx_irq == 0 && vdev->tx_ino != ~0UL) in vio_device_probe()
85 vdev->tx_irq = sun4v_build_virq(vdev->cdev_handle, in vio_device_probe()
86 vdev->tx_ino); in vio_device_probe()
88 if (vdev->rx_irq == 0 && vdev->rx_ino != ~0UL) in vio_device_probe()
89 vdev->rx_irq = sun4v_build_virq(vdev->cdev_handle, in vio_device_probe()
90 vdev->rx_ino); in vio_device_probe()
93 return drv->probe(vdev, id); in vio_device_probe()
98 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove() local
[all …]
/kernel/linux/linux-5.10/tools/virtio/linux/
Dvirtio_config.h13 static inline bool __virtio_test_bit(const struct virtio_device *vdev, in __virtio_test_bit() argument
16 return vdev->features & (1ULL << fbit); in __virtio_test_bit()
24 static inline void __virtio_set_bit(struct virtio_device *vdev, in __virtio_set_bit() argument
27 vdev->features |= (1ULL << fbit); in __virtio_set_bit()
35 static inline void __virtio_clear_bit(struct virtio_device *vdev, in __virtio_clear_bit() argument
38 vdev->features &= ~(1ULL << fbit); in __virtio_clear_bit()
48 static inline bool virtio_has_dma_quirk(const struct virtio_device *vdev) in virtio_has_dma_quirk() argument
54 return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM); in virtio_has_dma_quirk()
57 static inline bool virtio_is_little_endian(struct virtio_device *vdev) in virtio_is_little_endian() argument
59 return virtio_has_feature(vdev, VIRTIO_F_VERSION_1) || in virtio_is_little_endian()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c59 static int vfio_fsl_mc_reflck_attach(struct vfio_fsl_mc_device *vdev) in vfio_fsl_mc_reflck_attach() argument
64 if (is_fsl_mc_bus_dprc(vdev->mc_dev)) { in vfio_fsl_mc_reflck_attach()
65 vdev->reflck = vfio_fsl_mc_reflck_alloc(); in vfio_fsl_mc_reflck_attach()
66 ret = PTR_ERR_OR_ZERO(vdev->reflck); in vfio_fsl_mc_reflck_attach()
68 struct device *mc_cont_dev = vdev->mc_dev->dev.parent; in vfio_fsl_mc_reflck_attach()
85 vdev->reflck = cont_vdev->reflck; in vfio_fsl_mc_reflck_attach()
94 static int vfio_fsl_mc_regions_init(struct vfio_fsl_mc_device *vdev) in vfio_fsl_mc_regions_init() argument
96 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_regions_init()
100 vdev->regions = kcalloc(count, sizeof(struct vfio_fsl_mc_region), in vfio_fsl_mc_regions_init()
102 if (!vdev->regions) in vfio_fsl_mc_regions_init()
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_virtio.c65 static struct virtqueue *rp_find_vq(struct virtio_device *vdev, in rp_find_vq() argument
70 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in rp_find_vq()
71 struct rproc *rproc = vdev_to_rproc(vdev); in rp_find_vq()
108 vq = vring_new_virtqueue(id, len, rvring->align, vdev, false, ctx, in rp_find_vq()
126 static void __rproc_virtio_del_vqs(struct virtio_device *vdev) in __rproc_virtio_del_vqs() argument
131 list_for_each_entry_safe(vq, n, &vdev->vqs, list) { in __rproc_virtio_del_vqs()
138 static void rproc_virtio_del_vqs(struct virtio_device *vdev) in rproc_virtio_del_vqs() argument
140 __rproc_virtio_del_vqs(vdev); in rproc_virtio_del_vqs()
143 static int rproc_virtio_find_vqs(struct virtio_device *vdev, unsigned int nvqs, in rproc_virtio_find_vqs() argument
158 vqs[i] = rp_find_vq(vdev, queue_idx++, callbacks[i], names[i], in rproc_virtio_find_vqs()
[all …]
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_vdpa.c27 struct virtio_device vdev; member
48 return container_of(dev, struct virtio_vdpa_device, vdev); in to_virtio_vdpa_device()
51 static struct vdpa_device *vd_get_vdpa(struct virtio_device *vdev) in vd_get_vdpa() argument
53 return to_virtio_vdpa_device(vdev)->vdpa; in vd_get_vdpa()
56 static void virtio_vdpa_get(struct virtio_device *vdev, unsigned offset, in virtio_vdpa_get() argument
59 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get()
64 static void virtio_vdpa_set(struct virtio_device *vdev, unsigned offset, in virtio_vdpa_set() argument
67 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set()
73 static u32 virtio_vdpa_generation(struct virtio_device *vdev) in virtio_vdpa_generation() argument
75 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/virtio/
Dvirtio_crypto_core.c27 struct virtio_crypto *vcrypto = vq->vdev->priv; in virtcrypto_dataq_callback()
55 struct device *dev = &vi->vdev->dev; in virtcrypto_find_vqs()
87 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs()
207 virtio_cread_le(vcrypto->vdev, in virtcrypto_update_status()
215 dev_warn(&vcrypto->vdev->dev, in virtcrypto_update_status()
218 virtio_break_device(vcrypto->vdev); in virtcrypto_update_status()
230 dev_err(&vcrypto->vdev->dev, in virtcrypto_update_status()
235 dev_info(&vcrypto->vdev->dev, "Accelerator device is ready\n"); in virtcrypto_update_status()
238 dev_info(&vcrypto->vdev->dev, "Accelerator is not ready\n"); in virtcrypto_update_status()
278 struct virtio_device *vdev = vcrypto->vdev; in virtcrypto_del_vqs() local
[all …]

12345678910>>...21