Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/moxa/
Dmoxart_ether.c404 int crc_val; in moxart_mac_setmulticast() local
407 crc_val = crc32_le(~0, ha->addr, ETH_ALEN); in moxart_mac_setmulticast()
408 crc_val = (crc_val >> 26) & 0x3f; in moxart_mac_setmulticast()
409 if (crc_val >= 32) { in moxart_mac_setmulticast()
411 (1UL << (crc_val - 32)), in moxart_mac_setmulticast()
415 (1UL << crc_val), in moxart_mac_setmulticast()
/linux-6.1.9/drivers/mmc/host/
Dmmc_spi.c102 __be16 crc_val; member
593 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
595 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
599 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
601 t->rx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
655 scratch->crc_val = cpu_to_be16(crc_itu_t(0, t->tx_buf, t->len)); in mmc_spi_writeblock()
823 cp = (u8 *) &scratch->crc_val; in mmc_spi_readblock()
834 be16_to_cpus(&scratch->crc_val); in mmc_spi_readblock()
835 if (scratch->crc_val != crc) { in mmc_spi_readblock()
838 scratch->crc_val, crc, t->len); in mmc_spi_readblock()
/linux-6.1.9/include/media/
Ddemux.h171 u32 crc_val; member
/linux-6.1.9/drivers/net/ethernet/faraday/
Dftgmac100.c352 u32 crc_val = ether_crc_le(ETH_ALEN, ha->addr); in ftgmac100_calc_mc_hash() local
354 crc_val = (~(crc_val >> 2)) & 0x3f; in ftgmac100_calc_mc_hash()
355 if (crc_val >= 32) in ftgmac100_calc_mc_hash()
356 priv->maht1 |= 1ul << (crc_val - 32); in ftgmac100_calc_mc_hash()
358 priv->maht0 |= 1ul << (crc_val); in ftgmac100_calc_mc_hash()
/linux-6.1.9/include/uapi/linux/
Didxd.h298 uint64_t crc_val; member
/linux-6.1.9/drivers/media/dvb-core/
Ddvb_demux.c90 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
271 sec->crc_val = ~0; in dvb_dmx_swfilter_section_copy_dump()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c7433 u16 crc_val; in handle_verify_cap() local
7489 crc_val = LCB_CRC_14B; in handle_verify_cap()
7491 crc_val = LCB_CRC_48B; in handle_verify_cap()
7493 crc_val = LCB_CRC_12B_16B_PER_LANE; in handle_verify_cap()
7495 crc_val = LCB_CRC_16B; in handle_verify_cap()
7497 dd_dev_info(dd, "Final LCB CRC mode: %d\n", (int)crc_val); in handle_verify_cap()
7499 (u64)crc_val << DC_LCB_CFG_CRC_MODE_TX_VAL_SHIFT); in handle_verify_cap()
7503 if (crc_val == LCB_CRC_14B && crc_14b_sideband) { in handle_verify_cap()
7549 ppd->port_ltp_crc_mode |= lcb_to_port_ltp(crc_val); in handle_verify_cap()
/linux-6.1.9/drivers/gpu/drm/amd/include/
Datomfirmware.h1282 uint32_t crc_val; // CRC member