Home
last modified time | relevance | path

Searched refs:gsel (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c343 int i, ret, npins, gsel, fsel; in rza2_dt_node_to_map() local
376 gsel = pinctrl_generic_add_group(pctldev, np->name, pins, npins, NULL); in rza2_dt_node_to_map()
377 if (gsel < 0) { in rza2_dt_node_to_map()
378 ret = gsel; in rza2_dt_node_to_map()
417 pinctrl_generic_remove_group(pctldev, gsel); in rza2_dt_node_to_map()
H A Dpinctrl-rzt2h.c242 int ret, gsel, fsel; in rzt2h_dt_subnode_to_map() local
356 gsel = pinctrl_generic_add_group(pctldev, name, pins, num_pinmux, NULL); in rzt2h_dt_subnode_to_map()
357 if (gsel < 0) { in rzt2h_dt_subnode_to_map()
358 ret = gsel; in rzt2h_dt_subnode_to_map()
384 pinctrl_generic_remove_group(pctldev, gsel); in rzt2h_dt_subnode_to_map()
H A Dpinctrl-rzv2m.c229 int ret, gsel, fsel; in rzv2m_dt_subnode_to_map() local
329 gsel = pinctrl_generic_add_group(pctldev, name, pins, num_pinmux, NULL); in rzv2m_dt_subnode_to_map()
330 if (gsel < 0) { in rzv2m_dt_subnode_to_map()
331 ret = gsel; in rzv2m_dt_subnode_to_map()
358 pinctrl_generic_remove_group(pctldev, gsel); in rzv2m_dt_subnode_to_map()
H A Dpinctrl-rza1.c996 int gsel, fsel; in rza1_dt_node_to_map() local
1046 gsel = pinctrl_generic_add_group(pctldev, grpname, grpins, npins, in rza1_dt_node_to_map()
1048 if (gsel < 0) { in rza1_dt_node_to_map()
1050 return gsel; in rza1_dt_node_to_map()
1083 pinctrl_generic_remove_group(pctldev, gsel); in rza1_dt_node_to_map()
H A Dsh_pfc.h393 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
394 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel)
H A Dpinctrl-rzg2l.c657 int ret, gsel, fsel; in rzg2l_dt_subnode_to_map() local
770 gsel = pinctrl_generic_add_group(pctldev, name, pins, num_pinmux, NULL); in rzg2l_dt_subnode_to_map()
771 if (gsel < 0) { in rzg2l_dt_subnode_to_map()
772 ret = gsel; in rzg2l_dt_subnode_to_map()
799 pinctrl_generic_remove_group(pctldev, gsel); in rzg2l_dt_subnode_to_map()
/linux/drivers/pinctrl/
H A Dpinctrl-th1520.c365 unsigned int gsel) in th1520_pinctrl_get_group_name() argument
369 return thp->desc.pins[gsel].name; in th1520_pinctrl_get_group_name()
373 unsigned int gsel, in th1520_pinctrl_get_group_pins() argument
379 *pins = &thp->desc.pins[gsel].number; in th1520_pinctrl_get_group_pins()
657 unsigned int gsel, unsigned long *config) in th1520_pinconf_group_get() argument
660 unsigned int pin = thp->desc.pins[gsel].number; in th1520_pinconf_group_get()
739 unsigned int gsel, in th1520_pinconf_group_set() argument
744 unsigned int pin = thp->desc.pins[gsel].number; in th1520_pinconf_group_set()
802 unsigned int fsel, unsigned int gsel) in th1520_pinmux_set_mux() argument
812 return th1520_pinmux_set(thp, thp->desc.pins[gsel].number, in th1520_pinmux_set_mux()
[all …]
H A Dpinmux.c724 int fsel, gsel, ret; in pinmux_select_write() local
775 gsel = ret; in pinmux_select_write()
777 ret = pmxops->set_mux(pctldev, fsel, gsel); in pinmux_select_write()
H A Dpinctrl-single.c1012 int rows, *pins, found = 0, res = -ENOMEM, i, fsel, gsel; in pcs_parse_one_pinctrl_entry() local
1078 gsel = pinctrl_generic_add_group(pcs->pctl, np->name, pins, found, pcs); in pcs_parse_one_pinctrl_entry()
1079 if (gsel < 0) { in pcs_parse_one_pinctrl_entry()
1080 res = gsel; in pcs_parse_one_pinctrl_entry()
1104 pinctrl_generic_remove_group(pcs->pctl, gsel); in pcs_parse_one_pinctrl_entry()
/linux/drivers/pinctrl/sophgo/
H A Dpinctrl-sophgo.h111 unsigned int fsel, unsigned int gsel);
114 int sophgo_pconf_group_set(struct pinctrl_dev *pctldev, unsigned int gsel,
H A Dpinctrl-sophgo-common.c222 unsigned int fsel, unsigned int gsel) in sophgo_pmx_set_mux() argument
229 group = pinctrl_generic_get_group(pctldev, gsel); in sophgo_pmx_set_mux()
279 int sophgo_pconf_group_set(struct pinctrl_dev *pctldev, unsigned int gsel, in sophgo_pconf_group_set() argument
288 group = pinctrl_generic_get_group(pctldev, gsel); in sophgo_pconf_group_set()
/linux/drivers/pinctrl/microchip/
H A Dpinctrl-mpfs-mssio.c327 unsigned int gsel) in mpfs_pinctrl_set_mux() argument
333 group = pinctrl_generic_get_group(pctrl_dev, gsel); in mpfs_pinctrl_set_mux()
573 static int mpfs_pinctrl_pinconf_group_set(struct pinctrl_dev *pctrl_dev, unsigned int gsel, in mpfs_pinctrl_pinconf_group_set() argument
582 group = pinctrl_generic_get_group(pctrl_dev, gsel); in mpfs_pinctrl_pinconf_group_set()
H A Dpinctrl-mpfs-iomux0.c185 unsigned int gsel) in mpfs_iomux0_pinmux_set_mux() argument
192 group = &mpfs_iomux0_pin_groups[gsel]; in mpfs_iomux0_pinmux_set_mux()
H A Dpinctrl-pic64gx-gpio2.c275 unsigned int gsel) in pic64gx_gpio2_pinmux_set_mux() argument
282 group = &pic64gx_gpio2_pin_groups[gsel]; in pic64gx_gpio2_pinmux_set_mux()
/linux/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110.c295 unsigned int fsel, unsigned int gsel) in jh7110_set_mux() argument
303 group = pinctrl_generic_get_group(pctldev, gsel); in jh7110_set_mux()
429 unsigned int gsel, in jh7110_pinconf_group_get() argument
434 group = pinctrl_generic_get_group(pctldev, gsel); in jh7110_pinconf_group_get()
442 unsigned int gsel, in jh7110_pinconf_group_set() argument
451 group = pinctrl_generic_get_group(pctldev, gsel); in jh7110_pinconf_group_set()
H A Dpinctrl-starfive-jh7100.c639 unsigned int fsel, unsigned int gsel) in starfive_set_mux() argument
647 group = pinctrl_generic_get_group(pctldev, gsel); in starfive_set_mux()
787 unsigned int gsel, unsigned long *config) in starfive_pinconf_group_get() argument
791 group = pinctrl_generic_get_group(pctldev, gsel); in starfive_pinconf_group_get()
799 unsigned int gsel, in starfive_pinconf_group_set() argument
808 group = pinctrl_generic_get_group(pctldev, gsel); in starfive_pinconf_group_set()
/linux/drivers/pinctrl/spacemit/
H A Dpinctrl-k1.c604 unsigned int fsel, unsigned int gsel) in spacemit_pmx_set_mux() argument
612 group = pinctrl_generic_get_group(pctldev, gsel); in spacemit_pmx_set_mux()
826 unsigned int gsel, in spacemit_pinconf_group_set() argument
836 group = pinctrl_generic_get_group(pctldev, gsel); in spacemit_pinconf_group_set()