Home
last modified time | relevance | path

Searched refs:ab8500 (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/mfd/
A Dab8500-core.c195 struct ab8500 *ab8500; in ab8500_get_chip_id() local
246 ret = ab8500->read(ab8500, addr); in get_register_interruptible()
282 ret = ab8500->read(ab8500, addr); in mask_and_set_register_interruptible()
526 struct ab8500 *ab8500 = dev; in ab8500_hierarchical_irq() local
833 struct ab8500 *ab8500; in chip_id_show() local
856 struct ab8500 *ab8500; in switch_off_status_show() local
891 struct ab8500 *ab8500; in turn_on_status_show() local
920 struct ab8500 *ab8500; in turn_on_status_2_show() local
933 struct ab8500 *ab8500; in dbbrstn_show() local
951 struct ab8500 *ab8500; in dbbrstn_store() local
[all …]
A Dab8500-debugfs.c1575 struct ab8500 *ab8500; in ab8500_modem_show() local
1583 ab8500 = dev_get_drvdata(dev->parent); in ab8500_modem_show()
1601 if (is_ab9540(ab8500) || is_ab8505(ab8500)) in ab8500_modem_show()
2004 struct ab8500 *ab8500; in ab8500_debug_probe() local
2010 ab8500 = dev_get_drvdata(plf->dev.parent); in ab8500_debug_probe()
2011 num_irqs = ab8500->mask_size; in ab8500_debug_probe()
2058 if (is_ab8500(ab8500)) { in ab8500_debug_probe()
2061 } else if (is_ab8505(ab8500)) { in ab8500_debug_probe()
2064 } else if (is_ab9540(ab8500)) { in ab8500_debug_probe()
2067 } else if (is_ab8540(ab8500)) { in ab8500_debug_probe()
/linux/include/linux/mfd/abx500/
A Dab8500.h347 struct ab8500 { struct
357 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data); argument
358 int (*write_masked)(struct ab8500 *ab8500, u16 addr, u8 mask, u8 data); argument
359 int (*read)(struct ab8500 *ab8500, u16 addr); argument
380 void (*init) (struct ab8500 *);
385 extern int ab8500_init(struct ab8500 *ab8500,
387 extern int ab8500_exit(struct ab8500 *ab8500);
389 extern int ab8500_suspend(struct ab8500 *ab8500);
391 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500()
396 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
A Dab8500.txt102 ab8500 {
108 ab8500-rtc {
115 ab8500-gpadc {
201 compatible = "stericsson,ab8500-fg";
208 compatible = "stericsson,ab8500-btemp";
230 ab8500-usb {
251 ab8500-ponkey {
258 ab8500-sysctrl {
262 ab8500-pwm {
266 codec: ab8500-codec {
[all …]
/linux/arch/arm/boot/dts/
A Dste-ab8500.dtsi25 ab8500 {
43 ab8500-rtc {
50 gpadc: ab8500-gpadc {
239 ab8500-ponkey {
246 ab8500-sysctrl {
250 ab8500-pwm-1 {
256 ab8500-pwm-2 {
262 ab8500-pwm-3 {
268 ab8500-debugfs {
272 codec: ab8500-codec {
[all …]
A Dste-ab8505.dtsi6 #include <dt-bindings/clock/ste-ab8500.h>
30 compatible = "stericsson,ab8500-clk";
40 ab8500-rtc {
41 compatible = "stericsson,ab8500-rtc";
47 gpadc: ab8500-gpadc {
97 compatible = "stericsson,ab8500-fg";
202 ab8500-ponkey {
209 ab8500-sysctrl {
213 ab8500-pwm {
219 ab8500-debugfs {
[all …]
A Dste-snowball.dts8 #include "ste-href-ab8500.dtsi"
386 ab8500 {
387 ab8500-gpiocontroller {
415 ext_regulators: ab8500-ext-regulators {
417 regulator-name = "ab8500-ext-supply1";
421 regulator-name = "ab8500-ext-supply2";
425 regulator-name = "ab8500-ext-supply3";
429 ab8500-regulators {
A Dste-href.dtsi221 ab8500 {
222 ab8500-gpiocontroller {
231 ab8500-regulators {
A Dste-href-ab8500.dtsi6 #include "ste-ab8500.dtsi"
11 ab8500 {
12 ab8500-gpiocontroller {
/linux/drivers/pwm/
A Dpwm-ab8500.c47 1 << ab8500->hwid, 0); in ab8500_pwm_apply()
66 reg = AB8500_PWM_OUT_CTRL1_REG + (ab8500->hwid * 2); in ab8500_pwm_apply()
80 1 << ab8500->hwid, 1 << ab8500->hwid); in ab8500_pwm_apply()
95 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local
105 ab8500 = devm_kzalloc(&pdev->dev, sizeof(*ab8500), GFP_KERNEL); in ab8500_pwm_probe()
106 if (ab8500 == NULL) in ab8500_pwm_probe()
109 ab8500->chip.dev = &pdev->dev; in ab8500_pwm_probe()
110 ab8500->chip.ops = &ab8500_pwm_ops; in ab8500_pwm_probe()
111 ab8500->chip.npwm = 1; in ab8500_pwm_probe()
112 ab8500->hwid = pdev->id - 1; in ab8500_pwm_probe()
[all …]
/linux/drivers/input/misc/
A Dab8500-ponkey.c29 struct ab8500 *ab8500; member
51 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local
75 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe()
88 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", in ab8500_ponkey_probe()
97 dev_err(ab8500->dev, "Failed to request dbr IRQ#%d: %d\n", in ab8500_ponkey_probe()
104 dev_err(ab8500->dev, "Can't register input device: %d\n", error); in ab8500_ponkey_probe()
/linux/drivers/usb/phy/
A Dphy-ab8500-usb.c129 struct ab8500 *ab8500; member
243 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_wd_linkstatus()
530 if (is_ab8500(ab->ab8500)) { in abx500_usb_link_status_update()
539 } else if (is_ab8505(ab->ab8500)) { in abx500_usb_link_status_update()
593 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_disconnect_irq()
871 struct ab8500 *ab8500; in ab8500_usb_probe() local
893 ab->ab8500 = ab8500; in ab8500_usb_probe()
904 if (is_ab8500(ab->ab8500)) { in ab8500_usb_probe()
909 } else if (is_ab8505(ab->ab8500)) { in ab8500_usb_probe()
945 if (is_ab8500(ab->ab8500) && !is_ab8500_2p0_or_earlier(ab->ab8500)) in ab8500_usb_probe()
[all …]
A DMakefile10 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
/linux/Documentation/devicetree/bindings/clock/
A Dstericsson,abx500.txt5 "stericsson,ab8500-clk"
9 device node, see mfd/ab8500.txt
12 dt-bindings/clock/ste-ab8500.h header and can be used in device
18 compatible = "stericsson,ab8500-clk";
/linux/Documentation/devicetree/bindings/power/supply/
A Dstericsson,ab8500-chargalg.yaml5 $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml#"
18 const: stericsson,ab8500-chargalg
38 compatible = "stericsson,ab8500-chargalg";
A Dstericsson,ab8500-fg.yaml5 $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml#"
18 const: stericsson,ab8500-fg
61 compatible = "stericsson,ab8500-fg";
A Dstericsson,ab8500-btemp.yaml5 $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml#"
18 const: stericsson,ab8500-btemp
62 compatible = "stericsson,ab8500-btemp";
A Dstericsson,ab8500-charger.yaml5 $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml#"
18 const: stericsson,ab8500-charger
87 compatible = "stericsson,ab8500-charger";
/linux/drivers/regulator/
A Dab8500.c1644 static void abx500_get_regulator_info(struct ab8500 *ab8500) in abx500_get_regulator_info() argument
1646 if (is_ab8505(ab8500)) { in abx500_get_regulator_info()
1667 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_register() local
1682 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_regulator_register()
1704 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local
1709 if (!ab8500) { in ab8500_regulator_probe()
1714 abx500_get_regulator_info(ab8500); in ab8500_regulator_probe()
A Dab8500-ext.c395 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ext_regulator_probe() local
400 if (!ab8500) { in ab8500_ext_regulator_probe()
406 if (is_ab8500_2p0_or_earlier(ab8500)) { in ab8500_ext_regulator_probe()
/linux/Documentation/devicetree/bindings/sound/
A Dux500-mop500.txt36 codec: ab8500-codec {
37 compatible = "stericsson,ab8500-codec";
A Dux500-msp.txt39 codec: ab8500-codec {
40 compatible = "stericsson,ab8500-codec";
/linux/drivers/iio/adc/
A Dab8500-gpadc.c244 struct ab8500 *ab8500; member
476 if (!is_ab8500_2p0_or_earlier(gpadc->ab8500)) { in ab8500_gpadc_read()
761 if (is_ab8540(gpadc->ab8500)) { in ab8500_gpadc_read_calibration_data()
1099 gpadc->ab8500 = dev_get_drvdata(dev->parent); in ab8500_gpadc_probe()
1110 if (is_ab8500(gpadc->ab8500)) { in ab8500_gpadc_probe()
/linux/drivers/pinctrl/nomadik/
A DMakefile4 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o
/linux/drivers/clk/ux500/
A Dabx500-clk.c92 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe()

Completed in 69 milliseconds

12