Searched refs:and_mask (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/comedi/drivers/ |
| H A D | dt9812.c | 203 u8 and_mask; member 422 rmw->and_mask = 0xe0; in dt9812_configure_mux() 427 rmw->and_mask = 0xff; in dt9812_configure_mux() 443 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 | in dt9812_configure_gain() 504 rmw[2].and_mask = 0xff; in dt9812_analog_in() 560 rmw[0].and_mask = 0xff; in dt9812_analog_out() 565 rmw[1].and_mask = 0xff; in dt9812_analog_out() 570 rmw[2].and_mask = 0xff; in dt9812_analog_out() 577 rmw[0].and_mask = 0xff; in dt9812_analog_out() 582 rmw[1].and_mask = 0xff; in dt9812_analog_out() [all …]
|
| /linux/drivers/media/pci/cx23885/ |
| H A D | netup-init.c | 90 static void i2c_av_and_or(struct i2c_adapter *i2c, u16 reg, unsigned and_mask, in i2c_av_and_or() argument 93 i2c_av_write(i2c, reg, (i2c_av_read(i2c, reg) & and_mask) | or_value); in i2c_av_and_or()
|
| H A D | cx23888-ir.c | 154 u32 and_mask, u32 or_value) in cx23888_ir_and_or4() argument 156 cx_andor(addr, ~and_mask, or_value); in cx23888_ir_and_or4()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_combios.c | 2872 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local 2898 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2903 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 2952 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2957 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() 3003 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local 3019 and_mask = RBIOS32(offset); in combios_parse_mmio_table() 3024 tmp &= and_mask; in combios_parse_mmio_table() [all …]
|
| /linux/drivers/media/i2c/cx25840/ |
| H A D | cx25840-core.h | 161 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | ns83820.c | 1675 u32 and_mask = 0xffffffff; local 1682 and_mask &= ~(RFCR_AAU | RFCR_AAM); 1687 and_mask &= ~RFCR_AAM; 1690 val = (readl(rfcr) & and_mask) | or_mask;
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_device.c | 953 u32 tmp, reg, and_mask, or_mask; in amdgpu_device_program_register_sequence() local 961 and_mask = registers[i + 1]; in amdgpu_device_program_register_sequence() 964 if (and_mask == 0xffffffff) { in amdgpu_device_program_register_sequence() 968 tmp &= ~and_mask; in amdgpu_device_program_register_sequence() 970 tmp |= (or_mask & and_mask); in amdgpu_device_program_register_sequence()
|