Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/lib/
H A Duuid.c147 uint16_t tmp16; in uuid_str_to_bin() local
163 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
164 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
166 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
167 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
172 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin()
173 memcpy(uuid_bin + 4, &tmp16, 2); in uuid_str_to_bin()
175 tmp16 = cpu_to_le16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin()
176 memcpy(uuid_bin + 6, &tmp16, 2); in uuid_str_to_bin()
179 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
[all …]
/rk3399_rockchip-uboot/drivers/usb/eth/
H A Dasix88179.c298 u16 *tmp16; in asix_basic_reset() local
301 tmp16 = (u16 *)buf; in asix_basic_reset()
305 *tmp16 = 0; in asix_basic_reset()
306 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
308 *tmp16 = AX_PHYPWR_RSTCTL_IPRL; in asix_basic_reset()
309 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
339 *tmp16 = AX_RX_CTL_DROPCRCERR | AX_RX_CTL_IPE | AX_RX_CTL_START | in asix_basic_reset()
341 asix_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); in asix_basic_reset()
348 *tmp16 = AX_MEDIUM_RECEIVE_EN | AX_MEDIUM_TXFLOW_CTRLEN | in asix_basic_reset()
351 asix_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, 2, 2, tmp16); in asix_basic_reset()
[all …]
/rk3399_rockchip-uboot/drivers/ata/
H A Dahci.c195 u16 tmp16; in ahci_host_init() local
220 u16 tmp16; in ahci_host_init() local
222 dm_pci_read_config16(dev, 0x92, &tmp16); in ahci_host_init()
223 dm_pci_write_config16(dev, 0x92, tmp16 | 0xf); in ahci_host_init()
229 u16 tmp16; in ahci_host_init() local
230 pci_read_config_word(pdev, 0x92, &tmp16); in ahci_host_init()
231 tmp16 |= 0xf; in ahci_host_init()
232 pci_write_config_word(pdev, 0x92, tmp16); in ahci_host_init()
350 dm_pci_read_config16(dev, PCI_COMMAND, &tmp16); in ahci_host_init()
352 dm_pci_write_config16(dev, PCI_COMMAND, tmp16); in ahci_host_init()
[all …]