Searched refs:ret (Results 276 - 300 of 5719) sorted by relevance

<<11121314151617181920>>

/drivers/power/
H A Dtwl4030_charger.c109 int ret; local
111 ret = twl_i2c_read_u8(mod_no, &val, reg);
112 if (ret)
113 return ret;
135 int ret, temp; local
139 ret = twl4030_bci_read(reg + 1, &val);
140 if (ret)
141 return ret;
146 ret = twl4030_bci_read(reg, &val);
147 if (ret)
158 int ret; local
187 int ret; local
209 int ret; local
260 int ret; local
275 int ret; local
334 int ret; local
412 int ret; local
436 int ret; local
469 int ret; local
565 int ret; local
[all...]
/drivers/regulator/
H A Dtps6105x-regulator.c33 int ret; local
36 ret = tps6105x_mask_and_set(tps6105x, TPS6105X_REG_0,
39 if (ret)
40 return ret;
48 int ret; local
51 ret = tps6105x_mask_and_set(tps6105x, TPS6105X_REG_0,
54 if (ret)
55 return ret;
64 int ret; local
66 ret
82 int ret; local
97 int ret; local
135 int ret; local
[all...]
H A Dlp8755.c95 int ret; local
100 ret = lp8755_read(pchip, 0x12 + id, &regval);
101 if (ret < 0) {
103 return ret;
110 int ret; local
122 ret = lp8755_update_bits(pchip, 0x08 + id, 0x20, 0x00);
123 if (ret < 0)
128 ret = lp8755_update_bits(pchip, 0x08 + id, 0x20, 0x20);
129 if (ret < 0)
132 ret
153 int ret; local
184 int ret; local
281 int ret, icnt, buck_num; local
329 int ret, icnt, buck_num; local
358 int ret, icnt; local
413 int ret; local
447 int ret, icnt; local
[all...]
H A Dhelpers.c34 int ret; local
36 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val);
37 if (ret != 0)
38 return ret;
118 int ret; local
120 ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val);
121 if (ret != 0)
122 return ret;
143 int ret; local
147 ret
177 int i, ret; local
213 int i, ret; local
244 int ret, voltage; local
291 int ret = -EINVAL; local
457 int ret; local
[all...]
/drivers/watchdog/
H A Dda9063_wdt.c65 int ret; local
68 ret = _da9063_wdt_set_timeout(wdt->da9063, selector);
69 if (ret)
71 ret);
73 return ret;
79 int ret; local
81 ret = regmap_update_bits(wdt->da9063->regmap, DA9063_REG_CONTROL_D,
83 if (ret)
85 ret);
87 return ret;
93 int ret; local
109 int ret; local
137 int ret; local
[all...]
/drivers/misc/c2port/
H A Dcore.c264 int ret, timeout = 20; local
267 ret = (c2port_read_ar(dev, &addr));
268 if (ret < 0)
285 int ret, timeout = 10000; /* erase flash needs long time... */ local
288 ret = (c2port_read_ar(dev, &addr));
289 if (ret < 0)
359 int status, ret; local
361 ret = sscanf(buf, "%d", &status);
362 if (ret != 1)
407 int ret; local
424 ssize_t ret; local
444 int ret; local
461 ssize_t ret; local
489 int ret; local
528 ssize_t ret; local
552 int ret; local
611 int ret; local
635 int i, ret; local
727 ssize_t ret; local
748 int i, ret; local
844 int ret; local
903 int ret; local
[all...]
/drivers/net/wireless/ti/wlcore/
H A Dcmd.c59 int ret; local
74 ret = wlcore_write(wl, wl->cmd_box_addr, buf, len, false);
75 if (ret < 0)
76 return ret;
82 ret = wl->ops->trigger_cmd(wl, wl->cmd_box_addr, buf, len);
83 if (ret < 0)
84 return ret;
88 ret = wlcore_read_reg(wl, REG_INTERRUPT_NO_CLEAR, &intr);
89 if (ret < 0)
90 return ret;
134 int ret = __wlcore_cmd_send(wl, id, buf, len, res_len); local
162 int ret = wlcore_cmd_send_failsafe(wl, id, buf, len, res_len, 0); local
180 int ret = 0; local
230 int ret; local
272 int ret; local
425 int ret; local
474 int ret; local
511 int ret; local
585 int ret; local
623 int ret; local
727 int ret; local
760 int ret; local
829 int ret; local
860 int ret; local
890 int ret; local
915 int ret = wlcore_cmd_configure_failsafe(wl, id, buf, len, 0); local
926 int ret; local
978 int ret = 0; local
1009 int ret = 0; local
1053 int ret = -ENOMEM; local
1086 int ret = -ENOMEM; local
1111 int ret = 0; local
1134 int ret; local
1179 int ret; local
1208 int ret, extra = 0; local
1325 int ret = 0; local
1359 int ret = 0; local
1428 int ret = 0; local
1488 int ret = 0; local
1522 int i, ret; local
1581 int ret; local
1681 int ret = 0, i, b, ch_bit_idx; local
1761 int ret = 0; local
1793 int ret = 0; local
1819 int ret = 0; local
1846 int ret = 0; local
1891 int ret = 0; local
1919 int ret = 0; local
1935 int ret = 0; local
1960 int ret; local
1989 int ret; local
2023 int ret; local
[all...]
/drivers/crypto/ccp/
H A Dccp-crypto-main.c70 int ret; member in struct:ccp_crypto_cmd
143 int ret; local
147 if (crypto_cmd->ret == -EBUSY) {
148 crypto_cmd->ret = -EINPROGRESS;
161 backlog->ret = -EINPROGRESS;
166 if (crypto_cmd->ret == -EBUSY)
170 ret = err;
172 ret = ctx->complete(req, ret);
173 req->complete(req, ret);
209 int ret; local
323 int ret; local
368 int ret; local
[all...]
H A Dccp-pci.c50 int v, ret; local
55 ret = pci_enable_msix_range(pdev, msix_entry, 1, v);
56 if (ret < 0)
57 return ret;
59 ccp_pci->msix_count = ret;
64 ret = request_irq(ccp_pci->msix[v].vector, ccp_irq_handler,
66 if (ret) {
68 ret);
83 return ret;
90 int ret; local
114 int ret; local
170 int ret; local
[all...]
/drivers/gpu/drm/nouveau/core/subdev/bar/
H A Dnv50.c50 int ret; local
52 ret = nouveau_vm_get(priv->bar3_vm, mem->size << 12, 12, flags, vma);
53 if (ret)
54 return ret;
65 int ret; local
67 ret = nouveau_vm_get(priv->bar1_vm, mem->size << 12, 12, flags, vma);
68 if (ret)
69 return ret;
116 int ret; local
118 ret
234 int ret, i; local
[all...]
/drivers/hwmon/pmbus/
H A Dadm1275.c68 int ret = 0; local
76 ret = -ENXIO;
79 ret = pmbus_read_word_data(client, 0, ADM1275_IOUT_WARN2_LIMIT);
83 ret = -ENXIO;
86 ret = pmbus_read_word_data(client, 0, ADM1275_IOUT_WARN2_LIMIT);
90 ret = -ENODATA;
93 ret = pmbus_read_word_data(client, 0,
98 ret = -ENODATA;
101 ret = pmbus_read_word_data(client, 0,
106 ret
145 int ret; local
179 int mfr_status, ret; local
233 int ret; local
[all...]
/drivers/media/tuners/
H A Dtda18218.c29 int ret = 0, len2, remaining; local
56 ret = i2c_transfer(priv->i2c, msg, 1);
57 if (ret != 1)
61 if (ret == 1) {
62 ret = 0;
65 "len=%d\n", KBUILD_MODNAME, ret, reg, len);
66 ret = -EREMOTEIO;
69 return ret;
75 int ret; local
98 ret
129 int ret; local
230 int ret; local
250 int ret; local
298 int ret; local
[all...]
/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-tuner.c139 int ret; local
153 ret = mxl111sf_tuner_write_reg(state, V6_TUNER_IF_SEL_REG, ctrl);
154 if (mxl_fail(ret))
176 ret = mxl111sf_tuner_read_reg(state, V6_TUNER_IF_FCW_BYP_REG, &ctrl);
177 if (mxl_fail(ret))
183 ret = mxl111sf_tuner_write_reg(state, V6_TUNER_IF_FCW_BYP_REG, ctrl);
184 if (mxl_fail(ret))
190 ret = mxl111sf_tuner_write_reg(state, V6_TUNER_IF_FCW_REG, ctrl);
191 if (mxl_fail(ret))
196 return ret;
203 int ret; local
248 int ret; local
280 int ret; local
352 int rf_locked, ref_locked, ret; local
372 int ret; local
[all...]
/drivers/media/usb/gspca/
H A Dsq905.c118 int ret; local
121 ret = usb_control_msg(gspca_dev->dev,
127 if (ret < 0) {
128 pr_err("%s: usb_control_msg failed (%d)\n", __func__, ret);
129 return ret;
132 ret = usb_control_msg(gspca_dev->dev,
138 if (ret < 0) {
139 pr_err("%s: usb_control_msg failed 2 (%d)\n", __func__, ret);
140 return ret;
151 int ret; local
174 int ret; local
221 int ret; local
332 int ret; local
371 int ret; local
[all...]
/drivers/gpio/
H A Dgpio-pca953x.c108 int ret; local
112 ret = i2c_smbus_read_byte_data(chip->client,
114 *val = ret;
116 if (ret < 0) {
118 return ret;
127 int ret = 0; local
131 ret = i2c_smbus_write_byte_data(chip->client,
134 if (ret < 0) {
136 return ret;
144 int ret local
181 int ret; local
209 int ret, offset = 0; local
238 int ret, offset = 0; local
288 int ret, offset = 0; local
316 int ret, offset = 0; local
452 int ret, i, offset = 0; local
521 int ret, i, offset = 0; local
591 int ret; local
616 int ret; local
648 int ret; local
708 int ret = 0; local
[all...]
/drivers/staging/iio/impedance-analyzer/
H A Dad5933.c154 int ret; local
157 ret = i2c_smbus_write_byte_data(client, reg++, *data++);
158 if (ret < 0) {
160 return ret;
169 int ret; local
172 ret = i2c_smbus_read_byte_data(client, reg++);
173 if (ret < 0) {
175 return ret;
177 *data++ = ret;
201 int ret; local
246 int ret; local
295 int ret; local
325 int ret; local
358 int ret = 0, len = 0; local
402 int i, ret = 0; local
523 int ret = -EINVAL; local
570 int ret; local
701 int ret, voltage_uv = 0; local
[all...]
/drivers/iio/light/
H A Dcm32181.c77 s32 ret; local
79 ret = i2c_smbus_read_word_data(client, CM32181_REG_ADDR_ID);
80 if (ret < 0)
81 return ret;
84 if ((ret & 0xFF) != 0x81)
94 ret = i2c_smbus_write_word_data(client, cm32181_reg[i],
96 if (ret < 0)
97 return ret;
143 int ret, i, n; local
160 ret
179 int ret; local
211 int ret; local
237 int ret; local
306 int ret; local
[all...]
/drivers/media/mmc/siano/
H A Dsmssdio.c94 int ret = 0; local
103 ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA,
105 if (ret)
113 ret = sdio_memcpy_toio(smsdev->func, SMSSDIO_DATA,
120 return ret;
129 int ret; local
142 (void)sdio_readb(func, SMSSDIO_INT, &ret);
143 if (ret) {
155 ret = sdio_memcpy_fromio(smsdev->func,
159 if (ret) {
243 int ret; local
358 int ret = 0; local
[all...]
/drivers/mmc/core/
H A Dslot-gpio.c117 int ret; local
122 ret = mmc_gpio_alloc(host);
123 if (ret < 0)
124 return ret;
128 ret = devm_gpio_request_one(&host->class_dev, gpio, GPIOF_DIR_IN,
130 if (ret < 0)
131 return ret;
143 int ret, irq; local
159 ret = devm_request_threaded_irq(&host->class_dev, irq,
163 if (ret <
197 int ret; local
300 int ret; local
353 int ret; local
[all...]
/drivers/rtc/
H A Drtc-isl12057.c137 int ret, i; local
139 ret = regmap_bulk_read(regmap, 0, regs, ISL12057_MEM_MAP_LEN);
140 if (ret)
141 return ret;
155 int ret; local
158 ret = regmap_bulk_read(data->regmap, ISL12057_REG_RTC_SC, regs,
162 if (ret) {
164 return ret;
176 int ret; local
178 ret
200 int ret; local
246 int ret; local
[all...]
/drivers/usb/dwc3/
H A Ddwc3-exynos.c46 int ret; local
58 ret = platform_device_add_data(exynos->usb2_phy, &pdata, sizeof(pdata));
59 if (ret)
64 ret = -ENOMEM;
71 ret = platform_device_add_data(exynos->usb3_phy, &pdata, sizeof(pdata));
72 if (ret)
75 ret = platform_device_add(exynos->usb2_phy);
76 if (ret)
79 ret = platform_device_add(exynos->usb3_phy);
80 if (ret)
113 int ret; local
232 int ret; local
[all...]
/drivers/input/keyboard/
H A Dtc3589x-keypad.c94 int ret; local
103 ret = tc3589x_reg_write(tc3589x, TC3589x_KBDSIZE,
105 if (ret < 0)
106 return ret;
109 ret = tc3589x_reg_write(tc3589x, TC3589x_KBCFG_LSB, DEDICATED_KEY_VAL);
110 if (ret < 0)
111 return ret;
113 ret = tc3589x_reg_write(tc3589x, TC3589x_KBCFG_MSB, DEDICATED_KEY_VAL);
114 if (ret < 0)
115 return ret;
207 int ret; local
243 int ret; local
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dmac.c96 int ret; local
102 ret = ath10k_send_key(arvif, key, cmd, macaddr);
103 if (ret)
104 return ret;
106 ret = wait_for_completion_timeout(&ar->install_key_done, 3*HZ);
107 if (ret == 0)
118 int ret; local
134 ret = ath10k_install_key(arvif, arvif->wep_keys[i], SET_KEY,
136 if (ret)
137 return ret;
151 int ret; local
189 int ret; local
325 int ret; local
353 int ret; local
423 int ret; local
484 int ret; local
501 int ret = 0; local
558 int ret = 0; local
584 int bit, ret = 0; local
615 int ret = 0; local
635 int ret; local
660 int ret; local
727 int ret; local
764 int ret; local
793 int ret = 0; local
867 int ret; local
901 int ret = 0; local
956 int ret = 0; local
1006 int ret; local
1243 int ret = 0; local
1479 int ret; local
1547 int ret; local
1585 int ret = 0; local
1641 int ret = 0; local
1679 int ret; local
1784 int ret; local
1904 int ret, keyidx = arvif->def_wep_key_newidx; local
1989 int ret = 0; local
2053 int ret; local
2133 int ret; local
2193 int ret; local
2229 int ret; local
2275 int ret; local
2413 int ret; local
2446 int ret; local
2457 int ret = 0; local
2574 int ret = 0; local
2615 int ret; local
2684 int ret = 0; local
2755 int ret = 0; local
2925 int ret; local
2991 int ret; local
3013 int ret = 0; local
3195 int ret = 0; local
3280 int ret; local
3322 int ret = 0; local
3475 int ret = 0; local
3571 int ret = 0; local
3631 int ret; local
3693 int ret = 0; local
3780 int ret = 0; local
3803 int ret = 0; local
3827 int ret; local
3873 int ret; local
3907 int ret; local
3954 int ret = 0; local
4226 int ret = 0; local
4750 int ret; local
[all...]
/drivers/net/wireless/ti/wl1251/
H A Dcmd.c26 int ret = 0; local
44 ret = -ETIMEDOUT;
57 return ret;
70 int ret; local
74 ret = wl1251_cmd_send(wl, CMD_TEST, buf, buf_len);
76 if (ret < 0) {
78 return ret;
112 int ret; local
121 ret = wl1251_cmd_send(wl, CMD_INTERROGATE, acx, sizeof(*acx));
122 if (ret <
150 int ret; local
172 int ret; local
209 int ret; local
245 int ret; local
277 int ret, i; local
321 int ret = 0; local
353 int ret = 0; local
394 int ret = 0; local
429 int i, ret = 0; local
495 int ret; local
[all...]
/drivers/pci/host/
H A Dpci-imx6.c103 int ret; local
111 ret = pcie_phy_poll_ack(dbi_base, 1);
112 if (ret)
113 return ret;
118 ret = pcie_phy_poll_ack(dbi_base, 0);
119 if (ret)
120 return ret;
129 int ret; local
131 ret = pcie_phy_wait_ack(dbi_base, addr);
132 if (ret)
159 int ret; local
258 int ret; local
366 int ret, count; local
526 int ret; local
562 int ret; local
[all...]

Completed in 535 milliseconds

<<11121314151617181920>>