Home
last modified time | relevance | path

Searched refs:num_functions (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-ns.c31 unsigned int num_functions; member
193 return ns_pinctrl->num_functions; in ns_pinctrl_get_functions_count()
345 ns_pinctrl->num_functions++; in ns_pinctrl_probe()
Dpinctrl-nsp-mux.c123 unsigned int num_functions; member
364 return pinctrl->num_functions; in nsp_get_functions_count()
464 func_select >= pinctrl->num_functions) in nsp_pinmux_enable()
611 pinctrl->num_functions = ARRAY_SIZE(nsp_pin_functions); in nsp_pinmux_probe()
Dpinctrl-ns2-mux.c131 unsigned int num_functions; member
547 return pinctrl->num_functions; in ns2_get_functions_count()
644 func_select >= pinctrl->num_functions) in ns2_pinmux_enable()
1082 pinctrl->num_functions = ARRAY_SIZE(ns2_pin_functions); in ns2_pinmux_probe()
Dpinctrl-cygnus-mux.c117 unsigned num_functions; member
751 return pinctrl->num_functions; in cygnus_get_functions_count()
986 pinctrl->num_functions = ARRAY_SIZE(cygnus_pin_functions); in cygnus_pinmux_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinmux.c695 return pctldev->num_functions; in pinmux_generic_get_function_count()
790 selector = pctldev->num_functions; in pinmux_generic_add_function()
803 pctldev->num_functions++; in pinmux_generic_add_function()
829 pctldev->num_functions--; in pinmux_generic_remove_function()
851 pctldev->num_functions = 0; in pinmux_generic_free_functions()
Dpinctrl-rk805.c71 unsigned int num_functions; member
258 return pci->num_functions; in rk805_pinctrl_get_funcs_count()
443 pci->num_functions = ARRAY_SIZE(rk805_pin_functions); in rk805_pinctrl_probe()
Dpinctrl-as3722.c84 unsigned num_functions; member
211 return as_pci->num_functions; in as3722_pinctrl_get_funcs_count()
566 as_pci->num_functions = ARRAY_SIZE(as3722_pin_function); in as3722_pinctrl_probe()
Dpinctrl-max77620.c107 unsigned int num_functions; member
214 return mpci->num_functions; in max77620_pinctrl_get_funcs_count()
565 mpci->num_functions = ARRAY_SIZE(max77620_pin_function); in max77620_pinctrl_probe()
Dcore.h52 unsigned int num_functions; member
Dpinctrl-ingenic.c81 unsigned int num_functions; member
235 .num_functions = ARRAY_SIZE(jz4740_functions),
360 .num_functions = ARRAY_SIZE(jz4725b_functions),
615 .num_functions = ARRAY_SIZE(jz4760_functions),
1033 .num_functions = ARRAY_SIZE(jz4770_functions),
1330 .num_functions = ARRAY_SIZE(jz4780_functions),
1604 .num_functions = ARRAY_SIZE(x1000_functions),
1734 .num_functions = ARRAY_SIZE(x1500_functions),
2000 .num_functions = ARRAY_SIZE(x1830_functions),
2803 for (i = 0; i < chip_info->num_functions; i++) { in ingenic_pinctrl_probe()
Dpinctrl-artpec6.c64 unsigned int num_functions; member
956 pmx->num_functions = ARRAY_SIZE(artpec6_pmx_functions); in artpec6_pmx_probe()
Dpinctrl-palmas.c81 unsigned num_functions; member
666 return pci->num_functions; in palmas_pinctrl_get_funcs_count()
1024 pci->num_functions = ARRAY_SIZE(palmas_pin_function); in palmas_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/counter/
Dcounter.c786 const size_t num_functions = count->num_functions; in counter_function_store() local
793 for (func_index = 0; func_index < num_functions; func_index++) { in counter_function_store()
799 if (func_index >= num_functions) in counter_function_store()
884 size_t num_functions; member
893 const size_t num_functions = component->num_functions; in counter_count_function_available_show() local
898 for (i = 0; i < num_functions; i++) { in counter_count_function_available_show()
965 avail_comp->num_functions = count->num_functions; in counter_count_attributes_create()
Dstm32-lptimer-cnt.c402 .num_functions = ARRAY_SIZE(stm32_lptim_cnt_functions),
414 .num_functions = 1,
Dftm-quaddec.c268 .num_functions = ARRAY_SIZE(ftm_quaddec_count_functions),
Dmicrochip-tcb-capture.c264 .num_functions = ARRAY_SIZE(mchp_tc_count_functions),
Dti-eqep.c323 .num_functions = ARRAY_SIZE(ti_eqep_position_functions),
Dstm32-timer-cnt.c351 .num_functions = ARRAY_SIZE(stm32_count_functions),
/kernel/linux/linux-5.10/drivers/parisc/
Deisa_enumerator.c338 while ((pos < maxlen) && (num_func <= es->num_functions)) { in parse_slot_config()
415 if (num_func != es->num_functions) { in parse_slot_config()
417 num_func, es->num_functions); in parse_slot_config()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Deisa_eeprom.h36 u_int16_t num_functions; member
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c54 unsigned num_functions; member
155 for (n = 0; n < pctl->num_functions; n++) { in mvebu_pinctrl_find_function_by_name()
262 return pctl->num_functions; in mvebu_pinmux_get_funcs_count()
530 pctl->num_functions = num; in mvebu_pinctrl_build_functions()
/kernel/linux/linux-5.10/drivers/pinctrl/tegra/
Dpinctrl-tegra-xusb.c59 unsigned int num_functions; member
269 return padctl->soc->num_functions; in tegra_xusb_padctl_get_functions_count()
856 .num_functions = ARRAY_SIZE(tegra124_functions),
/kernel/linux/linux-5.10/include/linux/
Dcounter.h196 size_t num_functions; member
/kernel/linux/linux-5.10/drivers/pinctrl/zte/
Dpinctrl-zx.c336 pctldev->num_functions = nfunctions; in zx_pinctrl_build_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c4105 u32 num_functions = 0; in vxge_get_num_vfs() local
4110 num_functions = 8; in vxge_get_num_vfs()
4113 num_functions = 1; in vxge_get_num_vfs()
4118 num_functions = 17; in vxge_get_num_vfs()
4121 num_functions = 4; in vxge_get_num_vfs()
4124 num_functions = 2; in vxge_get_num_vfs()
4127 num_functions = 8; /* TODO */ in vxge_get_num_vfs()
4130 return num_functions; in vxge_get_num_vfs()

12