Searched defs:rval (Results 1 - 25 of 94) sorted by path

1234

/drivers/char/ipmi/
H A Dipmi_devintf.c459 unsigned char rval; local
461 rv = ipmi_get_my_address(priv->user, 0, &rval);
465 val = rval;
490 unsigned char rval; local
492 rv = ipmi_get_my_LUN(priv->user, 0, &rval);
496 val = rval;
/drivers/dma/ppc4xx/
H A Dadma.c3264 int rval = 0; local
3372 return rval;
3728 int rval = 0; local
3746 rval = -EFAULT;
3779 rval = 0;
3782 rval = -EINVAL;
3786 return rval;
/drivers/i2c/algos/
H A Di2c-algo-pca.c534 int rval; local
536 rval = pca_init(adap);
537 if (rval)
538 return rval;
546 int rval; local
548 rval = pca_init(adap);
549 if (rval)
550 return rval;
H A Di2c-algo-pcf.c414 int rval; local
421 if ((rval = pcf_init_8584(pcf_adap)))
422 return rval;
424 rval = i2c_add_adapter(adap);
426 return rval;
/drivers/infiniband/hw/qib/
H A Dqib_init.c1262 int rval; local
1264 rval = driver_for_each_device(&qib_driver.driver, NULL,
1266 return rval ? NOTIFY_BAD : NOTIFY_DONE;
H A Dqib_mr.c54 int rval = 0; local
69 return rval;
73 rval = -ENOMEM;
100 int rval; local
113 rval = init_qib_mregion(&mr->mr, pd, 0);
114 if (rval) {
115 ret = ERR_PTR(rval);
120 rval = qib_alloc_lkey(&mr->mr, 1);
121 if (rval) {
122 ret = ERR_PTR(rval);
141 int rval = -ENOMEM; local
385 int rval = -ENOMEM; local
[all...]
/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c1126 u_char r_conf_en, rval; local
1570 rval = HFC_inb_nodebug(hc, R_INT_DATA);
1571 if (rval != ((i * 3) & 0xff)) {
1573 "addr:%x val:%x should:%x\n", i, rval,
/drivers/media/i2c/
H A Dadp1653.c54 int rval; local
77 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, out_sel);
78 if (rval < 0)
79 return rval;
81 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_CONFIG, config);
82 if (rval < 0)
83 return rval;
92 int rval; local
104 rval = i2c_smbus_write_byte_data(client, ADP1653_REG_OUT_SEL, 0);
105 if (IS_ERR_VALUE(rval))
123 int rval; local
155 int rval; local
181 int rval; local
275 int rval; local
[all...]
H A Das3645a.c142 int rval; local
144 rval = i2c_smbus_write_byte_data(client, addr, val);
147 rval < 0 ? "fail" : "ok");
149 return rval;
156 int rval; local
158 rval = i2c_smbus_read_byte_data(client, addr);
160 dev_dbg(&client->dev, "Read Addr:%02X Val:%02X %s\n", addr, rval,
161 rval < 0 ? "fail" : "ok");
163 return rval;
291 int rval; local
565 int rval, man, model, rfu, version; local
673 int rval; local
690 int rval; local
[all...]
H A Dlm3560.c77 int rval = -EINVAL; local
81 rval = regmap_update_bits(flash->regmap,
85 rval = regmap_update_bits(flash->regmap,
89 rval = regmap_update_bits(flash->regmap,
93 return rval;
100 int rval; local
104 rval = regmap_update_bits(flash->regmap,
107 rval = regmap_update_bits(flash->regmap,
111 rval = regmap_update_bits(flash->regmap,
114 rval
124 int rval; local
147 int rval; local
170 int rval = -EINVAL; local
198 int rval = -EINVAL; local
360 int rval; local
382 int rval; local
405 int rval; local
[all...]
H A Dlm3646.c106 int rval; local
111 rval = regmap_read(flash->regmap, REG_FLAG, &reg_val);
112 if (rval < 0)
113 return rval;
140 int rval = -EINVAL; local
158 rval = regmap_read(flash->regmap, REG_ENABLE, &reg_val);
159 if (rval < 0 || ((reg_val & MASK_ENABLE) != MODE_SHDN))
160 return rval;
171 rval = regmap_read(flash->regmap, REG_ENABLE, &reg_val);
172 if (rval <
277 int rval; local
299 int rval; local
344 int rval; local
[all...]
H A Dsmiapp-pll.c120 int rval; local
326 rval = bounds_check(dev, pll->pll_ip_clk_freq_hz,
330 if (!rval)
331 rval = bounds_check(
335 if (!rval)
336 rval = bounds_check(
340 if (!rval)
341 rval = bounds_check(
345 if (!rval)
346 rval
387 int rval = -EINVAL; local
[all...]
/drivers/media/i2c/smiapp/
H A Dsmiapp-core.c75 int rval; local
80 rval = smiapp_read(sensor, SMIAPP_REG_U8_FRAME_FORMAT_MODEL_TYPE,
82 if (rval)
83 return rval;
85 rval = smiapp_read(sensor, SMIAPP_REG_U8_FRAME_FORMAT_MODEL_SUBTYPE,
87 if (rval)
88 return rval;
110 rval = smiapp_read(
114 if (rval)
115 return rval;
205 int rval; local
278 int rval; local
418 int rval; local
530 int rval; local
652 int rval; local
671 int rval; local
707 int rval; local
750 int rval; local
863 int rval; local
925 int rval = 0, rval2; local
988 int rval; local
1024 int rval; local
1151 int rval; local
1350 int rval; local
1475 int rval; local
1499 int rval; local
1525 int rval = -EINVAL; local
1601 int rval; local
1706 int rval = __smiapp_get_format(subdev, fh, fmt); local
2152 int rval; local
2271 int rval = 0; local
2408 int rval; local
2831 int rval; local
[all...]
H A Dsmiapp-quirk.c38 int rval; local
41 rval = smiapp_write_8(sensor, regs->reg, regs->val);
42 if (rval < 0) {
45 rval, regs->reg, regs->val);
46 return rval;
153 int rval; local
183 rval = smiapp_write_8s(sensor, regs, ARRAY_SIZE(regs));
184 if (rval < 0)
185 return rval;
205 int rval; local
[all...]
H A Dsmiapp-regs.c144 int rval; local
151 rval = ____smiapp_read(sensor, reg + i, 1, &val8);
152 if (rval < 0)
153 return rval;
169 int rval; local
176 rval = ____smiapp_read(sensor, SMIAPP_REG_ADDR(reg), len, val);
178 rval = ____smiapp_read_8only(sensor, SMIAPP_REG_ADDR(reg), len,
180 if (rval < 0)
181 return rval;
199 int rval; local
213 int rval; local
297 int rval; local
[all...]
/drivers/media/
H A Dmedia-device.c180 int rval; local
185 rval = __media_device_enum_links(mdev, &links);
186 if (rval < 0)
187 return rval;
/drivers/media/pci/solo6x10/
H A Dsolo6x10-tw28.c212 u8 rval = solo_i2c_readbyte(solo_dev, SOLO_I2C_TW, addr, off); local
214 if (rval == val)
763 u8 rval, chip_num; local
773 rval = solo_i2c_readbyte(solo_dev, SOLO_I2C_TW,
776 *val = rval & 0x0f;
781 rval = tw_readbyte(solo_dev, chip_num, TW286x_HUE_ADDR(ch),
784 *val = (s32)((char)rval) + 128;
786 *val = rval;
799 rval = tw_readbyte(solo_dev, chip_num,
803 *val = (s32)((char)rval)
[all...]
/drivers/media/platform/marvell-ccic/
H A Dcafe-driver.c171 unsigned int rval; local
176 rval = TWSIC0_EN | ((addr << TWSIC0_SID_SHIFT) & TWSIC0_SID);
177 rval |= TWSIC0_OVMAGIC; /* Make OV sensors work */
181 rval |= TWSIC0_CLKDIV;
182 mcam_reg_write(mcam, REG_TWSIC0, rval);
184 rval = value | ((command << TWSIC1_ADDR_SHIFT) & TWSIC1_ADDR);
185 mcam_reg_write(mcam, REG_TWSIC1, rval);
210 rval = mcam_reg_read(mcam, REG_TWSIC1);
213 if (rval & TWSIC1_WSTAT) {
218 if (rval
250 unsigned int rval; local
[all...]
/drivers/media/platform/omap3isp/
H A Dispccdc.c1428 int rval = 0; local
1442 rval = 1;
1447 rval = 1;
1456 rval = 1;
1459 return rval;
H A Dispcsiphy.c262 int rval; local
272 rval = regulator_enable(phy->vdd);
273 if (rval < 0)
276 rval = omap3isp_csi2_reset(phy->csi2);
277 if (rval < 0)
280 rval = omap3isp_csiphy_config(phy);
281 if (rval < 0)
284 rval = csiphy_set_power(phy, ISPCSI2_PHY_CFG_PWR_CMD_ON);
285 if (rval) {
295 return rval;
[all...]
H A Disppreview.c867 int rval = 0; local
900 rval = -EFAULT;
917 return rval;
H A Dispstat.c280 int rval = 0; local
318 rval = copy_to_user(data->buf,
322 if (rval) {
325 stat->subdev.name, rval);
/drivers/media/radio/
H A Dradio-si476x.c1116 ssize_t rval; local
1127 rval = wait_event_interruptible(radio->core->rds_read_queue,
1130 if (rval < 0)
1144 rval = -EIO;
1146 rval = (ssize_t)copied;
1149 return rval;
1427 int rval; local
1433 rval = radio->ctrl_handler.error;
1434 if (ctrl == NULL && rval)
1437 si476x_ctrls[idx].name, rval);
1444 int rval; local
[all...]
/drivers/media/radio/si4713/
H A Dradio-platform-si4713.c158 int rval = 0; local
162 rval = -EINVAL;
169 rval = -ENOMEM;
174 rval = v4l2_device_register(&pdev->dev, &rsdev->v4l2_dev);
175 if (rval) {
184 rval = -ENODEV;
192 rval = -ENODEV;
204 rval = -EIO;
216 return rval;
H A Dsi4713.c172 int rval = -EINVAL; local
176 rval = array[i * 2];
180 return rval;
309 int rval; local
326 rval = si4713_send_command(sdev, SI4713_CMD_SET_PROPERTY,
331 if (rval < 0)
332 return rval;
345 return rval;
455 int rval; local
458 rval
786 int rval = 0; local
799 int rval = 0, i; local
840 int rval = 0, i; local
894 int rval; local
918 s32 rval = 0; local
1045 int rval; local
1071 int rval; local
1213 int rval = 0; local
1247 int rval = 0; local
1293 int rval = 0; local
1338 int rval = 0; local
1363 int rval = 0; local
1425 int rval, i; local
[all...]

Completed in 539 milliseconds

1234