Home
last modified time | relevance | path

Searched refs:hw_len (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c40 u16 hw_len, mask; in xgene_enet_get_data_len() local
42 hw_len = GET_VAL(BUFDATALEN, bufdatalen); in xgene_enet_get_data_len()
44 if (unlikely(hw_len == 0x7800)) { in xgene_enet_get_data_len()
46 } else if (!(hw_len & BIT(14))) { in xgene_enet_get_data_len()
48 return (hw_len & mask) ? (hw_len & mask) : SIZE_16K; in xgene_enet_get_data_len()
49 } else if (!(hw_len & GENMASK(13, 12))) { in xgene_enet_get_data_len()
51 return (hw_len & mask) ? (hw_len & mask) : SIZE_4K; in xgene_enet_get_data_len()
54 return (hw_len & mask) ? (hw_len & mask) : SIZE_2K; in xgene_enet_get_data_len()
60 u16 hw_len; in xgene_enet_set_data_len() local
62 hw_len = (size == SIZE_4K) ? BIT(14) : 0; in xgene_enet_set_data_len()
[all …]
/drivers/net/ethernet/ti/
Ddavinci_cpdma.c71 u32 hw_len; member
1062 writel_relaxed(len, &desc->hw_len); in cpdma_chan_submit_si()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1180 unsigned long hw_len; member
Dipw2200.c11649 priv->hw_len = length; in ipw_pci_probe()