/drivers/mfd/ |
D | intel-m10-bmc-pmci.c | 66 int ret, ret2; in indirect_reg_read() local 83 ret2 = indirect_clear_cmd(ctx); in indirect_reg_read() 87 if (ret2) in indirect_reg_read() 88 return ret2; in indirect_reg_read() 98 int ret, ret2; in indirect_reg_write() local 114 ret2 = indirect_clear_cmd(ctx); in indirect_reg_write() 118 return ret2; in indirect_reg_write() 257 int ret, ret2; in m10bmc_pmci_flash_read() local 272 ret2 = m10bmc_pmci_set_flash_host_mux(m10bmc, false); in m10bmc_pmci_flash_read() 278 return ret2; in m10bmc_pmci_flash_read()
|
/drivers/fpga/ |
D | dfl-n3000-nios.c | 300 int ret, ret2; in n3000_nios_init_done_check() local 374 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_A_MODE_STS, &state_a); in n3000_nios_init_done_check() 375 if (ret2) in n3000_nios_init_done_check() 376 return ret2; in n3000_nios_init_done_check() 378 ret2 = regmap_read(nn->regmap, N3000_NIOS_PKVL_B_MODE_STS, &state_b); in n3000_nios_init_done_check() 379 if (ret2) in n3000_nios_init_done_check() 380 return ret2; in n3000_nios_init_done_check()
|
/drivers/gnss/ |
D | sirf.c | 293 int ret2; in sirf_runtime_suspend() local 312 ret2 = sirf_set_active(data, true); in sirf_runtime_suspend() 314 ret2 = regulator_enable(data->vcc); in sirf_runtime_suspend() 316 if (ret2) in sirf_runtime_suspend() 319 ret2); in sirf_runtime_suspend()
|
/drivers/iio/adc/ |
D | max11410.c | 417 int ret2; in max11410_sample() local 420 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_sample() 421 ret2 || (val & MAX11410_STATUS_CONV_READY_BIT), in max11410_sample() 426 if (ret2) in max11410_sample() 427 return ret2; in max11410_sample() 858 int ret, ret2, val; in max11410_calibrate() local 865 ret = read_poll_timeout(max11410_read_reg, ret2, in max11410_calibrate() 866 ret2 || (val & MAX11410_STATUS_CAL_READY_BIT), in max11410_calibrate() 872 return ret2; in max11410_calibrate()
|
/drivers/media/i2c/ |
D | ad5820.c | 107 int ret = 0, ret2; in ad5820_power_off() local 120 ret2 = regulator_disable(coil->vana); in ad5820_power_off() 123 return ret2; in ad5820_power_off()
|
/drivers/i2c/busses/ |
D | i2c-uniphier.c | 179 int ret2 = uniphier_i2c_stop(adap); in uniphier_i2c_master_xfer_one() local 181 if (ret2) { in uniphier_i2c_master_xfer_one() 184 ret = ret ?: ret2; in uniphier_i2c_master_xfer_one()
|
/drivers/iio/ |
D | industrialio-buffer.c | 1153 int ret2; in iio_disable_buffers() local 1167 ret2 = indio_dev->setup_ops->predisable(indio_dev); in iio_disable_buffers() 1168 if (ret2 && !ret) in iio_disable_buffers() 1169 ret = ret2; in iio_disable_buffers() 1178 ret2 = iio_buffer_disable(buffer, indio_dev); in iio_disable_buffers() 1179 if (ret2 && !ret) in iio_disable_buffers() 1180 ret = ret2; in iio_disable_buffers() 1184 ret2 = indio_dev->setup_ops->postdisable(indio_dev); in iio_disable_buffers() 1185 if (ret2 && !ret) in iio_disable_buffers() 1186 ret = ret2; in iio_disable_buffers()
|
/drivers/virt/gunyah/ |
D | vm_mgr_mem.c | 325 int ret, ret2 = 0; in gunyah_vm_reclaim_range() local 343 if (ret && ret2 != -EAGAIN) in gunyah_vm_reclaim_range() 344 ret2 = ret; in gunyah_vm_reclaim_range() 347 return ret2; in gunyah_vm_reclaim_range()
|
/drivers/spi/ |
D | spi-mxs.c | 451 int ret2 = clk_prepare_enable(ssp->clk); in mxs_spi_runtime_suspend() local 453 if (ret2) in mxs_spi_runtime_suspend() 455 ret, ret2); in mxs_spi_runtime_suspend()
|
/drivers/hwmon/pmbus/ |
D | adm1275.c | 208 int ret, ret2; in adm1275_write_pmon_config() local 225 ret2 = i2c_smbus_write_byte_data(client, ADM1275_PMON_CONTROL, in adm1275_write_pmon_config() 228 ret = ret2; in adm1275_write_pmon_config()
|
/drivers/infiniband/core/ |
D | mad.c | 236 int ret2, qpn; in ib_register_mad_agent() local 402 ret2 = ib_mad_agent_security_setup(&mad_agent_priv->agent, qp_type); in ib_register_mad_agent() 403 if (ret2) { in ib_register_mad_agent() 404 ret = ERR_PTR(ret2); in ib_register_mad_agent() 412 ret2 = xa_alloc_cyclic(&ib_mad_clients, &mad_agent_priv->agent.hi_tid, in ib_register_mad_agent() 415 if (ret2 < 0) { in ib_register_mad_agent() 416 ret = ERR_PTR(ret2); in ib_register_mad_agent() 438 ret2 = add_nonoui_reg_req(mad_reg_req, mad_agent_priv, in ib_register_mad_agent() 454 ret2 = add_oui_reg_req(mad_reg_req, mad_agent_priv); in ib_register_mad_agent() 456 if (ret2) { in ib_register_mad_agent() [all …]
|
D | uverbs_cmd.c | 2003 int ret, ret2; in ib_uverbs_post_send() local 2165 ret2 = uverbs_response(attrs, &resp, sizeof(resp)); in ib_uverbs_post_send() 2166 if (ret2) in ib_uverbs_post_send() 2167 ret = ret2; in ib_uverbs_post_send() 2292 int ret, ret2; in ib_uverbs_post_recv() local 2323 ret2 = uverbs_response(attrs, &resp, sizeof(resp)); in ib_uverbs_post_recv() 2324 if (ret2) in ib_uverbs_post_recv() 2325 ret = ret2; in ib_uverbs_post_recv() 2343 int ret, ret2; in ib_uverbs_post_srq_recv() local 2374 ret2 = uverbs_response(attrs, &resp, sizeof(resp)); in ib_uverbs_post_srq_recv() [all …]
|
D | device.c | 1619 int ret2 = -EINVAL; in rdma_dev_change_netns() local 1660 ret2 = enable_device_and_get(device); in rdma_dev_change_netns() 1661 if (ret2) { in rdma_dev_change_netns() 1677 return ret2; in rdma_dev_change_netns()
|
/drivers/dma/ |
D | pch_dma.c | 700 int ret2 = IRQ_NONE; in pd_irq() local 724 ret2 = IRQ_HANDLED; in pd_irq() 732 if (ret2) in pd_irq() 735 return ret0 | ret2; in pd_irq()
|
/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 1018 int ret1, ret2; in venus_are_queues_empty() local 1024 ret2 = venus_get_queue_size(hdev, IFACEQ_CMD_IDX); in venus_are_queues_empty() 1025 if (ret2 < 0) in venus_are_queues_empty() 1026 return ret2; in venus_are_queues_empty() 1028 if (!ret1 && !ret2) in venus_are_queues_empty()
|
/drivers/pinctrl/ |
D | pinctrl-microchip-sgpio.c | 238 int ret, ret2; in sgpio_single_shot() local 277 ret2 = regmap_update_bits(priv->regs, addr, auto_repeat, auto_repeat); in sgpio_single_shot() 281 return ret ?: ret2; in sgpio_single_shot()
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_workarounds.c | 1264 int ret2; in live_engine_reset_workarounds() local 1348 ret2 = intel_selftest_restore_policy(engine, &saved); in live_engine_reset_workarounds() 1350 ret = ret2; in live_engine_reset_workarounds()
|
/drivers/s390/cio/ |
D | device.c | 354 int ret2; in ccw_device_set_online() local 419 ret2 = ccw_device_offline(cdev); in ccw_device_set_online() 420 if (ret2) in ccw_device_set_online() 432 ret2, cdev->private->dev_id.ssid, in ccw_device_set_online()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 877 long ret1, ret2; in ibmveth_set_tso() local 898 ret2 = h_illan_attributes(adapter->vdev->unit_address, clr_attr, in ibmveth_set_tso() 901 if (ret2 != H_SUCCESS) { in ibmveth_set_tso() 903 data, ret2); in ibmveth_set_tso()
|
/drivers/s390/net/ |
D | lcs.c | 2185 int ret = 0, ret2 = 0, ret3 = 0; in __lcs_shutdown_device() local 2200 ret2 = ccw_device_set_offline(card->read.ccwdev); in __lcs_shutdown_device() 2203 ret = (ret2) ? ret2 : ret3; in __lcs_shutdown_device()
|
/drivers/net/wireless/ath/ath10k/ |
D | pci.c | 3792 int ret1, ret2; in ath10k_pci_init() local 3799 ret2 = ath10k_ahb_init(); in ath10k_pci_init() 3800 if (ret2) in ath10k_pci_init() 3801 printk(KERN_ERR "ahb init failed: %d\n", ret2); in ath10k_pci_init() 3803 if (ret1 && ret2) in ath10k_pci_init()
|
/drivers/scsi/ |
D | qla1280.c | 3828 volatile u16 ret2; in qla1280_debounce_register() local 3831 ret2 = RD_REG_WORD(addr); in qla1280_debounce_register() 3833 if (ret == ret2) in qla1280_debounce_register() 3839 ret2 = RD_REG_WORD(addr); in qla1280_debounce_register() 3840 } while (ret != ret2); in qla1280_debounce_register()
|
/drivers/of/ |
D | unittest.c | 3493 int ret, ret2; in overlay_data_apply() local 3529 ret2 = of_overlay_remove(&info->ovcs_id); in overlay_data_apply() 3530 if (ret2 != info->expected_result_remove) { in overlay_data_apply() 3532 info->expected_result_remove, ret2, in overlay_data_apply()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | main.c | 1456 int ret2 = 0; in mlx4_unbond() local 1462 ret2 = mlx4_mf_unbond(dev); in mlx4_unbond() 1463 if (ret2) { in mlx4_unbond() 1464 mlx4_warn(dev, "Failed to unbond device for multifunction (%d)\n", ret2); in mlx4_unbond() 1465 ret = ret2; in mlx4_unbond()
|
/drivers/block/ |
D | floppy.c | 3138 int ret2; in raw_cmd_ioctl() local 3177 ret2 = raw_cmd_copyout(cmd, param, my_raw_cmd); in raw_cmd_ioctl() 3179 ret = ret2; in raw_cmd_ioctl()
|