Lines Matching refs:tmp_buf
972 char tmp_buf[80]; in get_chip_type() local
985 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type()
986 strcat(result_buf, tmp_buf); in get_chip_type()
994 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
995 strcat(result_buf, tmp_buf); in get_chip_type()
996 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
997 strcat(result_buf, tmp_buf); in get_chip_type()
1006 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1007 strcat(result_buf, tmp_buf); in get_chip_type()
1012 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
1013 strcat(result_buf, tmp_buf); in get_chip_type()
1014 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1015 strcat(result_buf, tmp_buf); in get_chip_type()
1045 ocs_snprintf(tmp_buf, 3, " %c", ((asic_rev_num & 0xf0) >> 4) + 'A'); in get_chip_type()
1046 strcat(result_buf, tmp_buf); in get_chip_type()
1047 ocs_snprintf(tmp_buf, 2, "%d", asic_rev_num & 0x0f); in get_chip_type()
1048 strcat(result_buf, tmp_buf); in get_chip_type()