Searched defs:cpu_id (Results 1 - 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpr_impl.h56 processorid_t cpu_id; member in struct:i86pc_cpu_info
/illumos-gate/usr/src/uts/sun4u/io/
H A Dcpudrv_mach.c41 xc_one(cpudsp->cpu_id, (xcfunc_t *)cpu_change_speed, \
47 * Determine the cpu_id for the CPU device.
50 cpudrv_get_cpu_id(dev_info_t *dip, processorid_t *cpu_id) argument
52 return (dip_to_cpu_id(dip, cpu_id) == DDI_SUCCESS);
H A Dsysioerr.c219 uint_t cpu_id, acpu_id; local
228 cpu_id = acpu_id;
229 tmp_mondo_vec = (cpu_id << INTERRUPT_CPU_FIELD) | INTERRUPT_VALID;
233 cpu_id = acpu_id;
234 tmp_mondo_vec = (cpu_id << INTERRUPT_CPU_FIELD) | INTERRUPT_VALID;
239 cpu_id = acpu_id;
241 tmp_mondo_vec = (cpu_id << INTERRUPT_CPU_FIELD) | INTERRUPT_VALID;
246 cpu_id = acpu_id;
247 tmp_mondo_vec = (cpu_id << INTERRUPT_CPU_FIELD) |
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c51 static int cpu_id = -1; local
95 cpu_id = *int_cpu_id;
102 ++cpu_id;
118 cpu_id = *int_cpu_id;
125 ++cpu_id;
132 HAL_DEBUG (("CPUID=> %x", cpu_id));
140 * cpu_id.
149 * To make it unique, will be concatenating devfs_path with cpu_id
153 devfs_path, cpu_id);
158 HAL_DEBUG(("DevfsPath=> %s, CPUID=> %d", cpu_devfs_path, cpu_id));
161 "/org/freedesktop/Hal/devices%s_%d", cpu_devfs_path, cpu_id); local
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmem_cache_ioctl.h46 int cpu_id; member in struct:cache_info32
H A Dcpr_impl.h92 processorid_t cpu_id; member in struct:sun4u_cpu_info
H A Dmem_cache.h83 int cpu_id; member in struct:cache_info
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_intr.c178 uint32_t cpu_id; local
212 cpu_id = ino_p->pino_cpuid;
213 intr_dist_cpuid_add_device_weight(cpu_id, rdip, 0);
246 cpu_id = pcmu_intr_dist_cpuid(pib_p, ino_p);
247 ino_p->pino_cpuid = cpu_id;
249 intr_dist_cpuid_add_device_weight(cpu_id, rdip, 0);
251 cpu_id = u2u_translate_tgtid(pib_p->pib_pcmu_p,
252 cpu_id, ino_p->pino_map_reg);
253 *ino_p->pino_map_reg = ib_get_map_reg(mondo, cpu_id);
H A Dpcmu_cb.c101 uint32_t cpu_id; local
110 cpu_id = intr_dist_cpuid();
112 cpu_id = u2u_translate_tgtid(pib_p->pib_pcmu_p, cpu_id, imr_p);
114 reg = ib_get_map_reg(mondo, cpu_id);
124 "pci-%x pcmu_cb_enable_nintr: ino=%x cpu_id=%x\n",
125 pcmu_p->pcmu_id, ino, cpu_id);
220 uint32_t cpu_id; local
234 cpu_id = intr_dist_cpuid();
237 cpu_id
[all...]
H A Dpcmu_ib.c127 uint_t cpu_id; local
133 cpu_id = intr_dist_cpuid();
134 cpu_id = u2u_translate_tgtid(pcmu_p, cpu_id, imr_p);
136 "pcmu_ib_intr_enable: ino=%x cpu_id=%x\n", ino, cpu_id);
138 *imr_p = ib_get_map_reg(mondo, cpu_id);
216 uint32_t cpu_id; local
221 cpu_id = intr_dist_cpuid();
224 cpu_id
237 uint32_t cpu_id = ino_p->pino_cpuid; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_regops.c49 static void local_apic_write_int_cmd(uint32_t cpu_id, uint32_t cmd1);
130 local_apic_write_int_cmd(uint32_t cpu_id, uint32_t cmd1) argument
132 apicadr[APIC_INT_CMD2] = cpu_id << APIC_ICR_ID_BIT_OFFSET;
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_regops.c50 static void local_x2apic_write_int_cmd(uint32_t cpu_id, uint32_t cmd1);
116 local_x2apic_write_int_cmd(uint32_t cpu_id, uint32_t cmd1) argument
119 (((uint64_t)cpu_id << 32) | cmd1));
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcpudrv_mach.c77 CPUSET_ONLY(set, cp->cpu_id);
84 * Determine the cpu_id for the CPU device.
87 cpudrv_get_cpu_id(dev_info_t *dip, processorid_t *cpu_id) argument
89 return ((*cpu_id = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dfault_iso.h44 uint32_t cpu_id; member in struct:__anon10332
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c92 uint32_t cpu_id; local
99 cpu_id = intr_dist_cpuid();
101 reg = ib_get_map_reg(mondo, cpu_id);
111 "pci-%x cb_enable_nintr: ino=%x cpu_id=%x\n",
112 pci_p->pci_id, ino, cpu_id);
184 uint32_t cpu_id; local
196 cpu_id = intr_dist_cpuid();
197 if (ib_map_reg_get_cpu(imr) == cpu_id)
200 stdphysio(mr_pa, ib_get_map_reg(mondo, cpu_id));
H A Dpci_intr.c461 uint32_t cpu_id; local
497 cpu_id = intr_dist_cpuid();
498 *map_reg_addr = ib_get_map_reg(mondo, cpu_id);
527 cpu_id = ino_p->ino_cpuid;
529 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight);
576 cpu_id = ino_p->ino_cpuid;
579 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight);
582 *ino_p->ino_map_reg = ib_get_map_reg(mondo, cpu_id);
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dmachdep.c157 restore_tlb(struct sun4u_tlb *utp, int cpu_id) argument
178 prom_printf(" cpu_id %d: write %ctlb "
180 cpu_id, tname, utp->index, utp->va_tag,
205 cb_park_err(int cpu_id) argument
207 prom_printf("\ncpu_id %d did not stop!...\n", cpu_id);
232 slave_init(int cpu_id) argument
234 restore_tlb(mdinfo.dtte, cpu_id);
235 restore_tlb(mdinfo.itte, cpu_id);
236 BT_SET(slave_set, cpu_id);
244 cb_park_err(cpu_id);
[all...]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_throttle.c211 if (CPU_IN_SET(set, CPU->cpu_id)) {
213 CPUSET_DEL(set, CPU->cpu_id);
290 cpupm_throttle_get_max(processorid_t cpu_id) argument
292 cpu_t *cp = cpu[cpu_id];
315 "_TPC out of range %d", cp->cpu_id, throtl_level);
329 processorid_t cpu_id = cp->cpu_id; local
358 new_level = cpupm_throttle_get_max(cpu_id);
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dxcall.c28 processorid_t cpu_id; member in struct:__anon4
203 data.xd_cpu_id = xcpu.cpu_id;
219 xcpu.cpu_id, xcpu.cpu_m.xc_work_cnt);
224 xcpu.cpu_id, xcpu.cpu_m.xc_work_cnt,
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c163 processorid_t cpu_id; local
170 if ((cpu_id = cpu_kstat_init(cpuip, i)) < 0)
181 if ((fmri = fmri_create(mod, cpu_id, 0, s)) == NULL)
183 (void) topo_node_bind(mod, rnode, name, cpu_id, fmri);
483 fmri_create(topo_mod_t *mod, uint32_t cpu_id, uint8_t cpumask, char *s) argument
495 err |= nvlist_add_uint32(fmri, FM_FMRI_CPU_ID, cpu_id);
514 uint32_t cpu_id; local
518 if ((rc = nvlist_lookup_uint32(in, FM_FMRI_CPU_ID, &cpu_id)) != 0) {
528 *out = fmri_create(mod, cpu_id, cpumask, serial);
540 uint32_t cpu_id; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsoftint.c233 if (CPU_IN_SET(*softcall_cpuset, cp->cpu_id) ||
245 if (vcpu_on_pcpu(cp->cpu_id) == VCPU_NOT_ON_PCPU)
251 cpuid = cp->cpu_id;
256 cpuid = cp->cpu_id;
274 CPUSET_ADD(poke, cp->cpu_id);
423 int cpu_id = CPU->cpu_id; local
432 CPU_IN_SET(*softcall_cpuset, cpu_id)) {
433 CPUSET_DEL(*softcall_cpuset, cpu_id);
449 CPU_IN_SET(*softcall_cpuset, cpu_id))
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c429 int cpu_id; local
435 for (cpu_id = 0; cpu_id < NCPU; ++cpu_id) {
436 if (!cpu[cpu_id])
441 if (cpu[cpu_id]->cpu_thread != cpu[cpu_id]->cpu_idle_thread) {
442 if (CPU->cpu_id == cpu_id &&
/illumos-gate/usr/src/uts/common/sys/
H A Dcpudrv.h167 processorid_t cpu_id; /* CPU number for this node */ member in struct:cpudrv_devstate
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c85 niucpuid_t cpu_id);
299 niucpuid_t cpu_id; local
366 if (hvio_intr_gettarget(sysino, &cpu_id) != H_EOK) {
371 if (niumxds_p->niumx_ihtable[iget_p->ino].ih_cpuid != cpu_id) {
372 cmn_err(CE_WARN, "CPU Does not match %x %x", cpu_id,
379 iget_p->cpu_id = niumxds_p->niumx_ihtable[iget_p->ino].ih_cpuid;
461 iset.cpu_id)) == DDI_SUCCESS) {
462 iset.cpu_id = old_cpu_id;
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_ddi_impl.c380 * Find cpu_id corresponding to the dip of a CPU device node
383 dip_to_cpu_id(dev_info_t *dip, processorid_t *cpu_id) argument
391 *cpu_id = i;

Completed in 186 milliseconds

123