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

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.h42 u32 and_mask; member in struct:soc15_reg_golden
94 #define SOC15_REG_GOLDEN_VALUE(ip, inst, reg, and_mask, or_mask) \
95 { ip##_HWIP, inst, reg##_BASE_IDX, reg, and_mask, or_mask }
H A Dsoc15.c459 if (entry->and_mask == 0xffffffff) {
465 tmp &= ~(entry->and_mask);
466 tmp |= (entry->or_mask & entry->and_mask);
H A Damdgpu_device.c1286 u32 tmp, reg, and_mask, or_mask; local
1294 and_mask = registers[i + 1];
1297 if (and_mask == 0xffffffff) {
1301 tmp &= ~and_mask;
1303 tmp |= (or_mask & and_mask);
/linux-master/drivers/media/pci/cx23885/
H A Dnetup-init.c90 static void i2c_av_and_or(struct i2c_adapter *i2c, u16 reg, unsigned and_mask, argument
93 i2c_av_write(i2c, reg, (i2c_av_read(i2c, reg) & and_mask) | or_value);
H A Dcx23888-ir.c154 u32 and_mask, u32 or_value)
156 cx_andor(addr, ~and_mask, or_value);
153 cx23888_ir_and_or4(struct cx23885_dev *dev, u32 addr, u32 and_mask, u32 or_value) argument
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_pipe_public.h280 * @param[in] and_mask Binary or of enum ia_css_event_irq_mask_type. An event
292 Host less often. In case both or_mask and and_mask are
297 or_mask and and_mask may be active at the same time\n
301 and_mask = IA_CSS_EVENT_TYPE_NONE\n
348 unsigned int and_mask);
355 * @param[out] and_mask Current and_mask.The bits in this mask are a binary or
369 unsigned int *and_mask);
H A Dsh_css_sp.c1519 event_irq_mask_init.and_mask = IA_CSS_EVENT_TYPE_NONE;
1536 unsigned int and_mask)
1556 IA_CSS_LOG("or_mask=%x, and_mask=%x", or_mask, and_mask);
1558 event_irq_mask.and_mask = (uint16_t)and_mask;
1576 unsigned int *and_mask)
1603 if (and_mask)
1604 *and_mask = event_irq_mask.and_mask;
1534 ia_css_pipe_set_irq_mask(struct ia_css_pipe *pipe, unsigned int or_mask, unsigned int and_mask) argument
1574 ia_css_event_get_irq_mask(const struct ia_css_pipe *pipe, unsigned int *or_mask, unsigned int *and_mask) argument
[all...]
H A Dsh_css_internal.h722 u16 and_mask; member in struct:sh_css_event_irq_mask
/linux-master/drivers/comedi/drivers/
H A Ddt9812.c203 u8 and_mask; member in struct:dt9812_rmw_byte
422 rmw->and_mask = 0xe0;
427 rmw->and_mask = 0xff;
443 rmw->and_mask = F020_MASK_ADC0CF_AMP0GN2 |
504 rmw[2].and_mask = 0xff;
560 rmw[0].and_mask = 0xff;
565 rmw[1].and_mask = 0xff;
570 rmw[2].and_mask = 0xff;
577 rmw[0].and_mask = 0xff;
582 rmw[1].and_mask
[all...]
/linux-master/drivers/iio/adc/
H A Dmt6577_auxadc.c100 u32 or_mask, u32 and_mask)
106 val &= ~and_mask;
99 mt6577_auxadc_mod_reg(void __iomem *reg, u32 or_mask, u32 and_mask) argument
/linux-master/drivers/media/i2c/cx25840/
H A Dcx25840-core.h161 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
H A Dcx25840-core.c150 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned int and_mask, argument
154 (cx25840_read(client, addr) & and_mask) |
158 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask, argument
162 (cx25840_read4(client, addr) & and_mask) |
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_combios.c2892 uint32_t reg, val, and_mask, or_mask; local
2918 and_mask = RBIOS32(index);
2923 val = (val & and_mask) | or_mask;
2972 and_mask = RBIOS32(index);
2977 val = (val & and_mask) | or_mask;
2987 and_mask = RBIOS32(index);
2992 val = (val & and_mask) | or_mask;
3023 uint32_t val, and_mask, or_mask; local
3039 and_mask = RBIOS32(offset);
3044 tmp &= and_mask;
3103 uint32_t and_mask, or_mask; local
[all...]
H A Dradeon_device.c206 u32 tmp, reg, and_mask, or_mask; local
214 and_mask = registers[i + 1];
217 if (and_mask == 0xffffffff) {
221 tmp &= ~and_mask;
/linux-master/drivers/media/pci/cx18/
H A Dcx18-av-core.c71 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, argument
75 (cx18_av_read(cx, addr) & and_mask) |
79 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, argument
83 (cx18_av_read4(cx, addr) & and_mask) |
/linux-master/drivers/net/ethernet/natsemi/
H A 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-master/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c176 u8 offset, u8 and_mask, u8 or_mask)
185 offset, (val & and_mask) | (or_mask));
174 anx7625_write_and_or(struct anx7625_data *ctx, struct i2c_client *client, u8 offset, u8 and_mask, u8 or_mask) argument

Completed in 247 milliseconds