Home
last modified time | relevance | path

Searched refs:dpmsg (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c326 dp_payload_add_cpus(plat_datapath_info_t *dpmsg, nvlist_t *erp, int maxcat) in dp_payload_add_cpus() argument
334 ncores = dp_get_cores(dpmsg->cpuid); in dp_payload_add_cpus()
339 switch (dpmsg->type) { in dp_payload_add_cpus()
390 exp = STARCAT_CPUID_TO_EXPANDER(dpmsg->cpuid); in dp_payload_add_cpus()
391 slot = STARCAT_CPUID_TO_BOARDSLOT(dpmsg->cpuid); in dp_payload_add_cpus()
392 port = STARCAT_CPUID_TO_LPORT(dpmsg->cpuid); in dp_payload_add_cpus()
396 switch (dpmsg->type) { in dp_payload_add_cpus()
402 cpuid = dpmsg->cpuid & 0xFFFB; /* core 0 */ in dp_payload_add_cpus()
406 cpuid = dpmsg->cpuid | 0x4; /* core 1 */ in dp_payload_add_cpus()
419 cpuid = dpmsg->cpuid & 0xFFFB; /* core 0 */ in dp_payload_add_cpus()
[all …]
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c2313 dp_payload_add_cpus(plat_datapath_info_t *dpmsg, nvlist_t *erp) in dp_payload_add_cpus() argument
2321 ncores = dp_get_cores(dpmsg->cpuid); in dp_payload_add_cpus()
2323 switch (dpmsg->type) { in dp_payload_add_cpus()
2347 bd = SG_PORTID_TO_BOARD_NUM(SG_CPUID_TO_PORTID(dpmsg->cpuid)); in dp_payload_add_cpus()
2348 procpos = SG_CPUID_TO_PORTID(dpmsg->cpuid) & 0x3; in dp_payload_add_cpus()
2352 switch (dpmsg->type) { in dp_payload_add_cpus()
2359 cpuid = dpmsg->cpuid & 0x1FF; /* core 0 */ in dp_payload_add_cpus()
2363 cpuid = dpmsg->cpuid | SG_CORE_ID_MASK; /* core 1 */ in dp_payload_add_cpus()
2376 cpuid = dpmsg->cpuid & 0x1FF; /* core 0 */ in dp_payload_add_cpus()
2380 cpuid = dpmsg->cpuid | SG_CORE_ID_MASK; /* core 1 */ in dp_payload_add_cpus()
[all …]