Home
last modified time | relevance | path

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

/drivers/phy/ti/
A Dphy-omap-usb2.c56 struct phy_companion *comparator; member
102 int omap_usb2_set_comparator(struct phy_companion *comparator) in omap_usb2_set_comparator() argument
111 phy->comparator = comparator; in omap_usb2_set_comparator()
120 if (!phy->comparator || !phy->comparator->set_vbus) in omap_usb_set_vbus()
123 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus()
130 if (!phy->comparator || !phy->comparator->start_srp) in omap_usb_start_srp()
133 return phy->comparator->start_srp(phy->comparator); in omap_usb_start_srp()
A DKconfig72 driver takes care of all the PHY functionality apart from comparator.
73 The USB OTG controller communicates with the comparator using this
83 driver takes care of all the PHY functionality apart from comparator.
/drivers/usb/phy/
A Dphy-twl6030-usb.c79 struct phy_companion comparator; member
100 #define comparator_to_twl(x) container_of((x), struct twl6030_usb, comparator)
131 static int twl6030_start_srp(struct phy_companion *comparator) in twl6030_start_srp() argument
133 struct twl6030_usb *twl = comparator_to_twl(comparator); in twl6030_start_srp()
319 static int twl6030_set_vbus(struct phy_companion *comparator, bool enabled) in twl6030_set_vbus() argument
321 struct twl6030_usb *twl = comparator_to_twl(comparator); in twl6030_set_vbus()
356 twl->comparator.set_vbus = twl6030_set_vbus; in twl6030_usb_probe()
357 twl->comparator.start_srp = twl6030_start_srp; in twl6030_usb_probe()
359 ret = omap_usb2_set_comparator(&twl->comparator); in twl6030_usb_probe()
/drivers/mfd/
A Dtps65911-comparator.c31 struct comparator { struct
38 static struct comparator tps_comparators[] = { argument
55 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_set()
79 struct comparator tps_comp = tps_comparators[id]; in comp_threshold_get()
A DMakefile214 obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o
/drivers/hwtracing/coresight/
A Dcoresight-etm4x-core.c1525 config->addr_val[comparator] = start; in etm4_set_comparator_filter()
1530 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter()
1549 config->viiectlr |= BIT(comparator / 2); in etm4_set_comparator_filter()
1553 u64 address, int comparator, in etm4_set_start_stop_filter() argument
1560 config->addr_val[comparator] = address; in etm4_set_start_stop_filter()
1562 config->addr_type[comparator] = type; in etm4_set_start_stop_filter()
1647 int i, comparator, ret = 0; in etm4_set_event_filters() local
1671 if (comparator < 0) { in etm4_set_event_filters()
1672 ret = comparator; in etm4_set_event_filters()
1681 comparator); in etm4_set_event_filters()
[all …]
/drivers/power/supply/
A Dcpcap-charger.c137 struct phy_companion comparator; /* For USB VBUS */ member
522 static int cpcap_charger_set_vbus(struct phy_companion *comparator, in cpcap_charger_set_vbus() argument
526 container_of(comparator, struct cpcap_charger_ddata, in cpcap_charger_set_vbus()
527 comparator); in cpcap_charger_set_vbus()
924 ddata->comparator.set_vbus = cpcap_charger_set_vbus; in cpcap_charger_probe()
925 error = omap_usb2_set_comparator(&ddata->comparator); in cpcap_charger_probe()
/drivers/iio/adc/
A DKconfig655 tristate "Envelope detector using a DAC and a comparator"
658 and a comparator.
/drivers/hwmon/
A DKconfig477 generated by the thresholds comparator only in synchronization with

Completed in 28 milliseconds