Lines Matching refs:link
144 void ll_iso_link_tx_release(void *link);
1076 if (node_tx->link) { in ll_iso_test_pdu_release()
1077 ll_iso_link_tx_release(node_tx->link); in ll_iso_test_pdu_release()
1414 int ll_iso_tx_mem_enqueue(uint16_t handle, void *node_tx, void *link) in ll_iso_tx_mem_enqueue() argument
1421 memq_enqueue(link, node_tx, &cis->lll.memq_tx.tail); in ll_iso_tx_mem_enqueue()
1430 memq_enqueue(link, node_tx, &stream->memq_tx.tail); in ll_iso_tx_mem_enqueue()
1570 void ull_iso_rx_put(memq_link_t *link, void *rx) in ull_iso_rx_put() argument
1573 memq_enqueue(link, rx, &memq_ull_iso_rx.tail); in ull_iso_rx_put()
1578 static memq_link_t link; in ull_iso_rx_sched() local
1579 static struct mayfly mfy = {0, 0, &link, NULL, iso_rx_demux}; in ull_iso_rx_sched()
1627 memq_link_t *link; in iso_rx_demux() local
1631 link = memq_peek(memq_ull_iso_rx.head, memq_ull_iso_rx.tail, in iso_rx_demux()
1633 if (link) { in iso_rx_demux()
1639 ll_iso_rx_put(link, rx); in iso_rx_demux()
1696 ll_iso_rx_put(link, rx); in iso_rx_demux()
1705 } while (link); in iso_rx_demux()
1709 void ll_iso_rx_put(memq_link_t *link, void *rx) in ll_iso_rx_put() argument
1712 memq_enqueue(link, rx, &memq_ll_iso_rx.tail); in ll_iso_rx_put()
1718 memq_link_t *link; in ll_iso_rx_get() local
1720 link = memq_peek(memq_ll_iso_rx.head, memq_ll_iso_rx.tail, (void **)&rx); in ll_iso_rx_get()
1721 while (link) { in ll_iso_rx_get()
1728 mem_release(link, &mem_link_iso_rx.free); in ll_iso_rx_get()
1732 link = memq_peek(memq_ll_iso_rx.head, memq_ll_iso_rx.tail, (void **)&rx); in ll_iso_rx_get()
1744 memq_link_t *link; in ll_iso_rx_dequeue() local
1746 link = memq_dequeue(memq_ll_iso_rx.tail, &memq_ll_iso_rx.head, in ll_iso_rx_dequeue()
1748 LL_ASSERT(link); in ll_iso_rx_dequeue()
1750 mem_release(link, &mem_link_iso_rx.free); in ll_iso_rx_dequeue()
1802 void ll_iso_link_tx_release(void *link) in ll_iso_link_tx_release() argument
1804 mem_release(link, &mem_link_iso_tx.free); in ll_iso_link_tx_release()
1828 node_tx->link = NULL; in ll_iso_pdu_alloc()
1883 memq_link_t *link; in ll_iso_pdu_emit() local
1885 link = mem_acquire(&mem_link_iso_tx.free); in ll_iso_pdu_emit()
1886 LL_ASSERT(link); in ll_iso_pdu_emit()
1888 if (ll_iso_tx_mem_enqueue(handle, node_tx, link)) { in ll_iso_pdu_emit()
1926 if (node_tx->link) { in ll_iso_pdu_release()
1927 ll_iso_link_tx_release(node_tx->link); in ll_iso_pdu_release()
1940 memq_link_t *link; in init_reset() local
1945 link = mem_acquire(&mem_link_iso_rx.free); in init_reset()
1946 LL_ASSERT(link); in init_reset()
1950 MEMQ_INIT(ull_iso_rx, link); in init_reset()
1954 link = mem_acquire(&mem_link_iso_rx.free); in init_reset()
1955 LL_ASSERT(link); in init_reset()
1958 MEMQ_INIT(ll_iso_rx, link); in init_reset()
2084 static memq_link_t link; in ticker_resume_cb() local
2085 static struct mayfly mfy = {0, 0, &link, NULL, lll_resume}; in ticker_resume_cb()