Lines Matching refs:mux_data
19 static void comphy_mux_check_config(struct comphy_mux_data *mux_data, in comphy_mux_check_config() argument
28 lane++, comphy_map_data++, mux_data++) { in comphy_mux_check_config()
33 mux_opt = mux_data->mux_values; in comphy_mux_check_config()
34 for (opt = 0, valid = 0; opt < mux_data->max_lane_values; in comphy_mux_check_config()
56 static u32 comphy_mux_get_mux_value(struct comphy_mux_data *mux_data, in comphy_mux_get_mux_value() argument
65 mux_opt = mux_data->mux_values; in comphy_mux_get_mux_value()
66 for (opt = 0 ; opt < mux_data->max_lane_values; opt++, mux_opt++) { in comphy_mux_get_mux_value()
78 static void comphy_mux_reg_write(struct comphy_mux_data *mux_data, in comphy_mux_reg_write() argument
89 lane++, comphy_map_data++, mux_data++) { in comphy_mux_reg_write()
103 value = (comphy_mux_get_mux_value(mux_data, in comphy_mux_reg_write()
116 struct comphy_mux_data *mux_data; in comphy_mux_init() local
124 mux_data = chip_cfg->mux_data; in comphy_mux_init()
129 comphy_mux_check_config(mux_data, comphy_map_data, comphy_max_lanes); in comphy_mux_init()
131 comphy_mux_reg_write(mux_data, comphy_map_data, comphy_max_lanes, in comphy_mux_init()