Home
last modified time | relevance | path

Searched refs:gpio_pin (Results 1 – 1 of 1) sorted by relevance

/external/autotest/server/cros/network/
Dattenuator_controller.py216 for gpio_pin in VARIABLE_ATTENUATORS[attenuator]:
217 self._enable_gpio_pin(gpio_pin)
218 self._setup_gpio_pin(gpio_pin)
247 def _enable_gpio_pin(self, gpio_pin): argument
253 self._host.run('echo 7 > %s' % gpio_pin.pinmux_file)
259 result = self._host.run('cat %s' % gpio_pin.pinmux_file)
271 gpio_pin.pin_name)
274 def _setup_gpio_pin(self, gpio_pin, enable=True): argument
284 sysfile = gpio_pin.export_file
286 sysfile = gpio_pin.unexport_file
[all …]