Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/Documentation/trace/coresight/
Dcoresight-etm4x-reference.rst77 Virtual register to index address comparator and range
92 uses the current ‘mode’ setting. Select comparator range in
113 Set a single address comparator according to addr_idx. This
114 is used if the address comparator is used as part of event
126 Set a trace start address comparator according to addr_idx.
127 Select comparator in control register.
138 Set a trace stop address comparator according to addr_idx.
139 Select comparator in control register.
150 Link context ID comparator to address comparator addr_idx
157 comparator.
[all …]
/kernel/linux/linux-6.6/Documentation/trace/coresight/
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 …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x.h73 /* Single-shot comparator registers */
83 /* Comparator registers */
224 * @vipcssctlr: Set, or read, which PE comparator inputs can control the
237 * @ss_ctrl: Controls the corresponding single-shot comparator resource.
238 * @ss_status: The status of the corresponding single-shot comparator.
239 * @ss_pe_cmp: Selects the PE comparator inputs for Single-shot control.
240 * @addr_idx: Address comparator index selector.
241 * @addr_val: Value for address comparator.
242 * @addr_acc: Address comparator access type.
243 * @addr_type: Current status of the comparator register.
[all …]
Dcoresight-etm4x-core.c740 /* NUMACPAIRS, bits[0:3] number of addr comparator pairs for tracing */ in etm4_init_arch_data()
742 /* NUMPC, bits[15:12] number of PE comparator inputs for tracing */ in etm4_init_arch_data()
759 * comparator control for tracing. Read any status regs as these in etm4_init_arch_data()
880 u64 start, u64 stop, int comparator) in etm4_set_comparator_filter() argument
884 /* First half of default address comparator */ in etm4_set_comparator_filter()
885 config->addr_val[comparator] = start; in etm4_set_comparator_filter()
886 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter()
887 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter()
889 /* Second half of default address comparator */ in etm4_set_comparator_filter()
890 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter()
[all …]
/kernel/linux/linux-6.6/include/linux/mfd/wm8350/
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
/kernel/linux/linux-5.10/include/linux/mfd/wm8350/
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
/kernel/linux/linux-6.6/drivers/mfd/
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()
156 .name = "tps65911-comparator",
175 MODULE_DESCRIPTION("TPS65911 comparator driver");
177 MODULE_ALIAS("platform:tps65911-comparator");
/kernel/linux/linux-5.10/drivers/mfd/
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()
156 .name = "tps65911-comparator",
175 MODULE_DESCRIPTION("TPS65911 comparator driver");
177 MODULE_ALIAS("platform:tps65911-comparator");
/kernel/linux/linux-6.6/drivers/phy/ti/
Dphy-omap-usb2.c55 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()
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.
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-omap-usb2.c55 struct phy_companion *comparator; member
92 * omap_usb2_set_comparator - links the comparator present in the system with
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) in omap_usb_set_vbus()
122 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus()
129 if (!phy->comparator) in omap_usb_start_srp()
132 return phy->comparator->start_srp(phy->comparator); in omap_usb_start_srp()
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.
/kernel/linux/linux-5.10/include/linux/platform_data/
Dadp5588.h58 #define CMP_CFG_STAT 0x30 /* Comparator Configuration and Status Register */
59 #define CMP_CONFG_SENS1 0x31 /* Sensor1 Comparator Configuration Register */
64 #define CMP1_LVL3_HYS 0x36 /* Sensor 2 Comparator Configuration Register */
69 #define CMP1_ADC_DAT_R1 0x3B /* Comparator 1 ADC data Register1 */
70 #define CMP1_ADC_DAT_R2 0x3C /* Comparator 1 ADC data Register2 */
71 #define CMP2_ADC_DAT_R1 0x3D /* Comparator 2 ADC data Register1 */
72 #define CMP2_ADC_DAT_R2 0x3E /* Comparator 2 ADC data Register2 */
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
Dcoresight-etm4x.h80 /* Single-shot comparator registers, n = 0-7 */
90 /* Address Comparator registers n = 0-15 */
93 /* Data Value Comparator Value registers, n = 0-7 */
812 * @vipcssctlr: Set, or read, which PE comparator inputs can control the
825 * @ss_ctrl: Controls the corresponding single-shot comparator resource.
826 * @ss_status: The status of the corresponding single-shot comparator.
827 * @ss_pe_cmp: Selects the PE comparator inputs for Single-shot control.
828 * @addr_idx: Address comparator index selector.
829 * @addr_val: Value for address comparator.
830 * @addr_acc: Address comparator access type.
[all …]
Dcoresight-etm4x-core.c1246 /* NUMACPAIRS, bits[0:3] number of addr comparator pairs for tracing */ in etm4_init_arch_data()
1248 /* NUMPC, bits[15:12] number of PE comparator inputs for tracing */ in etm4_init_arch_data()
1265 * comparator control for tracing. Read any status regs as these in etm4_init_arch_data()
1373 u64 start, u64 stop, int comparator) in etm4_set_comparator_filter() argument
1377 /* First half of default address comparator */ in etm4_set_comparator_filter()
1378 config->addr_val[comparator] = start; in etm4_set_comparator_filter()
1379 config->addr_acc[comparator] = access_type; in etm4_set_comparator_filter()
1380 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE; in etm4_set_comparator_filter()
1382 /* Second half of default address comparator */ in etm4_set_comparator_filter()
1383 config->addr_val[comparator + 1] = stop; in etm4_set_comparator_filter()
[all …]
/kernel/linux/linux-6.6/drivers/usb/phy/
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()
/kernel/linux/linux-5.10/drivers/usb/phy/
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()
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm4x21 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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm4x21 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dtwlxxxx-usb.txt1 USB COMPARATOR OF TWL CHIPS
3 TWL6030 USB COMPARATOR
23 TWL4030 USB PHY AND COMPARATOR
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dtwlxxxx-usb.txt1 USB COMPARATOR OF TWL CHIPS
3 TWL6030 USB COMPARATOR
23 TWL4030 USB PHY AND COMPARATOR
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/addac/
Dadi,ad74413r.yaml95 adi,gpo-comparator:
98 Whether to configure GPO as a comparator or not.
99 When not configured as a comparator, the GPO will be treated as an
148 adi,gpo-comparator;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Denvelope-detector.txt1 Bindings for ADC envelope detector using a DAC and a comparator
4 signal by a binary search using the output of a comparator wired to
22 - io-channels: Channel node of the dac to be used for comparator input.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/addac/
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;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/
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.

1234567891011