/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum2_kvdl.c | 57 unsigned int bit_count, in mlxsw_sp2_kvdl_part_find_zero_bits() argument 71 if (!wrap && bit + bit_count >= part->usage_bit_count) { in mlxsw_sp2_kvdl_part_find_zero_bits() 76 if (wrap && bit + bit_count >= start_bit) in mlxsw_sp2_kvdl_part_find_zero_bits() 78 for (i = 0; i < bit_count; i++) { in mlxsw_sp2_kvdl_part_find_zero_bits() 80 bit += bit_count; in mlxsw_sp2_kvdl_part_find_zero_bits() 92 unsigned int bit_count; in mlxsw_sp2_kvdl_part_alloc() local 97 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_alloc() 98 err = mlxsw_sp2_kvdl_part_find_zero_bits(part, bit_count, &bit); in mlxsw_sp2_kvdl_part_alloc() 101 for (i = 0; i < bit_count; i++) in mlxsw_sp2_kvdl_part_alloc() 128 unsigned int bit_count; in mlxsw_sp2_kvdl_part_free() local [all …]
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | dsopcode.c | 84 u32 bit_count; in acpi_ds_init_buffer_field() local 128 bit_count = (u32) length_desc->integer.value; in acpi_ds_init_buffer_field() 132 if (bit_count == 0) { in acpi_ds_init_buffer_field() 145 bit_count = 1; in acpi_ds_init_buffer_field() 154 bit_count = 8; in acpi_ds_init_buffer_field() 163 bit_count = 16; in acpi_ds_init_buffer_field() 172 bit_count = 32; in acpi_ds_init_buffer_field() 181 bit_count = 64; in acpi_ds_init_buffer_field() 196 if ((bit_offset + bit_count) > (8 * (u32)buffer_desc->buffer.length)) { in acpi_ds_init_buffer_field() 202 bit_offset, bit_count, in acpi_ds_init_buffer_field() [all …]
|
D | rsutils.c | 31 u8 bit_count; in acpi_rs_decode_bitmask() local 37 for (i = 0, bit_count = 0; mask; i++) { in acpi_rs_decode_bitmask() 39 list[bit_count] = i; in acpi_rs_decode_bitmask() 40 bit_count++; in acpi_rs_decode_bitmask() 46 return (bit_count); in acpi_rs_decode_bitmask()
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | baseband.c | 1762 u32 bit_count; in vnt_get_phy_field() local 1768 bit_count = frame_length * 8; in vnt_get_phy_field() 1773 count = bit_count; in vnt_get_phy_field() 1779 count = bit_count / 2; in vnt_get_phy_field() 1788 count = (bit_count * 10) / 55; in vnt_get_phy_field() 1791 if (tmp != bit_count) in vnt_get_phy_field() 1801 count = bit_count / 11; in vnt_get_phy_field() 1804 if (tmp != bit_count) { in vnt_get_phy_field() 1807 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_panel_cntl.c | 193 uint8_t bit_count; in dce_driver_set_backlight() local 210 bit_count = 16; in dce_driver_set_backlight() 212 bit_count = pwm_period_bitcnt; in dce_driver_set_backlight() 215 masked_pwm_period = masked_pwm_period & ((1 << bit_count) - 1); in dce_driver_set_backlight() 227 backlight_16bit = active_duty_cycle >> bit_count; in dce_driver_set_backlight() 229 backlight_16bit += (active_duty_cycle >> (bit_count - 1)) & 0x1; in dce_driver_set_backlight()
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-syscon.c | 42 unsigned int bit_count; member 128 .bit_count = 3, 154 .bit_count = 1, 184 .bit_count = 28, 243 priv->chip.ngpio = priv->data->bit_count; in syscon_gpio_probe()
|
/linux-6.1.9/drivers/regulator/ |
D | rt6245-regulator.c | 148 unsigned int code, bit_count; in rt6245_reg_write() local 154 bit_count = hweight8(code & RT6245_CODE_MASK); in rt6245_reg_write() 155 if (bit_count % 2) in rt6245_reg_write()
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | rxtx.c | 86 u32 bit_count; in vnt_get_phy_field() local 94 bit_count = frame_length * 8; in vnt_get_phy_field() 99 count = bit_count; in vnt_get_phy_field() 102 count = bit_count / 2; in vnt_get_phy_field() 105 count = DIV_ROUND_UP(bit_count * 10, 55); in vnt_get_phy_field() 108 count = bit_count / 11; in vnt_get_phy_field() 111 if (tmp != bit_count) { in vnt_get_phy_field() 114 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
/linux-6.1.9/drivers/net/ipa/ |
D | ipa_cmd.c | 279 u32 bit_count; in ipa_cmd_register_write_offset_valid() local 286 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid() 288 bit_count += hweight32(REGISTER_WRITE_FLAGS_OFFSET_HIGH_FMASK); in ipa_cmd_register_write_offset_valid() 289 BUILD_BUG_ON(bit_count > 32); in ipa_cmd_register_write_offset_valid() 290 offset_max = ~0U >> (32 - bit_count); in ipa_cmd_register_write_offset_valid()
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | cxd2841er.c | 1405 u32 *bit_error, u32 *bit_count) in cxd2841er_read_ber_c() argument 1442 *bit_count = ((1 << period_exp) * 204 * 8); in cxd2841er_read_ber_c() 1448 u32 *bit_error, u32 *bit_count) in cxd2841er_read_ber_i() argument 1474 *bit_count = ((((u32)pktnum[0] << 8) | pktnum[1]) * 204 * 8); in cxd2841er_read_ber_i() 1476 __func__, *bit_error, *bit_count); in cxd2841er_read_ber_i() 1482 u32 *bit_error, u32 *bit_count) in cxd2841er_mon_read_ber_s() argument 1503 *bit_count = ((u32)(data[8] & 0x3F) << 16) | in cxd2841er_mon_read_ber_s() 1506 if ((*bit_count == 0) || (*bit_error > *bit_count)) { in cxd2841er_mon_read_ber_s() 1509 __func__, *bit_error, *bit_count); in cxd2841er_mon_read_ber_s() 1520 u32 *bit_error, u32 *bit_count) in cxd2841er_mon_read_ber_s2() argument [all …]
|
D | mb86a20s.c | 1567 u32 bit_error = 0, bit_count = 0; in mb86a20s_get_stats() local 1597 &bit_error, &bit_count); in mb86a20s_get_stats() 1602 c->pre_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats() 1619 &bit_error, &bit_count); in mb86a20s_get_stats() 1624 c->post_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()
|
/linux-6.1.9/sound/soc/tegra/ |
D | tegra210_i2s.c | 544 unsigned int val, bit_count, bclk_rate, num_bclk = sample_size; in tegra210_i2s_set_timing_params() local 574 bit_count = (bclk_rate / (srate * 2)) - 1; in tegra210_i2s_set_timing_params() 577 bit_count = (bclk_rate / srate) - 1; in tegra210_i2s_set_timing_params() 587 if (bit_count > I2S_TIMING_CH_BIT_CNT_MASK) { in tegra210_i2s_set_timing_params() 588 dev_err(dev, "invalid I2S channel bit count %u\n", bit_count); in tegra210_i2s_set_timing_params() 593 bit_count << I2S_TIMING_CH_BIT_CNT_SHIFT); in tegra210_i2s_set_timing_params()
|
/linux-6.1.9/drivers/soc/fsl/qbman/ |
D | qman_ccsr.c | 500 static void log_edata_bits(struct device *dev, u32 bit_count) in log_edata_bits() argument 505 i = bit_count / 32; in log_edata_bits() 506 if (bit_count % 32) { in log_edata_bits() 508 mask = ~(mask << bit_count % 32); in log_edata_bits()
|
/linux-6.1.9/drivers/iio/adc/ |
D | ti-tsc2046.c | 228 unsigned int bit_count, sample_count; in tsc2046_adc_time_to_count() local 230 bit_count = DIV_ROUND_UP(time * NSEC_PER_USEC, priv->time_per_bit_ns); in tsc2046_adc_time_to_count() 231 sample_count = DIV_ROUND_UP(bit_count, TI_TSC2046_SAMPLE_BITS); in tsc2046_adc_time_to_count() 235 bit_count, sample_count); in tsc2046_adc_time_to_count()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-synquacer.c | 168 unsigned long bit_count = 0; in calc_timeout_ms() local 172 bit_count += msgs->len; in calc_timeout_ms() 174 return DIV_ROUND_UP((bit_count * 9 + num * 10) * 3, 200) + 10; in calc_timeout_ms()
|
/linux-6.1.9/sound/pci/cs46xx/ |
D | cs46xx_dsp_scb_types.h | 854 bit_count
|
/linux-6.1.9/include/uapi/linux/ |
D | v4l2-controls.h | 1820 __u8 bit_count; member
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-codec-stateless.rst | 1084 - ``bit_count``
|