Lines Matching refs:devidx
2949 int devidx; in knl_mci_bind_devs() local
2986 devidx = ((dev-14)*8)+func; in knl_mci_bind_devs()
2988 if (devidx < 0 || devidx >= KNL_MAX_CHAS) { in knl_mci_bind_devs()
2995 WARN_ON(pvt->knl.pci_cha[devidx] != NULL); in knl_mci_bind_devs()
2997 pvt->knl.pci_cha[devidx] = pdev; in knl_mci_bind_devs()
3001 devidx = -1; in knl_mci_bind_devs()
3009 devidx = func-2; in knl_mci_bind_devs()
3011 devidx = 3 + (func-2); in knl_mci_bind_devs()
3013 if (devidx < 0 || devidx >= KNL_MAX_CHANNELS) { in knl_mci_bind_devs()
3020 WARN_ON(pvt->knl.pci_channel[devidx] != NULL); in knl_mci_bind_devs()
3021 pvt->knl.pci_channel[devidx] = pdev; in knl_mci_bind_devs()