Lines Matching +full:arm +full:- +full:software

1 // SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
41 * Neither the name of ARM nor the names of its contributors may be used
42 * to endorse or promote products derived from this software without specific
45 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
54 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
222 * We expect to see a tzc400. Check component ID. The TZC-400 TRM shows in tzc_init()
270 assert(((cfg->filters >> tzc.num_filters) == 0) && in tzc_configure_region()
278 assert(((cfg->top <= (UINT64_MAX >> (64 - tzc.addr_width))) && in tzc_configure_region()
279 (cfg->base < cfg->top))); in tzc_configure_region()
282 assert(((cfg->base | (cfg->top + 1)) & (4096 - 1)) == 0); in tzc_configure_region()
284 assert(cfg->sec_attr <= TZC_REGION_S_RDWR); in tzc_configure_region()
291 tzc_write_region_base_low(tzc.base, region, addr_low(cfg->base)); in tzc_configure_region()
292 tzc_write_region_base_high(tzc.base, region, addr_high(cfg->base)); in tzc_configure_region()
294 tzc_write_region_top_low(tzc.base, region, addr_low(cfg->top)); in tzc_configure_region()
295 tzc_write_region_top_high(tzc.base, region, addr_high(cfg->top)); in tzc_configure_region()
299 (cfg->sec_attr << REG_ATTR_SEC_SHIFT) | in tzc_configure_region()
300 cfg->filters); in tzc_configure_region()
303 * Specify which non-secure devices have permission to access this in tzc_configure_region()
306 tzc_write_region_id_access(tzc.base, region, cfg->ns_device_access); in tzc_configure_region()
316 cfg->base = reg_pair_to_64(tzc_read_region_base_high(tzc.base, region), in tzc_get_region_config()
318 cfg->top = reg_pair_to_64(tzc_read_region_top_high(tzc.base, region), in tzc_get_region_config()
321 cfg->ns_device_access = tzc_read_region_id_access(tzc.base, region); in tzc_get_region_config()
324 cfg->sec_attr = val32 >> REG_ATTR_SEC_SHIFT; in tzc_get_region_config()
325 cfg->filters = val32 & REG_ATTR_F_EN_MASK; in tzc_get_region_config()
335 * - Currently no handler is provided to trap an error via interrupt in tzc_set_action()
337 * - The interrupt action has not been tested. in tzc_set_action()
359 * http://infocenter.arm.com/help/index.jsp?\ in tzc_enable_filters()
360 * topic=/com.arm.doc.ddi0504c/CJHHECBF.html in tzc_enable_filters()
427 nonsecure_not_secure(filter) ? "non-" : "", in dump_fail_filter()
449 io_setbits32(tzc.base + INT_CLEAR, GENMASK_32(tzc.num_filters - 1, 0)); in tzc_int_clear()