Home
last modified time | relevance | path

Searched refs:chip_cfg (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/phy/marvell/
Dcomphy_core.c51 void comphy_print(struct chip_serdes_phy_config *chip_cfg, in comphy_print() argument
56 for (lane = 0; lane < chip_cfg->comphy_lanes_count; in comphy_print()
73 struct chip_serdes_phy_config *chip_cfg = dev_get_priv(dev); in comphy_probe() local
81 chip_cfg->comphy_base_addr = (void *)devfdt_get_addr_index(dev, 0); in comphy_probe()
82 if (IS_ERR(chip_cfg->comphy_base_addr)) in comphy_probe()
83 return PTR_ERR(chip_cfg->comphy_base_addr); in comphy_probe()
85 chip_cfg->hpipe3_base_addr = (void *)devfdt_get_addr_index(dev, 1); in comphy_probe()
86 if (IS_ERR(chip_cfg->hpipe3_base_addr)) in comphy_probe()
87 return PTR_ERR(chip_cfg->hpipe3_base_addr); in comphy_probe()
89 chip_cfg->comphy_lanes_count = fdtdec_get_int(blob, node, in comphy_probe()
[all …]
Dcomphy_mux.c112 void comphy_mux_init(struct chip_serdes_phy_config *chip_cfg, in comphy_mux_init() argument
123 comphy_max_lanes = chip_cfg->comphy_lanes_count; in comphy_mux_init()
124 mux_data = chip_cfg->mux_data; in comphy_mux_init()
125 mux_lane_order = chip_cfg->comphy_mux_lane_order; in comphy_mux_init()
126 mux_bitcount = chip_cfg->comphy_mux_bitcount; in comphy_mux_init()
Dcomphy_a3700.c965 int comphy_a3700_init(struct chip_serdes_phy_config *chip_cfg, in comphy_a3700_init() argument
969 u32 comphy_max_count = chip_cfg->comphy_lanes_count; in comphy_a3700_init()
975 chip_cfg->mux_data = a3700_comphy_mux_data; in comphy_a3700_init()
976 comphy_mux_init(chip_cfg, serdes_map, COMPHY_SEL_ADDR); in comphy_a3700_init()