Home
last modified time | relevance | path

Searched full:filters (Results 1 – 25 of 137) sorted by relevance

123456

/Zephyr-latest/drivers/can/
DKconfig.stm3218 int "Maximum number of standard (11-bit) ID filters"
22 Defines the maximum number of filters with standard ID (11-bit)
29 filters:
34 int "Maximum number of extended (29-bit) ID filters"
38 Defines the maximum number of filters with extended ID (29-bit)
45 filters:
62 int "Maximum number of standard (11-bit) ID filters"
66 Defines the maximum number of filters with standard ID (11-bit)
70 int "Maximum number of extended (29-bit) ID filters"
74 Defines the maximum number of filters with extended ID (29-bit)
DKconfig.loopback16 int "Maximum number of concurrent active filters"
20 Defines the array size of the filters.
DKconfig.xmc4xxx39 int "Maximum number of concurrent active filters"
43 Maximum number of filters supported by the can_add_rx_callback() API call.
DKconfig.mcp251xfd55 int "Maximum number of concurrent active filters"
59 Maximum number of filters supported by the can_add_rx_callback() API call.
Dcan_native_linux.c35 struct can_filter_context filters[CONFIG_CAN_MAX_FILTER]; member
61 for (int filter_id = 0; filter_id < ARRAY_SIZE(data->filters); filter_id++) { in dispatch_frame()
62 if (data->filters[filter_id].rx_cb == NULL) { in dispatch_frame()
66 if (!can_frame_matches_filter(frame, &data->filters[filter_id].filter)) { in dispatch_frame()
73 callback = data->filters[filter_id].rx_cb; in dispatch_frame()
74 callback(dev, &tmp_frame, data->filters[filter_id].cb_arg); in dispatch_frame()
215 for (int i = 0; i < ARRAY_SIZE(data->filters); i++) { in can_native_linux_add_rx_filter()
216 if (data->filters[i].rx_cb == NULL) { in can_native_linux_add_rx_filter()
228 filter_ctx = &data->filters[filter_id]; in can_native_linux_add_rx_filter()
244 if (filter_id < 0 || filter_id >= ARRAY_SIZE(data->filters)) { in can_native_linux_remove_rx_filter()
[all …]
DKconfig.mcux43 int "Maximum number of concurrent active RX filters"
53 Defines maximum number of concurrent active RX filters
Dcan_loopback.c38 struct can_loopback_filter filters[CONFIG_CAN_MAX_FILTER]; member
94 filter = &data->filters[i]; in tx_thread()
164 static inline int get_free_filter(struct can_loopback_filter *filters) in get_free_filter() argument
167 if (filters[i].rx_cb == NULL) { in get_free_filter()
190 filter_id = get_free_filter(data->filters); in can_loopback_add_rx_filter()
198 loopback_filter = &data->filters[filter_id]; in can_loopback_add_rx_filter()
214 if (filter_id < 0 || filter_id >= ARRAY_SIZE(data->filters)) { in can_loopback_remove_rx_filter()
221 data->filters[filter_id].rx_cb = NULL; in can_loopback_remove_rx_filter()
424 data->filters[i].rx_cb = NULL; in can_loopback_init()
DKconfig.rcar15 int "Maximum number of concurrent active filters"
DKconfig.sja100012 int "Maximum number of concurrent active RX filters"
Dcan_sja1000.c448 for (i = 0; i < ARRAY_SIZE(data->filters); i++) { in can_sja1000_add_rx_filter()
456 data->filters[filter_id].filter = *filter; in can_sja1000_add_rx_filter()
457 data->filters[filter_id].user_data = user_data; in can_sja1000_add_rx_filter()
458 data->filters[filter_id].callback = callback; in can_sja1000_add_rx_filter()
468 if (filter_id < 0 || filter_id >= ARRAY_SIZE(data->filters)) { in can_sja1000_remove_rx_filter()
474 data->filters[filter_id].callback = NULL; in can_sja1000_remove_rx_filter()
475 data->filters[filter_id].user_data = NULL; in can_sja1000_remove_rx_filter()
476 data->filters[filter_id].filter = (struct can_filter){0}; in can_sja1000_remove_rx_filter()
583 for (i = 0; i < ARRAY_SIZE(data->filters); i++) { in can_sja1000_handle_receive_irq()
588 if (can_frame_matches_filter(&frame, &data->filters[i].filter)) { in can_sja1000_handle_receive_irq()
[all …]
DKconfig.native_linux24 int "Maximum number of concurrent active filters"
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestplan.py55 class Filters: class
58 # filters provided on command line by the user/tester
60 # filters in the testsuite yaml definition
62 # filters in the testplan yaml definition
64 # filters related to platform definition
686 instance.add_filter("Quarantine: " + matched_quarantine, Filters.QUARANTINE)
689 instance.add_filter("Not under quarantine", Filters.QUARANTINE)
901 instance.add_filter("Platform is excluded on command line.", Filters.CMD_LINE)
910 Filters.MODULE
918 Filters.TESTPLAN
[all …]
Dreports.py289 def json_report(self, filename, version="NA", platform=None, filters=None): argument
316 if (filters and 'allow_status' in filters and \
317 instance.status not in [TwisterStatus[s] for s in filters['allow_status']]):
323 if (filters and 'deny_status' in filters and \
324 instance.status in [TwisterStatus[s] for s in filters['deny_status']]):
457 # Pass suite properties through the context filters.
458 if filters and 'allow_suite' in filters:
459 suite = {k:v for k,v in suite.items() if k in filters['allow_suite']}
461 if filters and 'deny_suite' in filters:
462 suite = {k:v for k,v in suite.items() if k not in filters['deny_suite']}
[all …]
Dquarantine.py59 # If there is no entry in filters then take all possible values.
75 # However, at least one of the filters ('scenarios', platforms' ...)
79 raise QuarantineException("At least one of filters ('scenarios', 'platforms' ...) "
/Zephyr-latest/dts/bindings/can/
Drenesas,ra-canfd.yaml21 rx-max-filters:
24 To determine the maximum rx filters can be added on this CAN device.
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c105 * Runtime filters for each link are dynamically allocated as an array of
106 * filters for all domains in the link. In order to fetch link associated with
131 return &link->ctrl_blk->filters[source_offset + source_id]; in z_log_link_get_dynamic_filter()
139 link->ctrl_blk->filters = k_malloc(sizeof(uint32_t) * total_cnt); in link_filters_init()
140 if (link->ctrl_blk->filters == NULL) { in link_filters_init()
146 memset(link->ctrl_blk->filters, 0, sizeof(uint32_t) * total_cnt); in link_filters_init()
147 LOG_DBG("%s: heap used for filters:%d", in link_filters_init()
338 return &TYPE_SECTION_START(log_dynamic)[source_id].filters; in get_dynamic_filter()
356 uint32_t *filters = z_log_dynamic_filters_get(i); in z_log_runtime_filters_init() local
360 LOG_FILTER_SLOT_SET(filters, in z_log_runtime_filters_init()
[all …]
/Zephyr-latest/tests/drivers/can/api/src/
Dutilities.c75 /* Standard (11-bit) frames and filters */ in ZTEST()
85 /* Extended (29-bit) frames and filters */ in ZTEST()
95 /* Standard (11-bit) frames and extended (29-bit) filters */ in ZTEST()
102 /* Extended (29-bit) frames and standard (11-bit) filters */ in ZTEST()
113 /* CAN FD format frames and filters */ in ZTEST()
Dclassic.c267 zassert_not_equal(filter_id, -ENOSPC, "no filters available"); in add_rx_msgq()
291 zassert_not_equal(filter_id, -ENOSPC, "no filters available"); in add_rx_filter()
298 * @brief Perform a send/receive test with a set of CAN ID filters and CAN frames.
317 zassert_not_equal(filter_id_1, -ENOSPC, "no filters available"); in send_receive()
365 zassert_not_equal(filter_id_1, -ENOSPC, "no filters available"); in send_receive()
368 zassert_not_equal(filter_id_2, -ENOSPC, "no filters available"); in send_receive()
388 * @brief Perform a send/receive test with a set of CAN ID filters and CAN frames, RTR and data
405 zassert_not_equal(filter_id, -ENOSPC, "no filters available"); in send_receive_rtr()
605 * @brief Test sending a message with no filters installed.
616 * @brief Test adding basic filters.
[all …]
/Zephyr-latest/soc/espressif/esp32c6/
Dhw_init.c43 /* By default, these access path filters are enable and allow the in hardware_init()
45 * except HP CPU boots in REE mode, default setting of these filters in hardware_init()
47 * So, at boot disabling these filters. They will enable as per the in hardware_init()
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py145 """Remove all RX filters."""
149 def _apply_filters(self, filters: Optional[CanFilters]) -> None:
152 if filters:
155 # Accept all frames if no hardware filters provided
156 filters = [
162 for can_filter in filters:
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-include/
Dinclude-no-list.yaml3 description: A map element with just a name is valid, and has no filters.
Dsimple.yaml3 # Base properties for testing property filters up to
/Zephyr-latest/samples/subsys/usb/webusb/
Dindex.html21 const filters = [
26 return navigator.usb.requestDevice({ 'filters': filters }).then(
/Zephyr-latest/samples/subsys/usb/webusb-next/
Dindex.html21 const filters = [
26 return navigator.usb.requestDevice({ 'filters': filters }).then(
/Zephyr-latest/doc/hardware/peripherals/can/
Dshell.rst64 RX filters supported, capabilities, current mode, current state, error counters, timing limits, and
72 max std filters: 15
73 max ext filters: 15
171 In order to receive CAN frames, one or more CAN RX filters need to be configured. CAN RX filters are
233 Configured CAN RX filters can be removed again using the ``can filter remove`` subcommand as shown

123456