Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_diag.h30 u16 dev_nr; member
57 u16 dev_nr; member
69 u16 dev_nr; member
Ddasd_diag.c112 iib->dev_nr = private->dev_id.devno; in mdsk_init_io()
135 iib->dev_nr = private->dev_id.devno; in mdsk_term_io()
180 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag()
350 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device()
382 rdc_data->dev_nr, in dasd_diag_check_device()
414 private->iob.dev_nr = rdc_data->dev_nr; in dasd_diag_check_device()
/drivers/media/pci/ngene/
Dngene-i2c.c145 int ngene_i2c_init(struct ngene *dev, int dev_nr) in ngene_i2c_init() argument
147 struct i2c_adapter *adap = &(dev->channel[dev_nr].i2c_adapter); in ngene_i2c_init()
149 i2c_set_adapdata(adap, &(dev->channel[dev_nr])); in ngene_i2c_init()
154 adap->algo_data = (void *)&(dev->channel[dev_nr]); in ngene_i2c_init()
Dngene.h831 int ngene_i2c_init(struct ngene *dev, int dev_nr);
/drivers/media/usb/hdpvr/
Dhdpvr-core.c32 static atomic_t dev_nr = ATOMIC_INIT(-1); variable
373 dev_num = atomic_inc_return(&dev_nr); in hdpvr_probe()
377 atomic_dec(&dev_nr); in hdpvr_probe()
433 atomic_dec(&dev_nr); in hdpvr_disconnect()
/drivers/md/bcache/
Dwriteback.c162 int counter, dev_nr; in idle_counter_exceeded() local
175 dev_nr = atomic_read(&c->attached_dev_nr); in idle_counter_exceeded()
176 if (dev_nr == 0) in idle_counter_exceeded()
188 if (counter < (dev_nr * dev_nr * 6)) in idle_counter_exceeded()