Searched refs:drvidx (Results 1 – 2 of 2) sorted by relevance
70 static int isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding);1069 int drvidx; in isdn_read() local1103 drvidx = isdn_minor2drv(minor); in isdn_read()1104 if (drvidx < 0) { in isdn_read()1108 if (!(dev->drv[drvidx]->flags & DRV_FLAG_RUNNING)) { in isdn_read()1117 len = isdn_readbchan(drvidx, chidx, p, NULL, count, in isdn_read()1118 &dev->drv[drvidx]->rcv_waitq[chidx]); in isdn_read()1127 drvidx = isdn_minor2drv(minor - ISDN_MINOR_CTRL); in isdn_read()1128 if (drvidx < 0) { in isdn_read()1132 if (!dev->drv[drvidx]->stavail) { in isdn_read()[all …]
2021 int drvidx; in isdn_net_init() local2028 for (drvidx = 0; drvidx < ISDN_MAX_DRIVERS; drvidx++) in isdn_net_init()2029 if (dev->drv[drvidx]) in isdn_net_init()2030 if (max_hlhdr_len < dev->drv[drvidx]->interface->hl_hdrlen) in isdn_net_init()2031 max_hlhdr_len = dev->drv[drvidx]->interface->hl_hdrlen; in isdn_net_init()2038 isdn_net_swapbind(int drvidx) in isdn_net_swapbind() argument2043 printk(KERN_DEBUG "n_fi: swapping ch of %d\n", drvidx); in isdn_net_swapbind()2047 if (p->local->pre_device == drvidx) in isdn_net_swapbind()2675 int drvidx; in isdn_net_setcfg() local2757 drvidx = -1; in isdn_net_setcfg()[all …]