Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/Zephyr-latest/samples/basic/minimal/
DREADME.rst15 * :file:`mt.conf`: Enable multithreading
16 * :file:`no-mt.conf`: Disable multithreading
17 * :file:`no-preempt.conf`: Disable preemption
18 * :file:`no-timers.conf`: Disable timers
19 * :file:`arm.conf`: Arm-specific disabling of features
36 :conf: "common.conf mt.conf arm.conf"
49 :conf: "common.conf mt.conf no-preempt.conf arm.conf"
62 :conf: "common.conf mt.conf no-preempt.conf no-timers.conf arm.conf"
75 :conf: "common.conf no-mt.conf arm.conf"
88 :conf: "common.conf no-mt.conf no-timers.conf arm.conf"
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_mchp_xec.c24 static void config_drive_slew(struct gpio_regs * const regs, uint32_t idx, uint32_t conf) in config_drive_slew() argument
26 uint32_t slew = (conf >> MCHP_XEC_SLEW_RATE_POS) & MCHP_XEC_SLEW_RATE_MSK0; in config_drive_slew()
27 uint32_t drvstr = (conf >> MCHP_XEC_DRV_STR_POS) & MCHP_XEC_DRV_STR_MSK0; in config_drive_slew()
59 static uint32_t prog_pud(uint32_t pcr1, uint32_t conf) in prog_pud() argument
61 if (conf & BIT(MCHP_XEC_NO_PUD_POS)) { in prog_pud()
67 if (conf & (BIT(MCHP_XEC_PU_POS) | BIT(MCHP_XEC_PD_POS))) { in prog_pud()
69 if (conf & BIT(MCHP_XEC_PU_POS)) { in prog_pud()
72 if (conf & BIT(MCHP_XEC_PD_POS)) { in prog_pud()
91 static int xec_config_pin(uint32_t portpin, uint32_t conf, uint32_t altf) in xec_config_pin() argument
105 config_drive_slew(regs, idx, conf); in xec_config_pin()
[all …]
Dpinctrl_mchp_mec5.c33 uint32_t conf = pinmux; in mec5_config_pin() local
50 temp = (conf >> MCHP_XEC_SLEW_RATE_POS) & MCHP_XEC_SLEW_RATE_MSK0; in mec5_config_pin()
61 temp = (conf >> MCHP_XEC_DRV_STR_POS) & MCHP_XEC_DRV_STR_MSK0; in mec5_config_pin()
70 if (conf & BIT(MCHP_XEC_NO_PUD_POS)) { in mec5_config_pin()
72 } else if (conf & BIT(MCHP_XEC_PU_POS)) { in mec5_config_pin()
74 } else if (conf & BIT(MCHP_XEC_PD_POS)) { in mec5_config_pin()
79 if (conf & (BIT(MCHP_XEC_OUT_DIS_POS) | BIT(MCHP_XEC_OUT_EN_POS))) { in mec5_config_pin()
82 if (conf & BIT(MCHP_XEC_OUT_EN_POS)) { in mec5_config_pin()
89 if (conf & (BIT(MCHP_XEC_OUT_LO_POS) | BIT(MCHP_XEC_OUT_HI_POS))) { in mec5_config_pin()
92 if (conf & BIT(MCHP_XEC_OUT_HI_POS)) { in mec5_config_pin()
[all …]
Dpinctrl_ene_kb1200.c60 static int kb1200_config_pin(uint32_t gpio, uint32_t conf, uint32_t func) in kb1200_config_pin() argument
118 if (conf & BIT(ENE_KB1200_NO_PUD_POS)) { in kb1200_config_pin()
122 if (conf & BIT(ENE_KB1200_PU_POS)) { in kb1200_config_pin()
125 if (conf & BIT(ENE_KB1200_PD_POS)) { in kb1200_config_pin()
129 if (conf & BIT(ENE_KB1200_OUT_DIS_POS)) { in kb1200_config_pin()
132 if (conf & BIT(ENE_KB1200_OUT_EN_POS)) { in kb1200_config_pin()
136 if (conf & BIT(ENE_KB1200_OUT_LO_POS)) { in kb1200_config_pin()
139 if (conf & BIT(ENE_KB1200_OUT_HI_POS)) { in kb1200_config_pin()
143 if (conf & BIT(ENE_KB1200_PUSH_PULL_POS)) { in kb1200_config_pin()
146 if (conf & BIT(ENE_KB1200_OPEN_DRAIN_POS)) { in kb1200_config_pin()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/
Dcompile.sh17 conf_overlay=overlay-ticker_expire_info.conf compile
18 app=tests/bsim/bluetooth/ll/advx conf_overlay=overlay-scan_aux_use_chains.conf compile
20 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split.conf compile
21 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_1ms.conf compile
22 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_tx_defer.conf compile
23 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_privacy.conf compile
24 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_low_lat.conf compile
25 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_single_timer.conf compile
27 app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-sequential.conf compile
28 app=tests/bsim/bluetooth/ll/bis conf_overlay=overlay-interleaved.conf compile
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/
Dcompile.sh13 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay.conf compile
14 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first.conf compile
15 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv.conf compile
16 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv_acl_first.conf compile
17 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group.conf compile
18 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_group_acl_first.conf compile
19 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-peripheral_cis.conf compile
20 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_2_se.conf compile
21 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_per_skip_4_se.conf compile
22 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first_ft_cen_skip_2_se.conf compile
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/
Dcompile.sh16 conf_file=${sample}/prj.conf \
17 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
22 conf_file=${sample}/prj.conf \
23 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
27 conf_file=${sample}/prj.conf \
28 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
32 conf_file=${sample}/prj.conf \
33 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
39 conf_file=${sample}/prj.conf \
40 conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
[all …]
/Zephyr-latest/tests/bsim/bluetooth/samples/
Dcompile.sh20 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
24 conf_overlay=overlay-extended.conf \
28 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
29 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/central_hr/overlay-extended.conf \
33 conf_overlay=overlay-phy_coded.conf \
37 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
38 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/central_hr/overlay-phy_coded.conf \
42 conf_file=prj.conf \
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx_iface.c29 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_phy_rst() local
32 gpio_pin_set_dt(&conf->reset_gpio, 0); in rf2xx_iface_phy_rst()
33 gpio_pin_set_dt(&conf->slptr_gpio, 0); in rf2xx_iface_phy_rst()
38 gpio_pin_set_dt(&conf->reset_gpio, 1); in rf2xx_iface_phy_rst()
40 gpio_pin_set_dt(&conf->reset_gpio, 0); in rf2xx_iface_phy_rst()
44 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_phy_tx_start() local
47 gpio_pin_set_dt(&conf->slptr_gpio, 1); in rf2xx_iface_phy_tx_start()
51 gpio_pin_set_dt(&conf->slptr_gpio, 0); in rf2xx_iface_phy_tx_start()
57 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_reg_read() local
86 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_reg_read()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/ccp/
Dcompile.sh15 conf_file=${sample}/prj.conf \
16 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
20 conf_file=${sample}/prj.conf \
21 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
26 conf_file=${sample}/prj.conf \
27 conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
31 conf_file=${sample}/prj.conf \
32 conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
/Zephyr-latest/modules/hostap/src/
Dsupp_main.c328 wpa_s->conf->filter_ssids = 1; in add_interface()
329 wpa_s->conf->ap_scan = 1; in add_interface()
662 wpa_printf(MSG_DEBUG, "Enable interface %s", hapd_iface->conf->bss[0]->iface); in hostapd_enable_iface_cb()
666 bss->conf->start_disabled = 0; in hostapd_enable_iface_cb()
668 if (hostapd_config_check(hapd_iface->conf, 1) < 0) { in hostapd_enable_iface_cb()
674 bss->l2 = l2_packet_init(bss->conf->iface, bss->conf->bssid, ETH_P_EAPOL, in hostapd_enable_iface_cb()
718 wpa_printf(MSG_DEBUG, "Interface %s disabled", hapd_iface->bss[0]->conf->iface); in hostapd_disable_iface_cb()
723 hostapd_config_free(hapd_iface->conf); in hostapd_disable_iface_cb()
724 hapd_iface->conf = hapd_iface->interfaces->config_read_cb(hapd_iface->config_fname); in hostapd_disable_iface_cb()
727 hapd->iconf = hapd_iface->conf; in hostapd_disable_iface_cb()
[all …]
/Zephyr-latest/scripts/utils/
Dtwister_to_list.py32 def process(conf): argument
35 val = conf.get(field)
41 conf[field] = s
56 conf = yaml.load(p)
59 common = conf.get("common")
63 for _, spec in conf["tests"].items():
70 yaml.dump(conf, f)
/Zephyr-latest/drivers/adc/
Dadc_esp32.c166 const struct adc_esp32_conf *conf = dev->config; in adc_esp32_dma_start() local
173 err = dma_get_status(conf->dma_dev, conf->dma_channel, &dma_status); in adc_esp32_dma_start()
176 (unsigned int)conf->dma_channel, err); in adc_esp32_dma_start()
181 LOG_ERR("dma channel[%u] is busy!", (unsigned int)conf->dma_channel); in adc_esp32_dma_start()
196 err = dma_config(conf->dma_dev, conf->dma_channel, &dma_cfg); in adc_esp32_dma_start()
202 err = dma_start(conf->dma_dev, conf->dma_channel); in adc_esp32_dma_start()
215 const struct adc_esp32_conf *conf = dev->config; in adc_esp32_dma_stop() local
219 err = dma_stop(conf->dma_dev, conf->dma_channel); in adc_esp32_dma_stop()
232 const struct adc_esp32_conf *conf = dev->config; in adc_esp32_fill_digi_pattern() local
242 for (uint8_t channel_id = 0; channel_id < conf->channel_count; channel_id++) { in adc_esp32_fill_digi_pattern()
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c182 const struct icbmsg_config *conf;/* Backend instance config. */ member
338 const struct icbmsg_config *conf = dev_data->conf; in alloc_tx_buffer() local
340 size_t num_blocks = DIV_ROUND_UP(total_size, conf->tx.block_size); in alloc_tx_buffer()
353 r = sys_bitarray_alloc(conf->tx_usage_bitmap, num_blocks, in alloc_tx_buffer()
378 r = sys_bitarray_alloc(conf->tx_usage_bitmap, num_blocks, &tx_block_index); in alloc_tx_buffer()
400 for (next_bit = tx_block_index + 1; next_bit < conf->tx.block_count; in alloc_tx_buffer()
402 r = sys_bitarray_test_and_set_bit(conf->tx_usage_bitmap, next_bit, in alloc_tx_buffer()
414 *size = conf->tx.block_size * num_blocks - BLOCK_HEADER_SIZE; in alloc_tx_buffer()
415 block = block_from_index(&conf->tx, tx_block_index); in alloc_tx_buffer()
438 const struct icbmsg_config *conf = dev_data->conf; in release_tx_blocks() local
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/
Dcompile.sh14 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_pst.conf compile
15 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_gatt.conf compile
16 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_gatt_separate.conf compile
17 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_low_lat.conf compile
18 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_psa.conf compile
19 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_workq_sys.conf compile
20 app=tests/bsim/bluetooth/mesh conf_overlay=overlay_multi_adv_sets.conf compile
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c63 static int mbox_deinit(const struct icmsg_config_t *conf, in mbox_deinit() argument
68 err = mbox_set_enabled_dt(&conf->mbox_rx, 0); in mbox_deinit()
73 err = mbox_register_callback_dt(&conf->mbox_rx, NULL, NULL); in mbox_deinit()
363 static int mbox_init(const struct icmsg_config_t *conf, in mbox_init() argument
372 err = mbox_register_callback_dt(&conf->mbox_rx, mbox_callback, dev_data); in mbox_init()
377 return mbox_set_enabled_dt(&conf->mbox_rx, 1); in mbox_init()
380 int icmsg_open(const struct icmsg_config_t *conf, in icmsg_open() argument
387 __ASSERT(conf->unbound_mode != ICMSG_UNBOUND_MODE_DISABLE || UNBOUND_DISABLED, in icmsg_open()
389 __ASSERT(conf->unbound_mode != ICMSG_UNBOUND_MODE_ENABLE || UNBOUND_ENABLED, in icmsg_open()
391 __ASSERT(conf->unbound_mode != ICMSG_UNBOUND_MODE_DETECT || UNBOUND_DETECT, in icmsg_open()
[all …]
/Zephyr-latest/tests/bsim/net/
Dcompile.sh14 app=samples/net/sockets/echo_server conf_overlay=overlay-802154.conf compile
15 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-802154.conf compile
17 app=samples/net/sockets/echo_server conf_overlay=overlay-ot.conf compile
18 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-ot.conf compile
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_unicast_client/
Dcompile.sh16 conf_file=${sample}/prj.conf \
17 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \
20 app=samples/bluetooth/bap_unicast_server conf_overlay=overlay-bt_ll_sw_split.conf \
24 conf_file=${sample}/prj.conf \
25 conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c42 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in set_power_mode() local
64 ret = i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, &odr); in set_power_mode()
70 ret = i2c_reg_write_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, odr); in set_power_mode()
95 ret = i2c_reg_write_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, odr); in set_power_mode()
108 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in get_power_mode() local
118 ret = i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, &reg); in get_power_mode()
189 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in get_interrupt_status() local
195 return i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_INT_STATUS, int_status); in get_interrupt_status()
200 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in get_nvm_status() local
206 return i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_STATUS, nvm_status); in get_nvm_status()
[all …]
/Zephyr-latest/samples/subsys/tracing/
DREADME.rst13 Depends of the boards which you are using, choose one of .conf files for use tracing subsys.
23 :conf: "prj_uart.conf"
32 :conf: "prj_uart_ctf.conf"
50 :conf: "prj_usb.conf"
59 :conf: "prj_usb_ctf.conf"
97 :conf: "prj_native_ctf.conf"
111 :conf: "prj_user.conf"
139 :conf: "prj_gpio.conf"
/Zephyr-latest/tests/subsys/ipc/ipc_sessions/interoperability/
Dipc_icmsg_v1.c20 const struct icmsg_config_t *conf = instance->config; in register_ept() local
26 return icmsg_open(conf, dev_data, &cfg->cb, cfg->priv); in register_ept()
31 const struct icmsg_config_t *conf = instance->config; in deregister_ept() local
34 return icmsg_close(conf, dev_data); in deregister_ept()
40 const struct icmsg_config_t *conf = instance->config; in send() local
43 return icmsg_send(conf, dev_data, msg, len); in send()
/Zephyr-latest/drivers/mbox/
Dmbox_andes_plic_sw.c30 const struct mbox_plic_conf *conf = dev->config; in is_channel_valid() local
32 return (ch <= conf->channel_max) && conf->irq_sources[ch]; in is_channel_valid()
37 const struct mbox_plic_conf *conf = dev->config; in mbox_plic_send() local
48 riscv_plic_irq_set_pending(conf->irq_sources[ch]); in mbox_plic_send()
80 const struct mbox_plic_conf *conf = dev->config; in mbox_plic_max_channels_get() local
82 return conf->channel_max; in mbox_plic_max_channels_get()
88 const struct mbox_plic_conf *conf = dev->config; in mbox_plic_set_enabled() local
99 riscv_plic_irq_enable(conf->irq_sources[ch]); in mbox_plic_set_enabled()
101 riscv_plic_irq_disable(conf->irq_sources[ch]); in mbox_plic_set_enabled()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c216 struct config *conf = (struct config *)p1; in smp_udp_receive_thread() local
222 (void)k_sem_take(&conf->network_ready_sem, K_FOREVER); in smp_udp_receive_thread()
223 rc = create_socket(conf->proto, &conf->sock); in smp_udp_receive_thread()
230 LOG_INF("Started (%s)", smp_udp_proto_to_name(conf->proto)); in smp_udp_receive_thread()
236 int len = zsock_recvfrom(conf->sock, conf->recv_buffer, in smp_udp_receive_thread()
250 net_buf_add_mem(nb, conf->recv_buffer, len); in smp_udp_receive_thread()
254 smp_rx_req(&conf->smp_transport, nb); in smp_udp_receive_thread()
256 LOG_ERR("recvfrom error (%s): %i, %d", smp_udp_proto_to_name(conf->proto), in smp_udp_receive_thread()
293 static void create_thread(struct config *conf, const char *name) in create_thread() argument
295 k_thread_create(&(conf->thread), conf->stack, in create_thread()
[all …]
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dudp.c83 send_udp_data(&conf.ipv4); in process_udp_tx()
85 send_udp_data(&conf.ipv6); in process_udp_tx()
113 conf.ipv4.udp.ctrl = &udp4_ctrl; in init_udp()
118 conf.ipv6.udp.ctrl = &udp6_ctrl; in init_udp()
178 struct sample_data *data = (ctrl == conf.ipv4.udp.ctrl) ? &conf.ipv4 : &conf.ipv6; in wait_reply()
315 ret = start_udp_proto(&conf.ipv6, AF_INET6, in start_udp()
329 ret = start_udp_proto(&conf.ipv4, AF_INET, in start_udp()
348 k_poll_signal_raise(&conf.ipv6.udp.ctrl->tx_signal, 0); in start_udp()
352 k_poll_signal_raise(&conf.ipv4.udp.ctrl->tx_signal, 0); in start_udp()
363 ret = process_udp_proto(&conf.ipv6); in process_udp()
[all …]
/Zephyr-latest/drivers/wifi/nrf_wifi/off_raw_tx/src/
Doff_raw_tx_api.c302 int nrf70_off_raw_tx_conf_update(struct nrf_wifi_off_raw_tx_conf *conf) in nrf70_off_raw_tx_conf_update() argument
311 if (!conf) { in nrf70_off_raw_tx_conf_update()
337 if (!validate_rate(conf->tput_mode, conf->rate)) { in nrf70_off_raw_tx_conf_update()
339 conf->tput_mode, conf->rate); in nrf70_off_raw_tx_conf_update()
343 off_ctrl_params->channel_no = conf->chan; in nrf70_off_raw_tx_conf_update()
344 off_ctrl_params->period_in_us = conf->period_us; in nrf70_off_raw_tx_conf_update()
345 off_ctrl_params->tx_pwr = conf->tx_pwr; in nrf70_off_raw_tx_conf_update()
346 off_tx_params->he_gi_type = conf->he_gi; in nrf70_off_raw_tx_conf_update()
347 off_tx_params->he_ltf = conf->he_ltf; in nrf70_off_raw_tx_conf_update()
349 off_tx_params->pkt_length = conf->pkt_len; in nrf70_off_raw_tx_conf_update()
[all …]

12345678910>>...15