Home
last modified time | relevance | path

Searched refs:_dev (Results 1 - 25 of 197) sorted by relevance

12345678

/kernel/linux/linux-6.6/include/linux/soc/mediatek/
H A Dmtk_wed.h220 #define mtk_wed_device_active(_dev) !!(_dev)->ops
221 #define mtk_wed_device_detach(_dev) (_dev)->ops->detach(_dev)
222 #define mtk_wed_device_start(_dev, _mask) (_dev)->ops->start(_dev, _mask)
223 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) \
224 (_dev)
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c334 static int ps3_system_bus_match(struct device *_dev, in ps3_system_bus_match() argument
339 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_match()
361 static int ps3_system_bus_probe(struct device *_dev) in ps3_system_bus_probe() argument
364 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_probe()
368 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_probe()
383 static int ps3_system_bus_remove(struct device *_dev) in ps3_system_bus_remove() argument
386 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_remove()
390 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_remove()
405 static void ps3_system_bus_shutdown(struct device *_dev) in ps3_system_bus_shutdown() argument
407 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_shutdown()
443 ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env) ps3_system_bus_uevent() argument
453 modalias_show(struct device *_dev, struct device_attribute *a, char *buf) modalias_show() argument
507 ps3_alloc_coherent(struct device *_dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs) ps3_alloc_coherent() argument
545 ps3_free_coherent(struct device *_dev, size_t size, void *vaddr, dma_addr_t dma_handle, unsigned long attrs) ps3_free_coherent() argument
560 ps3_sb_map_page(struct device *_dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_sb_map_page() argument
582 ps3_ioc0_map_page(struct device *_dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_map_page() argument
618 ps3_unmap_page(struct device *_dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_unmap_page() argument
632 ps3_sb_map_sg(struct device *_dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_sb_map_sg() argument
660 ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_map_sg() argument
669 ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_sb_unmap_sg() argument
677 ps3_ioc0_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_unmap_sg() argument
684 ps3_dma_supported(struct device *_dev, u64 mask) ps3_dma_supported() argument
721 ps3_system_bus_release_device(struct device *_dev) ps3_system_bus_release_device() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c335 static int ps3_system_bus_match(struct device *_dev, in ps3_system_bus_match() argument
340 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_match()
362 static int ps3_system_bus_probe(struct device *_dev) in ps3_system_bus_probe() argument
365 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_probe()
369 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_probe()
384 static void ps3_system_bus_remove(struct device *_dev) in ps3_system_bus_remove() argument
386 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_remove()
390 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_remove()
404 static void ps3_system_bus_shutdown(struct device *_dev) in ps3_system_bus_shutdown() argument
406 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_shutdown()
442 ps3_system_bus_uevent(const struct device *_dev, struct kobj_uevent_env *env) ps3_system_bus_uevent() argument
452 modalias_show(struct device *_dev, struct device_attribute *a, char *buf) modalias_show() argument
506 ps3_alloc_coherent(struct device *_dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs) ps3_alloc_coherent() argument
544 ps3_free_coherent(struct device *_dev, size_t size, void *vaddr, dma_addr_t dma_handle, unsigned long attrs) ps3_free_coherent() argument
559 ps3_sb_map_page(struct device *_dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_sb_map_page() argument
581 ps3_ioc0_map_page(struct device *_dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_map_page() argument
617 ps3_unmap_page(struct device *_dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction direction, unsigned long attrs) ps3_unmap_page() argument
631 ps3_sb_map_sg(struct device *_dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_sb_map_sg() argument
659 ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_map_sg() argument
668 ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_sb_unmap_sg() argument
676 ps3_ioc0_unmap_sg(struct device *_dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, unsigned long attrs) ps3_ioc0_unmap_sg() argument
683 ps3_dma_supported(struct device *_dev, u64 mask) ps3_dma_supported() argument
720 ps3_system_bus_release_device(struct device *_dev) ps3_system_bus_release_device() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dpower.c188 int gma_power_suspend(struct device *_dev) in gma_power_suspend() argument
190 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_suspend()
215 int gma_power_resume(struct device *_dev) in gma_power_resume() argument
217 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_resume()
319 int gma_power_thaw(struct device *_dev) in gma_power_thaw() argument
321 return gma_power_resume(_dev); in gma_power_thaw()
324 int gma_power_freeze(struct device *_dev) in gma_power_freeze() argument
326 return gma_power_suspend(_dev); in gma_power_freeze()
329 int gma_power_restore(struct device *_dev) in gma_power_restore() argument
331 return gma_power_resume(_dev); in gma_power_restore()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dgio_device.h50 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
51 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data))
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dgio_device.h50 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
51 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data))
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_kunit_helpers.h27 * @_dev: The parent device object
32 * This function creates a struct &drm_device from @_dev and @_drv.
34 * @_dev should be allocated using drm_kunit_helper_alloc_device().
44 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \
45 ((_type *)__drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, \
71 * @_dev: The parent device object
77 * &drm_device from @_dev and that driver.
79 * @_dev should be allocated using drm_kunit_helper_alloc_device().
89 #define drm_kunit_helper_alloc_drm_device(_test, _dev, _type, _member, _feat) \
90 ((_type *)__drm_kunit_helper_alloc_drm_device(_test, _dev, \
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h141 #define PVRDMA_IS_VERSION17(_dev) \
142 (_dev->dsr_version == PVRDMA_ROCEV1_VERSION && \
143 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
145 #define PVRDMA_IS_VERSION18(_dev) \
146 (_dev->dsr_version >= PVRDMA_ROCEV2_VERSION && \
147 (_dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1 || \
148 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2)) \
150 #define PVRDMA_SUPPORTED(_dev) \
151 ((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) && \
152 (PVRDMA_IS_VERSION17(_dev) || PVRDMA_IS_VERSION1
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h141 #define PVRDMA_IS_VERSION17(_dev) \
142 (_dev->dsr_version == PVRDMA_ROCEV1_VERSION && \
143 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1)
145 #define PVRDMA_IS_VERSION18(_dev) \
146 (_dev->dsr_version >= PVRDMA_ROCEV2_VERSION && \
147 (_dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V1 || \
148 _dev->dsr->caps.gid_types == PVRDMA_GID_TYPE_FLAG_ROCE_V2)) \
150 #define PVRDMA_SUPPORTED(_dev) \
151 ((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) && \
152 (PVRDMA_IS_VERSION17(_dev) || PVRDMA_IS_VERSION1
[all...]
/kernel/linux/linux-5.10/include/linux/wimax/
H A Ddebug.h358 * @_dev: 'struct device' pointer, NULL if none (for context)
361 #define d_fnstart(l, _dev, f, a...) _d_printf(l, " FNSTART", _dev, f, ## a)
368 * @_dev: 'struct device' pointer, NULL if none (for context)
371 #define d_fnend(l, _dev, f, a...) _d_printf(l, " FNEND", _dev, f, ## a)
378 * @_dev: 'struct device' pointer, NULL if none (for context)
381 #define d_printf(l, _dev, f, a...) _d_printf(l, "", _dev, f, ## a)
388 * @_dev
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Demu10k1_synth.c19 static int snd_emu10k1_synth_probe(struct device *_dev) in snd_emu10k1_synth_probe() argument
21 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_probe()
70 static int snd_emu10k1_synth_remove(struct device *_dev) in snd_emu10k1_synth_remove() argument
72 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_remove()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Demu10k1_synth.c19 static int snd_emu10k1_synth_probe(struct device *_dev) in snd_emu10k1_synth_probe() argument
21 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_probe()
68 static int snd_emu10k1_synth_remove(struct device *_dev) in snd_emu10k1_synth_remove() argument
70 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu10k1_synth_remove()
/kernel/linux/linux-5.10/include/linux/fsl/
H A Dmc.h209 #define to_fsl_mc_device(_dev) \
210 container_of(_dev, struct fsl_mc_device, dev)
359 #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type)
362 #define dev_is_fsl_mc(_dev) (0)
366 #define fsl_mc_is_cont_dev(_dev) (to_fsl_mc_device(_dev)->flags & \
370 #define fsl_mc_cont_dev(_dev) (fsl_mc_is_cont_dev(_dev) ? \
371 (_dev)
[all...]
/kernel/linux/linux-6.6/include/linux/fsl/
H A Dmc.h220 #define to_fsl_mc_device(_dev) \
221 container_of(_dev, struct fsl_mc_device, dev)
363 #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type)
366 #define dev_is_fsl_mc(_dev) (0)
370 #define fsl_mc_is_cont_dev(_dev) (to_fsl_mc_device(_dev)->flags & \
374 #define fsl_mc_cont_dev(_dev) (fsl_mc_is_cont_dev(_dev) ? \
375 (_dev)
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_transport_iscsi.h223 #define iscsi_dev_to_conn(_dev) \
224 container_of(_dev, struct iscsi_cls_conn, dev)
279 #define iscsi_dev_to_session(_dev) \
280 container_of(_dev, struct iscsi_cls_session, dev)
320 #define iscsi_dev_to_iface(_dev) \
321 container_of(_dev, struct iscsi_iface, dev)
364 #define iscsi_dev_to_flash_conn(_dev) \
365 container_of(_dev, struct iscsi_bus_flash_conn, dev)
426 #define iscsi_dev_to_flash_session(_dev) \
427 container_of(_dev, struc
[all...]
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_transport_iscsi.h223 #define iscsi_dev_to_conn(_dev) \
224 container_of(_dev, struct iscsi_cls_conn, dev)
281 #define iscsi_dev_to_session(_dev) \
282 container_of(_dev, struct iscsi_cls_session, dev)
321 #define iscsi_dev_to_iface(_dev) \
322 container_of(_dev, struct iscsi_iface, dev)
365 #define iscsi_dev_to_flash_conn(_dev) \
366 container_of(_dev, struct iscsi_bus_flash_conn, dev)
427 #define iscsi_dev_to_flash_session(_dev) \
428 container_of(_dev, struc
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Dthermal_core.h119 #define to_thermal_zone(_dev) \
120 container_of(_dev, struct thermal_zone_device, device)
122 #define to_cooling_device(_dev) \
123 container_of(_dev, struct thermal_cooling_device, device)
/kernel/linux/linux-5.10/sound/isa/sb/
H A Demu8000_synth.c24 static int snd_emu8000_probe(struct device *_dev) in snd_emu8000_probe() argument
26 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_probe()
84 static int snd_emu8000_remove(struct device *_dev) in snd_emu8000_remove() argument
86 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_remove()
/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_core.h105 #define to_thermal_zone(_dev) \
106 container_of(_dev, struct thermal_zone_device, device)
108 #define to_cooling_device(_dev) \
109 container_of(_dev, struct thermal_cooling_device, device)
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
H A Dpower.c172 * @_dev: our device
178 int gma_power_suspend(struct device *_dev) in gma_power_suspend() argument
180 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_suspend()
191 * @_dev: our device
195 int gma_power_resume(struct device *_dev) in gma_power_resume() argument
197 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_resume()
/kernel/linux/linux-6.6/sound/isa/sb/
H A Demu8000_synth.c24 static int snd_emu8000_probe(struct device *_dev) in snd_emu8000_probe() argument
26 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_probe()
84 static int snd_emu8000_remove(struct device *_dev) in snd_emu8000_remove() argument
86 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_emu8000_remove()
/kernel/linux/linux-5.10/drivers/parport/
H A Dparport_ax88796.c270 struct device *_dev = &pdev->dev; in parport_ax88796_probe() local
285 dev_err(_dev, "no MEM specified\n"); in parport_ax88796_probe()
295 dev_err(_dev, "cannot reserve memory\n"); in parport_ax88796_probe()
302 dev_err(_dev, "cannot ioremap region\n"); in parport_ax88796_probe()
316 dev_err(_dev, "failed to register parallel port\n"); in parport_ax88796_probe()
323 dd->dev = _dev; in parport_ax88796_probe()
345 dev_info(_dev, "attached parallel port driver\n"); in parport_ax88796_probe()
/kernel/linux/linux-5.10/drivers/base/
H A Dplatform.c746 static int platform_drv_probe(struct device *_dev) in platform_drv_probe() argument
748 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe()
749 struct platform_device *dev = to_platform_device(_dev); in platform_drv_probe()
752 ret = of_clk_set_defaults(_dev->of_node, false); in platform_drv_probe()
756 ret = dev_pm_domain_attach(_dev, true); in platform_drv_probe()
763 dev_pm_domain_detach(_dev, true); in platform_drv_probe()
768 dev_warn(_dev, "probe deferral not supported\n"); in platform_drv_probe()
775 static int platform_drv_probe_fail(struct device *_dev) in platform_drv_probe_fail() argument
780 static int platform_drv_remove(struct device *_dev) in platform_drv_remove() argument
782 struct platform_driver *drv = to_platform_driver(_dev in platform_drv_remove()
793 platform_drv_shutdown(struct device *_dev) platform_drv_shutdown() argument
[all...]
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus.h107 int xenbus_match(struct device *_dev, struct device_driver *_drv);
108 int xenbus_dev_probe(struct device *_dev);
109 int xenbus_dev_remove(struct device *_dev);
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus.h107 int xenbus_match(struct device *_dev, struct device_driver *_drv);
108 int xenbus_dev_probe(struct device *_dev);
109 void xenbus_dev_remove(struct device *_dev);

Completed in 17 milliseconds

12345678