Home
last modified time | relevance | path

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

12

/linux/include/linux/amba/
H A Dbus.h64 struct amba_device { struct
83 int (*probe)(struct amba_device *, const struct amba_id *); argument
84 void (*remove)(struct amba_device *);
85 void (*shutdown)(struct amba_device *);
110 #define to_amba_device(d) container_of_const(d, struct amba_device, dev)
140 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
141 void amba_device_put(struct amba_device *);
142 int amba_device_add(struct amba_device *, struct resource *);
143 int amba_device_register(struct amba_device *, struct resource *);
144 void amba_device_unregister(struct amba_device *);
[all …]
H A Dserial.h219 struct amba_device; /* in uncompress this is included but amba/bus.h is not */
221 void (*set_mctrl)(struct amba_device *dev, void __iomem *base, unsigned int mctrl);
/linux/drivers/amba/
H A Dbus.c33 amba_cs_uci_id_match(const struct amba_id *table, struct amba_device *dev) in amba_cs_uci_id_match()
51 amba_lookup(const struct amba_id *table, struct amba_device *dev) in amba_lookup()
63 static int amba_get_enable_pclk(struct amba_device *pcdev) in amba_get_enable_pclk()
78 static void amba_put_disable_pclk(struct amba_device *pcdev) in amba_put_disable_pclk()
88 struct amba_device *dev = to_amba_device(_dev); in driver_override_show()
101 struct amba_device *dev = to_amba_device(_dev); in driver_override_store()
116 struct amba_device *dev = to_amba_device(_dev); \
134 static int amba_read_periphid(struct amba_device *dev) in amba_read_periphid()
210 struct amba_device *pcdev = to_amba_device(dev); in amba_match()
241 const struct amba_device *pcdev = to_amba_device(dev); in amba_uevent()
[all …]
/linux/drivers/vfio/platform/
H A Dvfio_amba.c24 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource()
34 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq()
48 struct amba_device *adev = to_amba_device(core_vdev->dev); in vfio_amba_init_dev()
68 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id) in vfio_amba_probe()
102 static void vfio_amba_remove(struct amba_device *adev) in vfio_amba_remove()
/linux/drivers/memory/
H A Dpl172.c56 static int pl172_timing_prop(struct amba_device *adev, in pl172_timing_prop()
82 static int pl172_setup_static(struct amba_device *adev, in pl172_setup_static()
171 static int pl172_parse_cs_config(struct amba_device *adev, in pl172_parse_cs_config()
192 struct amba_device *adev = data; in pl172_amba_release_regions()
201 static int pl172_probe(struct amba_device *adev, const struct amba_id *id) in pl172_probe()
H A Dpl353-smc.c72 static int pl353_smc_probe(struct amba_device *adev, const struct amba_id *id) in pl353_smc_probe()
/linux/Documentation/translations/zh_CN/devicetree/
H A Dusage-model.rst321 的一些支持。在Linux中,amba_device和amba_bus_type结构体被用来表示
323 而且对于Linux来说,典型的情况是amba_device和platform_device实例都是同
327 每个节点注册为platform_device或amba_device。不幸的是,这使设备创建模型
329 兼容,那么of_platform_populate()将把它注册为amba_device而不是
/linux/drivers/char/hw_random/
H A Dnomadik-rng.c35 static int nmk_rng_probe(struct amba_device *dev, const struct amba_id *id) in nmk_rng_probe()
64 static void nmk_rng_remove(struct amba_device *dev) in nmk_rng_remove()
/linux/arch/arm/mach-versatile/
H A Dversatile.c58 struct amba_device *adev = container_of(dev, struct amba_device, dev); in mmc_status()
H A Dintegrator_ap.c109 static void integrator_uart_set_mctrl(struct amba_device *dev, in integrator_uart_set_mctrl()
/linux/drivers/rtc/
H A Drtc-pl030.c84 static int pl030_probe(struct amba_device *dev, const struct amba_id *id) in pl030_probe()
140 static void pl030_remove(struct amba_device *dev) in pl030_remove()
H A Drtc-pl031.c285 static void pl031_remove(struct amba_device *adev) in pl031_remove()
294 static int pl031_probe(struct amba_device *adev, const struct amba_id *id) in pl031_probe()
/linux/drivers/gpu/drm/pl111/
H A Dpl111_drv.c236 static int pl111_amba_probe(struct amba_device *amba_dev, in pl111_amba_probe()
321 static void pl111_amba_remove(struct amba_device *amba_dev) in pl111_amba_remove()
335 static void pl111_amba_shutdown(struct amba_device *amba_dev) in pl111_amba_shutdown()
/linux/drivers/watchdog/
H A Dsp805_wdt.c73 struct amba_device *adev;
232 sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id) in sp805_wdt_probe()
316 static void sp805_wdt_remove(struct amba_device *adev) in sp805_wdt_remove()
/linux/drivers/input/serio/
H A Dambakmi.c106 static int amba_kmi_probe(struct amba_device *dev, in amba_kmi_probe()
162 static void amba_kmi_remove(struct amba_device *dev) in amba_kmi_remove()
/linux/drivers/i2c/busses/
H A Di2c-nomadik.c200 struct amba_device *adev;
958 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_suspend()
968 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_resume()
1082 static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) in nmk_i2c_probe()
1175 static void nmk_i2c_remove(struct amba_device *adev) in nmk_i2c_remove()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-tpiu.c182 static int tpiu_probe(struct amba_device *adev, const struct amba_id *id) in tpiu_probe()
199 static void tpiu_remove(struct amba_device *adev) in tpiu_remove()
H A Dcoresight-tnoc.c241 static int trace_noc_probe(struct amba_device *adev, const struct amba_id *id) in trace_noc_probe()
252 static void trace_noc_remove(struct amba_device *adev) in trace_noc_remove()
H A Dcoresight-replicator.c385 static int dynamic_replicator_probe(struct amba_device *adev, in dynamic_replicator_probe()
397 static void dynamic_replicator_remove(struct amba_device *adev) in dynamic_replicator_remove()
H A Dcoresight-funnel.c372 static int dynamic_funnel_probe(struct amba_device *adev, in dynamic_funnel_probe()
384 static void dynamic_funnel_remove(struct amba_device *adev) in dynamic_funnel_remove()
/linux/drivers/of/
H A Dplatform.c206 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
211 struct amba_device *dev; in of_amba_device_create()
263 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
/linux/drivers/acpi/arm64/
H A Damba.c40 struct amba_device *dev; in amba_handler_attach()
/linux/sound/arm/
H A Daaci.h223 struct amba_device *dev;
/linux/drivers/tty/serial/
H A Damba-pl010.c54 struct amba_device *dev;
662 static int pl010_probe(struct amba_device *dev, const struct amba_id *id) in pl010_probe()
725 static void pl010_remove(struct amba_device *dev) in pl010_remove()
/linux/drivers/mailbox/
H A Darm_mhuv2.c966 static int mhuv2_tx_init(struct amba_device *adev, struct mhuv2 *mhu, in mhuv2_tx_init()
1020 static int mhuv2_rx_init(struct amba_device *adev, struct mhuv2 *mhu, in mhuv2_rx_init()
1057 static int mhuv2_probe(struct amba_device *adev, const struct amba_id *id) in mhuv2_probe()
1102 static void mhuv2_remove(struct amba_device *adev) in mhuv2_remove()

12