Home
last modified time | relevance | path

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

12

/Linux-v4.19/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 …]
/Linux-v4.19/drivers/tee/optee/
Doptee_smc.h33 #define OPTEE_SMC_STD_CALL_VAL(func_num) \ argument
35 ARM_SMCCC_OWNER_TRUSTED_OS, (func_num))
36 #define OPTEE_SMC_FAST_CALL_VAL(func_num) \ argument
38 ARM_SMCCC_OWNER_TRUSTED_OS, (func_num))
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_83xx.c31 qla4_83xx_wr_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num), addr); in qla4_83xx_set_win_base()
32 val = qla4_83xx_rd_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num)); in qla4_83xx_set_win_base()
92 __func__, ha->func_num, lock_owner); in qla4_83xx_flash_lock()
99 qla4_83xx_wr_reg(ha, QLA83XX_FLASH_LOCK_ID, ha->func_num); in qla4_83xx_flash_lock()
271 (ha->func_num << 2) | INTENT_TO_RECOVER); in qla4_83xx_lock_recovery()
277 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
281 __func__, ha->func_num); in qla4_83xx_lock_recovery()
285 (ha->func_num << 2) | PROCEED_TO_RECOVER); in qla4_83xx_lock_recovery()
298 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
317 uint32_t func_num; in qla4_83xx_drv_lock() local
[all …]
Dql4_nx.c504 qla4_82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->func_num); in qla4_82xx_crb_win_lock()
1631 drv_active |= (1 << ha->func_num); in qla4_8xxx_set_drv_active()
1633 drv_active |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_drv_active()
1653 drv_active &= ~(1 << (ha->func_num)); in qla4_8xxx_clear_drv_active()
1655 drv_active &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_drv_active()
1676 rval = drv_state & (1 << ha->func_num); in qla4_8xxx_need_reset()
1678 rval = drv_state & (1 << (ha->func_num * 4)); in qla4_8xxx_need_reset()
1698 drv_state |= (1 << ha->func_num); in qla4_8xxx_set_rst_ready()
1700 drv_state |= (1 << (ha->func_num * 4)); in qla4_8xxx_set_rst_ready()
1719 drv_state &= ~(1 << ha->func_num); in qla4_8xxx_clear_rst_ready()
[all …]
Dql4_attr.c91 __func__, ha->func_num); in qla4_8xxx_sysfs_write_fw_dump()
Dql4_iocb.c218 dbval = 0x14 | (ha->func_num << 5); in qla4_82xx_queue_iocb()
Dql4_def.h740 uint16_t func_num; member
/Linux-v4.19/drivers/pinctrl/meson/
Dpinctrl-meson8-pmx.c62 static int meson8_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson8_pmx_set_mux() argument
66 struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson8_pmx_set_mux()
83 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()
/Linux-v4.19/drivers/edac/
Daltera_edac.h388 #define INTEL_SIP_SMC_STD_CALL_VAL(func_num) \ argument
390 ARM_SMCCC_OWNER_SIP, (func_num))
392 #define INTEL_SIP_SMC_FAST_CALL_VAL(func_num) \ argument
394 ARM_SMCCC_OWNER_SIP, (func_num))
/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h107 int func_num; member
181 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.y1095 new_scope->func_num = $2->info.condinfo->func_num;
1120 new_scope->func_num = $3->info.condinfo->func_num;
1940 false_func->info.condinfo->func_num = numfuncs++; in add_conditional()
1956 symbol->info.condinfo->func_num = numfuncs++; in add_conditional()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h1500 u8 func_num);
1503 u8 func_num);
1533 #define PF_MAC_CREDIT_E2(bp, func_num) \ argument
1535 func_num + GET_NUM_VFS_PER_PF(bp) * VF_MAC_CREDIT_CNT)
1537 #define PF_VLAN_CREDIT_E2(bp, func_num) \ argument
1539 func_num + GET_NUM_VFS_PER_PF(bp) * VF_VLAN_CREDIT_CNT)
Dbnx2x_cmn.h1096 u8 func_num = 0, i; in bnx2x_get_path_func_num() local
1107 func_num = 4; in bnx2x_get_path_func_num()
1109 func_num = 2; in bnx2x_get_path_func_num()
1116 func_num += in bnx2x_get_path_func_num()
1121 WARN_ON(!func_num); in bnx2x_get_path_func_num()
1123 return func_num; in bnx2x_get_path_func_num()
Dbnx2x_sp.c4366 u8 func_num) in bnx2x_init_mac_credit_pool() argument
4386 if ((func_num > 0)) { in bnx2x_init_mac_credit_pool()
4388 cam_sz = (MAX_MAC_CREDIT_E1H / (2*func_num)); in bnx2x_init_mac_credit_pool()
4402 if (func_num > 0) { in bnx2x_init_mac_credit_pool()
4404 cam_sz = PF_MAC_CREDIT_E2(bp, func_num); in bnx2x_init_mac_credit_pool()
4422 u8 func_num) in bnx2x_init_vlan_credit_pool() argument
4433 if (func_num > 0) { in bnx2x_init_vlan_credit_pool()
4434 int credit = PF_VLAN_CREDIT_E2(bp, func_num); in bnx2x_init_vlan_credit_pool()
/Linux-v4.19/include/linux/
Darm-smccc.h46 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
50 ((func_num) & ARM_SMCCC_FUNC_MASK))
/Linux-v4.19/tools/bpf/bpftool/
Dcfg.c48 int func_num; member
115 new_func->idx = cfg->func_num; in cfg_append_func()
117 cfg->func_num++; in cfg_append_func()
/Linux-v4.19/drivers/mmc/host/
Dvub300.c290 unsigned func_num:3; member
553 if (vub300->sdio_register[i].func_num == func && in add_offloaded_reg()
1318 unsigned int func_num = 0; in __download_offload_pseudocode() local
1319 vub300->sdio_register[i].func_num = *data++; 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 func_num <<= 8; in __download_offload_pseudocode()
1327 func_num += *data++; in __download_offload_pseudocode()
1329 vub300->sdio_register[i].sdio_reg = func_num; in __download_offload_pseudocode()
[all …]
/Linux-v4.19/drivers/mmc/core/
Dcore.h41 unsigned func_num);
Dcore.c1175 unsigned func_num) in mmc_of_find_child_device() argument
1183 if (mmc_of_get_func_num(node) == func_num) in mmc_of_find_child_device()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlge/
Dqlge_dbg.c684 u32 func_num, reg, reg_val; in ql_get_sem_registers() local
687 for (func_num = 0; func_num < MAX_SEMAPHORE_FUNCTIONS ; func_num++) { in ql_get_sem_registers()
689 | (func_num << MPI_NIC_FUNCTION_SHIFT) in ql_get_sem_registers()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_mr.h171 __le16 func_num; member
/Linux-v4.19/arch/ia64/include/asm/
Dsal.h576 u8 func_num; member
/Linux-v4.19/drivers/scsi/esas2r/
Datioctl.h689 u8 func_num; member

12