/drivers/net/wireless/ti/wl1251/ |
H A D | init.c | 34 int ret; local 36 ret = wl1251_acx_feature_cfg(wl, 0); 37 if (ret < 0) { 39 return ret; 42 ret = wl1251_acx_default_key(wl, wl->default_key); 43 if (ret < 0) { 45 return ret; 53 int ret; local 57 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, 59 if (ret < 105 int ret; local 120 int ret; local 147 int ret; local 163 int ret; local 178 int ret; local 189 int ret; local 205 int ret; local 274 int ret, i; local 308 int ret; local 332 int ret; local [all...] |
H A D | ps.c | 108 int ret; local 115 ret = wl1251_acx_beacon_filter_opt(wl, true); 116 if (ret < 0) 117 return ret; 119 ret = wl1251_acx_wake_up_conditions(wl, 122 if (ret < 0) 123 return ret; 125 ret = wl1251_acx_bet_enable(wl, WL1251_ACX_BET_ENABLE, 127 if (ret < 0) 128 return ret; [all...] |
/drivers/media/i2c/m5mols/ |
H A D | m5mols_capture.c | 45 int ret = m5mols_read_u32(sd, addr_num, &num); local 46 if (!ret) 47 ret = m5mols_read_u32(sd, addr_den, &den); 48 if (ret) 49 return ret; 51 return ret; 63 int ret; local 65 ret = m5mols_read_rational(sd, EXIF_INFO_EXPTIME_NU, 67 if (ret) 68 return ret; 110 int ret; local [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | init.c | 39 int ret, i; local 43 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 47 if (ret < 0) 48 return ret; 50 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 54 if (ret < 0) 55 return ret; 58 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 63 if (ret < 0) 64 return ret; 162 int ret; local 189 int ret; local 222 int ret; local 252 int ret; local 264 int ret; local 284 int ret; local 300 int ret; local 315 int ret; local 327 int ret; local 338 int ret; local 353 int ret; local 376 int ret; local 389 int ret; local 401 int ret; local 434 int i, ret; local 513 int ret; local 545 int ret; local 565 int ret, i; local 666 int ret; local [all...] |
/drivers/net/wireless/ti/wl18xx/ |
H A D | io.c | 30 int ret; local 36 ret = wlcore_read32(wl, addr, &tmp); 37 if (ret < 0) 41 ret = wlcore_write32(wl, addr, tmp); 43 ret = wlcore_read32(wl, addr - 2, &tmp); 44 if (ret < 0) 48 ret = wlcore_write32(wl, addr - 2, tmp); 52 return ret; 58 int ret; local 65 ret [all...] |
/drivers/rtc/ |
H A D | rtc-da9052.c | 33 int ret; local 35 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, 38 if (ret != 0) 39 rtc_err(rtc, "Failed to enable ALM: %d\n", ret); 41 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, 43 if (ret != 0) 44 rtc_err(rtc, "Write error: %d\n", ret); 46 return ret; 60 int ret; local 63 ret 83 int ret; local 124 int ret; local 139 int ret; local 162 int ret; local 181 int ret; local 197 int ret; local 231 int ret; local [all...] |
H A D | rtc-da9055.c | 31 int ret; local 33 ret = da9055_reg_update(rtc->da9055, DA9055_REG_ALARM_Y, 36 if (ret != 0) 38 ret); 41 ret = da9055_reg_update(rtc->da9055, DA9055_REG_ALARM_Y, 43 if (ret != 0) 45 "Failed to disable ALM: %d\n", ret); 48 return ret; 63 int ret; local 66 ret 83 int ret; local 118 int ret; local 133 int ret; local 182 int ret; local 198 int ret; local 233 int ret; local 274 int ret, alm_irq; local 326 int ret; local 345 int ret; local 364 int ret; local [all...] |
H A D | rtc-wm831x.c | 101 int ret; local 109 ret = wm831x_reg_read(wm831x, WM831X_RTC_WRITE_COUNTER); 110 if (ret >= 0) { 111 reg = ret; 115 ret); 127 int ret; local 131 ret = wm831x_reg_read(wm831x, WM831X_RTC_CONTROL); 132 if (ret < 0) { 133 dev_err(dev, "Failed to read RTC control: %d\n", ret); 134 return ret; 178 int ret; local 239 int ret; local 288 int ret; local 361 int ret, enable; local 383 int ret; local 400 int ret; local 420 int ret = 0; local [all...] |
H A D | rtc-palmas.c | 52 int ret; local 55 ret = palmas_update_bits(palmas, PALMAS_RTC_BASE, PALMAS_RTC_CTRL_REG, 57 if (ret < 0) { 58 dev_err(dev, "RTC CTRL reg update failed, err: %d\n", ret); 59 return ret; 62 ret = palmas_bulk_read(palmas, PALMAS_RTC_BASE, PALMAS_SECONDS_REG, 64 if (ret < 0) { 65 dev_err(dev, "RTC_SECONDS reg read failed, err = %d\n", ret); 66 return ret; 76 return ret; 83 int ret; local 130 int ret; local 163 int ret; local 194 int ret; local 216 int ret; local 240 int ret; local [all...] |
/drivers/gpu/drm/nouveau/core/include/nvif/ |
H A D | unpack.h | 5 ret = (size == sizeof(d)) ? 0 : -ENOSYS; \ 6 (ret == 0); \ 10 if ((vl) == 0 || ret == -ENOSYS) { \ 16 ret = ((m) || !size) ? 0 : -E2BIG; \ 18 ret = -ENOSYS; \ 21 (ret == 0); \
|
/drivers/gpu/drm/nouveau/nvif/ |
H A D | unpack.h | 5 ret = (size == sizeof(d)) ? 0 : -ENOSYS; \ 6 (ret == 0); \ 10 if ((vl) == 0 || ret == -ENOSYS) { \ 16 ret = ((m) || !size) ? 0 : -E2BIG; \ 18 ret = -ENOSYS; \ 21 (ret == 0); \
|
/drivers/net/wireless/ti/wl12xx/ |
H A D | acx.c | 32 int ret; local 36 ret = -ENOMEM; 42 ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP, 44 if (ret < 0) { 45 wl1271_warning("wl1271 bitmap config opt failed: %d", ret); 52 return ret;
|
/drivers/iio/pressure/ |
H A D | mpl115.c | 39 int ret = i2c_smbus_write_byte_data(data->client, MPL115_CONVERT, 0); local 40 if (ret < 0) 41 return ret; 50 int ret; local 56 ret = mpl115_request(data); 57 if (ret < 0) 60 ret = i2c_smbus_read_word_swapped(data->client, MPL115_PADC); 61 if (ret < 0) 63 padc = ret >> 6; 65 ret 87 int ret; local 104 int ret; local 153 int ret; local [all...] |
/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 65 int ret; local 67 if ((ret = af9005_write_ofdm_register(d, reglo, (u8) (value & 0xff)))) 68 return ret; 76 int ret; local 79 if ((ret = af9005_read_ofdm_register(d, reglo, &temp0))) 80 return ret; 81 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) 82 return ret; 107 int ret; local 112 ret 138 int ret; local 222 int ret; local 243 int ret; local 336 int ret; local 360 int ret; local 385 int ret, fecavailable; local 444 int ret; local 513 int ret; local 545 int ret; local 801 int ret; local 819 int ret, i, scriptlen; local 1107 int ret; local 1233 int ret; local [all...] |
/drivers/power/ |
H A D | olpc_battery.c | 62 int ret = 0; local 67 ret = olpc_ec_cmd(EC_BAT_STATUS, NULL, 0, &status, 1); 68 if (ret) 69 return ret; 74 ret = -EINVAL; 77 return ret; 121 int ret; local 123 ret = olpc_ec_cmd(EC_BAT_ERRCODE, NULL, 0, &ec_byte, 1); 124 if (ret) 125 return ret; 158 int ret; local 183 int ret; local 209 int ret, mfr; local 255 int ret; local 274 int ret; local 325 int ret = 0; local 519 int ret; local 556 ssize_t ret; local 603 int ret; local [all...] |
H A D | ds2780_battery.c | 78 int ret; local 81 ret = ds2780_battery_io(dev_info, raw, addr, sizeof(raw), 0); 82 if (ret < 0) 83 return ret; 114 int ret; local 116 ret = ds2780_store_eeprom(dev_info->w1_dev, reg); 117 if (ret < 0) 118 return ret; 120 ret = ds2780_recall_eeprom(dev_info->w1_dev, reg); 121 if (ret < 131 int ret; local 152 int ret; local 166 int ret; local 194 int ret; local 225 int ret, sense_res; local 270 int ret, sense_res; local 307 int ret; local 320 int ret, current_uA, capacity; local 345 int ret; local 373 int ret; local 387 int ret = 0; local 455 int ret; local 474 int ret; local 509 int ret; local 527 int ret; local 547 int ret; local 564 int ret; local 590 int ret; local 608 int ret; local 655 int ret; local 708 int ret; local 760 int ret = 0; local [all...] |
H A D | ds2781_battery.c | 82 int ret; local 85 ret = ds2781_battery_io(dev_info, raw, addr, sizeof(raw), 0); 86 if (ret < 0) 87 return ret; 118 int ret; local 120 ret = ds2781_store_eeprom(dev_info->w1_dev, reg); 121 if (ret < 0) 122 return ret; 124 ret = ds2781_recall_eeprom(dev_info->w1_dev, reg); 125 if (ret < 135 int ret; local 156 int ret; local 170 int ret; local 199 int ret; local 226 int ret, sense_res; local 271 int ret, sense_res; local 308 int ret; local 321 int ret, current_uA, capacity; local 347 int ret; local 375 int ret; local 389 int ret = 0; local 457 int ret; local 476 int ret; local 511 int ret; local 529 int ret; local 549 int ret; local 566 int ret; local 592 int ret; local 610 int ret; local 655 int ret; local 705 int ret; local 755 int ret = 0; local [all...] |
/drivers/iio/accel/ |
H A D | kxcjk-1013.c | 220 int ret; local 222 ret = i2c_smbus_read_byte_data(data->client, KXCJK1013_REG_CTRL1); 223 if (ret < 0) { 225 return ret; 229 ret &= ~KXCJK1013_REG_CTRL1_BIT_PC1; 231 ret |= KXCJK1013_REG_CTRL1_BIT_PC1; 233 ret = i2c_smbus_write_byte_data(data->client, 234 KXCJK1013_REG_CTRL1, ret); 235 if (ret < 0) { 237 return ret; 246 int ret; local 264 int ret; local 292 int ret; local 380 int ret; local 399 int ret; local 424 int ret; local 488 int ret; local 575 int ret; local 639 int ret; local 653 int ret, i; local 690 int ret; local 740 int ret; local 831 int ret; local 948 int bit, ret, i = 0; local 975 int ret; local 991 int ret; local 1034 int ret; local 1150 int ret; local 1182 int ret; local 1336 int ret; local 1349 int ret = 0; local 1375 int ret; local [all...] |
/drivers/cpuidle/ |
H A D | cpuidle-arm64.c | 39 int ret; local 46 ret = cpu_pm_enter(); 47 if (!ret) { 53 ret = cpu_suspend(idx); 58 return ret ? -1 : idx; 97 int cpu, ret; local 102 * This driver is DT only, if no DT idle states are detected (ret == 0) 106 ret = dt_init_idle_driver(drv, arm64_idle_state_match, 1); 107 if (ret <= 0) { 108 if (ret) [all...] |
/drivers/media/dvb-frontends/ |
H A D | mt312.c | 66 int ret; local 79 ret = i2c_transfer(state->i2c, msg, 2); 81 if (ret != 2) { 82 printk(KERN_DEBUG "%s: ret == %d\n", __func__, ret); 100 int ret; local 126 ret = i2c_transfer(state->i2c, &msg, 1); 128 if (ret != 1) { 129 dprintk("%s: ret == %d\n", __func__, ret); 161 int ret; local 176 int ret; local 234 int ret; local 249 int ret; local 350 int ret; local 388 int ret; local 411 int ret; local 448 int ret; local 477 int ret; local 493 int ret; local 515 int ret; local 530 int ret; local 546 int ret; local 651 int ret; local 673 int ret; local 700 int ret; local [all...] |
H A D | ec100.c | 36 int ret; local 47 ret = i2c_transfer(state->i2c, msg, 1); 48 if (ret == 1) { 49 ret = 0; 52 KBUILD_MODNAME, ret, reg); 53 ret = -EREMOTEIO; 56 return ret; 62 int ret; local 77 ret = i2c_transfer(state->i2c, msg, 2); 78 if (ret 93 int ret; local 180 int ret; local 216 int ret; local 248 int ret; local 288 int ret; local [all...] |
H A D | lg2160.c | 44 #define lg_fail(ret) \ 47 __ret = (ret < 0); \ 49 lg_err("error %d on line %d\n", ret, __LINE__); \ 69 int ret; local 78 ret = i2c_transfer(state->i2c_adap, &msg, 1); 80 if (ret != 1) { 82 msg.buf[0], msg.buf[1], msg.buf[2], ret); 83 if (ret < 0) 84 return ret; 93 int ret; local 125 int i, ret; local 141 int ret; local 163 int ret; local 179 int ret; local 199 int ret; local 253 int ret; local 278 int ret; local 320 int ret; local 340 int ret; local 359 int ret; local 377 int ret; local 394 int ret; local 407 int ret; local 437 int ret; local 455 int ret; local 472 int ret; local 511 int ret; local 545 int ret; local 561 int ret; local 577 int ret; local 593 int ret; local 612 int ret; local 652 int ret; local 678 int ret; local 703 int ret; local 740 int ret; local 948 int ret; local 1065 int ret; local 1143 int ret; local 1163 int ret; local 1188 int ret; local 1209 int ret, acq_lock, sync_lock; local 1239 int ret; local 1267 int ret; local [all...] |
/drivers/gpu/drm/i915/ |
H A D | i915_gem_render_state.c | 48 int ret; local 62 ret = i915_gem_obj_ggtt_pin(so->obj, 4096, 0); 63 if (ret) 71 return ret; 80 int ret; local 82 ret = i915_gem_object_set_to_cpu_domain(so->obj, true); 83 if (ret) 84 return ret; 111 ret = i915_gem_object_set_to_gtt_domain(so->obj, false); 112 if (ret) 132 int ret; local 156 int ret; local [all...] |
/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-phy.c | 57 int ret; local 60 ret = mxl111sf_write_reg(state, 0xff, 0x00); /* AIC */ 61 if (mxl_fail(ret)) 63 ret = mxl111sf_write_reg(state, 0x02, 0x01); /* get out of reset */ 64 mxl_fail(ret); 66 return ret; 71 int ret; local 77 ret = mxl111sf_write_reg(state, 0x03, 79 if (mxl_fail(ret)) 82 ret 126 int ret; local 218 int ret; local 247 int ret; local 277 int ret; local 308 int ret; local [all...] |
/drivers/media/radio/wl128x/ |
H A D | fmdrv_tx.c | 30 int ret; local 39 ret = fmc_send_cmd(fmdev, MONO_SET, REG_WR, &payload, 41 if (ret < 0) 42 return ret; 46 return ret; 52 int ret; local 54 ret = fmc_send_cmd(fmdev, RDS_DATA_SET, REG_WR, rds_text, 56 if (ret < 0) 57 return ret; 61 ret 72 int ret; local 95 int ret; local 111 int ret; local 154 int ret; local 182 int ret; local 202 int ret; local 222 int ret; local 240 int ret; local 259 int ret; local 296 int ret; local 335 int ret; local 367 int ret; local 387 int ret; local [all...] |