Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 11 of 11) sorted by relevance

/drivers/mtd/nand/raw/atmel/
A Dpmecc.c187 static inline int deg(unsigned int poly) in deg() argument
190 return fls(poly) - 1; in deg()
193 static int atmel_pmecc_build_gf_tables(int mm, unsigned int poly, in atmel_pmecc_build_gf_tables() argument
197 const unsigned int k = BIT(deg(poly)); in atmel_pmecc_build_gf_tables()
212 x ^= poly; in atmel_pmecc_build_gf_tables()
224 unsigned int poly, degree, table_size; in atmel_pmecc_create_gf_tables() local
229 poly = PMECC_GF_13_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
233 poly = PMECC_GF_14_PRIMITIVE_POLY; in atmel_pmecc_create_gf_tables()
246 ret = atmel_pmecc_build_gf_tables(degree, poly, gf_tables); in atmel_pmecc_create_gf_tables()
/drivers/gpu/drm/
A Ddrm_panic_qr.rs245 fn poly(&self) -> &'static [u8] { in poly() method
459 poly: &'static [u8], field
473 let poly = version.poly(); in new()
485 poly, in new()
551 for (u, &v) in tmp[i + 1..].iter_mut().zip(self.poly.iter()) { in error_code_for_blocks()
/drivers/net/dsa/sja1105/
A Dsja1105_dynamic_config.c660 sja1105_packing(buf, &entry->poly, 7, 0, in sja1105et_l2_lookup_params_entry_packing()
1372 static u8 sja1105_crc8_add(u8 crc, u8 byte, u8 poly) in sja1105_crc8_add() argument
1379 crc ^= poly; in sja1105_crc8_add()
1398 u64 input, poly_koopman = l2_lookup_params->poly; in sja1105et_fdb_hash()
1400 u8 poly = (u8)(1 + (poly_koopman << 1)); in sja1105et_fdb_hash() local
1410 crc = sja1105_crc8_add(crc, byte, poly); in sja1105et_fdb_hash()
A Dsja1105_static_config.h288 u64 poly; /* E/T only */ member
A Dsja1105_static_config.c291 sja1105_packing(buf, &entry->poly, 13, 6, size, op); in sja1105et_l2_lookup_params_entry_packing()
A Dsja1105_main.c395 .poly = 0x97, in sja1105_init_l2_lookup_params()
/drivers/scsi/libsas/
A Dsas_init.c70 const u32 poly = 0x00DB2777; in sas_hash_addr() local
81 r ^= poly; in sas_hash_addr()
83 r ^= poly; in sas_hash_addr()
/drivers/iio/imu/
A Dsmi240.c151 static u8 smi240_crc3(u32 data, u8 init, u8 poly) in smi240_crc3() argument
162 crc ^= poly; in smi240_crc3()
/drivers/char/hw_random/
A Dn2-drv.c486 static u64 advance_polynomial(u64 poly, u64 val, int count) in advance_polynomial() argument
495 val ^= poly; in advance_polynomial()
/drivers/net/ethernet/amd/
A Dnmclan_cs.c1289 static const int poly[]={ in updateCRC() local
1307 CRC[j] ^= poly[j]; in updateCRC()
/drivers/dma/ppc4xx/
A Dadma.c4396 static DRIVER_ATTR_RW(poly);

Completed in 48 milliseconds