/linux-2.6.39/drivers/edac/ |
D | e7xxx_edac.c | 334 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() 405 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) in e7xxx_probe1() argument 418 drc_chan = dual_channel_active(drc, dev_idx); in e7xxx_probe1() 434 pvt->dev_info = &e7xxx_devs[dev_idx]; in e7xxx_probe1() [all …]
|
D | edac_device.c | 44 debugf3("\tedac_dev = %p dev_idx=%d \n", edac_dev, edac_dev->dev_idx); in edac_device_dump_device() 153 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info() 321 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list() 322 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list() 337 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list() 343 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list() 618 edac_dev->dev_idx, in edac_device_del_device()
|
D | e752x_edac.c | 1140 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, in e752x_get_devs() argument 1155 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev); in e752x_get_devs() 1160 e752x_devs[dev_idx].ctl_dev, in e752x_get_devs() 1224 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) in e752x_probe1() argument 1264 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED : in e752x_probe1() 1273 pvt->dev_info = &e752x_devs[dev_idx]; in e752x_probe1() 1276 if (e752x_get_devs(pdev, dev_idx, pvt)) { in e752x_probe1() 1299 if (dev_idx == I3100) in e752x_probe1()
|
D | amd76x_edac.c | 225 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) in amd76x_probe1() argument 255 mci->ctl_name = amd76x_devs[dev_idx].ctl_name; in amd76x_probe1()
|
D | i82860_edac.c | 176 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) in i82860_probe1() argument 202 mci->ctl_name = i82860_devs[dev_idx].ctl_name; in i82860_probe1()
|
D | i5400_edac.c | 725 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() argument 1219 static int i5400_probe1(struct pci_dev *pdev, int dev_idx) in i5400_probe1() argument 1227 if (dev_idx >= ARRAY_SIZE(i5400_devs)) in i5400_probe1() 1269 if (i5400_get_devices(mci, dev_idx)) in i5400_probe1() 1281 mci->ctl_name = i5400_devs[dev_idx].ctl_name; in i5400_probe1()
|
D | i3000_edac.c | 304 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) in i3000_probe1() argument 364 mci->ctl_name = i3000_devs[dev_idx].ctl_name; in i3000_probe1()
|
D | edac_device_sysfs.c | 205 debugf4("%s() control index=%d\n", __func__, edac_dev->dev_idx); in edac_device_ctrl_master_release() 820 debugf0("%s() idx=%d\n", __func__, edac_dev->dev_idx); in edac_device_create_sysfs() 853 __func__, edac_dev->dev_idx); in edac_device_create_sysfs()
|
D | i3200_edac.c | 317 static int i3200_probe1(struct pci_dev *pdev, int dev_idx) in i3200_probe1() argument 352 mci->ctl_name = i3200_devs[dev_idx].ctl_name; in i3200_probe1()
|
D | i82875p_edac.c | 381 static int i82875p_probe1(struct pci_dev *pdev, int dev_idx) in i82875p_probe1() argument 418 mci->ctl_name = i82875p_devs[dev_idx].ctl_name; in i82875p_probe1()
|
D | x38_edac.c | 317 static int x38_probe1(struct pci_dev *pdev, int dev_idx) in x38_probe1() argument 352 mci->ctl_name = x38_devs[dev_idx].ctl_name; in x38_probe1()
|
D | i82975x_edac.c | 454 static int i82975x_probe1(struct pci_dev *pdev, int dev_idx) in i82975x_probe1() argument 540 mci->ctl_name = i82975x_devs[dev_idx].ctl_name; in i82975x_probe1()
|
D | edac_core.h | 61 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) 577 int dev_idx; member
|
D | i5000_edac.c | 788 static int i5000_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5000_get_devices() argument 1348 static int i5000_probe1(struct pci_dev *pdev, int dev_idx) in i5000_probe1() argument 1402 if (i5000_get_devices(mci, dev_idx)) in i5000_probe1() 1414 mci->ctl_name = i5000_devs[dev_idx].ctl_name; in i5000_probe1()
|
D | r82600_edac.c | 264 static int r82600_probe1(struct pci_dev *pdev, int dev_idx) in r82600_probe1() argument
|
D | i82443bxgx_edac.c | 232 static int i82443bxgx_edacmc_probe1(struct pci_dev *pdev, int dev_idx) in i82443bxgx_edacmc_probe1() argument
|
/linux-2.6.39/net/phonet/ |
D | pn_netlink.c | 131 int dev_idx = 0, dev_start_idx = cb->args[0]; in getaddr_dumpit() local 139 if (dev_idx > dev_start_idx) in getaddr_dumpit() 141 if (dev_idx++ < dev_start_idx) in getaddr_dumpit() 158 cb->args[0] = dev_idx; in getaddr_dumpit()
|
/linux-2.6.39/drivers/ssb/ |
D | main.c | 480 int dev_idx = 0; in ssb_devices_register() local 510 dev_set_name(dev, "ssb%u:%d", bus->busnumber, dev_idx); in ssb_devices_register() 549 dev_idx++; in ssb_devices_register()
|