Lines Matching refs:pidx

781 	int pidx;  in create_workqueues()  local
784 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
785 ppd = dd->pport + pidx; in create_workqueues()
793 dd->unit, pidx); in create_workqueues()
807 dd->unit, pidx); in create_workqueues()
814 pr_err("alloc_workqueue failed for port %d\n", pidx + 1); in create_workqueues()
815 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
816 ppd = dd->pport + pidx; in create_workqueues()
835 int pidx; in destroy_workqueues() local
838 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in destroy_workqueues()
839 ppd = dd->pport + pidx; in destroy_workqueues()
886 int ret = 0, pidx, lastfail = 0; in hfi1_init() local
907 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
908 ppd = dd->pport + pidx; in hfi1_init()
958 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
959 ppd = dd->pport + pidx; in hfi1_init()
984 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
985 ppd = dd->pport + pidx; in hfi1_init()
1025 int pidx; in stop_timers() local
1027 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in stop_timers()
1028 ppd = dd->pport + pidx; in stop_timers()
1049 unsigned pidx; in shutdown_device() local
1056 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1057 ppd = dd->pport + pidx; in shutdown_device()
1070 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1071 ppd = dd->pport + pidx; in shutdown_device()
1095 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1096 ppd = dd->pport + pidx; in shutdown_device()
1359 u32 pidx; in hfi1_disable_after_error() local
1363 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_disable_after_error()
1366 ppd = dd->pport + pidx; in hfi1_disable_after_error()
1525 int pidx; in cleanup_device_data() local
1528 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in cleanup_device_data()
1529 struct hfi1_pportdata *ppd = &dd->pport[pidx]; in cleanup_device_data()
1600 int ret = 0, j, pidx, initfail; in init_one() local
1706 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_one()
1707 hfi1_quiet_serdes(dd->pport + pidx); in init_one()
1708 ppd = dd->pport + pidx; in init_one()