Home
last modified time | relevance | path

Searched refs:filters (Results 1 – 25 of 74) sorted by relevance

123

/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)
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 …]
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()
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.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.
DKconfig.mcux43 int "Maximum number of concurrent active RX filters"
53 Defines maximum number of concurrent active RX filters
DKconfig.sja100012 int "Maximum number of concurrent active RX filters"
DKconfig.rcar15 int "Maximum number of concurrent active filters"
DKconfig.native_linux24 int "Maximum number of concurrent active filters"
DKconfig.mcp251531 int "Maximum number of concurrent active filters"
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c131 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()
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()
382 static uint32_t max_filter_get(uint32_t filters) in max_filter_get() argument
389 uint32_t tmp_filter = LOG_FILTER_SLOT_GET(&filters, i); in max_filter_get()
404 uint32_t *filters = get_dynamic_filter(domain_id, source_id); in set_runtime_filter() local
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dgh_utils.py228 app.builder.templates.environment.filters["gh_link_get_blob_url"] = partial(
232 app.builder.templates.environment.filters["gh_link_get_edit_url"] = partial(
236 app.builder.templates.environment.filters["gh_link_get_open_issue_url"] = partial(
240 app.builder.templates.environment.filters["git_info"] = partial(git_info_filter, app)
/Zephyr-latest/scripts/pylib/twister/twisterlib/
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']]):
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']}
766 filters=self.json_filters['twister.json'])
[all …]
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py149 def _apply_filters(self, filters: Optional[CanFilters]) -> None:
152 if filters:
156 filters = [
162 for can_filter in filters:
/Zephyr-latest/include/zephyr/logging/
Dlog_internal.h89 return &TYPE_SECTION_START(log_dynamic)[source_id].filters; in z_log_dynamic_filters_get()
Dlog_instance.h31 uint32_t filters; member
Dlog_link.h59 uint32_t *filters; member
/Zephyr-latest/doc/hardware/peripherals/sensor/
Ddevice_tree.rst7 as channel power modes, data rates, filters, decimation, and scales. These can
/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
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_sja1000.h167 struct can_sja1000_rx_filter filters[CONFIG_CAN_MAX_FILTER]; member
/Zephyr-latest/boards/renesas/ek_ra4e2/
Dek_ra4e2.dts133 rx-max-filters = <16>;
/Zephyr-latest/boards/renesas/ek_ra6e2/
Dek_ra6e2.dts148 rx-max-filters = <16>;
/Zephyr-latest/boards/renesas/mck_ra8t1/
Dmck_ra8t1.dts149 rx-max-filters = <16>;

123