Home
last modified time | relevance | path

Searched full:comparator (Results 1 – 25 of 106) sorted by relevance

12345

/linux/Documentation/trace/coresight/
H A Dcoresight-etm4x-reference.rst91 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 …]
/linux/include/linux/mfd/wm8350/
H A Dcomparator.h3 * 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
/linux/drivers/mfd/
H A Dtps65911-comparator.c23 /* 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()
154 .name = "tps65911-comparator",
173 MODULE_DESCRIPTION("TPS65911 comparator driver");
175 MODULE_ALIAS("platform:tps65911-comparator");
H A Dwm8350-regmap.c54 { 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 */
/linux/drivers/phy/ti/
H A Dphy-omap-usb2.c56 struct phy_companion *comparator; member
93 * omap_usb2_set_comparator() - links the comparator present in the system with this phy
95 * @comparator: the companion phy(comparator) for this phy
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()
H 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.
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm4x.h77 /* Single-shot comparator registers, n = 0-7 */
87 /* Address Comparator registers n = 0-15 */
789 * @vipcssctlr: Set, or read, which PE comparator inputs can control the
802 * @ss_ctrl: Controls the corresponding single-shot comparator resource.
803 * @ss_status: The status of the corresponding single-shot comparator.
804 * @ss_pe_cmp: Selects the PE comparator inputs for Single-shot control.
805 * @addr_idx: Address comparator index selector.
806 * @addr_val: Value for address comparator.
807 * @addr_acc: Address comparator access type.
808 * @addr_type: Current status of the comparator register.
[all …]
H A Dcoresight-etm4x-core.c1441 /* NUMACPAIRS, bits[0:3] number of addr comparator pairs for tracing */ in etm4_init_arch_data()
1443 /* NUMPC, bits[15:12] number of PE comparator inputs for tracing */ in etm4_init_arch_data()
1460 * comparator control for tracing. Read any status regs as these in etm4_init_arch_data()
1571 u64 start, u64 stop, int comparator) in etm4_set_comparator_filter() argument
1575 /* First half of default address comparator */ in etm4_set_comparator_filter()
1576 config->addr_val[comparator] = start; in etm4_set_comparator_filter()
1577 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter()
1578 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter()
1580 /* Second half of default address comparator */ in etm4_set_comparator_filter()
1581 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter()
[all …]
H A Dcoresight-etm.h132 #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.
/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74413r.yaml97 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;
/linux/Documentation/devicetree/bindings/iio/adc/
H A Denvelope-detector.yaml7 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.
/linux/include/linux/platform_data/
H A Dadp8870.h88 * L2 comparator current 0..1106uA
93 * L3 comparator current 0..551uA
98 * L4 comparator current 0..275uA
103 * L5 comparator current 0..138uA
H A Dadp8860.h91 * L2 comparator current 0..1106uA
96 * L3 comparator current 0..138uA
/linux/include/linux/phy/
H A Domap_usb.h17 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
/linux/include/linux/mfd/wm831x/
H A Dauxadc.h101 * R16432 (0x4030) - Comparator Control
137 * R16433 (0x4031) - Comparator 1
151 * R16434 (0x4032) - Comparator 2
165 * R16435 (0x4033) - Comparator 3
179 * R16436 (0x4034) - Comparator 4
/linux/Documentation/devicetree/bindings/extcon/
H A Dextcon-palmas.txt3 PALMAS USB COMPARATOR
12 - ti,wakeup : To enable the wakeup comparator in probe
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-adc-envelope-detector8 of a comparator wired to an interrupt pin. Like so::
37 Number of milliseconds to wait for the comparator in each
/linux/drivers/iio/adc/
H A Denvelope-detector.c3 * 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");
/linux/Documentation/admin-guide/perf/
H A Darm-ccn.rst31 "dir" (transmit/receive direction), comparator values ("cmp_l"
32 and "cmp_h") and "mask", being index of the comparator mask.
/linux/drivers/power/supply/
H 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()
946 dev_warn(ddata->dev, "could not clear USB comparator: %i\n", in cpcap_charger_shutdown()
/linux/drivers/clocksource/
H A Darm_global_timer.c91 * To ensure that updates to comparator value register do not set the
94 * 2. Write the lower 32-bit Comparator Value Register.
95 * 3. Write the upper 32-bit Comparator Value Register.
162 * the Comparator register value to a higher value. in gt_clockevent_interrupt()
/linux/Documentation/devicetree/bindings/net/can/
H A Dnxp,sja1000.yaml79 nxp,no-comparator-bypass:
81 description: Allows to disable the CAN input comparator.
/linux/Documentation/hwmon/
H A Dadt7410.rst58 device can either run in comparator mode or interrupt mode. The ADT7410 supports
78 The device is set to 16 bit resolution and comparator mode.
/linux/drivers/input/keyboard/
H A Dadp5588-keys.c78 #define CMP_CFG_STAT 0x30 /* Comparator Configuration and Status Register */
79 #define CMP_CONFG_SENS1 0x31 /* Sensor1 Comparator Configuration Register */
84 #define CMP1_LVL3_HYS 0x36 /* Sensor 2 Comparator Configuration Register */
89 #define CMP1_ADC_DAT_R1 0x3B /* Comparator 1 ADC data Register1 */
90 #define CMP1_ADC_DAT_R2 0x3C /* Comparator 1 ADC data Register2 */
91 #define CMP2_ADC_DAT_R1 0x3D /* Comparator 2 ADC data Register1 */
92 #define CMP2_ADC_DAT_R2 0x3E /* Comparator 2 ADC data Register2 */
/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,ltc4282.yaml57 "Comparator Inputs" section. In there there's a line for each of the 5%,
69 "Comparator Inputs" section. In there there's a line for each of the 5%,

12345