Home
last modified time | relevance | path

Searched +full:data +full:- +full:size (Results 1 – 25 of 1122) sorted by relevance

12345678910>>...45

/openbmc/qemu/hw/misc/
H A Dtrace-events3 # allwinner-cpucfg.c
5 …nner_cpucfg_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PR…
6 …ner_cpucfg_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PR…
8 # allwinner-h3-dramc.c
11 …_dramcom_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
12 …dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%…
13 …_dramctl_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
14 …dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%…
15 …_dramphy_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%"…
16 …dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 " data 0x%…
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/bonnie/bonnie++/
H A Dfix-csv2html-data.patch5 csv2html: Explicitly reference data in top level
7 With g++ 11 *data* became ambiguous with [std::data][1]. Therefore it's
10 [1] https://en.cppreference.com/w/cpp/iterator/data
12 Upstream-Status: Submitted [https://salsa.debian.org/etbe/bonnie/-/merge_requests/3/diffs?commit_id…
14 diff --git a/bon_csv2html.cpp b/bon_csv2html.cpp
16 --- a/bon_csv2html.cpp
18 @@ -87,8 +87,8 @@ int main(int argc, char **argv)
22 - props = new PPCCHAR[data.size()];
23 - for(i = 0; i < data.size(); i++)
24 + props = new PPCCHAR[::data.size()];
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D261.out5 Formatting 'TEST_DIR/t.IMGFMT.v2.orig', fmt=IMGFMT size=67108864
11 Extra data size: 0
15 Extra data size: 50
16 VM state size: 0
17 Disk size: 67108864
19 Unknown extra data: very important data
23 Extra data size: 8
24 VM state size: 0
33 Extra data size: 24
34 VM state size: 0
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dioctl.c34 struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop() argument
38 } *args = data; in nvkm_ioctl_nop()
39 int ret = -ENOSYS; in nvkm_ioctl_nop()
41 nvif_ioctl(object, "nop size %d\n", size); in nvkm_ioctl_nop()
42 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_ioctl_nop()
43 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop()
44 args->v0.version = NVIF_VERSION_LATEST; in nvkm_ioctl_nop()
55 if ( object->func->uevent && in nvkm_ioctl_sclass_()
56 !object->func->uevent(object, NULL, 0, NULL) && index-- == 0) { in nvkm_ioctl_sclass_()
57 oclass->ctor = nvkm_uevent_new; in nvkm_ioctl_sclass_()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-hbitmap.c2 * Hierarchical bitmap unit-tests.
9 * See the COPYING file in the top-level directory.
26 size_t size; member
32 /* Check that the HBitmap and the shadow bitmap contain the same data,
35 static void hbitmap_test_check(TestHBitmapData *data, in hbitmap_test_check() argument
44 hbitmap_iter_init(&hbi, data->hb, first); in hbitmap_test_check()
50 next = data->size; in hbitmap_test_check()
55 bit = i & (BITS_PER_LONG - 1); in hbitmap_test_check()
57 g_assert_cmpint(data->bits[pos] & (1UL << bit), ==, 0); in hbitmap_test_check()
60 if (next == data->size) { in hbitmap_test_check()
[all …]
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dfw_inc.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc.
4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
21 u32 size, const char *msg) in wil_fw_addr_check() argument
23 *ioaddr = wmi_buffer_block(wil, val, size); in wil_fw_addr_check()
32 * wil_fw_verify - verify firmware file validity
37 * Return file size or negative error
39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument
41 const struct wil_fw_record_head *hdr = (const void *)data; in wil_fw_verify()
47 if (size % 4) { in wil_fw_verify()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Dsp_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
53 \param value[in] The data to be written
66 \param value[in] The data to be written
117 \param data[in] The data to be written
118 \param size[in] The size(in bytes) of the data to be written
120 \return none, SP[ID].dmem[addr...addr+size-1] = data
125 const void *data,
126 const size_t size);
132 \param data[in] The data to be read
133 \param size[in] The size(in bytes) of the data to be read
[all …]
/openbmc/u-boot/include/
H A Daxi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * enum axi_size_t - Determine size of AXI transfer
12 * @AXI_SIZE_8: AXI sransfer is 8-bit wide
13 * @AXI_SIZE_16: AXI sransfer is 16-bit wide
14 * @AXI_SIZE_32: AXI sransfer is 32-bit wide
24 * read() - Read a single value from a specified address on a AXI bus
27 * @data: Pointer to a variable that takes the data value read
29 * @size: The size of the data to be read.
31 * Return: 0 if OK, -ve on error.
33 int (*read)(struct udevice *dev, ulong address, void *data,
[all …]
/openbmc/qemu/hw/pci-host/
H A Dtrace-events4 aspeed_pcie_phy_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
5 aspeed_pcie_phy_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
6 aspeed_pcie_cfg_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
7 aspeed_pcie_cfg_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
8 …8_t bus, uint8_t devfn, uint64_t offset, uint64_t data) "%s bus:0x%x devfn:0x%x addr 0x%" PRIx64 "…
9 aspeed_pcie_cfg_msi_notify(uint64_t offset, uint64_t data) "@0x%" PRIx64 " IRQ 0x%" PRIx64
11 aspeed_pcie_rc_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
12 aspeed_pcie_rc_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
15 …nf_small_access(uint64_t addr, unsigned size) "PCI config address is smaller then 32-bit, addr: 0x…
23 gt64120_read_intreg(const char *regname, unsigned size, uint64_t value) "gt64120 read %s size:%u va…
[all …]
/openbmc/linux/tools/perf/util/
H A Dzstd.c1 // SPDX-License-Identifier: GPL-2.0
8 int zstd_init(struct zstd_data *data, int level) in zstd_init() argument
12 data->dstream = ZSTD_createDStream(); in zstd_init()
13 if (data->dstream == NULL) { in zstd_init()
15 return -1; in zstd_init()
18 ret = ZSTD_initDStream(data->dstream); in zstd_init()
21 return -1; in zstd_init()
27 data->cstream = ZSTD_createCStream(); in zstd_init()
28 if (data->cstream == NULL) { in zstd_init()
30 return -1; in zstd_init()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dbios_table.cpp23 auto padSize = ((table.size() % 4) ? (4 - table.size() % 4) : 0); in buildTable()
25 uint32_t checksum = crc32(table.data(), table.size()); in buildTable()
52 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) in TEST()
53 reinterpret_cast<struct pldm_bios_attr_table_entry*>(enumEntry.data()); in TEST()
76 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) in TEST()
77 reinterpret_cast<struct pldm_bios_attr_table_entry*>(enumEntry.data()); in TEST()
89 entry, pvHandles.data(), pvHandles.size()), in TEST()
96 entry, pvHandles.data(), pvHandles.size()), in TEST()
101 rc = pldm_bios_table_attr_entry_enum_decode_pv_hdls(entry, pvHandles.data(), in TEST()
102 pvHandles.size()); in TEST()
[all …]
H A Dpdr.cpp26 std::array<uint8_t, 10> data{}; in TEST() local
28 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
32 EXPECT_EQ(pldm_pdr_get_repo_size(repo), data.size()); in TEST()
35 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
40 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
45 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
49 EXPECT_EQ(pldm_pdr_get_repo_size(repo), data.size() * 4u); in TEST()
56 std::array<uint8_t, 10> data{}; in TEST() local
60 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, NULL), 0); in TEST()
66 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), true, 2, NULL), 0); in TEST()
[all …]
/openbmc/qemu/hw/timer/
H A Dtrace-events34 aspeed_timer_read(uint64_t offset, unsigned size, uint64_t value) "From 0x%" PRIx64 ": of size %u: …
39 …read(uint64_t addr, uint32_t value, unsigned size) "systick read addr 0x%" PRIx64 " data 0x%" PRIx…
40 …rite(uint64_t addr, uint32_t value, unsigned size) "systick write addr 0x%" PRIx64 " data 0x%" PRI…
42 # cmsdk-apb-timer.c
43 …_read(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB timer read: offset 0x%" PRIx64 " d…
44 …write(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB timer write: offset 0x%" PRIx64 "
47 # cmsdk-apb-dualtimer.c
48 …ead(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB dualtimer read: offset 0x%" PRIx64 "…
49 …ite(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB dualtimer write: offset 0x%" PRIx64 …
54 imx_gpt_read(const char *name, uint64_t value) "%s -> 0x%08" PRIx64
[all …]
/openbmc/linux/kernel/
H A Dregset.c1 // SPDX-License-Identifier: GPL-2.0-only
8 unsigned int size, in __regset_get() argument
9 void **data) in __regset_get() argument
11 void *p = *data, *to_free = NULL; in __regset_get()
14 if (!regset->regset_get) in __regset_get()
15 return -EOPNOTSUPP; in __regset_get()
16 if (size > regset->n * regset->size) in __regset_get()
17 size = regset->n * regset->size; in __regset_get()
19 to_free = p = kzalloc(size, GFP_KERNEL); in __regset_get()
21 return -ENOMEM; in __regset_get()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dipc3-control.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
10 #include "sof-priv.h"
11 #include "sof-audio.h"
12 #include "ipc3-priv.h"
18 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scontrol->scomp); in sof_ipc3_set_get_kcontrol_data()
19 struct sof_ipc_ctrl_data *cdata = scontrol->ipc_control_data; in sof_ipc3_set_get_kcontrol_data()
20 const struct sof_ipc_ops *iops = sdev->ipc->ops; in sof_ipc3_set_get_kcontrol_data()
27 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc3_set_get_kcontrol_data()
28 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc3_set_get_kcontrol_data()
35 dev_err(sdev->dev, "%s: can't find widget with id %d\n", __func__, in sof_ipc3_set_get_kcontrol_data()
[all …]
H A Dipc4-control.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
10 #include "sof-priv.h"
11 #include "sof-audio.h"
12 #include "ipc4-priv.h"
13 #include "ipc4-topology.h"
18 struct sof_ipc4_control_data *cdata = scontrol->ipc_control_data; in sof_ipc4_set_get_kcontrol_data()
19 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_set_get_kcontrol_data()
21 const struct sof_ipc_ops *iops = sdev->ipc->ops; in sof_ipc4_set_get_kcontrol_data()
22 struct sof_ipc4_msg *msg = &cdata->msg; in sof_ipc4_set_get_kcontrol_data()
28 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_set_get_kcontrol_data()
[all …]
/openbmc/openpower-hw-diags/attn/pel/
H A Dstream.hpp21 * @brief A host-to-network implementation for uint64_t
23 * @param[in] value - the value to convert to
24 * @return uint64_t - the byteswapped value
32 * @brief A network-to-host implementation for uint64_t
34 * @param[in] value - the value to convert to
35 * @return uint64_t - the byteswapped value
46 * This class is used for getting data types into and out of a vector<uint8_t>
47 * that contains data in network byte (big endian) ordering.
62 * @param[in] data - the vector of data
64 explicit Stream(std::vector<uint8_t>& data) : _data(data), _offset(0) {} in Stream() argument
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dstream.hpp21 * @brief A host-to-network implementation for uint64_t
23 * @param[in] value - the value to convert to
24 * @return uint64_t - the byteswapped value
32 * @brief A network-to-host implementation for uint64_t
34 * @param[in] value - the value to convert to
35 * @return uint64_t - the byteswapped value
46 * This class is used for getting data types into and out of a vector<uint8_t>
47 * that contains data in network byte (big endian) ordering.
62 * @param[in] data - the vector of data
64 explicit Stream(std::vector<uint8_t>& data) : _data(data), _offset(0) {} in Stream() argument
[all …]
/openbmc/linux/drivers/acpi/
H A Dnvs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
5 * Copyright (C) 2008-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
23 __u64 size; member
30 static int suspend_nvs_register(unsigned long start, unsigned long size);
38 int acpi_nvs_register(__u64 start, __u64 size) in acpi_nvs_register() argument
44 return -ENOMEM; in acpi_nvs_register()
45 region->phys_start = start; in acpi_nvs_register()
46 region->size = size; in acpi_nvs_register()
47 list_add_tail(&region->node, &nvs_region_list); in acpi_nvs_register()
[all …]
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "delta-ipc.h"
11 #include "delta-mem.h"
38 #define msg_to_ctx(msg) ((struct delta_ipc_ctx *)(msg)->header.host_hdl)
39 #define msg_to_copro_hdl(msg) ((msg)->header.copro_hdl)
43 return (ctx->ipc_buf->paddr + (vaddr - ctx->ipc_buf->vaddr)); in to_paddr()
47 void *data, u32 size) in is_valid_data() argument
49 return ((data >= ctx->ipc_buf->vaddr) && in is_valid_data()
50 ((data + size) <= (ctx->ipc_buf->vaddr + ctx->ipc_buf->size))); in is_valid_data()
58 * this IPC shared memory, avoiding de-facto recopies inside delta-ipc.
[all …]
/openbmc/linux/lib/
H A Dgenalloc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * kmalloc/kfree interface. Uses for this includes on-device special
21 * On architectures that don't have NMI-safe cmpxchg implementation,
26 * Copyright 2005 (C) Jes Sorensen <jes@trained-monkey.org>
42 return chunk->end_addr - chunk->start_addr + 1; in chunk_size()
52 return -EBUSY; in set_bits_ll()
66 return -EBUSY; in clear_bits_ll()
74 * bitmap_set_ll - set the specified number of bits at the specified position
79 * Set @nr bits start from @start in @map lock-lessly. Several users
88 const unsigned long size = start + nr; in bitmap_set_ll() local
[all …]
/openbmc/linux/include/linux/
H A Dgenalloc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * kmalloc/kfree interface. Uses for this includes on-device special
21 * On architectures that don't have NMI-safe cmpxchg implementation,
42 * @size: The bitmap size in bits
45 * @data: optional additional data used by the callback
49 unsigned long size,
52 void *data, struct gen_pool *pool,
64 void *data; member
76 void *owner; /* private data to retrieve at alloc time */
83 * gen_pool data descriptor for gen_pool_first_fit_align.
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "extensions/openpower-pels/private_header.hpp"
19 #include "extensions/openpower-pels/user_header.hpp"
36 0x00, 0x30, // Size
54 0x00, 0x18, // Size
73 0x00, 0x48, // SRC structure size
75 // Hex words 2 - 9
88 'T', 'T', 'T', 'T', '-', 'M', 'M', 'M', '1', '2',
102 'T', 'T', 'T', 'T', '-', 'M', 'M', 'M', '1', '2', '3', '4', '5', '6', '7',
122 'I', 'D', 0x1C, 0x1D, // type, size, flags
[all …]
H A Dsrc_callout_test.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "extensions/openpower-pels/callout.hpp"
27 // The base data. in TEST()
28 std::vector<uint8_t> data{ in TEST() local
29 0xFF, 0x2F, 'H', 8, // size, flags, priority, LC length in TEST()
30 'U', '1', '2', '-', 'P', '1', 0x00, 0x00 // LC in TEST()
38 data.insert(data.end(), fruIdentity.begin(), fruIdentity.end()); in TEST()
39 data.insert(data.end(), pceIdentity.begin(), pceIdentity.end()); in TEST()
40 data.insert(data.end(), mrus.begin(), mrus.end()); in TEST()
42 // The final size in TEST()
[all …]
/openbmc/linux/arch/mips/pci/
H A Dops-bcm63xx.c15 #include "pci-bcm63xx.h"
18 * swizzle 32bits data to return only the needed part
20 static int postprocess_read(u32 data, int where, unsigned int size) in postprocess_read() argument
25 switch (size) { in postprocess_read()
27 ret = (data >> ((where & 3) << 3)) & 0xff; in postprocess_read()
30 ret = (data >> ((where & 3) << 3)) & 0xffff; in postprocess_read()
33 ret = data; in postprocess_read()
40 unsigned int size) in preprocess_write() argument
45 switch (size) { in preprocess_write()
101 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_read() argument
[all …]

12345678910>>...45