Lines Matching refs:portnum
511 int rc, portnum;
566 portnum = pw_msg->em.is_port & 0xFF;
569 rdev->rswitch->em_handle(rdev, portnum);
572 rdev->phys_efptr + RIO_PORT_N_ERR_STS_CSR(portnum),
574 pr_debug("RIO_PW: SP%d_ERR_STS_CSR=0x%08x\n", portnum, err_status);
578 portnum, pw_msg->em.errdetect);
581 rdev->em_efptr + RIO_EM_PN_ERR_DETECT(portnum), 0);
594 rdev->phys_efptr + RIO_PORT_N_ERR_STS_CSR(portnum),
597 if (rdev->rswitch->port_ok & (1 << portnum)) {
599 rdev->rswitch->port_ok &= ~(1 << portnum);
600 rio_set_port_lockout(rdev, portnum, 1);
604 RIO_PORT_N_ACK_STS_CSR(portnum),
609 rio_name(rdev), portnum);
613 rdev->rswitch->port_ok |= (1 << portnum);
614 rio_set_port_lockout(rdev, portnum, 0);
618 rio_name(rdev), portnum);
624 rdev->phys_efptr + RIO_PORT_N_ERR_STS_CSR(portnum),