Home
last modified time | relevance | path

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

/linux-4.4.14/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 *);
60 #define to_amba_device(d) container_of(d, struct amba_device, dev)
67 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
68 void amba_device_put(struct amba_device *);
69 int amba_device_add(struct amba_device *, struct resource *);
70 int amba_device_register(struct amba_device *, struct resource *);
71 struct amba_device *amba_apb_device_add(struct device *parent, const char *name,
[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.4.14/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.4.14/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()
81 static int vfio_amba_remove(struct amba_device *adev) in vfio_amba_remove()
/linux-4.4.14/drivers/memory/
Dpl172.c59 static int pl172_timing_prop(struct amba_device *adev, in pl172_timing_prop()
85 static int pl172_setup_static(struct amba_device *adev, in pl172_setup_static()
174 static int pl172_parse_cs_config(struct amba_device *adev, in pl172_parse_cs_config()
197 static int pl172_probe(struct amba_device *adev, const struct amba_id *id) in pl172_probe()
279 static int pl172_remove(struct amba_device *adev) in pl172_remove()
/linux-4.4.14/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.4.14/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.4.14/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()
252 static int sp805_wdt_remove(struct amba_device *adev) in sp805_wdt_remove()
/linux-4.4.14/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.c305 static int pl031_remove(struct amba_device *adev) in pl031_remove()
320 static int pl031_probe(struct amba_device *adev, const struct amba_id *id) in pl031_probe()
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/drivers/hwtracing/coresight/
Dcoresight-replicator-qcom.c103 static int replicator_probe(struct amba_device *adev, const struct amba_id *id) in replicator_probe()
159 static int replicator_remove(struct amba_device *adev) in replicator_remove()
Dcoresight-tpiu.c115 static int tpiu_probe(struct amba_device *adev, const struct amba_id *id) in tpiu_probe()
175 static int tpiu_remove(struct amba_device *adev) in tpiu_remove()
Dcoresight-funnel.c172 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.c409 static int etb_probe(struct amba_device *adev, const struct amba_id *id) in etb_probe()
492 static int etb_remove(struct amba_device *adev) in etb_remove()
Dcoresight-tmc.c658 static int tmc_probe(struct amba_device *adev, const struct amba_id *id) in tmc_probe()
773 static int tmc_remove(struct amba_device *adev) in tmc_remove()
Dcoresight-etm3x.c1782 static int etm_probe(struct amba_device *adev, const struct amba_id *id) in etm_probe()
1880 static int etm_remove(struct amba_device *adev) in etm_remove()
Dcoresight-etm4x.c2595 static int etm4_probe(struct amba_device *adev, const struct amba_id *id) in etm4_probe()
2687 static int etm4_remove(struct amba_device *adev) in etm4_remove()
/linux-4.4.14/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.c206 struct amba_device *adev = container_of(dev, struct amba_device, dev); in realview_mmc_status()
Drealview_pb1176.c181 static struct amba_device *amba_devs[] __initdata = {
377 struct amba_device *d = amba_devs[i]; in realview_pb1176_init()
Drealview_pb11mp.c177 static struct amba_device *amba_devs[] __initdata = {
360 struct amba_device *d = amba_devs[i]; in realview_pb11mp_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.4.14/drivers/of/
Dplatform.c220 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
225 struct amba_device *dev; in of_amba_device_create()
284 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
/linux-4.4.14/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.4.14/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.4.14/arch/sparc/include/asm/
Dleon_amba.h264 #define amba_device(x) (((x) >> 12) & 0xfff) macro
/linux-4.4.14/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.4.14/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.c85 unsigned int (*get_fifosize)(struct amba_device *dev);
88 static unsigned int get_fifosize_arm(struct amba_device *dev) in get_fifosize_arm()
113 static unsigned int get_fifosize_st(struct amba_device *dev) in get_fifosize_st()
2356 static int pl011_probe(struct amba_device *dev, const struct amba_id *id) in pl011_probe()
2393 static int pl011_remove(struct amba_device *dev) in pl011_remove()
/linux-4.4.14/arch/arm/mach-integrator/
Dintegrator_ap.c213 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.4.14/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.4.14/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.4.14/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.4.14/drivers/dma/
Damba-pl08x.c267 struct amba_device *adev;
2089 static int pl08x_of_probe(struct amba_device *adev, in pl08x_of_probe()
2204 static inline int pl08x_of_probe(struct amba_device *adev, in pl08x_of_probe()
2212 static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) in pl08x_probe()
Dpl330.c2741 struct amba_device *pcdev = to_amba_device(dev); in pl330_suspend()
2756 struct amba_device *pcdev = to_amba_device(dev); in pl330_resume()
2774 pl330_probe(struct amba_device *adev, const struct amba_id *id) in pl330_probe()
2959 static int pl330_remove(struct amba_device *adev) in pl330_remove()
/linux-4.4.14/drivers/gpio/
Dgpio-pl061.c280 static int pl061_probe(struct amba_device *adev, const struct amba_id *id) in pl061_probe()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dcore.c158 static void ep93xx_uart_set_mctrl(struct amba_device *dev, in ep93xx_uart_set_mctrl()
/linux-4.4.14/drivers/spi/
Dspi-pl022.c380 struct amba_device *adev;
2106 static int pl022_probe(struct amba_device *adev, const struct amba_id *id) in pl022_probe()
2305 pl022_remove(struct amba_device *adev) in pl022_remove()