/openbmc/qemu/util/ |
H A D | timed-average.c | 88 static TimedAverageWindow *current_window(TimedAverage *ta) in current_window() argument 90 return &ta->windows[ta->current]; in current_window() 99 void timed_average_init(TimedAverage *ta, QEMUClockType clock_type, in timed_average_init() argument 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() 114 window_reset(&ta->windows[1]); in timed_average_init() 117 ta->windows[0].expiration = now + ta->period / 2; in timed_average_init() 118 ta->windows[1].expiration = now + ta->period; in timed_average_init() [all …]
|
/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/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/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/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/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/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/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/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/u-boot/drivers/tee/ |
H A D | sandbox.c | 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() 219 ta = find_ta_entry(arg->uuid); in sandbox_tee_open_session() 220 if (!ta) { in sandbox_tee_open_session() 228 arg->ret = ta->open_session(num_params, params); in sandbox_tee_open_session() 232 state->ta = (void *)ta; in sandbox_tee_open_session() 247 struct ta_entry *ta = state->ta; in sandbox_tee_invoke_func() local 254 if (!ta) { in sandbox_tee_invoke_func() [all …]
|
/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
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_rxreorder.h | 46 u16 tid, u8 *ta, 67 u8 *ta); 69 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta); 70 void mwifiex_11n_del_rx_reorder_tbl_by_ta(struct mwifiex_private *priv, u8 *ta);
|
H A D | sta_rx.c | 196 u8 ta[ETH_ALEN]; in mwifiex_process_sta_rx_packet() local 241 memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); in mwifiex_process_sta_rx_packet() 244 sta_ptr = mwifiex_get_sta_entry(priv, ta); in mwifiex_process_sta_rx_packet() 248 mwifiex_auto_tdls_update_peer_signal(priv, ta, in mwifiex_process_sta_rx_packet() 256 memcpy(ta, priv->curr_bss_params.bss_descriptor.mac_address, in mwifiex_process_sta_rx_packet() 262 ta, (u8) rx_pkt_type, skb); in mwifiex_process_sta_rx_packet()
|
H A D | 11n_rxreorder.c | 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() 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() 329 mwifiex_11n_create_rx_reorder_tbl(struct mwifiex_private *priv, u8 *ta, in mwifiex_11n_create_rx_reorder_tbl() argument 341 tbl = mwifiex_11n_get_rx_reorder_tbl(priv, tid, ta); in mwifiex_11n_create_rx_reorder_tbl() 353 memcpy(new_node->ta, ta, ETH_ALEN); in mwifiex_11n_create_rx_reorder_tbl() 361 node = mwifiex_get_sta_entry(priv, ta); in mwifiex_11n_create_rx_reorder_tbl() 366 node = mwifiex_get_sta_entry(priv, ta); in mwifiex_11n_create_rx_reorder_tbl() [all …]
|
/openbmc/linux/fs/smb/common/ |
H A D | cifs_arc4.c | 43 u32 ty, ta, tb; in cifs_arc4_crypt() local 60 ta = S[x]; in cifs_arc4_crypt() 61 ty = (y + ta) & 0xff; in cifs_arc4_crypt() 67 a = ta; in cifs_arc4_crypt()
|
/openbmc/linux/lib/crypto/ |
H A D | arc4.c | 41 u32 ty, ta, tb; in arc4_crypt() local 58 ta = S[x]; in arc4_crypt() 59 ty = (y + ta) & 0xff; in arc4_crypt() 65 a = ta; in arc4_crypt()
|
/openbmc/linux/arch/parisc/math-emu/ |
H A D | fpudispatch.c | 1158 u_int rm1, rm2, tm, ra, ta; /* operands */ local 1184 ta = extru(ir, fptapos, 5) * sizeof(double)/sizeof(u_int); 1185 if (ta == 0) 1195 if (dbl_to_sgl_fcnvfxt(&fpregs[ta], 1204 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1, 1219 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1, 1231 fpregs[ta] = atmp.ints.i1; 1232 fpregs[ta+1] = atmp.ints.i2; 1254 ta = (extru(ir,fptapos,4) | 0x10 ) << 1; /* get offset */ 1255 ta |= extru(ir,fptapos-4,1); /* add right word offset */ [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | tkip.c | 83 const u8 *ta, u32 tsc_IV32) in tkip_mixing_phase1() argument 90 p1k[2] = get_unaligned_le16(ta + 0); in tkip_mixing_phase1() 91 p1k[3] = get_unaligned_le16(ta + 2); in tkip_mixing_phase1() 92 p1k[4] = get_unaligned_le16(ta + 4); in tkip_mixing_phase1() 186 const u8 *ta, u32 iv32, u16 *p1k) in ieee80211_get_tkip_rx_p1k() argument 191 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k() 241 u8 *payload, size_t payload_len, u8 *ta, in ieee80211_tkip_decrypt_data() argument 292 tkip_mixing_phase1(tk, &rx_ctx->ctx, ta, iv32); in ieee80211_tkip_decrypt_data()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-optee-devices | 1 What: /sys/bus/tee/devices/optee-ta-<uuid>/ 8 are free to create needed API under optee-ta-<uuid> directory. 10 What: /sys/bus/tee/devices/optee-ta-<uuid>/need_supplicant
|
/openbmc/linux/drivers/memory/ |
H A D | ti-aemif.c | 105 u8 ta; member 178 int ta, rhold, rstrobe, rsetup, whold, wstrobe, wsetup; in aemif_config_abus() local 185 ta = aemif_calc_rate(pdev, data->ta, clk_rate, TA_MAX); in aemif_config_abus() 193 if (ta < 0 || rhold < 0 || rstrobe < 0 || rsetup < 0 || in aemif_config_abus() 200 set = TA(ta) | RHOLD(rhold) | RSTROBE(rstrobe) | RSETUP(rsetup) | in aemif_config_abus() 241 data->ta = aemif_cycles_to_nsec(TA_VAL(val), clk_rate); in aemif_get_hw_params() 292 data->ta = val; in of_aemif_parse_abus_config()
|
/openbmc/linux/drivers/tee/amdtee/ |
H A D | core.c | 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() 254 handle_load_ta(ta, ta_size, arg); in amdtee_open_session() 301 free_pages((u64)ta, get_order(ta_size)); in amdtee_open_session()
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 66 data[1].lsb |= (rds->ta << 4) | (rds->ms << 3); in vivid_rds_generate() 113 data[1].lsb |= (rds->ta << 4) | (rds->ms << 3); in vivid_rds_generate() 120 data[3].lsb |= (rds->ta << 4) | (rds->ms << 3); in vivid_rds_generate() 145 rds->ta = alt; in vivid_rds_gen_fill()
|
/openbmc/linux/drivers/nvmem/ |
H A D | stm32-romem.c | 31 bool ta; member 223 if (cfg->ta || optee_presence_check()) { in stm32_romem_probe() 230 if (cfg->ta || !stm32_bsec_smc_check()) in stm32_romem_probe() 262 .ta = false, 268 .ta = true,
|