Home
last modified time | relevance | path

Searched refs:num_funcs (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c303 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()
/linux-6.12.1/drivers/accessibility/speakup/
Dkeyhelp.c118 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()
/linux-6.12.1/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c823 int num_pins, num_funcs, num_pulls, maps_per_pin; in bcm2835_pctl_dt_node_to_map() local
851 num_funcs = funcs ? (funcs->length / 4) : 0; in bcm2835_pctl_dt_node_to_map()
854 if (num_funcs > 1 && num_funcs != num_pins) { in bcm2835_pctl_dt_node_to_map()
869 if (num_funcs) in bcm2835_pctl_dt_node_to_map()
889 if (num_funcs) { in bcm2835_pctl_dt_node_to_map()
891 (num_funcs > 1) ? i : 0, &func); in bcm2835_pctl_dt_node_to_map()
/linux-6.12.1/drivers/pinctrl/tegra/
Dpinctrl-tegra-xusb.c77 unsigned int num_funcs; member
305 for (i = 0; i < lane->num_funcs; i++) in tegra_xusb_padctl_pinmux_set()
309 if (i >= lane->num_funcs) in tegra_xusb_padctl_pinmux_set()
834 .num_funcs = ARRAY_SIZE(tegra124_##_funcs##_functions), \
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-lantiq.c185 return info->num_funcs; in ltq_pmx_func_count()
193 if (selector >= info->num_funcs) in ltq_pmx_func_name()
Dpinctrl-lantiq.h89 unsigned int num_funcs; member
Dpinctrl-xway.c1372 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()
Dpinctrl-falcon.c486 falcon_info.num_funcs = ARRAY_SIZE(falcon_funcs); in pinctrl_falcon_probe()
/linux-6.12.1/drivers/pinctrl/meson/
Dpinctrl-meson.h117 unsigned int num_funcs; member
Dpinctrl-meson-gxbb.c873 .num_funcs = ARRAY_SIZE(meson_gxbb_periphs_functions),
886 .num_funcs = ARRAY_SIZE(meson_gxbb_aobus_functions),
Dpinctrl-meson-gxl.c834 .num_funcs = ARRAY_SIZE(meson_gxl_periphs_functions),
847 .num_funcs = ARRAY_SIZE(meson_gxl_aobus_functions),
Dpinctrl-meson8b.c954 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions),
967 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
Dpinctrl-meson-axg.c1051 .num_funcs = ARRAY_SIZE(meson_axg_periphs_functions),
1065 .num_funcs = ARRAY_SIZE(meson_axg_aobus_functions),
Dpinctrl-meson8.c1090 .num_funcs = ARRAY_SIZE(meson8_cbus_functions),
1103 .num_funcs = ARRAY_SIZE(meson8_aobus_functions),
Dpinctrl-meson-g12a.c1386 .num_funcs = ARRAY_SIZE(meson_g12a_periphs_functions),
1400 .num_funcs = ARRAY_SIZE(meson_g12a_aobus_functions),
Dpinctrl-meson.c154 return pc->data->num_funcs; in meson_pmx_get_funcs_count()
Dpinctrl-meson-a1.c914 .num_funcs = ARRAY_SIZE(meson_a1_periphs_functions),
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c3788 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 …]
/linux-6.12.1/kernel/bpf/
Ddispatcher.c89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher() argument
/linux-6.12.1/drivers/pinctrl/mediatek/
Dpinctrl-paris.c442 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()
Dpinctrl-mtk-common.c530 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()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_common.c2231 if (hw->dev_caps.num_funcs > 4) { in ice_recalc_port_limited_caps()
2453 dev_p->num_funcs = hweight32(number); in ice_parse_valid_functions_cap()
2455 dev_p->num_funcs); in ice_parse_valid_functions_cap()
2916 u32 num_funcs; in ice_set_safe_mode_caps() local
2948 num_funcs = dev_caps->num_funcs; in ice_set_safe_mode_caps()
2966 dev_caps->num_funcs = num_funcs; in ice_set_safe_mode_caps()
2969 dev_caps->common_cap.num_rxq = num_funcs; in ice_set_safe_mode_caps()
2970 dev_caps->common_cap.num_txq = num_funcs; in ice_set_safe_mode_caps()
2973 dev_caps->common_cap.num_msix_vectors = 2 * num_funcs; in ice_set_safe_mode_caps()
/linux-6.12.1/drivers/phy/tegra/
Dxusb.h39 unsigned int num_funcs; member
Dxusb.c126 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt()
327 if (soc->num_funcs < 2) in tegra_xusb_lane_program()
/linux-6.12.1/drivers/pinctrl/stm32/
Dpinctrl-stm32.c588 int num_pins, num_funcs, maps_per_pin, i, err = 0; in stm32_pctrl_dt_subnode_to_map() local
608 num_funcs = num_pins; in stm32_pctrl_dt_subnode_to_map()
610 if (num_funcs) in stm32_pctrl_dt_subnode_to_map()

12