tag | line | file | source code |
drv | 565 | drivers/block/ide-tape.c | unsigned drv :1; /* The responding drive will be drive 0 (0) or drive 1 (1) */ |
drv | 268 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) |
drv | 276 | drivers/isdn/isdn_common.c | p = isdn_new_buf(&dev->drv[di]->rpqueue[channel], len); |
drv | 279 | drivers/isdn/isdn_common.c | dev->drv[di]->rcverr[channel]++; |
drv | 284 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] += len; |
drv | 291 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->rcv_waitq[channel]); |
drv | 304 | drivers/isdn/isdn_common.c | (void) dev->drv[di]->interface->command(&cmd); |
drv | 329 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->snd_waitq[c->arg]); |
drv | 334 | drivers/isdn/isdn_common.c | dev->drv[di]->stavail += c->arg; |
drv | 336 | drivers/isdn/isdn_common.c | wake_up_interruptible(&dev->drv[di]->st_waitq); |
drv | 339 | drivers/isdn/isdn_common.c | dev->drv[di]->running = 1; |
drv | 345 | drivers/isdn/isdn_common.c | dev->drv[di]->running = 0; |
drv | 357 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 372 | drivers/isdn/isdn_common.c | } else if (dev->drv[di]->reject_bus) { |
drv | 376 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 385 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 393 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 440 | drivers/isdn/isdn_common.c | dev->drv[di]->interface->command(&cmd); |
drv | 453 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
drv | 486 | drivers/isdn/isdn_common.c | dev->drv[di]->flags |= (1 << (c->arg)); |
drv | 512 | drivers/isdn/isdn_common.c | dev->drv[di]->flags &= ~(1 << (c->arg)); |
drv | 567 | drivers/isdn/isdn_common.c | dev->channels -= dev->drv[di]->channels; |
drv | 568 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcverr); |
drv | 569 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcvcount); |
drv | 570 | drivers/isdn/isdn_common.c | for (i = 0; i < dev->drv[di]->channels; i++) |
drv | 571 | drivers/isdn/isdn_common.c | isdn_free_queue(&dev->drv[di]->rpqueue[i]); |
drv | 572 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->rcv_waitq); |
drv | 573 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]->snd_waitq); |
drv | 574 | drivers/isdn/isdn_common.c | kfree(dev->drv[di]); |
drv | 575 | drivers/isdn/isdn_common.c | dev->drv[di] = NULL; |
drv | 609 | drivers/isdn/isdn_common.c | if (!dev->drv[di]->rpqueue[channel]) { |
drv | 611 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&dev->drv[di]->rcv_waitq[channel]); |
drv | 615 | drivers/isdn/isdn_common.c | if (!dev->drv[di]) |
drv | 619 | drivers/isdn/isdn_common.c | avail = dev->drv[di]->rcvcount[channel]; |
drv | 625 | drivers/isdn/isdn_common.c | if ((copy_l = dev->drv[di]->rpqueue[channel]->length) > left) { |
drv | 630 | drivers/isdn/isdn_common.c | p = dev->drv[di]->rpqueue[channel]; |
drv | 647 | drivers/isdn/isdn_common.c | dev->drv[di]->rpqueue[channel] = (pqueue *) p->next; |
drv | 656 | drivers/isdn/isdn_common.c | dev->drv[di]->rcvcount[channel] -= copy_l; |
drv | 706 | drivers/isdn/isdn_common.c | if (dev->drv[i]) { |
drv | 707 | drivers/isdn/isdn_common.c | sprintf(p, "%ld ", dev->drv[i]->flags); |
drv | 769 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 780 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->stavail) { |
drv | 783 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&(dev->drv[drvidx]->st_waitq)); |
drv | 785 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->readstat) |
drv | 786 | drivers/isdn/isdn_common.c | len = dev->drv[drvidx]->interface-> |
drv | 787 | drivers/isdn/isdn_common.c | readstat(buf, MIN(count, dev->drv[drvidx]->stavail), 1); |
drv | 793 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->stavail -= len; |
drv | 795 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->stavail = 0; |
drv | 826 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 831 | drivers/isdn/isdn_common.c | interruptible_sleep_on(&dev->drv[drvidx]->snd_waitq[chidx]); |
drv | 844 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->writecmd) |
drv | 845 | drivers/isdn/isdn_common.c | return (dev->drv[drvidx]->interface->writecmd(buf, count, 1)); |
drv | 1063 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 1229 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->reject_bus = iocts.arg; |
drv | 1320 | drivers/isdn/isdn_common.c | memset(dev->drv[drvidx]->msn2eaz, 0, |
drv | 1321 | drivers/isdn/isdn_common.c | sizeof(dev->drv[drvidx]->msn2eaz)); |
drv | 1325 | drivers/isdn/isdn_common.c | strcpy(dev->drv[drvidx]->msn2eaz[i++], p); |
drv | 1332 | drivers/isdn/isdn_common.c | strlen(dev->drv[drvidx]->msn2eaz[i]) ? |
drv | 1333 | drivers/isdn/isdn_common.c | dev->drv[drvidx]->msn2eaz[i] : "-", |
drv | 1384 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface->command(&c); |
drv | 1431 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]->running) |
drv | 1433 | drivers/isdn/isdn_common.c | if (!(dev->drv[drvidx]->flags & (1 << chidx))) |
drv | 1437 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1448 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1495 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1506 | drivers/isdn/isdn_common.c | (void) dev->drv[drvidx]->interface->command(&c); |
drv | 1532 | drivers/isdn/isdn_common.c | driver *this = dev->drv[di]; |
drv | 1565 | drivers/isdn/isdn_common.c | if ((dev->drv[d]->running)) { |
drv | 1566 | drivers/isdn/isdn_common.c | if ((dev->drv[d]->interface->features & features) == features) { |
drv | 1664 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->writebuf) |
drv | 1665 | drivers/isdn/isdn_common.c | return dev->drv[drvidx]->interface->writebuf(drvidx, chan, buf, |
drv | 1670 | drivers/isdn/isdn_common.c | skb = alloc_skb(dev->drv[drvidx]->interface->hl_hdrlen + len, GFP_ATOMIC); |
drv | 1674 | drivers/isdn/isdn_common.c | skb_reserve(skb, dev->drv[drvidx]->interface->hl_hdrlen); |
drv | 1682 | drivers/isdn/isdn_common.c | return dev->drv[drvidx]->interface->writebuf_skb(drvidx, chan, skb); |
drv | 1698 | drivers/isdn/isdn_common.c | if (dev->drv[drvidx]->interface->writebuf_skb) |
drv | 1699 | drivers/isdn/isdn_common.c | ret = dev->drv[drvidx]->interface-> |
drv | 1702 | drivers/isdn/isdn_common.c | if ((ret = dev->drv[drvidx]->interface-> |
drv | 1791 | drivers/isdn/isdn_common.c | if (!dev->drv[drvidx]) |
drv | 1809 | drivers/isdn/isdn_common.c | dev->drv[drvidx] = d; |
drv | 361 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 364 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 377 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 381 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 414 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 441 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 464 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 468 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 481 | drivers/isdn/isdn_net.c | dev->drv[p->local.isdn_device]->interface->command(&cmd); |
drv | 514 | drivers/isdn/isdn_net.c | (void) dev->drv[cmd.driver]->interface->command(&cmd); |
drv | 557 | drivers/isdn/isdn_net.c | (void) dev->drv[cmd.driver]->interface->command(&cmd); |
drv | 1266 | drivers/isdn/isdn_net.c | if (dev->drv[drvidx]) |
drv | 1267 | drivers/isdn/isdn_net.c | if (max_hlhdr_len < dev->drv[drvidx]->interface->hl_hdrlen) |
drv | 1268 | drivers/isdn/isdn_net.c | max_hlhdr_len = dev->drv[drvidx]->interface->hl_hdrlen; |
drv | 1903 | drivers/isdn/isdn_net.c | if (dev->drv[i]) |
drv | 1904 | drivers/isdn/isdn_net.c | if ((dev->drv[i]->interface->features & features) == features) |
drv | 508 | drivers/isdn/isdn_ppp.c | if (dev->drv[lp->isdn_device]->running && lp->dialstate == 0 && |
drv | 171 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 175 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 179 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 183 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 192 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 210 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 383 | drivers/isdn/isdn_tty.c | driver *driv = dev->drv[drvidx]; |
drv | 386 | drivers/isdn/isdn_tty.c | i = dev->drv[info->isdn_driver]->maxbufsize; |
drv | 1301 | drivers/isdn/isdn_tty.c | dev->drv[di]->reject_bus ? "rejected" : "ignored"); |
drv | 1455 | 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 | 1594 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 1601 | drivers/isdn/isdn_tty.c | fido_drv = dev->drv[fido_isdn_driver]; |
drv | 1606 | drivers/isdn/isdn_tty.c | dev->drv[info->isdn_driver]->interface->command(&cmd); |
drv | 2051 | drivers/isdn/isdn_tty.c | void isdn_tty_bsent(int drv, int chan) |
drv | 2060 | 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 | 525 | 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 | 568 | include/linux/isdn.h | driver *drv[ISDN_MAX_DRIVERS]; /* Array of drivers */ |