Searched refs:state_buf (Results 1 – 2 of 2) sorted by relevance
29 u32 state, *state_buf; in pd_parse_state_nodes() local36 state_buf = kmalloc(sizeof(u32), GFP_KERNEL); in pd_parse_state_nodes()37 if (!state_buf) { in pd_parse_state_nodes()41 *state_buf = state; in pd_parse_state_nodes()42 states[i].data = state_buf; in pd_parse_state_nodes()
432 char state_buf[120]; in extcon_sync() local489 snprintf(state_buf, sizeof(state_buf), "STATE=%s", prop_buf); in extcon_sync()490 envp[env_offset++] = state_buf; in extcon_sync()