Searched refs:retv (Results 1 – 12 of 12) sorted by relevance
/drivers/char/ |
D | lp.c | 300 ssize_t retv = 0; in lp_write() local 321 retv = -EFAULT; in lp_write() 336 if ((retv = lp_wait_ready (minor, nonblock)) == 0) in lp_write() 344 retv += written; in lp_write() 348 if (retv == 0) in lp_write() 349 retv = -EINTR; in lp_write() 365 if (retv == 0) in lp_write() 366 retv = error; in lp_write() 369 if (retv == 0) in lp_write() 370 retv = -EAGAIN; in lp_write() [all …]
|
/drivers/scsi/ |
D | ppa.c | 465 int retv; in ppa_init() local 471 retv = 2; /* Failed */ in ppa_init() 475 retv--; in ppa_init() 479 retv--; in ppa_init() 481 if (!retv) in ppa_init() 487 if (retv) in ppa_init() 675 int retv; in ppa_engine() local 696 int retv = 2; /* Failed */ in ppa_engine() local 702 retv--; in ppa_engine() 706 retv--; in ppa_engine() [all …]
|
D | imm.c | 780 int retv, x; in imm_engine() local 862 retv = imm_completion(cmd); in imm_engine() 863 if (retv == -1) in imm_engine() 865 if (retv == 0) in imm_engine()
|
D | ncr53c8xx.c | 4483 int retv = 0; in ncr_reset_scsi_bus() local 4532 retv = 1; in ncr_reset_scsi_bus() 4536 return retv; in ncr_reset_scsi_bus() 4636 int retv; 4680 retv = SCSI_ABORT_PENDING; 4685 retv = SCSI_ABORT_PENDING; 4688 retv = SCSI_ABORT_NOT_RUNNING; 4700 return retv;
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.c | 436 int retv = 1; in sym_read_S24C16_nvram() local 492 retv = 0; in sym_read_S24C16_nvram() 498 return retv; in sym_read_S24C16_nvram() 664 int retv = 1; in sym_read_T93C46_nvram() local 678 retv = T93C46_Read_Data(np, (u_short *) nvram, in sym_read_T93C46_nvram() 685 return retv; in sym_read_T93C46_nvram()
|
D | sym_hipd.c | 193 int retv = 0; in sym_reset_scsi_bus() local 235 retv = 1; in sym_reset_scsi_bus() 239 return retv; in sym_reset_scsi_bus()
|
/drivers/xen/ |
D | xen-acpi-memhotplug.c | 376 u32 level, void *ctxt, void **retv) in acpi_memory_register_notify_handler() argument 392 u32 level, void *ctxt, void **retv) in acpi_memory_deregister_notify_handler() argument
|
/drivers/net/usb/ |
D | kaweth.c | 1276 int retv; in kaweth_internal_control_msg() local 1286 retv = usb_start_wait_urb(urb, timeout, &length); in kaweth_internal_control_msg() 1287 if (retv < 0) { in kaweth_internal_control_msg() 1288 return retv; in kaweth_internal_control_msg()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9002_calib.c | 767 bool retv = true; in ar9285_hw_clc() local 807 retv = ar9285_hw_cl_cal(ah, chan); in ar9285_hw_clc() 810 return retv; in ar9285_hw_clc()
|
/drivers/usb/core/ |
D | message.c | 90 int retv; in usb_internal_control_msg() local 100 retv = usb_start_wait_urb(urb, timeout, &length); in usb_internal_control_msg() 101 if (retv < 0) in usb_internal_control_msg() 102 return retv; in usb_internal_control_msg()
|
/drivers/net/ethernet/micrel/ |
D | ks8851_mll.c | 1039 netdev_tx_t retv = NETDEV_TX_OK; in ks_start_xmit() local 1056 retv = NETDEV_TX_BUSY; in ks_start_xmit() 1058 return retv; in ks_start_xmit()
|
/drivers/isdn/i4l/ |
D | isdn_net.c | 1056 int retv = NETDEV_TX_OK; in isdn_net_xmit() local 1112 return retv; in isdn_net_xmit()
|