Home
last modified time | relevance | path

Searched refs:dev_no (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/block/
Dviodasd.c400 int dev_no = DEVICE_NO(d); in probe_disk() local
416 ((u64)dev_no << 48) | ((u64)flags<< 32), in probe_disk()
445 ((u64)dev_no << 48) | ((u64)flags << 32), in probe_disk()
454 if (vio_create_viodasd(dev_no) == NULL) { in probe_disk()
456 dev_no); in probe_disk()
471 pr_warning("cannot allocate queue for disk %d\n", dev_no); in probe_disk()
477 dev_no); in probe_disk()
486 g->first_minor = dev_no << PARTITION_SHIFT; in probe_disk()
487 if (dev_no >= 26) in probe_disk()
490 'a' + (dev_no / 26) - 1, 'a' + (dev_no % 26)); in probe_disk()
[all …]
Dsunvdc.c697 g->first_minor = port->vio.vdev->dev_no << PARTITION_SHIFT; in probe_disk()
748 if ((vdev->dev_no << PARTITION_SHIFT) & ~(u64)MINORMASK) { in vdc_port_probe()
750 vdev->dev_no); in vdc_port_probe()
761 if (vdev->dev_no >= 26) in vdc_port_probe()
764 'a' + ((int)vdev->dev_no / 26) - 1, in vdc_port_probe()
765 'a' + ((int)vdev->dev_no % 26)); in vdc_port_probe()
768 VDCBLK_NAME "%c", 'a' + ((int)vdev->dev_no % 26)); in vdc_port_probe()
/linux-2.6.39/arch/powerpc/platforms/cell/
Dcelleb_scc_pciex.c299 #define MK_PEXDADRS(bus_no, dev_no, func_no, addr) \ argument
302 ((dev_no) << PEXDADRS_DEVNO_SHIFT) | \
310 uint64_t bus_no, uint64_t dev_no, uint64_t func_no, in config_read_pciex_dev() argument
316 addr = MK_PEXDADRS(bus_no, dev_no, func_no, off); in config_read_pciex_dev()
326 uint64_t dev_no, uint64_t func_no, uint64_t off, uint64_t size, in config_write_pciex_dev() argument
331 addr = MK_PEXDADRS(bus_no, dev_no, func_no, off); in config_write_pciex_dev()
/linux-2.6.39/arch/sparc/kernel/
Dvio.c270 vdev->dev_no = ~(u64)0; in vio_create_one()
273 vdev->dev_no = *id; in vio_create_one()
277 vdev->dev_no = *cfg_handle; in vio_create_one()
/linux-2.6.39/sound/oss/
Dwaveartist.c106 int dev_no; member
1390 devc->dev_no = waveartist_init(devc); in attach_waveartist()
1392 if (devc->dev_no < 0) in attach_waveartist()
1444 mixer = audio_devs[devc->dev_no]->mixer_dev; in unload_waveartist()
1449 if (devc->dev_no >= 0) in unload_waveartist()
1450 sound_unload_audiodev(devc->dev_no); in unload_waveartist()
Dad1848.c100 int dev_no; member
2029 devc->dev_no = my_dev; in ad1848_init()
2067 irq2dev[-irq] = devc->dev_no = my_dev; in ad1848_init()
2168 dev = devc->dev_no; in ad1848_unload()
2180 free_irq(devc->irq, (void *)(long)devc->dev_no); in ad1848_unload()
2188 mixer = audio_devs[devc->dev_no]->mixer_dev; in ad1848_unload()
/linux-2.6.39/sound/isa/
Dazt2320.c76 int dev_no; member
/linux-2.6.39/drivers/pci/
Dquirks.c2429 int i, dev_no; in host_bridge_with_leaf() local
2432 dev_no = host_bridge->devfn >> 3; in host_bridge_with_leaf()
2433 for (i = dev_no + 1; i < 0x20; i++) { in host_bridge_with_leaf()
2487 int i, dev_no; in nv_ht_enable_msi_mapping() local
2490 dev_no = dev->devfn >> 3; in nv_ht_enable_msi_mapping()
2491 for (i = dev_no; i >= 0; i--) { in nv_ht_enable_msi_mapping()
/linux-2.6.39/arch/sparc/include/asm/
Dvio.h276 u64 dev_no; member
/linux-2.6.39/sound/isa/sb/
Dsb16.c138 int dev_no; member