/linux-6.12.1/drivers/pinctrl/vt8500/ |
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()
|
/linux-6.12.1/drivers/accessibility/speakup/ |
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()
|
/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 823 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/ |
D | pinctrl-tegra-xusb.c | 77 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/ |
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()
|
D | pinctrl-lantiq.h | 89 unsigned int num_funcs; member
|
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()
|
D | pinctrl-falcon.c | 486 falcon_info.num_funcs = ARRAY_SIZE(falcon_funcs); in pinctrl_falcon_probe()
|
/linux-6.12.1/drivers/pinctrl/meson/ |
D | pinctrl-meson.h | 117 unsigned int num_funcs; member
|
D | pinctrl-meson-gxbb.c | 873 .num_funcs = ARRAY_SIZE(meson_gxbb_periphs_functions), 886 .num_funcs = ARRAY_SIZE(meson_gxbb_aobus_functions),
|
D | pinctrl-meson-gxl.c | 834 .num_funcs = ARRAY_SIZE(meson_gxl_periphs_functions), 847 .num_funcs = ARRAY_SIZE(meson_gxl_aobus_functions),
|
D | pinctrl-meson8b.c | 954 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions), 967 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
|
D | pinctrl-meson-axg.c | 1051 .num_funcs = ARRAY_SIZE(meson_axg_periphs_functions), 1065 .num_funcs = ARRAY_SIZE(meson_axg_aobus_functions),
|
D | pinctrl-meson8.c | 1090 .num_funcs = ARRAY_SIZE(meson8_cbus_functions), 1103 .num_funcs = ARRAY_SIZE(meson8_aobus_functions),
|
D | pinctrl-meson-g12a.c | 1386 .num_funcs = ARRAY_SIZE(meson_g12a_periphs_functions), 1400 .num_funcs = ARRAY_SIZE(meson_g12a_aobus_functions),
|
D | pinctrl-meson.c | 154 return pc->data->num_funcs; in meson_pmx_get_funcs_count()
|
D | pinctrl-meson-a1.c | 914 .num_funcs = ARRAY_SIZE(meson_a1_periphs_functions),
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
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 …]
|
/linux-6.12.1/kernel/bpf/ |
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
|
/linux-6.12.1/drivers/pinctrl/mediatek/ |
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()
|
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()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 2231 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/ |
D | xusb.h | 39 unsigned int num_funcs; member
|
D | xusb.c | 126 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/ |
D | pinctrl-stm32.c | 588 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()
|