Lines Matching defs:buf
73 char *buf, int bufsize)
91 ret = i2c_master_recv(client, buf, bufsize);
105 unsigned char buf[SHTC1_RESPONSE_LENGTH];
112 ret = shtc1_update_values(client, data, buf, sizeof(buf));
123 val = be16_to_cpup((__be16 *)buf);
125 val = be16_to_cpup((__be16 *)(buf + 3));
140 char *buf)
146 return sprintf(buf, "%d\n", data->temperature);
150 struct device_attribute *attr, char *buf)
156 return sprintf(buf, "%d\n", data->humidity);