Home
last modified time | relevance | path

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

/drivers/gpu/drm/i2c/
Dch7006_priv.h142 #define __mask(src, bitfield) \ argument
143 (((2 << (1 ? bitfield)) - 1) & ~((1 << (0 ? bitfield)) - 1))
144 #define mask(bitfield) __mask(bitfield) argument
146 #define __bitf(src, bitfield, x) \ argument
147 (((x) >> (src) << (0 ? bitfield)) & __mask(src, bitfield))
148 #define bitf(bitfield, x) __bitf(bitfield, x) argument
149 #define bitfs(bitfield, s) __bitf(bitfield, bitfield##_##s) argument
150 #define setbitf(state, reg, bitfield, x) \ argument
151 state->regs[reg] = (state->regs[reg] & ~mask(reg##_##bitfield)) \
152 | bitf(reg##_##bitfield, x)
[all …]
/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_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_s302m.h63 __be32 bitfield; member
Dvidtv_ts.h40 __be16 bitfield; /* tei: 1, payload_start:1 priority: 1, pid:13 */ member
Dvidtv_s302m.c334 h.bitfield = cpu_to_be32((p_sz << 16)); in vidtv_s302m_write_h()
/drivers/mux/
DKconfig49 tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
52 MMIO/Regmap register bitfield-controlled Multiplexer controller.
/drivers/gpu/drm/amd/amdgpu/
Dpsp_gfx_if.h192 } bitfield; member
Damdgpu_psp.c712 cmd->cmd.cmd_setup_tmr.bitfield.virt_phy_addr = 1; in psp_prep_tmr_cmd_buf()
/drivers/gpu/drm/msm/
DNOTES77 the downstream android fbdev driver), bitfield sizes, etc. My current
/drivers/atm/
Dfore200e.h83 #error unknown bitfield endianess
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c126 #define SFRB(field_name, reg_name, bitfield, post_fix)\ argument
127 .field_name = reg_name ## __ ## bitfield ## post_fix
/drivers/net/vmxnet3/
Dvmxnet3_drv.c290 static u32 get_bitfield32(const __le32 *bitfield, u32 pos, u32 size) in get_bitfield32() argument
292 u32 temp = le32_to_cpu(*bitfield); in get_bitfield32()