Searched refs:pin_conf (Results 1 – 2 of 2) sorted by relevance
161 struct ns2_pinconf pin_conf; member168 .pin_conf = { \664 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable()665 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable()668 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable()670 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable()685 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable()686 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable()710 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew()711 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.src_shift); in ns2_pin_set_slew()[all …]
268 struct st_pinconf *pin_conf; member848 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()900 struct st_pinconf *conf = info->groups[group].pin_conf; in st_pmx_set_mux()1223 grp->pin_conf = devm_kcalloc(dev, npins, sizeof(*grp->pin_conf), GFP_KERNEL); in st_pctl_dt_parse_groups()1225 if (!grp->pins || !grp->pin_conf) in st_pctl_dt_parse_groups()1234 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()