Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c287 enum bcm2835_fsel fsel) in bcm2835_pinctrl_fsel_set() argument
300 if (cur == fsel) in bcm2835_pinctrl_fsel_set()
303 if (cur != BCM2835_FSEL_GPIO_IN && fsel != BCM2835_FSEL_GPIO_IN) { in bcm2835_pinctrl_fsel_set()
314 val |= fsel << FSEL_SHIFT(pin); in bcm2835_pinctrl_fsel_set()
317 bcm2835_functions[fsel]); in bcm2835_pinctrl_fsel_set()
342 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_gpio_get_direction() local
345 if (fsel > BCM2835_FSEL_GPIO_OUT) in bcm2835_gpio_get_direction()
348 if (fsel == BCM2835_FSEL_GPIO_IN) in bcm2835_gpio_get_direction()
745 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pctl_pin_dbg_show() local
746 const char *fname = bcm2835_functions[fsel]; in bcm2835_pctl_pin_dbg_show()
[all …]
/linux-6.6.21/drivers/pinctrl/renesas/
Dpinctrl-rza2.c334 int i, ret, npins, gsel, fsel; in rza2_dt_node_to_map() local
378 fsel = pinmux_generic_add_function(pctldev, np->name, pin_fn, 1, in rza2_dt_node_to_map()
380 if (fsel < 0) { in rza2_dt_node_to_map()
381 ret = fsel; in rza2_dt_node_to_map()
405 pinmux_generic_remove_function(pctldev, fsel); in rza2_dt_node_to_map()
Dpinctrl-rza1.c993 int gsel, fsel; in rza1_dt_node_to_map() local
1052 fsel = pinmux_generic_add_function(pctldev, grpname, fngrps, 1, in rza1_dt_node_to_map()
1054 if (fsel < 0) { in rza1_dt_node_to_map()
1055 ret = fsel; in rza1_dt_node_to_map()
1079 pinmux_generic_remove_function(pctldev, fsel); in rza1_dt_node_to_map()
Dpinctrl-rzv2m.c230 int ret, gsel, fsel; in rzv2m_dt_subnode_to_map() local
341 fsel = pinmux_generic_add_function(pctldev, name, pin_fn, 1, psel_val); in rzv2m_dt_subnode_to_map()
342 if (fsel < 0) { in rzv2m_dt_subnode_to_map()
343 ret = fsel; in rzv2m_dt_subnode_to_map()
Dpinctrl-rzg2l.c270 int ret, gsel, fsel; in rzg2l_dt_subnode_to_map() local
381 fsel = pinmux_generic_add_function(pctldev, name, pin_fn, 1, psel_val); in rzg2l_dt_subnode_to_map()
382 if (fsel < 0) { in rzg2l_dt_subnode_to_map()
383 ret = fsel; in rzg2l_dt_subnode_to_map()
/linux-6.6.21/arch/parisc/kernel/
Dmodule.c100 #define fsel(v,a) ((v)+(a)) macro
563 *loc = fsel(val, addend); in apply_relocate_add()
567 *loc = fsel(val, addend); in apply_relocate_add()
584 *loc = fsel(val, addend); in apply_relocate_add()
588 *loc = fsel(val, addend); in apply_relocate_add()
779 *loc = fsel(val, addend); in apply_relocate_add()
783 *loc = fsel(val, addend); in apply_relocate_add()
/linux-6.6.21/arch/powerpc/kvm/
Dfpu.S99 FPS_THREE_IN(fsel)
271 FPD_THREE_IN(fsel)
/linux-6.6.21/arch/powerpc/math-emu/
Dfsel.c11 fsel(u32 *frD, void *frA, u32 *frB, u32 *frC) in fsel() function
DMakefile10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
Dmath.c77 FLOATFUNC(fsel);
292 case FSEL: func = fsel; type = ABC; break; in do_mathemu()
/linux-6.6.21/drivers/pinctrl/
Dpinmux.c689 int fsel, gsel, ret; in pinmux_select() local
723 fsel = ret; in pinmux_select()
725 ret = pmxops->get_function_groups(pctldev, fsel, &groups, &num_groups); in pinmux_select()
727 dev_err(pctldev->dev, "no groups for function %d (%s)", fsel, fname); in pinmux_select()
742 ret = pmxops->set_mux(pctldev, fsel, gsel); in pinmux_select()
Dpinctrl-single.c1005 int rows, *pins, found = 0, res = -ENOMEM, i, fsel, gsel; in pcs_parse_one_pinctrl_entry() local
1064 fsel = pcs_add_function(pcs, &function, np->name, vals, found, in pcs_parse_one_pinctrl_entry()
1066 if (fsel < 0) { in pcs_parse_one_pinctrl_entry()
1067 res = fsel; in pcs_parse_one_pinctrl_entry()
1100 pinmux_generic_remove_function(pcs->pctl, fsel); in pcs_parse_one_pinctrl_entry()
1119 int rows, *pins, found = 0, res = -ENOMEM, i, fsel; in pcs_parse_bits_in_pinctrl_entry() local
1214 fsel = pcs_add_function(pcs, &function, np->name, vals, found, in pcs_parse_bits_in_pinctrl_entry()
1216 if (fsel < 0) { in pcs_parse_bits_in_pinctrl_entry()
1217 res = fsel; in pcs_parse_bits_in_pinctrl_entry()
1235 pinmux_generic_remove_function(pcs->pctl, fsel); in pcs_parse_bits_in_pinctrl_entry()
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_fpu.h68 FPD_THREE_IN(fsel)
/linux-6.6.21/drivers/perf/
Darm-cmn.c623 enum cmn_filter_select fsel; member
641 .fsel = _fsel, \
661 if (eattr->fsel > SEL_NONE) in arm_cmn_event_show()
1473 enum cmn_filter_select fsel, u8 occupid) in arm_cmn_set_event_sel_hi() argument
1477 if (fsel == SEL_NONE) in arm_cmn_set_event_sel_hi()
1480 if (!dn->occupid[fsel].count) { in arm_cmn_set_event_sel_hi()
1481 dn->occupid[fsel].val = occupid; in arm_cmn_set_event_sel_hi()
1493 } else if (dn->occupid[fsel].val != occupid) { in arm_cmn_set_event_sel_hi()
1496 dn->occupid[fsel].count++; in arm_cmn_set_event_sel_hi()
1685 return e->fsel; in arm_cmn_filter_sel()
/linux-6.6.21/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.c297 unsigned int fsel, unsigned int gsel) in jh7110_set_mux() argument
Dpinctrl-starfive-jh7100.c644 unsigned int fsel, unsigned int gsel) in starfive_set_mux() argument