Home
last modified time | relevance | path

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

/u-boot/lib/
A Duuid.c154 uint16_t tmp16; in uuid_str_to_bin() local
170 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
171 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
173 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
174 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
179 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
180 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
182 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
183 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
186 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
[all …]
/u-boot/drivers/pci/
A Dpcie_layerscape_fixup.c356 u16 tmp16; in get_vf_offset_and_stride() local
363 if (entry->num_vfs > tmp16) { in get_vf_offset_and_stride()
393 &tmp16); in get_vf_offset_and_stride()
394 tmp16 &= ~PCI_SRIOV_CTRL_VFE; in get_vf_offset_and_stride()
396 tmp16); in get_vf_offset_and_stride()
420 tmp16 |= PCI_SRIOV_CTRL_ARI; in get_vf_offset_and_stride()
431 &tmp16); in get_vf_offset_and_stride()
432 tmp16 &= ~PCI_SRIOV_CTRL_ARI; in get_vf_offset_and_stride()
434 tmp16); in get_vf_offset_and_stride()
448 &tmp16); in get_vf_offset_and_stride()
[all …]
/u-boot/drivers/usb/eth/
A Dasix88179.c299 u16 *tmp16; in asix_basic_reset() local
302 tmp16 = (u16 *)buf; in asix_basic_reset()
306 *tmp16 = 0; in asix_basic_reset()
309 *tmp16 = AX_PHYPWR_RSTCTL_IPRL; in asix_basic_reset()
370 u16 *tmp16; in asix_wait_link() local
372 tmp16 = (u16 *)buf; in asix_wait_link()
400 u16 *tmp16, mode; in asix_init_common() local
403 tmp16 = (u16 *)buf; in asix_init_common()
429 GMII_PHY_PHYSR, 2, tmp16); in asix_init_common()
431 if (!(*tmp16 & GMII_PHY_PHYSR_LINK)) { in asix_init_common()
[all …]
/u-boot/drivers/ata/
A Dahci.c180 u16 tmp16; in ahci_host_init() local
205 u16 tmp16; in ahci_host_init() local
207 dm_pci_read_config16(dev, 0x92, &tmp16); in ahci_host_init()
208 dm_pci_write_config16(dev, 0x92, tmp16 | 0xf); in ahci_host_init()
214 u16 tmp16; in ahci_host_init() local
215 pci_read_config_word(pdev, 0x92, &tmp16); in ahci_host_init()
216 tmp16 |= 0xf; in ahci_host_init()
217 pci_write_config_word(pdev, 0x92, tmp16); in ahci_host_init()
335 dm_pci_read_config16(dev, PCI_COMMAND, &tmp16); in ahci_host_init()
337 dm_pci_write_config16(dev, PCI_COMMAND, tmp16); in ahci_host_init()
[all …]

Completed in 10 milliseconds