Searched refs:crc_val (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/moxa/ |
D | moxart_ether.c | 404 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()
|
/drivers/mmc/host/ |
D | mmc_spi.c | 102 __be16 crc_val; member 552 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message() 555 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message() 606 scratch->crc_val = cpu_to_be16(crc_itu_t(0, t->tx_buf, t->len)); in mmc_spi_writeblock() 744 cp = (u8 *) &scratch->crc_val; in mmc_spi_readblock() 755 be16_to_cpus(&scratch->crc_val); in mmc_spi_readblock() 756 if (scratch->crc_val != crc) { in mmc_spi_readblock() 759 scratch->crc_val, crc, t->len); in mmc_spi_readblock()
|
/drivers/net/ethernet/faraday/ |
D | ftgmac100.c | 358 u32 crc_val = ether_crc_le(ETH_ALEN, ha->addr); in ftgmac100_calc_mc_hash() local 360 crc_val = (~(crc_val >> 2)) & 0x3f; in ftgmac100_calc_mc_hash() 361 if (crc_val >= 32) in ftgmac100_calc_mc_hash() 362 priv->maht1 |= 1ul << (crc_val - 32); in ftgmac100_calc_mc_hash() 364 priv->maht0 |= 1ul << (crc_val); in ftgmac100_calc_mc_hash()
|
/drivers/media/dvb-core/ |
D | dvb_demux.c | 90 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()
|
/drivers/soc/mediatek/ |
D | mtk-pmic-wrap.c | 1932 u32 crc_val; in pwrap_init_security() local 1949 crc_val = wrp->slave->dew_regs[PWRAP_DEW_CRC_VAL]; in pwrap_init_security() 1951 crc_val |= wrp->slave->comp_dew_regs[PWRAP_DEW_CRC_VAL] << 16; in pwrap_init_security() 1953 pwrap_writel(wrp, crc_val, PWRAP_SIG_ADR); in pwrap_init_security()
|
/drivers/infiniband/hw/hfi1/ |
D | chip.c | 7435 u16 crc_val; in handle_verify_cap() local 7491 crc_val = LCB_CRC_14B; in handle_verify_cap() 7493 crc_val = LCB_CRC_48B; in handle_verify_cap() 7495 crc_val = LCB_CRC_12B_16B_PER_LANE; in handle_verify_cap() 7497 crc_val = LCB_CRC_16B; in handle_verify_cap() 7499 dd_dev_info(dd, "Final LCB CRC mode: %d\n", (int)crc_val); in handle_verify_cap() 7501 (u64)crc_val << DC_LCB_CFG_CRC_MODE_TX_VAL_SHIFT); in handle_verify_cap() 7505 if (crc_val == LCB_CRC_14B && crc_14b_sideband) { in handle_verify_cap() 7551 ppd->port_ltp_crc_mode |= lcb_to_port_ltp(crc_val); in handle_verify_cap()
|
/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 1328 uint32_t crc_val; // CRC member
|