Home
last modified time | relevance | path

Searched refs:tidr (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/misc/ocxl/
Dtrace.h76 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
77 TP_ARGS(pid, spa, pasid, pidr, tidr),
84 __field(u32, tidr)
92 __entry->tidr = tidr;
100 __entry->tidr
105 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
106 TP_ARGS(pid, spa, pasid, pidr, tidr)
110 TP_PROTO(pid_t pid, void *spa, int pasid, u32 pidr, u32 tidr),
111 TP_ARGS(pid, spa, pasid, pidr, tidr)
Dfile.c125 if (!ctx->tidr) { in afu_ioctl_enable_p9_wait()
131 ctx->tidr = current->thread.tidr; in afu_ioctl_enable_p9_wait()
139 ctx->pasid, ctx->tidr); in afu_ioctl_enable_p9_wait()
145 arg.thread_id = ctx->tidr; in afu_ioctl_enable_p9_wait()
Dcontext.c38 ctx->tidr = 0; in ocxl_context_alloc()
86 rc = ocxl_link_add_pe(ctx->afu->fn->link, ctx->pasid, pidr, ctx->tidr, in ocxl_context_attach()
Docxl_internal.h82 u16 tidr; // Thread ID used for P9 wait implementation member
Dlink.c538 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr, in ocxl_link_add_pe() argument
580 pe->tid = cpu_to_be32(tidr); in ocxl_link_add_pe()
624 trace_ocxl_context_add(current->pid, spa->spa_mem, pasid, pidr, tidr); in ocxl_link_add_pe()
/linux-6.6.21/arch/powerpc/kernel/
Dprocess.c1264 old_thread->tidr != new_thread->tidr) in restore_sprs()
1265 mtspr(SPRN_TIDR, new_thread->tidr); in restore_sprs()
1681 if (t->thread.tidr) in set_thread_tidr()
1684 t->thread.tidr = (u16)task_pid_nr(t); in set_thread_tidr()
1685 mtspr(SPRN_TIDR, t->thread.tidr); in set_thread_tidr()
1876 p->thread.tidr = 0; in copy_thread()
/linux-6.6.21/drivers/clocksource/
Dtimer-ti-dm.c99 u32 tidr; member
209 u32 tidr; in __omap_dm_timer_init_regs() local
212 tidr = readl_relaxed(timer->io_base); in __omap_dm_timer_init_regs()
213 if (!(tidr >> 16)) { in __omap_dm_timer_init_regs()
Dtimer-ti-dm-systimer.c68 u32 tidr = readl_relaxed(t->base); in dmtimer_systimer_revision1() local
70 return !(tidr >> 16); in dmtimer_systimer_revision1()
/linux-6.6.21/include/misc/
Docxl.h449 int ocxl_link_add_pe(void *link_handle, int pasid, u32 pidr, u32 tidr,
/linux-6.6.21/drivers/misc/cxl/
Dcxllib.c193 attr->tid = task->thread.tidr; in cxllib_get_PE_attributes()
Dnative.c681 if (!(ctx->tidr) && (ctx->assign_tidr)) { in process_element_entry_psl9()
685 ctx->tidr = current->thread.tidr; in process_element_entry_psl9()
686 pr_devel("%s: current tidr: %d\n", __func__, ctx->tidr); in process_element_entry_psl9()
689 ctx->elem->common.tid = cpu_to_be32(ctx->tidr); in process_element_entry_psl9()
Dcontext.c44 ctx->tidr = 0; in cxl_context_init()
Dfile.c268 work.tid = ctx->tidr; in afu_ioctl_start_work()
Dcxl.h621 u16 tidr; member
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_p9_entry.c32 current->thread.tidr != vcpu->arch.tid) in load_spr_state()
169 current->thread.tidr != vcpu->arch.tid) in restore_p9_host_os_sprs()
170 mtspr(SPRN_TIDR, current->thread.tidr); in restore_p9_host_os_sprs()
/linux-6.6.21/arch/powerpc/include/asm/
Dprocessor.h245 unsigned long tidr; member