Lines Matching refs:pidx
609 int pidx; in create_workqueues() local
612 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
613 ppd = dd->pport + pidx; in create_workqueues()
620 dd->unit, pidx); in create_workqueues()
627 pr_err("alloc_workqueue failed for port %d\n", pidx + 1); in create_workqueues()
628 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
629 ppd = dd->pport + pidx; in create_workqueues()
655 int ret = 0, pidx, lastfail = 0; in hfi1_init() local
692 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
693 ppd = dd->pport + pidx; in hfi1_init()
756 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
757 ppd = dd->pport + pidx; in hfi1_init()
781 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
782 ppd = dd->pport + pidx; in hfi1_init()
834 int pidx; in stop_timers() local
836 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in stop_timers()
837 ppd = dd->pport + pidx; in stop_timers()
857 unsigned pidx; in shutdown_device() local
860 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
861 ppd = dd->pport + pidx; in shutdown_device()
873 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
874 ppd = dd->pport + pidx; in shutdown_device()
895 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
896 ppd = dd->pport + pidx; in shutdown_device()
1142 u32 pidx; in hfi1_disable_after_error() local
1146 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_disable_after_error()
1149 ppd = dd->pport + pidx; in hfi1_disable_after_error()
1310 int pidx; in cleanup_device_data() local
1315 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in cleanup_device_data()
1316 struct hfi1_pportdata *ppd = &dd->pport[pidx]; in cleanup_device_data()
1421 int ret = 0, j, pidx, initfail; in init_one() local
1521 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_one()
1522 hfi1_quiet_serdes(dd->pport + pidx); in init_one()
1523 ppd = dd->pport + pidx; in init_one()