Home
last modified time | relevance | path

Searched refs:and_mask (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/comedi/drivers/
Ddt9812.c212 u8 and_mask; member
375 rmw->and_mask = 0xe0; in dt9812_configure_mux()
380 rmw->and_mask = 0xff; in dt9812_configure_mux()
396 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 | in dt9812_configure_gain()
457 rmw[2].and_mask = 0xff; in dt9812_analog_in()
513 rmw[0].and_mask = 0xff; in dt9812_analog_out()
518 rmw[1].and_mask = 0xff; in dt9812_analog_out()
523 rmw[2].and_mask = 0xff; in dt9812_analog_out()
530 rmw[0].and_mask = 0xff; in dt9812_analog_out()
535 rmw[1].and_mask = 0xff; in dt9812_analog_out()
[all …]
/drivers/media/pci/cx23885/
Dnetup-init.c100 static void i2c_av_and_or(struct i2c_adapter *i2c, u16 reg, unsigned and_mask, in i2c_av_and_or() argument
103 i2c_av_write(i2c, reg, (i2c_av_read(i2c, reg) & and_mask) | or_value); in i2c_av_and_or()
Dcx23888-ir.c163 u32 and_mask, u32 or_value) in cx23888_ir_and_or4() argument
165 cx_andor(addr, ~and_mask, or_value); in cx23888_ir_and_or4()
/drivers/iio/adc/
Dmt6577_auxadc.c78 u32 or_mask, u32 and_mask) in mt6577_auxadc_mod_reg() argument
84 val &= ~and_mask; in mt6577_auxadc_mod_reg()
/drivers/gpu/drm/radeon/
Dradeon_combios.c2886 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local
2912 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2917 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
2966 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2971 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
2981 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2986 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
3017 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local
3033 and_mask = RBIOS32(offset); in combios_parse_mmio_table()
3038 tmp &= and_mask; in combios_parse_mmio_table()
[all …]
Dradeon_device.c196 u32 tmp, reg, and_mask, or_mask; in radeon_program_register_sequence() local
204 and_mask = registers[i + 1]; in radeon_program_register_sequence()
207 if (and_mask == 0xffffffff) { in radeon_program_register_sequence()
211 tmp &= ~and_mask; in radeon_program_register_sequence()
/drivers/media/pci/cx18/
Dcx18-av-core.c85 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, in cx18_av_and_or() argument
89 (cx18_av_read(cx, addr) & and_mask) | in cx18_av_and_or()
93 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, in cx18_av_and_or4() argument
97 (cx18_av_read4(cx, addr) & and_mask) | in cx18_av_and_or4()
/drivers/media/i2c/cx25840/
Dcx25840-core.h131 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
Dcx25840-core.c160 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned and_mask, in cx25840_and_or() argument
164 (cx25840_read(client, addr) & and_mask) | in cx25840_and_or()
168 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask, in cx25840_and_or4() argument
172 (cx25840_read4(client, addr) & and_mask) | in cx25840_and_or4()
/drivers/media/usb/cpia2/
Dcpia2.h241 u8 and_mask; member
/drivers/net/ethernet/natsemi/
Dns83820.c1694 u32 and_mask = 0xffffffff; local
1701 and_mask &= ~(RFCR_AAU | RFCR_AAM);
1706 and_mask &= ~RFCR_AAM;
1709 val = (readl(rfcr) & and_mask) | or_mask;
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c322 u32 tmp, reg, and_mask, or_mask; in amdgpu_program_register_sequence() local
330 and_mask = registers[i + 1]; in amdgpu_program_register_sequence()
333 if (and_mask == 0xffffffff) { in amdgpu_program_register_sequence()
337 tmp &= ~and_mask; in amdgpu_program_register_sequence()