Home
last modified time | relevance | path

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

12345678910>>...41

/openbmc/qemu/rust/hw/char/pl011/src/
H A Dregisters.rs3 // SPDX-License-Identifier: GPL-2.0-or-later
6 //! integer bitmaps. [`Data`], [`Control`], [`LineControl`], etc.
12 use bits::bits;
21 /// Data Register
23 /// A write to this register initiates the actual data transmission
40 /// `IrDA` Low-Power Counter Register
48 /// line control register (data frame format)
76 /// Receive Status Register / Data Register common error bits
91 /// Data Register, `UARTDR`
93 /// The `UARTDR` register is the data register; write for TX and
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D112.out6 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
8 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
10 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
12 qemu-img: TEST_DIR/t.IMGFMT: Refcount width must be a power of two and may not exceed 64 bits
14 refcount bits: 1
16 refcount bits: 64
18 refcount bits: 16
23 refcount bits: 16
25 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1…
27 qemu-img: TEST_DIR/t.IMGFMT: Different refcount widths than 16 bits require compatibility level 1.1…
[all …]
H A D0654 # Test for additional information emitted by qemu-img info on qcow2
38 qemu_img('create', '-f', iotests.imgfmt, '-o', self.img_options,
45 '''Abstract base class for qemu-img info tests'''
52 data = qemu_img_info(test_img)['format-specific']
53 self.assertEqual(data['type'], iotests.imgfmt)
54 self.assertEqual(data['data'], self.json_compare)
57 data = qemu_img('info', '--output=human', test_img).stdout.split('\n')
58 data = data[(data.index('Format specific information:') + 1)
59 :data.index("Child node '/file':")]
60 for field in data:
[all …]
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dpmic_bus.c1 // SPDX-License-Identifier: GPL-2.0+
61 int pmic_bus_read(u8 reg, u8 *data) in pmic_bus_read() argument
64 return i2c_read(AXP152_I2C_ADDR, reg, 1, data, 1); in pmic_bus_read()
66 return i2c_read(AXP209_I2C_ADDR, reg, 1, data, 1); in pmic_bus_read()
69 return p2wi_read(reg, data); in pmic_bus_read()
71 return i2c_read(AXP209_I2C_ADDR, reg, 1, data, 1); in pmic_bus_read()
73 return rsb_read(AXP223_RUNTIME_ADDR, reg, data); in pmic_bus_read()
78 int pmic_bus_write(u8 reg, u8 data) in pmic_bus_write() argument
81 return i2c_write(AXP152_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
83 return i2c_write(AXP209_I2C_ADDR, reg, 1, &data, 1); in pmic_bus_write()
[all …]
/openbmc/u-boot/scripts/dtc/
H A Ddtc-parser.y17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
43 struct data data; member
46 struct data data; member
47 int bits; member
70 %token <data> DT_STRING
75 %type <data> propdata
76 %type <data> propdataprefix
82 %type <data> bytestring
155 add_label(&$2->labels, $1);
174 * so $-1 is what we want (plugindecl)
[all …]
/openbmc/u-boot/include/
H A Dspi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Common SPI Interface: Controller-specific definitions
22 #define SPI_LSB_FIRST BIT(3) /* per-word bits-on-wire */
46 * struct dm_spi_platdata - platform data for all SPI slaves
50 * dev_get_parent_platdata(slave->dev).
52 * This data is immuatable. Each time the device is probed, @max_hz and @mode
55 * @cs: Chip select number (0..n-1)
68 * struct spi_slave - Representation of a SPI slave
70 * For driver model this is the per-child data used by the SPI bus. It can
73 * driver should not override it. Two platform data fields (max_hz and mode)
[all …]
/openbmc/qemu/docs/interop/
H A Dqed_spec.rst7 +----------+----------+----------+-----+
9 +----------+----------+----------+-----+
14 a ``data cluster``, an ``L2``, or an ``L1 table``. L1 and L2 tables are composed
19 if data is written. Legitimate extra information should use space between the header
22 All fields are little-endian.
25 ------
36 uint64_t features; /* format feature bits */
37 uint64_t compat_features; /* compat feature bits */
38 uint64_t autoclear_features; /* self-resetting feature bits */
51 - ``cluster_size`` must be a power of 2 in range [2^12, 2^26].
[all …]
H A Dqcow2.rst7 both for actual guest data and for image metadata.
15 ------
19 Byte 0 - 3: magic
22 4 - 7: version
25 8 - 15: backing_file_offset
30 Note: backing files are incompatible with raw external data
31 files (auto-clear feature bit 1).
33 16 - 19: backing_file_size
38 20 - 23: cluster_bits
39 Number of bits that are used for addressing an offset
[all …]
/openbmc/qemu/ui/
H A Dvnc-enc-tight.h6 * Copyright (C) 2000-2002 Constantin Kaplinsky. All Rights Reserved.
33 /*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
36 *-- The first byte of each Tight-encoded rectangle is a "compression control
43 * bits 7-4: if 1000 (0x08), then the compression type is "fill",
49 * If the compression type is "basic", then bits 6..4 of the
52 * bits 5-4: decimal representation is the index of a particular zlib
53 * stream which should be used for decompressing the data;
56 *-- The data that follows after the compression control byte described
59 *-- If the compression type is "fill", then the only pixel value follows, in
63 *-- If the compression type is "jpeg" or "png", the following data stream
[all …]
/openbmc/u-boot/fs/jffs2/
H A Dmini_inflate.c1 // SPDX-License-Identifier: GPL-2.0+
2 /*-------------------------------------------------------------------------
8 *-----------------------------------------------------------------------*/
19 n--; in cramfs_memset()
20 for (;n > 0; n--) s[n] = c; in cramfs_memset()
24 /* associate a stream with a block of data and reset the stream */
25 static void init_stream(struct bitstream *stream, unsigned char *data, in init_stream() argument
28 stream->error = NO_ERROR; in init_stream()
29 stream->memcpy = inflate_memcpy; in init_stream()
30 stream->decoded = 0; in init_stream()
[all …]
/openbmc/qemu/tests/tcg/multiarch/
H A Doverflow.c27 int a1_add = -2147483648;
28 int b1_add = -2147483648;
29 long long a2_add = -9223372036854775808ULL;
30 long long b2_add = -9223372036854775808ULL;
33 int b1_sub = -2147483648;
35 long long b2_sub = -9223372036854775808ULL;
42 fprintf(stderr, "data overflow while adding 32 bits\n"); in main()
46 fprintf(stderr, "data overflow while adding 64 bits\n"); in main()
50 fprintf(stderr, "data overflow while subtracting 32 bits\n"); in main()
54 fprintf(stderr, "data overflow while subtracting 64 bits\n"); in main()
/openbmc/u-boot/drivers/net/
H A Daltera_tse.h30 * Note: The control byte physically occupies bits [31:24] in memory.
31 * The following bit-offsets are expressed relative to the LSB of
42 * Note: The status byte physically occupies bits [23:16] in memory.
43 * The following bit-offsets are expressed relative to the LSB of
50 * 64 bits for each address. To support ANSI C, the
51 * struct implementing a descriptor places 32-bits
57 * Buffer Descriptor data structure
61 u32 source; /* the address of data to be read. */
64 u32 destination; /* the address to write data */
80 /* SG-DMA Control/Status Slave registers map */
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dscan_manager.c1 // SPDX-License-Identifier: GPL-2.0+
22 * Maximum length of TDI_TDO packet payload is 128 bits,
23 * represented by (length - 1) in TDI_TDO header.
38 * scan_chain_engine_is_idle() - Check if the JTAG scan chain is idle
51 status = readl(&scan_manager_base->stat); in scan_chain_engine_is_idle()
54 } while (max_iter--); in scan_chain_engine_is_idle()
56 return -ETIMEDOUT; in scan_chain_engine_is_idle()
66 * scan_mgr_jtag_io() - Access the JTAG chain
69 * @parg: Payload argument or data
75 u32 data = parg; in scan_mgr_jtag_io() local
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gicv3_dist.c20 * 0b00: no access (NS accesses to bits for Secure interrupts will RAZ/WI)
26 * Given a (multiple-of-32) interrupt number, these mask functions return
37 uint64_t raw_nsacr = s->gicd_nsacr[irq / 16 + 1]; in mask_nsacr_ge1()
39 raw_nsacr = raw_nsacr << 32 | s->gicd_nsacr[irq / 16]; in mask_nsacr_ge1()
47 uint64_t raw_nsacr = s->gicd_nsacr[irq / 16 + 1]; in mask_nsacr_ge2()
49 raw_nsacr = raw_nsacr << 32 | s->gicd_nsacr[irq / 16]; in mask_nsacr_ge2()
62 /* Return a 32-bit mask which should be applied for this set of 32 in mask_group_and_nsacr()
68 if (!attrs.secure && !(s->gicd_ctlr & GICD_CTLR_DS)) { in mask_group_and_nsacr()
69 /* bits for Group 0 or Secure Group 1 interrupts are RAZ/WI in mask_group_and_nsacr()
70 * unless the NSACR bits permit access. in mask_group_and_nsacr()
[all …]
/openbmc/intel-ipmi-oem/src/
H A Dipmi_to_redfish_hooks.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
76 // Get the message data from eventData2 and eventData3 in biosMessageHook()
78 // error = eventData2 bits [3:0] in biosMessageHook()
81 // mode = eventData3 bits [3:0] in biosMessageHook()
137 // Get the message data from eventData2 and eventData3 in biosMessageHook()
140 // post LSB = eventData2 bits [7:0] in biosMessageHook()
142 // post MSB = eventData3 bits [7:0] in biosMessageHook()
174 // Get the message data from eventData2 in biosMessageHook()
176 // Node ID = eventData2 bits [7:0] in biosMessageHook()
206 // Get the message data from eventData2 and eventData3 in biosMessageHook()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/poco/poco/
H A D0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch4 Subject: [PATCH] SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied
7 On today's `gcc-15` poco fails to build as:
9 In file included from /build/source/Data/include/Poco/Data/Statement.h:27,
10 from /build/source/Data/include/Poco/Data/Session.h:23,
11 from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:22,
12 from /build/source/Data/src/ArchiveStrategy.cpp:15:
13 …/build/source/Data/include/Poco/Data/SimpleRowFormatter.h:114:21: error: declaration of 'std::_Req…
14 …s_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept [with _Tp = Poco::Data::SimpleRowFormatter…
15 … 114 | inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
17 In file included from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/new_allocator.h:36,
[all …]
/openbmc/u-boot/board/toradex/apalis_imx6/
H A Dddr-setup.cfg1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright (C) 2014-2016, Toradex AG
6 * Device Configuration Data (DCD)
9 * Addr-type Address Value
12 * Addr-type register length (1,2 or 4 bytes)
20 * memory bus width: 64 bits x16/x32/x64
22 * memory bus width: 64 bits x16/x32/x64
24 * memory bus width: 32 bits x16/x32
26 DATA 4, MX6_IOM_DRAM_SDQS0, 0x00000030
27 DATA 4, MX6_IOM_DRAM_SDQS1, 0x00000030
[all …]
/openbmc/u-boot/board/toradex/colibri_imx6/
H A Dddr-setup.cfg1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright (C) 2014-2016, Toradex AG
6 * Device Configuration Data (DCD)
9 * Addr-type Address Value
12 * Addr-type register length (1,2 or 4 bytes)
20 * memory bus width: 64 bits x16/x32/x64
22 * memory bus width: 64 bits x16/x32/x64
24 * memory bus width: 32 bits x16/x32
26 DATA 4, MX6_IOM_DRAM_SDQS0, 0x00000030
27 DATA 4, MX6_IOM_DRAM_SDQS1, 0x00000030
[all …]
/openbmc/u-boot/board/boundary/nitrogen6x/
H A Dddr-setup.cfg1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Device Configuration Data (DCD)
8 * Addr-type Address Value
11 * Addr-type register length (1,2 or 4 bytes)
19 * memory bus width: 64 bits x16/x32/x64
21 * memory bus width: 64 bits x16/x32/x64
23 * memory bus width: 32 bits x16/x32
25 DATA 4, MX6_IOM_DRAM_SDQS0, 0x00000030
26 DATA 4, MX6_IOM_DRAM_SDQS1, 0x00000030
27 DATA 4, MX6_IOM_DRAM_SDQS2, 0x00000030
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dsession_cmds.hpp12 // bits 30 & 31 (MSB) hold the instanceID, hence shifting by 30 bits
14 // bits 6 & 7 (MSB) hold the instanceID, hence shifting by 6 bits
20 * IPMI Request data for Set Session Privilege Level command
39 * IPMI Response data for Set Session Privilege Level command
72 * @param[in] inPayload - Request Data for the command
73 * @param[in] handler - Reference to the Message Handler
75 * @return Response data for the command
83 * IPMI Request data for Close Session command
94 * IPMI Response data for Close Session command
108 * executed over a local channel - e.g. the system interface). Closing
[all …]
/openbmc/qemu/include/qemu/
H A Dhbitmap.h2 * Hierarchical Bitmap Data Type
9 * later. See the COPYING file in the top-level directory.
16 #include "host-utils.h"
23 /* For 32-bit, the largest that fits in a 4 GiB address space.
24 * For 64-bit, the number of sectors in 1 PiB. Good luck, in
42 /* Entry offset into the last-level array of longs. */
45 /* The currently-active path in the tree. Each item of cur[i] stores
46 * the bits (i.e. the subtrees) yet to be processed under that node.
53 * @size: Number of bits in the bitmap.
55 * bits will be represented by a single bit. Each operation on a
[all …]
/openbmc/pldm/oem/ampere/event/
H A Doem_event_manager.hpp6 #include "platform-mc/manager.hpp"
86 * Bit 30:24 | Media slot number (0 - 63) This field can be used by UEFI
88 * | (7 bits)
91 * Bit 22 | Action: 0 - Insertion 1 - Removal
92 * Bit 21:18 | Function (4 bits)
93 * Bit 17:13 | Device (5 bits)
94 * Bit 12:5 | Bus (8 bits)
95 * Bit 4:0 | Segment (5 bits)
110 } __attribute__((packed)) bits; member
128 } __attribute__((packed)) bits; member
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_watchdog.robot10 Variables ../data/ipmi_raw_cmd_table.py
24 [Template] Execute IPMI Raw Command And Verify Response Data
35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires
43 Test IPMI Watchdog Timer Use Bits
44 [Documentation] Execute out of band set/get timer use bits for watchdog timer.
46 [Template] Execute IPMI Raw Command And Verify Response Data
60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits
61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer.
62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits
63 [Template] Execute IPMI Raw Command And Verify Response Data
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dmessage.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <ipmid/api-types.hpp>
22 #include <phosphor-logging/lg2.hpp>
91 // size to hold 64 bits plus one (possibly-)partial byte
97 * @brief a payload class that provides a mechanism to pack and unpack data
101 * variable-length functions, it is possible to have function signature have a
102 * Payload object, which will then allow the remaining data to be extracted as
120 explicit Payload(SecureBuffer&& data) : raw(std::move(data)) {} in Payload()
146 * @param sz - new size for the buffer
155 uint8_t* data() in data() function
[all …]
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/
H A Dtestacpi.py24 # SPDX-License-Identifier: BSD-3-Clause
24 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
34 import bits
35 import bits.mwait
70 if subtable.flags.bits.enabled:
81 if subtable.flags.bits.enabled:
93 # We special-case None here to avoid a double-failure for CPUs without a _PSS
124 with bits.mwait.use_hint(), bits.preserve_msr(IA32_PERF_CTL):
143 return bits.cpus()[0]
145 bclk = testutil.adjust_to_nearest(bits.bclk(), 100.0/12) * 1000000
[all …]

12345678910>>...41