/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 292 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 350 if (fsel > BCM2835_FSEL_GPIO_OUT) in bcm2835_gpio_get_direction() 353 if (fsel == BCM2835_FSEL_GPIO_IN) in bcm2835_gpio_get_direction() 750 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pctl_pin_dbg_show() local 751 const char *fname = bcm2835_functions[fsel]; in bcm2835_pctl_pin_dbg_show() [all …]
|
/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rza2.c | 337 int i, ret, npins, gsel, fsel; in rza2_dt_node_to_map() local 381 fsel = pinmux_generic_add_function(pctldev, np->name, pin_fn, 1, in rza2_dt_node_to_map() 383 if (fsel < 0) { in rza2_dt_node_to_map() 384 ret = fsel; in rza2_dt_node_to_map() 408 pinmux_generic_remove_function(pctldev, fsel); in rza2_dt_node_to_map()
|
H A D | pinctrl-rza1.c | 996 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 D | pinctrl-rzv2m.c | 229 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()
|
/linux/arch/parisc/kernel/ |
H A D | module.c | 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/arch/powerpc/kvm/ |
H A D | fpu.S | 99 FPS_THREE_IN(fsel) 271 FPD_THREE_IN(fsel)
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-single.c | 1009 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()
|
H A D | pinmux.c | 707 int fsel, gsel, ret; in pinmux_select_write() local 741 fsel = ret; in pinmux_select_write() 743 ret = pmxops->get_function_groups(pctldev, fsel, &groups, &num_groups); in pinmux_select_write() 745 dev_err(pctldev->dev, "no groups for function %d (%s)", fsel, fname); in pinmux_select_write() 760 ret = pmxops->set_mux(pctldev, fsel, gsel); in pinmux_select_write()
|
H A D | pinctrl-aw9523.c | 173 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 D | pinctrl-th1520.c | 802 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/arch/powerpc/math-emu/ |
H A D | fsel.c | 11 fsel(u32 *frD, void *frA, u32 *frB, u32 *frC) in fsel() function
|
H A D | Makefile | 10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
|
H A D | math.c | 77 FLOATFUNC(fsel); 292 case FSEL: func = fsel; type = ABC; break; in do_mathemu()
|
/linux/arch/powerpc/include/asm/ |
H A D | kvm_fpu.h | 68 FPD_THREE_IN(fsel)
|
/linux/drivers/pinctrl/sophgo/ |
H A D | pinctrl-cv18xx.c | 372 unsigned int fsel, unsigned int gsel) in cv1800_pmx_set_mux() argument
|
/linux/drivers/pinctrl/spacemit/ |
H A D | pinctrl-k1.c | 419 unsigned int fsel, unsigned int gsel) in spacemit_pmx_set_mux() argument
|
/linux/drivers/pinctrl/starfive/ |
H A D | pinctrl-starfive-jh7110.c | 295 unsigned int fsel, unsigned int gsel) in jh7110_set_mux() argument
|
H A D | pinctrl-starfive-jh7100.c | 639 unsigned int fsel, unsigned int gsel) in starfive_set_mux() argument
|