Lines Matching refs:pin
73 pin = int(match.group(3))
75 self._offset = (port * 32) + pin
77 self._offset = ((port - 4) * 32) + pin
79 self._offset = ((port - 8) * 32) + pin
83 pin = int(match.group(2))
84 self._offset = (port * 32) + pin
239 def __init__(self, pin, imx_rt = ''): argument
245 pin_regex = re.search(r'PIO(\d+)_(\d+)', pin.attrib['name'])
246 if (imx_rt and (pin.attrib['name'] == 'PMIC_I2C_SCL' or
247 pin.attrib['name'] == 'PMIC_I2C_SDA')):
249 self._name = pin.attrib['name']
253 logging.debug('Could not match pin name %s', pin.attrib['name'])
257 self._name = pin.attrib['name']
260 self._properties = self._get_pin_properties(pin.find('functional_properties'))
262 for connections in pin.findall('connections'):
405 for pin in pins:
407 signal_name = pin.attrib.get('pin_signal')
423 features = pin.find('mex:pin_features', NAMESPACES)
426 for feature in pin.find('mex:pin_features', NAMESPACES):
653 for pin in pins_node:
654 signal = SignalPin(pin, self._imx_rt)
723 for pin in sorted(self._pins.values()):
726 if 'asw' in pin.get_pin_defaults():
728 elif 'asw0' in pin.get_pin_defaults():
730 elif 'ssel' in pin.get_pin_defaults():
734 sig_port = pin.get_port()
735 sig_pin = pin.get_pin()
736 for mux in sorted(pin.get_mux_options()):
812 for pin in group.get_pins(pin_prop):