Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/bcm/
H A 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()
670 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_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()
751 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_pull()
804 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_strength()
825 *strength = (val >> pin_data->pin_conf.drive_shift) & in ns2_pin_get_strength()
844 if (pin_data->pin_conf.base == -1) in ns2_pin_config_get()
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-st.c268 struct st_pinconf *pin_conf; member
856 new_map[i].data.configs.configs = &grp->pin_conf[i].config; in st_pctl_dt_node_to_map()
908 struct st_pinconf *conf = info->groups[group].pin_conf; in st_pmx_set_mux()
1232 grp->pin_conf = devm_kcalloc(dev, npins, sizeof(*grp->pin_conf), GFP_KERNEL); in st_pctl_dt_parse_groups()
1234 if (!grp->pins || !grp->pin_conf) { in st_pctl_dt_parse_groups()
1245 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()