Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/misc/
H A Dswap_case.c66 ulong *valuep, enum pci_size_t size) in sandbox_swap_case_read_config() argument
72 *valuep = plat->command; in sandbox_swap_case_read_config()
75 *valuep = 0; in sandbox_swap_case_read_config()
78 *valuep = SANDBOX_PCI_VENDOR_ID; in sandbox_swap_case_read_config()
81 *valuep = SANDBOX_PCI_DEVICE_ID; in sandbox_swap_case_read_config()
85 *valuep = SANDBOX_PCI_CLASS_SUB_CODE; in sandbox_swap_case_read_config()
87 *valuep = (SANDBOX_PCI_CLASS_CODE << 8) | in sandbox_swap_case_read_config()
92 *valuep = SANDBOX_PCI_CLASS_CODE; in sandbox_swap_case_read_config()
119 *valuep = result; in sandbox_swap_case_read_config()
195 ulong *valuep, enum pci_size_t size) in sandbox_swap_case_read_io() argument
[all …]
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dpci.c23 ulong *valuep, enum pci_size_t size) in pci_x86_read_config() argument
28 *valuep = inb(PCI_REG_DATA + (offset & 3)); in pci_x86_read_config()
31 *valuep = inw(PCI_REG_DATA + (offset & 2)); in pci_x86_read_config()
34 *valuep = inl(PCI_REG_DATA); in pci_x86_read_config()
/rk3399_rockchip-uboot/drivers/pci/
H A Dpcie_xilinx.c103 uint offset, ulong *valuep, in pcie_xilinx_read_config() argument
112 *valuep = pci_get_ff(size); in pcie_xilinx_read_config()
118 *valuep = __raw_readb(address); in pcie_xilinx_read_config()
121 *valuep = __raw_readw(address); in pcie_xilinx_read_config()
124 *valuep = __raw_readl(address); in pcie_xilinx_read_config()
H A Dpci_sandbox.c35 uint offset, ulong *valuep, in sandbox_pci_read_config() argument
43 *valuep = pci_get_ff(size); in sandbox_pci_read_config()
51 return ops->read_config(emul, offset, valuep, size); in sandbox_pci_read_config()
H A Dpci-uclass.c478 unsigned long *valuep, enum pci_size_t size) in pci_bus_read_config() argument
485 return ops->read_config(bus, bdf, offset, valuep, size); in pci_bus_read_config()
488 int pci_read_config(pci_dev_t bdf, int offset, unsigned long *valuep, in pci_read_config() argument
498 return pci_bus_read_config(bus, bdf, offset, valuep, size); in pci_read_config()
501 int dm_pci_read_config(struct udevice *dev, int offset, unsigned long *valuep, in dm_pci_read_config() argument
508 return pci_bus_read_config(bus, dm_pci_get_bdf(dev), offset, valuep, in dm_pci_read_config()
512 int pci_read_config32(pci_dev_t bdf, int offset, u32 *valuep) in pci_read_config32() argument
520 *valuep = value; in pci_read_config32()
525 int pci_read_config16(pci_dev_t bdf, int offset, u16 *valuep) in pci_read_config16() argument
533 *valuep = value; in pci_read_config16()
[all …]
H A Dpcie_dw_mvebu.c210 uint offset, ulong *valuep, in pcie_dw_mvebu_read_config() argument
222 *valuep = pci_get_ff(size); in pcie_dw_mvebu_read_config()
231 *valuep = pci_conv_32_to_size(value, offset, size); in pcie_dw_mvebu_read_config()
H A Dpcie_layerscape.c267 uint offset, ulong *valuep, in ls_pcie_read_config() argument
274 *valuep = pci_get_ff(size); in ls_pcie_read_config()
282 *valuep = readb(address); in ls_pcie_read_config()
285 *valuep = readw(address); in ls_pcie_read_config()
288 *valuep = readl(address); in ls_pcie_read_config()
H A Dpcie_dw_rockchip.c530 uint offset, ulong *valuep, in rockchip_pcie_rd_conf() argument
542 *valuep = pci_get_ff(size); in rockchip_pcie_rd_conf()
551 *valuep = pci_conv_32_to_size(value, offset, size); in rockchip_pcie_rd_conf()
H A Dpci_tegra.c316 uint offset, ulong *valuep, in pci_tegra_read_config() argument
342 *valuep = pci_conv_32_to_size(value, offset, size); in pci_tegra_read_config()
/rk3399_rockchip-uboot/drivers/rtc/
H A Drtc-uclass.c63 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep) in rtc_read16() argument
76 *valuep = value; in rtc_read16()
93 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep) in rtc_read32() argument
106 *valuep = value; in rtc_read32()
/rk3399_rockchip-uboot/arch/sandbox/lib/
H 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()
/rk3399_rockchip-uboot/include/
H A Dpci.h881 ulong *valuep, enum pci_size_t size);
1056 unsigned long *valuep, enum pci_size_t size);
1090 int dm_pci_read_config(struct udevice *dev, int offset, unsigned long *valuep,
1093 int dm_pci_read_config8(struct udevice *dev, int offset, u8 *valuep);
1094 int dm_pci_read_config16(struct udevice *dev, int offset, u16 *valuep);
1095 int dm_pci_read_config32(struct udevice *dev, int offset, u32 *valuep);
1120 int pci_read_config32(pci_dev_t pcidev, int offset, u32 *valuep);
1121 int pci_read_config16(pci_dev_t pcidev, int offset, u16 *valuep);
1122 int pci_read_config8(pci_dev_t pcidev, int offset, u8 *valuep);
1148 u32 *valuep) in pci_read_config_dword() argument
[all …]
H A Drtc.h145 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep);
165 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep);
/rk3399_rockchip-uboot/arch/x86/include/asm/arch-quark/
H A Dquark.h210 u32 *valuep) in qrk_pci_read_config_dword() argument
213 *valuep = inl(PCI_REG_DATA); in qrk_pci_read_config_dword()
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dpci.h22 ulong *valuep, enum pci_size_t size);
/rk3399_rockchip-uboot/drivers/gpio/
H A Dsh_pfc.c246 int *fieldp, int *valuep, in get_config_reg() argument
276 *valuep = n; in get_config_reg()
/rk3399_rockchip-uboot/include/drm/
H A Ddrm_dp_helper.h1208 unsigned int offset, u8 *valuep) in drm_dp_dpcd_readb() argument
1210 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()