Lines Matching refs:amba_device
65 struct amba_device { struct
81 int (*probe)(struct amba_device *, const struct amba_id *); argument
82 void (*remove)(struct amba_device *);
83 void (*shutdown)(struct amba_device *);
108 #define to_amba_device(d) container_of(d, struct amba_device, dev)
115 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
116 void amba_device_put(struct amba_device *);
117 int amba_device_add(struct amba_device *, struct resource *);
118 int amba_device_register(struct amba_device *, struct resource *);
119 struct amba_device *amba_apb_device_add(struct device *parent, const char *name,
123 struct amba_device *amba_ahb_device_add(struct device *parent, const char *name,
127 struct amba_device *
132 struct amba_device *
137 void amba_device_unregister(struct amba_device *);
138 struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int);
139 int amba_request_regions(struct amba_device *, const char *);
140 void amba_release_regions(struct amba_device *);
142 static inline int amba_pclk_enable(struct amba_device *dev) in amba_pclk_enable()
147 static inline void amba_pclk_disable(struct amba_device *dev) in amba_pclk_disable()
152 static inline int amba_pclk_prepare(struct amba_device *dev) in amba_pclk_prepare()
157 static inline void amba_pclk_unprepare(struct amba_device *dev) in amba_pclk_unprepare()
187 struct amba_device name##_device = { \
198 struct amba_device name##_device = { \