/linux-3.4.99/arch/x86/boot/ |
D | edd.c | 24 static int read_mbr(u8 devno, void *buf) in read_mbr() argument 31 ireg.dl = devno; in read_mbr() 39 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument 64 if (read_mbr(devno, mbrbuf_ptr)) in read_mbr_sig() 74 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument 85 ireg.dl = devno; in get_edd_info() 94 ei->device = devno; in get_edd_info() 131 int devno; in query_edd() local 161 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { in query_edd() 166 if (!get_edd_info(devno, &ei) in query_edd() [all …]
|
/linux-3.4.99/drivers/s390/cio/ |
D | blacklist.c | 103 unsigned int *devno, int msgtrigger) in parse_busid() argument 119 *devno = val; in parse_busid() 137 ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); in parse_busid() 224 is_blacklisted (int ssid, int devno) in is_blacklisted() argument 226 return test_bit (devno, bl_dev[ssid]); in is_blacklisted() 257 int devno; member 271 iter->devno = *offset % (__MAX_SUBCHANNEL + 1); in cio_ignore_proc_seq_start() 288 if (iter->devno == __MAX_SUBCHANNEL) { in cio_ignore_proc_seq_next() 289 iter->devno = 0; in cio_ignore_proc_seq_next() 294 iter->devno++; in cio_ignore_proc_seq_next() [all …]
|
D | device_id.c | 108 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info() 122 dev_id->ssid, dev_id->devno); in diag210_get_dev_info() 126 dev_id->ssid, dev_id->devno, rc); in diag210_get_dev_info() 184 "%04x/%02x%s\n", id->ssid, id->devno, rc, in snsid_callback()
|
/linux-3.4.99/arch/powerpc/platforms/cell/ |
D | celleb_pci.c | 102 int devno, int fn) in get_fake_config_start() argument 109 return private->fake_config[devno][fn]; in get_fake_config_start() 114 int devno, int fn) in get_resource_start() argument 121 return private->res[devno][fn]; in get_resource_start() 166 unsigned int devno = devfn >> 3; in celleb_fake_pci_read_config() local 173 config = get_fake_config_start(hose, devno, fn); in celleb_fake_pci_read_config() 175 pr_debug("devno=0x%x, where=0x%x, size=0x%x, ", devno, where, size); in celleb_fake_pci_read_config() 194 unsigned int devno = devfn >> 3; in celleb_fake_pci_write_config() local 200 config = get_fake_config_start(hose, devno, fn); in celleb_fake_pci_write_config() 213 res = get_resource_start(hose, devno, fn); in celleb_fake_pci_write_config() [all …]
|
/linux-3.4.99/drivers/input/misc/ |
D | apanel.c | 275 u8 devno; in apanel_init() local 291 for ( ; (devno = readb(p)) & 0x7f; p += 4) { in apanel_init() 305 switch (devno) { in apanel_init() 307 devno = APANEL_DEV_APPBTN; in apanel_init() 310 devno = APANEL_DEV_LED; in apanel_init() 314 if (devno >= APANEL_DEV_MAX) in apanel_init() 315 pr_notice(APANEL ": unknown device %u found\n", devno); in apanel_init() 316 else if (device_chip[devno] != CHIP_NONE) in apanel_init() 317 pr_warning(APANEL ": duplicate entry for devno %u\n", devno); in apanel_init() 321 method, devno); in apanel_init() [all …]
|
/linux-3.4.99/Documentation/s390/ |
D | config3270.sh | 52 while read devno maj min;do 61 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR 65 echo mknod $D/$TTY$devno c $maj $min >>$SCR 66 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR 68 echo "echo t$min$GETTYLINE $TTY$devno >> $NINITTAB" >> $SCRTMP
|
/linux-3.4.99/drivers/ata/ |
D | pata_cs5535.c | 118 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode() 122 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode() 126 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode() 127 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode() 148 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode() 154 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
|
D | pata_radisys.c | 71 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode() 130 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode() 133 udma_enable &= ~(1 << adev->devno); in radisys_set_dmamode() 142 udma_mode &= ~(2 << (adev->devno * 4)); in radisys_set_dmamode() 144 udma_mode |= (2 << (adev->devno * 4)); in radisys_set_dmamode() 148 udma_enable |= (1 << adev->devno); in radisys_set_dmamode()
|
D | libata-eh.c | 346 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout() 371 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out() 373 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out() 437 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action() 448 ehi->dev_action[tdev->devno] &= ~action; in ata_eh_clear_action() 456 ehi->dev_action[tdev->devno] |= in ata_eh_clear_action() 462 ehi->dev_action[dev->devno] &= ~action; in ata_eh_clear_action() 747 int devno = dev->devno; in ata_scsi_port_error_handler() local 749 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler() 751 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler() [all …]
|
D | pata_atiixp.c | 91 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_pio_timing() 92 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_pio_timing() 139 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_dmamode() 155 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_dmamode() 201 int dn = (2 * ap->port_no) + adev->devno; in atiixp_bmdma_start() 228 int dn = (2 * ap->port_no) + qc->dev->devno; in atiixp_bmdma_stop()
|
D | pata_cmd64x.c | 113 int arttim = arttim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 114 int drwtim = drwtim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 202 int shift = 2 * adev->devno; in cmd64x_set_dmamode() 208 regD &= ~(0x20 << adev->devno); in cmd64x_set_dmamode() 212 regU &= ~(0x05 << adev->devno); in cmd64x_set_dmamode() 218 regU |= 1 << adev->devno; /* UDMA on */ in cmd64x_set_dmamode() 220 regU |= 4 << adev->devno; in cmd64x_set_dmamode() 222 regU &= ~ (1 << adev->devno); /* UDMA off */ in cmd64x_set_dmamode() 226 regD |= 0x20 << adev->devno; in cmd64x_set_dmamode()
|
D | pata_artop.c | 102 int dn = adev->devno + 2 * ap->port_no; in artop6210_load_piomode() 129 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_piomode() 156 int dn = adev->devno + 2 * ap->port_no; in artop6260_load_piomode() 189 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_piomode() 208 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_dmamode() 260 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_dmamode() 265 ultra |= (mode << (4 * adev->devno)); in artop6260_set_dmamode()
|
D | pata_cmd640.c | 60 int arttim = ARTIM0 + 2 * adev->devno; in cmd640_set_piomode() 116 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode() 136 if (ap->port_no != 0 && adev->devno != timing->last) { in cmd640_qc_issue() 137 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); in cmd640_qc_issue() 138 timing->last = adev->devno; in cmd640_qc_issue()
|
D | pata_serverworks.c | 200 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_piomode() 201 int devbits = (2 * ap->port_no + adev->devno) * 4; in serverworks_set_piomode() 230 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_dmamode() 231 int devbits = 2 * ap->port_no + adev->devno; in serverworks_set_dmamode() 238 ultra &= ~(0x0F << (adev->devno * 4)); in serverworks_set_dmamode() 244 << (adev->devno * 4); in serverworks_set_dmamode()
|
D | pata_efar.c | 119 if (adev->devno == 0) { in efar_set_piomode() 142 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); in efar_set_piomode() 164 int devid = adev->devno + 2 * ap->port_no; in efar_set_dmamode() 214 if (adev->devno) { /* Slave */ in efar_set_dmamode()
|
D | pata_it821x.c | 160 int unit = adev->devno; in it821x_program_udma() 190 u8 unit = adev->devno; in it821x_clock_strategy() 263 int unit = adev->devno; in it821x_passthru_set_piomode() 296 int unit = adev->devno; in it821x_passthru_set_dmamode() 351 int unit = adev->devno; in it821x_passthru_bmdma_start() 374 int unit = adev->devno; in it821x_passthru_bmdma_stop() 396 it821x_program(ap, adev, itdev->pio[adev->devno]); in it821x_passthru_dev_select() 450 it821x_passthru_dev_select(qc->ap, qc->dev->devno); in it821x_passthru_qc_issue()
|
D | pata_legacy.c | 295 rt &= 0x07 << (3 * adev->devno); in pdc20230_set_piomode() 297 rt |= (1 + 3 * pio) << (3 * adev->devno); in pdc20230_set_piomode() 494 rc |= (adev->devno << 7); in opti82c611a_set_piomode() 504 rc |= adev->devno; /* Index select */ in opti82c611a_set_piomode() 573 rc |= (adev->devno << 7); in opti82c46x_set_piomode() 583 rc |= adev->devno; /* Index select */ in opti82c46x_set_piomode() 669 ld_qdi->clock[adev->devno] = timing; in qdi65x0_set_piomode() 672 outb(timing, ld_qdi->timing + 2 * adev->devno); in qdi65x0_set_piomode() 695 if (ld_qdi->clock[adev->devno] != ld_qdi->last) { in qdi_qc_issue() 697 ld_qdi->last = ld_qdi->clock[adev->devno]; in qdi_qc_issue() [all …]
|
/linux-3.4.99/arch/s390/include/asm/ |
D | cio.h | 254 u16 devno; member 271 (dev_id1->devno == dev_id2->devno)) in ccw_dev_id_is_equal() 283 u16 devno; member
|
/linux-3.4.99/drivers/s390/char/ |
D | vmur.c | 145 static struct urdev *urdev_get_from_devno(u16 devno) in urdev_get_from_devno() argument 151 sprintf(bus_id, "0.0.%04x", devno); in urdev_get_from_devno() 371 ur_diag210.vrdcdvno = urd->dev_id.devno; in get_urd_class() 466 static int diag_position_to_record(int devno, int record) in diag_position_to_record() argument 470 cc = diag14(record, devno, 0x28); in diag_position_to_record() 491 static int diag_read_file(int devno, char *buf) in diag_read_file() argument 495 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file() 520 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); in diag14_read() 534 rc = diag_read_file(urd->dev_id.devno, buf); in diag14_read() 624 rc = diag_read_file(urd->dev_id.devno, buf); in verify_uri_device() [all …]
|
/linux-3.4.99/drivers/char/pcmcia/ |
D | cm4040_cs.c | 523 static int reader_config(struct pcmcia_device *link, int devno) in reader_config() argument 543 DEBUGP(2, dev, "device " DEVICE_NAME "%d at %pR\n", devno, in reader_config() 606 int devno; in reader_detach() local 609 for (devno = 0; devno < CM_MAX_DEV; devno++) { in reader_detach() 610 if (dev_table[devno] == link) in reader_detach() 613 if (devno == CM_MAX_DEV) in reader_detach() 618 dev_table[devno] = NULL; in reader_detach() 621 device_destroy(cmx_class, MKDEV(major, devno)); in reader_detach()
|
/linux-3.4.99/drivers/media/video/cx25821/ |
D | cx25821-alsa.c | 63 static int devno; variable 668 if (devno >= SNDRV_CARDS) { in cx25821_audio_initdev() 673 if (!enable[devno]) { in cx25821_audio_initdev() 674 ++devno; in cx25821_audio_initdev() 679 err = snd_card_create(index[devno], id[devno], THIS_MODULE, in cx25821_audio_initdev() 725 devno); in cx25821_audio_initdev() 734 snd_cx25821_cards[devno] = card; in cx25821_audio_initdev() 736 devno++; in cx25821_audio_initdev()
|
/linux-3.4.99/drivers/mfd/ |
D | janz-cmodio.c | 67 char *name, unsigned int devno, in cmodio_setup_subdevice() argument 76 cell = &priv->cells[devno]; in cmodio_setup_subdevice() 77 res = &priv->resources[devno * 3]; in cmodio_setup_subdevice() 78 pdata = &priv->pdata[devno]; in cmodio_setup_subdevice()
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | pcm3724.c | 131 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) in compute_buffer() argument 135 if (devno == 0) in compute_buffer() 141 if (devno == 0) in compute_buffer() 147 if (devno == 0) in compute_buffer()
|
/linux-3.4.99/arch/mips/pci/ |
D | pci-sb1250.c | 106 u32 devno; in sb1250_pci_can_access() local 112 devno = PCI_SLOT(devfn); in sb1250_pci_can_access() 113 if (devno == LDT_BRIDGE_DEVICE) in sb1250_pci_can_access()
|
/linux-3.4.99/drivers/media/video/cx88/ |
D | cx88-alsa.c | 807 static int devno; variable 863 "latency: %d, mmio: 0x%llx\n", core->name, devno, in snd_cx88_create() 886 if (devno >= SNDRV_CARDS) in cx88_audio_initdev() 889 if (!enable[devno]) { in cx88_audio_initdev() 890 ++devno; in cx88_audio_initdev() 894 err = snd_card_create(index[devno], id[devno], THIS_MODULE, in cx88_audio_initdev() 930 card->driver,devno); in cx88_audio_initdev() 937 devno++; in cx88_audio_initdev() 955 devno--; in cx88_audio_finidev()
|