/linux-6.6.21/drivers/comedi/drivers/ |
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-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | soc15.h | 41 u32 and_mask; member 93 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \ argument 94 { ip##_HWIP, inst, reg##_BASE_IDX, reg, and_mask, or_mask }
|
D | soc15.c | 459 if (entry->and_mask == 0xffffffff) { in soc15_program_register_sequence() 465 tmp &= ~(entry->and_mask); in soc15_program_register_sequence() 466 tmp |= (entry->or_mask & entry->and_mask); in soc15_program_register_sequence()
|
D | amdgpu_device.c | 949 u32 tmp, reg, and_mask, or_mask; in amdgpu_device_program_register_sequence() local 957 and_mask = registers[i + 1]; in amdgpu_device_program_register_sequence() 960 if (and_mask == 0xffffffff) { in amdgpu_device_program_register_sequence() 964 tmp &= ~and_mask; in amdgpu_device_program_register_sequence() 966 tmp |= (or_mask & and_mask); in amdgpu_device_program_register_sequence()
|
/linux-6.6.21/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-6.6.21/drivers/staging/media/atomisp/pci/ |
D | ia_css_pipe_public.h | 348 unsigned int and_mask); 369 unsigned int *and_mask);
|
D | sh_css_sp.c | 1539 event_irq_mask_init.and_mask = IA_CSS_EVENT_TYPE_NONE; in sh_css_event_init_irq_mask() 1556 unsigned int and_mask) in ia_css_pipe_set_irq_mask() argument 1576 IA_CSS_LOG("or_mask=%x, and_mask=%x", or_mask, and_mask); in ia_css_pipe_set_irq_mask() 1578 event_irq_mask.and_mask = (uint16_t)and_mask; in ia_css_pipe_set_irq_mask() 1596 unsigned int *and_mask) in ia_css_event_get_irq_mask() argument 1623 if (and_mask) in ia_css_event_get_irq_mask() 1624 *and_mask = event_irq_mask.and_mask; in ia_css_event_get_irq_mask()
|
D | sh_css_internal.h | 755 u16 and_mask; member
|
/linux-6.6.21/drivers/iio/adc/ |
D | mt6577_auxadc.c | 100 u32 or_mask, u32 and_mask) in mt6577_auxadc_mod_reg() argument 106 val &= ~and_mask; in mt6577_auxadc_mod_reg()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 2891 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local 2917 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2922 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 2971 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2976 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 2986 and_mask = RBIOS32(index); in radeon_combios_external_tmds_setup() 2991 val = (val & and_mask) | or_mask; in radeon_combios_external_tmds_setup() 3022 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local 3038 and_mask = RBIOS32(offset); in combios_parse_mmio_table() 3043 tmp &= and_mask; in combios_parse_mmio_table() [all …]
|
D | radeon_device.c | 206 u32 tmp, reg, and_mask, or_mask; in radeon_program_register_sequence() local 214 and_mask = registers[i + 1]; in radeon_program_register_sequence() 217 if (and_mask == 0xffffffff) { in radeon_program_register_sequence() 221 tmp &= ~and_mask; in radeon_program_register_sequence()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 1676 u32 and_mask = 0xffffffff; local 1683 and_mask &= ~(RFCR_AAU | RFCR_AAM); 1688 and_mask &= ~RFCR_AAM; 1691 val = (readl(rfcr) & and_mask) | or_mask;
|
/linux-6.6.21/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.c | 176 u8 offset, u8 and_mask, u8 or_mask) in anx7625_write_and_or() argument 185 offset, (val & and_mask) | (or_mask)); in anx7625_write_and_or()
|