Home
last modified time | relevance | path

Searched refs:drc (Results 1 – 6 of 6) sorted by relevance

/drivers/edac/
De7xxx_edac.c334 static inline int dual_channel_active(u32 drc, int dev_idx) in dual_channel_active() argument
336 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; in dual_channel_active()
340 static inline int drb_granularity(u32 drc, int dev_idx) in drb_granularity() argument
343 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; in drb_granularity()
347 int dev_idx, u32 drc) in e7xxx_init_csrows() argument
357 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_init_csrows()
358 drc_drbg = drb_granularity(drc, dev_idx); in e7xxx_init_csrows()
359 drc_ddim = (drc >> 20) & 0x3; in e7xxx_init_csrows()
410 u32 drc; in e7xxx_probe1() local
416 pci_read_config_dword(pdev, E7XXX_DRC, &drc); in e7xxx_probe1()
[all …]
Di82875p_edac.c335 static inline int dual_channel_active(u32 drc) in dual_channel_active() argument
337 return (drc >> 21) & 0x1; in dual_channel_active()
342 void __iomem * ovrfl_window, u32 drc) in i82875p_init_csrows() argument
351 drc_ddim = (drc >> 18) & 0x1; in i82875p_init_csrows()
388 u32 drc; in i82875p_probe1() local
398 drc = readl(ovrfl_window + I82875P_DRC); in i82875p_probe1()
399 nr_chans = dual_channel_active(drc) + 1; in i82875p_probe1()
426 i82875p_init_csrows(mci, pdev, ovrfl_window, drc); in i82875p_probe1()
Di82975x_edac.c469 u32 drc[2]; in i82975x_probe1() local
509 drc[0] = readl(mch_window + I82975X_DRC_CH0M0); in i82975x_probe1()
510 drc[1] = readl(mch_window + I82975X_DRC_CH1M0); in i82975x_probe1()
512 i82975x_printk(KERN_INFO, "DRC_CH0 = %0x, %s\n", drc[0], in i82975x_probe1()
513 ((drc[0] >> 21) & 3) == 1 ? in i82975x_probe1()
515 i82975x_printk(KERN_INFO, "DRC_CH1 = %0x, %s\n", drc[1], in i82975x_probe1()
516 ((drc[1] >> 21) & 3) == 1 ? in i82975x_probe1()
526 if (!(((drc[0] >> 21) & 3) == 1 || ((drc[1] >> 21) & 3) == 1)) { in i82975x_probe1()
De752x_edac.c1047 u32 dra, drc, cumul_size; in e752x_init_csrows() local
1055 pci_read_config_dword(pdev, E752X_DRC, &drc); in e752x_init_csrows()
1058 drc_ddim = (drc >> 20) & 0x3; in e752x_init_csrows()
/drivers/s390/cio/
Dccwreq.c66 if (rc && rc != -ENODEV && req->drc) in ccwreq_stop()
67 rc = req->drc; in ccwreq_stop()
131 req->drc = 0; in ccw_request_start()
347 req->drc = -ETIME; in ccw_request_timeout()
Dio_sch.h87 int drc; member