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 *);
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,
75 struct amba_device *amba_ahb_device_add(struct device *parent, const char *name,
79 struct amba_device *
84 struct amba_device *
89 void amba_device_unregister(struct amba_device *);
90 struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int);
91 int amba_request_regions(struct amba_device *, const char *);
92 void amba_release_regions(struct amba_device *);
94 static inline int amba_pclk_enable(struct amba_device *dev) in amba_pclk_enable()
99 static inline void amba_pclk_disable(struct amba_device *dev) in amba_pclk_disable()
104 static inline int amba_pclk_prepare(struct amba_device *dev) in amba_pclk_prepare()
109 static inline void amba_pclk_unprepare(struct amba_device *dev) in amba_pclk_unprepare()
139 struct amba_device name##_device = { \
150 struct amba_device name##_device = { \