Lines Matching defs:buf
186 * @buf: buffer where stringified bitmap is written
192 * This function writes buttons that can be disabled to @buf. If
193 * @only_disabled is true, then @buf contains only those buttons
198 char *buf, unsigned int type,
222 ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits);
223 buf[ret++] = '\n';
224 buf[ret] = '\0';
234 * @buf: buffer from userspace that contains stringified bitmap
237 * This function parses stringified bitmap from @buf and disables/enables
242 const char *buf, unsigned int type)
254 error = bitmap_parselist(buf, bits, n_events);
301 char *buf) \
306 return gpio_keys_attr_show_helper(ddata, buf, \
327 const char *buf, \
334 error = gpio_keys_attr_store_helper(ddata, buf, type); \