Searched refs:calc_crc (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_selftest.c | 90 u32 num_images, i, j, nvm_crc, calc_crc; in qed_selftest_nvram() local 160 calc_crc = crc32(0xffffffff, buf, image_att.len - 4); in qed_selftest_nvram() 161 calc_crc = (__force u32)~cpu_to_be32(calc_crc); in qed_selftest_nvram() 163 "nvm crc 0x%x, calc_crc 0x%x\n", nvm_crc, calc_crc); in qed_selftest_nvram() 165 if (calc_crc != nvm_crc) { in qed_selftest_nvram()
|
/linux-6.12.1/net/mac80211/ |
D | parse.c | 64 bool calc_crc = false; in ieee80211_parse_extension_element() local 76 calc_crc = true; in ieee80211_parse_extension_element() 91 calc_crc = true; in ieee80211_parse_extension_element() 138 calc_crc = true; in ieee80211_parse_extension_element() 143 calc_crc = true; in ieee80211_parse_extension_element() 172 calc_crc = true; in ieee80211_parse_extension_element() 177 calc_crc = true; in ieee80211_parse_extension_element() 186 if (crc && calc_crc) in ieee80211_parse_extension_element() 275 bool calc_crc = params->filter != 0; in _ieee802_11_parse_elems_full() local 346 if (calc_crc && id < 64 && (params->filter & (1ULL << id))) in _ieee802_11_parse_elems_full() [all …]
|
/linux-6.12.1/drivers/nvmem/layouts/ |
D | onie-tlv.c | 161 u32 read_crc, calc_crc; in onie_tlv_crc_is_valid() local 175 calc_crc = crc32(~0, table, table_len - ONIE_TLV_CRC_SZ) ^ 0xFFFFFFFF; in onie_tlv_crc_is_valid() 176 if (read_crc != calc_crc) { in onie_tlv_crc_is_valid() 178 read_crc, calc_crc); in onie_tlv_crc_is_valid()
|
/linux-6.12.1/drivers/iio/light/ |
D | opt4001.c | 174 u8 calc_crc; in opt4001_read_lux_value() local 196 calc_crc = opt4001_calculate_crc(exp, lux_raw, count); in opt4001_read_lux_value() 197 if (calc_crc != crc) in opt4001_read_lux_value()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | raydium_i2c_ts.c | 905 u16 calc_crc; in raydium_i2c_irq() local 916 calc_crc = raydium_calc_chksum(ts->report_data, ts->report_size); in raydium_i2c_irq() 917 if (unlikely(fw_crc != calc_crc)) { in raydium_i2c_irq() 920 __func__, calc_crc, fw_crc); in raydium_i2c_irq()
|
/linux-6.12.1/fs/ubifs/ |
D | lpt.c | 928 uint16_t crc, calc_crc; in check_lpt_crc() local 931 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in check_lpt_crc() 933 if (crc != calc_crc) { in check_lpt_crc() 935 crc, calc_crc); in check_lpt_crc()
|
D | lpt_commit.c | 1073 uint16_t crc, calc_crc; in is_a_node() local 1086 calc_crc = crc16(-1, buf + UBIFS_LPT_CRC_BYTES, in is_a_node() 1088 if (crc != calc_crc) in is_a_node()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 9775 static inline u32 calc_crc(unsigned char *buf, int len) in calc_crc() function 9842 crc = calc_crc(ha->addr, ETH_ALEN); in __tg3_set_rx_mode() 13095 csum = calc_crc((unsigned char *) buf, 0x10); in tg3_test_nvram() 13100 csum = calc_crc((unsigned char *) &buf[0x74/4], 0x88); in tg3_test_nvram()
|