Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/iio/Documentation/
Dlsiio.c64 int dev_idx; in dump_one_device() local
67 "%i", &dev_idx); in dump_one_device()
69 printf("Device %03d: %s\n", dev_idx, name); in dump_one_device()
82 int dev_idx; in dump_one_trigger() local
85 "%i", &dev_idx); in dump_one_trigger()
87 printf("Trigger %03d: %s\n", dev_idx, name); in dump_one_trigger()
/drivers/edac/
De7xxx_edac.c343 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()
[all …]
Dedac_device.c44 edac_dev, edac_dev->dev_idx); in edac_device_dump_device()
147 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()
312 if (rover->dev_idx >= edac_dev->dev_idx) { in add_edac_dev_to_global_list()
313 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) in add_edac_dev_to_global_list()
328 rover->mod_name, rover->ctl_name, rover->dev_idx); in add_edac_dev_to_global_list()
334 " duplicate dev_idx %d in %s()\n", rover->dev_idx, in add_edac_dev_to_global_list()
594 edac_dev->dev_idx, in edac_device_del_device()
De752x_edac.c1176 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, in e752x_get_devs() argument
1191 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev); in e752x_get_devs()
1196 e752x_devs[dev_idx].ctl_dev, in e752x_get_devs()
1257 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) in e752x_probe1() argument
1302 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED : in e752x_probe1()
1311 pvt->dev_info = &e752x_devs[dev_idx]; in e752x_probe1()
1314 if (e752x_get_devs(pdev, dev_idx, pvt)) { in e752x_probe1()
1337 if (dev_idx == I3100) in e752x_probe1()
Damd76x_edac.c230 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) in amd76x_probe1() argument
267 mci->ctl_name = amd76x_devs[dev_idx].ctl_name; in amd76x_probe1()
Dedac_core.h59 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
219 int dev_idx; member
Di82860_edac.c186 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) in i82860_probe1() argument
220 mci->ctl_name = i82860_devs[dev_idx].ctl_name; in i82860_probe1()
Di5400_edac.c717 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() argument
1262 static int i5400_probe1(struct pci_dev *pdev, int dev_idx) in i5400_probe1() argument
1268 if (dev_idx >= ARRAY_SIZE(i5400_devs)) in i5400_probe1()
1307 if (i5400_get_devices(mci, dev_idx)) in i5400_probe1()
1319 mci->ctl_name = i5400_devs[dev_idx].ctl_name; in i5400_probe1()
Dedac_device_sysfs.c205 edac_dbg(4, "control index=%d\n", edac_dev->dev_idx); in edac_device_ctrl_master_release()
815 edac_dbg(0, "idx=%d\n", edac_dev->dev_idx); in edac_device_create_sysfs()
846 edac_dbg(4, "create-instances done, idx=%d\n", edac_dev->dev_idx); in edac_device_create_sysfs()
Di3200_edac.c338 static int i3200_probe1(struct pci_dev *pdev, int dev_idx) in i3200_probe1() argument
379 mci->ctl_name = i3200_devs[dev_idx].ctl_name; in i3200_probe1()
Di3000_edac.c311 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) in i3000_probe1() argument
379 mci->ctl_name = i3000_devs[dev_idx].ctl_name; in i3000_probe1()
Di82875p_edac.c389 static int i82875p_probe1(struct pci_dev *pdev, int dev_idx) in i82875p_probe1() argument
427 mci->ctl_name = i82875p_devs[dev_idx].ctl_name; in i82875p_probe1()
Dx38_edac.c320 static int x38_probe1(struct pci_dev *pdev, int dev_idx) in x38_probe1() argument
361 mci->ctl_name = x38_devs[dev_idx].ctl_name; in x38_probe1()
Die31200_edac.c329 static int ie31200_probe1(struct pci_dev *pdev, int dev_idx) in ie31200_probe1() argument
371 mci->ctl_name = ie31200_devs[dev_idx].ctl_name; in ie31200_probe1()
Di82975x_edac.c472 static int i82975x_probe1(struct pci_dev *pdev, int dev_idx) in i82975x_probe1() argument
564 mci->ctl_name = i82975x_devs[dev_idx].ctl_name; in i82975x_probe1()
Di5000_edac.c779 static int i5000_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5000_get_devices() argument
1362 static int i5000_probe1(struct pci_dev *pdev, int dev_idx) in i5000_probe1() argument
1422 if (i5000_get_devices(mci, dev_idx)) in i5000_probe1()
1434 mci->ctl_name = i5000_devs[dev_idx].ctl_name; in i5000_probe1()
Dr82600_edac.c270 static int r82600_probe1(struct pci_dev *pdev, int dev_idx) in r82600_probe1() argument
Di82443bxgx_edac.c234 static int i82443bxgx_edacmc_probe1(struct pci_dev *pdev, int dev_idx) in i82443bxgx_edacmc_probe1() argument
/drivers/staging/gdm724x/
Dgdm_lte.h54 int dev_idx, int nic_type);
Dgdm_usb.c715 int dev_idx, int nic_type) in gdm_usb_sdu_send() argument
/drivers/ssb/
Dmain.c482 int dev_idx = 0; in ssb_devices_register() local
511 dev_set_name(dev, "ssb%u:%d", bus->busnumber, dev_idx); in ssb_devices_register()
548 dev_idx++; in ssb_devices_register()