/openbmc/linux/arch/ia64/scripts/ |
H A D | unwcheck.py | 35 num_funcs = 0 variable 50 num_funcs += 1 58 print("No errors detected in %u functions." % num_funcs) 64 print("%u %s detected in %u functions." % (num_errors, err, num_funcs))
|
/openbmc/linux/drivers/pinctrl/vt8500/ |
H A D | pinctrl-wmt.c | 303 int num_pins, num_funcs, num_pulls, maps_per_pin; in wmt_pctl_dt_node_to_map() local 326 num_funcs = funcs ? (funcs->length / sizeof(u32)) : 0; in wmt_pctl_dt_node_to_map() 329 if (num_funcs > 1 && num_funcs != num_pins) { in wmt_pctl_dt_node_to_map() 342 if (num_funcs) in wmt_pctl_dt_node_to_map() 363 if (num_funcs) { in wmt_pctl_dt_node_to_map() 365 (num_funcs > 1 ? i : 0), &func); in wmt_pctl_dt_node_to_map()
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | keyhelp.c | 118 int num_funcs = MSG_FUNCNAMES_END - MSG_FUNCNAMES_START + 1; in help_init() local 121 for (i = 0; i < num_funcs; i++) { in help_init()
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 818 int num_pins, num_funcs, num_pulls, maps_per_pin; in bcm2835_pctl_dt_node_to_map() local 846 num_funcs = funcs ? (funcs->length / 4) : 0; in bcm2835_pctl_dt_node_to_map() 849 if (num_funcs > 1 && num_funcs != num_pins) { in bcm2835_pctl_dt_node_to_map() 864 if (num_funcs) in bcm2835_pctl_dt_node_to_map() 884 if (num_funcs) { in bcm2835_pctl_dt_node_to_map() 886 (num_funcs > 1) ? i : 0, &func); in bcm2835_pctl_dt_node_to_map()
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | xusb-padctl-common.h | 26 unsigned int num_funcs; member
|
H A D | xusb-padctl-common.c | 139 for (i = 0; i < lane->num_funcs; i++) in tegra_xusb_padctl_lane_find_function()
|
/openbmc/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra-xusb.c | 77 unsigned int num_funcs; member 308 for (i = 0; i < lane->num_funcs; i++) in tegra_xusb_padctl_pinmux_set() 312 if (i >= lane->num_funcs) in tegra_xusb_padctl_pinmux_set() 837 .num_funcs = ARRAY_SIZE(tegra124_##_funcs##_functions), \
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-lantiq.c | 185 return info->num_funcs; in ltq_pmx_func_count() 193 if (selector >= info->num_funcs) in ltq_pmx_func_name()
|
H A D | pinctrl-lantiq.h | 89 unsigned int num_funcs; member
|
H A D | pinctrl-xway.c | 1372 unsigned int num_funcs; member 1384 .num_funcs = ARRAY_SIZE(ase_funcs), 1396 .num_funcs = ARRAY_SIZE(danube_funcs), 1408 .num_funcs = ARRAY_SIZE(xrx100_funcs), 1420 .num_funcs = ARRAY_SIZE(xrx200_funcs), 1432 .num_funcs = ARRAY_SIZE(xrx300_funcs), 1497 xway_info.num_funcs = xway_soc->num_funcs; in pinmux_xway_probe()
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.h | 32 unsigned int num_funcs; member
|
H A D | pinctrl-meson-gxbb.c | 418 .num_funcs = ARRAY_SIZE(meson_gxbb_periphs_functions), 431 .num_funcs = ARRAY_SIZE(meson_gxbb_aobus_functions),
|
H A D | pinctrl-meson-axg.c | 940 .num_funcs = ARRAY_SIZE(meson_axg_periphs_functions), 954 .num_funcs = ARRAY_SIZE(meson_axg_aobus_functions),
|
H A D | pinctrl-meson-gxl.c | 700 .num_funcs = ARRAY_SIZE(meson_gxl_periphs_functions), 713 .num_funcs = ARRAY_SIZE(meson_gxl_aobus_functions),
|
H A D | pinctrl-meson.c | 45 return priv->data->num_funcs; in meson_pinmux_get_functions_count()
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.h | 117 unsigned int num_funcs; member
|
H A D | pinctrl-meson-gxl.c | 834 .num_funcs = ARRAY_SIZE(meson_gxl_periphs_functions), 847 .num_funcs = ARRAY_SIZE(meson_gxl_aobus_functions),
|
H A D | pinctrl-meson-gxbb.c | 873 .num_funcs = ARRAY_SIZE(meson_gxbb_periphs_functions), 886 .num_funcs = ARRAY_SIZE(meson_gxbb_aobus_functions),
|
H A D | pinctrl-meson8b.c | 954 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions), 967 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev.c | 3788 u8 num_funcs = p_hwfn->num_funcs_on_engine; in qed_hw_get_dflt_resc() local 3793 *p_resc_num = NUM_OF_L2_QUEUES(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3796 *p_resc_num = NUM_OF_VPORTS(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3799 *p_resc_num = NUM_OF_RSS_ENGINES(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3802 *p_resc_num = NUM_OF_QM_TX_QUEUES(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3806 *p_resc_num = NUM_OF_QM_GLOBAL_RLS(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3811 *p_resc_num = ETH_NUM_MAC_FILTERS / num_funcs; in qed_hw_get_dflt_resc() 3814 *p_resc_num = NUM_OF_PXP_ILT_RECORDS(cdev) / num_funcs; in qed_hw_get_dflt_resc() 3817 *p_resc_num = MAX_NUM_LL2_RX_RAM_QUEUES / num_funcs; in qed_hw_get_dflt_resc() 3820 *p_resc_num = MAX_NUM_LL2_RX_CTX_QUEUES / num_funcs; in qed_hw_get_dflt_resc() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | dispatcher.c | 89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher() argument
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 2286 if (hw->dev_caps.num_funcs > 4) { in ice_recalc_port_limited_caps() 2503 dev_p->num_funcs = hweight32(number); in ice_parse_valid_functions_cap() 2505 dev_p->num_funcs); in ice_parse_valid_functions_cap() 2860 u32 num_funcs; in ice_set_safe_mode_caps() local 2892 num_funcs = dev_caps->num_funcs; in ice_set_safe_mode_caps() 2910 dev_caps->num_funcs = num_funcs; in ice_set_safe_mode_caps() 2913 dev_caps->common_cap.num_rxq = num_funcs; in ice_set_safe_mode_caps() 2914 dev_caps->common_cap.num_txq = num_funcs; in ice_set_safe_mode_caps() 2917 dev_caps->common_cap.num_msix_vectors = 2 * num_funcs; in ice_set_safe_mode_caps()
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 442 int num_pins, num_funcs, maps_per_pin, i, err; in mtk_pctrl_dt_subnode_to_map() local 467 num_funcs = num_pins; in mtk_pctrl_dt_subnode_to_map() 469 if (num_funcs) in mtk_pctrl_dt_subnode_to_map()
|
H A D | pinctrl-mtk-common.c | 530 int num_pins, num_funcs, maps_per_pin; in mtk_pctrl_dt_subnode_to_map() local 555 num_funcs = num_pins; in mtk_pctrl_dt_subnode_to_map() 557 if (num_funcs) in mtk_pctrl_dt_subnode_to_map()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | xusb-padctl.c | 89 .num_funcs = ARRAY_SIZE(tegra124_##_funcs##_functions), \
|