Lines Matching refs:pidx

740 	int pidx;  in create_workqueues()  local
743 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
744 ppd = dd->pport + pidx; in create_workqueues()
752 dd->unit, pidx); in create_workqueues()
766 dd->unit, pidx); in create_workqueues()
773 pr_err("alloc_workqueue failed for port %d\n", pidx + 1); in create_workqueues()
774 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in create_workqueues()
775 ppd = dd->pport + pidx; in create_workqueues()
794 int pidx; in destroy_workqueues() local
797 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in destroy_workqueues()
798 ppd = dd->pport + pidx; in destroy_workqueues()
845 int ret = 0, pidx, lastfail = 0; in hfi1_init() local
866 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
867 ppd = dd->pport + pidx; in hfi1_init()
917 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
918 ppd = dd->pport + pidx; in hfi1_init()
943 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_init()
944 ppd = dd->pport + pidx; in hfi1_init()
984 int pidx; in stop_timers() local
986 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in stop_timers()
987 ppd = dd->pport + pidx; in stop_timers()
1008 unsigned pidx; in shutdown_device() local
1015 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1016 ppd = dd->pport + pidx; in shutdown_device()
1029 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1030 ppd = dd->pport + pidx; in shutdown_device()
1054 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in shutdown_device()
1055 ppd = dd->pport + pidx; in shutdown_device()
1318 u32 pidx; in hfi1_disable_after_error() local
1322 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in hfi1_disable_after_error()
1325 ppd = dd->pport + pidx; in hfi1_disable_after_error()
1484 int pidx; in cleanup_device_data() local
1487 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in cleanup_device_data()
1488 struct hfi1_pportdata *ppd = &dd->pport[pidx]; in cleanup_device_data()
1559 int ret = 0, j, pidx, initfail; in init_one() local
1665 for (pidx = 0; pidx < dd->num_pports; ++pidx) { in init_one()
1666 hfi1_quiet_serdes(dd->pport + pidx); in init_one()
1667 ppd = dd->pport + pidx; in init_one()