Searched refs:GSMI_BUF_SIZE (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/firmware/google/
H A Dgsmi.c46 #define GSMI_BUF_SIZE 1024 macro
156 smibuf->length = GSMI_BUF_SIZE; gsmi_buf_alloc()
304 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); gsmi_get_variable()
307 if (name_len >= GSMI_BUF_SIZE / 2) gsmi_get_variable()
369 if (*name_size != GSMI_BUF_SIZE) gsmi_get_next_variable()
373 if (ucs2_strnlen(name, GSMI_BUF_SIZE / 2) == GSMI_BUF_SIZE / 2) gsmi_get_next_variable()
400 memcpy(name, gsmi_dev.name_buf->start, GSMI_BUF_SIZE); gsmi_get_next_variable()
401 *name_size = ucs2_strnlen(name, GSMI_BUF_SIZE / 2) * 2; gsmi_get_next_variable()
427 size_t name_len = ucs2_strnlen(name, GSMI_BUF_SIZE / 2); gsmi_set_variable()
432 if (name_len >= GSMI_BUF_SIZE / 2) gsmi_set_variable()
797 GSMI_BUF_SIZE, GSMI_BUF_ALIGN, 0); gsmi_init()

Completed in 36 milliseconds