Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/irda/
Dnsc-ircc.c130 static struct nsc_ircc_cb *dev_self[] = { NULL, NULL, NULL, NULL, NULL }; variable
324 for (i = 0; i < ARRAY_SIZE(dev_self); i++) { in nsc_ircc_cleanup()
325 if (dev_self[i]) in nsc_ircc_cleanup()
326 nsc_ircc_close(dev_self[i]); in nsc_ircc_cleanup()
367 for (chip_index = 0; chip_index < ARRAY_SIZE(dev_self); chip_index++) { in nsc_ircc_open()
368 if (!dev_self[chip_index]) in nsc_ircc_open()
372 if (chip_index == ARRAY_SIZE(dev_self)) { in nsc_ircc_open()
397 dev_self[chip_index] = self; in nsc_ircc_open()
507 dev_self[chip_index] = NULL; in nsc_ircc_open()
545 dev_self[self->index] = NULL; in nsc_ircc_close()
Dw83977af_ir.c87 static struct w83977af_ir *dev_self[] = { NULL, NULL, NULL, NULL}; variable
119 for (i=0; i < ARRAY_SIZE(dev_self) && io[i] < 2000; i++) { in w83977af_init()
138 for (i=0; i < ARRAY_SIZE(dev_self); i++) { in w83977af_cleanup()
139 if (dev_self[i]) in w83977af_cleanup()
140 w83977af_close(dev_self[i]); in w83977af_cleanup()
252 dev_self[i] = self; in w83977af_open()
Dali-ircc.c92 static struct ali_ircc_cb *dev_self[] = { NULL, NULL, NULL, NULL }; variable
255 for (i=0; i < ARRAY_SIZE(dev_self); i++) { in ali_ircc_cleanup()
256 if (dev_self[i]) in ali_ircc_cleanup()
257 ali_ircc_close(dev_self[i]); in ali_ircc_cleanup()
294 if (i >= ARRAY_SIZE(dev_self)) { in ali_ircc_open()
316 dev_self[i] = self; in ali_ircc_open()
410 dev_self[i] = NULL; in ali_ircc_open()
447 dev_self[self->index] = NULL; in ali_ircc_close()
Dsmsc-ircc2.c360 static struct smsc_ircc_cb *dev_self[] = { NULL, NULL }; variable
532 if (dev_count >= ARRAY_SIZE(dev_self)) { in smsc_ircc_open()
559 dev_self[dev_count] = self; in smsc_ircc_open()
632 dev_self[dev_count] = NULL; in smsc_ircc_open()
1890 if (dev_self[i]) in smsc_ircc_cleanup()
1891 smsc_ircc_close(dev_self[i]); in smsc_ircc_cleanup()