Searched refs:comparator (Results 1 – 9 of 9) sorted by relevance
/drivers/phy/ti/ |
D | phy-omap-usb2.c | 55 struct phy_companion *comparator; member 101 int omap_usb2_set_comparator(struct phy_companion *comparator) in omap_usb2_set_comparator() argument 110 phy->comparator = comparator; in omap_usb2_set_comparator() 119 if (!phy->comparator || !phy->comparator->set_vbus) in omap_usb_set_vbus() 122 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus() 129 if (!phy->comparator || !phy->comparator->start_srp) in omap_usb_start_srp() 132 return phy->comparator->start_srp(phy->comparator); in omap_usb_start_srp()
|
D | Kconfig | 72 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/ |
D | phy-twl6030-usb.c | 79 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/ |
D | tps65911-comparator.c | 31 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()
|
D | Makefile | 211 obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o
|
/drivers/hwtracing/coresight/ |
D | coresight-etm4x-core.c | 1294 u64 start, u64 stop, int comparator) in etm4_set_comparator_filter() argument 1299 config->addr_val[comparator] = start; in etm4_set_comparator_filter() 1300 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter() 1301 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter() 1304 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter() 1305 config->addr_acc[comparator + 1] = access_type; in etm4_set_comparator_filter() 1306 config->addr_type[comparator + 1] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter() 1323 config->viiectlr |= BIT(comparator / 2); in etm4_set_comparator_filter() 1327 u64 address, int comparator, in etm4_set_start_stop_filter() argument 1334 config->addr_val[comparator] = address; in etm4_set_start_stop_filter() [all …]
|
/drivers/power/supply/ |
D | cpcap-charger.c | 137 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() 933 ddata->comparator.set_vbus = cpcap_charger_set_vbus; in cpcap_charger_probe() 934 error = omap_usb2_set_comparator(&ddata->comparator); in cpcap_charger_probe()
|
/drivers/iio/adc/ |
D | Kconfig | 419 tristate "Envelope detector using a DAC and a comparator" 422 and a comparator.
|
/drivers/hwmon/ |
D | Kconfig | 437 generated by the thresholds comparator only in synchronization with
|