Searched refs:open_count (Results 26 - 47 of 47) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/
H A Ddrm_drv.h717 DRM_DEBUG( "open_count = %d\n", dev->open_count );
723 if ( !dev->open_count++ ) {
742 DRM_DEBUG( "open_count = %d\n", dev->open_count );
750 DRM_DEBUG( "pid = %d, device = 0x%x, open_count = %d\n",
751 current->pid, dev->device, dev->open_count );
834 if ( !--dev->open_count ) {
H A Ddrm_fops.h97 DRM_DEBUG("pid = %d, device = 0x%x, open_count = %d\n",
98 current->pid, dev->device, dev->open_count);
H A DdrmP.h596 spinlock_t count_lock; /* For inuse, open_count, buf_use */
600 int open_count; /* Outstanding files open */ member in struct:drm_device
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/serial/
H A Ddigi_acceleport.c18 * switched to using port->open_count instead of private version.
1384 if( port->open_count && port->write_urb->status != -EINPROGRESS
1476 dbg( "digi_open: TOP: port=%d, open_count=%d", priv->dp_port_num, port->open_count );
1541 dbg( "digi_close: TOP: port=%d, open_count=%d", priv->dp_port_num, port->open_count );
1841 if( port->open_count == 0 )
1975 if( port->open_count
1983 if( port->open_count
H A Dkeyspan.c468 if (port->open_count)
485 if (port->open_count) {
619 if (port->open_count)
855 if (port->open_count)
934 if (port->open_count)
2192 if (port->open_count)
H A Dftdi_sio.c1228 if (port->open_count == 0){
1511 if (port->open_count > 0){
1595 if (port->open_count <= 0)
1709 if (port->open_count > 0){
H A Dir-usb.c449 if (!port->open_count) {
H A Dpl2303.c745 if (!port->open_count) {
798 if (port->open_count) {
H A Dkobil_sct.c198 while (serial->port[i].open_count > 0) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/
H A Dauerchar.c161 cp->open_count++;
601 if ((--cp->open_count <= 0) && (cp->usbdev == NULL)) {
H A Daiptek.c393 int open_count; member in struct:aiptek
780 if (aiptek->open_count++)
795 if (!--aiptek->open_count)
H A Dauermain.c793 if (cp->open_count == 0) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Dffb_drv.c568 DRM_DEBUG("open_count = %d\n", dev->open_count);
573 if (!dev->open_count++) {
591 DRM_DEBUG("open_count = %d\n", dev->open_count);
614 if (!--dev->open_count) {
H A DdrmP.h532 spinlock_t count_lock; /* For inuse, open_count, buf_use */
536 int open_count; /* Outstanding files open */ member in struct:drm_device
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Dcpia.h246 int open_count; /* # of process that have camera open */ member in struct:cam_data
H A Dcpia.c2485 if (cam->open_count > 0) {
2534 ++cam->open_count;
2565 if (--cam->open_count == 0) {
3256 if (!cam->open_count) {
3270 if (!cam->open_count) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/block/
H A Ddasd_int.h323 atomic_t open_count; member in struct:dasd_device_t
H A Ddasd.c2148 int openct = atomic_read (&device->open_count);
2238 int openct = atomic_read (&device->open_count);
2432 dasd_info.open_count =
2433 atomic_read (&device->open_count);
2560 if (atomic_inc_return (&device->open_count) == 1 ) {
2602 count = atomic_dec_return (&device->open_count);
2608 atomic_set (&device->open_count,0);
2747 int count = atomic_read (&device->open_count);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dsonypi.c481 sonypi_device.open_count--;
489 if (!sonypi_device.open_count)
491 sonypi_device.open_count++;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/cdrom/
H A Dsbpcd.c669 char open_count; member in struct:__anon1128
1179 D_S[d].open_count=0;
1185 D_S[d].open_count=0;
1191 D_S[d].open_count=0;
5254 msg(DBG_LCK,"open_count: %d -> %d\n",
5255 D_S[d].open_count,D_S[d].open_count+1);
5256 if (++D_S[d].open_count<=1)
5259 D_S[d].open_count=1;
5296 msg(DBG_LCK,"open_count
[all...]
H A Doptcd.c1880 static int open_count = 0;
1887 if (!open_count && state == S_IDLE) {
1922 open_count++;
1943 if (!--open_count) {
1867 static int open_count = 0; variable
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Drme96xx.c286 int open_count; /* unused ??? HP20020201 */ member in struct:_rme96xx_info

Completed in 194 milliseconds

12