Home
last modified time | relevance | path

Searched refs:pin_conf (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c159 struct ns2_pinconf pin_conf; member
166 .pin_conf = { \
662 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable()
663 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable()
666 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable()
668 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable()
683 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable()
684 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable()
708 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew()
709 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.src_shift); in ns2_pin_set_slew()
[all …]
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-st.c263 struct st_pinconf *pin_conf; member
851 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()
903 struct st_pinconf *conf = info->groups[group].pin_conf; in st_pmx_set_mux()
1227 grp->pin_conf = devm_kcalloc(dev, npins, sizeof(*grp->pin_conf), GFP_KERNEL); in st_pctl_dt_parse_groups()
1229 if (!grp->pins || !grp->pin_conf) { in st_pctl_dt_parse_groups()
1240 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()