Lines Matching defs:dev_idx
330 static inline int dual_channel_active(u32 drc, int dev_idx)
332 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1;
336 static inline int drb_granularity(u32 drc, int dev_idx)
339 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1;
343 int dev_idx, u32 drc)
353 drc_chan = dual_channel_active(drc, dev_idx);
354 drc_drbg = drb_granularity(drc, dev_idx);
401 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx)
414 drc_chan = dual_channel_active(drc, dev_idx);
429 pvt->dev_info = &e7xxx_devs[dev_idx];
436 PCI_VENDOR_ID_INTEL, e7xxx_devs[dev_idx].err_dev);
445 e7xxx_init_csrows(mci, pdev, dev_idx, drc);