Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 202) sorted by relevance

123456789

/u-boot/test/dm/
A Dpci.c202 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/arch/arm/mach-owl/
A Dsoc.c25 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 Dahci.c360 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
365 cap = uc_priv->cap; in ahci_print_info()
369 speed = (cap >> 20) & 0xf; in ahci_print_info()
402 ((cap >> 8) & 0x1f) + 1, (cap & 0x1f) + 1, speed_s, impl, scc_s); in ahci_print_info()
412 cap & (1 << 26) ? "pm " : "", in ahci_print_info()
874 u32 cap; in ata_scsiop_read_capacity10() local
889 cap = cpu_to_be32(cap64); in ata_scsiop_read_capacity10()
890 memcpy(pccb->pdata, &cap, sizeof(cap)); in ata_scsiop_read_capacity10()
905 u64 cap; in ata_scsiop_read_capacity16() local
916 cap = cpu_to_be64(cap); in ata_scsiop_read_capacity16()
[all …]
A Ddwc_ahsata.c56 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/drivers/mtd/nand/raw/
A Datmel_nand.c367 if (i >= cap) in pmecc_get_sigma()
722 *cap = 2; in pmecc_choose_ecc()
729 if (*cap <= 2) in pmecc_choose_ecc()
731 else if (*cap <= 4) in pmecc_choose_ecc()
733 else if (*cap <= 8) in pmecc_choose_ecc()
735 else if (*cap <= 12) in pmecc_choose_ecc()
737 else if (*cap <= 24) in pmecc_choose_ecc()
819 int cap, sector_size; in atmel_pmecc_nand_init_params() local
845 cap, sector_size); in atmel_pmecc_nand_init_params()
880 cap, sector_size); in atmel_pmecc_nand_init_params()
[all …]
/u-boot/drivers/ram/rockchip/
A Dsdram_common.c41 u64 cap; in sdram_print_ddr_info() local
83 cap = sdram_get_cs_cap(cap_info, 3, base->dramtype); in sdram_print_ddr_info()
85 cap = cap * 3 / 4; in sdram_print_ddr_info()
88 printdec(cap >> 20); in sdram_print_ddr_info()
144 u64 cap[2]; in sdram_get_cs_cap() local
153 cap[0] = 1llu << (cap_info->bw + cap_info->col + in sdram_get_cs_cap()
157 cap[1] = 1llu << (cap_info->bw + cap_info->col + in sdram_get_cs_cap()
160 cap[1] = 0; in sdram_get_cs_cap()
163 return cap[0]; in sdram_get_cs_cap()
165 return cap[1]; in sdram_get_cs_cap()
[all …]
/u-boot/include/linux/
A Dmii.h214 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 Dslre.h73 struct cap { struct
95 struct cap *captured_substrings); argument
/u-boot/tools/
A Datmel_pmecc_params.c18 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 Dnvme.h555 __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
615 u64 cap; member
/u-boot/arch/arm/dts/
A Dsocfpga_arria10_socdk_sdmmc.dts11 cap-sd-highspeed;
12 cap-mmc-highspeed;
A Dsocfpga_cyclone5.dtsi24 cap-mmc-highspeed;
25 cap-sd-highspeed;
A Dsocfpga_arria5.dtsi24 cap-mmc-highspeed;
25 cap-sd-highspeed;
A Drk3399-evb-u-boot.dtsi44 cap-mmc-highspeed;
45 cap-sd-highspeed;
A Dkirkwood-6192.dtsi82 cap-sdio-irq;
83 cap-sd-highspeed;
84 cap-mmc-highspeed;
A Dkirkwood-6281.dtsi84 cap-sdio-irq;
85 cap-sd-highspeed;
86 cap-mmc-highspeed;
A Drk3328-evb.dts75 cap-mmc-highspeed;
218 cap-sd-highspeed;
219 cap-sdio-irq;
231 cap-mmc-highspeed;
232 cap-sd-highspeed;
A Dmt8518-ap1-emmc.dts53 cap-mmc-highspeed;
55 cap-mmc-hw-reset;
A Dda850-lego-ev3.dts58 cap-sd-highspeed;
59 cap-mmc-highspeed;
/u-boot/drivers/tpm/
A Dtpm_tis.h79 __be32 cap; member
86 union cap_t cap; member
/u-boot/drivers/virtio/
A Dvirtio_blk.c110 u64 cap; in virtio_blk_probe() local
119 virtio_cread(dev, struct virtio_blk_config, capacity, &cap); in virtio_blk_probe()
120 desc->lba = cap; in virtio_blk_probe()
A Dvirtio_pci.h104 struct virtio_pci_cap cap; member
136 struct virtio_pci_cap cap; member
/u-boot/arch/mips/dts/
A Dvocore_vocore2.dts80 cap-sd-highspeed;
81 cap-mmc-highspeed;
/u-boot/drivers/pci/
A Dpci.c477 int cap) in pci_hose_find_capability() argument
487 pos = pci_find_cap(hose, dev, pos, cap); in pci_hose_find_capability()
514 int pci_find_cap(struct pci_controller *hose, pci_dev_t dev, int pos, int cap) in pci_find_cap() argument
530 if (id == cap) in pci_find_cap()
546 int start, int cap) in pci_find_next_ext_capability() argument
562 if (PCI_EXT_CAP_ID(header) == cap && pos != start) in pci_find_next_ext_capability()
585 int cap) in pci_hose_find_ext_capability() argument
587 return pci_find_next_ext_capability(hose, dev, 0, cap); in pci_hose_find_ext_capability()
/u-boot/drivers/pci_endpoint/
A Dpcie-cadence-ep.c121 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_set_msi() local
129 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); in cdns_set_msi()
133 cdns_pcie_ep_fn_writew(pcie, fn, cap + PCI_MSI_FLAGS, flags); in cdns_set_msi()

Completed in 44 milliseconds

123456789