Lines Matching refs:dev_idx
343 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
345 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
349 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
352 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
356 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
368 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
369 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
422 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) in e7xxx_probe1() argument
436 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1()
465 pvt->dev_info = &e7xxx_devs[dev_idx]; in e7xxx_probe1()
472 PCI_VENDOR_ID_INTEL, e7xxx_devs[dev_idx].err_dev); in e7xxx_probe1()
481 e7xxx_init_csrows(mci, pdev, dev_idx, drc); in e7xxx_probe1()