/drivers/scsi/ |
H A D | sr_ioctl.c | 44 int result; local 60 result = sr_do_ioctl(cd, &cgc); 66 return result; 74 int result; local 91 result = sr_do_ioctl(cd, &cgc); 105 return result; 163 int result; local 174 result = sr_do_ioctl(cd, &cgc); 175 if (result == -EDRIVE_CANT_DO_THIS) 176 result 189 int result, err = 0, retries = 0; local 409 int result; local [all...] |
/drivers/soc/ti/ |
H A D | knav_qmss_acc.c | 270 static const char *knav_acc_result_str(enum knav_acc_result result) argument 283 if (result >= ARRAY_SIZE(result_str)) 286 return result_str[result]; 293 u32 result; local 307 result = readl_relaxed(&pdsp->acc_command->command); 308 } while ((result >> 8) & 0xff); 310 return (result >> 24) & 0xff; 353 enum knav_acc_result result; local 359 result = knav_acc_write(kdev, range->acc_info.pdsp, &cmd); 361 dev_dbg(kdev->dev, "stopped acc channel %s, result 371 enum knav_acc_result result; local 389 enum knav_acc_result result; local [all...] |
/drivers/staging/ft1000/ft1000-usb/ |
H A D | ft1000_debug.c | 148 int result; local 170 result = -1; 176 result = PTR_ERR(dir); 183 result = PTR_ERR(file); 219 return result; 414 int result=0; local 450 result = get_user(tempword, (__u16 __user*)argp); 451 if (result) { 452 DEBUG("result = %d failed to get_user\n", result); [all...] |
/drivers/staging/goldfish/ |
H A D | goldfish_nand.c | 73 *rv = cps->result; 305 u32 result; local 337 result = goldfish_nand_cmd(mtd, NAND_CMD_GET_DEV_NAME, 0, name_len, 339 if (result != name_len) { 342 result, name_len);
|
H A D | goldfish_nand_reg.h | 74 uint32_t result; member in struct:cmd_params
|
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lib.c | 782 int result; local 786 result = 0; 789 result = -ESTALE; 792 result = -ENAVAIL; 795 result = -ESRCH; 798 result = -ENOENT; 801 result = -EEXIST; 804 result = -EBADF; 808 result = error; /* as ldlm_error_t can be unsigned */ 810 CERROR("Invalid DLM result cod [all...] |
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_mmap.c | 176 int result; local 185 result = PTR_ERR(io); 189 result = io->ci_result; 190 if (result < 0) 209 result = cl_io_loop(env, io); 215 if (result == 0) { 226 if (result == 0) 227 result = -ENODATA; 242 result = -EAGAIN; 245 if (result 264 to_fault_error(int result) argument 302 int result; local 347 int result; local 389 int result; local [all...] |
H A D | llite_nfs.c | 142 struct dentry *result; local 171 result = d_obtain_alias(inode); 172 if (IS_ERR(result)) { 174 return result; 177 return result; 285 struct dentry *result = NULL; local 321 result = ll_iget_for_nfs(dir->i_sb, &body->fid1, NULL); 324 return result;
|
H A D | vvp_page.c | 348 int result = 0; local 362 result = -EALREADY; 369 return result;
|
/drivers/staging/lustre/lustre/lov/ |
H A D | lovsub_lock.c | 198 int result; local 217 result = cl_lock_modify(env, parent, pd); 219 result = 0; 220 return result; 230 int result = 0; local 241 result = result ?: rc; 243 return result; 253 int result; local 258 result 277 int result; local 454 int result; local [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | capa.c | 245 unsigned int size, u8 *result) 256 return crypto_hash_digest(&desc, sg, size, result); 242 ll_crypto_hmac(struct crypto_hash *tfm, u8 *key, unsigned int *keylen, struct scatterlist *sg, unsigned int size, u8 *result) argument
|
/drivers/staging/rtl8188eu/core/ |
H A D | rtw_pwrctrl.c | 175 int result = _SUCCESS; local 187 result = rtw_ips_pwr_up(padapter); 188 if (result == _SUCCESS) { 199 result = rtw_set_key(padapter, psecuritypriv, keyid, 1); 201 result = rtw_set_key(padapter, psecuritypriv, keyid, 0); 215 return result;
|
/drivers/staging/rtl8723au/core/ |
H A D | rtw_pwrctrl.c | 61 int result = _SUCCESS; local 73 result = rtw_ips_pwr_up23a(padapter); 74 if (result == _SUCCESS) 94 result = rtw_set_key23a(padapter, psecuritypriv, keyid, 1); 96 result = rtw_set_key23a(padapter, psecuritypriv, keyid, 0); 111 return result;
|
/drivers/staging/rts5208/ |
H A D | rtsx.c | 148 srb->result = DID_NO_CONNECT << 16; 199 int result = 0; local 204 return result < 0 ? FAILED : SUCCESS; 210 int result = 0; local 215 return result < 0 ? FAILED : SUCCESS; 444 chip->srb->result = DID_ABORT << 16; 455 chip->srb->result = DID_ERROR << 16; 465 chip->srb->result = DID_BAD_TARGET << 16; 472 chip->srb->result = DID_BAD_TARGET << 16; 489 else if (chip->srb->result ! [all...] |
H A D | rtsx_transport.c | 164 int result; local 166 result = rtsx_scsi_handler(srb, chip); 173 srb->result = DID_ABORT << 16; 178 if (result == TRANSPORT_ERROR) { 180 srb->result = DID_ERROR << 16; 184 srb->result = SAM_STAT_GOOD; 191 if (result == TRANSPORT_FAILED) { 192 /* set the result so the higher layers expect this data */ 193 srb->result = SAM_STAT_CHECK_CONDITION;
|
/drivers/staging/wlan-ng/ |
H A D | p80211netdev.c | 151 int result = 0; /* success */ local 160 result = wlandev->open(wlandev); 161 if (result == 0) { 166 result = -EAGAIN; 169 return result; 186 int result = 0; local 190 result = wlandev->close(wlandev); 195 return result; 323 int result = 0; local 335 result 536 int result = 0; local 620 int result; local 722 int result = 0; local [all...] |
H A D | prism2mib.c | 263 int result, isget; local 328 result = mib->func(mib, isget, wlandev, hw, msg, (void *)mibitem->data); 331 if (result != 0) { 332 pr_debug("get/set failure, result=%d\n", result); 381 int result; local 386 result = 392 result = 396 return result; 430 int result; local 477 int result; local 535 int result; local 585 int result; local 631 int result; local 670 int result; local [all...] |
/drivers/thermal/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 14 * 2. Provide parsing result to kernel drivers 66 * @artp: pointer to pointer of array of art entries in parsing result 74 int result = 0; local 94 result = -EFAULT; 101 result = -ENOMEM; 121 result = acpi_bus_get_device(trt->source, &adev); 122 if (!result) 127 result = acpi_bus_get_device(trt->target, &adev); 128 if (!result) 139 return result; 156 int result = 0; local [all...] |
H A D | int3400_thermal.c | 53 int result = 0; local 62 result = -EINVAL; 69 result = -EINVAL; 75 result = -EINVAL; 92 return result; 100 int result = 0; local 116 result = -EPERM; 118 result = -EPERM; 121 return result; 149 int result local 183 int result; local [all...] |
/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 44 unsigned result; local 50 result = 0; 53 result |= TIOCM_DTR; 55 result |= TIOCM_RTS; 57 result |= TIOCM_CTS; 59 result |= TIOCM_DSR; 61 result |= TIOCM_RI; 63 result |= TIOCM_CD; 66 return result; 79 int result; local [all...] |
/drivers/usb/core/ |
H A D | config.c | 668 int result = 0; local 674 result = -ENOMEM; 700 result = 0; 704 result = usb_get_descriptor(dev, USB_DT_CONFIG, cfgno, 706 if (result < 0) { 708 "descriptor/%s: %d\n", cfgno, "start", result); 709 if (result != -EPIPE) 714 } else if (result < 4) { 717 USB_DT_CONFIG_SIZE, result); 718 result [all...] |
H A D | port.c | 32 char *result; local 36 result = "hotplug"; 39 result = "hardwired"; 42 result = "not used"; 45 result = "unknown"; 49 return sprintf(buf, "%s\n", result);
|
/drivers/usb/host/ |
H A D | ohci-da8xx.c | 90 int result; local 103 result = ohci_init(ohci); 104 if (result < 0) 105 return result; 126 return result; 138 int result; local 140 result = ohci_run(ohci); 141 if (result < 0) 144 return result;
|
/drivers/usb/image/ |
H A D | microtek.c | 352 int result; local 357 result = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf); 358 if (result == 0) { 359 result = usb_reset_device(desc->usb_dev); 362 return result ? FAILED : SUCCESS; 397 context->srb->result = DID_ERROR << 16; 416 context->srb->result &= MTS_SCSI_ERR_MASK; 417 context->srb->result |= (unsigned)(*context->scsi_status)<<1; 446 context->srb->result = (status == -ENOENT ? DID_ABORT : DID_ERROR)<<16; 463 context->srb->result [all...] |
/drivers/usb/misc/ |
H A D | cypress_cy7c63.c | 125 int result = 0; local 134 result = -EINVAL; 138 result = -EINVAL; 142 result = vendor_command(cyp, CYPRESS_WRITE_PORT, write_id, 145 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); 147 return result < 0 ? result : count; 170 int result = 0; local 177 result = vendor_command(cyp, CYPRESS_READ_PORT, read_id, 0); 179 dev_dbg(&cyp->udev->dev, "Result of vendor_command: %d\n\n", result); [all...] |