Lines Matching full:settings
12 struct scmi_pinctrl_settings settings; in scmi_pinctrl_configure_pin() local
18 settings.id = (pin->pinmux.mux_register - IOMUXC_MUXREG) / 4; in scmi_pinctrl_configure_pin()
19 settings.config[0] = PIN_CONFIG_TYPE_MUX; in scmi_pinctrl_configure_pin()
20 settings.config[1] = IOMUXC_INPUT_ENABLE(pin->pin_ctrl_flags) in scmi_pinctrl_configure_pin()
26 settings.config[2] = PIN_CONFIG_TYPE_DAISY_ID; 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()
35 settings.attributes = in scmi_pinctrl_configure_pin()
38 ret = scmi_pinctrl_settings_configure(&settings); in scmi_pinctrl_configure_pin()
44 settings.attributes = SCMI_PINCTRL_CONFIG_ATTRIBUTES(0x0, 0x1, SCMI_PINCTRL_SELECTOR_PIN); in scmi_pinctrl_configure_pin()
45 settings.id = (pin->pinmux.config_register - IOMUXC_CFGREG) / 4; in scmi_pinctrl_configure_pin()
46 settings.config[0] = PIN_CONFIG_TYPE_CONFIG; in scmi_pinctrl_configure_pin()
47 settings.config[1] = pin->pin_ctrl_flags & (~(1 << IOMUXC_INPUT_ENABLE_SHIFT)); in scmi_pinctrl_configure_pin()
49 ret = scmi_pinctrl_settings_configure(&settings); in scmi_pinctrl_configure_pin()