Searched refs:_drv (Results 1 - 16 of 16) sorted by relevance

/linux-master/include/linux/soundwire/
H A Dsdw_type.h16 #define drv_to_sdw_driver(_drv) container_of(_drv, struct sdw_driver, driver)
/linux-master/include/sound/
H A Dseq_device.h51 #define to_seq_drv(_drv) \
52 container_of(_drv, struct snd_seq_driver, driver)
H A Dhdaudio.h235 #define drv_to_hdac_driver(_drv) container_of(_drv, struct hdac_driver, driver)
/linux-master/drivers/scsi/bfa/
H A Dbfad_im.h141 #define bfad_get_aen_entry(_drv, _entry) do { \
143 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
144 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \
146 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \
147 spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
/linux-master/include/drm/
H A Ddrm_kunit_helpers.h34 * @_drv: Mocked DRM device driver features
36 * This function creates a struct &drm_device from @_dev and @_drv.
48 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \
52 _drv))
/linux-master/include/linux/cdx/
H A Dcdx_bus.h213 #define to_cdx_driver(_drv) \
214 container_of(_drv, struct cdx_driver, driver)
/linux-master/drivers/xen/xenbus/
H A Dxenbus.h107 int xenbus_match(struct device *_dev, struct device_driver *_drv);
H A Dxenbus_probe.c93 int xenbus_match(struct device *_dev, struct device_driver *_drv) argument
95 struct xenbus_driver *drv = to_xenbus_driver(_drv);
/linux-master/arch/powerpc/include/asm/
H A Dps3.h394 struct device_driver *_drv)
396 return container_of(_drv, struct ps3_system_bus_driver, core);
393 ps3_drv_to_system_bus_drv( struct device_driver *_drv) argument
/linux-master/include/linux/fsl/
H A Dmc.h58 #define to_fsl_mc_driver(_drv) \
59 container_of(_drv, struct fsl_mc_driver, driver)
/linux-master/drivers/parport/
H A Dshare.c181 static int driver_detach(struct device_driver *_drv, void *_port) argument
184 struct parport_driver *drv = to_parport_driver(_drv);
312 static int port_detach(struct device *dev, void *_drv) argument
314 struct parport_driver *drv = _drv;
/linux-master/include/linux/ssb/
H A Dssb.h328 #define drv_to_ssb_drv(_drv) container_of(_drv, struct ssb_driver, drv)
/linux-master/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c336 struct device_driver *_drv)
339 struct ps3_system_bus_driver *drv = ps3_drv_to_system_bus_drv(_drv);
335 ps3_system_bus_match(struct device *_dev, struct device_driver *_drv) argument
/linux-master/arch/arm/mach-rpc/
H A Decard.c1112 static int ecard_match(struct device *_dev, struct device_driver *_drv) argument
1115 struct ecard_driver *drv = ECARD_DRV(_drv);
/linux-master/arch/arm/common/
H A Dlocomo.c819 static int locomo_match(struct device *_dev, struct device_driver *_drv) argument
822 struct locomo_driver *drv = LOCOMO_DRV(_drv);
H A Dsa1111.c1342 static int sa1111_match(struct device *_dev, struct device_driver *_drv) argument
1345 struct sa1111_driver *drv = SA1111_DRV(_drv);

Completed in 347 milliseconds