Lines Matching refs:result
106 int result;
114 result = PtDrvInit( dev_name, dev->adj.mov );
115 if( 0 != result ) {
116 DBG( _DBG_ERROR, "open: PtDrvInit failed: %d\n", result );
132 result = PtDrvIoctl( _PTDRV_OPEN_DEVICE, &version );
134 result = ioctl( handle, _PTDRV_OPEN_DEVICE, &version );
136 if( result < 0 ) {
138 if( -9019 == result ) {
147 result = PtDrvIoctl( _PTDRV_OPEN_DEVICE, &version );
149 result = ioctl( handle, _PTDRV_OPEN_DEVICE, &version );
151 if( result < 0 ) {
159 "ioctl PT_DRV_OPEN_DEVICE failed(%d)\n", result );
161 if( -9019 == result ) {
184 return result;