| /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/linux/ |
| 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 | 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)
|
| H A D | serio.h | 84 #define to_serio_driver(d) container_of_const(d, struct serio_driver, driver)
|
| H A D | slimbus.h | 94 #define to_slim_driver(d) container_of_const(d, struct slim_driver, driver)
|
| H A D | nd.h | 87 #define to_nd_device_driver(__drv) container_of_const(__drv, struct nd_device_driver, drv)
|
| H A D | gameport.h | 61 #define to_gameport_driver(d) container_of_const(d, struct gameport_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/device/ |
| H A D | faux.h | 32 #define to_faux_device(x) container_of_const((x), struct faux_device, 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/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/base/firmware_loader/ |
| H A D | sysfs.h | 83 #define to_fw_sysfs(__dev) container_of_const(__dev, struct fw_sysfs, dev)
|
| /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/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/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()
|
| /linux/drivers/s390/cio/ |
| H A D | css.h | 106 #define to_cssdriver(n) container_of_const(n, struct css_driver, drv)
|
| /linux/arch/arm/include/asm/hardware/ |
| H A D | locomo.h | 192 #define LOCOMO_DRV(_d) container_of_const((_d), struct locomo_driver, drv)
|