Home
last modified time | relevance | path

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

123

/openbmc/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)
128 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
129 void amba_device_put(struct amba_device *);
130 int amba_device_add(struct amba_device *, struct resource *);
131 int amba_device_register(struct amba_device *, struct resource *);
132 void amba_device_unregister(struct amba_device *);
[all …]
H A Dserial.h210 struct amba_device; /* in uncompress this is included but amba/bus.h is not */
212 void (*set_mctrl)(struct amba_device *dev, void __iomem *base, unsigned int mctrl);
H A Dclcd.h124 struct amba_device;
130 struct amba_device *dev;
/openbmc/linux/drivers/amba/
H A Dbus.c32 amba_cs_uci_id_match(const struct amba_id *table, struct amba_device *dev) in amba_cs_uci_id_match()
50 amba_lookup(const struct amba_id *table, struct amba_device *dev) in amba_lookup()
62 static int amba_get_enable_pclk(struct amba_device *pcdev) in amba_get_enable_pclk()
77 static void amba_put_disable_pclk(struct amba_device *pcdev) in amba_put_disable_pclk()
87 struct amba_device *dev = to_amba_device(_dev); in driver_override_show()
100 struct amba_device *dev = to_amba_device(_dev); in driver_override_store()
115 struct amba_device *dev = to_amba_device(_dev); \
133 static int amba_read_periphid(struct amba_device *dev) in amba_read_periphid()
209 struct amba_device *pcdev = to_amba_device(dev); in amba_match()
240 const struct amba_device *pcdev = to_amba_device(dev); in amba_uevent()
[all …]
/openbmc/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()
100 static void vfio_amba_remove(struct amba_device *adev) in vfio_amba_remove()
/openbmc/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()
194 static int pl172_probe(struct amba_device *adev, const struct amba_id *id) in pl172_probe()
276 static void pl172_remove(struct amba_device *adev) in pl172_remove()
H A Dpl353-smc.c72 static int pl353_smc_probe(struct amba_device *adev, const struct amba_id *id) in pl353_smc_probe()
138 static void pl353_smc_remove(struct amba_device *adev) in pl353_smc_remove()
/openbmc/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()
/openbmc/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而不是
/openbmc/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.c105 static void integrator_uart_set_mctrl(struct amba_device *dev, in integrator_uart_set_mctrl()
/openbmc/linux/drivers/rtc/
H A Drtc-pl030.c85 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()
/openbmc/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()
309 static void sp805_wdt_remove(struct amba_device *adev) in sp805_wdt_remove()
/openbmc/linux/drivers/gpu/drm/pl111/
H A Dpl111_drv.c234 static int pl111_amba_probe(struct amba_device *amba_dev, in pl111_amba_probe()
319 static void pl111_amba_remove(struct amba_device *amba_dev) in pl111_amba_remove()
333 static void pl111_amba_shutdown(struct amba_device *amba_dev) in pl111_amba_shutdown()
/openbmc/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()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-tpiu.c117 static int tpiu_probe(struct amba_device *adev, const struct amba_id *id) in tpiu_probe()
174 static void tpiu_remove(struct amba_device *adev) in tpiu_remove()
H A Dcoresight-tpda.c129 static int tpda_probe(struct amba_device *adev, const struct amba_id *id) in tpda_probe()
180 static void tpda_remove(struct amba_device *adev) in tpda_remove()
H A Dcoresight-tpdm.c177 static int tpdm_probe(struct amba_device *adev, const struct amba_id *id) in tpdm_probe()
226 static void tpdm_remove(struct amba_device *adev) in tpdm_remove()
H A Dcoresight-tmc-core.c432 static int tmc_probe(struct amba_device *adev, const struct amba_id *id) in tmc_probe()
543 static void tmc_shutdown(struct amba_device *adev) in tmc_shutdown()
565 static void tmc_remove(struct amba_device *adev) in tmc_remove()
H A Dcoresight-replicator.c387 static int dynamic_replicator_probe(struct amba_device *adev, in dynamic_replicator_probe()
393 static void dynamic_replicator_remove(struct amba_device *adev) in dynamic_replicator_remove()
H A Dcoresight-funnel.c374 static int dynamic_funnel_probe(struct amba_device *adev, in dynamic_funnel_probe()
380 static void dynamic_funnel_remove(struct amba_device *adev) in dynamic_funnel_remove()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-nomadik.c170 struct amba_device *adev;
895 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_suspend()
905 struct amba_device *adev = to_amba_device(dev); in nmk_i2c_runtime_resume()
958 static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) in nmk_i2c_probe()
1033 static void nmk_i2c_remove(struct amba_device *adev) in nmk_i2c_remove()
/openbmc/linux/drivers/acpi/arm64/
H A Damba.c52 struct amba_device *dev; in amba_handler_attach()
/openbmc/linux/drivers/of/
H A Dplatform.c253 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
258 struct amba_device *dev; in of_amba_device_create()
310 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
/openbmc/linux/sound/arm/
H A Daaci.h223 struct amba_device *dev;

123