tag | line | file | source code |
drv | 562 | drivers/block/ide-tape.c | unsigned drv :1; /* The responding drive will be drive 0 (0) or drive 1 (1) */ |
drv | 257 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) |
drv | 265 | drivers/isdn/isdn_common.c | p = isdn_new_buf(&dev->drv[di]->rpqueue[channel], len); |
drv | 268 | drivers/isdn/isdn_common.c | dev->drv[di]->rcverr[channel]++; |
drv | 273 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] += len; |
drv | 280 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->rcv_waitq[channel]); |
drv | 293 | drivers/isdn/isdn_common.c | (void) dev->drv[di]->interface->command(&cmd); |
drv | 318 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->snd_waitq[c->arg]); |
drv | 323 | drivers/isdn/isdn_common.c | dev->drv[di]->stavail += c->arg; |
drv | 325 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->st_waitq); |
drv | 328 | drivers/isdn/isdn_common.c | dev->drv[di]->running = 1; |
drv | 334 | drivers/isdn/isdn_common.c | dev->drv[di]->running = 0; |
drv | 346 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 361 | drivers/isdn/isdn_common.c | } else if (dev->drv[di]->reject_bus) { |
drv | 365 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 374 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 381 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 426 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 439 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
drv | 472 | drivers/isdn/isdn_common.c | dev->drv[di]->flags |= (1 << (c->arg)); |
drv | 498 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
drv | 553 | drivers/isdn/isdn_common.c | dev->channels -= dev->drv[di]->channels; |
drv | 554 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcverr); |
drv | 555 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcvcount); |
drv | 556 | drivers/isdn/isdn_common.c | for (i = 0; i < dev->drv[di]->channels; i++) |
drv | 557 | drivers/isdn/isdn_common.c | isdn_free_queue(&dev->drv[di]->rpqueue[i]); |
drv | 558 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcv_waitq); |
drv | 559 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->snd_waitq); |
drv | 560 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]); |
drv | 561 | drivers/isdn/isdn_common.c | dev->drv[di] = NULL; |
drv | 595 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) { |
drv | 597 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&dev->drv[di]->rcv_waitq[channel]); |
drv | 601 | drivers/isdn/isdn_common.c | if (!dev->drv[di]) |
drv | 605 | drivers/isdn/isdn_common.c | avail = dev->drv[di]->rcvcount[channel]; |
drv | 611 | drivers/isdn/isdn_common.c | if ((copy_l = dev->drv[di]->rpqueue[channel]->length) > left) { |
drv | 616 | drivers/isdn/isdn_common.c | p = dev->drv[di]->rpqueue[channel]; |
drv | 633 | drivers/isdn/isdn_common.c | dev->drv[di]->rpqueue[channel] = (pqueue *) p->next; |
drv | 642 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] -= copy_l; |
drv | 692 | drivers/isdn/isdn_common.c | if (dev->drv[i]) { |
drv | 693 | drivers/isdn/isdn_common.c | sprintf(p, "%ld ", dev->drv[i]->flags); |
drv | 752 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 763 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->stavail) |
drv | 764 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&(dev->drv[drvidx]->st_waitq)); |
drv | 765 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->readstat) |
drv | 766 | drivers/isdn/isdn_common.c | len = dev->drv[drvidx]->interface-> |
drv | 767 | drivers/isdn/isdn_common.c | readstat(buf, MIN(count, dev->drv[drvidx]->stavail), 1); |
drv | 772 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->stavail -= len; |
drv | 803 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 806 | drivers/isdn/isdn_common.c | while (dev->drv[drvidx]->interface->writebuf(drvidx, chidx, buf, count, 1) != count) |
drv | 807 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&dev->drv[drvidx]->snd_waitq[chidx]); |
drv | 820 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->writecmd) |
drv | 821 | drivers/isdn/isdn_common.c | return (dev->drv[drvidx]->interface->writecmd(buf, count, 1)); |
drv | 1020 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 1186 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->reject_bus = iocts.arg; |
drv | 1277 | drivers/isdn/isdn_common.c | memset(dev->drv[drvidx]->msn2eaz, 0, |
drv | 1278 | drivers/isdn/isdn_common.c | sizeof(dev->drv[drvidx]->msn2eaz)); |
drv | 1282 | drivers/isdn/isdn_common.c | strcpy(dev->drv[drvidx]->msn2eaz[i++], p); |
drv | 1289 | drivers/isdn/isdn_common.c | strlen(dev->drv[drvidx]->msn2eaz[i]) ? |
drv | 1290 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->msn2eaz[i] : "-", |
drv | 1341 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface->command(&c); |
drv | 1389 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 1391 | drivers/isdn/isdn_common.c | if (!(dev->drv[drvidx]->flags & (1 << chidx))) |
drv | 1395 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1406 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1451 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1462 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1489 | drivers/isdn/isdn_common.c | driver *this = dev->drv[di]; |
drv | 1522 | drivers/isdn/isdn_common.c | if ((dev->drv[d]->running)) { |
drv | 1523 | drivers/isdn/isdn_common.c | if ((dev->drv[d]->interface->features & features) == features) { |
drv | 1618 | drivers/isdn/isdn_common.c | skb = alloc_skb(dev->drv[drvidx]->interface->hl_hdrlen + len, GFP_ATOMIC); |
drv | 1622 | drivers/isdn/isdn_common.c | skb_reserve(skb, dev->drv[drvidx]->interface->hl_hdrlen); |
drv | 1630 | drivers/isdn/isdn_common.c | return dev->drv[drvidx]->interface->writebuf_skb(drvidx, chan, skb); |
drv | 1712 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]) |
drv | 1733 | drivers/isdn/isdn_common.c | dev->drv[drvidx] = d; |
drv | 336 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 339 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 352 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 356 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 388 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 413 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 436 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 440 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 453 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 486 | drivers/isdn/isdn_net.c | if ((l = dev->drv[di]->interface->writebuf(di, ch, buf, len, 0)) == len) |
drv | 521 | drivers/isdn/isdn_net.c | (void) dev->drv[cmd.driver]->interface->command(&cmd); |
drv | 637 | drivers/isdn/isdn_net.c | if (dev->drv[lp->isdn_device]->interface->writebuf_skb) |
drv | 638 | drivers/isdn/isdn_net.c | ret = dev->drv[lp->isdn_device]->interface-> |
drv | 1224 | drivers/isdn/isdn_net.c | if (dev->drv[drvidx]) |
drv | 1225 | drivers/isdn/isdn_net.c | if (max_hlhdr_len < dev->drv[drvidx]->interface->hl_hdrlen) |
drv | 1226 | drivers/isdn/isdn_net.c | max_hlhdr_len = dev->drv[drvidx]->interface->hl_hdrlen; |
drv | 1856 | drivers/isdn/isdn_net.c | if (dev->drv[i]) |
drv | 1857 | drivers/isdn/isdn_net.c | if ((dev->drv[i]->interface->features & features) == features) |
drv | 504 | drivers/isdn/isdn_ppp.c | if (dev->drv[lp->isdn_device]->running && lp->dialstate == 0 && |
drv | 506 | drivers/isdn/isdn_ppp.c | dev->drv[lp->isdn_device]->interface->writebuf( |
drv | 166 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 170 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 174 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 178 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 187 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 203 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 377 | drivers/isdn/isdn_tty.c | driver *driv = dev->drv[drvidx]; |
drv | 380 | drivers/isdn/isdn_tty.c | i = dev->drv[info->isdn_driver]->maxbufsize; |
drv | 417 | drivers/isdn/isdn_tty.c | if (dev->drv[info->isdn_driver]->interface-> |
drv | 1297 | drivers/isdn/isdn_tty.c | dev->drv[di]->reject_bus ? "rejected" : "ignored"); |
drv | 1451 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 1586 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 1590 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 1597 | drivers/isdn/isdn_tty.c | fido_drv = dev->drv[fido_isdn_driver]; |
drv | 1602 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 2022 | drivers/isdn/isdn_tty.c | if (dev->drv[info->isdn_driver]->interface-> |
drv | 2047 | drivers/isdn/isdn_tty.c | void isdn_tty_bsent(int drv, int chan) |
drv | 2056 | drivers/isdn/isdn_tty.c | if ((info->isdn_driver == drv) && |
drv | 376 | drivers/scsi/eata_generic.h | struct drive_geom_emul drv[2]; /* drive structures */ |
drv | 83 | drivers/sound/dev_table.c | int drv; |
drv | 101 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1) |
drv | 110 | drivers/sound/dev_table.c | sound_drivers[drv].card_subtype; |
drv | 112 | drivers/sound/dev_table.c | if (sound_drivers[drv].probe (&snd_installed_cards[i].config)) |
drv | 115 | drivers/sound/dev_table.c | mem_start = sound_drivers[drv].attach (mem_start, &snd_installed_cards[i].config); |
drv | 139 | drivers/sound/dev_table.c | int drv; |
drv | 149 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (snd_installed_cards[i].card_type)) != -1) |
drv | 150 | drivers/sound/dev_table.c | if (sound_drivers[drv].unload) |
drv | 152 | drivers/sound/dev_table.c | sound_drivers[drv].unload (&snd_installed_cards[i].config); |
drv | 163 | drivers/sound/dev_table.c | int i, drv = -1, n = num_sound_cards; |
drv | 174 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (type)) != -1) |
drv | 176 | drivers/sound/dev_table.c | if (sound_drivers[drv].unload) |
drv | 178 | drivers/sound/dev_table.c | sound_drivers[drv].unload (&snd_installed_cards[i].config); |
drv | 222 | drivers/sound/dev_table.c | int drv; |
drv | 236 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (snd_installed_cards[sel].card_type)) == -1) |
drv | 242 | drivers/sound/dev_table.c | DDB (printk ("Driver name '%s'\n", sound_drivers[drv].name)); |
drv | 246 | drivers/sound/dev_table.c | sound_drivers[drv].card_subtype; |
drv | 248 | drivers/sound/dev_table.c | if (sound_drivers[drv].probe (hw_config)) |
drv | 281 | drivers/sound/dev_table.c | int drv; |
drv | 294 | drivers/sound/dev_table.c | if ((drv = snd_find_driver (snd_installed_cards[i].card_type)) == -1) |
drv | 302 | drivers/sound/dev_table.c | if (sound_drivers[drv].attach (0, hw_config) != 0) |
drv | 523 | drivers/sound/dev_table.h | void install_pnp_sounddrv(struct pnp_sounddev *drv); |
drv | 160 | drivers/sound/sound_switch.c | int drv, tmp; |
drv | 171 | drivers/sound/sound_switch.c | if ((drv = snd_find_driver (snd_installed_cards[i].card_type)) != -1) |
drv | 172 | drivers/sound/sound_switch.c | if (!put_status (sound_drivers[drv].name)) |
drv | 550 | include/linux/isdn.h | driver *drv[ISDN_MAX_DRIVERS]; /* Array of drivers */ |