Lines Matching refs:mux_log
125 struct ns2_mux_log *mux_log; member
566 struct ns2_mux_log *mux_log) in ns2_pinmux_set() argument
575 if ((mux->shift != mux_log[i].mux.shift) || in ns2_pinmux_set()
576 (mux->base != mux_log[i].mux.base) || in ns2_pinmux_set()
577 (mux->offset != mux_log[i].mux.offset)) in ns2_pinmux_set()
581 if (!mux_log[i].is_configured) in ns2_pinmux_set()
588 if (mux_log[i].mux.alt != mux->alt) { in ns2_pinmux_set()
602 mux_log[i].mux.alt = mux->alt; in ns2_pinmux_set()
603 mux_log[i].is_configured = true; in ns2_pinmux_set()
648 return ns2_pinmux_set(pinctrl, func, grp, pinctrl->mux_log); in ns2_pinmux_enable()
979 pinctrl->mux_log = devm_kcalloc(pinctrl->dev, NS2_NUM_IOMUX, in ns2_mux_log_init()
982 if (!pinctrl->mux_log) in ns2_mux_log_init()
986 pinctrl->mux_log[i].is_configured = false; in ns2_mux_log_init()
988 log = &pinctrl->mux_log[0]; in ns2_mux_log_init()
1000 log = &pinctrl->mux_log[i]; in ns2_mux_log_init()
1012 log = &pinctrl->mux_log[(NS2_NUM_IOMUX - NS2_NUM_PWM_MUX) + i]; in ns2_mux_log_init()