Home
last modified time | relevance | path

Searched refs:fsel (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/pinctrl/
H A Dpinctrl-rp1.c257 u8 fsel; member
707 u32 oeover, fsel; in rp1_get_fsel() local
710 regmap_field_read(pin->gpio[RP1_GPIO_CTRL_FUNCSEL], &fsel); in rp1_get_fsel()
712 if (oeover != RP1_OEOVER_PERI || fsel >= RP1_FSEL_COUNT) in rp1_get_fsel()
713 fsel = RP1_FSEL_NONE; in rp1_get_fsel()
715 return fsel; in rp1_get_fsel()
718 static void rp1_set_fsel(struct rp1_pin_info *pin, u32 fsel) in rp1_set_fsel() argument
720 if (fsel >= RP1_FSEL_COUNT) in rp1_set_fsel()
721 fsel = RP1_FSEL_NONE_HW; in rp1_set_fsel()
726 if (fsel in rp1_set_fsel()
795 u32 fsel; rp1_gpio_get_direction() local
1045 rp1_get_fsel_func(unsigned int pin,unsigned int fsel) rp1_get_fsel_func() argument
1081 u32 fsel = rp1_get_fsel(pin); rp1_pctl_pin_dbg_show() local
1305 u32 fsel = rp1_get_fsel(pin); rp1_pmx_free() local
1346 int offset, fsel; rp1_pmx_set() local
[all...]
H A Dpinmux.c705 int fsel, gsel, ret; in pinmux_select_write() local
739 fsel = ret; in pinmux_select_write()
741 ret = pmxops->get_function_groups(pctldev, fsel, &groups, &num_groups); in pinmux_select_write()
743 dev_err(pctldev->dev, "no groups for function %d (%s)", fsel, fname); in pinmux_select_write()
758 ret = pmxops->set_mux(pctldev, fsel, gsel); in pinmux_select_write()
H A Dpinctrl-single.c1009 int rows, *pins, found = 0, res = -ENOMEM, i, fsel, gsel; in pcs_parse_one_pinctrl_entry() local
1068 fsel = pcs_add_function(pcs, &function, np->name, vals, found, in pcs_parse_one_pinctrl_entry()
1070 if (fsel < 0) { in pcs_parse_one_pinctrl_entry()
1071 res = fsel; in pcs_parse_one_pinctrl_entry()
1104 pinmux_generic_remove_function(pcs->pctl, fsel); in pcs_parse_one_pinctrl_entry()
1123 int rows, *pins, found = 0, res = -ENOMEM, i, fsel; in pcs_parse_bits_in_pinctrl_entry() local
1218 fsel = pcs_add_function(pcs, &function, np->name, vals, found, in pcs_parse_bits_in_pinctrl_entry()
1220 if (fsel < 0) { in pcs_parse_bits_in_pinctrl_entry()
1221 res = fsel; in pcs_parse_bits_in_pinctrl_entry()
1239 pinmux_generic_remove_function(pcs->pctl, fsel); in pcs_parse_bits_in_pinctrl_entry()
[all...]
H A Dpinctrl-aw9523.c173 static int aw9523_pmx_set_mux(struct pinctrl_dev *pctl, unsigned int fsel, in aw9523_pmx_set_mux() argument
179 if (fsel >= ARRAY_SIZE(aw9523_pmx)) in aw9523_pmx_set_mux()
188 BIT(pin), (fsel ? BIT(pin) : 0)); in aw9523_pmx_set_mux()
H A Dpinctrl-th1520.c802 unsigned int fsel, unsigned int gsel) in th1520_pinmux_set_mux() argument
805 const struct function_desc *func = pinmux_generic_get_function(pctldev, fsel); in th1520_pinmux_set_mux()
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c292 enum bcm2835_fsel fsel) in bcm2835_pinctrl_fsel_set() argument
305 if (cur == fsel) in bcm2835_pinctrl_fsel_set()
308 if (cur != BCM2835_FSEL_GPIO_IN && fsel != BCM2835_FSEL_GPIO_IN) { in bcm2835_pinctrl_fsel_set()
319 val |= fsel << FSEL_SHIFT(pin); in bcm2835_pinctrl_fsel_set()
322 bcm2835_functions[fsel]); in bcm2835_pinctrl_fsel_set()
347 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_gpio_get_direction() local
349 if (fsel == BCM2835_FSEL_GPIO_OUT) in bcm2835_gpio_get_direction()
753 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pctl_pin_dbg_show() local
754 const char *fname = bcm2835_functions[fsel]; in bcm2835_pctl_pin_dbg_show()
937 enum bcm2835_fsel fsel in bcm2835_pmx_free() local
1020 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, pin); bcm2835_pinconf_get() local
[all...]
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c343 int i, ret, npins, gsel, fsel; in rza2_dt_node_to_map() local
387 fsel = pinmux_generic_add_function(pctldev, np->name, pin_fn, 1, in rza2_dt_node_to_map()
389 if (fsel < 0) { in rza2_dt_node_to_map()
390 ret = fsel; in rza2_dt_node_to_map()
414 pinmux_generic_remove_function(pctldev, fsel); in rza2_dt_node_to_map()
H A Dpinctrl-rza1.c997 int gsel, fsel; in rza1_dt_node_to_map() local
1054 fsel = pinmux_generic_add_function(pctldev, grpname, fngrps, 1, in rza1_dt_node_to_map()
1056 if (fsel < 0) { in rza1_dt_node_to_map()
1057 ret = fsel; in rza1_dt_node_to_map()
1081 pinmux_generic_remove_function(pctldev, fsel); in rza1_dt_node_to_map()
H A Dpinctrl-rzv2m.c229 int ret, gsel, fsel; in rzv2m_dt_subnode_to_map() local
340 fsel = pinmux_generic_add_function(pctldev, name, pin_fn, 1, psel_val); in rzv2m_dt_subnode_to_map()
341 if (fsel < 0) { in rzv2m_dt_subnode_to_map()
342 ret = fsel; in rzv2m_dt_subnode_to_map()
H A Dpinctrl-rzg2l.c624 int ret, gsel, fsel; in rzg2l_dt_subnode_to_map() local
748 fsel = pinmux_generic_add_function(pctldev, name, pin_fn, 1, psel_val); in rzg2l_dt_subnode_to_map()
749 if (fsel < 0) { in rzg2l_dt_subnode_to_map()
750 ret = fsel; in rzg2l_dt_subnode_to_map()
/linux/arch/parisc/kernel/
H A Dmodule.c98 /* fsel: full 32 bits */
99 #define fsel(v,a) ((v)+(a)) macro
551 *loc = fsel(val, addend); in apply_relocate_add()
555 *loc = fsel(val, addend); in apply_relocate_add()
572 *loc = fsel(val, addend); in apply_relocate_add()
576 *loc = fsel(val, addend); in apply_relocate_add()
767 *loc = fsel(val, addend); in apply_relocate_add()
771 *loc = fsel(val, addend); in apply_relocate_add()
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-m31-eusb2.c78 unsigned int fsel; member
211 FIELD_PREP(FSEL, data->fsel)); in m31eusb2_phy_init()
303 .fsel = FSEL_38_4_MHZ_VAL,
/linux/arch/powerpc/kvm/
H A Dfpu.S99 FPS_THREE_IN(fsel)
271 FPD_THREE_IN(fsel)
/linux/arch/powerpc/math-emu/
H A Dfsel.c11 fsel(u32 *frD, void *frA, u32 *frB, u32 *frC) in fsel() function
H A DMakefile10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
H A Dmath.c77 FLOATFUNC(fsel);
292 case FSEL: func = fsel; type = ABC; break; in do_mathemu()
/linux/drivers/pinctrl/sophgo/
H A Dpinctrl-sophgo.h111 unsigned int fsel, unsigned int gsel);
H A Dpinctrl-sophgo-common.c222 unsigned int fsel, unsigned int gsel) in sophgo_pmx_set_mux() argument
/linux/arch/powerpc/include/asm/
H A Dkvm_fpu.h68 FPD_THREE_IN(fsel)
/linux/drivers/perf/
H A Darm-cmn.c649 enum cmn_filter_select fsel; member
667 .fsel = _fsel, \
687 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
1523 enum cmn_filter_select fsel, u8 occupid) in arm_cmn_set_event_sel_hi() argument
1527 if (fsel == SEL_NONE) in arm_cmn_set_event_sel_hi()
1530 if (!dn->occupid[fsel].count) { in arm_cmn_set_event_sel_hi()
1531 dn->occupid[fsel].val = occupid; in arm_cmn_set_event_sel_hi()
1543 } else if (dn->occupid[fsel].val != occupid) { in arm_cmn_set_event_sel_hi()
1546 dn->occupid[fsel].count++; in arm_cmn_set_event_sel_hi()
1756 return e->fsel; in arm_cmn_filter_sel()
[all...]
/linux/drivers/pinctrl/spacemit/
H A Dpinctrl-k1.c421 unsigned int fsel, unsigned int gsel) in spacemit_pmx_set_mux() argument
/linux/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110.c295 unsigned int fsel, unsigned int gsel) in jh7110_set_mux() argument
H A Dpinctrl-starfive-jh7100.c639 unsigned int fsel, unsigned int gsel) in starfive_set_mux() argument