| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | soc15.h | 41 u32 and_mask; member 67 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \ argument 68 { ip##_HWIP, inst, reg##_BASE_IDX, reg, and_mask, or_mask }
|
| D | soc15.c | 422 if (entry->and_mask == 0xffffffff) { in soc15_program_register_sequence() 426 tmp &= ~(entry->and_mask); in soc15_program_register_sequence() 427 tmp |= (entry->or_mask & entry->and_mask); in soc15_program_register_sequence()
|
| D | amdgpu_device.c | 540 u32 tmp, reg, and_mask, or_mask; in amdgpu_device_program_register_sequence() local 548 and_mask = registers[i + 1]; in amdgpu_device_program_register_sequence() 551 if (and_mask == 0xffffffff) { in amdgpu_device_program_register_sequence() 555 tmp &= ~and_mask; in amdgpu_device_program_register_sequence() 557 tmp |= (or_mask & and_mask); in amdgpu_device_program_register_sequence()
|
| /Linux-v5.4/drivers/staging/comedi/drivers/ |
| D | dt9812.c | 203 u8 and_mask; member 366 rmw->and_mask = 0xe0; in dt9812_configure_mux() 371 rmw->and_mask = 0xff; in dt9812_configure_mux() 387 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 | in dt9812_configure_gain() 448 rmw[2].and_mask = 0xff; in dt9812_analog_in() 504 rmw[0].and_mask = 0xff; in dt9812_analog_out() 509 rmw[1].and_mask = 0xff; in dt9812_analog_out() 514 rmw[2].and_mask = 0xff; in dt9812_analog_out() 521 rmw[0].and_mask = 0xff; in dt9812_analog_out() 526 rmw[1].and_mask = 0xff; in dt9812_analog_out() [all …]
|
| /Linux-v5.4/drivers/media/pci/cx23885/ |
| 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()
|
| 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-v5.4/drivers/iio/adc/ |
| D | mt6577_auxadc.c | 91 u32 or_mask, u32 and_mask) in mt6577_auxadc_mod_reg() argument 97 val &= ~and_mask; in mt6577_auxadc_mod_reg()
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | radeon_combios.c | 2892 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local 2918 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2923 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 2972 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2977 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 2987 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2992 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 3023 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local 3039 and_mask = RBIOS32(offset); in combios_parse_mmio_table() 3044 tmp &= and_mask; in combios_parse_mmio_table() [all …]
|
| D | radeon_device.c | 205 u32 tmp, reg, and_mask, or_mask; in radeon_program_register_sequence() local 213 and_mask = registers[i + 1]; in radeon_program_register_sequence() 216 if (and_mask == 0xffffffff) { in radeon_program_register_sequence() 220 tmp &= ~and_mask; in radeon_program_register_sequence()
|
| /Linux-v5.4/drivers/media/i2c/cx25840/ |
| D | cx25840-core.h | 161 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
|
| D | cx25840-core.c | 150 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned int and_mask, in cx25840_and_or() argument 154 (cx25840_read(client, addr) & and_mask) | in cx25840_and_or() 158 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask, in cx25840_and_or4() argument 162 (cx25840_read4(client, addr) & and_mask) | in cx25840_and_or4()
|
| /Linux-v5.4/drivers/media/pci/cx18/ |
| D | cx18-av-core.c | 71 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, in cx18_av_and_or() argument 75 (cx18_av_read(cx, addr) & and_mask) | in cx18_av_and_or() 79 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, in cx18_av_and_or4() argument 83 (cx18_av_read4(cx, addr) & and_mask) | in cx18_av_and_or4()
|
| /Linux-v5.4/drivers/media/usb/cpia2/ |
| D | cpia2.h | 228 u8 and_mask; member
|
| /Linux-v5.4/drivers/net/ethernet/natsemi/ |
| D | ns83820.c | 1674 u32 and_mask = 0xffffffff; local 1681 and_mask &= ~(RFCR_AAU | RFCR_AAM); 1686 and_mask &= ~RFCR_AAM; 1689 val = (readl(rfcr) & and_mask) | or_mask;
|