/openbmc/qemu/target/mips/ |
H A D | helper.h | 6 DEF_HELPER_4(sdl, void, env, tl, tl, int) 7 DEF_HELPER_4(sdr, void, env, tl, tl, int) 9 DEF_HELPER_4(swl, void, env, tl, tl, int) 10 DEF_HELPER_4(swr, void, env, tl, tl, int) 13 DEF_HELPER_3(ll, tl, env, tl, int) 15 DEF_HELPER_3(lld, tl, env, tl, int) 19 DEF_HELPER_FLAGS_1(bitswap, TCG_CALL_NO_RWG_SE, tl, tl) 21 DEF_HELPER_FLAGS_1(dbitswap, TCG_CALL_NO_RWG_SE, tl, tl) 24 DEF_HELPER_FLAGS_4(rotx, TCG_CALL_NO_RWG_SE, tl, tl, i32, i32, i32) 27 DEF_HELPER_4(lwm, void, env, tl, tl, i32) [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | sysemu_helper.h.inc | 13 DEF_HELPER_1(mfc0_mvpcontrol, tl, env) 14 DEF_HELPER_1(mfc0_mvpconf0, tl, env) 15 DEF_HELPER_1(mfc0_mvpconf1, tl, env) 16 DEF_HELPER_1(mftc0_vpecontrol, tl, env) 17 DEF_HELPER_1(mftc0_vpeconf0, tl, env) 18 DEF_HELPER_1(mfc0_random, tl, env) 19 DEF_HELPER_1(mfc0_tcstatus, tl, env) 20 DEF_HELPER_1(mftc0_tcstatus, tl, env) 21 DEF_HELPER_1(mfc0_tcbind, tl, env) 22 DEF_HELPER_1(mftc0_tcbind, tl, env) [all …]
|
H A D | vr54xx_helper.h.inc | 11 DEF_HELPER_3(muls, tl, env, tl, tl) 12 DEF_HELPER_3(mulsu, tl, env, tl, tl) 13 DEF_HELPER_3(macc, tl, env, tl, tl) 14 DEF_HELPER_3(maccu, tl, env, tl, tl) 15 DEF_HELPER_3(msac, tl, env, tl, tl) 16 DEF_HELPER_3(msacu, tl, env, tl, tl) 17 DEF_HELPER_3(mulhi, tl, env, tl, tl) 18 DEF_HELPER_3(mulhiu, tl, env, tl, tl) 19 DEF_HELPER_3(mulshi, tl, env, tl, tl) 20 DEF_HELPER_3(mulshiu, tl, env, tl, tl) [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_timeline.c | 40 struct intel_timeline *tl = in __timeline_retire() local 41 container_of(active, typeof(*tl), active); in __timeline_retire() 43 i915_vma_unpin(tl->hwsp_ggtt); in __timeline_retire() 44 intel_timeline_put(tl); in __timeline_retire() 49 struct intel_timeline *tl = in __timeline_active() local 50 container_of(active, typeof(*tl), active); in __timeline_active() 52 __i915_vma_pin(tl->hwsp_ggtt); in __timeline_active() 53 intel_timeline_get(tl); in __timeline_active() 171 struct intel_timeline *tl; in intel_timeline_create_from_engine() local 173 tl = __intel_timeline_create(engine->gt, hwsp, offset); in intel_timeline_create_from_engine() [all …]
|
H A D | selftest_timeline.c | 27 static struct page *hwsp_page(struct intel_timeline *tl) in hwsp_page() argument 29 struct drm_i915_gem_object *obj = tl->hwsp_ggtt->obj; in hwsp_page() 35 static unsigned long hwsp_cacheline(struct intel_timeline *tl) in hwsp_cacheline() argument 37 unsigned long address = (unsigned long)page_address(hwsp_page(tl)); in hwsp_cacheline() 39 return (address + offset_in_page(tl->hwsp_offset)) / TIMELINE_SEQNO_BYTES; in hwsp_cacheline() 42 static int selftest_tl_pin(struct intel_timeline *tl) in selftest_tl_pin() argument 49 err = i915_gem_object_lock(tl->hwsp_ggtt->obj, &ww); in selftest_tl_pin() 51 err = intel_timeline_pin(tl, &ww); in selftest_tl_pin() 79 struct intel_timeline *tl) in __mock_hwsp_record() argument 81 tl = xchg(&state->history[idx], tl); in __mock_hwsp_record() [all …]
|
H A D | intel_gt_requests.c | 17 static bool retire_requests(struct intel_timeline *tl) in retire_requests() argument 21 list_for_each_entry_safe(rq, rn, &tl->requests, link) in retire_requests() 26 return !i915_active_fence_isset(&tl->last_request); in retire_requests() 64 struct intel_timeline *tl = xchg(&engine->retire, NULL); in engine_retire() local 67 struct intel_timeline *next = xchg(&tl->retire, NULL); in engine_retire() 77 if (mutex_trylock(&tl->mutex)) { in engine_retire() 78 retire_requests(tl); in engine_retire() 79 mutex_unlock(&tl->mutex); in engine_retire() 81 intel_timeline_put(tl); in engine_retire() 84 tl = ptr_mask_bits(next, 1); in engine_retire() [all …]
|
H A D | intel_timeline.h | 45 static inline int __intel_timeline_sync_set(struct intel_timeline *tl, in __intel_timeline_sync_set() argument 48 return i915_syncmap_set(&tl->sync, context, seqno); in __intel_timeline_sync_set() 51 static inline int intel_timeline_sync_set(struct intel_timeline *tl, in intel_timeline_sync_set() argument 54 return __intel_timeline_sync_set(tl, fence->context, fence->seqno); in intel_timeline_sync_set() 57 static inline bool __intel_timeline_sync_is_later(struct intel_timeline *tl, in __intel_timeline_sync_is_later() argument 60 return i915_syncmap_is_later(&tl->sync, context, seqno); in __intel_timeline_sync_is_later() 63 static inline bool intel_timeline_sync_is_later(struct intel_timeline *tl, in intel_timeline_sync_is_later() argument 66 return __intel_timeline_sync_is_later(tl, fence->context, fence->seqno); in intel_timeline_sync_is_later() 69 void __intel_timeline_pin(struct intel_timeline *tl); 70 int intel_timeline_pin(struct intel_timeline *tl, struct i915_gem_ww_ctx *ww); [all …]
|
/openbmc/qemu/target/i386/ |
H A D | helper.h | 1 DEF_HELPER_FLAGS_4(cc_compute_all, TCG_CALL_NO_RWG_SE, tl, tl, tl, tl, int) 2 DEF_HELPER_FLAGS_4(cc_compute_c, TCG_CALL_NO_RWG_SE, tl, tl, tl, tl, int) 3 DEF_HELPER_FLAGS_3(cc_compute_nz, TCG_CALL_NO_RWG_SE, tl, tl, tl, int) 5 DEF_HELPER_3(write_eflags, void, env, tl, i32) 6 DEF_HELPER_1(read_eflags, tl, env) 7 DEF_HELPER_2(divb_AL, void, env, tl) 8 DEF_HELPER_2(idivb_AL, void, env, tl) 9 DEF_HELPER_2(divw_AX, void, env, tl) 10 DEF_HELPER_2(idivw_AX, void, env, tl) 11 DEF_HELPER_2(divl_EAX, void, env, tl) [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | helper-sme.h | 36 DEF_HELPER_FLAGS_5(sme_ld1b_h, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 37 DEF_HELPER_FLAGS_5(sme_ld1b_v, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 38 DEF_HELPER_FLAGS_5(sme_ld1b_h_mte, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 39 DEF_HELPER_FLAGS_5(sme_ld1b_v_mte, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 41 DEF_HELPER_FLAGS_5(sme_ld1h_be_h, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 42 DEF_HELPER_FLAGS_5(sme_ld1h_le_h, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 43 DEF_HELPER_FLAGS_5(sme_ld1h_be_v, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 44 DEF_HELPER_FLAGS_5(sme_ld1h_le_v, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 45 DEF_HELPER_FLAGS_5(sme_ld1h_be_h_mte, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) 46 DEF_HELPER_FLAGS_5(sme_ld1h_le_h_mte, TCG_CALL_NO_WG, void, env, ptr, ptr, tl, i32) [all …]
|
H A D | helper-sve.h | 1430 DEF_HELPER_FLAGS_4(sve_ld1bb_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1431 DEF_HELPER_FLAGS_4(sve_ld2bb_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1432 DEF_HELPER_FLAGS_4(sve_ld3bb_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1433 DEF_HELPER_FLAGS_4(sve_ld4bb_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1435 DEF_HELPER_FLAGS_4(sve_ld1hh_le_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1436 DEF_HELPER_FLAGS_4(sve_ld2hh_le_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1437 DEF_HELPER_FLAGS_4(sve_ld3hh_le_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1438 DEF_HELPER_FLAGS_4(sve_ld4hh_le_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1440 DEF_HELPER_FLAGS_4(sve_ld1hh_be_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) 1441 DEF_HELPER_FLAGS_4(sve_ld2hh_be_r, TCG_CALL_NO_WG, void, env, ptr, tl, i32) [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | helper.h | 32 DEF_HELPER_FLAGS_3(fle_s, TCG_CALL_NO_RWG, tl, env, i64, i64) 33 DEF_HELPER_FLAGS_3(fleq_s, TCG_CALL_NO_RWG, tl, env, i64, i64) 34 DEF_HELPER_FLAGS_3(flt_s, TCG_CALL_NO_RWG, tl, env, i64, i64) 35 DEF_HELPER_FLAGS_3(fltq_s, TCG_CALL_NO_RWG, tl, env, i64, i64) 36 DEF_HELPER_FLAGS_3(feq_s, TCG_CALL_NO_RWG, tl, env, i64, i64) 37 DEF_HELPER_FLAGS_2(fcvt_w_s, TCG_CALL_NO_RWG, tl, env, i64) 38 DEF_HELPER_FLAGS_2(fcvt_wu_s, TCG_CALL_NO_RWG, tl, env, i64) 39 DEF_HELPER_FLAGS_2(fcvt_l_s, TCG_CALL_NO_RWG, tl, env, i64) 40 DEF_HELPER_FLAGS_2(fcvt_lu_s, TCG_CALL_NO_RWG, tl, env, i64) 41 DEF_HELPER_FLAGS_2(fcvt_s_w, TCG_CALL_NO_RWG, i64, env, tl) [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | helper.h | 3 DEF_HELPER_FLAGS_3(stby_b, TCG_CALL_NO_WG, void, env, tl, tl) 4 DEF_HELPER_FLAGS_3(stby_b_parallel, TCG_CALL_NO_WG, void, env, tl, tl) 5 DEF_HELPER_FLAGS_3(stby_e, TCG_CALL_NO_WG, void, env, tl, tl) 6 DEF_HELPER_FLAGS_3(stby_e_parallel, TCG_CALL_NO_WG, void, env, tl, tl) 8 DEF_HELPER_FLAGS_3(stdby_b, TCG_CALL_NO_WG, void, env, tl, tl) 9 DEF_HELPER_FLAGS_3(stdby_b_parallel, TCG_CALL_NO_WG, void, env, tl, tl) 10 DEF_HELPER_FLAGS_3(stdby_e, TCG_CALL_NO_WG, void, env, tl, tl) 11 DEF_HELPER_FLAGS_3(stdby_e_parallel, TCG_CALL_NO_WG, void, env, tl, tl) 13 DEF_HELPER_FLAGS_1(ldc_check, TCG_CALL_NO_RWG, void, tl) 23 DEF_HELPER_FLAGS_4(probe, TCG_CALL_NO_WG, tl, env, tl, i32, i32) [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | helper.h | 3 DEF_HELPER_FLAGS_4(TW, TCG_CALL_NO_WG, void, env, tl, tl, i32) 5 DEF_HELPER_FLAGS_4(TD, TCG_CALL_NO_WG, void, env, tl, tl, i32) 7 DEF_HELPER_4(HASHST, void, env, tl, tl, tl) 8 DEF_HELPER_4(HASHCHK, void, env, tl, tl, tl) 9 DEF_HELPER_4(HASHSTP, void, env, tl, tl, tl) 10 DEF_HELPER_4(HASHCHKP, void, env, tl, tl, tl) 12 DEF_HELPER_2(store_msr, void, env, tl) 25 DEF_HELPER_2(rfebb, void, env, tl) 26 DEF_HELPER_2(store_lpcr, void, env, tl) 27 DEF_HELPER_2(store_pcr, void, env, tl) [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs_cache.h | 55 dfs_cache_get_next_tgt(struct dfs_cache_tgt_list *tl, in dfs_cache_get_next_tgt() argument 58 if (!tl || !tl->tl_numtgts || list_empty(&tl->tl_list) || in dfs_cache_get_next_tgt() 59 !it || list_is_last(&it->it_list, &tl->tl_list)) in dfs_cache_get_next_tgt() 65 dfs_cache_get_tgt_iterator(struct dfs_cache_tgt_list *tl) in dfs_cache_get_tgt_iterator() argument 67 if (!tl) in dfs_cache_get_tgt_iterator() 69 return list_first_entry_or_null(&tl->tl_list, in dfs_cache_get_tgt_iterator() 74 static inline void dfs_cache_free_tgts(struct dfs_cache_tgt_list *tl) in dfs_cache_free_tgts() argument 78 if (!tl || !tl->tl_numtgts || list_empty(&tl->tl_list)) in dfs_cache_free_tgts() 80 list_for_each_entry_safe(it, nit, &tl->tl_list, it_list) { in dfs_cache_free_tgts() 85 tl->tl_numtgts = 0; in dfs_cache_free_tgts() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugdump.c | 58 struct nfp_dump_tl tl; member 64 struct nfp_dump_tl tl; member 70 struct nfp_dump_tl tl; member 78 struct nfp_dump_tl tl; member 87 struct nfp_dump_tl tl; member 92 struct nfp_dump_tl tl; member 112 typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl, 120 struct nfp_dump_tl *tl; in nfp_traverse_tlvs() local 125 while (remaining >= sizeof(*tl)) { in nfp_traverse_tlvs() 126 tl = p; in nfp_traverse_tlvs() [all …]
|
/openbmc/qemu/target/sparc/ |
H A D | helper.h | 3 DEF_HELPER_2(wrpsr, void, env, tl) 4 DEF_HELPER_1(rdpsr, tl, env) 5 DEF_HELPER_1(rdasr17, tl, env) 8 DEF_HELPER_FLAGS_2(wrpil, TCG_CALL_NO_RWG, void, env, tl) 9 DEF_HELPER_2(wrgl, void, env, tl) 10 DEF_HELPER_2(wrpstate, void, env, tl) 16 DEF_HELPER_1(rdccr, tl, env) 17 DEF_HELPER_2(wrccr, void, env, tl) 18 DEF_HELPER_1(rdcwp, tl, env) 19 DEF_HELPER_2(wrcwp, void, env, tl) [all …]
|
H A D | trace-events | 4 …ress, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at 0x%"PRIx64" context 0x%"PRIx64" mmu_i… 5 …dress, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at 0x%"PRIx64" context 0x%"PRIx64" mmu_i… 9 …helper_get_phys_addr_code(uint32_t tl, int mmu_idx, uint64_t prim_context, uint64_t sec_context, u… 10 …helper_get_phys_addr_data(uint32_t tl, int mmu_idx, uint64_t prim_context, uint64_t sec_context, u… 11 …, int mmu_idx, uint32_t tl, uint64_t prim_context, uint64_t sec_context) "Translate at 0x%"PRIx64"… 22 sparc64_cpu_check_irqs_noset_irq(uint32_t tl, uint32_t tt, int intno) "Not setting CPU IRQ: TL=%d c… 31 win_helper_done(uint32_t tl) "tl=%d" 32 win_helper_retry(uint32_t tl) "tl=%d"
|
H A D | int64_helper.c | 109 if (unlikely(env->tl > 0 && cpu_tsptr(env)->tt > new_interrupt in cpu_check_irqs() 111 trace_sparc64_cpu_check_irqs_noset_irq(env->tl, in cpu_check_irqs() 178 if (env->tl >= env->maxtl) { in sparc_cpu_do_interrupt() 180 " Error state", cs->exception_index, env->tl, env->maxtl); in sparc_cpu_do_interrupt() 184 if (env->tl < env->maxtl - 1) { in sparc_cpu_do_interrupt() 185 env->tl++; in sparc_cpu_do_interrupt() 188 if (env->tl < env->maxtl) { in sparc_cpu_do_interrupt() 189 env->tl++; in sparc_cpu_do_interrupt() 200 env->htstate[env->tl] = env->hpstate; in sparc_cpu_do_interrupt() 203 if (env->tl > 2) { in sparc_cpu_do_interrupt() [all …]
|
/openbmc/linux/crypto/ |
H A D | vmac.c | 151 int i; u64 th, tl; \ 154 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 156 ADD128(rh, rl, th, tl); \ 162 int i; u64 th, tl; \ 165 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 167 ADD128(rh, rl, th, tl); \ 168 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \ 170 ADD128(rh1, rl1, th, tl); \ 177 int i; u64 th, tl; \ 180 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ [all …]
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | fsm.c | 98 struct FsmTimer *ft = from_timer(ft, t, tl); in FsmExpireTimer() 114 timer_setup(&ft->tl, FsmExpireTimer, 0); in mISDN_FsmInitTimer() 126 del_timer(&ft->tl); in mISDN_FsmDelTimer() 141 if (timer_pending(&ft->tl)) { in mISDN_FsmAddTimer() 152 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer() 153 add_timer(&ft->tl); in mISDN_FsmAddTimer() 169 if (timer_pending(&ft->tl)) in mISDN_FsmRestartTimer() 170 del_timer(&ft->tl); in mISDN_FsmRestartTimer() 173 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer() 174 add_timer(&ft->tl); in mISDN_FsmRestartTimer()
|
/openbmc/qemu/target/openrisc/ |
H A D | helper.h | 50 DEF_HELPER_FLAGS_3(float_ ## op ## _s, TCG_CALL_NO_RWG, tl, env, i32, i32) \ 51 DEF_HELPER_FLAGS_3(float_ ## op ## _d, TCG_CALL_NO_RWG, tl, env, i64, i64) 65 DEF_HELPER_FLAGS_3(mtspr, 0, void, env, tl, tl) 66 DEF_HELPER_FLAGS_3(mfspr, TCG_CALL_NO_WG, tl, env, tl, tl)
|
/openbmc/linux/drivers/s390/net/ |
H A D | fsm.c | 135 fsm_timer *this = from_timer(this, t, tl); in fsm_expire_timer() 151 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_settimer() 161 del_timer(&this->tl); in fsm_deltimer() 173 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_addtimer() 176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer() 177 add_timer(&this->tl); in fsm_addtimer() 191 del_timer(&this->tl); in fsm_modtimer() 192 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_modtimer() 195 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer() 196 add_timer(&this->tl); in fsm_modtimer()
|
/openbmc/linux/fs/ext4/ |
H A D | fast_commit.c | 707 struct ext4_fc_tl tl; in ext4_fc_reserve_space() local 745 tl.fc_tag = cpu_to_le16(EXT4_FC_TAG_PAD); in ext4_fc_reserve_space() 746 tl.fc_len = cpu_to_le16(remaining); in ext4_fc_reserve_space() 747 memcpy(dst, &tl, EXT4_FC_TAG_BASE_LEN); in ext4_fc_reserve_space() 772 struct ext4_fc_tl tl; in ext4_fc_write_tail() local 787 tl.fc_tag = cpu_to_le16(EXT4_FC_TAG_TAIL); in ext4_fc_write_tail() 788 tl.fc_len = cpu_to_le16(bsize - off + sizeof(struct ext4_fc_tail)); in ext4_fc_write_tail() 791 memcpy(dst, &tl, EXT4_FC_TAG_BASE_LEN); in ext4_fc_write_tail() 815 struct ext4_fc_tl tl; in ext4_fc_add_tlv() local 822 tl.fc_tag = cpu_to_le16(tag); in ext4_fc_add_tlv() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | camellia_glue.c | 800 u32 dw, tl, tr; in camellia_setup_tail() local 911 tl = (subRL[10] >> 32) ^ (subRL[10] & ~subRL[8]); in camellia_setup_tail() 912 dw = tl & (subRL[8] >> 32); /* FL(kl1) */ in camellia_setup_tail() 914 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 920 tl = (subRL[7] >> 32) ^ (subRL[7] & ~subRL[9]); in camellia_setup_tail() 921 dw = tl & (subRL[9] >> 32); /* FLinv(kl2) */ in camellia_setup_tail() 923 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 931 tl = (subRL[18] >> 32) ^ (subRL[18] & ~subRL[16]); in camellia_setup_tail() 932 dw = tl & (subRL[16] >> 32); /* FL(kl3) */ in camellia_setup_tail() 934 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | non_signalling_xscv.c | 8 uint64_t th, tl, bh = B_HI, bl = B_LO; \ 16 : "=r" (th), "=r" (tl) \ 20 "%016" PRIx64 "\n", bh, bl, th, tl); \ 21 assert(th == T_HI && tl == T_LO); \
|