Lines Matching defs:port
263 * device ID found at each node. If a node (aka port) is not populated,
274 unsigned long port;
287 /* Query the MBIU for the port through which we are communicating. */
288 /* We will avoid accesses to this port to avoid a self-reference. */
294 /* For every possible port, set the MBIU.deviceId to something. */
296 for (port = 0; port < 8; port++) {
301 MBIU0[port].claimed = 0;
305 MBIU0[port].address = port << 29;
308 /* MBIU0 port 0 is a special case, as it points back to MBIU0. MBIU0 */
311 if (port == 0)
312 MBIU0[port].deviceId = RC_CC_MBIU;
313 else if (port == reflective)
314 MBIU0[port].deviceId = REFLECTIVE;
315 else if (port > mbiu_port_count)
316 MBIU0[port].deviceId = NOT_POPULATED;
318 MSR_READ(MBD_MSR_CAP, MBIU0[port].address, &(msrValue.high),
320 MBIU0[port].deviceId = GET_DEVICE_ID(msrValue.high, msrValue.low);
334 /* Query the MBIU for the port through which we are communicating. */
335 /* We will avoid accesses to this port to avoid a self-reference. */
341 /* For every possible port, set the MBIU.deviceId to something. */
343 for (port = 0; port < 8; port++) {
348 MBIU1[port].claimed = 0;
352 MBIU1[port].address = (0x02l << 29) + (port << 26);
354 if (port == reflective)
355 MBIU1[port].deviceId = REFLECTIVE;
356 else if (port > mbiu_port_count)
357 MBIU1[port].deviceId = NOT_POPULATED;
359 MSR_READ(MBD_MSR_CAP, MBIU1[port].address, &(msrValue.high),
361 MBIU1[port].deviceId = GET_DEVICE_ID(msrValue.high, msrValue.low);
377 /* Query the MBIU for the port through which we are communicating. */
378 /* We will avoid accesses to this port to avoid a self-reference. */
384 /* For every possible port, set the MBIU.deviceId to something. */
386 for (port = 0; port < 8; port++) {
391 MBIU2[port].claimed = 0;
395 MBIU2[port].address =
396 (0x02l << 29) + (0x04l << 26) + (0x02l << 23) + (port << 20);
398 if (port == reflective)
399 MBIU2[port].deviceId = REFLECTIVE;
400 else if (port > mbiu_port_count)
401 MBIU2[port].deviceId = NOT_POPULATED;
403 MSR_READ(MBD_MSR_CAP, MBIU2[port].address, &(msrValue.high),
405 MBIU2[port].deviceId = GET_DEVICE_ID(msrValue.high, msrValue.low);
414 for (port = 0; port < 8; port++) {
415 MBIU2[port].claimed = 0;
416 MBIU2[port].deviceId = NOT_INSTALLED;
417 MBIU2[port].address =
418 (0x02l << 29) + (0x04l << 26) + (0x02l << 23) + (port << 20);
420 for (port = CP_INDEX_START; port <= CP_INDEX_STOP; port++) {
421 msrDev[port].Present = REQ_NOT_INSTALLED;
500 /* port address. */
501 /* 3. After a device ID has been matched, the port is marked as */
642 int port;
644 for (port = 0; port < 8; port++) {
645 if (MBIU0[port].address == address) {
646 *device = MBIU0[port].deviceId;
648 } else if (MBIU1[port].address == address) {
649 *device = MBIU1[port].deviceId;
651 } else if (MBIU2[port].address == address) {
652 *device = MBIU2[port].deviceId;