Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 190) sorted by relevance

12345678

/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dpb_adv.c43 #define XACT_SEG_DATA(_seg) (&link.rx.buf->data[XACT_SEG_OFFSET(_seg)])
44 #define XACT_SEG_RECV(_seg) (link.rx.seg &= ~(1 << (_seg)))
123 static struct pb_adv link = { .rx = { .buf = &rx_buf } }; variable
134 if (atomic_test_and_clear_bit(link.flags, ADV_LINK_CLOSING)) { in buf_sent()
167 for (i = 0; i < ARRAY_SIZE(link.tx.buf); i++) { in free_segments()
168 struct net_buf *buf = link.tx.buf[i]; in free_segments()
174 link.tx.buf[i] = NULL; in free_segments()
195 (void)k_work_cancel_delayable(&link.tx.retransmit); in prov_clear_tx()
208 (void)k_work_cancel_delayable(&link.prot_timer); in reset_adv_link()
210 if (atomic_test_bit(link.flags, ADV_PROVISIONER)) { in reset_adv_link()
[all …]
Dpb_gatt.c33 static struct prov_link link; variable
37 if (link.conn) { in reset_state()
38 bt_conn_unref(link.conn); in reset_state()
39 link.conn = NULL; in reset_state()
43 (void)k_work_cancel_delayable(&link.prot_timer); in reset_state()
45 link.rx_buf = bt_mesh_proxy_get_buf(); in reset_state()
50 const struct prov_bearer_cb *cb = link.cb; in link_closed()
51 void *cb_data = link.cb_data; in link_closed()
60 if (!link.conn) { in protocol_timeout()
73 if (link.conn != conn || !link.cb) { in bt_mesh_pb_gatt_recv()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull.c474 memq_link_t *link,
477 static inline int rx_demux_rx(memq_link_t *link, struct node_rx_hdr *rx);
478 static inline void rx_demux_event_done(memq_link_t *link,
750 static memq_link_t link; in ll_reset() local
751 static struct mayfly mfy = {0, 0, &link, NULL, in ll_reset()
822 memq_link_t *link; in ll_rx_get() local
836 link = memq_peek(memq_ll_rx.head, memq_ll_rx.tail, (void **)&rx); in ll_rx_get()
837 if (link) { in ll_rx_get()
863 mem_release(link, &mem_link_rx.free); in ll_rx_get()
880 mem_release(link, &mem_link_rx.free); in ll_rx_get()
[all …]
Dull_central.c89 memq_link_t *link; in ll_create_connection() local
167 link = ll_rx_link_alloc(); in ll_create_connection()
168 if (!link) { in ll_create_connection()
174 ll_rx_link_release(link); in ll_create_connection()
299 conn->llcp_terminate.node_rx.hdr.link = link; in ll_create_connection()
543 memq_link_t *link; in ll_connect_disable() local
547 link = node_rx->hdr.link; in ll_connect_disable()
548 LL_ASSERT(link); in ll_connect_disable()
551 ll_rx_link_release(link); in ll_connect_disable()
692 memq_link_t *link; in ull_central_cleanup() local
[all …]
Dull_peripheral.c55 memq_link_t *link, struct node_rx_hdr *rx);
81 memq_link_t *link; local
112 link = rx->link;
122 invalid_release(&adv->ull, lll, link, rx);
146 invalid_release(&adv->ull, lll, link, rx);
266 ll_rx_put(link, rx);
270 link = rx->link;
292 ll_rx_put(link, rx);
298 link = rx->link;
311 ll_rx_put(link, rx);
[all …]
Dull_sync_iso.c103 sync_iso->node_rx_lost.hdr.link = link_sync_lost; in ll_big_sync_create()
106 node_rx->link = link_sync_estab; in ll_big_sync_create()
144 link_sync_estab = node_rx->hdr.link; in ll_big_sync_terminate()
145 link_sync_lost = sync_iso->node_rx_lost.hdr.link; in ll_big_sync_terminate()
178 link_sync_lost = sync_iso->node_rx_lost.hdr.link; in ll_big_sync_terminate()
267 ll_rx_put(rx->hdr.link, rx); in ull_sync_iso_setup()
316 static memq_link_t link; in ticker_cb()
317 static struct mayfly mfy = {0, 0, &link, NULL, lll_sync_prepare}; in ticker_cb()
Dull_conn_internal.h26 int ull_conn_rx(memq_link_t *link, struct node_rx_pdu **rx);
31 void ull_conn_link_tx_release(void *link);
38 void ull_conn_tx_ack(uint16_t handle, memq_link_t *link, struct node_tx *tx);
Dull_scan_aux.c83 void ull_scan_aux_setup(memq_link_t *link, struct node_rx_hdr *rx) in ull_scan_aux_setup() argument
251 rx->link = link; in ull_scan_aux_setup()
385 ll_rx_put(link, rx); in ull_scan_aux_setup()
543 ll_rx_put(link, rx); in ull_scan_aux_setup()
570 ll_rx_put(link, rx); in ull_scan_aux_setup()
640 void ull_scan_aux_release(memq_link_t *link, struct node_rx_hdr *rx) in ull_scan_aux_release() argument
703 ll_rx_put(link, rx); in ull_scan_aux_release()
780 ll_rx_put(rx->link, rx); in flush()
796 static memq_link_t link; in ticker_cb() local
797 static struct mayfly mfy = {0, 0, &link, NULL, lll_scan_aux_prepare}; in ticker_cb()
[all …]
Dull_conn_iso.c214 ll_rx_put(node_rx->hdr.link, node_rx); in ull_conn_iso_cis_established()
295 static memq_link_t link; in ull_conn_iso_cis_stop() local
296 static struct mayfly mfy = {0, 0, &link, NULL, lll_disable}; in ull_conn_iso_cis_stop()
446 static memq_link_t link; in ticker_resume_cb() local
447 static struct mayfly mfy = {0, 0, &link, NULL, lll_resume}; in ticker_resume_cb()
526 static memq_link_t link; in ticker_stop_op_cb() local
527 static struct mayfly mfy = {0, 0, &link, NULL, cig_disable}; in ticker_stop_op_cb()
549 static memq_link_t link; in cig_disable() local
550 static struct mayfly mfy = {0, 0, &link, NULL, lll_disable}; in cig_disable()
Dull_internal.h35 void ll_rx_link_release(void *link);
40 void ll_rx_put(memq_link_t *link, void *rx);
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/
Dticker.c64 static memq_link_t link; in hal_ticker_instance0_sched() local
65 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
89 static memq_link_t link; in hal_ticker_instance0_sched() local
90 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
112 static memq_link_t link; in hal_ticker_instance0_sched() local
113 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
135 static memq_link_t link; in hal_ticker_instance0_sched() local
136 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
150 static memq_link_t link; in hal_ticker_instance0_sched() local
151 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/
Dticker.c63 static memq_link_t link; in hal_ticker_instance0_sched() local
64 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
87 static memq_link_t link; in hal_ticker_instance0_sched() local
88 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
110 static memq_link_t link; in hal_ticker_instance0_sched() local
111 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
133 static memq_link_t link; in hal_ticker_instance0_sched() local
134 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
148 static memq_link_t link; in hal_ticker_instance0_sched() local
149 static struct mayfly m = {0, 0, &link, NULL, in hal_ticker_instance0_sched()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/
Dmemq.c51 memq_link_t *memq_init(memq_link_t *link, memq_link_t **head, memq_link_t **tail) in memq_init() argument
54 *head = *tail = link; in memq_init()
56 return link; in memq_init()
92 memq_link_t *memq_enqueue(memq_link_t *link, void *mem, memq_link_t **tail) in memq_enqueue() argument
95 (*tail)->next = link; in memq_enqueue()
104 *tail = link; /* Commit: enqueue of memq node */ in memq_enqueue()
106 return link; in memq_enqueue()
Dmayfly.c125 static void dequeue(uint8_t callee_id, uint8_t caller_id, memq_link_t *link, in dequeue() argument
154 m->_link = link; in dequeue()
167 memq_enqueue(link, m, &mft[callee_id][callee_id].tail); in dequeue()
186 memq_link_t *link; in mayfly_run() local
190 link = memq_peek(mft[callee_id][caller_id].head, in mayfly_run()
193 while (link) { in mayfly_run()
215 dequeue(callee_id, caller_id, link, m); in mayfly_run()
218 link = memq_peek(mft[callee_id][caller_id].head, in mayfly_run()
241 if (caller_id || link) { in mayfly_run()
290 static memq_link_t link; in mayfly_ut_test() local
[all …]
Dmemq.h25 memq_link_t *memq_init(memq_link_t *link, memq_link_t **head,
28 #define MEMQ_INIT(name, link) \ argument
29 memq_init(link, &memq_##name.head, &memq_##name.tail)
32 memq_link_t *memq_enqueue(memq_link_t *link, void *mem, memq_link_t **tail);
/Zephyr-Core-2.7.6/samples/net/vlan/
Dvlan-setup-linux.sh46 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.100 type vlan id 100
47 ip link add link ${IFACE} name ${VLAN_NAME_PREFIX}.200 type vlan id 200
49 ip link set ${VLAN_NAME_PREFIX}.100 up
50 ip link set ${VLAN_NAME_PREFIX}.200 up
/Zephyr-Core-2.7.6/doc/reference/networking/
Dnet_linkaddr.rst13 The link layer addresses are set for network interfaces so that L2
14 connectivity works correctly in the network stack. Typically the link layer
15 addresses are 6 bytes long like in Ethernet but for IEEE 802.15.4 the link
Dppp.rst14 <https://en.wikipedia.org/wiki/Point-to-Point_Protocol>`_ (PPP) is a data link
17 cannot be transmitted over a modem line on their own, without some data link
20 In Zephyr, each individual PPP link is modelled as a network interface. This
30 * HDLC (High-level data link control,
/Zephyr-Core-2.7.6/boards/shields/link_board_eth/doc/
Dindex.rst3 PHYTEC link board ETH
9 The link board ETH is an ethernet expansion board based on ENC424J600
13 link board family and how to connect it to the reel board.
18 :alt: link board ETH
98 For more information about the link board ETH and ENC424J600:
100 - `link board ETH Website`_
117 https://www.phytec.eu/product-eu/internet-of-things/link-board-eth
/Zephyr-Core-2.7.6/doc/_static/css/
Dlight.css29 --link-color: #2980b9;
30 --link-color-hover: #3091d1;
31 --link-color-active: #105078;
32 --link-color-visited: #9b59b6;
45 --search-match-color: #2c6b96; /* derived from --link-color */
46 --search-match-background-color: #e3f2fd; /* derived from --link-color */
50 --search-credits-link-color: #4392c5; /* derived from --link-color */
Ddark.css30 --link-color: #8cf;
31 --link-color-hover: #9df;
32 --link-color-active: #6ad;
33 --link-color-visited: #cb99f6;
46 --search-match-color: #52b4ff; /* derived from --link-color */
47 --search-match-background-color: #414c56; /* derived from --link-color */
51 --search-credits-link-color: #628fb1; /* derived from --link-color */
/Zephyr-Core-2.7.6/doc/_extensions/zephyr/
Dlink-roles.py73 link = m.group(2)
76 link = text
77 url = pattern % (link,)
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn.c369 ull_rx_put(node_rx->hdr.link, node_rx); in lll_conn_isr_rx()
562 memq_link_t *link; in lll_conn_pdu_tx_prep() local
564 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, (void **)&tx); in lll_conn_pdu_tx_prep()
565 if (lll->empty || !link) { in lll_conn_pdu_tx_prep()
569 if (link || FORCE_MD_CNT_GET()) { in lll_conn_pdu_tx_prep()
594 } else if ((link->next != lll->memq_tx.tail) || in lll_conn_pdu_tx_prep()
707 memq_link_t *link; in isr_rx_pdu() local
724 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, in isr_rx_pdu()
735 link = NULL; in isr_rx_pdu()
738 if (link) { in isr_rx_pdu()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_conn.c296 ull_rx_put(node_rx->hdr.link, node_rx); in lll_conn_isr_rx()
499 memq_link_t *link; in lll_conn_pdu_tx_prep() local
514 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, (void **)&tx); in lll_conn_pdu_tx_prep()
515 if (!link) { in lll_conn_pdu_tx_prep()
540 if (link->next != lll->memq_tx.tail) { in lll_conn_pdu_tx_prep()
653 memq_link_t *link; in isr_rx_pdu() local
668 link = memq_peek(lll->memq_tx.head, lll->memq_tx.tail, in isr_rx_pdu()
672 link = NULL; in isr_rx_pdu()
675 if (link) { in isr_rx_pdu()
704 link->next = tx->next; /* Indicates ctrl or data in isr_rx_pdu()
[all …]
/Zephyr-Core-2.7.6/samples/net/eth_native_posix/
Dnet_setup_host61 ip link set dev $IFACE up
64 ip link set dev $IFACE address $HWADDR

12345678