Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/s390/block/
Dxpram.c761 int dev_no; /* device number of request */ in xpram_request() local
776 dev_no = DEVICE_NR(current_req->rq_dev); in xpram_request()
778 if ( dev_no > xpram_devs ) { in xpram_request()
787 device = xpram_devices + dev_no; in xpram_request()
790 if ( XPRAM_SEC2KB(sects_to_copy) > xpram_sizes[dev_no] ) { in xpram_request()
824 page_no = (xpram_offsets[dev_no] >> XPRAM_KB_IN_PG_ORDER) in xpram_request()
828 …PRINT_DEBUG("request: %d ( dev %d, copy %d sectors, at page %d ) \n", current_req->cmd,dev_no,sect… in xpram_request()
835 PRINT_WARN("xpram(dev %d): page in failed for page %ld.\n",dev_no,page_no); in xpram_request()
847 PRINT_WARN("xpram(dev %d): page out failed for page %ld.\n",dev_no,page_no); in xpram_request()
/linux-2.4.37.9/drivers/sound/
Dad1816.c76 int dev_no; /* this is the # in audio_devs and NOT member
499 ad1816_reset(devc->dev_no); /* halt all pending output */ in ad1816_open()
513 ad1816_reset(devc->dev_no); in ad1816_close()
1166 irq2dev[hw_config->irq] = devc->dev_no = my_dev; in attach_ad1816()
1228 dev = devc->dev_no; in unload_card()
Dwaveartist.c106 int dev_no; member
1395 devc->dev_no = waveartist_init(devc); in attach_waveartist()
1397 if (devc->dev_no < 0) in attach_waveartist()
1449 mixer = audio_devs[devc->dev_no]->mixer_dev; in unload_waveartist()
1454 if (devc->dev_no >= 0) in unload_waveartist()
1455 sound_unload_audiodev(devc->dev_no); in unload_waveartist()
Dad1848.c98 int dev_no; member
2051 devc->dev_no = my_dev; in ad1848_init()
2088 irq2dev[-irq] = devc->dev_no = my_dev; in ad1848_init()
2186 dev = devc->dev_no; in ad1848_unload()
2199 free_irq(devc->irq, (void *)devc->dev_no); in ad1848_unload()
2207 mixer = audio_devs[devc->dev_no]->mixer_dev; in ad1848_unload()
2863 ad1848_mixer_set(devc, devc->dev_no, mixer_levels[i]); in ad1848_resume()
/linux-2.4.37.9/drivers/s390/
Ds390io.c6499 int dev_no = -1; in s390_process_subchannel_source() local
6515 dev_no = ioinfo[irq]->devno; in s390_process_subchannel_source()
6570 cio_procfs_device_remove (dev_no); in s390_process_subchannel_source()
6625 else if ((ioinfo[irq]->devno != dev_no) in s390_process_subchannel_source()