| /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 | selftest_context.c | 17 struct intel_timeline *tl = i915_request_timeline(rq); in request_sync() local 21 intel_timeline_get(tl); in request_sync() 35 lockdep_unpin_lock(&tl->mutex, rq->cookie); in request_sync() 36 mutex_unlock(&tl->mutex); in request_sync() 39 intel_timeline_put(tl); in request_sync() 46 struct intel_timeline *tl = ce->timeline; in context_sync() local 49 mutex_lock(&tl->mutex); in context_sync() 54 if (list_empty(&tl->requests)) in context_sync() 57 rq = list_last_entry(&tl->requests, typeof(*rq), link); in context_sync() 68 mutex_unlock(&tl->mutex); in context_sync()
|
| H A D | intel_context.h | 251 struct intel_timeline *tl = ce->timeline; in intel_context_timeline_lock() local 255 err = mutex_lock_interruptible_nested(&tl->mutex, 0); in intel_context_timeline_lock() 257 err = mutex_lock_interruptible_nested(&tl->mutex, in intel_context_timeline_lock() 260 err = mutex_lock_interruptible(&tl->mutex); in intel_context_timeline_lock() 264 return tl; in intel_context_timeline_lock() 267 static inline void intel_context_timeline_unlock(struct intel_timeline *tl) in intel_context_timeline_unlock() argument 268 __releases(&tl->mutex) in intel_context_timeline_unlock() 270 mutex_unlock(&tl->mutex); in intel_context_timeline_unlock()
|
| H A D | mock_engine.c | 16 static int mock_timeline_pin(struct intel_timeline *tl) in mock_timeline_pin() argument 20 if (WARN_ON(!i915_gem_object_trylock(tl->hwsp_ggtt->obj, NULL))) in mock_timeline_pin() 23 err = intel_timeline_pin_map(tl); in mock_timeline_pin() 24 i915_gem_object_unlock(tl->hwsp_ggtt->obj); in mock_timeline_pin() 28 atomic_inc(&tl->pin_count); in mock_timeline_pin() 32 static void mock_timeline_unpin(struct intel_timeline *tl) in mock_timeline_unpin() argument 34 GEM_BUG_ON(!atomic_read(&tl->pin_count)); in mock_timeline_unpin() 35 atomic_dec(&tl->pin_count); in mock_timeline_unpin()
|
| /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 …]
|
| H A D | dfs.h | 24 struct dfs_cache_tgt_list tl; member 42 #define ref_walk_tl(w) (&ref_walk_cur(w)->tl) 67 dfs_cache_free_tgts(&ref->tl); in __ref_walk_free() 106 tit = dfs_cache_get_tgt_iterator(&ref->tl); in ref_walk_next_tgt() 108 tit = dfs_cache_get_next_tgt(&ref->tl, ref->tit); in ref_walk_next_tgt() 165 struct dfs_cache_tgt_list *tl) in dfs_get_referral() argument 172 cifs_remap(cifs_sb), path, NULL, tl); in dfs_get_referral()
|
| H A D | dfs.c | 340 struct dfs_cache_tgt_list *tl) in tree_connect_dfs_target() argument 350 for (tit = dfs_cache_get_tgt_iterator(tl); in tree_connect_dfs_target() 351 tit; tit = dfs_cache_get_next_tgt(tl, tit)) { in tree_connect_dfs_target() 382 dfs_cache_free_tgts(tl); in tree_connect_dfs_target() 391 DFS_CACHE_TGT_LIST(tl); in cifs_tree_connect() 439 dfs_cache_noreq_find(server->leaf_fullpath + 1, &ref, &tl)) { in cifs_tree_connect() 446 &tl); in cifs_tree_connect()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_debugdump.c | 63 struct nfp_dump_tl_hdr tl; member 69 struct nfp_dump_tl_hdr tl; member 75 struct nfp_dump_tl_hdr tl; member 83 struct nfp_dump_tl_hdr tl; member 92 struct nfp_dump_tl_hdr tl; member 97 struct nfp_dump_tl_hdr tl; member 117 typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl, 125 struct nfp_dump_tl *tl; in nfp_traverse_tlvs() local 130 while (remaining >= sizeof(*tl)) { in nfp_traverse_tlvs() 131 tl = p; in nfp_traverse_tlvs() [all …]
|
| /linux/drivers/isdn/mISDN/ |
| H A D | fsm.c | 98 struct FsmTimer *ft = timer_container_of(ft, t, tl); in FsmExpireTimer() 114 timer_setup(&ft->tl, FsmExpireTimer, 0); in mISDN_FsmInitTimer() 126 timer_delete(&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 timer_delete(&ft->tl); in mISDN_FsmRestartTimer() 173 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer() 174 add_timer(&ft->tl); in mISDN_FsmRestartTimer()
|
| H A D | timerdev.c | 39 struct timer_list tl; member 77 timer_shutdown_sync(&timer->tl); in mISDN_close() 158 struct mISDNtimer *timer = timer_container_of(timer, t, tl); in dev_expire_timer() 183 timer_setup(&timer->tl, dev_expire_timer, 0); in misdn_add_timer() 189 timer->tl.expires = jiffies + ((HZ * (u_long)timeout) / 1000); in misdn_add_timer() 190 add_timer(&timer->tl); in misdn_add_timer() 207 timer_shutdown_sync(&timer->tl); in misdn_del_timer()
|
| /linux/drivers/s390/net/ |
| H A D | fsm.c | 136 fsm_timer *this = timer_container_of(this, t, tl); in fsm_expire_timer() 152 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_settimer() 162 timer_delete(&this->tl); in fsm_deltimer() 174 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_addtimer() 177 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer() 178 add_timer(&this->tl); in fsm_addtimer() 192 timer_delete(&this->tl); in fsm_modtimer() 193 timer_setup(&this->tl, fsm_expire_timer, 0); in fsm_modtimer() 196 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer() 197 add_timer(&this->tl); in fsm_modtimer()
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_cirrus_common.c | 22 SOC_DAPM_PIN_SWITCH("TL Spk"), 29 SND_SOC_DAPM_SPK("TL Spk", NULL), 37 {"TL Spk", NULL, "TL SPK"}, 79 * TL/WL: ASPRX1 on slot 0, ASPRX2 on slot 1 (default) 87 {.rx = {0, 1}}, /* TL */ 143 static const char * const cs35l41_name_prefixes[] = { "WL", "WR", "TL", "TR" }; 150 * UID 0x2 -> TL 152 * Note: If there are less than 4 Amps, UIDs still map to WL/WR/TL/TR. Dynamic code will only create
|
| /linux/fs/ext4/ |
| H A D | fast_commit.c | 695 struct ext4_fc_tl tl; in ext4_fc_reserve_space() local 733 tl.fc_tag = cpu_to_le16(EXT4_FC_TAG_PAD); in ext4_fc_reserve_space() 734 tl.fc_len = cpu_to_le16(remaining); in ext4_fc_reserve_space() 735 memcpy(dst, &tl, EXT4_FC_TAG_BASE_LEN); in ext4_fc_reserve_space() 760 struct ext4_fc_tl tl; in ext4_fc_write_tail() local 775 tl.fc_tag = cpu_to_le16(EXT4_FC_TAG_TAIL); in ext4_fc_write_tail() 776 tl.fc_len = cpu_to_le16(bsize - off + sizeof(struct ext4_fc_tail)); in ext4_fc_write_tail() 779 memcpy(dst, &tl, EXT4_FC_TAG_BASE_LEN); in ext4_fc_write_tail() 803 struct ext4_fc_tl tl; in ext4_fc_add_tlv() local 810 tl.fc_tag = cpu_to_le16(tag); in ext4_fc_add_tlv() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | etrap_64.S | 208 etraptl1: /* Save tstate/tpc/tnpc of TL 1-->4 and the tl register itself. 217 * 0x60 TL 221 rdpr %tl, %g1 223 wrpr %g0, 1, %tl 233 wrpr %g0, 2, %tl 248 wrpr %g0, 3, %tl 258 wrpr %g0, 4, %tl 271 wrpr %g0, 1, %tl
|
| H A D | dtlb_prot.S | 12 * [TL == 0] 1) User stores to readonly pages. 13 * [TL == 0] 2) Nucleus stores to user readonly pages. 14 * [TL > 0] 3) Nucleus stores to user readonly stack frame. 23 rdpr %tl, %g1 ! Need a winfixup?
|
| H A D | cherrs.S | 174 /* If we take one of these traps when tl >= 1, then we 182 rdpr %tl, %g1 ! Save original trap level 185 1: wrpr %g2, %tl ! Set trap level to check 189 wrpr %g1, %tl ! Restore original trap level 194 wrpr %g1, %tl ! Restore original trap level 233 rdpr %tl, %g1 ! Save original trap level 236 1: wrpr %g2, %tl ! Set trap level to check 240 wrpr %g1, %tl ! Restore original trap level 245 wrpr %g1, %tl ! Restore original trap level 295 * %g1: (TL>=0) ? 1 : 0 [all …]
|
| /linux/kernel/sched/ |
| H A D | topology.c | 1625 sd_init(struct sched_domain_topology_level *tl, in sd_init() argument 1629 struct sd_data *sdd = &tl->data; in sd_init() 1634 sd_weight = cpumask_weight(tl->mask(tl, cpu)); in sd_init() 1636 if (tl->sd_flags) in sd_init() 1637 sd_flags = (*tl->sd_flags)(); in sd_init() 1668 .name = tl->name, in sd_init() 1672 cpumask_and(sd_span, cpu_map, tl->mask(tl, cpu)); in sd_init() 1701 if (sched_domains_numa_distance[tl->numa_level] > node_reclaim_distance) { in sd_init() 1733 const struct cpumask *tl_smt_mask(struct sched_domain_topology_level *tl, int cpu) in tl_smt_mask() argument 1745 const struct cpumask *tl_cls_mask(struct sched_domain_topology_level *tl, int cpu) in tl_cls_mask() argument [all …]
|
| /linux/include/linux/sched/ |
| H A D | topology.h | 37 extern const struct cpumask *tl_smt_mask(struct sched_domain_topology_level *tl, int cpu); 42 extern const struct cpumask *tl_cls_mask(struct sched_domain_topology_level *tl, int cpu); 47 extern const struct cpumask *tl_mc_mask(struct sched_domain_topology_level *tl, int cpu); 50 extern const struct cpumask *tl_pkg_mask(struct sched_domain_topology_level *tl, int cpu); 166 typedef const struct cpumask *(*sched_domain_mask_f)(struct sched_domain_topology_level *tl, int cp… 184 extern void __init set_sched_topology(struct sched_domain_topology_level *tl);
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_vf.h | 55 struct channel_tlv tl; member 62 struct channel_tlv tl; member 74 struct channel_tlv tl; member 123 struct channel_tlv tl; member 232 struct channel_tlv tl; member 345 struct channel_tlv tl; member 353 struct channel_tlv tl; member 359 struct channel_tlv tl; member 365 struct channel_tlv tl; member 377 struct channel_tlv tl; member [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-rs.c | 229 il4965_rs_tl_rm_old_stats(struct il_traffic_load *tl, u32 curr_time) in il4965_rs_tl_rm_old_stats() argument 234 while (tl->queue_count && tl->time_stamp < oldest_time) { in il4965_rs_tl_rm_old_stats() 235 tl->total -= tl->packet_count[tl->head]; in il4965_rs_tl_rm_old_stats() 236 tl->packet_count[tl->head] = 0; in il4965_rs_tl_rm_old_stats() 237 tl->time_stamp += TID_QUEUE_CELL_SPACING; in il4965_rs_tl_rm_old_stats() 238 tl->queue_count--; in il4965_rs_tl_rm_old_stats() 239 tl->head++; in il4965_rs_tl_rm_old_stats() 240 if (tl->head >= TID_QUEUE_MAX_SIZE) in il4965_rs_tl_rm_old_stats() 241 tl->head = 0; in il4965_rs_tl_rm_old_stats() 255 struct il_traffic_load *tl = NULL; in il4965_rs_tl_add_packet() local [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | dat-bits.h | 24 unsigned long tl : 2; /* Region- or Segment-Table Length */ member 46 unsigned long tl : 2; /* Region-Second-Table Length */ member 61 unsigned long tl : 2; /* Region-Third-Table Length */ member 75 unsigned long tl : 2; /* Segment-Table Length */ member
|
| /linux/drivers/nvme/target/ |
| H A D | fabrics-cmd-auth.c | 231 return le32_to_cpu(req->cmd->auth_send.tl); in nvmet_auth_send_data_len() 239 u32 tl; in nvmet_execute_auth_send() local 261 tl = nvmet_auth_send_data_len(req); in nvmet_execute_auth_send() 262 if (!tl) { in nvmet_execute_auth_send() 265 offsetof(struct nvmf_auth_send_command, tl); in nvmet_execute_auth_send() 268 if (!nvmet_check_transfer_len(req, tl)) { in nvmet_execute_auth_send() 269 pr_debug("%s: transfer length mismatch (%u)\n", __func__, tl); in nvmet_execute_auth_send() 273 d = kmalloc(tl, GFP_KERNEL); in nvmet_execute_auth_send() 279 status = nvmet_copy_from_sgl(req, 0, d, tl); in nvmet_execute_auth_send()
|
| /linux/drivers/gpu/drm/i915/pxp/ |
| H A D | intel_pxp_cmd.c | 86 struct intel_timeline * const tl = i915_request_timeline(rq); in pxp_request_commit() local 88 lockdep_unpin_lock(&tl->mutex, rq->cookie); in pxp_request_commit() 94 mutex_unlock(&tl->mutex); in pxp_request_commit()
|
| /linux/Documentation/translations/zh_CN/userspace-api/accelerators/ |
| H A D | ocxl.rst | 29 OpenCAPI定义了一个在物理链路层上实现的数据链路层(TL)和传输层(TL)。任何 44 | TL | | TLX |
|