Home
last modified time | relevance | path

Searched refs:fsel (Results 1 – 19 of 19) 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 == RP1_FSEL_NONE) { in rp1_set_fsel()
[all …]
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()
936 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pmx_free() 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.c996 int gsel, fsel; in rza1_dt_node_to_map() local
1053 fsel = pinmux_generic_add_function(pctldev, grpname, fngrps, 1, in rza1_dt_node_to_map()
1055 if (fsel < 0) { in rza1_dt_node_to_map()
1056 ret = fsel; in rza1_dt_node_to_map()
1080 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.c657 int ret, gsel, fsel; in rzg2l_dt_subnode_to_map() local
781 fsel = pinmux_generic_add_function(pctldev, name, pin_fn, 1, psel_val); in rzg2l_dt_subnode_to_map()
782 if (fsel < 0) { in rzg2l_dt_subnode_to_map()
783 ret = fsel; in rzg2l_dt_subnode_to_map()
/linux/arch/parisc/kernel/
H A Dmodule.c99 #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.c79 unsigned int fsel; member
213 FIELD_PREP(FSEL, data->fsel)); in m31eusb2_phy_init()
305 .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/arch/powerpc/include/asm/
H A Dkvm_fpu.h68 FPD_THREE_IN(fsel)
/linux/drivers/perf/
H A Darm-cmn.c653 enum cmn_filter_select fsel; member
671 .fsel = _fsel, \
691 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
1527 enum cmn_filter_select fsel, u8 occupid) in arm_cmn_set_event_sel_hi() argument
1531 if (fsel == SEL_NONE) in arm_cmn_set_event_sel_hi()
1534 if (!dn->occupid[fsel].count) { in arm_cmn_set_event_sel_hi()
1535 dn->occupid[fsel].val = occupid; in arm_cmn_set_event_sel_hi()
1547 } else if (dn->occupid[fsel].val != occupid) { in arm_cmn_set_event_sel_hi()
1550 dn->occupid[fsel].count++; in arm_cmn_set_event_sel_hi()
1760 return e->fsel; in arm_cmn_filter_sel()
/linux/drivers/pinctrl/sophgo/
H A Dpinctrl-sophgo-common.c222 unsigned int fsel, unsigned int gsel) in sophgo_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
/linux/drivers/pinctrl/spacemit/
H A Dpinctrl-k1.c604 unsigned int fsel, unsigned int gsel) in spacemit_pmx_set_mux() argument