Queue#
Functions#
Map virtual address to physical address.
Map physical address to virtual address.
Initialize queue.
Enqueue packet into queue.
Dequeue packet from queue.
Return packet pending count in queue.
Block the queue.
Unblock the queue.
Initialize queue.
Enqueue packet into queue.
Dequeue packet from queue.
Return packet pending count in queue.
Block the queue.
Unblock the queue.
Enqueue packet from ISR into queue.
Function Documentation#
rsi_virtual_to_physical_address#
void * rsi_virtual_to_physical_address (void * virtual_address)
Map virtual address to physical address.
[in] | virtual_address | - pointer to virtual address |
Returns
void
72
of file driver/rsi_os_none.c
rsi_physical_to_virtual_address#
void * rsi_physical_to_virtual_address (void * physical_address)
Map physical address to virtual address.
[in] | physical_address | - pointer to physical_address |
Returns
void
85
of file driver/rsi_os_none.c
rsi_semaphore_reset#
rsi_error_t rsi_semaphore_reset (rsi_semaphore_handle_t * semaphore)
N/A | semaphore |
252
of file driver/rsi_os_none.c
rsi_queues_init#
void rsi_queues_init (rsi_queue_cb_t * queue)
Initialize queue.
[in] | queue | - pointer to queue |
Returns
void
37
of file driver/rsi_queue.c
rsi_enqueue_pkt#
void rsi_enqueue_pkt (rsi_queue_cb_t * queue, rsi_pkt_t * pkt)
Enqueue packet into queue.
[in] | queue | - pointer to queue cb |
[in] | pkt | - packet pointer which needs to be queued |
Returns
void
55
of file driver/rsi_queue.c
rsi_dequeue_pkt#
rsi_pkt_t * rsi_dequeue_pkt (rsi_queue_cb_t * queue)
Dequeue packet from queue.
[in] | queue | - queue pointer from which packet needs to be dequeued |
Returns
Allocated pocket pointer - Success
NULL - Failure
73
of file driver/rsi_queue.c
rsi_check_queue_status#
uint32_t rsi_check_queue_status (rsi_queue_cb_t * queue)
Return packet pending count in queue.
[in] | queue | - pointer to queue |
Returns
0 - If queue masked
Number of packets pending - If queue is not masked
90
of file driver/rsi_queue.c
rsi_block_queue#
void rsi_block_queue (rsi_queue_cb_t * queue)
Block the queue.
[in] | queue | - pointer to queue |
Returns
void
107
of file driver/rsi_queue.c
rsi_unblock_queue#
void rsi_unblock_queue (rsi_queue_cb_t * queue)
Unblock the queue.
[in] | queue | - pointer to queue |
Returns
void
124
of file driver/rsi_queue.c
ROM_WL_rsi_queues_init#
void ROM_WL_rsi_queues_init (global_cb_t * global_cb_p, rsi_queue_cb_t * queue)
Initialize queue.
[in] | global_cb_p | - pointer to queue |
[in] | queue | - pointer to the global control block |
Returns
void
39
of file driver/rsi_queue_rom.c
ROM_WL_rsi_enqueue_pkt#
void ROM_WL_rsi_enqueue_pkt (global_cb_t * global_cb_p, rsi_queue_cb_t * queue, rsi_pkt_t * pkt)
Enqueue packet into queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - pointer to queue cb |
[in] | pkt | - packet pointer which needs to be queued |
Returns
void
69
of file driver/rsi_queue_rom.c
ROM_WL_rsi_dequeue_pkt#
rsi_pkt_t * ROM_WL_rsi_dequeue_pkt (global_cb_t * global_cb_p, rsi_queue_cb_t * queue)
Dequeue packet from queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - queue pointer from which packet needs to be dequeued |
Returns
Allocated packet pointer - Success
NULL - Failure
104
of file driver/rsi_queue_rom.c
ROM_WL_rsi_check_queue_status#
uint32_t ROM_WL_rsi_check_queue_status (global_cb_t * global_cb_p, rsi_queue_cb_t * queue)
Return packet pending count in queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - pointer to queue |
Returns
0 - If queue masked
Number of packets pending - If queue is not masked
152
of file driver/rsi_queue_rom.c
ROM_WL_rsi_block_queue#
void ROM_WL_rsi_block_queue (global_cb_t * global_cb_p, rsi_queue_cb_t * queue)
Block the queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - pointer to queue |
Returns
void
189
of file driver/rsi_queue_rom.c
ROM_WL_rsi_unblock_queue#
void ROM_WL_rsi_unblock_queue (global_cb_t * global_cb_p, rsi_queue_cb_t * queue)
Unblock the queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - pointer to queue |
Returns
void
212
of file driver/rsi_queue_rom.c
ROM_WL_rsi_enqueue_pkt_from_isr#
void ROM_WL_rsi_enqueue_pkt_from_isr (global_cb_t * global_cb_p, rsi_queue_cb_t * queue, rsi_pkt_t * pkt)
Enqueue packet from ISR into queue.
[in] | global_cb_p | - pointer to the global control block |
[in] | queue | - pointer to queue cb |
[in] | pkt | - packet pointer which needs to be queued |
Returns
void
237
of file driver/rsi_queue_rom.c