Lines Matching full:dapm
4 # Generate a graph of the current DAPM state for an audio card
27 Generate a graph of the current DAPM state for an audio card.
29 The DAPM state can be obtained via debugfs for a card on the local host or
38 -c CARD Sound card to get DAPM state of
39 -r REMOTE_TARGET Get DAPM state from REMOTE_TARGET via SSH and SCP
41 -d STATE_DIR Get DAPM state from a local copy of a debugfs tree
42 -o OUT_FILE Output file (default: dapm.dot)
59 # Connect to a remote target via SSH, collect all DAPM files from debufs
60 # into a tarball and get the tarball via SCP into $3/dapm.tar
73 echo "Collecting DAPM state from ${1}"
74 dbg_echo "Collected DAPM state in ${3}"
79 find * -type d -exec mkdir -p ${3}/dapm-tree/{} \; &&
80 find * -type f -exec cp \"{}\" \"${3}/dapm-tree/{}\" \; &&
81 cd ${3}/dapm-tree &&
82 tar cf ${3}/dapm.tar ."
83 scp -q "${1}:${3}/dapm.tar" "${3}"
86 tar xf "${tmp_dir}/dapm.tar" -C "${4}"
156 # Parse the DAPM tree for a sound card component and generate graph
176 # "./cs42l51.0-004a/dapm" -> "cs42l51.0-004a"
215 # Parse the DAPM tree for a sound card and generate graph description in
219 # $2 = directory tree with DAPM state (either in debugfs or a mirror)
232 process_dapm_component "${tmp_dir}" "${dapm_dir}/dapm" "ROOT"
235 for c_dir in "${dapm_dir}"/*/dapm
246 local out_file="dapm.dot"
314 dapm_tree="${tmp_dir}/dapm-tree"
317 # In all cases now ${dapm_tree} contains the DAPM state