Home
last modified time | relevance | path

Searched refs:dev_nr (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/s390/block/
Ddasd_diag.h30 u16 dev_nr; member
59 u16 dev_nr; member
71 u16 dev_nr; member
100 u16 dev_nr; member
111 u16 dev_nr; member
Ddasd_diag.c109 iib->dev_nr = private->dev_id.devno; in mdsk_init_io()
134 iib->dev_nr = private->dev_id.devno; in mdsk_term_io()
180 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag()
351 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device()
382 rdc_data->dev_nr, in dasd_diag_check_device()
407 private->iob.dev_nr = rdc_data->dev_nr; in dasd_diag_check_device()
/linux-2.6.39/drivers/media/dvb/ngene/
Dngene-i2c.c162 int ngene_i2c_init(struct ngene *dev, int dev_nr) in ngene_i2c_init() argument
164 struct i2c_adapter *adap = &(dev->channel[dev_nr].i2c_adapter); in ngene_i2c_init()
166 i2c_set_adapdata(adap, &(dev->channel[dev_nr])); in ngene_i2c_init()
171 adap->algo_data = (void *)&(dev->channel[dev_nr]); in ngene_i2c_init()
Dngene.h895 int ngene_i2c_init(struct ngene *dev, int dev_nr);
/linux-2.6.39/include/sound/
Dtea575x-tuner.h40 int dev_nr; /* requested device number + 1 */ member
/linux-2.6.39/net/netrom/
Daf_netrom.c1393 static struct net_device **dev_nr; variable
1417 dev_nr = kzalloc(nr_ndevs * sizeof(struct net_device *), GFP_KERNEL); in nr_proto_init()
1418 if (dev_nr == NULL) { in nr_proto_init()
1441 dev_nr[i] = dev; in nr_proto_init()
1467 unregister_netdev(dev_nr[i]); in nr_proto_init()
1468 free_netdev(dev_nr[i]); in nr_proto_init()
1470 kfree(dev_nr); in nr_proto_init()
1509 struct net_device *dev = dev_nr[i]; in nr_exit()
1516 kfree(dev_nr); in nr_exit()
/linux-2.6.39/drivers/media/video/hdpvr/
Dhdpvr-core.c36 static atomic_t dev_nr = ATOMIC_INIT(-1); variable
377 video_nr[atomic_inc_return(&dev_nr)])) { in hdpvr_probe()
444 atomic_dec(&dev_nr); in hdpvr_disconnect()
/linux-2.6.39/drivers/media/video/et61x251/
Det61x251_core.c2548 static unsigned int dev_nr; in et61x251_usb_probe() local
2600 video_nr[dev_nr]); in et61x251_usb_probe()
2603 if (err == -ENFILE && video_nr[dev_nr] == -1) in et61x251_usb_probe()
2605 video_nr[dev_nr] = -1; in et61x251_usb_probe()
2606 dev_nr = (dev_nr < ET61X251_MAX_DEVICES-1) ? dev_nr+1 : 0; in et61x251_usb_probe()
2614 cam->module_param.force_munmap = force_munmap[dev_nr]; in et61x251_usb_probe()
2615 cam->module_param.frame_timeout = frame_timeout[dev_nr]; in et61x251_usb_probe()
2617 dev_nr = (dev_nr < ET61X251_MAX_DEVICES-1) ? dev_nr+1 : 0; in et61x251_usb_probe()
/linux-2.6.39/drivers/media/video/sn9c102/
Dsn9c102_core.c3256 static unsigned int dev_nr; in sn9c102_usb_probe() local
3341 video_nr[dev_nr]); in sn9c102_usb_probe()
3344 if (err == -ENFILE && video_nr[dev_nr] == -1) in sn9c102_usb_probe()
3346 video_nr[dev_nr] = -1; in sn9c102_usb_probe()
3347 dev_nr = (dev_nr < SN9C102_MAX_DEVICES-1) ? dev_nr+1 : 0; in sn9c102_usb_probe()
3356 cam->module_param.force_munmap = force_munmap[dev_nr]; in sn9c102_usb_probe()
3357 cam->module_param.frame_timeout = frame_timeout[dev_nr]; in sn9c102_usb_probe()
3359 dev_nr = (dev_nr < SN9C102_MAX_DEVICES-1) ? dev_nr+1 : 0; in sn9c102_usb_probe()
/linux-2.6.39/fs/btrfs/
Dvolumes.c3373 int dev_nr = 0; in btrfs_map_bio() local
3397 while (dev_nr < total_devs) { in btrfs_map_bio()
3399 if (dev_nr < total_devs - 1) { in btrfs_map_bio()
3408 bio->bi_sector = multi->stripes[dev_nr].physical >> 9; in btrfs_map_bio()
3409 dev = multi->stripes[dev_nr].dev; in btrfs_map_bio()
3421 dev_nr++; in btrfs_map_bio()
/linux-2.6.39/sound/pci/
Dfm801.c1456 chip->tea.dev_nr = tea575x_tuner >> 16; in snd_fm801_create()