Lines Matching full:drc
341 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
343 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
347 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
350 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
354 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
366 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
367 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
368 drc_ddim = (drc >> 20) & 0x3; in e7xxx_init_csrows()
426 u32 drc; in e7xxx_probe1() local
432 pci_read_config_dword(pdev, E7XXX_DRC, &drc); in e7xxx_probe1()
434 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1()
478 e7xxx_init_csrows(mci, pdev, dev_idx, drc); in e7xxx_probe1()