Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/firmware/intel/
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))
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
Dg_ffs.c76 static unsigned int func_num; variable
84 module_param_array_named(functions, func_names, charp, &func_num, 0);
185 if (func_num < 2) { in gfs_init()
187 func_num = 1; in gfs_init()
193 f_ffs[0] = kcalloc(func_num * N_CONF, sizeof(*f_ffs), GFP_KERNEL); in gfs_init()
199 f_ffs[i] = f_ffs[0] + i * func_num; in gfs_init()
201 fi_ffs = kcalloc(func_num, sizeof(*fi_ffs), GFP_KERNEL); in gfs_init()
207 for (i = 0; i < func_num; i++) { in gfs_init()
228 missing_funcs = func_num; in gfs_init()
253 for (i = 0; i < func_num; i++) in gfs_exit()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
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 …]
Dql4_nx.c503 qla4_82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->func_num); in qla4_82xx_crb_win_lock()
1630 drv_active |= (1 << ha->func_num); in qla4_8xxx_set_drv_active()
1632 drv_active |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_drv_active()
1652 drv_active &= ~(1 << (ha->func_num)); in qla4_8xxx_clear_drv_active()
1654 drv_active &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_drv_active()
1675 rval = drv_state & (1 << ha->func_num); in qla4_8xxx_need_reset()
1677 rval = drv_state & (1 << (ha->func_num * 4)); in qla4_8xxx_need_reset()
1697 drv_state |= (1 << ha->func_num); in qla4_8xxx_set_rst_ready()
1699 drv_state |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_rst_ready()
1718 drv_state &= ~(1 << ha->func_num); in qla4_8xxx_clear_rst_ready()
[all …]
Dql4_attr.c90 __func__, ha->func_num); in qla4_8xxx_sysfs_write_fw_dump()
Dql4_iocb.c217 dbval = 0x14 | (ha->func_num << 5); in qla4_82xx_queue_iocb()
/kernel/linux/linux-5.10/drivers/tee/optee/
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))
/kernel/linux/linux-5.10/drivers/pinctrl/meson/
Dpinctrl-meson8-pmx.c56 static int meson8_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson8_pmx_set_mux() argument
60 struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson8_pmx_set_mux()
77 if (func_num) in meson8_pmx_set_mux()
Dpinctrl-meson-axg-pmx.c81 unsigned int func_num, unsigned int group_num) in meson_axg_pmx_set_mux() argument
86 struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson_axg_pmx_set_mux()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h103 int func_num; member
177 int func_num; member
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()
Daicasm_gram.y1091 new_scope->func_num = $2->info.condinfo->func_num;
1116 new_scope->func_num = $3->info.condinfo->func_num;
1936 false_func->info.condinfo->func_num = numfuncs++; in add_conditional()
1952 symbol->info.condinfo->func_num = numfuncs++; in add_conditional()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap-secure.c30 #define OMAP_SIP_SMC_STD_CALL_VAL(func_num) \ argument
32 ARM_SMCCC_OWNER_SIP, (func_num))
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
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)
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()
Dbnx2x_sp.c4368 u8 func_num) in bnx2x_init_mac_credit_pool() argument
4388 if ((func_num > 0)) { in bnx2x_init_mac_credit_pool()
4390 cam_sz = (MAX_MAC_CREDIT_E1H / (2*func_num)); in bnx2x_init_mac_credit_pool()
4404 if (func_num > 0) { in bnx2x_init_mac_credit_pool()
4406 cam_sz = PF_MAC_CREDIT_E2(bp, func_num); in bnx2x_init_mac_credit_pool()
4424 u8 func_num) in bnx2x_init_vlan_credit_pool() argument
4435 if (func_num > 0) { in bnx2x_init_vlan_credit_pool()
4436 int credit = PF_VLAN_CREDIT_E2(bp, func_num); in bnx2x_init_vlan_credit_pool()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
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()
/kernel/linux/linux-5.10/include/linux/
Darm-smccc.h40 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
44 ((func_num) & ARM_SMCCC_FUNC_MASK))
/kernel/linux/linux-5.10/drivers/mmc/host/
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 …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dcore.h39 unsigned func_num);
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dsdio.c295 static int wilc_sdio_set_block_size(struct wilc *wilc, u8 func_num, in wilc_sdio_set_block_size() argument
305 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE; in wilc_sdio_set_block_size()
314 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE + 1; in wilc_sdio_set_block_size()
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_dbg.c678 u32 func_num, reg, reg_val; in ql_get_sem_registers() local
681 for (func_num = 0; func_num < MAX_SEMAPHORE_FUNCTIONS ; func_num++) { in ql_get_sem_registers()
683 | (func_num << MPI_NIC_FUNCTION_SHIFT) in ql_get_sem_registers()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_mr.h171 __le16 func_num; member
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dsal.h577 u8 func_num; member
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Datioctl.h689 u8 func_num; member

12