Skip to content

Commit

Permalink
Lint context files
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 6, 2023
1 parent e60473d commit 61a5d61
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion pytest_libiio/resources/devices/ad9081.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pytest_libiio/resources/devices/ad9081_tdd.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pytest_libiio/resources/devices/ad9172.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pytest_libiio/resources/devices/ad9265.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE context [<!ELEMENT context (device | context-attribute)*><!ELEMENT context-attribute EMPTY><!ELEMENT device (channel | attribute | debug-attribute | buffer-attribute)*><!ELEMENT channel (scan-element?, attribute*)><!ELEMENT attribute EMPTY><!ELEMENT scan-element EMPTY><!ELEMENT debug-attribute EMPTY><!ELEMENT buffer-attribute EMPTY><!ATTLIST context name CDATA #REQUIRED description CDATA #IMPLIED><!ATTLIST context-attribute name CDATA #REQUIRED value CDATA #REQUIRED><!ATTLIST device id CDATA #REQUIRED name CDATA #IMPLIED><!ATTLIST channel id CDATA #REQUIRED type (input|output) #REQUIRED name CDATA #IMPLIED><!ATTLIST scan-element index CDATA #REQUIRED format CDATA #REQUIRED scale CDATA #IMPLIED><!ATTLIST attribute name CDATA #REQUIRED filename CDATA #IMPLIED value CDATA #IMPLIED><!ATTLIST debug-attribute name CDATA #REQUIRED value CDATA #IMPLIED><!ATTLIST buffer-attribute name CDATA #REQUIRED value CDATA #IMPLIED>]><context name="network" description="192.168.10.227 Linux analog 4.19.0-g17f4223 #1848 SMP PREEMPT Tue Jul 27 12:46:50 IST 2021 armv7l" ><context-attribute name="local,kernel" value="4.19.0-g17f4223" /><context-attribute name="uri" value="ip:192.168.10.227" /><context-attribute name="ip,ip-addr" value="192.168.10.227" /><device id="iio:device0" name="xadc" ><channel id="voltage5" name="vccoddr" type="input" ><attribute name="raw" filename="in_voltage5_vccoddr_raw" value="2032" /><attribute name="scale" filename="in_voltage5_vccoddr_scale" value="0.732421875" /></channel><channel id="voltage0" name="vccint" type="input" ><attribute name="raw" filename="in_voltage0_vccint_raw" value="1354" /><attribute name="scale" filename="in_voltage0_vccint_scale" value="0.732421875" /></channel><channel id="voltage4" name="vccpaux" type="input" ><attribute name="raw" filename="in_voltage4_vccpaux_raw" value="2439" /><attribute name="scale" filename="in_voltage4_vccpaux_scale" value="0.732421875" /></channel><channel id="temp0" type="input" ><attribute name="offset" filename="in_temp0_offset" value="-2219" /><attribute name="raw" filename="in_temp0_raw" value="2496" /><attribute name="scale" filename="in_temp0_scale" value="123.040771484" /></channel><channel id="voltage7" name="vrefn" type="input" ><attribute name="raw" filename="in_voltage7_vrefn_raw" value="-13" /><attribute name="scale" filename="in_voltage7_vrefn_scale" value="0.732421875" /></channel><channel id="voltage1" name="vccaux" type="input" ><attribute name="raw" filename="in_voltage1_vccaux_raw" value="2442" /><attribute name="scale" filename="in_voltage1_vccaux_scale" value="0.732421875" /></channel><channel id="voltage2" name="vccbram" type="input" ><attribute name="raw" filename="in_voltage2_vccbram_raw" value="1354" /><attribute name="scale" filename="in_voltage2_vccbram_scale" value="0.732421875" /></channel><channel id="voltage3" name="vccpint" type="input" ><attribute name="raw" filename="in_voltage3_vccpint_raw" value="1345" /><attribute name="scale" filename="in_voltage3_vccpint_scale" value="0.732421875" /></channel><channel id="voltage6" name="vrefp" type="input" ><attribute name="raw" filename="in_voltage6_vrefp_raw" value="1687" /><attribute name="scale" filename="in_voltage6_vrefp_scale" value="0.732421875" /></channel><attribute name="sampling_frequency" value="961538" /></device><device id="iio:device1" name="ad9517-4" ><channel id="altvoltage4" type="output" ><attribute name="frequency" filename="out_altvoltage4_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage4_raw" value="0" /></channel><channel id="altvoltage3" type="output" ><attribute name="frequency" filename="out_altvoltage3_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage3_raw" value="1" /></channel><channel id="altvoltage7" type="output" ><attribute name="frequency" filename="out_altvoltage7_frequency" value="5208333" /><attribute name="raw" filename="out_altvoltage7_raw" value="0" /></channel><channel id="altvoltage2" type="output" ><attribute name="frequency" filename="out_altvoltage2_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage2_raw" value="0" /></channel><channel id="altvoltage0" type="output" ><attribute name="frequency" filename="out_altvoltage0_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage0_raw" value="0" /></channel><channel id="altvoltage5" type="output" ><attribute name="frequency" filename="out_altvoltage5_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage5_raw" value="1" /></channel><channel id="altvoltage1" type="output" ><attribute name="frequency" filename="out_altvoltage1_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage1_raw" value="0" /></channel><channel id="altvoltage6" type="output" ><attribute name="frequency" filename="out_altvoltage6_frequency" value="5208333" /><attribute name="raw" filename="out_altvoltage6_raw" value="0" /></channel><debug-attribute name="direct_reg_access" value="0x18" /></device><device id="iio:device2" name="axi-ad9265-core-lpc" ><channel id="voltage0" type="input" ><scan-element index="0" format="le:S16/16&gt;&gt;0" scale="0.030517" /><attribute name="sampling_frequency" filename="in_voltage_sampling_frequency" value="125000000" /><attribute name="scale" filename="in_voltage_scale" value="0.030517" /><attribute name="scale_available" filename="in_voltage_scale_available" value="0.019073 0.022888 0.026702 0.030517" /><attribute name="test_mode" filename="in_voltage0_test_mode" value="off" /><attribute name="test_mode_available" filename="in_voltage_test_mode_available" value="off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle" /></channel><buffer-attribute name="data_available" value="0" /><buffer-attribute name="length_align_bytes" value="8" /><buffer-attribute name="watermark" value="2048" /><debug-attribute name="pseudorandom_err_check" value="CH0 : PN9 : Out of Sync : PN Error" /><debug-attribute name="direct_reg_access" value="0x18" /></device><device id="iio_sysfs_trigger" ><attribute name="add_trigger" value="ERROR" /><attribute name="remove_trigger" value="ERROR" /></device></context>
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE context [<!ELEMENT context (device | context-attribute)*><!ELEMENT context-attribute EMPTY><!ELEMENT device (channel | attribute | debug-attribute | buffer-attribute)*><!ELEMENT channel (scan-element?, attribute*)><!ELEMENT attribute EMPTY><!ELEMENT scan-element EMPTY><!ELEMENT debug-attribute EMPTY><!ELEMENT buffer-attribute EMPTY><!ATTLIST context name CDATA #REQUIRED description CDATA #IMPLIED><!ATTLIST context-attribute name CDATA #REQUIRED value CDATA #REQUIRED><!ATTLIST device id CDATA #REQUIRED name CDATA #IMPLIED><!ATTLIST channel id CDATA #REQUIRED type (input|output) #REQUIRED name CDATA #IMPLIED><!ATTLIST scan-element index CDATA #REQUIRED format CDATA #REQUIRED scale CDATA #IMPLIED><!ATTLIST attribute name CDATA #REQUIRED filename CDATA #IMPLIED value CDATA #IMPLIED><!ATTLIST debug-attribute name CDATA #REQUIRED value CDATA #IMPLIED><!ATTLIST buffer-attribute name CDATA #REQUIRED value CDATA #IMPLIED>]><context name="network" description="192.168.10.227 Linux analog 4.19.0-g17f4223 #1848 SMP PREEMPT Tue Jul 27 12:46:50 IST 2021 armv7l" ><context-attribute name="local,kernel" value="4.19.0-g17f4223" /><context-attribute name="uri" value="ip:192.168.10.227" /><context-attribute name="ip,ip-addr" value="192.168.10.227" /><device id="iio:device0" name="xadc" ><channel id="voltage5" name="vccoddr" type="input" ><attribute name="raw" filename="in_voltage5_vccoddr_raw" value="2032" /><attribute name="scale" filename="in_voltage5_vccoddr_scale" value="0.732421875" /></channel><channel id="voltage0" name="vccint" type="input" ><attribute name="raw" filename="in_voltage0_vccint_raw" value="1354" /><attribute name="scale" filename="in_voltage0_vccint_scale" value="0.732421875" /></channel><channel id="voltage4" name="vccpaux" type="input" ><attribute name="raw" filename="in_voltage4_vccpaux_raw" value="2439" /><attribute name="scale" filename="in_voltage4_vccpaux_scale" value="0.732421875" /></channel><channel id="temp0" type="input" ><attribute name="offset" filename="in_temp0_offset" value="-2219" /><attribute name="raw" filename="in_temp0_raw" value="2496" /><attribute name="scale" filename="in_temp0_scale" value="123.040771484" /></channel><channel id="voltage7" name="vrefn" type="input" ><attribute name="raw" filename="in_voltage7_vrefn_raw" value="-13" /><attribute name="scale" filename="in_voltage7_vrefn_scale" value="0.732421875" /></channel><channel id="voltage1" name="vccaux" type="input" ><attribute name="raw" filename="in_voltage1_vccaux_raw" value="2442" /><attribute name="scale" filename="in_voltage1_vccaux_scale" value="0.732421875" /></channel><channel id="voltage2" name="vccbram" type="input" ><attribute name="raw" filename="in_voltage2_vccbram_raw" value="1354" /><attribute name="scale" filename="in_voltage2_vccbram_scale" value="0.732421875" /></channel><channel id="voltage3" name="vccpint" type="input" ><attribute name="raw" filename="in_voltage3_vccpint_raw" value="1345" /><attribute name="scale" filename="in_voltage3_vccpint_scale" value="0.732421875" /></channel><channel id="voltage6" name="vrefp" type="input" ><attribute name="raw" filename="in_voltage6_vrefp_raw" value="1687" /><attribute name="scale" filename="in_voltage6_vrefp_scale" value="0.732421875" /></channel><attribute name="sampling_frequency" value="961538" /></device><device id="iio:device1" name="ad9517-4" ><channel id="altvoltage4" type="output" ><attribute name="frequency" filename="out_altvoltage4_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage4_raw" value="0" /></channel><channel id="altvoltage3" type="output" ><attribute name="frequency" filename="out_altvoltage3_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage3_raw" value="1" /></channel><channel id="altvoltage7" type="output" ><attribute name="frequency" filename="out_altvoltage7_frequency" value="5208333" /><attribute name="raw" filename="out_altvoltage7_raw" value="0" /></channel><channel id="altvoltage2" type="output" ><attribute name="frequency" filename="out_altvoltage2_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage2_raw" value="0" /></channel><channel id="altvoltage0" type="output" ><attribute name="frequency" filename="out_altvoltage0_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage0_raw" value="0" /></channel><channel id="altvoltage5" type="output" ><attribute name="frequency" filename="out_altvoltage5_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage5_raw" value="1" /></channel><channel id="altvoltage1" type="output" ><attribute name="frequency" filename="out_altvoltage1_frequency" value="125000000" /><attribute name="raw" filename="out_altvoltage1_raw" value="0" /></channel><channel id="altvoltage6" type="output" ><attribute name="frequency" filename="out_altvoltage6_frequency" value="5208333" /><attribute name="raw" filename="out_altvoltage6_raw" value="0" /></channel><debug-attribute name="direct_reg_access" value="0x18" /></device><device id="iio:device2" name="axi-ad9265-core-lpc" ><channel id="voltage0" type="input" ><scan-element index="0" format="le:S16/16&gt;&gt;0" scale="0.030517" /><attribute name="sampling_frequency" filename="in_voltage_sampling_frequency" value="125000000" /><attribute name="scale" filename="in_voltage_scale" value="0.030517" /><attribute name="scale_available" filename="in_voltage_scale_available" value="0.019073 0.022888 0.026702 0.030517" /><attribute name="test_mode" filename="in_voltage0_test_mode" value="off" /><attribute name="test_mode_available" filename="in_voltage_test_mode_available" value="off midscale_short pos_fullscale neg_fullscale checkerboard pn_long pn_short one_zero_toggle" /></channel><buffer-attribute name="data_available" value="0" /><buffer-attribute name="length_align_bytes" value="8" /><buffer-attribute name="watermark" value="2048" /><debug-attribute name="pseudorandom_err_check" value="CH0 : PN9 : Out of Sync : PN Error" /><debug-attribute name="direct_reg_access" value="0x18" /></device><device id="iio_sysfs_trigger" ><attribute name="add_trigger" value="ERROR" /><attribute name="remove_trigger" value="ERROR" /></device></context>
2 changes: 1 addition & 1 deletion pytest_libiio/resources/devices/ad9371.xml

Large diffs are not rendered by default.

Loading

0 comments on commit 61a5d61

Please sign in to comment.