Lines Matching refs:interface
64 isdn_if *interface; in sc_init() local
313 interface = kmalloc(sizeof(isdn_if), GFP_KERNEL); in sc_init()
314 if (interface == NULL) { in sc_init()
320 memset(interface, 0, sizeof(isdn_if)); in sc_init()
322 interface->hl_hdrlen = 0; in sc_init()
323 interface->channels = channels; in sc_init()
324 interface->maxbufsize = BUFFER_SIZE; in sc_init()
325 interface->features = features; in sc_init()
326 interface->writebuf_skb = sndpkt; in sc_init()
327 interface->writecmd = NULL; in sc_init()
328 interface->command = command; in sc_init()
329 strcpy(interface->id, devname); in sc_init()
330 interface->id[2] = '0' + cinst; in sc_init()
340 kfree(interface); in sc_init()
345 if(!register_isdn(interface)) { in sc_init()
349 kfree(interface); in sc_init()
354 adapter[cinst]->card = interface; in sc_init()
355 adapter[cinst]->driverId = interface->channels; in sc_init()
356 strcpy(adapter[cinst]->devicename, interface->id); in sc_init()
372 kfree(interface); in sc_init()
383 interface->id, NULL); in sc_init()
387 request_region(adapter[cinst]->ioport[i], 1, interface->id); in sc_init()
391 request_region(adapter[cinst]->ioport[IRQ_SELECT], 1, interface->id); in sc_init()
394 request_region(adapter[cinst]->rambase, SRAM_PAGESIZE, interface->id); in sc_init()