Lines Matching refs:ops
85 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_set_configuration()
87 if (!fw->ctrl->ops->set_conf) in firewall_set_configuration()
90 return fw->ctrl->ops->set_conf(fw); in firewall_set_configuration()
96 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_set_memory_configuration()
98 if (!fw->ctrl->ops->set_memory_conf) in firewall_set_memory_configuration()
101 return fw->ctrl->ops->set_memory_conf(fw, paddr, size); in firewall_set_memory_configuration()
106 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_check_access()
108 if (!fw->ctrl->ops->check_access) in firewall_check_access()
111 return fw->ctrl->ops->check_access(fw); in firewall_check_access()
116 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_acquire_access()
118 if (!fw->ctrl->ops->acquire_access) in firewall_acquire_access()
121 return fw->ctrl->ops->acquire_access(fw); in firewall_acquire_access()
128 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_check_memory_access()
130 if (!fw->ctrl->ops->check_memory_access) in firewall_check_memory_access()
133 return fw->ctrl->ops->check_memory_access(fw, paddr, size, read, write); in firewall_check_memory_access()
140 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_acquire_memory_access()
142 if (!fw->ctrl->ops->acquire_memory_access) in firewall_acquire_memory_access()
145 return fw->ctrl->ops->acquire_memory_access(fw, paddr, size, read, in firewall_acquire_memory_access()
151 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_release_access()
153 if (fw->ctrl->ops->release_access) in firewall_release_access()
154 fw->ctrl->ops->release_access(fw); in firewall_release_access()
160 assert(fw && fw->ctrl && fw->ctrl->ops); in firewall_release_memory_access()
162 if (fw->ctrl->ops->release_memory_access) in firewall_release_memory_access()
163 fw->ctrl->ops->release_memory_access(fw, paddr, size, read, in firewall_release_memory_access()