devno 86 arch/mips/pci/pci-bcm1480.c u32 devno; devno 92 arch/mips/pci/pci-bcm1480.c devno = PCI_SLOT(devfn); devno 77 arch/mips/pci/pci-bcm1480ht.c u32 devno; devno 83 arch/mips/pci/pci-bcm1480ht.c devno = PCI_SLOT(devfn); devno 93 arch/mips/pci/pci-sb1250.c u32 devno; devno 99 arch/mips/pci/pci-sb1250.c devno = PCI_SLOT(devfn); devno 100 arch/mips/pci/pci-sb1250.c if (devno == LDT_BRIDGE_DEVICE) devno 328 arch/s390/include/asm/cio.h u16 devno; devno 345 arch/s390/include/asm/cio.h (dev_id1->devno == dev_id2->devno)) devno 250 arch/s390/include/asm/diag.h u16 devno; devno 262 arch/s390/include/asm/diag.h u16 devno; devno 287 arch/s390/include/asm/diag.h u16 devno; devno 30 arch/s390/include/uapi/asm/dasd.h unsigned int devno; /* S/390 devno */ devno 100 arch/s390/include/uapi/asm/dasd.h unsigned int devno; /* S/390 devno */ devno 55 arch/s390/include/uapi/asm/ipl.h __u16 devno; devno 80 arch/s390/include/uapi/asm/ipl.h __u16 devno; devno 185 arch/s390/kernel/ipl.c unsigned long long ssid, devno; \ devno 187 arch/s390/kernel/ipl.c if (sscanf(buf, "0.%llx.%llx\n", &ssid, &devno) != 2) \ devno 190 arch/s390/kernel/ipl.c if (ssid > __MAX_SSID || devno > __MAX_SUBCHANNEL) \ devno 194 arch/s390/kernel/ipl.c _ipl_blk.devno = devno; \ devno 200 arch/s390/kernel/ipl.c _ipl_blk.ssid, _ipl_blk.devno); \ devno 313 arch/s390/kernel/ipl.c ipl_block.ccw.devno); devno 316 arch/s390/kernel/ipl.c return sprintf(page, "0.0.%04x\n", ipl_block.fcp.devno); devno 628 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.devno); devno 986 arch/s390/kernel/ipl.c reipl_block_ccw->ccw.devno = ipl_block.ccw.devno; devno 1105 arch/s390/kernel/ipl.c dump_block_fcp->fcp.devno); devno 1685 arch/s390/kernel/ipl.c ipl_info.data.ccw.dev_id.devno = ipl_block.ccw.devno; devno 1690 arch/s390/kernel/ipl.c ipl_info.data.fcp.dev_id.devno = ipl_block.fcp.devno; devno 23 arch/x86/boot/edd.c static int read_mbr(u8 devno, void *buf) devno 30 arch/x86/boot/edd.c ireg.dl = devno; devno 38 arch/x86/boot/edd.c static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) devno 63 arch/x86/boot/edd.c if (read_mbr(devno, mbrbuf_ptr)) devno 73 arch/x86/boot/edd.c static int get_edd_info(u8 devno, struct edd_info *ei) devno 84 arch/x86/boot/edd.c ireg.dl = devno; devno 93 arch/x86/boot/edd.c ei->device = devno; devno 130 arch/x86/boot/edd.c int devno; devno 160 arch/x86/boot/edd.c for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { devno 165 arch/x86/boot/edd.c if (!get_edd_info(devno, &ei) devno 172 arch/x86/boot/edd.c if (do_mbr && !read_mbr_sig(devno, &ei, mbrptr++)) devno 173 arch/x86/boot/edd.c boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; devno 71 drivers/ata/ata_generic.c if (dma_enabled & (1 << (5 + dev->devno))) { devno 554 drivers/ata/ata_piix.c unsigned int is_slave = (adev->devno != 0); devno 628 drivers/ata/ata_piix.c udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); devno 668 drivers/ata/ata_piix.c int devid = adev->devno + 2 * ap->port_no; devno 230 drivers/ata/libata-acpi.c adr = dev->devno; devno 500 drivers/ata/libata-acpi.c unit = dev->devno; devno 780 drivers/ata/libata-acpi.c __func__, dev->devno, ap->port_no); devno 301 drivers/ata/libata-core.c if (!dev->devno) devno 403 drivers/ata/libata-core.c int devno = dev->link->pmp + dev->devno; devno 404 drivers/ata/libata-core.c int alt_devno = devno; devno 418 drivers/ata/libata-core.c if (fe->device != -1 && fe->device != devno && devno 457 drivers/ata/libata-core.c int devno = dev->link->pmp + dev->devno; devno 458 drivers/ata/libata-core.c int alt_devno = devno; devno 471 drivers/ata/libata-core.c if (fe->device != -1 && fe->device != devno && devno 2859 drivers/ata/libata-core.c tries[dev->devno] = ATA_PROBE_MAX_TRIES; devno 2887 drivers/ata/libata-core.c classes[dev->devno] = dev->class; devno 2889 drivers/ata/libata-core.c classes[dev->devno] = ATA_DEV_NONE; devno 2899 drivers/ata/libata-core.c if (tries[dev->devno]) devno 2900 drivers/ata/libata-core.c dev->class = classes[dev->devno]; devno 2946 drivers/ata/libata-core.c tries[dev->devno]--; devno 2951 drivers/ata/libata-core.c tries[dev->devno] = 0; devno 2956 drivers/ata/libata-core.c tries[dev->devno] = min(tries[dev->devno], 1); devno 2959 drivers/ata/libata-core.c if (tries[dev->devno] == 1) { devno 2968 drivers/ata/libata-core.c if (!tries[dev->devno]) devno 3012 drivers/ata/libata-core.c struct ata_device *pair = &link->device[1 - adev->devno]; devno 5303 drivers/ata/libata-core.c ehi->dev_action[dev->devno] |= ATA_EH_REVALIDATE; devno 5957 drivers/ata/libata-core.c dev->devno = dev - link->device; devno 7308 drivers/ata/libata-core.c level, dev->link->ap->print_id, dev->link->pmp + dev->devno, devno 331 drivers/ata/libata-eh.c idx = ehc->cmd_timeout_idx[dev->devno][ent]; devno 356 drivers/ata/libata-eh.c idx = ehc->cmd_timeout_idx[dev->devno][ent]; devno 358 drivers/ata/libata-eh.c ehc->cmd_timeout_idx[dev->devno][ent]++; devno 422 drivers/ata/libata-eh.c return ehc->i.action | ehc->i.dev_action[dev->devno]; devno 433 drivers/ata/libata-eh.c ehi->dev_action[tdev->devno] &= ~action; devno 441 drivers/ata/libata-eh.c ehi->dev_action[tdev->devno] |= devno 447 drivers/ata/libata-eh.c ehi->dev_action[dev->devno] &= ~action; devno 679 drivers/ata/libata-eh.c int devno = dev->devno; devno 681 drivers/ata/libata-eh.c ehc->saved_xfer_mode[devno] = dev->xfer_mode; devno 683 drivers/ata/libata-eh.c ehc->saved_ncq_enabled |= 1 << devno; devno 1323 drivers/ata/libata-eh.c ehc->saved_xfer_mode[dev->devno] = 0; devno 1324 drivers/ata/libata-eh.c ehc->saved_ncq_enabled &= ~(1 << dev->devno); devno 2209 drivers/ata/libata-eh.c ehc->i.dev_action[ehc->i.dev->devno] |= devno 2624 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_UNKNOWN; devno 2750 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_NONE; devno 2765 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_NONE; devno 2867 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_ATA; devno 2869 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_SEMB_UNSUP; devno 2923 drivers/ata/libata-eh.c if (classes[dev->devno] == ATA_DEV_UNKNOWN) { devno 2925 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_NONE; devno 2929 drivers/ata/libata-eh.c if (ata_class_enabled(classes[dev->devno])) devno 2932 drivers/ata/libata-eh.c classes[dev->devno]); devno 2933 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_NONE; devno 2934 drivers/ata/libata-eh.c } else if (classes[dev->devno] == ATA_DEV_UNKNOWN) { devno 2937 drivers/ata/libata-eh.c classes[dev->devno] = ATA_DEV_NONE; devno 3068 drivers/ata/libata-eh.c link->eh_context.i.dev_action[dev->devno] |= devno 3069 drivers/ata/libata-eh.c ehi->dev_action[dev->devno] & ATA_EH_PARK; devno 3084 drivers/ata/libata-eh.c ehc->unloaded_mask |= 1 << dev->devno; devno 3091 drivers/ata/libata-eh.c ehc->unloaded_mask &= ~(1 << dev->devno); devno 3100 drivers/ata/libata-eh.c ehc->unloaded_mask &= ~(1 << dev->devno); devno 3136 drivers/ata/libata-eh.c rc = ata_dev_revalidate(dev, ehc->classes[dev->devno], devno 3151 drivers/ata/libata-eh.c ehc->tries[dev->devno] && devno 3152 drivers/ata/libata-eh.c ata_class_enabled(ehc->classes[dev->devno])) { devno 3159 drivers/ata/libata-eh.c dev->class = ehc->classes[dev->devno]; devno 3168 drivers/ata/libata-eh.c ehc->classes[dev->devno] = dev->class; devno 3175 drivers/ata/libata-eh.c new_mask |= 1 << dev->devno; devno 3201 drivers/ata/libata-eh.c if (!(new_mask & (1 << dev->devno))) devno 3204 drivers/ata/libata-eh.c dev->class = ehc->classes[dev->devno]; devno 3274 drivers/ata/libata-eh.c u8 saved_xfer_mode = ehc->saved_xfer_mode[dev->devno]; devno 3275 drivers/ata/libata-eh.c u8 saved_ncq = !!(ehc->saved_ncq_enabled & (1 << dev->devno)); devno 3533 drivers/ata/libata-eh.c if (!dev || ehc->tries[dev->devno] <= 2) { devno 3589 drivers/ata/libata-eh.c ehc->classes[dev->devno] != ATA_DEV_NONE) devno 3616 drivers/ata/libata-eh.c if (!(ehc->i.probe_mask & (1 << dev->devno)) || devno 3617 drivers/ata/libata-eh.c (ehc->did_probe_mask & (1 << dev->devno))) devno 3622 drivers/ata/libata-eh.c ehc->did_probe_mask |= (1 << dev->devno); devno 3624 drivers/ata/libata-eh.c ehc->saved_xfer_mode[dev->devno] = 0; devno 3625 drivers/ata/libata-eh.c ehc->saved_ncq_enabled &= ~(1 << dev->devno); devno 3667 drivers/ata/libata-eh.c ehc->tries[dev->devno]--; devno 3672 drivers/ata/libata-eh.c ehc->i.probe_mask |= (1 << dev->devno); devno 3676 drivers/ata/libata-eh.c ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); devno 3679 drivers/ata/libata-eh.c if (ehc->tries[dev->devno] == 1) { devno 3689 drivers/ata/libata-eh.c if (ata_dev_enabled(dev) && !ehc->tries[dev->devno]) { devno 3699 drivers/ata/libata-eh.c ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; devno 3700 drivers/ata/libata-eh.c memset(ehc->cmd_timeout_idx[dev->devno], 0, devno 3701 drivers/ata/libata-eh.c sizeof(ehc->cmd_timeout_idx[dev->devno])); devno 3760 drivers/ata/libata-eh.c ehc->tries[dev->devno] = 1; devno 3762 drivers/ata/libata-eh.c ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; devno 3765 drivers/ata/libata-eh.c ehc->i.action |= ehc->i.dev_action[dev->devno] & devno 3767 drivers/ata/libata-eh.c ehc->i.dev_action[dev->devno] &= ATA_EH_PERDEV_MASK; devno 3795 drivers/ata/libata-eh.c ehc->classes[dev->devno] = ATA_DEV_UNKNOWN; devno 3831 drivers/ata/libata-eh.c if (!(ehc->i.dev_action[dev->devno] & devno 3839 drivers/ata/libata-eh.c if (ehc->unloaded_mask & (1 << dev->devno)) devno 3858 drivers/ata/libata-eh.c (1 << dev->devno))) devno 504 drivers/ata/libata-pmp.c if (dev->devno) { devno 568 drivers/ata/libata-pmp.c WARN_ON(!ata_is_host_link(link) || dev->devno || devno 184 drivers/ata/libata-scsi.c link->eh_context.unloaded_mask & (1 << dev->devno) && devno 238 drivers/ata/libata-scsi.c dev->link->eh_info.dev_action[dev->devno] |= ATA_EH_PARK; devno 3033 drivers/ata/libata-scsi.c static struct ata_device *ata_find_dev(struct ata_port *ap, int devno) devno 3036 drivers/ata/libata-scsi.c if (likely(devno >= 0 && devno 3037 drivers/ata/libata-scsi.c devno < ata_link_max_devices(&ap->link))) devno 3038 drivers/ata/libata-scsi.c return &ap->link.device[devno]; devno 3040 drivers/ata/libata-scsi.c if (likely(devno >= 0 && devno 3041 drivers/ata/libata-scsi.c devno < ap->nr_pmp_links)) devno 3042 drivers/ata/libata-scsi.c return &ap->pmp_link[devno].device[0]; devno 3051 drivers/ata/libata-scsi.c int devno; devno 3057 drivers/ata/libata-scsi.c devno = scsidev->id; devno 3061 drivers/ata/libata-scsi.c devno = scsidev->channel; devno 3064 drivers/ata/libata-scsi.c return ata_find_dev(ap, devno); devno 3241 drivers/ata/libata-scsi.c tf->device = dev->devno ? devno 4590 drivers/ata/libata-scsi.c id = dev->devno; devno 4831 drivers/ata/libata-scsi.c int devno, rc = 0; devno 4842 drivers/ata/libata-scsi.c devno = id; devno 4846 drivers/ata/libata-scsi.c devno = channel; devno 4851 drivers/ata/libata-scsi.c if (devno == SCAN_WILD_CARD) { devno 4860 drivers/ata/libata-scsi.c struct ata_device *dev = ata_find_dev(ap, devno); devno 4864 drivers/ata/libata-scsi.c ehi->probe_mask |= 1 << dev->devno; devno 1193 drivers/ata/libata-sff.c ap->print_id, qc->dev->devno, status); devno 1356 drivers/ata/libata-sff.c ata_dev_select(ap, qc->dev->devno, 1, 0); devno 1820 drivers/ata/libata-sff.c ap->ops->sff_dev_select(ap, dev->devno); devno 1835 drivers/ata/libata-sff.c else if ((dev->devno == 0) && (err == 0x81)) devno 2733 drivers/ata/libata-sff.c ata_dev_select(ap, qc->dev->devno, 1, 0); devno 669 drivers/ata/libata-transport.c dev_set_name(dev, "dev%d.%d", ap->print_id,ata_dev->devno); devno 103 drivers/ata/pata_acpi.c return mask & acpi->mask[adev->devno]; devno 114 drivers/ata/pata_acpi.c int unit = adev->devno; devno 137 drivers/ata/pata_acpi.c int unit = adev->devno; devno 146 drivers/ata/pata_ali.c int shift = 4 * adev->devno; devno 175 drivers/ata/pata_ali.c int drwt = 0x5A + 4 * ap->port_no + adev->devno; /* R/W timing */ devno 177 drivers/ata/pata_ali.c int shift = 4 * adev->devno; devno 51 drivers/ata/pata_amd.c int dn = ap->port_no * 2 + adev->devno; devno 285 drivers/ata/pata_amd.c if (dev->devno == 0) devno 697 drivers/ata/pata_arasan_cf.c ata_sff_dev_select(ap, qc->dev->devno); devno 102 drivers/ata/pata_artop.c int dn = adev->devno + 2 * ap->port_no; devno 129 drivers/ata/pata_artop.c int dn = adev->devno + 2 * ap->port_no; devno 156 drivers/ata/pata_artop.c int dn = adev->devno + 2 * ap->port_no; devno 189 drivers/ata/pata_artop.c ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ devno 208 drivers/ata/pata_artop.c int dn = adev->devno + 2 * ap->port_no; devno 260 drivers/ata/pata_artop.c ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ devno 265 drivers/ata/pata_artop.c ultra |= (mode << (4 * adev->devno)); devno 107 drivers/ata/pata_atiixp.c int dn = 2 * ap->port_no + adev->devno; devno 108 drivers/ata/pata_atiixp.c int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); devno 155 drivers/ata/pata_atiixp.c int dn = 2 * ap->port_no + adev->devno; devno 171 drivers/ata/pata_atiixp.c int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); devno 217 drivers/ata/pata_atiixp.c int dn = (2 * ap->port_no) + adev->devno; devno 244 drivers/ata/pata_atiixp.c int dn = (2 * ap->port_no) + qc->dev->devno; devno 128 drivers/ata/pata_atp867x.c if (adev->devno & 1) { devno 221 drivers/ata/pata_atp867x.c if (adev->devno & 1) devno 230 drivers/ata/pata_atp867x.c if (adev->devno & 1) devno 137 drivers/ata/pata_bk3710.c int is_slave = adev->devno; devno 206 drivers/ata/pata_bk3710.c int is_slave = adev->devno; devno 60 drivers/ata/pata_cmd640.c int arttim = ARTIM0 + 2 * adev->devno; devno 116 drivers/ata/pata_cmd640.c timing->reg58[adev->devno] = (t.active << 4) | t.recover; devno 136 drivers/ata/pata_cmd640.c if (ap->port_no != 0 && adev->devno != timing->last) { devno 137 drivers/ata/pata_cmd640.c pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); devno 138 drivers/ata/pata_cmd640.c timing->last = adev->devno; devno 113 drivers/ata/pata_cmd64x.c int arttim = arttim_port[ap->port_no][adev->devno]; devno 114 drivers/ata/pata_cmd64x.c int drwtim = drwtim_port[ap->port_no][adev->devno]; devno 202 drivers/ata/pata_cmd64x.c int shift = 2 * adev->devno; devno 208 drivers/ata/pata_cmd64x.c regD &= ~(0x20 << adev->devno); devno 212 drivers/ata/pata_cmd64x.c regU &= ~(0x05 << adev->devno); devno 218 drivers/ata/pata_cmd64x.c regU |= 1 << adev->devno; /* UDMA on */ devno 220 drivers/ata/pata_cmd64x.c regU |= 4 << adev->devno; devno 222 drivers/ata/pata_cmd64x.c regU &= ~ (1 << adev->devno); /* UDMA off */ devno 226 drivers/ata/pata_cmd64x.c regD |= 0x20 << adev->devno; devno 63 drivers/ata/pata_cs5520.c int slave = adev->devno; devno 57 drivers/ata/pata_cs5530.c if (adev->devno) devno 100 drivers/ata/pata_cs5530.c if (adev->devno == 0) /* Master */ devno 113 drivers/ata/pata_cs5530.c reg |= (1 << (5 + adev->devno)); devno 105 drivers/ata/pata_cs5535.c wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, devno 109 drivers/ata/pata_cs5535.c wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, devno 113 drivers/ata/pata_cs5535.c rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); devno 114 drivers/ata/pata_cs5535.c wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); devno 135 drivers/ata/pata_cs5535.c rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); devno 141 drivers/ata/pata_cs5535.c wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); devno 111 drivers/ata/pata_cs5536.c int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; devno 166 drivers/ata/pata_cs5536.c int cshift = adev->devno ? IDE_CAST_D1_SHIFT : IDE_CAST_D0_SHIFT; devno 205 drivers/ata/pata_cs5536.c int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; devno 70 drivers/ata/pata_cypress.c if (adev->devno == 0) { devno 119 drivers/ata/pata_efar.c if (adev->devno == 0) { devno 142 drivers/ata/pata_efar.c udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); devno 164 drivers/ata/pata_efar.c int devid = adev->devno + 2 * ap->port_no; devno 214 drivers/ata/pata_efar.c if (adev->devno) { /* Slave */ devno 145 drivers/ata/pata_ftide010.c u8 devno = adev->devno & 1; devno 153 drivers/ata/pata_ftide010.c if (!devno) { devno 188 drivers/ata/pata_ftide010.c writeb(timreg, ftide->base + FTIDE010_UDMA_TIMING0 + devno); devno 233 drivers/ata/pata_hpt366.c u32 addr = 0x40 + 4 * adev->devno; devno 416 drivers/ata/pata_hpt37x.c addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); devno 510 drivers/ata/pata_hpt37x.c addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); devno 190 drivers/ata/pata_hpt3x2n.c addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); devno 41 drivers/ata/pata_hpt3x3.c int dn = 2 * ap->port_no + adev->devno; devno 71 drivers/ata/pata_hpt3x3.c int dn = 2 * ap->port_no + adev->devno; devno 217 drivers/ata/pata_icside.c state->port[ap->port_no].speed[adev->devno] = cycle; devno 237 drivers/ata/pata_icside.c set_dma_speed(state->dma, state->port[ap->port_no].speed[qc->dev->devno]); devno 106 drivers/ata/pata_it8213.c if (adev->devno == 0) { devno 145 drivers/ata/pata_it8213.c int devid = adev->devno; devno 159 drivers/ata/pata_it821x.c int unit = adev->devno; devno 189 drivers/ata/pata_it821x.c u8 unit = adev->devno; devno 262 drivers/ata/pata_it821x.c int unit = adev->devno; devno 295 drivers/ata/pata_it821x.c int unit = adev->devno; devno 350 drivers/ata/pata_it821x.c int unit = adev->devno; devno 373 drivers/ata/pata_it821x.c int unit = adev->devno; devno 395 drivers/ata/pata_it821x.c it821x_program(ap, adev, itdev->pio[adev->devno]); devno 449 drivers/ata/pata_it821x.c it821x_passthru_dev_select(qc->ap, qc->dev->devno); devno 281 drivers/ata/pata_legacy.c rt &= 0x07 << (3 * adev->devno); devno 283 drivers/ata/pata_legacy.c rt |= (1 + 3 * pio) << (3 * adev->devno); devno 481 drivers/ata/pata_legacy.c rc |= (adev->devno << 7); devno 491 drivers/ata/pata_legacy.c rc |= adev->devno; /* Index select */ devno 560 drivers/ata/pata_legacy.c rc |= (adev->devno << 7); devno 570 drivers/ata/pata_legacy.c rc |= adev->devno; /* Index select */ devno 656 drivers/ata/pata_legacy.c ld_qdi->clock[adev->devno] = timing; devno 659 drivers/ata/pata_legacy.c outb(timing, ld_qdi->timing + 2 * adev->devno); devno 682 drivers/ata/pata_legacy.c if (ld_qdi->clock[adev->devno] != ld_qdi->last) { devno 684 drivers/ata/pata_legacy.c ld_qdi->last = ld_qdi->clock[adev->devno]; devno 685 drivers/ata/pata_legacy.c outb(ld_qdi->clock[adev->devno], ld_qdi->timing + devno 781 drivers/ata/pata_legacy.c int timing = 0x88 + (ap->port_no * 4) + (adev->devno * 2); devno 398 drivers/ata/pata_macio.c adev->devno, devno 405 drivers/ata/pata_macio.c priv->treg[adev->devno][0] = priv->treg[adev->devno][1] = 0; devno 417 drivers/ata/pata_macio.c priv->treg[adev->devno][0] |= t->reg1; devno 428 drivers/ata/pata_macio.c priv->treg[adev->devno][0] |= t->reg1; devno 429 drivers/ata/pata_macio.c priv->treg[adev->devno][1] |= t->reg2; devno 432 drivers/ata/pata_macio.c priv->treg[adev->devno][0], devno 433 drivers/ata/pata_macio.c priv->treg[adev->devno][1]); devno 436 drivers/ata/pata_macio.c pata_macio_apply_timings(ap, adev->devno); devno 523 drivers/ata/pata_macio.c __func__, qc, qc->flags, write, qc->dev->devno); devno 596 drivers/ata/pata_macio.c int dev = qc->dev->devno; devno 397 drivers/ata/pata_mpc52xx.c rv = mpc52xx_ata_compute_pio_timings(priv, adev->devno, pio); devno 404 drivers/ata/pata_mpc52xx.c mpc52xx_ata_apply_timings(priv, adev->devno); devno 415 drivers/ata/pata_mpc52xx.c rv = mpc52xx_ata_compute_udma_timings(priv, adev->devno, dma); devno 418 drivers/ata/pata_mpc52xx.c rv = mpc52xx_ata_compute_mdma_timings(priv, adev->devno, dma); devno 428 drivers/ata/pata_mpc52xx.c mpc52xx_ata_apply_timings(priv, adev->devno); devno 545 drivers/ata/pata_mpc52xx.c if (priv->timings[qc->dev->devno].using_udma) devno 101 drivers/ata/pata_mpiix.c idetim &= ~(0x07 << (4 * adev->devno)); devno 102 drivers/ata/pata_mpiix.c idetim |= control << (4 * adev->devno); devno 56 drivers/ata/pata_ns87415.c int unit = 2 * ap->port_no + adev->devno; devno 100 drivers/ata/pata_oldpiix.c if (adev->devno == 0) { devno 168 drivers/ata/pata_oldpiix.c if (adev->devno == 0) { devno 142 drivers/ata/pata_opti.c opti_write_reg(ap, adev->devno, MISC_REG); devno 166 drivers/ata/pata_optidma.c iowrite8(adev->devno, regio + MISC_REG); devno 176 drivers/ata/pata_optidma.c iowrite8(addr | adev->devno, regio + MISC_REG); devno 206 drivers/ata/pata_optidma.c int dev2 = 2 * adev->devno; devno 207 drivers/ata/pata_optidma.c int unit = 2 * ap->port_no + adev->devno; devno 194 drivers/ata/pata_pdc2027x.c u8 adj = (adev->devno) ? 0x08 : 0x00; devno 266 drivers/ata/pata_pdc2027x.c if (adev->class != ATA_DEV_ATA || adev->devno == 0 || pair == NULL) devno 82 drivers/ata/pata_pdc202xx_old.c int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; devno 129 drivers/ata/pata_pdc202xx_old.c int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; devno 71 drivers/ata/pata_radisys.c idetm_data |= (control << (4 * adev->devno)); devno 130 drivers/ata/pata_radisys.c idetm_data |= control << (4 * adev->devno); devno 133 drivers/ata/pata_radisys.c udma_enable &= ~(1 << adev->devno); devno 142 drivers/ata/pata_radisys.c udma_mode &= ~(2 << (adev->devno * 4)); devno 144 drivers/ata/pata_radisys.c udma_mode |= (2 << (adev->devno * 4)); devno 148 drivers/ata/pata_radisys.c udma_enable |= (1 << adev->devno); devno 93 drivers/ata/pata_rdc.c unsigned int is_slave = (adev->devno != 0); devno 153 drivers/ata/pata_rdc.c udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); devno 177 drivers/ata/pata_rdc.c int devid = adev->devno + 2 * ap->port_no; devno 249 drivers/ata/pata_rdc.c if (adev->devno) { /* Slave */ devno 93 drivers/ata/pata_sc1200.c pci_write_config_dword(pdev, reg + 8 * adev->devno, devno 131 drivers/ata/pata_sc1200.c if (adev->devno == 0) { devno 100 drivers/ata/pata_sch.c unsigned int port = adev->devno ? D1TIM : D0TIM; devno 129 drivers/ata/pata_sch.c unsigned int port = adev->devno ? D1TIM : D0TIM; devno 200 drivers/ata/pata_serverworks.c int offset = 1 + 2 * ap->port_no - adev->devno; devno 201 drivers/ata/pata_serverworks.c int devbits = (2 * ap->port_no + adev->devno) * 4; devno 230 drivers/ata/pata_serverworks.c int offset = 1 + 2 * ap->port_no - adev->devno; devno 231 drivers/ata/pata_serverworks.c int devbits = 2 * ap->port_no + adev->devno; devno 238 drivers/ata/pata_serverworks.c ultra &= ~(0x0F << (adev->devno * 4)); devno 244 drivers/ata/pata_serverworks.c << (adev->devno * 4); devno 71 drivers/ata/pata_sil680.c base |= adev->devno ? 2 : 0; devno 121 drivers/ata/pata_sil680.c int port_shift = 4 * adev->devno; devno 170 drivers/ata/pata_sil680.c int port_shift = adev->devno * 4; devno 88 drivers/ata/pata_sis.c return 0x40 + (4 * adev->link->ap->port_no) + (2 * adev->devno); devno 111 drivers/ata/pata_sis.c return port + (8 * ap->port_no) + (4 * adev->devno); devno 202 drivers/ata/pata_sis.c mask <<= adev->devno; devno 85 drivers/ata/pata_sl82c105.c int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); devno 122 drivers/ata/pata_sl82c105.c int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); devno 79 drivers/ata/pata_triflex.c unsigned int is_slave = (adev->devno != 0); devno 255 drivers/ata/pata_via.c int offset = 3 - (2*ap->port_no) - adev->devno; devno 649 drivers/ata/sata_promise.c qc->dev->devno, pp->pkt); devno 30 drivers/ata/sata_promise.h unsigned int devno, u8 *buf) devno 58 drivers/ata/sata_promise.h if (devno == 0) devno 359 drivers/ata/sata_sil.c dev_mode[dev->devno] = 0; /* PIO0/1/2 */ devno 361 drivers/ata/sata_sil.c dev_mode[dev->devno] = 1; /* PIO3/4 */ devno 363 drivers/ata/sata_sil.c dev_mode[dev->devno] = 3; /* UDMA */ devno 344 drivers/ata/sata_sx4.c unsigned int devno, u8 *buf, devno 380 drivers/ata/sata_sx4.c if (devno == 0) devno 474 drivers/ata/sata_sx4.c i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); devno 512 drivers/ata/sata_sx4.c i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); devno 406 drivers/ata/sata_via.c pci_write_config_byte(pdev, PATA_PIO_TIMING - adev->devno, devno 414 drivers/ata/sata_via.c pci_write_config_byte(pdev, PATA_UDMA_TIMING - adev->devno, devno 224 drivers/block/skd_main.c u32 devno; devno 1970 drivers/block/skd_main.c mtd = FIT_MXD_CONS(FIT_MTD_CMD_LOG_HOST_ID, 0, skdev->devno); devno 2507 drivers/block/skd_main.c "%s%d-msix %s", DRV_NAME, skdev->devno, devno 2551 drivers/block/skd_main.c skdev->devno); devno 2828 drivers/block/skd_main.c sprintf(disk->disk_name, DRV_NAME "%u", skdev->devno); devno 2831 drivers/block/skd_main.c disk->first_minor = skdev->devno * SKD_MINORS_PER_DEVICE; devno 2899 drivers/block/skd_main.c skdev->devno = skd_next_devno++; devno 1749 drivers/char/pcmcia/cm4000_cs.c static int cm4000_config(struct pcmcia_device * link, int devno) devno 1837 drivers/char/pcmcia/cm4000_cs.c int devno; devno 1840 drivers/char/pcmcia/cm4000_cs.c for (devno = 0; devno < CM4000_MAX_DEV; devno++) devno 1841 drivers/char/pcmcia/cm4000_cs.c if (dev_table[devno] == link) devno 1843 drivers/char/pcmcia/cm4000_cs.c if (devno == CM4000_MAX_DEV) devno 1850 drivers/char/pcmcia/cm4000_cs.c dev_table[devno] = NULL; devno 1853 drivers/char/pcmcia/cm4000_cs.c device_destroy(cmm_class, MKDEV(major, devno)); devno 522 drivers/char/pcmcia/cm4040_cs.c static int reader_config(struct pcmcia_device *link, int devno) devno 541 drivers/char/pcmcia/cm4040_cs.c DEBUGP(2, dev, "device " DEVICE_NAME "%d at %pR\n", devno, devno 604 drivers/char/pcmcia/cm4040_cs.c int devno; devno 607 drivers/char/pcmcia/cm4040_cs.c for (devno = 0; devno < CM_MAX_DEV; devno++) { devno 608 drivers/char/pcmcia/cm4040_cs.c if (dev_table[devno] == link) devno 611 drivers/char/pcmcia/cm4040_cs.c if (devno == CM_MAX_DEV) devno 616 drivers/char/pcmcia/cm4040_cs.c dev_table[devno] = NULL; devno 619 drivers/char/pcmcia/cm4040_cs.c device_destroy(cmx_class, MKDEV(major, devno)); devno 38 drivers/char/pcmcia/scr24x_cs.c int devno; devno 241 drivers/char/pcmcia/scr24x_cs.c dev->devno = find_first_zero_bit(scr24x_minors, SCR24X_DEVS); devno 242 drivers/char/pcmcia/scr24x_cs.c if (dev->devno >= SCR24X_DEVS) { devno 269 drivers/char/pcmcia/scr24x_cs.c ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); devno 279 drivers/char/pcmcia/scr24x_cs.c device_create(scr24x_class, NULL, MKDEV(MAJOR(scr24x_devt), dev->devno), devno 280 drivers/char/pcmcia/scr24x_cs.c NULL, "scr24x%d", dev->devno); devno 286 drivers/char/pcmcia/scr24x_cs.c if (dev->devno < SCR24X_DEVS) devno 287 drivers/char/pcmcia/scr24x_cs.c clear_bit(dev->devno, scr24x_minors); devno 296 drivers/char/pcmcia/scr24x_cs.c device_destroy(scr24x_class, MKDEV(MAJOR(scr24x_devt), dev->devno)); devno 300 drivers/char/pcmcia/scr24x_cs.c clear_bit(dev->devno, scr24x_minors); devno 1307 drivers/edac/i7core_edac.c const unsigned devno, devno 1311 drivers/edac/i7core_edac.c const struct pci_id_descr *dev_descr = &table->descr[devno]; devno 1348 drivers/edac/i7core_edac.c if (devno == 0) devno 1372 drivers/edac/i7core_edac.c if (i7core_dev->pdev[devno]) { devno 1382 drivers/edac/i7core_edac.c i7core_dev->pdev[devno] = pdev; devno 2332 drivers/edac/sb_edac.c const unsigned devno, devno 2336 drivers/edac/sb_edac.c const struct pci_id_descr *dev_descr = &table->descr[devno]; devno 2359 drivers/edac/sb_edac.c if (devno == 0) devno 2377 drivers/edac/sb_edac.c if (dev_descr->dom == IMC1 && devno != 1) { devno 255 drivers/input/misc/apanel.c u8 devno; devno 271 drivers/input/misc/apanel.c for ( ; (devno = readb(p)) & 0x7f; p += 4) { devno 285 drivers/input/misc/apanel.c switch (devno) { devno 287 drivers/input/misc/apanel.c devno = APANEL_DEV_APPBTN; devno 290 drivers/input/misc/apanel.c devno = APANEL_DEV_LED; devno 294 drivers/input/misc/apanel.c if (devno >= APANEL_DEV_MAX) devno 295 drivers/input/misc/apanel.c pr_notice(APANEL ": unknown device %u found\n", devno); devno 296 drivers/input/misc/apanel.c else if (device_chip[devno] != CHIP_NONE) devno 298 drivers/input/misc/apanel.c devno); devno 302 drivers/input/misc/apanel.c method, devno); devno 304 drivers/input/misc/apanel.c device_chip[devno] = (enum apanel_chip) chip; devno 49 drivers/media/pci/cx25821/cx25821-alsa.c static int devno; devno 699 drivers/media/pci/cx25821/cx25821-alsa.c if (devno >= SNDRV_CARDS) { devno 704 drivers/media/pci/cx25821/cx25821-alsa.c if (!enable[devno]) { devno 705 drivers/media/pci/cx25821/cx25821-alsa.c ++devno; devno 710 drivers/media/pci/cx25821/cx25821-alsa.c err = snd_card_new(&dev->pci->dev, index[devno], id[devno], devno 754 drivers/media/pci/cx25821/cx25821-alsa.c devno); devno 764 drivers/media/pci/cx25821/cx25821-alsa.c devno++; devno 846 drivers/media/pci/cx88/cx88-alsa.c static int devno; devno 901 drivers/media/pci/cx88/cx88-alsa.c core->name, devno, devno 922 drivers/media/pci/cx88/cx88-alsa.c if (devno >= SNDRV_CARDS) devno 925 drivers/media/pci/cx88/cx88-alsa.c if (!enable[devno]) { devno 926 drivers/media/pci/cx88/cx88-alsa.c ++devno; devno 930 drivers/media/pci/cx88/cx88-alsa.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, devno 970 drivers/media/pci/cx88/cx88-alsa.c card->driver, devno); devno 977 drivers/media/pci/cx88/cx88-alsa.c devno++; devno 994 drivers/media/pci/cx88/cx88-alsa.c devno--; devno 1375 drivers/media/usb/cx231xx/cx231xx-cards.c clear_bit(dev->devno, &cx231xx_devused); devno 1734 drivers/media/usb/cx231xx/cx231xx-cards.c dev->devno = nr; devno 1791 drivers/media/usb/cx231xx/cx231xx-cards.c nr = dev->devno; devno 2231 drivers/media/usb/cx231xx/cx231xx-video.c video_nr[dev->devno]); devno 2264 drivers/media/usb/cx231xx/cx231xx-video.c vbi_nr[dev->devno]); devno 2279 drivers/media/usb/cx231xx/cx231xx-video.c radio_nr[dev->devno]); devno 582 drivers/media/usb/cx231xx/cx231xx.h int devno; /* marks the number of this device */ devno 3385 drivers/media/usb/em28xx/em28xx-cards.c clear_bit(dev->devno, em28xx_devused); devno 3587 drivers/media/usb/em28xx/em28xx-cards.c sec_dev->devno = nr; devno 3818 drivers/media/usb/em28xx/em28xx-cards.c dev->devno = nr; devno 3928 drivers/media/usb/em28xx/em28xx-cards.c dev->dev_next->devno); devno 2793 drivers/media/usb/em28xx/em28xx-video.c video_nr[dev->devno]); devno 2827 drivers/media/usb/em28xx/em28xx-video.c vbi_nr[dev->devno]); devno 2840 drivers/media/usb/em28xx/em28xx-video.c radio_nr[dev->devno]); devno 654 drivers/media/usb/em28xx/em28xx.h int devno; // marks the number of this device devno 1214 drivers/media/usb/tm6000/tm6000-cards.c dev->devno = nr; devno 1382 drivers/media/usb/tm6000/tm6000-cards.c clear_bit(dev->devno, &tm6000_devused); devno 165 drivers/media/usb/tm6000/tm6000.h int devno; /* marks the number of this device */ devno 62 drivers/mfd/janz-cmodio.c char *name, unsigned int devno, devno 71 drivers/mfd/janz-cmodio.c cell = &priv->cells[devno]; devno 72 drivers/mfd/janz-cmodio.c res = &priv->resources[devno * 3]; devno 73 drivers/mfd/janz-cmodio.c pdata = &priv->pdata[devno]; devno 950 drivers/misc/mei/main.c int ret, devno; devno 957 drivers/misc/mei/main.c devno = MKDEV(MAJOR(mei_devt), dev->minor); devno 962 drivers/misc/mei/main.c ret = cdev_add(&dev->cdev, devno, 1); devno 969 drivers/misc/mei/main.c clsdev = device_create_with_groups(mei_class, parent, devno, devno 994 drivers/misc/mei/main.c int devno; devno 996 drivers/misc/mei/main.c devno = dev->cdev.dev; devno 1001 drivers/misc/mei/main.c device_destroy(mei_class, devno); devno 21 drivers/misc/ocxl/file.c static struct ocxl_file_info *find_and_get_file_info(dev_t devno) devno 26 drivers/misc/ocxl/file.c info = idr_find(&minors_idr, MINOR(devno)); devno 2063 drivers/rapidio/rio_cm.c static int riocm_cdev_add(dev_t devno) devno 2069 drivers/rapidio/rio_cm.c ret = cdev_add(&riocm_cdev.cdev, devno, 1); devno 2075 drivers/rapidio/rio_cm.c riocm_cdev.dev = device_create(dev_class, NULL, devno, NULL, DEV_NAME); devno 2082 drivers/rapidio/rio_cm.c DEV_NAME, MAJOR(devno), MINOR(devno)); devno 3440 drivers/s390/block/dasd.c diag_data.vrdcdvno = dev_id.devno; devno 3447 drivers/s390/block/dasd.c dev_id.devno, rc); devno 133 drivers/s390/block/dasd_devmap.c static int __init dasd_busid(char *str, int *id0, int *id1, int *devno) devno 146 drivers/s390/block/dasd_devmap.c *devno = ipl_info.data.ccw.dev_id.devno; devno 156 drivers/s390/block/dasd_devmap.c *devno = val; devno 174 drivers/s390/block/dasd_devmap.c *devno = val; devno 113 drivers/s390/block/dasd_diag.c iib->dev_nr = private->dev_id.devno; devno 136 drivers/s390/block/dasd_diag.c iib->dev_nr = private->dev_id.devno; devno 181 drivers/s390/block/dasd_diag.c private->iob.dev_nr = private->dev_id.devno; devno 351 drivers/s390/block/dasd_diag.c rdc_data->dev_nr = private->dev_id.devno; devno 114 drivers/s390/block/dasd_int.h __dev_id.ssid, __dev_id.devno, d_data); \ devno 490 drivers/s390/block/dasd_ioctl.c dasd_info->devno = dev_id.devno; devno 436 drivers/s390/char/raw3270.c diag_data.vrdcdvno = dev_id.devno; devno 84 drivers/s390/char/tape_core.c return dev_id->devno + (dev_id->ssid << 16); devno 146 drivers/s390/char/vmur.c static struct urdev *urdev_get_from_devno(u16 devno) devno 152 drivers/s390/char/vmur.c sprintf(bus_id, "0.0.%04x", devno); devno 373 drivers/s390/char/vmur.c ur_diag210.vrdcdvno = urd->dev_id.devno; devno 468 drivers/s390/char/vmur.c static int diag_position_to_record(int devno, int record) devno 472 drivers/s390/char/vmur.c cc = diag14(record, devno, 0x28); devno 493 drivers/s390/char/vmur.c static int diag_read_file(int devno, char *buf) devno 497 drivers/s390/char/vmur.c cc = diag14((unsigned long) buf, devno, 0x00); devno 522 drivers/s390/char/vmur.c rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); devno 536 drivers/s390/char/vmur.c rc = diag_read_file(urd->dev_id.devno, buf); devno 626 drivers/s390/char/vmur.c rc = diag_read_file(urd->dev_id.devno, buf); devno 694 drivers/s390/char/vmur.c u16 devno; devno 708 drivers/s390/char/vmur.c devno = MINOR(file_inode(file)->i_rdev); devno 710 drivers/s390/char/vmur.c urd = urdev_get_from_devno(devno); devno 886 drivers/s390/char/vmur.c minor = urd->dev_id.devno; devno 300 drivers/s390/char/zcore.c TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); devno 102 drivers/s390/cio/blacklist.c unsigned int *devno, int msgtrigger) devno 118 drivers/s390/cio/blacklist.c *devno = val; devno 136 drivers/s390/cio/blacklist.c ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); devno 180 drivers/s390/cio/blacklist.c from = ipl_info.data.ccw.dev_id.devno; devno 185 drivers/s390/cio/blacklist.c from = ipl_info.data.fcp.dev_id.devno; devno 246 drivers/s390/cio/blacklist.c is_blacklisted (int ssid, int devno) devno 248 drivers/s390/cio/blacklist.c return test_bit (devno, bl_dev[ssid]); devno 279 drivers/s390/cio/blacklist.c int devno; devno 293 drivers/s390/cio/blacklist.c iter->devno = *offset % (__MAX_SUBCHANNEL + 1); devno 312 drivers/s390/cio/blacklist.c if (iter->devno == __MAX_SUBCHANNEL) { devno 313 drivers/s390/cio/blacklist.c iter->devno = 0; devno 318 drivers/s390/cio/blacklist.c iter->devno++; devno 328 drivers/s390/cio/blacklist.c if (!is_blacklisted(iter->ssid, iter->devno)) devno 333 drivers/s390/cio/blacklist.c if ((iter->devno == __MAX_SUBCHANNEL) || devno 334 drivers/s390/cio/blacklist.c !is_blacklisted(iter->ssid, iter->devno + 1)) { devno 336 drivers/s390/cio/blacklist.c seq_printf(s, "0.%x.%04x\n", iter->ssid, iter->devno); devno 340 drivers/s390/cio/blacklist.c seq_printf(s, "0.%x.%04x-", iter->ssid, iter->devno); devno 343 drivers/s390/cio/blacklist.c if ((iter->devno == __MAX_SUBCHANNEL) || devno 344 drivers/s390/cio/blacklist.c !is_blacklisted(iter->ssid, iter->devno + 1)) { devno 347 drivers/s390/cio/blacklist.c seq_printf(s, "0.%x.%04x\n", iter->ssid, iter->devno); devno 5 drivers/s390/cio/blacklist.h extern int is_blacklisted (int ssid, int devno); devno 275 drivers/s390/cio/ccwgroup.c unsigned int cssid, ssid, devno; devno 292 drivers/s390/cio/ccwgroup.c if (sscanf(start, "%2x.%1x.%04x", &cssid, &ssid, &devno) != 3) devno 299 drivers/s390/cio/ccwgroup.c id->devno = devno; devno 89 drivers/s390/cio/chsc.c u16 devno; /* device number */ devno 317 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 384 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 441 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 744 drivers/s390/cio/device.c priv->dev_id.devno = sch->schib.pmcw.dev; devno 760 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 843 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 861 drivers/s390/cio/device.c cdev->private->dev_id.devno, ret); devno 962 drivers/s390/cio/device.c cdev->private->dev_id.devno, sch->schid.ssid, devno 1274 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 1335 drivers/s390/cio/device.c if (is_blacklisted(id->ssid, id->devno) && devno 1339 drivers/s390/cio/device.c id->devno); devno 1413 drivers/s390/cio/device.c if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) { devno 1541 drivers/s390/cio/device.c dev_id.devno = sch->schib.pmcw.dev; devno 1775 drivers/s390/cio/device.c cdev->private->dev_id.devno); devno 2006 drivers/s390/cio/device.c cdev->private->dev_id.devno, ret); devno 2083 drivers/s390/cio/device.c priv->dev_id.ssid, priv->dev_id.devno, todo); devno 2125 drivers/s390/cio/device.c cdev->private->dev_id.ssid, cdev->private->dev_id.devno, devno 140 drivers/s390/cio/device_fsm.c cdev->private->dev_id.devno); devno 305 drivers/s390/cio/device_fsm.c cdev->private->dev_id.ssid, cdev->private->dev_id.devno, devno 358 drivers/s390/cio/device_fsm.c cdev->private->dev_id.devno, sch->schid.sch_no); devno 366 drivers/s390/cio/device_fsm.c cdev->private->dev_id.devno, sch->schid.sch_no); devno 375 drivers/s390/cio/device_fsm.c "%04x\n", cdev->private->dev_id.devno, devno 840 drivers/s390/cio/device_fsm.c cdev->private->dev_id.devno); devno 970 drivers/s390/cio/device_fsm.c if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) devno 109 drivers/s390/cio/device_id.c diag_data.vrdcdvno = dev_id->devno; devno 123 drivers/s390/cio/device_id.c dev_id->ssid, dev_id->devno); devno 127 drivers/s390/cio/device_id.c dev_id->ssid, dev_id->devno, rc); devno 187 drivers/s390/cio/device_id.c "%04x/%02x%s\n", id->ssid, id->devno, rc, devno 49 drivers/s390/cio/device_pgid.c "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, devno 175 drivers/s390/cio/device_pgid.c id->ssid, id->devno, cdev->private->pgid_valid_mask, devno 406 drivers/s390/cio/device_pgid.c id->devno, rc, cdev->private->pgid_valid_mask, sch->vpm, devno 588 drivers/s390/cio/device_pgid.c CIO_MSG_EVENT(0, "disb: device 0.%x.%04x: rc=%d\n", id->ssid, id->devno, devno 41 drivers/s390/cio/device_status.c cdev->private->dev_id.devno, sch->schid.ssid, devno 31 drivers/s390/cio/trace.h __field(u16, devno) devno 50 drivers/s390/cio/trace.h __entry->devno = schib->pmcw.dev; devno 104 drivers/s390/net/qeth_core.h id = dev_id.devno; devno 863 drivers/s390/net/qeth_core.h __u16 devno; devno 1577 drivers/s390/net/qeth_core_main.c request->devno = id.devno; devno 1995 drivers/s390/net/qeth_core_main.c memcpy(QETH_IDX_ACT_QDIO_DEV_CUA(iob->data), &dev_id.devno, 2); devno 2272 drivers/s390/net/qeth_core_main.c memcpy(QETH_ULP_SETUP_CUA(iob->data), &dev_id.devno, 2); devno 3044 drivers/s390/net/qeth_core_main.c tid->devno = ccwid.devno; devno 4631 drivers/s390/net/qeth_core_main.c request->devno = id.devno; devno 1048 drivers/s390/net/qeth_l2_main.c u16 devno; devno 1050 drivers/s390/net/qeth_l2_main.c memcpy(&devno, read_dev_no, 2); devno 1051 drivers/s390/net/qeth_l2_main.c sprintf(bus_id, "0.0.%04x", devno); devno 831 drivers/s390/scsi/zfcp_fc.c char devno[] = "DEVNO:"; devno 859 drivers/s390/scsi/zfcp_fc.c !(strstr(gspn_rsp->gspn.fp_name, devno))) devno 862 drivers/s390/scsi/zfcp_fc.c gspn_rsp->gspn.fp_name, devno, devno 479 drivers/s390/scsi/zfcp_scsi.c adapter->scsi_host->unique_id = dev_id.devno; devno 1163 drivers/s390/virtio/virtio_ccw.c if (test_bit(id.devno, devs_no_auto[id.ssid])) devno 1440 drivers/s390/virtio/virtio_ccw.c unsigned int *ssid, unsigned int *devno) devno 1459 drivers/s390/virtio/virtio_ccw.c ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); devno 3609 drivers/scsi/cxlflash/main.c dev_t devno; devno 3620 drivers/scsi/cxlflash/main.c devno = MKDEV(cxlflash_major, minor); devno 3623 drivers/scsi/cxlflash/main.c rc = cdev_add(&cfg->cdev, devno, 1); devno 3629 drivers/scsi/cxlflash/main.c char_dev = device_create(cxlflash_class, NULL, devno, devno 3895 drivers/scsi/cxlflash/main.c dev_t devno; devno 3898 drivers/scsi/cxlflash/main.c rc = alloc_chrdev_region(&devno, 0, CXLFLASH_MAX_ADAPTERS, "cxlflash"); devno 3904 drivers/scsi/cxlflash/main.c cxlflash_major = MAJOR(devno); devno 3918 drivers/scsi/cxlflash/main.c unregister_chrdev_region(devno, CXLFLASH_MAX_ADAPTERS); devno 3927 drivers/scsi/cxlflash/main.c dev_t devno = MKDEV(cxlflash_major, 0); devno 3930 drivers/scsi/cxlflash/main.c unregister_chrdev_region(devno, CXLFLASH_MAX_ADAPTERS); devno 132 drivers/siox/siox-core.c unsigned int devno = 0; devno 180 drivers/siox/siox-core.c trace_siox_set_data(smaster, sdevice, devno, i); devno 182 drivers/siox/siox-core.c devno++; devno 192 drivers/siox/siox-core.c devno = 0; devno 267 drivers/siox/siox-core.c trace_siox_get_data(smaster, sdevice, devno, status_clean, i); devno 273 drivers/siox/siox-core.c devno++; devno 63 drivers/staging/comedi/drivers/pcm3724.c static int compute_buffer(int config, int devno, struct comedi_subdevice *s) devno 67 drivers/staging/comedi/drivers/pcm3724.c if (devno == 0) devno 73 drivers/staging/comedi/drivers/pcm3724.c if (devno == 0) devno 79 drivers/staging/comedi/drivers/pcm3724.c if (devno == 0) devno 270 drivers/staging/fieldbus/dev_core.c dev_t devno; devno 280 drivers/staging/fieldbus/dev_core.c devno = MKDEV(MAJOR(fieldbus_devt), fb->id); devno 283 drivers/staging/fieldbus/dev_core.c err = cdev_add(&fb->cdev, devno, 1); devno 289 drivers/staging/fieldbus/dev_core.c fb->dev = device_create(&fieldbus_class, fb->parent, devno, fb, devno 24 drivers/staging/most/cdev/cdev.c dev_t devno; devno 40 drivers/staging/most/cdev/cdev.c dev_t devno; devno 98 drivers/staging/most/cdev/cdev.c device_destroy(comp.class, c->devno); devno 107 drivers/staging/most/cdev/cdev.c ida_simple_remove(&comp.minor_id, MINOR(c->devno)); devno 453 drivers/staging/most/cdev/cdev.c c->devno = MKDEV(comp.major, current_minor); devno 456 drivers/staging/most/cdev/cdev.c retval = cdev_add(&c->cdev, c->devno, 1); devno 473 drivers/staging/most/cdev/cdev.c c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); devno 521 drivers/staging/most/cdev/cdev.c err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev"); devno 524 drivers/staging/most/cdev/cdev.c comp.major = MAJOR(comp.devno); devno 536 drivers/staging/most/cdev/cdev.c unregister_chrdev_region(comp.devno, CHRDEV_REGION_SIZE); devno 556 drivers/staging/most/cdev/cdev.c unregister_chrdev_region(comp.devno, CHRDEV_REGION_SIZE); devno 104 drivers/watchdog/smsc37b787_wdt.c static inline void select_io_device(unsigned char devno) devno 107 drivers/watchdog/smsc37b787_wdt.c outb(devno, IOPORT+1); devno 671 include/linux/libata.h unsigned int devno; /* 0 or 1 */ devno 1704 include/linux/libata.h if (dev->devno == 0) devno 522 include/sound/wavefront.h u16 devno; /* fill in when sending */ devno 180 include/trace/events/libata.h __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; devno 238 include/trace/events/libata.h __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; devno 293 include/trace/events/libata.h __entry->ata_dev = dev->link->pmp + dev->devno; devno 320 include/trace/events/libata.h __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; devno 12 include/trace/events/siox.h unsigned int devno, size_t bufoffset), devno 13 include/trace/events/siox.h TP_ARGS(smaster, sdevice, devno, bufoffset), devno 16 include/trace/events/siox.h __field(unsigned int, devno) devno 22 include/trace/events/siox.h __entry->devno = devno; devno 29 include/trace/events/siox.h __entry->devno, devno 37 include/trace/events/siox.h unsigned int devno, u8 status_clean, devno 39 include/trace/events/siox.h TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset), devno 42 include/trace/events/siox.h __field(unsigned int, devno) devno 49 include/trace/events/siox.h __entry->devno = devno; devno 57 include/trace/events/siox.h __entry->devno, devno 153 include/uapi/linux/soundcard.h int devno; /* Synthesizer # */ devno 159 include/uapi/linux/soundcard.h int devno; /* Synthesizer # */ devno 953 sound/pci/ad1889.c static int devno; devno 958 sound/pci/ad1889.c if (devno >= SNDRV_CARDS) devno 960 sound/pci/ad1889.c if (!enable[devno]) { devno 961 sound/pci/ad1889.c devno++; devno 966 sound/pci/ad1889.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, devno 986 sound/pci/ad1889.c err = snd_ad1889_ac97_init(chip, ac97_quirk[devno]); devno 1005 sound/pci/ad1889.c devno++;