Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/misc/
H A Dswap_case.c71 *valuep = plat->command; in sandbox_swap_case_read_config()
74 *valuep = 0; in sandbox_swap_case_read_config()
77 *valuep = SANDBOX_PCI_VENDOR_ID; in sandbox_swap_case_read_config()
80 *valuep = SANDBOX_PCI_DEVICE_ID; in sandbox_swap_case_read_config()
118 *valuep = result; in sandbox_swap_case_read_config()
122 *valuep = PCI_CAP_ID_PM_OFFSET; in sandbox_swap_case_read_config()
128 *valuep = PCI_CAP_ID_EXP_OFFSET; in sandbox_swap_case_read_config()
137 *valuep = PCI_CAP_ID_MSIX; in sandbox_swap_case_read_config()
140 *valuep = 0; in sandbox_swap_case_read_config()
149 *valuep = PCI_EXT_CAP_ID_DSN; in sandbox_swap_case_read_config()
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpcie_aspeed.c93 uint offset, ulong *valuep) in aspeed_pcie_cfg_read() argument
132 *valuep = 0xffffffff; in aspeed_pcie_cfg_read()
148 *valuep = 0xffffffff; in aspeed_pcie_cfg_read()
155 *valuep = 0xffffffff; in aspeed_pcie_cfg_read()
169 *valuep = 0xffffffff; in aspeed_pcie_cfg_read()
176 *valuep = 0xffffffff; in aspeed_pcie_cfg_read()
185 *valuep = readl(&h2x_reg->h2x_rdata); in aspeed_pcie_cfg_read()
302 uint offset, ulong *valuep, in pcie_aspeed_read_config() argument
317 *valuep = pci_get_ff(size); in pcie_aspeed_read_config()
327 *valuep = pci_get_ff(size); in pcie_aspeed_read_config()
[all …]
H A Dpci_sandbox.c43 uint offset, ulong *valuep, in sandbox_pci_read_config() argument
52 *valuep = pci_get_ff(size); in sandbox_pci_read_config()
63 *valuep = vendor; in sandbox_pci_read_config()
65 *valuep = device; in sandbox_pci_read_config()
76 return ops->read_config(emul, offset, valuep, size); in sandbox_pci_read_config()
H A Dpci-uclass.c382 *valuep = value; in pci_read_config32()
395 *valuep = value; in pci_read_config16()
408 *valuep = value; in pci_read_config8()
421 *valuep = value; in dm_pci_read_config8()
434 *valuep = value; in dm_pci_read_config16()
447 *valuep = value; in dm_pci_read_config32()
573 ulong *valuep, in pci_generic_mmap_read_config() argument
579 *valuep = pci_get_ff(size); in pci_generic_mmap_read_config()
585 *valuep = readb(address); in pci_generic_mmap_read_config()
588 *valuep = readw(address); in pci_generic_mmap_read_config()
[all …]
H A Dpcie_intel_fpga.c236 uint offset, ulong *valuep, in intel_fpga_pcie_rp_rd_conf() argument
240 bdf, offset, valuep, size); in intel_fpga_pcie_rp_rd_conf()
277 ulong *valuep, enum pci_size_t size) in _pcie_intel_fpga_read_config() argument
286 offset, valuep, size); in _pcie_intel_fpga_read_config()
296 *valuep = pci_conv_32_to_size(data, offset, size); in _pcie_intel_fpga_read_config()
326 uint offset, ulong *valuep, in pcie_intel_fpga_read_config() argument
335 *valuep = (u32)pci_get_ff(size); in pcie_intel_fpga_read_config()
340 *valuep = (u32)pci_get_ff(size); in pcie_intel_fpga_read_config()
344 return _pcie_intel_fpga_read_config(pcie, bdf, offset, valuep, size); in pcie_intel_fpga_read_config()
H A Dpcie_ecam_generic.c67 uint offset, ulong *valuep, in pci_generic_ecam_read_config() argument
71 bdf, offset, valuep, size); in pci_generic_ecam_read_config()
H A Dpcie_xilinx.c101 uint offset, ulong *valuep, in pcie_xilinx_read_config() argument
105 bdf, offset, valuep, size); in pcie_xilinx_read_config()
H A Dpci_mvebu.c140 uint offset, ulong *valuep, in mvebu_pcie_read_config() argument
160 *valuep = pci_get_ff(size); in mvebu_pcie_read_config()
168 *valuep = pci_get_ff(size); in mvebu_pcie_read_config()
178 *valuep = pci_conv_32_to_size(data, offset, size); in mvebu_pcie_read_config()
H A Dpcie_dw_mvebu.c244 uint offset, ulong *valuep, in pcie_dw_mvebu_read_config() argument
256 *valuep = pci_get_ff(size); in pcie_dw_mvebu_read_config()
265 *valuep = pci_conv_32_to_size(value, offset, size); in pcie_dw_mvebu_read_config()
H A Dpci-aardvark.c301 uint offset, ulong *valuep, in pcie_advk_read_config() argument
313 *valuep = pci_get_ff(size); in pcie_advk_read_config()
348 *valuep = pci_conv_32_to_size(reg, offset, size); in pcie_advk_read_config()
H A Dpcie_layerscape.c275 uint offset, ulong *valuep, in ls_pcie_read_config() argument
279 bdf, offset, valuep, size); in ls_pcie_read_config()
/openbmc/u-boot/arch/x86/cpu/
H A Dpci.c20 ulong *valuep, enum pci_size_t size) in pci_x86_read_config() argument
25 *valuep = inb(PCI_REG_DATA + (offset & 3)); in pci_x86_read_config()
28 *valuep = inw(PCI_REG_DATA + (offset & 2)); in pci_x86_read_config()
31 *valuep = inl(PCI_REG_DATA); in pci_x86_read_config()
/openbmc/linux/sound/core/
H A Dcontrol_compat.c219 void __user *valuep, in copy_ctl_value_from_user() argument
240 s32 __user *intp = valuep; in copy_ctl_value_from_user()
252 if (copy_from_user(data->value.bytes.data, valuep, size)) in copy_ctl_value_from_user()
263 void __user *valuep, in copy_ctl_value_to_user() argument
273 s32 __user *intp = valuep; in copy_ctl_value_to_user()
281 if (copy_to_user(valuep, data->value.bytes.data, size)) in copy_ctl_value_to_user()
290 void __user *userdata, void __user *valuep) in ctl_elem_read_user() argument
299 err = copy_ctl_value_from_user(card, data, userdata, valuep, in ctl_elem_read_user()
307 err = copy_ctl_value_to_user(userdata, valuep, data, type, count); in ctl_elem_read_user()
314 void __user *userdata, void __user *valuep) in ctl_elem_write_user() argument
[all …]
/openbmc/u-boot/drivers/rtc/
H A Drtc-uclass.c62 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep) in rtc_read16() argument
75 *valuep = value; in rtc_read16()
92 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep) in rtc_read32() argument
105 *valuep = value; in rtc_read32()
/openbmc/qemu/hw/intc/
H A Dsh_intc.c205 unsigned long *valuep; in sh_intc_read() local
207 sh_intc_locate(desc, (unsigned long)offset, &valuep, in sh_intc_read()
209 trace_sh_intc_read(size, (uint64_t)offset, *valuep); in sh_intc_read()
210 return *valuep; in sh_intc_read()
221 unsigned long *valuep; in sh_intc_write() local
226 sh_intc_locate(desc, (unsigned long)offset, &valuep, in sh_intc_write()
232 value |= *valuep; in sh_intc_write()
235 value = *valuep & ~value; in sh_intc_write()
245 if ((*valuep & mask) != (value & mask)) { in sh_intc_write()
250 *valuep = value; in sh_intc_write()
/openbmc/u-boot/include/
H A Dpci.h872 ulong *valuep, enum pci_size_t size);
1040 unsigned long *valuep, enum pci_size_t size);
1104 int pci_read_config32(pci_dev_t pcidev, int offset, u32 *valuep);
1106 int pci_read_config8(pci_dev_t pcidev, int offset, u8 *valuep);
1156 ulong *valuep,
1183 u32 *valuep) in pci_read_config_dword() argument
1185 return pci_read_config32(pcidev, offset, valuep); in pci_read_config_dword()
1190 u16 *valuep) in pci_read_config_word() argument
1192 return pci_read_config16(pcidev, offset, valuep); in pci_read_config_word()
1197 u8 *valuep) in pci_read_config_byte() argument
[all …]
H A Drtc.h137 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep);
157 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep);
/openbmc/u-boot/arch/sandbox/lib/
H A Dpci_io.c51 static int pci_io_read(unsigned int addr, ulong *valuep, pci_size_t size) in pci_io_read() argument
56 *valuep = pci_get_ff(size); in pci_io_read()
63 ret = (ops->read_io)(dev, addr, valuep, size); in pci_io_read()
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dquark.h209 u32 *valuep) in qrk_pci_read_config_dword() argument
212 *valuep = inl(PCI_REG_DATA); in qrk_pci_read_config_dword()
/openbmc/u-boot/arch/x86/include/asm/
H A Dpci.h21 ulong *valuep, enum pci_size_t size);
/openbmc/linux/scripts/dtc/
H A Dfdtput.c57 char **valuep, int *value_len) in encode_value() argument
114 *valuep = value; in encode_value()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_fs.c1992 u8 *valuep,
2177 u8 *valuep, struct usb_descriptor_header *desc, in __ffs_data_do_entity() argument
2193 if (*valuep >= helper->interfaces_count) in __ffs_data_do_entity()
2194 helper->interfaces_count = *valuep + 1; in __ffs_data_do_entity()
2202 if (*valuep > helper->ffs->strings_count) in __ffs_data_do_entity()
2203 helper->ffs->strings_count = *valuep; in __ffs_data_do_entity()
2792 func->function.ss_descriptors[(long)valuep] = desc; in __ffs_func_bind_do_descs()
2885 idx = *valuep; in __ffs_func_bind_do_nums()
2908 idx = (*valuep & USB_ENDPOINT_NUMBER_MASK) - 1; in __ffs_func_bind_do_nums()
2920 pr_vdebug("%02x -> %02x\n", *valuep, newValue); in __ffs_func_bind_do_nums()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c246 int *fieldp, int *valuep, in get_config_reg() argument
276 *valuep = n; in get_config_reg()
/openbmc/linux/include/drm/display/
H A Ddrm_dp_helper.h476 unsigned int offset, u8 *valuep) in drm_dp_dpcd_readb() argument
478 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c190 unsigned int *fieldp, u32 *valuep) in sh_pfc_get_config_reg() argument
221 *valuep = n; in sh_pfc_get_config_reg()

12