Searched refs:dev_nr (Results 1 – 6 of 6) sorted by relevance
30 u16 dev_nr; member57 u16 dev_nr; member69 u16 dev_nr; member
112 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()
145 int ngene_i2c_init(struct ngene *dev, int dev_nr) in ngene_i2c_init() argument147 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()
831 int ngene_i2c_init(struct ngene *dev, int dev_nr);
32 static atomic_t dev_nr = ATOMIC_INIT(-1); variable373 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()
162 int counter, dev_nr; in idle_counter_exceeded() local175 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()