Lines Matching refs:pidx
119 int pidx;
125 pidx = __ffs64(link & pp->nmask);
127 pidx = __ffs64(link & pp->pmask);
131 out_db = BIT_ULL(ntb_peer_port_number(pp->ntb, pidx));
134 pp->out_pidx = pidx;
191 int pidx = 0;
195 msg_data = ntb_msg_read(pp->ntb, &pidx, 0);
204 spad_data, msg_data, ntb_peer_port_number(pp->ntb, pidx));
295 int pidx, lport, pcnt;
300 for (pidx = 0; pidx < pcnt; pidx++) {
301 if (lport < ntb_peer_port_number(pp->ntb, pidx))
306 pp->pmask = GENMASK_ULL(pidx, 0) >> 1;
307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx);