Lines Matching refs:dma_cap
229 struct dma_features *dma_cap) in dwmac1000_get_hw_feature() argument
240 dma_cap->mbps_10_100 = (hw_cap & DMA_HW_FEAT_MIISEL); in dwmac1000_get_hw_feature()
241 dma_cap->mbps_1000 = (hw_cap & DMA_HW_FEAT_GMIISEL) >> 1; in dwmac1000_get_hw_feature()
242 dma_cap->half_duplex = (hw_cap & DMA_HW_FEAT_HDSEL) >> 2; in dwmac1000_get_hw_feature()
243 dma_cap->hash_filter = (hw_cap & DMA_HW_FEAT_HASHSEL) >> 4; in dwmac1000_get_hw_feature()
244 dma_cap->multi_addr = (hw_cap & DMA_HW_FEAT_ADDMAC) >> 5; in dwmac1000_get_hw_feature()
245 dma_cap->pcs = (hw_cap & DMA_HW_FEAT_PCSSEL) >> 6; in dwmac1000_get_hw_feature()
246 dma_cap->sma_mdio = (hw_cap & DMA_HW_FEAT_SMASEL) >> 8; in dwmac1000_get_hw_feature()
247 dma_cap->pmt_remote_wake_up = (hw_cap & DMA_HW_FEAT_RWKSEL) >> 9; in dwmac1000_get_hw_feature()
248 dma_cap->pmt_magic_frame = (hw_cap & DMA_HW_FEAT_MGKSEL) >> 10; in dwmac1000_get_hw_feature()
250 dma_cap->rmon = (hw_cap & DMA_HW_FEAT_MMCSEL) >> 11; in dwmac1000_get_hw_feature()
252 dma_cap->time_stamp = in dwmac1000_get_hw_feature()
255 dma_cap->atime_stamp = (hw_cap & DMA_HW_FEAT_TSVER2SEL) >> 13; in dwmac1000_get_hw_feature()
257 dma_cap->eee = (hw_cap & DMA_HW_FEAT_EEESEL) >> 14; in dwmac1000_get_hw_feature()
258 dma_cap->av = (hw_cap & DMA_HW_FEAT_AVSEL) >> 15; in dwmac1000_get_hw_feature()
260 dma_cap->tx_coe = (hw_cap & DMA_HW_FEAT_TXCOESEL) >> 16; in dwmac1000_get_hw_feature()
261 dma_cap->rx_coe_type1 = (hw_cap & DMA_HW_FEAT_RXTYP1COE) >> 17; in dwmac1000_get_hw_feature()
262 dma_cap->rx_coe_type2 = (hw_cap & DMA_HW_FEAT_RXTYP2COE) >> 18; in dwmac1000_get_hw_feature()
263 dma_cap->rxfifo_over_2048 = (hw_cap & DMA_HW_FEAT_RXFIFOSIZE) >> 19; in dwmac1000_get_hw_feature()
265 dma_cap->number_rx_channel = (hw_cap & DMA_HW_FEAT_RXCHCNT) >> 20; in dwmac1000_get_hw_feature()
266 dma_cap->number_tx_channel = (hw_cap & DMA_HW_FEAT_TXCHCNT) >> 22; in dwmac1000_get_hw_feature()
268 dma_cap->enh_desc = (hw_cap & DMA_HW_FEAT_ENHDESSEL) >> 24; in dwmac1000_get_hw_feature()