Searched refs:devno (Results 1 - 126 of 126) sorted by relevance

/linux-4.1.27/drivers/s390/cio/
H A Dblacklist.h4 extern int is_blacklisted (int ssid, int devno);
H A Dblacklist.c38 /* 65536 bits for each set to indicate if a devno is blacklisted or not */
102 unsigned int *devno, int msgtrigger) parse_busid()
118 *devno = val; parse_busid()
136 ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); parse_busid()
180 from = ipl_info.data.ccw.dev_id.devno; blacklist_parse_parameters()
185 from = ipl_info.data.fcp.dev_id.devno; blacklist_parse_parameters()
246 is_blacklisted (int ssid, int devno) is_blacklisted() argument
248 return test_bit (devno, bl_dev[ssid]); is_blacklisted()
279 int devno; member in struct:ccwdev_iter
293 iter->devno = *offset % (__MAX_SUBCHANNEL + 1); cio_ignore_proc_seq_start()
310 if (iter->devno == __MAX_SUBCHANNEL) { cio_ignore_proc_seq_next()
311 iter->devno = 0; cio_ignore_proc_seq_next()
316 iter->devno++; cio_ignore_proc_seq_next()
327 if (!is_blacklisted(iter->ssid, iter->devno)) cio_ignore_proc_seq_show()
332 if ((iter->devno == __MAX_SUBCHANNEL) || cio_ignore_proc_seq_show()
333 !is_blacklisted(iter->ssid, iter->devno + 1)) { cio_ignore_proc_seq_show()
335 seq_printf(s, "0.%x.%04x\n", iter->ssid, iter->devno); cio_ignore_proc_seq_show()
339 seq_printf(s, "0.%x.%04x-", iter->ssid, iter->devno); cio_ignore_proc_seq_show()
342 if ((iter->devno == __MAX_SUBCHANNEL) || cio_ignore_proc_seq_show()
343 !is_blacklisted(iter->ssid, iter->devno + 1)) { cio_ignore_proc_seq_show()
346 seq_printf(s, "0.%x.%04x\n", iter->ssid, iter->devno); cio_ignore_proc_seq_show()
101 parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, unsigned int *devno, int msgtrigger) parse_busid() argument
H A Ddevice_id.c108 diag_data.vrdcdvno = dev_id->devno; diag210_get_dev_info()
122 dev_id->ssid, dev_id->devno); diag210_get_dev_info()
126 dev_id->ssid, dev_id->devno, rc); diag210_get_dev_info()
184 "%04x/%02x%s\n", id->ssid, id->devno, rc, snsid_callback()
H A Ddevice.c353 cdev->private->dev_id.devno); ccw_device_set_offline()
420 cdev->private->dev_id.devno); ccw_device_set_online()
479 cdev->private->dev_id.devno); ccw_device_set_online()
766 priv->dev_id.devno = sch->schib.pmcw.dev; io_subchannel_initialize_dev()
783 cdev->private->dev_id.devno); io_subchannel_initialize_dev()
866 cdev->private->dev_id.devno); io_subchannel_register()
882 cdev->private->dev_id.devno, ret); io_subchannel_register()
983 cdev->private->dev_id.devno, sch->schid.ssid, ccw_device_move_to_sch()
1280 cdev->private->dev_id.devno); recovery_check()
1341 if (is_blacklisted(id->ssid, id->devno) && purge_fn()
1345 id->devno); purge_fn()
1419 if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) { sch_get_action()
1547 dev_id.devno = sch->schib.pmcw.dev; io_subchannel_sch_event()
1781 cdev->private->dev_id.devno); ccw_device_remove()
2008 cdev->private->dev_id.devno, ret); ccw_device_pm_restore()
2085 priv->dev_id.ssid, priv->dev_id.devno, todo); ccw_device_todo()
2127 cdev->private->dev_id.ssid, cdev->private->dev_id.devno, ccw_device_sched_todo()
H A Dccwgroup.c274 unsigned int cssid, ssid, devno; __get_next_id() local
291 if (sscanf(start, "%2x.%1x.%04x", &cssid, &ssid, &devno) != 3) __get_next_id()
298 id->devno = devno; __get_next_id()
H A Ddevice_fsm.c178 cdev->private->dev_id.ssid, cdev->private->dev_id.devno); ccw_device_cancel_halt_clear()
338 cdev->private->dev_id.ssid, cdev->private->dev_id.devno, ccw_device_notify()
391 cdev->private->dev_id.devno, sch->schid.sch_no); ccw_device_done()
399 cdev->private->dev_id.devno, sch->schid.sch_no); ccw_device_done()
408 "%04x\n", cdev->private->dev_id.devno, ccw_device_done()
819 cdev->private->dev_id.devno); ccw_device_w4sense()
947 if (sch->schib.pmcw.dev != cdev->private->dev_id.devno) ccw_device_trigger_reprobe()
H A Ddevice_pgid.c47 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, verify_done()
173 id->ssid, id->devno, cdev->private->pgid_valid_mask, pgid_wipeout_start()
403 id->devno, rc, cdev->private->pgid_valid_mask, sch->vpm, snid_done()
584 CIO_MSG_EVENT(0, "disb: device 0.%x.%04x: rc=%d\n", id->ssid, id->devno, disband_callback()
H A Dcio.c472 "at devno %04X, subchannel set %x\n", cio_check_devno_blacklisted()
910 (schib.pmcw.dev == match_id->devid.devno) && __reipl_subchannel_match()
959 iplinfo->devno = schib.pmcw.dev; cio_get_iplinfo()
H A Ddevice_status.c39 cdev->private->dev_id.devno, cdev->private->schid.ssid, ccw_device_msg_control_check()
H A Dchsc.c85 u16 devno; /* device number */ member in struct:chsc_ssd_area
/linux-4.1.27/arch/x86/boot/
H A Dedd.c25 static int read_mbr(u8 devno, void *buf) read_mbr() argument
32 ireg.dl = devno; read_mbr()
40 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) read_mbr_sig() argument
65 if (read_mbr(devno, mbrbuf_ptr)) read_mbr_sig()
75 static int get_edd_info(u8 devno, struct edd_info *ei) get_edd_info() argument
86 ireg.dl = devno; get_edd_info()
95 ei->device = devno; get_edd_info()
132 int devno; query_edd() local
162 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { query_edd()
167 if (!get_edd_info(devno, &ei) query_edd()
174 if (do_mbr && !read_mbr_sig(devno, &ei, mbrptr++)) query_edd()
175 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; query_edd()
/linux-4.1.27/drivers/input/misc/
H A Dapanel.c275 u8 devno; apanel_init() local
291 for ( ; (devno = readb(p)) & 0x7f; p += 4) { apanel_init()
305 switch (devno) { apanel_init()
307 devno = APANEL_DEV_APPBTN; apanel_init()
310 devno = APANEL_DEV_LED; apanel_init()
314 if (devno >= APANEL_DEV_MAX) apanel_init()
315 pr_notice(APANEL ": unknown device %u found\n", devno); apanel_init()
316 else if (device_chip[devno] != CHIP_NONE) apanel_init()
317 pr_warning(APANEL ": duplicate entry for devno %u\n", devno); apanel_init()
320 pr_notice(APANEL ": unknown method %u for devno %u\n", apanel_init()
321 method, devno); apanel_init()
323 device_chip[devno] = (enum apanel_chip) chip; apanel_init()
/linux-4.1.27/drivers/ata/
H A Dpata_cmd64x.c112 int arttim = arttim_port[ap->port_no][adev->devno]; cmd64x_set_timing()
113 int drwtim = drwtim_port[ap->port_no][adev->devno]; cmd64x_set_timing()
201 int shift = 2 * adev->devno; cmd64x_set_dmamode()
207 regD &= ~(0x20 << adev->devno); cmd64x_set_dmamode()
211 regU &= ~(0x05 << adev->devno); cmd64x_set_dmamode()
217 regU |= 1 << adev->devno; /* UDMA on */ cmd64x_set_dmamode()
219 regU |= 4 << adev->devno; cmd64x_set_dmamode()
221 regU &= ~ (1 << adev->devno); /* UDMA off */ cmd64x_set_dmamode()
225 regD |= 0x20 << adev->devno; cmd64x_set_dmamode()
H A Dpata_atiixp.c106 int dn = 2 * ap->port_no + adev->devno; atiixp_set_pio_timing()
107 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); atiixp_set_pio_timing()
154 int dn = 2 * ap->port_no + adev->devno; atiixp_set_dmamode()
170 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); atiixp_set_dmamode()
216 int dn = (2 * ap->port_no) + adev->devno; atiixp_bmdma_start()
243 int dn = (2 * ap->port_no) + qc->dev->devno; atiixp_bmdma_stop()
H A Dpata_cs5535.c117 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, cs5535_set_piomode()
121 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, cs5535_set_piomode()
125 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); cs5535_set_piomode()
126 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); cs5535_set_piomode()
147 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); cs5535_set_dmamode()
153 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); cs5535_set_dmamode()
H A Dpata_radisys.c70 idetm_data |= (control << (4 * adev->devno)); radisys_set_piomode()
129 idetm_data |= control << (4 * adev->devno); radisys_set_dmamode()
132 udma_enable &= ~(1 << adev->devno); radisys_set_dmamode()
141 udma_mode &= ~(2 << (adev->devno * 4)); radisys_set_dmamode()
143 udma_mode |= (2 << (adev->devno * 4)); radisys_set_dmamode()
147 udma_enable |= (1 << adev->devno); radisys_set_dmamode()
H A Dpata_cmd640.c59 int arttim = ARTIM0 + 2 * adev->devno; cmd640_set_piomode()
115 timing->reg58[adev->devno] = (t.active << 4) | t.recover; cmd640_set_piomode()
135 if (ap->port_no != 0 && adev->devno != timing->last) { cmd640_qc_issue()
136 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); cmd640_qc_issue()
137 timing->last = adev->devno; cmd640_qc_issue()
H A Dpata_serverworks.c199 int offset = 1 + 2 * ap->port_no - adev->devno; serverworks_set_piomode()
200 int devbits = (2 * ap->port_no + adev->devno) * 4; serverworks_set_piomode()
229 int offset = 1 + 2 * ap->port_no - adev->devno; serverworks_set_dmamode()
230 int devbits = 2 * ap->port_no + adev->devno; serverworks_set_dmamode()
237 ultra &= ~(0x0F << (adev->devno * 4)); serverworks_set_dmamode()
243 << (adev->devno * 4); serverworks_set_dmamode()
H A Dsata_promise.h46 unsigned int devno, u8 *buf) pdc_pkt_header()
74 if (devno == 0) pdc_pkt_header()
44 pdc_pkt_header(struct ata_taskfile *tf, dma_addr_t sg_table, unsigned int devno, u8 *buf) pdc_pkt_header() argument
H A Dlibata-eh.c348 idx = ehc->cmd_timeout_idx[dev->devno][ent]; ata_internal_cmd_timeout()
373 idx = ehc->cmd_timeout_idx[dev->devno][ent]; ata_internal_cmd_timed_out()
375 ehc->cmd_timeout_idx[dev->devno][ent]++; ata_internal_cmd_timed_out()
439 return ehc->i.action | ehc->i.dev_action[dev->devno]; ata_eh_dev_action()
450 ehi->dev_action[tdev->devno] &= ~action; ata_eh_clear_action()
458 ehi->dev_action[tdev->devno] |= ata_eh_clear_action()
464 ehi->dev_action[dev->devno] &= ~action; ata_eh_clear_action()
749 int devno = dev->devno; ata_for_each_dev() local
751 ehc->saved_xfer_mode[devno] = dev->xfer_mode; ata_for_each_dev()
753 ehc->saved_ncq_enabled |= 1 << devno; ata_for_each_dev()
1394 ehc->saved_xfer_mode[dev->devno] = 0; ata_eh_detach_dev()
1395 ehc->saved_ncq_enabled &= ~(1 << dev->devno); ata_eh_detach_dev()
2221 ehc->i.dev_action[ehc->i.dev->devno] |= ata_eh_link_autopsy()
2613 classes[dev->devno] = ATA_DEV_UNKNOWN; ata_do_reset()
2739 classes[dev->devno] = ATA_DEV_NONE;
2754 classes[dev->devno] = ATA_DEV_NONE;
2856 classes[dev->devno] = ATA_DEV_ATA; ata_for_each_dev()
2858 classes[dev->devno] = ATA_DEV_SEMB_UNSUP; ata_for_each_dev()
2912 if (classes[dev->devno] == ATA_DEV_UNKNOWN) { ata_for_each_dev()
2914 classes[dev->devno] = ATA_DEV_NONE; ata_for_each_dev()
2918 if (ata_class_enabled(classes[dev->devno])) ata_for_each_dev()
2921 classes[dev->devno]); ata_for_each_dev()
2922 classes[dev->devno] = ATA_DEV_NONE; ata_for_each_dev()
2923 } else if (classes[dev->devno] == ATA_DEV_UNKNOWN) { ata_for_each_dev()
2926 classes[dev->devno] = ATA_DEV_NONE; ata_for_each_dev()
3057 link->eh_context.i.dev_action[dev->devno] |= ata_for_each_dev()
3058 ehi->dev_action[dev->devno] & ATA_EH_PARK; ata_for_each_dev()
3073 ehc->unloaded_mask |= 1 << dev->devno; ata_eh_park_issue_cmd()
3080 ehc->unloaded_mask &= ~(1 << dev->devno); ata_eh_park_issue_cmd()
3089 ehc->unloaded_mask &= ~(1 << dev->devno); ata_eh_park_issue_cmd()
3125 rc = ata_dev_revalidate(dev, ehc->classes[dev->devno], ata_for_each_dev()
3140 ehc->tries[dev->devno] && ata_for_each_dev()
3141 ata_class_enabled(ehc->classes[dev->devno])) { ata_for_each_dev()
3148 dev->class = ehc->classes[dev->devno]; ata_for_each_dev()
3157 ehc->classes[dev->devno] = dev->class; ata_for_each_dev()
3164 new_mask |= 1 << dev->devno; ata_for_each_dev()
3190 if (!(new_mask & (1 << dev->devno))) ata_for_each_dev()
3193 dev->class = ehc->classes[dev->devno]; ata_for_each_dev()
3263 u8 saved_xfer_mode = ehc->saved_xfer_mode[dev->devno]; ata_for_each_dev()
3264 u8 saved_ncq = !!(ehc->saved_ncq_enabled & (1 << dev->devno)); ata_for_each_dev()
3522 if (!dev || ehc->tries[dev->devno] <= 2) {
3578 ehc->classes[dev->devno] != ATA_DEV_NONE) ata_for_each_dev()
3605 if (!(ehc->i.probe_mask & (1 << dev->devno)) || ata_eh_schedule_probe()
3606 (ehc->did_probe_mask & (1 << dev->devno))) ata_eh_schedule_probe()
3611 ehc->did_probe_mask |= (1 << dev->devno); ata_eh_schedule_probe()
3613 ehc->saved_xfer_mode[dev->devno] = 0; ata_eh_schedule_probe()
3614 ehc->saved_ncq_enabled &= ~(1 << dev->devno); ata_eh_schedule_probe()
3656 ehc->tries[dev->devno]--; ata_eh_handle_dev_fail()
3661 ehc->i.probe_mask |= (1 << dev->devno); ata_eh_handle_dev_fail()
3664 ehc->tries[dev->devno] = min(ehc->tries[dev->devno], 1); ata_eh_handle_dev_fail()
3666 if (ehc->tries[dev->devno] == 1) { ata_eh_handle_dev_fail()
3676 if (ata_dev_enabled(dev) && !ehc->tries[dev->devno]) { ata_eh_handle_dev_fail()
3686 ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; ata_eh_handle_dev_fail()
3687 memset(ehc->cmd_timeout_idx[dev->devno], 0, ata_eh_handle_dev_fail()
3688 sizeof(ehc->cmd_timeout_idx[dev->devno])); ata_eh_handle_dev_fail()
3747 ehc->tries[dev->devno] = 1; ata_for_each_dev()
3749 ehc->tries[dev->devno] = ATA_EH_DEV_TRIES; ata_for_each_dev()
3752 ehc->i.action |= ehc->i.dev_action[dev->devno] & ata_for_each_dev()
3754 ehc->i.dev_action[dev->devno] &= ATA_EH_PERDEV_MASK; ata_for_each_dev()
3782 ehc->classes[dev->devno] = ATA_DEV_UNKNOWN; ata_for_each_link()
3818 if (!(ehc->i.dev_action[dev->devno] & ata_for_each_dev()
3826 if (ehc->unloaded_mask & (1 << dev->devno)) ata_for_each_dev()
3845 (1 << dev->devno))) ata_for_each_dev()
H A Dpata_efar.c118 if (adev->devno == 0) { efar_set_piomode()
141 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); efar_set_piomode()
163 int devid = adev->devno + 2 * ap->port_no; efar_set_dmamode()
213 if (adev->devno) { /* Slave */ efar_set_dmamode()
H A Dpata_artop.c101 int dn = adev->devno + 2 * ap->port_no; artop6210_load_piomode()
128 int dn = adev->devno + 2 * ap->port_no; artop6210_set_piomode()
155 int dn = adev->devno + 2 * ap->port_no; artop6260_load_piomode()
188 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ artop6260_set_piomode()
207 int dn = adev->devno + 2 * ap->port_no; artop6210_set_dmamode()
259 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ artop6260_set_dmamode()
264 ultra |= (mode << (4 * adev->devno)); artop6260_set_dmamode()
H A Dpata_sch.c113 unsigned int port = adev->devno ? D1TIM : D0TIM; sch_set_piomode()
142 unsigned int port = adev->devno ? D1TIM : D0TIM; sch_set_dmamode()
H A Dpata_rdc.c106 unsigned int is_slave = (adev->devno != 0); rdc_set_piomode()
166 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); rdc_set_piomode()
190 int devid = adev->devno + 2 * ap->port_no; rdc_set_dmamode()
262 if (adev->devno) { /* Slave */ rdc_set_dmamode()
H A Dpata_acpi.c102 return mask & acpi->mask[adev->devno]; pacpi_mode_filter()
113 int unit = adev->devno; pacpi_set_piomode()
136 int unit = adev->devno; pacpi_set_dmamode()
H A Dpata_cs5536.c123 int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; cs5536_program_dtc()
178 int cshift = adev->devno ? IDE_CAST_D1_SHIFT : IDE_CAST_D0_SHIFT; cs5536_set_piomode()
217 int dshift = adev->devno ? IDE_D1_SHIFT : IDE_D0_SHIFT; cs5536_set_dmamode()
H A Dpata_legacy.c295 rt &= 0x07 << (3 * adev->devno); pdc20230_set_piomode()
297 rt |= (1 + 3 * pio) << (3 * adev->devno); pdc20230_set_piomode()
494 rc |= (adev->devno << 7); opti82c611a_set_piomode()
504 rc |= adev->devno; /* Index select */ opti82c611a_set_piomode()
573 rc |= (adev->devno << 7); opti82c46x_set_piomode()
583 rc |= adev->devno; /* Index select */ opti82c46x_set_piomode()
669 ld_qdi->clock[adev->devno] = timing; qdi65x0_set_piomode()
672 outb(timing, ld_qdi->timing + 2 * adev->devno); qdi65x0_set_piomode()
695 if (ld_qdi->clock[adev->devno] != ld_qdi->last) { qdi_qc_issue()
697 ld_qdi->last = ld_qdi->clock[adev->devno]; qdi_qc_issue()
698 outb(ld_qdi->clock[adev->devno], ld_qdi->timing + qdi_qc_issue()
792 int timing = 0x88 + (ap->port_no * 4) + (adev->devno * 2); winbond_set_piomode()
H A Dpata_mpc52xx.c397 rv = mpc52xx_ata_compute_pio_timings(priv, adev->devno, pio); mpc52xx_ata_set_piomode()
404 mpc52xx_ata_apply_timings(priv, adev->devno); mpc52xx_ata_set_piomode()
415 rv = mpc52xx_ata_compute_udma_timings(priv, adev->devno, dma); mpc52xx_ata_set_dmamode()
418 rv = mpc52xx_ata_compute_mdma_timings(priv, adev->devno, dma); mpc52xx_ata_set_dmamode()
428 mpc52xx_ata_apply_timings(priv, adev->devno); mpc52xx_ata_set_dmamode()
545 if (priv->timings[qc->dev->devno].using_udma) mpc52xx_bmdma_setup()
H A Dpata_cs5530.c69 if (adev->devno) cs5530_set_piomode()
112 if (adev->devno == 0) /* Master */ cs5530_set_dmamode()
125 reg |= (1 << (5 + adev->devno)); cs5530_set_dmamode()
H A Dpata_sil680.c71 base |= adev->devno ? 2 : 0; sil680_seldev()
121 int port_shift = 4 * adev->devno; sil680_set_piomode()
170 int port_shift = adev->devno * 4; sil680_set_dmamode()
H A Dpata_cypress.c69 if (adev->devno == 0) { cy82c693_set_piomode()
H A Dpata_optidma.c165 iowrite8(adev->devno, regio + MISC_REG); optidma_mode_setup()
175 iowrite8(addr | adev->devno, regio + MISC_REG); optidma_mode_setup()
205 int dev2 = 2 * adev->devno; optiplus_mode_setup()
206 int unit = 2 * ap->port_no + adev->devno; optiplus_mode_setup()
H A Dpata_macio.c397 adev->devno, pata_macio_set_timings()
404 priv->treg[adev->devno][0] = priv->treg[adev->devno][1] = 0; pata_macio_set_timings()
416 priv->treg[adev->devno][0] |= t->reg1; pata_macio_set_timings()
427 priv->treg[adev->devno][0] |= t->reg1; pata_macio_set_timings()
428 priv->treg[adev->devno][1] |= t->reg2; pata_macio_set_timings()
431 priv->treg[adev->devno][0], pata_macio_set_timings()
432 priv->treg[adev->devno][1]); pata_macio_set_timings()
435 pata_macio_apply_timings(ap, adev->devno); pata_macio_set_timings()
520 __func__, qc, qc->flags, write, qc->dev->devno); pata_macio_qc_prep()
593 int dev = qc->dev->devno; pata_macio_bmdma_setup()
H A Dpata_hpt3x3.c41 int dn = 2 * ap->port_no + adev->devno; hpt3x3_set_piomode()
71 int dn = 2 * ap->port_no + adev->devno; hpt3x3_set_dmamode()
H A Dpata_it8213.c105 if (adev->devno == 0) { it8213_set_piomode()
144 int devid = adev->devno; it8213_set_dmamode()
H A Dpata_it821x.c159 int unit = adev->devno; it821x_program_udma()
189 u8 unit = adev->devno; it821x_clock_strategy()
262 int unit = adev->devno; it821x_passthru_set_piomode()
295 int unit = adev->devno; it821x_passthru_set_dmamode()
350 int unit = adev->devno; it821x_passthru_bmdma_start()
373 int unit = adev->devno; it821x_passthru_bmdma_stop()
395 it821x_program(ap, adev, itdev->pio[adev->devno]); it821x_passthru_dev_select()
449 it821x_passthru_dev_select(qc->ap, qc->dev->devno); it821x_passthru_qc_issue()
H A Dpata_mpiix.c100 idetim &= ~(0x07 << (4 * adev->devno)); mpiix_set_piomode()
101 idetim |= control << (4 * adev->devno); mpiix_set_piomode()
H A Dpata_oldpiix.c99 if (adev->devno == 0) { oldpiix_set_piomode()
167 if (adev->devno == 0) { oldpiix_set_dmamode()
H A Dpata_sc1200.c106 pci_write_config_dword(pdev, reg + 8 * adev->devno, sc1200_set_piomode()
144 if (adev->devno == 0) { sc1200_set_dmamode()
H A Dpata_atp867x.c142 if (adev->devno & 1) { atp867x_set_dmamode()
233 if (adev->devno & 1) atp867x_set_piomode()
242 if (adev->devno & 1) atp867x_set_piomode()
H A Dpata_opti.c141 opti_write_reg(ap, adev->devno, MISC_REG); opti_set_piomode()
H A Dpata_pdc202xx_old.c81 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; pdc202xx_configure_piomode()
128 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; pdc202xx_set_dmamode()
H A Dpata_sl82c105.c84 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); sl82c105_configure_piomode()
121 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); sl82c105_configure_dmamode()
H A Dlibata-scsi.c197 link->eh_context.unloaded_mask & (1 << dev->devno) && ata_scsi_park_show()
251 dev->link->eh_info.dev_action[dev->devno] |= ATA_EH_PARK; ata_scsi_park_store()
2834 static struct ata_device *ata_find_dev(struct ata_port *ap, int devno) ata_find_dev() argument
2837 if (likely(devno < ata_link_max_devices(&ap->link))) ata_find_dev()
2838 return &ap->link.device[devno]; ata_find_dev()
2840 if (likely(devno < ap->nr_pmp_links)) ata_find_dev()
2841 return &ap->pmp_link[devno].device[0]; ata_find_dev()
2850 int devno; __ata_scsi_find_dev() local
2856 devno = scsidev->id; __ata_scsi_find_dev()
2860 devno = scsidev->channel; __ata_scsi_find_dev()
2863 return ata_find_dev(ap, devno); __ata_scsi_find_dev()
2995 tf->device = dev->devno ? ata_scsi_pass_thru()
3731 id = dev->devno; ata_for_each_dev()
3993 int devno, rc = 0; ata_scsi_user_scan() local
4004 devno = id; ata_scsi_user_scan()
4008 devno = channel; ata_scsi_user_scan()
4013 if (devno == SCAN_WILD_CARD) { ata_scsi_user_scan()
4022 struct ata_device *dev = ata_find_dev(ap, devno);
4026 ehi->probe_mask |= 1 << dev->devno;
H A Dpata_ali.c146 int shift = 4 * adev->devno; ali_fifo_control()
175 int drwt = 0x5A + 4 * ap->port_no + adev->devno; /* R/W timing */ ali_program_modes()
177 int shift = 4 * adev->devno; ali_program_modes()
H A Dsata_sil.c375 dev_mode[dev->devno] = 0; /* PIO0/1/2 */ ata_for_each_dev()
377 dev_mode[dev->devno] = 1; /* PIO3/4 */ ata_for_each_dev()
379 dev_mode[dev->devno] = 3; /* UDMA */ ata_for_each_dev()
H A Dlibata-core.c314 if (!dev->devno) ata_dev_phys_link()
416 int devno = dev->link->pmp + dev->devno; ata_force_xfermask() local
417 int alt_devno = devno; ata_force_xfermask()
431 if (fe->device != -1 && fe->device != devno && ata_force_xfermask()
470 int devno = dev->link->pmp + dev->devno; ata_force_horkage() local
471 int alt_devno = devno; ata_force_horkage()
484 if (fe->device != -1 && fe->device != devno && ata_force_horkage()
2586 tries[dev->devno] = ATA_PROBE_MAX_TRIES; ata_bus_probe()
2614 classes[dev->devno] = dev->class; ata_bus_probe()
2616 classes[dev->devno] = ATA_DEV_NONE; ata_bus_probe()
2626 if (tries[dev->devno]) ata_bus_probe()
2627 dev->class = classes[dev->devno]; ata_bus_probe()
2673 tries[dev->devno]--; ata_bus_probe()
2678 tries[dev->devno] = 0; ata_bus_probe()
2683 tries[dev->devno] = min(tries[dev->devno], 1); ata_bus_probe()
2685 if (tries[dev->devno] == 1) { ata_bus_probe()
2694 if (!tries[dev->devno]) ata_bus_probe()
2738 struct ata_device *pair = &link->device[1 - adev->devno]; ata_dev_pair()
4955 ehi->dev_action[dev->devno] |= ATA_EH_REVALIDATE; ata_qc_complete()
5576 dev->devno = dev - link->device; ata_link_init()
6865 level, dev->link->ap->print_id, dev->link->pmp + dev->devno, ata_dev_printk()
H A Dpata_amd.c50 int dn = ap->port_no * 2 + adev->devno; timing_setup()
284 if (dev->devno == 0) nv_mode_filter()
H A Dpata_icside.c216 state->port[ap->port_no].speed[adev->devno] = cycle; pata_icside_set_dmamode()
236 set_dma_speed(state->dma, state->port[ap->port_no].speed[qc->dev->devno]); pata_icside_bmdma_setup()
H A Data_generic.c71 if (dma_enabled & (1 << (5 + dev->devno))) { ata_for_each_dev()
H A Dpata_cs5520.c72 int slave = adev->devno; cs5520_set_timings()
H A Dpata_triflex.c91 unsigned int is_slave = (adev->devno != 0); triflex_load_timing()
H A Dsata_sx4.c360 unsigned int devno, u8 *buf, pdc20621_ata_pkt()
396 if (devno == 0) pdc20621_ata_pkt()
490 i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); pdc20621_dma_prep()
528 i = pdc20621_ata_pkt(&qc->tf, qc->dev->devno, &pp->dimm_buf[0], portno); pdc20621_nodata_prep()
359 pdc20621_ata_pkt(struct ata_taskfile *tf, unsigned int devno, u8 *buf, unsigned int portno) pdc20621_ata_pkt() argument
H A Dpata_pdc2027x.c200 u8 adj = (adev->devno) ? 0x08 : 0x00; dev_mmio()
272 if (adev->class != ATA_DEV_ATA || adev->devno == 0 || pair == NULL) pdc2027x_mode_filter()
H A Dsata_via.c408 pci_write_config_byte(pdev, PATA_PIO_TIMING - adev->devno, vt6421_set_pio_mode()
416 pci_write_config_byte(pdev, PATA_UDMA_TIMING - adev->devno, vt6421_set_dma_mode()
H A Dpata_hpt366.c235 u32 addr = 0x40 + 4 * adev->devno; hpt366_set_mode()
H A Dpata_ns87415.c55 int unit = 2 * ap->port_no + adev->devno; ns87415_set_mode()
H A Dlibata-acpi.c229 adr = dev->devno; ata_acpi_bind_dev()
499 unit = dev->devno; ata_acpi_gtm_xfermask()
779 __func__, dev->devno, ap->port_no); ata_acpi_push_id()
H A Dpata_sis.c87 return 0x40 + (4 * adev->link->ap->port_no) + (2 * adev->devno); sis_old_port_base()
110 return port + (8 * ap->port_no) + (4 * adev->devno); sis_port_base()
201 mask <<= adev->devno; sis_set_fifo()
H A Data_piix.c570 unsigned int is_slave = (adev->devno != 0); piix_set_timings()
644 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); piix_set_timings()
684 int devid = adev->devno + 2 * ap->port_no; do_pata_set_dmamode()
H A Dpata_hpt3x2n.c189 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); hpt3x2n_set_mode()
H A Dlibata-pmp.c505 if (dev->devno) { sata_pmp_attach()
569 WARN_ON(!ata_is_host_link(link) || dev->devno || sata_pmp_detach()
H A Dpata_hpt37x.c418 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); hpt370_set_mode()
512 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); hpt372_set_mode()
H A Dlibata-sff.c1260 ap->print_id, qc->dev->devno, status); ata_sff_hsm_move()
1422 ata_dev_select(ap, qc->dev->devno, 1, 0); ata_sff_qc_issue()
1887 ap->ops->sff_dev_select(ap, dev->devno); ata_sff_dev_classify()
1902 else if ((dev->devno == 0) && (err == 0x81)) ata_sff_dev_classify()
2790 ata_dev_select(ap, qc->dev->devno, 1, 0); ata_bmdma_qc_issue()
H A Dlibata-transport.c667 dev_set_name(dev, "dev%d.%d", ap->print_id,ata_dev->devno); ata_tdev_add()
H A Dpata_via.c254 int offset = 3 - (2*ap->port_no) - adev->devno; via_do_set_mode()
H A Dpata_arasan_cf.c697 ata_sff_dev_select(ap, qc->dev->devno); arasan_cf_qc_issue()
H A Dsata_promise.c665 qc->dev->devno, pp->pkt); pdc_qc_prep()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dpcm3724.c56 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) compute_buffer() argument
60 if (devno == 0) compute_buffer()
66 if (devno == 0) compute_buffer()
72 if (devno == 0) compute_buffer()
/linux-4.1.27/drivers/staging/unisys/include/
H A Dtimskmod.h87 #define ERRDEVX(devno, fmt, args...) LOGERRDEVX(devno, fmt, ## args)
91 #define INFODEVX(devno, fmt, args...) LOGINFDEVX(devno, fmt, ## args)
H A Duisqueue.h136 char devid[30]; /* "vbus<busno>:dev<devno>" */
/linux-4.1.27/arch/s390/include/asm/
H A Dipl.h49 u16 devno; member in struct:ipl_block_fcp
68 u16 devno; member in struct:ipl_block_ccw
H A Dcio.h267 * @devno: device number
277 u16 devno; member in struct:ccw_dev_id
294 (dev_id1->devno == dev_id2->devno)) ccw_dev_id_is_equal()
305 u16 devno; member in struct:cio_iplinfo
/linux-4.1.27/drivers/watchdog/
H A Dwatchdog_core.c113 int ret, id, devno; watchdog_register_device() local
155 devno = wdd->cdev.dev; watchdog_register_device()
156 wdd->dev = device_create(watchdog_class, wdd->parent, devno, watchdog_register_device()
179 int devno; watchdog_unregister_device() local
184 devno = wdd->cdev.dev; watchdog_unregister_device()
188 device_destroy(watchdog_class, devno); watchdog_unregister_device()
H A Dwatchdog_dev.c525 int err, devno; watchdog_dev_register() local
543 devno = MKDEV(MAJOR(watchdog_devt), watchdog->id); watchdog_dev_register()
548 err = cdev_add(&watchdog->cdev, devno, 1); watchdog_dev_register()
H A Dsmsc37b787_wdt.c108 static inline void select_io_device(unsigned char devno) select_io_device() argument
111 outb(devno, IOPORT+1); select_io_device()
/linux-4.1.27/drivers/char/pcmcia/
H A Dcm4040_cs.c523 static int reader_config(struct pcmcia_device *link, int devno)
543 DEBUGP(2, dev, "device " DEVICE_NAME "%d at %pR\n", devno,
606 int devno;
609 for (devno = 0; devno < CM_MAX_DEV; devno++) {
610 if (dev_table[devno] == link)
613 if (devno == CM_MAX_DEV)
618 dev_table[devno] = NULL;
621 device_destroy(cmx_class, MKDEV(major, devno));
H A Dcm4000_cs.c1749 static int cm4000_config(struct pcmcia_device * link, int devno)
1841 int devno;
1844 for (devno = 0; devno < CM4000_MAX_DEV; devno++)
1845 if (dev_table[devno] == link)
1847 if (devno == CM4000_MAX_DEV)
1854 dev_table[devno] = NULL;
1857 device_destroy(cmm_class, MKDEV(major, devno));
/linux-4.1.27/drivers/mfd/
H A Djanz-cmodio.c66 char *name, unsigned int devno, cmodio_setup_subdevice()
75 cell = &priv->cells[devno]; cmodio_setup_subdevice()
76 res = &priv->resources[devno * 3]; cmodio_setup_subdevice()
77 pdata = &priv->pdata[devno]; cmodio_setup_subdevice()
65 cmodio_setup_subdevice(struct cmodio_device *priv, char *name, unsigned int devno, unsigned int modno) cmodio_setup_subdevice() argument
/linux-4.1.27/drivers/s390/char/
H A Dvmur.c32 * to the unit record device with devno abcd.
145 static struct urdev *urdev_get_from_devno(u16 devno) urdev_get_from_devno() argument
151 sprintf(bus_id, "0.0.%04x", devno); urdev_get_from_devno()
371 ur_diag210.vrdcdvno = urd->dev_id.devno; get_urd_class()
466 static int diag_position_to_record(int devno, int record) diag_position_to_record() argument
470 cc = diag14(record, devno, 0x28); diag_position_to_record()
491 static int diag_read_file(int devno, char *buf) diag_read_file() argument
495 cc = diag14((unsigned long) buf, devno, 0x00); diag_read_file()
520 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); diag14_read()
534 rc = diag_read_file(urd->dev_id.devno, buf); diag14_read()
624 rc = diag_read_file(urd->dev_id.devno, buf); verify_uri_device()
692 u16 devno; ur_open() local
703 * We treat the minor number as the devno of the ur device ur_open()
706 devno = MINOR(file_inode(file)->i_rdev); ur_open()
708 urd = urdev_get_from_devno(devno); ur_open()
897 minor = urd->dev_id.devno; ur_set_online()
H A Dzcore.c651 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); zcore_init()
H A Draw3270.c482 diag_data.vrdcdvno = dev_id.devno; raw3270_size_device_vm()
H A Dtape_core.c83 return dev_id->devno + (dev_id->ssid << 16); devid_to_int()
/linux-4.1.27/include/trace/events/
H A Dlibata.h171 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
228 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
283 __entry->ata_dev = dev->link->pmp + dev->devno;
310 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821-alsa.c62 static int devno; variable
712 if (devno >= SNDRV_CARDS) { cx25821_audio_initdev()
713 pr_info("DEBUG ERROR: devno >= SNDRV_CARDS %s\n", __func__); cx25821_audio_initdev()
717 if (!enable[devno]) { cx25821_audio_initdev()
718 ++devno; cx25821_audio_initdev()
719 pr_info("DEBUG ERROR: !enable[devno] %s\n", __func__); cx25821_audio_initdev()
723 err = snd_card_new(&dev->pci->dev, index[devno], id[devno], cx25821_audio_initdev()
767 devno); cx25821_audio_initdev()
777 devno++; cx25821_audio_initdev()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-alsa.c867 static int devno; snd_cx88_create() variable
922 "latency: %d, mmio: 0x%llx\n", core->name, devno, snd_cx88_create()
943 if (devno >= SNDRV_CARDS) cx88_audio_initdev()
946 if (!enable[devno]) { cx88_audio_initdev()
947 ++devno; cx88_audio_initdev()
951 err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, cx88_audio_initdev()
987 card->driver,devno); cx88_audio_initdev()
994 devno++; cx88_audio_initdev()
1010 devno--; cx88_audio_finidev()
/linux-4.1.27/drivers/misc/mei/
H A Dmain.c679 int ret, devno; mei_register() local
686 devno = MKDEV(MAJOR(mei_devt), dev->minor); mei_register()
691 ret = cdev_add(&dev->cdev, devno, 1); mei_register()
698 clsdev = device_create_with_groups(mei_class, parent, devno, mei_register()
718 device_destroy(mei_class, devno); mei_register()
729 int devno; mei_deregister() local
731 devno = dev->cdev.dev; mei_deregister()
736 device_destroy(mei_class, devno); mei_deregister()
/linux-4.1.27/arch/mips/pci/
H A Dpci-bcm1480ht.c90 u32 devno; bcm1480ht_can_access() local
96 devno = PCI_SLOT(devfn); bcm1480ht_can_access()
H A Dpci-sb1250.c106 u32 devno; sb1250_pci_can_access() local
112 devno = PCI_SLOT(devfn); sb1250_pci_can_access()
113 if (devno == LDT_BRIDGE_DEVICE) sb1250_pci_can_access()
H A Dpci-bcm1480.c99 u32 devno; bcm1480_pci_can_access() local
105 devno = PCI_SLOT(devfn); bcm1480_pci_can_access()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Ddasd.h29 unsigned int devno; /* S/390 devno */ member in struct:dasd_information2_t
93 unsigned int devno; /* S/390 devno */ member in struct:dasd_information_t
/linux-4.1.27/arch/s390/kernel/
H A Dipl.c394 return sprintf(page, "0.0.%04x\n", ipl->ipl_info.fcp.devno); sys_ipl_device_show()
729 reipl_block_fcp->ipl_info.fcp.devno);
812 reipl_block_ccw->ipl_info.ccw.devno);
1031 pos = sprintf(dst, "IPL %X CLEAR", ipb->ipl_info.ccw.devno); get_ipl_string()
1052 devid.devno = reipl_block_ccw->ipl_info.ccw.devno; __reipl_run()
1188 reipl_block_ccw->ipl_info.ccw.devno = ipl_devno; reipl_ccw_init()
1315 dump_block_fcp->ipl_info.fcp.devno);
1334 dump_block_ccw->ipl_info.ccw.devno);
1414 devid.devno = dump_block_ccw->ipl_info.ccw.devno; __dump_run()
1421 sprintf(buf, "IPL %X", dump_block_ccw->ipl_info.ccw.devno); __dump_run()
1935 ipl_info.data.ccw.dev_id.devno = ipl_devno; setup_ipl()
1940 ipl_info.data.fcp.dev_id.devno = setup_ipl()
1941 IPL_PARMBLOCK_START->ipl_info.fcp.devno; setup_ipl()
1974 ipl_devno = iplinfo.devno; ipl_save_parameters()
/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_dev.c181 dev_t devno = MKDEV(ec_major, 0); ec_device_probe() local
186 retval = cdev_add(&ec->cdev, devno, 1); ec_device_probe()
192 ec->vdev = device_create(cros_class, NULL, devno, ec, ec_device_probe()
/linux-4.1.27/drivers/s390/block/
H A Ddasd_devmap.c55 * <devno> : (0x)?[0-9a-fA-F]+
59 * <devno-range> : <devno>(-<devno>)?<feature_list>?
61 * <devices> : <devno-range>|<busid-range>
128 * Read a device busid/devno from a string.
132 dasd_busid(char **str, int *id0, int *id1, int *devno) dasd_busid() argument
144 *devno = ipl_info.data.ccw.dev_id.devno; dasd_busid()
162 *devno = val; dasd_busid()
181 *devno = val; dasd_busid()
H A Ddasd_diag.c108 iib->dev_nr = private->dev_id.devno; mdsk_init_io()
133 iib->dev_nr = private->dev_id.devno; mdsk_term_io()
179 private->iob.dev_nr = private->dev_id.devno; dasd_start_diag()
350 rdc_data->dev_nr = private->dev_id.devno; dasd_diag_check_device()
H A Ddasd_ioctl.c400 dasd_info->devno = dev_id.devno; dasd_ioctl_information()
H A Ddasd_int.h119 __dev_id.ssid, __dev_id.devno, d_data); \
H A Ddasd.c3185 diag_data.vrdcdvno = dev_id.devno; dasd_device_is_ro()
3192 dev_id.devno, rc); dasd_device_is_ro()
/linux-4.1.27/sound/pci/
H A Dad1889.c972 static int devno; snd_ad1889_probe() local
977 if (devno >= SNDRV_CARDS) snd_ad1889_probe()
979 if (!enable[devno]) { snd_ad1889_probe()
980 devno++; snd_ad1889_probe()
985 err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, snd_ad1889_probe()
1005 err = snd_ad1889_ac97_init(chip, ac97_quirk[devno]); snd_ad1889_probe()
1024 devno++; snd_ad1889_probe()
/linux-4.1.27/drivers/media/rc/
H A Drc-main.c1312 int rc, devno, attr = 0; rc_register_device() local
1333 devno = find_first_zero_bit(ir_core_dev_number, rc_register_device()
1336 if (devno >= IRRCV_NUM_DEVICES) rc_register_device()
1338 } while (test_and_set_bit(devno, ir_core_dev_number)); rc_register_device()
1358 dev->devno = devno; rc_register_device()
1359 dev_set_name(&dev->dev, "rc%ld", dev->devno); rc_register_device()
1434 dev->devno, rc_register_device()
1453 clear_bit(dev->devno, ir_core_dev_number); rc_register_device()
1465 clear_bit(dev->devno, ir_core_dev_number); rc_unregister_device()
H A Drc-ir-raw.c274 "rc%ld", dev->devno); ir_raw_event_register()
/linux-4.1.27/sound/oss/
H A Dmpu401.c45 int devno; member in struct:mpu_config
432 devc->inputintr(devc->devno, c); mpu401_input_loop()
1088 mpu401_synth_operations[m]->midi_dev = devc->devno = m; attach_mpu401()
1089 mpu401_synth_operations[devc->devno]->info = &mpu_synth_info[devc->devno]; attach_mpu401()
1094 midi_devs[m] = &mpu401_midi_operations[devc->devno]; attach_mpu401()
1639 int midi_dev = devc->devno; timer_ext_event()
H A Dopl3.c268 static int opl3_kill_note (int devno, int voice, int note, int velocity) opl3_kill_note() argument
744 static void opl3_reset(int devno) opl3_reset() argument
768 opl3_kill_note(devno, i, 0, 64); opl3_reset()
/linux-4.1.27/include/media/
H A Drc-core.h72 * @devno: unique remote control device number
132 unsigned long devno; member in struct:rc_dev
/linux-4.1.27/drivers/media/usb/tm6000/
H A Dtm6000.h178 int devno; /* marks the number of this device */ member in struct:tm6000_core
H A Dtm6000-cards.c1230 dev->devno = nr; tm6000_usb_probe()
1398 clear_bit(dev->devno, &tm6000_devused); tm6000_usb_disconnect()
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-cards.c1169 clear_bit(dev->devno, &cx231xx_devused); cx231xx_release_resources()
1556 dev->devno = nr; cx231xx_usb_probe()
1613 nr = dev->devno; cx231xx_usb_probe()
H A Dcx231xx-video.c2183 video_nr[dev->devno]); cx231xx_register_analog_devices()
2210 vbi_nr[dev->devno]); cx231xx_register_analog_devices()
2224 radio_nr[dev->devno]); cx231xx_register_analog_devices()
H A Dcx231xx.h592 int devno; /* marks the number of this device */ member in struct:cx231xx
/linux-4.1.27/drivers/s390/kvm/
H A Dvirtio_ccw.c1053 if (test_bit(id.devno, devs_no_auto[id.ssid])) virtio_ccw_check_autoonline()
1306 unsigned int *ssid, unsigned int *devno) parse_busid()
1325 ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); parse_busid()
1305 parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, unsigned int *devno) parse_busid() argument
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_fc.c771 char devno[] = "DEVNO:"; zfcp_fc_gspn() local
799 !(strstr(gspn_rsp->gspn.fp_name, devno))) zfcp_fc_gspn()
802 gspn_rsp->gspn.fp_name, devno, zfcp_fc_gspn() local
H A Dzfcp_scsi.c333 adapter->scsi_host->unique_id = dev_id.devno; zfcp_scsi_adapter_register()
/linux-4.1.27/drivers/edac/
H A Di7core_edac.c1311 const unsigned devno, i7core_get_onedevice()
1315 const struct pci_id_descr *dev_descr = &table->descr[devno]; i7core_get_onedevice()
1352 if (devno == 0) i7core_get_onedevice()
1376 if (i7core_dev->pdev[devno]) { i7core_get_onedevice()
1386 i7core_dev->pdev[devno] = pdev; i7core_get_onedevice()
1309 i7core_get_onedevice(struct pci_dev **prev, const struct pci_id_table *table, const unsigned devno, const unsigned last_bus) i7core_get_onedevice() argument
H A Dsb_edac.c1487 const unsigned devno) sbridge_get_onedevice()
1490 const struct pci_id_descr *dev_descr = &table->descr[devno]; sbridge_get_onedevice()
1511 if (devno == 0) sbridge_get_onedevice()
1533 if (sbridge_dev->pdev[devno]) { sbridge_get_onedevice()
1541 sbridge_dev->pdev[devno] = pdev; sbridge_get_onedevice()
1484 sbridge_get_onedevice(struct pci_dev **prev, u8 *num_mc, const struct pci_id_table *table, const unsigned devno) sbridge_get_onedevice() argument
/linux-4.1.27/drivers/net/ethernet/renesas/
H A Dsh_eth.c3069 int ret, devno = 0; sh_eth_drv_probe() local
3086 devno = pdev->id; sh_eth_drv_probe()
3087 if (devno < 0) sh_eth_drv_probe()
3088 devno = 0; sh_eth_drv_probe()
3177 mdp->port = devno % 2; sh_eth_drv_probe()
3182 if (!devno || pd->needs_init) { sh_eth_drv_probe()
/linux-4.1.27/drivers/block/
H A Dskd_main.c291 u32 devno; member in struct:skd_device
3361 mtd = FIT_MXD_CONS(FIT_MTD_CMD_LOG_HOST_ID, 0, skdev->devno); skd_isr_msg_from_dev()
3980 "%s%d-msix %s", DRV_NAME, skdev->devno, skd_acquire_msix()
4032 DRV_NAME, skdev->devno); skd_acquire_irq()
4057 "%s%d-legacy", DRV_NAME, skdev->devno); skd_acquire_irq()
4398 sprintf(disk->disk_name, DRV_NAME "%u", skdev->devno); skd_cons_disk()
4401 disk->first_minor = skdev->devno * SKD_MINORS_PER_DEVICE; skd_cons_disk()
4460 skdev->devno = skd_next_devno++; skd_construct()
4463 sprintf(skdev->name, DRV_NAME "%d", skdev->devno); skd_construct()
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-video.c2514 video_nr[dev->devno]); em28xx_v4l2_init()
2544 vbi_nr[dev->devno]); em28xx_v4l2_init()
2555 radio_nr[dev->devno]); em28xx_v4l2_init()
H A Dem28xx.h612 int devno; /* marks the number of this device */ member in struct:em28xx
H A Dem28xx-cards.c3027 clear_bit(dev->devno, em28xx_devused); em28xx_release_resources()
3162 snprintf(dev->name, sizeof(dev->name), "%s #%d", chip_name, dev->devno); em28xx_init_dev()
3418 dev->devno = nr; em28xx_usb_probe()
/linux-4.1.27/drivers/s390/net/
H A Dqeth_core.h834 __u16 devno; member in struct:qeth_trap_id
H A Dqeth_core_main.c1862 memcpy(QETH_IDX_ACT_QDIO_DEV_CUA(iob->data), &temp_devid.devno, 2); qeth_idx_activate_channel()
2412 memcpy(QETH_ULP_SETUP_CUA(iob->data), &dev_id.devno, 2); qeth_ulp_setup()
3221 tid->devno = ccwid.devno; qeth_get_trap_id()
H A Dqeth_l2_main.c120 if (read_devid.devno == temp_dev_no) { qeth_l2_netdev_by_devno()
/linux-4.1.27/include/sound/
H A Dwavefront.h535 u16 devno; /* fill in when sending */ member in struct:wf_patch_info
/linux-4.1.27/include/uapi/linux/
H A Dsoundcard.h153 int devno; /* Synthesizer # */ member in struct:synth_control
159 int devno; /* Synthesizer # */ member in struct:remove_sample
/linux-4.1.27/include/linux/
H A Dlibata.h678 unsigned int devno; /* 0 or 1 */ member in struct:ata_device
1684 if (dev->devno == 0) ata_tf_init()
/linux-4.1.27/block/
H A Dgenhd.c1233 /* We need to return the right devno, even blk_lookup_devt()

Completed in 4007 milliseconds