| /Zephyr-latest/ |
| D | .ruff-excludes.toml | 8 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports 9 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting 12 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports 13 "UP030", # https://docs.astral.sh/ruff/rules/format-literals 14 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting 17 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports 18 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting 19 "UP034", # https://docs.astral.sh/ruff/rules/extraneous-parentheses 20 "UP039", # https://docs.astral.sh/ruff/rules/unnecessary-class-parentheses 23 "E501", # https://docs.astral.sh/ruff/rules/line-too-long [all …]
|
| D | .yamllint | 5 rules:
|
| D | .gitlint | 15 # Set the extra-path where gitlint will search for user defined rules 40 # Note that the regex can contradict with other rules if not used correctly 61 #files=gitlint/rules.py,README.md
|
| /Zephyr-latest/subsys/net/pkt_filter/ |
| D | base.c | 122 static enum net_verdict lock_evaluate(struct npf_rule_list *rules, struct net_pkt *pkt) in lock_evaluate() argument 124 k_spinlock_key_t key = k_spin_lock(&rules->lock); in lock_evaluate() 125 enum net_verdict result = evaluate(&rules->rule_head, pkt); in lock_evaluate() 127 k_spin_unlock(&rules->lock, key); in lock_evaluate() 157 struct npf_rule_list *rules = get_ip_rules(net_pkt_family(pkt)); in net_pkt_filter_ip_recv_ok() local 159 if (!rules) { in net_pkt_filter_ip_recv_ok() 164 enum net_verdict result = lock_evaluate(rules, pkt); in net_pkt_filter_ip_recv_ok() 174 void npf_insert_rule(struct npf_rule_list *rules, struct npf_rule *rule) in npf_insert_rule() argument 176 k_spinlock_key_t key = k_spin_lock(&rules->lock); in npf_insert_rule() 178 NET_DBG("inserting rule %p into %p", rule, rules); in npf_insert_rule() [all …]
|
| D | Kconfig | 11 to construct custom rules for accepting and/or denying packet 21 rules on the IP packet. 28 rules on the IP packet. 35 rules for e.g. TCP/UDP packets.
|
| /Zephyr-latest/scripts/ruff/ |
| D | gen_lint_exclude.py | 33 rules: dict[str, set[RuffRule]] = {} variable 35 rules.setdefault(v["filename"], set()).add(RuffRule(v["code"], v["url"])) 37 for f, rs in rules.items():
|
| /Zephyr-latest/doc/contribute/style/ |
| D | devicetree.rst | 7 * Follow the Devicetree specification conventions and rules. 8 * If the Linux kernel rules in
|
| /Zephyr-latest/doc/develop/ |
| D | beyond-GSG.rst | 236 .. _setting-udev-rules: 238 Setting udev rules 244 define udev rules to grant the needed access permission. 248 removed) from the system. We can add a rules file to grant access 251 The OpenOCD (On-Chip Debugger) project conveniently provides a rules 252 file that defined board-specific rules for most Zephyr-supported 253 arm-based boards, so we recommend installing this rules 255 installed the Zephyr SDK there is a copy of this rules file in the SDK 258 * Either download the OpenOCD rules file and copy it to the right 261 …wget -O 60-openocd.rules https://sf.net/p/openocd/code/ci/master/tree/contrib/60-openocd.rules?for… [all …]
|
| /Zephyr-latest/include/zephyr/net/ |
| D | net_pkt_filter.h | 85 void npf_insert_rule(struct npf_rule_list *rules, struct npf_rule *rule); 93 void npf_append_rule(struct npf_rule_list *rules, struct npf_rule *rule); 102 bool npf_remove_rule(struct npf_rule_list *rules, struct npf_rule *rule); 110 bool npf_remove_all_rules(struct npf_rule_list *rules);
|
| /Zephyr-latest/doc/connectivity/networking/api/ |
| D | net_pkt_filter.rst | 14 construct custom rules for accepting and/or denying packet transmission 21 Both the transmission and reception paths may have a list of filter rules. 25 as specified by the current rule and no more rules are considered. If one
|
| D | traffic-class.rst | 20 The VLAN priority is mapped to a certain traffic class according to rules
|
| /Zephyr-latest/boards/phytec/phyboard_pollux/doc/ |
| D | index.rst | 182 …"0a70", ATTR{idVendor}=="10c4", MODE="0666", GROUP="plugdev"' > /etc/udev/rules.d/50-usb-uart.rules 184 Reload the rules and replug the device. 188 $ sudo udevadm control --reload-rules 190 Finally, unplug and plug the board again for the rules to take effect.
|
| /Zephyr-latest/doc/build/dts/ |
| D | bindings-upstream.rst | 6 This section includes general rules for writing bindings that you want to 7 submit to the upstream Zephyr Project. (You don't need to follow these rules 41 General rules 107 The following general rules apply to vendor prefixes in :ref:`compatible 141 .. _dt-bindings-default-rules: 172 Examples of how to write descriptions according to these rules:
|
| /Zephyr-latest/drivers/ethernet/ |
| D | eth_adin2111.c | 960 uint32_t rules, uint16_t slot) in adin2111_write_filter_address() argument 966 rules | sys_get_be16(&addr[0])); in adin2111_write_filter_address() 1003 uint32_t rules = ADIN2111_ADDR_APPLY2PORT1 | in adin2111_filter_multicast() local 1008 return adin2111_write_filter_address(dev, mm, mmask, rules, in adin2111_filter_multicast() 1017 uint32_t rules = ADIN2111_ADDR_APPLY2PORT1 | in adin2111_filter_broadcast() local 1022 return adin2111_write_filter_address(dev, mac, mac, rules, in adin2111_filter_broadcast() 1029 uint32_t rules = (port_idx == 0 ? ADIN2111_ADDR_APPLY2PORT1 in adin2111_filter_unicast() local 1035 return adin2111_write_filter_address(dev, addr, NULL, rules, slot); in adin2111_filter_unicast() 1105 uint32_t rules = (port_idx == 0 ? ADIN2111_ADDR_APPLY2PORT1 in eth_adin2111_set_mac_filter() local 1109 return adin2111_write_filter_address(dev, mac, NULL, rules, i); in eth_adin2111_set_mac_filter()
|
| /Zephyr-latest/boards/openisa/rv32m1_vega/doc/ |
| D | index.rst | 424 to install the `60-openocd.rules`_ udev rules file (usually by 425 placing it in :file:`/etc/udev/rules.d`, then unplugging and 568 to install the `60-openocd.rules`_ udev rules file (usually by 569 placing it in :file:`/etc/udev/rules.d`, then unplugging and 596 - On Linux, make sure udev rules are installed, as described above. 613 to install the `60-openocd.rules`_ udev rules file (usually by 614 placing it in :file:`/etc/udev/rules.d`, then unplugging and 655 - On Linux, make sure udev rules are installed, as described above. 760 .. _60-openocd.rules: 761 https://github.com/open-isa-rv32m1/rv32m1-openocd/blob/master/contrib/60-openocd.rules
|
| /Zephyr-latest/cmake/sca/eclair/ |
| D | sca_options.cmake | 3 option(ECLAIR_RULESET_FIRST_ANALYSIS "A tiny selection of the projects coding guideline rules to
|
| /Zephyr-latest/doc/develop/flash_debug/ |
| D | nordic_segger.rst | 112 You can also `blocklist Segger devices by editing udev rules`_ so ModemManager 118 >> /etc/udev/rules.d/99-segger-modemmanager-blocklist.rules' 248 .. _blocklist Segger devices by editing udev rules: http://www.at91.com/linux4sam/bin/view/Linux4SA…
|
| /Zephyr-latest/scripts/gitlint/ |
| D | zephyr_commit_rules.py | 16 from gitlint.rules import CommitRule, RuleViolation, CommitMessageTitle, LineRule, CommitMessageBody
|
| /Zephyr-latest/boards/andestech/adp_xc7k_ae350/doc/ |
| D | index.rst | 221 :file:`70-ndsusb-v1.rules` udev rules file (usually by placing it in 222 :file:`/etc/udev/rules.d`, then unplugging and plugging the
|
| /Zephyr-latest/scripts/ci/ |
| D | upload_test_results_es.py | 162 rules = json.loads(str(args.transform).replace("'", "\"").replace("\\", "\\\\")) 163 for property_name, rule in rules.items():
|
| /Zephyr-latest/doc/develop/toolchains/ |
| D | zephyr_sdk.rst | 134 #. Install `udev <https://en.wikipedia.org/wiki/Udev>`_ rules, which 139 …n-trim| /sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
|
| /Zephyr-latest/scripts/coccinelle/ |
| D | deref_null.cocci | 17 // The following two rules are separate, because both can match a single 212 // The following three rules are duplicates of ifm, pr1 and pr2 respectively.
|
| /Zephyr-latest/boards/microchip/mec172xmodular_assy6930/doc/ |
| D | mec172xmodular_assy6930.rst | 133 For Linux please make sure that you copied ``60-dediprog.rules`` 134 from the ``SF100Linux`` folder to the :code:`/etc/udev/rules.s` (or rules.d)
|
| /Zephyr-latest/doc/safety/ |
| D | safety_overview.rst | 151 a staged and incremental approach for complying with a set of coding rules (AKA 156 Coding guideline rules are available to be followed and referenced, 165 the safety certification scope. For rules easily applied across codebase, we 170 Revisit the coding guideline rules and based on experience from previous 171 stages, refine/iterate on selected rules. 180 Coding guideline rules may be removed/changed at any time by filing a
|
| /Zephyr-latest/cmake/compiler/clang/ |
| D | compiler_flags.cmake | 48 # C implicit promotion rules will want to make floats into doubles very easily
|