Home
last modified time | relevance | path

Searched refs:amba_device (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/include/linux/amba/
Dbus.h30 struct amba_device { struct
41 int (*probe)(struct amba_device *, const struct amba_id *); argument
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 *);
[all …]
Dserial.h196 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);
Dclcd.h170 struct amba_device;
176 struct amba_device *dev;
/linux-4.1.27/drivers/amba/
Dbus.c28 amba_lookup(const struct amba_id *table, struct amba_device *dev) in amba_lookup()
44 struct amba_device *pcdev = to_amba_device(dev); in amba_match()
56 struct amba_device *pcdev = to_amba_device(dev); in amba_uevent()
70 struct amba_device *dev = to_amba_device(_dev); in driver_override_show()
82 struct amba_device *dev = to_amba_device(_dev); in driver_override_store()
112 struct amba_device *dev = to_amba_device(_dev); \
142 struct amba_device *pcdev = to_amba_device(dev); in amba_pm_runtime_suspend()
157 struct amba_device *pcdev = to_amba_device(dev); in amba_pm_runtime_resume()
207 static int amba_get_enable_pclk(struct amba_device *pcdev) in amba_get_enable_pclk()
222 static void amba_put_disable_pclk(struct amba_device *pcdev) in amba_put_disable_pclk()
[all …]
/linux-4.1.27/drivers/vfio/platform/
Dvfio_amba.c31 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource()
41 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq()
51 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id) in vfio_amba_probe()
80 static int vfio_amba_remove(struct amba_device *adev) in vfio_amba_remove()
/linux-4.1.27/arch/arm/mach-versatile/
Dversatile_pb.c64 static struct amba_device *amba_devs[] __initdata = {
77 struct amba_device *d = amba_devs[i]; in versatile_pb_init()
Dcore.c280 struct amba_device *adev = container_of(dev, struct amba_device, dev); in mmc_status()
661 static struct amba_device *amba_devs[] __initdata = {
779 struct amba_device *d = amba_devs[i]; in versatile_init()
/linux-4.1.27/drivers/char/hw_random/
Dnomadik-rng.c41 static int nmk_rng_probe(struct amba_device *dev, const struct amba_id *id) in nmk_rng_probe()
76 static int nmk_rng_remove(struct amba_device *dev) in nmk_rng_remove()
/linux-4.1.27/drivers/input/serio/
Dambakmi.c110 static int amba_kmi_probe(struct amba_device *dev, in amba_kmi_probe()
166 static int amba_kmi_remove(struct amba_device *dev) in amba_kmi_remove()
178 static int amba_kmi_resume(struct amba_device *dev) in amba_kmi_resume()
/linux-4.1.27/drivers/watchdog/
Dsp805_wdt.c68 struct amba_device *adev;
204 sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id) in sp805_wdt_probe()
251 static int sp805_wdt_remove(struct amba_device *adev) in sp805_wdt_remove()
/linux-4.1.27/drivers/rtc/
Drtc-pl030.c100 static int pl030_probe(struct amba_device *dev, const struct amba_id *id) in pl030_probe()
150 static int pl030_remove(struct amba_device *dev) in pl030_remove()
Drtc-pl031.c304 static int pl031_remove(struct amba_device *adev) in pl031_remove()
317 static int pl031_probe(struct amba_device *adev, const struct amba_id *id) in pl031_probe()
/linux-4.1.27/drivers/hwtracing/coresight/
Dcoresight-tpiu.c119 static int tpiu_probe(struct amba_device *adev, const struct amba_id *id) in tpiu_probe()
178 static int tpiu_remove(struct amba_device *adev) in tpiu_remove()
Dcoresight-funnel.c178 static int funnel_probe(struct amba_device *adev, const struct amba_id *id) in funnel_probe()
229 static int funnel_remove(struct amba_device *adev) in funnel_remove()
Dcoresight-etb10.c418 static int etb_probe(struct amba_device *adev, const struct amba_id *id) in etb_probe()
497 static int etb_remove(struct amba_device *adev) in etb_remove()
Dcoresight-tmc.c668 static int tmc_probe(struct amba_device *adev, const struct amba_id *id) in tmc_probe()
788 static int tmc_remove(struct amba_device *adev) in tmc_remove()
Dcoresight-etm3x.c1780 static int etm_probe(struct amba_device *adev, const struct amba_id *id) in etm_probe()
1878 static int etm_remove(struct amba_device *adev) in etm_remove()
/linux-4.1.27/drivers/mailbox/
Darm_mhu.c120 static int mhu_probe(struct amba_device *adev, const struct amba_id *id) in mhu_probe()
165 static int mhu_remove(struct amba_device *adev) in mhu_remove()
Dpl320-ipc.c141 static int pl320_probe(struct amba_device *adev, const struct amba_id *id) in pl320_probe()
/linux-4.1.27/arch/arm/mach-realview/
Drealview_pba8.c172 static struct amba_device *amba_devs[] __initdata = {
297 struct amba_device *d = amba_devs[i]; in realview_pba8_init()
Dcore.c207 struct amba_device *adev = container_of(dev, struct amba_device, dev); in realview_mmc_status()
Drealview_pb11mp.c177 static struct amba_device *amba_devs[] __initdata = {
360 struct amba_device *d = amba_devs[i]; in realview_pb11mp_init()
Drealview_pb1176.c181 static struct amba_device *amba_devs[] __initdata = {
377 struct amba_device *d = amba_devs[i]; in realview_pb1176_init()
Drealview_pbx.c195 static struct amba_device *amba_devs[] __initdata = {
389 struct amba_device *d = amba_devs[i]; in realview_pbx_init()
Drealview_eb.c197 static struct amba_device *amba_devs[] __initdata = {
466 struct amba_device *d = amba_devs[i]; in realview_eb_init()
/linux-4.1.27/drivers/of/
Dplatform.c219 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
224 struct amba_device *dev; in of_amba_device_create()
283 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
/linux-4.1.27/drivers/i2c/busses/
Di2c-nomadik.c173 struct amba_device *adev;
901 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_suspend()
911 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_resume()
967 static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) in nmk_i2c_probe()
1065 static int nmk_i2c_remove(struct amba_device *adev) in nmk_i2c_remove()
/linux-4.1.27/sound/arm/
Daaci.h226 struct amba_device *dev;
Daaci.c896 static struct aaci *aaci_init_card(struct amba_device *dev) in aaci_init_card()
987 static int aaci_probe(struct amba_device *dev, in aaci_probe()
1073 static int aaci_remove(struct amba_device *dev) in aaci_remove()
/linux-4.1.27/arch/sparc/include/asm/
Dleon_amba.h264 #define amba_device(x) (((x) >> 12) & 0xfff) macro
/linux-4.1.27/drivers/video/fbdev/
Damba-clcd.c787 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) in clcdfb_of_get_board()
813 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) in clcdfb_of_get_board()
819 static int clcdfb_probe(struct amba_device *dev, const struct amba_id *id) in clcdfb_probe()
874 static int clcdfb_remove(struct amba_device *dev) in clcdfb_remove()
/linux-4.1.27/drivers/tty/serial/
Damba-pl010.c71 struct amba_device *dev;
710 static int pl010_probe(struct amba_device *dev, const struct amba_id *id) in pl010_probe()
759 static int pl010_remove(struct amba_device *dev) in pl010_remove()
Damba-pl011.c83 unsigned int (*get_fifosize)(struct amba_device *dev);
86 static unsigned int get_fifosize_arm(struct amba_device *dev) in get_fifosize_arm()
101 static unsigned int get_fifosize_st(struct amba_device *dev) in get_fifosize_st()
2204 static int pl011_probe(struct amba_device *dev, const struct amba_id *id) in pl011_probe()
2278 static int pl011_remove(struct amba_device *dev) in pl011_remove()
/linux-4.1.27/arch/arm/mach-integrator/
Dintegrator_ap.c214 static void integrator_uart_set_mctrl(struct amba_device *dev, in integrator_uart_set_mctrl()
Dimpd1.c372 struct amba_device *d; in impd1_probe()
/linux-4.1.27/Documentation/devicetree/
Dusage-model.txt403 management. In Linux, struct amba_device and the amba_bus_type is
406 typical for both amba_device and platform_device instances to be
411 platform_device or an amba_device. This unfortunately complicates the
414 of_platform_populate() will register it as an amba_device instead of a
/linux-4.1.27/drivers/mmc/host/
Dmmci.c1509 static int mmci_probe(struct amba_device *dev, in mmci_probe()
1753 static int mmci_remove(struct amba_device *dev) in mmci_remove()
1819 struct amba_device *adev = to_amba_device(dev); in mmci_runtime_suspend()
1834 struct amba_device *adev = to_amba_device(dev); in mmci_runtime_resume()
/linux-4.1.27/Documentation/trace/
Dcoresight.txt174 "struct device *dev" gets the device reference embedded in the "amba_device":
176 static int etm_probe(struct amba_device *adev, const struct amba_id *id)
/linux-4.1.27/drivers/gpio/
Dgpio-pl061.c244 static int pl061_probe(struct amba_device *adev, const struct amba_id *id) in pl061_probe()
/linux-4.1.27/drivers/dma/
Dpl330.c2736 struct amba_device *pcdev = to_amba_device(dev); in pl330_suspend()
2751 struct amba_device *pcdev = to_amba_device(dev); in pl330_resume()
2769 pl330_probe(struct amba_device *adev, const struct amba_id *id) in pl330_probe()
2954 static int pl330_remove(struct amba_device *adev) in pl330_remove()
Damba-pl08x.c265 struct amba_device *adev;
2033 static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) in pl08x_probe()
/linux-4.1.27/drivers/spi/
Dspi-pl022.c380 struct amba_device *adev;
2094 static int pl022_probe(struct amba_device *adev, const struct amba_id *id) in pl022_probe()
2289 pl022_remove(struct amba_device *adev) in pl022_remove()
/linux-4.1.27/arch/arm/mach-ep93xx/
Dcore.c266 static void ep93xx_uart_set_mctrl(struct amba_device *dev, in ep93xx_uart_set_mctrl()