Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/comedi/drivers/
Ddt9812.c203 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/
Dsoc15.h41 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 }
Dsoc15.c459 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()
Damdgpu_device.c949 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/
Dnetup-init.c90 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()
Dcx23888-ir.c154 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/
Dia_css_pipe_public.h348 unsigned int and_mask);
369 unsigned int *and_mask);
Dsh_css_sp.c1539 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()
Dsh_css_internal.h755 u16 and_mask; member
/linux-6.6.21/drivers/iio/adc/
Dmt6577_auxadc.c100 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/
Dradeon_combios.c2891 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 …]
Dradeon_device.c206 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/
Dcx25840-core.h161 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
Dcx25840-core.c150 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/
Dcx18-av-core.c71 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/
Dns83820.c1676 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/
Danx7625.c176 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()