Searched refs:rc (Results 76 - 100 of 3209) sorted by relevance

1234567891011>>

/linux-master/drivers/acpi/apei/
H A Derst.c165 int rc; local
168 rc = __apei_exec_read_register(entry, &val);
169 if (rc)
170 return rc;
172 rc = __apei_exec_write_register(entry, val);
173 return rc;
179 int rc; local
182 rc = __apei_exec_read_register(entry, &val);
183 if (rc)
184 return rc;
210 int rc; local
242 int rc; local
278 int rc; local
397 int rc; local
426 int rc; local
470 int rc; local
483 int rc; local
504 int i, rc; local
569 int rc = 0; local
653 int rc; local
694 int rc; local
739 int rc; local
802 int rc; local
839 int rc; local
856 int rc; local
962 int rc, i; local
1071 int rc; local
1189 int rc = 0; local
[all...]
/linux-master/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_hdcp.c81 int rc; local
99 rc = i2c_transfer(hdmi->i2c, msgs, 2);
102 if (rc == 2)
103 rc = 0;
107 rc = -EIO;
109 DBG("End DDC read %d", rc);
111 return rc;
119 int rc; local
141 rc = i2c_transfer(hdmi->i2c, msgs, 1);
144 if (rc
243 int rc; local
285 int rc = 0; local
358 int rc; local
461 int rc; local
592 int rc; local
647 int rc = 0; local
691 int rc = 0; local
729 int rc = 0; local
756 int rc; local
809 int rc = 0; local
840 int rc; local
866 int rc; local
933 int rc; local
994 int rc = 0; local
1029 int rc; local
1046 u32 rc = 0; local
1061 int rc; local
1121 u32 rc = 0; local
1181 int rc; local
1210 int rc = 0; local
1238 int rc; local
[all...]
/linux-master/drivers/reset/
H A Dreset-lpc18xx.c47 struct lpc18xx_rgu_data *rc = container_of(nb, struct lpc18xx_rgu_data, local
50 writel(BIT(LPC18XX_RGU_CORE_RST), rc->base + LPC18XX_RGU_CTRL0);
69 struct lpc18xx_rgu_data *rc = to_rgu_data(rcdev); local
79 spin_lock_irqsave(&rc->lock, flags);
80 stat = ~readl(rc->base + stat_offset);
82 writel(stat | rst_bit, rc->base + ctrl_offset);
84 writel(stat & ~rst_bit, rc->base + ctrl_offset);
85 spin_unlock_irqrestore(&rc->lock, flags);
106 struct lpc18xx_rgu_data *rc = to_rgu_data(rcdev); local
109 udelay(rc
123 struct lpc18xx_rgu_data *rc = to_rgu_data(rcdev); local
141 struct lpc18xx_rgu_data *rc; local
[all...]
/linux-master/drivers/media/usb/au0828/
H A Dau0828-input.c17 #include <media/rc-core.h>
25 struct rc_dev *rc; member in struct:au0828_rc
45 int rc; local
50 rc = i2c_transfer(ir->dev->i2c_client.adapter, &msg, 1);
52 if (rc < 0)
53 return rc;
55 return (rc == 1) ? 0 : -EIO;
61 int rc; local
75 rc = i2c_transfer(ir->dev->i2c_client.adapter, msg, 2);
77 if (rc <
85 int rc; local
117 int i, j, rc; local
219 int rc; local
228 au0828_rc_start(struct rc_dev *rc) argument
242 au0828_rc_stop(struct rc_dev *rc) argument
275 struct rc_dev *rc; local
[all...]
/linux-master/drivers/fsi/
H A Dfsi-scom.c80 int rc; local
83 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA0_REG, &data,
85 if (rc)
86 return rc;
89 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_DATA1_REG, &data,
91 if (rc)
92 return rc;
95 rc = fsi_device_write(scom_dev->fsi_dev, SCOM_CMD_REG, &data,
97 if (rc)
98 return rc;
112 int rc; local
149 int rc, err; local
187 int rc, err; local
279 int rc; local
298 int rc; local
319 int rc; local
345 int rc; local
408 int rc; local
427 int rc; local
456 int rc = 0; local
479 int rc = -ENOTTY; local
534 int rc, didx; local
[all...]
/linux-master/drivers/char/
H A Dpowernv-op-panel.c53 int rc, token; local
63 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines);
64 switch (rc) {
66 rc = opal_async_wait_response(token, &msg);
67 if (rc) {
68 pr_debug("Failed to wait for async response [rc=%d]\n",
69 rc);
72 rc = opal_get_async_rc(msg);
73 if (rc != OPAL_SUCCESS) {
74 pr_debug("OPAL async call returned failed [rc
94 int rc; local
149 int rc, i; local
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm2-cmd.c165 int rc; local
186 rc = tpm_buf_init(&buf, TPM2_ST_NO_SESSIONS, TPM2_CC_PCR_READ);
187 if (rc)
188 return rc;
198 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to read a pcr value");
199 if (rc)
206 rc = -EINVAL;
216 return rc;
232 int rc; local
235 rc
365 int rc; local
405 int rc; local
446 int rc; local
473 int rc; local
510 int rc; local
574 int rc; local
648 int rc; local
724 int rc; local
748 int rc; local
[all...]
H A Dtpm-chip.c42 int rc; local
47 rc = chip->ops->request_locality(chip, 0);
48 if (rc < 0)
49 return rc;
51 chip->locality = rc;
57 int rc; local
62 rc = chip->ops->relinquish_locality(chip, chip->locality);
63 if (rc)
64 dev_err(&chip->dev, "%s: : error %d\n", __func__, rc);
159 int rc local
245 int rc; local
327 int rc; local
401 int rc; local
421 int rc; local
500 int rc; local
560 int rc; local
584 int rc; local
624 int rc; local
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_l2_sys.c18 int rc = 0; local
27 rc = qeth_bridgeport_query_ports(card,
29 if (!rc) {
39 rc = -EIO;
50 rc = -EIO;
52 if (rc)
56 rc = sysfs_emit(buf, "%s\n", word);
60 return rc;
78 int rc = 0; local
94 rc
147 int rc; local
201 int rc = 0; local
279 int rc; local
296 int rc; local
315 int rc; local
335 int rc; local
[all...]
/linux-master/arch/arm/mach-sa1100/
H A Dh3600.c26 int rc; local
31 rc = gpio_request(H3XXX_EGPIO_LCD_ON, "LCD power");
32 if (rc)
34 rc = gpio_direction_output(H3XXX_EGPIO_LCD_ON, 0);
35 if (rc)
37 rc = gpio_request(H3600_EGPIO_LCD_PCI, "LCD control");
38 if (rc)
40 rc = gpio_direction_output(H3600_EGPIO_LCD_PCI, 0);
41 if (rc)
43 rc
[all...]
/linux-master/fs/dlm/
H A Drcom.c34 struct dlm_rcom *rc; local
36 rc = (struct dlm_rcom *) mb;
38 rc->rc_header.h_version = cpu_to_le32(DLM_HEADER_MAJOR | DLM_HEADER_MINOR);
39 rc->rc_header.u.h_lockspace = cpu_to_le32(ls->ls_global_id);
40 rc->rc_header.h_nodeid = cpu_to_le32(dlm_our_nodeid());
41 rc->rc_header.h_length = cpu_to_le16(mb_len);
42 rc->rc_header.h_cmd = DLM_RCOM;
44 rc->rc_type = cpu_to_le32(type);
45 rc->rc_seq = cpu_to_le64(seq);
47 *rc_ret = rc;
90 send_rcom(struct dlm_mhandle *mh, struct dlm_rcom *rc) argument
95 send_rcom_stateless(struct dlm_msg *msg, struct dlm_rcom *rc) argument
122 check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) argument
174 struct dlm_rcom *rc; local
227 struct dlm_rcom *rc; local
311 struct dlm_rcom *rc; local
340 struct dlm_rcom *rc; local
362 struct dlm_rcom *rc; local
382 struct dlm_rcom *rc; local
450 struct dlm_rcom *rc; local
478 struct dlm_rcom *rc; local
506 struct dlm_rcom *rc; local
582 dlm_receive_rcom(struct dlm_ls *ls, const struct dlm_rcom *rc, int nodeid) argument
[all...]
/linux-master/lib/zlib_inflate/
H A Dinfutil.c14 int rc; local
16 rc = -ENOMEM;
32 rc = zlib_inflateInit2(strm, -MAX_WBITS);
33 if (rc == Z_OK) {
34 rc = zlib_inflate(strm, Z_FINISH);
36 if (rc == Z_STREAM_END)
37 rc = sz - strm->avail_out;
39 rc = -EINVAL;
42 rc = -EINVAL;
48 return rc; /* return
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_zlib.c34 int rc; local
37 rc = cudbg_get_compress_hdr(pout_buff, &temp_buff);
38 if (rc)
39 return rc;
46 rc = zlib_deflateInit2(&compress_stream, Z_DEFAULT_COMPRESSION,
49 if (rc != Z_OK)
57 rc = zlib_deflate(&compress_stream, Z_FINISH);
58 if (rc != Z_STREAM_END)
61 rc = zlib_deflateEnd(&compress_stream);
62 if (rc !
[all...]
/linux-master/net/nfc/
H A Daf_nfc.c21 int rc = -EPROTONOSUPPORT; local
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern);
36 return rc;
47 int rc; local
52 rc = proto_register(nfc_proto->proto, 0);
53 if (rc)
54 return rc;
58 rc = -EBUSY;
63 if (rc)
66 return rc;
[all...]
/linux-master/fs/smb/client/
H A Ddns_resolve.c36 int len, rc; local
60 rc = cifs_convert_address(ip_addr, hostname, len);
61 if (rc > 0) {
68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len,
70 if (rc < 0) {
78 rc = cifs_convert_address(ip_addr, ip, strlen(ip));
81 if (!rc) {
83 rc = -EHOSTUNREACH;
85 rc = 0;
87 return rc;
[all...]
/linux-master/fs/ecryptfs/
H A Dmmap.c54 int rc; local
56 rc = ecryptfs_encrypt_page(page);
57 if (rc) {
66 return rc;
115 int rc = 0; local
134 rc = ecryptfs_read_xattr_region(
143 if (rc) {
145 "region; rc = [%d]\n", __func__, rc);
154 rc
186 int rc = 0; local
273 int rc = 0; local
382 int rc; local
411 int rc; local
474 int rc; local
[all...]
H A Dmiscdev.c67 int rc; local
70 rc = ecryptfs_find_daemon_by_euid(&daemon);
71 if (!rc) {
72 rc = -EINVAL;
75 rc = ecryptfs_spawn_daemon(&daemon, file);
76 if (rc) {
78 "rc = [%d]\n", __func__, rc);
83 rc = -EBUSY;
93 return rc;
110 int rc; local
219 int rc; local
326 int rc; local
361 ssize_t rc; local
474 int rc; local
[all...]
/linux-master/arch/powerpc/sysdev/xive/
H A Dnative.c51 s64 rc; local
55 rc = opal_xive_get_irq_info(hw_irq, &flags, &eoi_page, &trig_page,
57 if (rc) {
59 hw_irq, rc);
101 s64 rc; local
104 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq);
105 if (rc != OPAL_BUSY)
109 return rc == 0 ? 0 : -ENXIO;
116 s64 rc; local
120 rc
134 s64 rc = 0; local
197 s64 rc; local
285 s64 rc; local
302 s64 rc = opal_xive_free_irq(irq); local
313 s64 rc; local
393 s64 rc; local
433 s64 rc; local
497 int rc; local
566 s64 rc; local
671 s64 rc; local
705 s64 rc; local
718 s64 rc; local
737 s64 rc; local
755 s64 rc; local
793 s64 rc; local
821 s64 rc; local
841 s64 rc; local
863 s64 rc; local
[all...]
/linux-master/fs/jfs/
H A Dfile.c22 int rc = 0; local
24 rc = file_write_and_wait_range(file, start, end);
25 if (rc)
26 return rc;
34 return rc;
37 rc |= jfs_commit_inode(inode, 1);
40 return rc ? -EIO : 0;
45 int rc; local
47 if ((rc = dquot_file_open(inode, file)))
48 return rc;
92 int rc; local
[all...]
/linux-master/net/llc/
H A Dllc_s_ac.c55 int rc; local
60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
61 if (likely(!rc)) {
63 rc = dev_queue_xmit(skb);
65 return rc;
80 int rc; local
85 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
86 if (likely(!rc)) {
88 rc = dev_queue_xmit(skb);
90 return rc;
104 int rc = 1; local
136 int rc; local
153 int rc = 1; local
[all...]
/linux-master/drivers/s390/char/
H A Dsclp_cpi_sys.c130 int rc; local
133 rc = sclp_register(&sclp_cpi_event);
134 if (rc)
137 rc = -EOPNOTSUPP;
143 rc = PTR_ERR(req);
151 rc = sclp_add_request(req);
152 if (rc)
159 rc = -EIO;
166 rc = -EIO;
176 return rc;
223 int rc; local
236 int rc; local
255 int rc; local
268 int rc; local
287 int rc; local
300 int rc; local
357 int rc; local
388 int rc; local
415 int rc; local
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-dump.c77 int rc; local
79 rc = opal_dump_ack(dump_id);
80 if (rc)
82 __func__, dump_id, rc);
83 return rc;
122 int rc; local
124 rc = opal_dump_init(type);
125 if (rc)
127 __func__, rc);
128 return rc;
136 int rc; local
222 int rc; local
247 int64_t rc; local
292 ssize_t rc; local
330 int rc; local
391 int rc; local
420 int rc; local
[all...]
/linux-master/drivers/misc/cxl/
H A Dcxllib.c24 int rc; local
42 rc = cxl_calc_capp_routing(dev, &chip_id, &phb_index, &capp_unit_id);
43 if (rc)
78 int rc; local
87 rc = allocate_dummy_read_buf();
88 if (rc) {
90 return rc;
95 rc = cxl_calc_capp_routing(dev, &chip_id, &phb_index, &capp_unit_id);
96 if (rc)
97 return rc;
114 int rc = 0; local
160 int rc; local
207 int rc = 0; local
226 int rc; local
[all...]
/linux-master/drivers/video/backlight/
H A Dtps65217_bl.c29 int rc; local
31 rc = tps65217_set_bits(tps65217_bl->tps, TPS65217_REG_WLEDCTRL1,
34 if (rc) {
36 "failed to enable backlight: %d\n", rc);
37 return rc;
49 int rc; local
51 rc = tps65217_clear_bits(tps65217_bl->tps,
55 if (rc) {
57 "failed to disable backlight: %d\n", rc);
58 return rc;
71 int rc; local
104 int rc; local
255 int rc; local
[all...]
/linux-master/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c70 int rc; local
72 rc = get_property(ofdt_rtas_path, call_name, &prop_buf, &len);
73 if (rc < 0) {
74 rc = RTAS_UNKNOWN_OP;
78 rc = be32_to_cpu(*(int *)prop_buf);
82 return rc;
113 int i, rc, token; local
122 rc = RTAS_UNKNOWN_OP;
136 rc = syscall(__NR_rtas, &args);
137 if (rc) {
161 int rc; local
[all...]

Completed in 415 milliseconds

1234567891011>>