Lines Matching refs:pidx

739 	int pidx;  in create_workqueues()  local
742 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
743 ppd = dd->pport + pidx; in create_workqueues()
751 dd->unit, pidx); in create_workqueues()
765 dd->unit, pidx); in create_workqueues()
772 pr_err("alloc_workqueue failed for port %d\n", pidx + 1); in create_workqueues()
773 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
774 ppd = dd->pport + pidx; in create_workqueues()
793 int pidx; in destroy_workqueues() local
796 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in destroy_workqueues()
797 ppd = dd->pport + pidx; in destroy_workqueues()
844 int ret = 0, pidx, lastfail = 0; in hfi1_init() local
865 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
866 ppd = dd->pport + pidx; in hfi1_init()
916 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
917 ppd = dd->pport + pidx; in hfi1_init()
942 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
943 ppd = dd->pport + pidx; in hfi1_init()
983 int pidx; in stop_timers() local
985 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in stop_timers()
986 ppd = dd->pport + pidx; in stop_timers()
1007 unsigned pidx; in shutdown_device() local
1014 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1015 ppd = dd->pport + pidx; in shutdown_device()
1028 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1052 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1053 ppd = dd->pport + pidx; in shutdown_device()
1316 u32 pidx; in hfi1_disable_after_error() local
1320 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_disable_after_error()
1323 ppd = dd->pport + pidx; in hfi1_disable_after_error()
1482 int pidx; in cleanup_device_data() local
1485 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in cleanup_device_data()
1486 struct hfi1_pportdata *ppd = &dd->pport[pidx]; in cleanup_device_data()
1557 int ret = 0, j, pidx, initfail; in init_one() local
1663 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_one()
1664 hfi1_quiet_serdes(dd->pport + pidx); in init_one()
1665 ppd = dd->pport + pidx; in init_one()