Searched refs:dev_idx (Results 1 - 18 of 18) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/edac/
H A De7xxx_edac.c330 static inline int dual_channel_active(u32 drc, int dev_idx) argument
332 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1;
336 static inline int drb_granularity(u32 drc, int dev_idx) argument
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) argument
414 drc_chan = dual_channel_active(drc, dev_idx);
429 pvt->dev_info = &e7xxx_devs[dev_idx];
342 e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, int dev_idx, u32 drc) argument
[all...]
H A Dedac_device.c44 debugf3("\tedac_dev = %p dev_idx=%d \n", edac_dev, edac_dev->dev_idx);
153 dev_ctl->dev_idx = device_index;
297 * assign a unique value to edac_dev->dev_idx.
317 /* Insert in ascending order by 'dev_idx', so find position */
321 if (rover->dev_idx >= edac_dev->dev_idx) {
322 if (unlikely(rover->dev_idx == edac_dev->dev_idx))
337 rover->mod_name, rover->ctl_name, rover->dev_idx);
[all...]
H A Damd76x_edac.c219 * @dev_idx: Device type index
225 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) argument
255 mci->ctl_name = amd76x_devs[dev_idx].ctl_name;
H A De752x_edac.c1140 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, argument
1155 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev);
1160 e752x_devs[dev_idx].ctl_dev,
1224 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) argument
1263 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED :
1271 pvt->dev_info = &e752x_devs[dev_idx];
1274 if (e752x_get_devs(pdev, dev_idx, pvt)) {
1297 if (dev_idx == I3100)
H A Di82860_edac.c176 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) argument
202 mci->ctl_name = i82860_devs[dev_idx].ctl_name;
H A Di3000_edac.c304 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) argument
364 mci->ctl_name = i3000_devs[dev_idx].ctl_name;
H A Di3200_edac.c317 static int i3200_probe1(struct pci_dev *pdev, int dev_idx) argument
352 mci->ctl_name = i3200_devs[dev_idx].ctl_name;
H A Dx38_edac.c317 static int x38_probe1(struct pci_dev *pdev, int dev_idx) argument
351 mci->ctl_name = x38_devs[dev_idx].ctl_name;
H A Di5400_edac.c725 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) argument
1218 static int i5400_probe1(struct pci_dev *pdev, int dev_idx) argument
1226 if (dev_idx >= ARRAY_SIZE(i5400_devs))
1268 if (i5400_get_devices(mci, dev_idx))
1280 mci->ctl_name = i5400_devs[dev_idx].ctl_name;
H A Dedac_device_sysfs.c204 debugf4("%s() control index=%d\n", __func__, edac_dev->dev_idx);
816 debugf0("%s() idx=%d\n", __func__, edac_dev->dev_idx);
849 __func__, edac_dev->dev_idx);
H A Dedac_core.h59 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
567 int dev_idx; member in struct:edac_device_ctl_info
H A Di82875p_edac.c381 static int i82875p_probe1(struct pci_dev *pdev, int dev_idx) argument
418 mci->ctl_name = i82875p_devs[dev_idx].ctl_name;
H A Di82975x_edac.c425 static int i82975x_probe1(struct pci_dev *pdev, int dev_idx) argument
511 mci->ctl_name = i82975x_devs[dev_idx].ctl_name;
H A Di5000_edac.c788 static int i5000_get_devices(struct mem_ctl_info *mci, int dev_idx) argument
790 //const struct i5000_dev_info *i5000_dev = &i5000_devs[dev_idx];
1347 static int i5000_probe1(struct pci_dev *pdev, int dev_idx) argument
1401 if (i5000_get_devices(mci, dev_idx))
1413 mci->ctl_name = i5000_devs[dev_idx].ctl_name;
H A Dr82600_edac.c263 static int r82600_probe1(struct pci_dev *pdev, int dev_idx) argument
H A Di82443bxgx_edac.c230 static int i82443bxgx_edacmc_probe1(struct pci_dev *pdev, int dev_idx) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/phonet/
H A Dpn_netlink.c131 int dev_idx = 0, dev_start_idx = cb->args[0]; local
139 if (dev_idx > dev_start_idx)
141 if (dev_idx++ < dev_start_idx)
158 cb->args[0] = dev_idx;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ssb/
H A Dmain.c451 int dev_idx = 0; local
481 dev_set_name(dev, "ssb%u:%d", bus->busnumber, dev_idx);
520 dev_idx++;

Completed in 202 milliseconds