Lines Matching defs:rc
85 int rc = 0;
88 rc = i2c_smbus_write_byte_data(
91 if (rc)
94 return rc;
99 int rc;
103 rc = i2c_smbus_write_byte_data(client, 0xC7, 0x00);
104 if (rc)
109 rc = i2c_smbus_read_byte_data(client, 0x1B);
110 } while ((rc != SII9022_DEVICE_ID) && retries--);
112 if (rc != SII9022_DEVICE_ID)
115 rc = i2c_smbus_write_byte_data(client, 0x1A, 0x11);
116 if (rc)
120 rc = i2c_master_send(client, video_mode_data, count);
121 if (rc != count) {
122 rc = -EIO;
126 rc = i2c_smbus_write_byte_data(client, 0x08, 0x20);
127 if (rc)
130 rc = i2c_master_send(client, avi_io_format, count);
131 if (rc != count) {
132 rc = -EIO;
136 rc = send_i2c_data(client, regset0, ARRAY_SIZE(regset0));
137 if (rc)
141 rc = i2c_master_send(client, video_infoframe, count);
142 if (rc != count) {
143 rc = -EIO;
147 rc = send_i2c_data(client, regset1, ARRAY_SIZE(regset1));
148 if (rc)
152 rc = i2c_master_send(client, misc_infoframe, count);
153 if (rc != count) {
154 rc = -EIO;
158 rc = send_i2c_data(client, regset2, ARRAY_SIZE(regset2));
159 if (rc)
164 printk(KERN_ERR "%s: exited rc=%d\n", __func__, rc);
165 return rc;
176 int rc;
181 rc = hdmi_sii_enable(client);
182 return rc;