| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum2_kvdl.c | 56 unsigned int bit_count, in mlxsw_sp2_kvdl_part_find_zero_bits() argument 70 if (!wrap && bit + bit_count >= part->usage_bit_count) { in mlxsw_sp2_kvdl_part_find_zero_bits() 75 if (wrap && bit + bit_count >= start_bit) in mlxsw_sp2_kvdl_part_find_zero_bits() 77 for (i = 0; i < bit_count; i++) { in mlxsw_sp2_kvdl_part_find_zero_bits() 79 bit += bit_count; in mlxsw_sp2_kvdl_part_find_zero_bits() 91 unsigned int bit_count; in mlxsw_sp2_kvdl_part_alloc() local 96 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_alloc() 97 err = mlxsw_sp2_kvdl_part_find_zero_bits(part, bit_count, &bit); in mlxsw_sp2_kvdl_part_alloc() 100 for (i = 0; i < bit_count; i++) in mlxsw_sp2_kvdl_part_alloc() 127 unsigned int bit_count; in mlxsw_sp2_kvdl_part_free() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/u-boot/include/rockchip/ |
| H A D | crypto_v2_util.h | 42 #define COUNT_ONE_BITS(number, bit_count) \ argument 45 bit_count = 0; \ 48 bit_count = bit_count + 1; \
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6655/ |
| H A D | baseband.c | 1765 u32 bit_count; in vnt_get_phy_field() local 1771 bit_count = frame_length * 8; in vnt_get_phy_field() 1776 count = bit_count; in vnt_get_phy_field() 1782 count = bit_count / 2; in vnt_get_phy_field() 1791 count = (bit_count * 10) / 55; in vnt_get_phy_field() 1794 if (tmp != bit_count) in vnt_get_phy_field() 1804 count = bit_count / 11; in vnt_get_phy_field() 1807 if (tmp != bit_count) { in vnt_get_phy_field() 1810 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_panel_cntl.c | 205 uint8_t bit_count; in dce_driver_set_backlight() local 222 bit_count = 16; in dce_driver_set_backlight() 224 bit_count = pwm_period_bitcnt; in dce_driver_set_backlight() 227 masked_pwm_period = masked_pwm_period & ((1 << bit_count) - 1); in dce_driver_set_backlight() 239 backlight_16bit = active_duty_cycle >> bit_count; in dce_driver_set_backlight() 241 backlight_16bit += (active_duty_cycle >> (bit_count - 1)) & 0x1; in dce_driver_set_backlight()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | cvsd-fmt.c | 41 off_t bit_count; member 77 if (!(p->bit_count & 7)) in cvsdread() 80 ++p->bit_count; in cvsdread() 97 if (!(++p->bit_count & 7)) in cvsdwrite()
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-syscon.c | 43 unsigned int bit_count; member 130 .bit_count = 3, 156 .bit_count = 1, 187 .bit_count = 28, 254 priv->chip.ngpio = priv->data->bit_count; in syscon_gpio_probe()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/algorithm/ |
| H A D | generate_clip_ids_impl.hpp | 59 const uint32_t bit_count = util::ceil_log2(size + 1); in update() local 60 const std::bitset<8> mask = uint64_t(((1ul << bit_count) - 1) << bit_offset); in update() 78 bit_offset += bit_count; in update()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6656/ |
| H A D | rxtx.c | 90 u32 bit_count; in vnt_get_phy_field() local 98 bit_count = frame_length * 8; in vnt_get_phy_field() 103 count = bit_count; in vnt_get_phy_field() 106 count = bit_count / 2; in vnt_get_phy_field() 109 count = DIV_ROUND_UP(bit_count * 10, 55); in vnt_get_phy_field() 112 count = bit_count / 11; in vnt_get_phy_field() 115 if (tmp != bit_count) { in vnt_get_phy_field() 118 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ipa/ |
| H A D | ipa_cmd.c | 253 u32 bit_count; in ipa_cmd_register_write_offset_valid() local 259 bit_count = BITS_PER_BYTE * sizeof(payload->offset); in ipa_cmd_register_write_offset_valid() 261 bit_count += hweight32(REGISTER_WRITE_FLAGS_OFFSET_HIGH_FMASK); in ipa_cmd_register_write_offset_valid() 262 BUILD_BUG_ON(bit_count > 32); in ipa_cmd_register_write_offset_valid() 263 offset_max = ~0U >> (32 - bit_count); in ipa_cmd_register_write_offset_valid()
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/tools/rockchip/ |
| H A D | bmp2gray16.c | 24 uint16_t bit_count; member 270 printf("bmp depth is %d\n", bmp_hdr->bit_count); in convert_one_image() 276 switch (bmp_hdr->bit_count) { in convert_one_image() 355 bmp_hdr->bit_count); in convert_one_image()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | spl.c | 444 u32 bit_count; in fit_read_otp_rollback_index() local 459 bit_count = fls(index); in fit_read_otp_rollback_index() 460 otp_version += bit_count; in fit_read_otp_rollback_index()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/ |
| H A D | crc.hpp | 154 BOOST_STATIC_CONSTANT( std::size_t, bit_count = Bits ); 174 void process_bits( unsigned char bits, std::size_t bit_count ); 205 BOOST_STATIC_CONSTANT( std::size_t, bit_count = Bits ); 758 std::size_t bit_count in process_bits() argument 762 bits <<= CHAR_BIT - bit_count; in process_bits() 766 for ( std::size_t i = bit_count ; i > 0u ; --i, bits <<= 1u ) in process_bits()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | bmp_layout.h | 35 __u16 bit_count; member
|
| /OK3568_Linux_fs/kernel/drivers/soc/fsl/qbman/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | video_bmp.c | 217 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in video_bmp_display() 241 bpix, get_unaligned_le16(&bmp->header.bit_count)); in video_bmp_display()
|
| /OK3568_Linux_fs/kernel/include/media/ |
| H A D | vp8-ctrls.h | 67 __u8 bit_count; member
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | bmp.c | 209 printf("Bits per pixel: %d\n", le16_to_cpu(bmp->header.bit_count)); in bmp_info()
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | bmp_helper.c | 161 bpp = get_unaligned_le16(&bmp->header.bit_count); in bmpdecoder()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | lcd.c | 593 bmp_bpix = get_unaligned_le16(&bmp->header.bit_count); in lcd_display_bitmap() 616 bpix, get_unaligned_le16(&bmp->header.bit_count)); in lcd_display_bitmap()
|