Lines Matching refs:amba_device
64 struct amba_device { struct
77 int (*probe)(struct amba_device *, const struct amba_id *); argument
78 int (*remove)(struct amba_device *);
79 void (*shutdown)(struct amba_device *);
102 #define to_amba_device(d) container_of(d, struct amba_device, dev)
109 struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t);
110 void amba_device_put(struct amba_device *);
111 int amba_device_add(struct amba_device *, struct resource *);
112 int amba_device_register(struct amba_device *, struct resource *);
113 struct amba_device *amba_apb_device_add(struct device *parent, const char *name,
117 struct amba_device *amba_ahb_device_add(struct device *parent, const char *name,
121 struct amba_device *
126 struct amba_device *
131 void amba_device_unregister(struct amba_device *);
132 struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int);
133 int amba_request_regions(struct amba_device *, const char *);
134 void amba_release_regions(struct amba_device *);
136 static inline int amba_pclk_enable(struct amba_device *dev) in amba_pclk_enable()
141 static inline void amba_pclk_disable(struct amba_device *dev) in amba_pclk_disable()
146 static inline int amba_pclk_prepare(struct amba_device *dev) in amba_pclk_prepare()
151 static inline void amba_pclk_unprepare(struct amba_device *dev) in amba_pclk_unprepare()
181 struct amba_device name##_device = { \
192 struct amba_device name##_device = { \