/linux-4.1.27/include/linux/amba/ |
H A D | bus.h | 30 struct amba_device { struct 41 int (*probe)(struct amba_device *, const struct amba_id *); 42 int (*remove)(struct amba_device *); 43 void (*shutdown)(struct amba_device *); 44 int (*suspend)(struct amba_device *, pm_message_t); 45 int (*resume)(struct amba_device *); 62 #define to_amba_device(d) container_of(d, struct amba_device, dev) 69 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t); 70 void amba_device_put(struct amba_device *); 71 int amba_device_add(struct amba_device *, struct resource *); 72 int amba_device_register(struct amba_device *, struct resource *); 73 struct amba_device *amba_apb_device_add(struct device *parent, const char *name, 77 struct amba_device *amba_ahb_device_add(struct device *parent, const char *name, 81 struct amba_device * 86 struct amba_device * 91 void amba_device_unregister(struct amba_device *); 92 struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int); 93 int amba_request_regions(struct amba_device *, const char *); 94 void amba_release_regions(struct amba_device *); 96 static inline int amba_pclk_enable(struct amba_device *dev) amba_pclk_enable() 101 static inline void amba_pclk_disable(struct amba_device *dev) amba_pclk_disable() 106 static inline int amba_pclk_prepare(struct amba_device *dev) amba_pclk_prepare() 111 static inline void amba_pclk_unprepare(struct amba_device *dev) amba_pclk_unprepare() 116 /* Some drivers don't use the struct amba_device */ 141 struct amba_device name##_device = { \ 152 struct amba_device name##_device = { \
|
H A D | clcd.h | 170 struct amba_device; 176 struct amba_device *dev;
|
H A D | serial.h | 196 struct amba_device; /* in uncompress this is included but amba/bus.h is not */ 198 void (*set_mctrl)(struct amba_device *dev, void __iomem *base, unsigned int mctrl);
|
/linux-4.1.27/drivers/vfio/platform/ |
H A D | vfio_amba.c | 31 struct amba_device *adev = (struct amba_device *) vdev->opaque; get_amba_resource() 41 struct amba_device *adev = (struct amba_device *) vdev->opaque; get_amba_irq() 51 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id) vfio_amba_probe() 80 static int vfio_amba_remove(struct amba_device *adev) vfio_amba_remove()
|
/linux-4.1.27/drivers/amba/ |
H A D | bus.c | 28 amba_lookup(const struct amba_id *table, struct amba_device *dev) amba_lookup() 44 struct amba_device *pcdev = to_amba_device(dev); amba_match() 56 struct amba_device *pcdev = to_amba_device(dev); amba_uevent() 70 struct amba_device *dev = to_amba_device(_dev); driver_override_show() 82 struct amba_device *dev = to_amba_device(_dev); driver_override_store() 112 struct amba_device *dev = to_amba_device(_dev); \ 142 struct amba_device *pcdev = to_amba_device(dev); amba_pm_runtime_suspend() 157 struct amba_device *pcdev = to_amba_device(dev); amba_pm_runtime_resume() 207 static int amba_get_enable_pclk(struct amba_device *pcdev) amba_get_enable_pclk() 222 static void amba_put_disable_pclk(struct amba_device *pcdev) amba_put_disable_pclk() 234 struct amba_device *pcdev = to_amba_device(dev); amba_probe() 271 struct amba_device *pcdev = to_amba_device(dev); amba_remove() 332 struct amba_device *d = to_amba_device(dev); amba_device_release() 348 int amba_device_add(struct amba_device *dev, struct resource *parent) amba_device_add() 426 static struct amba_device * amba_aphb_device_add() 432 struct amba_device *dev; amba_aphb_device_add() 455 struct amba_device * amba_apb_device_add() 465 struct amba_device * amba_ahb_device_add() 475 struct amba_device * amba_apb_device_add_res() 486 struct amba_device * amba_ahb_device_add_res() 498 static void amba_device_initialize(struct amba_device *dev, const char *name) amba_device_initialize() 518 struct amba_device *amba_device_alloc(const char *name, resource_size_t base, amba_device_alloc() 521 struct amba_device *dev; amba_device_alloc() 544 int amba_device_register(struct amba_device *dev, struct resource *parent) amba_device_register() 556 void amba_device_put(struct amba_device *dev) amba_device_put() 570 * the amba_device structure will be freed once all 573 void amba_device_unregister(struct amba_device *dev) amba_device_unregister() 580 struct amba_device *dev; 590 struct amba_device *pcdev = to_amba_device(dev); amba_find_match() 621 struct amba_device * amba_find_device() 640 * @dev: amba_device structure for device 643 int amba_request_regions(struct amba_device *dev, const char *name) amba_request_regions() 661 * @dev: amba_device structure for device 665 void amba_release_regions(struct amba_device *dev) amba_release_regions()
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | nomadik-rng.c | 41 static int nmk_rng_probe(struct amba_device *dev, const struct amba_id *id) nmk_rng_probe() 76 static int nmk_rng_remove(struct amba_device *dev) nmk_rng_remove()
|
/linux-4.1.27/arch/arm/mach-versatile/ |
H A D | versatile_pb.c | 64 static struct amba_device *amba_devs[] __initdata = { 77 struct amba_device *d = amba_devs[i]; versatile_pb_init()
|
H A D | core.c | 280 struct amba_device *adev = container_of(dev, struct amba_device, dev); mmc_status() 661 static struct amba_device *amba_devs[] __initdata = { 779 struct amba_device *d = amba_devs[i]; versatile_init()
|
/linux-4.1.27/drivers/input/serio/ |
H A D | ambakmi.c | 110 static int amba_kmi_probe(struct amba_device *dev, amba_kmi_probe() 166 static int amba_kmi_remove(struct amba_device *dev) amba_kmi_remove() 178 static int amba_kmi_resume(struct amba_device *dev) amba_kmi_resume()
|
/linux-4.1.27/drivers/mailbox/ |
H A D | arm_mhu.c | 120 static int mhu_probe(struct amba_device *adev, const struct amba_id *id) mhu_probe() 165 static int mhu_remove(struct amba_device *adev) mhu_remove()
|
H A D | pl320-ipc.c | 141 static int pl320_probe(struct amba_device *adev, const struct amba_id *id) pl320_probe()
|
/linux-4.1.27/drivers/hwtracing/coresight/ |
H A D | coresight-tpiu.c | 119 static int tpiu_probe(struct amba_device *adev, const struct amba_id *id) tpiu_probe() 178 static int tpiu_remove(struct amba_device *adev) tpiu_remove()
|
H A D | coresight-funnel.c | 178 static int funnel_probe(struct amba_device *adev, const struct amba_id *id) funnel_probe() 229 static int funnel_remove(struct amba_device *adev) funnel_remove()
|
H A D | coresight-etb10.c | 418 static int etb_probe(struct amba_device *adev, const struct amba_id *id) etb_probe() 497 static int etb_remove(struct amba_device *adev) etb_remove()
|
H A D | coresight-tmc.c | 668 static int tmc_probe(struct amba_device *adev, const struct amba_id *id) tmc_probe() 788 static int tmc_remove(struct amba_device *adev) tmc_remove()
|
H A D | coresight-etm3x.c | 1780 static int etm_probe(struct amba_device *adev, const struct amba_id *id) etm_probe() 1878 static int etm_remove(struct amba_device *adev) etm_remove()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-pl030.c | 100 static int pl030_probe(struct amba_device *dev, const struct amba_id *id) pl030_probe() 150 static int pl030_remove(struct amba_device *dev) pl030_remove()
|
H A D | rtc-pl031.c | 304 static int pl031_remove(struct amba_device *adev) pl031_remove() 317 static int pl031_probe(struct amba_device *adev, const struct amba_id *id) pl031_probe()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | sp805_wdt.c | 68 struct amba_device *adev; 204 sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id) sp805_wdt_probe() 251 static int sp805_wdt_remove(struct amba_device *adev) sp805_wdt_remove()
|
/linux-4.1.27/arch/arm/mach-realview/ |
H A D | core.c | 207 struct amba_device *adev = container_of(dev, struct amba_device, dev); realview_mmc_status()
|
H A D | realview_pb1176.c | 181 static struct amba_device *amba_devs[] __initdata = { 377 struct amba_device *d = amba_devs[i]; realview_pb1176_init()
|
H A D | realview_pb11mp.c | 177 static struct amba_device *amba_devs[] __initdata = { 360 struct amba_device *d = amba_devs[i]; realview_pb11mp_init()
|
H A D | realview_pba8.c | 172 static struct amba_device *amba_devs[] __initdata = { 297 struct amba_device *d = amba_devs[i]; realview_pba8_init()
|
H A D | realview_pbx.c | 195 static struct amba_device *amba_devs[] __initdata = { 389 struct amba_device *d = amba_devs[i]; realview_pbx_init()
|
H A D | realview_eb.c | 197 static struct amba_device *amba_devs[] __initdata = { 466 struct amba_device *d = amba_devs[i]; realview_eb_init()
|
/linux-4.1.27/drivers/of/ |
H A D | platform.c | 219 static struct amba_device *of_amba_device_create(struct device_node *node, of_amba_device_create() 224 struct amba_device *dev; of_amba_device_create() 283 static struct amba_device *of_amba_device_create(struct device_node *node, of_amba_device_create()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | amba-clcd.c | 787 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) clcdfb_of_get_board() 813 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) clcdfb_of_get_board() 819 static int clcdfb_probe(struct amba_device *dev, const struct amba_id *id) clcdfb_probe() 874 static int clcdfb_remove(struct amba_device *dev) clcdfb_remove()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 173 struct amba_device *adev; 901 struct amba_device *adev = to_amba_device(dev); nmk_i2c_runtime_suspend() 911 struct amba_device *adev = to_amba_device(dev); nmk_i2c_runtime_resume() 967 static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) nmk_i2c_probe() 1065 static int nmk_i2c_remove(struct amba_device *adev) nmk_i2c_remove()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | amba-pl010.c | 71 struct amba_device *dev; 710 static int pl010_probe(struct amba_device *dev, const struct amba_id *id) pl010_probe() 759 static int pl010_remove(struct amba_device *dev) pl010_remove()
|
H A D | amba-pl011.c | 83 unsigned int (*get_fifosize)(struct amba_device *dev); 86 static unsigned int get_fifosize_arm(struct amba_device *dev) get_fifosize_arm() 101 static unsigned int get_fifosize_st(struct amba_device *dev) get_fifosize_st() 2204 static int pl011_probe(struct amba_device *dev, const struct amba_id *id) pl011_probe() 2278 static int pl011_remove(struct amba_device *dev) pl011_remove()
|
/linux-4.1.27/sound/arm/ |
H A D | aaci.c | 896 static struct aaci *aaci_init_card(struct amba_device *dev) aaci_init_card() 987 static int aaci_probe(struct amba_device *dev, aaci_probe() 1073 static int aaci_remove(struct amba_device *dev) aaci_remove()
|
H A D | aaci.h | 226 struct amba_device *dev;
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | leon_amba.h | 264 #define amba_device(x) (((x) >> 12) & 0xfff) macro
|
/linux-4.1.27/arch/arm/mach-integrator/ |
H A D | integrator_ap.c | 214 static void integrator_uart_set_mctrl(struct amba_device *dev, integrator_uart_set_mctrl()
|
H A D | impd1.c | 372 struct amba_device *d; impd1_probe()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmci.c | 1509 static int mmci_probe(struct amba_device *dev, mmci_probe() 1753 static int mmci_remove(struct amba_device *dev) mmci_remove() 1819 struct amba_device *adev = to_amba_device(dev); mmci_runtime_suspend() 1834 struct amba_device *adev = to_amba_device(dev); mmci_runtime_resume()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-pl061.c | 244 static int pl061_probe(struct amba_device *adev, const struct amba_id *id) pl061_probe()
|
/linux-4.1.27/drivers/dma/ |
H A D | pl330.c | 2736 struct amba_device *pcdev = to_amba_device(dev); pl330_suspend() 2751 struct amba_device *pcdev = to_amba_device(dev); pl330_resume() 2769 pl330_probe(struct amba_device *adev, const struct amba_id *id) pl330_probe() 2954 static int pl330_remove(struct amba_device *adev) pl330_remove()
|
H A D | amba-pl08x.c | 265 struct amba_device *adev; 2033 static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) pl08x_probe()
|
/linux-4.1.27/arch/arm/mach-ep93xx/ |
H A D | core.c | 266 static void ep93xx_uart_set_mctrl(struct amba_device *dev, ep93xx_uart_set_mctrl()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-pl022.c | 380 struct amba_device *adev; 2094 static int pl022_probe(struct amba_device *adev, const struct amba_id *id) pl022_probe() 2289 pl022_remove(struct amba_device *adev) pl022_remove()
|