Lines Matching refs:num_names
92 int num_names, i, ret; in i2c_mux_pinctrl_probe() local
95 num_names = of_property_count_strings(np, "pinctrl-names"); in i2c_mux_pinctrl_probe()
96 if (num_names < 0) { in i2c_mux_pinctrl_probe()
98 num_names); in i2c_mux_pinctrl_probe()
99 return num_names; in i2c_mux_pinctrl_probe()
106 muxc = i2c_mux_alloc(parent, dev, num_names, in i2c_mux_pinctrl_probe()
107 sizeof(*mux) + num_names * sizeof(*mux->states), in i2c_mux_pinctrl_probe()
125 for (i = 0; i < num_names; i++) { in i2c_mux_pinctrl_probe()
144 if (i != num_names - 1) { in i2c_mux_pinctrl_probe()
155 for (i = 0; i < num_names; i++) { in i2c_mux_pinctrl_probe()
165 for (i = 0; i < num_names - !!muxc->deselect; i++) { in i2c_mux_pinctrl_probe()