Home
last modified time | relevance | path

Searched refs:bitfield (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.6.21/drivers/gpu/drm/i2c/
Dch7006_priv.h141 #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 …]
/linux-6.6.21/drivers/media/test-drivers/vidtv/
Dvidtv_psi.h151 __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
Dvidtv_psi.c100 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 …]
Dvidtv_pes.h63 __be16 bitfield; member
69 __be32 bitfield; /* packet_start_code_prefix:24, stream_id: 8 */ member
Dvidtv_ts.c57 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()
Dvidtv_s302m.h63 __be32 bitfield; member
Dvidtv_pes.c141 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()
Dvidtv_ts.h40 __be16 bitfield; /* tei: 1, payload_start:1 priority: 1, pid:13 */ member
/linux-6.6.21/arch/x86/include/asm/
Dapicdef.h255 /*170*/ u32 bitfield; member
260 /*1F0*/ u32 bitfield; member
265 /*270*/ u32 bitfield; member
/linux-6.6.21/drivers/mux/
DKconfig49 tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
52 MMIO/Regmap register bitfield-controlled Multiplexer controller.
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Drenesas,intc-irqpin.yaml41 sense-bitfield-width:
46 Width of a single sense bitfield in the SENSE register, if different from the
/linux-6.6.21/Documentation/devicetree/bindings/mux/
Dreg-mux.yaml7 title: Generic register bitfield-based multiplexer controller
32 - description: pre-shifted bitfield mask
/linux-6.6.21/Documentation/trace/coresight/
Dcoresight-etm4x-reference.rst30 ``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
/linux-6.6.21/Documentation/devicetree/bindings/gpio/
Dgpio-thunderx.txt8 - Second cell is a standard generic flag bitfield as described in gpio.txt.
/linux-6.6.21/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/
Dfirmware.txt13 - extended-modes: The Extended Modes bitfield, taken from the
/linux-6.6.21/Documentation/bpf/
Dllvm_reloc.rst293 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 */);
Dbtf.rst152 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
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/
Dtainted-kernels.rst74 個位域(bitfield),其中每個位表示一個特定類型的汙染的存在或不存在,最好讓
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dtainted-kernels.rst71 个位域(bitfield),其中每个位表示一个特定类型的污染的存在或不存在,最好让
/linux-6.6.21/Documentation/devicetree/bindings/devfreq/
Dnvidia,tegra30-actmon.yaml64 is a bitfield indicating SoC speedo ID mask.
/linux-6.6.21/Documentation/devicetree/bindings/media/
Dnvidia,tegra-vde.yaml74 which is a bitfield indicating SoC speedo or process ID mask.
/linux-6.6.21/tools/lib/bpf/
Drelo_core.c689 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()
/linux-6.6.21/Documentation/translations/ko_KR/
Dmemory-barriers.txt338 (*) 이 보장사항들은 bitfield 에는 적용되지 않는데, 컴파일러들은 bitfield
341 동기화에 bitfield 를 사용하려 하지 마십시오.
343 (*) bitfield 들이 여러 락으로 보호되는 경우라 하더라도, 하나의 bitfield
344 모든 필드들은 하나의 락으로 보호되어야 합니다. 만약 한 bitfield 의 두
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dpsp_gfx_if.h193 } bitfield; member
/linux-6.6.21/Documentation/devicetree/bindings/dma/
Dst,stm32-dma.yaml33 4. A 32bit bitfield value specifying DMA features which are device dependent:

123