Home
last modified time | relevance | path

Searched refs:driver_priv (Results 1 – 25 of 49) sorted by relevance

12

/drivers/net/usb/
Dax88172a.c70 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_adjust_link()
100 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_init_mdio()
143 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_remove_mdio()
242 dev->driver_priv = priv; in ax88172a_bind()
304 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_stop()
320 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_unbind()
329 struct ax88172a_private *priv = dev->driver_priv; in ax88172a_reset()
406 struct ax88172a_private *dp = dev->driver_priv; in ax88172a_rx_fixup()
Dlg-vl600.c82 dev->driver_priv = s; in vl600_bind()
100 struct vl600_state *s = dev->driver_priv; in vl600_unbind()
118 struct vl600_state *s = dev->driver_priv; in vl600_rx_fixup()
Dasix_devices.c481 dev->driver_priv = kzalloc(sizeof(struct asix_common_private), GFP_KERNEL); in ax88772_bind()
482 if (!dev->driver_priv) in ax88772_bind()
490 kfree(dev->driver_priv); in ax88772_unbind()
827 dev->driver_priv = kzalloc(sizeof(struct asix_common_private), GFP_KERNEL); in ax88178_bind()
828 if (!dev->driver_priv) in ax88178_bind()
/drivers/vme/bridges/
Dvme_ca91cx42.c100 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_VERR_irqhandler()
117 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_LERR_irqhandler()
135 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_VIRQ_irqhandler()
160 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_irqhandler()
202 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_irq_init()
256 driver_priv); in ca91cx42_irq_exit()
283 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_irq_set()
309 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_irq_generate()
352 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_slave_set()
454 bridge = image->parent->driver_priv; in ca91cx42_slave_get()
[all …]
Dvme_tsi148.c125 bridge = tsi148_bridge->driver_priv; in tsi148_MB_irqhandler()
146 bridge = tsi148_bridge->driver_priv; in tsi148_PERR_irqhandler()
175 bridge = tsi148_bridge->driver_priv; in tsi148_VERR_irqhandler()
222 bridge = tsi148_bridge->driver_priv; in tsi148_VIRQ_irqhandler()
254 bridge = tsi148_bridge->driver_priv; in tsi148_irqhandler()
315 bridge = tsi148_bridge->driver_priv; in tsi148_irq_init()
374 struct tsi148_driver *bridge = tsi148_bridge->driver_priv; in tsi148_irq_exit()
412 bridge = tsi148_bridge->driver_priv; in tsi148_irq_set()
449 bridge = tsi148_bridge->driver_priv; in tsi148_irq_generate()
491 bridge = tsi148_bridge->driver_priv; in tsi148_slave_set()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h77 bool mlxsw_core_skb_transmit_busy(void *driver_priv,
80 int mlxsw_core_skb_transmit(void *driver_priv, struct sk_buff *skb,
174 int (*init)(void *driver_priv, struct mlxsw_core *mlxsw_core,
176 void (*fini)(void *driver_priv);
Dcore.c108 unsigned long driver_priv[0]; member
379 err = mlxsw_core_skb_transmit(mlxsw_core->driver_priv, skb, tx_info); in __mlxsw_emad_transmit()
825 err = mlxsw_driver->init(mlxsw_core->driver_priv, mlxsw_core, in mlxsw_core_bus_device_register()
837 mlxsw_core->driver->fini(mlxsw_core->driver_priv); in mlxsw_core_bus_device_register()
857 mlxsw_core->driver->fini(mlxsw_core->driver_priv); in mlxsw_core_bus_device_unregister()
866 static struct mlxsw_core *__mlxsw_core_get(void *driver_priv) in __mlxsw_core_get() argument
868 return container_of(driver_priv, struct mlxsw_core, driver_priv); in __mlxsw_core_get()
871 bool mlxsw_core_skb_transmit_busy(void *driver_priv, in mlxsw_core_skb_transmit_busy() argument
874 struct mlxsw_core *mlxsw_core = __mlxsw_core_get(driver_priv); in mlxsw_core_skb_transmit_busy()
881 int mlxsw_core_skb_transmit(void *driver_priv, struct sk_buff *skb, in mlxsw_core_skb_transmit() argument
[all …]
/drivers/gpu/drm/via/
Dvia_drv.c42 file->driver_priv = file_priv; in via_driver_open()
51 struct via_file_private *file_priv = file->driver_priv; in via_driver_postclose()
Dvia_mm.c117 struct via_file_private *file_priv = file->driver_priv; in via_mem_alloc()
208 struct via_file_private *file_priv = file->driver_priv; in via_reclaim_buffers_locked()
/drivers/gpu/drm/sis/
Dsis_drv.c90 file->driver_priv = file_priv; in sis_driver_open()
99 struct sis_file_private *file_priv = file->driver_priv; in sis_driver_postclose()
Dsis_mm.c89 struct sis_file_private *file_priv = file->driver_priv; in sis_drm_alloc()
316 struct sis_file_private *file_priv = file->driver_priv; in sis_reclaim_buffers_locked()
/drivers/gpu/drm/exynos/
Dexynos_drm_drv.c355 file->driver_priv = file_priv; in exynos_drm_open()
365 file->driver_priv = NULL; in exynos_drm_open()
380 if (!file->driver_priv) in exynos_drm_postclose()
391 kfree(file->driver_priv); in exynos_drm_postclose()
392 file->driver_priv = NULL; in exynos_drm_postclose()
Dexynos_drm_g2d.c412 struct drm_exynos_file_private *file_priv = filp->driver_priv; in g2d_userptr_get_dma_addr()
547 struct drm_exynos_file_private *file_priv = filp->driver_priv; in g2d_userptr_free_all()
1041 struct drm_exynos_file_private *file_priv = file->driver_priv; in exynos_g2d_get_ver_ioctl()
1067 struct drm_exynos_file_private *file_priv = file->driver_priv; in exynos_g2d_set_cmdlist_ioctl()
1237 struct drm_exynos_file_private *file_priv = file->driver_priv; in exynos_g2d_exec_ioctl()
1330 struct drm_exynos_file_private *file_priv = file->driver_priv; in g2d_open()
1350 struct drm_exynos_file_private *file_priv = file->driver_priv; in g2d_close()
/drivers/gpu/drm/i915/
Di915_gem_context.c480 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_open()
499 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_close()
858 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_create_ioctl()
884 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_destroy_ioctl()
912 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_getparam_ioctl()
947 struct drm_i915_file_private *file_priv = file->driver_priv; in i915_gem_context_setparam_ioctl()
/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c292 file->driver_priv = vfpriv; in virtio_gpu_driver_open()
304 vfpriv = file->driver_priv; in virtio_gpu_driver_postclose()
308 file->driver_priv = NULL; in virtio_gpu_driver_postclose()
Dvirtgpu_gem.c146 struct virtio_gpu_fpriv *vfpriv = file->driver_priv; in virtio_gpu_gem_object_open()
167 struct virtio_gpu_fpriv *vfpriv = file->driver_priv; in virtio_gpu_gem_object_close()
Dvirtgpu_ioctl.c97 struct virtio_gpu_fpriv *vfpriv = drm_file->driver_priv; in virtio_gpu_execbuffer()
368 struct virtio_gpu_fpriv *vfpriv = file->driver_priv; in virtio_gpu_transfer_from_host_ioctl()
415 struct virtio_gpu_fpriv *vfpriv = file->driver_priv; in virtio_gpu_transfer_to_host_ioctl()
/drivers/gpu/drm/tegra/
Ddrm.c250 filp->driver_priv = fpriv; in tegra_drm_open()
528 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_open_channel()
558 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_close_channel()
576 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_get_syncpt()
598 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_submit()
613 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_get_syncpt_base()
861 struct tegra_drm_file *fpriv = file->driver_priv; in tegra_drm_preclose()
/drivers/gpu/drm/radeon/
Dradeon_state.c75 radeon_priv = file_priv->driver_priv; in radeon_check_and_fixup_offset()
880 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_clear()
1376 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_swap()
1454 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_flip()
1536 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_dispatch_vertex()
1581 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_discard_buffer()
1642 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_cp_dispatch_indices()
2158 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_clear()
2186 struct drm_radeon_master_private *master_priv = master->driver_priv; in radeon_do_init_pageflip()
2233 struct drm_radeon_master_private *master_priv = file_priv->master->driver_priv; in radeon_cp_swap()
[all …]
Dradeon_kms.c632 file_priv->driver_priv = NULL; in radeon_driver_open_kms()
680 file_priv->driver_priv = fpriv; in radeon_driver_open_kms()
702 if (rdev->family >= CHIP_CAYMAN && file_priv->driver_priv) { in radeon_driver_postclose_kms()
703 struct radeon_fpriv *fpriv = file_priv->driver_priv; in radeon_driver_postclose_kms()
718 file_priv->driver_priv = NULL; in radeon_driver_postclose_kms()
/drivers/ps3/
Dps3-vuart.c98 BUG_ON(!dev->driver_priv); in to_port_priv()
99 return (struct ps3_vuart_port_priv *)dev->driver_priv; in to_port_priv()
1031 dev->driver_priv = kzalloc(sizeof(struct ps3_vuart_port_priv), in ps3_vuart_probe()
1034 if (!dev->driver_priv) { in ps3_vuart_probe()
1079 kfree(dev->driver_priv); in ps3_vuart_probe()
1080 dev->driver_priv = NULL; in ps3_vuart_probe()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c173 struct amdgpu_fpriv *fpriv = p->filp->driver_priv; in amdgpu_cs_parser_init()
400 struct amdgpu_fpriv *fpriv = p->filp->driver_priv; in amdgpu_cs_parser_relocs()
588 struct amdgpu_fpriv *fpriv = parser->filp->driver_priv; in amdgpu_cs_ib_vm_chunk()
626 struct amdgpu_fpriv *fpriv = parser->filp->driver_priv; in amdgpu_cs_ib_fill()
743 struct amdgpu_fpriv *fpriv = p->filp->driver_priv; in amdgpu_cs_dependencies()
947 ctx = amdgpu_ctx_get(filp->driver_priv, wait->in.ctx_id); in amdgpu_cs_wait_ioctl()
Damdgpu_kms.c521 file_priv->driver_priv = NULL; in amdgpu_driver_open_kms()
540 file_priv->driver_priv = fpriv; in amdgpu_driver_open_kms()
565 struct amdgpu_fpriv *fpriv = file_priv->driver_priv; in amdgpu_driver_postclose_kms()
583 file_priv->driver_priv = NULL; in amdgpu_driver_postclose_kms()
Damdgpu_gem.c114 struct amdgpu_fpriv *fpriv = file_priv->driver_priv; in amdgpu_gem_object_open()
137 struct amdgpu_fpriv *fpriv = file_priv->driver_priv; in amdgpu_gem_object_close()
517 struct amdgpu_fpriv *fpriv = filp->driver_priv; in amdgpu_gem_va_ioctl()
/drivers/gpu/drm/nouveau/
Dnouveau_drm.h100 return fpriv ? fpriv->driver_priv : NULL; in nouveau_cli()

12