Lines Matching refs:result
56 int result;
75 result = i2c_smbus_write_byte_data(client, SWITCH, byte);
76 if (result)
77 dprintk("i2c_smbus_write_byte() failed, ret:%d\n", result);
95 result = i2c_smbus_write_byte_data(client, LEVEL_ADJUST, byte);
96 if (result)
97 dprintk("i2c_smbus_write_byte() failed, ret:%d\n", result);
115 result = i2c_smbus_write_byte_data(client, STEREO_ADJUST, byte);
116 if (result)
117 dprintk("i2c_smbus_write_byte() failed, ret:%d\n", result);
136 result = 0;
145 result = i2c_smbus_write_byte_data(client, TEST, byte);
146 if (result)
147 dprintk("i2c_smbus_write_byte() failed, ret:%d\n", result);
153 if (result)
162 int result = 0;
186 if (0 != (result = i2c_attach_client(client))) {
188 return result;
193 result = command(client, TDA9840_LEVEL_ADJUST, &byte);
194 result += command(client, TDA9840_STEREO_ADJUST, &byte);
196 result = command(client, TDA9840_SWITCH, &byte);
197 if (result) {