Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 12 of 12) sorted by relevance

/common/eeprom/
A Deeprom_field.c45 char tmp[3] = { 0, 0, 0 }; in __eeprom_field_update_bin() local
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()
59 byte = simple_strtoul(tmp, &endptr, 16); in __eeprom_field_update_bin()
75 const char *tmp = value; in __eeprom_field_update_bin_delim() local
79 tmp = strstr(tmp, delimiter); in __eeprom_field_update_bin_delim()
80 while (tmp != NULL) { in __eeprom_field_update_bin_delim()
82 tmp++; in __eeprom_field_update_bin_delim()
83 tmp = strstr(tmp, delimiter); in __eeprom_field_update_bin_delim()
/common/
A Diomux.c151 char *tmp; in iomux_replace_device() local
154 tmp = realloc(arg, size + strlen(name) + 1); in iomux_replace_device()
155 if (!tmp) { in iomux_replace_device()
161 strcat(tmp, ","); in iomux_replace_device()
162 strcat(tmp, name); in iomux_replace_device()
165 strcpy(tmp, name); in iomux_replace_device()
167 arg = tmp; in iomux_replace_device()
168 size = strlen(tmp) + 1; in iomux_replace_device()
A Dcyclic.c69 struct hlist_node *tmp; in cyclic_run() local
77 hlist_for_each_entry_safe(cyclic, tmp, cyclic_get_list(), list) { in cyclic_run()
128 struct hlist_node *tmp; in cyclic_unregister_all() local
130 hlist_for_each_entry_safe(cyclic, tmp, cyclic_get_list(), list) in cyclic_unregister_all()
A Dmiiphyutil.c307 unsigned short tmp; in miiphy_info() local
309 if (miiphy_read(devname, addr, MII_PHYSID2, &tmp) != 0) { in miiphy_info()
313 reg = tmp; in miiphy_info()
322 if (miiphy_read(devname, addr, MII_PHYSID1, &tmp) != 0) { in miiphy_info()
326 reg |= tmp << 16; in miiphy_info()
A Dkgdb.c135 char *tmp; in mem2hex() local
142 tmp = buf + count; in mem2hex()
145 memcpy(tmp, mem, count); in mem2hex()
148 ch = *tmp++; in mem2hex()
A Dusb_hub.c149 u16 tmp = le16_to_cpu(status->wPortStatus) & in usb_get_port_status() local
153 tmp |= USB_PORT_STAT_POWER; in usb_get_port_status()
156 tmp |= USB_PORT_STAT_SUPER_SPEED; in usb_get_port_status()
158 status->wPortStatus = cpu_to_le16(tmp); in usb_get_port_status()
572 struct usb_device_scan *tmp; in usb_device_list_scan() local
587 list_for_each_entry_safe(usb_scan, tmp, &usb_scan_list, list) { in usb_device_list_scan()
A Dusb_storage.c365 static void display_int_status(unsigned long tmp) in display_int_status() argument
368 (tmp & USB_ST_ACTIVE) ? "Active" : "", in display_int_status()
369 (tmp & USB_ST_STALLED) ? "Stalled" : "", in display_int_status()
370 (tmp & USB_ST_BUF_ERR) ? "Buffer Error" : "", in display_int_status()
371 (tmp & USB_ST_BABBLE_DET) ? "Babble Det" : "", in display_int_status()
372 (tmp & USB_ST_NAK_REC) ? "NAKed" : "", in display_int_status()
373 (tmp & USB_ST_CRC_ERR) ? "CRC Error" : "", in display_int_status()
374 (tmp & USB_ST_BIT_ERR) ? "Bitstuff Error" : ""); in display_int_status()
A Dcommand.c52 struct cmd_tbl *tmp; in _do_help() local
53 tmp = cmd_array[j]; in _do_help()
55 cmd_array[j + 1] = tmp; in _do_help()
A Dcli_hush.c615 char *tmp; in builtin_export() local
622 tmp = realloc(name, ln+strlen(value)+2); in builtin_export()
623 if(tmp==NULL) in builtin_export()
626 sprintf(tmp+ln, "=%s", value); in builtin_export()
627 name = tmp; in builtin_export()
1184 struct close_me *tmp; local
1187 tmp = close_me_head;
1189 free(tmp);
3486 struct variables *cur, *tmp; local
3487 for(cur = top_vars; cur; cur = tmp) {
[all …]
A Ddlmalloc.c161 void* tmp; in wsbrk() local
208 tmp = (void*)gNextAddress; in wsbrk()
209 gNextAddress = (unsigned int)tmp + size; in wsbrk()
210 return tmp; in wsbrk()
A Ddlmalloc.src1049 void* tmp;
1096 tmp = (void*)gNextAddress;
1097 gNextAddress = (unsigned int)tmp + size;
1098 return tmp;
A Dcli_hush_upstream.c2211 struct variable *tmp = cur_var; in hush_exit() local
2215 free(tmp); in hush_exit()

Completed in 72 milliseconds