Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dhas.c568 typedef uint8_t (*preset_func_t)(const struct has_preset *preset, void *user_data);
573 struct has_preset *preset, *tmp; in preset_foreach() local
575 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&preset_list, preset, tmp, node) { in preset_foreach()
576 if (preset->index < start_index) { in preset_foreach()
580 if (preset->index > end_index) { in preset_foreach()
584 if (func(preset, user_data) == BT_HAS_PRESET_ITER_STOP) { in preset_foreach()
590 static uint8_t preset_found(const struct has_preset *preset, void *user_data) in preset_found() argument
594 *found = preset; in preset_found()
599 static void preset_insert(struct has_preset *preset) in preset_insert() argument
604 if (tmp->index > preset->index) { in preset_insert()
[all …]
DKconfig.has37 bool "Allow to set preset name on runtime"
39 Enabling this option allows for runtime configuration of preset name.
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_source/
DKconfig12 bool "BAP_LC3_BROADCAST_PRESET_16_2_1 preset"
14 Using the BAP_LC3_BROADCAST_PRESET_16_2_1 preset.
17 bool "BAP_LC3_BROADCAST_PRESET_24_2_1 preset"
19 Using the BAP_LC3_BROADCAST_PRESET_24_2_1 preset.
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/audio/shell/
Dbap.rst21 create_broadcast : [preset <preset_name>] [enc <broadcast_code>]
33 [preset <preset_name>]
46 preset : <sink, source, broadcast> [preset]
318 Select preset
321 The :code:`preset` command can be used to either print the default preset
327 uart:~$ bap preset
328 preset - <sink, source, broadcast> [preset]
347 uart:~$ bap preset sink
362 uart:~$ bap preset sink 32_2_1
378 Configure preset
[all …]
Dgmap.rst66 uart:~$ bap preset sink 32_2_gr
67 uart:~$ bap preset source 32_2_gs
/Zephyr-Core-3.7.0/tests/bluetooth/audio/codec/src/
Dmain.c146 const struct bt_bap_lc3_preset preset = in ZTEST() local
151 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
157 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
165 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
168 ret = bt_audio_codec_cfg_set_frame_blocks_per_sdu(&preset.codec_cfg, frame_blocks); in ZTEST()
171 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
177 struct bt_bap_lc3_preset preset = BT_BAP_LC3_UNICAST_PRESET_16_2_1( in ZTEST() local
181 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
184 ret = bt_audio_codec_cfg_set_freq(&preset.codec_cfg, BT_AUDIO_CODEC_CFG_FREQ_32KHZ); in ZTEST()
187 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmc150_magn/
Dbmc150_magn.c483 struct bmc150_magn_preset preset; in bmc150_magn_init_chip() local
505 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init_chip()
506 if (bmc150_magn_set_odr(dev, preset.odr) < 0) { in bmc150_magn_init_chip()
508 preset.odr); in bmc150_magn_init_chip()
514 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)) in bmc150_magn_init_chip()
517 preset.rep_xy); in bmc150_magn_init_chip()
523 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmc150_magn_init_chip()
525 preset.rep_z); in bmc150_magn_init_chip()
DKconfig19 prompt "Default preset"
22 Specify the default preset (x/y oversampling, z oversampling, sampling
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/
Dbap_common.c99 memcpy(&stream->qos, &named_preset->preset.qos, sizeof(stream->qos)); in copy_unicast_stream_preset()
100 memcpy(&stream->codec_cfg, &named_preset->preset.codec_cfg, sizeof(stream->codec_cfg)); in copy_unicast_stream_preset()
Dbap_common.h52 struct bt_bap_lc3_preset preset; member
Dcap_initiator_broadcast_test.c726 memcpy(&codec_cfg, &named_preset->preset.codec_cfg, sizeof(codec_cfg)); in test_cap_initiator_ac()
727 memcpy(&qos, &named_preset->preset.qos, sizeof(qos)); in test_cap_initiator_ac()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmm150/
Dbmm150.c553 struct bmm150_preset preset; in bmm150_init_chip() local
572 preset = bmm150_presets_table[BMM150_DEFAULT_PRESET]; in bmm150_init_chip()
573 if (bmm150_set_odr(dev, preset.odr) < 0) { in bmm150_init_chip()
575 preset.odr); in bmm150_init_chip()
579 if (bmm150_reg_write(dev, BMM150_REG_REP_XY, BMM150_REPXY_TO_REGVAL(preset.rep_xy)) in bmm150_init_chip()
582 preset.rep_xy); in bmm150_init_chip()
586 if (bmm150_reg_write(dev, BMM150_REG_REP_Z, BMM150_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmm150_init_chip()
588 preset.rep_z); in bmm150_init_chip()
DKconfig16 prompt "Default preset"
19 Specify the default preset (x/y oversampling, z oversampling, sampling
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/test_scripts/
Dcap_broadcast_ac_14.sh20 -RealEncryption=1 -rs=23 -D=2 -argstest preset $1
Dcap_broadcast_ac_12.sh20 -RealEncryption=1 -rs=23 -D=2 -argstest preset $1
Dcap_broadcast_ac_13.sh20 -RealEncryption=1 -rs=23 -D=2 -argstest preset $1
/Zephyr-Core-3.7.0/drivers/ieee802154/
DKconfig.cc120080 prompt "TI CC1200 RF preset"
84 Set the RF preset you want to use.
/Zephyr-Core-3.7.0/dts/arm/nxp/
Dnxp_rt1020.dtsi51 /* GPIOS 4 and 6-9 are not preset on RT1020 */
Dnxp_rt1050.dtsi41 /* GPIOS 6-9 are not preset on RT1050 */
Dnxp_rt1015.dtsi56 /* GPIOS 4 and 6-9 are not preset on RT1015 */
Dnxp_rt1024.dtsi68 /* GPIOS 4 and 6-9 are not preset on RT1024 */
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/
Daudio.h90 struct bt_bap_lc3_preset preset; member
1162 memcpy(&stream->qos, &named_preset->preset.qos, sizeof(stream->qos)); in copy_unicast_stream_preset()
1163 memcpy(&stream->codec_cfg, &named_preset->preset.codec_cfg, sizeof(stream->codec_cfg)); in copy_unicast_stream_preset()
1169 memcpy(&source->qos, &named_preset->preset.qos, sizeof(source->qos)); in copy_broadcast_source_preset()
1170 memcpy(&source->codec_cfg, &named_preset->preset.codec_cfg, sizeof(source->codec_cfg)); in copy_broadcast_source_preset()
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_ll_stm32_v2.c1062 const struct i2c_config_timing *preset = &cfg->timings[i]; in stm32_i2c_configure_timing() local
1063 uint32_t speed = i2c_map_dt_bitrate(preset->i2c_speed); in stm32_i2c_configure_timing()
1066 && (preset->periph_clock == clock)) { in stm32_i2c_configure_timing()
1068 LL_I2C_SetTiming(i2c, preset->timing_setting); in stm32_i2c_configure_timing()
/Zephyr-Core-3.7.0/samples/boards/esp32/deep_sleep/
DREADME.rst19 a preset time. This example will trigger a wake up every 20 seconds.
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/mesh/
Dcore.rst119 The value is preset in the mesh stack implementation. When Bluetooth® Low Energy (LE)

12