Home
last modified time | relevance | path

Searched refs:cen (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/power/supply/
Dmax8903_charger.c90 if (gpio_is_valid(pdata->cen)) in max8903_dcin()
91 gpio_set_value(pdata->cen, ta_in ? 0 : in max8903_dcin()
129 if (gpio_is_valid(pdata->cen)) in max8903_usbin()
130 gpio_set_value(pdata->cen, usb_in ? 0 : in max8903_usbin()
187 pdata->cen = of_get_named_gpio(np, "cen-gpios", 0); in max8903_parse_dt_data()
188 if (!gpio_is_valid(pdata->cen)) in max8903_parse_dt_data()
189 pdata->cen = -EINVAL; in max8903_parse_dt_data()
284 if (gpio_is_valid(pdata->cen)) { in max8903_setup_gpios()
285 ret = devm_gpio_request(dev, pdata->cen, data->psy_desc.name); in max8903_setup_gpios()
289 pdata->cen, ret); in max8903_setup_gpios()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt9 - cen-gpios: Charge enable pin (active low, output)
23 cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
/Linux-v5.4/drivers/rtc/
Drtc-ds1511.c182 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local
195 cen = rtc_tm->tm_year / 100; in ds1511_rtc_set_time()
221 cen = bin2bcd(cen) & 0xff; in ds1511_rtc_set_time()
225 rtc_write(cen, RTC_CENTURY); in ds1511_rtc_set_time()
Drtc-ds1742.c146 unsigned int cen, sec; in ds1742_rtc_probe() local
177 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe()
180 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
Drtc-ds1553.c253 unsigned int cen, sec; in ds1553_rtc_probe() local
282 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1553_rtc_probe()
285 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_probe()
/Linux-v5.4/include/linux/power/
Dmax8903_charger.h19 int cen; /* Charger Enable input */ member
/Linux-v5.4/drivers/of/
Ddynamic.c690 struct of_changeset_entry *ce, *cen; in of_changeset_destroy() local
692 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dmarvell,kirkwood-pinctrl.txt359 mpp35 35 gpio, nand(cen)