Home
last modified time | relevance | path

Searched refs:tx_addr (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/include/zephyr/canbus/
Disotp.h249 const struct isotp_msg_id *tx_addr,
327 const struct isotp_msg_id *tx_addr,
352 const struct isotp_msg_id *tx_addr,
377 const struct isotp_msg_id *tx_addr,
407 const struct isotp_msg_id *tx_addr,
442 struct isotp_msg_id tx_addr; member
465 struct isotp_msg_id tx_addr; member
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c144 prepare_frame(&frame, &rctx->tx_addr); in receive_send_fc()
146 if ((rctx->tx_addr.flags & ISOTP_MSG_EXT_ADDR) != 0) { in receive_send_fc()
147 *data++ = rctx->tx_addr.ext_addr; in receive_send_fc()
400 rctx->tx_addr.ext_id &= ~(ISOTP_FIXED_ADDR_TA_MASK); in process_ff_sf()
401 rctx->tx_addr.ext_id |= rx_sa << ISOTP_FIXED_ADDR_TA_POS; in process_ff_sf()
404 rctx->tx_addr.ext_id &= ~(ISOTP_FIXED_ADDR_PRIO_MASK); in process_ff_sf()
405 rctx->tx_addr.ext_id |= frame->id & ISOTP_FIXED_ADDR_PRIO_MASK; in process_ff_sf()
617 const struct isotp_msg_id *tx_addr, in isotp_bind() argument
626 __ASSERT(rx_addr && tx_addr, "RX or TX addr is NULL"); in isotp_bind()
631 rctx->tx_addr = *tx_addr; in isotp_bind()
[all …]
/Zephyr-latest/tests/subsys/canbus/isotp/implementation/src/
Dmain.c42 const struct isotp_msg_id tx_addr = { variable
60 &rx_addr, &tx_addr, send_complete_cb, NULL); in send_sf()
109 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data()
207 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in ZTEST()
223 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in ZTEST()
239 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in ZTEST()
256 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, in ZTEST()
277 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in ZTEST()
308 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in ZTEST()
332 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmode_check.c33 static const struct isotp_msg_id tx_addr = { variable
45 err = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, &fc_opts, K_NO_WAIT); in ZTEST()
60 err = isotp_send(&send_ctx, can_dev, buf, sizeof(buf), &rx_addr, &tx_addr, NULL, NULL); in ZTEST()
Dmain.c100 const struct isotp_msg_id tx_addr = { variable
196 &rx_addr, &tx_addr, send_complete_cb, INT_TO_POINTER(ISOTP_N_OK)); in send_sf()
225 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data()
421 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr, &tx_addr, in ZTEST()
477 ret = isotp_bind(&recv_ctx, can_dev, &rx_addr_ext, &tx_addr, in ZTEST()
584 send_frame_series(&fc_frame, 1, tx_addr.std_id); in ZTEST()
623 send_frame_series(&fc_frame, 1, tx_addr.std_id); in ZTEST()
632 send_frame_series(&fc_frame, 1, tx_addr.std_id); in ZTEST()
643 send_frame_series(&fc_frame, 1, tx_addr.std_id); in ZTEST()
673 filter_id = add_rx_msgq(tx_addr.std_id, CAN_STD_ID_MASK); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv.c79 static bool isr_rx_sr_adva_check(uint8_t tx_addr, uint8_t *addr,
86 static inline bool isr_rx_ci_adva_check(uint8_t tx_addr, uint8_t *addr,
691 uint8_t tx_addr, uint8_t *addr, in lll_adv_scan_req_check() argument
696 ull_filter_lll_rl_addr_allowed(sr->tx_addr, in lll_adv_scan_req_check()
701 isr_rx_sr_adva_check(tx_addr, addr, sr); in lll_adv_scan_req_check()
705 isr_rx_sr_adva_check(tx_addr, addr, sr); in lll_adv_scan_req_check()
738 uint8_t tx_addr, uint8_t *addr, in lll_adv_connect_ind_check() argument
745 return ull_filter_lll_rl_addr_allowed(ci->tx_addr, in lll_adv_connect_ind_check()
751 isr_rx_ci_adva_check(tx_addr, addr, ci) && in lll_adv_connect_ind_check()
758 ull_filter_lll_rl_addr_allowed(ci->tx_addr, in lll_adv_connect_ind_check()
[all …]
Dlll_adv_internal.h57 uint8_t tx_addr, uint8_t *addr,
66 uint8_t tx_addr, uint8_t *addr,
Dlll_adv_aux.c741 uint8_t tx_addr; in isr_rx_pdu() local
767 tx_addr = pdu_aux->tx_addr; in isr_rx_pdu()
778 lll_adv_scan_req_check(lll, pdu_rx, tx_addr, addr, devmatch_ok, in isr_rx_pdu()
859 lll_adv_connect_ind_check(lll, pdu_rx, tx_addr, addr, in isr_rx_pdu()
946 pdu_cr->tx_addr = pdu_ci->rx_addr; in init_connect_rsp_pdu()
947 pdu_cr->rx_addr = pdu_ci->tx_addr; in init_connect_rsp_pdu()
Dlll_scan.c196 uint8_t tx_addr; in lll_scan_ext_tgta_check() local
216 tx_addr = pdu->tx_addr; in lll_scan_ext_tgta_check()
222 lll_scan_adva_check(lll, tx_addr, adva, rl_idx)) && in lll_scan_ext_tgta_check()
252 pdu_tx->tx_addr = init_tx_addr; in lll_scan_prepare_connect_req()
1187 PHY_FLAGS_S8, pdu_adv_rx->tx_addr,
1305 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
1310 pdu_tx->tx_addr = 1;
1317 pdu_tx->tx_addr = lll->init_addr_type;
1433 lll_scan_adva_check(lll, pdu->tx_addr, pdu->adv_ind.addr,
1492 return ((sreq->rx_addr == srsp->tx_addr) &&
Dlll_scan_aux.c408 *devmatch_ok = ull_filter_lll_fal_match(fal, pdu->tx_addr, adva, in lll_scan_aux_addr_match_get()
410 if (!*devmatch_ok && pdu->tx_addr) { in lll_scan_aux_addr_match_get()
424 *devmatch_ok = ull_filter_lll_fal_match(fal, pdu->tx_addr, adva, in lll_scan_aux_addr_match_get()
1022 phy_aux_flags_rx, pdu->tx_addr,
1157 pdu_tx->rx_addr = pdu->tx_addr;
1162 pdu_tx->tx_addr = 1;
1169 pdu_tx->tx_addr = lll->init_addr_type;
1598 pdu->rx_addr = pdu_rx->tx_addr;
1658 return lll_scan_adva_check(lll, pdu_rx->tx_addr,
1661 (pdu_rx->rx_addr == pdu_tx->tx_addr) &&
/Zephyr-latest/include/zephyr/ipc/
Dipc_static_vrings.h61 uintptr_t tx_addr; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_scan.c729 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
734 pdu_tx->tx_addr = 1;
741 pdu_tx->tx_addr = lll->init_addr_type;
897 pdu_tx->rx_addr = pdu_adv_rx->tx_addr;
902 pdu_tx->tx_addr = 1;
909 pdu_tx->tx_addr = lll->init_addr_type;
1016 } else if (!ull_filter_lll_rl_addr_allowed(pdu->tx_addr,
1022 return ((lll->adv_addr_type == pdu->tx_addr) &&
1075 return ((sreq->rx_addr == srsp->tx_addr) &&
Dlll_adv.c959 ull_filter_lll_rl_addr_allowed(sr->tx_addr, in isr_rx_sr_check()
975 return (adv->tx_addr == sr->rx_addr) && in isr_rx_sr_adva_check()
1020 return ull_filter_lll_rl_addr_allowed(ci->tx_addr, in isr_rx_ci_check()
1032 ull_filter_lll_rl_addr_allowed(ci->tx_addr, in isr_rx_ci_check()
1054 return (adv->rx_addr == ci->tx_addr) && in isr_rx_ci_tgta_check()
1062 return (adv->tx_addr == ci->rx_addr) && in isr_rx_ci_adva_check()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv.c466 pdu->tx_addr = own_addr_type & 0x1;
505 pdu->tx_addr = own_addr_type & 0x1;
508 pdu->tx_addr = 0;
678 pdu->tx_addr = own_addr_type & 0x1;
698 pdu->tx_addr = own_addr_type & 0x1;
754 pdu->tx_addr = own_addr_type & 0x1;
1872 pdu->tx_addr = prev->tx_addr;
1927 pdu->tx_addr = prev->tx_addr;
3013 if (pdu_adv_to_update->tx_addr &&
3068 const uint8_t *tx_addr; local
[all …]
Dull_adv_aux.c504 pdu_chain->tx_addr = 0U;
1150 pdu_chain->tx_addr = 0U; in ll_adv_aux_sr_data_set()
1309 sr_pdu->tx_addr = sec_pdu_prev->tx_addr; in ll_adv_aux_sr_data_set()
1314 sr_pdu->tx_addr = 0U; in ll_adv_aux_sr_data_set()
1609 sec_pdu_prev->tx_addr = 0U; in ull_adv_aux_hdr_set_clear()
1623 sec_pdu->tx_addr = sec_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
1646 sec_pdu->tx_addr = own_addr_type & 0x1; in ull_adv_aux_hdr_set_clear()
1648 sec_pdu->tx_addr = pri_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
1650 sec_pdu->tx_addr = sec_pdu_prev->tx_addr; in ull_adv_aux_hdr_set_clear()
1655 pri_pdu->tx_addr = 0U; in ull_adv_aux_hdr_set_clear()
[all …]
Dull_adv_sync.c1012 pdu->tx_addr = 0U; in ull_adv_sync_pdu_init()
1391 target_pdu->tx_addr = 0U;
1667 pdu->tx_addr = 0U;
1743 ter_pdu->tx_addr = 0U;
1827 ter_pdu->tx_addr = 0U;
1936 pdu->tx_addr = 0U;
2299 pdu->tx_addr = 0U;
Dpdu.h557 uint8_t tx_addr:1; member
561 uint8_t tx_addr:1;
Dull_scan_aux.c454 ull_sync_setup_addr_check(sync, scan, pdu->tx_addr, ptr, in ull_scan_aux_setup()
457 ull_sync_setup_addr_check(sync, scan, pdu->tx_addr, ptr, 0U); in ull_scan_aux_setup()
1788 ull_sync_setup_addr_check(sync, scan, pdu->tx_addr, ptr, in ull_scan_aux_setup()
1791 ull_sync_setup_addr_check(sync, scan, pdu->tx_addr, ptr, 0U); in ull_scan_aux_setup()
Dull_peripheral.c102 peer_addr_type = pdu_adv->tx_addr;
Dull_llcp.c1109 addr_type = adv_pdu->tx_addr; in ull_cp_periodic_sync()
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dipc_static_vrings.c86 vr->rvrings[RPMSG_VQ_0].info.vaddr = (void *) vr->tx_addr; in vq_setup()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6471 dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
6496 dir_info->addr.type = adv->tx_addr;
6554 sr->addr.type = adv->tx_addr;
6594 if (adv->tx_addr) {
6625 dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
6657 adv_info->addr.type = adv->tx_addr;
6721 if (adv->tx_addr) {
6729 dup_found(adv->type, adv->tx_addr, adv->adv_ind.addr, 0, NULL, 0)) {
6760 adv_info->addr.type = adv->tx_addr;
7165 " rssi=%d dB", phy, adv->type, adv->len, adv->tx_addr,
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_rpmsg_static_vrings.c286 vr->tx_addr = ROUND_UP(vr->rx_addr + vring_size(num_desc, MEM_ALIGNMENT), in vr_shm_configure()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.c209 if (pdu_adv->tx_addr && BT_ADDR_IS_RPA(rpa)) { in ar_execute()