Lines Matching refs:temp_buf

559 	char temp_buf[CONFIG_LEN];  in gsl_config_write_proc()  local
578 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
579 print_info("[tp-gsl][%s][%s]\n", __func__, temp_buf); in gsl_config_write_proc()
581 buf[3] = char_to_int(temp_buf[14]) << 4 | char_to_int(temp_buf[15]); in gsl_config_write_proc()
582 buf[2] = char_to_int(temp_buf[16]) << 4 | char_to_int(temp_buf[17]); in gsl_config_write_proc()
583 buf[1] = char_to_int(temp_buf[18]) << 4 | char_to_int(temp_buf[19]); in gsl_config_write_proc()
584 buf[0] = char_to_int(temp_buf[20]) << 4 | char_to_int(temp_buf[21]); in gsl_config_write_proc()
586 buf[7] = char_to_int(temp_buf[5]) << 4 | char_to_int(temp_buf[6]); in gsl_config_write_proc()
587 buf[6] = char_to_int(temp_buf[7]) << 4 | char_to_int(temp_buf[8]); in gsl_config_write_proc()
588 buf[5] = char_to_int(temp_buf[9]) << 4 | char_to_int(temp_buf[10]); in gsl_config_write_proc()
589 buf[4] = char_to_int(temp_buf[11]) << 4 | char_to_int(temp_buf[12]); in gsl_config_write_proc()
590 if ('v' == temp_buf[0] && 's' == temp_buf[1]) { in gsl_config_write_proc()
591 memcpy(gsl_read, temp_buf, 4); in gsl_config_write_proc()
593 } else if ('s' == temp_buf[0] && 't' == temp_buf[1]) { in gsl_config_write_proc()
599 } else if ('e' == temp_buf[0] && 'n' == temp_buf[1]) { in gsl_config_write_proc()
604 } else if ('r' == temp_buf[0] && 'e' == temp_buf[1]) { in gsl_config_write_proc()
605 memcpy(gsl_read, temp_buf, 4); in gsl_config_write_proc()
607 } else if ('w' == temp_buf[0] && 'r' == temp_buf[1]) { in gsl_config_write_proc()
611 else if ('i' == temp_buf[0] && 'd' == temp_buf[1]) { in gsl_config_write_proc()