Home
last modified time | relevance | path

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

12345678910>>...12

/Zephyr-Core-3.6.0/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-Core-3.6.0/tests/bsim/bluetooth/ll/
Dcompile.sh23 conf_overlay=overlay-ticker_expire_info.conf compile
25 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split.conf compile
26 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_privacy.conf compile
27 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_low_lat.conf compile
28 app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_single_timer.conf compile
32 conf_overlay=overlay-ticker_expire_info.conf compile
33 app=tests/bsim/bluetooth/ll/bis conf_file=prj_vs_dp.conf compile
35 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay.conf compile
36 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-acl_first.conf compile
37 app=tests/bsim/bluetooth/ll/cis conf_overlay=overlay-legacy_adv.conf compile
[all …]
/Zephyr-Core-3.6.0/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 …]
/Zephyr-Core-3.6.0/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 …]
Dieee802154_rf2xx.c348 const struct rf2xx_config *conf = dev->config; in get_mac() local
352 if (!conf->has_mac) { in get_mac()
473 const struct rf2xx_config *conf = dev->config; in rf2xx_set_txpower() local
491 if (conf->tx_pwr_table_size == 1) { in rf2xx_set_txpower()
497 min = conf->tx_pwr_min[1]; in rf2xx_set_txpower()
498 if (conf->tx_pwr_min[0] == 0x01) { in rf2xx_set_txpower()
502 max = conf->tx_pwr_max[1]; in rf2xx_set_txpower()
503 if (conf->tx_pwr_max[0] == 0x01) { in rf2xx_set_txpower()
507 step = (max - min) / ((float)conf->tx_pwr_table_size - 1.0f); in rf2xx_set_txpower()
514 (double)min, (double)max, (double)step, conf->tx_pwr_table_size); in rf2xx_set_txpower()
[all …]
/Zephyr-Core-3.6.0/scripts/utils/
Dtwister_to_list.py33 def process(conf): argument
36 val = conf.get(field)
42 conf[field] = s
57 conf = yaml.load(p)
60 common = conf.get("common")
64 for _, spec in conf["tests"].items():
71 yaml.dump(conf, f)
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/backends/
Dipc_icbmsg.c157 const struct icbmsg_config *conf;/* Backend instance config. */ member
305 const struct icbmsg_config *conf = dev_data->conf; in alloc_tx_buffer() local
307 size_t num_blocks = DIV_ROUND_UP(total_size, conf->tx.block_size); in alloc_tx_buffer()
317 r = sys_bitarray_alloc(conf->tx_usage_bitmap, num_blocks, in alloc_tx_buffer()
360 for (next_bit = tx_block_index + 1; next_bit < conf->tx.block_count; in alloc_tx_buffer()
362 r = sys_bitarray_test_and_set_bit(conf->tx_usage_bitmap, next_bit, in alloc_tx_buffer()
374 *size = conf->tx.block_size * num_blocks - BLOCK_HEADER_SIZE; in alloc_tx_buffer()
375 block = block_from_index(&conf->tx, tx_block_index); in alloc_tx_buffer()
398 const struct icbmsg_config *conf = dev_data->conf; in release_tx_blocks() local
409 num_blocks = DIV_ROUND_UP(total_size, conf->tx.block_size); in release_tx_blocks()
[all …]
Dipc_icmsg.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()
Dipc_rpmsg_static_vrings.c245 static int vr_shm_configure(struct ipc_static_vrings *vr, const struct backend_config_t *conf) in vr_shm_configure() argument
249 num_desc = optimal_num_desc(conf->shm_size, conf->buffer_size); in vr_shm_configure()
276 vr->shm_addr = ROUND_UP(conf->shm_addr + VDEV_STATUS_SIZE, MEM_ALIGNMENT); in vr_shm_configure()
277 vr->shm_size = shm_size(num_desc, conf->buffer_size); in vr_shm_configure()
279 vr->rx_addr = vr->shm_addr + VRING_COUNT * vq_ring_size(num_desc, conf->buffer_size); in vr_shm_configure()
283 vr->status_reg_addr = conf->shm_addr; in vr_shm_configure()
292 struct backend_config_t *conf = priv; in virtio_notify_cb() local
294 if (conf->mbox_tx.dev) { in virtio_notify_cb()
295 mbox_send(&conf->mbox_tx, NULL); in virtio_notify_cb()
320 const struct backend_config_t *conf = instance->config; in mbox_init() local
[all …]
/Zephyr-Core-3.6.0/samples/net/sockets/echo_client/src/
Decho-client.c77 APP_DMEM struct configs conf = { variable
100 if (conf.ipv4.udp.sock >= 0) { in prepare_fds()
101 fds[nfds].fd = conf.ipv4.udp.sock; in prepare_fds()
106 if (conf.ipv4.tcp.sock >= 0) { in prepare_fds()
107 fds[nfds].fd = conf.ipv4.tcp.sock; in prepare_fds()
112 if (conf.ipv6.udp.sock >= 0) { in prepare_fds()
113 fds[nfds].fd = conf.ipv6.udp.sock; in prepare_fds()
118 if (conf.ipv6.tcp.sock >= 0) { in prepare_fds()
119 fds[nfds].fd = conf.ipv6.tcp.sock; in prepare_fds()
207 conf.ipv4.udp.mtu = net_if_get_mtu(iface); in event_handler()
[all …]
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()
176 struct data *data = (ctrl == conf.ipv4.udp.ctrl) ? &conf.ipv4 : &conf.ipv6; in wait_reply()
302 ret = start_udp_proto(&conf.ipv6, (struct sockaddr *)&addr6, in start_udp()
315 ret = start_udp_proto(&conf.ipv4, (struct sockaddr *)&addr4, in start_udp()
333 k_poll_signal_raise(&conf.ipv6.udp.ctrl->tx_signal, 0); in start_udp()
337 k_poll_signal_raise(&conf.ipv4.udp.ctrl->tx_signal, 0); in start_udp()
348 ret = process_udp_proto(&conf.ipv6); in process_udp()
[all …]
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/lib/
Dicmsg.c30 static int mbox_deinit(const struct icmsg_config_t *conf, in mbox_deinit() argument
35 err = mbox_set_enabled(&conf->mbox_rx, 0); in mbox_deinit()
40 err = mbox_register_callback(&conf->mbox_rx, NULL, NULL); in mbox_deinit()
176 static int mbox_init(const struct icmsg_config_t *conf, in mbox_init() argument
184 err = mbox_register_callback(&conf->mbox_rx, mbox_callback, dev_data); in mbox_init()
189 return mbox_set_enabled(&conf->mbox_rx, 1); in mbox_init()
192 int icmsg_open(const struct icmsg_config_t *conf, in icmsg_open() argument
203 dev_data->cfg = conf; in icmsg_open()
232 ret = mbox_init(conf, dev_data); in icmsg_open()
245 int icmsg_close(const struct icmsg_config_t *conf, in icmsg_close() argument
[all …]
/Zephyr-Core-3.6.0/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"
48 :conf: "prj_usb.conf"
57 :conf: "prj_usb_ctf.conf"
95 :conf: "prj_native_ctf.conf"
109 :conf: "prj_user.conf"
/Zephyr-Core-3.6.0/share/sysbuild/cmake/modules/
Dsysbuild_kconfig.cmake20 elseif(EXISTS ${APP_DIR}/sysbuild.conf)
21 set(SB_CONF_FILE ${APP_DIR}/sysbuild.conf)
47 SYSbuild configuration settings specified in an alternate .conf file using this parameter. \
49 default .conf file. Multiple files may be listed, e.g. SB_CONF_FILE=\"sys1.conf sys2.conf\"")
53 # If there is no SB_CONF_FILE, then use empty.conf to make kconfiglib happy.
54 # Not adding it to CMake cache ensures that a later created sysbuild.conf
56 set(SB_CONF_FILE ${CMAKE_CURRENT_BINARY_DIR}/empty.conf)
60 file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/empty.conf)
65 set(BOARD_DEFCONFIG "${CMAKE_CURRENT_BINARY_DIR}/empty.conf")
67 set(BOARD_REVISION_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/empty.conf")
/Zephyr-Core-3.6.0/scripts/footprint/
Dplan.txt2 footprints,userspace,frdm_k64f,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf
4 footprints,userspace,disco_l475_iot1,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf
10 footprints,userspace,intel_ehl_crb,tests/benchmarks/footprints,-DCONF_FILE=prj_userspace.conf
11 footprints,power-management,frdm_k64f,tests/benchmarks/footprints,-DCONF_FILE=prj_pm.conf
12 footprints,power-management,disco_l475_iot1,tests/benchmarks/footprints,-DCONF_FILE=prj_pm.conf
13 footprints,power-management,it8xxx2_evb,tests/benchmarks/footprints,-DCONF_FILE=prj_pm.conf
14 footprints,power-management,iotdk,tests/benchmarks/footprints,-DCONF_FILE=prj_pm.conf
29 …f5340_cpunet,samples/bluetooth/hci_ipc,-DCONF_FILE=nrf5340_cpunet_iso_broadcast-bt_ll_sw_split.conf
30 …nrf5340_cpunet,samples/bluetooth/hci_ipc,-DCONF_FILE=nrf5340_cpunet_iso_receive-bt_ll_sw_split.conf
/Zephyr-Core-3.6.0/drivers/sensor/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-Core-3.6.0/tests/bsim/net/
Dcompile.sh23 app=samples/net/sockets/echo_server conf_overlay=overlay-802154.conf compile
24 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-802154.conf compile
26 app=samples/net/sockets/echo_server conf_overlay=overlay-ot.conf compile
27 app=tests/bsim/net/sockets/echo_test conf_overlay=overlay-ot.conf compile
/Zephyr-Core-3.6.0/samples/net/sockets/echo_server/src/
Dudp.c146 ret = start_udp_proto(&conf.ipv4, (struct sockaddr *)&addr4, in process_udp4()
154 ret = process_udp(&conf.ipv4); in process_udp4()
170 ret = start_udp_proto(&conf.ipv6, (struct sockaddr *)&addr6, in process_udp6()
178 ret = process_udp(&conf.ipv6); in process_udp6()
213 k_work_init_delayable(&conf.ipv6.udp.stats_print, print_stats); in start_udp()
216 k_work_reschedule(&conf.ipv6.udp.stats_print, in start_udp()
225 k_work_init_delayable(&conf.ipv4.udp.stats_print, print_stats); in start_udp()
228 k_work_reschedule(&conf.ipv4.udp.stats_print, in start_udp()
240 if (conf.ipv6.udp.sock >= 0) { in stop_udp()
241 (void)close(conf.ipv6.udp.sock); in stop_udp()
[all …]
Dtcp.c298 ret = start_tcp_proto(&conf.ipv4, (struct sockaddr *)&addr4, in process_tcp4()
306 ret = process_tcp(&conf.ipv4); in process_tcp4()
324 ret = start_tcp_proto(&conf.ipv6, (struct sockaddr *)&addr6, in process_tcp6()
332 ret = process_tcp(&conf.ipv6); in process_tcp6()
367 conf.ipv6.tcp.accepted[i].sock = -1; in start_tcp()
368 conf.ipv4.tcp.accepted[i].sock = -1; in start_tcp()
388 k_work_init_delayable(&conf.ipv6.tcp.stats_print, print_stats); in start_tcp()
390 k_work_reschedule(&conf.ipv6.tcp.stats_print, K_SECONDS(STATS_TIMER)); in start_tcp()
403 k_work_init_delayable(&conf.ipv4.tcp.stats_print, print_stats); in start_tcp()
405 k_work_reschedule(&conf.ipv4.tcp.stats_print, K_SECONDS(STATS_TIMER)); in start_tcp()
[all …]
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/transport/src/
Dsmp_udp.c230 struct config *conf = (struct config *)p1; in smp_udp_receive_thread() local
236 (void)k_sem_take(&conf->network_ready_sem, K_FOREVER); in smp_udp_receive_thread()
237 rc = create_socket(conf->proto, &conf->sock); in smp_udp_receive_thread()
244 LOG_INF("Started (%s)", smp_udp_proto_to_name(conf->proto)); in smp_udp_receive_thread()
250 int len = recvfrom(conf->sock, conf->recv_buffer, in smp_udp_receive_thread()
265 net_buf_add_mem(nb, conf->recv_buffer, len); in smp_udp_receive_thread()
269 smp_rx_req(&conf->smp_transport, nb); in smp_udp_receive_thread()
271 LOG_ERR("recvfrom error (%s): %i, %d", smp_udp_proto_to_name(conf->proto), in smp_udp_receive_thread()
308 static void create_thread(struct config *conf, const char *name) in create_thread() argument
310 k_thread_create(&(conf->thread), conf->stack, in create_thread()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio_samples/
Dcompile.sh27 conf_file=${ZEPHYR_BASE}/samples/bluetooth/broadcast_audio_sink/prj.conf \
30 app=samples/bluetooth/unicast_audio_server conf_overlay=overlay-bt_ll_sw_split.conf \
32 app=samples/bluetooth/broadcast_audio_source conf_overlay=overlay-bt_ll_sw_split.conf \
35 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/unicast_audio_client/overlay-bt_ll_sw_split.conf \
38 conf_file=${ZEPHYR_BASE}/samples/bluetooth/broadcast_audio_sink/prj.conf \
39 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/broadcast_audio_sink/overlay-bt_ll_sw_split.conf \
/Zephyr-Core-3.6.0/samples/net/sockets/echo_server/
DREADME.rst33 - :file:`prj.conf`
36 - :file:`overlay-ot.conf`
39 - :file:`overlay-802154.conf`
45 - :file:`overlay-bt.conf`
48 - :file:`overlay-qemu_802154.conf`
52 - :file:`overlay-tls.conf`
55 - :file:`overlay-tunnel.conf`
63 :conf: <config file to use>
73 :conf: "prj.conf overlay-ot.conf"
83 :gen-args: -DEXTRA_CONF_FILE=overlay-802154.conf
[all …]
/Zephyr-Core-3.6.0/samples/net/sockets/echo_client/
DREADME.rst32 - :file:`prj.conf`
35 - :file:`overlay-ot.conf`
38 - :file:`overlay-802154.conf`
44 - :file:`overlay-bt.conf`
47 - :file:`overlay-qemu_802154.conf`
51 - :file:`overlay-tls.conf`
59 :conf: <config file to use>
69 :conf: "prj.conf overlay-ot.conf"
79 :gen-args: -DEXTRA_CONF_FILE=overlay-802154.conf
95 ``overlay-tls.conf`` overlay file enabled, for example, using these commands:
[all …]
/Zephyr-Core-3.6.0/drivers/mbox/
Dmbox_nrfx_ipc.c36 const struct mbox_nrf_conf *conf = dev->config; in is_rx_channel_valid() local
38 return ((ch < IPC_CONF_NUM) && (conf->rx_mask & BIT(ch))); in is_rx_channel_valid()
43 const struct mbox_nrf_conf *conf = dev->config; in is_tx_channel_valid() local
45 return ((ch < IPC_CONF_NUM) && (conf->tx_mask & BIT(ch))); in is_tx_channel_valid()
150 const struct mbox_nrf_conf *conf = dev->config; in enable_dt_channels() local
153 if (conf->tx_mask >= BIT(IPC_CONF_NUM)) { in enable_dt_channels()
157 if (conf->rx_mask >= BIT(IPC_CONF_NUM)) { in enable_dt_channels()
165 if (conf->tx_mask & BIT(ch)) { in enable_dt_channels()
169 if (conf->rx_mask & BIT(ch)) { in enable_dt_channels()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/
Dcompile.sh23 app=tests/bsim/bluetooth/host/adv/resume conf_file=prj_2.conf compile
25 app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_advertiser.conf compile
26 app=tests/bsim/bluetooth/host/adv/extended conf_file=prj_scanner.conf compile
28 app=tests/bsim/bluetooth/host/adv/periodic conf_file=prj_long_data.conf compile
32 app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_lowres.conf compile
33 app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_collision.conf compile
34 app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_multiple_conn.conf compile
35 app=tests/bsim/bluetooth/host/att/eatt conf_file=prj_autoconnect.conf compile
36 app=tests/bsim/bluetooth/host/att/eatt_notif conf_file=prj.conf compile
55 app=tests/bsim/bluetooth/host/gatt/settings conf_file=prj_2.conf compile
[all …]

12345678910>>...12