Home
last modified time | relevance | path

Searched refs:vdev (Results 26 - 50 of 1086) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/include/linux/
H A Dvdpa.h139 * @vdev: vdpa device
146 * @vdev: vdpa device
150 * @vdev: vdpa device
154 * @vdev: vdpa device
162 * @vdev: vdpa device
164 * @cb: virtio-vdev interrupt callback structure
166 * @vdev: vdpa device
170 * @vdev: vdpa device
174 * @vdev: vdpa device
179 * @vdev
473 vdpa_get_drvdata(const struct vdpa_device *vdev) vdpa_get_drvdata() argument
478 vdpa_set_drvdata(struct vdpa_device *vdev, void *data) vdpa_set_drvdata() argument
483 vdpa_get_dma_dev(struct vdpa_device *vdev) vdpa_get_dma_dev() argument
488 vdpa_reset(struct vdpa_device *vdev) vdpa_reset() argument
500 vdpa_set_features_unlocked(struct vdpa_device *vdev, u64 features) vdpa_set_features_unlocked() argument
511 vdpa_set_features(struct vdpa_device *vdev, u64 features) vdpa_set_features() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A 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()
126 /* Mark device node number vdev
127 devnode_set(struct video_device *vdev) devnode_set() argument
133 devnode_clear(struct video_device *vdev) devnode_clear() argument
139 devnode_find(struct video_device *vdev, int from, int to) devnode_find() argument
150 video_device_release(struct video_device *vdev) video_device_release() argument
156 video_device_release_empty(struct video_device *vdev) video_device_release_empty() argument
163 video_get(struct video_device *vdev) video_get() argument
168 video_put(struct video_device *vdev) video_put() argument
176 struct video_device *vdev = to_video_device(cd); v4l2_device_release() local
307 struct video_device *vdev = video_devdata(filp); v4l2_read() local
324 struct video_device *vdev = video_devdata(filp); v4l2_write() local
340 struct video_device *vdev = video_devdata(filp); v4l2_poll() local
355 struct video_device *vdev = video_devdata(filp); v4l2_ioctl() local
374 struct video_device *vdev = video_devdata(filp); v4l2_get_unmapped_area() local
391 struct video_device *vdev = video_devdata(filp); v4l2_mmap() local
407 struct video_device *vdev; v4l2_open() local
440 struct video_device *vdev = video_devdata(filp); v4l2_release() local
498 get_index(struct video_device *vdev) get_index() argument
534 determine_valid_ioctls(struct video_device *vdev) determine_valid_ioctls() argument
783 video_register_media_controller(struct video_device *vdev) video_register_media_controller() argument
876 __video_register_device(struct video_device *vdev, enum vfl_devnode_type type, int nr, int warn_if_nr_in_use, struct module *owner) __video_register_device() argument
1077 video_unregister_device(struct video_device *vdev) video_unregister_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/platform/
H A 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 in vfio_platform_set_irq_unmask()
182 vfio_set_trigger(struct vfio_platform_device *vdev, int index, int fd) vfio_set_trigger() argument
215 vfio_platform_set_irq_trigger(struct vfio_platform_device *vdev, unsigned index, unsigned start, unsigned count, uint32_t flags, void *data) vfio_platform_set_irq_trigger() argument
253 vfio_platform_set_irqs_ioctl(struct vfio_platform_device *vdev, uint32_t flags, unsigned index, unsigned start, unsigned count, void *data) vfio_platform_set_irqs_ioctl() argument
287 vfio_platform_irq_init(struct vfio_platform_device *vdev) vfio_platform_irq_init() argument
351 vfio_platform_irq_cleanup(struct vfio_platform_device *vdev) vfio_platform_irq_cleanup() argument
[all...]
H A Dvfio_amba.c21 static struct resource *get_amba_resource(struct vfio_platform_device *vdev, in get_amba_resource() argument
24 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource()
32 static int get_amba_irq(struct vfio_platform_device *vdev, int i) in get_amba_irq() argument
34 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq()
46 struct vfio_platform_device *vdev = in vfio_amba_init_dev() local
47 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_init_dev()
51 vdev->name = kasprintf(GFP_KERNEL, "vfio-amba-%08x", adev->periphid); in vfio_amba_init_dev()
52 if (!vdev->name) in vfio_amba_init_dev()
55 vdev->opaque = (void *) adev; in vfio_amba_init_dev()
56 vdev in vfio_amba_init_dev()
70 struct vfio_platform_device *vdev; vfio_amba_probe() local
93 struct vfio_platform_device *vdev = vfio_amba_release_dev() local
102 struct vfio_platform_device *vdev = dev_get_drvdata(&adev->dev); vfio_amba_remove() local
[all...]
H A Dvfio_platform.c25 static struct resource *get_platform_resource(struct vfio_platform_device *vdev, in get_platform_resource() argument
28 struct platform_device *dev = (struct platform_device *) vdev->opaque; in get_platform_resource()
33 static int get_platform_irq(struct vfio_platform_device *vdev, int i) in get_platform_irq() argument
35 struct platform_device *pdev = (struct platform_device *) vdev->opaque; in get_platform_irq()
42 struct vfio_platform_device *vdev = in vfio_platform_init_dev() local
43 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_init_dev()
46 vdev->opaque = (void *) pdev; in vfio_platform_init_dev()
47 vdev->name = pdev->name; in vfio_platform_init_dev()
48 vdev->flags = VFIO_DEVICE_FLAGS_PLATFORM; in vfio_platform_init_dev()
49 vdev in vfio_platform_init_dev()
59 struct vfio_platform_device *vdev; vfio_platform_probe() local
82 struct vfio_platform_device *vdev = vfio_platform_release_dev() local
90 struct vfio_platform_device *vdev = dev_get_drvdata(&pdev->dev); vfio_platform_remove() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dvdpa.h72 * @vdev: vdpa device
79 * @vdev: vdpa device
83 * @vdev: vdpa device
87 * @vdev: vdpa device
89 * @cb: virtio-vdev interrupt callback structure
91 * @vdev: vdpa device
95 * @vdev: vdpa device
99 * @vdev: vdpa device
104 * @vdev: vdpa device
108 * @vdev
292 vdpa_get_drvdata(const struct vdpa_device *vdev) vdpa_get_drvdata() argument
297 vdpa_set_drvdata(struct vdpa_device *vdev, void *data) vdpa_set_drvdata() argument
302 vdpa_get_dma_dev(struct vdpa_device *vdev) vdpa_get_dma_dev() argument
307 vdpa_reset(struct vdpa_device *vdev) vdpa_reset() argument
315 vdpa_set_features(struct vdpa_device *vdev, u64 features) vdpa_set_features() argument
324 vdpa_get_config(struct vdpa_device *vdev, unsigned offset, void *buf, unsigned int len) vdpa_get_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/accel/ivpu/
H A Divpu_ipc.c33 static void ivpu_ipc_msg_dump(struct ivpu_device *vdev, char *c, in ivpu_ipc_msg_dump() argument
36 ivpu_dbg(vdev, IPC, in ivpu_ipc_msg_dump()
42 static void ivpu_jsm_msg_dump(struct ivpu_device *vdev, char *c, in ivpu_jsm_msg_dump() argument
47 ivpu_dbg(vdev, JSM, in ivpu_jsm_msg_dump()
54 ivpu_ipc_rx_mark_free(struct ivpu_device *vdev, struct ivpu_ipc_hdr *ipc_hdr, in ivpu_ipc_rx_mark_free() argument
63 static void ivpu_ipc_mem_fini(struct ivpu_device *vdev) in ivpu_ipc_mem_fini() argument
65 struct ivpu_ipc_info *ipc = vdev->ipc; in ivpu_ipc_mem_fini()
72 ivpu_ipc_tx_prepare(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, in ivpu_ipc_tx_prepare() argument
75 struct ivpu_ipc_info *ipc = vdev->ipc; in ivpu_ipc_tx_prepare()
82 ivpu_err(vdev, "Faile in ivpu_ipc_tx_prepare()
128 ivpu_ipc_tx_release(struct ivpu_device *vdev, u32 vpu_addr) ivpu_ipc_tx_release() argument
136 ivpu_ipc_tx(struct ivpu_device *vdev, u32 vpu_addr) ivpu_ipc_tx() argument
142 ivpu_ipc_consumer_add(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, u32 channel) ivpu_ipc_consumer_add() argument
159 ivpu_ipc_consumer_del(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons) ivpu_ipc_consumer_del() argument
181 ivpu_ipc_send(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, struct vpu_jsm_msg *req) ivpu_ipc_send() argument
204 ivpu_ipc_receive(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, struct ivpu_ipc_hdr *ipc_buf, struct vpu_jsm_msg *ipc_payload, unsigned long timeout_ms) ivpu_ipc_receive() argument
254 ivpu_ipc_send_receive_internal(struct ivpu_device *vdev, struct vpu_jsm_msg *req, enum vpu_ipc_msg_type expected_resp_type, struct vpu_jsm_msg *resp, u32 channel, unsigned long timeout_ms) ivpu_ipc_send_receive_internal() argument
286 ivpu_ipc_send_receive(struct ivpu_device *vdev, struct vpu_jsm_msg *req, enum vpu_ipc_msg_type expected_resp_type, struct vpu_jsm_msg *resp, u32 channel, unsigned long timeout_ms) ivpu_ipc_send_receive() argument
318 ivpu_ipc_match_consumer(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, struct ivpu_ipc_hdr *ipc_hdr, struct vpu_jsm_msg *jsm_msg) ivpu_ipc_match_consumer() argument
331 ivpu_ipc_dispatch(struct ivpu_device *vdev, struct ivpu_ipc_consumer *cons, struct ivpu_ipc_hdr *ipc_hdr, struct vpu_jsm_msg *jsm_msg) ivpu_ipc_dispatch() argument
358 ivpu_ipc_irq_handler(struct ivpu_device *vdev) ivpu_ipc_irq_handler() argument
423 ivpu_ipc_init(struct ivpu_device *vdev) ivpu_ipc_init() argument
464 ivpu_ipc_fini(struct ivpu_device *vdev) ivpu_ipc_fini() argument
469 ivpu_ipc_enable(struct ivpu_device *vdev) ivpu_ipc_enable() argument
478 ivpu_ipc_disable(struct ivpu_device *vdev) ivpu_ipc_disable() argument
494 ivpu_ipc_reset(struct ivpu_device *vdev) ivpu_ipc_reset() argument
[all...]
H A Divpu_mmu.c243 static void ivpu_mmu_config_check(struct ivpu_device *vdev) in ivpu_mmu_config_check() argument
248 if (ivpu_is_simics(vdev)) in ivpu_mmu_config_check()
255 ivpu_dbg(vdev, MMU, "IDR0 0x%x != IDR0_REF 0x%x\n", val, val_ref); in ivpu_mmu_config_check()
259 ivpu_dbg(vdev, MMU, "IDR1 0x%x != IDR1_REF 0x%x\n", val, IVPU_MMU_IDR1_REF); in ivpu_mmu_config_check()
263 ivpu_dbg(vdev, MMU, "IDR3 0x%x != IDR3_REF 0x%x\n", val, IVPU_MMU_IDR3_REF); in ivpu_mmu_config_check()
265 if (ivpu_is_simics(vdev)) in ivpu_mmu_config_check()
267 else if (ivpu_is_fpga(vdev)) in ivpu_mmu_config_check()
274 ivpu_dbg(vdev, MMU, "IDR5 0x%x != IDR5_REF 0x%x\n", val, val_ref); in ivpu_mmu_config_check()
277 static int ivpu_mmu_cdtab_alloc(struct ivpu_device *vdev) in ivpu_mmu_cdtab_alloc() argument
279 struct ivpu_mmu_info *mmu = vdev in ivpu_mmu_cdtab_alloc()
292 ivpu_mmu_strtab_alloc(struct ivpu_device *vdev) ivpu_mmu_strtab_alloc() argument
312 ivpu_mmu_cmdq_alloc(struct ivpu_device *vdev) ivpu_mmu_cmdq_alloc() argument
331 ivpu_mmu_evtq_alloc(struct ivpu_device *vdev) ivpu_mmu_evtq_alloc() argument
350 ivpu_mmu_structs_alloc(struct ivpu_device *vdev) ivpu_mmu_structs_alloc() argument
379 ivpu_mmu_reg_write(struct ivpu_device *vdev, u32 reg, u32 val) ivpu_mmu_reg_write() argument
394 ivpu_mmu_irqs_setup(struct ivpu_device *vdev) ivpu_mmu_irqs_setup() argument
406 ivpu_mmu_cmdq_wait_for_cons(struct ivpu_device *vdev) ivpu_mmu_cmdq_wait_for_cons() argument
414 ivpu_mmu_cmdq_cmd_write(struct ivpu_device *vdev, const char *name, u64 data0, u64 data1) ivpu_mmu_cmdq_cmd_write() argument
434 ivpu_mmu_cmdq_sync(struct ivpu_device *vdev) ivpu_mmu_cmdq_sync() argument
459 ivpu_mmu_cmdq_write_cfgi_all(struct ivpu_device *vdev) ivpu_mmu_cmdq_write_cfgi_all() argument
467 ivpu_mmu_cmdq_write_tlbi_nh_asid(struct ivpu_device *vdev, u16 ssid) ivpu_mmu_cmdq_write_tlbi_nh_asid() argument
475 ivpu_mmu_cmdq_write_tlbi_nsnh_all(struct ivpu_device *vdev) ivpu_mmu_cmdq_write_tlbi_nsnh_all() argument
482 ivpu_mmu_reset(struct ivpu_device *vdev) ivpu_mmu_reset() argument
555 ivpu_mmu_strtab_link_cd(struct ivpu_device *vdev, u32 sid) ivpu_mmu_strtab_link_cd() argument
588 ivpu_mmu_strtab_init(struct ivpu_device *vdev) ivpu_mmu_strtab_init() argument
596 ivpu_mmu_invalidate_tlb(struct ivpu_device *vdev, u16 ssid) ivpu_mmu_invalidate_tlb() argument
615 ivpu_mmu_cd_add(struct ivpu_device *vdev, u32 ssid, u64 cd_dma) ivpu_mmu_cd_add() argument
676 ivpu_mmu_cd_add_gbl(struct ivpu_device *vdev) ivpu_mmu_cd_add_gbl() argument
687 ivpu_mmu_cd_add_user(struct ivpu_device *vdev, u32 ssid, dma_addr_t cd_dma) ivpu_mmu_cd_add_user() argument
703 ivpu_mmu_init(struct ivpu_device *vdev) ivpu_mmu_init() argument
740 ivpu_mmu_enable(struct ivpu_device *vdev) ivpu_mmu_enable() argument
776 ivpu_mmu_disable(struct ivpu_device *vdev) ivpu_mmu_disable() argument
785 ivpu_mmu_dump_event(struct ivpu_device *vdev, u32 *event) ivpu_mmu_dump_event() argument
797 ivpu_mmu_get_event(struct ivpu_device *vdev) ivpu_mmu_get_event() argument
813 ivpu_mmu_irq_evtq_handler(struct ivpu_device *vdev) ivpu_mmu_irq_evtq_handler() argument
835 ivpu_mmu_irq_gerr_handler(struct ivpu_device *vdev) ivpu_mmu_irq_gerr_handler() argument
872 ivpu_mmu_set_pgtable(struct ivpu_device *vdev, int ssid, struct ivpu_mmu_pgtable *pgtable) ivpu_mmu_set_pgtable() argument
877 ivpu_mmu_clear_pgtable(struct ivpu_device *vdev, int ssid) ivpu_mmu_clear_pgtable() argument
[all...]
H A Divpu_drv.h58 #define ivpu_err(vdev, fmt, ...) \
59 drm_err(&(vdev)->drm, "%s(): " fmt, __func__, ##__VA_ARGS__)
61 #define ivpu_err_ratelimited(vdev, fmt, ...) \
62 drm_err_ratelimited(&(vdev)->drm, "%s(): " fmt, __func__, ##__VA_ARGS__)
64 #define ivpu_warn(vdev, fmt, ...) \
65 drm_warn(&(vdev)->drm, "%s(): " fmt, __func__, ##__VA_ARGS__)
67 #define ivpu_warn_ratelimited(vdev, fmt, ...) \
68 drm_err_ratelimited(&(vdev)->drm, "%s(): " fmt, __func__, ##__VA_ARGS__)
70 #define ivpu_info(vdev, fmt, ...) drm_info(&(vdev)
135 struct ivpu_device *vdev; global() member
161 ivpu_revision(struct ivpu_device *vdev) ivpu_revision() argument
166 ivpu_device_id(struct ivpu_device *vdev) ivpu_device_id() argument
171 ivpu_hw_gen(struct ivpu_device *vdev) ivpu_hw_gen() argument
190 ivpu_get_context_count(struct ivpu_device *vdev) ivpu_get_context_count() argument
197 ivpu_get_platform(struct ivpu_device *vdev) ivpu_get_platform() argument
203 ivpu_is_silicon(struct ivpu_device *vdev) ivpu_is_silicon() argument
208 ivpu_is_simics(struct ivpu_device *vdev) ivpu_is_simics() argument
213 ivpu_is_fpga(struct ivpu_device *vdev) ivpu_is_fpga() argument
[all...]
H A Divpu_job.c31 static void ivpu_cmdq_ring_db(struct ivpu_device *vdev, struct ivpu_cmdq *cmdq) in ivpu_cmdq_ring_db() argument
33 ivpu_hw_reg_db_set(vdev, cmdq->db_id); in ivpu_cmdq_ring_db()
38 struct ivpu_device *vdev = file_priv->vdev; in ivpu_cmdq_alloc() local
46 cmdq->mem = ivpu_bo_alloc_internal(vdev, 0, SZ_4K, DRM_IVPU_BO_WC); in ivpu_cmdq_alloc()
50 cmdq->db_id = file_priv->ctx.id + engine * ivpu_get_context_count(vdev); in ivpu_cmdq_alloc()
79 struct ivpu_device *vdev = file_priv->vdev; in ivpu_cmdq_acquire() local
95 ret = ivpu_jsm_register_db(vdev, file_priv->ctx.id, cmdq->db_id, in ivpu_cmdq_acquire()
114 ivpu_jsm_unregister_db(file_priv->vdev, cmd in ivpu_cmdq_release_locked()
164 ivpu_cmdq_reset_all_contexts(struct ivpu_device *vdev) ivpu_cmdq_reset_all_contexts() argument
182 struct ivpu_device *vdev = job->vdev; ivpu_cmdq_push_job() local
209 struct ivpu_device *vdev; global() member
234 ivpu_fence_create(struct ivpu_device *vdev) ivpu_fence_create() argument
251 struct ivpu_device *vdev = job->vdev; job_get() local
262 struct ivpu_device *vdev = job->vdev; job_release() local
281 struct ivpu_device *vdev = job->vdev; job_put() local
290 struct ivpu_device *vdev = file_priv->vdev; ivpu_create_job() local
326 ivpu_job_done(struct ivpu_device *vdev, u32 job_id, u32 job_status) ivpu_job_done() argument
347 ivpu_job_done_message(struct ivpu_device *vdev, void *msg) ivpu_job_done_message() argument
360 ivpu_jobs_abort_all(struct ivpu_device *vdev) ivpu_jobs_abort_all() argument
372 struct ivpu_device *vdev = job->vdev; ivpu_direct_job_submission() local
430 struct ivpu_device *vdev = file_priv->vdev; ivpu_job_prepare_bos_for_submit() local
494 struct ivpu_device *vdev = file_priv->vdev; ivpu_submit_ioctl() local
567 struct ivpu_device *vdev = (struct ivpu_device *)arg; ivpu_job_done_thread() local
601 ivpu_job_done_thread_init(struct ivpu_device *vdev) ivpu_job_done_thread_init() argument
619 ivpu_job_done_thread_fini(struct ivpu_device *vdev) ivpu_job_done_thread_fini() argument
[all...]
H A Divpu_mmu_context.c42 static int ivpu_mmu_pgtable_init(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable) in ivpu_mmu_pgtable_init() argument
46 pgtable->pgd_dma_ptr = dma_alloc_coherent(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, &pgd_dma, in ivpu_mmu_pgtable_init()
56 static void ivpu_mmu_pgtable_free(struct ivpu_device *vdev, u64 *cpu_addr, dma_addr_t dma_addr) in ivpu_mmu_pgtable_free() argument
59 dma_free_coherent(vdev->drm.dev, IVPU_MMU_PGTABLE_SIZE, cpu_addr, in ivpu_mmu_pgtable_free()
63 static void ivpu_mmu_pgtables_free(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable) in ivpu_mmu_pgtables_free() argument
87 ivpu_mmu_pgtable_free(vdev, pte_dma_ptr, pte_dma); in ivpu_mmu_pgtables_free()
91 ivpu_mmu_pgtable_free(vdev, pmd_dma_ptr, pmd_dma); in ivpu_mmu_pgtables_free()
96 ivpu_mmu_pgtable_free(vdev, pud_dma_ptr, pud_dma); in ivpu_mmu_pgtables_free()
99 ivpu_mmu_pgtable_free(vdev, pgtable->pgd_dma_ptr, pgtable->pgd_dma); in ivpu_mmu_pgtables_free()
103 ivpu_mmu_ensure_pud(struct ivpu_device *vdev, struc argument
139 ivpu_mmu_ensure_pmd(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable, int pgd_idx, int pud_idx) ivpu_mmu_ensure_pmd() argument
168 ivpu_mmu_ensure_pte(struct ivpu_device *vdev, struct ivpu_mmu_pgtable *pgtable, int pgd_idx, int pud_idx, int pmd_idx) ivpu_mmu_ensure_pte() argument
188 ivpu_mmu_context_map_page(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, dma_addr_t dma_addr, u64 prot) ivpu_mmu_context_map_page() argument
217 ivpu_mmu_context_map_cont_64k(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, dma_addr_t dma_addr, u64 prot) ivpu_mmu_context_map_cont_64k() argument
285 ivpu_mmu_context_map_pages(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, dma_addr_t dma_addr, size_t size, u64 prot) ivpu_mmu_context_map_pages() argument
322 ivpu_mmu_context_map_sgt(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, struct sg_table *sgt, bool llc_coherent) ivpu_mmu_context_map_sgt() argument
365 ivpu_mmu_context_unmap_sgt(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u64 vpu_addr, struct sg_table *sgt) ivpu_mmu_context_unmap_sgt() argument
418 ivpu_mmu_context_init(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u32 context_id) ivpu_mmu_context_init() argument
444 ivpu_mmu_context_fini(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx) ivpu_mmu_context_fini() argument
457 ivpu_mmu_global_context_init(struct ivpu_device *vdev) ivpu_mmu_global_context_init() argument
462 ivpu_mmu_global_context_fini(struct ivpu_device *vdev) ivpu_mmu_global_context_fini() argument
467 ivpu_mmu_user_context_mark_invalid(struct ivpu_device *vdev, u32 ssid) ivpu_mmu_user_context_mark_invalid() argument
480 ivpu_mmu_user_context_init(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, u32 ctx_id) ivpu_mmu_user_context_init() argument
505 ivpu_mmu_user_context_fini(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx) ivpu_mmu_user_context_fini() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/cdx/
H A Dmain.c13 struct vfio_cdx_device *vdev = in vfio_cdx_open_device() local
14 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_open_device()
19 vdev->regions = kcalloc(count, sizeof(struct vfio_cdx_region), in vfio_cdx_open_device()
21 if (!vdev->regions) in vfio_cdx_open_device()
27 vdev->regions[i].addr = res->start; in vfio_cdx_open_device()
28 vdev->regions[i].size = resource_size(res); in vfio_cdx_open_device()
29 vdev->regions[i].type = res->flags; in vfio_cdx_open_device()
34 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_cdx_open_device()
35 !(vdev->regions[i].size & ~PAGE_MASK)) in vfio_cdx_open_device()
36 vdev in vfio_cdx_open_device()
48 struct vfio_cdx_device *vdev = vfio_cdx_close_device() local
55 vfio_cdx_ioctl_get_info(struct vfio_cdx_device *vdev, struct vfio_device_info __user *arg) vfio_cdx_ioctl_get_info() argument
77 vfio_cdx_ioctl_get_region_info(struct vfio_cdx_device *vdev, struct vfio_region_info __user *arg) vfio_cdx_ioctl_get_region_info() argument
104 struct vfio_cdx_device *vdev = vfio_cdx_ioctl() local
143 struct vfio_cdx_device *vdev = vfio_cdx_mmap() local
180 struct vfio_cdx_device *vdev; vfio_cdx_probe() local
204 struct vfio_cdx_device *vdev = dev_get_drvdata(dev); vfio_cdx_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
H A 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 in vxge_callback_link_up() local
174 struct vxgedev *vdev = netdev_priv(dev); vxge_callback_link_down() local
632 vxge_get_vpath_no(struct vxgedev *vdev, struct sk_buff *skb) vxge_get_vpath_no() argument
700 vxge_add_mac_addr(struct vxgedev *vdev, struct macInfo *mac) vxge_add_mac_addr() argument
725 vxge_learn_mac(struct vxgedev *vdev, u8 *mac_header) vxge_learn_mac() argument
809 struct vxgedev *vdev = NULL; vxge_xmit() local
1093 vxge_del_mac_addr(struct vxgedev *vdev, struct macInfo *mac) vxge_del_mac_addr() argument
1124 struct vxgedev *vdev; vxge_set_multicast() local
1285 struct vxgedev *vdev; vxge_set_mac_addr() local
1356 vxge_vpath_intr_enable(struct vxgedev *vdev, int vp_id) vxge_vpath_intr_enable() argument
1389 vxge_vpath_intr_disable(struct vxgedev *vdev, int vp_id) vxge_vpath_intr_disable() argument
1488 struct vxgedev *vdev = vpath->vdev; vxge_restore_vpath_vid_table() local
1507 vxge_reset_vpath(struct vxgedev *vdev, int vp_id) vxge_reset_vpath() argument
1578 vxge_config_ci_for_tti_rti(struct vxgedev *vdev) vxge_config_ci_for_tti_rti() argument
1607 do_vxge_reset(struct vxgedev *vdev, int event) do_vxge_reset() argument
1793 struct vxgedev *vdev = container_of(work, struct vxgedev, reset_task); vxge_reset() local
1841 struct vxgedev *vdev = container_of(napi, struct vxgedev, napi); vxge_poll_inta() local
1884 struct vxgedev *vdev = netdev_priv(dev); vxge_netpoll() local
1909 vxge_rth_configure(struct vxgedev *vdev) vxge_rth_configure() argument
1972 vxge_reset_all_vpaths(struct vxgedev *vdev) vxge_reset_all_vpaths() argument
2004 vxge_close_vpaths(struct vxgedev *vdev, int index) vxge_close_vpaths() argument
2022 vxge_open_vpaths(struct vxgedev *vdev) vxge_open_vpaths() argument
2180 struct vxgedev *vdev = (struct vxgedev *)dev_id; vxge_isr_napi() local
2263 struct vxgedev *vdev = vpath->vdev; vxge_alarm_msix_handle() local
2289 vxge_alloc_msix(struct vxgedev *vdev) vxge_alloc_msix() argument
2380 vxge_enable_msix(struct vxgedev *vdev) vxge_enable_msix() argument
2412 vxge_rem_msix_isr(struct vxgedev *vdev) vxge_rem_msix_isr() argument
2435 vxge_rem_isr(struct vxgedev *vdev) vxge_rem_isr() argument
2446 vxge_add_isr(struct vxgedev *vdev) vxge_add_isr() argument
2592 struct vxgedev *vdev = from_timer(vdev, t, vp_reset_timer); vxge_poll_vp_reset() local
2611 struct vxgedev *vdev = from_timer(vdev, t, vp_lockup_timer); vxge_poll_vp_lockup() local
2670 struct vxgedev *vdev = netdev_priv(dev); vxge_set_features() local
2701 struct vxgedev *vdev; vxge_open() local
2921 vxge_napi_del_all(struct vxgedev *vdev) vxge_napi_del_all() argument
2935 struct vxgedev *vdev; do_vxge_close() local
3062 struct vxgedev *vdev = netdev_priv(dev); vxge_change_mtu() local
3106 struct vxgedev *vdev = netdev_priv(dev); vxge_get_stats64() local
3169 vxge_hwtstamp_set(struct vxgedev *vdev, void __user *data) vxge_hwtstamp_set() argument
3231 vxge_hwtstamp_get(struct vxgedev *vdev, void __user *data) vxge_hwtstamp_get() argument
3258 struct vxgedev *vdev = netdev_priv(dev); vxge_ioctl() local
3281 struct vxgedev *vdev; vxge_tx_watchdog() local
3305 struct vxgedev *vdev = netdev_priv(dev); vxge_vlan_rx_add_vid() local
3331 struct vxgedev *vdev = netdev_priv(dev); vxge_vlan_rx_kill_vid() local
3376 struct vxgedev *vdev; vxge_device_register() local
3511 struct vxgedev *vdev; vxge_device_unregister() local
3550 struct vxgedev *vdev = netdev_priv(dev); vxge_callback_crit_err() local
3912 vxge_print_parm(struct vxgedev *vdev, u64 vpath_mask) vxge_print_parm() argument
4067 struct vxgedev *vdev = netdev_priv(netdev); vxge_io_slot_reset() local
4133 vxge_fw_upgrade(struct vxgedev *vdev, char *fw_name, int override) vxge_fw_upgrade() argument
4202 vxge_probe_fw_update(struct vxgedev *vdev) vxge_probe_fw_update() argument
4307 struct vxgedev *vdev; vxge_probe() local
4763 struct vxgedev *vdev; vxge_remove() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A 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 in vio_device_probe()
98 struct vio_dev *vdev = to_vio_dev(dev); vio_device_remove() local
117 struct vio_dev *vdev = to_vio_dev(dev); devspec_show() local
132 struct vio_dev *vdev = to_vio_dev(dev); type_show() local
140 const struct vio_dev *vdev = to_vio_dev(dev); modalias_show() local
190 struct vio_dev *vdev; show_pciobppath_attr() local
238 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) vio_vdev_node() argument
252 vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, struct vio_dev *vdev) vio_fill_channel_info() argument
298 struct vio_dev *vdev; vio_create_one() local
426 struct vio_dev *vdev = to_vio_dev(dev); vio_md_node_match() local
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A 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 in vio_device_probe()
98 struct vio_dev *vdev = to_vio_dev(dev); vio_device_remove() local
115 struct vio_dev *vdev = to_vio_dev(dev); devspec_show() local
130 struct vio_dev *vdev = to_vio_dev(dev); type_show() local
138 const struct vio_dev *vdev = to_vio_dev(dev); modalias_show() local
188 struct vio_dev *vdev; show_pciobppath_attr() local
236 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev) vio_vdev_node() argument
250 vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, struct vio_dev *vdev) vio_fill_channel_info() argument
296 struct vio_dev *vdev; vio_create_one() local
424 struct vio_dev *vdev = to_vio_dev(dev); vio_md_node_match() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A 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-6.6/drivers/scsi/fnic/
H A Dvnic_dev.h100 void *vnic_dev_priv(struct vnic_dev *vdev);
101 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
103 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
109 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
111 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
113 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
115 int vnic_dev_fw_info(struct vnic_dev *vdev,
117 int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset,
119 int vnic_dev_stats_clear(struct vnic_dev *vdev);
120 int vnic_dev_cmd_init(struct vnic_dev *vdev);
[all...]
/kernel/linux/linux-5.10/drivers/vdpa/
H A 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 in vdpa_release_dev()
78 struct vdpa_device *vdev; __vdpa_alloc_device() local
128 vdpa_register_device(struct vdpa_device *vdev) vdpa_register_device() argument
138 vdpa_unregister_device(struct vdpa_device *vdev) vdpa_unregister_device() argument
[all...]
/kernel/linux/linux-5.10/tools/virtio/linux/
H A Dvirtio_config.h10 * @vdev: the device
13 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()
21 * @vdev: the device
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()
32 * @vdev: the device
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()
46 * @vdev
48 virtio_has_dma_quirk(const struct virtio_device *vdev) virtio_has_dma_quirk() argument
57 virtio_is_little_endian(struct virtio_device *vdev) virtio_is_little_endian() argument
64 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) virtio16_to_cpu() argument
69 cpu_to_virtio16(struct virtio_device *vdev, u16 val) cpu_to_virtio16() argument
74 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) virtio32_to_cpu() argument
79 cpu_to_virtio32(struct virtio_device *vdev, u32 val) cpu_to_virtio32() argument
84 virtio64_to_cpu(struct virtio_device *vdev, __virtio64 val) virtio64_to_cpu() argument
89 cpu_to_virtio64(struct virtio_device *vdev, u64 val) cpu_to_virtio64() argument
[all...]
/kernel/linux/linux-5.10/drivers/vfio/pci/
H A 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)
148 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX)
149 #define is_msix(vdev) (vde
197 vfio_pci_igd_init(struct vfio_pci_device *vdev) vfio_pci_igd_init() argument
206 vfio_pci_nvdia_v100_nvlink2_init(struct vfio_pci_device *vdev) vfio_pci_nvdia_v100_nvlink2_init() argument
211 vfio_pci_ibm_npu2_init(struct vfio_pci_device *vdev) vfio_pci_ibm_npu2_init() argument
221 vfio_pci_info_zdev_add_caps(struct vfio_pci_device *vdev, struct vfio_info_cap *caps) vfio_pci_info_zdev_add_caps() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c24 struct vfio_fsl_mc_device *vdev = in vfio_fsl_mc_open_device() local
25 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_open_device()
26 struct fsl_mc_device *mc_dev = vdev->mc_dev; in vfio_fsl_mc_open_device()
30 vdev->regions = kcalloc(count, sizeof(struct vfio_fsl_mc_region), in vfio_fsl_mc_open_device()
32 if (!vdev->regions) in vfio_fsl_mc_open_device()
39 vdev->regions[i].addr = res->start; in vfio_fsl_mc_open_device()
40 vdev->regions[i].size = resource_size(res); in vfio_fsl_mc_open_device()
41 vdev->regions[i].type = mc_dev->regions[i].flags & IORESOURCE_BITS; in vfio_fsl_mc_open_device()
46 if (!no_mmap && !(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_fsl_mc_open_device()
47 !(vdev in vfio_fsl_mc_open_device()
58 vfio_fsl_mc_regions_cleanup(struct vfio_fsl_mc_device *vdev) vfio_fsl_mc_regions_cleanup() argument
68 vfio_fsl_mc_reset_device(struct vfio_fsl_mc_device *vdev) vfio_fsl_mc_reset_device() argument
99 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_close_device() local
124 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_ioctl() local
243 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_read() local
322 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_write() local
387 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_mmap() local
425 struct vfio_fsl_mc_device *vdev = container_of(nb, vfio_fsl_mc_bus_notifier() local
453 vfio_fsl_mc_init_device(struct vfio_fsl_mc_device *vdev) vfio_fsl_mc_init_device() argument
501 vfio_fsl_uninit_device(struct vfio_fsl_mc_device *vdev) vfio_fsl_uninit_device() argument
514 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_init_dev() local
536 struct vfio_fsl_mc_device *vdev; vfio_fsl_mc_probe() local
566 struct vfio_fsl_mc_device *vdev = vfio_fsl_mc_release_dev() local
576 struct vfio_fsl_mc_device *vdev = dev_get_drvdata(dev); vfio_fsl_mc_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/vfio/pci/
H A Dvfio_pci_priv.h16 struct vfio_pci_core_device *vdev; member
26 bool vfio_pci_intx_mask(struct vfio_pci_core_device *vdev);
27 void vfio_pci_intx_unmask(struct vfio_pci_core_device *vdev);
29 int vfio_pci_set_irqs_ioctl(struct vfio_pci_core_device *vdev, uint32_t flags,
33 ssize_t vfio_pci_config_rw(struct vfio_pci_core_device *vdev, char __user *buf,
36 ssize_t vfio_pci_bar_rw(struct vfio_pci_core_device *vdev, char __user *buf,
40 ssize_t vfio_pci_vga_rw(struct vfio_pci_core_device *vdev, char __user *buf,
43 static inline ssize_t vfio_pci_vga_rw(struct vfio_pci_core_device *vdev, in vfio_pci_vga_rw() argument
51 int vfio_pci_ioeventfd(struct vfio_pci_core_device *vdev, loff_t offset,
57 int vfio_config_init(struct vfio_pci_core_device *vdev);
72 vfio_pci_igd_init(struct vfio_pci_core_device *vdev) vfio_pci_igd_init() argument
84 vfio_pci_info_zdev_add_caps(struct vfio_pci_core_device *vdev, struct vfio_info_cap *caps) vfio_pci_info_zdev_add_caps() argument
90 vfio_pci_zdev_open_device(struct vfio_pci_core_device *vdev) vfio_pci_zdev_open_device() argument
95 vfio_pci_zdev_close_device(struct vfio_pci_core_device *vdev) vfio_pci_zdev_close_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/
H A Dvdpa.c24 void vdpa_set_status(struct vdpa_device *vdev, u8 status) in vdpa_set_status() argument
26 down_write(&vdev->cf_lock); in vdpa_set_status()
27 vdev->config->set_status(vdev, status); in vdpa_set_status()
28 up_write(&vdev->cf_lock); in vdpa_set_status()
36 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_probe() local
37 struct vdpa_driver *drv = drv_to_vdpa(vdev->dev.driver); in vdpa_dev_probe()
38 const struct vdpa_config_ops *ops = vdev->config; in vdpa_dev_probe()
47 max_num = ops->get_vq_num_max(vdev); in vdpa_dev_probe()
49 min_num = ops->get_vq_num_min(vdev); in vdpa_dev_probe()
61 struct vdpa_device *vdev = dev_to_vdpa(d); vdpa_dev_remove() local
70 struct vdpa_device *vdev = dev_to_vdpa(dev); vdpa_dev_match() local
84 struct vdpa_device *vdev = dev_to_vdpa(dev); driver_override_store() local
97 struct vdpa_device *vdev = dev_to_vdpa(dev); driver_override_show() local
128 struct vdpa_device *vdev = dev_to_vdpa(d); vdpa_release_dev() local
163 struct vdpa_device *vdev; __vdpa_alloc_device() local
218 struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev); vdpa_name_match() local
223 __vdpa_register_device(struct vdpa_device *vdev, u32 nvqs) __vdpa_register_device() argument
248 _vdpa_register_device(struct vdpa_device *vdev, u32 nvqs) _vdpa_register_device() argument
265 vdpa_register_device(struct vdpa_device *vdev, u32 nvqs) vdpa_register_device() argument
282 _vdpa_unregister_device(struct vdpa_device *vdev) _vdpa_unregister_device() argument
294 vdpa_unregister_device(struct vdpa_device *vdev) vdpa_unregister_device() argument
352 struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev); vdpa_match_remove() local
373 vdpa_get_config_unlocked(struct vdpa_device *vdev, unsigned int offset, void *buf, unsigned int len) vdpa_get_config_unlocked() argument
395 vdpa_get_config(struct vdpa_device *vdev, unsigned int offset, void *buf, unsigned int len) vdpa_get_config() argument
411 vdpa_set_config(struct vdpa_device *vdev, unsigned int offset, const void *buf, unsigned int length) vdpa_set_config() argument
707 struct vdpa_device *vdev; vdpa_nl_cmd_dev_del_set_doit() local
739 vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) vdpa_dev_fill() argument
787 struct vdpa_device *vdev; vdpa_nl_cmd_dev_get_doit() local
838 struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev); vdpa_dev_dump() local
922 vdpa_dev_net_config_fill(struct vdpa_device *vdev, struct sk_buff *msg) vdpa_dev_net_config_fill() argument
948 vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, int flags, struct netlink_ext_ack *extack) vdpa_dev_config_fill() argument
1009 vdpa_fill_stats_rec(struct vdpa_device *vdev, struct sk_buff *msg, struct genl_info *info, u32 index) vdpa_fill_stats_rec() argument
1043 vendor_stats_fill(struct vdpa_device *vdev, struct sk_buff *msg, struct genl_info *info, u32 index) vendor_stats_fill() argument
1060 vdpa_dev_vendor_stats_fill(struct vdpa_device *vdev, struct sk_buff *msg, struct genl_info *info, u32 index) vdpa_dev_vendor_stats_fill() argument
1112 struct vdpa_device *vdev; vdpa_nl_cmd_dev_config_get_doit() local
1154 struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev); vdpa_dev_config_dump() local
1194 struct vdpa_device *vdev; vdpa_nl_cmd_dev_stats_get_doit() local
[all...]
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
H A 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 in vfio_fsl_mc_regions_init()
128 vfio_fsl_mc_regions_cleanup(struct vfio_fsl_mc_device *vdev) vfio_fsl_mc_regions_cleanup() argument
140 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_open() local
166 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_release() local
204 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_ioctl() local
333 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_read() local
410 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_write() local
473 struct vfio_fsl_mc_device *vdev = device_data; vfio_fsl_mc_mmap() local
519 struct vfio_fsl_mc_device *vdev = container_of(nb, vfio_fsl_mc_bus_notifier() local
547 vfio_fsl_mc_init_device(struct vfio_fsl_mc_device *vdev) vfio_fsl_mc_init_device() argument
595 vfio_fsl_uninit_device(struct vfio_fsl_mc_device *vdev) vfio_fsl_uninit_device() argument
609 struct vfio_fsl_mc_device *vdev; vfio_fsl_mc_probe() local
666 struct vfio_fsl_mc_device *vdev; vfio_fsl_mc_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/vfio/platform/
H A 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 in vfio_amba_probe()
76 struct vfio_platform_device *vdev = vfio_amba_remove() local
[all...]

Completed in 18 milliseconds

12345678910>>...44