Lines Matching refs:firewall_controller

118 	struct stm32_firewall_controller *firewall_controller;  in stm32_firewall_grant_access()  local
123 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_grant_access()
125 if (!firewall_controller) in stm32_firewall_grant_access()
128 return firewall_controller->grant_access(firewall_controller, firewall->firewall_id); in stm32_firewall_grant_access()
134 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_grant_access_by_id() local
139 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_grant_access_by_id()
141 if (!firewall_controller) in stm32_firewall_grant_access_by_id()
144 return firewall_controller->grant_access(firewall_controller, subsystem_id); in stm32_firewall_grant_access_by_id()
150 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_release_access() local
157 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_release_access()
159 if (!firewall_controller) { in stm32_firewall_release_access()
164 firewall_controller->release_access(firewall_controller, firewall->firewall_id); in stm32_firewall_release_access()
170 struct stm32_firewall_controller *firewall_controller; in stm32_firewall_release_access_by_id() local
177 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_release_access_by_id()
179 if (!firewall_controller) { in stm32_firewall_release_access_by_id()
184 firewall_controller->release_access(firewall_controller, subsystem_id); in stm32_firewall_release_access_by_id()
190 int stm32_firewall_controller_register(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_controller_register() argument
194 if (!firewall_controller) in stm32_firewall_controller_register()
197 pr_info("Registering %s firewall controller\n", firewall_controller->name); in stm32_firewall_controller_register()
201 if (ctrl == firewall_controller) { in stm32_firewall_controller_register()
203 firewall_controller->name); in stm32_firewall_controller_register()
208 list_add_tail(&firewall_controller->entry, &firewall_controller_list); in stm32_firewall_controller_register()
215 void stm32_firewall_controller_unregister(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_controller_unregister() argument
220 if (!firewall_controller) { in stm32_firewall_controller_unregister()
227 if (ctrl == firewall_controller) { in stm32_firewall_controller_unregister()
237 firewall_controller->name); in stm32_firewall_controller_unregister()
241 int stm32_firewall_populate_bus(struct stm32_firewall_controller *firewall_controller) in stm32_firewall_populate_bus() argument
250 parent = firewall_controller->dev; in stm32_firewall_populate_bus()
252 dev_dbg(parent, "Populating %s system bus\n", dev_name(firewall_controller->dev)); in stm32_firewall_populate_bus()
277 if (firewall_controller->grant_access(firewall_controller, in stm32_firewall_populate_bus()