Searched refs:rc (Results 1 - 25 of 3042) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ducode_loader.c42 int rc; local
44 rc = brcms_check_firmwares(wl);
46 rc = rc < 0 ? rc :
49 rc = rc < 0 ?
50 rc : brcms_ucode_init_buf(wl, (void **)&ucode->d11lcn0initvals24,
52 rc = rc <
[all...]
/linux-master/drivers/media/rc/keymaps/
H A DMakefile6 rc-adstech-dvb-t-pci.o \
7 rc-alink-dtu-m.o \
8 rc-anysee.o \
9 rc-apac-viewcomp.o \
10 rc-astrometa-t2hybrid.o \
11 rc-asus-pc39.o \
12 rc-asus-ps3-100.o \
13 rc-ati-tv-wonder-hd-600.o \
14 rc-ati-x10.o \
15 rc
[all...]
/linux-master/net/dccp/ccids/lib/
H A Dtfrc.c19 int rc = tfrc_li_init(); local
21 if (rc)
24 rc = tfrc_tx_packet_history_init();
25 if (rc)
28 rc = tfrc_rx_packet_history_init();
29 if (rc)
38 return rc;
/linux-master/drivers/misc/ocxl/
H A Dmain.c10 int rc = 0; local
15 rc = ocxl_file_init();
16 if (rc)
17 return rc;
19 rc = pci_register_driver(&ocxl_pci_driver);
20 if (rc) {
22 return rc;
/linux-master/drivers/s390/char/
H A Dhmcdrv_mod.c36 int rc = hmcdrv_ftp_probe(); /* perform w/o cache */ local
38 if (rc)
39 return rc;
41 rc = hmcdrv_cache_startup(hmcdrv_mod_cachesize);
43 if (rc)
44 return rc;
46 rc = hmcdrv_dev_init();
48 if (rc)
51 return rc;
/linux-master/tools/testing/selftests/kvm/lib/
H A Dio.c43 ssize_t rc; local
54 rc = write(fd, ptr, num_left);
56 switch (rc) {
60 " rc: %zi errno: %i", rc, errno);
65 " rc: %zi num_written: %zi num_left: %zu",
66 rc, num_written, num_left);
70 TEST_ASSERT(rc >= 0, "Unexpected ret from write,\n"
71 " rc: %zi errno: %i", rc, errn
120 ssize_t rc; local
[all...]
/linux-master/drivers/cxl/
H A Dport.c37 int rc; local
43 rc = devm_add_action_or_reset(dev, schedule_detach, cxlmd);
44 if (rc)
45 return rc;
47 rc = devm_cxl_port_enumerate_dports(port);
48 if (rc < 0)
49 return rc;
50 if (rc == 1)
58 rc = devm_cxl_enumerate_decoders(cxlhdm);
59 if (rc) {
[all...]
/linux-master/drivers/nvdimm/
H A Ddimm.c19 int rc; local
21 rc = nvdimm_security_setup_events(dev);
22 if (rc < 0) {
23 dev_err(dev, "security event setup failed: %d\n", rc);
24 return rc;
27 rc = nvdimm_check_config_data(dev);
28 if (rc) {
30 if (rc == -ENOTTY)
31 rc = 0;
32 return rc;
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dq54sj108a2.c75 int rc; local
85 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_OPERATION);
86 if (rc < 0)
87 return rc;
89 rc = snprintf(data, 3, "%02x", rc);
92 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_WRITE_PROTECT);
93 if (rc < 0)
94 return rc;
96 rc
179 ssize_t rc; local
[all...]
/linux-master/drivers/media/tuners/
H A Dr820t.c375 int rc, size, pos = 0; local
390 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1);
391 if (rc != size + 1) {
393 __func__, rc, reg, size, size, &priv->buf[1]);
394 if (rc < 0)
395 return rc;
430 int rc = r820t_read_cache_reg(priv, reg); local
432 if (rc < 0)
433 return rc;
435 tmp = (rc
442 int rc, i; local
473 int i, rc; local
542 int rc, i; local
723 int rc; local
953 int rc, i; local
1207 int rc; local
1312 int rc; local
1355 int rc; local
1405 int rc, i; local
1463 int rc; local
1521 int rc, i; local
1551 int i, rc; local
1631 int rc; local
1682 int rc, i; local
1744 int rc; local
1802 int rc; local
1827 int rc; local
1892 int rc; local
1910 int rc; local
2061 int rc, i; local
2147 int rc; local
2176 int rc; local
2199 int rc; local
2230 int rc; local
2259 int rc = 0; local
2338 int rc = -ENODEV; local
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dsuspend.c29 long vasi_state, rc; local
33 rc = plpar_hcall(H_VASI_STATE, retbuf, stream_id);
37 if (rc) {
38 pr_err("pseries_suspend_begin: vasi_state returned %ld\n",rc);
39 return rc;
79 int rc; local
87 rc = pseries_suspend_begin(stream_id);
88 if (rc == -EAGAIN)
90 } while (rc == -EAGAIN);
92 if (!rc)
146 int rc; local
172 int rc; local
[all...]
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c1376 pr_debug("drx3933 i2c operation addr=%x i2c=%p, wc=%x rc=%x\n",
1421 int rc; local
1483 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf,
1485 if (rc == 0)
1486 rc = drxbsp_i2c_write_read(NULL, 0, NULL, dev_addr, todo, data);
1489 rc = drxbsp_i2c_write_read(dev_addr, bufx, buf, dev_addr, todo,
1495 } while (datasize && rc == 0);
1497 return rc;
1524 int rc; local
1529 rc
1557 int rc; local
1767 int rc = -EIO; local
1840 int rc; local
2108 int rc; local
2185 int rc; local
2238 int rc; local
2282 int rc; local
2393 int rc; local
2480 int rc; local
2732 int rc; local
3374 int rc; local
3447 int rc; local
3491 int rc; local
3537 int rc; local
3672 int rc; local
3917 int rc; local
3980 int rc; local
4145 int rc; local
4209 int rc; local
4237 int rc; local
4260 int rc; local
4323 int rc; local
4390 int rc; local
4766 int rc; local
4863 int rc; local
4916 int rc; local
5132 int rc; local
5356 int rc; local
5408 int rc; local
5498 int rc; local
5715 int rc; local
6219 int rc; local
6258 int rc; local
6304 int rc; local
6324 int rc; local
6366 int rc; local
6478 int rc; local
6676 int rc; local
6911 int rc; local
7146 int rc; local
7382 int rc; local
7617 int rc; local
7860 int rc; local
8677 int rc; local
8874 int rc; local
9022 int rc; local
9100 int rc; local
9307 int rc; local
9384 int rc; local
9467 int rc; local
9753 int rc; local
9843 int rc; local
9871 int rc; local
9921 int rc; local
10444 int rc; local
10683 int rc; local
10799 int rc; local
10881 int rc; local
11040 int rc; local
11196 int rc; local
11259 int rc; local
11352 int rc; local
11561 int rc; local
11741 int rc; local
12219 int rc = 0; local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dmb86a20s.c219 int rc; local
221 rc = i2c_transfer(state->i2c, &msg, 1);
222 if (rc != 1) {
224 "%s: writereg error (rc == %i, reg == 0x%02x, data == 0x%02x)\n",
225 __func__, rc, reg, data);
226 return rc;
235 int i, rc; local
238 rc = mb86a20s_i2c_writereg(state, i2c_addr, rd[i].reg,
240 if (rc < 0)
241 return rc;
250 int rc; local
322 int rc; local
379 int rc; local
411 int rc; local
446 int rc; local
472 int rc, count; local
609 int layer, rc, rate, counter; local
732 int rc, val; local
797 int rc, val; local
931 int rc, val; local
1058 int rc, val; local
1380 int rc, val; local
1427 int rc, val, layer; local
1566 int rc = 0, layer; local
1749 int rc; local
1864 int rc, if_freq; local
1938 int rc, status_nr; local
2020 int rc = 0; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-kmsg.c41 int rc; local
44 rc = kmsg_dump_register(&opal_kmsg_dumper);
45 if (rc != 0)
46 pr_err("opal: kmsg_dump_register failed; returned %d\n", rc);
/linux-master/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc.h32 void calc_rc_params(struct rc_params *rc, const struct drm_dsc_config *pps);
/linux-master/security/integrity/platform_certs/
H A Dplatform_keyring.c30 int rc; local
34 rc = integrity_load_cert(INTEGRITY_KEYRING_PLATFORM, source, data, len,
36 if (rc)
45 int rc; local
47 rc = integrity_init_keyring(INTEGRITY_KEYRING_PLATFORM);
48 if (rc)
49 return rc;
H A Dload_powerpc.c23 int rc; local
26 rc = secvar_ops->get(key, keylen, NULL, size);
27 if (rc) {
28 pr_err("Couldn't get size: %d\n", rc);
36 rc = secvar_ops->get(key, keylen, db, size);
37 if (rc) {
39 pr_err("Error reading %s var: %d\n", key, rc);
55 int rc = 0; local
74 rc = parse_efi_signature_list("powerpc:db", db, dbsize,
76 if (rc)
[all...]
/linux-master/tools/testing/selftests/ir/
H A Dir_loopback.sh12 if ! /sbin/modprobe -q -n rc-loopback; then
13 echo "ir_loopback: module rc-loopback is not found [SKIP]"
17 /sbin/modprobe rc-loopback
22 RCDEV=$(grep -l DRV_NAME=rc-loopback /sys/class/rc/rc*/uevent | grep -o 'rc[0-9]\+')
/linux-master/drivers/base/firmware_loader/
H A Dfallback_platform.c15 int rc; local
20 rc = security_kernel_load_data(LOADING_FIRMWARE, true);
21 if (rc)
22 return rc;
24 rc = efi_get_embedded_fw(fw_priv->fw_name, &data, &size);
25 if (rc)
26 return rc; /* rc == -ENOENT when the fw was not found */
31 rc = security_kernel_post_load_data((u8 *)data, size, LOADING_FIRMWARE,
33 if (rc)
[all...]
/linux-master/net/llc/
H A Dllc_output.c28 int rc = -EINVAL; local
33 rc = dev_hard_header(skb, skb->dev, ETH_P_802_2, da, sa,
35 if (rc > 0)
36 rc = 0;
41 return rc;
61 int rc; local
65 rc = llc_mac_hdr_init(skb, skb->dev->dev_addr, dmac);
66 if (likely(!rc))
67 rc = dev_queue_xmit(skb);
70 return rc;
[all...]
/linux-master/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c17 int rc; local
24 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags);
25 if (rc < 0) {
29 return rc;
37 rc = ioctl(fd, FS_IOC_SETFLAGS, &flags);
41 return rc;
48 int rc; local
55 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags);
56 if (rc < 0) {
60 return rc;
72 int fd, rc; local
[all...]
/linux-master/security/integrity/ima/
H A Dima_init.c118 int rc; local
124 rc = integrity_init_keyring(INTEGRITY_KEYRING_IMA);
125 if (rc)
126 return rc;
128 rc = ima_init_crypto();
129 if (rc)
130 return rc;
131 rc = ima_init_template();
132 if (rc != 0)
133 return rc;
[all...]
/linux-master/drivers/media/usb/stk1160/
H A Dstk1160-i2c.c56 int rc; local
59 rc = stk1160_write_reg(dev, STK1160_SICTL_SDA, addr);
60 if (rc < 0)
61 return rc;
64 rc = stk1160_write_reg(dev, STK1160_SBUSW_WA, reg);
65 if (rc < 0)
66 return rc;
69 rc = stk1160_write_reg(dev, STK1160_SBUSW_WD, value);
70 if (rc < 0)
71 return rc;
88 int rc; local
123 int rc; local
155 int addr, rc, i; local
249 int rc; local
[all...]
/linux-master/drivers/clk/
H A Dclk-conf.c17 int index, rc, num_parents; local
27 rc = of_parse_phandle_with_args(node, "assigned-clock-parents",
29 if (rc < 0) {
31 if (rc == -ENOENT)
34 return rc;
46 rc = of_parse_phandle_with_args(node, "assigned-clocks",
48 if (rc < 0)
51 rc = 0;
59 rc = PTR_ERR(clk);
63 rc
81 int rc, index = 0; local
133 int rc; local
[all...]
/linux-master/drivers/acpi/apei/
H A Derst-dbg.c34 int rc, *pos; local
41 rc = erst_get_record_id_begin(pos);
42 if (rc)
43 return rc;
57 int rc; local
63 rc = copy_from_user(&record_id, (void __user *)arg,
65 if (rc)
69 rc = erst_get_record_count();
70 if (rc < 0)
71 return rc;
85 int rc, *pos; local
154 int rc; local
[all...]

Completed in 270 milliseconds

1234567891011>>