Lines Matching refs:prop_buf
262 char *prop_buf; in extcon_update_state() local
296 prop_buf = (char *)get_zeroed_page(GFP_ATOMIC); in extcon_update_state()
297 if (prop_buf) { in extcon_update_state()
298 length = name_show(&edev->dev, NULL, prop_buf); in extcon_update_state()
300 if (prop_buf[length - 1] == '\n') in extcon_update_state()
301 prop_buf[length - 1] = 0; in extcon_update_state()
303 "NAME=%s", prop_buf); in extcon_update_state()
306 length = state_show(&edev->dev, NULL, prop_buf); in extcon_update_state()
308 if (prop_buf[length - 1] == '\n') in extcon_update_state()
309 prop_buf[length - 1] = 0; in extcon_update_state()
311 "STATE=%s", prop_buf); in extcon_update_state()
319 free_page((unsigned long)prop_buf); in extcon_update_state()