Home
last modified time | relevance | path

Searched refs:valuep (Results 1 – 25 of 33) sorted by relevance

12

/u-boot/drivers/misc/
A Dswap_case.c95 *valuep = reg; in sandbox_swap_case_read_ea()
100 uint offset, ulong *valuep, in sandbox_swap_case_read_config() argument
115 *valuep = plat->command; in sandbox_swap_case_read_config()
118 *valuep = 0; in sandbox_swap_case_read_config()
121 *valuep = SANDBOX_PCI_VENDOR_ID; in sandbox_swap_case_read_config()
154 *valuep = PCI_CAP_ID_PM_OFFSET; in sandbox_swap_case_read_config()
172 *valuep = PCI_CAP_ID_MSIX; in sandbox_swap_case_read_config()
178 *valuep = 0; in sandbox_swap_case_read_config()
184 *valuep = 0; in sandbox_swap_case_read_config()
193 *valuep = PCI_EXT_CAP_ID_DSN; in sandbox_swap_case_read_config()
[all …]
A Dp2sb_emul.c53 uint offset, ulong *valuep, in sandbox_p2sb_emul_read_config() argument
60 *valuep = plat->command; in sandbox_p2sb_emul_read_config()
63 *valuep = PCI_HEADER_TYPE_NORMAL; in sandbox_p2sb_emul_read_config()
66 *valuep = SANDBOX_PCI_VENDOR_ID; in sandbox_p2sb_emul_read_config()
69 *valuep = SANDBOX_PCI_P2SB_EMUL_ID; in sandbox_p2sb_emul_read_config()
73 *valuep = SANDBOX_PCI_CLASS_SUB_CODE; in sandbox_p2sb_emul_read_config()
75 *valuep = (SANDBOX_PCI_CLASS_CODE << 8) | in sandbox_p2sb_emul_read_config()
80 *valuep = SANDBOX_PCI_CLASS_CODE; in sandbox_p2sb_emul_read_config()
99 *valuep = PCI_CAP_ID_PM_OFFSET; in sandbox_p2sb_emul_read_config()
167 *valuep = offset; in sandbox_p2sb_emul_read_io()
[all …]
/u-boot/drivers/power/acpi_pmc/
A Dpmc_emul.c47 ulong *valuep, enum pci_size_t size) in sandbox_pmc_emul_read_config() argument
53 *valuep = plat->command; in sandbox_pmc_emul_read_config()
56 *valuep = 0; in sandbox_pmc_emul_read_config()
59 *valuep = SANDBOX_PCI_VENDOR_ID; in sandbox_pmc_emul_read_config()
62 *valuep = SANDBOX_PCI_PMC_EMUL_ID; in sandbox_pmc_emul_read_config()
66 *valuep = SANDBOX_PCI_CLASS_SUB_CODE; in sandbox_pmc_emul_read_config()
68 *valuep = (SANDBOX_PCI_CLASS_CODE << 8) | in sandbox_pmc_emul_read_config()
73 *valuep = SANDBOX_PCI_CLASS_CODE; in sandbox_pmc_emul_read_config()
92 *valuep = PCI_CAP_ID_PM_OFFSET; in sandbox_pmc_emul_read_config()
160 *valuep = offset; in sandbox_pmc_emul_read_io()
[all …]
/u-boot/drivers/pci/
A Dpci_octeontx.c97 writeb(valuep, addr); in writel_size()
100 writew(valuep, addr); in writel_size()
103 writel(valuep, addr); in writel_size()
119 uint offset, ulong *valuep, in octeontx_ecam_read_config() argument
128 *valuep = readl_size(address, size); in octeontx_ecam_read_config()
155 uint offset, ulong *valuep, in octeontx_pem_read_config() argument
173 *valuep = readl_size(address + offset, size); in octeontx_pem_read_config()
218 uint offset, ulong *valuep, in octeontx2_pem_read_config() argument
233 *valuep = readl_size(address + offset, size); in octeontx2_pem_read_config()
237 address, *valuep); in octeontx2_pem_read_config()
[all …]
A Dpci_sandbox.c44 uint offset, ulong *valuep, in sandbox_pci_read_config() argument
53 *valuep = pci_get_ff(size); in sandbox_pci_read_config()
64 *valuep = vendor; in sandbox_pci_read_config()
66 *valuep = device; in sandbox_pci_read_config()
77 return ops->read_config(emul, offset, valuep, size); in sandbox_pci_read_config()
A Dpci_x86.c12 uint offset, ulong *valuep, in _pci_x86_read_config() argument
15 return pci_x86_read_config(bdf, offset, valuep, size); in _pci_x86_read_config()
A Dpcie_fsl.c49 uint offset, ulong *valuep, in fsl_pcie_read_config() argument
57 *valuep = pci_get_ff(size); in fsl_pcie_read_config()
76 *valuep = in_le32(&regs->cfg_data); in fsl_pcie_read_config()
122 ulong *valuep, enum pci_size_t size) in fsl_pcie_hose_read_config() argument
128 offset, valuep, size); in fsl_pcie_hose_read_config()
143 u8 *valuep) in fsl_pcie_hose_read_config_byte() argument
149 *valuep = val; in fsl_pcie_hose_read_config_byte()
155 u16 *valuep) in fsl_pcie_hose_read_config_word() argument
161 *valuep = val; in fsl_pcie_hose_read_config_word()
167 u32 *valuep) in fsl_pcie_hose_read_config_dword() argument
[all …]
A Dpcie_intel_fpga.c241 uint offset, ulong *valuep, in intel_fpga_pcie_rp_rd_conf() argument
245 bdf, offset, valuep, size); in intel_fpga_pcie_rp_rd_conf()
282 ulong *valuep, enum pci_size_t size) in _pcie_intel_fpga_read_config() argument
291 offset, valuep, size); in _pcie_intel_fpga_read_config()
301 *valuep = pci_conv_32_to_size(data, offset, size); in _pcie_intel_fpga_read_config()
331 uint offset, ulong *valuep, in pcie_intel_fpga_read_config() argument
340 *valuep = (u32)pci_get_ff(size); in pcie_intel_fpga_read_config()
345 *valuep = (u32)pci_get_ff(size); in pcie_intel_fpga_read_config()
349 return _pcie_intel_fpga_read_config(pcie, bdf, offset, valuep, size); in pcie_intel_fpga_read_config()
A Dpcie_ecam_generic.c82 ulong *valuep, enum pci_size_t size) in pci_generic_ecam_read_config() argument
85 *valuep = pci_get_ff(size); in pci_generic_ecam_read_config()
90 bdf, offset, valuep, size); in pci_generic_ecam_read_config()
A Dpci-uclass.c401 *valuep = value; in pci_read_config32()
414 *valuep = value; in pci_read_config16()
427 *valuep = value; in pci_read_config8()
440 *valuep = value; in dm_pci_read_config8()
453 *valuep = value; in dm_pci_read_config16()
466 *valuep = value; in dm_pci_read_config32()
597 ulong *valuep, in pci_generic_mmap_read_config() argument
603 *valuep = pci_get_ff(size); in pci_generic_mmap_read_config()
609 *valuep = readb(address); in pci_generic_mmap_read_config()
612 *valuep = readw(address); in pci_generic_mmap_read_config()
[all …]
A Dpcie_xilinx.c103 uint offset, ulong *valuep, in pcie_xilinx_read_config() argument
107 bdf, offset, valuep, size); in pcie_xilinx_read_config()
A Dpcie_phytium.c123 uint offset, ulong *valuep, in pci_phytium_read_config() argument
127 bdf, offset, valuep, size); in pci_phytium_read_config()
A Dpcie_mediatek.c158 uint offset, ulong *valuep, in mtk_pcie_read_config() argument
162 bdf, offset, valuep, size); in mtk_pcie_read_config()
283 uint offset, ulong *valuep, in mtk_pcie_config_read() argument
291 *valuep = pci_get_ff(size); in mtk_pcie_config_read()
295 ret = mtk_pcie_hw_rd_cfg(port, PCI_BUS(bdf), bdf, offset, (1 << size), valuep); in mtk_pcie_config_read()
297 *valuep = pci_get_ff(size); in mtk_pcie_config_read()
A Dpcie_layerscape_gen4.c233 uint offset, ulong *valuep, in ls_pcie_g4_read_config() argument
241 *valuep = pci_get_ff(size); in ls_pcie_g4_read_config()
249 *valuep = readb(address); in ls_pcie_g4_read_config()
252 *valuep = readw(address); in ls_pcie_g4_read_config()
255 *valuep = readl(address); in ls_pcie_g4_read_config()
A Dpcie_dw_mvebu.c247 uint offset, ulong *valuep, in pcie_dw_mvebu_read_config() argument
259 *valuep = pci_get_ff(size); in pcie_dw_mvebu_read_config()
268 *valuep = pci_conv_32_to_size(value, offset, size); in pcie_dw_mvebu_read_config()
A Dpcie_rockchip.c114 uint offset, ulong *valuep, in rockchip_pcie_rd_conf() argument
125 *valuep = pci_conv_32_to_size(value, offset, size); in rockchip_pcie_rd_conf()
131 *valuep = pci_conv_32_to_size(value, offset, size); in rockchip_pcie_rd_conf()
135 *valuep = pci_get_ff(size); in rockchip_pcie_rd_conf()
A Dpci-aardvark.c310 uint offset, ulong *valuep, in pcie_advk_read_config() argument
322 *valuep = pci_get_ff(size); in pcie_advk_read_config()
357 *valuep = pci_conv_32_to_size(reg, offset, size); in pcie_advk_read_config()
A Dpci_mvebu.c168 uint offset, ulong *valuep, in mvebu_pcie_read_config() argument
179 *valuep = pci_get_ff(size); in mvebu_pcie_read_config()
189 *valuep = pci_conv_32_to_size(data, offset, size); in mvebu_pcie_read_config()
/u-boot/arch/x86/cpu/
A Dpci.c20 int pci_x86_read_config(pci_dev_t bdf, uint offset, ulong *valuep, in pci_x86_read_config() argument
26 *valuep = inb(PCI_REG_DATA + (offset & 3)); in pci_x86_read_config()
29 *valuep = inw(PCI_REG_DATA + (offset & 2)); in pci_x86_read_config()
32 *valuep = inl(PCI_REG_DATA); in pci_x86_read_config()
/u-boot/arch/sandbox/lib/
A Dpci_io.c52 static int pci_io_read(unsigned int addr, ulong *valuep, pci_size_t size) in pci_io_read() argument
57 *valuep = pci_get_ff(size); in pci_io_read()
64 ret = (ops->read_io)(dev, addr, valuep, size); in pci_io_read()
/u-boot/drivers/rtc/
A Drtc-uclass.c114 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep) in rtc_read16() argument
127 *valuep = value; in rtc_read16()
144 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep) in rtc_read32() argument
157 *valuep = value; in rtc_read32()
/u-boot/include/
A Dpci.h950 uint offset, ulong *valuep, enum pci_size_t size);
1118 unsigned long *valuep, enum pci_size_t size);
1153 unsigned long *valuep, enum pci_size_t size);
1236 ulong *valuep,
1282 u32 *valuep) in pci_read_config_dword() argument
1284 return pci_read_config32(pcidev, offset, valuep); in pci_read_config_dword()
1289 u16 *valuep) in pci_read_config_word() argument
1291 return pci_read_config16(pcidev, offset, valuep); in pci_read_config_word()
1296 u8 *valuep) in pci_read_config_byte() argument
1298 return pci_read_config8(pcidev, offset, valuep); in pci_read_config_byte()
[all …]
A Drtc.h186 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep);
206 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep);
/u-boot/arch/x86/include/asm/arch-quark/
A Dquark.h209 u32 *valuep) in qrk_pci_read_config_dword() argument
212 *valuep = inl(PCI_REG_DATA); in qrk_pci_read_config_dword()
/u-boot/arch/x86/include/asm/
A Dpci.h31 int pci_x86_read_config(pci_dev_t bdf, uint offset, ulong *valuep,

Completed in 39 milliseconds

12