/openbmc/linux/drivers/phy/ |
H A D | phy-lgm-usb.c | 51 static int get_flipped(struct tca_apb *ta, bool *flipped) in get_flipped() argument 56 ret = extcon_get_property(ta->phy.edev, EXTCON_USB_HOST, in get_flipped() 59 dev_err(ta->phy.dev, "no polarity property from extcon\n"); in get_flipped() 70 struct tca_apb *ta = container_of(phy, struct tca_apb, phy); in phy_init() local 74 if (ta->phy_initialized) in phy_init() 78 reset_control_deassert(ta->resets[i]); in phy_init() 82 dev_err(ta->phy.dev, "SRAM init failed, 0x%x\n", val); in phy_init() 88 ta->phy_initialized = true; in phy_init() 89 if (!ta->phy.edev) { in phy_init() 90 writel(TCPC_CONN, ta->phy.io_priv + TCPC_OFFSET); in phy_init() [all …]
|
/openbmc/qemu/util/ |
H A D | timed-average.c | 85 * @ta: the TimedAverage structure 88 static TimedAverageWindow *current_window(TimedAverage *ta) in current_window() argument 90 return &ta->windows[ta->current]; in current_window() 95 * @ta: the TimedAverage structure 99 void timed_average_init(TimedAverage *ta, QEMUClockType clock_type, in timed_average_init() argument 105 * the interval [ta->period/2,ta->period). By adjusting the in timed_average_init() 109 ta->period = (uint64_t) period * 4 / 3; in timed_average_init() 110 ta->clock_type = clock_type; in timed_average_init() 111 ta->current = 0; in timed_average_init() 113 window_reset(&ta->windows[0]); in timed_average_init() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | hvcalls.S | 9 ta HV_FAST_TRAP 20 ta HV_FAST_TRAP 30 ta HV_FAST_TRAP 41 ta HV_FAST_TRAP 51 ta HV_FAST_TRAP 62 ta HV_FAST_TRAP 72 ta HV_FAST_TRAP 86 ta HV_FAST_TRAP 97 ta HV_FAST_TRAP 105 ta HV_FAST_TRAP [all …]
|
H A D | pci_sun4v_asm.S | 22 ta HV_FAST_TRAP 38 ta HV_FAST_TRAP 53 ta HV_FAST_TRAP 72 ta HV_FAST_TRAP 92 ta HV_FAST_TRAP 111 ta HV_FAST_TRAP 126 ta HV_FAST_TRAP 141 ta HV_FAST_TRAP 155 ta HV_FAST_TRAP 168 ta HV_FAST_TRAP [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-timed-average.c | 25 static void account(TimedAverage *ta) in account() argument 27 timed_average_account(ta, 1); in account() 28 timed_average_account(ta, 5); in account() 29 timed_average_account(ta, 2); in account() 30 timed_average_account(ta, 4); in account() 31 timed_average_account(ta, 3); in account() 36 TimedAverage ta; in test_average() local 41 timed_average_init(&ta, QEMU_CLOCK_VIRTUAL, NANOSECONDS_PER_SECOND); in test_average() 43 result = timed_average_min(&ta); in test_average() 45 result = timed_average_avg(&ta); in test_average() [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | smp_tlb.c | 40 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_page() local 43 local_flush_tlb_page(ta->ta_vma, ta->ta_start); in ipi_flush_tlb_page() 50 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_kernel_page() local 52 local_flush_tlb_kernel_page(ta->ta_start); in ipi_flush_tlb_kernel_page() 57 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_range() local 60 local_flush_tlb_range(ta->ta_vma, ta->ta_start, ta->ta_end); in ipi_flush_tlb_range() 67 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_kernel_range() local 69 local_flush_tlb_kernel_range(ta->ta_start, ta->ta_end); in ipi_flush_tlb_kernel_range() 199 struct tlb_args ta; in flush_tlb_page() local 200 ta.ta_vma = vma; in flush_tlb_page() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp_ta.c | 105 * DOC: AMDGPU TA debugfs interfaces 108 * load/invoke/unload TA, 119 * - For TA load debugfs interface: 121 * - TA type (4bytes) 122 * - TA bin length (4bytes) 123 * - TA bin 125 * - TA ID (4bytes) 127 * - For TA invoke debugfs interface: 129 * - TA type (4bytes) 130 * - TA ID (4bytes) [all …]
|
H A D | ta_secureDisplay_if.h | 34 /* Query whether TA is responding used only for validation purpose */ 71 * communication to Secure Display TA is functional. 72 * This value is used to validate whether TA is responding successfully 75 /* This is a value to validate if TA is loaded successfully */ 115 * Output buffer format for query TA whether TA is responding used only for validation purpose 118 /* return value from TA when it is queried for validation purpose only */ 123 * Output buffer format for send ROI CRC command which will pass I2c buffer created inside TA 135 /* Query TA output buffer format used only for validation purpose*/ 147 … status; /**< +4 Bytes Status code returned by the secure display TA */
|
/openbmc/u-boot/drivers/tee/ |
H A D | sandbox.c | 13 * Environment (TEE) with the Trusted Application (TA) OPTEE_TA_AVB 18 * struct ta_entry - TA entries 19 * @uuid: UUID of an emulated TA 20 * @open_session Called when a session is openened to the TA 21 * @invoke_func Called when a function in the TA is to be invoked 69 * this TA. in ta_avb_open_session() 184 if (!state->ta || state->session != session) in sandbox_tee_close_session() 188 state->ta = NULL; in sandbox_tee_close_session() 212 const struct ta_entry *ta; in sandbox_tee_open_session() local 214 if (state->ta) { in sandbox_tee_open_session() [all …]
|
/openbmc/linux/drivers/tee/amdtee/ |
H A D | amdtee_if.h | 120 * struct tee_cmd_load_ta - load Trusted Application (TA) binary into TEE 121 * @low_addr: [in] bits [31:0] of the physical address of the TA binary 122 * @hi_addr: [in] bits [63:32] of the physical address of the TA binary 123 * @size: [in] size of TA binary in bytes 124 * @ta_handle: [out] return handle of the loaded TA 136 * struct tee_cmd_unload_ta - command to unload TA binary from TEE environment 137 * @ta_handle: [in] handle of the loaded TA to be unloaded 144 * struct tee_cmd_open_session - command to call TA_OpenSessionEntryPoint in TA 145 * @ta_handle: [in] handle of the loaded TA 146 * @session_info: [out] pointer to TA allocated session data [all …]
|
H A D | amdtee_private.h | 46 * struct amdtee_session - Trusted Application (TA) session related information. 47 * @ta_handle: handle to Trusted Application (TA) loaded in TEE environment 48 * @refcount: counter to keep track of sessions opened for the TA instance 49 * @session_info: an array pointing to TA allocated session data. 100 * @ta_handle: Handle to TA loaded in TEE 101 * @refcount: Reference count for the loaded TA 113 * @ta_handle: [in] handle of the loaded Trusted Application (TA) 117 * Lower two bytes of the session identifier represents the TA handle and the
|
H A D | core.c | 100 * Scans the TEE context's session list to check if TA is already loaded in to 101 * TEE. If yes, returns the 'session' structure for that TA. Else allocates, 115 /* Scan session list to check if TA is already loaded in to TEE */ in alloc_session() 171 static int copy_ta_binary(struct tee_context *ctx, void *ptr, void **ta, in copy_ta_binary() argument 205 *ta = (void *)__get_free_pages(GFP_KERNEL, get_order(*ta_size)); in copy_ta_binary() 206 if (!*ta) { in copy_ta_binary() 212 memcpy(*ta, fw->data, fw->size); in copy_ta_binary() 240 void *ta; in amdtee_open_session() local 247 rc = copy_ta_binary(ctx, &arg->uuid[0], &ta, &ta_size); in amdtee_open_session() 249 pr_err("failed to copy TA binary\n"); in amdtee_open_session() [all …]
|
/openbmc/qemu/tests/tcg/aarch64/gdbstub/ |
H A D | test-mte.py | 43 ta = "$x1" 48 ta = "a" 55 # in {ta} matches the logical tag in {ta}. 56 co = gdb.execute(f"memory-tag check {ta}", False, True) 67 # address starting at {ta} address to a known value, i.e. 0x04. 68 gdb.execute(f"memory-tag set-allocation-tag {ta} 1 04", False, True) 73 gdb.execute(f"memory-tag set-allocation-tag {ta}+16 1 06", False, True) 77 co = gdb.execute(f"memory-tag print-allocation-tag {ta}", False, True) 80 co = gdb.execute(f"memory-tag print-allocation-tag {ta}+16", False, True) 89 gdb.execute(f"memory-tag set-allocation-tag {ta} 4096 0a0b", False, True) [all …]
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | n2-asm.S | 14 ta HV_FAST_TRAP 23 ta HV_FAST_TRAP 34 ta HV_FAST_TRAP 46 ta HV_FAST_TRAP 53 ta HV_FAST_TRAP 61 ta HV_FAST_TRAP 69 ta HV_FAST_TRAP 77 ta HV_FAST_TRAP
|
/openbmc/linux/drivers/bus/ |
H A D | omap_l3_smx.h | 111 /* L3 error log bit fields. Common for IA and TA */ 261 /* SMA TA */ 263 /* GPMC TA */ 265 /* OCM RAM TA */ 267 /* OCM ROM TA */ 269 /* L4 CORE TA */ 271 /* L4 PER TA */ 273 /* IVA 2.2 TA */ 275 /* SGX TA */ 277 /* L4 EMU TA */ [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-optee-devices | 1 What: /sys/bus/tee/devices/optee-ta-<uuid>/ 7 matches Trusted Application (TA) driver and corresponding TA in secure OS. Drivers 8 are free to create needed API under optee-ta-<uuid> directory. 10 What: /sys/bus/tee/devices/optee-ta-<uuid>/need_supplicant 15 Allows to distinguish whether an OP-TEE based TA/device requires user-space
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/ |
H A D | optee-os.inc | 28 ta-targets=ta_${OPTEE_ARCH} \ 55 install -m 444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz 64 install -d ${DEPLOYDIR}/${MLPREFIX}optee/ta 65 install -m 644 ${B}/ta/*/*.elf ${DEPLOYDIR}/${MLPREFIX}optee/ta 72 PACKAGES += "${PN}-ta" 74 FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*"
|
H A D | optee-test.inc | 34 oe_runmake ta 45 install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ 51 install -d ${DEPLOYDIR}/${MLPREFIX}optee/ta 52 install -m 644 ${B}/ta/*/*.elf ${DEPLOYDIR}/${MLPREFIX}optee/ta
|
H A D | optee-os-tadevkit_4.3.0.bb | 3 SUMMARY = "OP-TEE Trusted OS TA devkit" 4 DESCRIPTION = "OP-TEE TA devkit for build TAs" 10 #install TA devkit 23 # Include extra headers needed by SPMC tests to TA DEVKIT.
|
/openbmc/linux/drivers/crypto/ |
H A D | n2_asm.S | 18 ta HV_FAST_TRAP 34 ta HV_FAST_TRAP 48 ta HV_FAST_TRAP 60 ta HV_FAST_TRAP 71 ta HV_FAST_TRAP 82 ta HV_FAST_TRAP 93 ta HV_FAST_TRAP
|
/openbmc/linux/arch/m68k/coldfire/ |
H A D | pit.c | 35 #define TA(a) (MCFPIT_BASE1 + (a)) macro 48 __raw_writew(MCFPIT_PCSR_DISABLE, TA(MCFPIT_PCSR)); in cf_pit_set_periodic() 49 __raw_writew(PIT_CYCLES_PER_JIFFY, TA(MCFPIT_PMR)); in cf_pit_set_periodic() 52 MCFPIT_PCSR_CLK64, TA(MCFPIT_PCSR)); in cf_pit_set_periodic() 58 __raw_writew(MCFPIT_PCSR_DISABLE, TA(MCFPIT_PCSR)); in cf_pit_set_oneshot() 60 MCFPIT_PCSR_OVW | MCFPIT_PCSR_CLK64, TA(MCFPIT_PCSR)); in cf_pit_set_oneshot() 66 __raw_writew(MCFPIT_PCSR_DISABLE, TA(MCFPIT_PCSR)); in cf_pit_shutdown() 78 __raw_writew(delta, TA(MCFPIT_PMR)); in cf_pit_next_event() 104 pcsr = __raw_readw(TA(MCFPIT_PCSR)); in pit_tick() 105 __raw_writew(pcsr | MCFPIT_PCSR_PIF, TA(MCFPIT_PCSR)); in pit_tick() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | timed-average.h | 55 void timed_average_init(TimedAverage *ta, QEMUClockType clock_type, 58 void timed_average_account(TimedAverage *ta, uint64_t value); 60 uint64_t timed_average_min(TimedAverage *ta); 61 uint64_t timed_average_avg(TimedAverage *ta); 62 uint64_t timed_average_max(TimedAverage *ta); 63 uint64_t timed_average_sum(TimedAverage *ta, uint64_t *elapsed);
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | kdebug_64.h | 12 DIE_DEBUG, /* ta 0x70 */ 13 DIE_DEBUG_2, /* ta 0x71 */ 14 DIE_BPT, /* ta 0x73 */ 15 DIE_SSTEP, /* ta 0x74 */
|
/openbmc/linux/arch/arc/mm/ |
H A D | tlb.c | 305 struct tlb_args *ta = arg; in ipi_flush_tlb_page() local 307 local_flush_tlb_page(ta->ta_vma, ta->ta_start); in ipi_flush_tlb_page() 312 struct tlb_args *ta = arg; in ipi_flush_tlb_range() local 314 local_flush_tlb_range(ta->ta_vma, ta->ta_start, ta->ta_end); in ipi_flush_tlb_range() 320 struct tlb_args *ta = arg; in ipi_flush_pmd_tlb_range() local 322 local_flush_pmd_tlb_range(ta->ta_vma, ta->ta_start, ta->ta_end); in ipi_flush_pmd_tlb_range() 328 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_kernel_range() local 330 local_flush_tlb_kernel_range(ta->ta_start, ta->ta_end); in ipi_flush_tlb_kernel_range() 346 struct tlb_args ta = { in flush_tlb_page() local 351 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_tlb_page, &ta, 1); in flush_tlb_page() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.c | 227 * table which matches the given TA/TID pair. 230 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl() argument 236 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl() 247 * table which matches the given TA and deletes it. 249 void mwifiex_11n_del_rx_reorder_tbl_by_ta(struct mwifiex_private *priv, u8 *ta) in mwifiex_11n_del_rx_reorder_tbl_by_ta() argument 253 if (!ta) in mwifiex_11n_del_rx_reorder_tbl_by_ta() 258 if (!memcmp(tbl->ta, ta, ETH_ALEN)) { in mwifiex_11n_del_rx_reorder_tbl_by_ta() 320 * given TA/TID. 325 * If the received TA/TID pair is already present, all the packets are 329 mwifiex_11n_create_rx_reorder_tbl(struct mwifiex_private *priv, u8 *ta, in mwifiex_11n_create_rx_reorder_tbl() argument [all …]
|