Searched refs:pin_conf (Results 1 – 2 of 2) sorted by relevance
167 struct ns2_pinconf pin_conf; member174 .pin_conf = { \670 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable()671 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable()674 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable()676 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable()691 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable()692 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable()716 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew()717 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.src_shift); in ns2_pin_set_slew()[all …]
264 struct st_pinconf *pin_conf; member852 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()904 struct st_pinconf *conf = info->groups[group].pin_conf; in st_pmx_set_mux()1201 grp->pin_conf = devm_kcalloc(dev, npins, sizeof(*grp->pin_conf), GFP_KERNEL); in st_pctl_dt_parse_groups()1203 if (!grp->pins || !grp->pin_conf) { in st_pctl_dt_parse_groups()1214 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()