Home
last modified time | relevance | path

Searched refs:POPCOUNT (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/modules/lvgl/
Dlvgl_display.c54 __ASSERT(POPCOUNT(CONFIG_LV_Z_AREA_X_ALIGNMENT_WIDTH) == 1, "Invalid X alignment width"); in lvgl_rounder_cb()
60 __ASSERT(POPCOUNT(CONFIG_LV_Z_AREA_Y_ALIGNMENT_WIDTH) == 1, "Invalid Y alignment width"); in lvgl_rounder_cb()
/Zephyr-latest/lib/utils/
Dbitarray.c240 *count = POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_popcount_region()
248 *count += POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_popcount_region()
249 *count += POPCOUNT(bitarray->bundles[bd.eidx] & bd.emask); in sys_bitarray_popcount_region()
251 *count += POPCOUNT(bitarray->bundles[idx]); in sys_bitarray_popcount_region()
586 count = POPCOUNT(bitarray->bundles[bd.sidx] & bd.smask); in sys_bitarray_find_nth_set()
601 count = POPCOUNT(bitarray->bundles[idx]); in sys_bitarray_find_nth_set()
609 count = POPCOUNT(bitarray->bundles[bd.eidx] & bd.emask); in sys_bitarray_find_nth_set()
/Zephyr-latest/subsys/bluetooth/audio/
Daudio.c148 #ifdef POPCOUNT in bt_audio_get_chan_count()
149 return POPCOUNT(chan_allocation); in bt_audio_get_chan_count()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dtimestamp.c37 if (POPCOUNT(trigger_bits) != 1) { in intel_adsp_get_timestamp()
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dmain.c218 if ((offset < 0) && (POPCOUNT(ctx->plus_ones) < -offset)) { in next_mic_num_samples()
226 if ((offset > 0) && (POPCOUNT(ctx->minus_ones) < offset)) { in next_mic_num_samples()
/Zephyr-latest/subsys/input/
Dinput_utils.c154 count += POPCOUNT(data[i]); in kbd_matrix_state_log_entry()
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.c60 alh->params.channels = POPCOUNT(alh_cfg->mapping[i].channel_mask); in dai_alh_set_config_blob()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c891 slot_count = POPCOUNT(time_slot_map >> 32) + POPCOUNT(time_slot_map & 0xFFFFFFFF); in dai_ssp_program_channel_map()
907 slot_count = POPCOUNT(time_slot_map >> 32) + POPCOUNT(time_slot_map & 0xFFFFFFFF); in dai_ssp_program_channel_map()
1644 active_tx_slots = POPCOUNT(ssp_plat_data->params.tx_slots); in dai_ssp_set_config_tplg()
1645 active_rx_slots = POPCOUNT(ssp_plat_data->params.rx_slots); in dai_ssp_set_config_tplg()
2493 params->channels = POPCOUNT(ssp_plat_data->params.tx_slots); in dai_ssp_config_get()
2495 params->channels = POPCOUNT(ssp_plat_data->params.rx_slots); in dai_ssp_config_get()
/Zephyr-latest/drivers/adc/
Dadc_ad559x.c70 channels = POPCOUNT(sequence->channels); in adc_ad559x_validate_buffer_size()
Dadc_ads7052.c73 channels = POPCOUNT(sequence->channels); in ads7052_validate_buffer_size()
Dadc_max32.c108 uint32_t num_of_sample_channels = POPCOUNT(seq->channels); in start_read()
Dadc_ambiq.c172 active_channels = POPCOUNT(sequence->channels); in adc_ambiq_start_read()
Dadc_nxp_s32_adc_sar.c126 active_channels = POPCOUNT(sequence->channels); in adc_nxp_s32_validate_buffer_size()
Dadc_tla202x.c238 const size_t num_samples = (1 + num_extra_samples) * POPCOUNT(seq->channels); in tla202x_start_read()
Dadc_stm32wb0.c238 const size_t round_size = sizeof(uint16_t) * POPCOUNT(sequence->channels); in validate_adc_sequence()
/Zephyr-latest/drivers/dma/
Ddma_si32.c213 if (POPCOUNT(cfg->source_burst_length) > 1) { in dma_si32_config()
Ddma_emul.c569 ? POPCOUNT(DT_INST_PROP_OR(_inst, dma_channel_mask, 0)) \
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic_nhlt.c668 num_fifos = POPCOUNT(channel_ctrl_mask); /* Count set bits */ in dai_dmic_set_config_nhlt()
721 num_pdm = POPCOUNT(pdm_ctrl_mask); /* Count set bits */ in dai_dmic_set_config_nhlt()
/Zephyr-latest/include/zephyr/toolchain/
Dgcc.h278 #define POPCOUNT(x) __builtin_popcount(x) macro
/Zephyr-latest/subsys/bluetooth/mesh/
Dlpn.c777 count += POPCOUNT(atomic_get(&target[i])); in group_popcount()
780 return POPCOUNT(atomic_get(target)); in group_popcount()
/Zephyr-latest/drivers/mfd/
Dmfd_tle9104.c132 int parity = 1 + POPCOUNT(value); in tle9104_calculate_parity()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c459 if (new_bis_sync_req != BT_BAP_BIS_SYNC_NO_PREF && POPCOUNT(new_bis_sync_req) > 1U) { in bis_sync_req_cb()
/Zephyr-latest/tests/kernel/mem_protect/userspace/src/
Dmain.c956 perms_count += POPCOUNT(ko->perms[i]); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_sink_test.c764 stream_sync_cnt = POPCOUNT(bis_index_bitfield); in test_broadcast_sync()
/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.c958 : POPCOUNT((drv_cfg->mag_channel & TMAG5273_DT_AXIS_XYZ))) + in tmag5273_init_device_config()

12