Home
last modified time | relevance | path

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

12

/linux/drivers/usb/gadget/legacy/
A Dg_ffs.c76 static unsigned int func_num; variable
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()
465 for (i = 0; i < N_CONF * func_num; ++i) in gfs_unbind()
[all …]
/linux/drivers/scsi/qla4xxx/
A Dql4_83xx.c280 __func__, ha->func_num); in qla4_83xx_lock_recovery()
316 uint32_t func_num; in qla4_83xx_drv_lock() local
339 func_num = tmo_owner & 0xFF; in qla4_83xx_drv_lock()
342 __func__, ha->func_num, func_num, lock_cnt, in qla4_83xx_drv_lock()
351 __func__, ha->func_num); in qla4_83xx_drv_lock()
360 __func__, ha->func_num); in qla4_83xx_drv_lock()
366 __func__, ha->func_num); in qla4_83xx_drv_lock()
382 if ((id & 0xFF) != ha->func_num) { in qla4_83xx_drv_unlock()
433 int func_num; member
463 device_map[i].func_num = i; in qla4_83xx_can_perform_reset()
[all …]
A Dql4_nx.c1617 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()
1662 rval = drv_state & (1 << ha->func_num); 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()
1707 drv_state &= ~(1 << (ha->func_num * 4)); in qla4_8xxx_clear_rst_ready()
1727 qsnt_state |= (1 << ha->func_num); in qla4_8xxx_set_qsnt_ready()
1729 qsnt_state |= (2 << (ha->func_num * 4)); in qla4_8xxx_set_qsnt_ready()
[all …]
A Dql4_attr.c90 __func__, ha->func_num); in qla4_8xxx_sysfs_write_fw_dump()
A Dql4_iocb.c217 dbval = 0x14 | (ha->func_num << 5); in qla4_82xx_queue_iocb()
/linux/include/linux/firmware/intel/
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/tee/optee/
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/
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 struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson8_pmx_set_mux()
77 if (func_num) in meson8_pmx_set_mux()
A 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/drivers/scsi/aic7xxx/aicasm/
A Daicasm_symbol.h103 int func_num; member
177 int func_num; member
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()
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/drivers/firmware/arm_ffa/
A Ddriver.c40 #define FFA_SMC(calling_convention, func_num) \ argument
42 ARM_SMCCC_OWNER_STANDARD, (func_num))
44 #define FFA_SMC_32(func_num) FFA_SMC(ARM_SMCCC_SMC_32, (func_num)) argument
45 #define FFA_SMC_64(func_num) FFA_SMC(ARM_SMCCC_SMC_64, (func_num)) argument
/linux/arch/arm/mach-omap2/
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/
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)
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/tools/bpf/bpftool/
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/infiniband/hw/hns/
A Dhns_roce_hw_v2.c1575 hr_dev->func_num = 1; in hns_roce_query_func_info()
1620 u32 func_num; in load_func_res_caps() local
1625 func_num = 1; in load_func_res_caps()
1628 func_num = hr_dev->func_num; in load_func_res_caps()
1651 func_num; in load_func_res_caps()
1655 func_num; in load_func_res_caps()
1666 u32 func_num, qp_num; in load_ext_cfg_caps() local
1674 func_num = is_vf ? 1 : max_t(u32, 1, hr_dev->func_num); in load_ext_cfg_caps()
1851 u32 func_num = max_t(u32, 1, hr_dev->func_num); in hns_roce_alloc_vf_resource() local
2182 u32 func_num = max_t(u32, 1, hr_dev->func_num); in apply_func_caps() local
[all …]
/linux/drivers/mmc/host/
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/include/linux/
A Darm-smccc.h40 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
44 ((func_num) & ARM_SMCCC_FUNC_MASK))
/linux/drivers/staging/qlge/
A Dqlge_dbg.c678 u32 func_num, reg, reg_val; in qlge_get_sem_registers() local
681 for (func_num = 0; func_num < MAX_SEMAPHORE_FUNCTIONS ; func_num++) { in qlge_get_sem_registers()
683 | (func_num << MPI_NIC_FUNCTION_SHIFT) in qlge_get_sem_registers()
/linux/drivers/mmc/core/
A Dcore.h40 unsigned func_num);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_debugfs.c1586 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_fd_counter() local
1598 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_fd_counter()
1968 u8 func_num = pci_num_vf(hdev->pdev) + 1; in hclge_dbg_dump_umv_info() local
1985 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_umv_info()
2167 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_filter_config() local
2186 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_filter_config()
2220 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_offload_config() local
2229 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_offload_config()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dsdio.c297 static int wilc_sdio_set_block_size(struct wilc *wilc, u8 func_num, in wilc_sdio_set_block_size() argument
307 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE; in wilc_sdio_set_block_size()
316 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE + 1; in wilc_sdio_set_block_size()
/linux/drivers/scsi/qla2xxx/
A Dqla_mr.h171 __le16 func_num; member

Completed in 82 milliseconds

12