Lines Matching refs:firewall

31 int stm32_firewall_get_firewall(struct device_node *np, struct stm32_firewall *firewall,  in stm32_firewall_get_firewall()  argument
39 if (!firewall || !nb_firewall) in stm32_firewall_get_firewall()
70 firewall[j].firewall_ctrl = ctrl; in stm32_firewall_get_firewall()
77 firewall[j].firewall_ctrl = NULL; in stm32_firewall_get_firewall()
85 firewall[j].entry = fw_entry; in stm32_firewall_get_firewall()
93 firewall[j].extra_args_size = 0; in stm32_firewall_get_firewall()
94 firewall[j].firewall_id = U32_MAX; in stm32_firewall_get_firewall()
100 firewall[j].firewall_id = provider_args.args[0]; in stm32_firewall_get_firewall()
104 firewall[j].extra_args[i] = provider_args.args[i + 1]; in stm32_firewall_get_firewall()
107 firewall[j].extra_args_size = provider_args.args_count - 1; in stm32_firewall_get_firewall()
116 int stm32_firewall_grant_access(struct stm32_firewall *firewall) in stm32_firewall_grant_access() argument
120 if (!firewall || firewall->firewall_id == U32_MAX) in stm32_firewall_grant_access()
123 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_grant_access()
128 return firewall_controller->grant_access(firewall_controller, firewall->firewall_id); in stm32_firewall_grant_access()
132 int stm32_firewall_grant_access_by_id(struct stm32_firewall *firewall, u32 subsystem_id) in stm32_firewall_grant_access_by_id() argument
136 if (!firewall || subsystem_id == U32_MAX || firewall->firewall_id == U32_MAX) in stm32_firewall_grant_access_by_id()
139 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_grant_access_by_id()
148 void stm32_firewall_release_access(struct stm32_firewall *firewall) in stm32_firewall_release_access() argument
152 if (!firewall || firewall->firewall_id == U32_MAX) { in stm32_firewall_release_access()
157 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_release_access()
164 firewall_controller->release_access(firewall_controller, firewall->firewall_id); in stm32_firewall_release_access()
168 void stm32_firewall_release_access_by_id(struct stm32_firewall *firewall, u32 subsystem_id) in stm32_firewall_release_access_by_id() argument
172 if (!firewall || subsystem_id == U32_MAX || firewall->firewall_id == U32_MAX) { in stm32_firewall_release_access_by_id()
177 firewall_controller = firewall->firewall_ctrl; in stm32_firewall_release_access_by_id()