Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Ddt9812.c213 u8 and_mask; member
432 rmw->and_mask = 0xe0; in dt9812_configure_mux()
437 rmw->and_mask = 0xff; in dt9812_configure_mux()
453 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 | in dt9812_configure_gain()
514 rmw[2].and_mask = 0xff; in dt9812_analog_in()
570 rmw[0].and_mask = 0xff; in dt9812_analog_out()
575 rmw[1].and_mask = 0xff; in dt9812_analog_out()
580 rmw[2].and_mask = 0xff; in dt9812_analog_out()
587 rmw[0].and_mask = 0xff; in dt9812_analog_out()
592 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/gpu/drm/radeon/
Dradeon_combios.c2887 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local
2913 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2918 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
2967 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2972 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
2982 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup()
2987 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup()
3018 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local
3034 and_mask = RBIOS32(offset); in combios_parse_mmio_table()
3039 tmp &= and_mask; in combios_parse_mmio_table()
[all …]
Dradeon_device.c182 u32 tmp, reg, and_mask, or_mask; in radeon_program_register_sequence() local
190 and_mask = registers[i + 1]; in radeon_program_register_sequence()
193 if (and_mask == 0xffffffff) { in radeon_program_register_sequence()
197 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.h130 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/gpu/drm/amd/amdgpu/
Damdgpu_device.c304 u32 tmp, reg, and_mask, or_mask; in amdgpu_program_register_sequence() local
312 and_mask = registers[i + 1]; in amdgpu_program_register_sequence()
315 if (and_mask == 0xffffffff) { in amdgpu_program_register_sequence()
319 tmp &= ~and_mask; in amdgpu_program_register_sequence()
/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;