Home
last modified time | relevance | path

Searched refs:opened (Results 1 – 25 of 25) sorted by relevance

/drivers/isdn/hardware/eicon/
Ddivamnt.c46 static unsigned long opened; variable
136 if (test_and_set_bit(0, &opened)) in maint_open()
154 clear_bit(0, &opened); in maint_close()
/drivers/usb/misc/
Diowarrior.c94 int opened; /* this is 1 if the device is currently open */ member
409 if (!dev->opened) { in iowarrior_write()
624 if (dev->opened) { in iowarrior_open()
636 ++dev->opened; in iowarrior_open()
664 if (dev->opened <= 0) { in iowarrior_release()
668 dev->opened = 0; /* we're closeing now */ in iowarrior_release()
891 if (dev->opened) { in iowarrior_disconnect()
/drivers/input/mouse/
Dbcm5974.c157 int opened; /* 1: opened, 0: closed */ member
535 dev->opened = 1; in bcm5974_open()
552 dev->opened = 0; in bcm5974_close()
565 if (dev->opened) in bcm5974_suspend()
580 if (dev->opened) in bcm5974_resume()
/drivers/mmc/card/
Dsdio_uart.c78 unsigned int opened; member
173 if (port->opened) in sdio_uart_port_remove()
682 if (!port->opened) { in sdio_uart_open()
694 port->opened++; in sdio_uart_open()
707 BUG_ON(!port->opened); in sdio_uart_close()
714 if (tty->count > port->opened) { in sdio_uart_close()
719 if (--port->opened == 0) { in sdio_uart_close()
/drivers/misc/
Dphantom.c43 unsigned int opened; member
224 if (dev->opened) { in phantom_open()
235 dev->opened++; in phantom_open()
247 dev->opened = 0; in phantom_release()
/drivers/media/dvb/dvb-usb/
Daf9005-fe.c56 int opened; member
475 if (state->opened) in af9005_fe_read_status()
1094 state->opened++; in af9005_ts_bus_ctrl()
1097 state->opened--; in af9005_ts_bus_ctrl()
1098 if (!state->opened) in af9005_ts_bus_ctrl()
1447 state->opened = 0; in af9005_fe_attach()
/drivers/media/video/
Ddabusb.h33 int opened; member
Ddabusb.c611 while (!s->usbdev || s->opened) { in dabusb_open()
629 s->opened = 1; in dabusb_open()
656 s->opened = 0; in dabusb_release()
/drivers/ieee1394/
Draw1394-private.h26 enum { opened, initialized, connected } state; enumerator
Draw1394.c2275 case opened: in raw1394_write()
2821 fi->state = opened; in raw1394_open()
/drivers/net/usb/
Dkaweth.c225 int opened; member
702 kaweth->opened = 1; in kaweth_open()
739 kaweth->opened = 0; in kaweth_close()
966 if (!kaweth->opened) in kaweth_resume()
/drivers/net/hamradio/
Dhdlcdrv.c463 s->opened = 1; in hdlcdrv_open()
501 s->opened = 0; in hdlcdrv_close()
744 if (s->opened && s->ops->close) in hdlcdrv_unregister()
/drivers/net/
Dbmac.c81 int opened; member
476 if (bp->opened) { in bmac_suspend()
512 if (bp->opened) in bmac_resume()
1401 bp->opened = 1; in bmac_open()
1447 bp->opened = 0; in bmac_close()
Dcassini.c1051 if (cp->opened) { in cas_pcs_link_check()
1084 if (cp->opened && netif_msg_link(cp)) { in cas_pcs_link_check()
1678 if (cp->opened && netif_msg_link(cp)) in cas_mii_link_check()
1690 if (cp->opened) { in cas_mii_link_check()
1707 if (cp->opened && netif_msg_link(cp)) in cas_mii_link_check()
4109 if (cp->opened) { in cas_reset_task()
4133 if (cp->opened) in cas_reset_task()
4138 if (cp->opened) in cas_reset_task()
4377 cp->opened = 1; in cas_open()
4408 cp->opened = 0; in cas_close()
[all …]
Dsungem.c2306 if (gp->opened) in gem_reset_task()
2327 if (gp->opened) in gem_reset_task()
2344 gp->opened = (rc == 0); in gem_open()
2359 gp->opened = 0; in gem_close()
2379 (gp->wake_on_lan && gp->opened) ? "enabled" : "disabled"); in gem_suspend()
2389 if (gp->opened) { in gem_suspend()
2475 if (gp->opened) { in gem_resume()
Damd8111e.h789 char opened; member
Damd8111e.c314 if(lp->opened) in amd8111e_init_ring()
917 if(!lp->opened) in amd8111e_get_stats()
1247 lp->opened = 0; in amd8111e_close()
1279 lp->opened = 1; in amd8111e_open()
Dfec.c216 int opened; member
600 if (!fep->opened) in fec_enet_rx()
2126 fep->opened = 1; in fec_enet_open()
2137 fep->opened = 0; in fec_enet_close()
Dsungem.h985 unsigned int opened : 1; /* driver opened, protected by pm_mutex */ member
Dcassini.h2771 int opened; member
/drivers/net/ibm_newemac/
Dcore.h273 int opened; member
Dcore.c724 if (dev->opened) { in emac_reset_work()
1151 dev->opened = 1; in emac_open()
1239 if (!dev->opened) in emac_link_timer()
1294 dev->opened = 0; in emac_close()
/drivers/char/
Dmoxa.c883 unsigned int a, opened; in moxa_board_deinit() local
901 opened = 0; in moxa_board_deinit()
904 opened++; in moxa_board_deinit()
906 if (!opened) in moxa_board_deinit()
/drivers/usb/serial/
DChangeLog.history330 Fixed bug that happens when device node is opened when there isn't a
697 SerialOpen now blocks correctly until port is fully opened.
/drivers/block/
DKconfig389 a disc is opened for writing.