diff options
Diffstat (limited to 'include/linux/amba')
| -rw-r--r-- | include/linux/amba/bus.h | 8 | ||||
| -rw-r--r-- | include/linux/amba/pl08x.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 8d54f79457ba..d36417158d8f 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/amba/bus.h | |||
| @@ -63,6 +63,14 @@ struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t); | |||
| 63 | void amba_device_put(struct amba_device *); | 63 | void amba_device_put(struct amba_device *); |
| 64 | int amba_device_add(struct amba_device *, struct resource *); | 64 | int amba_device_add(struct amba_device *, struct resource *); |
| 65 | int amba_device_register(struct amba_device *, struct resource *); | 65 | int amba_device_register(struct amba_device *, struct resource *); |
| 66 | struct amba_device *amba_apb_device_add(struct device *parent, const char *name, | ||
| 67 | resource_size_t base, size_t size, | ||
| 68 | int irq1, int irq2, void *pdata, | ||
| 69 | unsigned int periphid); | ||
| 70 | struct amba_device *amba_ahb_device_add(struct device *parent, const char *name, | ||
| 71 | resource_size_t base, size_t size, | ||
| 72 | int irq1, int irq2, void *pdata, | ||
| 73 | unsigned int periphid); | ||
| 66 | void amba_device_unregister(struct amba_device *); | 74 | void amba_device_unregister(struct amba_device *); |
| 67 | struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int); | 75 | struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int); |
| 68 | int amba_request_regions(struct amba_device *, const char *); | 76 | int amba_request_regions(struct amba_device *, const char *); |
diff --git a/include/linux/amba/pl08x.h b/include/linux/amba/pl08x.h index e64ce2cfee99..02549017212a 100644 --- a/include/linux/amba/pl08x.h +++ b/include/linux/amba/pl08x.h | |||
| @@ -92,6 +92,8 @@ struct pl08x_bus_data { | |||
| 92 | * right now | 92 | * right now |
| 93 | * @serving: the virtual channel currently being served by this physical | 93 | * @serving: the virtual channel currently being served by this physical |
| 94 | * channel | 94 | * channel |
| 95 | * @locked: channel unavailable for the system, e.g. dedicated to secure | ||
| 96 | * world | ||
| 95 | */ | 97 | */ |
| 96 | struct pl08x_phy_chan { | 98 | struct pl08x_phy_chan { |
| 97 | unsigned int id; | 99 | unsigned int id; |
| @@ -99,6 +101,7 @@ struct pl08x_phy_chan { | |||
| 99 | spinlock_t lock; | 101 | spinlock_t lock; |
| 100 | int signal; | 102 | int signal; |
| 101 | struct pl08x_dma_chan *serving; | 103 | struct pl08x_dma_chan *serving; |
| 104 | bool locked; | ||
| 102 | }; | 105 | }; |
| 103 | 106 | ||
| 104 | /** | 107 | /** |
