/linux-6.12.1/include/linux/soc/mediatek/ |
D | mtk_wed.h | 273 #define mtk_wed_device_active(_dev) !!(_dev)->ops argument 274 #define mtk_wed_device_detach(_dev) (_dev)->ops->detach(_dev) argument 275 #define mtk_wed_device_start(_dev, _mask) (_dev)->ops->start(_dev, _mask) argument 276 #define mtk_wed_device_tx_ring_setup(_dev, _ring, _regs, _reset) \ argument 277 (_dev)->ops->tx_ring_setup(_dev, _ring, _regs, _reset) 278 #define mtk_wed_device_txfree_ring_setup(_dev, _regs) \ argument 279 (_dev)->ops->txfree_ring_setup(_dev, _regs) 280 #define mtk_wed_device_reg_read(_dev, _reg) \ argument 281 (_dev)->ops->reg_read(_dev, _reg) 282 #define mtk_wed_device_reg_write(_dev, _reg, _val) \ argument [all …]
|
/linux-6.12.1/arch/powerpc/platforms/ps3/ |
D | system-bus.c | 335 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() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_dev_api.h | 141 #define PVRDMA_IS_VERSION17(_dev) \ argument 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) \ argument 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) \ argument 151 ((_dev->dsr->caps.mode == PVRDMA_DEVICE_MODE_ROCE) && \ 152 (PVRDMA_IS_VERSION17(_dev) || PVRDMA_IS_VERSION18(_dev))) [all …]
|
/linux-6.12.1/arch/mips/include/asm/ |
D | gio_device.h | 50 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) argument 51 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) argument
|
/linux-6.12.1/include/linux/fsl/ |
D | mc.h | 220 #define to_fsl_mc_device(_dev) \ argument 221 container_of(_dev, struct fsl_mc_device, dev) 363 #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) argument 366 #define dev_is_fsl_mc(_dev) (0) argument 370 #define fsl_mc_is_cont_dev(_dev) (to_fsl_mc_device(_dev)->flags & \ argument 374 #define fsl_mc_cont_dev(_dev) (fsl_mc_is_cont_dev(_dev) ? \ argument 375 (_dev) : (_dev)->parent)
|
/linux-6.12.1/sound/pci/emu10k1/ |
D | emu10k1_synth.c | 19 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()
|
/linux-6.12.1/include/drm/ |
D | drm_kunit_helpers.h | 48 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \ argument 49 ((_type *)__drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, \ 93 #define drm_kunit_helper_alloc_drm_device(_test, _dev, _type, _member, _feat) \ argument 94 ((_type *)__drm_kunit_helper_alloc_drm_device(_test, _dev, \
|
/linux-6.12.1/sound/isa/sb/ |
D | emu8000_synth.c | 24 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()
|
/linux-6.12.1/include/scsi/ |
D | scsi_transport_iscsi.h | 223 #define iscsi_dev_to_conn(_dev) \ argument 224 container_of(_dev, struct iscsi_cls_conn, dev) 281 #define iscsi_dev_to_session(_dev) \ argument 282 container_of(_dev, struct iscsi_cls_session, dev) 321 #define iscsi_dev_to_iface(_dev) \ argument 322 container_of(_dev, struct iscsi_iface, dev) 365 #define iscsi_dev_to_flash_conn(_dev) \ argument 366 container_of(_dev, struct iscsi_bus_flash_conn, dev) 427 #define iscsi_dev_to_flash_session(_dev) \ argument 428 container_of(_dev, struct iscsi_bus_flash_session, dev)
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | power.c | 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() 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()
|
/linux-6.12.1/rust/kernel/net/ |
D | phy.rs | 589 fn soft_reset(_dev: &mut Device) -> Result { in soft_reset() 594 fn probe(_dev: &mut Device) -> Result { in probe() 599 fn get_features(_dev: &mut Device) -> Result { in get_features() 605 fn match_phy_device(_dev: &Device) -> bool { in match_phy_device() 611 fn config_aneg(_dev: &mut Device) -> Result { in config_aneg() 616 fn read_status(_dev: &mut Device) -> Result<u16> { in read_status() 621 fn suspend(_dev: &mut Device) -> Result { in suspend() 626 fn resume(_dev: &mut Device) -> Result { in resume() 631 fn read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> { in read_mmd() 636 fn write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result { in write_mmd() [all …]
|
/linux-6.12.1/drivers/xen/xenbus/ |
D | xenbus_probe.c | 97 int xenbus_match(struct device *_dev, const struct device_driver *_drv) in xenbus_match() argument 104 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match() 215 static ssize_t name##_show(struct device *_dev, \ 219 struct xenbus_device *dev = to_xenbus_device(_dev); \ 230 static ssize_t spurious_threshold_show(struct device *_dev, in spurious_threshold_show() argument 234 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show() 239 static ssize_t spurious_threshold_store(struct device *_dev, in spurious_threshold_store() argument 243 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store() 272 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument 274 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe() [all …]
|
D | xenbus.h | 107 int xenbus_match(struct device *_dev, const struct device_driver *_drv); 108 int xenbus_dev_probe(struct device *_dev); 109 void xenbus_dev_remove(struct device *_dev);
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-sysfs.c | 27 ssize_t coresight_simple_show_pair(struct device *_dev, in coresight_simple_show_pair() argument 30 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() 34 pm_runtime_get_sync(_dev->parent); in coresight_simple_show_pair() 36 pm_runtime_put_sync(_dev->parent); in coresight_simple_show_pair() 41 ssize_t coresight_simple_show32(struct device *_dev, in coresight_simple_show32() argument 44 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() 48 pm_runtime_get_sync(_dev->parent); in coresight_simple_show32() 50 pm_runtime_put_sync(_dev->parent); in coresight_simple_show32()
|
/linux-6.12.1/sound/drivers/opl4/ |
D | opl4_seq.c | 127 static int snd_opl4_seq_probe(struct device *_dev) in snd_opl4_seq_probe() argument 129 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl4_seq_probe() 184 static int snd_opl4_seq_remove(struct device *_dev) in snd_opl4_seq_remove() argument 186 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl4_seq_remove()
|
/linux-6.12.1/drivers/base/ |
D | platform.c | 1379 static int platform_probe(struct device *_dev) in platform_probe() argument 1381 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_probe() 1382 struct platform_device *dev = to_platform_device(_dev); in platform_probe() 1395 ret = of_clk_set_defaults(_dev->of_node, false); in platform_probe() 1399 ret = dev_pm_domain_attach(_dev, true); in platform_probe() 1406 dev_pm_domain_detach(_dev, true); in platform_probe() 1411 dev_warn(_dev, "probe deferral not supported\n"); in platform_probe() 1418 static void platform_remove(struct device *_dev) in platform_remove() argument 1420 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_remove() 1421 struct platform_device *dev = to_platform_device(_dev); in platform_remove() [all …]
|
/linux-6.12.1/drivers/amba/ |
D | bus.c | 85 static ssize_t driver_override_show(struct device *_dev, in driver_override_show() argument 88 struct amba_device *dev = to_amba_device(_dev); in driver_override_show() 91 device_lock(_dev); in driver_override_show() 93 device_unlock(_dev); in driver_override_show() 97 static ssize_t driver_override_store(struct device *_dev, in driver_override_store() argument 101 struct amba_device *dev = to_amba_device(_dev); in driver_override_store() 104 ret = driver_set_override(_dev, &dev->driver_override, buf, count); in driver_override_store() 113 static ssize_t name##_show(struct device *_dev, \ 116 struct amba_device *dev = to_amba_device(_dev); \
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | ps3.h | 395 const struct device *_dev) in ps3_dev_to_system_bus_dev() argument 397 return container_of(_dev, struct ps3_system_bus_device, core); in ps3_dev_to_system_bus_dev() 400 ps3_system_bus_dev_to_system_bus_drv(struct ps3_system_bus_device *_dev) in ps3_system_bus_dev_to_system_bus_drv() argument 402 BUG_ON(!_dev); in ps3_system_bus_dev_to_system_bus_drv() 403 BUG_ON(!_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv() 404 return ps3_drv_to_system_bus_drv(_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv()
|
/linux-6.12.1/drivers/thermal/ |
D | thermal_core.h | 235 #define to_thermal_zone(_dev) \ argument 236 container_of(_dev, struct thermal_zone_device, device) 238 #define to_cooling_device(_dev) \ argument 239 container_of(_dev, struct thermal_cooling_device, device)
|
/linux-6.12.1/net/l3mdev/ |
D | l3mdev.c | 121 struct net_device *_dev = (struct net_device *)dev; in l3mdev_master_ifindex_rcu() local 129 master = netdev_master_upper_dev_get_rcu(_dev); in l3mdev_master_ifindex_rcu() 176 struct net_device *_dev = (struct net_device *) dev; in l3mdev_fib_table_rcu() local 179 master = netdev_master_upper_dev_get_rcu(_dev); in l3mdev_fib_table_rcu()
|
/linux-6.12.1/include/sound/ |
D | seq_device.h | 27 #define to_seq_dev(_dev) \ argument 28 container_of(_dev, struct snd_seq_device, dev)
|
/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-bus.h | 45 #define to_ipu6_bus_device(_dev) \ argument 46 container_of(to_auxiliary_dev(_dev), struct ipu6_bus_device, auxdev)
|
/linux-6.12.1/drivers/siox/ |
D | siox.h | 9 #define to_siox_master(_dev) container_of((_dev), struct siox_master, dev) argument
|
/linux-6.12.1/drivers/gpu/drm/hyperv/ |
D | hyperv_drm.h | 40 #define to_hv(_dev) container_of(_dev, struct hyperv_drm_device, dev) argument
|
/linux-6.12.1/sound/drivers/opl3/ |
D | opl3_seq.c | 207 static int snd_opl3_seq_probe(struct device *_dev) in snd_opl3_seq_probe() argument 209 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl3_seq_probe() 250 static int snd_opl3_seq_remove(struct device *_dev) in snd_opl3_seq_remove() argument 252 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_opl3_seq_remove()
|