/drivers/xen/ |
H A D | xen-acpi-cpuhotplug.c | 254 int result; local 273 result = acpi_bus_scan(handle); 274 if (result) { 422 int result = 0; local 430 result = acpi_bus_register_driver(&xen_acpi_processor_driver); 431 if (result < 0) { 433 return result;
|
H A D | xen-acpi-memhotplug.c | 71 int pxm, result; local 91 result = xen_hotadd_memory(pxm, info); 92 if (result) 166 int result = 0; local 178 result = acpi_bus_scan(handle); 179 if (result) { 181 result = -EINVAL; 188 result = -EINVAL; 196 result = -ENODEV; 202 return result; 294 int result; local 425 int result; local [all...] |
/drivers/acpi/ |
H A D | acpi_ipmi.c | 605 int result; local 619 result = ipmi_smi_watcher_register(&driver_data.bmc_events); 620 if (result) 623 return result;
|
H A D | acpi_pad.c | 365 int result; local 367 result = device_create_file(&device->dev, &dev_attr_idlecpus); 368 if (result) 370 result = device_create_file(&device->dev, &dev_attr_idlepct); 371 if (result) { 375 result = device_create_file(&device->dev, &dev_attr_rrtime); 376 if (result) {
|
H A D | device_pm.c | 69 int result = ACPI_STATE_UNKNOWN; local 86 int error = acpi_power_get_inferred_state(device, &result); 108 if (psc > result && psc < ACPI_STATE_D3_COLD) 109 result = psc; 110 else if (result == ACPI_STATE_UNKNOWN) 111 result = psc > ACPI_STATE_D2 ? ACPI_STATE_D3_COLD : psc; 121 && result == ACPI_STATE_D0) 124 *state = result; 156 int result = 0; local 207 result 240 int result; local 253 int result; local 310 int result; local 351 int result; local 361 int result; local 472 int result; local [all...] |
H A D | pci_link.c | 248 int result = 0; local 257 result = acpi_bus_get_status(link->device); 258 if (result) { 277 result = -ENODEV; 283 result = -ENODEV; 291 return result; 296 int result; local 350 result = -EINVAL; 363 result = -ENODEV; 368 result 587 int result; local 643 acpi_status result; local 693 int result; local [all...] |
H A D | pci_root.c | 214 u32 result, capbuf[3]; local 229 status = acpi_pci_run_osc(root->device->handle, capbuf, &result); 233 *control = result; 524 int result; local 538 result = -ENODEV; 563 result = -ENODEV; 599 result = -ENODEV; 626 return result;
|
H A D | processor_idle.c | 622 int result; local 631 result = acpi_processor_get_power_info_cst(pr); 632 if (result == -ENODEV) 633 result = acpi_processor_get_power_info_fadt(pr); 635 if (result) 636 return result;
|
H A D | processor_perflib.c | 229 int result = 0; local 246 result = -EFAULT; 260 result = -EFAULT; 276 result = -EFAULT; 286 return result; 326 int result = 0; local 345 result = -EFAULT; 357 result = -ENOMEM; 374 result = -EFAULT; 416 result 432 int result = 0; local 535 int result = 0; local [all...] |
/drivers/block/ |
H A D | nbd.c | 157 int result; local 196 result = kernel_sendmsg(sock, &msg, &iov, 1, size); 200 result = kernel_recvmsg(sock, &msg, &iov, 1, size, 208 result = -EINTR; 213 if (result <= 0) { 214 if (result == 0) 215 result = -EPIPE; /* short read */ 218 size -= result; 219 buf += result; 225 return result; 231 int result; local 242 int result, flags; local 325 int result; local 336 int result; local [all...] |
/drivers/crypto/ |
H A D | bfin_crc.h | 76 u32 result; member in struct:crc_register 87 #define IRR 0x00040000 /* Immediate result readt */ 103 #define IRRSTALL 0x00002000 /* Stall on immediate result ready */ 112 #define RSLTMIRR 0x00100000 /* CRC result registers are mirrored. */ 113 #define RSLTMIRR_OFFSET 20 /* Mirror CRC result offset. */
|
/drivers/crypto/qce/ |
H A D | sha.c | 45 struct qce_result_dump *result = qce->dma.result_buf; local 58 memcpy(rctx->digest, result->auth_iv, digestsize); 59 if (req->result) 60 memcpy(req->result, result->auth_iv, digestsize); 62 rctx->byte_count[0] = cpu_to_be32(result->auth_byte_count[0]); 63 rctx->byte_count[1] = cpu_to_be32(result->auth_byte_count[1]); 358 struct qce_ahash_result *result = req->data; local 363 result->error = error; 364 complete(&result 372 struct qce_ahash_result result; local [all...] |
/drivers/gpu/drm/radeon/ |
H A D | r600_hdmi.c | 394 int status, result; local 400 result = dig->afmt->last_buffer_filled_status != status; 403 return result;
|
/drivers/hid/ |
H A D | hid-roccat-kone.c | 230 * Reads value of "fast-clip-weight" and stores it in @result 234 static int kone_get_weight(struct usb_device *usb_dev, int *result) argument 244 *result = (int)data; 249 * Reads firmware_version of mouse and stores it in @result 253 static int kone_get_firmware_version(struct usb_device *usb_dev, int *result) argument 263 *result = le16_to_cpu(data); 507 * Reading settings too early will result in invalid data.
|
/drivers/hsi/ |
H A D | hsi.c | 140 unsigned int *result) 150 *result = HSI_MODE_STREAM; 152 *result = HSI_MODE_FRAME; 160 unsigned int *result) 170 *result = HSI_FLOW_SYNC; 172 *result = HSI_FLOW_PIPE; 180 char *name, unsigned int *result) 190 *result = HSI_ARB_RR; 192 *result = HSI_ARB_PRIO; 139 hsi_of_property_parse_mode(struct device_node *client, char *name, unsigned int *result) argument 159 hsi_of_property_parse_flow(struct device_node *client, char *name, unsigned int *result) argument 179 hsi_of_property_parse_arb_mode(struct device_node *client, char *name, unsigned int *result) argument
|
/drivers/hwmon/ |
H A D | powr1220.c | 117 int result; local 135 result = i2c_smbus_write_byte_data(data->client, ADC_MUX, 137 if (result) 147 result = i2c_smbus_read_byte_data(data->client, ADC_VALUE_LOW); 148 if (result < 0) 151 reading = result >> 4; 154 result = i2c_smbus_read_byte_data(data->client, ADC_VALUE_HIGH); 155 if (result < 0) 158 reading |= result << 4; 165 result [all...] |
/drivers/i2c/busses/ |
H A D | i2c-ali1535.c | 224 int result = 0; local 298 result = -ETIMEDOUT; 303 result = -EIO; 312 result = -ENXIO; 320 result = -EIO; 326 result = -ETIMEDOUT; 346 return result; 357 s32 result = 0; local 433 result = -EOPNOTSUPP; 437 result [all...] |
H A D | i2c-amd756.c | 107 int result = 0; local 147 result = -ENXIO; 152 result = -EIO; 157 result = -ETIMEDOUT; 178 return result;
|
H A D | i2c-piix4.c | 365 int result = 0; local 402 result = -ETIMEDOUT; 406 result = -EIO; 411 result = -EIO; 418 result = -ENXIO; 433 return result;
|
H A D | i2c-scmi.c | 84 int result = 0; local 190 result = -EIO; 195 result = -EIO; 199 result = obj->integer.value; 201 method, result)); 203 switch (result) { 205 result = 0; 208 result = -EBUSY; 211 result = -ETIMEDOUT; 214 result [all...] |
H A D | i2c-sis630.c | 174 int temp, result = 0, timeout = 0; local 188 result = -ETIMEDOUT; 193 result = -ENXIO; 198 result = -EAGAIN; 201 return result; 225 int result = 0; local 228 result = sis630_transaction_start(adap, size, &oldclock); 229 if (!result) { 230 result = sis630_transaction_wait(adap, size); 234 return result; [all...] |
H A D | scx200_acb.c | 79 int result; member in struct:scx200_acb_iface 129 iface->result = -ENXIO; 188 iface->result = 0; 200 iface->result = 0; 221 iface->result = -EIO; 251 iface->result = -EIO; 335 iface->result = -EINVAL; 351 rc = iface->result; 359 dev_dbg(&adapter->dev, "transfer done, result: %d", rc);
|
/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_core.c | 83 int result; local 89 result = i2c_smbus_read_i2c_block_data(st->client, 91 if (result != 1) 92 return result; 101 result = inv_mpu6050_write_reg(st, st->reg->pwr_mgmt_1, mgmt_1); 102 if (result) 103 return result; 106 result = i2c_smbus_read_i2c_block_data(st->client, 108 if (result != 1) 109 return result; 136 int result; local 163 int result; local 200 int ind, result; local 223 int ret, result; local 326 int result; local 345 int result; local 368 int result; local 422 int i, h, result; local 446 int result; local 616 int result; local 664 int result; local [all...] |
/drivers/isdn/capi/ |
H A D | capiutil.c | 497 char *result; local 499 result = mnames[command_2_index(cmd, subcmd)]; 500 if (result == NULL) 501 result = "INVALID_COMMAND"; 502 return result;
|
/drivers/isdn/gigaset/ |
H A D | isocdata.c | 247 * value: bit 9.. 0 = result bits 248 * bit 12..10 = number of trailing '1' bits in result 347 * ones number of trailing '1' bits in result before this step 351 * number of trailing '1' bits in result after this step 361 * value: bit 9.. 0 = result bits 362 * bit 12..10 = number of trailing '1' bits in result 482 int result; local 486 result = hdlc_buildframe(bcs->hw.bas->isooutbuf, in, len); 488 __func__, len, result); 491 result [all...] |