Home
last modified time | relevance | path

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

/drivers/net/dsa/qca/
Dqca8k-8xxx.c413 qca8k_regmap_update_bits_eth(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_regmap_update_bits_eth() argument
423 val |= write_val; in qca8k_regmap_update_bits_eth()
474 uint32_t mask, uint32_t write_val) in qca8k_regmap_update_bits_mii() argument
494 val |= write_val; in qca8k_regmap_update_bits_mii()
558 qca8k_regmap_update_bits(void *ctx, uint32_t reg, uint32_t mask, uint32_t write_val) in qca8k_regmap_update_bits() argument
562 if (!qca8k_regmap_update_bits_eth(priv, reg, mask, write_val)) in qca8k_regmap_update_bits()
565 return qca8k_regmap_update_bits_mii(priv, reg, mask, write_val); in qca8k_regmap_update_bits()
628 u32 write_val, clear_val = 0, val; in qca8k_phy_eth_command() local
638 write_val = QCA8K_MDIO_MASTER_BUSY | QCA8K_MDIO_MASTER_EN | in qca8k_phy_eth_command()
643 write_val |= QCA8K_MDIO_MASTER_READ; in qca8k_phy_eth_command()
[all …]
Dqca8k-common.c76 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val) in qca8k_rmw() argument
78 return regmap_update_bits(priv->regmap, reg, mask, write_val); in qca8k_rmw()
Dqca8k.h508 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val);
/drivers/pci/controller/
Dpci-thunder-pem.c218 u64 write_val, read_val; in thunder_pem_bridge_write() local
281 write_val = (((u64)val) << 32) | where_aligned; in thunder_pem_bridge_write()
282 writeq(write_val, pem_pci->pem_reg_base + PEM_CFG_WR); in thunder_pem_bridge_write()
/drivers/phy/qualcomm/
Dphy-qcom-ipq806x-usb.c146 u32 write_val, tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback() local
149 write_val = tmp | val; in usb_phy_write_readback()
151 writel(write_val, phy_dwc3->base + offset); in usb_phy_write_readback()
/drivers/hid/
Dhid-alps.c166 u8 *read_val, u8 write_val, bool read_flag) in t4_read_write_register() argument
183 input[8] = write_val; in t4_read_write_register()
253 u8 *read_val, u8 write_val, bool read_flag) in u1_read_write_register() argument
270 input[6] = write_val; in u1_read_write_register()
/drivers/iio/amplifiers/
Dada4250.c262 unsigned int write_val, in ada4250_reg_access() argument
270 return regmap_write(st->regmap, reg, write_val); in ada4250_reg_access()
/drivers/iio/frequency/
Dadrf6780.c296 unsigned int write_val, in adrf6780_reg_access() argument
304 return adrf6780_spi_write(st, reg, write_val); in adrf6780_reg_access()
Dadmv1013.c368 unsigned int write_val, in admv1013_reg_access() argument
376 return admv1013_spi_write(st, reg, write_val); in admv1013_reg_access()
Dadf4377.c470 unsigned int write_val, in adf4377_reg_access() argument
478 return regmap_write(st->regmap, reg, write_val); in adf4377_reg_access()
Dadmv1014.c468 unsigned int write_val, in admv1014_reg_access() argument
476 return admv1014_spi_write(st, reg, write_val); in admv1014_reg_access()
/drivers/media/radio/
Dtea575x.c87 if (tea->ops->write_val) in snd_tea575x_write()
88 return tea->ops->write_val(tea, val); in snd_tea575x_write()
Dradio-shark.c150 .write_val = shark_write_val,
/drivers/iio/filter/
Dadmv8818.c388 unsigned int write_val, in admv8818_reg_access() argument
396 return regmap_write(st->regmap, reg, write_val); in admv8818_reg_access()
/drivers/net/ethernet/adi/
Dadin1110.c269 u32 write_val; in adin1110_set_bits() local
272 ret = adin1110_read_reg(priv, reg, &write_val); in adin1110_set_bits()
276 set_mask_bits(&write_val, mask, val); in adin1110_set_bits()
278 return adin1110_write_reg(priv, reg, write_val); in adin1110_set_bits()
/drivers/pinctrl/
Dpinctrl-cy8c95x0.c415 int write_val; in cy8c95x0_write_regs_mask() local
465 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask()
467 ret = regmap_update_bits(chip->regmap, off, bits, write_val); in cy8c95x0_write_regs_mask()
/drivers/iio/dac/
Dad7293.c638 unsigned int write_val, in ad7293_reg_access() argument
649 ret = ad7293_spi_write(st, reg, (u16)write_val); in ad7293_reg_access()