Home
last modified time | relevance | path

Searched full:vdev (Results 1 – 25 of 852) sorted by relevance

12345678910>>...35

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw.h12 int (*info_init)(struct ivpu_device *vdev);
13 int (*power_up)(struct ivpu_device *vdev);
14 int (*boot_fw)(struct ivpu_device *vdev);
15 int (*power_down)(struct ivpu_device *vdev);
16 int (*reset)(struct ivpu_device *vdev);
17 bool (*is_idle)(struct ivpu_device *vdev);
18 void (*wdt_disable)(struct ivpu_device *vdev);
19 void (*diagnose_failure)(struct ivpu_device *vdev);
20 u32 (*reg_pll_freq_get)(struct ivpu_device *vdev);
21 u32 (*reg_telemetry_offset_get)(struct ivpu_device *vdev);
[all …]
H A Divpu_pm.c27 static void ivpu_pm_prepare_cold_boot(struct ivpu_device *vdev) in ivpu_pm_prepare_cold_boot() argument
29 struct ivpu_fw_info *fw = vdev->fw; in ivpu_pm_prepare_cold_boot()
31 ivpu_cmdq_reset_all_contexts(vdev); in ivpu_pm_prepare_cold_boot()
32 ivpu_ipc_reset(vdev); in ivpu_pm_prepare_cold_boot()
33 ivpu_fw_load(vdev); in ivpu_pm_prepare_cold_boot()
37 static void ivpu_pm_prepare_warm_boot(struct ivpu_device *vdev) in ivpu_pm_prepare_warm_boot() argument
39 struct ivpu_fw_info *fw = vdev->fw; in ivpu_pm_prepare_warm_boot()
43 ivpu_pm_prepare_cold_boot(vdev); in ivpu_pm_prepare_warm_boot()
47 ivpu_dbg(vdev, FW_BOOT, "Save/restore entry point %llx", bp->save_restore_ret_address); in ivpu_pm_prepare_warm_boot()
51 static int ivpu_suspend(struct ivpu_device *vdev) in ivpu_suspend() argument
[all …]
H A Divpu_drv.c60 struct ivpu_device *vdev = file_priv->vdev; in ivpu_file_priv_get() local
64 ivpu_dbg(vdev, KREF, "file_priv get: ctx %u refcount %u\n", in ivpu_file_priv_get()
70 struct ivpu_file_priv *ivpu_file_priv_get_by_ctx_id(struct ivpu_device *vdev, unsigned long id) in ivpu_file_priv_get_by_ctx_id() argument
74 xa_lock_irq(&vdev->context_xa); in ivpu_file_priv_get_by_ctx_id()
75 file_priv = xa_load(&vdev->context_xa, id); in ivpu_file_priv_get_by_ctx_id()
79 xa_unlock_irq(&vdev->context_xa); in ivpu_file_priv_get_by_ctx_id()
82 ivpu_dbg(vdev, KREF, "file_priv get by id: ctx %u refcount %u\n", in ivpu_file_priv_get_by_ctx_id()
91 struct ivpu_device *vdev = file_priv->vdev; in file_priv_release() local
93 ivpu_dbg(vdev, FILE, "file_priv release: ctx %u\n", file_priv->ctx.id); in file_priv_release()
97 ivpu_jsm_context_release(vdev, file_priv->ctx.id); in file_priv_release()
[all …]
H A Divpu_hw_37xx.c87 static void ivpu_hw_read_platform(struct ivpu_device *vdev) in ivpu_hw_read_platform() argument
93 vdev->platform = platform; in ivpu_hw_read_platform()
95 vdev->platform = IVPU_PLATFORM_SILICON; in ivpu_hw_read_platform()
97 ivpu_dbg(vdev, MISC, "Platform type: %s (%d)\n", in ivpu_hw_read_platform()
98 ivpu_platform_to_str(vdev->platform), vdev->platform); in ivpu_hw_read_platform()
101 static void ivpu_hw_wa_init(struct ivpu_device *vdev) in ivpu_hw_wa_init() argument
103 vdev->wa.punit_disabled = ivpu_is_fpga(vdev); in ivpu_hw_wa_init()
104 vdev->wa.clear_runtime_mem = false; in ivpu_hw_wa_init()
105 vdev->wa.d3hot_after_power_off = true; in ivpu_hw_wa_init()
110 vdev->wa.interrupt_clear_with_0 = true; in ivpu_hw_wa_init()
[all …]
H A Divpu_hw_40xx.c110 static void ivpu_hw_read_platform(struct ivpu_device *vdev) in ivpu_hw_read_platform() argument
113 vdev->platform = IVPU_PLATFORM_SIMICS; in ivpu_hw_read_platform()
115 vdev->platform = IVPU_PLATFORM_SILICON; in ivpu_hw_read_platform()
117 ivpu_dbg(vdev, MISC, "Platform type: %s (%d)\n", in ivpu_hw_read_platform()
118 ivpu_platform_to_str(vdev->platform), vdev->platform); in ivpu_hw_read_platform()
121 static void ivpu_hw_wa_init(struct ivpu_device *vdev) in ivpu_hw_wa_init() argument
123 vdev->wa.punit_disabled = ivpu_is_fpga(vdev); in ivpu_hw_wa_init()
124 vdev->wa.clear_runtime_mem = false; in ivpu_hw_wa_init()
126 if (ivpu_hw_gen(vdev) == IVPU_HW_40XX) in ivpu_hw_wa_init()
127 vdev->wa.disable_clock_relinquish = true; in ivpu_hw_wa_init()
[all …]
H A Divpu_fw.c36 #define IVPU_FW_CHECK_API(vdev, fw_hdr, name, min_major) \ argument
37 ivpu_fw_check_api(vdev, fw_hdr, #name, \
62 static int ivpu_fw_request(struct ivpu_device *vdev) in ivpu_fw_request() argument
68 ret = request_firmware(&vdev->fw->file, ivpu_firmware, vdev->drm.dev); in ivpu_fw_request()
70 vdev->fw->name = ivpu_firmware; in ivpu_fw_request()
75 if (fw_names[i].gen != ivpu_hw_gen(vdev)) in ivpu_fw_request()
78 ret = firmware_request_nowarn(&vdev->fw->file, fw_names[i].name, vdev->drm.dev); in ivpu_fw_request()
80 vdev->fw->name = fw_names[i].name; in ivpu_fw_request()
85 ivpu_err(vdev, "Failed to request firmware: %d\n", ret); in ivpu_fw_request()
90 ivpu_fw_check_api(struct ivpu_device *vdev, const struct vpu_firmware_header *fw_hdr, in ivpu_fw_check_api() argument
[all …]
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.c26 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv() argument
28 return vdev->priv; in vnic_dev_priv()
31 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
43 vdev_err(vdev, "vNIC BAR0 res hdr length error\n"); in vnic_dev_discover_res()
50 vdev_err(vdev, "vNIC BAR0 res hdr not mem-mapped\n"); in vnic_dev_discover_res()
59 vdev_err(vdev, "vNIC BAR0 res magic/version error exp (%lx/%lx) or (%lx/%lx), curr (%x/%x)\n", in vnic_dev_discover_res()
96 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()
111 vdev->res[type].count = count; in vnic_dev_discover_res()
112 vdev->res[type].vaddr = (char __iomem *)bar[bar_num].vaddr + in vnic_dev_discover_res()
114 vdev->res[type].bus_addr = bar[bar_num].bus_addr + bar_offset; in vnic_dev_discover_res()
[all …]
H A Dvnic_dev.h98 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
104 void *vnic_dev_priv(struct vnic_dev *vdev);
105 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev,
107 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type,
110 int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring,
112 void vnic_dev_free_desc_ring(struct vnic_dev *vdev,
114 int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
116 void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index);
117 void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev);
118 int vnic_dev_fw_info(struct vnic_dev *vdev,
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-config-io.c16 uint32_t virtio_config_readb(VirtIODevice *vdev, uint32_t addr) in virtio_config_readb() argument
18 VirtioDeviceClass *k = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_config_readb()
21 if (addr + sizeof(val) > vdev->config_len) { in virtio_config_readb()
25 k->get_config(vdev, vdev->config); in virtio_config_readb()
27 val = ldub_p(vdev->config + addr); in virtio_config_readb()
31 uint32_t virtio_config_readw(VirtIODevice *vdev, uint32_t addr) in virtio_config_readw() argument
33 VirtioDeviceClass *k = VIRTIO_DEVICE_GET_CLASS(vdev); in virtio_config_readw()
36 if (addr + sizeof(val) > vdev->config_len) { in virtio_config_readw()
40 k->get_config(vdev, vdev->config); in virtio_config_readw()
42 val = lduw_p(vdev->config + addr); in virtio_config_readw()
[all …]
H A Dvirtio.c151 VirtIODevice *vdev; member
229 void virtio_init_region_cache(VirtIODevice *vdev, int n) in virtio_init_region_cache() argument
231 VirtQueue *vq = &vdev->vq[n]; in virtio_init_region_cache()
244 size = virtio_queue_get_desc_size(vdev, n); in virtio_init_region_cache()
245 packed = virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED) ? in virtio_init_region_cache()
247 len = address_space_cache_init(&new->desc, vdev->dma_as, in virtio_init_region_cache()
250 virtio_error(vdev, "Cannot map desc"); in virtio_init_region_cache()
254 size = virtio_queue_get_used_size(vdev, n); in virtio_init_region_cache()
255 len = address_space_cache_init(&new->used, vdev->dma_as, in virtio_init_region_cache()
258 virtio_error(vdev, "Cannot map used"); in virtio_init_region_cache()
[all …]
/openbmc/linux/drivers/vfio/
H A Diommufd.c13 bool vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev, in vfio_iommufd_device_has_compat_ioas() argument
23 struct vfio_device *vdev = df->device; in vfio_df_iommufd_bind() local
26 lockdep_assert_held(&vdev->dev_set->lock); in vfio_df_iommufd_bind()
28 return vdev->ops->bind_iommufd(vdev, ictx, &df->devid); in vfio_df_iommufd_bind()
31 int vfio_iommufd_compat_attach_ioas(struct vfio_device *vdev, in vfio_iommufd_compat_attach_ioas() argument
37 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_compat_attach_ioas()
40 if (vfio_device_is_noiommu(vdev)) in vfio_iommufd_compat_attach_ioas()
48 return vdev->ops->attach_ioas(vdev, &ioas_id); in vfio_iommufd_compat_attach_ioas()
53 struct vfio_device *vdev = df->device; in vfio_df_iommufd_unbind() local
55 lockdep_assert_held(&vdev->dev_set->lock); in vfio_df_iommufd_unbind()
[all …]
/openbmc/qemu/hw/vfio/
H A Dpci.c53 static void vfio_disable_interrupts(VFIOPCIDevice *vdev);
54 static void vfio_mmap_set_enabled(VFIOPCIDevice *vdev, bool enabled);
55 static void vfio_msi_disable_common(VFIOPCIDevice *vdev);
74 VFIOPCIDevice *vdev = opaque; in vfio_intx_mmap_enable() local
76 if (vdev->intx.pending) { in vfio_intx_mmap_enable()
77 timer_mod(vdev->intx.mmap_timer, in vfio_intx_mmap_enable()
78 qemu_clock_get_ms(QEMU_CLOCK_VIRTUAL) + vdev->intx.mmap_timeout); in vfio_intx_mmap_enable()
82 vfio_mmap_set_enabled(vdev, true); in vfio_intx_mmap_enable()
87 VFIOPCIDevice *vdev = opaque; in vfio_intx_interrupt() local
89 if (!event_notifier_test_and_clear(&vdev->intx.interrupt)) { in vfio_intx_interrupt()
[all …]
H A Dpci-quirks.c50 bool vfio_opt_rom_in_denylist(VFIOPCIDevice *vdev) in vfio_opt_rom_in_denylist() argument
55 if (vfio_pci_is(vdev, rom_denylist[i].vendor, rom_denylist[i].device)) { in vfio_opt_rom_in_denylist()
56 trace_vfio_quirk_rom_in_denylist(vdev->vbasedev.name, in vfio_opt_rom_in_denylist()
86 struct VFIOPCIDevice *vdev; member
108 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_read() local
110 return vfio_region_read(&vdev->bars[window->bar].region, in vfio_generic_window_quirk_address_read()
119 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_write() local
124 vfio_region_write(&vdev->bars[window->bar].region, in vfio_generic_window_quirk_address_write()
131 trace_vfio_quirk_generic_window_address_write(vdev->vbasedev.name, in vfio_generic_window_quirk_address_write()
148 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_data_read() local
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dvnic_dev.c61 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
70 void *vnic_dev_priv(struct vnic_dev *vdev) in vnic_dev_priv() argument
72 return vdev->priv; in vnic_dev_priv()
75 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
142 vdev->res[type].count = count; in vnic_dev_discover_res()
143 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
149 unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, in vnic_dev_get_res_count() argument
152 return vdev->res[type].count; in vnic_dev_get_res_count()
155 void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in vnic_dev_get_res() argument
158 if (!vdev->res[type].vaddr) in vnic_dev_get_res()
[all …]
/openbmc/linux/drivers/vfio/platform/
H A 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 …]
/openbmc/linux/include/linux/
H A Dvirtio_config.h29 * vdev: the virtio_device
34 * vdev: the virtio_device
39 * vdev: the virtio_device
42 * vdev: the virtio_device
45 * vdev: the virtio_device
48 * vdev: the virtio device
53 * vdev: the virtio_device
66 * vdev: the virtio_device
68 * vdev: the virtio_device
71 * vdev: the virtio_device
[all …]
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: vdpa device
[all …]
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-blkdev.c19 static int virtio_blk_read_many(VDev *vdev, unsigned long sector, void *load_addr, in virtio_blk_read_many() argument
24 VRing *vr = &vdev->vrings[vdev->cmd_vr_idx]; in virtio_blk_read_many()
54 VDev *vdev = virtio_get_device(); in virtio_read_many() local
56 switch (vdev->senseid.cu_model) { in virtio_read_many()
58 return virtio_blk_read_many(vdev, sector, load_addr, sec_num); in virtio_read_many()
60 return virtio_scsi_read_many(vdev, sector, load_addr, sec_num); in virtio_read_many()
120 VDev *vdev = virtio_get_device(); in virtio_assume_iso9660() local
122 switch (vdev->senseid.cu_model) { in virtio_assume_iso9660()
124 vdev->guessed_disk_nature = VIRTIO_GDN_SCSI; in virtio_assume_iso9660()
125 vdev->config.blk.blk_size = VIRTIO_ISO_BLOCK_SIZE; in virtio_assume_iso9660()
[all …]
/openbmc/linux/drivers/nfc/
H A Dvirtual_ncidev.c34 struct virtual_nci_dev *vdev = nci_get_drvdata(ndev); in virtual_nci_open() local
36 vdev->running = true; in virtual_nci_open()
42 struct virtual_nci_dev *vdev = nci_get_drvdata(ndev); in virtual_nci_close() local
44 mutex_lock(&vdev->mtx); in virtual_nci_close()
45 kfree_skb(vdev->send_buff); in virtual_nci_close()
46 vdev->send_buff = NULL; in virtual_nci_close()
47 vdev->running = false; in virtual_nci_close()
48 mutex_unlock(&vdev->mtx); in virtual_nci_close()
55 struct virtual_nci_dev *vdev = nci_get_drvdata(ndev); in virtual_nci_send() local
57 mutex_lock(&vdev->mtx); in virtual_nci_send()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dvnic_dev.c54 int (*devcmd_rtn)(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
63 void *svnic_dev_priv(struct vnic_dev *vdev) in svnic_dev_priv() argument
65 return vdev->priv; in svnic_dev_priv()
68 static int vnic_dev_discover_res(struct vnic_dev *vdev, in vnic_dev_discover_res() argument
144 vdev->res[type].count = count; in vnic_dev_discover_res()
145 vdev->res[type].vaddr = (char __iomem *)bar->vaddr + bar_offset; in vnic_dev_discover_res()
151 unsigned int svnic_dev_get_res_count(struct vnic_dev *vdev, in svnic_dev_get_res_count() argument
154 return vdev->res[type].count; in svnic_dev_get_res_count()
157 void __iomem *svnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, in svnic_dev_get_res() argument
160 if (!vdev->res[type].vaddr) in svnic_dev_get_res()
[all …]
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c112 static void vfio_pci_probe_mmaps(struct vfio_pci_core_device *vdev) in vfio_pci_probe_mmaps() argument
121 res = &vdev->pdev->resource[bar]; in vfio_pci_probe_mmaps()
138 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
164 &vdev->dummy_resources_list); in vfio_pci_probe_mmaps()
165 vdev->bar_mmap_supported[bar] = true; in vfio_pci_probe_mmaps()
177 vdev->bar_mmap_supported[bar] = false; in vfio_pci_probe_mmaps()
218 static void vfio_pci_probe_power_state(struct vfio_pci_core_device *vdev) in vfio_pci_probe_power_state() argument
220 struct pci_dev *pdev = vdev->pdev; in vfio_pci_probe_power_state()
228 vdev->needs_pm_restore = !(pmcsr & PCI_PM_CTRL_NO_SOFT_RESET); in vfio_pci_probe_power_state()
233 * D3->D0 transition. Save state prior to D0/1/2->D3, stash it on the vdev,
[all …]
H A Dvfio_pci_intrs.c34 static bool irq_is(struct vfio_pci_core_device *vdev, int type) in irq_is() argument
36 return vdev->irq_type == type; in irq_is()
39 static bool is_intx(struct vfio_pci_core_device *vdev) in is_intx() argument
41 return vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX; in is_intx()
44 static bool is_irq_none(struct vfio_pci_core_device *vdev) in is_irq_none() argument
46 return !(vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX || in is_irq_none()
47 vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX || in is_irq_none()
48 vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX); in is_irq_none()
52 struct vfio_pci_irq_ctx *vfio_irq_ctx_get(struct vfio_pci_core_device *vdev, in vfio_irq_ctx_get() argument
55 return xa_load(&vdev->ctx, index); in vfio_irq_ctx_get()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio.h180 uint64_t (*get_features)(VirtIODevice *vdev,
183 uint64_t (*bad_features)(VirtIODevice *vdev);
184 void (*set_features)(VirtIODevice *vdev, uint64_t val);
185 int (*validate_features)(VirtIODevice *vdev);
186 void (*get_config)(VirtIODevice *vdev, uint8_t *config);
187 void (*set_config)(VirtIODevice *vdev, const uint8_t *config);
188 void (*reset)(VirtIODevice *vdev);
189 void (*set_status)(VirtIODevice *vdev, uint8_t val);
191 void (*queue_reset)(VirtIODevice *vdev, uint32_t queue_index);
193 void (*queue_enable)(VirtIODevice *vdev, uint32_t queue_index);
[all …]
H A Dvirtio-access.h27 static inline bool virtio_access_is_big_endian(VirtIODevice *vdev) in virtio_access_is_big_endian() argument
30 return virtio_is_big_endian(vdev); in virtio_access_is_big_endian()
32 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_access_is_big_endian()
42 static inline uint16_t virtio_lduw_phys(VirtIODevice *vdev, hwaddr pa) in virtio_lduw_phys() argument
44 AddressSpace *dma_as = vdev->dma_as; in virtio_lduw_phys()
46 if (virtio_access_is_big_endian(vdev)) { in virtio_lduw_phys()
52 static inline uint32_t virtio_ldl_phys(VirtIODevice *vdev, hwaddr pa) in virtio_ldl_phys() argument
54 AddressSpace *dma_as = vdev->dma_as; in virtio_ldl_phys()
56 if (virtio_access_is_big_endian(vdev)) { in virtio_ldl_phys()
62 static inline uint64_t virtio_ldq_phys(VirtIODevice *vdev, hwaddr pa) in virtio_ldq_phys() argument
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-dev.c49 struct video_device *vdev = to_video_device(cd); in index_show() local
51 return sprintf(buf, "%i\n", vdev->index); in index_show()
58 struct video_device *vdev = to_video_device(cd); in dev_debug_show() local
60 return sprintf(buf, "%i\n", vdev->dev_debug); in dev_debug_show()
66 struct video_device *vdev = to_video_device(cd); in dev_debug_store() local
74 vdev->dev_debug = value; in dev_debug_store()
82 struct video_device *vdev = to_video_device(cd); in name_show() local
84 return sprintf(buf, "%.*s\n", (int)sizeof(vdev->name), vdev->name); in name_show()
127 /* Mark device node number vdev->num as used */
128 static inline void devnode_set(struct video_device *vdev) in devnode_set() argument
[all …]

12345678910>>...35