Home
last modified time | relevance | path

Searched refs:queue_id (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_mailq.c31 void *osMailAlloc(osMailQId queue_id, uint32_t millisec) in osMailAlloc() argument
33 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailAlloc()
65 void *osMailCAlloc(osMailQId queue_id, uint32_t millisec) in osMailCAlloc() argument
67 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailCAlloc()
100 osStatus osMailPut(osMailQId queue_id, void *mail) in osMailPut() argument
102 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailPut()
125 osEvent osMailGet(osMailQId queue_id, uint32_t millisec) in osMailGet() argument
127 osMailQDef_t *queue_def = (osMailQDef_t *)queue_id; in osMailGet()
161 evt.def.mail_id = queue_id; in osMailGet()
169 osStatus osMailFree(osMailQId queue_id, void *mail) in osMailFree() argument
[all …]
Dcmsis_msgq.c32 osStatus osMessagePut(osMessageQId queue_id, uint32_t info, uint32_t millisec) in osMessagePut() argument
34 osMessageQDef_t *queue_def = (osMessageQDef_t *)queue_id; in osMessagePut()
62 osEvent osMessageGet(osMessageQId queue_id, uint32_t millisec) in osMessageGet() argument
64 osMessageQDef_t *queue_def = (osMessageQDef_t *)queue_id; in osMessageGet()
91 evt.def.message_id = queue_id; in osMessageGet()
/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_porting_layer_zephyr.c124 int tm_queue_create(int queue_id) in tm_queue_create() argument
126 k_msgq_init(&test_msgq[queue_id], &test_msgq_buffer[queue_id][0][0], 16, 8); in tm_queue_create()
135 int tm_queue_send(int queue_id, unsigned long *message_ptr) in tm_queue_send() argument
137 return k_msgq_put(&test_msgq[queue_id], message_ptr, K_FOREVER); in tm_queue_send()
144 int tm_queue_receive(int queue_id, unsigned long *message_ptr) in tm_queue_receive() argument
146 return k_msgq_get(&test_msgq[queue_id], message_ptr, K_FOREVER); in tm_queue_receive()
Dtm_api.h85 int tm_queue_create(int queue_id);
86 int tm_queue_send(int queue_id, unsigned long *message_ptr);
87 int tm_queue_receive(int queue_id, unsigned long *message_ptr);
/Zephyr-latest/doc/connectivity/networking/api/
D8021Qav.rst50 int queue_id, bool enable)
57 params.qav_param.queue_id = queue_id;
68 queue_id, iface);
73 int queue_id,
82 params.qav_param.queue_id = queue_id;
92 bandwidth, queue_id, iface);
104 idle_slope, queue_id, iface);
/Zephyr-latest/tests/net/socket/net_mgmt/src/
Dmain.c132 int queue_id; in eth_fake_set_config() local
136 queue_id = config->qav_param.queue_id; in eth_fake_set_config()
139 if (queue_id < 0 || queue_id >= priority_queues_num) { in eth_fake_set_config()
145 ctx->priority_queues[queue_id].qav_enabled = in eth_fake_set_config()
149 ctx->priority_queues[queue_id].idle_slope = in eth_fake_set_config()
155 ctx->priority_queues[queue_id].delta_bandwidth = in eth_fake_set_config()
179 int queue_id; in eth_fake_get_config() local
183 queue_id = config->qav_param.queue_id; in eth_fake_get_config()
186 if (queue_id < 0 || queue_id >= priority_queues_num) { in eth_fake_get_config()
193 ctx->priority_queues[queue_id].qav_enabled; in eth_fake_get_config()
[all …]
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c167 int queue_id, port_id; in eth_fake_set_config() local
211 queue_id = config->qav_param.queue_id; in eth_fake_set_config()
214 if (queue_id < 0 || queue_id >= priority_queues_num) { in eth_fake_set_config()
220 ctx->priority_queues[queue_id].qav_enabled = in eth_fake_set_config()
224 ctx->priority_queues[queue_id].idle_slope = in eth_fake_set_config()
230 ctx->priority_queues[queue_id].delta_bandwidth = in eth_fake_set_config()
318 queue_id = config->txtime_param.queue_id; in eth_fake_set_config()
321 if (queue_id < 0 || queue_id >= priority_queues_num) { in eth_fake_set_config()
327 ctx->txtime_statuses[queue_id] = in eth_fake_set_config()
361 int queue_id, port_id; in eth_fake_get_config() local
[all …]
/Zephyr-latest/include/zephyr/portability/
Dcmsis_os.h632 osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec);
639 osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec);
684 void *osMailAlloc (osMailQId queue_id, uint32_t millisec);
691 void *osMailCAlloc (osMailQId queue_id, uint32_t millisec);
698 osStatus osMailPut (osMailQId queue_id, void *mail);
705 osEvent osMailGet (osMailQId queue_id, uint32_t millisec);
712 osStatus osMailFree (osMailQId queue_id, void *mail);
/Zephyr-latest/drivers/ethernet/
Deth_sam_gmac.c385 static int eth_sam_gmac_setup_qav(Gmac *gmac, int queue_id, bool enable);
862 static int eth_sam_gmac_setup_qav(Gmac *gmac, int queue_id, bool enable) in eth_sam_gmac_setup_qav() argument
865 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_setup_qav()
869 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_setup_qav()
886 static int eth_sam_gmac_get_qav_status(Gmac *gmac, int queue_id, bool *enabled) in eth_sam_gmac_get_qav_status() argument
889 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_get_qav_status()
893 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_get_qav_status()
902 static int eth_sam_gmac_setup_qav_idle_slope(Gmac *gmac, int queue_id, in eth_sam_gmac_setup_qav_idle_slope() argument
908 if (queue_id < GMAC_QUE_1 || queue_id > GMAC_ACTIVE_PRIORITY_QUEUE_NUM) { in eth_sam_gmac_setup_qav_idle_slope()
914 if (queue_id == GMAC_QUE_2) { in eth_sam_gmac_setup_qav_idle_slope()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet_mgmt.c302 config.qav_param.queue_id = params->qav_param.queue_id; in ethernet_get_config()
438 config.txtime_param.queue_id = params->txtime_param.queue_id; in ethernet_get_config()
/Zephyr-latest/tests/benchmarks/thread_metric/
Dthread_metric_readme.txt171 int tm_queue_create(int queue_id);
176 int tm_queue_send(int queue_id, unsigned long *message_ptr);
181 int tm_queue_receive(int queue_id, unsigned long *message_ptr);
/Zephyr-latest/include/zephyr/net/
Dethernet.h298 int queue_id; member
476 int queue_id; member
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c401 params.txtime_param.queue_id = i; in enable_txtime_for_queues()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c288 params.qav_param.queue_id = i; in iface_cb()