Searched refs:rx_cb (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/tests/net/mgmt/src/ |
D | mgmt.c | 44 static struct net_mgmt_event_callback rx_cb; variable 202 net_mgmt_add_event_callback(&rx_cb); in sending_event() 217 net_mgmt_del_event_callback(&rx_cb); in sending_event() 313 net_mgmt_init_event_callback(&rx_cb, receiver_cb, TEST_MGMT_EVENT); in initialize_event_tests() 328 net_mgmt_init_event_callback(&rx_cb, receiver_cb, event); in test_core_event() 330 net_mgmt_add_event_callback(&rx_cb); in test_core_event() 341 net_mgmt_del_event_callback(&rx_cb); in test_core_event()
|
/Zephyr-latest/drivers/can/ |
D | can_loopback.c | 27 can_rx_callback_t rx_cb; member 59 filter->rx_cb(dev, &frame_tmp, filter->cb_arg); in receive_frame() 95 if (filter->rx_cb != NULL && in tx_thread() 167 if (filters[i].rx_cb == NULL) { in get_free_filter() 200 loopback_filter->rx_cb = cb; in can_loopback_add_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()
|
D | can_native_linux.c | 28 can_rx_callback_t rx_cb; member 62 if (data->filters[filter_id].rx_cb == NULL) { in dispatch_frame() 73 callback = data->filters[filter_id].rx_cb; in dispatch_frame() 216 if (data->filters[i].rx_cb == NULL) { in can_native_linux_add_rx_filter() 229 filter_ctx->rx_cb = cb; in can_native_linux_add_rx_filter() 250 data->filters[filter_id].rx_cb = NULL; in can_native_linux_remove_rx_filter()
|
D | can_mcp2515.h | 40 can_rx_callback_t rx_cb[CONFIG_CAN_MAX_FILTER]; member
|
D | can_mcp2515.c | 597 can_rx_callback_t rx_cb, in mcp2515_add_rx_filter() argument 604 __ASSERT(rx_cb != NULL, "response_ptr can not be null"); in mcp2515_add_rx_filter() 624 dev_data->rx_cb[filter_id] = rx_cb; in mcp2515_add_rx_filter() 685 callback = dev_data->rx_cb[filter_id]; in mcp2515_rx_filter() 971 (void)memset(dev_data->rx_cb, 0, sizeof(dev_data->rx_cb)); in mcp2515_init()
|
D | can_renesas_ra.c | 150 can_rx_callback_t rx_cb; member 363 can_rx_callback_t cb = rx_filter->rx_cb; in can_renesas_ra_call_rx_cb() 647 data->rx_filter[filter_id].rx_cb = callback; in can_renesas_ra_add_rx_filter() 669 data->rx_filter[filter_id].rx_cb = NULL; in can_renesas_ra_remove_rx_filter()
|
D | can_mcp251xfd.c | 547 static int mcp251xfd_add_rx_filter(const struct device *dev, can_rx_callback_t rx_cb, void *cb_arg, in mcp251xfd_add_rx_filter() argument 616 dev_data->rx_cb[filter_idx] = rx_cb; in mcp251xfd_add_rx_filter() 1307 dev_data->rx_cb[filhit](dev, &dst, dev_data->cb_arg[filhit]); in mcp251xfd_rx_fifo_handler()
|
D | can_mcp251xfd.h | 503 can_rx_callback_t rx_cb[CONFIG_CAN_MAX_FILTER]; member
|
/Zephyr-latest/tests/net/dhcpv4/client/src/ |
D | main.c | 465 static struct net_mgmt_event_callback rx_cb; variable 607 net_mgmt_init_event_callback(&rx_cb, receiver_cb, 610 net_mgmt_add_event_callback(&rx_cb);
|