Home
last modified time | relevance | path

Searched refs:is_enabled (Results 1 – 25 of 46) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_df.c282 if (cfg->is_enabled) { in ll_df_set_cl_cte_tx_params()
351 if (!df_cfg->is_enabled) { in ll_df_set_cl_cte_tx_enable()
360 df_cfg->is_enabled = 0U; in ll_df_set_cl_cte_tx_enable()
362 if (df_cfg->is_enabled) { in ll_df_set_cl_cte_tx_enable()
371 df_cfg->is_enabled = 1U; in ll_df_set_cl_cte_tx_enable()
444 if (!cfg_prev->is_enabled) { in ll_df_set_cl_iq_sampling_enable()
449 cfg->is_enabled = 0U; in ll_df_set_cl_iq_sampling_enable()
489 cfg->is_enabled = 1U; in ll_df_set_cl_iq_sampling_enable()
491 if (!cfg_prev->is_enabled) { in ll_df_set_cl_iq_sampling_enable()
543 return !cfg->is_enabled; in ull_df_sync_cfg_is_not_enabled()
[all …]
Dull_adv_types.h47 uint8_t is_enabled:1; member
104 uint8_t is_enabled:1; member
Dull_scan_types.h20 uint8_t is_enabled:1; member
Dull_conn_types.h125 volatile uint8_t is_enabled; member
136 uint8_t is_enabled:1; member
Dull_scan.c636 scan->is_enabled = 1U;
770 scan->is_enabled = 0U;
847 if (!scan || !scan->is_enabled) {
859 if (!scan || scan->is_enabled) {
881 return (((uint32_t)scan->is_enabled << scan->lll.type) |
1192 scan->is_enabled = 0U;
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df_types.h41 uint8_t is_enabled:1; member
121 uint8_t is_enabled:1; member
138 uint8_t is_enabled:1; member
Dlll_sync.c179 if (cfg->is_enabled) { in lll_sync_aux_prepare_cb()
305 } else if (cfg->is_enabled) { in create_prepare_cb()
390 if (cfg->is_enabled) { in prepare_cb()
712 if (cfg->is_enabled && is_max_cte_reached(cfg->max_cte_count, cfg->cte_count)) { in isr_aux_setup()
732 } else if (!cfg->is_enabled) { in isr_aux_setup()
1321 if (cfg->is_enabled) { in iq_report_create_put()
1369 if (cfg->is_enabled) { in iq_report_incomplete_create_put()
Dlll_central.c201 if (df_rx_params->is_enabled == true) { in prepare_cb()
/Zephyr-latest/drivers/regulator/
Dregulator_fake.c18 bool is_enabled; member
72 return regulator_common_init(dev, config->is_enabled); in regulator_fake_init()
96 .is_enabled = DT_PROP(node_id, fake_is_enabled_in_hardware), \
Dregulator_axp192.c347 bool is_enabled; in regulator_axp192_init() local
363 is_enabled = ((enabled_val & config->desc->enable_mask) == config->desc->enable_val); in regulator_axp192_init()
364 LOG_INST_DBG(config->log, "is_enabled: %d", is_enabled); in regulator_axp192_init()
366 return regulator_common_init(dev, is_enabled); in regulator_axp192_init()
Dregulator_common.c27 int regulator_common_init(const struct device *dev, bool is_enabled) in regulator_common_init() argument
87 if (is_enabled) { in regulator_common_init()
Dregulator_npm6001.c557 bool is_enabled; in regulator_npm6001_init() local
566 is_enabled = (config->source == NPM6001_SOURCE_BUCK1) || in regulator_npm6001_init()
569 return regulator_common_init(dev, is_enabled); in regulator_npm6001_init()
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/
Dull_scan.c58 if (!scan || !scan->is_enabled) { in ull_scan_is_enabled_get()
70 if (!scan || scan->is_enabled) { in ull_scan_is_disabled_get()
/Zephyr-latest/drivers/clock_control/
Dclock_control_pwm.c34 bool is_enabled; member
76 data->is_enabled = true; in clock_control_pwm_on()
112 if (data->clock_frequency == rate_hz && data->is_enabled) { in clock_control_pwm_set_rate()
/Zephyr-latest/include/zephyr/net/
Dcapture.h52 bool (*is_enabled)(const struct device *dev); member
153 return api->is_enabled(dev); in net_capture_is_enabled()
342 bool is_enabled; member
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c95 bool is_enabled : 1; member
133 info.is_enabled = ctx->is_enabled; in net_capture_foreach()
470 return ctx->is_enabled ? true : false; in capture_is_enabled()
477 if (ctx->is_enabled) { in capture_enable()
489 ctx->is_enabled = true; in capture_enable()
504 ctx->is_enabled = false; in capture_disable()
534 if (!ctx->in_use || !ctx->is_enabled || in net_capture_pkt_with_status()
722 .is_enabled = capture_is_enabled,
/Zephyr-latest/drivers/stepper/
Dgpio_stepper_controller.c42 bool is_enabled; member
185 if (!data->is_enabled) { in gpio_stepper_move_by()
227 if (!data->is_enabled) { in gpio_stepper_move_to()
280 if (!data->is_enabled) { in gpio_stepper_run()
343 data->is_enabled = enable; in gpio_stepper_enable()
/Zephyr-latest/drivers/gpio/
Dgpio_psoc6.c156 uint32_t is_enabled = ((mode == GPIO_INT_MODE_DISABLED) ? 0 : 1); in gpio_psoc6_pin_interrupt_configure() local
163 if (is_enabled) { in gpio_psoc6_pin_interrupt_configure()
181 Cy_GPIO_SetInterruptMask(port, pin, is_enabled); in gpio_psoc6_pin_interrupt_configure()
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c53 conn.llcp.cte_req.is_enabled = 1U; in cte_req_setup()
111 conn.llcp.cte_req.is_enabled = 1U; in ZTEST()
186 conn.llcp.cte_req.is_enabled = 1U; in ZTEST()
405 conn.llcp.cte_req.is_enabled = 1U; in ZTEST()
484 conn.llcp.cte_req.is_enabled = 1U; in ZTEST()
1121 conn.llcp.cte_req.is_enabled = 1U; in test_local_cte_req_wait_for_phy_update_complete_and_disable()
1188 conn.llcp.cte_req.is_enabled = 1U; in test_local_cte_req_wait_for_phy_update_complete()
1236 conn.llcp.cte_req.is_enabled = 1U; in test_local_phy_update_wait_for_cte_req_complete()
1388 conn.llcp.cte_req.is_enabled = 1U; in test_cte_req_wait_for_remote_phy_update_complete_and_disable()
1444 conn.llcp.cte_req.is_enabled = 1U; in test_cte_req_wait_for_remote_phy_update_complete()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_olcp.c249 if (!ots->olcp_ind.is_enabled) { in bt_gatt_ots_olcp_write()
319 olcp_ind->is_enabled = false; in bt_gatt_ots_olcp_cfg_changed()
321 olcp_ind->is_enabled = true; in bt_gatt_ots_olcp_cfg_changed()
Dots_internal.h124 bool is_enabled; member
/Zephyr-latest/tests/bluetooth/df/common/src/
Dbt_conn_common.c46 conn->llcp.cte_req.is_enabled = 0U; in ut_bt_create_connection()
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_l2.c299 ctx->is_enabled = state; in ppp_enable()
310 ctx->is_enabled = !state; in ppp_enable()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c122 if (adv_set->df_cfg->is_enabled) { in common_release_adv_set()
123 adv_set->df_cfg->is_enabled = 0U; in common_release_adv_set()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c317 int is_enabled = IS_ENABLED(CONFIG_PLIC_IRQ_AFFINITY) ? 0 : 1; in local_irq_is_enabled() local
325 is_enabled |= !!(en_value & BIT(bit_position)); in local_irq_is_enabled()
327 is_enabled &= !!(en_value & BIT(bit_position)); in local_irq_is_enabled()
331 return is_enabled; in local_irq_is_enabled()

12