Lines Matching refs:m
253 m = re.match(r'^#include\s+(?:"|<).*nrf.*(?:>|").*', line)
254 if m:
346 m = re.match(r'^#include\s+".*-pinctrl\.dtsi".*', line)
347 if m:
352 m = re.match(r'^#include\s+(?:"|<)(.*)(?:>|").*', line)
353 if m:
358 m = re.match(r"^\s*/\s*{.*", line)
359 if m:
393 m = re.match(r"^[^&]*&([a-z0-9]+)\s*{[^}]*$", line)
394 if m:
398 if re.match(device.pattern, m.group(1)):
401 config = DeviceConfiguration(m.group(1), [])
424 m = re.match(r"(\s+).*", line)
425 if m:
426 indent = m.group(1)
471 m = re.match(r"\s*io-pins\s*=\s*([\s<>,0-9]+).*", line)
472 if m:
473 pins = re.sub(r"[<>,]", "", m.group(1)).split()
478 m = re.match(r"\s*([a-z]+\d?)-pins?\s*=\s*<(\d+)>.*", line)
479 if m:
480 config.set_signal_pin(signals[m.group(1)], int(m.group(2)))
499 m = re.match(r"\s*([a-z]+)-pull-up.*", line)
500 if m:
501 config.add_signal_config(signals[m.group(1)], PIN_CONFIG.PULL_UP)
515 m = re.match(r"\s*miso-pull-up.*", line)
516 if m:
521 m = re.match(r"\s*miso-pull-down.*", line)
522 if m:
537 m = re.match(r"\s*([a-z0-9]+)-inverted.*", line)
538 if m:
539 config.add_signal_config(signals[m.group(1)], PIN_CONFIG.NORDIC_INVERT)