Searched refs:name_buf (Results 1 – 2 of 2) sorted by relevance
/drivers/firmware/google/ |
D | gsmi.c | 93 struct gsmi_buf *name_buf; /* variable name buffer */ member 316 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_variable() 334 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_get_variable() 335 memcpy(gsmi_dev.name_buf->start, name, name_len * 2); in gsmi_get_variable() 380 .name_ptr = gsmi_dev.name_buf->address, in gsmi_get_next_variable() 381 .name_len = gsmi_dev.name_buf->length, in gsmi_get_next_variable() 401 memcpy(gsmi_dev.name_buf->start, name, *name_size); in gsmi_get_next_variable() 419 memcpy(name, gsmi_dev.name_buf->start, GSMI_BUF_SIZE); in gsmi_get_next_variable() 439 .name_ptr = gsmi_dev.name_buf->address, in gsmi_set_variable() 460 memset(gsmi_dev.name_buf->start, 0, gsmi_dev.name_buf->length); in gsmi_set_variable() [all …]
|
/drivers/extcon/ |
D | extcon.c | 431 char name_buf[120]; in extcon_sync() local 481 snprintf(name_buf, sizeof(name_buf), "NAME=%s", prop_buf); in extcon_sync() 482 envp[env_offset++] = name_buf; in extcon_sync()
|