Home
last modified time | relevance | path

Searched refs:clr_mask (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/hwmon/
Dlm75.c275 u8 set_mask, clr_mask; in lm75_probe() local
302 clr_mask = LM75_SHUTDOWN; /* continuous conversions */ in lm75_probe()
306 clr_mask |= 1 << 5; /* not one-shot mode */ in lm75_probe()
313 clr_mask |= 3 << 5; in lm75_probe()
354 clr_mask |= 1 << 7; /* not one-shot mode */ in lm75_probe()
358 clr_mask |= 1 << 7; /* not one-shot mode */ in lm75_probe()
367 clr_mask |= 1 << 7; /* not one-shot mode */ in lm75_probe()
372 clr_mask |= 1 << 5; /* not one-shot mode */ in lm75_probe()
385 new = status & ~clr_mask; in lm75_probe()
/Linux-v4.19/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c204 unsigned int clr_mask = mask & ~val; in regmap_encx24j600_reg_update_bits() local
217 if ((clr_mask & 0xff) && (ret == 0)) in regmap_encx24j600_reg_update_bits()
218 ret = regmap_encx24j600_sfr_clr_bits(ctx, reg, clr_mask); in regmap_encx24j600_reg_update_bits()
220 clr_mask = (clr_mask & 0xff00) >> 8; in regmap_encx24j600_reg_update_bits()
222 if ((clr_mask & 0xff) && (ret == 0)) in regmap_encx24j600_reg_update_bits()
223 ret = regmap_encx24j600_sfr_clr_bits(ctx, reg + 1, clr_mask); in regmap_encx24j600_reg_update_bits()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_eq.c397 if (dev->eq_table.clr_mask) in mthca_tavor_interrupt()
398 writel(dev->eq_table.clr_mask, dev->eq_table.clr_int); in mthca_tavor_interrupt()
437 if (dev->eq_table.clr_mask) in mthca_arbel_interrupt()
438 writel(dev->eq_table.clr_mask, dev->eq_table.clr_int); in mthca_arbel_interrupt()
785 dev->eq_table.clr_mask = 0; in mthca_init_eq_table()
787 dev->eq_table.clr_mask = in mthca_init_eq_table()
Dmthca_dev.h229 u32 clr_mask; member
/Linux-v4.19/drivers/mfd/
Dssbi.c104 static int ssbi_wait_mask(struct ssbi *ssbi, u32 set_mask, u32 clr_mask) in ssbi_wait_mask() argument
111 if (((val & set_mask) == set_mask) && ((val & clr_mask) == 0)) in ssbi_wait_mask()
/Linux-v4.19/drivers/media/i2c/
Dths8200.c98 uint8_t clr_mask, uint8_t val_mask) in ths8200_write_and_or() argument
100 ths8200_write(sd, reg, (ths8200_read(sd, reg) & clr_mask) | val_mask); in ths8200_write_and_or()
Dadv7511.c207 static inline void adv7511_wr_and_or(struct v4l2_subdev *sd, u8 reg, u8 clr_mask, u8 val_mask) in adv7511_wr_and_or() argument
209 adv7511_wr(sd, reg, (adv7511_rd(sd, reg) & clr_mask) | val_mask); in adv7511_wr_and_or()
296 static inline void adv7511_pktmem_wr_and_or(struct v4l2_subdev *sd, u8 reg, u8 clr_mask, u8 val_mas… in adv7511_pktmem_wr_and_or() argument
298 adv7511_pktmem_wr(sd, reg, (adv7511_pktmem_rd(sd, reg) & clr_mask) | val_mask); in adv7511_pktmem_wr_and_or()
Dad9389b.c135 u8 clr_mask, u8 val_mask) in ad9389b_wr_and_or() argument
137 ad9389b_wr(sd, reg, (ad9389b_rd(sd, reg) & clr_mask) | val_mask); in ad9389b_wr_and_or()
/Linux-v4.19/drivers/net/phy/
Dbcm7xxx.c285 int set_mask, int clr_mask) in phy_set_clr_bits() argument
293 v &= ~clr_mask; in phy_set_clr_bits()
/Linux-v4.19/drivers/dma/qcom/
Dbam_dma.c855 u32 clr_mask = 0, srcs = 0; in bam_dma_irq() local
869 clr_mask = readl_relaxed(bam_addr(bdev, 0, BAM_IRQ_STTS)); in bam_dma_irq()
877 writel_relaxed(clr_mask, bam_addr(bdev, 0, BAM_IRQ_CLR)); in bam_dma_irq()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Deq.c854 writel(priv->eq_table.clr_mask, priv->eq_table.clr_int); in mlx4_interrupt()
1208 priv->eq_table.clr_mask = in mlx4_init_eq_table()
Dmlx4.h692 u32 clr_mask; member