/openbmc/u-boot/drivers/misc/ |
H A D | swap_case.c | 71 *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 D | pcie_aspeed.c | 93 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 D | pci_sandbox.c | 43 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 D | pci-uclass.c | 382 *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 D | pcie_intel_fpga.c | 236 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 D | pcie_ecam_generic.c | 67 uint offset, ulong *valuep, in pci_generic_ecam_read_config() argument 71 bdf, offset, valuep, size); in pci_generic_ecam_read_config()
|
H A D | pcie_xilinx.c | 101 uint offset, ulong *valuep, in pcie_xilinx_read_config() argument 105 bdf, offset, valuep, size); in pcie_xilinx_read_config()
|
H A D | pci_mvebu.c | 140 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 D | pcie_dw_mvebu.c | 244 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 D | pci-aardvark.c | 301 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 D | pcie_layerscape.c | 275 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 D | pci.c | 20 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 D | control_compat.c | 219 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 D | rtc-uclass.c | 62 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 D | sh_intc.c | 205 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 D | pci.h | 872 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 D | rtc.h | 137 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 D | pci_io.c | 51 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 D | quark.h | 209 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 D | pci.h | 21 ulong *valuep, enum pci_size_t size);
|
/openbmc/linux/scripts/dtc/ |
H A D | fdtput.c | 57 char **valuep, int *value_len) in encode_value() argument 114 *valuep = value; in encode_value()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_fs.c | 1992 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 D | sh_pfc.c | 246 int *fieldp, int *valuep, in get_config_reg() argument 276 *valuep = n; in get_config_reg()
|
/openbmc/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 476 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 D | pfc.c | 190 unsigned int *fieldp, u32 *valuep) in sh_pfc_get_config_reg() argument 221 *valuep = n; in sh_pfc_get_config_reg()
|