Home
last modified time | relevance | path

Searched refs:bitfield (Results 1 – 15 of 15) 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/staging/kpc2000/
Dkpc2000_spi.c131 } bitfield; member
147 } bitfield; member
155 } bitfield; member
277 sc.bitfield.wl = spidev->bits_per_word - 1; in kp_spi_setup()
278 sc.bitfield.cs = spidev->chip_select; in kp_spi_setup()
279 sc.bitfield.spi_en = 0; in kp_spi_setup()
280 sc.bitfield.trm = 0; in kp_spi_setup()
281 sc.bitfield.ffen = 0; in kp_spi_setup()
336 sc.bitfield.spi_en = 1; in kp_spi_transfer_one_message()
364 sc.bitfield.trm = KP_SPI_REG_CONFIG_TRM_TX; in kp_spi_transfer_one_message()
[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.c102 ret = be16_to_cpu(h->bitfield) & mask; in vidtv_psi_get_sec_len()
113 ret = be16_to_cpu(p->bitfield) & mask; in vidtv_psi_get_pat_program_pid()
124 ret = be16_to_cpu(s->bitfield) & mask; in vidtv_psi_pmt_stream_get_elem_pid()
128 static void vidtv_psi_set_desc_loop_len(__be16 *bitfield, u16 new_len, in vidtv_psi_set_desc_loop_len() argument
136 new = cpu_to_be16((be16_to_cpu(*bitfield) & mask) | new_len); in vidtv_psi_set_desc_loop_len()
137 *bitfield = new; in vidtv_psi_set_desc_loop_len()
148 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len()
156 h->bitfield = new; in vidtv_psi_set_sec_len()
169 .bitfield = cpu_to_be16((args->new_psi_section << 14) | args->pid), in vidtv_psi_ts_psi_write_into()
887 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/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.c190 #define SFRB(field_name, reg_name, bitfield, post_fix)\ argument
191 .field_name = reg_name ## __ ## bitfield ## post_fix
/drivers/net/vmxnet3/
Dvmxnet3_drv.c264 static u32 get_bitfield32(const __le32 *bitfield, u32 pos, u32 size) in get_bitfield32() argument
266 u32 temp = le32_to_cpu(*bitfield); in get_bitfield32()