/Linux-v4.19/include/trace/events/ |
D | siox.h | 12 unsigned int devno, size_t bufoffset), 13 TP_ARGS(smaster, sdevice, devno, bufoffset), 16 __field(unsigned int, devno) 22 __entry->devno = devno; 29 __entry->devno, 37 unsigned int devno, u8 status_clean, 39 TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset), 42 __field(unsigned int, devno) 49 __entry->devno = devno; 57 __entry->devno,
|
/Linux-v4.19/arch/x86/boot/ |
D | edd.c | 25 static int read_mbr(u8 devno, void *buf) in read_mbr() argument 32 ireg.dl = devno; in read_mbr() 40 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument 65 if (read_mbr(devno, mbrbuf_ptr)) in read_mbr_sig() 75 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument 86 ireg.dl = devno; in get_edd_info() 95 ei->device = devno; in get_edd_info() 132 int devno; in query_edd() local 162 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { in query_edd() 167 if (!get_edd_info(devno, &ei) in query_edd() [all …]
|
/Linux-v4.19/drivers/s390/cio/ |
D | blacklist.c | 102 unsigned int *devno, int msgtrigger) in parse_busid() argument 118 *devno = val; in parse_busid() 136 ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); in parse_busid() 180 from = ipl_info.data.ccw.dev_id.devno; in blacklist_parse_parameters() 185 from = ipl_info.data.fcp.dev_id.devno; in blacklist_parse_parameters() 246 is_blacklisted (int ssid, int devno) in is_blacklisted() argument 248 return test_bit (devno, bl_dev[ssid]); in is_blacklisted() 279 int devno; member 293 iter->devno = *offset % (__MAX_SUBCHANNEL + 1); in cio_ignore_proc_seq_start() 310 if (iter->devno == __MAX_SUBCHANNEL) { in cio_ignore_proc_seq_next() [all …]
|
D | device_id.c | 109 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info() 123 dev_id->ssid, dev_id->devno); in diag210_get_dev_info() 127 dev_id->ssid, dev_id->devno, rc); in diag210_get_dev_info() 185 "%04x/%02x%s\n", id->ssid, id->devno, rc, in snsid_callback()
|
/Linux-v4.19/drivers/input/misc/ |
D | apanel.c | 274 u8 devno; in apanel_init() local 290 for ( ; (devno = readb(p)) & 0x7f; p += 4) { in apanel_init() 304 switch (devno) { in apanel_init() 306 devno = APANEL_DEV_APPBTN; in apanel_init() 309 devno = APANEL_DEV_LED; in apanel_init() 313 if (devno >= APANEL_DEV_MAX) in apanel_init() 314 pr_notice(APANEL ": unknown device %u found\n", devno); in apanel_init() 315 else if (device_chip[devno] != CHIP_NONE) in apanel_init() 317 devno); in apanel_init() 321 method, devno); in apanel_init() [all …]
|
/Linux-v4.19/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-v4.19/drivers/ata/ |
D | pata_cs5535.c | 117 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode() 121 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode() 125 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode() 126 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode() 147 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode() 153 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
|
D | pata_radisys.c | 70 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode() 129 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode() 132 udma_enable &= ~(1 << adev->devno); in radisys_set_dmamode() 141 udma_mode &= ~(2 << (adev->devno * 4)); in radisys_set_dmamode() 143 udma_mode |= (2 << (adev->devno * 4)); in radisys_set_dmamode() 147 udma_enable |= (1 << adev->devno); in radisys_set_dmamode()
|
D | libata-eh.c | 348 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout() 373 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out() 375 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out() 439 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action() 450 ehi->dev_action[tdev->devno] &= ~action; in ata_eh_clear_action() 458 ehi->dev_action[tdev->devno] |= in ata_eh_clear_action() 464 ehi->dev_action[dev->devno] &= ~action; in ata_eh_clear_action() 696 int devno = dev->devno; in ata_scsi_port_error_handler() local 698 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler() 700 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler() [all …]
|
D | pata_cmd64x.c | 112 int arttim = arttim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 113 int drwtim = drwtim_port[ap->port_no][adev->devno]; in cmd64x_set_timing() 201 int shift = 2 * adev->devno; in cmd64x_set_dmamode() 207 regD &= ~(0x20 << adev->devno); in cmd64x_set_dmamode() 211 regU &= ~(0x05 << adev->devno); in cmd64x_set_dmamode() 217 regU |= 1 << adev->devno; /* UDMA on */ in cmd64x_set_dmamode() 219 regU |= 4 << adev->devno; in cmd64x_set_dmamode() 221 regU &= ~ (1 << adev->devno); /* UDMA off */ in cmd64x_set_dmamode() 225 regD |= 0x20 << adev->devno; in cmd64x_set_dmamode()
|
D | pata_artop.c | 101 int dn = adev->devno + 2 * ap->port_no; in artop6210_load_piomode() 128 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_piomode() 155 int dn = adev->devno + 2 * ap->port_no; in artop6260_load_piomode() 188 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_piomode() 207 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_dmamode() 259 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_dmamode() 264 ultra |= (mode << (4 * adev->devno)); in artop6260_set_dmamode()
|
D | pata_atiixp.c | 106 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_pio_timing() 107 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_pio_timing() 154 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_dmamode() 170 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_dmamode() 216 int dn = (2 * ap->port_no) + adev->devno; in atiixp_bmdma_start() 243 int dn = (2 * ap->port_no) + qc->dev->devno; in atiixp_bmdma_stop()
|
D | pata_cmd640.c | 59 int arttim = ARTIM0 + 2 * adev->devno; in cmd640_set_piomode() 115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode() 135 if (ap->port_no != 0 && adev->devno != timing->last) { in cmd640_qc_issue() 136 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); in cmd640_qc_issue() 137 timing->last = adev->devno; in cmd640_qc_issue()
|
D | pata_serverworks.c | 199 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_piomode() 200 int devbits = (2 * ap->port_no + adev->devno) * 4; in serverworks_set_piomode() 229 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_dmamode() 230 int devbits = 2 * ap->port_no + adev->devno; in serverworks_set_dmamode() 237 ultra &= ~(0x0F << (adev->devno * 4)); in serverworks_set_dmamode() 243 << (adev->devno * 4); in serverworks_set_dmamode()
|
D | pata_efar.c | 118 if (adev->devno == 0) { in efar_set_piomode() 141 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); in efar_set_piomode() 163 int devid = adev->devno + 2 * ap->port_no; in efar_set_dmamode() 213 if (adev->devno) { /* Slave */ in efar_set_dmamode()
|
D | pata_rdc.c | 106 unsigned int is_slave = (adev->devno != 0); in rdc_set_piomode() 166 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); in rdc_set_piomode() 190 int devid = adev->devno + 2 * ap->port_no; in rdc_set_dmamode() 262 if (adev->devno) { /* Slave */ in rdc_set_dmamode()
|
/Linux-v4.19/drivers/char/pcmcia/ |
D | scr24x_cs.c | 51 int devno; member 254 dev->devno = find_first_zero_bit(scr24x_minors, SCR24X_DEVS); in scr24x_probe() 255 if (dev->devno >= SCR24X_DEVS) { in scr24x_probe() 282 ret = cdev_add(&dev->c_dev, MKDEV(MAJOR(scr24x_devt), dev->devno), 1); in scr24x_probe() 292 device_create(scr24x_class, NULL, MKDEV(MAJOR(scr24x_devt), dev->devno), in scr24x_probe() 293 NULL, "scr24x%d", dev->devno); in scr24x_probe() 299 if (dev->devno < SCR24X_DEVS) in scr24x_probe() 300 clear_bit(dev->devno, scr24x_minors); in scr24x_probe() 309 device_destroy(scr24x_class, MKDEV(MAJOR(scr24x_devt), dev->devno)); in scr24x_remove() 313 clear_bit(dev->devno, scr24x_minors); in scr24x_remove()
|
D | cm4040_cs.c | 522 static int reader_config(struct pcmcia_device *link, int devno) in reader_config() argument 541 DEBUGP(2, dev, "device " DEVICE_NAME "%d at %pR\n", devno, in reader_config() 604 int devno; in reader_detach() local 607 for (devno = 0; devno < CM_MAX_DEV; devno++) { in reader_detach() 608 if (dev_table[devno] == link) in reader_detach() 611 if (devno == CM_MAX_DEV) in reader_detach() 616 dev_table[devno] = NULL; in reader_detach() 619 device_destroy(cmx_class, MKDEV(major, devno)); in reader_detach()
|
/Linux-v4.19/drivers/staging/most/cdev/ |
D | cdev.c | 24 dev_t devno; member 40 dev_t devno; member 98 device_destroy(comp.class, c->devno); in destroy_cdev() 107 ida_simple_remove(&comp.minor_id, MINOR(c->devno)); in destroy_channel() 453 c->devno = MKDEV(comp.major, current_minor); in comp_probe() 456 cdev_add(&c->cdev, c->devno, 1); in comp_probe() 473 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe() 520 err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev"); in mod_init() 523 comp.major = MAJOR(comp.devno); in mod_init() 530 unregister_chrdev_region(comp.devno, CHRDEV_REGION_SIZE); in mod_init() [all …]
|
/Linux-v4.19/drivers/s390/char/ |
D | vmur.c | 146 static struct urdev *urdev_get_from_devno(u16 devno) in urdev_get_from_devno() argument 152 sprintf(bus_id, "0.0.%04x", devno); in urdev_get_from_devno() 373 ur_diag210.vrdcdvno = urd->dev_id.devno; in get_urd_class() 468 static int diag_position_to_record(int devno, int record) in diag_position_to_record() argument 472 cc = diag14(record, devno, 0x28); in diag_position_to_record() 493 static int diag_read_file(int devno, char *buf) in diag_read_file() argument 497 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file() 522 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); in diag14_read() 536 rc = diag_read_file(urd->dev_id.devno, buf); in diag14_read() 626 rc = diag_read_file(urd->dev_id.devno, buf); in verify_uri_device() [all …]
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | pcm3724.c | 63 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) in compute_buffer() argument 67 if (devno == 0) in compute_buffer() 73 if (devno == 0) in compute_buffer() 79 if (devno == 0) in compute_buffer()
|
/Linux-v4.19/drivers/mfd/ |
D | janz-cmodio.c | 66 char *name, unsigned int devno, in cmodio_setup_subdevice() argument 75 cell = &priv->cells[devno]; in cmodio_setup_subdevice() 76 res = &priv->resources[devno * 3]; in cmodio_setup_subdevice() 77 pdata = &priv->pdata[devno]; in cmodio_setup_subdevice()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | cio.h | 297 u16 devno; member 314 (dev_id1->devno == dev_id2->devno)) in ccw_dev_id_is_equal()
|
/Linux-v4.19/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 855 static int devno; variable 910 core->name, devno, in snd_cx88_create() 931 if (devno >= SNDRV_CARDS) in cx88_audio_initdev() 934 if (!enable[devno]) { in cx88_audio_initdev() 935 ++devno; in cx88_audio_initdev() 939 err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, in cx88_audio_initdev() 979 card->driver, devno); in cx88_audio_initdev() 986 devno++; in cx88_audio_initdev() 1003 devno--; in cx88_audio_finidev()
|
/Linux-v4.19/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()
|