Searched refs:dev_nr (Results 1 – 11 of 11) sorted by relevance
30 u16 dev_nr; member59 u16 dev_nr; member71 u16 dev_nr; member100 u16 dev_nr; member111 u16 dev_nr; member
109 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()
162 int ngene_i2c_init(struct ngene *dev, int dev_nr) in ngene_i2c_init() argument164 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()
895 int ngene_i2c_init(struct ngene *dev, int dev_nr);
40 int dev_nr; /* requested device number + 1 */ member
1393 static struct net_device **dev_nr; variable1417 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()
36 static atomic_t dev_nr = ATOMIC_INIT(-1); variable377 video_nr[atomic_inc_return(&dev_nr)])) { in hdpvr_probe()444 atomic_dec(&dev_nr); in hdpvr_disconnect()
2548 static unsigned int dev_nr; in et61x251_usb_probe() local2600 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()
3256 static unsigned int dev_nr; in sn9c102_usb_probe() local3341 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()
3373 int dev_nr = 0; in btrfs_map_bio() local3397 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()
1456 chip->tea.dev_nr = tea575x_tuner >> 16; in snd_fm801_create()