Lines Matching refs:FIELD_PREP
202 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
203 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay()
204 delay_val |= FIELD_PREP(ETH_DLY_TXC_INV, mac_delay->tx_inv); in mt2712_set_delay()
206 delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay()
207 delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay()
208 delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv); in mt2712_set_delay()
217 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay()
218 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay()
219 delay_val |= FIELD_PREP(ETH_DLY_TXC_INV, mac_delay->rx_inv); in mt2712_set_delay()
221 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
222 delay_val |= FIELD_PREP(ETH_DLY_GTXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay()
223 delay_val |= FIELD_PREP(ETH_DLY_GTXC_INV, mac_delay->tx_inv); in mt2712_set_delay()
236 delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay()
237 delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay()
238 delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv); in mt2712_set_delay()
244 delay_val |= FIELD_PREP(ETH_DLY_TXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay()
245 delay_val |= FIELD_PREP(ETH_DLY_TXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay()
246 delay_val |= FIELD_PREP(ETH_DLY_TXC_INV, mac_delay->rx_inv); in mt2712_set_delay()
262 delay_val |= FIELD_PREP(ETH_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt2712_set_delay()
263 delay_val |= FIELD_PREP(ETH_DLY_GTXC_STAGES, mac_delay->tx_delay); in mt2712_set_delay()
264 delay_val |= FIELD_PREP(ETH_DLY_GTXC_INV, mac_delay->tx_inv); in mt2712_set_delay()
266 delay_val |= FIELD_PREP(ETH_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt2712_set_delay()
267 delay_val |= FIELD_PREP(ETH_DLY_RXC_STAGES, mac_delay->rx_delay); in mt2712_set_delay()
268 delay_val |= FIELD_PREP(ETH_DLY_RXC_INV, mac_delay->rx_inv); in mt2712_set_delay()
301 intf_val |= FIELD_PREP(MT8195_ETH_INTF_SEL, PHY_INTF_MII); in mt8195_set_interface()
305 intf_val |= FIELD_PREP(MT8195_ETH_INTF_SEL, PHY_INTF_RMII); in mt8195_set_interface()
311 intf_val |= FIELD_PREP(MT8195_ETH_INTF_SEL, PHY_INTF_RGMII); in mt8195_set_interface()
353 delay_val |= FIELD_PREP(MT8195_DLY_TXC_ENABLE, !!mac_delay->tx_delay); in mt8195_set_delay()
354 delay_val |= FIELD_PREP(MT8195_DLY_TXC_STAGES, mac_delay->tx_delay); in mt8195_set_delay()
355 delay_val |= FIELD_PREP(MT8195_DLY_TXC_INV, mac_delay->tx_inv); in mt8195_set_delay()
357 delay_val |= FIELD_PREP(MT8195_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt8195_set_delay()
358 delay_val |= FIELD_PREP(MT8195_DLY_RXC_STAGES, mac_delay->rx_delay); in mt8195_set_delay()
359 delay_val |= FIELD_PREP(MT8195_DLY_RXC_INV, mac_delay->rx_inv); in mt8195_set_delay()
368 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_TXC_ENABLE, in mt8195_set_delay()
370 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_TXC_STAGES, in mt8195_set_delay()
372 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_TXC_INV, in mt8195_set_delay()
375 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_RXC_ENABLE, in mt8195_set_delay()
377 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_RXC_STAGES, in mt8195_set_delay()
379 rmii_delay_val |= FIELD_PREP(MT8195_DLY_RMII_RXC_INV, in mt8195_set_delay()
393 delay_val |= FIELD_PREP(MT8195_DLY_RXC_ENABLE, in mt8195_set_delay()
395 delay_val |= FIELD_PREP(MT8195_DLY_RXC_STAGES, in mt8195_set_delay()
397 delay_val |= FIELD_PREP(MT8195_DLY_RXC_INV, in mt8195_set_delay()
404 delay_val |= FIELD_PREP(MT8195_DLY_TXC_ENABLE, in mt8195_set_delay()
406 delay_val |= FIELD_PREP(MT8195_DLY_TXC_STAGES, in mt8195_set_delay()
408 delay_val |= FIELD_PREP(MT8195_DLY_TXC_INV, in mt8195_set_delay()
417 gtxc_delay_val |= FIELD_PREP(MT8195_DLY_GTXC_ENABLE, !!mac_delay->tx_delay); in mt8195_set_delay()
418 gtxc_delay_val |= FIELD_PREP(MT8195_DLY_GTXC_STAGES, mac_delay->tx_delay); in mt8195_set_delay()
419 gtxc_delay_val |= FIELD_PREP(MT8195_DLY_GTXC_INV, mac_delay->tx_inv); in mt8195_set_delay()
421 delay_val |= FIELD_PREP(MT8195_DLY_RXC_ENABLE, !!mac_delay->rx_delay); in mt8195_set_delay()
422 delay_val |= FIELD_PREP(MT8195_DLY_RXC_STAGES, mac_delay->rx_delay); in mt8195_set_delay()
423 delay_val |= FIELD_PREP(MT8195_DLY_RXC_INV, mac_delay->rx_inv); in mt8195_set_delay()