| /linux/include/linux/ |
| H A D | wmi.h | 35 #define to_wmi_device(device) container_of_const(device, struct wmi_device, dev) 123 #define to_wmi_driver(drv) container_of_const(drv, struct wmi_driver, driver)
|
| H A D | mcb.h | 78 #define to_mcb_device(__dev) container_of_const(__dev, struct mcb_device, dev) 97 #define to_mcb_driver(__drv) container_of_const(__drv, struct mcb_driver, driver)
|
| H A D | container_of.h | 35 #define container_of_const(ptr, type, member) \ macro
|
| H A D | dfl.h | 74 #define to_dfl_drv(d) container_of_const(d, struct dfl_driver, drv)
|
| H A D | virtio.h | 191 #define dev_to_virtio(_dev) container_of_const(_dev, struct virtio_device, dev) 266 #define drv_to_virtio(__drv) container_of_const(__drv, struct virtio_driver, driver)
|
| H A D | moxtet.h | 65 ( __drv ? container_of_const(__drv, struct moxtet_driver, driver) : NULL )
|
| H A D | eisa.h | 66 #define to_eisa_driver(drv) container_of_const(drv,struct eisa_driver, driver)
|
| H A D | greybus.h | 67 #define to_greybus_driver(d) container_of_const(d, struct greybus_driver, driver)
|
| H A D | tc.h | 111 #define to_tc_driver(drv) container_of_const(drv, struct tc_driver, driver)
|
| H A D | maple.h | 100 #define to_maple_driver(n) container_of_const(n, struct maple_driver, drv)
|
| H A D | zorro.h | 55 #define to_zorro_driver(drv) container_of_const(drv, struct zorro_driver, driver)
|
| /linux/arch/powerpc/include/asm/ |
| H A D | vio.h | 159 #define to_vio_driver(__drv) container_of_const(__drv, struct vio_driver, driver) 160 #define to_vio_dev(__dev) container_of_const(__dev, struct vio_dev, dev)
|
| /linux/include/xen/ |
| H A D | xenbus.h | 100 #define to_xenbus_device(__dev) container_of_const(__dev, struct xenbus_device, dev) 128 #define to_xenbus_driver(__drv) container_of_const(__drv, struct xenbus_driver, driver)
|
| /linux/include/linux/soundwire/ |
| H A D | sdw_type.h | 16 #define drv_to_sdw_driver(_drv) container_of_const(_drv, struct sdw_driver, driver)
|
| /linux/include/linux/surface_aggregator/ |
| H A D | device.h | 231 #define to_ssam_device(d) container_of_const(d, struct ssam_device, dev) 245 #define to_ssam_device_driver(d) container_of_const(d, struct ssam_device_driver, driver)
|
| /linux/include/linux/device/ |
| H A D | faux.h | 32 #define to_faux_device(x) container_of_const((x), struct faux_device, dev)
|
| /linux/include/net/ |
| H A D | af_unix.h | 57 #define unix_sk(ptr) container_of_const(ptr, struct unix_sock, sk)
|
| /linux/arch/parisc/include/asm/ |
| H A D | parisc-device.h | 44 #define to_parisc_driver(d) container_of_const(d, struct parisc_driver, drv)
|
| /linux/drivers/gpu/drm/vc4/tests/ |
| H A D | vc4_mock.h | 42 container_of_const(_enc, struct vc4_dummy_output, encoder.base)
|
| /linux/include/sound/ac97/ |
| H A D | codec.h | 76 #define to_ac97_driver(__drv) container_of_const(__drv, struct ac97_codec_driver, driver)
|
| /linux/drivers/base/firmware_loader/ |
| H A D | sysfs.h | 83 #define to_fw_sysfs(__dev) container_of_const(__dev, struct fw_sysfs, dev)
|
| /linux/drivers/misc/ |
| H A D | tifm_core.c | 44 const struct tifm_driver *fm_drv = container_of_const(drv, struct tifm_driver, in tifm_bus_match() 60 const struct tifm_dev *sock = container_of_const(dev, struct tifm_dev, dev); in tifm_uevent()
|
| /linux/drivers/dma/idxd/ |
| H A D | bus.c | 39 container_of_const(drv, struct idxd_device_driver, drv); in idxd_config_bus_match()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_sysfs.c | 76 #define to_xe_sriov_kobj(p) container_of_const((p), struct xe_sriov_kobj, base) 83 #define to_xe_sriov_dev_attr(p) container_of_const((p), struct xe_sriov_dev_attr, attr) 102 #define to_xe_sriov_vf_attr(p) container_of_const((p), struct xe_sriov_vf_attr, attr)
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_bus.c | 28 const struct vchiq_device *device = container_of_const(dev, struct vchiq_device, dev); in vchiq_bus_uevent()
|