Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c161 struct ns2_pinconf pin_conf; member
168 .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 …]
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-st.c268 struct st_pinconf *pin_conf; member
848 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()