Searched refs:_dev (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/platforms/ps3/ |
D | system-bus.c | 335 static int ps3_system_bus_match(struct device *_dev, in ps3_system_bus_match() argument 340 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_match() 362 static int ps3_system_bus_probe(struct device *_dev) in ps3_system_bus_probe() argument 365 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_probe() 369 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_probe() 384 static void ps3_system_bus_remove(struct device *_dev) in ps3_system_bus_remove() argument 386 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_remove() 390 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_remove() 404 static void ps3_system_bus_shutdown(struct device *_dev) in ps3_system_bus_shutdown() argument 406 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_shutdown() [all …]
|
/arch/mips/include/asm/ |
D | gio_device.h | 50 #define gio_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev) argument 51 #define gio_set_drvdata(_dev, data) dev_set_drvdata(&(_dev)->dev, (data)) argument
|
/arch/powerpc/include/asm/ |
D | ps3.h | 399 const struct device *_dev) in ps3_dev_to_system_bus_dev() argument 401 return container_of(_dev, struct ps3_system_bus_device, core); in ps3_dev_to_system_bus_dev() 404 ps3_system_bus_dev_to_system_bus_drv(struct ps3_system_bus_device *_dev) in ps3_system_bus_dev_to_system_bus_drv() argument 406 BUG_ON(!_dev); in ps3_system_bus_dev_to_system_bus_drv() 407 BUG_ON(!_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv() 408 return ps3_drv_to_system_bus_drv(_dev->core.driver); in ps3_system_bus_dev_to_system_bus_drv()
|
/arch/arm/common/ |
D | locomo.c | 210 static void locomo_dev_release(struct device *_dev) in locomo_dev_release() argument 212 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_dev_release() 817 static int locomo_match(struct device *_dev, struct device_driver *_drv) in locomo_match() argument 819 struct locomo_dev *dev = LOCOMO_DEV(_dev); in locomo_match()
|
D | sa1111.c | 721 static void sa1111_dev_release(struct device *_dev) in sa1111_dev_release() argument 723 struct sa1111_dev *dev = to_sa1111_device(_dev); in sa1111_dev_release() 1341 static int sa1111_match(struct device *_dev, struct device_driver *_drv) in sa1111_match() argument 1343 struct sa1111_dev *dev = to_sa1111_device(_dev); in sa1111_match()
|
/arch/mips/include/asm/pci/ |
D | bridge.h | 622 #define BRIDGE_INT_DEV_SET(_dev, _line) (_dev << BRIDGE_INT_DEV_SHFT(_line)) argument
|
/arch/arm/mach-rpc/ |
D | ecard.c | 1112 static int ecard_match(struct device *_dev, struct device_driver *_drv) in ecard_match() argument 1114 struct expansion_card *ec = ECARD_DEV(_dev); in ecard_match()
|