Home
last modified time | relevance | path

Searched refs:stm32_firewall_controller (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/bus/
H A Dstm32_firewall.h41 struct stm32_firewall_controller { struct
49 int (*grant_access)(struct stm32_firewall_controller *ctrl, u32 id); argument
50 void (*release_access)(struct stm32_firewall_controller *ctrl, u32 id); argument
51 int (*grant_memory_range_access)(struct stm32_firewall_controller *ctrl, phys_addr_t paddr, argument
62 int stm32_firewall_controller_register(struct stm32_firewall_controller *firewall_controller);
69 void stm32_firewall_controller_unregister(struct stm32_firewall_controller *firewall_controller);
81 int stm32_firewall_populate_bus(struct stm32_firewall_controller *firewall_controller);
H A Dstm32_rifsc.c78 static int stm32_rif_acquire_semaphore(struct stm32_firewall_controller *stm32_firewall_controller, in stm32_rif_acquire_semaphore() argument
81 void __iomem *addr = stm32_firewall_controller->mmio + RIFSC_RISC_PER0_SEMCR + 0x8 * id; in stm32_rif_acquire_semaphore()
93 static void stm32_rif_release_semaphore(struct stm32_firewall_controller *stm32_firewall_controller, in stm32_rif_release_semaphore() argument
96 void __iomem *addr = stm32_firewall_controller->mmio + RIFSC_RISC_PER0_SEMCR + 0x8 * id; in stm32_rif_release_semaphore()
108 static int stm32_rifsc_grant_access(struct stm32_firewall_controller *ctrl, u32 firewall_id) in stm32_rifsc_grant_access()
110 struct stm32_firewall_controller *rifsc_controller = ctrl; in stm32_rifsc_grant_access()
180 static void stm32_rifsc_release_access(struct stm32_firewall_controller *ctrl, u32 firewall_id) in stm32_rifsc_release_access()
187 struct stm32_firewall_controller *rifsc_controller; in stm32_rifsc_probe()
H A Dstm32_firewall.c34 struct stm32_firewall_controller *ctrl; in stm32_firewall_get_firewall()
118 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_grant_access()
134 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_grant_access_by_id()
150 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_release_access()
170 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_release_access_by_id()
190 int stm32_firewall_controller_register(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_controller_register()
192 struct stm32_firewall_controller *ctrl; in stm32_firewall_controller_register()
215 void stm32_firewall_controller_unregister(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_controller_unregister()
217 struct stm32_firewall_controller *ctrl; in stm32_firewall_controller_unregister()
241 int stm32_firewall_populate_bus(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_populate_bus()
H A Dstm32_etzpc.c44 static int stm32_etzpc_grant_access(struct stm32_firewall_controller *ctrl, u32 firewall_id) in stm32_etzpc_grant_access()
68 static void stm32_etzpc_release_access(struct stm32_firewall_controller *ctrl __maybe_unused, in stm32_etzpc_release_access()
75 struct stm32_firewall_controller *etzpc_controller; in stm32_etzpc_probe()
/linux/include/linux/bus/
H A Dstm32_firewall_device.h16 struct stm32_firewall_controller;
31 struct stm32_firewall_controller *firewall_ctrl;