/linux-6.1.9/drivers/usb/gadget/legacy/ |
D | g_ffs.c | 76 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-6.1.9/include/linux/firmware/intel/ |
D | stratix10-smc.h | 42 #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-6.1.9/drivers/scsi/qla4xxx/ |
D | ql4_83xx.c | 30 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 …]
|
D | ql4_nx.c | 398 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-6.1.9/drivers/tee/optee/ |
D | optee_smc.h | 11 #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-6.1.9/drivers/pinctrl/meson/ |
D | pinctrl-meson8-pmx.c | 56 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()
|
D | pinctrl-meson-axg-pmx.c | 81 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-6.1.9/arch/arm/mach-at91/ |
D | sam_secure.c | 13 #define SAM_SIP_SMC_STD_CALL_VAL(func_num) \ argument 15 ARM_SMCCC_OWNER_SIP, (func_num))
|
/linux-6.1.9/tools/include/linux/ |
D | arm-smccc.h | 39 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument 43 ((func_num) & ARM_SMCCC_FUNC_MASK))
|
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.h | 103 int func_num; member 177 int func_num; member
|
D | aicasm.c | 410 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()
|
D | aicasm_gram.y | 1090 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-6.1.9/arch/arm/mach-omap2/ |
D | omap-secure.c | 30 #define OMAP_SIP_SMC_STD_CALL_VAL(func_num) \ argument 32 ARM_SMCCC_OWNER_SIP, (func_num))
|
/linux-6.1.9/drivers/firmware/arm_ffa/ |
D | driver.c | 40 #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-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.h | 1502 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)
|
D | bnx2x_cmn.h | 1092 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-6.1.9/tools/bpf/bpftool/ |
D | cfg.c | 14 int func_num; member 81 new_func->idx = cfg->func_num; in cfg_append_func() 83 cfg->func_num++; in cfg_append_func()
|
/linux-6.1.9/drivers/mmc/host/ |
D | vub300.c | 287 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-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 1574 for (i = hr_dev->func_num - 1; i >= 0; i--) { in hns_roce_function_clear() 1627 hr_dev->func_num = 1; in hns_roce_query_func_info() 1635 hr_dev->func_num = 1; in hns_roce_query_func_info() 1639 hr_dev->func_num = le32_to_cpu(desc.func_info.own_func_num); in hns_roce_query_func_info() 1672 u32 func_num; in load_func_res_caps() local 1677 func_num = 1; in load_func_res_caps() 1680 func_num = hr_dev->func_num; in load_func_res_caps() 1691 caps->qpc_bt_num = hr_reg_read(r_a, FUNC_RES_A_QPC_BT_NUM) / func_num; in load_func_res_caps() 1692 caps->srqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_SRQC_BT_NUM) / func_num; in load_func_res_caps() 1693 caps->cqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_CQC_BT_NUM) / func_num; in load_func_res_caps() [all …]
|
/linux-6.1.9/include/linux/ |
D | arm-smccc.h | 40 #define ARM_SMCCC_CALL_VAL(type, calling_convention, owner, func_num) \ argument 44 ((func_num) & ARM_SMCCC_FUNC_MASK))
|
/linux-6.1.9/drivers/staging/qlge/ |
D | qlge_dbg.c | 678 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-6.1.9/drivers/mmc/core/ |
D | core.h | 40 unsigned func_num);
|
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 331 static int wilc_sdio_set_block_size(struct wilc *wilc, u8 func_num, in wilc_sdio_set_block_size() argument 341 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE; in wilc_sdio_set_block_size() 350 cmd.address = SDIO_FBR_BASE(func_num) + SDIO_CCCR_BLKSIZE + 1; in wilc_sdio_set_block_size()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 1634 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_fd_counter() local 1649 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_fd_counter() 2022 u8 func_num = pci_num_vf(hdev->pdev) + 1; in hclge_dbg_dump_umv_info() local 2039 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_umv_info() 2221 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_filter_config() local 2240 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_filter_config() 2274 u8 func_num = pci_num_vf(hdev->pdev) + 1; /* pf and enabled vf num */ in hclge_dbg_dump_vlan_offload_config() local 2283 for (i = 0; i < func_num; i++) { in hclge_dbg_dump_vlan_offload_config()
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 171 __le16 func_num; member
|