/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-etm4x-reference.rst | 91 Virtual register to index address comparator and range 106 uses the current ‘mode’ setting. Select comparator range in 127 Set a single address comparator according to addr_idx. This 128 is used if the address comparator is used as part of event 140 Set a trace start address comparator according to addr_idx. 141 Select comparator in control register. 152 Set a trace stop address comparator according to addr_idx. 153 Select comparator in control register. 164 Link context ID comparator to address comparator addr_idx 171 comparator. [all …]
|
/openbmc/linux/include/linux/mfd/wm8350/ |
H A D | comparator.h | 3 * comparator.h -- Comparator Aux ADC for Wolfson WM8350 PMIC 101 * R163 (0xA3) - Generic Comparator Control 109 * R164 (0xA4) - Generic comparator 1 116 * R165 (0xA5) - Generic comparator 2 123 * R166 (0xA6) - Generic comparator 3 130 * R167 (0xA7) - Generic comparator 4
|
/openbmc/linux/drivers/mfd/ |
H A D | tps65911-comparator.c | 23 /* Comparator 1 voltage selection table in millivolts */ 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() 156 .name = "tps65911-comparator", 175 MODULE_DESCRIPTION("TPS65911 comparator driver"); 177 MODULE_ALIAS("platform:tps65911-comparator");
|
H A D | wm8350-regmap.c | 54 { 0xEF7F, 0x0000, 0xFFFF }, /* R31 - Comparator Interrupt Status */ 62 { 0xEF7F, 0xEF7F, 0x0000 }, /* R39 - Comparator IntStatus Mask */ 186 { 0x000F, 0x000F, 0x0000 }, /* R163 - Generic Comparator Control */ 187 { 0xFFFF, 0xFFFF, 0x0000 }, /* R164 - Generic comparator 1 */ 188 { 0xFFFF, 0xFFFF, 0x0000 }, /* R165 - Generic comparator 2 */ 189 { 0xFFFF, 0xFFFF, 0x0000 }, /* R166 - Generic comparator 3 */ 190 { 0xFFFF, 0xFFFF, 0x0000 }, /* R167 - Generic comparator 4 */ 202 { 0x5177, 0x5177, 0x8000 }, /* R179 - Power-check comparator */
|
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-omap-usb2.c | 55 struct phy_companion *comparator; member 92 * omap_usb2_set_comparator() - links the comparator present in the system with this phy 94 * @comparator: the companion phy(comparator) for this phy 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()
|
H A 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.
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_executor.cpp | 194 bool doDoubleComparison(double left, filter_ast::ComparisonOpEnum comparator, in doDoubleComparison() argument 202 switch (comparator) in doDoubleComparison() 222 static_cast<int>(comparator)); in doDoubleComparison() 227 bool doIntComparison(int64_t left, filter_ast::ComparisonOpEnum comparator, in doIntComparison() argument 230 switch (comparator) in doIntComparison() 245 BMCWEB_LOG_ERROR("Got comparator that should never happen {}", in doIntComparison() 246 static_cast<int>(comparator)); in doIntComparison() 252 filter_ast::ComparisonOpEnum comparator, in doStringComparison() argument 255 switch (comparator) in doStringComparison() 271 … "Got comparator that should never happen. Attempt to do numeric comparison on string {}", in doStringComparison() [all …]
|
/openbmc/linux/drivers/usb/phy/ |
H A 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()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-etm4x | 21 Description: (Read) Indicates the number of PE comparator inputs that are 28 Description: (Read) Indicates the number of address comparator pairs that are 76 Description: (Read) Indicates the number of single-shot comparator controls that 162 Description: (RW) Select which address comparator or pair (of comparators) to 175 Description: (RW) Used to setup single address comparator values. 181 Description: (RW) Used to setup address range comparator values. 250 Description: (RW) Select which context ID comparator to work with. 256 Description: (RW) Get/Set the context ID comparator value to trigger on. 262 Description: (RW) Mask for all 8 context ID comparator value 269 Description: (RW) Select which virtual machine ID comparator to work with. [all …]
|
H A D | sysfs-bus-iio-adc-envelope-detector | 8 of a comparator wired to an interrupt pin. Like so:: 37 Number of milliseconds to wait for the comparator in each
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x.h | 77 /* Single-shot comparator registers, n = 0-7 */ 87 /* Address Comparator registers n = 0-15 */ 788 * @vipcssctlr: Set, or read, which PE comparator inputs can control the 801 * @ss_ctrl: Controls the corresponding single-shot comparator resource. 802 * @ss_status: The status of the corresponding single-shot comparator. 803 * @ss_pe_cmp: Selects the PE comparator inputs for Single-shot control. 804 * @addr_idx: Address comparator index selector. 805 * @addr_val: Value for address comparator. 806 * @addr_acc: Address comparator access type. 807 * @addr_type: Current status of the comparator register. [all …]
|
H A D | coresight-etm4x-core.c | 1253 /* NUMACPAIRS, bits[0:3] number of addr comparator pairs for tracing */ in etm4_init_arch_data() 1255 /* NUMPC, bits[15:12] number of PE comparator inputs for tracing */ in etm4_init_arch_data() 1272 * comparator control for tracing. Read any status regs as these in etm4_init_arch_data() 1380 u64 start, u64 stop, int comparator) in etm4_set_comparator_filter() argument 1384 /* First half of default address comparator */ in etm4_set_comparator_filter() 1385 config->addr_val[comparator] = start; in etm4_set_comparator_filter() 1386 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter() 1387 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter() 1389 /* Second half of default address comparator */ in etm4_set_comparator_filter() 1390 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter() [all …]
|
H A D | coresight-etm.h | 132 #define ETM_ADD_COMP_0 /* Single addr comparator 1 */ \ 153 * @addr_idx: index for the address comparator selection. 154 * @addr_val: value for address comparator register. 155 * @addr_acctype: access type for address comparator register. 156 * @addr_type: current status of the comparator register.
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | twlxxxx-usb.txt | 1 USB COMPARATOR OF TWL CHIPS 3 TWL6030 USB COMPARATOR 23 TWL4030 USB PHY AND COMPARATOR
|
/openbmc/phosphor-led-manager/manager/ |
H A D | manager.hpp | 40 /** @brief Special comparator for finding set difference */ 46 // with default priority of Blink, this comparator would return in ledComp() 47 // false. But considering the priority, this comparator would need in ledComp() 57 /** @brief Comparator for finding LEDs to be DeAsserted */ 64 /** @brief Comparator for helping unique_copy */
|
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74413r.yaml | 97 adi,gpo-comparator: 100 Whether to configure GPO as a comparator or not. 101 When not configured as a comparator, the GPO will be treated as an 162 adi,gpo-comparator;
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | envelope-detector.yaml | 7 title: ADC envelope detector using a DAC and a comparator 14 signal by a binary search using the output of a comparator wired to 36 description: Channel node of the dac to be used for comparator input.
|
/openbmc/linux/include/linux/platform_data/ |
H A D | adp8870.h | 88 * L2 comparator current 0..1106uA 93 * L3 comparator current 0..551uA 98 * L4 comparator current 0..275uA 103 * L5 comparator current 0..138uA
|
/openbmc/linux/include/linux/phy/ |
H A D | omap_usb.h | 17 extern int omap_usb2_set_comparator(struct phy_companion *comparator); 19 static inline int omap_usb2_set_comparator(struct phy_companion *comparator) in omap_usb2_set_comparator() argument
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-palmas.txt | 3 PALMAS USB COMPARATOR 12 - ti,wakeup : To enable the wakeup comparator in probe
|
/openbmc/linux/Documentation/hwmon/ |
H A D | max31827.rst | 55 The alarm can be configured in comparator and interrupt mode. Currently only 56 comparator mode is implemented. In Comparator mode, the OT/UT status bits have a
|
/openbmc/linux/include/linux/mfd/wm831x/ |
H A D | auxadc.h | 101 * R16432 (0x4030) - Comparator Control 137 * R16433 (0x4031) - Comparator 1 151 * R16434 (0x4032) - Comparator 2 165 * R16435 (0x4033) - Comparator 3 179 * R16436 (0x4034) - Comparator 4
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | am35x.h | 67 #define DEVCONF2_SESENDEN (1 << 13) /* Vsess_end comparator */ 68 #define DEVCONF2_VBDTCTEN (1 << 12) /* Vbus comparator */
|
/openbmc/linux/drivers/iio/adc/ |
H A D | envelope-detector.c | 3 * Driver for an envelope detector using a DAC and a comparator 12 * signal by a binary search using the output of a comparator wired to 75 * need to service a possible interrupt flood from the comparator when no-one 203 * triggered the comparator. in envelope_detector_read_raw() 406 MODULE_DESCRIPTION("Envelope detector using a DAC and a comparator");
|
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8870_bl.c | 61 #define ADP8870_CMP_CTL 0x2D /* ALS Comparator Control Register */ 62 #define ADP8870_ALS1_EN 0x2E /* Main ALS comparator level enable */ 63 #define ADP8870_ALS2_EN 0x2F /* Second ALS comparator level enable */ 64 #define ADP8870_ALS1_STAT 0x30 /* Main ALS Comparator Status Register */ 65 #define ADP8870_ALS2_STAT 0x31 /* Second ALS Comparator Status Register */ 66 #define ADP8870_L2TRP 0x32 /* L2 comparator reference */ 68 #define ADP8870_L3TRP 0x34 /* L3 comparator reference */ 70 #define ADP8870_L4TRP 0x36 /* L4 comparator reference */ 72 #define ADP8870_L5TRP 0x38 /* L5 comparator reference */ 93 /* ADP8870_ALS1_EN Main ALS comparator level enable */
|