/u-boot/include/ |
H A D | slre.h | 23 * struct cap captures[4 + 1]; // Number of braket pairs + 1 73 struct cap { struct 95 struct cap *captured_substrings);
|
H A D | pci.h | 764 int cap); 768 int cap); 771 pci_dev_t dev, int start, int cap); 773 pci_dev_t dev, int cap); 1377 * Possible values for @cap: 1388 * @cap: capability code 1391 int dm_pci_find_next_capability(struct udevice *dev, u8 start, int cap); 1400 * Possible values for @cap: 1410 * @cap: capability code 1413 int dm_pci_find_capability(struct udevice *dev, int cap); [all...] |
/u-boot/arch/arm/mach-owl/ |
H A D | soc.c | 25 unsigned int val, cap; local 32 cap = (val + 1) * 256; 35 cap = 64 * (1 << val); 38 return cap;
|
/u-boot/tools/ |
H A D | atmel_pmecc_params.c | 18 static int pmecc_get_ecc_bytes(int cap, int sector_size) argument 21 return (m * cap + 7) / 8;
|
/u-boot/drivers/ata/ |
H A D | ahci.c | 188 uc_priv->cap = readl(mmio + HOST_CAP); 191 uc_priv->n_ports = (uc_priv->cap & 0x1f) + 1; 193 debug("cap 0x%x port_map 0x%x n_ports %d\n", 194 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); 301 u32 vers, cap, cap2, impl, speed; local 306 cap = uc_priv->cap; 310 speed = (cap >> 20) & 0xf; 327 ((cap >> 8) & 0x1f) + 1, (cap 769 u32 cap; local 800 u64 cap; local [all...] |
H A D | dwc_ahsata.c | 56 u32 cap; member in struct:sata_host_regs 127 cap_save = readl(&host_mmio->cap); 149 writel(cap_save, &host_mmio->cap); 159 uc_priv->cap = readl(&host_mmio->cap); 163 uc_priv->n_ports = (uc_priv->cap & SATA_HOST_CAP_NP_MASK) + 1; 165 debug("cap 0x%x port_map 0x%x n_ports %d\n", 166 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); 279 u32 vers, cap, impl, speed; local 284 cap [all...] |
/u-boot/drivers/mtd/nand/raw/ |
H A D | atmel_nand.c | 89 static int pmecc_get_ecc_bytes(int cap, int sector_size) argument 92 return (m * cap + 7) / 8; 136 const int cap = host->pmecc_corr_cap; local 139 size = (2 * cap + 1) * sizeof(int16_t); 142 host->pmecc_lmu = malloc((cap + 1) * sizeof(int16_t)); 143 host->pmecc_smu = malloc((cap + 2) * size); 145 size = (cap + 1) * sizeof(int); 189 const int cap = host->pmecc_corr_cap; local 198 memset(&si[1], 0, sizeof(int16_t) * (2 * cap - 1)); 202 for (i = 1; i < 2 * cap; 243 const int16_t cap = host->pmecc_corr_cap; local 392 const int cap = host->pmecc_corr_cap; local 703 pmecc_choose_ecc(struct atmel_nand_host *host, struct nand_chip *chip, int *cap, int *sector_size) argument 817 int cap, sector_size; local [all...] |
/u-boot/drivers/ram/rockchip/ |
H A D | sdram_common.c | 41 u64 cap; local 83 cap = sdram_get_cs_cap(cap_info, 3, base->dramtype); 85 cap = cap * 3 / 4; 87 cap = cap / 2 + (split << 24) / 2; 90 printdec(cap >> 20); 146 u64 cap[2]; local 155 cap[0] = 1llu << (cap_info->bw + cap_info->col + 159 cap[ [all...] |
/u-boot/drivers/virtio/ |
H A D | virtio_pci.h | 104 struct virtio_pci_cap cap; member in struct:virtio_pci_notify_cap 136 struct virtio_pci_cap cap; member in struct:virtio_pci_cfg_cap
|
H A D | virtio_pci_modern.c | 401 * @cap: capability read from the config space 407 struct virtio_pci_cap *cap) 415 if (!cap) 426 dm_pci_read_config8(udev, offset, &cap->cap_vndr); 428 dm_pci_read_config8(udev, offset, &cap->cap_next); 430 dm_pci_read_config8(udev, offset, &cap->cap_len); 432 dm_pci_read_config8(udev, offset, &cap->cfg_type); 434 dm_pci_read_config8(udev, offset, &cap->bar); 436 dm_pci_read_config32(udev, offset, &cap->offset); 438 dm_pci_read_config32(udev, offset, &cap 405 virtio_pci_find_capability(struct udevice *udev, u8 cfg_type, size_t cap_size, struct virtio_pci_cap *cap) argument 459 virtio_pci_map_capability(struct udevice *udev, const struct virtio_pci_cap *cap) argument [all...] |
H A D | virtio_blk.c | 117 u64 cap; local 126 virtio_cread(dev, struct virtio_blk_config, capacity, &cap); 127 desc->lba = cap;
|
/u-boot/include/linux/ |
H A D | mii.h | 216 u8 cap = 0; local 219 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; 222 cap = FLOW_CTRL_RX; 224 cap = FLOW_CTRL_TX; 227 return cap;
|
/u-boot/test/dm/ |
H A D | pci.c | 202 int cap; local 208 cap = dm_pci_find_capability(swap, PCI_CAP_ID_EXP); 209 ut_asserteq(PCI_CAP_ID_EXP_OFFSET, cap); 212 cap = dm_pci_find_capability(swap, PCI_CAP_ID_PCIX); 213 ut_asserteq(0, cap); 216 cap = dm_pci_find_next_capability(swap, PCI_CAP_ID_PM_OFFSET, 218 ut_asserteq(PCI_CAP_ID_MSIX_OFFSET, cap); 221 cap = dm_pci_find_next_capability(swap, PCI_CAP_ID_EXP_OFFSET, 223 ut_asserteq(0, cap); 229 cap 255 int cap; local [all...] |
/u-boot/drivers/nvme/ |
H A D | nvme.h | 555 __u64 cap; /* Controller Capabilities */ member in struct:nvme_bar 568 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) 569 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) 570 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) 571 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) 572 #define NVME_CAP_MPSMAX(cap) (((ca 617 u64 cap; member in struct:nvme_dev [all...] |
H A D | nvme.c | 37 timeout = NVME_CAP_TIMEOUT(dev->cap) * 500; 356 u64 cap = dev->cap; local 360 unsigned dev_page_min = NVME_CAP_MPSMIN(cap) + 12; 361 unsigned dev_page_max = NVME_CAP_MPSMAX(cap) + 12; 626 int shift = NVME_CAP_MPSMIN(dev->cap) + 12; 853 ndev->cap = nvme_readq(&ndev->bar->cap); 854 ndev->q_depth = min_t(int, NVME_CAP_MQES(ndev->cap) + 1, NVME_Q_DEPTH); 855 ndev->db_stride = 1 << NVME_CAP_STRIDE(ndev->cap); [all...] |
/u-boot/drivers/pci_endpoint/ |
H A D | pcie-cadence-ep.c | 121 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; local 129 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); 133 cdns_pcie_ep_fn_writew(pcie, fn, cap + PCI_MSI_FLAGS, flags);
|
/u-boot/drivers/tpm/ |
H A D | tpm_tis.h | 147 __be32 cap; member in struct:tpm_getcap_params_in 154 union cap_t cap; member in struct:tpm_getcap_params_out
|
/u-boot/net/ |
H A D | tftp.c | 733 int cap, max_defrag; local 740 cap = max_defrag - (20 + 8 + 4); 742 cap = min(cap, 65464); 746 * If not CONFIG_IP_DEFRAG, cap at the same value as 759 cap = 1468; 761 if (tftp_block_size_option > cap) { 763 cap, tftp_block_size_option); 765 tftp_block_size_option = cap;
|
/u-boot/dts/upstream/include/dt-bindings/usb/ |
H A D | pd.h | 208 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ 209 (((ver) & 0x7) << 29 | ((cap) & 0xf) << 24 | ((conn) & 0x3) << 22 \ 230 #define VDO_DFP(ver, cap, conn, pnum) \ 231 (((ver) & 0x7) << 29 | ((cap) & 0x7) << 24 | ((conn) & 0x3) << 22 \
|
/u-boot/lib/ |
H A D | tpm_api.c | 269 void *cap, size_t count) 272 return tpm1_get_capability(dev, cap_area, sub_cap, cap, count); 274 return tpm2_get_capability(dev, cap_area, sub_cap, cap, count); 268 tpm_get_capability(struct udevice *dev, u32 cap_area, u32 sub_cap, void *cap, size_t count) argument
|
/u-boot/common/ |
H A D | usb_storage.c | 1447 ALLOC_CACHE_ALIGN_BUFFER(u32, cap, 2); 1499 pccb->pdata = (unsigned char *)cap; 1504 cap[0] = 2880; 1505 cap[1] = 0x200; 1507 debug("Read Capacity returns: 0x%08x, 0x%08x\n", cap[0], cap[1]); 1509 if (cap[0] > (0x200000 * 10)) /* greater than 10 GByte */ 1510 cap[0] >>= 16; 1512 cap[0] = cpu_to_be32(cap[ [all...] |
/u-boot/drivers/ddr/fsl/ |
H A D | main.c | 444 unsigned long long cap = local 449 current_mem_base += cap; 450 total_ctlr_mem += cap; 469 unsigned long long cap = local 474 current_mem_base += cap; 475 total_ctlr_mem += cap;
|
/u-boot/drivers/usb/eth/ |
H A D | lan7x.c | 269 u8 cap = 0; local 279 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); 282 if (cap & FLOW_CTRL_TX) { 295 if (cap & FLOW_CTRL_RX) {
|
/u-boot/drivers/pci/ |
H A D | pci-uclass.c | 1638 static int _dm_pci_find_next_capability(struct udevice *dev, u8 pos, int cap) argument 1655 if (id == cap) 1663 int dm_pci_find_next_capability(struct udevice *dev, u8 start, int cap) argument 1666 cap); 1669 int dm_pci_find_capability(struct udevice *dev, int cap) argument 1685 return _dm_pci_find_next_capability(dev, pos, cap); 1688 int dm_pci_find_next_ext_capability(struct udevice *dev, int start, int cap) argument 1702 * If we have no capabilities, this is indicated by cap ID, 1703 * cap version and next pointer all being 0. 1709 if (PCI_EXT_CAP_ID(header) == cap) 1722 dm_pci_find_ext_capability(struct udevice *dev, int cap) argument 1730 u32 cap; local [all...] |
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-pcie.c | 1414 unsigned int cap, cap_next; local 1619 cap = cvmx_pcie_config_read32_retry(node, pcie_port, bus, 0, 0, 0x34); 1622 if (cap == 0xffffffff) 1626 cap_next = cap & 0xff; 1628 cap = cvmx_pcie_config_read32_retry(node, pcie_port, bus, 1630 if (cap == 0xffffffff) 1634 if ((cap & 0xff) == 0x10) { 1640 cap = cvmx_pcie_config_read32_retry(node, pcie_port, bus, 0, 0, 1642 if (cap == 0xffffffff) 1644 dev_gen = cap [all...] |