Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 132) sorted by relevance

123456

/Zephyr-latest/tests/drivers/ipm/src/
Dipm_dummy.c32 if (!driver_data->regs.enabled || !driver_data->regs.busy) { in ipm_dummy_isr()
41 driver_data->regs.busy = 0U; in ipm_dummy_isr()
60 if (driver_data->regs.busy) { in ipm_dummy_send()
71 driver_data->regs.busy = 1U; in ipm_dummy_send()
76 while (driver_data->regs.busy) { in ipm_dummy_send()
Dipm_dummy.h21 uint8_t busy; member
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c434 bool busy; in ZTEST() local
436 busy = pm_device_is_any_busy(); in ZTEST()
437 zassert_false(busy); in ZTEST()
441 busy = pm_device_is_any_busy(); in ZTEST()
442 zassert_true(busy); in ZTEST()
444 busy = pm_device_is_busy(device_dummy); in ZTEST()
445 zassert_true(busy); in ZTEST()
449 busy = pm_device_is_any_busy(); in ZTEST()
450 zassert_false(busy); in ZTEST()
452 busy = pm_device_is_busy(device_dummy); in ZTEST()
[all …]
/Zephyr-latest/tests/ztest/busy_sim/boards/
Dnrf52840dk_nrf52840.overlay13 busy-sim {
14 compatible = "vnd,busy-sim";
Dnrf52840dk_nrf52840_pin.overlay13 busy-sim {
14 compatible = "vnd,busy-sim";
/Zephyr-latest/drivers/dma/
Ddma_stm32.c100 if ((stream->hal_override != true) && (stream->busy == false)) { in dma_stm32_irq_handler()
124 stream->busy = false; in dma_stm32_irq_handler()
137 stream->busy = false; in dma_stm32_irq_handler()
292 if (stream->busy) { in dma_stm32_configure()
310 stream->busy = true; in dma_stm32_configure()
358 stream->busy = true; in dma_stm32_configure()
558 stream->busy = true; in dma_stm32_reload()
586 stream->busy = true; in dma_stm32_start()
608 stream->busy = false; in dma_stm32_stop()
630 stream->busy = false; in dma_stm32_stop()
[all …]
Ddma_stm32u5.c258 if ((stream->hal_override != true) && (stream->busy == false)) { in dma_stm32_irq_handler()
278 stream->busy = false; in dma_stm32_irq_handler()
287 stream->busy = false; in dma_stm32_irq_handler()
373 if (stream->busy) { in dma_stm32_configure()
391 stream->busy = true; in dma_stm32_configure()
418 stream->busy = true; in dma_stm32_configure()
578 stream->busy = true; in dma_stm32_reload()
606 stream->busy = true; in dma_stm32_start()
670 stream->busy = false; in dma_stm32_stop()
688 stream->busy = false; in dma_stm32_stop()
[all …]
Ddma_stm32_bdma.c316 if ((channel->hal_override != true) && (channel->busy == false)) { in bdma_stm32_irq_handler()
342 channel->busy = false; in bdma_stm32_irq_handler()
351 channel->busy = false; in bdma_stm32_irq_handler()
499 if (channel->busy) { in bdma_stm32_configure()
549 channel->busy = true; in bdma_stm32_configure()
718 channel->busy = true; in bdma_stm32_reload()
743 channel->busy = true; in bdma_stm32_start()
762 channel->busy = false; in bdma_stm32_stop()
779 channel->busy = false; in bdma_stm32_stop()
803 config->channels[i].busy = false; in bdma_stm32_init()
[all …]
Ddma_mcux_edma.c107 bool busy; member
222 data->busy = 1; in nxp_edma_callback()
226 data->busy = (handle->tcdPool != NULL) && (handle->tcdUsed > 0); in nxp_edma_callback()
250 DEV_CHANNEL_DATA(dev, channel)->busy = false; in dma_mcux_edma_irq_handler()
264 if (DEV_CHANNEL_DATA(dev, i)->busy) { in dma_mcux_edma_error_irq_handler()
269 DEV_CHANNEL_DATA(dev, i)->busy = false; in dma_mcux_edma_error_irq_handler()
407 if (data->busy) { in dma_mcux_edma_configure()
543 data->busy = false; in dma_mcux_edma_configure()
572 data->busy = true; in dma_mcux_edma_start()
586 if (!data->data_cb[channel].busy) { in dma_mcux_edma_stop()
[all …]
Ddma_mcux_lpc.c50 bool busy; member
96 data->busy = DMA_ChannelIsBusy(data->dma_handle.base, channel); in nxp_lpc_dma_callback()
494 if (data->busy) { in dma_mcux_lpc_configure()
719 data->busy = false; in dma_mcux_lpc_configure()
738 data->busy = true; in dma_mcux_lpc_start()
749 if (!data->busy) { in dma_mcux_lpc_stop()
755 data->busy = false; in dma_mcux_lpc_stop()
814 if (data->busy && (virtual_channel != -1)) { in dma_mcux_lpc_get_status()
815 status->busy = true; in dma_mcux_lpc_get_status()
818 status->busy = false; in dma_mcux_lpc_get_status()
Ddma_silabs_ldma.c29 atomic_t busy; member
304 atomic_clear(&chan->busy); in dma_silabs_irq_handler()
340 if (atomic_get(&chan_conf->busy)) { in dma_silabs_configure()
439 atomic_inc(&chan->busy); in dma_silabs_start()
457 atomic_clear(&chan->busy); in dma_silabs_stop()
478 status->busy = data->dma_chan_table[channel].busy; in dma_silabs_get_status()
/Zephyr-latest/include/zephyr/
Dspinlock.h258 goto busy; in k_spin_trylock()
262 goto busy; in k_spin_trylock()
273 busy: in k_spin_trylock()
/Zephyr-latest/include/zephyr/sys/
Dmpsc_packet.h34 uint32_t busy: 1
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_client.c105 bool busy; member
444 inst->busy = false; in bt_ots_client_indicate_handler()
472 inst->busy = false; in read_feature_cb()
552 } else if (inst->busy) { in bt_ots_client_read_feature()
563 inst->busy = true; in bt_ots_client_read_feature()
585 inst->busy = false; in write_olcp_cb()
611 inst->busy = true; in write_olcp()
646 } else if (inst->busy) { in bt_ots_client_select_id()
684 } else if (inst->busy) { in bt_ots_client_select_first()
718 } else if (inst->busy) { in bt_ots_client_select_last()
[all …]
/Zephyr-latest/subsys/console/
DKconfig36 interrupt-driven operation and use busy-polling.
45 interrupt-driven operation and use busy-polling.
/Zephyr-latest/doc/kernel/data_structures/
Dmpsc_pbuf.rst40 * busy - bit set when packet is being consumed (claimed but not free)
45 | valid | busy | description |
73 space can be allocated. When packets are dropped ``busy`` flag is checked in the
75 skip packet is added before busy packet and packets following the busy packet
76 are dropped. When busy packet is being freed, such situation is detected and
/Zephyr-latest/lib/os/
Dmpsc_pbuf.c125 return !item->hdr.valid && !item->hdr.busy; in is_invalid()
142 if (item->hdr.busy && !item->hdr.valid) { in get_skip()
167 .skip = { .valid = 0, .busy = 1, .len = wlen } in add_skip_item()
207 } else if (item->hdr.busy) { in drop_item_locked()
247 .busy = 0 in drop_item_locked()
283 .busy = 1, in post_drop_action()
374 item->hdr.busy = 0; in mpsc_pbuf_alloc()
566 item->hdr.busy = 1; in mpsc_pbuf_claim()
592 witem->hdr.busy = 0; in mpsc_pbuf_free()
/Zephyr-latest/boards/shields/semtech_sx1262mb2das/
Dsemtech_sx1262mb2das.overlay23 busy-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
/Zephyr-latest/boards/shields/waveshare_epaper/
Dwaveshare_epaper_gdew042t2.overlay28 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
Dwaveshare_epaper_gdeh0154a07.overlay28 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
Dwaveshare_epaper_gdew075t7.overlay29 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
Dwaveshare_epaper_gdey0213b74.overlay28 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
/Zephyr-latest/drivers/spi/
Dspi_nrfx_spi.c25 bool busy; member
172 dev_data->busy = false; in finish_transaction()
241 dev_data->busy = true; in transceive()
321 if (dev_data->busy) { in spi_nrfx_release()
439 .busy = false, \
/Zephyr-latest/drivers/usb/udc/
Dudc_kinetis.c126 bool busy[2]; member
241 if (priv->busy[cfg->stat.odd]) { in usbfsotg_ctrl_feed_start()
249 priv->busy[cfg->stat.odd] = true; in usbfsotg_ctrl_feed_start()
265 if (priv->busy[!cfg->stat.odd]) { in usbfsotg_ctrl_feed_start_next()
273 priv->busy[!cfg->stat.odd] = true; in usbfsotg_ctrl_feed_start_next()
569 priv->busy[odd] = false; in isr_handle_xfer_done()
584 priv->busy[odd] = false; in isr_handle_xfer_done()
762 if (priv->busy[!cfg->stat.odd]) { in ctrl_drop_out_successor()
767 priv->busy[!cfg->stat.odd] = false; in ctrl_drop_out_successor()
820 if (priv->busy[cfg->stat.odd]) { in usbfsotg_ep_clear_halt()
[all …]
/Zephyr-latest/drivers/sensor/wsen/wsen_tids_2521020222501/
Dwsen_tids_2521020222501.c51 TIDS_state_t busy = TIDS_enable; in tids_2521020222501_sample_fetch() local
54 if (TIDS_isBusy(&data->sensor_interface, &busy) != WE_SUCCESS) { in tids_2521020222501_sample_fetch()
58 } while (TIDS_enable == busy); in tids_2521020222501_sample_fetch()

123456