Lines Matching refs:tcode
37 static bool tlvinfo_find_tlv(u8 *eeprom, u8 tcode, int *eeprom_index);
39 static bool tlvinfo_add_tlv(u8 *eeprom, int tcode, char *strval);
495 int tcode; in do_tlv_eeprom() local
497 tcode = simple_strtoul(argv[2], NULL, 0); in do_tlv_eeprom()
498 tlvinfo_delete_tlv(eeprom, tcode); in do_tlv_eeprom()
500 tlvinfo_add_tlv(eeprom, tcode, argv[3]); in do_tlv_eeprom()
551 static bool tlvinfo_find_tlv(u8 *eeprom, u8 tcode, int *eeprom_index) in tlvinfo_find_tlv() argument
565 if (eeprom_tlv->type == tcode) in tlvinfo_find_tlv()
609 static bool tlvinfo_add_tlv(u8 *eeprom, int tcode, char *strval) in tlvinfo_add_tlv() argument
619 switch (tcode) { in tlvinfo_add_tlv()
690 eeprom_tlv->type = tcode; in tlvinfo_add_tlv()