Home
last modified time | relevance | path

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

/drivers/net/ethernet/moxa/
Dmoxart_ether.c384 int crc_val; in moxart_mac_setmulticast() local
387 crc_val = crc32_le(~0, ha->addr, ETH_ALEN); in moxart_mac_setmulticast()
388 crc_val = (crc_val >> 26) & 0x3f; in moxart_mac_setmulticast()
389 if (crc_val >= 32) { in moxart_mac_setmulticast()
391 (1UL << (crc_val - 32)), in moxart_mac_setmulticast()
395 (1UL << crc_val), in moxart_mac_setmulticast()
/drivers/mmc/host/
Dmmc_spi.c122 __be16 crc_val; member
616 t->tx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
618 t->tx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
622 t->rx_buf = &scratch->crc_val; in mmc_spi_setup_data_message()
624 t->rx_dma = dma + offsetof(struct scratch, crc_val); in mmc_spi_setup_data_message()
680 scratch->crc_val = cpu_to_be16( in mmc_spi_writeblock()
849 cp = (u8 *) &scratch->crc_val; in mmc_spi_readblock()
860 be16_to_cpus(&scratch->crc_val); in mmc_spi_readblock()
861 if (scratch->crc_val != crc) { in mmc_spi_readblock()
864 scratch->crc_val, crc, t->len); in mmc_spi_readblock()
/drivers/media/dvb-core/
Ddemux.h171 u32 crc_val; member
Ddvb_demux.c94 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
275 sec->crc_val = ~0; in dvb_dmx_swfilter_section_copy_dump()
/drivers/staging/rdma/hfi1/
Dchip.c3722 u16 crc_val; in handle_verify_cap() local
3792 crc_val = LCB_CRC_14B; in handle_verify_cap()
3794 crc_val = LCB_CRC_48B; in handle_verify_cap()
3796 crc_val = LCB_CRC_12B_16B_PER_LANE; in handle_verify_cap()
3798 crc_val = LCB_CRC_16B; in handle_verify_cap()
3800 dd_dev_info(dd, "Final LCB CRC mode: %d\n", (int)crc_val); in handle_verify_cap()
3802 (u64)crc_val << DC_LCB_CFG_CRC_MODE_TX_VAL_SHIFT); in handle_verify_cap()
3806 if (crc_val == LCB_CRC_14B && crc_14b_sideband) { in handle_verify_cap()
3852 ppd->port_ltp_crc_mode |= lcb_to_port_ltp(crc_val); in handle_verify_cap()