Home
last modified time | relevance | path

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

12345

/linux/include/linux/
H A Dwmi.h35 #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 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 Dvirtio.h191 #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 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)
/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/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/linux/soundwire/
H A Dsdw_type.h16 #define drv_to_sdw_driver(_drv) container_of_const(_drv, struct sdw_driver, driver)
/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/include/linux/device/
H A Dfaux.h32 #define to_faux_device(x) container_of_const((x), struct faux_device, dev)
/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/gpu/drm/vc4/tests/
H A Dvc4_mock.h42 container_of_const(_enc, struct vc4_dummy_output, encoder.base)
/linux/include/sound/ac97/
H A Dcodec.h76 #define to_ac97_driver(__drv) container_of_const(__drv, struct ac97_codec_driver, driver)
/linux/drivers/base/firmware_loader/
H A Dsysfs.h83 #define to_fw_sysfs(__dev) container_of_const(__dev, struct fw_sysfs, dev)
/linux/drivers/misc/
H A Dtifm_core.c44 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 Dbus.c39 container_of_const(drv, struct idxd_device_driver, drv); in idxd_config_bus_match()
/linux/drivers/gpu/drm/xe/
H A Dxe_sriov_pf_sysfs.c76 #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 Dvchiq_bus.c28 const struct vchiq_device *device = container_of_const(dev, struct vchiq_device, dev); in vchiq_bus_uevent()

12345