Lines Matching defs:buf
164 struct device_attribute *attr, char *buf)
175 ret += sprintf(buf, "FLASH\n");
178 ret += sprintf(buf, "MOVIE\n");
181 ret += sprintf(buf, "FLASH_PIN_CONTROL\n");
184 ret += sprintf(buf, "MOVIE_PIN_CONTROL\n");
187 ret += sprintf(buf, "NONE\n");
198 const char *buf, size_t size)
207 if (!strncmp(buf, "FLASH_PIN_CONTROL", 17))
209 else if (!strncmp(buf, "MOVIE_PIN_CONTROL", 17))
211 else if (!strncmp(buf, "FLASH", 5))
213 else if (!strncmp(buf, "MOVIE", 5))