Home
last modified time | relevance | path

Searched refs:bit_count (Results 1 – 8 of 8) sorted by relevance

/drivers/acpi/acpica/
Ddsopcode.c118 u32 bit_count; in acpi_ds_init_buffer_field() local
162 bit_count = (u32) length_desc->integer.value; in acpi_ds_init_buffer_field()
166 if (bit_count == 0) { in acpi_ds_init_buffer_field()
179 bit_count = 1; in acpi_ds_init_buffer_field()
188 bit_count = 8; in acpi_ds_init_buffer_field()
197 bit_count = 16; in acpi_ds_init_buffer_field()
206 bit_count = 32; in acpi_ds_init_buffer_field()
215 bit_count = 64; in acpi_ds_init_buffer_field()
230 if ((bit_offset + bit_count) > (8 * (u32) buffer_desc->buffer.length)) { in acpi_ds_init_buffer_field()
234 bit_offset + bit_count, in acpi_ds_init_buffer_field()
[all …]
Drsutils.c67 u8 bit_count; in acpi_rs_decode_bitmask() local
73 for (i = 0, bit_count = 0; mask; i++) { in acpi_rs_decode_bitmask()
75 list[bit_count] = i; in acpi_rs_decode_bitmask()
76 bit_count++; in acpi_rs_decode_bitmask()
82 return (bit_count); in acpi_rs_decode_bitmask()
/drivers/media/pci/smipcie/
Dsmipcie-ir.c54 u8 index, current_bit, bit_count; in smi_decode_rc5() local
64 bit_count = pData[index] & 0x7f; in smi_decode_rc5()
66 if ((current_bit == 1) && (bit_count >= 2*IR_RC5_MAX_BIT + 1)) { in smi_decode_rc5()
68 } else if ((bit_count >= IR_RC5_MIN_BIT) && in smi_decode_rc5()
69 (bit_count <= IR_RC5_MAX_BIT)) { in smi_decode_rc5()
71 } else if ((bit_count > IR_RC5_MAX_BIT) && in smi_decode_rc5()
72 (bit_count <= 2*IR_RC5_MAX_BIT)) { in smi_decode_rc5()
/drivers/staging/vt6655/
Dbaseband.c1781 u32 bit_count; in vnt_get_phy_field() local
1787 bit_count = frame_length * 8; in vnt_get_phy_field()
1792 count = bit_count; in vnt_get_phy_field()
1798 count = bit_count / 2; in vnt_get_phy_field()
1807 count = (bit_count * 10) / 55; in vnt_get_phy_field()
1810 if (tmp != bit_count) in vnt_get_phy_field()
1820 count = bit_count / 11; in vnt_get_phy_field()
1823 if (tmp != bit_count) { in vnt_get_phy_field()
1826 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
/drivers/staging/vt6656/
Dbaseband.c204 u32 bit_count; in vnt_get_phy_field() local
210 bit_count = frame_length * 8; in vnt_get_phy_field()
215 count = bit_count; in vnt_get_phy_field()
221 count = bit_count / 2; in vnt_get_phy_field()
230 count = (bit_count * 10) / 55; in vnt_get_phy_field()
233 if (tmp != bit_count) in vnt_get_phy_field()
243 count = bit_count / 11; in vnt_get_phy_field()
246 if (tmp != bit_count) { in vnt_get_phy_field()
249 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
/drivers/gpio/
Dgpio-syscon.c47 unsigned int bit_count; member
139 .bit_count = 3,
169 .bit_count = 28,
235 priv->chip.ngpio = priv->data->bit_count; in syscon_gpio_probe()
/drivers/media/dvb-frontends/
Dcxd2841er.c1104 u32 bit_error, bit_count; in cxd2841er_mon_read_ber_s() local
1124 bit_count = ((u32)(data[8] & 0x3F) << 16) | in cxd2841er_mon_read_ber_s()
1132 if ((bit_count == 0) || (bit_error > bit_count)) { in cxd2841er_mon_read_ber_s()
1135 __func__, bit_error, bit_count); in cxd2841er_mon_read_ber_s()
1139 bit_count, &temp_r); in cxd2841er_mon_read_ber_s()
1140 if (bit_count != 1 && temp_r >= bit_count / 2) in cxd2841er_mon_read_ber_s()
Dmb86a20s.c1582 u32 bit_error = 0, bit_count = 0; in mb86a20s_get_stats() local
1612 &bit_error, &bit_count); in mb86a20s_get_stats()
1617 c->pre_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()
1634 &bit_error, &bit_count); in mb86a20s_get_stats()
1639 c->post_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()