Lines Matching refs:amba_device
30 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 *);
66 #define to_amba_device(d) container_of(d, struct amba_device, dev)
73 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
74 void amba_device_put(struct amba_device *);
75 int amba_device_add(struct amba_device *, struct resource *);
76 int amba_device_register(struct amba_device *, struct resource *);
77 struct amba_device *amba_apb_device_add(struct device *parent, const char *name,
81 struct amba_device *amba_ahb_device_add(struct device *parent, const char *name,
85 struct amba_device *
90 struct amba_device *
95 void amba_device_unregister(struct amba_device *);
96 struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int);
97 int amba_request_regions(struct amba_device *, const char *);
98 void amba_release_regions(struct amba_device *);
100 static inline int amba_pclk_enable(struct amba_device *dev) in amba_pclk_enable()
105 static inline void amba_pclk_disable(struct amba_device *dev) in amba_pclk_disable()
110 static inline int amba_pclk_prepare(struct amba_device *dev) in amba_pclk_prepare()
115 static inline void amba_pclk_unprepare(struct amba_device *dev) in amba_pclk_unprepare()
145 struct amba_device name##_device = { \
156 struct amba_device name##_device = { \