Home
last modified time | relevance | path

Searched refs:drvidx (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/isdn/
Disdn_common.c975 int drvidx; in isdn_read() local
1016 drvidx = isdn_minor2drv(minor); in isdn_read()
1017 if (drvidx < 0) { in isdn_read()
1021 if (!(dev->drv[drvidx]->flags & DRV_FLAG_RUNNING)) { in isdn_read()
1032 len = isdn_readbchan(drvidx, chidx, p, 0, count, in isdn_read()
1033 &dev->drv[drvidx]->rcv_waitq[chidx]); in isdn_read()
1043 drvidx = isdn_minor2drv(minor - ISDN_MINOR_CTRL); in isdn_read()
1044 if (drvidx < 0) { in isdn_read()
1048 if (!dev->drv[drvidx]->stavail) { in isdn_read()
1053 interruptible_sleep_on(&(dev->drv[drvidx]->st_waitq)); in isdn_read()
[all …]
Disdn_net.c2050 int drvidx, i; in isdn_net_init() local
2081 for (drvidx = 0; drvidx < ISDN_MAX_DRIVERS; drvidx++) in isdn_net_init()
2082 if (dev->drv[drvidx]) in isdn_net_init()
2083 if (max_hlhdr_len < dev->drv[drvidx]->interface->hl_hdrlen) in isdn_net_init()
2084 max_hlhdr_len = dev->drv[drvidx]->interface->hl_hdrlen; in isdn_net_init()
2095 isdn_net_swapbind(int drvidx) in isdn_net_swapbind() argument
2100 printk(KERN_DEBUG "n_fi: swapping ch of %d\n", drvidx); in isdn_net_swapbind()
2104 if (p->local->pre_device == drvidx) in isdn_net_swapbind()
2716 int drvidx; in isdn_net_setcfg() local
2807 drvidx = -1; in isdn_net_setcfg()
[all …]