Home
last modified time | relevance | path

Searched refs:func_num (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/usb/gadget/legacy/
H A Dg_ffs.c76 static unsigned int func_num; variable
84 module_param_array_named(functions, func_names, charp, &func_num, 0);
183 if (func_num < 2) { in gfs_init()
185 func_num = 1; in gfs_init()
191 f_ffs[0] = kcalloc(func_num * N_CONF, sizeof(*f_ffs), GFP_KERNEL); in gfs_init()
197 f_ffs[i] = f_ffs[0] + i * func_num; in gfs_init()
199 fi_ffs = kcalloc(func_num, sizeof(*fi_ffs), GFP_KERNEL); in gfs_init()
205 for (i = 0; i < func_num; i++) { in gfs_init()
226 missing_funcs = func_num; in gfs_init()
249 for (i = 0; i < func_num; i++) in gfs_exit()
[all …]
/linux/include/linux/firmware/intel/
H A Dstratix10-smc.h42 #define INTEL_SIP_SMC_STD_CALL_VAL(func_num) \ argument
44 ARM_SMCCC_OWNER_SIP, (func_num))
46 #define INTEL_SIP_SMC_FAST_CALL_VAL(func_num) \ argument
48 ARM_SMCCC_OWNER_SIP, (func_num))
/linux/drivers/scsi/qla4xxx/
H A Dql4_83xx.c30 qla4_83xx_wr_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num), addr); in qla4_83xx_set_win_base()
31 val = qla4_83xx_rd_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num)); in qla4_83xx_set_win_base()
91 __func__, ha->func_num, lock_owner); in qla4_83xx_flash_lock()
98 qla4_83xx_wr_reg(ha, QLA83XX_FLASH_LOCK_ID, ha->func_num); in qla4_83xx_flash_lock()
270 (ha->func_num << 2) | INTENT_TO_RECOVER); in qla4_83xx_lock_recovery()
276 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
280 __func__, ha->func_num); in qla4_83xx_lock_recovery()
284 (ha->func_num << 2) | PROCEED_TO_RECOVER); in qla4_83xx_lock_recovery()
297 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
316 uint32_t func_num; in qla4_83xx_drv_lock() local
[all …]
H A Dql4_nx.c398 qla4_82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->func_num); in qla4_82xx_crb_win_lock()
1617 drv_active |= (1 << ha->func_num); in qla4_8xxx_set_drv_active()
1619 drv_active |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_drv_active()
1639 drv_active &= ~(1 << (ha->func_num)); in qla4_8xxx_clear_drv_active()
1641 drv_active &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_drv_active()
1662 rval = drv_state & (1 << ha->func_num); in qla4_8xxx_need_reset()
1664 rval = drv_state & (1 << (ha->func_num * 4)); in qla4_8xxx_need_reset()
1684 drv_state |= (1 << ha->func_num); in qla4_8xxx_set_rst_ready()
1686 drv_state |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_rst_ready()
1705 drv_state &= ~(1 << ha->func_num); in qla4_8xxx_clear_rst_ready()
[all …]
/linux/drivers/tee/optee/
H A Doptee_smc.h11 #define OPTEE_SMC_STD_CALL_VAL(func_num) \ argument
13 ARM_SMCCC_OWNER_TRUSTED_OS, (func_num))
14 #define OPTEE_SMC_FAST_CALL_VAL(func_num) \ argument
16 ARM_SMCCC_OWNER_TRUSTED_OS, (func_num))
/linux/drivers/pinctrl/meson/
H A Dpinctrl-meson8-pmx.c56 static int meson8_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson8_pmx_set_mux() argument
60 const struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson8_pmx_set_mux()
77 if (func_num) in meson8_pmx_set_mux()
H A Dpinctrl-meson-axg-pmx.c80 unsigned int func_num, unsigned int group_num) in meson_axg_pmx_set_mux() argument
85 const struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson_axg_pmx_set_mux()
/linux/include/linux/
H A Darm_ffa.h15 #define FFA_SMC(calling_convention, func_num) \ argument
17 ARM_SMCCC_OWNER_STANDARD, (func_num))
19 #define FFA_SMC_32(func_num) FFA_SMC(ARM_SMCCC_SMC_32, (func_num)) argument
20 #define FFA_SMC_64(func_num) FFA_SMC(ARM_SMCCC_SMC_64, (func_num)) argument
H A Darm-smccc.h41 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
45 ((func_num) & ARM_SMCCC_FUNC_MASK))
/linux/arch/arm/mach-at91/
H A Dsam_secure.c13 #define SAM_SIP_SMC_STD_CALL_VAL(func_num) \ argument
15 ARM_SMCCC_OWNER_SIP, (func_num))
/linux/tools/include/linux/
H A Darm-smccc.h39 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
43 ((func_num) & ARM_SMCCC_FUNC_MASK))
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h103 int func_num; member
177 int func_num; member
H A Daicasm.c410 cur_node->symbol->info.condinfo->func_num, in output_code()
412 cur_node->symbol->info.condinfo->func_num, in output_code()
507 new_patch->patch_func = scope->func_num; in emit_patch()
H A Daicasm_gram.y1090 new_scope->func_num = $2->info.condinfo->func_num;
1115 new_scope->func_num = $3->info.condinfo->func_num;
1935 false_func->info.condinfo->func_num = numfuncs++; in add_conditional()
1951 symbol->info.condinfo->func_num = numfuncs++; in add_conditional()
/linux/arch/arm/mach-omap2/
H A Domap-secure.c30 #define OMAP_SIP_SMC_STD_CALL_VAL(func_num) \ argument
32 ARM_SMCCC_OWNER_SIP, (func_num))
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h1502 u8 func_num);
1505 u8 func_num);
1535 #define PF_MAC_CREDIT_E2(bp, func_num) \ argument
1537 func_num + GET_NUM_VFS_PER_PF(bp) * VF_MAC_CREDIT_CNT)
1542 #define PF_VLAN_CREDIT_E2(bp, func_num) \ argument
1544 func_num + GET_NUM_VFS_PER_PF(bp) * VF_VLAN_CREDIT_CNT)
H A Dbnx2x_cmn.h1092 u8 func_num = 0, i; in bnx2x_get_path_func_num() local
1103 func_num = 4; in bnx2x_get_path_func_num()
1105 func_num = 2; in bnx2x_get_path_func_num()
1112 func_num += in bnx2x_get_path_func_num()
1117 WARN_ON(!func_num); in bnx2x_get_path_func_num()
1119 return func_num; in bnx2x_get_path_func_num()
/linux/drivers/char/hw_random/
H A Dexynos-trng.c52 #define EXYNOS_SMC_CALL_VAL(func_num) \ argument
56 func_num)
/linux/tools/bpf/bpftool/
H A Dcfg.c14 int func_num; member
81 new_func->idx = cfg->func_num; in cfg_append_func()
83 cfg->func_num++; in cfg_append_func()
/linux/drivers/dma/dw-edma/
H A Ddw-hdma-v0-regs.h57 u32 func_num; /* 0x0038 */ member
/linux/drivers/mmc/host/
H A Dvub300.c287 unsigned func_num:3; member
550 if (vub300->sdio_register[i].func_num == func && in add_offloaded_reg()
1315 unsigned int func_num = 0; in __download_offload_pseudocode() local
1316 vub300->sdio_register[i].func_num = *data++; in __download_offload_pseudocode()
1318 func_num += *data++; in __download_offload_pseudocode()
1320 func_num <<= 8; in __download_offload_pseudocode()
1321 func_num += *data++; in __download_offload_pseudocode()
1323 func_num <<= 8; in __download_offload_pseudocode()
1324 func_num += *data++; in __download_offload_pseudocode()
1326 vub300->sdio_register[i].sdio_reg = func_num; in __download_offload_pseudocode()
[all …]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c1578 for (i = hr_dev->func_num - 1; i >= 0; i--) { in hns_roce_function_clear()
1631 hr_dev->func_num = 1; in hns_roce_query_func_info()
1639 hr_dev->func_num = 1; in hns_roce_query_func_info()
1643 hr_dev->func_num = le32_to_cpu(desc.func_info.own_func_num); in hns_roce_query_func_info()
1726 u32 func_num; in load_func_res_caps() local
1731 func_num = 1; in load_func_res_caps()
1734 func_num = hr_dev->func_num; in load_func_res_caps()
1745 caps->qpc_bt_num = hr_reg_read(r_a, FUNC_RES_A_QPC_BT_NUM) / func_num; in load_func_res_caps()
1746 caps->srqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_SRQC_BT_NUM) / func_num; in load_func_res_caps()
1747 caps->cqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_CQC_BT_NUM) / func_num; in load_func_res_caps()
[all …]
/linux/drivers/mmc/core/
H A Dcore.h40 unsigned func_num);
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dsdio.c324 static int wilc_sdio_set_block_size(struct wilc *wilc, u8 func_num, in wilc_sdio_set_block_size() argument
334 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE; in wilc_sdio_set_block_size()
343 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE + 1; in wilc_sdio_set_block_size()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2299 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_fd_counter() local
2314 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_fd_counter()
2687 u8 func_num = pci_num_vf(hdev->pdev) + 1; in hclge_dbg_dump_umv_info() local
2704 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_umv_info()
2886 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_filter_config() local
2905 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_filter_config()
2939 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_offload_config() local
2948 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_offload_config()

12