Home
last modified time | relevance | path

Searched refs:tmp16 (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/lib/
H A Duuid.c146 uint16_t tmp16; in uuid_str_to_bin() local
162 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
163 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
165 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
166 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
171 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
172 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
174 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
175 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
178 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
[all …]
/openbmc/u-boot/drivers/usb/eth/
H A Dasix88179.c297 u16 *tmp16; in asix_basic_reset() local
300 tmp16 = (u16 *)buf; in asix_basic_reset()
304 *tmp16 = 0; in asix_basic_reset()
305 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
307 *tmp16 = AX_PHYPWR_RSTCTL_IPRL; in asix_basic_reset()
308 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
338 *tmp16 = AX_RX_CTL_DROPCRCERR | AX_RX_CTL_IPE | AX_RX_CTL_START | in asix_basic_reset()
340 asix_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); in asix_basic_reset()
347 *tmp16 = AX_MEDIUM_RECEIVE_EN | AX_MEDIUM_TXFLOW_CTRLEN | in asix_basic_reset()
350 asix_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, 2, 2, tmp16); in asix_basic_reset()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch88 + u16 tmp16;
98 + tmp16 = cpu_to_le16(hextoul(uuid_str + 9, NULL));
99 + memcpy(uuid_bin + 4, &tmp16, 2);
101 + tmp16 = cpu_to_le16(hextoul(uuid_str + 14, NULL));
102 + memcpy(uuid_bin + 6, &tmp16, 2);
104 + tmp16 = cpu_to_le16(hextoul(uuid_str + 19, NULL));
105 + memcpy(uuid_bin + 8, &tmp16, 2);
/openbmc/u-boot/drivers/ata/
H A Dahci.c184 u16 tmp16; in ahci_host_init() local
209 u16 tmp16; in ahci_host_init() local
211 dm_pci_read_config16(dev, 0x92, &tmp16); in ahci_host_init()
212 dm_pci_write_config16(dev, 0x92, tmp16 | 0xf); in ahci_host_init()
218 u16 tmp16; in ahci_host_init() local
219 pci_read_config_word(pdev, 0x92, &tmp16); in ahci_host_init()
220 tmp16 |= 0xf; in ahci_host_init()
221 pci_write_config_word(pdev, 0x92, tmp16); in ahci_host_init()
340 dm_pci_read_config16(dev, PCI_COMMAND, &tmp16); in ahci_host_init()
342 dm_pci_write_config16(dev, PCI_COMMAND, tmp16); in ahci_host_init()
[all …]