Home
last modified time | relevance | path

Searched refs:init_status (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dcomx-hw-mixcom.c498 if(!TWIN(dev) || !(COMX_CHANNEL(TWIN(dev))->init_status & in MIXCOM_open()
509 if(hw->channel!=0 || !(ch->init_status & IRQ_ALLOCATED)) { in MIXCOM_open()
520 if(hw->channel==0 && !(ch->init_status & IRQ_ALLOCATED)) { in MIXCOM_open()
531 if(hw->channel==0 && !(ch->init_status & IRQ_ALLOCATED)) { in MIXCOM_open()
532 ch->init_status|=IRQ_ALLOCATED; in MIXCOM_open()
546 ch->init_status |= HW_OPEN; in MIXCOM_open()
589 !(COMX_CHANNEL(TWIN(dev))->init_status & HW_OPEN))) { in MIXCOM_close()
593 ch->init_status &= ~IRQ_ALLOCATED; in MIXCOM_close()
598 if(hw->channel==1 && !(COMX_CHANNEL(TWIN(dev))->init_status & HW_OPEN)) { in MIXCOM_close()
599 if(COMX_CHANNEL(TWIN(dev))->init_status & IRQ_ALLOCATED) { in MIXCOM_close()
[all …]
Dcomx-proto-ppp.c107 if (!(ch->init_status & HW_OPEN)) return -ENODEV; in syncppp_open()
109 ch->init_status |= LINE_OPEN; in syncppp_open()
130 if (!(ch->init_status & HW_OPEN)) return -ENODEV; in syncppp_close()
135 ch->init_status &= ~LINE_OPEN; in syncppp_close()
Dcomx-hw-comx.c380 if ((ch->init_status & (HW_OPEN | LINE_OPEN)) != in COMX_interrupt()
464 if (ch->twin && (((struct comx_channel *)(ch->twin->priv))->init_status & HW_OPEN)) { in COMX_open()
478 ch->init_status |= IRQ_ALLOCATED; in COMX_open()
480 ch->init_status &= ~IRQ_ALLOCATED; in COMX_open()
521 ch->init_status |= HW_OPEN; in COMX_open()
575 if (ch->init_status & IRQ_ALLOCATED) { in COMX_close()
577 ch->init_status &= ~IRQ_ALLOCATED; in COMX_close()
582 (twin_ch->init_status & HW_OPEN)) { in COMX_close()
586 twin_ch->init_status |= IRQ_ALLOCATED; in COMX_close()
601 ch->init_status &= ~HW_OPEN; in COMX_close()
[all …]
Dcomx-proto-fr.c128 if (ch->init_status & LINE_OPEN) { in fr_keepalive_timerfun()
381 if (!(ch->init_status & HW_OPEN)) { in fr_open()
395 if (fr->master != dev && (!(mch->init_status & LINE_OPEN) in fr_open()
402 ch->init_status |= LINE_OPEN; in fr_open()
447 if (!(ch->init_status & HW_OPEN)) { in fr_close()
463 (sch->init_status & LINE_OPEN)) { in fr_close()
469 ch->init_status &= ~LINE_OPEN; in fr_close()
896 ch->init_status |= HW_OPEN; in dlci_open()
906 ch->init_status &= ~HW_OPEN; in dlci_close()
Dcomx-proto-lapb.c82 if (!(ch->init_status & HW_OPEN)) { in comxlapb_open()
94 ch->init_status |= LINE_OPEN; in comxlapb_open()
104 if (!(ch->init_status & HW_OPEN)) { in comxlapb_close()
114 ch->init_status &= ~LINE_OPEN; in comxlapb_close()
Dcomx.c292 if (ch->init_status & LINE_OPEN && ch->protocol && ch->LINE_close) { in comx_close()
298 if (ch->init_status & HW_OPEN && ch->hardware && ch->HW_close) { in comx_close()
468 if (ch->LINE_statistics && (ch->init_status & LINE_OPEN)) { in comx_statistics()
473 if (ch->HW_statistics && (ch->init_status & HW_OPEN)) { in comx_statistics()
710 if (ch->init_status & HW_OPEN) { in comx_write_proc()
754 if (ch->init_status & LINE_OPEN) { in comx_write_proc()
Dcomx.h54 unsigned char init_status; member
Dcomx-hw-locomx.c222 ch->init_status |= HW_OPEN; in LOCOMX_open()
282 ch->init_status &= ~HW_OPEN; in LOCOMX_close()
Dcomx-hw-munich.c1310 if (ch->init_status && netif_running(dev)) in MUNICH_interrupt()
1867 ch->init_status |= HW_OPEN; in MUNICH_open()
2019 ch->init_status &= ~HW_OPEN; in MUNICH_close()
/linux-2.4.37.9/drivers/net/
Drcpci45.c645 int init_status; in rc_timer() local
652 init_status = in rc_timer()
657 switch (init_status) { in rc_timer()
698 dev->name, init_status); in rc_timer()
/linux-2.4.37.9/include/linux/
Dibmtr.h269 unsigned char init_status; member
/linux-2.4.37.9/drivers/pcmcia/
Dds.c136 static int init_status = 1; variable
172 driver->status = init_status; in register_pccard_driver()
966 init_status = 0; in init_pcmcia_ds()
/linux-2.4.37.9/drivers/net/tokenring/
Dibmtr.c1493 unsigned char init_status; /*BMS 12/2000*/ in initial_tok_int() local
1536 init_status= /*BMS 12/2000 check for shallow mode possibility (Turbo)*/ in initial_tok_int()
1537 readb(ti->init_srb+offsetof(struct srb_init_response,init_status)); in initial_tok_int()
1539 ti->ring_speed = init_status & 0x01 ? 16 : 4; in initial_tok_int()