Lines Matching +full:4 +full:- +full:pin
4 * SPDX-License-Identifier: Apache-2.0
10 static int scmi_pinctrl_configure_pin(const pinctrl_soc_pin_t *pin) in scmi_pinctrl_configure_pin() argument
18 settings.id = (pin->pinmux.mux_register - IOMUXC_MUXREG) / 4; in scmi_pinctrl_configure_pin()
20 settings.config[1] = IOMUXC_INPUT_ENABLE(pin->pin_ctrl_flags) in scmi_pinctrl_configure_pin()
21 ? (pin->pinmux.mux_mode | IOMUXC_SION(1)) in scmi_pinctrl_configure_pin()
22 : pin->pinmux.mux_mode; in scmi_pinctrl_configure_pin()
25 if (pin->pinmux.input_register) { in scmi_pinctrl_configure_pin()
27 settings.config[3] = (pin->pinmux.input_register - IOMUXC_DAISYREG) / 4; in scmi_pinctrl_configure_pin()
30 settings.config[4] = PIN_CONFIG_TYPE_DAISY_CFG; in scmi_pinctrl_configure_pin()
31 settings.config[5] = pin->pinmux.input_daisy; in scmi_pinctrl_configure_pin()
45 settings.id = (pin->pinmux.config_register - IOMUXC_CFGREG) / 4; in scmi_pinctrl_configure_pin()
47 settings.config[1] = pin->pin_ctrl_flags & (~(1 << IOMUXC_INPUT_ENABLE_SHIFT)); in scmi_pinctrl_configure_pin()