Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c167 struct ns2_pinconf pin_conf; member
174 .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 …]
/linux-5.19.10/drivers/pinctrl/
Dpinctrl-st.c264 struct st_pinconf *pin_conf; member
852 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()