Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/power/
Dmax8903_charger.c37 bool ta_in; member
59 else if (data->usb_in || data->ta_in) in max8903_get_property()
67 if (data->usb_in || data->ta_in) in max8903_get_property()
85 bool ta_in; in max8903_dcin() local
88 ta_in = gpio_get_value(pdata->dok) ? false : true; in max8903_dcin()
90 if (ta_in == data->ta_in) in max8903_dcin()
93 data->ta_in = ta_in; in max8903_dcin()
97 gpio_set_value(pdata->dcm, ta_in ? 1 : 0); in max8903_dcin()
101 gpio_set_value(pdata->cen, ta_in ? 0 : in max8903_dcin()
104 dev_dbg(data->dev, "TA(DC-IN) Charger %s.\n", ta_in ? in max8903_dcin()
[all …]