Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/
Dw9968cf.c460 const unsigned short dev_nr);
2685 const unsigned short dev_nr) in w9968cf_configure_camera() argument
2704 if (packet_size[dev_nr] < W9968CF_MIN_PACKET_SIZE) in w9968cf_configure_camera()
2705 packet_size[dev_nr] = W9968CF_MIN_PACKET_SIZE; in w9968cf_configure_camera()
2707 packet_size[dev_nr] < wMaxPacketSize[cam->altsetting-1]; in w9968cf_configure_camera()
2710 cam->max_buffers = (max_buffers[dev_nr] < 2 || in w9968cf_configure_camera()
2711 max_buffers[dev_nr] > W9968CF_MAX_BUFFERS) in w9968cf_configure_camera()
2712 ? W9968CF_BUFFERS : (u8)max_buffers[dev_nr]; in w9968cf_configure_camera()
2714 cam->double_buffer = (double_buffer[dev_nr] == 0 || in w9968cf_configure_camera()
2715 double_buffer[dev_nr] == 1) in w9968cf_configure_camera()
[all …]
/linux-2.4.37.9/drivers/s390/block/
Ddasd_diag.h38 u16 dev_nr; member
50 u16 dev_nr; member
Ddasd_diag.c100 iib->dev_nr = device->devinfo.devno; in mdsk_init_io()
119 iib->dev_nr = device->devinfo.devno; in mdsk_term_io()
135 iob->dev_nr = device->devinfo.devno; in dasd_start_diag()
367 iob->dev_nr = rdc_data->vrdcdvno; in dasd_diag_check_characteristics()
/linux-2.4.37.9/net/netrom/
Daf_netrom.c1301 static struct net_device *dev_nr; variable
1314 if ((dev_nr = kmalloc(nr_ndevs * sizeof(struct net_device), GFP_KERNEL)) == NULL) { in nr_proto_init()
1319 memset(dev_nr, 0x00, nr_ndevs * sizeof(struct net_device)); in nr_proto_init()
1322 sprintf(dev_nr[i].name, "nr%d", i); in nr_proto_init()
1323 dev_nr[i].init = nr_init; in nr_proto_init()
1324 register_netdev(&dev_nr[i]); in nr_proto_init()
1380 if (dev_nr[i].priv != NULL) { in nr_exit()
1381 kfree(dev_nr[i].priv); in nr_exit()
1382 dev_nr[i].priv = NULL; in nr_exit()
1383 unregister_netdev(&dev_nr[i]); in nr_exit()
[all …]