Home
last modified time | relevance | path

Searched refs:lp3943 (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/mfd/
A Dlp3943.c73 int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read) in lp3943_read_byte() argument
87 int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data) in lp3943_write_byte() argument
93 int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data) in lp3943_update_bits() argument
107 struct lp3943 *lp3943; in lp3943_probe() local
110 lp3943 = devm_kzalloc(dev, sizeof(*lp3943), GFP_KERNEL); in lp3943_probe()
111 if (!lp3943) in lp3943_probe()
115 if (IS_ERR(lp3943->regmap)) in lp3943_probe()
116 return PTR_ERR(lp3943->regmap); in lp3943_probe()
119 lp3943->dev = dev; in lp3943_probe()
120 lp3943->mux_cfg = lp3943_mux_cfg; in lp3943_probe()
[all …]
A DMakefile141 obj-$(CONFIG_MFD_LP3943) += lp3943.o
/linux-6.3-rc2/drivers/gpio/
A Dgpio-lp3943.c41 struct lp3943 *lp3943; member
48 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_request() local
51 if (test_and_set_bit(offset, &lp3943->pin_used)) in lp3943_gpio_request()
60 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_free() local
62 clear_bit(offset, &lp3943->pin_used); in lp3943_gpio_free()
68 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_gpio_set_mode() local
69 const struct lp3943_reg_cfg *mux = lp3943->mux_cfg; in lp3943_gpio_set_mode()
112 struct lp3943 *lp3943 = lp3943_gpio->lp3943; in lp3943_get_gpio_out_status() local
113 const struct lp3943_reg_cfg *mux = lp3943->mux_cfg; in lp3943_get_gpio_out_status()
190 struct lp3943 *lp3943 = dev_get_drvdata(pdev->dev.parent); in lp3943_gpio_probe() local
[all …]
A DMakefile83 obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
/linux-6.3-rc2/drivers/pwm/
A Dpwm-lp3943.c23 struct lp3943 *lp3943; member
36 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_request_map() local
51 if (test_and_set_bit(offset, &lp3943->pin_used)) { in lp3943_pwm_request_map()
75 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_free_map() local
80 clear_bit(offset, &lp3943->pin_used); in lp3943_pwm_free_map()
98 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_config() local
135 return lp3943_write_byte(lp3943, reg_duty, val); in lp3943_pwm_config()
142 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_set_mode() local
282 struct lp3943 *lp3943 = dev_get_drvdata(pdev->dev.parent); in lp3943_pwm_probe() local
290 lp3943_pwm->pdata = lp3943->pdata; in lp3943_pwm_probe()
[all …]
A DMakefile29 obj-$(CONFIG_PWM_LP3943) += pwm-lp3943.o
A DKconfig313 will be called pwm-lp3943.
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
A Dlp3943.txt4 - compatible: "ti,lp3943"
7 LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm.
10 Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
13 Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
17 lp3943@60 {
18 compatible = "ti,lp3943";
22 compatible = "ti,lp3943-gpio";
28 compatible = "ti,lp3943-pwm";
/linux-6.3-rc2/include/linux/mfd/
A Dlp3943.h99 struct lp3943 { struct
107 int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read); argument
108 int lp3943_write_byte(struct lp3943 *lp3943, u8 reg, u8 data);
109 int lp3943_update_bits(struct lp3943 *lp3943, u8 reg, u8 mask, u8 data);
/linux-6.3-rc2/Documentation/devicetree/bindings/gpio/
A Dgpio-lp3943.txt4 - compatible: "ti,lp3943-gpio"
13 lp3943@60 {
14 compatible = "ti,lp3943";
18 compatible = "ti,lp3943-gpio";
/linux-6.3-rc2/Documentation/devicetree/bindings/pwm/
A Dpwm-lp3943.txt4 - compatible: "ti,lp3943-pwm"
21 lp3943@60 {
22 compatible = "ti,lp3943";
30 compatible = "ti,lp3943-pwm";

Completed in 100 milliseconds