Searched refs:rc (Results 351 - 375 of 3200) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c58 int rc; local
65 rc = i2c_smbus_read_block_data(client, reg, data);
66 if (rc < 0)
67 return rc;
70 p = memscan(data, '#', rc);
81 int rc; local
87 rc = i2c_smbus_read_block_data(client, reg, data);
88 if (rc < 0)
89 return rc;
91 if (rc !
103 int rc; local
135 int rc; local
[all...]
/linux-master/arch/s390/pci/
H A Dpci_bus.c44 int rc, i; local
47 rc = zpci_enable_device(zdev);
48 if (rc)
49 return rc;
73 int rc; local
75 rc = zpci_bus_prepare_device(zdev);
76 if (rc)
77 return rc;
135 int devfn, rc, ret = 0; local
140 rc
293 int rc = -EINVAL; local
325 int rc = -EBADF; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-xscom.c57 int64_t rc; local
61 rc = opal_xscom_read(chip, reg, (__be64 *)__pa(&v));
62 if (rc) {
72 int64_t rc; local
75 rc = opal_xscom_write(chip, reg, value);
76 if (rc)
95 int rc; local
103 rc = opal_scom_read(ent->chip, reg_base, reg, &val);
104 if (!rc)
105 rc
126 int rc; local
192 int chip, rc; local
[all...]
H A Dopal-lpc.c26 int64_t rc; local
31 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 1);
32 return rc ? 0xff : be32_to_cpu(data);
37 int64_t rc; local
44 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 2);
45 return rc ? 0xffff : be32_to_cpu(data);
54 int64_t rc; local
64 rc = opal_lpc_read(opal_lpc_chip_id, OPAL_LPC_IO, port, &data, 4);
65 return rc ? 0xffffffff : be32_to_cpu(data);
189 int rc; local
280 int rc; local
369 int rc = 0; local
[all...]
H A Dopal-rtc.c41 long rc = OPAL_BUSY; local
46 while (rc == OPAL_BUSY || rc == OPAL_BUSY_EVENT) {
47 rc = opal_rtc_read(&__y_m_d, &__h_m_s_ms);
48 if (rc == OPAL_BUSY_EVENT) {
51 } else if (rc == OPAL_BUSY) {
55 if (rc != OPAL_SUCCESS)
H A Dsetup.c48 bool rc = false; local
52 rc = of_property_read_bool(np, state);
56 return rc;
310 long rc; local
316 rc = opal_cec_reboot();
318 rc = opal_cec_reboot2(OPAL_REBOOT_FULL_IPL, NULL);
320 rc = opal_cec_reboot2(OPAL_REBOOT_MPIPL, NULL);
322 rc = opal_cec_reboot2(OPAL_REBOOT_PLATFORM_ERROR, NULL);
324 rc = opal_cec_reboot2(OPAL_REBOOT_FAST, NULL);
326 rc
357 long rc = OPAL_BUSY; local
403 int64_t rc, timeout = 1000; local
[all...]
/linux-master/drivers/cxl/
H A Dmem.c53 int rc; local
73 rc = cxl_endpoint_autoremove(cxlmd, endpoint);
74 if (rc)
75 return rc;
115 int rc; local
141 rc = devm_add_action_or_reset(dev, remove_debugfs, dentry);
142 if (rc)
143 return rc;
145 rc = devm_cxl_enumerate_ports(cxlmd);
146 if (rc)
207 int rc; local
[all...]
/linux-master/drivers/media/rc/
H A Dttusbir.c13 #include <media/rc-core.h>
27 struct rc_dev *rc; member in struct:ttusbir
120 if (ir_raw_event_store_with_filter(tt->rc, &rawir))
126 if (ir_raw_event_store_with_filter(tt->rc, &rawir))
140 if (ir_raw_event_store_with_filter(tt->rc, &rawir))
145 if (ir_raw_event_store_with_filter(tt->rc, &rawir))
153 ir_raw_event_handle(tt->rc);
159 int rc; local
175 rc = usb_submit_urb(urb, GFP_ATOMIC);
176 if (rc
186 struct rc_dev *rc; local
397 int i, rc; local
[all...]
/linux-master/drivers/acpi/nfit/
H A Dintel.c27 ssize_t rc; local
30 rc = kstrtobool(buf, &val);
31 if (rc)
32 return rc;
71 int rc; local
84 rc = nvdimm_ctl(nvdimm, ND_CMD_CALL, &nd_cmd, sizeof(nd_cmd), NULL);
85 if (rc < 0 || nd_cmd.cmd.status) {
87 nvdimm_name(nvdimm), rc, nd_cmd.cmd.status);
134 int rc; local
139 rc
168 int rc; local
210 int rc; local
235 int rc; local
276 int rc; local
319 int rc; local
355 int rc; local
423 int rc; local
439 int rc; local
546 int rc; local
598 int rc; local
610 int rc; local
710 int rc; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c10 int rc; member in struct:sec_name_test::__anon3690
15 int rc; member in struct:sec_name_test::__anon3691
212 int rc; local
214 rc = libbpf_prog_type_by_name(test->sec_name, &prog_type,
217 CHECK(rc != test->expected_load.rc, "check_code",
218 "prog: unexpected rc=%d for %s\n", rc, test->sec_name);
220 if (rc)
235 int rc; local
[all...]
/linux-master/drivers/misc/ocxl/
H A Dfile.c53 int rc; local
61 rc = ocxl_context_alloc(&ctx, info->afu, inode->i_mapping);
62 if (rc) {
64 return rc;
137 int rc = ocxl_link_update_pe(ctx->afu->fn->link, local
140 if (rc)
141 return rc;
206 long rc; local
221 rc = afu_ioctl_attach(ctx,
226 rc
399 ssize_t rc; local
459 int rc; local
494 int rc; local
524 int rc; local
598 int rc; local
[all...]
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma.c230 int rc; local
235 rc = percpu_counter_init(&svcrdma_stat_read, 0, GFP_KERNEL);
236 if (rc)
238 rc = percpu_counter_init(&svcrdma_stat_recv, 0, GFP_KERNEL);
239 if (rc)
241 rc = percpu_counter_init(&svcrdma_stat_sq_starve, 0, GFP_KERNEL);
242 if (rc)
244 rc = percpu_counter_init(&svcrdma_stat_write, 0, GFP_KERNEL);
245 if (rc)
256 return rc;
278 int rc; local
[all...]
/linux-master/drivers/reset/sti/
H A Dreset-syscfg.c135 struct syscfg_reset_controller *rc; local
138 rc = devm_kzalloc(dev, sizeof(*rc), GFP_KERNEL);
139 if (!rc)
142 rc->channels = devm_kcalloc(dev, data->nr_channels,
143 sizeof(*rc->channels), GFP_KERNEL);
144 if (!rc->channels)
147 rc->rst.ops = &syscfg_reset_ops;
148 rc->rst.of_node = dev->of_node;
149 rc
[all...]
/linux-master/drivers/mfd/
H A Dqcom-pm8xxx.c85 int rc; local
88 rc = regmap_write(chip->regmap, SSBI_REG_ADDR_IRQ_BLK_SEL, bp);
89 if (rc) {
90 pr_err("Failed Selecting Block %d rc=%d\n", bp, rc);
94 rc = regmap_read(chip->regmap, SSBI_REG_ADDR_IRQ_IT_STATUS, ip);
95 if (rc)
96 pr_err("Failed Reading Status rc=%d\n", rc);
99 return rc;
105 int rc; local
328 int rc; local
404 int irq_bit, rc; local
430 int irq_bit, rc; local
451 int rc, pmirq = irqd_to_hwirq(d); local
513 int irq, rc; local
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dmain.c99 int rc; local
106 rc = bnxt_re_hwrm_qcfg(rdev, &l2db_len, &offset);
107 if (rc)
165 int rc; local
186 rc = bnxt_qplib_map_db_bar(&rdev->qplib_res);
187 if (rc)
188 return rc;
322 int indx, rc; local
340 rc = bnxt_qplib_rcfw_start_irq(rcfw, msix_ent[BNXT_RE_AEQ_IDX].vector,
342 if (rc) {
368 int rc; local
404 int rc; local
426 int rc; local
452 int rc; local
659 int rc = -EINVAL; local
692 int rc = -EINVAL; local
727 int rc = -EINVAL; local
756 int rc = -EINVAL; local
1143 int rc = 0; local
1173 int rc; local
1238 int rc = 0, i; local
1294 int rc, i; local
1415 int rc = 0; local
1492 int rc; local
1522 int rc; local
1545 int rc; local
1596 int rc; local
1765 int rc; local
1903 int rc; local
2011 int rc; local
[all...]
/linux-master/drivers/input/touchscreen/
H A Dcyttsp4_core.c88 int rc; local
90 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size,
92 if (rc < 0)
94 __func__, rc);
99 return rc;
105 int rc; local
114 rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd);
115 if (rc < 0)
117 __func__, rc);
119 return rc;
125 int rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd); local
147 int rc = cyttsp4_hw_hard_reset(cd); local
167 int rc = cyttsp4_adap_read(cd, CY_REG_BASE, sizeof(si->si_data), local
206 int rc; local
283 int rc; local
342 int rc; local
394 int rc; local
490 int rc; local
517 int rc; local
547 int rc = 0; local
686 int rc; local
977 int rc = 0; local
1057 int rc = 0; local
1084 int rc; local
1342 int rc = 0; local
1379 int rc; local
1404 int rc; local
1504 int rc = 0; local
1581 int rc; local
1683 int rc; local
1719 int rc; local
1748 int rc; local
1771 int rc; local
1826 int rc; local
1850 int rc; local
1866 int rc; local
1906 int rc; local
1974 int rc = 0; local
2020 int rc = 0; local
[all...]
/linux-master/drivers/scsi/cxlflash/
H A Dsuperpipe.c164 int rc; local
204 rc = mutex_trylock(&ctxi->mutex);
206 if (rc)
266 int rc = 0; local
279 rc = -EAGAIN;
301 dev_dbg(dev, "%s: returning rc=%d\n", __func__, rc);
302 return rc;
341 int rc = 0; local
350 rc
568 int rc = 0; local
644 int rc = 0; local
902 int rc = 0; local
1114 vm_fault_t rc = 0; local
1187 int rc = 0; local
1236 int i, rc = 0; local
1281 int rc = 0; local
1327 int rc = 0; local
1539 int rc = 0; local
1668 int rc = 0; local
1781 int rc = 0; local
1839 int rc = 0; local
1979 int rc = 0; local
2054 int rc = 0; local
2106 int rc = 0; local
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dselftest.c106 int rc = 0; local
108 rc = efx_siena_mcdi_phy_test_alive(efx);
109 tests->phy_alive = rc ? -1 : 1;
111 return rc;
116 int rc = 0; local
119 rc = efx->type->test_nvram(efx);
120 if (rc == -EPERM)
121 rc = 0;
123 tests->nvram = rc ? -1 : 1;
126 return rc;
141 int rc; local
262 int rc; local
423 netdev_tx_t rc; local
483 int i, rc = 0; local
631 int rc = 0; local
704 int rc_test = 0, rc_reset, rc; local
[all...]
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c103 int rc = 0; local
106 rc = efx->phy_op->test_alive(efx);
107 tests->phy_alive = rc ? -1 : 1;
110 return rc;
115 int rc = 0; local
118 rc = efx->type->test_nvram(efx);
119 if (rc == -EPERM)
120 rc = 0;
122 tests->nvram = rc ? -1 : 1;
125 return rc;
140 int rc; local
261 int rc; local
425 netdev_tx_t rc; local
485 int i, rc = 0; local
633 int rc = 0; local
706 int rc_test = 0, rc_reset, rc; local
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dselftest.c105 int rc = 0; local
107 rc = efx_mcdi_phy_test_alive(efx);
108 tests->phy_alive = rc ? -1 : 1;
110 return rc;
115 int rc = 0; local
118 rc = efx->type->test_nvram(efx);
119 if (rc == -EPERM)
120 rc = 0;
122 tests->nvram = rc ? -1 : 1;
125 return rc;
140 int rc; local
261 int rc; local
422 netdev_tx_t rc; local
482 int i, rc = 0; local
626 int rc = 0; local
699 int rc_test = 0, rc_reset, rc; local
[all...]
/linux-master/drivers/s390/char/
H A Dsclp_ctl.c60 int rc; local
73 rc = -EFAULT;
77 rc = -EINVAL;
80 rc = sclp_sync_request(ctl_sccb.cmdw, sccb);
81 if (rc)
84 rc = -EFAULT;
87 return rc;
/linux-master/tools/usb/usbip/src/
H A Dusbip_unbind.c33 int rc, ret = -1; local
66 rc = write_sysfs_attribute(unbind_attr_path, busid, strlen(busid));
67 if (rc < 0) {
73 rc = modify_match_busid(busid, 0);
74 if (rc < 0) {
84 rc = write_sysfs_attribute(rebind_attr_path, busid, strlen(busid));
85 if (rc < 0) {
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c20 int rc; local
23 dev_dbg(&ir->rc->dev, "%s\n", __func__);
26 rc = i2c_master_recv(ir->c, &cmd, 1);
27 if (rc < 0)
28 return rc;
29 if (rc != 1)
41 dev_dbg(&ir->rc->dev, "cmd %02x, scan = %02x\n", cmd, scancode);
56 /* Only initialize if a rc keycode map is defined */
/linux-master/drivers/comedi/
H A Dcomedi_pci.c51 int rc; local
56 rc = pci_enable_device(pcidev);
57 if (rc < 0)
58 return rc;
60 rc = pci_request_regions(pcidev, dev->board_name);
61 if (rc < 0)
66 return rc;
/linux-master/drivers/ata/
H A Dahci_platform.c48 int rc; local
55 rc = ahci_platform_enable_resources(hpriv);
56 if (rc)
57 return rc;
66 rc = ahci_platform_init_host(pdev, hpriv, port,
68 if (rc)
74 return rc;

Completed in 411 milliseconds

<<11121314151617181920>>