The functions for managing topology elements begin with tpm_elem.
tpm_elemadj
Compiles a list of adjacent elements.
tpm_elemfind
Finds an element.
tpm_elemget
Lists information about an element.
tpm_elemid
Gets the ID of an element.
tpm_elemqty
Counts topology elements.
tpm_elemss
Creates a selection set of elements of a given type.