lp3943             41 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943;
lp3943             48 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943 = lp3943_gpio->lp3943;
lp3943             51 drivers/gpio/gpio-lp3943.c 	if (test_and_set_bit(offset, &lp3943->pin_used))
lp3943             60 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943 = lp3943_gpio->lp3943;
lp3943             62 drivers/gpio/gpio-lp3943.c 	clear_bit(offset, &lp3943->pin_used);
lp3943             68 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943 = lp3943_gpio->lp3943;
lp3943             69 drivers/gpio/gpio-lp3943.c 	const struct lp3943_reg_cfg *mux = lp3943->mux_cfg;
lp3943             71 drivers/gpio/gpio-lp3943.c 	return lp3943_update_bits(lp3943, mux[offset].reg, mux[offset].mask,
lp3943            102 drivers/gpio/gpio-lp3943.c 	err = lp3943_read_byte(lp3943_gpio->lp3943, addr, &read);
lp3943            112 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943 = lp3943_gpio->lp3943;
lp3943            113 drivers/gpio/gpio-lp3943.c 	const struct lp3943_reg_cfg *mux = lp3943->mux_cfg;
lp3943            117 drivers/gpio/gpio-lp3943.c 	err = lp3943_read_byte(lp3943, mux[offset].reg, &read);
lp3943            190 drivers/gpio/gpio-lp3943.c 	struct lp3943 *lp3943 = dev_get_drvdata(pdev->dev.parent);
lp3943            198 drivers/gpio/gpio-lp3943.c 	lp3943_gpio->lp3943 = lp3943;
lp3943             73 drivers/mfd/lp3943.c int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read)
lp3943             78 drivers/mfd/lp3943.c 	ret = regmap_read(lp3943->regmap, reg, &val);
lp3943             87 drivers/mfd/lp3943.c int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data)
lp3943             89 drivers/mfd/lp3943.c 	return regmap_write(lp3943->regmap, reg, data);
lp3943             93 drivers/mfd/lp3943.c int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data)
lp3943             95 drivers/mfd/lp3943.c 	return regmap_update_bits(lp3943->regmap, reg, mask, data);
lp3943            107 drivers/mfd/lp3943.c 	struct lp3943 *lp3943;
lp3943            110 drivers/mfd/lp3943.c 	lp3943 = devm_kzalloc(dev, sizeof(*lp3943), GFP_KERNEL);
lp3943            111 drivers/mfd/lp3943.c 	if (!lp3943)
lp3943            114 drivers/mfd/lp3943.c 	lp3943->regmap = devm_regmap_init_i2c(cl, &lp3943_regmap_config);
lp3943            115 drivers/mfd/lp3943.c 	if (IS_ERR(lp3943->regmap))
lp3943            116 drivers/mfd/lp3943.c 		return PTR_ERR(lp3943->regmap);
lp3943            118 drivers/mfd/lp3943.c 	lp3943->pdata = dev_get_platdata(dev);
lp3943            119 drivers/mfd/lp3943.c 	lp3943->dev = dev;
lp3943            120 drivers/mfd/lp3943.c 	lp3943->mux_cfg = lp3943_mux_cfg;
lp3943            121 drivers/mfd/lp3943.c 	i2c_set_clientdata(cl, lp3943);
lp3943             24 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943;
lp3943             37 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943 = lp3943_pwm->lp3943;
lp3943             52 drivers/pwm/pwm-lp3943.c 		if (test_and_set_bit(offset, &lp3943->pin_used)) {
lp3943             76 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943 = lp3943_pwm->lp3943;
lp3943             81 drivers/pwm/pwm-lp3943.c 		clear_bit(offset, &lp3943->pin_used);
lp3943             99 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943 = lp3943_pwm->lp3943;
lp3943            124 drivers/pwm/pwm-lp3943.c 	err = lp3943_write_byte(lp3943, reg_prescale, val);
lp3943            130 drivers/pwm/pwm-lp3943.c 	return lp3943_write_byte(lp3943, reg_duty, val);
lp3943            137 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943 = lp3943_pwm->lp3943;
lp3943            138 drivers/pwm/pwm-lp3943.c 	const struct lp3943_reg_cfg *mux = lp3943->mux_cfg;
lp3943            143 drivers/pwm/pwm-lp3943.c 		err = lp3943_update_bits(lp3943, mux[index].reg,
lp3943            255 drivers/pwm/pwm-lp3943.c 	struct lp3943 *lp3943 = dev_get_drvdata(pdev->dev.parent);
lp3943            263 drivers/pwm/pwm-lp3943.c 	lp3943_pwm->pdata = lp3943->pdata;
lp3943            274 drivers/pwm/pwm-lp3943.c 	lp3943_pwm->lp3943 = lp3943;
lp3943            107 include/linux/mfd/lp3943.h int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read);
lp3943            108 include/linux/mfd/lp3943.h int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data);
lp3943            109 include/linux/mfd/lp3943.h int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data);