Searched refs:bit_count (Results 1 – 9 of 9) sorted by relevance
/drivers/acpi/acpica/ |
D | dsopcode.c | 118 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 …]
|
D | rsutils.c | 67 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/ |
D | smipcie-ir.c | 54 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/ |
D | baseband.c | 1785 u32 bit_count; in vnt_get_phy_field() local 1791 bit_count = frame_length * 8; in vnt_get_phy_field() 1796 count = bit_count; in vnt_get_phy_field() 1802 count = bit_count / 2; in vnt_get_phy_field() 1811 count = (bit_count * 10) / 55; in vnt_get_phy_field() 1814 if (tmp != bit_count) in vnt_get_phy_field() 1824 count = bit_count / 11; in vnt_get_phy_field() 1827 if (tmp != bit_count) { in vnt_get_phy_field() 1830 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
/drivers/staging/vt6656/ |
D | baseband.c | 200 u32 bit_count; in vnt_get_phy_field() local 206 bit_count = frame_length * 8; in vnt_get_phy_field() 211 count = bit_count; in vnt_get_phy_field() 217 count = bit_count / 2; in vnt_get_phy_field() 226 count = (bit_count * 10) / 55; in vnt_get_phy_field() 229 if (tmp != bit_count) in vnt_get_phy_field() 239 count = bit_count / 11; in vnt_get_phy_field() 242 if (tmp != bit_count) { in vnt_get_phy_field() 245 if ((bit_count - tmp) <= 3) in vnt_get_phy_field()
|
/drivers/gpio/ |
D | gpio-syscon.c | 47 unsigned int bit_count; member 134 .bit_count = 3, 164 .bit_count = 28, 230 priv->chip.ngpio = priv->data->bit_count; in syscon_gpio_probe()
|
/drivers/media/dvb-frontends/ |
D | cxd2841er.c | 1367 u32 *bit_error, u32 *bit_count) in cxd2841er_read_ber_c() argument 1404 *bit_count = ((1 << period_exp) * 204 * 8); in cxd2841er_read_ber_c() 1410 u32 *bit_error, u32 *bit_count) in cxd2841er_read_ber_i() argument 1436 *bit_count = ((((u32)pktnum[0] << 8) | pktnum[1]) * 204 * 8); in cxd2841er_read_ber_i() 1438 __func__, *bit_error, *bit_count); in cxd2841er_read_ber_i() 1445 u32 *bit_error, u32 *bit_count) in cxd2841er_mon_read_ber_s() argument 1466 *bit_count = ((u32)(data[8] & 0x3F) << 16) | in cxd2841er_mon_read_ber_s() 1469 if ((*bit_count == 0) || (*bit_error > *bit_count)) { in cxd2841er_mon_read_ber_s() 1472 __func__, *bit_error, *bit_count); in cxd2841er_mon_read_ber_s() 1483 u32 *bit_error, u32 *bit_count) in cxd2841er_mon_read_ber_s2() argument [all …]
|
D | mb86a20s.c | 1583 u32 bit_error = 0, bit_count = 0; in mb86a20s_get_stats() local 1613 &bit_error, &bit_count); in mb86a20s_get_stats() 1618 c->pre_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats() 1635 &bit_error, &bit_count); in mb86a20s_get_stats() 1640 c->post_bit_count.stat[1 + layer].uvalue += bit_count; in mb86a20s_get_stats()
|
/drivers/soc/fsl/qbman/ |
D | qman_ccsr.c | 455 static void log_edata_bits(struct device *dev, u32 bit_count) in log_edata_bits() argument 460 i = bit_count / 32; in log_edata_bits() 461 if (bit_count % 32) { in log_edata_bits() 463 mask = ~(mask << bit_count % 32); in log_edata_bits()
|