Home
last modified time | relevance | path

Searched refs:polynom (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c148 u32 polynom = 0x988000; /* x^8 + x^5 + x^4 + 1 */ in ms_sensors_crc_valid() local
156 result = ((result ^ polynom) & mask) in ms_sensors_crc_valid()
160 polynom >>= 1; in ms_sensors_crc_valid()
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c1538 u32 polynom[10], tpc_intr_mask, offset; in goya_init_golden_registers() local
1544 polynom[0] = 0x00020080; in goya_init_golden_registers()
1545 polynom[1] = 0x00401000; in goya_init_golden_registers()
1546 polynom[2] = 0x00200800; in goya_init_golden_registers()
1547 polynom[3] = 0x00002000; in goya_init_golden_registers()
1548 polynom[4] = 0x00080200; in goya_init_golden_registers()
1549 polynom[5] = 0x00040100; in goya_init_golden_registers()
1550 polynom[6] = 0x00100400; in goya_init_golden_registers()
1551 polynom[7] = 0x00004000; in goya_init_golden_registers()
1552 polynom[8] = 0x00010000; in goya_init_golden_registers()
[all …]