Searched refs:mac4_cfg (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2600.c | 976 struct mac_delay_config mac3_cfg, mac4_cfg; in ast2600_configure_mac34_clk() local 1014 ret = dev_read_u32_array(dev, "mac3-clk-delay", (u32 *)&mac4_cfg, sizeof(mac4_cfg) / sizeof(u32)); in ast2600_configure_mac34_clk() 1017 reg[0] |= FIELD_PREP(MAC_CLK_1G_INPUT_DELAY_2, mac4_cfg.rx_delay_1000) | in ast2600_configure_mac34_clk() 1018 FIELD_PREP(MAC_CLK_1G_OUTPUT_DELAY_2, mac4_cfg.tx_delay_1000); in ast2600_configure_mac34_clk() 1021 reg[1] |= FIELD_PREP(MAC_CLK_100M_10M_INPUT_DELAY_2, mac4_cfg.rx_delay_100) | in ast2600_configure_mac34_clk() 1022 FIELD_PREP(MAC_CLK_100M_10M_OUTPUT_DELAY_2, mac4_cfg.tx_delay_100); in ast2600_configure_mac34_clk() 1025 reg[2] |= FIELD_PREP(MAC_CLK_100M_10M_INPUT_DELAY_2, mac4_cfg.rx_delay_10) | in ast2600_configure_mac34_clk() 1026 FIELD_PREP(MAC_CLK_100M_10M_OUTPUT_DELAY_2, mac4_cfg.tx_delay_10); in ast2600_configure_mac34_clk()
|