| /u-boot/arch/arm/mach-owl/ |
| A D | soc.c | 25 unsigned int val, cap; in owl_get_ddrcap() local 32 cap = (val + 1) * 256; in owl_get_ddrcap() 35 cap = 64 * (1 << val); in owl_get_ddrcap() 38 return cap; in owl_get_ddrcap()
|
| /u-boot/drivers/ata/ |
| A D | ahci.c | 334 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local 339 cap = uc_priv->cap; in ahci_print_info() 343 speed = (cap >> 20) & 0xf; in ahci_print_info() 372 ((cap >> 8) & 0x1f) + 1, (cap & 0x1f) + 1, speed_s, impl, scc_s); in ahci_print_info() 382 cap & (1 << 26) ? "pm " : "", in ahci_print_info() 832 u32 cap; in ata_scsiop_read_capacity10() local 847 cap = cpu_to_be32(cap64); in ata_scsiop_read_capacity10() 848 memcpy(pccb->pdata, &cap, sizeof(cap)); in ata_scsiop_read_capacity10() 863 u64 cap; in ata_scsiop_read_capacity16() local 874 cap = cpu_to_be64(cap); in ata_scsiop_read_capacity16() [all …]
|
| A D | dwc_ahsata.c | 56 u32 cap; member 159 uc_priv->cap = readl(&host_mmio->cap); in ahci_host_init() 279 u32 vers, cap, impl, speed; in ahci_print_info() local 284 cap = uc_priv->cap; in ahci_print_info() 304 ((cap >> 8) & 0x1f) + 1, in ahci_print_info() 305 (cap & 0x1f) + 1, in ahci_print_info() 314 cap & (1 << 30) ? "ncq " : "", in ahci_print_info() 317 cap & (1 << 26) ? "pm " : "", in ahci_print_info() 318 cap & (1 << 25) ? "led " : "", in ahci_print_info() 319 cap & (1 << 24) ? "clo " : "", in ahci_print_info() [all …]
|
| /u-boot/test/dm/ |
| A D | pci.c | 202 int cap; in dm_test_pci_cap() local 209 ut_asserteq(PCI_CAP_ID_EXP_OFFSET, cap); in dm_test_pci_cap() 213 ut_asserteq(0, cap); in dm_test_pci_cap() 218 ut_asserteq(PCI_CAP_ID_MSIX_OFFSET, cap); in dm_test_pci_cap() 223 ut_asserteq(0, cap); in dm_test_pci_cap() 230 ut_asserteq(PCI_EXT_CAP_ID_DSN_OFFSET, cap); in dm_test_pci_cap() 234 ut_asserteq(0, cap); in dm_test_pci_cap() 239 ut_asserteq(PCI_EXT_CAP_ID_DSN_OFFSET, cap); in dm_test_pci_cap() 244 ut_asserteq(0, cap); in dm_test_pci_cap() 255 int cap; in dm_test_pci_ea() local [all …]
|
| /u-boot/drivers/ram/rockchip/ |
| A D | sdram_common.c | 41 u64 cap; in sdram_print_ddr_info() local 85 cap = cap * 3 / 4; in sdram_print_ddr_info() 87 cap = cap / 2 + (split << 24) / 2; in sdram_print_ddr_info() 90 printdec(cap >> 20); in sdram_print_ddr_info() 146 u64 cap[2]; in sdram_get_cs_cap() local 155 cap[0] = 1llu << (cap_info->bw + cap_info->col + in sdram_get_cs_cap() 159 cap[1] = 1llu << (cap_info->bw + cap_info->col + in sdram_get_cs_cap() 162 cap[1] = 0; in sdram_get_cs_cap() 165 return cap[0]; in sdram_get_cs_cap() 167 return cap[1]; in sdram_get_cs_cap() [all …]
|
| /u-boot/drivers/mtd/nand/raw/ |
| A D | atmel_nand.c | 364 if (i >= cap) in pmecc_get_sigma() 718 *cap = 2; in pmecc_choose_ecc() 725 if (*cap <= 2) in pmecc_choose_ecc() 727 else if (*cap <= 4) in pmecc_choose_ecc() 729 else if (*cap <= 8) in pmecc_choose_ecc() 731 else if (*cap <= 12) in pmecc_choose_ecc() 733 else if (*cap <= 24) in pmecc_choose_ecc() 815 int cap, sector_size; in atmel_pmecc_nand_init_params() local 841 cap, sector_size); in atmel_pmecc_nand_init_params() 876 cap, sector_size); in atmel_pmecc_nand_init_params() [all …]
|
| /u-boot/include/linux/ |
| A D | mii.h | 214 u8 cap = 0; in mii_resolve_flowctrl_fdx() local 217 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 220 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 222 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx() 225 return cap; in mii_resolve_flowctrl_fdx()
|
| /u-boot/include/ |
| A D | slre.h | 73 struct cap { struct 95 struct cap *captured_substrings); argument
|
| /u-boot/drivers/virtio/ |
| A D | virtio_pci_modern.c | 407 struct virtio_pci_cap *cap) in virtio_pci_find_capability() argument 415 if (!cap) in virtio_pci_find_capability() 430 dm_pci_read_config8(udev, offset, &cap->cap_len); in virtio_pci_find_capability() 434 dm_pci_read_config8(udev, offset, &cap->bar); in virtio_pci_find_capability() 436 dm_pci_read_config32(udev, offset, &cap->offset); in virtio_pci_find_capability() 438 dm_pci_read_config32(udev, offset, &cap->length); in virtio_pci_find_capability() 441 if (cap->bar > 0x5) in virtio_pci_find_capability() 444 if (cap->cfg_type == cfg_type) in virtio_pci_find_capability() 460 const struct virtio_pci_cap *cap) in virtio_pci_map_capability() argument 469 u8 *p = dm_pci_map_bar(udev, PCI_BASE_ADDRESS_0 + 4 * cap->bar, cap->offset, in virtio_pci_map_capability() [all …]
|
| A D | virtio_blk.c | 117 u64 cap; in virtio_blk_probe() local 126 virtio_cread(dev, struct virtio_blk_config, capacity, &cap); in virtio_blk_probe() 127 desc->lba = cap; in virtio_blk_probe()
|
| A D | virtio_pci.h | 104 struct virtio_pci_cap cap; member 136 struct virtio_pci_cap cap; member
|
| /u-boot/tools/ |
| A D | atmel_pmecc_params.c | 18 static int pmecc_get_ecc_bytes(int cap, int sector_size) in pmecc_get_ecc_bytes() argument 21 return (m * cap + 7) / 8; in pmecc_get_ecc_bytes()
|
| /u-boot/drivers/nvme/ |
| A D | nvme.h | 555 __u64 cap; /* Controller Capabilities */ member 568 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument 569 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument 570 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument 571 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument 572 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument 617 u64 cap; member
|
| /u-boot/arch/arm/dts/ |
| A D | socfpga_arria10_socdk_sdmmc.dts | 11 cap-sd-highspeed; 12 cap-mmc-highspeed;
|
| A D | socfpga_arria5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
| A D | socfpga_cyclone5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
| A D | mt7986a-bpi-r3-emmc.dts | 26 cap-mmc-highspeed; 27 cap-mmc-hw-reset;
|
| A D | rk3399-evb-u-boot.dtsi | 44 cap-mmc-highspeed; 45 cap-sd-highspeed;
|
| A D | kirkwood-6192.dtsi | 82 cap-sdio-irq; 83 cap-sd-highspeed; 84 cap-mmc-highspeed;
|
| A D | rv1126-edgeble-neu2-io.dts | 27 cap-mmc-highspeed; 28 cap-sd-highspeed;
|
| A D | kirkwood-6281.dtsi | 84 cap-sdio-irq; 85 cap-sd-highspeed; 86 cap-mmc-highspeed;
|
| A D | hi3798mv200-hc2910-2aghd05.dts | 38 cap-mmc-highspeed; 65 cap-sd-highspeed;
|
| A D | px30-engicam-common.dtsi | 67 cap-sdio-irq; 68 cap-sd-highspeed; 95 cap-sd-highspeed;
|
| A D | rk3328-evb.dts | 93 cap-mmc-highspeed; 235 cap-sd-highspeed; 236 cap-sdio-irq; 248 cap-mmc-highspeed; 249 cap-sd-highspeed;
|
| /u-boot/arch/mips/dts/ |
| A D | vocore_vocore2.dts | 80 cap-sd-highspeed; 81 cap-mmc-highspeed;
|