Lines Matching refs:value

29 				     const char *value, bool reverse)  in __eeprom_field_update_bin()  argument
31 int len = strlen(value); in __eeprom_field_update_bin()
52 tmp[k] = value[i]; in __eeprom_field_update_bin()
56 tmp[k] = value[reverse ? i - 1 + k : i + k]; in __eeprom_field_update_bin()
71 char *value, char *delimiter) in __eeprom_field_update_bin_delim() argument
75 const char *tmp = value; in __eeprom_field_update_bin_delim()
89 tok = strtok(value, delimiter); in __eeprom_field_update_bin_delim()
124 int eeprom_field_update_bin(struct eeprom_field *field, char *value) in eeprom_field_update_bin() argument
126 return __eeprom_field_update_bin(field, value, false); in eeprom_field_update_bin()
136 int eeprom_field_update_reserved(struct eeprom_field *field, char *value) in eeprom_field_update_reserved() argument
138 return __eeprom_field_update_bin_delim(field, value, " "); in eeprom_field_update_reserved()
171 int eeprom_field_update_bin_rev(struct eeprom_field *field, char *value) in eeprom_field_update_bin_rev() argument
173 return __eeprom_field_update_bin(field, value, true); in eeprom_field_update_bin_rev()
198 int eeprom_field_update_mac(struct eeprom_field *field, char *value) in eeprom_field_update_mac() argument
200 return __eeprom_field_update_bin_delim(field, value, ":"); in eeprom_field_update_mac()
223 int eeprom_field_update_ascii(struct eeprom_field *field, char *value) in eeprom_field_update_ascii() argument
225 if (strlen(value) >= field->size) { in eeprom_field_update_ascii()
230 strncpy((char *)field->buf, value, field->size - 1); in eeprom_field_update_ascii()