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

12

/linux-master/drivers/pinctrl/vt8500/
H A Dpinctrl-wmt.c303 int num_pins, num_funcs, num_pulls, maps_per_pin; local
326 num_funcs = funcs ? (funcs->length / sizeof(u32)) : 0;
329 if (num_funcs > 1 && num_funcs != num_pins) {
342 if (num_funcs)
363 if (num_funcs) {
365 (num_funcs > 1 ? i : 0), &func);
/linux-master/drivers/pinctrl/meson/
H A Dpinctrl-meson.h117 unsigned int num_funcs; member in struct:meson_pinctrl_data
H A Dpinctrl-meson-gxbb.c873 .num_funcs = ARRAY_SIZE(meson_gxbb_periphs_functions),
886 .num_funcs = ARRAY_SIZE(meson_gxbb_aobus_functions),
H A Dpinctrl-meson-gxl.c834 .num_funcs = ARRAY_SIZE(meson_gxl_periphs_functions),
847 .num_funcs = ARRAY_SIZE(meson_gxl_aobus_functions),
H A Dpinctrl-meson8.c1090 .num_funcs = ARRAY_SIZE(meson8_cbus_functions),
1103 .num_funcs = ARRAY_SIZE(meson8_aobus_functions),
H A Dpinctrl-meson8b.c954 .num_funcs = ARRAY_SIZE(meson8b_cbus_functions),
967 .num_funcs = ARRAY_SIZE(meson8b_aobus_functions),
H A Dpinctrl-meson-g12a.c1386 .num_funcs = ARRAY_SIZE(meson_g12a_periphs_functions),
1400 .num_funcs = ARRAY_SIZE(meson_g12a_aobus_functions),
H A Dpinctrl-meson-axg.c1051 .num_funcs = ARRAY_SIZE(meson_axg_periphs_functions),
1065 .num_funcs = ARRAY_SIZE(meson_axg_aobus_functions),
H A Dpinctrl-meson.c153 return pc->data->num_funcs;
H A Dpinctrl-meson-a1.c914 .num_funcs = ARRAY_SIZE(meson_a1_periphs_functions),
/linux-master/drivers/pinctrl/
H A Dpinctrl-lantiq.h89 unsigned int num_funcs; member in struct:ltq_pinmux_info
H A Dpinctrl-lantiq.c185 return info->num_funcs;
193 if (selector >= info->num_funcs)
H A Dpinctrl-xway.c1372 unsigned int num_funcs; member in struct:pinctrl_xway_soc
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;
H A Dpinctrl-falcon.c486 falcon_info.num_funcs = ARRAY_SIZE(falcon_funcs);
/linux-master/drivers/accessibility/speakup/
H A Dkeyhelp.c118 int num_funcs = MSG_FUNCNAMES_END - MSG_FUNCNAMES_START + 1; local
121 for (i = 0; i < num_funcs; i++) {
/linux-master/kernel/bpf/
H A Ddispatcher.c89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) argument
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c818 int num_pins, num_funcs, num_pulls, maps_per_pin; local
846 num_funcs = funcs ? (funcs->length / 4) : 0;
849 if (num_funcs > 1 && num_funcs != num_pins) {
864 if (num_funcs)
884 if (num_funcs) {
886 (num_funcs > 1) ? i : 0, &func);
/linux-master/drivers/pinctrl/tegra/
H A Dpinctrl-tegra-xusb.c77 unsigned int num_funcs; member in struct:tegra_xusb_padctl_lane
308 for (i = 0; i < lane->num_funcs; i++)
312 if (i >= lane->num_funcs)
837 .num_funcs = ARRAY_SIZE(tegra124_##_funcs##_functions), \
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c3788 u8 num_funcs = p_hwfn->num_funcs_on_engine; local
3793 *p_resc_num = NUM_OF_L2_QUEUES(cdev) / num_funcs;
3796 *p_resc_num = NUM_OF_VPORTS(cdev) / num_funcs;
3799 *p_resc_num = NUM_OF_RSS_ENGINES(cdev) / num_funcs;
3802 *p_resc_num = NUM_OF_QM_TX_QUEUES(cdev) / num_funcs;
3806 *p_resc_num = NUM_OF_QM_GLOBAL_RLS(cdev) / num_funcs;
3811 *p_resc_num = ETH_NUM_MAC_FILTERS / num_funcs;
3814 *p_resc_num = NUM_OF_PXP_ILT_RECORDS(cdev) / num_funcs;
3817 *p_resc_num = MAX_NUM_LL2_RX_RAM_QUEUES / num_funcs;
3820 *p_resc_num = MAX_NUM_LL2_RX_CTX_QUEUES / num_funcs;
4413 u8 num_funcs, enabled_func_idx = p_hwfn->rel_pf_id; local
[all...]
/linux-master/drivers/phy/tegra/
H A Dxusb.h39 unsigned int num_funcs; member in struct:tegra_xusb_lane_soc
H A Dxusb.c126 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function);
327 if (soc->num_funcs < 2)
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-paris.c442 int num_pins, num_funcs, maps_per_pin, i, err; local
467 num_funcs = num_pins;
469 if (num_funcs)
H A Dpinctrl-mtk-common.c530 int num_pins, num_funcs, maps_per_pin; local
555 num_funcs = num_pins;
557 if (num_funcs)
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_common.c2197 if (hw->dev_caps.num_funcs > 4) {
2414 dev_p->num_funcs = hweight32(number);
2415 ice_debug(hw, ICE_DBG_INIT, "dev caps: num_funcs = %d\n",
2416 dev_p->num_funcs);
2846 u32 num_funcs; local
2878 num_funcs = dev_caps->num_funcs;
2896 dev_caps->num_funcs = num_funcs;
2899 dev_caps->common_cap.num_rxq = num_funcs;
[all...]
/linux-master/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c588 int num_pins, num_funcs, maps_per_pin, i, err = 0; local
608 num_funcs = num_pins;
610 if (num_funcs)

Completed in 503 milliseconds

12