Home
last modified time | relevance | path

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

123

/Zephyr-Core-2.7.6/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-Core-2.7.6/tests/kernel/device/src/
Dmain.c295 int busy, ret; in test_dummy_device_pm() local
301 busy = pm_device_is_any_busy(); in test_dummy_device_pm()
302 zassert_true((busy == 0), NULL); in test_dummy_device_pm()
307 busy = pm_device_is_any_busy(); in test_dummy_device_pm()
308 zassert_false((busy == 0), NULL); in test_dummy_device_pm()
310 busy = pm_device_is_busy(dev); in test_dummy_device_pm()
311 zassert_false((busy == 0), NULL); in test_dummy_device_pm()
316 busy = pm_device_is_busy(dev); in test_dummy_device_pm()
317 zassert_true((busy == 0), NULL); in test_dummy_device_pm()
/Zephyr-Core-2.7.6/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-Core-2.7.6/subsys/bluetooth/audio/
Daics_client.c127 inst->cli.busy = false; in aics_client_read_state_cb()
178 inst->cli.busy = false; in aics_client_read_gain_settings_cb()
226 inst->cli.busy = false; in aics_client_read_type_cb()
271 inst->cli.busy = false; in aics_client_read_status_cb()
365 inst->cli.busy = false; in internal_read_state_cb()
385 inst->cli.busy = false; in internal_read_state_cb()
433 inst->cli.busy = false; in aics_client_write_aics_cp_cb()
461 } else if (inst->cli.busy) { in aics_client_common_control()
476 inst->cli.busy = true; in aics_client_common_control()
498 inst->cli.busy = false; in aics_client_read_desc_cb()
[all …]
Dvocs_client.c121 inst->cli.busy = false; in vocs_client_read_offset_state_cb()
162 inst->cli.busy = false; in vocs_client_read_location_cb()
215 inst->cli.busy = false; in internal_read_volume_offset_state_cb()
230 inst->cli.busy = false; in internal_read_volume_offset_state_cb()
279 inst->cli.busy = false; in vcs_client_write_vocs_cp_cb()
303 inst->cli.busy = false; in vcs_client_read_output_desc_cb()
349 inst->cli.busy = false; in vocs_discover_func()
441 if (inst->cli.busy) { in bt_vocs_client_state_get()
453 inst->cli.busy = true; in bt_vocs_client_state_get()
475 } else if (inst->cli.busy) { in bt_vocs_client_location_set()
[all …]
Dvcs_client.c129 vcs_inst->cli.busy = false; in vcs_client_read_vol_state_cb()
167 vcs_inst->cli.busy = false; in vcs_client_read_flag_cb()
266 vcs_inst->cli.busy = false; in internal_read_vol_state_cb()
285 vcs_inst->cli.busy = false; in internal_read_vol_state_cb()
327 vcs_inst->cli.busy = false; in vcs_client_write_vcs_cp_cb()
577 } else if (vcs->cli.busy) { in vcs_client_common_vcs_cp()
581 vcs->cli.busy = true; in vcs_client_common_vcs_cp()
592 vcs->cli.busy = true; in vcs_client_common_vcs_cp()
758 if (vcs_inst->cli.busy) { in bt_vcs_discover()
891 } else if (vcs->cli.busy) { in bt_vcs_client_read_vol_state()
[all …]
Dmics_client.c91 mics_inst->cli.busy = false; in mics_client_read_mute_cb()
121 mics_inst->cli.busy = false; in mics_client_write_mics_mute_cb()
515 } else if (mics->cli.busy) { in bt_mics_client_mute_get()
526 mics->cli.busy = true; in bt_mics_client_mute_get()
544 } else if (mics->cli.busy) { in bt_mics_client_write_mute()
557 mics->cli.busy = true; in bt_mics_client_write_mute()
/Zephyr-Core-2.7.6/drivers/dma/
Ddma_mcux_edma.c46 bool busy; member
77 data->busy = false; in nxp_edma_callback()
168 if (DEV_CHANNEL_DATA(dev, i)->busy) { in dma_mcux_edma_error_irq_handler()
174 DEV_CHANNEL_DATA(dev, i)->busy = false; in dma_mcux_edma_error_irq_handler()
246 if (data->busy) { in dma_mcux_edma_configure()
325 data->busy = false; in dma_mcux_edma_configure()
345 data->busy = true; in dma_mcux_edma_start()
354 if (!data->data_cb[channel].busy) { in dma_mcux_edma_stop()
362 data->data_cb[channel].busy = false; in dma_mcux_edma_stop()
371 if (data->busy) { in dma_mcux_edma_reload()
[all …]
Ddma_mcux_lpc.c39 bool busy; member
174 if (data->busy) { in dma_mcux_lpc_configure()
337 data->busy = false; in dma_mcux_lpc_configure()
355 data->busy = true; in dma_mcux_lpc_start()
365 if (!data->busy) { in dma_mcux_lpc_stop()
374 data->busy = false; in dma_mcux_lpc_stop()
459 if (data->busy) { in dma_mcux_lpc_get_status()
460 status->busy = true; in dma_mcux_lpc_get_status()
463 status->busy = false; in dma_mcux_lpc_get_status()
Ddma_stm32.c103 stream->busy = false; in dma_stm32_irq_handler()
115 stream->busy = false; in dma_stm32_irq_handler()
280 stream->busy = true; in dma_stm32_configure()
292 if (stream->busy) { in dma_stm32_configure()
344 stream->busy = true; in dma_stm32_configure()
587 stream->busy = false; in dma_stm32_stop()
606 config->streams[i].busy = false; in dma_stm32_init()
636 stat->busy = stream->busy; in dma_stm32_get_status()
/Zephyr-Core-2.7.6/drivers/ipm/
Dipm_cavs_idc.c95 bool busy; in cavs_idc_send() local
103 busy = false; in cavs_idc_send()
112 busy = true; in cavs_idc_send()
118 if (busy) { in cavs_idc_send()
/Zephyr-Core-2.7.6/drivers/display/
Dgd7965.c56 const struct device *busy; member
96 int pin = gpio_pin_get(driver->busy, GD7965_BUSY_PIN); in gd7965_busy_wait()
102 pin = gpio_pin_get(driver->busy, GD7965_BUSY_PIN); in gd7965_busy_wait()
416 driver->busy = device_get_binding(GD7965_BUSY_CNTRL); in gd7965_init()
417 if (driver->busy == NULL) { in gd7965_init()
422 gpio_pin_configure(driver->busy, GD7965_BUSY_PIN, in gd7965_init()
/Zephyr-Core-2.7.6/doc/reference/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-Core-2.7.6/scripts/release/
Dlist_issues.py22 busy = False variable in Spinner
37 while self.busy:
45 self.busy = True
49 self.busy = False
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_nrfx_spi.c21 bool busy; member
185 dev_data->busy = false; in transfer_next_chunk()
214 dev_data->busy = true; in transceive()
257 if (dev_data->busy) { in spi_nrfx_release()
341 .busy = false, \
Dspi_nrfx_spim.c23 bool busy; member
243 dev_data->busy = false; in transfer_next_chunk()
272 dev_data->busy = true; in transceive()
315 if (dev_data->busy) { in spi_nrfx_release()
407 .busy = false, \
/Zephyr-Core-2.7.6/lib/os/
Dmpsc_pbuf.c84 return !item->hdr.valid && !item->hdr.busy; in is_invalid()
113 if (item->hdr.busy && !item->hdr.valid) { in get_skip()
123 .skip = { .valid = 0, .busy = 1, .len = wlen } in add_skip_item()
155 if (item->hdr.busy) { in drop_item_locked()
251 item->hdr.busy = 0; in mpsc_pbuf_alloc()
430 item->hdr.busy = 1; in mpsc_pbuf_claim()
456 witem->hdr.busy = 0; in mpsc_pbuf_free()
/Zephyr-Core-2.7.6/subsys/console/
DKconfig36 interrupt-driven operation and use busy-polling.
45 interrupt-driven operation and use busy-polling.
/Zephyr-Core-2.7.6/include/sys/
Dmpsc_packet.h34 uint32_t busy: 1
/Zephyr-Core-2.7.6/boards/shields/waveshare_epaper/
Dwaveshare_epaper_gdew042t2.overlay18 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
Dwaveshare_epaper_gdew075t7.overlay19 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>; /* D7 */
Dwaveshare_epaper_gdeh0154a07.overlay21 busy-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dadv_legacy.c156 if (BT_MESH_ADV(buf)->busy) { in adv_thread()
157 BT_MESH_ADV(buf)->busy = 0U; in adv_thread()

123