Home
last modified time | relevance | path

Searched refs:container_of_const (Results 1 – 25 of 66) sorted by relevance

123

/linux/arch/powerpc/include/asm/
H A Dvio.h159 #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 Dmcb.h78 #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 Dcontainer_of.h35 #define container_of_const(ptr, type, member) \ macro
H A Ddfl.h74 #define to_dfl_drv(d) container_of_const(d, struct dfl_driver, drv)
H A Dmoxtet.h65 ( __drv ? container_of_const(__drv, struct moxtet_driver, driver) : NULL )
H A Deisa.h66 #define to_eisa_driver(drv) container_of_const(drv,struct eisa_driver, driver)
H A Dgreybus.h67 #define to_greybus_driver(d) container_of_const(d, struct greybus_driver, driver)
H A Dtc.h111 #define to_tc_driver(drv) container_of_const(drv, struct tc_driver, driver)
H A Dmaple.h100 #define to_maple_driver(n) container_of_const(n, struct maple_driver, drv)
H A Dzorro.h55 #define to_zorro_driver(drv) container_of_const(drv, struct zorro_driver, driver)
H A Dserio.h84 #define to_serio_driver(d) container_of_const(d, struct serio_driver, driver)
H A Dslimbus.h94 #define to_slim_driver(d) container_of_const(d, struct slim_driver, driver)
H A Dnd.h87 #define to_nd_device_driver(__drv) container_of_const(__drv, struct nd_device_driver, drv)
H A Dgameport.h61 #define to_gameport_driver(d) container_of_const(d, struct gameport_driver, driver)
/linux/include/linux/soundwire/
H A Dsdw_type.h16 #define drv_to_sdw_driver(_drv) container_of_const(_drv, struct sdw_driver, driver)
/linux/include/linux/device/
H A Dfaux.h32 #define to_faux_device(x) container_of_const((x), struct faux_device, dev)
/linux/include/xen/
H A Dxenbus.h100 #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 Daf_unix.h57 #define unix_sk(ptr) container_of_const(ptr, struct unix_sock, sk)
/linux/arch/parisc/include/asm/
H A Dparisc-device.h44 #define to_parisc_driver(d) container_of_const(d, struct parisc_driver, drv)
/linux/drivers/base/firmware_loader/
H A Dsysfs.h83 #define to_fw_sysfs(__dev) container_of_const(__dev, struct fw_sysfs, dev)
/linux/include/linux/surface_aggregator/
H A Ddevice.h231 #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 Dbus.c39 container_of_const(drv, struct idxd_device_driver, drv); in idxd_config_bus_match()
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_bus.c28 const struct vchiq_device *device = container_of_const(dev, struct vchiq_device, dev); in vchiq_bus_uevent()
/linux/drivers/s390/cio/
H A Dcss.h106 #define to_cssdriver(n) container_of_const(n, struct css_driver, drv)
/linux/arch/arm/include/asm/hardware/
H A Dlocomo.h192 #define LOCOMO_DRV(_d) container_of_const((_d), struct locomo_driver, drv)

123