/u-boot/drivers/ata/ |
A D | fsl_sata.c | 98 u32 val32; in init_sata() local 181 val32 &= ~HCONTROL_ONOFF; in init_sata() 216 val32 = in_le32(®->cer); in init_sata() 217 out_le32(®->cer, val32); in init_sata() 220 val32 = in_le32(®->der); in init_sata() 221 out_le32(®->der, val32); in init_sata() 234 val32 |= HCONTROL_ONOFF; in init_sata() 320 u32 val32; in fsl_ata_exec_ata_cmd() local 413 val32 |= tag; in fsl_ata_exec_ata_cmd() 431 val32 = 1 << tag; in fsl_ata_exec_ata_cmd() [all …]
|
/u-boot/board/imgtec/malta/ |
A D | malta.c | 173 u32 val32; in pci_init_board() local 207 pci_read_config_dword(bdf, PCI_CFG_PIIX4_GENCFG, &val32); in pci_init_board() 208 val32 |= PCI_CFG_PIIX4_GENCFG_SERIRQ; in pci_init_board() 209 pci_write_config_dword(bdf, PCI_CFG_PIIX4_GENCFG, val32); in pci_init_board() 222 val32 |= PCI_COMMAND_MASTER | PCI_COMMAND_IO; in pci_init_board() 223 pci_write_config_dword(bdf, PCI_COMMAND, val32); in pci_init_board()
|
/u-boot/drivers/ddr/fsl/ |
A D | mpc85xx_ddr_gen3.c | 47 u32 val32; in fsl_ddr_set_memctl_regs() local 359 val32 |= (0x9 << 20); in fsl_ddr_set_memctl_regs() 368 out_be32(&ddr->sdram_cfg_2, val32); in fsl_ddr_set_memctl_regs() 371 out_be32(&ddr->debug[18], val32); in fsl_ddr_set_memctl_regs() 379 val32 = in_be32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs() 380 val32 &= 0xff0fff00; in fsl_ddr_set_memctl_regs() 382 val32 |= 0x0080006a; in fsl_ddr_set_memctl_regs() 384 val32 |= 0x0070006f; in fsl_ddr_set_memctl_regs() 386 val32 |= 0x00700076; in fsl_ddr_set_memctl_regs() 388 val32 |= 0x0060007b; in fsl_ddr_set_memctl_regs() [all …]
|
A D | fsl_ddr_gen4.c | 80 u32 val32; in fsl_ddr_set_memctl_regs() local 456 val32 = ddr_in32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs() 457 val32 |= (0x9 << 20); in fsl_ddr_set_memctl_regs() 469 ddr_out32(&ddr->debug[18], val32); in fsl_ddr_set_memctl_regs() 477 val32 = ddr_in32(&ddr->debug[28]); in fsl_ddr_set_memctl_regs() 478 val32 &= 0xff0fff00; in fsl_ddr_set_memctl_regs() 480 val32 |= 0x0080006a; in fsl_ddr_set_memctl_regs() 482 val32 |= 0x0070006f; in fsl_ddr_set_memctl_regs() 484 val32 |= 0x00700076; in fsl_ddr_set_memctl_regs() 486 val32 |= 0x0060007b; in fsl_ddr_set_memctl_regs() [all …]
|
/u-boot/lib/zstd/ |
A D | mem.h | 80 ZSTD_STATIC void ZSTD_writeLE32(void *memPtr, U32 val32) { put_unaligned_le32(val32, memPtr); } in ZSTD_writeLE32() argument 106 ZSTD_STATIC void ZSTD_writeBE32(void *memPtr, U32 val32) { put_unaligned_be32(val32, memPtr); } in ZSTD_writeBE32() argument
|
/u-boot/drivers/pci/ |
A D | pci.c | 73 u32 val32; \ 75 if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0) { \ 80 *val = (val32 >> ((offset & (int)off_mask) * 8)); \ 90 u32 val32, mask, ldata, shift; \ 92 if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\ 98 val32 = (val32 & ~mask) | ldata; \ 100 if (pci_hose_write_config_dword(hose, dev, offset & 0xfc, val32) < 0)\
|
/u-boot/test/dm/ |
A D | test-fdt.c | 938 u32 val32; in dm_test_read_int() local 945 ut_assertok(dev_read_u32(dev, "int-value", &val32)); in dm_test_read_int() 946 ut_asserteq(1234, val32); in dm_test_read_int() 948 ut_asserteq(-EINVAL, dev_read_u32(dev, "missing", &val32)); in dm_test_read_int() 952 ut_asserteq(1234, val32); in dm_test_read_int() 982 u32 val32; in dm_test_read_int_index() local 990 ut_assertok(dev_read_u32_index(dev, "int-array", 0, &val32)); in dm_test_read_int_index() 991 ut_asserteq(5678, val32); in dm_test_read_int_index() 993 ut_asserteq(9123, val32); in dm_test_read_int_index() 995 ut_asserteq(4567, val32); in dm_test_read_int_index() [all …]
|
/u-boot/drivers/net/fm/ |
A D | eth.c | 157 u32 val32 = in_be32((void *)base); in muram_readw() local 163 ret = (u16)(val32 & 0x0000ffff); in muram_readw() 165 ret = (u16)((val32 & 0xffff0000) >> 16); in muram_readw() 174 u32 val32; in muram_writew() local 179 val32 = (org32 & 0xffff0000) | val; in muram_writew() 181 val32 = (org32 & 0x0000ffff) | ((u32)val << 16); in muram_writew() 183 out_be32((void *)base, val32); in muram_writew()
|
/u-boot/drivers/bios_emulator/ |
A D | besys.c | 424 u32 val32; in BE_accessReg() local 450 &val32); in BE_accessReg() 451 return val32; in BE_accessReg()
|
/u-boot/cmd/ |
A D | pci.c | 66 u32 val32; in pci_read_config() local 79 pci_read_config_dword(dev, offset, &val32); in pci_read_config() 80 return val32; in pci_read_config()
|
/u-boot/drivers/net/ |
A D | rtl8169.c | 104 #define RTL_W32(reg, val32) writel((val32), ioaddr + (reg)) argument
|