Lines Matching refs:tmp_buf
970 char tmp_buf[80]; in get_chip_type() local
983 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type()
984 strcat(result_buf, tmp_buf); in get_chip_type()
992 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
993 strcat(result_buf, tmp_buf); in get_chip_type()
994 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
995 strcat(result_buf, tmp_buf); in get_chip_type()
1004 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1005 strcat(result_buf, tmp_buf); in get_chip_type()
1010 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
1011 strcat(result_buf, tmp_buf); in get_chip_type()
1012 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1013 strcat(result_buf, tmp_buf); in get_chip_type()
1043 ocs_snprintf(tmp_buf, 3, " %c", ((asic_rev_num & 0xf0) >> 4) + 'A'); in get_chip_type()
1044 strcat(result_buf, tmp_buf); in get_chip_type()
1045 ocs_snprintf(tmp_buf, 2, "%d", asic_rev_num & 0x0f); in get_chip_type()
1046 strcat(result_buf, tmp_buf); in get_chip_type()