/openbmc/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 141 #define __mask(src, bitfield) \ argument 142 (((2 << (1 ? bitfield)) - 1) & ~((1 << (0 ? bitfield)) - 1)) 143 #define mask(bitfield) __mask(bitfield) argument 145 #define __bitf(src, bitfield, x) \ argument 146 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield)) 147 #define bitf(bitfield, x) __bitf(bitfield, x) argument 148 #define bitfs(bitfield, s) __bitf(bitfield, bitfield##_##s) argument 149 #define setbitf(state, reg, bitfield, x) \ argument 150 state->regs[reg] = (state->regs[reg] & ~mask(reg##_##bitfield)) \ 151 | bitf(reg##_##bitfield, x) [all …]
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.h | 151 __be16 bitfield; /* syntax: 1, zero: 1, one: 2, section_length: 13 */ member 167 __be16 bitfield; /* reserved: 3, program_map_pid/network_pid: 13 */ member 191 __be16 bitfield; /* running_status: 3, free_ca:1, desc_loop_len:12 */ member 232 __be16 bitfield; /* reserved: 3, elementary_pid: 13 */ member 244 __be16 bitfield; /* reserved:3, pcr_pid: 13 */ member 655 __be16 bitfield; /* desc_len: 12, reserved: 4 */ member 672 __be16 bitfield; /* network_desc_len: 12, reserved:4 */ member 725 __be16 bitfield; /* desc_length: 12, free_CA_mode: 1, running_status: 1 */ member
|
H A D | vidtv_psi.c | 100 return be16_to_cpu(h->bitfield) & mask; in vidtv_psi_get_sec_len() 109 return be16_to_cpu(p->bitfield) & mask; in vidtv_psi_get_pat_program_pid() 118 return be16_to_cpu(s->bitfield) & mask; in vidtv_psi_pmt_stream_get_elem_pid() 121 static void vidtv_psi_set_desc_loop_len(__be16 *bitfield, u16 new_len, in vidtv_psi_set_desc_loop_len() argument 129 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len() 130 *bitfield = new; in vidtv_psi_set_desc_loop_len() 141 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len() 149 h->bitfield = new; in vidtv_psi_set_sec_len() 162 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into() 879 vidtv_psi_set_desc_loop_len(&s->bitfield, desc_loop_len, 12); in vidtv_psi_sdt_table_update_sec_len() [all …]
|
H A D | vidtv_pes.h | 63 __be16 bitfield; member 69 __be32 bitfield; /* packet_start_code_prefix:24, stream_id: 8 */ member
|
H A D | vidtv_ts.c | 57 ts_header.bitfield = cpu_to_be16(TS_NULL_PACKET_PID); in vidtv_ts_null_write_into() 93 ts_header.bitfield = cpu_to_be16(args.pid); in vidtv_ts_pcr_write_into()
|
H A D | vidtv_pes.c | 141 pes_header.bitfield = cpu_to_be32((PES_START_CODE_PREFIX << 8) | stream_id); in vidtv_pes_write_h() 152 pes_optional.bitfield = cpu_to_be16(pes_opt_bitfield); in vidtv_pes_write_h() 280 ts_header.bitfield = cpu_to_be16((payload_start << 14) | args.pid); in vidtv_pes_write_ts_h()
|
H A D | vidtv_s302m.h | 63 __be32 bitfield; member
|
H A D | vidtv_ts.h | 40 __be16 bitfield; /* tei: 1, payload_start:1 priority: 1, pid:13 */ member
|
/openbmc/u-boot/board/hisilicon/hikey/ |
H A D | hikey.c | 149 void hi6220_clk_enable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_enable() argument 154 data |= bitfield; in hi6220_clk_enable() 156 writel(bitfield, clk_base); in hi6220_clk_enable() 159 } while ((data & bitfield) == 0); in hi6220_clk_enable() 165 void hi6220_clk_disable(u32 bitfield, unsigned int *clk_base) in hi6220_clk_disable() argument 170 data |= bitfield; in hi6220_clk_disable() 175 } while (data & bitfield); in hi6220_clk_disable()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | octeon.decode | 33 @bitfield ...... rs:5 rt:5 lenm1:5 ..... ..... . p=%bitfield_p 37 EXTS 011100 ..... ..... ..... ..... 11101 . @bitfield 38 CINS 011100 ..... ..... ..... ..... 11001 . @bitfield
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
H A D | 0001-Use-unsigned-int-type-for-1-bit-integer-bitfield.patch | 4 Subject: [PATCH] Use unsigned int type for 1-bit integer bitfield 7 A signed bitfield composed of one bit can therefore store a value in the range -1 to 0. 8 Assigning a value of 1 to such a bitfield should produce a warning since it is out of range of repr…
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | apicdef.h | 255 /*170*/ u32 bitfield; member 260 /*1F0*/ u32 bitfield; member 265 /*270*/ u32 bitfield; member
|
/openbmc/linux/drivers/mux/ |
H A D | Kconfig | 49 tristate "MMIO/Regmap register bitfield-controlled Multiplexer" 52 MMIO/Regmap register bitfield-controlled Multiplexer controller.
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-etm4x-reference.rst | 30 ``echo bitfield > mode`` 32 bitfield up to 32 bits setting trace features. 298 ``echo bitfield > ns_exlevel_viinst`` 300 Where bitfield contains bits to set clear for EL0 to EL2 533 ``echo bitfield > event_instren`` 535 Where bitfield is up to 4 bits according to number of event fields. 648 This is a bitfield selection parameter that sets the overall trace mode for the
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_hpmfwupg.c | 344 generalPropResp.GeneralCompProperties.bitfield.rollbackBackup; in HpmfwupgTargetCheck() 346 generalPropResp.GeneralCompProperties.bitfield.payloadColdReset; in HpmfwupgTargetCheck() 348 generalPropResp.GeneralCompProperties.bitfield.deferredActivation; in HpmfwupgTargetCheck() 875 && pFwupgCtx->genCompProp[componentId].GeneralCompProperties.bitfield.rollbackBackup == 0) { in HpmfwupgPreUpgradeCheck() 895 … && pFwupgCtx->genCompProp[componentId].GeneralCompProperties.bitfield.preparationSupport == 0) { in HpmfwupgPreUpgradeCheck() 1303 …&& !pFwupgCtx->genCompProp[pFwupgCtx->componentId].GeneralCompProperties.bitfield.comparisonSuppor… in HpmFwupgActionUploadFirmware() 1375 …&& (pFwupgCtx->genCompProp[pFwupgCtx->componentId].GeneralCompProperties.bitfield.rollbackBackup !… in HpmfwupgActivationStage() 1559 … pCtx->resp.Response.generalPropResp.GeneralCompProperties.bitfield.payloadColdReset ? 'y' : 'n'); in HpmfwupgGetComponentProperties() 1561 …pCtx->resp.Response.generalPropResp.GeneralCompProperties.bitfield.deferredActivation ? 'y' : 'n'); in HpmfwupgGetComponentProperties() 1563 … pCtx->resp.Response.generalPropResp.GeneralCompProperties.bitfield.comparisonSupport ? 'y' : 'n'); in HpmfwupgGetComponentProperties() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-thunderx.txt | 8 - Second cell is a standard generic flag bitfield as described in gpio.txt.
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
H A D | firmware.txt | 13 - extended-modes: The Extended Modes bitfield, taken from the
|
/openbmc/libcper/include/libcper/ |
H A D | cper-utils.h | 48 json_object *bitfield_to_ir(UINT64 bitfield, int num_fields,
|
/openbmc/qemu/target/hexagon/imported/ |
H A D | shift.idef | 300 ATTRIBS(), "Split a bitfield into two registers", 307 ATTRIBS(), "Split a bitfield into two registers", 318 ATTRIBS(), "Extract signed bitfield", 327 ATTRIBS(), "Extract unsigned bitfield", 347 ATTRIBS(), "Extract signed bitfield", 356 ATTRIBS(), "Extract unsigned bitfield", 394 ATTRIBS(), "Extract signed bitfield", 404 ATTRIBS(), "Extract unsigned bitfield", 429 ATTRIBS(), "Extract signed bitfield", 438 ATTRIBS(), "Extract unsigned bitfield",
|
/openbmc/libcper/ |
H A D | cper-utils.c | 189 //Converts the given 64 bit bitfield to IR, assuming bit 0 starts on the left. in bitfield_to_ir() argument 190 json_object *bitfield_to_ir(UINT64 bitfield, int num_fields, in bitfield_to_ir() 196 json_object_new_boolean((bitfield >> i) & in bitfield_to_ir() 227 //Converts the given IR bitfield into a standard UINT64 bitfield, with fields beginning from bit 0. in ir_to_bitfield()
|
/openbmc/u-boot/scripts/ |
H A D | Makefile.extrawarn | 46 warning-3 += $(call cc-option, -Wpacked-bitfield-compat)
|
/openbmc/linux/Documentation/bpf/ |
H A D | llvm_reloc.rst | 293 BPF_CORE_FIELD_LSHIFT_U64 = 4, /* bitfield-specific left bitshift */ 294 BPF_CORE_FIELD_RSHIFT_U64 = 5, /* bitfield-specific right bitshift */ 307 supposed to be used to read bitfield values using the following 312 // To read bitfield ``f`` from ``struct s`` 474 *g = __builtin_preserve_field_info(s->c, 4 /* bitfield left shift */); 475 *g = __builtin_preserve_field_info(s->c, 5 /* bitfield right shift */);
|
H A D | btf.rst | 152 type. For example, a 4-bit bitfield encodes ``BTF_INT_BITS()`` equals to 4. 157 for this int. For example, a bitfield struct member has: 166 Alternatively, the bitfield struct member can be the following to access the 174 bitfield encoding. Currently, both llvm and pahole generate 258 of the member. Note that the base type of the bitfield can only be int or enum 259 type. If the bitfield size is 32, the base type can be either int or enum 260 type. If the bitfield size is not 32, the base type must be int, and int type 261 ``BTF_INT_BITS()`` encodes the bitfield size. 264 bitfield size and bit offset. The bitfield size and bit offset are calculated
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0011-efi-corstone1000-fwu-introduce-EFI-capsule-update.patch | 129 +#include <linux/bitfield.h> 148 +#include <linux/bitfield.h> 327 +#include <linux/bitfield.h>
|
/openbmc/linux/tools/lib/bpf/ |
H A D | relo_core.c | 689 bool bitfield; in bpf_core_calc_field_relo() local 735 bitfield = bit_sz > 0; in bpf_core_calc_field_relo() 736 if (bitfield) { in bpf_core_calc_field_relo() 764 *validate = !bitfield; in bpf_core_calc_field_relo() 769 if (!bitfield) { in bpf_core_calc_field_relo()
|