Lines Matching refs:prop_buf
210 char *prop_buf; in extcon_update_state() local
232 prop_buf = (char *)get_zeroed_page(GFP_ATOMIC); in extcon_update_state()
233 if (prop_buf) { in extcon_update_state()
234 length = name_show(&edev->dev, NULL, prop_buf); in extcon_update_state()
236 if (prop_buf[length - 1] == '\n') in extcon_update_state()
237 prop_buf[length - 1] = 0; in extcon_update_state()
239 "NAME=%s", prop_buf); in extcon_update_state()
242 length = state_show(&edev->dev, NULL, prop_buf); in extcon_update_state()
244 if (prop_buf[length - 1] == '\n') in extcon_update_state()
245 prop_buf[length - 1] = 0; in extcon_update_state()
247 "STATE=%s", prop_buf); in extcon_update_state()
255 free_page((unsigned long)prop_buf); in extcon_update_state()