num                43 arch/alpha/boot/stdio.c static char * number(char * str, unsigned long long num, int base, int size, int precision, int type)
num                58 arch/alpha/boot/stdio.c 		if ((signed long long)num < 0) {
num                60 arch/alpha/boot/stdio.c 			num = - (signed long long)num;
num                77 arch/alpha/boot/stdio.c 	if (num == 0)
num                79 arch/alpha/boot/stdio.c 	else while (num != 0) {
num                80 arch/alpha/boot/stdio.c 		tmp[i++] = digits[do_div(num, base)];
num               113 arch/alpha/boot/stdio.c 	unsigned long long num;
num               269 arch/alpha/boot/stdio.c 			num = va_arg(args, unsigned long);
num               271 arch/alpha/boot/stdio.c 				num = (signed long) num;
num               273 arch/alpha/boot/stdio.c 			num = va_arg(args, unsigned long long);
num               275 arch/alpha/boot/stdio.c 				num = (signed long long) num;
num               277 arch/alpha/boot/stdio.c 			num = va_arg(args, size_t);
num               279 arch/alpha/boot/stdio.c 			num = (unsigned short) va_arg(args, int);
num               281 arch/alpha/boot/stdio.c 				num = (signed short) num;
num               283 arch/alpha/boot/stdio.c 			num = va_arg(args, unsigned int);
num               285 arch/alpha/boot/stdio.c 				num = (signed int) num;
num               287 arch/alpha/boot/stdio.c 		str = number(str, num, base, field_width, precision, flags);
num                36 arch/alpha/kernel/pci-sysfs.c static int __pci_mmap_fits(struct pci_dev *pdev, int num,
num                44 arch/alpha/kernel/pci-sysfs.c 	size = ((pci_resource_len(pdev, num) - 1) >> (PAGE_SHIFT - shift)) + 1;
num                51 arch/alpha/kernel/pci-sysfs.c 		pci_name(pdev), num, size);
num               135 arch/alpha/kernel/pci-sysfs.c static int sparse_mem_mmap_fits(struct pci_dev *pdev, int num)
num               142 arch/alpha/kernel/pci-sysfs.c 	pcibios_resource_to_bus(pdev->bus, &bar, &pdev->resource[num]);
num               154 arch/alpha/kernel/pci-sysfs.c static int pci_create_one_attr(struct pci_dev *pdev, int num, char *name,
num               158 arch/alpha/kernel/pci-sysfs.c 	size_t size = pci_resource_len(pdev, num);
num               160 arch/alpha/kernel/pci-sysfs.c 	sprintf(name, "resource%d%s", num, suffix);
num               166 arch/alpha/kernel/pci-sysfs.c 	res_attr->private = &pdev->resource[num];
num               170 arch/alpha/kernel/pci-sysfs.c static int pci_create_attr(struct pci_dev *pdev, int num)
num               182 arch/alpha/kernel/pci-sysfs.c 	if (pdev->resource[num].flags & IORESOURCE_MEM) {
num               185 arch/alpha/kernel/pci-sysfs.c 		if (sparse_base && !sparse_mem_mmap_fits(pdev, num)) {
num               210 arch/alpha/kernel/pci-sysfs.c 	pdev->res_attr[num] = attr;
num               211 arch/alpha/kernel/pci-sysfs.c 	retval = pci_create_one_attr(pdev, num, attr_name, suffix, attr,
num               219 arch/alpha/kernel/pci-sysfs.c 	pdev->res_attr_wc[num] = attr;
num               220 arch/alpha/kernel/pci-sysfs.c 	return pci_create_one_attr(pdev, num, attr_name, "_dense", attr, 0);
num              1103 arch/alpha/kernel/setup.c get_nr_processors(struct percpu_struct *cpubase, unsigned long num)
num              1109 arch/alpha/kernel/setup.c 	for (i = 0; i < num; i++) {
num               219 arch/arc/include/asm/arcregs.h 	unsigned int pad:21, min:1, num:2, ver:8;
num               221 arch/arc/include/asm/arcregs.h 	unsigned int ver:8, num:2, min:1, pad:21;
num                54 arch/arc/include/asm/pgalloc.h 	int num, num2;
num                58 arch/arc/include/asm/pgalloc.h 		num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE;
num                59 arch/arc/include/asm/pgalloc.h 		memzero(ret, num * sizeof(pgd_t));
num                62 arch/arc/include/asm/pgalloc.h 		memcpy(ret + num, swapper_pg_dir + num, num2 * sizeof(pgd_t));
num                64 arch/arc/include/asm/pgalloc.h 		memzero(ret + num + num2,
num                65 arch/arc/include/asm/pgalloc.h 			       (PTRS_PER_PGD - num - num2) * sizeof(pgd_t));
num               237 arch/arc/kernel/setup.c 		cpu->extn.ap_num = 2 << ap.num;
num               104 arch/arc/plat-eznps/smp.c 				u32 num:8, cluster:8, core:8, thread:8;
num               114 arch/arc/plat-eznps/smp.c 	ipi.num = NPS_IPI_IRQ;
num              1330 arch/arm/common/sa1111.c int sa1111_get_irq(struct sa1111_dev *sadev, unsigned num)
num              1333 arch/arm/common/sa1111.c 	if (num >= ARRAY_SIZE(sadev->hwirq))
num              1335 arch/arm/common/sa1111.c 	return sa1111_map_irq(sachip, sadev->hwirq[num]);
num                30 arch/arm/include/asm/cpufeature.h static inline bool cpu_have_feature(unsigned int num)
num                32 arch/arm/include/asm/cpufeature.h 	return num < 32 ? elf_hwcap & BIT(num) : elf_hwcap2 & BIT(num - 32);
num               186 arch/arm/include/asm/ecard.h extern int ecard_readchunk (struct in_chunk_dir *cd, struct expansion_card *ec, int id, int num);
num               420 arch/arm/include/asm/hardware/sa1111.h int sa1111_get_irq(struct sa1111_dev *, unsigned num);
num                15 arch/arm/include/asm/kvm_coproc.h 	size_t num;
num                60 arch/arm/include/asm/mach/map.h #define iotable_init(map,num)	do { } while (0)
num               118 arch/arm/kernel/module-plts.c static bool duplicate_rel(Elf32_Addr base, const Elf32_Rel *rel, int num)
num               127 arch/arm/kernel/module-plts.c 	if (!num)
num               130 arch/arm/kernel/module-plts.c 	prev = rel + num - 1;
num               131 arch/arm/kernel/module-plts.c 	return cmp_rel(rel + num, prev) == 0 &&
num               137 arch/arm/kernel/module-plts.c 			       const Elf32_Rel *rel, int num, Elf32_Word dstidx)
num               143 arch/arm/kernel/module-plts.c 	for (i = 0; i < num; i++) {
num               356 arch/arm/kernel/ptrace.c static int ptrace_hbp_num_to_idx(long num)
num               358 arch/arm/kernel/ptrace.c 	if (num < 0)
num               359 arch/arm/kernel/ptrace.c 		num = (ARM_MAX_BRP << 1) - num;
num               360 arch/arm/kernel/ptrace.c 	return (num - 1) >> 1;
num               370 arch/arm/kernel/ptrace.c 	long num = (idx << 1) + 1;
num               371 arch/arm/kernel/ptrace.c 	return num > mid ? mid - num : num;
num               382 arch/arm/kernel/ptrace.c 	long num;
num               389 arch/arm/kernel/ptrace.c 	num = (i == ARM_MAX_HBP_SLOTS) ? 0 : ptrace_hbp_idx_to_num(i);
num               391 arch/arm/kernel/ptrace.c 	force_sig_ptrace_errno_trap((int)num, (void __user *)(bkpt->trigger));
num               458 arch/arm/kernel/ptrace.c static int ptrace_gethbpregs(struct task_struct *tsk, long num,
num               466 arch/arm/kernel/ptrace.c 	if (num == 0) {
num               469 arch/arm/kernel/ptrace.c 		idx = ptrace_hbp_num_to_idx(num);
num               490 arch/arm/kernel/ptrace.c 		if (num & 0x1)
num               504 arch/arm/kernel/ptrace.c static int ptrace_sethbpregs(struct task_struct *tsk, long num,
num               513 arch/arm/kernel/ptrace.c 	if (num == 0)
num               515 arch/arm/kernel/ptrace.c 	else if (num < 0)
num               520 arch/arm/kernel/ptrace.c 	idx = ptrace_hbp_num_to_idx(num);
num               543 arch/arm/kernel/ptrace.c 	if (num & 0x1) {
num               530 arch/arm/kvm/coproc.c 	BUG_ON(check_reg_table(table->table, table->num));
num               535 arch/arm/kvm/coproc.c static const struct coproc_reg *get_target_table(unsigned target, size_t *num)
num               540 arch/arm/kvm/coproc.c 	*num = table->num;
num               565 arch/arm/kvm/coproc.c 					 unsigned int num)
num               569 arch/arm/kvm/coproc.c 	return bsearch((void *)pval, table, num, sizeof(table[0]), match_reg);
num               575 arch/arm/kvm/coproc.c 	size_t num;
num               581 arch/arm/kvm/coproc.c 	table = get_target_table(vcpu->arch.target, &num);
num               584 arch/arm/kvm/coproc.c 	r = find_reg(params, table, num);
num               654 arch/arm/kvm/coproc.c 			      const struct coproc_reg *table, size_t num,
num               659 arch/arm/kvm/coproc.c 	for (i = 0; i < num; i++)
num               769 arch/arm/kvm/coproc.c 	size_t num;
num               780 arch/arm/kvm/coproc.c 	table = get_target_table(vcpu->arch.target, &num);
num               781 arch/arm/kvm/coproc.c 	r = find_reg(&params, table, num);
num              1332 arch/arm/kvm/coproc.c 	size_t num;
num              1335 arch/arm/kvm/coproc.c 	i1 = get_target_table(vcpu->arch.target, &num);
num              1336 arch/arm/kvm/coproc.c 	end1 = i1 + num;
num              1442 arch/arm/kvm/coproc.c 	size_t num;
num              1449 arch/arm/kvm/coproc.c 	table = get_target_table(vcpu->arch.target, &num);
num              1450 arch/arm/kvm/coproc.c 	reset_coproc_regs(vcpu, table, num, bmap);
num              1452 arch/arm/kvm/coproc.c 	for (num = 1; num < NR_CP15_REGS; num++)
num              1453 arch/arm/kvm/coproc.c 		WARN(!test_bit(num, bmap),
num              1454 arch/arm/kvm/coproc.c 		     "Didn't reset vcpu_cp15(vcpu, %zi)", num);
num                31 arch/arm/kvm/coproc_a15.c 	.num = ARRAY_SIZE(a15_regs),
num                34 arch/arm/kvm/coproc_a7.c 	.num = ARRAY_SIZE(a7_regs),
num               128 arch/arm/mach-dove/mpp.c 		unsigned int num = MPP_NUM(*mpp_grp_list);
num               131 arch/arm/mach-dove/mpp.c 		if (num > MPP_GRP_MAX) {
num               132 arch/arm/mach-dove/mpp.c 			pr_err("dove: invalid MPP GRP number (%u)\n", num);
num               136 arch/arm/mach-dove/mpp.c 		mpp_ctrl4 &= ~(0x1 << num);
num               137 arch/arm/mach-dove/mpp.c 		mpp_ctrl4 |= sel << num;
num               140 arch/arm/mach-dove/mpp.c 		dove_mpp_gpio_mode(dove_mpp_grp[num].start,
num               141 arch/arm/mach-dove/mpp.c 				   dove_mpp_grp[num].end, gpio_mode);
num               356 arch/arm/mach-ep93xx/core.c void __init ep93xx_register_i2c(struct i2c_board_info *devices, int num)
num               369 arch/arm/mach-ep93xx/core.c 	i2c_register_board_info(0, devices, num);
num               408 arch/arm/mach-ep93xx/core.c 				struct spi_board_info *devices, int num)
num               417 arch/arm/mach-ep93xx/core.c 	spi_register_board_info(devices, num);
num                26 arch/arm/mach-ep93xx/platform.h void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
num                28 arch/arm/mach-ep93xx/platform.h 			 struct spi_board_info *devices, int num);
num                79 arch/arm/mach-mediatek/platsmp.c 	int i, num;
num                83 arch/arm/mach-mediatek/platsmp.c 		num = ARRAY_SIZE(mtk_tz_smp_boot_infos);
num                86 arch/arm/mach-mediatek/platsmp.c 		num = ARRAY_SIZE(mtk_smp_boot_infos);
num                91 arch/arm/mach-mediatek/platsmp.c 	for (i = 0; i < num; i++) {
num               175 arch/arm/mach-omap1/irq.c omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num)
num               188 arch/arm/mach-omap1/irq.c 	irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE,
num               617 arch/arm/mach-omap2/timer.c 	unsigned long long num, den;
num               655 arch/arm/mach-omap2/timer.c 			num = 75;
num               664 arch/arm/mach-omap2/timer.c 		num = 64;
num               668 arch/arm/mach-omap2/timer.c 		num = 768;
num               672 arch/arm/mach-omap2/timer.c 		num = 8;
num               676 arch/arm/mach-omap2/timer.c 		num = 192;
num               680 arch/arm/mach-omap2/timer.c 		num = 384;
num               684 arch/arm/mach-omap2/timer.c 		num = 256;
num               690 arch/arm/mach-omap2/timer.c 		num = 4;
num               699 arch/arm/mach-omap2/timer.c 	reg |= num;
num               707 arch/arm/mach-omap2/timer.c 	arch_timer_freq = DIV_ROUND_UP_ULL(rate * num, den);
num              1146 arch/arm/mach-pxa/em-x270.c #define DA9030_LDO(num)	DA9030_SUBDEV(regulator, LDO##num, &ldo##num##_data)
num               131 arch/arm/mach-pxa/mfp-pxa2xx.c void pxa2xx_mfp_config(unsigned long *mfp_cfgs, int num)
num               137 arch/arm/mach-pxa/mfp-pxa2xx.c 	for (i = 0, c = mfp_cfgs; i < num; i++, c++) {
num               140 arch/arm/mach-pxa/mfp-pxa2xx.h extern void pxa2xx_mfp_config(unsigned long *mfp_cfgs, int num);
num               155 arch/arm/mach-pxa/mfp-pxa3xx.h static inline void pxa3xx_mfp_config(unsigned long *mfp_cfg, int num)
num               157 arch/arm/mach-pxa/mfp-pxa3xx.h 	mfp_config(mfp_cfg, num);
num               326 arch/arm/mach-rpc/ecard.c int ecard_readchunk(struct in_chunk_dir *cd, ecard_t *ec, int id, int num)
num               363 arch/arm/mach-rpc/ecard.c 		if (c_id(&excd) == id && num-- == 0)
num               207 arch/arm/mach-s3c64xx/dev-audio.c void __init s3c64xx_ac97_setup_gpio(int num)
num               209 arch/arm/mach-s3c64xx/dev-audio.c 	if (num == S3C64XX_AC97_GPD)
num               207 arch/arm/mach-sa1100/neponset.c 	unsigned num, bool in, const char *const * names)
num               211 arch/arm/mach-sa1100/neponset.c 	gc = gpio_reg_init(dev, reg, -1, num, label, in ? 0xffffffff : 0,
num                91 arch/arm/mm/cache-l2x0.c static inline void l2c_unlock(void __iomem *base, unsigned num)
num                95 arch/arm/mm/cache-l2x0.c 	for (i = 0; i < num; i++) {
num               201 arch/arm/mm/dump.c 	size_t num;
num               213 arch/arm/mm/dump.c 		.num	= ARRAY_SIZE(section_bits),
num               216 arch/arm/mm/dump.c 		.num	= ARRAY_SIZE(pte_bits),
num               220 arch/arm/mm/dump.c static void dump_prot(struct pg_state *st, const struct prot_bits *bits, size_t num)
num               224 arch/arm/mm/dump.c 	for (i = 0; i < num; i++, bits++) {
num               286 arch/arm/mm/dump.c 				dump_prot(st, pg_level[st->level].bits, pg_level[st->level].num);
num               409 arch/arm/mm/dump.c 			for (j = 0; j < pg_level[i].num; j++) {
num               239 arch/arm/mm/pmsa-v7.c 	int num, i;
num               259 arch/arm/mm/pmsa-v7.c 	num = allocate_region(CONFIG_XIP_PHYS_ADDR, __pa(_exiprom) - CONFIG_XIP_PHYS_ADDR,
num               262 arch/arm/mm/pmsa-v7.c 	mem_max_regions -= num;
num               293 arch/arm/mm/pmsa-v7.c 	num = allocate_region(mem_start, specified_mem_size, mem_max_regions, mem);
num               295 arch/arm/mm/pmsa-v7.c 	for (i = 0; i < num; i++) {
num                47 arch/arm/plat-orion/mpp.c 		unsigned int num = MPP_NUM(*mpp_list);
num                51 arch/arm/plat-orion/mpp.c 		if (num > mpp_max) {
num                53 arch/arm/plat-orion/mpp.c 					"number (%u)\n", num);
num                59 arch/arm/plat-orion/mpp.c 			       "unavailable on this hardware\n", num);
num                63 arch/arm/plat-orion/mpp.c 		shift = (num & 7) << 2;
num                64 arch/arm/plat-orion/mpp.c 		mpp_ctrl[num / 8] &= ~(0xf << shift);
num                65 arch/arm/plat-orion/mpp.c 		mpp_ctrl[num / 8] |= sel << shift;
num                73 arch/arm/plat-orion/mpp.c 		orion_gpio_set_valid(num, gpio_mode);
num               467 arch/arm/plat-pxa/include/plat/mfp.h void mfp_config(unsigned long *mfp_cfgs, int num);
num               161 arch/arm/plat-pxa/mfp.c void mfp_config(unsigned long *mfp_cfgs, int num)
num               168 arch/arm/plat-pxa/mfp.c 	for (i = 0; i < num; i++, mfp_cfgs++) {
num               113 arch/arm64/include/asm/acpi.h static inline void arch_fix_phys_package_id(int num, u32 slot) { }
num               129 arch/arm64/include/asm/assembler.h 	.macro	nops, num
num               646 arch/arm64/include/asm/assembler.h 	.macro		__frame_regs, reg1, reg2, op, num
num               385 arch/arm64/include/asm/cpufeature.h void cpu_set_feature(unsigned int num);
num               386 arch/arm64/include/asm/cpufeature.h bool cpu_have_feature(unsigned int num);
num               394 arch/arm64/include/asm/cpufeature.h static __always_inline bool __cpus_have_const_cap(int num)
num               396 arch/arm64/include/asm/cpufeature.h 	if (num >= ARM64_NCAPS)
num               398 arch/arm64/include/asm/cpufeature.h 	return static_branch_unlikely(&cpu_hwcap_keys[num]);
num               401 arch/arm64/include/asm/cpufeature.h static inline bool cpus_have_cap(unsigned int num)
num               403 arch/arm64/include/asm/cpufeature.h 	if (num >= ARM64_NCAPS)
num               405 arch/arm64/include/asm/cpufeature.h 	return test_bit(num, cpu_hwcaps);
num               408 arch/arm64/include/asm/cpufeature.h static __always_inline bool cpus_have_const_cap(int num)
num               411 arch/arm64/include/asm/cpufeature.h 		return __cpus_have_const_cap(num);
num               413 arch/arm64/include/asm/cpufeature.h 		return cpus_have_cap(num);
num               416 arch/arm64/include/asm/cpufeature.h static inline void cpus_set_cap(unsigned int num)
num               418 arch/arm64/include/asm/cpufeature.h 	if (num >= ARM64_NCAPS) {
num               420 arch/arm64/include/asm/cpufeature.h 			num, ARM64_NCAPS);
num               422 arch/arm64/include/asm/cpufeature.h 		__set_bit(num, cpu_hwcaps);
num                19 arch/arm64/include/asm/kvm_coproc.h 	size_t num;
num               745 arch/arm64/include/asm/sysreg.h 	.irp	num,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30
num              1827 arch/arm64/kernel/cpufeature.c 		unsigned int num;
num              1832 arch/arm64/kernel/cpufeature.c 		num = caps->capability;
num              1833 arch/arm64/kernel/cpufeature.c 		if (!cpus_have_cap(num))
num              1837 arch/arm64/kernel/cpufeature.c 		static_branch_enable(&cpu_hwcap_keys[num]);
num              2041 arch/arm64/kernel/cpufeature.c void cpu_set_feature(unsigned int num)
num              2043 arch/arm64/kernel/cpufeature.c 	WARN_ON(num >= MAX_CPU_FEATURES);
num              2044 arch/arm64/kernel/cpufeature.c 	elf_hwcap |= BIT(num);
num              2048 arch/arm64/kernel/cpufeature.c bool cpu_have_feature(unsigned int num)
num              2050 arch/arm64/kernel/cpufeature.c 	WARN_ON(num >= MAX_CPU_FEATURES);
num              2051 arch/arm64/kernel/cpufeature.c 	return elf_hwcap & BIT(num);
num               149 arch/arm64/kernel/module-plts.c static bool duplicate_rel(const Elf64_Rela *rela, int num)
num               156 arch/arm64/kernel/module-plts.c 	return num > 0 && cmp_rela(rela + num, rela + num - 1) == 0;
num               159 arch/arm64/kernel/module-plts.c static unsigned int count_plts(Elf64_Sym *syms, Elf64_Rela *rela, int num,
num               166 arch/arm64/kernel/module-plts.c 	for (i = 0; i < num; i++) {
num               364 arch/arm64/kernel/ptrace.c 	u8 num;
num               369 arch/arm64/kernel/ptrace.c 		num = hw_breakpoint_slots(TYPE_INST);
num               372 arch/arm64/kernel/ptrace.c 		num = hw_breakpoint_slots(TYPE_DATA);
num               380 arch/arm64/kernel/ptrace.c 	reg |= num;
num              1587 arch/arm64/kernel/ptrace.c static int compat_ptrace_hbp_num_to_idx(compat_long_t num)
num              1589 arch/arm64/kernel/ptrace.c 	return (abs(num) - 1) >> 1;
num              1616 arch/arm64/kernel/ptrace.c 				 compat_long_t num,
num              1622 arch/arm64/kernel/ptrace.c 	int err, idx = compat_ptrace_hbp_num_to_idx(num);
num              1624 arch/arm64/kernel/ptrace.c 	if (num & 1) {
num              1637 arch/arm64/kernel/ptrace.c 				 compat_long_t num,
num              1643 arch/arm64/kernel/ptrace.c 	int err, idx = compat_ptrace_hbp_num_to_idx(num);
num              1645 arch/arm64/kernel/ptrace.c 	if (num & 1) {
num              1656 arch/arm64/kernel/ptrace.c static int compat_ptrace_gethbpregs(struct task_struct *tsk, compat_long_t num,
num              1663 arch/arm64/kernel/ptrace.c 	if (num < 0) {
num              1664 arch/arm64/kernel/ptrace.c 		ret = compat_ptrace_hbp_get(NT_ARM_HW_WATCH, tsk, num, &kdata);
num              1666 arch/arm64/kernel/ptrace.c 	} else if (num == 0) {
num              1670 arch/arm64/kernel/ptrace.c 		ret = compat_ptrace_hbp_get(NT_ARM_HW_BREAK, tsk, num, &kdata);
num              1679 arch/arm64/kernel/ptrace.c static int compat_ptrace_sethbpregs(struct task_struct *tsk, compat_long_t num,
num              1685 arch/arm64/kernel/ptrace.c 	if (num == 0)
num              1692 arch/arm64/kernel/ptrace.c 	if (num < 0)
num              1693 arch/arm64/kernel/ptrace.c 		ret = compat_ptrace_hbp_set(NT_ARM_HW_WATCH, tsk, num, &kdata);
num              1695 arch/arm64/kernel/ptrace.c 		ret = compat_ptrace_hbp_set(NT_ARM_HW_BREAK, tsk, num, &kdata);
num              1996 arch/arm64/kvm/sys_regs.c 						   size_t *num)
num              2002 arch/arm64/kvm/sys_regs.c 		*num = table->table64.num;
num              2005 arch/arm64/kvm/sys_regs.c 		*num = table->table32.num;
num              2020 arch/arm64/kvm/sys_regs.c 					 unsigned int num)
num              2024 arch/arm64/kvm/sys_regs.c 	return bsearch((void *)pval, table, num, sizeof(table[0]), match_sys_reg);
num              2070 arch/arm64/kvm/sys_regs.c 		      size_t num)
num              2077 arch/arm64/kvm/sys_regs.c 	r = find_reg(params, table, num);
num              2209 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2211 arch/arm64/kvm/sys_regs.c 	target_specific = get_target_table(vcpu->arch.target, false, &num);
num              2214 arch/arm64/kvm/sys_regs.c 				target_specific, num);
num              2220 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2222 arch/arm64/kvm/sys_regs.c 	target_specific = get_target_table(vcpu->arch.target, false, &num);
num              2225 arch/arm64/kvm/sys_regs.c 				target_specific, num);
num              2245 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2248 arch/arm64/kvm/sys_regs.c 	table = get_target_table(vcpu->arch.target, true, &num);
num              2251 arch/arm64/kvm/sys_regs.c 	r = find_reg(params, table, num);
num              2267 arch/arm64/kvm/sys_regs.c 				const struct sys_reg_desc *table, size_t num,
num              2272 arch/arm64/kvm/sys_regs.c 	for (i = 0; i < num; i++)
num              2349 arch/arm64/kvm/sys_regs.c 					  unsigned int num)
num              2354 arch/arm64/kvm/sys_regs.c 	return find_reg(params, table, num);
num              2361 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2372 arch/arm64/kvm/sys_regs.c 	table = get_target_table(vcpu->arch.target, true, &num);
num              2373 arch/arm64/kvm/sys_regs.c 	r = find_reg(&params, table, num);
num              2677 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2681 arch/arm64/kvm/sys_regs.c 	i1 = get_target_table(vcpu->arch.target, true, &num);
num              2682 arch/arm64/kvm/sys_regs.c 	end1 = i1 + num;
num              2794 arch/arm64/kvm/sys_regs.c 	size_t num;
num              2801 arch/arm64/kvm/sys_regs.c 	table = get_target_table(vcpu->arch.target, true, &num);
num              2802 arch/arm64/kvm/sys_regs.c 	reset_sys_reg_descs(vcpu, table, num, bmap);
num              2804 arch/arm64/kvm/sys_regs.c 	for (num = 1; num < NR_SYS_REGS; num++) {
num              2805 arch/arm64/kvm/sys_regs.c 		if (WARN(!test_bit(num, bmap),
num              2806 arch/arm64/kvm/sys_regs.c 			 "Didn't reset __vcpu_sys_reg(%zi)\n", num))
num               141 arch/arm64/kvm/sys_regs.h 					  unsigned int num);
num                56 arch/arm64/kvm/sys_regs_generic_v8.c 		.num = ARRAY_SIZE(genericv8_sys_regs),
num                60 arch/arm64/kvm/sys_regs_generic_v8.c 		.num = ARRAY_SIZE(genericv8_cp15_regs),
num               171 arch/arm64/mm/dump.c 	size_t num;
num               180 arch/arm64/mm/dump.c 		.num	= ARRAY_SIZE(pte_bits),
num               184 arch/arm64/mm/dump.c 		.num	= ARRAY_SIZE(pte_bits),
num               188 arch/arm64/mm/dump.c 		.num	= ARRAY_SIZE(pte_bits),
num               192 arch/arm64/mm/dump.c 		.num	= ARRAY_SIZE(pte_bits),
num               197 arch/arm64/mm/dump.c 			size_t num)
num               201 arch/arm64/mm/dump.c 	for (i = 0; i < num; i++, bits++) {
num               274 arch/arm64/mm/dump.c 					  pg_level[st->level].num);
num               382 arch/arm64/mm/dump.c 			for (j = 0; j < pg_level[i].num; j++)
num               107 arch/c6x/include/asm/clock.h 	u32 num;
num               312 arch/c6x/platforms/pll.c 			 pll->num, clk->parent->rate / 1000000,
num               316 arch/c6x/platforms/pll.c 			 pll->num, clk->parent->rate / 1000000);
num                35 arch/c6x/platforms/plldata.c 	.num	   = 1,
num               245 arch/hexagon/include/asm/bitops.h 	int num;
num               248 arch/hexagon/include/asm/bitops.h 		: "=&r" (num)
num               251 arch/hexagon/include/asm/bitops.h 	return num;
num               263 arch/hexagon/include/asm/bitops.h 	int num;
num               267 arch/hexagon/include/asm/bitops.h 		: "=&r" (num)
num               270 arch/hexagon/include/asm/bitops.h 	return num;
num                19 arch/ia64/include/asm/cpu.h extern int arch_register_cpu(int num);
num               151 arch/ia64/include/asm/pal.h 	u32 den, num;		/* numerator & denominator */
num                48 arch/ia64/include/asm/topology.h extern void arch_fix_phys_package_id(int num, u32 slot);
num               321 arch/ia64/kernel/module.c duplicate_reloc (const Elf64_Rela *rela, unsigned int num)
num               325 arch/ia64/kernel/module.c 	for (i = 0; i < num; i++) {
num               326 arch/ia64/kernel/module.c 		if (rela[i].r_info == rela[num].r_info && rela[i].r_addend == rela[num].r_addend)
num               334 arch/ia64/kernel/module.c count_gots (const Elf64_Rela *rela, unsigned int num)
num               340 arch/ia64/kernel/module.c 	for (i = 0; i < num; i++) {
num               361 arch/ia64/kernel/module.c count_plts (const Elf64_Rela *rela, unsigned int num)
num               367 arch/ia64/kernel/module.c 	for (i = 0; i < num; i++) {
num               387 arch/ia64/kernel/module.c count_fdescs (const Elf64_Rela *rela, unsigned int num)
num               392 arch/ia64/kernel/module.c 	for (i = 0; i < num; i++) {
num               707 arch/ia64/kernel/palinfo.c 		     proc.num, proc.den, bus.num, bus.den, itc.num, itc.den);
num               278 arch/ia64/kernel/time.c 		itc_ratio.num = 3;
num               292 arch/ia64/kernel/time.c 	itc_freq = (platform_base_freq*itc_ratio.num)/itc_ratio.den;
num               298 arch/ia64/kernel/time.c 	       itc_ratio.num, itc_ratio.den, itc_freq / 1000000, (itc_freq / 1000) % 1000);
num               301 arch/ia64/kernel/time.c 		itc_drift = platform_base_drift*itc_ratio.num/itc_ratio.den;
num               308 arch/ia64/kernel/time.c 	local_cpu_data->proc_freq = (platform_base_freq*proc_ratio.num)/proc_ratio.den;
num                32 arch/ia64/kernel/topology.c void arch_fix_phys_package_id(int num, u32 slot)
num                35 arch/ia64/kernel/topology.c 	if (cpu_data(num)->socket_id == -1)
num                36 arch/ia64/kernel/topology.c 		cpu_data(num)->socket_id = slot;
num                43 arch/ia64/kernel/topology.c int __ref arch_register_cpu(int num)
num                49 arch/ia64/kernel/topology.c 	if (can_cpei_retarget() || !is_cpu_cpei_target(num))
num                50 arch/ia64/kernel/topology.c 		sysfs_cpus[num].cpu.hotpluggable = 1;
num                51 arch/ia64/kernel/topology.c 	map_cpu_to_node(num, node_cpuid[num].nid);
num                52 arch/ia64/kernel/topology.c 	return register_cpu(&sysfs_cpus[num].cpu, num);
num                56 arch/ia64/kernel/topology.c void __ref arch_unregister_cpu(int num)
num                58 arch/ia64/kernel/topology.c 	unregister_cpu(&sysfs_cpus[num].cpu);
num                59 arch/ia64/kernel/topology.c 	unmap_cpu_from_node(num, cpu_to_node(num));
num                63 arch/ia64/kernel/topology.c static int __init arch_register_cpu(int num)
num                65 arch/ia64/kernel/topology.c 	return register_cpu(&sysfs_cpus[num].cpu, num);
num               323 arch/m68k/include/asm/bitops.h 	unsigned long num;
num               329 arch/m68k/include/asm/bitops.h 	while (!(num = ~*p++)) {
num               335 arch/m68k/include/asm/bitops.h 			      : "=d" (res) : "d" (num & -num));
num               353 arch/m68k/include/asm/bitops.h 		unsigned long num = ~*p++ & (~0UL << bit);
num               358 arch/m68k/include/asm/bitops.h 				      : "=d" (res) : "d" (num & -num));
num               378 arch/m68k/include/asm/bitops.h 	unsigned long num;
num               384 arch/m68k/include/asm/bitops.h 	while (!(num = *p++)) {
num               390 arch/m68k/include/asm/bitops.h 			      : "=d" (res) : "d" (num & -num));
num               408 arch/m68k/include/asm/bitops.h 		unsigned long num = *p++ & (~0UL << bit);
num               413 arch/m68k/include/asm/bitops.h 				      : "=d" (res) : "d" (num & -num));
num               130 arch/m68k/sun3/mmu_emu.c 	unsigned long seg, num;
num               149 arch/m68k/sun3/mmu_emu.c 	for(num = 0xf0; num <= 0xff; num++)
num               150 arch/m68k/sun3/mmu_emu.c 		pmeg_alloc[num] = 2;
num               166 arch/m68k/sun3/mmu_emu.c 	for (num=0, seg=0x0F800000; seg<0x10000000; seg+=16*PAGE_SIZE) {
num                96 arch/mips/alchemy/common/prom.c 		unsigned char num;
num               100 arch/mips/alchemy/common/prom.c 		num  = str2hexnum(*str++) << 4;
num               101 arch/mips/alchemy/common/prom.c 		num |= str2hexnum(*str++);
num               102 arch/mips/alchemy/common/prom.c 		ea[i] = num;
num                64 arch/mips/ar7/prom.c 	u8	num;
num                72 arch/mips/ar7/prom.c 	u8	num;
num               118 arch/mips/ar7/prom.c static char * __init lookup_psp_var_map(u8 num)
num               123 arch/mips/ar7/prom.c 		if (psp_var_map[i].num == num)
num               156 arch/mips/ar7/prom.c 		if ((chunks[i].num == 0xff) || ((i + chunks[i].len) > n))
num               159 arch/mips/ar7/prom.c 		if (chunks[i].num) {
num               160 arch/mips/ar7/prom.c 			name = lookup_psp_var_map(chunks[i].num);
num               186 arch/mips/boot/elf2ecoff.c static void convert_elf_phdrs(Elf32_Phdr * p, int num)
num               190 arch/mips/boot/elf2ecoff.c 	for (i = 0; i < num; i++, p++) {
num               203 arch/mips/boot/elf2ecoff.c static void convert_elf_shdrs(Elf32_Shdr * s, int num)
num               207 arch/mips/boot/elf2ecoff.c 	for (i = 0; i < num; i++, s++) {
num               251 arch/mips/boot/elf2ecoff.c static void convert_ecoff_esecs(struct scnhdr *s, int num)
num               255 arch/mips/boot/elf2ecoff.c 	for (i = 0; i < num; i++, s++) {
num               500 arch/mips/include/asm/bitops.h 	int num;
num               509 arch/mips/include/asm/bitops.h 		: "=r" (num)
num               512 arch/mips/include/asm/bitops.h 		return 31 - num;
num               522 arch/mips/include/asm/bitops.h 		: "=r" (num)
num               525 arch/mips/include/asm/bitops.h 		return 63 - num;
num               528 arch/mips/include/asm/bitops.h 	num = BITS_PER_LONG - 1;
num               532 arch/mips/include/asm/bitops.h 		num -= 32;
num               537 arch/mips/include/asm/bitops.h 		num -= 16;
num               541 arch/mips/include/asm/bitops.h 		num -= 8;
num               545 arch/mips/include/asm/bitops.h 		num -= 4;
num               549 arch/mips/include/asm/bitops.h 		num -= 2;
num               553 arch/mips/include/asm/bitops.h 		num -= 1;
num               554 arch/mips/include/asm/bitops.h 	return num;
num                17 arch/mips/include/asm/cpufeature.h static inline bool cpu_have_feature(unsigned int num)
num                19 arch/mips/include/asm/cpufeature.h 	return elf_hwcap & (1UL << num);
num                16 arch/mips/include/asm/kvm_para.h static inline unsigned long kvm_hypercall0(unsigned long num)
num                21 arch/mips/include/asm/kvm_para.h 	n = num;
num                30 arch/mips/include/asm/kvm_para.h static inline unsigned long kvm_hypercall1(unsigned long num,
num                37 arch/mips/include/asm/kvm_para.h 	n = num;
num                47 arch/mips/include/asm/kvm_para.h static inline unsigned long kvm_hypercall2(unsigned long num,
num                55 arch/mips/include/asm/kvm_para.h 	n = num;
num                66 arch/mips/include/asm/kvm_para.h static inline unsigned long kvm_hypercall3(unsigned long num,
num                75 arch/mips/include/asm/kvm_para.h 	n = num;
num               216 arch/mips/include/asm/mach-au1x00/gpio-au1300.h static inline int gpio_request_array(struct gpio *array, size_t num)
num               225 arch/mips/include/asm/mach-au1x00/gpio-au1300.h static inline void gpio_free_array(struct gpio *array, size_t num)
num               180 arch/mips/include/asm/netlogic/xlp-hal/pic.h #define PIC_IRT_TIMER_INDEX(num)	((num) + PIC_IRT_TIMER_0_INDEX)
num               193 arch/mips/include/asm/netlogic/xlp-hal/pic.h #define PIC_IRT_PCIE_MSIX_INDEX(num)	((num) + PIC_IRT_PCIE_MSIX_0_INDEX)
num               200 arch/mips/include/asm/netlogic/xlp-hal/pic.h #define PIC_IRT_PCIE_LINK_INDEX(num)	((num) + PIC_IRT_PCIE_LINK_0_INDEX)
num               203 arch/mips/include/asm/netlogic/xlp-hal/pic.h #define PIC_9XX_IRT_PCIE_LINK_INDEX(num) \
num               204 arch/mips/include/asm/netlogic/xlp-hal/pic.h 				((num) + PIC_9XX_IRT_PCIE_LINK_0_INDEX)
num               419 arch/mips/include/asm/octeon/cvmx-pemx-defs.h 		uint64_t num:6;
num               421 arch/mips/include/asm/octeon/cvmx-pemx-defs.h 		uint64_t num:6;
num                69 arch/mips/include/asm/sgialib.h extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
num                70 arch/mips/include/asm/sgialib.h extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
num               417 arch/mips/include/asm/sibyte/bcm1480_regs.h #define A_BCM1480_MAILBOX_REGISTER(num, reg, cpu) \
num               419 arch/mips/include/asm/sibyte/bcm1480_regs.h      (num * R_BCM1480_IMR_MAILBOX_NUM_SPACING) + \
num                84 arch/mips/include/asm/txx9/generic.h 		      int basenum, unsigned int num, int lowactive,
num                88 arch/mips/include/asm/txx9/generic.h void txx9_7segled_init(unsigned int num,
num                27 arch/mips/include/asm/txx9pio.h 		   unsigned int base, unsigned int num);
num                78 arch/mips/kernel/gpio_txx9.c 			  unsigned int base, unsigned int num)
num                84 arch/mips/kernel/gpio_txx9.c 	txx9_gpio_chip.ngpio = num;
num                32 arch/mips/kvm/hypcall.c static int kvm_mips_hypercall(struct kvm_vcpu *vcpu, unsigned long num,
num                42 arch/mips/kvm/hypcall.c 	unsigned long num, args[MAX_HYPCALL_ARGS];
num                45 arch/mips/kvm/hypcall.c 	num = vcpu->arch.gprs[2];	/* v0 */
num                51 arch/mips/kvm/hypcall.c 	return kvm_mips_hypercall(vcpu, num,
num               350 arch/mips/loongson64/loongson-3/smp.c 	int i = 0, num = 0; /* i: physical id, num: logical id */
num               361 arch/mips/loongson64/loongson-3/smp.c 			__cpu_number_map[i] = num;
num               362 arch/mips/loongson64/loongson-3/smp.c 			__cpu_logical_map[num] = i;
num               363 arch/mips/loongson64/loongson-3/smp.c 			set_cpu_possible(num, true);
num               364 arch/mips/loongson64/loongson-3/smp.c 			num++;
num               368 arch/mips/loongson64/loongson-3/smp.c 	pr_info("Detected %i available CPU(s)\n", num);
num               370 arch/mips/loongson64/loongson-3/smp.c 	while (num < loongson_sysconf.nr_cpus) {
num               371 arch/mips/loongson64/loongson-3/smp.c 		__cpu_logical_map[num] = -1;
num               372 arch/mips/loongson64/loongson-3/smp.c 		num++;
num               231 arch/mips/netlogic/xlp/nlm_hal.c 	uint64_t num, sysbase, clockbase;
num               267 arch/mips/netlogic/xlp/nlm_hal.c 	num = 1000000ULL * (400 * 3 + 100 * (ctrl_val1 & 0x3f));
num               269 arch/mips/netlogic/xlp/nlm_hal.c 	do_div(num, denom);
num               271 arch/mips/netlogic/xlp/nlm_hal.c 	return (unsigned int)num;
num               278 arch/mips/netlogic/xlp/nlm_hal.c 	uint64_t num, sysbase;
num               288 arch/mips/netlogic/xlp/nlm_hal.c 	num = 800000000ULL * pll_divf;
num               290 arch/mips/netlogic/xlp/nlm_hal.c 	do_div(num, denom);
num               292 arch/mips/netlogic/xlp/nlm_hal.c 	return (unsigned int)num;
num               143 arch/mips/pci/pci-mt7620.c 	u32 num = 0;
num               146 arch/mips/pci/pci-mt7620.c 		num = bus->number;
num               148 arch/mips/pci/pci-mt7620.c 	address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
num               175 arch/mips/pci/pci-mt7620.c 	u32 num = 0;
num               178 arch/mips/pci/pci-mt7620.c 		num = bus->number;
num               180 arch/mips/pci/pci-mt7620.c 	address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
num                94 arch/mips/pmcs-msp71xx/msp_prom.c 	unsigned char num = 0;
num                98 arch/mips/pmcs-msp71xx/msp_prom.c 			ea[index++] = num;
num                99 arch/mips/pmcs-msp71xx/msp_prom.c 			num = 0;
num               102 arch/mips/pmcs-msp71xx/msp_prom.c 			num = num << 4;
num               103 arch/mips/pmcs-msp71xx/msp_prom.c 			num |= str2hexnum(*str++);
num               108 arch/mips/pmcs-msp71xx/msp_prom.c 		ea[index++] = num;
num                49 arch/mips/rb532/prom.c 	char *num;
num                51 arch/mips/rb532/prom.c 	num = arg + strlen(tag);
num                52 arch/mips/rb532/prom.c 	return simple_strtoul(num, 0, 10);
num                54 arch/mips/sgi-ip32/ip32-setup.c 		unsigned char num;
num                58 arch/mips/sgi-ip32/ip32-setup.c 		num = str2hexnum(*str++) << 4;
num                59 arch/mips/sgi-ip32/ip32-setup.c 		num |= (str2hexnum(*str++));
num                60 arch/mips/sgi-ip32/ip32-setup.c 		ea[i] = num;
num               128 arch/mips/sibyte/bcm1480/smp.c 	int i, num;
num               134 arch/mips/sibyte/bcm1480/smp.c 	for (i = 1, num = 0; i < NR_CPUS; i++) {
num               137 arch/mips/sibyte/bcm1480/smp.c 			__cpu_number_map[i] = ++num;
num               138 arch/mips/sibyte/bcm1480/smp.c 			__cpu_logical_map[num] = i;
num               141 arch/mips/sibyte/bcm1480/smp.c 	printk(KERN_INFO "Detected %i available secondary CPU(s)\n", num);
num               117 arch/mips/sibyte/sb1250/smp.c 	int i, num;
num               123 arch/mips/sibyte/sb1250/smp.c 	for (i = 1, num = 0; i < NR_CPUS; i++) {
num               126 arch/mips/sibyte/sb1250/smp.c 			__cpu_number_map[i] = ++num;
num               127 arch/mips/sibyte/sb1250/smp.c 			__cpu_logical_map[num] = i;
num               130 arch/mips/sibyte/sb1250/smp.c 	printk(KERN_INFO "Detected %i available secondary CPU(s)\n", num);
num                88 arch/mips/sibyte/swarm/platform.c #define sb1250_dev_struct(num) \
num                89 arch/mips/sibyte/swarm/platform.c 	static struct resource sb1250_res##num = {		\
num                90 arch/mips/sibyte/swarm/platform.c 		.name = "SB1250 MAC " __stringify(num),		\
num                92 arch/mips/sibyte/swarm/platform.c 		.start = A_MAC_CHANNEL_BASE(num),	\
num                93 arch/mips/sibyte/swarm/platform.c 		.end = A_MAC_CHANNEL_BASE(num + 1) -1,	\
num                95 arch/mips/sibyte/swarm/platform.c 	static struct platform_device sb1250_dev##num = {	\
num                97 arch/mips/sibyte/swarm/platform.c 	.id = num,					\
num                98 arch/mips/sibyte/swarm/platform.c 	.resource = &sb1250_res##num,			\
num                20 arch/mips/txx9/generic/7segled.c void __init txx9_7segled_init(unsigned int num,
num                23 arch/mips/txx9/generic/7segled.c 	tx_7segled_num = num;
num               718 arch/mips/txx9/generic/setup.c 			     int basenum, unsigned int num, int lowactive,
num               745 arch/mips/txx9/generic/setup.c 	iocled->chip.ngpio = num;
num               754 arch/mips/txx9/generic/setup.c 	iocled->pdata.num_leds = num;
num               756 arch/mips/txx9/generic/setup.c 	for (i = 0; i < num; i++) {
num               782 arch/mips/txx9/generic/setup.c 			     int basenum, unsigned int num, int lowactive,
num               194 arch/mips/txx9/rbtx4939/setup.c 	unsigned int num;
num               203 arch/mips/txx9/rbtx4939/setup.c 	unsigned int num = led_dat->num;
num               207 arch/mips/txx9/rbtx4939/setup.c 	led_val[num] = (led_val[num] & 0x7f) | (value ? 0x80 : 0);
num               208 arch/mips/txx9/rbtx4939/setup.c 	writeb(led_val[num], rbtx4939_7seg_addr(num / 4, num % 4));
num               230 arch/mips/txx9/rbtx4939/setup.c 		led_dat->num = i;
num                65 arch/mips/vr41xx/common/giu.c 	unsigned int num;
num                77 arch/mips/vr41xx/common/giu.c 		num = ARRAY_SIZE(giu_50pins_pullupdown_resource);
num                83 arch/mips/vr41xx/common/giu.c 		num = ARRAY_SIZE(giu_36pins_resource);
num                88 arch/mips/vr41xx/common/giu.c 		num = ARRAY_SIZE(giu_48pins_resource);
num                95 arch/mips/vr41xx/common/giu.c 	retval = platform_device_add_resources(pdev, res, num);
num                66 arch/mips/vr41xx/common/rtc.c 	unsigned int num;
num                77 arch/mips/vr41xx/common/rtc.c 		num = ARRAY_SIZE(rtc_type1_resource);
num                83 arch/mips/vr41xx/common/rtc.c 		num = ARRAY_SIZE(rtc_type2_resource);
num                90 arch/mips/vr41xx/common/rtc.c 	retval = platform_device_add_resources(pdev, res, num);
num                67 arch/mips/vr41xx/common/siu.c 	unsigned int num;
num                79 arch/mips/vr41xx/common/siu.c 		num = ARRAY_SIZE(siu_type1_resource);
num                86 arch/mips/vr41xx/common/siu.c 		num = ARRAY_SIZE(siu_type2_resource);
num                93 arch/mips/vr41xx/common/siu.c 	retval = platform_device_add_resources(pdev, res, num);
num               154 arch/parisc/boot/compressed/misc.c static int print_num(unsigned long num, int base)
num               162 arch/parisc/boot/compressed/misc.c 		str[i--] = hex[num % base];
num               163 arch/parisc/boot/compressed/misc.c 		num = num / base;
num               164 arch/parisc/boot/compressed/misc.c 	} while (num);
num                11 arch/parisc/include/asm/eisa_bus.h extern void eisa_make_irq_level(int num);
num                12 arch/parisc/include/asm/eisa_bus.h extern void eisa_make_irq_edge(int num);
num               919 arch/parisc/kernel/drivers.c 	int num;
num               953 arch/parisc/kernel/drivers.c 	for (num = 0; num < sizeof(cache_info); num += sizeof(unsigned long)) {
num               954 arch/parisc/kernel/drivers.c 		if (((num % 5) == 0)) {
num               959 arch/parisc/kernel/drivers.c 			num?", ":"", *p++);
num               247 arch/parisc/kernel/pdt.c 	int num, ret;
num               277 arch/parisc/kernel/pdt.c 		num = pdt_status.pdt_entries - old_num_entries;
num               278 arch/parisc/kernel/pdt.c 		if (num <= 0)
num               287 arch/parisc/kernel/pdt.c 		if (num > MAX_PDT_ENTRIES) {
num               288 arch/parisc/kernel/pdt.c 			num = MAX_PDT_ENTRIES;
num               289 arch/parisc/kernel/pdt.c 			pdt_status.pdt_entries = old_num_entries + num;
num               307 arch/parisc/kernel/pdt.c 				num * sizeof(unsigned long),
num               320 arch/parisc/kernel/pdt.c 		while (num--) {
num               455 arch/parisc/kernel/ptrace.c static unsigned long get_reg(struct pt_regs *regs, int num)
num               457 arch/parisc/kernel/ptrace.c 	switch (num) {
num               458 arch/parisc/kernel/ptrace.c 	case RI(gr[0]) ... RI(gr[31]):	return regs->gr[num - RI(gr[0])];
num               459 arch/parisc/kernel/ptrace.c 	case RI(sr[0]) ... RI(sr[7]):	return regs->sr[num - RI(sr[0])];
num               488 arch/parisc/kernel/ptrace.c static void set_reg(struct pt_regs *regs, int num, unsigned long val)
num               490 arch/parisc/kernel/ptrace.c 	switch (num) {
num               503 arch/parisc/kernel/ptrace.c 			regs->gr[num - RI(gr[0])] = val;
num               508 arch/parisc/kernel/ptrace.c 			regs->iaoq[num - RI(iaoq[0])] = val | 3;
num               515 arch/parisc/kernel/ptrace.c 	case RI(sr[0]) ... RI(sr[7]):	return regs->sr[num - RI(sr[0])];
num                79 arch/powerpc/boot/stdio.c static char * number(char * str, unsigned long long num, int base, int size, int precision, int type)
num                94 arch/powerpc/boot/stdio.c 		if ((signed long long)num < 0) {
num                96 arch/powerpc/boot/stdio.c 			num = - (signed long long)num;
num               113 arch/powerpc/boot/stdio.c 	if (num == 0)
num               115 arch/powerpc/boot/stdio.c 	else while (num != 0) {
num               116 arch/powerpc/boot/stdio.c 		tmp[i++] = digits[do_div(num, base)];
num               149 arch/powerpc/boot/stdio.c 	unsigned long long num;
num               305 arch/powerpc/boot/stdio.c 			num = va_arg(args, unsigned long);
num               307 arch/powerpc/boot/stdio.c 				num = (signed long) num;
num               309 arch/powerpc/boot/stdio.c 			num = va_arg(args, unsigned long long);
num               311 arch/powerpc/boot/stdio.c 				num = (signed long long) num;
num               313 arch/powerpc/boot/stdio.c 			num = va_arg(args, size_t);
num               315 arch/powerpc/boot/stdio.c 			num = (unsigned short) va_arg(args, int);
num               317 arch/powerpc/boot/stdio.c 				num = (signed short) num;
num               319 arch/powerpc/boot/stdio.c 			num = va_arg(args, unsigned int);
num               321 arch/powerpc/boot/stdio.c 				num = (signed int) num;
num               323 arch/powerpc/boot/stdio.c 		str = number(str, num, base, field_width, precision, flags);
num                28 arch/powerpc/include/asm/cpufeature.h static inline bool cpu_have_feature(unsigned int num)
num                30 arch/powerpc/include/asm/cpufeature.h 	if (num < 32)
num                31 arch/powerpc/include/asm/cpufeature.h 		return !!(cur_cpu_spec->cpu_user_features & 1UL << num);
num                33 arch/powerpc/include/asm/cpufeature.h 		return !!(cur_cpu_spec->cpu_user_features2 & 1UL << (num - 32));
num                70 arch/powerpc/include/asm/fsl_hcalls.h #define FH_HCALL_TOKEN(num)		_EV_HCALL_TOKEN(EV_FSL_VENDOR_ID, num)
num               168 arch/powerpc/include/asm/iommu.h 			int num,
num               174 arch/powerpc/include/asm/iommu.h 			int num,
num               177 arch/powerpc/include/asm/iommu.h 			int num);
num               328 arch/powerpc/include/asm/kvm_book3s.h static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val)
num               330 arch/powerpc/include/asm/kvm_book3s.h 	vcpu->arch.regs.gpr[num] = val;
num               333 arch/powerpc/include/asm/kvm_book3s.h static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num)
num               335 arch/powerpc/include/asm/kvm_book3s.h 	return vcpu->arch.regs.gpr[num];
num                26 arch/powerpc/include/asm/kvm_booke.h static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val)
num                28 arch/powerpc/include/asm/kvm_booke.h 	vcpu->arch.regs.gpr[num] = val;
num                31 arch/powerpc/include/asm/kvm_booke.h static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num)
num                33 arch/powerpc/include/asm/kvm_booke.h 	return vcpu->arch.regs.gpr[num];
num               208 arch/powerpc/include/asm/lv1call.h #define LV1_CALL(name, in, out, num)                               \
num                20 arch/powerpc/include/asm/mpic_msgr.h 	int num;
num                22 arch/powerpc/include/asm/mpic_timer.h 	unsigned int		num;
num                20 arch/powerpc/include/asm/msi_bitmap.h int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num);
num                22 arch/powerpc/include/asm/msi_bitmap.h 			    unsigned int num);
num                31 arch/powerpc/include/asm/pnv-pci.h int pnv_cxl_alloc_hwirqs(struct pci_dev *dev, int num);
num                32 arch/powerpc/include/asm/pnv-pci.h void pnv_cxl_release_hwirqs(struct pci_dev *dev, int hwirq, int num);
num                40 arch/powerpc/include/asm/pnv-pci.h 			       struct pci_dev *dev, int num);
num                75 arch/powerpc/include/uapi/asm/epapr_hcalls.h #define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num))
num                80 arch/powerpc/include/uapi/asm/kvm_para.h #define KVM_HCALL_TOKEN(num)     _EV_HCALL_TOKEN(EV_KVM_VENDOR_ID, num)
num                24 arch/powerpc/kernel/module_32.c static unsigned int count_relocs(const Elf32_Rela *rela, unsigned int num)
num                31 arch/powerpc/kernel/module_32.c 	for (i = 0; i < num; i++)
num               185 arch/powerpc/kernel/module_64.c static unsigned int count_relocs(const Elf64_Rela *rela, unsigned int num)
num               193 arch/powerpc/kernel/module_64.c 	for (i = 0; i < num; i++)
num                68 arch/powerpc/kernel/ptrace.c #define GPR_OFFSET_NAME(num)	\
num                69 arch/powerpc/kernel/ptrace.c 	{.name = STR(r##num), .offset = offsetof(struct pt_regs, gpr[num])}, \
num                70 arch/powerpc/kernel/ptrace.c 	{.name = STR(gpr##num), .offset = offsetof(struct pt_regs, gpr[num])}
num                78 arch/powerpc/kernel/smp-tbsync.c static int start_contest(int cmd, long offset, int num)
num                87 arch/powerpc/kernel/smp-tbsync.c 	for (i = -3; i < num; ) {
num               144 arch/powerpc/mm/mmu_decl.h extern void loadcam_multi(int first_idx, int num, int tmp_idx);
num                71 arch/powerpc/mm/ptdump/8xx.c 		.num	= ARRAY_SIZE(flag_array),
num                74 arch/powerpc/mm/ptdump/8xx.c 		.num	= ARRAY_SIZE(flag_array),
num                77 arch/powerpc/mm/ptdump/8xx.c 		.num	= ARRAY_SIZE(flag_array),
num                80 arch/powerpc/mm/ptdump/8xx.c 		.num	= ARRAY_SIZE(flag_array),
num               109 arch/powerpc/mm/ptdump/book3s64.c 		.num	= ARRAY_SIZE(flag_array),
num               112 arch/powerpc/mm/ptdump/book3s64.c 		.num	= ARRAY_SIZE(flag_array),
num               115 arch/powerpc/mm/ptdump/book3s64.c 		.num	= ARRAY_SIZE(flag_array),
num               118 arch/powerpc/mm/ptdump/book3s64.c 		.num	= ARRAY_SIZE(flag_array),
num               156 arch/powerpc/mm/ptdump/hashpagetable.c 		*flag, u64 pte, int num)
num               160 arch/powerpc/mm/ptdump/hashpagetable.c 	for (i = 0; i < num; i++, flag++) {
num               115 arch/powerpc/mm/ptdump/ptdump.c 		*flag, u64 pte, int num)
num               119 arch/powerpc/mm/ptdump/ptdump.c 	for (i = 0; i < num; i++, flag++) {
num               228 arch/powerpc/mm/ptdump/ptdump.c 					  pg_level[st->level].num);
num               390 arch/powerpc/mm/ptdump/ptdump.c 			for (j = 0; j < pg_level[i].num; j++)
num                15 arch/powerpc/mm/ptdump/ptdump.h 	size_t num;
num                69 arch/powerpc/mm/ptdump/shared.c 		.num	= ARRAY_SIZE(flag_array),
num                72 arch/powerpc/mm/ptdump/shared.c 		.num	= ARRAY_SIZE(flag_array),
num                75 arch/powerpc/mm/ptdump/shared.c 		.num	= ARRAY_SIZE(flag_array),
num                78 arch/powerpc/mm/ptdump/shared.c 		.num	= ARRAY_SIZE(flag_array),
num                69 arch/powerpc/platforms/44x/fsp2.c static void show_plbopb_regs(u32 base, int num)
num                71 arch/powerpc/platforms/44x/fsp2.c 	pr_err("\nPLBOPB Bridge %d:\n", num);
num                24 arch/powerpc/platforms/cell/spufs/coredump.c static ssize_t do_coredump_read(int num, struct spu_context *ctx, void *buffer,
num                30 arch/powerpc/platforms/cell/spufs/coredump.c 	if (spufs_coredump_read[num].read)
num                31 arch/powerpc/platforms/cell/spufs/coredump.c 		return spufs_coredump_read[num].read(ctx, buffer, size, off);
num                33 arch/powerpc/platforms/cell/spufs/coredump.c 	data = spufs_coredump_read[num].get(ctx);
num              1897 arch/powerpc/platforms/cell/spufs/file.c 	u64 num;
num              1900 arch/powerpc/platforms/cell/spufs/file.c 		num = ctx->spu->number;
num              1902 arch/powerpc/platforms/cell/spufs/file.c 		num = (unsigned int)-1;
num              1904 arch/powerpc/platforms/cell/spufs/file.c 	return num;
num              1057 arch/powerpc/platforms/powermac/feature.c 		const u32 *num = of_get_property(np, "reg", NULL);
num              1059 arch/powerpc/platforms/powermac/feature.c 		if (num == NULL || rst == NULL)
num              1061 arch/powerpc/platforms/powermac/feature.c 		if (param == *num) {
num              1503 arch/powerpc/platforms/powermac/feature.c 		const u32 *num = of_get_property(np, "reg", NULL);
num              1505 arch/powerpc/platforms/powermac/feature.c 		if (num == NULL || rst == NULL)
num              1507 arch/powerpc/platforms/powermac/feature.c 		if (param == *num) {
num               125 arch/powerpc/platforms/powernv/npu-dma.c 		int num);
num               127 arch/powerpc/platforms/powernv/npu-dma.c static long pnv_npu_set_window(struct iommu_table_group *table_group, int num,
num               138 arch/powerpc/platforms/powernv/npu-dma.c 	int num2 = (num == 0) ? 1 : 0;
num               162 arch/powerpc/platforms/powernv/npu-dma.c 	pnv_pci_link_table_and_group(phb->hose->node, num,
num               168 arch/powerpc/platforms/powernv/npu-dma.c static long pnv_npu_unset_window(struct iommu_table_group *table_group, int num)
num               175 arch/powerpc/platforms/powernv/npu-dma.c 	if (!npe->table_group.tables[num])
num               190 arch/powerpc/platforms/powernv/npu-dma.c 	pnv_pci_unlink_table_and_group(npe->table_group.tables[num],
num               276 arch/powerpc/platforms/powernv/npu-dma.c 		int num, __u32 page_shift, __u64 window_size, __u32 levels,
num               288 arch/powerpc/platforms/powernv/npu-dma.c 			&npucomp->pe[0]->table_group, num, page_shift,
num               293 arch/powerpc/platforms/powernv/npu-dma.c 		int num, struct iommu_table *tbl)
num               307 arch/powerpc/platforms/powernv/npu-dma.c 				num, tbl);
num               320 arch/powerpc/platforms/powernv/npu-dma.c 					&pe->table_group, num);
num               325 arch/powerpc/platforms/powernv/npu-dma.c 		table_group->tables[num] = iommu_tce_table_get(tbl);
num               332 arch/powerpc/platforms/powernv/npu-dma.c 		int num)
num               342 arch/powerpc/platforms/powernv/npu-dma.c 		WARN_ON(npucomp->table_group.tables[num] !=
num               343 arch/powerpc/platforms/powernv/npu-dma.c 				table_group->tables[num]);
num               344 arch/powerpc/platforms/powernv/npu-dma.c 		if (!npucomp->table_group.tables[num])
num               350 arch/powerpc/platforms/powernv/npu-dma.c 		ret = pe->table_group.ops->unset_window(&pe->table_group, num);
num               359 arch/powerpc/platforms/powernv/npu-dma.c 			if (!npucomp->table_group.tables[num])
num               366 arch/powerpc/platforms/powernv/npu-dma.c 					num, table_group->tables[num]);
num               370 arch/powerpc/platforms/powernv/npu-dma.c 	} else if (table_group->tables[num]) {
num               371 arch/powerpc/platforms/powernv/npu-dma.c 		iommu_tce_table_put(table_group->tables[num]);
num               372 arch/powerpc/platforms/powernv/npu-dma.c 		table_group->tables[num] = NULL;
num                38 arch/powerpc/platforms/powernv/pci-cxl.c int pnv_cxl_alloc_hwirqs(struct pci_dev *dev, int num)
num                42 arch/powerpc/platforms/powernv/pci-cxl.c 	int hwirq = msi_bitmap_alloc_hwirqs(&phb->msi_bmp, num);
num                53 arch/powerpc/platforms/powernv/pci-cxl.c void pnv_cxl_release_hwirqs(struct pci_dev *dev, int hwirq, int num)
num                58 arch/powerpc/platforms/powernv/pci-cxl.c 	msi_bitmap_free_hwirqs(&phb->msi_bmp, hwirq - phb->msi_base, num);
num                83 arch/powerpc/platforms/powernv/pci-cxl.c 			       struct pci_dev *dev, int num)
num                92 arch/powerpc/platforms/powernv/pci-cxl.c 	for (i = 1; i < CXL_IRQ_RANGES && num; i++) {
num                93 arch/powerpc/platforms/powernv/pci-cxl.c 		try = num;
num               107 arch/powerpc/platforms/powernv/pci-cxl.c 		num -= try;
num               109 arch/powerpc/platforms/powernv/pci-cxl.c 	if (num)
num               387 arch/powerpc/platforms/powernv/pci-ioda-tce.c long pnv_pci_link_table_and_group(int node, int num,
num               404 arch/powerpc/platforms/powernv/pci-ioda-tce.c 	table_group->tables[num] = iommu_tce_table_get(tbl);
num              1440 arch/powerpc/platforms/powernv/pci-ioda.c 		int num);
num              2296 arch/powerpc/platforms/powernv/pci-ioda.c 		int num, struct iommu_table *tbl)
num              2308 arch/powerpc/platforms/powernv/pci-ioda.c 		num, start_addr, start_addr + win_size - 1,
num              2317 arch/powerpc/platforms/powernv/pci-ioda.c 			(pe->pe_number << 1) + num,
num              2327 arch/powerpc/platforms/powernv/pci-ioda.c 	pnv_pci_link_table_and_group(phb->hose->node, num,
num              2363 arch/powerpc/platforms/powernv/pci-ioda.c 		int num, __u32 page_shift, __u64 window_size, __u32 levels,
num              2369 arch/powerpc/platforms/powernv/pci-ioda.c 	__u64 bus_offset = num ? pe->tce_bypass_base : table_group->tce32_start;
num              2475 arch/powerpc/platforms/powernv/pci-ioda.c 		int num)
num              2482 arch/powerpc/platforms/powernv/pci-ioda.c 	pe_info(pe, "Removing DMA window #%d\n", num);
num              2485 arch/powerpc/platforms/powernv/pci-ioda.c 			(pe->pe_number << 1) + num,
num              2493 arch/powerpc/platforms/powernv/pci-ioda.c 	pnv_pci_unlink_table_and_group(table_group->tables[num], table_group);
num              2534 arch/powerpc/platforms/powernv/pci-ioda.c 		int num, __u32 page_shift, __u64 window_size, __u32 levels,
num              2538 arch/powerpc/platforms/powernv/pci-ioda.c 			num, page_shift, window_size, levels, true, ptbl);
num              3419 arch/powerpc/platforms/powernv/pci-ioda.c 				       int num)
num              3427 arch/powerpc/platforms/powernv/pci-ioda.c 	pe_info(pe, "Removing DMA window #%d\n", num);
num              3443 arch/powerpc/platforms/powernv/pci-ioda.c 	pnv_pci_unlink_table_and_group(table_group->tables[num], table_group);
num               241 arch/powerpc/platforms/powernv/pci.h extern long pnv_pci_link_table_and_group(int node, int num,
num                 9 arch/powerpc/platforms/ps3/exports.c #define LV1_CALL(name, in, out, num)                          \
num               169 arch/powerpc/sysdev/fsl_gtm.c 	int num = tmr - &gtm->timers[0];
num               209 arch/powerpc/sysdev/fsl_gtm.c 	clrsetbits_8(tmr->gtcfr, ~(GTCFR_STP(num) | GTCFR_RST(num)),
num               210 arch/powerpc/sysdev/fsl_gtm.c 				 GTCFR_STP(num) | GTCFR_RST(num));
num               212 arch/powerpc/sysdev/fsl_gtm.c 	setbits8(tmr->gtcfr, GTCFR_STP(num));
num               223 arch/powerpc/sysdev/fsl_gtm.c 	clrbits8(tmr->gtcfr, GTCFR_STP(num));
num               305 arch/powerpc/sysdev/fsl_gtm.c 	int num = tmr - &gtm->timers[0];
num               310 arch/powerpc/sysdev/fsl_gtm.c 	setbits8(tmr->gtcfr, GTCFR_STP(num));
num                44 arch/powerpc/sysdev/mpic_msgr.c 	_mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num));
num                86 arch/powerpc/sysdev/mpic_msgr.c 	_mpic_msgr_mer_write(msgr, mer | (1 << msgr->num));
num               231 arch/powerpc/sysdev/mpic_msgr.c 		msgr->num = i;
num                44 arch/powerpc/sysdev/mpic_timer.c #define TIMER_OFFSET(num)		(1 << (TIMERS_PER_GROUP - 1 - num))
num               114 arch/powerpc/sysdev/mpic_timer.c 	unsigned int num;
num               123 arch/powerpc/sysdev/mpic_timer.c 			num = casc_priv->timer_num;
num               124 arch/powerpc/sysdev/mpic_timer.c 			priv->timer[num].cascade_handle = casc_priv;
num               129 arch/powerpc/sysdev/mpic_timer.c 			return &priv->timer[num];
num               139 arch/powerpc/sysdev/mpic_timer.c 		unsigned int num)
num               147 arch/powerpc/sysdev/mpic_timer.c 	casc_priv = priv->timer[num].cascade_handle;
num               157 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num].gtccr, 0);
num               158 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num].gtbcr, tmp_ticks | TIMER_STOP);
num               160 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num - 1].gtccr, 0);
num               161 arch/powerpc/sysdev/mpic_timer.c 	out_be32(&priv->regs[num - 1].gtbcr, rem_ticks);
num               184 arch/powerpc/sysdev/mpic_timer.c 	ret = set_cascade_timer(priv, ticks, allocated_timer->num);
num               197 arch/powerpc/sysdev/mpic_timer.c 	unsigned int num;
num               220 arch/powerpc/sysdev/mpic_timer.c 			num = TIMERS_PER_GROUP - 1 - i;
num               226 arch/powerpc/sysdev/mpic_timer.c 				out_be32(&priv->regs[num].gtbcr,
num               228 arch/powerpc/sysdev/mpic_timer.c 				out_be32(&priv->regs[num].gtccr, 0);
num               229 arch/powerpc/sysdev/mpic_timer.c 				priv->timer[num].cascade_handle = NULL;
num               231 arch/powerpc/sysdev/mpic_timer.c 				return &priv->timer[num];
num               250 arch/powerpc/sysdev/mpic_timer.c 			struct timer_group_priv, timer[handle->num]);
num               252 arch/powerpc/sysdev/mpic_timer.c 	clrbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
num               265 arch/powerpc/sysdev/mpic_timer.c 			struct timer_group_priv, timer[handle->num]);
num               268 arch/powerpc/sysdev/mpic_timer.c 	setbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
num               270 arch/powerpc/sysdev/mpic_timer.c 	casc_priv = priv->timer[handle->num].cascade_handle;
num               272 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num].gtccr, 0);
num               273 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num - 1].gtccr, 0);
num               275 arch/powerpc/sysdev/mpic_timer.c 		out_be32(&priv->regs[handle->num].gtccr, 0);
num               290 arch/powerpc/sysdev/mpic_timer.c 			struct timer_group_priv, timer[handle->num]);
num               296 arch/powerpc/sysdev/mpic_timer.c 	casc_priv = priv->timer[handle->num].cascade_handle;
num               298 arch/powerpc/sysdev/mpic_timer.c 		tmp_ticks = in_be32(&priv->regs[handle->num].gtccr);
num               301 arch/powerpc/sysdev/mpic_timer.c 		tmp_ticks = in_be32(&priv->regs[handle->num - 1].gtccr);
num               304 arch/powerpc/sysdev/mpic_timer.c 		ticks = in_be32(&priv->regs[handle->num].gtccr);
num               323 arch/powerpc/sysdev/mpic_timer.c 			struct timer_group_priv, timer[handle->num]);
num               330 arch/powerpc/sysdev/mpic_timer.c 	casc_priv = priv->timer[handle->num].cascade_handle;
num               332 arch/powerpc/sysdev/mpic_timer.c 	free_irq(priv->timer[handle->num].irq, priv->timer[handle->num].dev);
num               341 arch/powerpc/sysdev/mpic_timer.c 		priv->timer[handle->num].cascade_handle = NULL;
num               343 arch/powerpc/sysdev/mpic_timer.c 		priv->idle |= TIMER_OFFSET(handle->num);
num               454 arch/powerpc/sysdev/mpic_timer.c 			priv->timer[offset + j].num = offset + j;
num                14 arch/powerpc/sysdev/msi_bitmap.c int msi_bitmap_alloc_hwirqs(struct msi_bitmap *bmp, int num)
num                17 arch/powerpc/sysdev/msi_bitmap.c 	int offset, order = get_count_order(num);
num                22 arch/powerpc/sysdev/msi_bitmap.c 					    num, (1 << order) - 1);
num                26 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_set(bmp->bitmap, offset, num);
num                29 arch/powerpc/sysdev/msi_bitmap.c 	pr_debug("msi_bitmap: allocated 0x%x at offset 0x%x\n", num, offset);
num                39 arch/powerpc/sysdev/msi_bitmap.c 			    unsigned int num)
num                44 arch/powerpc/sysdev/msi_bitmap.c 		 num, offset);
num                47 arch/powerpc/sysdev/msi_bitmap.c 	bitmap_clear(bmp->bitmap, offset, num);
num               512 arch/powerpc/sysdev/xive/common.c 	int cpu, first, num, i;
num               515 arch/powerpc/sysdev/xive/common.c 	num = min_t(int, cpumask_weight(mask), nr_cpu_ids);
num               516 arch/powerpc/sysdev/xive/common.c 	first = fuzz % num;
num              2563 arch/powerpc/xmon/xmon.c 	unsigned long num;
num              2574 arch/powerpc/xmon/xmon.c 	if (scanhex(&num))
num              2575 arch/powerpc/xmon/xmon.c 		dump_one_paca(num);
num              2623 arch/powerpc/xmon/xmon.c static void dump_one_xive_irq(u32 num, struct irq_data *d)
num              2625 arch/powerpc/xmon/xmon.c 	xmon_xive_get_irq_config(num, d);
num              2649 arch/powerpc/xmon/xmon.c 	unsigned long num;
num              2662 arch/powerpc/xmon/xmon.c 		if (scanhex(&num))
num              2663 arch/powerpc/xmon/xmon.c 			dump_one_xive_irq(num, NULL);
num              2671 arch/powerpc/xmon/xmon.c 	if (scanhex(&num))
num              2672 arch/powerpc/xmon/xmon.c 		dump_one_xive(num);
num              4105 arch/powerpc/xmon/xmon.c static void dump_spu_ls(unsigned long num, int subcmd)
num              4112 arch/powerpc/xmon/xmon.c 		ls_addr = (unsigned long)spu_info[num].spu->local_store;
num              4117 arch/powerpc/xmon/xmon.c 		printf("*** Error: accessing spu info for spu %ld\n", num);
num              4125 arch/powerpc/xmon/xmon.c 		addr = spu_info[num].dump_addr;
num              4144 arch/powerpc/xmon/xmon.c 	spu_info[num].dump_addr = addr;
num              4149 arch/powerpc/xmon/xmon.c 	static unsigned long num = 0;
num              4166 arch/powerpc/xmon/xmon.c 		scanhex(&num);
num              4167 arch/powerpc/xmon/xmon.c 		if (num >= XMON_NUM_SPUS || !spu_info[num].spu) {
num              4174 arch/powerpc/xmon/xmon.c 			dump_spu_fields(spu_info[num].spu);
num              4177 arch/powerpc/xmon/xmon.c 			dump_spu_ls(num, subcmd);
num                73 arch/riscv/kernel/module-sections.c static void count_max_entries(Elf_Rela *relas, int num,
num                78 arch/riscv/kernel/module-sections.c 	for (i = 0; i < num; i++) {
num                24 arch/s390/boot/als.c 	int i, num;
num                27 arch/s390/boot/als.c 		num = (val >> (16 - 4 * i)) & 0xf;
num                28 arch/s390/boot/als.c 		if (num >= 10)
num                29 arch/s390/boot/als.c 			num += 7;
num                30 arch/s390/boot/als.c 		*str++ = '0' + num;
num                52 arch/s390/include/asm/airq.h unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num);
num                53 arch/s390/include/asm/airq.h void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num);
num                50 arch/s390/include/asm/alternative.h #define b_altinstr(num)	"664"#num
num                51 arch/s390/include/asm/alternative.h #define e_altinstr(num)	"665"#num
num                56 arch/s390/include/asm/alternative.h #define altinstr_len(num)	e_altinstr(num)"b-"b_altinstr(num)"b"
num                57 arch/s390/include/asm/alternative.h #define oldinstr_pad_len(num) \
num                58 arch/s390/include/asm/alternative.h 	"-(((" altinstr_len(num) ")-(" oldinstr_len ")) > 0) * " \
num                59 arch/s390/include/asm/alternative.h 	"((" altinstr_len(num) ")-(" oldinstr_len "))"
num                70 arch/s390/include/asm/alternative.h #define OLDINSTR_PADDING(oldinstr, num)					\
num                71 arch/s390/include/asm/alternative.h 	".if " oldinstr_pad_len(num) " > 6\n"				\
num                74 arch/s390/include/asm/alternative.h 	"\t.fill (" oldinstr_pad_len(num) " - (6620b-662b)) / 2, 2, 0x0700\n" \
num                76 arch/s390/include/asm/alternative.h 	"\t.fill " oldinstr_pad_len(num) " / 6, 6, 0xc0040000\n"	\
num                77 arch/s390/include/asm/alternative.h 	"\t.fill " oldinstr_pad_len(num) " %% 6 / 4, 4, 0x47000000\n"	\
num                78 arch/s390/include/asm/alternative.h 	"\t.fill " oldinstr_pad_len(num) " %% 6 %% 4 / 2, 2, 0x0700\n"	\
num                81 arch/s390/include/asm/alternative.h #define OLDINSTR(oldinstr, num)						\
num                83 arch/s390/include/asm/alternative.h 	OLDINSTR_PADDING(oldinstr, num)					\
num                97 arch/s390/include/asm/alternative.h #define ALTINSTR_ENTRY(facility, num)					\
num                99 arch/s390/include/asm/alternative.h 	"\t.long " b_altinstr(num)"b - .\n"	/* alt instruction */	\
num               102 arch/s390/include/asm/alternative.h 	"\t.byte " altinstr_len(num) "\n"	/* alt instruction len */
num               104 arch/s390/include/asm/alternative.h #define ALTINSTR_REPLACEMENT(altinstr, num)	/* replacement */	\
num               105 arch/s390/include/asm/alternative.h 	b_altinstr(num)":\n\t" altinstr "\n" e_altinstr(num) ":\n"	\
num               106 arch/s390/include/asm/alternative.h 	INSTR_LEN_SANITY_CHECK(altinstr_len(num))
num                19 arch/s390/include/asm/qdio.h #define QDIO_BUFNR(num)			((num) & QDIO_MAX_BUFFERS_MASK)
num               351 arch/s390/kernel/perf_cpum_sf.c static void sfb_account_allocs(unsigned long num, struct hw_perf_event *hwc)
num               354 arch/s390/kernel/perf_cpum_sf.c 	num = min_t(unsigned long, num, sfb_max_limit(hwc) - SFB_ALLOC_REG(hwc));
num               355 arch/s390/kernel/perf_cpum_sf.c 	if (num)
num               356 arch/s390/kernel/perf_cpum_sf.c 		SFB_ALLOC_REG(hwc) += num;
num               359 arch/s390/kernel/perf_cpum_sf.c static void sfb_init_allocs(unsigned long num, struct hw_perf_event *hwc)
num               362 arch/s390/kernel/perf_cpum_sf.c 	sfb_account_allocs(num, hwc);
num               461 arch/s390/kernel/perf_cpum_sf.c 	unsigned long ratio, num;
num               477 arch/s390/kernel/perf_cpum_sf.c 	num = compute_sfb_extent(ratio, cpuhw->sfb.num_sdb);
num               478 arch/s390/kernel/perf_cpum_sf.c 	if (num)
num               479 arch/s390/kernel/perf_cpum_sf.c 		sfb_account_allocs(num, hwc);
num               482 arch/s390/kernel/perf_cpum_sf.c 			    " num=%lu\n", OVERFLOW_REG(hwc), ratio, num);
num               500 arch/s390/kernel/perf_cpum_sf.c 	unsigned long num, num_old;
num               503 arch/s390/kernel/perf_cpum_sf.c 	num = sfb_pending_allocs(sfb, hwc);
num               504 arch/s390/kernel/perf_cpum_sf.c 	if (!num)
num               518 arch/s390/kernel/perf_cpum_sf.c 	rc = realloc_sampling_buffer(sfb, num, GFP_ATOMIC);
num               526 arch/s390/kernel/perf_cpum_sf.c 				    num, sfb->num_sdb - num_old,
num                36 arch/s390/kernel/perf_event.c 	int num = 0;
num                39 arch/s390/kernel/perf_event.c 		num += PERF_CPUM_CF_MAX_CTR;
num                41 arch/s390/kernel/perf_event.c 		num += PERF_CPUM_SF_MAX_CTR;
num                43 arch/s390/kernel/perf_event.c 	return num;
num                97 arch/s390/kernel/processor.c int cpu_have_feature(unsigned int num)
num                99 arch/s390/kernel/processor.c 	return elf_hwcap & (1UL << num);
num                30 arch/sh/drivers/pci/pci-sh5.c static u32 __init r2p2(u32 num)
num                33 arch/sh/drivers/pci/pci-sh5.c 	u32 tmp = num;
num                35 arch/sh/drivers/pci/pci-sh5.c 	if (num == 0)
num                47 arch/sh/drivers/pci/pci-sh5.c 	if (tmp != num)
num                56 arch/sh/include/asm/ptrace.h #define REGS_OFFSET_NAME(num)	\
num                57 arch/sh/include/asm/ptrace.h 	{.name = __stringify(r##num), .offset = offsetof(struct pt_regs, regs[num])}
num                58 arch/sh/include/asm/ptrace.h #define TREGS_OFFSET_NAME(num)	\
num                59 arch/sh/include/asm/ptrace.h 	{.name = __stringify(tr##num), .offset = offsetof(struct pt_regs, tregs[num])}
num                46 arch/sh/kernel/cpu/sh4a/smp-shx3.c 	int i, num;
num                60 arch/sh/kernel/cpu/sh4a/smp-shx3.c 	for (i = 1, num = 0; i < NR_CPUS; i++) {
num                62 arch/sh/kernel/cpu/sh4a/smp-shx3.c 		__cpu_number_map[i] = ++num;
num                63 arch/sh/kernel/cpu/sh4a/smp-shx3.c 		__cpu_logical_map[num] = i;
num                66 arch/sh/kernel/cpu/sh4a/smp-shx3.c         printk(KERN_INFO "Detected %i available secondary CPU(s)\n", num);
num                60 arch/sh/mm/extable_64.c 		 const size_t num,
num                69 arch/sh/mm/extable_64.c 	return bsearch(&value, base, num,
num                20 arch/sparc/include/asm/head_32.h #define BAD_TRAP(num) \
num                21 arch/sparc/include/asm/head_32.h         rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
num                47 arch/sparc/include/asm/head_32.h #define KGDB_TRAP(num)                  \
num                48 arch/sparc/include/asm/head_32.h 	mov num, %l7;                   \
num                53 arch/sparc/include/asm/head_32.h #define KGDB_TRAP(num) \
num                54 arch/sparc/include/asm/head_32.h 	BAD_TRAP(num)
num                93 arch/sparc/kernel/pci_sun4v.c 	long num;
num               101 arch/sparc/kernel/pci_sun4v.c 			num = pci_sun4v_iommu_map(devhandle,
num               106 arch/sparc/kernel/pci_sun4v.c 			if (unlikely(num < 0)) {
num               112 arch/sparc/kernel/pci_sun4v.c 						   num);
num               123 arch/sparc/kernel/pci_sun4v.c 						  &num);
num               133 arch/sparc/kernel/pci_sun4v.c 		entry += num;
num               134 arch/sparc/kernel/pci_sun4v.c 		npages -= num;
num               135 arch/sparc/kernel/pci_sun4v.c 		pglist += num;
num               298 arch/sparc/kernel/pci_sun4v.c 	unsigned long num, flags;
num               304 arch/sparc/kernel/pci_sun4v.c 			num = pci_sun4v_iommu_demap(devhandle,
num               309 arch/sparc/kernel/pci_sun4v.c 						    entry, npages, &num);
num               315 arch/sparc/kernel/pci_sun4v.c 		entry += num;
num               316 arch/sparc/kernel/pci_sun4v.c 		npages -= num;
num               325 arch/sparc/kernel/process_64.c 	int i, num;
num               332 arch/sparc/kernel/process_64.c 	num = 1;
num               335 arch/sparc/kernel/process_64.c 		num = 4;
num               337 arch/sparc/kernel/process_64.c 	for (i = 0; i < num; i++) {
num                81 arch/sparc/kernel/smp_32.c 	int cpu, num = 0;
num                84 arch/sparc/kernel/smp_32.c 		num++;
num                89 arch/sparc/kernel/smp_32.c 		num, bogosum/(500000/HZ),
num                18 arch/sparc/mm/extable.c 	       const size_t num,
num                41 arch/sparc/mm/extable.c 	for (i = 0; i < num; i++) {
num                57 arch/sparc/mm/extable.c 	for (i = 0; i < (num - 1); i++) {
num                68 arch/sparc/vdso/vclock_gettime.c 	register long num __asm__("g1") = __NR_clock_gettime;
num                72 arch/sparc/vdso/vclock_gettime.c 	__asm__ __volatile__(SYSCALL_STRING : "=r" (o0) : "r" (num),
num                79 arch/sparc/vdso/vclock_gettime.c 	register long num __asm__("g1") = __NR_gettimeofday;
num                83 arch/sparc/vdso/vclock_gettime.c 	__asm__ __volatile__(SYSCALL_STRING : "=r" (o0) : "r" (num),
num               425 arch/um/drivers/line.c int line_setup(char **conf, unsigned int num, char **def,
num               444 arch/um/drivers/line.c 		if (n >= num) {
num               458 arch/um/drivers/line.c int line_config(struct line *lines, unsigned int num, char *str,
num               474 arch/um/drivers/line.c 	if (n >= num) {
num               482 arch/um/drivers/line.c int line_get_config(char *name, struct line *lines, unsigned int num, char *str,
num               495 arch/um/drivers/line.c 	if ((dev < 0) || (dev >= num)) {
num               532 arch/um/drivers/line.c int line_remove(struct line *lines, unsigned int num, int n, char **error_out)
num               534 arch/um/drivers/line.c 	if (n >= num) {
num                82 arch/um/drivers/vhost_user.h 	u32 num;
num                99 arch/um/drivers/vhost_user.h 	u32 num;
num               516 arch/um/drivers/virtio_uml.c 		.payload.mem_regions.num = 1,
num               564 arch/um/drivers/virtio_uml.c 		msg.payload.mem_regions.num++;
num               572 arch/um/drivers/virtio_uml.c 			       msg.payload.mem_regions.num);
num               576 arch/um/drivers/virtio_uml.c 				      u32 request, u32 index, u32 num)
num               582 arch/um/drivers/virtio_uml.c 		.payload.vring_state.num = num,
num               589 arch/um/drivers/virtio_uml.c 				    u32 index, u32 num)
num               592 arch/um/drivers/virtio_uml.c 					  index, num);
num               804 arch/um/drivers/virtio_uml.c 	int num = MAX_SUPPORTED_QUEUE_SIZE;
num               815 arch/um/drivers/virtio_uml.c 	vq = vring_create_virtqueue(index, num, PAGE_SIZE, vdev, true, true,
num               822 arch/um/drivers/virtio_uml.c 	num = virtqueue_get_vring_size(vq);
num               833 arch/um/drivers/virtio_uml.c 	rc = vhost_user_set_vring_num(vu_dev, index, num);
num               381 arch/x86/boot/compressed/acpi.c 	int num = 0;
num               408 arch/x86/boot/compressed/acpi.c 				immovable_mem[num].start = ma->base_address;
num               409 arch/x86/boot/compressed/acpi.c 				immovable_mem[num].size = ma->length;
num               410 arch/x86/boot/compressed/acpi.c 				num++;
num               413 arch/x86/boot/compressed/acpi.c 			if (num >= MAX_NUMNODES*2) {
num               420 arch/x86/boot/compressed/acpi.c 	return num;
num               470 arch/x86/boot/compressed/kaslr.c 	int num;
num               489 arch/x86/boot/compressed/kaslr.c 	slot_area.num = (region->size - image_size) /
num               492 arch/x86/boot/compressed/kaslr.c 	if (slot_area.num > 0) {
num               494 arch/x86/boot/compressed/kaslr.c 		slot_max += slot_area.num;
num               564 arch/x86/boot/compressed/kaslr.c 		if (slot >= slot_areas[i].num) {
num               565 arch/x86/boot/compressed/kaslr.c 			slot -= slot_areas[i].num;
num                41 arch/x86/boot/printf.c static char *number(char *str, long num, int base, int size, int precision,
num                61 arch/x86/boot/printf.c 		if (num < 0) {
num                63 arch/x86/boot/printf.c 			num = -num;
num                80 arch/x86/boot/printf.c 	if (num == 0)
num                83 arch/x86/boot/printf.c 		while (num != 0)
num                84 arch/x86/boot/printf.c 			tmp[i++] = (digits[__do_div(num, base)] | locase);
num               116 arch/x86/boot/printf.c 	unsigned long num;
num               268 arch/x86/boot/printf.c 			num = va_arg(args, unsigned long);
num               270 arch/x86/boot/printf.c 			num = (unsigned short)va_arg(args, int);
num               272 arch/x86/boot/printf.c 				num = (short)num;
num               274 arch/x86/boot/printf.c 			num = va_arg(args, int);
num               276 arch/x86/boot/printf.c 			num = va_arg(args, unsigned int);
num               277 arch/x86/boot/printf.c 		str = number(str, num, base, field_width, precision, flags);
num               721 arch/x86/events/core.c 			    int num, int wmin, int wmax, int gpmax)
num               726 arch/x86/events/core.c 	sched->max_events	= num;
num               731 arch/x86/events/core.c 	for (idx = 0; idx < num; idx++) {
num               738 arch/x86/events/core.c 	sched->state.unassigned	= num;
num               580 arch/x86/events/intel/lbr.c 	int num = x86_pmu.lbr_nr;
num               588 arch/x86/events/intel/lbr.c 	for (i = 0; i < num; i++) {
num              1213 arch/x86/events/intel/p4.c 	unsigned int i, thread, num;
num              1221 arch/x86/events/intel/p4.c 	for (i = 0, num = n; i < n; i++, num--) {
num              1287 arch/x86/events/intel/p4.c 	return num ? -EINVAL : 0;
num                98 arch/x86/include/asm/alternative.h #define b_replacement(num)	"664"#num
num                99 arch/x86/include/asm/alternative.h #define e_replacement(num)	"665"#num
num               105 arch/x86/include/asm/alternative.h #define alt_rlen(num)		e_replacement(num)"f-"b_replacement(num)"f"
num               107 arch/x86/include/asm/alternative.h #define OLDINSTR(oldinstr, num)						\
num               111 arch/x86/include/asm/alternative.h 	".skip -(((" alt_rlen(num) ")-(" alt_slen ")) > 0) * "		\
num               112 arch/x86/include/asm/alternative.h 		"((" alt_rlen(num) ")-(" alt_slen ")),0x90\n"		\
num               145 arch/x86/include/asm/alternative.h #define ALTINSTR_ENTRY(feature, num)					      \
num               147 arch/x86/include/asm/alternative.h 	" .long " b_replacement(num)"f - .\n"		/* new instruction */ \
num               150 arch/x86/include/asm/alternative.h 	" .byte " alt_rlen(num) "\n"			/* replacement len */ \
num               153 arch/x86/include/asm/alternative.h #define ALTINSTR_REPLACEMENT(newinstr, feature, num)	/* replacement */	\
num               154 arch/x86/include/asm/alternative.h 	"# ALT: replacement " #num "\n"						\
num               155 arch/x86/include/asm/alternative.h 	b_replacement(num)":\n\t" newinstr "\n" e_replacement(num) ":\n"
num                72 arch/x86/include/asm/amd_nb.h 	u16 num;
num                30 arch/x86/include/asm/cpu.h extern int arch_register_cpu(int num);
num                42 arch/x86/include/asm/msr.h 	unsigned int num;
num                18 arch/x86/include/asm/syscalls.h long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
num               156 arch/x86/include/asm/topology.h static inline void arch_fix_phys_package_id(int num, u32 slot)
num               458 arch/x86/include/asm/uv/uv_hub.h 	int i, num = uv_hub_info->gr_table_len;
num               461 arch/x86/include/asm/uv/uv_hub.h 		for (i = 0; i < num; i++, gr++) {
num                61 arch/x86/include/asm/xen/hypervisor.h void xen_arch_register_cpu(int num);
num                62 arch/x86/include/asm/xen/hypervisor.h void xen_arch_unregister_cpu(int num);
num                99 arch/x86/kernel/amd_nb.c 	return amd_northbridges.num;
num               111 arch/x86/kernel/amd_nb.c 	return (node < amd_northbridges.num) ? &amd_northbridges.nb[node] : NULL;
num               131 arch/x86/kernel/amd_nb.c 	if (node >= amd_northbridges.num)
num               187 arch/x86/kernel/amd_nb.c 	if (node >= amd_northbridges.num)
num               231 arch/x86/kernel/amd_nb.c 	if (amd_northbridges.num)
num               269 arch/x86/kernel/amd_nb.c 	amd_northbridges.num = misc_count;
num               272 arch/x86/kernel/amd_nb.c 	for (i = 0; i < amd_northbridges.num; i++) {
num               439 arch/x86/kernel/amd_nb.c 	flush_words = kmalloc_array(amd_northbridges.num, sizeof(u32), GFP_KERNEL);
num               446 arch/x86/kernel/amd_nb.c 	for (i = 0; i != amd_northbridges.num; i++)
num               467 arch/x86/kernel/amd_nb.c 	for (i = 0; i < amd_northbridges.num; i++) {
num               472 arch/x86/kernel/amd_nb.c 	for (i = 0; i < amd_northbridges.num; i++) {
num               506 arch/x86/kernel/amd_nb.c 	if (!amd_northbridges.num)
num                59 arch/x86/kernel/apb_timer.c 	unsigned int				num;
num                69 arch/x86/kernel/apb_timer.c 	return apbt_virt_address + adev->num * APBTMRS_REG_SIZE;
num               146 arch/x86/kernel/apb_timer.c 	adev->num = smp_processor_id();
num               330 arch/x86/kernel/apb_timer.c 		adev->num = i;
num                41 arch/x86/kernel/apic/apic_flat_64.c 	unsigned long num, id;
num                43 arch/x86/kernel/apic/apic_flat_64.c 	num = smp_processor_id();
num                44 arch/x86/kernel/apic/apic_flat_64.c 	id = 1UL << num;
num              1224 arch/x86/kernel/apic/vector.c 	int num = -1;
num              1229 arch/x86/kernel/apic/vector.c 		get_option(&arg, &num);
num              1230 arch/x86/kernel/apic/vector.c 		if (num >= 0)
num              1231 arch/x86/kernel/apic/vector.c 			show_lapic = num;
num              1319 arch/x86/kernel/apic/x2apic_uv_x.c 	int num, nump;
num              1337 arch/x86/kernel/apic/x2apic_uv_x.c 	num = maxsock - minsock + 1;
num              1338 arch/x86/kernel/apic/x2apic_uv_x.c 	bytes = num * sizeof(_socket_to_node[0]);
num              1347 arch/x86/kernel/apic/x2apic_uv_x.c 	for (i = 0; i < num; i++)
num              1415 arch/x86/kernel/apic/x2apic_uv_x.c 		for (i = 0; i < num; i++)
num              1418 arch/x86/kernel/apic/x2apic_uv_x.c 		if (i >= num) {
num              1425 arch/x86/kernel/apic/x2apic_uv_x.c 		for (i = 0; i < num; i++)
num              1429 arch/x86/kernel/apic/x2apic_uv_x.c 		if (i >= num) {
num               561 arch/x86/kernel/cpu/mtrr/cleanup.c 	int num[MTRR_NUM_TYPES + 1];
num               564 arch/x86/kernel/cpu/mtrr/cleanup.c 	memset(num, 0, sizeof(num));
num               572 arch/x86/kernel/cpu/mtrr/cleanup.c 		num[type]++;
num               576 arch/x86/kernel/cpu/mtrr/cleanup.c 	if (!num[MTRR_TYPE_UNCACHABLE])
num               580 arch/x86/kernel/cpu/mtrr/cleanup.c 	if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] !=
num               581 arch/x86/kernel/cpu/mtrr/cleanup.c 	    num_var_ranges - num[MTRR_NUM_TYPES])
num               883 arch/x86/kernel/cpu/mtrr/cleanup.c 	int num[MTRR_NUM_TYPES + 1];
num               924 arch/x86/kernel/cpu/mtrr/cleanup.c 	memset(num, 0, sizeof(num));
num               932 arch/x86/kernel/cpu/mtrr/cleanup.c 		num[type]++;
num               936 arch/x86/kernel/cpu/mtrr/cleanup.c 	if (!num[MTRR_TYPE_WRBACK])
num               940 arch/x86/kernel/cpu/mtrr/cleanup.c 	if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] !=
num               941 arch/x86/kernel/cpu/mtrr/cleanup.c 		num_var_ranges - num[MTRR_NUM_TYPES])
num                31 arch/x86/kernel/early-quirks.c static void __init fix_hypertransport_config(int num, int slot, int func)
num                40 arch/x86/kernel/early-quirks.c 	htcfg = read_pci_config(num, slot, func, 0x68);
num                50 arch/x86/kernel/early-quirks.c 			write_pci_config(num, slot, func, 0x68, htcfg);
num                57 arch/x86/kernel/early-quirks.c static void __init via_bugs(int  num, int slot, int func)
num                80 arch/x86/kernel/early-quirks.c static void __init nvidia_bugs(int num, int slot, int func)
num                88 arch/x86/kernel/early-quirks.c 	if (num)
num               116 arch/x86/kernel/early-quirks.c static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
num               121 arch/x86/kernel/early-quirks.c 	b = read_pci_config_byte(num, slot, func, 0xac);
num               123 arch/x86/kernel/early-quirks.c 	write_pci_config_byte(num, slot, func, 0xac, b);
num               125 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x70);
num               127 arch/x86/kernel/early-quirks.c 	write_pci_config(num, slot, func, 0x70, d);
num               129 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x8);
num               134 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func)
num               142 arch/x86/kernel/early-quirks.c 	d = ati_ixp4x0_rev(num, slot, func);
num               160 arch/x86/kernel/early-quirks.c static u32 __init ati_sbx00_rev(int num, int slot, int func)
num               164 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x8);
num               170 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func)
num               174 arch/x86/kernel/early-quirks.c 	rev = ati_sbx00_rev(num, slot, func);
num               190 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x64);
num               202 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func)
num               206 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func)
num               211 arch/x86/kernel/early-quirks.c static void __init intel_remapping_check(int num, int slot, int func)
num               216 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
num               217 arch/x86/kernel/early-quirks.c 	revision = read_pci_config_byte(num, slot, func, PCI_REVISION_ID);
num               298 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_base(int num, int slot, int func,
num               304 arch/x86/kernel/early-quirks.c static resource_size_t __init i845_stolen_base(int num, int slot, int func,
num               310 arch/x86/kernel/early-quirks.c static resource_size_t __init i85x_stolen_base(int num, int slot, int func,
num               316 arch/x86/kernel/early-quirks.c static resource_size_t __init i865_stolen_base(int num, int slot, int func,
num               326 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_base(int num, int slot, int func,
num               336 arch/x86/kernel/early-quirks.c 	bsm = read_pci_config(num, slot, func, INTEL_BSM);
num               341 arch/x86/kernel/early-quirks.c static resource_size_t __init gen11_stolen_base(int num, int slot, int func,
num               346 arch/x86/kernel/early-quirks.c 	bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0);
num               348 arch/x86/kernel/early-quirks.c 	bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32;
num               353 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_size(int num, int slot, int func)
num               374 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_size(int num, int slot, int func)
num               403 arch/x86/kernel/early-quirks.c static resource_size_t __init gen6_stolen_size(int num, int slot, int func)
num               408 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
num               414 arch/x86/kernel/early-quirks.c static resource_size_t __init gen8_stolen_size(int num, int slot, int func)
num               419 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
num               425 arch/x86/kernel/early-quirks.c static resource_size_t __init chv_stolen_size(int num, int slot, int func)
num               430 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
num               446 arch/x86/kernel/early-quirks.c static resource_size_t __init gen9_stolen_size(int num, int slot, int func)
num               451 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
num               463 arch/x86/kernel/early-quirks.c 	resource_size_t (*stolen_size)(int num, int slot, int func);
num               464 arch/x86/kernel/early-quirks.c 	resource_size_t (*stolen_base)(int num, int slot, int func,
num               559 arch/x86/kernel/early-quirks.c intel_graphics_stolen(int num, int slot, int func,
num               565 arch/x86/kernel/early-quirks.c 	size = early_ops->stolen_size(num, slot, func);
num               566 arch/x86/kernel/early-quirks.c 	base = early_ops->stolen_base(num, slot, func, size);
num               584 arch/x86/kernel/early-quirks.c static void __init intel_graphics_quirks(int num, int slot, int func)
num               590 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
num               600 arch/x86/kernel/early-quirks.c 		intel_graphics_stolen(num, slot, func, early_ops);
num               606 arch/x86/kernel/early-quirks.c static void __init force_disable_hpet(int num, int slot, int func)
num               681 arch/x86/kernel/early-quirks.c 	void (*f)(int num, int slot, int func);
num               737 arch/x86/kernel/early-quirks.c static int __init check_dev_quirk(int num, int slot, int func)
num               746 arch/x86/kernel/early-quirks.c 	class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE);
num               751 arch/x86/kernel/early-quirks.c 	vendor = read_pci_config_16(num, slot, func, PCI_VENDOR_ID);
num               753 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
num               764 arch/x86/kernel/early-quirks.c 					early_qrk[i].f(num, slot, func);
num               769 arch/x86/kernel/early-quirks.c 	type = read_pci_config_byte(num, slot, func,
num               773 arch/x86/kernel/early-quirks.c 		sec = read_pci_config_byte(num, slot, func, PCI_SECONDARY_BUS);
num               774 arch/x86/kernel/early-quirks.c 		if (sec > num)
num                25 arch/x86/kernel/hpet.c 	unsigned int			num;
num               217 arch/x86/kernel/hpet.c 			hpet_reserve_timer(&hd, hc->num);
num               297 arch/x86/kernel/hpet.c 	unsigned int channel = clockevent_to_channel(evt)->num;
num               328 arch/x86/kernel/hpet.c 	unsigned int channel = clockevent_to_channel(evt)->num;
num               341 arch/x86/kernel/hpet.c 	unsigned int channel = clockevent_to_channel(evt)->num;
num               361 arch/x86/kernel/hpet.c 	unsigned int channel = clockevent_to_channel(evt)->num;
num               477 arch/x86/kernel/hpet.c 	cfg = hpet_readl(HPET_Tn_CFG(hc->num));
num               479 arch/x86/kernel/hpet.c 	hpet_writel(cfg, HPET_Tn_CFG(hc->num));
num               487 arch/x86/kernel/hpet.c 	cfg = hpet_readl(HPET_Tn_CFG(hc->num));
num               489 arch/x86/kernel/hpet.c 	hpet_writel(cfg, HPET_Tn_CFG(hc->num));
num               494 arch/x86/kernel/hpet.c 	hpet_writel(msg->data, HPET_Tn_ROUTE(hc->num));
num               495 arch/x86/kernel/hpet.c 	hpet_writel(msg->address_lo, HPET_Tn_ROUTE(hc->num) + 4);
num               517 arch/x86/kernel/hpet.c 		pr_info("Spurious interrupt HPET channel %d\n", hc->num);
num               622 arch/x86/kernel/hpet.c 		irq = hpet_assign_irq(hpet_domain, hc, hc->num);
num               877 arch/x86/kernel/hpet.c 		hc->num = i;
num                27 arch/x86/kernel/ioport.c long ksys_ioperm(unsigned long from, unsigned long num, int turn_on)
num                33 arch/x86/kernel/ioport.c 	if ((from + num <= from) || (from + num > IO_BITMAP_BITS))
num                75 arch/x86/kernel/ioport.c 		bitmap_clear(t->io_bitmap_ptr, from, num);
num                77 arch/x86/kernel/ioport.c 		bitmap_set(t->io_bitmap_ptr, from, num);
num               101 arch/x86/kernel/ioport.c SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
num               103 arch/x86/kernel/ioport.c 	return ksys_ioperm(from, num, turn_on);
num               475 arch/x86/kernel/pci-calgary_64.c static inline void __iomem * busno_to_bbar(unsigned char num)
num               477 arch/x86/kernel/pci-calgary_64.c 	return bus_info[num].bbar;
num               480 arch/x86/kernel/pci-calgary_64.c static inline int busno_to_phbid(unsigned char num)
num               482 arch/x86/kernel/pci-calgary_64.c 	return bus_info[num].phbid;
num               485 arch/x86/kernel/pci-calgary_64.c static inline unsigned long split_queue_offset(unsigned char num)
num               487 arch/x86/kernel/pci-calgary_64.c 	size_t idx = busno_to_phbid(num);
num               492 arch/x86/kernel/pci-calgary_64.c static inline unsigned long tar_offset(unsigned char num)
num               494 arch/x86/kernel/pci-calgary_64.c 	size_t idx = busno_to_phbid(num);
num               499 arch/x86/kernel/pci-calgary_64.c static inline unsigned long phb_offset(unsigned char num)
num               501 arch/x86/kernel/pci-calgary_64.c 	size_t idx = busno_to_phbid(num);
num               107 arch/x86/kernel/topology.c int arch_register_cpu(int num)
num               109 arch/x86/kernel/topology.c 	struct cpuinfo_x86 *c = &cpu_data(num);
num               128 arch/x86/kernel/topology.c 	if (num == 0 && cpu0_hotpluggable) {
num               141 arch/x86/kernel/topology.c 	if (num || cpu0_hotpluggable)
num               142 arch/x86/kernel/topology.c 		per_cpu(cpu_devices, num).cpu.hotpluggable = 1;
num               144 arch/x86/kernel/topology.c 	return register_cpu(&per_cpu(cpu_devices, num).cpu, num);
num               148 arch/x86/kernel/topology.c void arch_unregister_cpu(int num)
num               150 arch/x86/kernel/topology.c 	unregister_cpu(&per_cpu(cpu_devices, num).cpu);
num               155 arch/x86/kernel/topology.c static int __init arch_register_cpu(int num)
num               157 arch/x86/kernel/topology.c 	return register_cpu(&per_cpu(cpu_devices, num).cpu, num);
num               155 arch/x86/math-emu/fpu_trig.c 	long num = *arg;
num               159 arch/x86/math-emu/fpu_trig.c 	if (num == 0) {
num               164 arch/x86/math-emu/fpu_trig.c 	if (num > 0) {
num               167 arch/x86/math-emu/fpu_trig.c 		num = -num;
num               171 arch/x86/math-emu/fpu_trig.c 	dest->sigh = num;
num                33 arch/x86/mm/amdtopology.c 	int num;
num                35 arch/x86/mm/amdtopology.c 	for (num = 0; num < 32; num++) {
num                38 arch/x86/mm/amdtopology.c 		header = read_pci_config(0, num, 0, 0x00);
num                44 arch/x86/mm/amdtopology.c 		header = read_pci_config(0, num, 1, 0x00);
num                49 arch/x86/mm/amdtopology.c 		return num;
num                91 arch/x86/mm/init.c __ref void *alloc_low_pages(unsigned int num)
num                99 arch/x86/mm/init.c 		order = get_order((unsigned long)num << PAGE_SHIFT);
num               103 arch/x86/mm/init.c 	if ((pgt_buf_end + num) > pgt_buf_top || !can_use_brk_pgt) {
num               110 arch/x86/mm/init.c 					PAGE_SIZE * num , PAGE_SIZE);
num               113 arch/x86/mm/init.c 			memblock_reserve(ret, PAGE_SIZE * num);
num               115 arch/x86/mm/init.c 			ret = __pa(extend_brk(PAGE_SIZE * num, PAGE_SIZE));
num               123 arch/x86/mm/init.c 		pgt_buf_end += num;
num               128 arch/x86/mm/init.c 	for (i = 0; i < num; i++) {
num                 5 arch/x86/mm/mm_internal.h void *alloc_low_pages(unsigned int num);
num               186 arch/x86/platform/intel-mid/sfi.c 	int num, i;
num               191 arch/x86/platform/intel-mid/sfi.c 	num = SFI_GET_NUM_ENTRIES(sb, struct sfi_gpio_table_entry);
num               194 arch/x86/platform/intel-mid/sfi.c 	gpio_table = kmemdup(pentry, num * sizeof(*pentry), GFP_KERNEL);
num               197 arch/x86/platform/intel-mid/sfi.c 	gpio_num_entry = num;
num               200 arch/x86/platform/intel-mid/sfi.c 	for (i = 0; i < num; i++, pentry++)
num               469 arch/x86/platform/intel-mid/sfi.c 	int num, i, ret;
num               474 arch/x86/platform/intel-mid/sfi.c 	num = SFI_GET_NUM_ENTRIES(sb, struct sfi_device_table_entry);
num               477 arch/x86/platform/intel-mid/sfi.c 	for (i = 0; i < num; i++, pentry++) {
num                66 arch/x86/platform/sfi/sfi.c 	int i, num;
num                73 arch/x86/platform/sfi/sfi.c 	num = SFI_GET_NUM_ENTRIES(sb, struct sfi_apic_table_entry);
num                76 arch/x86/platform/sfi/sfi.c 	for (i = 0; i < num; i++) {
num                40 arch/x86/power/cpu.c 	struct saved_msr *end = msr + ctxt->saved_msrs.num;
num                51 arch/x86/power/cpu.c 	struct saved_msr *end = msr + ctxt->saved_msrs.num;
num               397 arch/x86/power/cpu.c static int msr_build_context(const u32 *msr_id, const int num)
num               404 arch/x86/power/cpu.c 	total_num = saved_msrs->num + num;
num               418 arch/x86/power/cpu.c 		       sizeof(struct saved_msr) * saved_msrs->num);
num               423 arch/x86/power/cpu.c 	for (i = saved_msrs->num, j = 0; i < total_num; i++, j++) {
num               428 arch/x86/power/cpu.c 	saved_msrs->num   = total_num;
num               358 arch/x86/xen/enlighten.c void xen_arch_register_cpu(int num)
num               360 arch/x86/xen/enlighten.c 	arch_register_cpu(num);
num               364 arch/x86/xen/enlighten.c void xen_arch_unregister_cpu(int num)
num               366 arch/x86/xen/enlighten.c 	arch_unregister_cpu(num);
num              1231 block/partitions/ldm.c 	int rec, num, group;
num              1242 block/partitions/ldm.c 	num   = get_unaligned_be16(data + 0x0E);
num              1243 block/partitions/ldm.c 	if ((num < 1) || (num > 4)) {
num              1244 block/partitions/ldm.c 		ldm_error ("A VBLK claims to have %d parts.", num);
num              1247 block/partitions/ldm.c 	if (rec >= num) {
num              1248 block/partitions/ldm.c 		ldm_error("REC value (%d) exceeds NUM value (%d)", rec, num);
num              1258 block/partitions/ldm.c 	f = kmalloc (sizeof (*f) + size*num, GFP_KERNEL);
num              1265 block/partitions/ldm.c 	f->num   = num;
num              1267 block/partitions/ldm.c 	f->map   = 0xFF << num;
num              1271 block/partitions/ldm.c 	if (rec >= f->num) {
num              1272 block/partitions/ldm.c 		ldm_error("REC value (%d) exceeds NUM value (%d)", rec, f->num);
num              1334 block/partitions/ldm.c 		if (!ldm_ldmdb_add (f->data, f->num*ldb->vm.vblk_size, ldb))
num                93 block/partitions/ldm.h 	u8		num;		/* Total number of records */
num                72 block/sed-opal.c 	int num;
num               739 block/sed-opal.c 	if (n >= resp->num) {
num               741 block/sed-opal.c 			 n, resp->num);
num               908 block/sed-opal.c 	resp->num = num_entries;
num               988 block/sed-opal.c 	if (resp->num < 5)
num               991 block/sed-opal.c 	tok = response_get_token(resp, resp->num - 5);
num               995 block/sed-opal.c 	tok = response_get_token(resp, resp->num - 1);
num               999 block/sed-opal.c 	return response_get_u64(resp, resp->num - 4);
num               836 crypto/algapi.c int crypto_attr_u32(struct rtattr *rta, u32 *num)
num               848 crypto/algapi.c 	*num = nu32->num;
num               153 crypto/algboss.c 			param->attrs[i].nu32.data.num =
num               237 drivers/acpi/acpi_pad.c static void set_power_saving_task_num(unsigned int num)
num               239 drivers/acpi/acpi_pad.c 	if (num > ps_tsk_num) {
num               240 drivers/acpi/acpi_pad.c 		while (ps_tsk_num < num) {
num               244 drivers/acpi/acpi_pad.c 	} else if (num < ps_tsk_num) {
num               245 drivers/acpi/acpi_pad.c 		while (ps_tsk_num > num)
num               268 drivers/acpi/acpi_pad.c 	unsigned long num;
num               269 drivers/acpi/acpi_pad.c 	if (kstrtoul(buf, 0, &num))
num               271 drivers/acpi/acpi_pad.c 	if (num < 1 || num >= 100)
num               274 drivers/acpi/acpi_pad.c 	round_robin_time = num;
num               291 drivers/acpi/acpi_pad.c 	unsigned long num;
num               292 drivers/acpi/acpi_pad.c 	if (kstrtoul(buf, 0, &num))
num               294 drivers/acpi/acpi_pad.c 	if (num < 1 || num >= 100)
num               297 drivers/acpi/acpi_pad.c 	idle_pct = num;
num               314 drivers/acpi/acpi_pad.c 	unsigned long num;
num               315 drivers/acpi/acpi_pad.c 	if (kstrtoul(buf, 0, &num))
num               318 drivers/acpi/acpi_pad.c 	acpi_pad_idle_cpus(num);
num               370 drivers/acpi/acpi_pad.c 	int num = -1;
num               373 drivers/acpi/acpi_pad.c 		return num;
num               376 drivers/acpi/acpi_pad.c 		return num;
num               384 drivers/acpi/acpi_pad.c 		num = package->package.elements[1].integer.value;
num               387 drivers/acpi/acpi_pad.c 	return num;
num               447 drivers/acpi/battery.c 			   const struct acpi_offsets *offsets, int num)
num               453 drivers/acpi/battery.c 	for (i = 0; i < num; ++i) {
num               281 drivers/acpi/dock.c static void dock_event(struct dock_station *ds, u32 event, int num)
num               288 drivers/acpi/dock.c 	if (num == UNDOCK_EVENT)
num               297 drivers/acpi/dock.c 	if (num == DOCK_EVENT)
num               303 drivers/acpi/dock.c 	if (num != DOCK_EVENT)
num               934 drivers/ata/ahci_imx.c 				const struct reg_property *prop, size_t num)
num               940 drivers/ata/ahci_imx.c 	for (i = 0; i < num; i++, prop++) {
num              2293 drivers/ata/libata-scsi.c 	int num;
num              2296 drivers/ata/libata-scsi.c 	num = 4;
num              2299 drivers/ata/libata-scsi.c 	rbuf[num + 0] = 2;
num              2300 drivers/ata/libata-scsi.c 	rbuf[num + 3] = ATA_ID_SERNO_LEN;
num              2301 drivers/ata/libata-scsi.c 	num += 4;
num              2302 drivers/ata/libata-scsi.c 	ata_id_string(args->id, (unsigned char *) rbuf + num,
num              2304 drivers/ata/libata-scsi.c 	num += ATA_ID_SERNO_LEN;
num              2308 drivers/ata/libata-scsi.c 	rbuf[num + 0] = 2;
num              2309 drivers/ata/libata-scsi.c 	rbuf[num + 1] = 1;
num              2310 drivers/ata/libata-scsi.c 	rbuf[num + 3] = sat_model_serial_desc_len;
num              2311 drivers/ata/libata-scsi.c 	num += 4;
num              2312 drivers/ata/libata-scsi.c 	memcpy(rbuf + num, "ATA     ", 8);
num              2313 drivers/ata/libata-scsi.c 	num += 8;
num              2314 drivers/ata/libata-scsi.c 	ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_PROD,
num              2316 drivers/ata/libata-scsi.c 	num += ATA_ID_PROD_LEN;
num              2317 drivers/ata/libata-scsi.c 	ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_SERNO,
num              2319 drivers/ata/libata-scsi.c 	num += ATA_ID_SERNO_LEN;
num              2324 drivers/ata/libata-scsi.c 		rbuf[num + 0] = 1;
num              2325 drivers/ata/libata-scsi.c 		rbuf[num + 1] = 3;
num              2326 drivers/ata/libata-scsi.c 		rbuf[num + 3] = ATA_ID_WWN_LEN;
num              2327 drivers/ata/libata-scsi.c 		num += 4;
num              2328 drivers/ata/libata-scsi.c 		ata_id_string(args->id, (unsigned char *) rbuf + num,
num              2330 drivers/ata/libata-scsi.c 		num += ATA_ID_WWN_LEN;
num              2332 drivers/ata/libata-scsi.c 	rbuf[3] = num - 4;    /* page len (assume less than 256 bytes) */
num                46 drivers/atm/firestream.c static int num=0x5a;
num               303 drivers/atm/firestream.c module_param(num, int, 0);
num              1753 drivers/atm/firestream.c 	write_fs (dev, CALPRESCALE, 0x01010101 * num);
num              1761 drivers/atm/firestream.c 		  | (num  * CELLOSCONF_COPK)  /* Changed from 0xff to 0x5a */
num              1762 drivers/atm/firestream.c 		  | (num  * CELLOSCONF_COST));/* after a hint from Hang. 
num                58 drivers/base/component.c 	size_t num;
num               104 drivers/base/component.c 	for (i = 0; i < match->num; i++) {
num               192 drivers/base/component.c 	for (i = 0; i < match->num; i++) {
num               223 drivers/base/component.c 	for (i = 0; i < master->match->num; i++)
num               299 drivers/base/component.c 	for (i = 0; i < match->num; i++) {
num               315 drivers/base/component.c 	struct component_match *match, size_t num)
num               319 drivers/base/component.c 	if (match->alloc == num)
num               322 drivers/base/component.c 	new = kmalloc_array(num, sizeof(*new), GFP_KERNEL);
num               328 drivers/base/component.c 					    min(match->num, num));
num               332 drivers/base/component.c 	match->alloc = num;
num               362 drivers/base/component.c 	if (match->num == match->alloc) {
num               373 drivers/base/component.c 	match->compare[match->num].compare = compare;
num               374 drivers/base/component.c 	match->compare[match->num].compare_typed = compare_typed;
num               375 drivers/base/component.c 	match->compare[match->num].release = release;
num               376 drivers/base/component.c 	match->compare[match->num].data = compare_data;
num               377 drivers/base/component.c 	match->compare[match->num].component = NULL;
num               378 drivers/base/component.c 	match->num++;
num               446 drivers/base/component.c 		for (i = 0; i < match->num; i++) {
num               476 drivers/base/component.c 	ret = component_match_realloc(dev, match, match->num);
num               562 drivers/base/component.c 	for (i = master->match->num; i--; )
num               646 drivers/base/component.c 	for (i = 0; i < master->match->num; i++)
num               366 drivers/base/cpu.c int register_cpu(struct cpu *cpu, int num)
num               370 drivers/base/cpu.c 	cpu->node_id = cpu_to_node(num);
num               372 drivers/base/cpu.c 	cpu->dev.id = num;
num               376 drivers/base/cpu.c 	cpu->dev.offline = !cpu_online(num);
num               377 drivers/base/cpu.c 	cpu->dev.of_node = of_get_cpu_node(num, NULL);
num               390 drivers/base/cpu.c 	per_cpu(cpu_sys_devices, num) = &cpu->dev;
num               391 drivers/base/cpu.c 	register_cpu_under_node(num, cpu_to_node(num));
num               617 drivers/base/node.c static int register_node(struct node *node, int num)
num               621 drivers/base/node.c 	node->dev.id = num;
num                50 drivers/base/platform.c 				       unsigned int type, unsigned int num)
num                57 drivers/base/platform.c 		if (type == resource_type(r) && num-- == 0)
num                84 drivers/base/platform.c static int __platform_get_irq(struct platform_device *dev, unsigned int num)
num                88 drivers/base/platform.c 	if (!dev || num >= dev->archdata.num_irqs)
num                90 drivers/base/platform.c 	return dev->archdata.irqs[num];
num                96 drivers/base/platform.c 		ret = of_irq_get(dev->dev.of_node, num);
num               101 drivers/base/platform.c 	r = platform_get_resource(dev, IORESOURCE_IRQ, num);
num               106 drivers/base/platform.c 			ret = acpi_irq_get(ACPI_HANDLE(&dev->dev), num, r);
num               137 drivers/base/platform.c 	if (num == 0 && has_acpi_companion(&dev->dev)) {
num               138 drivers/base/platform.c 		int ret = acpi_dev_gpio_irq_get(ACPI_COMPANION(&dev->dev), num);
num               165 drivers/base/platform.c int platform_get_irq(struct platform_device *dev, unsigned int num)
num               169 drivers/base/platform.c 	ret = __platform_get_irq(dev, num);
num               171 drivers/base/platform.c 		dev_err(&dev->dev, "IRQ index %u not found\n", num);
num               194 drivers/base/platform.c int platform_get_irq_optional(struct platform_device *dev, unsigned int num)
num               196 drivers/base/platform.c 	return __platform_get_irq(dev, num);
num               308 drivers/base/platform.c int platform_add_devices(struct platform_device **devs, int num)
num               312 drivers/base/platform.c 	for (i = 0; i < num; i++) {
num               408 drivers/base/platform.c 				  const struct resource *res, unsigned int num)
num               413 drivers/base/platform.c 		r = kmemdup(res, sizeof(struct resource) * num, GFP_KERNEL);
num               420 drivers/base/platform.c 	pdev->num_resources = num;
num              1374 drivers/base/platform.c void __init early_platform_add_devices(struct platform_device **devs, int num)
num              1380 drivers/base/platform.c 	for (i = 0; i < num; i++) {
num               200 drivers/base/regmap/regmap.c 	size_t num)
num               204 drivers/base/regmap/regmap.c 	for (i = 0; i < num; i++)
num                13 drivers/bcma/bcma_private.h 	dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
num                15 drivers/bcma/bcma_private.h 	dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
num                17 drivers/bcma/bcma_private.h 	dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
num                19 drivers/bcma/bcma_private.h 	dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
num               132 drivers/bcma/driver_chipcommon.c 					     bus->num, &wdt,
num               211 drivers/bcma/driver_gpio.c 		chip->base		= bus->num * BCMA_GPIO_MAX_PINS;
num               161 drivers/bcma/main.c 			     struct of_phandle_args *out_irq, int num)
num               167 drivers/bcma/main.c 		rc = of_irq_parse_one(core->dev.of_node, num, out_irq);
num               174 drivers/bcma/main.c 	out_irq->args[0] = num;
num               181 drivers/bcma/main.c 				    struct bcma_device *core, int num)
num               189 drivers/bcma/main.c 	ret = bcma_of_irq_parse(parent, core, &out_irq, num);
num               213 drivers/bcma/main.c unsigned int bcma_core_irq(struct bcma_device *core, int num)
num               222 drivers/bcma/main.c 		if (bus->drv_mips.core && num == 0) {
num               227 drivers/bcma/main.c 			return bcma_of_get_irq(bus->dev, core, num);
num               241 drivers/bcma/main.c 	dev_set_name(&core->dev, "bcma%d:%d", bus->num, core->core_index);
num               267 drivers/bcma/main.c 	bus->num = bcma_bus_next_num++;
num              4056 drivers/block/rbd.c 				.gid = le64_to_cpu(watchers[i].name.num),
num               294 drivers/block/virtio_blk.c 	unsigned int num;
num               343 drivers/block/virtio_blk.c 	num = blk_rq_map_sg(hctx->queue, req, vbr->sg);
num               344 drivers/block/virtio_blk.c 	if (num) {
num               353 drivers/block/virtio_blk.c 		err = virtblk_add_req_scsi(vblk->vqs[qid].vq, vbr, vbr->sg, num);
num               355 drivers/block/virtio_blk.c 		err = virtblk_add_req(vblk->vqs[qid].vq, vbr, vbr->sg, num);
num               165 drivers/block/xen-blkback/blkback.c                                   int num)
num               171 drivers/block/xen-blkback/blkback.c 	for (i = 0; i < num; i++)
num               173 drivers/block/xen-blkback/blkback.c 	ring->free_pages_num += num;
num               177 drivers/block/xen-blkback/blkback.c static inline void shrink_free_pagepool(struct xen_blkif_ring *ring, int num)
num               185 drivers/block/xen-blkback/blkback.c 	while (ring->free_pages_num > num) {
num               305 drivers/block/xen-blkback/blkback.c                                  unsigned int num)
num               341 drivers/block/xen-blkback/blkback.c 		num--;
num               343 drivers/block/xen-blkback/blkback.c 	BUG_ON(num != 0);
num               697 drivers/block/xen-blkback/blkback.c 	unsigned int num,
num               703 drivers/block/xen-blkback/blkback.c 	for (i = 0; i < num; i++) {
num               782 drivers/block/xen-blkback/blkback.c                             int num)
num               789 drivers/block/xen-blkback/blkback.c 	while (num) {
num               790 drivers/block/xen-blkback/blkback.c 		unsigned int batch = min(num, BLKIF_MAX_SEGMENTS_PER_REQUEST);
num               800 drivers/block/xen-blkback/blkback.c 		num -= batch;
num               806 drivers/block/xen-blkback/blkback.c 			 int num, bool ro)
num               827 drivers/block/xen-blkback/blkback.c 	for (i = map_until; i < num; i++) {
num               931 drivers/block/xen-blkback/blkback.c 	if (map_until != num)
num               939 drivers/block/xen-blkback/blkback.c 	for (i = last_map; i < num; i++)
num               289 drivers/block/xen-blkfront.c static int fill_grant_buffer(struct blkfront_ring_info *rinfo, int num)
num               296 drivers/block/xen-blkfront.c 	while (i < num) {
num              2225 drivers/block/xen-blkfront.c 		int num = INDIRECT_GREFS(grants) * BLK_RING_SIZE(info);
num              2228 drivers/block/xen-blkfront.c 		for (i = 0; i < num; i++) {
num              1051 drivers/bluetooth/btmrvl_sdio.c 	BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport);
num              1576 drivers/bluetooth/btmrvl_sdio.c 			id->vendor, id->device, id->class, func->num);
num                58 drivers/char/ipmi/ipmi_si_mem_io.c static void mem_region_cleanup(struct si_sm_io *io, int num)
num                63 drivers/char/ipmi/ipmi_si_mem_io.c 	for (idx = 0; idx < num; idx++)
num              1003 drivers/char/random.c 	int		i, num;
num              1010 drivers/char/random.c 		num = extract_entropy(r, &buf, 32, 16, 0);
num              1011 drivers/char/random.c 		if (num == 0)
num              1205 drivers/char/random.c static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
num              1211 drivers/char/random.c 		unsigned num;
num              1217 drivers/char/random.c 	sample.num = num;
num                70 drivers/clk/actions/owl-common.c 	for (i = 0; i < hw_clks->num; i++) {
num               488 drivers/clk/actions/owl-s500.c 	.num = CLK_NR_CLKS,
num               571 drivers/clk/actions/owl-s700.c 		.num    = CLK_NR_CLKS,
num               686 drivers/clk/actions/owl-s900.c 	.num	= CLK_NR_CLKS,
num               113 drivers/clk/at91/dt-compat.c 	int num;
num               129 drivers/clk/at91/dt-compat.c 	num = of_get_child_count(np);
num               130 drivers/clk/at91/dt-compat.c 	if (!num || num > PERIPHERAL_MAX)
num               418 drivers/clk/at91/dt-compat.c 	int num;
num               430 drivers/clk/at91/dt-compat.c 	num = of_get_child_count(np);
num               431 drivers/clk/at91/dt-compat.c 	if (!num || num > PERIPHERAL_MAX)
num               678 drivers/clk/at91/dt-compat.c 	int num;
num               693 drivers/clk/at91/dt-compat.c 	num = of_get_child_count(np);
num               694 drivers/clk/at91/dt-compat.c 	if (!num || num > (PROG_ID_MAX + 1))
num               804 drivers/clk/at91/dt-compat.c 	int num;
num               812 drivers/clk/at91/dt-compat.c 	num = of_get_child_count(np);
num               813 drivers/clk/at91/dt-compat.c 	if (num > (SYSTEM_MAX_ID + 1))
num               186 drivers/clk/at91/pmc.c 	u8 num;
num               206 drivers/clk/at91/pmc.c 		num = registered_pcks[i] - 1;
num               207 drivers/clk/at91/pmc.c 		regmap_read(pmcreg, AT91_PMC_PCKR(num), &pmc_cache.pckr[num]);
num               225 drivers/clk/at91/pmc.c 	u8 num;
num               251 drivers/clk/at91/pmc.c 		num = registered_pcks[i] - 1;
num               252 drivers/clk/at91/pmc.c 		regmap_write(pmcreg, AT91_PMC_PCKR(num), pmc_cache.pckr[num]);
num               496 drivers/clk/at91/sckc.c 	clk_data->num = 2;
num                41 drivers/clk/bcm/clk-bcm2835-aux.c 	onecell->num = BCM2835_AUX_CLOCK_COUNT;
num              2236 drivers/clk/bcm/clk-bcm2835.c 	cprman->onecell.num = asize;
num                49 drivers/clk/bcm/clk-bcm53573-ilp.c 	int sum = 0, num = 0, loop_num = 0;
num                64 drivers/clk/bcm/clk-bcm53573-ilp.c 	while (num < 20) {
num                71 drivers/clk/bcm/clk-bcm53573-ilp.c 			num++;
num                77 drivers/clk/bcm/clk-bcm53573-ilp.c 			num++;
num                87 drivers/clk/bcm/clk-bcm53573-ilp.c 	avg = sum / num;
num               168 drivers/clk/bcm/clk-bcm63xx-gate.c 	hw->data.num = maxbit;
num               195 drivers/clk/bcm/clk-bcm63xx-gate.c 	for (i = 0; i < hw->data.num; i++) {
num               210 drivers/clk/bcm/clk-bcm63xx-gate.c 	for (i = 0; i < hw->data.num; i++) {
num               204 drivers/clk/bcm/clk-iproc-asiu.c 	asiu->clk_data->num = num_clks;
num               750 drivers/clk/bcm/clk-iproc-pll.c 	clk_data->num = num_clks;
num               505 drivers/clk/berlin/bg2.c 	clk_data->num = MAX_CLKS;
num               291 drivers/clk/berlin/bg2q.c 	clk_data->num = MAX_CLKS;
num               268 drivers/clk/clk-asm9260.c 	clk_data->num = MAX_CLKS;
num               711 drivers/clk/clk-aspeed.c 	aspeed_clk_data->num = ASPEED_NUM_CLKS;
num               700 drivers/clk/clk-ast2600.c 	aspeed_g6_clk_data->num = ASPEED_G6_NUM_CLKS;
num               141 drivers/clk/clk-clps711x.c 	clps711x_clk->clk_data.num = CLPS711X_CLK_MAX;
num               460 drivers/clk/clk-gemini.c 	gemini_clk_data->num = GEMINI_NUM_CLKS;
num               660 drivers/clk/clk-milbeaut.c 	m10v_clk_data->num = M10V_NUM_CLKS;
num               566 drivers/clk/clk-npcm7xx.c 	npcm7xx_clk_data->num = NPCM7XX_NUM_CLOCKS;
num               167 drivers/clk/clk-oxnas.c 	.num = ARRAY_SIZE(ox810se_gates),
num               187 drivers/clk/clk-oxnas.c 	.num = ARRAY_SIZE(ox820_gates),
num               231 drivers/clk/clk-oxnas.c 	for (i = 0; i < data->onecell_data->num; i++) {
num                54 drivers/clk/clk-pwm.c 	duty->num = state.duty_cycle;
num               189 drivers/clk/clk-s2mps11.c 	clk_data->num = S2MPS11_CLKS_NUM;
num               144 drivers/clk/clk-scmi.c 	clk_data->num = count;
num              1029 drivers/clk/clk-si5341.c 	u32 num;
num              1036 drivers/clk/clk-si5341.c 		if (of_property_read_u32(child, "reg", &num)) {
num              1042 drivers/clk/clk-si5341.c 		if (num >= SI5341_MAX_NUM_OUTPUTS) {
num              1043 drivers/clk/clk-si5341.c 			dev_err(&client->dev, "invalid clkout %d\n", num);
num              1051 drivers/clk/clk-si5341.c 				config[num].out_cm_ampl_bits = 0x33;
num              1054 drivers/clk/clk-si5341.c 				config[num].out_cm_ampl_bits = 0x13;
num              1057 drivers/clk/clk-si5341.c 				config[num].out_cm_ampl_bits = 0x33;
num              1059 drivers/clk/clk-si5341.c 				config[num].out_format_drv_bits |= 0xc0;
num              1064 drivers/clk/clk-si5341.c 					val, num);
num              1067 drivers/clk/clk-si5341.c 			config[num].out_format_drv_bits &= ~0x07;
num              1068 drivers/clk/clk-si5341.c 			config[num].out_format_drv_bits |= val & 0x07;
num              1070 drivers/clk/clk-si5341.c 			config[num].out_format_drv_bits |= 0x08;
num              1080 drivers/clk/clk-si5341.c 			config[num].out_cm_ampl_bits &= 0xf0;
num              1081 drivers/clk/clk-si5341.c 			config[num].out_cm_ampl_bits |= val & 0x0f;
num              1091 drivers/clk/clk-si5341.c 			config[num].out_cm_ampl_bits &= 0x0f;
num              1092 drivers/clk/clk-si5341.c 			config[num].out_cm_ampl_bits |= (val << 4) & 0xf0;
num              1096 drivers/clk/clk-si5341.c 			config[num].out_format_drv_bits |= 0x10;
num              1098 drivers/clk/clk-si5341.c 		config[num].synth_master =
num              1101 drivers/clk/clk-si5341.c 		config[num].always_on =
num                46 drivers/clk/clk-si5351.c 	unsigned char			num;
num               122 drivers/clk/clk-si5351.c static inline u8 si5351_msynth_params_address(int num)
num               124 drivers/clk/clk-si5351.c 	if (num > 5)
num               125 drivers/clk/clk-si5351.c 		return SI5351_CLK6_PARAMETERS + (num - 6);
num               126 drivers/clk/clk-si5351.c 	return SI5351_CLK0_PARAMETERS + (SI5351_PARAMETERS_LENGTH * num);
num               366 drivers/clk/clk-si5351.c 				int num, enum si5351_pll_src parent)
num               368 drivers/clk/clk-si5351.c 	u8 mask = (num == 0) ? SI5351_PLLA_SOURCE : SI5351_PLLB_SOURCE;
num               373 drivers/clk/clk-si5351.c 	if (num > 2)
num               389 drivers/clk/clk-si5351.c 	u8 mask = (hwdata->num == 0) ? SI5351_PLLA_SOURCE : SI5351_PLLB_SOURCE;
num               409 drivers/clk/clk-si5351.c 	return _si5351_pll_reparent(hwdata->drvdata, hwdata->num,
num               419 drivers/clk/clk-si5351.c 	u8 reg = (hwdata->num == 0) ? SI5351_PLLA_PARAMETERS :
num               507 drivers/clk/clk-si5351.c 	u8 reg = (hwdata->num == 0) ? SI5351_PLLA_PARAMETERS :
num               514 drivers/clk/clk-si5351.c 	si5351_set_bits(hwdata->drvdata, SI5351_CLK6_CTRL + hwdata->num,
num               520 drivers/clk/clk-si5351.c 			 hwdata->num == 0 ? SI5351_PLL_RESET_A :
num               564 drivers/clk/clk-si5351.c 				   int num, enum si5351_multisynth_src parent)
num               569 drivers/clk/clk-si5351.c 	if (num > 8)
num               572 drivers/clk/clk-si5351.c 	si5351_set_bits(drvdata, SI5351_CLK0_CTRL + num, SI5351_CLK_PLL_SELECT,
num               584 drivers/clk/clk-si5351.c 	val = si5351_reg_read(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num);
num               594 drivers/clk/clk-si5351.c 	return _si5351_msynth_reparent(hwdata->drvdata, hwdata->num,
num               604 drivers/clk/clk-si5351.c 	u8 reg = si5351_msynth_params_address(hwdata->num);
num               616 drivers/clk/clk-si5351.c 	if (hwdata->num > 5) {
num               653 drivers/clk/clk-si5351.c 	if (hwdata->num >= 6 && rate > SI5351_MULTISYNTH67_MAX_FREQ)
num               683 drivers/clk/clk-si5351.c 	} else if (hwdata->num >= 6) {
num               735 drivers/clk/clk-si5351.c 	} else if (hwdata->num >= 6) {
num               760 drivers/clk/clk-si5351.c 	u8 reg = si5351_msynth_params_address(hwdata->num);
num               770 drivers/clk/clk-si5351.c 	if (hwdata->num < 6) {
num               774 drivers/clk/clk-si5351.c 		si5351_set_bits(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num,
num               800 drivers/clk/clk-si5351.c 				   int num, enum si5351_clkout_src parent)
num               804 drivers/clk/clk-si5351.c 	if (num > 8)
num               813 drivers/clk/clk-si5351.c 		if (num == 0 || num == 4)
num               831 drivers/clk/clk-si5351.c 	si5351_set_bits(drvdata, SI5351_CLK0_CTRL + num,
num               837 drivers/clk/clk-si5351.c 	struct si5351_driver_data *drvdata, int num,
num               842 drivers/clk/clk-si5351.c 	if (num > 8)
num               862 drivers/clk/clk-si5351.c 	si5351_set_bits(drvdata, SI5351_CLK0_CTRL + num,
num               868 drivers/clk/clk-si5351.c 	struct si5351_driver_data *drvdata, int num,
num               871 drivers/clk/clk-si5351.c 	u8 reg = (num < 4) ? SI5351_CLK3_0_DISABLE_STATE :
num               873 drivers/clk/clk-si5351.c 	u8 shift = (num < 4) ? (2 * num) : (2 * (num-4));
num               877 drivers/clk/clk-si5351.c 	if (num > 8)
num               902 drivers/clk/clk-si5351.c static void _si5351_clkout_reset_pll(struct si5351_driver_data *drvdata, int num)
num               904 drivers/clk/clk-si5351.c 	u8 val = si5351_reg_read(drvdata, SI5351_CLK0_CTRL + num);
num               917 drivers/clk/clk-si5351.c 		__func__, clk_hw_get_name(&drvdata->clkout[num].hw),
num               928 drivers/clk/clk-si5351.c 	si5351_set_bits(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num,
num               935 drivers/clk/clk-si5351.c 	if (pdata->clkout[hwdata->num].pll_reset)
num               936 drivers/clk/clk-si5351.c 		_si5351_clkout_reset_pll(hwdata->drvdata, hwdata->num);
num               939 drivers/clk/clk-si5351.c 			(1 << hwdata->num), 0);
num               948 drivers/clk/clk-si5351.c 	si5351_set_bits(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num,
num               951 drivers/clk/clk-si5351.c 			(1 << hwdata->num), (1 << hwdata->num));
num               961 drivers/clk/clk-si5351.c 	val = si5351_reg_read(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num);
num              1001 drivers/clk/clk-si5351.c 	return _si5351_clkout_reparent(hwdata->drvdata, hwdata->num, parent);
num              1012 drivers/clk/clk-si5351.c 	if (hwdata->num <= 5)
num              1013 drivers/clk/clk-si5351.c 		reg = si5351_msynth_params_address(hwdata->num) + 2;
num              1018 drivers/clk/clk-si5351.c 	if (hwdata->num == 6) {
num              1036 drivers/clk/clk-si5351.c 	if (hwdata->num >= 6 && rate > SI5351_CLKOUT67_MAX_FREQ)
num              1103 drivers/clk/clk-si5351.c 	switch (hwdata->num) {
num              1115 drivers/clk/clk-si5351.c 				si5351_msynth_params_address(hwdata->num) + 2,
num              1121 drivers/clk/clk-si5351.c 	si5351_set_bits(hwdata->drvdata, SI5351_CLK0_CTRL + hwdata->num,
num              1163 drivers/clk/clk-si5351.c 	int num = 0;
num              1177 drivers/clk/clk-si5351.c 	of_property_for_each_u32(np, "silabs,pll-source", prop, p, num) {
num              1178 drivers/clk/clk-si5351.c 		if (num >= 2) {
num              1180 drivers/clk/clk-si5351.c 				"invalid pll %d on pll-source prop\n", num);
num              1187 drivers/clk/clk-si5351.c 				"missing pll-source for pll %d\n", num);
num              1193 drivers/clk/clk-si5351.c 			pdata->pll_src[num] = SI5351_PLL_SRC_XTAL;
num              1199 drivers/clk/clk-si5351.c 					val, num);
num              1202 drivers/clk/clk-si5351.c 			pdata->pll_src[num] = SI5351_PLL_SRC_CLKIN;
num              1206 drivers/clk/clk-si5351.c 				 "invalid parent %d for pll %d\n", val, num);
num              1213 drivers/clk/clk-si5351.c 		if (of_property_read_u32(child, "reg", &num)) {
num              1219 drivers/clk/clk-si5351.c 		if (num >= 8 ||
num              1220 drivers/clk/clk-si5351.c 		    (variant == SI5351_VARIANT_A3 && num >= 3)) {
num              1221 drivers/clk/clk-si5351.c 			dev_err(&client->dev, "invalid clkout %d\n", num);
num              1229 drivers/clk/clk-si5351.c 				pdata->clkout[num].multisynth_src =
num              1233 drivers/clk/clk-si5351.c 				pdata->clkout[num].multisynth_src =
num              1239 drivers/clk/clk-si5351.c 					val, num);
num              1247 drivers/clk/clk-si5351.c 				pdata->clkout[num].clkout_src =
num              1251 drivers/clk/clk-si5351.c 				pdata->clkout[num].clkout_src =
num              1255 drivers/clk/clk-si5351.c 				pdata->clkout[num].clkout_src =
num              1262 drivers/clk/clk-si5351.c 						val, num);
num              1265 drivers/clk/clk-si5351.c 				pdata->clkout[num].clkout_src =
num              1271 drivers/clk/clk-si5351.c 					val, num);
num              1283 drivers/clk/clk-si5351.c 				pdata->clkout[num].drive = val;
num              1288 drivers/clk/clk-si5351.c 					val, num);
num              1297 drivers/clk/clk-si5351.c 				pdata->clkout[num].disable_state =
num              1301 drivers/clk/clk-si5351.c 				pdata->clkout[num].disable_state =
num              1305 drivers/clk/clk-si5351.c 				pdata->clkout[num].disable_state =
num              1309 drivers/clk/clk-si5351.c 				pdata->clkout[num].disable_state =
num              1315 drivers/clk/clk-si5351.c 					val, num);
num              1321 drivers/clk/clk-si5351.c 			pdata->clkout[num].rate = val;
num              1323 drivers/clk/clk-si5351.c 		pdata->clkout[num].pll_master =
num              1326 drivers/clk/clk-si5351.c 		pdata->clkout[num].pll_reset =
num              1510 drivers/clk/clk-si5351.c 	drvdata->pll[0].num = 0;
num              1526 drivers/clk/clk-si5351.c 	drvdata->pll[1].num = 1;
num              1569 drivers/clk/clk-si5351.c 		drvdata->msynth[n].num = n;
num              1597 drivers/clk/clk-si5351.c 		drvdata->clkout[n].num = n;
num               345 drivers/clk/clk-si544.c 	u64 num = rate;
num               347 drivers/clk/clk-si544.c 	num *= DELTA_M_FRAC_NUM;
num               348 drivers/clk/clk-si544.c 	do_div(num, DELTA_M_FRAC_DEN);
num               350 drivers/clk/clk-si544.c 	return num;
num              1209 drivers/clk/clk-stm32h7.c 	clk_data->num = STM32H7_MAX_CLKS;
num              2001 drivers/clk/clk-stm32mp1.c 	unsigned int num;
num              2007 drivers/clk/clk-stm32mp1.c 	.num		= ARRAY_SIZE(stm32mp1_clock_cfg),
num              2068 drivers/clk/clk-stm32mp1.c 	clk_data->num = max_binding;
num              2075 drivers/clk/clk-stm32mp1.c 	for (n = 0; n < data->num; n++) {
num               144 drivers/clk/clk-versaclock5.c 	unsigned int		num;
num               479 drivers/clk/clk-versaclock5.c 	regmap_bulk_read(vc5->regmap, VC5_OUT_DIV_INT(hwdata->num, 0),
num               481 drivers/clk/clk-versaclock5.c 	regmap_bulk_read(vc5->regmap, VC5_OUT_DIV_FRAC(hwdata->num, 0),
num               542 drivers/clk/clk-versaclock5.c 	regmap_bulk_write(vc5->regmap, VC5_OUT_DIV_FRAC(hwdata->num, 0),
num               579 drivers/clk/clk-versaclock5.c 	regmap_read(vc5->regmap, VC5_OUT_DIV_CONTROL(hwdata->num), &src);
num               583 drivers/clk/clk-versaclock5.c 					 VC5_OUT_DIV_CONTROL(hwdata->num),
num               590 drivers/clk/clk-versaclock5.c 	regmap_update_bits(vc5->regmap, VC5_CLK_OUTPUT_CFG(hwdata->num, 1),
num               602 drivers/clk/clk-versaclock5.c 	regmap_update_bits(vc5->regmap, VC5_CLK_OUTPUT_CFG(hwdata->num, 1),
num               619 drivers/clk/clk-versaclock5.c 	regmap_read(vc5->regmap, VC5_OUT_DIV_CONTROL(hwdata->num), &src);
num               653 drivers/clk/clk-versaclock5.c 	return regmap_update_bits(vc5->regmap, VC5_OUT_DIV_CONTROL(hwdata->num),
num               803 drivers/clk/clk-versaclock5.c 	vc5->clk_pll.num = 0;
num               821 drivers/clk/clk-versaclock5.c 		vc5->clk_fod[n].num = idx;
num               839 drivers/clk/clk-versaclock5.c 	vc5->clk_out[0].num = idx;
num               864 drivers/clk/clk-versaclock5.c 		vc5->clk_out[n].num = idx;
num              2686 drivers/clk/clk.c 	core->duty.num = 1;
num              2705 drivers/clk/clk.c 	if (duty->den == 0 || duty->num > duty->den) {
num              2784 drivers/clk/clk.c int clk_set_duty_cycle(struct clk *clk, unsigned int num, unsigned int den)
num              2793 drivers/clk/clk.c 	if (den == 0 || num > den)
num              2796 drivers/clk/clk.c 	duty.num = num;
num              2825 drivers/clk/clk.c 		ret = mult_frac(scale, duty->num, duty->den);
num              3109 drivers/clk/clk.c 	seq_printf(s, "%u/%u\n", duty->num, duty->den);
num              4291 drivers/clk/clk.c 	if (idx >= hw_data->num) {
num               136 drivers/clk/clkdev.c void clkdev_add_table(struct clk_lookup *cl, size_t num)
num               139 drivers/clk/clkdev.c 	while (num--) {
num               656 drivers/clk/davinci/da8xx-cfgchip.c 	clk_data->num = 2;
num               451 drivers/clk/hisilicon/clk-hi3620.c 	int i, num = ARRAY_SIZE(hi3620_mmc_clks);
num               469 drivers/clk/hisilicon/clk-hi3620.c 	clk_data->clks = kcalloc(num, sizeof(*clk_data->clks), GFP_KERNEL);
num               473 drivers/clk/hisilicon/clk-hi3620.c 	for (i = 0; i < num; i++) {
num               479 drivers/clk/hisilicon/clk-hi3620.c 	clk_data->clk_num = num;
num                67 drivers/clk/imgtec/clk-boston.c 	onecell->num = BOSTON_CLK_COUNT;
num               449 drivers/clk/imx/clk-imx6q.c 	clk_hw_data->num = IMX6QDL_CLK_END;
num               199 drivers/clk/imx/clk-imx6sl.c 	clk_hw_data->num = IMX6SL_CLK_END;
num               105 drivers/clk/imx/clk-imx6sll.c 	clk_hw_data->num = IMX6SLL_CLK_END;
num               137 drivers/clk/imx/clk-imx6sx.c 	clk_hw_data->num = IMX6SX_CLK_CLK_END;
num               124 drivers/clk/imx/clk-imx6ul.c 	clk_hw_data->num = IMX6UL_CLK_END;
num               402 drivers/clk/imx/clk-imx7d.c 	clk_hw_data->num = IMX7D_CLK_END;
num                70 drivers/clk/imx/clk-imx7ulp.c 	clk_data->num = IMX7ULP_CLK_SCG1_END;
num               141 drivers/clk/imx/clk-imx7ulp.c 	imx_check_clk_hws(clks, clk_data->num);
num               159 drivers/clk/imx/clk-imx7ulp.c 	clk_data->num = IMX7ULP_CLK_PCC2_END;
num               188 drivers/clk/imx/clk-imx7ulp.c 	imx_check_clk_hws(clks, clk_data->num);
num               214 drivers/clk/imx/clk-imx7ulp.c 	clk_data->num = IMX7ULP_CLK_PCC3_END;
num               242 drivers/clk/imx/clk-imx7ulp.c 	imx_check_clk_hws(clks, clk_data->num);
num               267 drivers/clk/imx/clk-imx7ulp.c 	clk_data->num = IMX7ULP_CLK_SMC1_END;
num               276 drivers/clk/imx/clk-imx7ulp.c 	imx_check_clk_hws(clks, clk_data->num);
num               188 drivers/clk/imx/clk-imx8qxp-lpcg.c 	clk_data->num = ss_lpcg->num_max;
num               198 drivers/clk/imx/clk-imx8qxp-lpcg.c 	for (i = 0; i < clk_data->num; i++) {
num                36 drivers/clk/imx/clk-imx8qxp.c 	clk_data->num = IMX_SCU_CLK_END;
num               131 drivers/clk/imx/clk-imx8qxp.c 	for (i = 0; i < clk_data->num; i++) {
num               369 drivers/clk/ingenic/tcu.c 	tcu->clocks->num = TCU_CLK_COUNT;
num               423 drivers/clk/ingenic/tcu.c 	for (i = 0; i < tcu->clocks->num; i++)
num                80 drivers/clk/mediatek/clk-cpumux.c 			      const struct mtk_composite *clks, int num,
num                94 drivers/clk/mediatek/clk-cpumux.c 	for (i = 0; i < num; i++) {
num                19 drivers/clk/mediatek/clk-cpumux.h 			      const struct mtk_composite *clks, int num,
num                46 drivers/clk/mediatek/clk-mtk.c 		int num, struct clk_onecell_data *clk_data)
num                51 drivers/clk/mediatek/clk-mtk.c 	for (i = 0; i < num; i++) {
num                72 drivers/clk/mediatek/clk-mtk.c 		int num, struct clk_onecell_data *clk_data)
num                77 drivers/clk/mediatek/clk-mtk.c 	for (i = 0; i < num; i++) {
num                99 drivers/clk/mediatek/clk-mtk.c 		int num, struct clk_onecell_data *clk_data,
num               116 drivers/clk/mediatek/clk-mtk.c 	for (i = 0; i < num; i++) {
num               143 drivers/clk/mediatek/clk-mtk.c 		int num, struct clk_onecell_data *clk_data)
num               146 drivers/clk/mediatek/clk-mtk.c 		clks, num, clk_data, NULL);
num               237 drivers/clk/mediatek/clk-mtk.c 		int num, void __iomem *base, spinlock_t *lock,
num               243 drivers/clk/mediatek/clk-mtk.c 	for (i = 0; i < num; i++) {
num               263 drivers/clk/mediatek/clk-mtk.c 			int num, void __iomem *base, spinlock_t *lock,
num               269 drivers/clk/mediatek/clk-mtk.c 	for (i = 0; i <  num; i++) {
num                37 drivers/clk/mediatek/clk-mtk.h 		int num, struct clk_onecell_data *clk_data);
num                56 drivers/clk/mediatek/clk-mtk.h 		int num, struct clk_onecell_data *clk_data);
num               149 drivers/clk/mediatek/clk-mtk.h 		int num, void __iomem *base, spinlock_t *lock,
num               169 drivers/clk/mediatek/clk-mtk.h 			const struct mtk_gate *clks, int num,
num               174 drivers/clk/mediatek/clk-mtk.h 		int num, struct clk_onecell_data *clk_data,
num               200 drivers/clk/mediatek/clk-mtk.h 			int num, void __iomem *base, spinlock_t *lock,
num               191 drivers/clk/mediatek/clk-mux.c 			   int num, struct device_node *node,
num               206 drivers/clk/mediatek/clk-mux.c 	for (i = 0; i < num; i++) {
num                85 drivers/clk/mediatek/clk-mux.h 			   int num, struct device_node *node,
num               310 drivers/clk/meson/axg-aoclk.c 	.num = NR_CLKS,
num               603 drivers/clk/meson/axg-audio.c 	.num = NR_CLKS,
num               747 drivers/clk/meson/axg-audio.c 	.num = NR_CLKS,
num              1055 drivers/clk/meson/axg-audio.c 	for (i = AUD_CLKID_DDR_ARB; i < data->hw_onecell_data->num; i++) {
num              1251 drivers/clk/meson/axg.c 	.num = NR_CLKS,
num               445 drivers/clk/meson/g12a-aoclk.c 	.num = NR_CLKS,
num              4164 drivers/clk/meson/g12a.c 	.num = NR_CLKS,
num              4413 drivers/clk/meson/g12a.c 	.num = NR_CLKS,
num              4647 drivers/clk/meson/g12a.c 	.num = NR_CLKS,
num               271 drivers/clk/meson/gxbb-aoclk.c 	.num = NR_CLKS,
num              2894 drivers/clk/meson/gxbb.c 	.num = NR_CLKS,
num              3105 drivers/clk/meson/gxbb.c 	.num = NR_CLKS,
num                73 drivers/clk/meson/meson-aoclk.c 	for (clkid = 0; clkid < data->hw_data->num; clkid++) {
num                42 drivers/clk/meson/meson-eeclk.c 	for (i = 0; i < data->hw_onecell_data->num; i++) {
num              2861 drivers/clk/meson/meson8b.c 	.num = CLK_NR_CLKS,
num              3077 drivers/clk/meson/meson8b.c 	.num = CLK_NR_CLKS,
num              3295 drivers/clk/meson/meson8b.c 	.num = CLK_NR_CLKS,
num               115 drivers/clk/meson/sclk-div.c 					    sclk->cached_duty.num,
num               146 drivers/clk/meson/sclk-div.c 		duty->num = 1;
num               152 drivers/clk/meson/sclk-div.c 	duty->num = hi + 1;
num                37 drivers/clk/mmp/clk-frac.c 			(factor->ftbl[i].num * factor->masks->factor)) * 10000;
num                56 drivers/clk/mmp/clk-frac.c 	unsigned int val, num, den;
num                61 drivers/clk/mmp/clk-frac.c 	num = (val >> masks->num_shift) & masks->num_mask;
num                70 drivers/clk/mmp/clk-frac.c 			(num * factor->masks->factor)) * 10000;
num                86 drivers/clk/mmp/clk-frac.c 			(factor->ftbl[i].num * factor->masks->factor)) * 10000;
num                99 drivers/clk/mmp/clk-frac.c 	val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift;
num               116 drivers/clk/mmp/clk-frac.c 	u32 val, num, den;
num               126 drivers/clk/mmp/clk-frac.c 	num = (val >> masks->num_shift) & masks->num_mask;
num               132 drivers/clk/mmp/clk-frac.c 		if (den == factor->ftbl[i].den && num == factor->ftbl[i].num)
num               137 drivers/clk/mmp/clk-frac.c 		val |= (factor->ftbl[0].num & masks->num_mask) <<
num                66 drivers/clk/mmp/clk-mmp2.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num                67 drivers/clk/mmp/clk-mmp2.c 	{.num = 3521, .den = 689},	/*19.23MHZ */
num               102 drivers/clk/mmp/clk-of-mmp2.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num               103 drivers/clk/mmp/clk-of-mmp2.c 	{.num = 3521, .den = 689},	/*19.23MHZ */
num                91 drivers/clk/mmp/clk-of-pxa168.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num                65 drivers/clk/mmp/clk-of-pxa1928.c 	{.num = 832, .den = 234},	/*58.5MHZ */
num                66 drivers/clk/mmp/clk-of-pxa1928.c 	{.num = 1, .den = 1},		/*26MHZ */
num                91 drivers/clk/mmp/clk-of-pxa910.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num                58 drivers/clk/mmp/clk-pxa168.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num                56 drivers/clk/mmp/clk-pxa910.c 	{.num = 8125, .den = 1536},	/*14.745MHZ */
num                22 drivers/clk/mmp/clk.h 	unsigned int num;
num               327 drivers/clk/mvebu/ap-cpu-clk.c 	ap_cpu_data->num = cluster_index + 1;
num               745 drivers/clk/mvebu/armada-37xx-periph.c 	driver_data->hw_data->num = num_periph;
num               782 drivers/clk/mvebu/armada-37xx-periph.c 	for (i = 0; i < hw_data->num; i++)
num                97 drivers/clk/mvebu/armada-37xx-tbg.c 	hw_tbg_data->num = NUM_TBG;
num               137 drivers/clk/mvebu/armada-37xx-tbg.c 	for (i = 0; i < hw_tbg_data->num; i++)
num               245 drivers/clk/mvebu/cp110-system-controller.c 	cp110_clk_data->num = CP110_CLK_NUM;
num                34 drivers/clk/nxp/clk-lpc18xx-ccu.c 	int num;
num               126 drivers/clk/nxp/clk-lpc18xx-ccu.c 		for (j = 0; j < clk_data->num; j++) {
num               286 drivers/clk/nxp/clk-lpc18xx-ccu.c 	clk_data->num = of_property_count_strings(np, "clock-names");
num               287 drivers/clk/nxp/clk-lpc18xx-ccu.c 	clk_data->name = kcalloc(clk_data->num, sizeof(char *), GFP_KERNEL);
num               294 drivers/clk/nxp/clk-lpc18xx-ccu.c 	for (i = 0; i < clk_data->num; i++) {
num               498 drivers/clk/pistachio/clk-pll.c 				unsigned int num)
num               503 drivers/clk/pistachio/clk-pll.c 	for (i = 0; i < num; i++) {
num                59 drivers/clk/pistachio/clk.c 				 unsigned int num)
num                64 drivers/clk/pistachio/clk.c 	for (i = 0; i < num; i++) {
num                75 drivers/clk/pistachio/clk.c 				unsigned int num)
num                80 drivers/clk/pistachio/clk.c 	for (i = 0; i < num; i++) {
num                93 drivers/clk/pistachio/clk.c 				unsigned int num)
num                98 drivers/clk/pistachio/clk.c 	for (i = 0; i < num; i++) {
num               109 drivers/clk/pistachio/clk.c 					 unsigned int num)
num               114 drivers/clk/pistachio/clk.c 	for (i = 0; i < num; i++) {
num               122 drivers/clk/pistachio/clk.c 				unsigned int *clk_ids, unsigned int num)
num               127 drivers/clk/pistachio/clk.c 	for (i = 0; i < num; i++) {
num               153 drivers/clk/pistachio/clk.h 					unsigned int num);
num               156 drivers/clk/pistachio/clk.h 				       unsigned int num);
num               159 drivers/clk/pistachio/clk.h 				       unsigned int num);
num               163 drivers/clk/pistachio/clk.h 				    unsigned int num);
num               166 drivers/clk/pistachio/clk.h 				       unsigned int num);
num               169 drivers/clk/pistachio/clk.h 				       unsigned int *clk_ids, unsigned int num);
num               582 drivers/clk/qcom/clk-rcg.c 	int num;
num               600 drivers/clk/qcom/clk-rcg.c 	for (; frac->num; frac++) {
num               601 drivers/clk/qcom/clk-rcg.c 		request = (req->rate * frac->den) / frac->num;
num               610 drivers/clk/qcom/clk-rcg.c 		req->rate = (src_rate * frac->num) / frac->den;
num               645 drivers/clk/qcom/clk-rcg.c 	for (; frac->num; frac++) {
num               646 drivers/clk/qcom/clk-rcg.c 		request = (rate * frac->den) / frac->num;
num               652 drivers/clk/qcom/clk-rcg.c 		f.m = frac->num;
num               382 drivers/clk/qcom/clk-rcg2.c 	int num;
num               425 drivers/clk/qcom/clk-rcg2.c 	for (; frac->num; frac++) {
num               428 drivers/clk/qcom/clk-rcg2.c 		request = div_s64(request, frac->num);
num               438 drivers/clk/qcom/clk-rcg2.c 		f.m = frac->num;
num               475 drivers/clk/qcom/clk-rcg2.c 	for (; frac->num; frac++) {
num               478 drivers/clk/qcom/clk-rcg2.c 		request = div_s64(request, frac->num);
num               489 drivers/clk/qcom/clk-rcg2.c 				      frac->num, frac->den,
num               651 drivers/clk/qcom/clk-rcg2.c 	for (; frac->num; frac++) {
num               652 drivers/clk/qcom/clk-rcg2.c 		request = (req->rate * frac->den) / frac->num;
num               660 drivers/clk/qcom/clk-rcg2.c 		req->rate = (src_rate * frac->num) / frac->den;
num               689 drivers/clk/qcom/clk-rcg2.c 	for (; frac->num; frac++) {
num               690 drivers/clk/qcom/clk-rcg2.c 		request = (rate * frac->den) / frac->num;
num               701 drivers/clk/qcom/clk-rcg2.c 		f.m = frac->num;
num               262 drivers/clk/qcom/common.c 		scd->num = desc->num_gdscs;
num               363 drivers/clk/qcom/gdsc.c 	size_t num = desc->num;
num               369 drivers/clk/qcom/gdsc.c 	data->domains = devm_kcalloc(dev, num, sizeof(*data->domains),
num               374 drivers/clk/qcom/gdsc.c 	data->num_domains = num;
num               375 drivers/clk/qcom/gdsc.c 	for (i = 0; i < num; i++) {
num               387 drivers/clk/qcom/gdsc.c 	for (i = 0; i < num; i++) {
num               402 drivers/clk/qcom/gdsc.c 	size_t num = desc->num;
num               405 drivers/clk/qcom/gdsc.c 	for (i = 0; i < num; i++) {
num                60 drivers/clk/qcom/gdsc.h 	size_t num;
num               117 drivers/clk/samsung/clk-exynos-audss.c 	for (; i < clk_data->num; i++) {
num               154 drivers/clk/samsung/clk-exynos-audss.c 	clk_data->num = variant->num_clks;
num               243 drivers/clk/samsung/clk-exynos-audss.c 	for (i = 0; i < clk_data->num; i++) {
num               109 drivers/clk/samsung/clk-exynos-clkout.c 	clkout->data.num = EXYNOS_CLKOUT_NR_CLKS;
num              5581 drivers/clk/samsung/clk-exynos5433.c 	ctx->clk_data.num = info->nr_clk_ids;
num               256 drivers/clk/samsung/clk-s3c2410-dclk.c 	s3c24xx_dclk->clk_data.num = DCLK_MAX_CLKS;
num                87 drivers/clk/samsung/clk-s5pv210-audss.c 	clk_data->num = AUDSS_MAX_CLKS;
num               165 drivers/clk/samsung/clk-s5pv210-audss.c 	for (i = 0; i < clk_data->num; i++) {
num               187 drivers/clk/samsung/clk-s5pv210-audss.c 	for (i = 0; i < clk_data->num; i++) {
num                72 drivers/clk/samsung/clk.c 	ctx->clk_data.num = nr_clks;
num               564 drivers/clk/sifive/fu540-prci.c 	pd->hw_clks.num = i;
num                69 drivers/clk/spear/clk-aux-synth.c 	unsigned int num = 1, den = 1, val, eqn;
num                85 drivers/clk/spear/clk-aux-synth.c 	num = (val >> aux->masks->xscale_sel_shift) &
num                95 drivers/clk/spear/clk-aux-synth.c 	return (((parent_rate / 10000) * num) / den) * 10000;
num               197 drivers/clk/spear/clk-vco-pll.c 	unsigned int num = 2, den = 0, val, mode = 0;
num               214 drivers/clk/spear/clk-vco-pll.c 		num *= (val >> PLL_NORM_FDBK_M_SHIFT) & PLL_NORM_FDBK_M_MASK;
num               217 drivers/clk/spear/clk-vco-pll.c 		num *= (val >> PLL_DITH_FDBK_M_SHIFT) & PLL_DITH_FDBK_M_MASK;
num               226 drivers/clk/spear/clk-vco-pll.c 	return (((parent_rate / 10000) * num) / den) * 10000;
num                78 drivers/clk/sprd/common.c 	for (i = 0; i < clkhw->num; i++) {
num                88 drivers/clk/sprd/pll.c 	u32 i, num = table[0];
num                90 drivers/clk/sprd/pll.c 	for (i = 1; i < num + 1; i++)
num                94 drivers/clk/sprd/pll.c 	return (i == num + 1) ? num : i;
num               111 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_PMU_GATE_NUM,
num               366 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_PLL_NUM,
num               487 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_AP_CLK_NUM,
num               744 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_AON_PREDIV_NUM,
num               817 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_APAHB_GATE_NUM,
num              1182 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_AON_GATE_NUM,
num              1215 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_AONSECURE_NUM,
num              1304 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_AGCP_GATE_NUM,
num              1328 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_GPU_NUM,
num              1376 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_VSP_NUM,
num              1441 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_VSP_GATE_NUM,
num              1484 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_CAM_NUM,
num              1705 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_CAM_GATE_NUM,
num              1734 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_DISP_NUM,
num              1875 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_DISP_GATE_NUM,
num              1976 drivers/clk/sprd/sc9860-clk.c 	.num	= CLK_APAPB_GATE_NUM,
num              1207 drivers/clk/sunxi-ng/ccu-sun4i-a10.c 	.num	= CLK_NUMBER_SUN4I,
num              1380 drivers/clk/sunxi-ng/ccu-sun4i-a10.c 	.num	= CLK_NUMBER_SUN7I,
num               851 drivers/clk/sunxi-ng/ccu-sun50i-a64.c 	.num	= CLK_NUMBER,
num               165 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c 	.num	= CLK_NUMBER,
num              1067 drivers/clk/sunxi-ng/ccu-sun50i-h6.c 	.num = CLK_NUMBER,
num               731 drivers/clk/sunxi-ng/ccu-sun5i.c 	.num	= CLK_NUMBER,
num               859 drivers/clk/sunxi-ng/ccu-sun5i.c 	.num	= CLK_NUMBER,
num               974 drivers/clk/sunxi-ng/ccu-sun5i.c 	.num	= CLK_NUMBER,
num              1145 drivers/clk/sunxi-ng/ccu-sun6i-a31.c 	.num	= CLK_NUMBER,
num               667 drivers/clk/sunxi-ng/ccu-sun8i-a23.c 	.num	= CLK_NUMBER,
num               711 drivers/clk/sunxi-ng/ccu-sun8i-a33.c 	.num	= CLK_NUMBER,
num               797 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c 	.num	= CLK_NUMBER,
num               125 drivers/clk/sunxi-ng/ccu-sun8i-de2.c 	.num	= CLK_NUMBER_WITHOUT_ROT,
num               142 drivers/clk/sunxi-ng/ccu-sun8i-de2.c 	.num	= CLK_NUMBER_WITHOUT_ROT,
num               156 drivers/clk/sunxi-ng/ccu-sun8i-de2.c 	.num	= CLK_NUMBER_WITHOUT_ROT,
num               176 drivers/clk/sunxi-ng/ccu-sun8i-de2.c 	.num	= CLK_NUMBER_WITH_ROT,
num               859 drivers/clk/sunxi-ng/ccu-sun8i-h3.c 	.num	= CLK_NUMBER_H3,
num               975 drivers/clk/sunxi-ng/ccu-sun8i-h3.c 	.num	= CLK_NUMBER_H5,
num               168 drivers/clk/sunxi-ng/ccu-sun8i-r.c 	.num	= CLK_NUMBER,
num               184 drivers/clk/sunxi-ng/ccu-sun8i-r.c 	.num	= CLK_NUMBER,
num               201 drivers/clk/sunxi-ng/ccu-sun8i-r.c 	.num	= CLK_NUMBER,
num              1150 drivers/clk/sunxi-ng/ccu-sun8i-r40.c 	.num	= CLK_NUMBER,
num               621 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c 	.num	= CLK_PLL_DDR1 + 1,
num               703 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c 	.num	= CLK_I2S0 + 1,
num               177 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c 	.num	= CLK_NUMBER,
num                68 drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c 	.num	= CLK_NUMBER,
num              1108 drivers/clk/sunxi-ng/ccu-sun9i-a80.c 	.num	= CLK_NUMBER,
num               467 drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c 	.num	= CLK_NUMBER,
num                98 drivers/clk/sunxi-ng/ccu_common.c 	for (i = 0; i < desc->hw_clks->num ; i++) {
num                20 drivers/clk/tegra/clk-periph-fixed.c 	u32 mask = 1 << (fixed->num % 32), value;
num                35 drivers/clk/tegra/clk-periph-fixed.c 	u32 mask = 1 << (fixed->num % 32);
num                45 drivers/clk/tegra/clk-periph-fixed.c 	u32 mask = 1 << (fixed->num % 32);
num                76 drivers/clk/tegra/clk-periph-fixed.c 					    unsigned int num)
num                83 drivers/clk/tegra/clk-periph-fixed.c 	regs = get_reg_bank(num);
num               101 drivers/clk/tegra/clk-periph-fixed.c 	fixed->num = num;
num                22 drivers/clk/tegra/clk-tegra-fixed.c 			      unsigned long *input_freqs, unsigned int num,
num                34 drivers/clk/tegra/clk-tegra-fixed.c 	if (osc_idx < num)
num               202 drivers/clk/tegra/clk.c struct clk ** __init tegra_clk_init(void __iomem *regs, int num, int banks)
num               217 drivers/clk/tegra/clk.c 	clks = kcalloc(num, sizeof(struct clk *), GFP_KERNEL);
num               221 drivers/clk/tegra/clk.c 	clk_num = num;
num               316 drivers/clk/tegra/clk.c void __init tegra_init_special_resets(unsigned int num,
num               320 drivers/clk/tegra/clk.c 	num_special_reset = num;
num               325 drivers/clk/tegra/clk.c void __init tegra_register_devclks(struct tegra_devclk *dev_clks, int num)
num               329 drivers/clk/tegra/clk.c 	for (i = 0; i < num; i++, dev_clks++)
num               532 drivers/clk/tegra/clk.h 	unsigned int num;
num               541 drivers/clk/tegra/clk.h 					    unsigned int num);
num               768 drivers/clk/tegra/clk.h void tegra_init_special_resets(unsigned int num, int (*assert)(unsigned long),
num               778 drivers/clk/tegra/clk.h struct clk **tegra_clk_init(void __iomem *clk_base, int num, int periph_banks);
num               783 drivers/clk/tegra/clk.h void tegra_register_devclks(struct tegra_devclk *dev_clks, int num);
num               797 drivers/clk/tegra/clk.h 		       unsigned long *input_freqs, unsigned int num,
num               113 drivers/clk/ti/clkt_dpll.c 	unsigned long long num;
num               115 drivers/clk/ti/clkt_dpll.c 	num = (unsigned long long)parent_rate * m;
num               116 drivers/clk/ti/clkt_dpll.c 	do_div(num, n);
num               117 drivers/clk/ti/clkt_dpll.c 	return num;
num                73 drivers/clk/uniphier/clk-uniphier-core.c 	hw_data->num = clk_num;
num                86 drivers/clk/versatile/clk-sp810.c 	int num = ARRAY_SIZE(parent_names);
num                96 drivers/clk/versatile/clk-sp810.c 	if (of_clk_parent_fill(node, parent_names, num) != num) {
num               110 drivers/clk/versatile/clk-sp810.c 	init.num_parents = num;
num               557 drivers/clk/zte/clk-zx296718.c 	.num = TOP_NR_CLKS,
num               743 drivers/clk/zte/clk-zx296718.c 	.num = LSP0_NR_CLKS,
num               849 drivers/clk/zte/clk-zx296718.c 	.num = LSP1_NR_CLKS,
num               964 drivers/clk/zte/clk-zx296718.c 	.num = AUDIO_NR_CLKS,
num               730 drivers/clk/zynqmp/clkc.c 	zynqmp_data->num = clock_max_idx;
num               335 drivers/cpufreq/imx6q-cpufreq.c 	int num, ret;
num               402 drivers/cpufreq/imx6q-cpufreq.c 	num = dev_pm_opp_get_opp_count(cpu_dev);
num               403 drivers/cpufreq/imx6q-cpufreq.c 	if (num < 0) {
num               404 drivers/cpufreq/imx6q-cpufreq.c 		ret = num;
num               416 drivers/cpufreq/imx6q-cpufreq.c 	imx6_soc_volt = devm_kcalloc(cpu_dev, num, sizeof(*imx6_soc_volt),
num               432 drivers/cpufreq/imx6q-cpufreq.c 	if (nr % 2 || (nr / 2) < num)
num               435 drivers/cpufreq/imx6q-cpufreq.c 	for (j = 0; j < num; j++) {
num               449 drivers/cpufreq/imx6q-cpufreq.c 	if (soc_opp_count != num) {
num               451 drivers/cpufreq/imx6q-cpufreq.c 		for (j = 0; j < num; j++)
num               453 drivers/cpufreq/imx6q-cpufreq.c 		if (freq_table[num - 1].frequency * 1000 == FREQ_1P2_GHZ)
num               454 drivers/cpufreq/imx6q-cpufreq.c 			imx6_soc_volt[num - 1] = PU_SOC_VOLTAGE_HIGH;
num               464 drivers/cpufreq/imx6q-cpufreq.c 	ret = regulator_set_voltage_time(soc_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]);
num               468 drivers/cpufreq/imx6q-cpufreq.c 		ret = regulator_set_voltage_time(pu_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]);
num               478 drivers/cpufreq/imx6q-cpufreq.c 	max_freq = freq_table[--num].frequency;
num                87 drivers/cpufreq/pxa3xx-cpufreq.c 			     struct pxa3xx_freq_info *freqs, int num)
num                92 drivers/cpufreq/pxa3xx-cpufreq.c 	table = kcalloc(num + 1, sizeof(*table), GFP_KERNEL);
num                96 drivers/cpufreq/pxa3xx-cpufreq.c 	for (i = 0; i < num; i++) {
num               100 drivers/cpufreq/pxa3xx-cpufreq.c 	table[num].driver_data = i;
num               101 drivers/cpufreq/pxa3xx-cpufreq.c 	table[num].frequency = CPUFREQ_TABLE_END;
num               104 drivers/cpufreq/pxa3xx-cpufreq.c 	pxa3xx_freqs_num = num;
num               476 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_multi2_num_rounds(struct cc_hw_desc *pdesc, u32 num)
num               478 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[2] = num;
num               610 drivers/crypto/hifn_795x.c 	int			num;
num              1368 drivers/crypto/hifn_795x.c 		int num, gfp_t gfp_flags)
num              1372 drivers/crypto/hifn_795x.c 	num = min(ASYNC_SCATTERLIST_CACHE, num);
num              1373 drivers/crypto/hifn_795x.c 	sg_init_table(w->cache, num);
num              1375 drivers/crypto/hifn_795x.c 	w->num = 0;
num              1376 drivers/crypto/hifn_795x.c 	for (i = 0; i < num; ++i) {
num              1386 drivers/crypto/hifn_795x.c 		w->num++;
num              1396 drivers/crypto/hifn_795x.c 	for (i = 0; i < w->num; ++i) {
num              1404 drivers/crypto/hifn_795x.c 	w->num = 0;
num              1446 drivers/crypto/hifn_795x.c 		if (idx >= w->num && (w->flags & ASYNC_FLAGS_MISALIGNED))
num              1627 drivers/crypto/hisilicon/qm.c #define QM_INIT_BUF(qm, type, num) do { \
num              1630 drivers/crypto/hisilicon/qm.c 	off += QMC_ALIGN(sizeof(struct qm_##type) * (num)); \
num               884 drivers/crypto/hisilicon/sec/sec_drv.c bool sec_queue_can_enqueue(struct sec_queue *queue, int num)
num               888 drivers/crypto/hisilicon/sec/sec_drv.c 	return SEC_QUEUE_LEN - atomic_read(&msg_ring->used) >= num;
num               418 drivers/crypto/hisilicon/sec/sec_drv.h bool sec_queue_can_enqueue(struct sec_queue *queue, int num);
num              1408 drivers/crypto/ixp4xx_crypto.c 	int num = ARRAY_SIZE(ixp4xx_algos);
num              1423 drivers/crypto/ixp4xx_crypto.c 	for (i=0; i< num; i++) {
num              1497 drivers/crypto/ixp4xx_crypto.c 	int num = ARRAY_SIZE(ixp4xx_algos);
num              1505 drivers/crypto/ixp4xx_crypto.c 	for (i=0; i< num; i++) {
num                13 drivers/crypto/omap-aes.c #define prn(num) pr_debug(#num "=%d\n", num)
num                14 drivers/crypto/omap-aes.c #define prx(num) pr_debug(#num "=%x\n", num)
num                12 drivers/crypto/omap-des.c #define prn(num) printk(#num "=%d\n", num)
num                13 drivers/crypto/omap-des.c #define prx(num) printk(#num "=%x\n", num)
num                15 drivers/crypto/omap-des.c #define prn(num) do { } while (0)
num                16 drivers/crypto/omap-des.c #define prx(num)  do { } while (0)
num               130 drivers/crypto/qat/qat_common/adf_common_drv.h void adf_devmgr_get_num_dev(uint32_t *num);
num               410 drivers/crypto/qat/qat_common/adf_dev_mgr.c void adf_devmgr_get_num_dev(uint32_t *num)
num               412 drivers/crypto/qat/qat_common/adf_dev_mgr.c 	*num = num_devices - adf_get_num_dettached_vfs();
num               240 drivers/crypto/qat/qat_common/qat_uclo.c static int qat_uclo_parse_num(char *str, unsigned int *num)
num               256 drivers/crypto/qat/qat_common/qat_uclo.c 	*num = (unsigned int)ae;
num               510 drivers/crypto/qat/qat_common/qat_uclo.c static unsigned int qat_uclo_calc_str_checksum(char *ptr, int num)
num               515 drivers/crypto/qat/qat_common/qat_uclo.c 		while (num--)
num               106 drivers/dma-buf/dma-fence.c u64 dma_fence_context_alloc(unsigned num)
num               108 drivers/dma-buf/dma-fence.c 	WARN_ON(!num);
num               109 drivers/dma-buf/dma-fence.c 	return atomic64_add_return(num, &dma_fence_context_counter) - num;
num               449 drivers/dma/k3dma.c 			dma_addr_t src, size_t len, u32 num, u32 ccfg)
num               451 drivers/dma/k3dma.c 	if (num != ds->desc_num - 1)
num               452 drivers/dma/k3dma.c 		ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) *
num               455 drivers/dma/k3dma.c 	ds->desc_hw[num].lli |= CX_LLI_CHAIN_EN;
num               456 drivers/dma/k3dma.c 	ds->desc_hw[num].count = len;
num               457 drivers/dma/k3dma.c 	ds->desc_hw[num].saddr = src;
num               458 drivers/dma/k3dma.c 	ds->desc_hw[num].daddr = dst;
num               459 drivers/dma/k3dma.c 	ds->desc_hw[num].config = ccfg;
num               462 drivers/dma/k3dma.c static struct k3_dma_desc_sw *k3_dma_alloc_desc_resource(int num,
num               470 drivers/dma/k3dma.c 	if (num > lli_limit) {
num               472 drivers/dma/k3dma.c 			&c->vc, num, lli_limit);
num               486 drivers/dma/k3dma.c 	ds->desc_num = num;
num               497 drivers/dma/k3dma.c 	int num = 0;
num               502 drivers/dma/k3dma.c 	num = DIV_ROUND_UP(len, DMA_MAX_SIZE);
num               504 drivers/dma/k3dma.c 	ds = k3_dma_alloc_desc_resource(num, chan);
num               510 drivers/dma/k3dma.c 	num = 0;
num               521 drivers/dma/k3dma.c 		k3_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg);
num               528 drivers/dma/k3dma.c 	ds->desc_hw[num-1].lli = 0;	/* end of link */
num               541 drivers/dma/k3dma.c 	int num = sglen, i;
num               551 drivers/dma/k3dma.c 			num += DIV_ROUND_UP(avail, DMA_MAX_SIZE) - 1;
num               554 drivers/dma/k3dma.c 	ds = k3_dma_alloc_desc_resource(num, chan);
num               557 drivers/dma/k3dma.c 	num = 0;
num               576 drivers/dma/k3dma.c 			k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg);
num               583 drivers/dma/k3dma.c 	ds->desc_hw[num-1].lli = 0;	/* end of link */
num               598 drivers/dma/k3dma.c 	int num = 1, since = 0;
num               608 drivers/dma/k3dma.c 		num += DIV_ROUND_UP(avail, modulo) - 1;
num               610 drivers/dma/k3dma.c 	ds = k3_dma_alloc_desc_resource(num, chan);
num               618 drivers/dma/k3dma.c 	num = 0;
num               642 drivers/dma/k3dma.c 		k3_dma_fill_desc(ds, dst, src, len, num++, c->ccfg | en_tc2);
num               649 drivers/dma/k3dma.c 	ds->desc_hw[num - 1].lli |= ds->desc_hw_lli;
num               103 drivers/dma/sa11x0-dma.c 	unsigned		num;
num               155 drivers/dma/sa11x0-dma.c 		p->num, &txd->vd, txd->vd.tx.cookie, txd->ddar);
num               217 drivers/dma/sa11x0-dma.c 		p->num, dcsr,
num               263 drivers/dma/sa11x0-dma.c 	dev_dbg(d->slave.dev, "pchan %u: irq: DCSR:%02x\n", p->num, dcsr);
num               267 drivers/dma/sa11x0-dma.c 			p->num, dcsr,
num               342 drivers/dma/sa11x0-dma.c 				dev_dbg(d->slave.dev, "pchan %u: free\n", p->num);
num               767 drivers/dma/sa11x0-dma.c 		dev_dbg(d->slave.dev, "pchan %u: terminating\n", p->num);
num               937 drivers/dma/sa11x0-dma.c 		p->num = i;
num               417 drivers/dma/ste_dma40.c 	int	   num;
num               621 drivers/dma/ste_dma40.c 	       chan->phy_chan->num * D40_DREG_PCDELTA;
num               715 drivers/dma/ste_dma40.c 		int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
num               743 drivers/dma/ste_dma40.c 		int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
num               888 drivers/dma/ste_dma40.c 		unsigned int lcla_offset = chan->phy_chan->num * 1024 +
num              1056 drivers/dma/ste_dma40.c 	if (d40c->phy_chan->num % 2 == 0)
num              1063 drivers/dma/ste_dma40.c 			  D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
num              1064 drivers/dma/ste_dma40.c 			D40_CHAN_POS(d40c->phy_chan->num);
num              1070 drivers/dma/ste_dma40.c 	wmask = 0xffffffff & ~(D40_CHAN_POS_MASK(d40c->phy_chan->num));
num              1071 drivers/dma/ste_dma40.c 	writel(wmask | (command << D40_CHAN_POS(d40c->phy_chan->num)),
num              1078 drivers/dma/ste_dma40.c 				  D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
num              1079 drivers/dma/ste_dma40.c 				D40_CHAN_POS(d40c->phy_chan->num);
num              1096 drivers/dma/ste_dma40.c 				d40c->phy_chan->num, d40c->log_num,
num              1201 drivers/dma/ste_dma40.c 				"status %x\n", d40c->phy_chan->num,
num              1273 drivers/dma/ste_dma40.c 	if (d40c->phy_chan->num % 2 == 0)
num              1286 drivers/dma/ste_dma40.c 				 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
num              1287 drivers/dma/ste_dma40.c 				 D40_CHAN_POS(d40c->phy_chan->num);
num              1354 drivers/dma/ste_dma40.c 	addr_base = (d40c->phy_chan->num % 2) * 4;
num              1357 drivers/dma/ste_dma40.c 		D40_CHAN_POS(d40c->phy_chan->num);
num              1361 drivers/dma/ste_dma40.c 	var = d40_get_prmo(d40c) << D40_CHAN_POS(d40c->phy_chan->num);
num              1366 drivers/dma/ste_dma40.c 		int lidx = (d40c->phy_chan->num << D40_SREG_ELEM_LOG_LIDX_POS)
num              1953 drivers/dma/ste_dma40.c 		d40c->base->lookup_phy_chans[d40c->phy_chan->num] = d40c;
num              2033 drivers/dma/ste_dma40.c 		d40c->base->lookup_phy_chans[phy->num] = NULL;
num              2061 drivers/dma/ste_dma40.c 		if (d40c->phy_chan->num % 2 == 0)
num              2067 drivers/dma/ste_dma40.c 			  D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
num              2068 drivers/dma/ste_dma40.c 			D40_CHAN_POS(d40c->phy_chan->num);
num              2436 drivers/dma/ste_dma40.c 		 d40c->phy_chan->num,
num              2938 drivers/dma/ste_dma40.c 			 u32 *regaddr, int num, bool save)
num              2942 drivers/dma/ste_dma40.c 	for (i = 0; i < num; i++) {
num              3033 drivers/dma/ste_dma40.c 		base->phy_res[i].num = i;
num               951 drivers/dma/ti/cppi41.c 	u32 *num = param;
num               958 drivers/dma/ti/cppi41.c 	if (cchan->port_num != num[INFO_PORT])
num               961 drivers/dma/ti/cppi41.c 	if (cchan->is_tx && !num[INFO_IS_TX])
num                51 drivers/dma/xgene-dma.c #define XGENE_DMA_RING_ID_GET(owner, num)	(((owner) << 6) | (num))
num               218 drivers/dma/xgene-dma.c 	u16 num;
num              1033 drivers/dma/xgene-dma.c 	iowrite32(ring->num, ring->pdma->csr_ring + XGENE_DMA_RING_STATE);
num              1083 drivers/dma/xgene-dma.c 	iowrite32(XGENE_DMA_RING_ID_BUF_SETUP(ring->num),
num              1127 drivers/dma/xgene-dma.c 				XGENE_DMA_RING_CMD_BASE_OFFSET((ring->num -
num              1190 drivers/dma/xgene-dma.c 	ring->num = chan->pdma->ring_num++;
num              1229 drivers/dma/xgene-dma.c 		 rx_ring->id, rx_ring->num, rx_ring->desc_vaddr);
num              1242 drivers/dma/xgene-dma.c 	tx_ring->dst_ring_num = XGENE_DMA_RING_DST_ID(rx_ring->num);
num              1246 drivers/dma/xgene-dma.c 		 tx_ring->id, tx_ring->num, tx_ring->desc_vaddr);
num               407 drivers/dma/zx_dma.c 			     dma_addr_t src, size_t len, u32 num, u32 ccfg)
num               409 drivers/dma/zx_dma.c 	if ((num + 1) < ds->desc_num)
num               410 drivers/dma/zx_dma.c 		ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) *
num               412 drivers/dma/zx_dma.c 	ds->desc_hw[num].saddr = src;
num               413 drivers/dma/zx_dma.c 	ds->desc_hw[num].daddr = dst;
num               414 drivers/dma/zx_dma.c 	ds->desc_hw[num].src_x = len;
num               415 drivers/dma/zx_dma.c 	ds->desc_hw[num].ctr = ccfg;
num               418 drivers/dma/zx_dma.c static struct zx_dma_desc_sw *zx_alloc_desc_resource(int num,
num               426 drivers/dma/zx_dma.c 	if (num > lli_limit) {
num               428 drivers/dma/zx_dma.c 			&c->vc, num, lli_limit);
num               442 drivers/dma/zx_dma.c 	ds->desc_num = num;
num               513 drivers/dma/zx_dma.c 	int num = 0;
num               521 drivers/dma/zx_dma.c 	num = DIV_ROUND_UP(len, DMA_MAX_SIZE);
num               523 drivers/dma/zx_dma.c 	ds = zx_alloc_desc_resource(num, chan);
num               528 drivers/dma/zx_dma.c 	num = 0;
num               532 drivers/dma/zx_dma.c 		zx_dma_fill_desc(ds, dst, src, copy, num++, c->ccfg);
num               540 drivers/dma/zx_dma.c 	ds->desc_hw[num - 1].lli = 0;	/* end of link */
num               541 drivers/dma/zx_dma.c 	ds->desc_hw[num - 1].ctr |= ZX_IRQ_ENABLE_ALL;
num               554 drivers/dma/zx_dma.c 	int num = sglen, i;
num               565 drivers/dma/zx_dma.c 			num += DIV_ROUND_UP(avail, DMA_MAX_SIZE) - 1;
num               568 drivers/dma/zx_dma.c 	ds = zx_alloc_desc_resource(num, chan);
num               573 drivers/dma/zx_dma.c 	num = 0;
num               590 drivers/dma/zx_dma.c 			zx_dma_fill_desc(ds, dst, src, len, num++, c->ccfg);
num               597 drivers/dma/zx_dma.c 	ds->desc_hw[num - 1].lli = 0;	/* end of link */
num               598 drivers/dma/zx_dma.c 	ds->desc_hw[num - 1].ctr |= ZX_IRQ_ENABLE_ALL;
num               612 drivers/dma/zx_dma.c 	int buf = 0, num = 0;
num               635 drivers/dma/zx_dma.c 		zx_dma_fill_desc(ds, dst, src, period_len, num++,
num               641 drivers/dma/zx_dma.c 	ds->desc_hw[num - 1].lli = ds->desc_hw_lli;
num               469 drivers/edac/thunderx_edac.c 					  size_t num)
num               480 drivers/edac/thunderx_edac.c 	for (i = 0; i < num; i++) {
num               235 drivers/firewire/init_ohci1394_dma.c static inline void __init init_ohci1394_controller(int num, int slot, int func)
num               241 drivers/firewire/init_ohci1394_dma.c 			 " at %02x:%02x.%x\n", num, slot, func);
num               243 drivers/firewire/init_ohci1394_dma.c 	ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2))
num               259 drivers/firewire/init_ohci1394_dma.c 	int num, slot, func;
num               266 drivers/firewire/init_ohci1394_dma.c 	for (num = 0; num < 32; num++) {
num               269 drivers/firewire/init_ohci1394_dma.c 				class = read_pci_config(num, slot, func,
num               277 drivers/firewire/init_ohci1394_dma.c 				init_ohci1394_controller(num, slot, func);
num               487 drivers/firmware/broadcom/bcm47xx_sprom.c static int bcm47xx_increase_mac_addr(u8 *mac, u8 num)
num               493 drivers/firmware/broadcom/bcm47xx_sprom.c 		(*p) += num;
num               494 drivers/firmware/broadcom/bcm47xx_sprom.c 		if (*p > num)
num               497 drivers/firmware/broadcom/bcm47xx_sprom.c 		num = 1;
num               133 drivers/firmware/efi/earlycon.c efi_earlycon_write(struct console *con, const char *str, unsigned int num)
num               143 drivers/firmware/efi/earlycon.c 	while (num) {
num               148 drivers/firmware/efi/earlycon.c 			if (count == num)
num               177 drivers/firmware/efi/earlycon.c 		num -= count;
num               181 drivers/firmware/efi/earlycon.c 		if (num > 0 && *s == '\n') {
num               185 drivers/firmware/efi/earlycon.c 			num--;
num                76 drivers/firmware/imx/scu-pd.c 	u8 num;
num               285 drivers/firmware/imx/scu-pd.c 		count += pd_ranges[i].num;
num               297 drivers/firmware/imx/scu-pd.c 		for (j = 0; j < pd_ranges[i].num; j++) {
num               140 drivers/firmware/psci/psci_checker.c static void free_cpu_groups(int num, cpumask_var_t **pcpu_groups)
num               145 drivers/firmware/psci/psci_checker.c 	for (i = 0; i < num; ++i)
num                29 drivers/firmware/qcom_scm-64.c #define QCOM_SCM_ARGS_IMPL(num, a, b, c, d, e, f, g, h, i, j, ...) (\
num                40 drivers/firmware/qcom_scm-64.c 			   ((num) & 0xf))
num              3211 drivers/firmware/ti_sci.c 					       res->desc[set].num);
num              3212 drivers/firmware/ti_sci.c 		if (free_bit != res->desc[set].num) {
num              3237 drivers/firmware/ti_sci.c 		    (res->desc[set].num + res->desc[set].start) > id)
num              3256 drivers/firmware/ti_sci.c 		count += res->desc[set].num;
num              3307 drivers/firmware/ti_sci.c 							&res->desc[i].num);
num              3312 drivers/firmware/ti_sci.c 			res->desc[i].num = 0;
num              3318 drivers/firmware/ti_sci.c 			res->desc[i].num);
num              3322 drivers/firmware/ti_sci.c 			devm_kzalloc(dev, BITS_TO_LONGS(res->desc[i].num) *
num               496 drivers/fpga/dfl.c 	pdata->num = binfo->feature_num;
num               237 drivers/fpga/dfl.h 	int num;
num               281 drivers/fpga/dfl.h static inline int dfl_feature_platform_data_size(const int num)
num               284 drivers/fpga/dfl.h 		num * sizeof(struct dfl_feature);
num               308 drivers/fpga/dfl.h 	   (feature) < (pdata)->features + (pdata)->num; (feature)++)
num               376 drivers/gpio/gpio-ml-ioh.c 				       unsigned int num)
num               396 drivers/gpio/gpio-ml-ioh.c 	rv = devm_irq_setup_generic_chip(chip->dev, gc, IRQ_MSK(num),
num               315 drivers/gpio/gpio-pch.c 				       unsigned int num)
num               334 drivers/gpio/gpio-pch.c 	rv = devm_irq_setup_generic_chip(chip->dev, gc, IRQ_MSK(num),
num               131 drivers/gpio/gpio-reg.c 	int base, int num, const char *label, u32 direction, u32 def_out,
num               157 drivers/gpio/gpio-reg.c 	r->gc.ngpio = num;
num                85 drivers/gpio/gpiolib-legacy.c int gpio_request_array(const struct gpio *array, size_t num)
num                89 drivers/gpio/gpiolib-legacy.c 	for (i = 0; i < num; i++, array++) {
num               108 drivers/gpio/gpiolib-legacy.c void gpio_free_array(const struct gpio *array, size_t num)
num               110 drivers/gpio/gpiolib-legacy.c 	while (num--)
num               283 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 				      int num)
num               289 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	for (i = 0; i < num; i++) {
num               301 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 				  struct eeprom_table_record *records, int num)
num               303 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	return __calc_hdr_byte_sum(control) + __calc_recs_byte_sum(records, num);
num               308 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 				  struct eeprom_table_record *records, int num,
num               320 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	control->tbl_byte_sum += __calc_tbl_byte_sum(control, records, num);
num               327 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 			    struct eeprom_table_record *records, int num)
num               329 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	control->tbl_byte_sum = __calc_tbl_byte_sum(control, records, num);
num               342 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 					    int num)
num               352 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	buffs = kcalloc(num, EEPROM_ADDRESS_SIZE + EEPROM_TABLE_RECORD_SIZE,
num               359 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	msgs = kcalloc(num, sizeof(*msgs), GFP_KERNEL);
num               366 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	if (write && (control->next_addr + EEPROM_TABLE_RECORD_SIZE * num > EEPROM_SIZE_BYTES))
num               375 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	for (i = 0; i < num; i++) {
num               407 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	ret = i2c_transfer(&control->eeprom_accessor, msgs, num);
num               417 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 		for (i = 0; i < num; i++) {
num               435 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 		control->num_recs += num;
num               437 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 		control->tbl_hdr.tbl_size += EEPROM_TABLE_RECORD_SIZE * num;
num               442 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 		__update_tbl_checksum(control, records, num, old_hdr_byte_sum);
num               445 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	} else if (!__validate_tbl_checksum(control, records, num)) {
num               459 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 	return ret == num ? 0 : -EIO;
num                86 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h 					    int num);
num                40 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 				       u8 *buf, u8 num)
num                57 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		if (num > ATOM_MAX_HW_I2C_WRITE) {
num                58 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 			DRM_ERROR("hw i2c: tried to write too many bytes (%d vs 3)\n", num);
num                66 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		if (num)
num                67 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 			num--;
num                68 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		if (num) {
num                70 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 				memcpy(&out, &buf[1], num);
num                79 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		if (num > ATOM_MAX_HW_I2C_READ) {
num                80 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 			DRM_ERROR("hw i2c: tried to read too many bytes (%d vs 255)\n", num);
num                90 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 	args.ucTransBytes = num;
num               104 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		amdgpu_atombios_copy_swap(buf, base, num, false);
num               113 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 		      struct i2c_msg *msgs, int num)
num               122 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 	if ((num == 1) && (p->len == 0)) {
num               129 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 			return num;
num               132 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 	for (i = 0; i < num; i++) {
num               159 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c 	return num;
num                28 drivers/gpu/drm/amd/amdgpu/atombios_i2c.h 		      struct i2c_msg *msgs, int num);
num              1120 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			   uint32_t num, uint32_t *out)
num              1127 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	while (num--)
num              2999 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 			   uint32_t regno, uint32_t num, uint32_t *out)
num              3008 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	while (num--)
num              4153 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 			   uint32_t regno, uint32_t num, uint32_t *out)
num              4162 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	while (num--)
num              5253 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			   uint32_t regno, uint32_t num, uint32_t *out)
num              5262 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	while (num--)
num              1788 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			   uint32_t regno, uint32_t num, uint32_t *out)
num              1797 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	while (num--)
num               630 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c 			      struct i2c_msg *msgs, int num)
num               642 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c 	for (i = 0; i < num; i++) {
num               653 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c 			num = -EIO;
num               659 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c 	return num;
num              5114 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			      struct i2c_msg *msgs, int num)
num              5122 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	cmd.payloads = kcalloc(num, sizeof(struct i2c_payload), GFP_KERNEL);
num              5127 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	cmd.number_of_payloads = num;
num              5131 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	for (i = 0; i < num; i++) {
num              5142 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		result = num;
num               513 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	int num = cmd->number_of_payloads;
num               521 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	msgs = kcalloc(num, sizeof(struct i2c_msg), GFP_KERNEL);
num               526 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	for (i = 0; i < num; i++) {
num               533 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c 	result = i2c_transfer(&aconnector->i2c->base, msgs, num) == num;
num                41 drivers/gpu/drm/amd/display/dc/basics/conversion.h static inline unsigned int log_2(unsigned int num)
num                43 drivers/gpu/drm/amd/display/dc/basics/conversion.h 	return ilog2(num);
num              1410 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h 		uint32_t num,
num              1449 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h 		uint32_t num);
num               350 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c 				 uint32_t num)
num               355 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c 	for (i = 0 ; i < num; i++) {
num               672 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c 		uint32_t num,
num               685 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c 	for (i = 0 ; i < num; i++) {
num                88 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		uint32_t num,
num               100 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	for (i = 0 ; i < num; i++) {
num               185 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		uint32_t num)
num               190 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	for (i = 0 ; i < num; i++) {
num               353 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 		uint32_t num)
num               361 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c 	for (i = 0 ; i < num; i++) {
num               343 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c 		uint32_t num)
num               348 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c 	for (i = 0 ; i < num; i++) {
num               113 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h static inline unsigned int dml_round_to_multiple(unsigned int num,
num               120 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h 		return num;
num               122 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h 	remainder = num % multiple;
num               125 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h 		return num;
num               128 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h 		return (num + multiple - remainder);
num               130 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h 		return (num - remainder);
num                89 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c double dsc_roundf(double num)
num                91 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	if (num < 0.0)
num                92 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		num = num - 0.5;
num                94 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		num = num + 0.5;
num                96 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	return (int)(num);
num                99 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c double dsc_ceil(double num)
num               101 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	double retval = (int)num;
num               103 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 	if (retval != num && num > 0)
num               104 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c 		retval = num + 1;
num                31 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c double dsc_ceil(double num);
num                85 drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h struct bw_fixed bw_frc_to_fixed(int64_t num, int64_t denum);
num               154 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h 			uint32_t num);
num               219 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h 			uint32_t num);
num               342 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 				  uint32_t *feature_mask, uint32_t num)
num               344 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	if (num > 2)
num               348 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c 	memset(feature_mask, 0xFF, sizeof(uint32_t) * num);
num               396 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static fInt fSqrt(fInt num)
num               408 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	if (GreaterThan(fZERO, num) || Equal(fZERO, num))
num               411 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	C = num;
num               413 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	if (num.partial.real > 3000)
num               415 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	else if (num.partial.real > 1000)
num               417 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	else if (num.partial.real > 100)
num               424 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h 	if (Equal(num, fZERO)) /*Square Root of Zero is zero */
num               403 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*get_allowed_feature_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num);
num               497 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	int (*get_enabled_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num);
num               614 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_feature_get_enabled_mask(smu, mask, num) \
num               615 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	((smu)->funcs->get_enabled_mask? (smu)->funcs->get_enabled_mask((smu), (mask), (num)) : 0)
num               703 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_get_allowed_feature_mask(smu, feature_mask, num) \
num               704 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h 	((smu)->ppt_funcs? ((smu)->ppt_funcs->get_allowed_feature_mask? (smu)->ppt_funcs->get_allowed_feature_mask((smu), (feature_mask), (num)) : 0) : 0)
num               320 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 				  uint32_t *feature_mask, uint32_t num)
num               324 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	if (num > 2)
num               327 drivers/gpu/drm/amd/powerplay/navi10_ppt.c 	memset(feature_mask, 0, sizeof(uint32_t) * num);
num               874 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 				      uint32_t *feature_mask, uint32_t num)
num               879 drivers/gpu/drm/amd/powerplay/smu_v11_0.c 	if (!feature_mask || num < 2)
num               591 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 				  uint32_t *feature_mask, uint32_t num)
num               593 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	if (num > 2)
num               596 drivers/gpu/drm/amd/powerplay/vega20_ppt.c 	memset(feature_mask, 0, sizeof(uint32_t) * num);
num                41 drivers/gpu/drm/arm/display/include/malidp_io.h malidp_write_group(u32 __iomem *base, u32 offset, int num, const u32 *values)
num                45 drivers/gpu/drm/arm/display/include/malidp_io.h 	for (i = 0; i < num; i++)
num               168 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c 	int idx, *num = NULL;
num               182 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c 		num = &pipe->n_layers;
num               189 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c 		num = &pipe->n_scalers;
num               217 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c 	if (num)
num               218 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c 		*num = *num + 1;
num               252 drivers/gpu/drm/armada/armada_crtc.c 		DRM_ERROR("video underflow on crtc %u\n", dcrtc->num);
num               254 drivers/gpu/drm/armada/armada_crtc.c 		DRM_ERROR("graphics underflow on crtc %u\n", dcrtc->num);
num               765 drivers/gpu/drm/armada/armada_crtc.c 	priv->dcrtc[dcrtc->num] = NULL;
num               925 drivers/gpu/drm/armada/armada_crtc.c 	dcrtc->num = drm->mode_config.num_crtc;
num               959 drivers/gpu/drm/armada/armada_crtc.c 	priv->dcrtc[dcrtc->num] = dcrtc;
num               988 drivers/gpu/drm/armada/armada_crtc.c 	return armada_overlay_plane_create(drm, 1 << dcrtc->num);
num                40 drivers/gpu/drm/armada/armada_crtc.h 	unsigned		num;
num               382 drivers/gpu/drm/armada/armada_gem.c 	int i, num;
num               403 drivers/gpu/drm/armada/armada_gem.c 				num = i;
num               411 drivers/gpu/drm/armada/armada_gem.c 			num = sgt->nents;
num               435 drivers/gpu/drm/armada/armada_gem.c 	for_each_sg(sgt->sgl, sg, num, i)
num               276 drivers/gpu/drm/ast/ast_main.c 	uint32_t denum, num, div, ref_pll, dsel;
num               373 drivers/gpu/drm/ast/ast_main.c 	num = (mcr_scu_mpll & 0x3fe0) >> 5;
num               387 drivers/gpu/drm/ast/ast_main.c 	ast->mclk = ref_pll * (num + 2) / ((denum + 2) * (div * 1000));
num               276 drivers/gpu/drm/bridge/sii902x.c 	int num = 0, ret;
num               286 drivers/gpu/drm/bridge/sii902x.c 		num = drm_add_edid_modes(connector, edid);
num               300 drivers/gpu/drm/bridge/sii902x.c 	ret = num;
num               395 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 			    struct i2c_msg *msgs, int num)
num               411 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	dev_dbg(hdmi->dev, "xfer: num: %d, addr: %#x\n", num, addr);
num               413 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	for (i = 0; i < num; i++) {
num               417 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 				i + 1, num);
num               436 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	for (i = 0; i < num; i++) {
num               438 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 			i + 1, num, msgs[i].len, msgs[i].flags);
num               456 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 		ret = num;
num               109 drivers/gpu/drm/drm_crtc.c 	unsigned int num = 0;
num               113 drivers/gpu/drm/drm_crtc.c 		num++;
num               116 drivers/gpu/drm/drm_crtc.c 	return num;
num               912 drivers/gpu/drm/drm_dp_helper.c 			   int num)
num               924 drivers/gpu/drm/drm_dp_helper.c 	for (i = 0; i < num; i++) {
num               968 drivers/gpu/drm/drm_dp_helper.c 		err = num;
num              4020 drivers/gpu/drm/drm_dp_mst_topology.c static bool remote_i2c_read_ok(const struct i2c_msg msgs[], int num)
num              4024 drivers/gpu/drm/drm_dp_mst_topology.c 	if (num - 1 > DP_REMOTE_I2C_READ_MAX_TRANSACTIONS)
num              4027 drivers/gpu/drm/drm_dp_mst_topology.c 	for (i = 0; i < num - 1; i++) {
num              4033 drivers/gpu/drm/drm_dp_mst_topology.c 	return msgs[num - 1].flags & I2C_M_RD &&
num              4034 drivers/gpu/drm/drm_dp_mst_topology.c 		msgs[num - 1].len <= 0xff;
num              4039 drivers/gpu/drm/drm_dp_mst_topology.c 			       int num)
num              4054 drivers/gpu/drm/drm_dp_mst_topology.c 	if (!remote_i2c_read_ok(msgs, num)) {
num              4062 drivers/gpu/drm/drm_dp_mst_topology.c 	msg.u.i2c_read.num_transactions = num - 1;
num              4064 drivers/gpu/drm/drm_dp_mst_topology.c 	for (i = 0; i < num - 1; i++) {
num              4070 drivers/gpu/drm/drm_dp_mst_topology.c 	msg.u.i2c_read.read_i2c_device_id = msgs[num - 1].addr;
num              4071 drivers/gpu/drm/drm_dp_mst_topology.c 	msg.u.i2c_read.num_bytes_read = msgs[num - 1].len;
num              4091 drivers/gpu/drm/drm_dp_mst_topology.c 		if (txmsg->reply.u.remote_i2c_read_ack.num_bytes != msgs[num - 1].len) {
num              4095 drivers/gpu/drm/drm_dp_mst_topology.c 		memcpy(msgs[num - 1].buf, txmsg->reply.u.remote_i2c_read_ack.bytes, msgs[num - 1].len);
num              4096 drivers/gpu/drm/drm_dp_mst_topology.c 		ret = num;
num               807 drivers/gpu/drm/drm_ioc32.c 	unsigned int num;
num               952 drivers/gpu/drm/drm_mipi_dbi.c 				   u8 *parameters, size_t num)
num               960 drivers/gpu/drm/drm_mipi_dbi.c 	MIPI_DBI_DEBUG_COMMAND(*cmd, parameters, num);
num               963 drivers/gpu/drm/drm_mipi_dbi.c 	if (ret || !num)
num               966 drivers/gpu/drm/drm_mipi_dbi.c 	return mipi_dbi_spi1_transfer(dbi, 1, parameters, num, bpw);
num              1036 drivers/gpu/drm/drm_mipi_dbi.c 				   u8 *par, size_t num)
num              1044 drivers/gpu/drm/drm_mipi_dbi.c 		return mipi_dbi_typec3_command_read(dbi, cmd, par, num);
num              1046 drivers/gpu/drm/drm_mipi_dbi.c 	MIPI_DBI_DEBUG_COMMAND(*cmd, par, num);
num              1051 drivers/gpu/drm/drm_mipi_dbi.c 	if (ret || !num)
num              1058 drivers/gpu/drm/drm_mipi_dbi.c 	speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num);
num              1060 drivers/gpu/drm/drm_mipi_dbi.c 	return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num);
num               790 drivers/gpu/drm/drm_modes.c 		unsigned int num, den;
num               792 drivers/gpu/drm/drm_modes.c 		num = mode->clock * 1000;
num               796 drivers/gpu/drm/drm_modes.c 			num *= 2;
num               802 drivers/gpu/drm/drm_modes.c 		refresh = DIV_ROUND_CLOSEST(num, den);
num                64 drivers/gpu/drm/drm_plane.c 	unsigned int num = 0;
num                68 drivers/gpu/drm/drm_plane.c 		num++;
num                71 drivers/gpu/drm/drm_plane.c 	return num;
num                26 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c #define ST(start, num) { (start) >> 2, (num) }
num               106 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c 	u32 *ptr, unsigned int state_offset, unsigned int num)
num               108 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c 	unsigned int size = min(ETNAVIV_STATES_SIZE, state_offset + num);
num               130 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c 		buf_offset = (ptr - state->start + num) * 4;
num               432 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c 	unsigned int num = 0, i;
num               438 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c 			num += meta->nr_domains;
num               441 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c 	return num;
num               153 drivers/gpu/drm/gma500/cdv_intel_dp.c 		     int num)
num               160 drivers/gpu/drm/gma500/cdv_intel_dp.c 	for (m = 0; m < num; m++) {
num               184 drivers/gpu/drm/gma500/cdv_intel_dp.c 		ret = num;
num               954 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_intel_reduce_ratio(uint32_t *num, uint32_t *den)
num               962 drivers/gpu/drm/gma500/cdv_intel_dp.c 	m = *num;
num               965 drivers/gpu/drm/gma500/cdv_intel_dp.c 	*num = value;
num               222 drivers/gpu/drm/gma500/intel_gmbus.c 		     int num)
num               236 drivers/gpu/drm/gma500/intel_gmbus.c 	ret = adapter->algo->master_xfer(adapter, msgs, num);
num               248 drivers/gpu/drm/gma500/intel_gmbus.c 	   int num)
num               258 drivers/gpu/drm/gma500/intel_gmbus.c 					    bus->force_bit, msgs, num);
num               264 drivers/gpu/drm/gma500/intel_gmbus.c 	for (i = 0; i < num; i++) {
num               271 drivers/gpu/drm/gma500/intel_gmbus.c 					(i + 1 == num ? GMBUS_CYCLE_STOP : 0) |
num               301 drivers/gpu/drm/gma500/intel_gmbus.c 				   (i + 1 == num ? GMBUS_CYCLE_STOP : GMBUS_CYCLE_WAIT) |
num               325 drivers/gpu/drm/gma500/intel_gmbus.c 		if (i + 1 < num && wait_for(GMBUS_REG_READ(GMBUS2 + reg_offset) & (GMBUS_SATOER | GMBUS_HW_WAIT_PHASE), 50))
num               358 drivers/gpu/drm/gma500/intel_gmbus.c 	return intel_i2c_quirk_xfer(dev_priv, bus->force_bit, msgs, num);
num               126 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c 				int num)
num               139 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c 	for (i = 0; i < num; i++) {
num              2479 drivers/gpu/drm/gma500/psb_intel_sdvo.c 				     int num)
num              2486 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	return sdvo->i2c->algo->master_xfer(sdvo->i2c, msgs, num);
num               117 drivers/gpu/drm/i915/display/intel_bw.c static int icl_calc_bw(int dclk, int num, int den)
num               120 drivers/gpu/drm/i915/display/intel_bw.c 	return DIV_ROUND_CLOSEST(num * dclk * 100, den * 6);
num              7494 drivers/gpu/drm/i915/display/intel_display.c intel_reduce_m_n_ratio(u32 *num, u32 *den)
num              7496 drivers/gpu/drm/i915/display/intel_display.c 	while (*num > DATA_LINK_M_N_MASK ||
num              7498 drivers/gpu/drm/i915/display/intel_display.c 		*num >>= 1;
num               545 drivers/gpu/drm/i915/display/intel_gmbus.c gmbus_is_index_xfer(struct i2c_msg *msgs, int i, int num)
num               547 drivers/gpu/drm/i915/display/intel_gmbus.c 	return (i + 1 < num &&
num               587 drivers/gpu/drm/i915/display/intel_gmbus.c do_gmbus_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num,
num               606 drivers/gpu/drm/i915/display/intel_gmbus.c 	for (; i < num; i += inc) {
num               608 drivers/gpu/drm/i915/display/intel_gmbus.c 		if (gmbus_is_index_xfer(msgs, i, num)) {
num               716 drivers/gpu/drm/i915/display/intel_gmbus.c gmbus_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num)
num               727 drivers/gpu/drm/i915/display/intel_gmbus.c 		ret = i2c_bit_algo.master_xfer(adapter, msgs, num);
num               731 drivers/gpu/drm/i915/display/intel_gmbus.c 		ret = do_gmbus_xfer(adapter, msgs, num, 0);
num              3164 drivers/gpu/drm/i915/display/intel_sdvo.c 				     int num)
num              3171 drivers/gpu/drm/i915/display/intel_sdvo.c 	return sdvo->i2c->algo->master_xfer(sdvo->i2c, msgs, num);
num               999 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	u64 num;
num              1042 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	for_each_prime_number_from(num, 0, max) {
num              1043 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 		u64 offset_low = num * max_page_size;
num              1044 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 		u64 offset_high = (max - num) * max_page_size;
num              1045 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 		u32 dword = offset_in_page(num) / 4;
num              1061 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 				       dword, num + 1);
num              1066 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 				       dword, num + 1);
num                46 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c static void guc_ct_pool_entries_init(struct guc_ct_pool_entry *pool, u32 num)
num                48 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c 	memset(pool, 0, num * sizeof(*pool));
num                71 drivers/gpu/drm/i915/gvt/gvt.c 	unsigned int num = 0;
num                76 drivers/gpu/drm/i915/gvt/gvt.c 		num = 0;
num                78 drivers/gpu/drm/i915/gvt/gvt.c 		num = type->avail_instance;
num                80 drivers/gpu/drm/i915/gvt/gvt.c 	return sprintf(buf, "%u\n", num);
num               169 drivers/gpu/drm/i915/gvt/handlers.c #define fence_num_to_offset(num) \
num               170 drivers/gpu/drm/i915/gvt/handlers.c 	(num * 8 + i915_mmio_reg_offset(FENCE_REG_GEN6_LO(0)))
num              1096 drivers/gpu/drm/i915/gvt/handlers.c 	int num = display->sbi.number;
num              1099 drivers/gpu/drm/i915/gvt/handlers.c 	for (i = 0; i < num; ++i)
num              1103 drivers/gpu/drm/i915/gvt/handlers.c 	if (i == num)
num              1113 drivers/gpu/drm/i915/gvt/handlers.c 	int num = display->sbi.number;
num              1116 drivers/gpu/drm/i915/gvt/handlers.c 	for (i = 0; i < num; ++i) {
num              1121 drivers/gpu/drm/i915/gvt/handlers.c 	if (i == num) {
num              1122 drivers/gpu/drm/i915/gvt/handlers.c 		if (num == SBI_REG_MAX) {
num              3292 drivers/gpu/drm/i915/gvt/handlers.c 	int num = gvt->mmio.num_mmio_block;
num              3295 drivers/gpu/drm/i915/gvt/handlers.c 	for (i = 0; i < num; i++, block++) {
num              8115 drivers/gpu/drm/i915/i915_reg.h #define  ICP_RAWCLK_NUM(num)	((num) << 11)
num               800 drivers/gpu/drm/i915/intel_device_info.c static bool find_devid(u16 id, const u16 *p, unsigned int num)
num               802 drivers/gpu/drm/i915/intel_device_info.c 	for (; num; num--, p++) {
num               832 drivers/gpu/drm/i915/intel_uncore.c #define BSEARCH(key, base, num, cmp) ({                                 \
num               833 drivers/gpu/drm/i915/intel_uncore.c 	unsigned int start__ = 0, end__ = (num);                        \
num               238 drivers/gpu/drm/mediatek/mtk_dpi.c 				   enum mtk_dpi_out_bit_num num)
num               242 drivers/gpu/drm/mediatek/mtk_dpi.c 	switch (num) {
num               209 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 			     struct i2c_msg *msgs, int num)
num               233 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c 	for (i = 0; i < num; i++) {
num               131 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c #define _VIG_SBLK(num, sdma_pri) \
num               137 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 	.src_blk = {.name = STRCAT("sspp_src_", num), \
num               139 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 	.scaler_blk = {.name = STRCAT("sspp_scaler", num), \
num               142 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 	.csc_blk = {.name = STRCAT("sspp_csc", num), \
num               151 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c #define _DMA_SBLK(num, sdma_pri) \
num               157 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c 	.src_blk = {.name = STRCAT("sspp_src_", num), \
num                25 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c #define TRAFFIC_SHAPER_RD_CLIENT(num)     (0x030 + (num * 4))
num                26 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c #define TRAFFIC_SHAPER_WR_CLIENT(num)     (0x060 + (num * 4))
num               378 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	ot_params.num = pdpu->pipe_hw->idx - SSPP_NONE;
num               404 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	qos_params.num = pdpu->pipe_hw->idx - SSPP_VIG0;
num               408 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 			plane->base.id, qos_params.num,
num               189 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c 	trace_dpu_perf_set_ot(params->num, params->xin_id, ot_lim,
num                12 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h 	u32 num;
num                41 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h 	u32 num;
num               188 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c 	intf_num = mdp5_cmd_enc->intf->num;
num               551 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c 	mdp5_cstate->err_irqmask = intf2err(intf->num);
num               109 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	switch (intf->num) {
num               142 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 		ctl_op |= MDP5_CTL_OP_INTF_NUM(INTF0 + intf->num);
num               234 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	DBG("intf_%d: %s", intf->num, enabled ? "on" : "off");
num               420 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c 	switch (intf->num) {
num               101 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	int intf = mdp5_encoder->intf->num;
num               202 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	int intfn = mdp5_encoder->intf->num;
num               237 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	int intfn = intf->num;
num               329 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	int intf = mdp5_encoder->intf->num;
num               338 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	int intf = mdp5_encoder->intf->num;
num               357 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c 	intf_num = mdp5_encoder->intf->num;
num               393 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		ctl = mdp5_ctlm_request(ctlm, intf->num);
num               411 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		ctl = mdp5_ctlm_request(ctlm, intf->num);
num               429 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num);
num               433 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 				intf->num);
num               441 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		ctl = mdp5_ctlm_request(ctlm, intf->num);
num               920 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		intf->num = i;
num               154 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h 	int num; /* display interface number */
num               248 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h 	switch (intf->num) {
num                52 drivers/gpu/drm/msm/dsi/dsi.h 	int num;
num                15 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 3,
num                35 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 4,
num                56 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 3,
num                72 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 7,
num               100 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 2,
num               120 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 2,
num               139 drivers/gpu/drm/msm/dsi/dsi_cfg.c 		.num = 1,
num               264 drivers/gpu/drm/msm/dsi/dsi_host.c 	int num = msm_host->cfg_hnd->cfg->reg_cfg.num;
num               268 drivers/gpu/drm/msm/dsi/dsi_host.c 	for (i = num - 1; i >= 0; i--)
num               273 drivers/gpu/drm/msm/dsi/dsi_host.c 	regulator_bulk_disable(num, s);
num               280 drivers/gpu/drm/msm/dsi/dsi_host.c 	int num = msm_host->cfg_hnd->cfg->reg_cfg.num;
num               284 drivers/gpu/drm/msm/dsi/dsi_host.c 	for (i = 0; i < num; i++) {
num               296 drivers/gpu/drm/msm/dsi/dsi_host.c 	ret = regulator_bulk_enable(num, s);
num               314 drivers/gpu/drm/msm/dsi/dsi_host.c 	int num = msm_host->cfg_hnd->cfg->reg_cfg.num;
num               317 drivers/gpu/drm/msm/dsi/dsi_host.c 	for (i = 0; i < num; i++)
num               320 drivers/gpu/drm/msm/dsi/dsi_host.c 	ret = devm_regulator_bulk_get(&msm_host->pdev->dev, num, s);
num               322 drivers/gpu/drm/msm/dsi/dsi_manager.c 	int num;
num               332 drivers/gpu/drm/msm/dsi/dsi_manager.c 	num = drm_panel_get_modes(panel);
num               333 drivers/gpu/drm/msm/dsi/dsi_manager.c 	if (!num)
num               336 drivers/gpu/drm/msm/dsi/dsi_manager.c 	return num;
num               391 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	int num = phy->cfg->reg_cfg.num;
num               394 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	for (i = 0; i < num; i++)
num               397 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	ret = devm_regulator_bulk_get(dev, num, s);
num               415 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	int num = phy->cfg->reg_cfg.num;
num               419 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	for (i = num - 1; i >= 0; i--)
num               423 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	regulator_bulk_disable(num, s);
num               431 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	int num = phy->cfg->reg_cfg.num;
num               435 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	for (i = 0; i < num; i++) {
num               448 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c 	ret = regulator_bulk_enable(num, s);
num               216 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c 		.num = 1,
num               234 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c 		.num = 1,
num               151 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c 		.num = 1,
num               131 drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c 		.num = 2,
num               131 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c 		.num = 1,
num               149 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c 		.num = 1,
num               180 drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c 		.num = 1,
num               789 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c 	hw_data->num = NUM_PROVIDED_CLKS;
num               956 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	int num = 0;
num               974 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hws[num++] = &pll_14nm->base.clk_hw;
num               985 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hws[num++] = hw;
num               996 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hws[num++] = hw;
num              1010 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hws[num++] = hw;
num              1023 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hws[num++] = hw;
num              1026 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	pll_14nm->num_hws = num;
num              1028 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	hw_data->num = NUM_PROVIDED_CLKS;
num               522 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	int num = 0;
num               529 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = clk_register(dev, &pll_28nm->base.clk_hw);
num               533 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = clk_register_divider(dev, clk_name,
num               541 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = clk_register_fixed_factor(dev, clk_name,
num               547 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = provided_clks[DSI_PIXEL_PLL_CLK] =
num               556 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = clk_register_mux(dev, clk_name,
num               564 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	clks[num++] = provided_clks[DSI_BYTE_PLL_CLK] =
num               568 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c 	pll_28nm->num_clks = num;
num               415 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c 	int ret, num = 0;
num               442 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c 	clks[num++] = clk_register(dev, &pll_28nm->base.clk_hw);
num               458 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c 	clks[num++] = provided_clks[DSI_BYTE_PLL_CLK] =
num               463 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c 	clks[num++] = provided_clks[DSI_PIXEL_PLL_CLK] =
num               469 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c 	pll_28nm->num_clks = num;
num                90 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 		struct i2c_msg *msgs, int num)
num               103 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 	num = min(num, MAX_TRANSACTIONS);
num               107 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 	if (num == 0)
num               108 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 		return num;
num               116 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 	for (i = 0; i < num; i++) {
num               152 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 		if (i == (num - 1))
num               160 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 			HDMI_DDC_CTRL_TRANSACTION_CNT(num - 1) |
num               178 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c 	for (i = 0; i < num; i++) {
num               785 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c dd_emit(struct nvkm_grctx *ctx, int num, u32 val) {
num               788 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 		for (i = 0; i < num; i++)
num               791 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 	ctx->ctxvals_pos += num;
num               798 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 	int base, num;
num              1107 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 	num = ctx->ctxvals_pos - base;
num              1110 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 		cp_ctx(ctx, 0x404800, num);
num              1112 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 		cp_ctx(ctx, 0x405400, num);
num              1158 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c xf_emit(struct nvkm_grctx *ctx, int num, u32 val) {
num              1161 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 		for (i = 0; i < num; i++)
num              1164 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c 	ctx->ctxvals_pos += num << 3;
num              1985 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	u8   num = nvbios_rd08(bios, init->offset + 6);
num              1991 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	      "R[0x%08x] 0x%02x 0x%02x\n", addr, incr, num);
num              1994 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c 	for (i = 0; i < num; i++) {
num                43 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c anx9805_bus_xfer(struct nvkm_i2c_bus *base, struct i2c_msg *msgs, int num)
num                50 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c 	int i, j, cnt = num;
num                91 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/anx9805.c 	ret = num;
num                28 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c nvkm_i2c_aux_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num                32 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c 	int ret, mcnt = num;
num                75 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c 	ret = num;
num               183 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c nvkm_i2c_bit_xfer(struct nvkm_i2c_bus *bus, struct i2c_msg *msgs, int num)
num               186 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c 	int ret = 0, mcnt = num;
num               208 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c 	return (ret < 0) ? ret : num;
num               212 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c nvkm_i2c_bit_xfer(struct nvkm_i2c_bus *bus, struct i2c_msg *msgs, int num)
num                78 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c nvkm_i2c_bus_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num                87 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c 	ret = bus->func->xfer(bus, msgs, num);
num                12 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.h 	int (*xfer)(struct nvkm_i2c_bus *, struct i2c_msg *, int num);
num               152 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	u32 i, num = 0;
num               190 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 		num++;
num               202 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c 	return num;
num               318 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	unsigned int i, num = 0;
num               340 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 		num++;
num               349 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c 	return num;
num                64 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	unsigned int i, num = 0;
num                89 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		num++;
num               110 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		num++;
num               121 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	return num;
num               126 drivers/gpu/drm/panel/panel-simple.c 	unsigned int i, num = 0;
num               148 drivers/gpu/drm/panel/panel-simple.c 		num++;
num               151 drivers/gpu/drm/panel/panel-simple.c 	return num;
num               159 drivers/gpu/drm/panel/panel-simple.c 	unsigned int i, num = 0;
num               179 drivers/gpu/drm/panel/panel-simple.c 		num++;
num               182 drivers/gpu/drm/panel/panel-simple.c 	return num;
num               191 drivers/gpu/drm/panel/panel-simple.c 	unsigned int num = 0;
num               200 drivers/gpu/drm/panel/panel-simple.c 			num = 1;
num               207 drivers/gpu/drm/panel/panel-simple.c 	if (num == 0 && panel->desc->num_timings)
num               208 drivers/gpu/drm/panel/panel-simple.c 		num = panel_simple_get_timings_modes(panel);
num               217 drivers/gpu/drm/panel/panel-simple.c 	if (num == 0)
num               218 drivers/gpu/drm/panel/panel-simple.c 		num = panel_simple_get_display_modes(panel);
num               228 drivers/gpu/drm/panel/panel-simple.c 	return num;
num               323 drivers/gpu/drm/panel/panel-simple.c 	int num = 0;
num               330 drivers/gpu/drm/panel/panel-simple.c 			num += drm_add_edid_modes(panel->connector, edid);
num               336 drivers/gpu/drm/panel/panel-simple.c 	num += panel_simple_get_non_edid_modes(p);
num               338 drivers/gpu/drm/panel/panel-simple.c 	return num;
num                38 drivers/gpu/drm/radeon/atombios_i2c.c 				 u8 *buf, int num)
num                56 drivers/gpu/drm/radeon/atombios_i2c.c 		if (num > ATOM_MAX_HW_I2C_WRITE) {
num                57 drivers/gpu/drm/radeon/atombios_i2c.c 			DRM_ERROR("hw i2c: tried to write too many bytes (%d vs 3)\n", num);
num                65 drivers/gpu/drm/radeon/atombios_i2c.c 		if (num)
num                66 drivers/gpu/drm/radeon/atombios_i2c.c 			num--;
num                67 drivers/gpu/drm/radeon/atombios_i2c.c 		if (num)
num                68 drivers/gpu/drm/radeon/atombios_i2c.c 			memcpy(&out, &buf[1], num);
num                71 drivers/gpu/drm/radeon/atombios_i2c.c 		if (num > ATOM_MAX_HW_I2C_READ) {
num                72 drivers/gpu/drm/radeon/atombios_i2c.c 			DRM_ERROR("hw i2c: tried to read too many bytes (%d vs 255)\n", num);
num                82 drivers/gpu/drm/radeon/atombios_i2c.c 	args.ucTransBytes = num;
num                96 drivers/gpu/drm/radeon/atombios_i2c.c 		radeon_atom_copy_swap(buf, base, num, false);
num               106 drivers/gpu/drm/radeon/atombios_i2c.c 			    struct i2c_msg *msgs, int num)
num               115 drivers/gpu/drm/radeon/atombios_i2c.c 	if ((num == 1) && (p->len == 0)) {
num               122 drivers/gpu/drm/radeon/atombios_i2c.c 			return num;
num               125 drivers/gpu/drm/radeon/atombios_i2c.c 	for (i = 0; i < num; i++) {
num               152 drivers/gpu/drm/radeon/atombios_i2c.c 	return num;
num                38 drivers/gpu/drm/radeon/radeon_i2c.c 				   struct i2c_msg *msgs, int num);
num               330 drivers/gpu/drm/radeon/radeon_i2c.c 			    struct i2c_msg *msgs, int num)
num               336 drivers/gpu/drm/radeon/radeon_i2c.c 	int i, j, k, ret = num;
num               468 drivers/gpu/drm/radeon/radeon_i2c.c 	if ((num == 1) && (p->len == 0)) {
num               498 drivers/gpu/drm/radeon/radeon_i2c.c 	for (i = 0; i < num; i++) {
num               583 drivers/gpu/drm/radeon/radeon_i2c.c 			    struct i2c_msg *msgs, int num)
num               589 drivers/gpu/drm/radeon/radeon_i2c.c 	int i, j, remaining, current_count, buffer_offset, ret = num;
num               671 drivers/gpu/drm/radeon/radeon_i2c.c 	if ((num == 1) && (p->len == 0)) {
num               706 drivers/gpu/drm/radeon/radeon_i2c.c 	for (i = 0; i < num; i++) {
num               816 drivers/gpu/drm/radeon/radeon_i2c.c 			      struct i2c_msg *msgs, int num)
num               844 drivers/gpu/drm/radeon/radeon_i2c.c 		ret = r100_hw_i2c_xfer(i2c_adap, msgs, num);
num               858 drivers/gpu/drm/radeon/radeon_i2c.c 			ret = r100_hw_i2c_xfer(i2c_adap, msgs, num);
num               860 drivers/gpu/drm/radeon/radeon_i2c.c 			ret = r500_hw_i2c_xfer(i2c_adap, msgs, num);
num                42 drivers/gpu/drm/radeon/vce_v1_0.c 	int32_t num;
num               181 drivers/gpu/drm/radeon/vce_v1_0.c 	for (i = 0; i < le32_to_cpu(sign->num); ++i) {
num               186 drivers/gpu/drm/radeon/vce_v1_0.c 	if (i == le32_to_cpu(sign->num))
num               726 drivers/gpu/drm/rockchip/inno_hdmi.c 			      struct i2c_msg *msgs, int num)
num               738 drivers/gpu/drm/rockchip/inno_hdmi.c 	for (i = 0; i < num; i++) {
num               741 drivers/gpu/drm/rockchip/inno_hdmi.c 			      i + 1, num, msgs[i].len, msgs[i].flags);
num               753 drivers/gpu/drm/rockchip/inno_hdmi.c 		ret = num;
num               653 drivers/gpu/drm/rockchip/rk3066_hdmi.c 				struct i2c_msg *msgs, int num)
num               668 drivers/gpu/drm/rockchip/rk3066_hdmi.c 	for (i = 0; i < num; i++) {
num               671 drivers/gpu/drm/rockchip/rk3066_hdmi.c 			      i + 1, num, msgs[i].len, msgs[i].flags);
num               683 drivers/gpu/drm/rockchip/rk3066_hdmi.c 		ret = num;
num               406 drivers/gpu/drm/sti/sti_hdmi.c 		size_t num;
num               408 drivers/gpu/drm/sti/sti_hdmi.c 		num = min_t(size_t, size - i, sizeof(u32));
num               409 drivers/gpu/drm/sti/sti_hdmi.c 		val = hdmi_infoframe_subpack(ptr, num);
num               147 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c 			       struct i2c_msg *msgs, int num)
num               151 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c 	int err, i, ret = num;
num               153 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c 	for (i = 0; i < num; i++) {
num               176 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c 	for (i = 0; i < num; i++) {
num               183 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON0_CPU_TRI1_BLOCK_NUM(num)		(((num) - 1) & 0xffff)
num               190 drivers/gpu/drm/sun4i/sun4i_tcon.h #define SUN4I_TCON_SAFE_PERIOD_NUM(num)			(((num) & 0xfff) << 16)
num               217 drivers/gpu/drm/sun4i/sun8i_tcon_top.c 	clk_data->num = CLK_NUM;
num                90 drivers/gpu/drm/tegra/dpaux.c 		size_t num = min_t(size_t, size - i * 4, 4);
num                93 drivers/gpu/drm/tegra/dpaux.c 		for (j = 0; j < num; j++)
num               106 drivers/gpu/drm/tegra/dpaux.c 		size_t num = min_t(size_t, size - i * 4, 4);
num               111 drivers/gpu/drm/tegra/dpaux.c 		for (j = 0; j < num; j++)
num               672 drivers/gpu/drm/tegra/hdmi.c 		size_t rem = size - i, num = min_t(size_t, rem, 4);
num               674 drivers/gpu/drm/tegra/hdmi.c 		value = tegra_hdmi_subpack(&ptr[i], num);
num               677 drivers/gpu/drm/tegra/hdmi.c 		num = min_t(size_t, rem - num, 3);
num               679 drivers/gpu/drm/tegra/hdmi.c 		value = tegra_hdmi_subpack(&ptr[i + 4], num);
num                79 drivers/gpu/drm/tegra/rgb.c 				unsigned int num)
num                83 drivers/gpu/drm/tegra/rgb.c 	for (i = 0; i < num; i++)
num               910 drivers/gpu/drm/tegra/sor.c 	u64 input, output, watermark, num;
num               976 drivers/gpu/drm/tegra/sor.c 	num = ((mode->htotal - mode->hdisplay) - 7) * link_rate;
num               977 drivers/gpu/drm/tegra/sor.c 	config->hblank_symbols = div_u64(num, pclk);
num               985 drivers/gpu/drm/tegra/sor.c 	num = (mode->hdisplay - 25) * link_rate;
num               986 drivers/gpu/drm/tegra/sor.c 	config->vblank_symbols = div_u64(num, pclk);
num              2089 drivers/gpu/drm/tegra/sor.c 		size_t rem = size - i, num = min_t(size_t, rem, 4);
num              2091 drivers/gpu/drm/tegra/sor.c 		value = tegra_sor_hdmi_subpack(&ptr[i], num);
num              2094 drivers/gpu/drm/tegra/sor.c 		num = min_t(size_t, rem - num, 3);
num              2096 drivers/gpu/drm/tegra/sor.c 		value = tegra_sor_hdmi_subpack(&ptr[i + 4], num);
num               319 drivers/gpu/drm/tiny/ili9225.c 			       size_t num)
num               329 drivers/gpu/drm/tiny/ili9225.c 	if (ret || !num)
num               336 drivers/gpu/drm/tiny/ili9225.c 	speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num);
num               338 drivers/gpu/drm/tiny/ili9225.c 	return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num);
num                55 drivers/gpu/drm/vc4/vc4_bo.c 	if (vc4->purgeable.num)
num                57 drivers/gpu/drm/vc4/vc4_bo.c 			   vc4->purgeable.size / 1024, vc4->purgeable.num);
num               251 drivers/gpu/drm/vc4/vc4_bo.c 	vc4->purgeable.num++;
num               273 drivers/gpu/drm/vc4/vc4_bo.c 	vc4->purgeable.num--;
num               121 drivers/gpu/drm/vc4/vc4_drv.h 		unsigned int num;
num              1399 drivers/gpu/drm/vc4/vc4_dsi.c 	dsi->clk_onecell->num = ARRAY_SIZE(phy_clocks);
num              2259 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	int i, ret, num;
num              2265 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	num = (cmd->header.size - sizeof(cmd->body)) /
num              2267 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	if ((u64)num + (u64)cmd->body.startBuffer >
num              2273 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	for (i = 0; i < num; i++) {
num              2471 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	int i, ret, num;
num              2477 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	num = (cmd->header.size - sizeof(cmd->body)) / sizeof(SVGA3dSoTarget);
num              2479 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	if (num > SVGA3D_DX_MAX_SOTARGETS) {
num              2484 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	for (i = 0; i < num; i++) {
num               213 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		int i, num;
num               216 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		num = size / sizeof(uint32_t);
num               217 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		if (num > SVGA3D_DEVCAP_MAX)
num               218 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 			num = SVGA3D_DEVCAP_MAX;
num               221 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		for (i = 0; i < num; ++i) {
num                78 drivers/gpu/drm/zte/zx_hdmi.c 	int num;
num                83 drivers/gpu/drm/zte/zx_hdmi.c 	num = hdmi_infoframe_pack(frame, buffer, ZX_HDMI_INFOFRAME_SIZE);
num                84 drivers/gpu/drm/zte/zx_hdmi.c 	if (num < 0) {
num                85 drivers/gpu/drm/zte/zx_hdmi.c 		DRM_DEV_ERROR(hdmi->dev, "failed to pack infoframe: %d\n", num);
num                86 drivers/gpu/drm/zte/zx_hdmi.c 		return num;
num                89 drivers/gpu/drm/zte/zx_hdmi.c 	for (i = 0; i < num; i++)
num                97 drivers/gpu/drm/zte/zx_hdmi.c 	return num;
num               562 drivers/gpu/drm/zte/zx_hdmi.c 			    int num)
num               573 drivers/gpu/drm/zte/zx_hdmi.c 	for (i = 0; i < num; i++) {
num               576 drivers/gpu/drm/zte/zx_hdmi.c 			      i + 1, num, msgs[i].len, msgs[i].flags);
num               588 drivers/gpu/drm/zte/zx_hdmi.c 		ret = num;
num               284 drivers/gpu/drm/zte/zx_vga.c 			   int num)
num               293 drivers/gpu/drm/zte/zx_vga.c 	for (i = 0; i < num; i++) {
num               304 drivers/gpu/drm/zte/zx_vga.c 		ret = num;
num               290 drivers/gpu/drm/zte/zx_vou.c 			    struct vou_div_config *configs, int num)
num               300 drivers/gpu/drm/zte/zx_vou.c 	for (i = 0; i < num; i++) {
num                58 drivers/gpu/drm/zte/zx_vou.h 			    struct vou_div_config *configs, int num);
num                44 drivers/gpu/host1x/hw/debug_hw.c 	unsigned int mask, subop, num, opcode;
num                62 drivers/gpu/host1x/hw/debug_hw.c 		num = val & 0xffff;
num                65 drivers/gpu/host1x/hw/debug_hw.c 		if (!num)
num                68 drivers/gpu/host1x/hw/debug_hw.c 		return num;
num                71 drivers/gpu/host1x/hw/debug_hw.c 		num = val & 0xffff;
num                74 drivers/gpu/host1x/hw/debug_hw.c 		if (!num)
num                77 drivers/gpu/host1x/hw/debug_hw.c 		return num;
num               265 drivers/gpu/ipu-v3/ipu-common.c struct ipuv3_channel *ipu_idmac_get(struct ipu_soc *ipu, unsigned num)
num               269 drivers/gpu/ipu-v3/ipu-common.c 	dev_dbg(ipu->dev, "%s %d\n", __func__, num);
num               271 drivers/gpu/ipu-v3/ipu-common.c 	if (num > 63)
num               277 drivers/gpu/ipu-v3/ipu-common.c 		if (channel->num == num) {
num               289 drivers/gpu/ipu-v3/ipu-common.c 	channel->num = num;
num               304 drivers/gpu/ipu-v3/ipu-common.c 	dev_dbg(ipu->dev, "%s %d\n", __func__, channel->num);
num               331 drivers/gpu/ipu-v3/ipu-common.c 	unsigned int chno = channel->num;
num               345 drivers/gpu/ipu-v3/ipu-common.c 	reg = ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(channel->num));
num               347 drivers/gpu/ipu-v3/ipu-common.c 		reg |= idma_mask(channel->num);
num               349 drivers/gpu/ipu-v3/ipu-common.c 		reg &= ~idma_mask(channel->num);
num               350 drivers/gpu/ipu-v3/ipu-common.c 	ipu_cm_write(ipu, reg, IPU_CHA_DB_MODE_SEL(channel->num));
num               416 drivers/gpu/ipu-v3/ipu-common.c 		if (channel->num == idmac_lock_en_info[i].chnum)
num               490 drivers/gpu/ipu-v3/ipu-common.c 	unsigned int chno = channel->num;
num               505 drivers/gpu/ipu-v3/ipu-common.c 		reg = ipu_cm_read(ipu, IPU_CHA_BUF0_RDY(channel->num));
num               508 drivers/gpu/ipu-v3/ipu-common.c 		reg = ipu_cm_read(ipu, IPU_CHA_BUF1_RDY(channel->num));
num               511 drivers/gpu/ipu-v3/ipu-common.c 		reg = ipu_cm_read(ipu, IPU_CHA_BUF2_RDY(channel->num));
num               516 drivers/gpu/ipu-v3/ipu-common.c 	return ((reg & idma_mask(channel->num)) != 0);
num               523 drivers/gpu/ipu-v3/ipu-common.c 	unsigned int chno = channel->num;
num               541 drivers/gpu/ipu-v3/ipu-common.c 	unsigned int chno = channel->num;
num               574 drivers/gpu/ipu-v3/ipu-common.c 	val = ipu_idmac_read(ipu, IDMAC_CHA_EN(channel->num));
num               575 drivers/gpu/ipu-v3/ipu-common.c 	val |= idma_mask(channel->num);
num               576 drivers/gpu/ipu-v3/ipu-common.c 	ipu_idmac_write(ipu, val, IDMAC_CHA_EN(channel->num));
num               596 drivers/gpu/ipu-v3/ipu-common.c 	while (ipu_idmac_read(ipu, IDMAC_CHA_BUSY(channel->num)) &
num               597 drivers/gpu/ipu-v3/ipu-common.c 			idma_mask(channel->num)) {
num               616 drivers/gpu/ipu-v3/ipu-common.c 	val = ipu_idmac_read(ipu, IDMAC_CHA_EN(channel->num));
num               617 drivers/gpu/ipu-v3/ipu-common.c 	val &= ~idma_mask(channel->num);
num               618 drivers/gpu/ipu-v3/ipu-common.c 	ipu_idmac_write(ipu, val, IDMAC_CHA_EN(channel->num));
num               625 drivers/gpu/ipu-v3/ipu-common.c 	if (ipu_cm_read(ipu, IPU_CHA_BUF0_RDY(channel->num)) &
num               626 drivers/gpu/ipu-v3/ipu-common.c 			idma_mask(channel->num)) {
num               627 drivers/gpu/ipu-v3/ipu-common.c 		ipu_cm_write(ipu, idma_mask(channel->num),
num               628 drivers/gpu/ipu-v3/ipu-common.c 			     IPU_CHA_BUF0_RDY(channel->num));
num               631 drivers/gpu/ipu-v3/ipu-common.c 	if (ipu_cm_read(ipu, IPU_CHA_BUF1_RDY(channel->num)) &
num               632 drivers/gpu/ipu-v3/ipu-common.c 			idma_mask(channel->num)) {
num               633 drivers/gpu/ipu-v3/ipu-common.c 		ipu_cm_write(ipu, idma_mask(channel->num),
num               634 drivers/gpu/ipu-v3/ipu-common.c 			     IPU_CHA_BUF1_RDY(channel->num));
num               640 drivers/gpu/ipu-v3/ipu-common.c 	val = ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(channel->num));
num               641 drivers/gpu/ipu-v3/ipu-common.c 	val &= ~idma_mask(channel->num);
num               642 drivers/gpu/ipu-v3/ipu-common.c 	ipu_cm_write(ipu, val, IPU_CHA_DB_MODE_SEL(channel->num));
num               664 drivers/gpu/ipu-v3/ipu-common.c 	val = ipu_idmac_read(ipu, IDMAC_WM_EN(channel->num));
num               666 drivers/gpu/ipu-v3/ipu-common.c 		val |= 1 << (channel->num % 32);
num               668 drivers/gpu/ipu-v3/ipu-common.c 		val &= ~(1 << (channel->num % 32));
num               669 drivers/gpu/ipu-v3/ipu-common.c 	ipu_idmac_write(ipu, val, IDMAC_WM_EN(channel->num));
num               863 drivers/gpu/ipu-v3/ipu-common.c 	return ipu_fsu_link(src->ipu, src->num, sink->num);
num               870 drivers/gpu/ipu-v3/ipu-common.c 	return ipu_fsu_unlink(src->ipu, src->num, sink->num);
num              1128 drivers/gpu/ipu-v3/ipu-common.c 	return ipu_map_irq(ipu, irq_type + channel->num);
num                97 drivers/gpu/ipu-v3/ipu-cpmem.c 	return cpmem->base + ch->num;
num               266 drivers/gpu/ipu-v3/ipu-cpmem.c 	val = ipu_idmac_read(ipu, IDMAC_CHA_PRI(ch->num));
num               267 drivers/gpu/ipu-v3/ipu-cpmem.c 	val |= 1 << (ch->num % 32);
num               268 drivers/gpu/ipu-v3/ipu-cpmem.c 	ipu_idmac_write(ipu, val, IDMAC_CHA_PRI(ch->num));
num               628 drivers/gpu/ipu-v3/ipu-cpmem.c 	albm = ipu_channel_albm(ch->num);
num               637 drivers/gpu/ipu-v3/ipu-cpmem.c 	val |= BIT(ch->num);
num               893 drivers/gpu/ipu-v3/ipu-cpmem.c 	int chno = ch->num;
num               481 drivers/gpu/ipu-v3/ipu-ic.c 	switch (channel->num) {
num               244 drivers/gpu/ipu-v3/ipu-prg.c 	int prg_chan = ipu_prg_ipu_to_prg_chan(ipu_chan->num);
num               278 drivers/gpu/ipu-v3/ipu-prg.c 	int prg_chan = ipu_prg_ipu_to_prg_chan(ipu_chan->num);
num               344 drivers/gpu/ipu-v3/ipu-prg.c 	int prg_chan = ipu_prg_ipu_to_prg_chan(ipu_chan->num);
num               150 drivers/gpu/ipu-v3/ipu-prv.h 	unsigned int num;
num               518 drivers/hid/hid-cp2112.c 			   int num)
num               529 drivers/hid/hid-cp2112.c 	hid_dbg(hdev, "I2C %d messages\n", num);
num               531 drivers/hid/hid-cp2112.c 	if (num == 1) {
num               547 drivers/hid/hid-cp2112.c 		   num == 2 &&
num               626 drivers/hid/hid-cp2112.c 	ret = num;
num                93 drivers/hid/hid-led.c 	u8			num;
num               238 drivers/hid/hid-led.c 	buf[7] = led->rgb->num + offset;
num               346 drivers/hid/hid-led.c 	buf[2] = led->rgb->num + 1;
num               417 drivers/hid/hid-led.c 			 config->short_name, minor, color_name, rgb->num);
num               495 drivers/hid/hid-led.c 		ldev->rgb[i].num = i;
num                54 drivers/hid/hid-wiimote.h #define WIIPROTO_FLAG_LED(num) (WIIPROTO_FLAG_LED1 << (num - 1))
num              1779 drivers/hid/wacom_wac.c 				 int value, int num, int denom)
num              1784 drivers/hid/wacom_wac.c 	value += num*range/denom;
num               158 drivers/hsi/controllers/omap_ssi_core.c 				omap_ssi->sys + SSI_SET_WAKE_REG(port->num));
num               161 drivers/hsi/controllers/omap_ssi_core.c 				omap_ssi->sys +	SSI_CLEAR_WAKE_REG(port->num));
num               210 drivers/hsi/controllers/omap_ssi_core.c 	val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               211 drivers/hsi/controllers/omap_ssi_core.c 	writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               458 drivers/hsi/controllers/omap_ssi_core.c 	int num = 0;
num               462 drivers/hsi/controllers/omap_ssi_core.c 			num++;
num               464 drivers/hsi/controllers/omap_ssi_core.c 	return num;
num                60 drivers/hsi/controllers/omap_ssi_port.c 				readl(base + SSI_WAKE_REG(port->num)));
num                62 drivers/hsi/controllers/omap_ssi_port.c 			readl(base + SSI_MPU_ENABLE_REG(port->num, 0)));
num                64 drivers/hsi/controllers/omap_ssi_port.c 			readl(base + SSI_MPU_STATUS_REG(port->num, 0)));
num               241 drivers/hsi/controllers/omap_ssi_port.c 		ccr = msg->channel + 0x10 + (port->num * 8); /* Sync */
num               258 drivers/hsi/controllers/omap_ssi_port.c 		ccr = (msg->channel + 1 + (port->num * 8)) & 0xf; /* Sync */
num               311 drivers/hsi/controllers/omap_ssi_port.c 	val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               312 drivers/hsi/controllers/omap_ssi_port.c 	writel(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               363 drivers/hsi/controllers/omap_ssi_port.c 					SSI_MPU_ENABLE_REG(port->num, 0));
num               365 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               560 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(0, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               562 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0));
num               594 drivers/hsi/controllers/omap_ssi_port.c 	writel(SSI_WAKE(0), omap_ssi->sys + SSI_SET_WAKE_REG(port->num));
num               631 drivers/hsi/controllers/omap_ssi_port.c 	writel(SSI_WAKE(0), omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num));
num               720 drivers/hsi/controllers/omap_ssi_port.c 	tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               722 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               724 drivers/hsi/controllers/omap_ssi_port.c 		SSI_MPU_STATUS_REG(port->num, 0));
num               839 drivers/hsi/controllers/omap_ssi_port.c 	tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               841 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               845 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0));
num               875 drivers/hsi/controllers/omap_ssi_port.c 	val = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               877 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               880 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0));
num               934 drivers/hsi/controllers/omap_ssi_port.c 					SSI_MPU_STATUS_REG(port->num, 0));
num               942 drivers/hsi/controllers/omap_ssi_port.c 	reg = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               949 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(reg, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               950 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(val, omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0));
num               970 drivers/hsi/controllers/omap_ssi_port.c 		status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0));
num               971 drivers/hsi/controllers/omap_ssi_port.c 		status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               984 drivers/hsi/controllers/omap_ssi_port.c 		status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0));
num               985 drivers/hsi/controllers/omap_ssi_port.c 		status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0));
num              1016 drivers/hsi/controllers/omap_ssi_port.c 				omap_ssi->sys + SSI_SET_WAKE_REG(port->num));
num              1023 drivers/hsi/controllers/omap_ssi_port.c 				omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num));
num              1293 drivers/hsi/controllers/omap_ssi_port.c 					SSI_MPU_ENABLE_REG(port->num, 0));
num              1306 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0));
num               488 drivers/hsi/hsi_core.c 		port[i]->num = i;
num              1096 drivers/hwmon/applesmc.c static int applesmc_create_nodes(struct applesmc_node_group *groups, int num)
num              1104 drivers/hwmon/applesmc.c 		grp->nodes = kcalloc(num + 1, sizeof(*node), GFP_KERNEL);
num              1109 drivers/hwmon/applesmc.c 		for (i = 0; i < num; i++) {
num               459 drivers/hwmon/asb100.c #define sysfs_temp(num) \
num               460 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_input, S_IRUGO, \
num               461 drivers/hwmon/asb100.c 		show_temp, NULL, num - 1); \
num               462 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_max, S_IRUGO | S_IWUSR, \
num               463 drivers/hwmon/asb100.c 		show_temp_max, set_temp_max, num - 1); \
num               464 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(temp##num##_max_hyst, S_IRUGO | S_IWUSR, \
num               465 drivers/hwmon/asb100.c 		show_temp_hyst, set_temp_hyst, num - 1)
num               834 drivers/hwmon/asus_atk0110.c 	int *num;
num               857 drivers/hwmon/asus_atk0110.c 		num = &data->voltage_count;
num               864 drivers/hwmon/asus_atk0110.c 		num = &data->temperature_count;
num               871 drivers/hwmon/asus_atk0110.c 		num = &data->fan_count;
num               909 drivers/hwmon/asus_atk0110.c 			"%s%d_input", base_name, start + *num);
num               915 drivers/hwmon/asus_atk0110.c 			"%s%d_label", base_name, start + *num);
num               921 drivers/hwmon/asus_atk0110.c 			"%s%d_%s", base_name, start + *num, limit1_name);
num               927 drivers/hwmon/asus_atk0110.c 			"%s%d_%s", base_name, start + *num, limit2_name);
num               933 drivers/hwmon/asus_atk0110.c 	(*num)++;
num               613 drivers/hwmon/ibmaem.c 	int num, i, err;
num               615 drivers/hwmon/ibmaem.c 	num = aem_find_aem1_count(probe);
num               616 drivers/hwmon/ibmaem.c 	for (i = 0; i < num; i++) {
num               230 drivers/hwmon/pwm-fan.c 	int num, i, ret;
num               241 drivers/hwmon/pwm-fan.c 	num = ret;
num               242 drivers/hwmon/pwm-fan.c 	ctx->pwm_fan_cooling_levels = devm_kcalloc(dev, num, sizeof(u32),
num               248 drivers/hwmon/pwm-fan.c 					 ctx->pwm_fan_cooling_levels, num);
num               254 drivers/hwmon/pwm-fan.c 	for (i = 0; i < num; i++) {
num               262 drivers/hwmon/pwm-fan.c 	ctx->pwm_fan_max_state = num - 1;
num               125 drivers/hwmon/scmi-hwmon.c 				    struct device *dev, int num,
num               129 drivers/hwmon/scmi-hwmon.c 	u32 *cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL);
num               136 drivers/hwmon/scmi-hwmon.c 	for (i = 0; i < num; i++, cfg++)
num               101 drivers/hwtracing/intel_th/intel_th.h 			     unsigned int num)
num               106 drivers/hwtracing/intel_th/intel_th.h 		if (resource_type(&thdev->resource[i]) == type && !num--)
num               532 drivers/i2c/algos/i2c-algo-bit.c 		    struct i2c_msg msgs[], int num)
num               547 drivers/i2c/algos/i2c-algo-bit.c 	for (i = 0; i < num; i++) {
num               613 drivers/i2c/algos/i2c-algo-bit.c 			   int num)
num               620 drivers/i2c/algos/i2c-algo-bit.c 	return bit_xfer(i2c_adap, msgs, num);
num               170 drivers/i2c/algos/i2c-algo-pca.c 		    int num)
num               191 drivers/i2c/algos/i2c-algo-pca.c 	DEB1("{{{ XFER %d messages\n", num);
num               194 drivers/i2c/algos/i2c-algo-pca.c 		for (curmsg = 0; curmsg < num; curmsg++) {
num               216 drivers/i2c/algos/i2c-algo-pca.c 	while (curmsg < num) {
num               241 drivers/i2c/algos/i2c-algo-pca.c 			if (curmsg == num)
num               266 drivers/i2c/algos/i2c-algo-pca.c 			if (curmsg == num)
num               301 drivers/i2c/algos/i2c-algo-pca.c 				if (curmsg == num)
num               338 drivers/i2c/algos/i2c-algo-pca.c 	     curmsg, num, pca_status(adap),
num               296 drivers/i2c/algos/i2c-algo-pcf.c 		    int num)
num               315 drivers/i2c/algos/i2c-algo-pcf.c 	for (i = 0;ret >= 0 && i < num; i++) {
num               320 drivers/i2c/algos/i2c-algo-pcf.c 		     pmsg->len, pmsg->addr, i + 1, num);)
num               356 drivers/i2c/algos/i2c-algo-pcf.c 					    (i + 1 == num));
num               366 drivers/i2c/algos/i2c-algo-pcf.c 					    (i + 1 == num));
num               366 drivers/i2c/busses/i2c-altera.c altr_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               371 drivers/i2c/busses/i2c-altera.c 	for (i = 0; i < num; i++) {
num               376 drivers/i2c/busses/i2c-altera.c 	return num;
num               153 drivers/i2c/busses/i2c-amd-mp2-plat.c static int i2c_amd_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               166 drivers/i2c/busses/i2c-amd-mp2-plat.c 	for (i = 0; i < num; i++) {
num               174 drivers/i2c/busses/i2c-amd-mp2-plat.c 	return err ? err : num;
num               659 drivers/i2c/busses/i2c-aspeed.c 				  struct i2c_msg *msgs, int num)
num               683 drivers/i2c/busses/i2c-aspeed.c 	bus->msgs_count = num;
num               605 drivers/i2c/busses/i2c-at91-master.c static int at91_twi_xfer(struct i2c_adapter *adap, struct i2c_msg *msg, int num)
num               613 drivers/i2c/busses/i2c-at91-master.c 	dev_dbg(&adap->dev, "at91_xfer: processing %d messages:\n", num);
num               619 drivers/i2c/busses/i2c-at91-master.c 	if (num == 2) {
num               661 drivers/i2c/busses/i2c-at91-master.c 	ret = (ret < 0) ? ret : num;
num               213 drivers/i2c/busses/i2c-au1550.c au1550_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
num               221 drivers/i2c/busses/i2c-au1550.c 	for (i = 0; !err && i < num; i++) {
num               236 drivers/i2c/busses/i2c-au1550.c 		err = num;
num               605 drivers/i2c/busses/i2c-axxia.c static bool axxia_i2c_sequence_ok(struct i2c_msg msgs[], int num)
num               607 drivers/i2c/busses/i2c-axxia.c 	return num == SEQ_LEN && !i2c_m_rd(&msgs[0]) && i2c_m_rd(&msgs[1]) &&
num               613 drivers/i2c/busses/i2c-axxia.c axxia_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               621 drivers/i2c/busses/i2c-axxia.c 	if (axxia_i2c_sequence_ok(msgs, num)) {
num               628 drivers/i2c/busses/i2c-axxia.c 	for (i = 0; ret == 0 && i < num; ++i)
num               629 drivers/i2c/busses/i2c-axxia.c 		ret = axxia_i2c_xfer_msg(idev, &msgs[i], i == (num - 1));
num               777 drivers/i2c/busses/i2c-bcm-iproc.c 			      struct i2c_msg msgs[], int num)
num               783 drivers/i2c/busses/i2c-bcm-iproc.c 	for (i = 0; i < num; i++) {
num               791 drivers/i2c/busses/i2c-bcm-iproc.c 	return num;
num               602 drivers/i2c/busses/i2c-bcm-kona.c 			     struct i2c_msg msgs[], int num)
num               637 drivers/i2c/busses/i2c-bcm-kona.c 	for (i = 0; i < num; i++) {
num               677 drivers/i2c/busses/i2c-bcm-kona.c 	rc = num;
num               341 drivers/i2c/busses/i2c-bcm2835.c 			    int num)
num               347 drivers/i2c/busses/i2c-bcm2835.c 	for (i = 0; i < (num - 1); i++)
num               355 drivers/i2c/busses/i2c-bcm2835.c 	i2c_dev->num_msgs = num;
num               373 drivers/i2c/busses/i2c-bcm2835.c 		return num;
num               456 drivers/i2c/busses/i2c-brcmstb.c 			    struct i2c_msg msgs[], int num)
num               469 drivers/i2c/busses/i2c-brcmstb.c 	for (i = 0; i < num; i++) {
num               476 drivers/i2c/busses/i2c-brcmstb.c 			num - 1, pmsg->flags,
num               479 drivers/i2c/busses/i2c-brcmstb.c 		if (i < (num - 1) && (msgs[i + 1].flags & I2C_M_NOSTART))
num               504 drivers/i2c/busses/i2c-brcmstb.c 				if (i == (num - 1))
num               528 drivers/i2c/busses/i2c-brcmstb.c 	rc = num;
num               569 drivers/i2c/busses/i2c-cadence.c 				int num)
num               590 drivers/i2c/busses/i2c-cadence.c 	if (num > 1) {
num               598 drivers/i2c/busses/i2c-cadence.c 		for (count = 0; (count < num - 1 && hold_quirk); count++) {
num               615 drivers/i2c/busses/i2c-cadence.c 	for (count = 0; count < num; count++, msgs++) {
num               616 drivers/i2c/busses/i2c-cadence.c 		if (count == (num - 1))
num               636 drivers/i2c/busses/i2c-cadence.c 	ret = num;
num               179 drivers/i2c/busses/i2c-cpm.c 	struct i2c_msg *pmsg, int num, int tx, int rx)
num               207 drivers/i2c/busses/i2c-cpm.c 	if (tx + 1 == num)
num               294 drivers/i2c/busses/i2c-cpm.c static int cpm_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               324 drivers/i2c/busses/i2c-cpm.c 	while (tptr < num) {
num               328 drivers/i2c/busses/i2c-cpm.c 		cpm_i2c_parse_message(adap, pmsg, num, tptr, rptr);
num               345 drivers/i2c/busses/i2c-cpm.c 	while (tptr < num) {
num               381 drivers/i2c/busses/i2c-cpm.c 	return (num);
num                45 drivers/i2c/busses/i2c-cros-ec-tunnel.c static int ec_i2c_count_message(const struct i2c_msg i2c_msgs[], int num)
num                51 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	size += num * sizeof(struct ec_params_i2c_passthru_msg);
num                52 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	for (i = 0; i < num; i++)
num                73 drivers/i2c/busses/i2c-cros-ec-tunnel.c 				    int num, u16 bus_num)
num                80 drivers/i2c/busses/i2c-cros-ec-tunnel.c 		   num * sizeof(struct ec_params_i2c_passthru_msg);
num                84 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	params->num_msgs = num;
num                85 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	for (i = 0; i < num; i++) {
num               114 drivers/i2c/busses/i2c-cros-ec-tunnel.c static int ec_i2c_count_response(struct i2c_msg i2c_msgs[], int num)
num               120 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	for (i = 0; i < num; i++)
num               140 drivers/i2c/busses/i2c-cros-ec-tunnel.c 				 int *num)
num               157 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	if (resp->num_msgs > *num)
num               159 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	*num = resp->num_msgs;
num               161 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	for (i = 0; i < *num; i++) {
num               174 drivers/i2c/busses/i2c-cros-ec-tunnel.c 		       int num)
num               185 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	request_len = ec_i2c_count_message(i2c_msgs, num);
num               191 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	response_len = ec_i2c_count_response(i2c_msgs, num);
num               203 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	result = ec_i2c_construct_message(msg->data, i2c_msgs, num, bus_num);
num               220 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	result = ec_i2c_parse_response(msg->data, i2c_msgs, &num);
num               225 drivers/i2c/busses/i2c-cros-ec-tunnel.c 	result = num;
num               534 drivers/i2c/busses/i2c-davinci.c i2c_davinci_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               540 drivers/i2c/busses/i2c-davinci.c 	dev_dbg(dev->dev, "%s: msgs: %d\n", __func__, num);
num               555 drivers/i2c/busses/i2c-davinci.c 	for (i = 0; i < num; i++) {
num               556 drivers/i2c/busses/i2c-davinci.c 		ret = i2c_davinci_xfer_msg(adap, &msgs[i], (i == (num - 1)));
num               557 drivers/i2c/busses/i2c-davinci.c 		dev_dbg(dev->dev, "%s [%d/%d] ret: %d\n", __func__, i + 1, num,
num               563 drivers/i2c/busses/i2c-davinci.c 	ret = num;
num               420 drivers/i2c/busses/i2c-designware-master.c i2c_dw_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               425 drivers/i2c/busses/i2c-designware-master.c 	dev_dbg(dev->dev, "%s: msgs: %d\n", __func__, num);
num               436 drivers/i2c/busses/i2c-designware-master.c 	dev->msgs_num = num;
num               483 drivers/i2c/busses/i2c-designware-master.c 		ret = num;
num               245 drivers/i2c/busses/i2c-digicolor.c static int dc_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               250 drivers/i2c/busses/i2c-digicolor.c 	for (i = 0; i < num; i++) {
num               251 drivers/i2c/busses/i2c-digicolor.c 		ret = dc_i2c_xfer_msg(i2c, &msgs[i], i == 0, i == num - 1);
num               256 drivers/i2c/busses/i2c-digicolor.c 	return num;
num               342 drivers/i2c/busses/i2c-diolan-u2c.c 			   int num)
num               353 drivers/i2c/busses/i2c-diolan-u2c.c 	for (i = 0; i < num; i++) {
num               401 drivers/i2c/busses/i2c-diolan-u2c.c 	ret = num;
num               141 drivers/i2c/busses/i2c-dln2.c 			 struct i2c_msg *msgs, int num)
num               147 drivers/i2c/busses/i2c-dln2.c 	for (i = 0; i < num; i++) {
num               167 drivers/i2c/busses/i2c-dln2.c 	return num;
num               255 drivers/i2c/busses/i2c-efm32.c 		struct i2c_msg *msgs, int num)
num               264 drivers/i2c/busses/i2c-efm32.c 	ddata->num_msgs = num;
num               653 drivers/i2c/busses/i2c-eg20t.c 			struct i2c_msg *msgs, s32 num)
num               676 drivers/i2c/busses/i2c-eg20t.c 	for (i = 0; i < num && ret >= 0; i++) {
num               684 drivers/i2c/busses/i2c-eg20t.c 			ret = pch_i2c_readbytes(i2c_adap, pmsg, (i + 1 == num),
num               687 drivers/i2c/busses/i2c-eg20t.c 			ret = pch_i2c_writebytes(i2c_adap, pmsg, (i + 1 == num),
num               696 drivers/i2c/busses/i2c-eg20t.c 	return (ret < 0) ? ret : num;
num               210 drivers/i2c/busses/i2c-emev2.c 	int num)
num               218 drivers/i2c/busses/i2c-emev2.c 	for (i = 0; i < num; i++) {
num               219 drivers/i2c/busses/i2c-emev2.c 		ret = __em_i2c_xfer(adap, &msgs[i], (i == (num - 1)));
num               225 drivers/i2c/busses/i2c-emev2.c 	return num;
num               709 drivers/i2c/busses/i2c-exynos5.c 			struct i2c_msg *msgs, int num)
num               718 drivers/i2c/busses/i2c-exynos5.c 	for (i = 0; i < num; ++i) {
num               719 drivers/i2c/busses/i2c-exynos5.c 		ret = exynos5_i2c_xfer_msg(i2c, msgs + i, i + 1 == num);
num               726 drivers/i2c/busses/i2c-exynos5.c 	return ret ?: num;
num               607 drivers/i2c/busses/i2c-fsi.c 			int num)
num               621 drivers/i2c/busses/i2c-fsi.c 	for (i = 0; i < num; i++) {
num               625 drivers/i2c/busses/i2c-fsi.c 		rc = fsi_i2c_start(port, msg, i == num - 1);
num               637 drivers/i2c/busses/i2c-fsi.c 	return rc ? : num;
num               357 drivers/i2c/busses/i2c-hix5hd2.c 			    struct i2c_msg *msgs, int num)
num               364 drivers/i2c/busses/i2c-hix5hd2.c 	for (i = 0; i < num; i++, msgs++) {
num               365 drivers/i2c/busses/i2c-hix5hd2.c 		stop = (i == num - 1);
num               371 drivers/i2c/busses/i2c-hix5hd2.c 	ret = num;
num               551 drivers/i2c/busses/i2c-ibm_iic.c static int iic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               557 drivers/i2c/busses/i2c-ibm_iic.c 	DBG2("%d: iic_xfer, %d msg(s)\n", dev->idx, num);
num               567 drivers/i2c/busses/i2c-ibm_iic.c 	for (i = 0; i < num; ++i){
num               569 drivers/i2c/busses/i2c-ibm_iic.c 			if (num == 1 && !msgs[0].len){
num               614 drivers/i2c/busses/i2c-ibm_iic.c     	for (i = 0; i < num && !ret; ++i)
num               615 drivers/i2c/busses/i2c-ibm_iic.c 		ret = iic_xfer_bytes(dev, &msgs[i], i < num - 1);
num               617 drivers/i2c/busses/i2c-ibm_iic.c 	return ret < 0 ? ret : num;
num              1025 drivers/i2c/busses/i2c-img-scb.c 			int num)
num              1040 drivers/i2c/busses/i2c-img-scb.c 	for (i = 0; i < num; i++) {
num              1064 drivers/i2c/busses/i2c-img-scb.c 	for (i = 0; i < num; i++) {
num              1084 drivers/i2c/busses/i2c-img-scb.c 		i2c->last_msg = (i == num - 1);
num              1140 drivers/i2c/busses/i2c-img-scb.c 	return i2c->msg_status ? i2c->msg_status : num;
num               452 drivers/i2c/busses/i2c-imx-lpi2c.c 			  struct i2c_msg *msgs, int num)
num               462 drivers/i2c/busses/i2c-imx-lpi2c.c 	for (i = 0; i < num; i++) {
num               468 drivers/i2c/busses/i2c-imx-lpi2c.c 		if (num == 1 && msgs[0].len == 0)
num               503 drivers/i2c/busses/i2c-imx-lpi2c.c 		(result < 0) ? result : num);
num               505 drivers/i2c/busses/i2c-imx-lpi2c.c 	return (result < 0) ? result : num;
num               894 drivers/i2c/busses/i2c-imx.c 						struct i2c_msg *msgs, int num)
num               920 drivers/i2c/busses/i2c-imx.c 	for (i = 0; i < num; i++) {
num               921 drivers/i2c/busses/i2c-imx.c 		if (i == num - 1)
num               976 drivers/i2c/busses/i2c-imx.c 			(result < 0) ? result : num);
num               977 drivers/i2c/busses/i2c-imx.c 	return (result < 0) ? result : num;
num               355 drivers/i2c/busses/i2c-iop3xx.c 				int num)
num               366 drivers/i2c/busses/i2c-iop3xx.c 	for (im = 0; ret == 0 && im != num; im++) {
num               187 drivers/i2c/busses/i2c-kempld.c 				int num)
num               196 drivers/i2c/busses/i2c-kempld.c 	i2c->nmsgs = num;
num               206 drivers/i2c/busses/i2c-kempld.c 			return (i2c->state == STATE_DONE) ? num : ret;
num               335 drivers/i2c/busses/i2c-meson.c 			  int num)
num               342 drivers/i2c/busses/i2c-meson.c 	for (i = 0; i < num; i++) {
num               343 drivers/i2c/busses/i2c-meson.c 		ret = meson_i2c_xfer_msg(i2c, msgs + i, i == num - 1);
num               167 drivers/i2c/busses/i2c-mlxcpld.c 					struct i2c_msg *msgs, int num)
num               171 drivers/i2c/busses/i2c-mlxcpld.c 	if (!num) {
num               182 drivers/i2c/busses/i2c-mlxcpld.c 	for (i = 0; i < num; ++i) {
num               227 drivers/i2c/busses/i2c-mlxcpld.c 					struct i2c_msg *msgs, int num,
num               231 drivers/i2c/busses/i2c-mlxcpld.c 	priv->xfer.msg_num = num;
num               239 drivers/i2c/busses/i2c-mlxcpld.c 	priv->xfer.cmd = msgs[num - 1].flags & I2C_M_RD;
num               402 drivers/i2c/busses/i2c-mlxcpld.c 			    int num)
num               408 drivers/i2c/busses/i2c-mlxcpld.c 	err = mlxcpld_i2c_check_msg_params(priv, msgs, num);
num               414 drivers/i2c/busses/i2c-mlxcpld.c 	for (i = 0; i < num; ++i)
num               436 drivers/i2c/busses/i2c-mlxcpld.c 	mlxcpld_i2c_set_transf_data(priv, msgs, num, comm_len);
num               448 drivers/i2c/busses/i2c-mlxcpld.c 	return err < 0 ? err : num;
num               565 drivers/i2c/busses/i2c-mpc.c static int mpc_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               596 drivers/i2c/busses/i2c-mpc.c 	for (i = 0; ret >= 0 && i < num; i++) {
num               601 drivers/i2c/busses/i2c-mpc.c 			pmsg->len, pmsg->addr, i + 1, num);
num               631 drivers/i2c/busses/i2c-mpc.c 	return (ret < 0) ? ret : num;
num               562 drivers/i2c/busses/i2c-mt65xx.c 			       int num, int left_num)
num               624 drivers/i2c/busses/i2c-mt65xx.c 		mtk_i2c_writew(i2c, num, OFFSET_TRANSAC_LEN);
num               781 drivers/i2c/busses/i2c-mt65xx.c 			    struct i2c_msg msgs[], int num)
num               784 drivers/i2c/busses/i2c-mt65xx.c 	int left_num = num;
num               794 drivers/i2c/busses/i2c-mt65xx.c 	if (i2c->auto_restart && num == 2) {
num               801 drivers/i2c/busses/i2c-mt65xx.c 	if (i2c->auto_restart && num >= 2 && i2c->speed_hz > MAX_FS_MODE_SPEED)
num               822 drivers/i2c/busses/i2c-mt65xx.c 			if (num > 1) {
num               830 drivers/i2c/busses/i2c-mt65xx.c 		ret = mtk_i2c_do_transfer(i2c, msgs, num, left_num);
num               837 drivers/i2c/busses/i2c-mt65xx.c 	ret = num;
num               139 drivers/i2c/busses/i2c-mt7621.c 			       int num)
num               150 drivers/i2c/busses/i2c-mt7621.c 	for (i = 0; i < num; i++) {
num               606 drivers/i2c/busses/i2c-mv64xxx.c 	int num = drv_data->num_msgs;
num               620 drivers/i2c/busses/i2c-mv64xxx.c 	if (num == 1 && !(msgs[0].flags & I2C_M_RD)) {
num               628 drivers/i2c/busses/i2c-mv64xxx.c 	else if (num == 1 && msgs[0].flags & I2C_M_RD) {
num               638 drivers/i2c/busses/i2c-mv64xxx.c 	else if (num == 2) {
num               671 drivers/i2c/busses/i2c-mv64xxx.c 	int num = drv_data->num_msgs;
num               681 drivers/i2c/busses/i2c-mv64xxx.c 	if (num == 1 && mv64xxx_i2c_valid_offload_sz(msgs))
num               689 drivers/i2c/busses/i2c-mv64xxx.c 	if (num == 2 &&
num               713 drivers/i2c/busses/i2c-mv64xxx.c mv64xxx_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               716 drivers/i2c/busses/i2c-mv64xxx.c 	int rc, ret = num;
num               720 drivers/i2c/busses/i2c-mv64xxx.c 	drv_data->num_msgs = num;
num               725 drivers/i2c/busses/i2c-mv64xxx.c 		rc = mv64xxx_i2c_execute_msg(drv_data, &msgs[0], num == 1);
num               638 drivers/i2c/busses/i2c-mxs.c 			int num)
num               643 drivers/i2c/busses/i2c-mxs.c 	for (i = 0; i < num; i++) {
num               644 drivers/i2c/busses/i2c-mxs.c 		err = mxs_i2c_xfer_msg(adap, &msgs[i], i == (num - 1));
num               649 drivers/i2c/busses/i2c-mxs.c 	return num;
num               165 drivers/i2c/busses/i2c-nvidia-gpu.c 			       struct i2c_msg *msgs, int num)
num               177 drivers/i2c/busses/i2c-nvidia-gpu.c 	for (i = 0; i < num; i++) {
num               371 drivers/i2c/busses/i2c-ocores.c 			    struct i2c_msg *msgs, int num,
num               385 drivers/i2c/busses/i2c-ocores.c 	i2c->nmsgs = num;
num               403 drivers/i2c/busses/i2c-ocores.c 	return (i2c->state == STATE_DONE) ? num : -EIO;
num               407 drivers/i2c/busses/i2c-ocores.c 			       struct i2c_msg *msgs, int num)
num               409 drivers/i2c/busses/i2c-ocores.c 	return ocores_xfer_core(i2c_get_adapdata(adap), msgs, num, true);
num               413 drivers/i2c/busses/i2c-ocores.c 		       struct i2c_msg *msgs, int num)
num               415 drivers/i2c/busses/i2c-ocores.c 	return ocores_xfer_core(i2c_get_adapdata(adap), msgs, num, false);
num               605 drivers/i2c/busses/i2c-octeon-core.c int octeon_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               610 drivers/i2c/busses/i2c-octeon-core.c 	if (num == 1) {
num               618 drivers/i2c/busses/i2c-octeon-core.c 	} else if (num == 2) {
num               632 drivers/i2c/busses/i2c-octeon-core.c 	for (i = 0; ret == 0 && i < num; i++) {
num               654 drivers/i2c/busses/i2c-octeon-core.c 	return (ret != 0) ? ret : num;
num               216 drivers/i2c/busses/i2c-octeon-core.h int octeon_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num);
num               792 drivers/i2c/busses/i2c-omap.c omap_i2c_xfer_common(struct i2c_adapter *adap, struct i2c_msg msgs[], int num,
num               814 drivers/i2c/busses/i2c-omap.c 	for (i = 0; i < num; i++) {
num               815 drivers/i2c/busses/i2c-omap.c 		r = omap_i2c_xfer_msg(adap, &msgs[i], (i == (num - 1)),
num               822 drivers/i2c/busses/i2c-omap.c 		r = num;
num               836 drivers/i2c/busses/i2c-omap.c omap_i2c_xfer_irq(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               838 drivers/i2c/busses/i2c-omap.c 	return omap_i2c_xfer_common(adap, msgs, num, false);
num               842 drivers/i2c/busses/i2c-omap.c omap_i2c_xfer_polling(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               844 drivers/i2c/busses/i2c-omap.c 	return omap_i2c_xfer_common(adap, msgs, num, true);
num                74 drivers/i2c/busses/i2c-opal.c 				int num)
num                84 drivers/i2c/busses/i2c-opal.c 	switch(num) {
num               109 drivers/i2c/busses/i2c-opal.c 	return num;
num               242 drivers/i2c/busses/i2c-owl.c 			       int num)
num               300 drivers/i2c/busses/i2c-owl.c 	if (num > 1) {
num               372 drivers/i2c/busses/i2c-owl.c 	ret = i2c_dev->err < 0 ? i2c_dev->err : num;
num               151 drivers/i2c/busses/i2c-pasemi.c 			   struct i2c_msg *msgs, int num)
num               160 drivers/i2c/busses/i2c-pasemi.c 	for (i = 0; i < num && !ret; i++)
num               161 drivers/i2c/busses/i2c-pasemi.c 		ret = pasemi_i2c_xfer_msg(adapter, &msgs[i], (i == (num - 1)));
num               163 drivers/i2c/busses/i2c-pasemi.c 	return ret ? ret : num;
num               496 drivers/i2c/busses/i2c-pmcmsp.c 				struct i2c_msg *msg, int num)
num               503 drivers/i2c/busses/i2c-pmcmsp.c 	if (num == 2) {
num               555 drivers/i2c/busses/i2c-pmcmsp.c 	return num;
num               512 drivers/i2c/busses/i2c-pnx.c i2c_pnx_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               521 drivers/i2c/busses/i2c-pnx.c 		__func__, num, ioread32(I2C_REG_STS(alg_data)));
num               526 drivers/i2c/busses/i2c-pnx.c 	for (i = 0; rc >= 0 && i < num; i++) {
num               546 drivers/i2c/busses/i2c-pnx.c 		alg_data->last = (i == num - 1);
num               600 drivers/i2c/busses/i2c-pnx.c 	if (completed != num)
num               603 drivers/i2c/busses/i2c-pnx.c 	return num;
num               141 drivers/i2c/busses/i2c-powermac.c 					int num)
num               119 drivers/i2c/busses/i2c-puv3.c 		int num)
num               135 drivers/i2c/busses/i2c-puv3.c 	dev_dbg(&adap->dev, "puv3_i2c_xfer: processing %d messages:\n", num);
num               137 drivers/i2c/busses/i2c-puv3.c 	for (i = 0; i < num; i++) {
num               236 drivers/i2c/busses/i2c-pxa.c decode_bits(const char *prefix, const struct bits *bits, int num, u32 val)
num               239 drivers/i2c/busses/i2c-pxa.c 	while (num--) {
num               774 drivers/i2c/busses/i2c-pxa.c 			       struct i2c_msg *msg, int num)
num               784 drivers/i2c/busses/i2c-pxa.c 	i2c->msg_num = num;
num               815 drivers/i2c/busses/i2c-pxa.c static int i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num)
num               849 drivers/i2c/busses/i2c-pxa.c 	i2c->msg_num = num;
num               879 drivers/i2c/busses/i2c-pxa.c 			    struct i2c_msg msgs[], int num)
num               892 drivers/i2c/busses/i2c-pxa.c 		ret = i2c_pxa_do_pio_xfer(i2c, msgs, num);
num              1114 drivers/i2c/busses/i2c-pxa.c static int i2c_pxa_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num              1120 drivers/i2c/busses/i2c-pxa.c 		ret = i2c_pxa_do_xfer(i2c, msgs, num);
num               440 drivers/i2c/busses/i2c-qcom-geni.c 			 int num)
num               457 drivers/i2c/busses/i2c-qcom-geni.c 	for (i = 0; i < num; i++) {
num               458 drivers/i2c/busses/i2c-qcom-geni.c 		u32 m_param = i < (num - 1) ? STOP_STRETCH : 0;
num               472 drivers/i2c/busses/i2c-qcom-geni.c 		ret = num;
num               841 drivers/i2c/busses/i2c-qup.c 			    int num)
num               870 drivers/i2c/busses/i2c-qup.c 	for (idx = 0; idx < num; idx++) {
num               872 drivers/i2c/busses/i2c-qup.c 		qup->is_last = idx == (num - 1);
num              1070 drivers/i2c/busses/i2c-qup.c 			int num)
num              1090 drivers/i2c/busses/i2c-qup.c 	for (idx = 0; idx < num; idx++) {
num              1116 drivers/i2c/busses/i2c-qup.c 		ret = num;
num              1510 drivers/i2c/busses/i2c-qup.c 			  struct i2c_msg msgs[], int num)
num              1517 drivers/i2c/busses/i2c-qup.c 	for (idx = 0; idx < num; idx++) {
num              1546 drivers/i2c/busses/i2c-qup.c 			   int num)
num              1558 drivers/i2c/busses/i2c-qup.c 	ret = qup_i2c_determine_mode_v2(qup, msgs, num);
num              1578 drivers/i2c/busses/i2c-qup.c 		ret = qup_i2c_bam_xfer(adap, &msgs[0], num);
num              1583 drivers/i2c/busses/i2c-qup.c 		for (idx = 0; idx < num; idx++) {
num              1585 drivers/i2c/busses/i2c-qup.c 			qup->is_last = idx == (num - 1);
num              1602 drivers/i2c/busses/i2c-qup.c 		ret = num;
num               776 drivers/i2c/busses/i2c-rcar.c 				int num)
num               802 drivers/i2c/busses/i2c-rcar.c 	for (i = 0; i < num; i++)
num               807 drivers/i2c/busses/i2c-rcar.c 	priv->msgs_left = num;
num               812 drivers/i2c/busses/i2c-rcar.c 				     num * adap->timeout);
num               826 drivers/i2c/busses/i2c-rcar.c 		ret = num - priv->msgs_left; /* The number of transfer */
num               112 drivers/i2c/busses/i2c-riic.c static int riic_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num               131 drivers/i2c/busses/i2c-riic.c 	for (i = 0, start_bit = ICCR2_ST; i < num; i++) {
num               135 drivers/i2c/busses/i2c-riic.c 		riic->is_last = (i == num - 1);
num               154 drivers/i2c/busses/i2c-riic.c 	return riic->err ?: num;
num               971 drivers/i2c/busses/i2c-rk3x.c static int rk3x_i2c_setup(struct rk3x_i2c *i2c, struct i2c_msg *msgs, int num)
num               983 drivers/i2c/busses/i2c-rk3x.c 	if (num >= 2 && msgs[0].len < 4 &&
num              1044 drivers/i2c/busses/i2c-rk3x.c 			 struct i2c_msg *msgs, int num)
num              1063 drivers/i2c/busses/i2c-rk3x.c 	for (i = 0; i < num; i += ret) {
num              1064 drivers/i2c/busses/i2c-rk3x.c 		ret = rk3x_i2c_setup(i2c, msgs + i, num - i);
num              1071 drivers/i2c/busses/i2c-rk3x.c 		if (i + ret >= num)
num              1110 drivers/i2c/busses/i2c-rk3x.c 	return ret < 0 ? ret : num;
num                58 drivers/i2c/busses/i2c-robotfuzz-osif.c 			 int num)
num                65 drivers/i2c/busses/i2c-robotfuzz-osif.c 	for (i = 0; i < num; i++) {
num               692 drivers/i2c/busses/i2c-s3c2410.c 			      struct i2c_msg *msgs, int num)
num               705 drivers/i2c/busses/i2c-s3c2410.c 	i2c->msg_num = num;
num               716 drivers/i2c/busses/i2c-s3c2410.c 		if (ret != num)
num               732 drivers/i2c/busses/i2c-s3c2410.c 	else if (ret != num)
num               754 drivers/i2c/busses/i2c-s3c2410.c 			struct i2c_msg *msgs, int num)
num               766 drivers/i2c/busses/i2c-s3c2410.c 		ret = s3c24xx_i2c_doxfer(i2c, msgs, num);
num               305 drivers/i2c/busses/i2c-sh7760.c 				  int num)
num               316 drivers/i2c/busses/i2c-sh7760.c 	while (i < num) {
num               319 drivers/i2c/busses/i2c-sh7760.c 		id->flags = ((i == (num-1)) ? IDF_STOP : 0);
num               332 drivers/i2c/busses/i2c-sh7760.c 			num = -EIO;
num               339 drivers/i2c/busses/i2c-sh7760.c 			num = -EREMOTEIO;
num               348 drivers/i2c/busses/i2c-sh7760.c 			num = -EREMOTEIO;
num               373 drivers/i2c/busses/i2c-sh7760.c 	return num;
num               648 drivers/i2c/busses/i2c-sh_mobile.c 			      int num)
num               660 drivers/i2c/busses/i2c-sh_mobile.c 	for (i = 0; i < num; i++) {
num               663 drivers/i2c/busses/i2c-sh_mobile.c 		pd->send_stop = i == num - 1 || msg->flags & I2C_M_STOP;
num               702 drivers/i2c/busses/i2c-sh_mobile.c 	return err ?: num;
num               238 drivers/i2c/busses/i2c-sirf.c 	int num)
num               245 drivers/i2c/busses/i2c-sirf.c 	for (i = 0; i < num; i++) {
num               252 drivers/i2c/busses/i2c-sirf.c 		siic->last = (i == (num - 1));
num               262 drivers/i2c/busses/i2c-sirf.c 	return num;
num               282 drivers/i2c/busses/i2c-sprd.c 				struct i2c_msg *msgs, int num)
num               291 drivers/i2c/busses/i2c-sprd.c 	for (im = 0; im < num - 1; im++) {
num               714 drivers/i2c/busses/i2c-st.c 			struct i2c_msg msgs[], int num)
num               731 drivers/i2c/busses/i2c-st.c 	for (i = 0; (i < num) && !ret; i++)
num               732 drivers/i2c/busses/i2c-st.c 		ret = st_i2c_xfer_msg(i2c_dev, &msgs[i], i == 0, i == num - 1);
num               726 drivers/i2c/busses/i2c-stm32f4.c 			    int num)
num               737 drivers/i2c/busses/i2c-stm32f4.c 	for (i = 0; i < num && !ret; i++)
num               739 drivers/i2c/busses/i2c-stm32f4.c 					   i == num - 1);
num               743 drivers/i2c/busses/i2c-stm32f4.c 	return (ret < 0) ? ret : num;
num              1554 drivers/i2c/busses/i2c-stm32f7.c 			    struct i2c_msg msgs[], int num)
num              1563 drivers/i2c/busses/i2c-stm32f7.c 	i2c_dev->msg_num = num;
num              1593 drivers/i2c/busses/i2c-stm32f7.c 	return (ret < 0) ? ret : num;
num               807 drivers/i2c/busses/i2c-stu300.c 			 int num)
num               813 drivers/i2c/busses/i2c-stu300.c 	dev->msg_len = num;
num               815 drivers/i2c/busses/i2c-stu300.c 	for (i = 0; i < num; i++) {
num               825 drivers/i2c/busses/i2c-stu300.c 		ret = stu300_xfer_msg(adap, &msgs[i], (i == (num - 1)));
num               828 drivers/i2c/busses/i2c-stu300.c 			num = ret;
num               833 drivers/i2c/busses/i2c-stu300.c 	return num;
num               836 drivers/i2c/busses/i2c-stu300.c static int stu300_xfer_todo(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               166 drivers/i2c/busses/i2c-synquacer.c 					    int num)
num               171 drivers/i2c/busses/i2c-synquacer.c 	for (i = 0; i < num; i++, msgs++)
num               174 drivers/i2c/busses/i2c-synquacer.c 	return DIV_ROUND_UP((bit_count * 9 + num * 10) * 3, 200) + 10;
num               311 drivers/i2c/busses/i2c-synquacer.c 				struct i2c_msg *msgs, int num)
num               327 drivers/i2c/busses/i2c-synquacer.c 	i2c->msg_num = num;
num               346 drivers/i2c/busses/i2c-synquacer.c 	if (ret != num) {
num               496 drivers/i2c/busses/i2c-synquacer.c 			      int num)
num               503 drivers/i2c/busses/i2c-synquacer.c 	i2c->timeout_ms = calc_timeout_ms(i2c, msgs, num);
num               508 drivers/i2c/busses/i2c-synquacer.c 		ret = synquacer_i2c_doxfer(i2c, msgs, num);
num               103 drivers/i2c/busses/i2c-tegra-bpmp.c 					unsigned int num)
num               109 drivers/i2c/busses/i2c-tegra-bpmp.c 	for (i = 0; i < num; i++) {
num               152 drivers/i2c/busses/i2c-tegra-bpmp.c 				      unsigned int num)
num               158 drivers/i2c/busses/i2c-tegra-bpmp.c 	for (i = 0; i < num; i++)
num               165 drivers/i2c/busses/i2c-tegra-bpmp.c 	for (i = 0; i < num; i++) {
num               175 drivers/i2c/busses/i2c-tegra-bpmp.c static int tegra_bpmp_i2c_msg_len_check(struct i2c_msg *msgs, unsigned int num)
num               180 drivers/i2c/busses/i2c-tegra-bpmp.c 	for (i = 0; i < num; i++)
num               187 drivers/i2c/busses/i2c-tegra-bpmp.c 	for (i = 0; i < num; i++)
num               224 drivers/i2c/busses/i2c-tegra-bpmp.c 				      struct i2c_msg *msgs, int num,
num               232 drivers/i2c/busses/i2c-tegra-bpmp.c 	err = tegra_bpmp_i2c_msg_len_check(msgs, num);
num               241 drivers/i2c/busses/i2c-tegra-bpmp.c 	err = tegra_bpmp_serialize_i2c_msg(i2c, &request, msgs, num);
num               253 drivers/i2c/busses/i2c-tegra-bpmp.c 	err = tegra_bpmp_i2c_deserialize(i2c, &response, msgs, num);
num               259 drivers/i2c/busses/i2c-tegra-bpmp.c 	return num;
num               263 drivers/i2c/busses/i2c-tegra-bpmp.c 			       struct i2c_msg *msgs, int num)
num               265 drivers/i2c/busses/i2c-tegra-bpmp.c 	return tegra_bpmp_i2c_xfer_common(adapter, msgs, num, false);
num               269 drivers/i2c/busses/i2c-tegra-bpmp.c 				      struct i2c_msg *msgs, int num)
num               271 drivers/i2c/busses/i2c-tegra-bpmp.c 	return tegra_bpmp_i2c_xfer_common(adapter, msgs, num, true);
num              1242 drivers/i2c/busses/i2c-tegra.c 			  int num)
num              1254 drivers/i2c/busses/i2c-tegra.c 	for (i = 0; i < num; i++) {
num              1257 drivers/i2c/busses/i2c-tegra.c 		if (i < (num - 1)) {
num                51 drivers/i2c/busses/i2c-tiny-usb.c static int usb_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num)
num                57 drivers/i2c/busses/i2c-tiny-usb.c 	dev_dbg(&adapter->dev, "master xfer %d messages:\n", num);
num                63 drivers/i2c/busses/i2c-tiny-usb.c 	for (i = 0 ; i < num ; i++) {
num                69 drivers/i2c/busses/i2c-tiny-usb.c 		if (i == num-1)
num               410 drivers/i2c/busses/i2c-uniphier-f.c 				     struct i2c_msg *msgs, int num)
num               412 drivers/i2c/busses/i2c-uniphier-f.c 	struct i2c_msg *msg, *emsg = msgs + num;
num               431 drivers/i2c/busses/i2c-uniphier-f.c 	return num;
num               220 drivers/i2c/busses/i2c-uniphier.c 				    struct i2c_msg *msgs, int num)
num               222 drivers/i2c/busses/i2c-uniphier.c 	struct i2c_msg *msg, *emsg = msgs + num;
num               238 drivers/i2c/busses/i2c-uniphier.c 	return num;
num               266 drivers/i2c/busses/i2c-viperboard.c 		int num)
num               276 drivers/i2c/busses/i2c-viperboard.c 	dev_dbg(&i2c->dev, "master xfer %d messages:\n", num);
num               278 drivers/i2c/busses/i2c-viperboard.c 	for (i = 0 ; i < num ; i++) {
num               335 drivers/i2c/busses/i2c-viperboard.c 	return num;
num               295 drivers/i2c/busses/i2c-wmt.c 			int num)
num               301 drivers/i2c/busses/i2c-wmt.c 	for (i = 0; ret >= 0 && i < num; i++) {
num               302 drivers/i2c/busses/i2c-wmt.c 		is_last = ((i + 1) == num);
num               664 drivers/i2c/busses/i2c-xiic.c static int xiic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               681 drivers/i2c/busses/i2c-xiic.c 	i2c->nmsgs = num;
num               687 drivers/i2c/busses/i2c-xiic.c 		err = (i2c->state == STATE_DONE) ? num : -EIO;
num               428 drivers/i2c/busses/i2c-xlp9xx.c 			   int num)
num               441 drivers/i2c/busses/i2c-xlp9xx.c 	for (i = 0; i < num; i++) {
num               442 drivers/i2c/busses/i2c-xlp9xx.c 		ret = xlp9xx_i2c_xfer_msg(priv, &msgs[i], i == num - 1);
num               447 drivers/i2c/busses/i2c-xlp9xx.c 	return num;
num               291 drivers/i2c/busses/i2c-xlr.c 	struct i2c_msg *msgs, int num)
num               306 drivers/i2c/busses/i2c-xlr.c 	for (i = 0; ret == 0 && i < num; i++) {
num               323 drivers/i2c/busses/i2c-xlr.c 	return (ret != 0) ? ret : num;
num               306 drivers/i2c/busses/i2c-zx2967.c 			   struct i2c_msg *msgs, int num)
num               314 drivers/i2c/busses/i2c-zx2967.c 	for (i = 0; i < num; i++) {
num               320 drivers/i2c/busses/i2c-zx2967.c 	return num;
num              1900 drivers/i2c/i2c-core-base.c static int i2c_check_for_quirks(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num              1910 drivers/i2c/i2c-core-base.c 		if (num == 2) {
num              1930 drivers/i2c/i2c-core-base.c 	if (i2c_quirk_exceeded(num, max_num))
num              1933 drivers/i2c/i2c-core-base.c 	for (i = 0; i < num; i++) {
num              1966 drivers/i2c/i2c-core-base.c int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num              1971 drivers/i2c/i2c-core-base.c 	if (WARN_ON(!msgs || num < 1))
num              1978 drivers/i2c/i2c-core-base.c 	if (adap->quirks && i2c_check_for_quirks(adap, msgs, num))
num              1988 drivers/i2c/i2c-core-base.c 		for (i = 0; i < num; i++)
num              1999 drivers/i2c/i2c-core-base.c 			ret = adap->algo->master_xfer_atomic(adap, msgs, num);
num              2001 drivers/i2c/i2c-core-base.c 			ret = adap->algo->master_xfer(adap, msgs, num);
num              2014 drivers/i2c/i2c-core-base.c 		trace_i2c_result(adap, num, ret);
num              2033 drivers/i2c/i2c-core-base.c int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num              2062 drivers/i2c/i2c-core-base.c 	ret = __i2c_transfer(adap, msgs, num);
num               326 drivers/i2c/i2c-core-smbus.c 	int num = read_write == I2C_SMBUS_READ ? 2 : 1;
num               351 drivers/i2c/i2c-core-smbus.c 		num = 1;
num               357 drivers/i2c/i2c-core-smbus.c 			num = 1;
num               378 drivers/i2c/i2c-core-smbus.c 		num = 2; /* Special case */
num               406 drivers/i2c/i2c-core-smbus.c 		num = 2; /* Another special case */
num               454 drivers/i2c/i2c-core-smbus.c 			if (num == 1) /* Write only */
num               460 drivers/i2c/i2c-core-smbus.c 		if (msg[num-1].flags & I2C_M_RD)
num               461 drivers/i2c/i2c-core-smbus.c 			msg[num-1].len++;
num               464 drivers/i2c/i2c-core-smbus.c 	status = __i2c_transfer(adapter, msg, num);
num               467 drivers/i2c/i2c-core-smbus.c 	if (status != num) {
num               474 drivers/i2c/i2c-core-smbus.c 	if (i && (msg[num-1].flags & I2C_M_RD)) {
num               475 drivers/i2c/i2c-core-smbus.c 		status = i2c_smbus_check_pec(partial_pec, &msg[num-1]);
num                40 drivers/i2c/i2c-mux.c 				 struct i2c_msg msgs[], int num)
num                51 drivers/i2c/i2c-mux.c 		ret = __i2c_transfer(parent, msgs, num);
num                59 drivers/i2c/i2c-mux.c 			       struct i2c_msg msgs[], int num)
num                70 drivers/i2c/i2c-mux.c 		ret = i2c_transfer(parent, msgs, num);
num                38 drivers/i2c/muxes/i2c-demux-pinctrl.c static int i2c_demux_master_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
num                43 drivers/i2c/muxes/i2c-demux-pinctrl.c 	return __i2c_transfer(parent, msgs, num);
num               217 drivers/i2c/muxes/i2c-mux-ltc4306.c 	int num, ret;
num               282 drivers/i2c/muxes/i2c-mux-ltc4306.c 	for (num = 0; num < chip->nchans; num++) {
num               283 drivers/i2c/muxes/i2c-mux-ltc4306.c 		ret = i2c_mux_add_adapter(muxc, 0, num, 0);
num               292 drivers/i2c/muxes/i2c-mux-ltc4306.c 		 num, client->name);
num               138 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	int num, force;
num               160 drivers/i2c/muxes/i2c-mux-mlxcpld.c 	for (num = 0; num < CPLD_MUX_MAX_NCHANS; num++) {
num               161 drivers/i2c/muxes/i2c-mux-mlxcpld.c 		if (num >= pdata->num_adaps)
num               165 drivers/i2c/muxes/i2c-mux-mlxcpld.c 		force = pdata->adap_ids[num];
num               167 drivers/i2c/muxes/i2c-mux-mlxcpld.c 		err = i2c_mux_add_adapter(muxc, force, num, 0);
num               418 drivers/i2c/muxes/i2c-mux-pca954x.c 	int num;
num               487 drivers/i2c/muxes/i2c-mux-pca954x.c 	for (num = 0; num < data->chip->nchans; num++) {
num               488 drivers/i2c/muxes/i2c-mux-pca954x.c 		ret = i2c_mux_add_adapter(muxc, 0, num, 0);
num               509 drivers/i2c/muxes/i2c-mux-pca954x.c 		 num, data->chip->muxtype == pca954x_ismux
num               136 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               141 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               146 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               151 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_16G,
num               215 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               220 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               225 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               299 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               304 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               309 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_6G,
num               314 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               319 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_16G,
num               384 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               389 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_6G,
num               458 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               463 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               528 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_100G,
num               533 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_200G,
num               538 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_400G,
num               596 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               659 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               664 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               669 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               674 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_16G,
num               728 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               733 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               738 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               743 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_16G,
num               802 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               868 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_2G,
num               873 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_4G,
num               878 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_8G,
num               883 drivers/iio/accel/st_accel_core.c 					.num = ST_ACCEL_FS_AVL_16G,
num                88 drivers/iio/adc/ad7606.c 	unsigned int num = st->chip_info->num_channels - 1;
num               113 drivers/iio/adc/ad7606.c 		num--;
num               116 drivers/iio/adc/ad7606.c 	return st->bops->read_block(st->dev, num, data);
num                11 drivers/iio/adc/ad7606.h #define AD760X_CHANNEL(num, mask_sep, mask_type, mask_all) {	\
num                14 drivers/iio/adc/ad7606.h 		.channel = num,					\
num                15 drivers/iio/adc/ad7606.h 		.address = num,					\
num                19 drivers/iio/adc/ad7606.h 		.scan_index = num,				\
num                28 drivers/iio/adc/ad7606.h #define AD7605_CHANNEL(num)				\
num                29 drivers/iio/adc/ad7606.h 	AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW),	\
num                32 drivers/iio/adc/ad7606.h #define AD7606_CHANNEL(num)				\
num                33 drivers/iio/adc/ad7606.h 	AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW),	\
num                37 drivers/iio/adc/ad7606.h #define AD7616_CHANNEL(num)	\
num                38 drivers/iio/adc/ad7606.h 	AD760X_CHANNEL(num, BIT(IIO_CHAN_INFO_RAW) | BIT(IIO_CHAN_INFO_SCALE),\
num               139 drivers/iio/adc/ad7606.h 	int (*read_block)(struct device *dev, int num, void *data);
num               257 drivers/iio/adc/at91-sama5d2_adc.c #define AT91_SAMA5D2_CHAN_SINGLE(num, addr)				\
num               260 drivers/iio/adc/at91-sama5d2_adc.c 		.channel = num,						\
num               262 drivers/iio/adc/at91-sama5d2_adc.c 		.scan_index = num,					\
num               272 drivers/iio/adc/at91-sama5d2_adc.c 		.datasheet_name = "CH"#num,				\
num               276 drivers/iio/adc/at91-sama5d2_adc.c #define AT91_SAMA5D2_CHAN_DIFF(num, num2, addr)				\
num               280 drivers/iio/adc/at91-sama5d2_adc.c 		.channel = num,						\
num               283 drivers/iio/adc/at91-sama5d2_adc.c 		.scan_index = num + AT91_SAMA5D2_SINGLE_CHAN_CNT,	\
num               293 drivers/iio/adc/at91-sama5d2_adc.c 		.datasheet_name = "CH"#num"-CH"#num2,			\
num               297 drivers/iio/adc/at91-sama5d2_adc.c #define AT91_SAMA5D2_CHAN_TOUCH(num, name, mod)				\
num               301 drivers/iio/adc/at91-sama5d2_adc.c 		.channel = num,						\
num               303 drivers/iio/adc/at91-sama5d2_adc.c 		.scan_index = num,					\
num               314 drivers/iio/adc/at91-sama5d2_adc.c #define AT91_SAMA5D2_CHAN_PRESSURE(num, name)				\
num               317 drivers/iio/adc/at91-sama5d2_adc.c 		.channel = num,						\
num               318 drivers/iio/adc/at91-sama5d2_adc.c 		.scan_index = num,					\
num               359 drivers/iio/adc/hi8435.c #define HI8435_VOLTAGE_CHANNEL(num)			\
num               363 drivers/iio/adc/hi8435.c 	.channel = num,					\
num               460 drivers/iio/adc/max1363.c #define MAX1363_CHAN_U(num, addr, si, bits, ev_spec, num_ev_spec)	\
num               464 drivers/iio/adc/max1363.c 		.channel = num,						\
num               468 drivers/iio/adc/max1363.c 		.datasheet_name = "AIN"#num,				\
num               481 drivers/iio/adc/max1363.c #define MAX1363_CHAN_B(num, num2, addr, si, bits, ev_spec, num_ev_spec)	\
num               486 drivers/iio/adc/max1363.c 		.channel = num,						\
num               491 drivers/iio/adc/max1363.c 		.datasheet_name = "AIN"#num"-AIN"#num2,			\
num               233 drivers/iio/adc/mcp320x.c #define MCP320X_VOLTAGE_CHANNEL(num)				\
num               237 drivers/iio/adc/mcp320x.c 		.channel = (num),				\
num               238 drivers/iio/adc/mcp320x.c 		.address = (num),				\
num               222 drivers/iio/adc/qcom-pm8xxx-xoadc.c 		.prescale = { .num = _prenum, .den = _preden },		\
num               816 drivers/iio/adc/qcom-pm8xxx-xoadc.c 		ch->amux_ip_rsv, ch->decimation, hwchan->prescale.num,
num               147 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den =  1},
num               148 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den =  3},
num               149 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den =  4},
num               150 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den =  6},
num               151 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den = 20},
num               152 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den =  8},
num               153 drivers/iio/adc/qcom-spmi-adc5.c 	{.num = 10, .den = 81},
num               154 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den = 10},
num               155 drivers/iio/adc/qcom-spmi-adc5.c 	{.num =  1, .den = 16}
num               168 drivers/iio/adc/qcom-spmi-adc5.c static int adc5_prescaling_from_dt(u32 num, u32 den)
num               173 drivers/iio/adc/qcom-spmi-adc5.c 		if (adc5_prescale_ratios[pre].num == num &&
num               127 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den =  1},
num               128 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den =  3},
num               129 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den =  4},
num               130 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den =  6},
num               131 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den = 20},
num               132 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den =  8},
num               133 drivers/iio/adc/qcom-spmi-vadc.c 	{.num = 10, .den = 81},
num               134 drivers/iio/adc/qcom-spmi-vadc.c 	{.num =  1, .den = 10}
num               288 drivers/iio/adc/qcom-spmi-vadc.c 						  unsigned int num)
num               293 drivers/iio/adc/qcom-spmi-vadc.c 		if (vadc->chan_props[i].channel == num)
num               296 drivers/iio/adc/qcom-spmi-vadc.c 	dev_dbg(vadc->dev, "no such channel %02x\n", num);
num               408 drivers/iio/adc/qcom-spmi-vadc.c static int vadc_prescaling_from_dt(u32 num, u32 den)
num               413 drivers/iio/adc/qcom-spmi-vadc.c 		if (vadc_prescale_ratios[pre].num == num &&
num               191 drivers/iio/adc/qcom-vadc-common.c 	result = div64_s64(voltage, prescale->num);
num               233 drivers/iio/adc/qcom-vadc-common.c 		do_div(temp, prescale->num * 2);
num               255 drivers/iio/adc/qcom-vadc-common.c 	voltage = div64_s64(voltage, prescale->num);
num               285 drivers/iio/adc/qcom-vadc-common.c 		temp = prescale->num * factor;
num                95 drivers/iio/adc/qcom-vadc-common.h 	u32 num;
num                36 drivers/iio/adc/ti-adc084s021.c #define ADC084S021_VOLTAGE_CHANNEL(num)                  \
num                39 drivers/iio/adc/ti-adc084s021.c 		.channel = (num),                                    \
num                41 drivers/iio/adc/ti-adc084s021.c 		.scan_index = (num),                                 \
num                92 drivers/iio/adc/ti-adc128s052.c #define ADC128_VOLTAGE_CHANNEL(num)	\
num                96 drivers/iio/adc/ti-adc128s052.c 		.channel = (num), \
num               220 drivers/iio/chemical/pms7003.c 	int num;
num               233 drivers/iio/chemical/pms7003.c 		num = get_unaligned_be16(buf + 2);
num               234 drivers/iio/chemical/pms7003.c 		if (num <= PMS7003_MAX_DATA_LENGTH) {
num               235 drivers/iio/chemical/pms7003.c 			frame->expected_length = num;
num               242 drivers/iio/chemical/pms7003.c 	num = min(size, (size_t)(frame->expected_length - frame->length));
num               243 drivers/iio/chemical/pms7003.c 	memcpy(frame->data + frame->length, buf, num);
num               244 drivers/iio/chemical/pms7003.c 	frame->length += num;
num               253 drivers/iio/chemical/pms7003.c 	return num;
num               122 drivers/iio/common/st_sensors/st_sensors_core.c 		if (sensor_settings->fs.fs_avl[i].num == 0)
num               125 drivers/iio/common/st_sensors/st_sensors_core.c 		if (sensor_settings->fs.fs_avl[i].num == fs) {
num               409 drivers/iio/common/st_sensors/st_sensors_core.c 						sdata->current_fullscale->num);
num               528 drivers/iio/common/st_sensors/st_sensors_core.c 				sdata->sensor_settings->fs.fs_avl[i].num);
num               689 drivers/iio/common/st_sensors/st_sensors_core.c 		if (sdata->sensor_settings->fs.fs_avl[i].num == 0)
num                91 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_250DPS,
num                96 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_500DPS,
num               101 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_2000DPS,
num               169 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_250DPS,
num               174 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_500DPS,
num               179 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_2000DPS,
num               243 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_245DPS,
num               248 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_500DPS,
num               253 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_2000DPS,
num               317 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_245DPS,
num               322 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_500DPS,
num               327 drivers/iio/gyro/st_gyro_core.c 					.num = ST_GYRO_FS_AVL_2000DPS,
num               211 drivers/iio/imu/bmi160/bmi160_core.c 	int num;
num               217 drivers/iio/imu/bmi160/bmi160_core.c 		.num	= ARRAY_SIZE(bmi160_accel_scale),
num               221 drivers/iio/imu/bmi160/bmi160_core.c 		.num	= ARRAY_SIZE(bmi160_gyro_scale),
num               253 drivers/iio/imu/bmi160/bmi160_core.c 	int num;
num               259 drivers/iio/imu/bmi160/bmi160_core.c 		.num	= ARRAY_SIZE(bmi160_accel_odr),
num               263 drivers/iio/imu/bmi160/bmi160_core.c 		.num	= ARRAY_SIZE(bmi160_gyro_odr),
num               316 drivers/iio/imu/bmi160/bmi160_core.c 	for (i = 0; i < bmi160_scale_table[t].num; i++)
num               320 drivers/iio/imu/bmi160/bmi160_core.c 	if (i == bmi160_scale_table[t].num)
num               337 drivers/iio/imu/bmi160/bmi160_core.c 	for (i = 0; i < bmi160_scale_table[t].num; i++)
num               371 drivers/iio/imu/bmi160/bmi160_core.c 	for (i = 0; i < bmi160_odr_table[t].num; i++)
num               376 drivers/iio/imu/bmi160/bmi160_core.c 	if (i >= bmi160_odr_table[t].num)
num               396 drivers/iio/imu/bmi160/bmi160_core.c 	for (i = 0; i < bmi160_odr_table[t].num; i++)
num               400 drivers/iio/imu/bmi160/bmi160_core.c 	if (i >= bmi160_odr_table[t].num)
num               138 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_1300MG,
num               144 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_1900MG,
num               150 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_2500MG,
num               156 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_4000MG,
num               162 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_4700MG,
num               168 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_5600MG,
num               174 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_8100MG,
num               217 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_1300MG,
num               223 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_1900MG,
num               229 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_2500MG,
num               235 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_4000MG,
num               241 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_4700MG,
num               247 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_5600MG,
num               253 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_8100MG,
num               296 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_4000MG,
num               301 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_8000MG,
num               306 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_12000MG,
num               311 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_16000MG,
num               362 drivers/iio/magnetometer/st_magn_core.c 					.num = ST_MAGN_FS_AVL_15000MG,
num               270 drivers/iio/pressure/st_pressure_core.c 					.num = ST_PRESS_FS_AVL_1260MB,
num               340 drivers/iio/pressure/st_pressure_core.c 					.num = ST_PRESS_FS_AVL_1100MB,
num               393 drivers/iio/pressure/st_pressure_core.c 					.num = ST_PRESS_FS_AVL_1260MB,
num               462 drivers/iio/pressure/st_pressure_core.c 					.num = ST_PRESS_FS_AVL_1260MB,
num               531 drivers/iio/pressure/st_pressure_core.c 					.num = ST_PRESS_FS_AVL_1260MB,
num              1024 drivers/infiniband/core/mad.c 		seg->num = ++send_buf->seg_count;
num              1171 drivers/infiniband/core/mad.c 	if (mad_send_wr->cur_seg->num < seg_num) {
num              1173 drivers/infiniband/core/mad.c 			if (mad_send_wr->cur_seg->num == seg_num)
num              1175 drivers/infiniband/core/mad.c 	} else if (mad_send_wr->cur_seg->num > seg_num) {
num              1177 drivers/infiniband/core/mad.c 			if (mad_send_wr->cur_seg->num == seg_num)
num                87 drivers/infiniband/core/mad_priv.h 	u32 num;
num               643 drivers/infiniband/core/mad_rmpp.c 		if (wr->last_ack_seg->num == seg_num)
num              2627 drivers/infiniband/core/uverbs_cmd.c 	WARN_ON(uflow_res->num >= uflow_res->max);
num              2644 drivers/infiniband/core/uverbs_cmd.c 	uflow_res->num++;
num               108 drivers/infiniband/hw/bnxt_re/ib_verbs.c 			     struct bnxt_qplib_sge *sg_list, int num)
num               112 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	for (i = 0; i < num; i++) {
num               549 drivers/infiniband/hw/bnxt_re/qplib_fp.h 		       int num, struct bnxt_qplib_qp **qp);
num                82 drivers/infiniband/hw/cxgb4/id_table.c int c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num,
num                93 drivers/infiniband/hw/cxgb4/id_table.c 	alloc->max  = num;
num                95 drivers/infiniband/hw/cxgb4/id_table.c 	alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long),
num               100 drivers/infiniband/hw/cxgb4/id_table.c 	bitmap_zero(alloc->table, num);
num               939 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num,
num               202 drivers/infiniband/hw/hfi1/chip.c 	num, \
num               212 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc0val) << SEND_SC2VLT##num##_SC##sc0##_SHIFT) | \
num               213 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc1val) << SEND_SC2VLT##num##_SC##sc1##_SHIFT) | \
num               214 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc2val) << SEND_SC2VLT##num##_SC##sc2##_SHIFT) | \
num               215 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc3val) << SEND_SC2VLT##num##_SC##sc3##_SHIFT) | \
num               216 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc4val) << SEND_SC2VLT##num##_SC##sc4##_SHIFT) | \
num               217 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc5val) << SEND_SC2VLT##num##_SC##sc5##_SHIFT) | \
num               218 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc6val) << SEND_SC2VLT##num##_SC##sc6##_SHIFT) | \
num               219 drivers/infiniband/hw/hfi1/chip.c 	((u64)(sc7val) << SEND_SC2VLT##num##_SC##sc7##_SHIFT)   \
num              1027 drivers/infiniband/hw/hfi1/hfi.h 	int num;			/* bus number, 0 or 1 */
num                73 drivers/infiniband/hw/hfi1/qsfp.c 	target_oe = i2c_oe_csr(bus->num);
num                97 drivers/infiniband/hw/hfi1/qsfp.c 	target_oe = i2c_oe_csr(bus->num);
num               123 drivers/infiniband/hw/hfi1/qsfp.c 	target_in = i2c_in_csr(bus->num);
num               137 drivers/infiniband/hw/hfi1/qsfp.c 	target_in = i2c_in_csr(bus->num);
num               147 drivers/infiniband/hw/hfi1/qsfp.c 					 struct hfi1_asic_data *ad, int num)
num               157 drivers/infiniband/hw/hfi1/qsfp.c 	bus->num = num;	/* our bus number */
num               171 drivers/infiniband/hw/hfi1/qsfp.c 		 "hfi1_i2c%d", num);
num               176 drivers/infiniband/hw/hfi1/qsfp.c 			    __func__, num, ret);
num               257 drivers/infiniband/hw/hfi1/qsfp.c 			   __func__, i2c->num, slave_addr, offset, len, ret);
num               305 drivers/infiniband/hw/hfi1/qsfp.c 			   __func__, bus->num, slave_addr, offset, len, ret);
num               130 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_bitmap_init(struct hns_roce_bitmap *bitmap, u32 num, u32 mask,
num               135 drivers/infiniband/hw/hns/hns_roce_alloc.c 	if (num != roundup_pow_of_two(num))
num               140 drivers/infiniband/hw/hns/hns_roce_alloc.c 	bitmap->max = num - reserved_top;
num              1170 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_bitmap_init(struct hns_roce_bitmap *bitmap, u32 num, u32 mask,
num              1003 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			       struct hns_roce_cmq_desc *desc, int num)
num              1017 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (num > hns_roce_cmq_space(csq)) {
num              1028 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	while (handle < num) {
num              1057 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		while (handle < num) {
num              1080 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (handle != num)
num              1082 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			 handle, num);
num              1090 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			     struct hns_roce_cmq_desc *desc, int num)
num              1101 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = __hns_roce_cmq_send(hr_dev, desc, num);
num               487 drivers/infiniband/hw/i40iw/i40iw_utils.c static void i40iw_free_qp(struct i40iw_cqp_request *cqp_request, u32 num)
num              2159 drivers/infiniband/hw/mlx4/main.c 					 u32 *num,
num              2180 drivers/infiniband/hw/mlx4/main.c 	*num = num_counters;
num               549 drivers/infiniband/hw/mlx4/mlx4_ib.h 	u8 num;
num                57 drivers/infiniband/hw/mlx4/sysfs.c 					      port->num);
num                89 drivers/infiniband/hw/mlx4/sysfs.c 	*(__be64 *)&mdev->sriov.alias_guid.ports_guid[port->num - 1].
num                95 drivers/infiniband/hw/mlx4/sysfs.c 	mdev->sriov.alias_guid.ports_guid[port->num - 1].all_rec_per_port[record_num].status
num                99 drivers/infiniband/hw/mlx4/sysfs.c 			    port->num);
num               102 drivers/infiniband/hw/mlx4/sysfs.c 	mdev->sriov.alias_guid.ports_guid[port->num - 1].all_rec_per_port[record_num].guid_indexes
num               106 drivers/infiniband/hw/mlx4/sysfs.c 	mlx4_ib_init_alias_guid_work(mdev, port->num - 1);
num               122 drivers/infiniband/hw/mlx4/sysfs.c 	ret = __mlx4_ib_query_gid(&mdev->ib_dev, port->num,
num               149 drivers/infiniband/hw/mlx4/sysfs.c 	ret = __mlx4_ib_query_pkey(&mdev->ib_dev, port->num,
num               237 drivers/infiniband/hw/mlx4/sysfs.c 	port->num = port_num;
num              1220 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_copy_pas(u64 *old, u64 *new, int step, int num);
num               136 drivers/infiniband/hw/mlx5/mr.c static int add_keys(struct mlx5_ib_dev *dev, int c, int num)
num               152 drivers/infiniband/hw/mlx5/mr.c 	for (i = 0; i < num; i++) {
num               198 drivers/infiniband/hw/mlx5/mr.c static void remove_keys(struct mlx5_ib_dev *dev, int c, int num)
num               207 drivers/infiniband/hw/mlx5/mr.c 	for (i = 0; i < num; i++) {
num                79 drivers/infiniband/hw/mthca/mthca_allocator.c int mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask,
num                85 drivers/infiniband/hw/mthca/mthca_allocator.c 	if (num != 1 << (ffs(num) - 1))
num                90 drivers/infiniband/hw/mthca/mthca_allocator.c 	alloc->max  = num;
num                93 drivers/infiniband/hw/mthca/mthca_allocator.c 	alloc->table = kmalloc_array(BITS_TO_LONGS(num), sizeof(long),
num                98 drivers/infiniband/hw/mthca/mthca_allocator.c 	bitmap_zero(alloc->table, num);
num              1714 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_QUERY_SRQ(struct mthca_dev *dev, u32 num,
num              1717 drivers/infiniband/hw/mthca/mthca_cmd.c 	return mthca_cmd_box(dev, 0, mailbox->dma, num, 0,
num              1728 drivers/infiniband/hw/mthca/mthca_cmd.c 		    enum ib_qp_state next, u32 num, int is_ee,
num              1789 drivers/infiniband/hw/mthca/mthca_cmd.c 				    (!!is_ee << 24) | num, op_mod,
num              1823 drivers/infiniband/hw/mthca/mthca_cmd.c 		err = mthca_cmd(dev, mailbox->dma, optmask | (!!is_ee << 24) | num,
num              1830 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_QUERY_QP(struct mthca_dev *dev, u32 num, int is_ee,
num              1833 drivers/infiniband/hw/mthca/mthca_cmd.c 	return mthca_cmd_box(dev, 0, mailbox->dma, (!!is_ee << 24) | num, 0,
num               305 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_QUERY_SRQ(struct mthca_dev *dev, u32 num,
num               309 drivers/infiniband/hw/mthca/mthca_cmd.h 		    enum ib_qp_state next, u32 num, int is_ee,
num               311 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_QUERY_QP(struct mthca_dev *dev, u32 num, int is_ee,
num               416 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask,
num                73 drivers/infiniband/hw/mthca/mthca_profile.c 		int num;
num               101 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_QP].num    = request->num_qp;
num               102 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_SRQ].num   = request->num_srq;
num               103 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_EQP].num   = request->num_qp;
num               104 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_RDB].num   = request->num_qp * request->rdb_per_qp;
num               105 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_CQ].num    = request->num_cq;
num               106 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_EQ].num    = MTHCA_NUM_EQS;
num               107 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_MCG].num   = request->num_mcg;
num               108 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_MPT].num   = request->num_mpt;
num               109 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_MTT].num   = request->num_mtt;
num               110 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_UAR].num   = request->num_uar;
num               111 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_UARC].num  = request->num_uar;
num               112 drivers/infiniband/hw/mthca/mthca_profile.c 	profile[MTHCA_RES_UDAV].num  = request->num_udav;
num               116 drivers/infiniband/hw/mthca/mthca_profile.c 		profile[i].log_num  = max(ffs(profile[i].num) - 1, 0);
num               117 drivers/infiniband/hw/mthca/mthca_profile.c 		profile[i].size    *= profile[i].num;
num               175 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_qps   = profile[i].num;
num               180 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_eecs   = profile[i].num;
num               185 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_srqs   = profile[i].num;
num               190 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_cqs   = profile[i].num;
num               201 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_eqs   = profile[i].num;
num               207 drivers/infiniband/hw/mthca/mthca_profile.c 			     request->num_qp << dev->qp_table.rdb_shift < profile[i].num;
num               214 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mgms      = profile[i].num >> 1;
num               215 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_amgms     = profile[i].num >> 1;
num               222 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mpts   = profile[i].num;
num               228 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_mtt_segs = profile[i].num;
num               234 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->limits.num_uars       = profile[i].num;
num               239 drivers/infiniband/hw/mthca/mthca_profile.c 			dev->av_table.num_ddr_avs = profile[i].num;
num              3118 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				 int num)
num              3130 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cmd->cmd.num_eq = num;
num              3131 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	for (i = 0; i < num; i++) {
num              3144 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			     int num)
num              3147 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (num > 8) {
num              3148 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		while (num) {
num              3149 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			num_eqs = min(num, 8);
num              3152 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			num -= num_eqs;
num              3155 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		ocrdma_mbx_modify_eqd(dev, eq, num);
num              3165 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	int i, num = 0;
num              3176 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				num++;
num              3180 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				num++;
num              3186 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (num)
num              3187 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		ocrdma_modify_eqd(dev, &dev->eq_tbl[0], num);
num                54 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	u32 num = dev->dsr->caps.max_uar;
num                55 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	u32 mask = num - 1;
num                58 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	if (!is_power_of_2(num))
num                63 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	tbl->max = num;
num                66 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c 	tbl->table = kcalloc(BITS_TO_LONGS(num), sizeof(long), GFP_KERNEL);
num               286 drivers/infiniband/sw/siw/siw_cm.c static int siw_cm_alloc_work(struct siw_cep *cep, int num)
num               290 drivers/infiniband/sw/siw/siw_cm.c 	while (num--) {
num               103 drivers/input/evdev.c 	unsigned int i, head, num;
num               114 drivers/input/evdev.c 	num = 1;
num               123 drivers/input/evdev.c 		} else if (is_report && !num) {
num               131 drivers/input/evdev.c 		num++;
num               135 drivers/input/evdev.c 			num = 0;
num               144 drivers/input/joystick/gf2k.c static int gf2k_get_bits(unsigned char *buf, int pos, int num, int shift)
num               149 drivers/input/joystick/gf2k.c 	for (i = 0; i < num / 3 + 2; i++)
num               152 drivers/input/joystick/gf2k.c 	data &= (1 << num) - 1;
num               199 drivers/input/joystick/sidewinder.c #define GB(pos,num) sw_get_bits(buf, pos, num, sw->bits)
num               201 drivers/input/joystick/sidewinder.c static __u64 sw_get_bits(unsigned char *buf, int pos, int num, char bits)
num               208 drivers/input/joystick/sidewinder.c 	while (num--) {
num               106 drivers/input/keyboard/qt1050.c 	u32 num;
num               320 drivers/input/keyboard/qt1050.c 		err = qt1050_set_key(map, button->num, 1);
num               324 drivers/input/keyboard/qt1050.c 		key_regs = qt1050_get_key_regs(button->num);
num               367 drivers/input/keyboard/qt1050.c 					     &button.num)) {
num               371 drivers/input/keyboard/qt1050.c 		if (button.num < 0 || button.num > QT1050_MAX_KEYS - 1)
num               374 drivers/input/keyboard/qt1050.c 		ts->reg_keys |= BIT(button.num);
num               418 drivers/input/keyboard/qt1050.c 		ts->keys[button.num] = button;
num               218 drivers/input/keyboard/stmpe-keypad.c 		int num = __ffs(col_gpios);
num               221 drivers/input/keyboard/stmpe-keypad.c 			pins |= 1 << num;
num               222 drivers/input/keyboard/stmpe-keypad.c 			pu_pins |= 1 << num;
num               225 drivers/input/keyboard/stmpe-keypad.c 		col_gpios &= ~(1 << num);
num               229 drivers/input/keyboard/stmpe-keypad.c 		int num = __ffs(row_gpios);
num               232 drivers/input/keyboard/stmpe-keypad.c 			pins |= 1 << num;
num               234 drivers/input/keyboard/stmpe-keypad.c 		row_gpios &= ~(1 << num);
num                80 drivers/input/keyboard/tegra-kbc.c 	unsigned char num;
num               340 drivers/input/keyboard/tegra-kbc.c 			row_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << r_shft;
num               344 drivers/input/keyboard/tegra-kbc.c 			col_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << c_shft;
num               457 drivers/input/keyboard/tegra-kbc.c 			if (pin_cfg->num >= kbc->hw_support->max_rows) {
num               460 drivers/input/keyboard/tegra-kbc.c 					i, pin_cfg->num);
num               467 drivers/input/keyboard/tegra-kbc.c 			if (pin_cfg->num >= kbc->hw_support->max_columns) {
num               470 drivers/input/keyboard/tegra-kbc.c 					i, pin_cfg->num);
num               481 drivers/input/keyboard/tegra-kbc.c 				pin_cfg->type, pin_cfg->num);
num               569 drivers/input/keyboard/tegra-kbc.c 		kbc->pin_cfg[rows_cfg[i]].num = i;
num               574 drivers/input/keyboard/tegra-kbc.c 		kbc->pin_cfg[cols_cfg[i]].num = i;
num               114 drivers/input/mouse/vsxxxaa.c static void vsxxxaa_drop_bytes(struct vsxxxaa *mouse, int num)
num               116 drivers/input/mouse/vsxxxaa.c 	if (num >= mouse->count) {
num               119 drivers/input/mouse/vsxxxaa.c 		memmove(mouse->buf, mouse->buf + num, BUFLEN - num);
num               120 drivers/input/mouse/vsxxxaa.c 		mouse->count -= num;
num                39 drivers/input/touchscreen/exc3000.c 				 const u8 *buf, int num)
num                41 drivers/input/touchscreen/exc3000.c 	for (; num--; buf += EXC3000_LEN_POINT) {
num               342 drivers/input/touchscreen/zforce_ts.c 	int count, i, num = 0;
num               403 drivers/input/touchscreen/zforce_ts.c 			num++;
num               409 drivers/input/touchscreen/zforce_ts.c 	input_mt_report_finger_count(ts->input, num);
num               601 drivers/iommu/fsl_pamu_domain.c 				int num)
num               609 drivers/iommu/fsl_pamu_domain.c 	for (i = 0; i < num; i++) {
num              1734 drivers/iommu/intel-iommu.c 	int num;
num              1743 drivers/iommu/intel-iommu.c 		num      = find_first_zero_bit(iommu->domain_ids, ndomains);
num              1745 drivers/iommu/intel-iommu.c 		if (num >= ndomains) {
num              1752 drivers/iommu/intel-iommu.c 		set_bit(num, iommu->domain_ids);
num              1753 drivers/iommu/intel-iommu.c 		set_iommu_domain(iommu, num, domain);
num              1755 drivers/iommu/intel-iommu.c 		domain->iommu_did[iommu->seq_id] = num;
num              1767 drivers/iommu/intel-iommu.c 	int num, count;
num              1775 drivers/iommu/intel-iommu.c 		num = domain->iommu_did[iommu->seq_id];
num              1776 drivers/iommu/intel-iommu.c 		clear_bit(num, iommu->domain_ids);
num              1777 drivers/iommu/intel-iommu.c 		set_iommu_domain(iommu, num, NULL);
num               131 drivers/iommu/msm_iommu.c 			SET_CTX_TLBIALL(iommu->base, master->num, 0);
num               158 drivers/iommu/msm_iommu.c 							    master->num);
num               159 drivers/iommu/msm_iommu.c 				SET_TLBIVA(iommu->base, master->num, iova);
num               221 drivers/iommu/msm_iommu.c 		ctx = master->num;
num               452 drivers/iommu/msm_iommu.c 				if (master->num) {
num               457 drivers/iommu/msm_iommu.c 				master->num =
num               460 drivers/iommu/msm_iommu.c 				if (IS_ERR_VALUE(master->num)) {
num               465 drivers/iommu/msm_iommu.c 				__program_context(iommu->base, master->num,
num               497 drivers/iommu/msm_iommu.c 			msm_iommu_free_ctx(iommu->context_map, master->num);
num               498 drivers/iommu/msm_iommu.c 			__reset_context(iommu->base, master->num);
num               562 drivers/iommu/msm_iommu.c 	SET_CTX_TLBIALL(iommu->base, master->num, 0);
num               563 drivers/iommu/msm_iommu.c 	SET_V2PPR(iommu->base, master->num, va & V2Pxx_VA);
num               565 drivers/iommu/msm_iommu.c 	par = GET_PAR(iommu->base, master->num);
num               568 drivers/iommu/msm_iommu.c 	if (GET_NOFAULT_SS(iommu->base, master->num))
num               573 drivers/iommu/msm_iommu.c 	if (GET_FAULT(iommu->base, master->num))
num                76 drivers/iommu/msm_iommu.h 	int num;
num               110 drivers/iommu/omap-iommu-debug.c __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num)
num               120 drivers/iommu/omap-iommu-debug.c 	for_each_iotlb_cr(obj, num, i, tmp) {
num               142 drivers/iommu/omap-iommu-debug.c 	int i, num;
num               145 drivers/iommu/omap-iommu-debug.c 	num = obj->nr_tlb_entries;
num               147 drivers/iommu/omap-iommu-debug.c 	cr = kcalloc(num, sizeof(*cr), GFP_KERNEL);
num               151 drivers/iommu/omap-iommu-debug.c 	num = __dump_tlb_entries(obj, cr, num);
num               152 drivers/iommu/omap-iommu-debug.c 	for (i = 0; i < num; i++)
num                44 drivers/irqchip/irq-davinci-aintc.c 		       unsigned int irq_start, unsigned int num)
num                60 drivers/irqchip/irq-davinci-aintc.c 	irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE,
num               236 drivers/irqchip/irq-gic-v2m.c static bool is_msi_spi_valid(u32 base, u32 num)
num               243 drivers/irqchip/irq-gic-v2m.c 	if ((num == 0) || (base + num > V2M_MAX_SPI)) {
num               245 drivers/irqchip/irq-gic-v2m.c 		       num, V2M_MAX_SPI - V2M_MIN_SPI + 1);
num               163 drivers/irqchip/irq-mxs.c 			  int num)
num               165 drivers/irqchip/irq-mxs.c 	icoll_domain = irq_domain_add_linear(np, num,
num               224 drivers/irqchip/irq-omap-intc.c 		unsigned int irq_start, unsigned int num)
num               239 drivers/irqchip/irq-omap-intc.c 	irq_setup_generic_chip(gc, IRQ_MSK(num), IRQ_GC_INIT_MASK_CACHE,
num              3197 drivers/isdn/hardware/mISDN/hfcmulti.c hfcmulti_conf(struct hfc_multi *hc, int ch, int num)
num              3199 drivers/isdn/hardware/mISDN/hfcmulti.c 	if (num >= 0 && num <= 7)
num              3200 drivers/isdn/hardware/mISDN/hfcmulti.c 		hc->chan[ch].conf = num;
num              3561 drivers/isdn/hardware/mISDN/hfcmulti.c 	int			num;
num              3637 drivers/isdn/hardware/mISDN/hfcmulti.c 		num = cq->p1 & 0xff;
num              3640 drivers/isdn/hardware/mISDN/hfcmulti.c 			       __func__, num);
num              3641 drivers/isdn/hardware/mISDN/hfcmulti.c 		if (num <= 7)
num              3642 drivers/isdn/hardware/mISDN/hfcmulti.c 			hfcmulti_conf(hc, bch->slot, num);
num              3646 drivers/isdn/hardware/mISDN/hfcmulti.c 			       __func__, num);
num               125 drivers/isdn/hardware/mISDN/hfcsusb.h 	const int num;
num               148 drivers/isdn/hardware/mISDN/hfcsusb.h symbolic(struct hfcusb_symbolic_list list[], const int num)
num               152 drivers/isdn/hardware/mISDN/hfcsusb.h 		if (list[i].num == num)
num               308 drivers/isdn/mISDN/dsp_audio.c 	int num[]   = { 110, 125, 150, 175, 200, 300, 400, 500 };
num               314 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[7] / num[7]) & 0xffff];
num               316 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[6] / num[6]) & 0xffff];
num               318 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[5] / num[5]) & 0xffff];
num               320 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[4] / num[4]) & 0xffff];
num               322 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[3] / num[3]) & 0xffff];
num               324 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[2] / num[2]) & 0xffff];
num               326 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[1] / num[1]) & 0xffff];
num               328 drivers/isdn/mISDN/dsp_audio.c 			(dsp_audio_law_to_s32[i] * denum[0] / num[0]) & 0xffff];
num               329 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[0] / denum[0];
num               335 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[1] / denum[1];
num               341 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[2] / denum[2];
num               347 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[3] / denum[3];
num               353 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[4] / denum[4];
num               359 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[5] / denum[5];
num               365 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[6] / denum[6];
num               371 drivers/isdn/mISDN/dsp_audio.c 		sample = dsp_audio_law_to_s32[i] * num[7] / denum[7];
num               377 drivers/isdn/mISDN/dsp_tones.c 	int index, count, start, num;
num               413 drivers/isdn/mISDN/dsp_tones.c 		num = len;
num               414 drivers/isdn/mISDN/dsp_tones.c 		if (num + count > pat->seq[index])
num               415 drivers/isdn/mISDN/dsp_tones.c 			num = pat->seq[index] - count;
num               416 drivers/isdn/mISDN/dsp_tones.c 		if (num + start > (*(pat->siz[index])))
num               417 drivers/isdn/mISDN/dsp_tones.c 			num = (*(pat->siz[index])) - start;
num               419 drivers/isdn/mISDN/dsp_tones.c 		memcpy(data, pat->data[index] + start, num);
num               421 drivers/isdn/mISDN/dsp_tones.c 		data += num;
num               422 drivers/isdn/mISDN/dsp_tones.c 		count += num;
num               423 drivers/isdn/mISDN/dsp_tones.c 		len -= num;
num                68 drivers/leds/leds-an30259a.c 	u32 num;
num                97 drivers/leds/leds-an30259a.c 		led_on &= ~AN30259A_LED_EN(led->num);
num                98 drivers/leds/leds-an30259a.c 		led_on &= ~AN30259A_LED_SLOPE(led->num);
num               102 drivers/leds/leds-an30259a.c 		led_on |= AN30259A_LED_EN(led->num);
num               104 drivers/leds/leds-an30259a.c 			led_on |= AN30259A_LED_SLOPE(led->num);
num               106 drivers/leds/leds-an30259a.c 				   AN30259A_REG_LEDCNT1(led->num),
num               118 drivers/leds/leds-an30259a.c 	ret = regmap_write(led->chip->regmap, AN30259A_REG_LEDCC(led->num),
num               131 drivers/leds/leds-an30259a.c 	int ret, num;
num               138 drivers/leds/leds-an30259a.c 	num = led->num;
num               163 drivers/leds/leds-an30259a.c 	ret = regmap_write(led->chip->regmap, AN30259A_REG_LEDCNT2(num),
num               169 drivers/leds/leds-an30259a.c 	ret = regmap_write(led->chip->regmap, AN30259A_REG_LEDCNT3(num),
num               173 drivers/leds/leds-an30259a.c 	ret = regmap_write(led->chip->regmap, AN30259A_REG_LEDCNT4(num),
num               179 drivers/leds/leds-an30259a.c 	ret = regmap_write(led->chip->regmap, AN30259A_REG_SLOPE(num),
num               190 drivers/leds/leds-an30259a.c 	led_on |= AN30259A_LED_SLOPE(num) | AN30259A_LED_EN(led->num);
num               228 drivers/leds/leds-an30259a.c 		led->num = source;
num               275 drivers/leds/leds-an30259a.c 		if (!(led_on & AN30259A_LED_EN(led->num))) {
num               279 drivers/leds/leds-an30259a.c 		regmap_read(chip->regmap, AN30259A_REG_LEDCC(led->num),
num                32 drivers/leds/leds-lp8788.c 	enum lp8788_isink_number num;
num                38 drivers/leds/leds-lp8788.c 	.num   = LP8788_ISINK_3,
num                51 drivers/leds/leds-lp8788.c 		cfg->num = pdata->num;
num                55 drivers/leds/leds-lp8788.c 	led->isink_num = cfg->num;
num                59 drivers/leds/leds-lp8788.c 	mask = 1 << (cfg->num + LP8788_ISINK_SCALE_OFFSET);
num                60 drivers/leds/leds-lp8788.c 	val = cfg->scale << (cfg->num + LP8788_ISINK_SCALE_OFFSET);
num                66 drivers/leds/leds-lp8788.c 	addr = lp8788_iout_addr[cfg->num];
num                67 drivers/leds/leds-lp8788.c 	mask = lp8788_iout_mask[cfg->num];
num                74 drivers/leds/leds-lp8788.c 			enum lp8788_isink_number num, int on)
num                78 drivers/leds/leds-lp8788.c 	u8 mask = 1 << num;
num                79 drivers/leds/leds-lp8788.c 	u8 val = on << num;
num                94 drivers/leds/leds-lp8788.c 	enum lp8788_isink_number num = led->isink_num;
num                99 drivers/leds/leds-lp8788.c 	switch (num) {
num               103 drivers/leds/leds-lp8788.c 		ret = lp8788_write_byte(led->lp, lp8788_pwm_addr[num], val);
num               114 drivers/leds/leds-lp8788.c 		ret = lp8788_led_enable(led, num, enable);
num               184 drivers/leds/leds-tca6507.c 		int			num;
num               403 drivers/leds/leds-tca6507.c 		set_select(tca, led->num, TCA6507_LS_LED_OFF);
num               418 drivers/leds/leds-tca6507.c 			set_select(tca, led->num, TCA6507_LS_LED_ON);
num               437 drivers/leds/leds-tca6507.c 			set_select(tca, led->num, TCA6507_LS_LED_ON);
num               447 drivers/leds/leds-tca6507.c 		set_select(tca, led->num, bank_source[best]);
num               528 drivers/leds/leds-tca6507.c 	set_select(tca, led->num, blink_source[i]);
num               788 drivers/leds/leds-tca6507.c 		l->num = i;
num                69 drivers/leds/trigger/ledtrig-backlight.c 		struct device_attribute *attr, const char *buf, size_t num)
num                91 drivers/leds/trigger/ledtrig-backlight.c 	return num;
num               268 drivers/mailbox/bcm-flexrm-mailbox.c 	int num;
num               949 drivers/mailbox/bcm-flexrm-mailbox.c 			   ring->num, state,
num               976 drivers/mailbox/bcm-flexrm-mailbox.c 			   ring->num,
num              1091 drivers/mailbox/bcm-flexrm-mailbox.c 	struct mbox_chan *chan = &ring->mbox->controller.chans[ring->num];
num              1126 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num, (unsigned long)desc, err);
num              1137 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num, (unsigned long)desc);
num              1247 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num);
num              1272 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num);
num              1280 drivers/mailbox/bcm-flexrm-mailbox.c 			"ring%d IRQ not available\n", ring->num);
num              1290 drivers/mailbox/bcm-flexrm-mailbox.c 			"failed to request ring%d IRQ\n", ring->num);
num              1299 drivers/mailbox/bcm-flexrm-mailbox.c 	cpumask_set_cpu((ring->num / val) % num_online_cpus(),
num              1305 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num);
num              1391 drivers/mailbox/bcm-flexrm-mailbox.c 			"setting ring%d flush state timedout\n", ring->num);
num              1404 drivers/mailbox/bcm-flexrm-mailbox.c 			"clearing ring%d flush state timedout\n", ring->num);
num              1554 drivers/mailbox/bcm-flexrm-mailbox.c 		ring->num = index;
num               159 drivers/md/dm-table.c static int alloc_targets(struct dm_table *t, unsigned int num)
num               167 drivers/md/dm-table.c 	n_highs = (sector_t *) dm_vcalloc(num, sizeof(struct dm_target) +
num               172 drivers/md/dm-table.c 	n_targets = (struct dm_target *) (n_highs + num);
num               174 drivers/md/dm-table.c 	memset(n_highs, -1, sizeof(*n_highs) * num);
num               177 drivers/md/dm-table.c 	t->num_allocated = num;
num               951 drivers/md/dm-verity-target.c 	unsigned int num;
num               983 drivers/md/dm-verity-target.c 	if (sscanf(argv[0], "%u%c", &num, &dummy) != 1 ||
num               984 drivers/md/dm-verity-target.c 	    num > 1) {
num               989 drivers/md/dm-verity-target.c 	v->version = num;
num              1003 drivers/md/dm-verity-target.c 	if (sscanf(argv[3], "%u%c", &num, &dummy) != 1 ||
num              1004 drivers/md/dm-verity-target.c 	    !num || (num & (num - 1)) ||
num              1005 drivers/md/dm-verity-target.c 	    num < bdev_logical_block_size(v->data_dev->bdev) ||
num              1006 drivers/md/dm-verity-target.c 	    num > PAGE_SIZE) {
num              1011 drivers/md/dm-verity-target.c 	v->data_dev_block_bits = __ffs(num);
num              1013 drivers/md/dm-verity-target.c 	if (sscanf(argv[4], "%u%c", &num, &dummy) != 1 ||
num              1014 drivers/md/dm-verity-target.c 	    !num || (num & (num - 1)) ||
num              1015 drivers/md/dm-verity-target.c 	    num < bdev_logical_block_size(v->hash_dev->bdev) ||
num              1016 drivers/md/dm-verity-target.c 	    num > INT_MAX) {
num              1021 drivers/md/dm-verity-target.c 	v->hash_dev_block_bits = __ffs(num);
num               181 drivers/md/md.c 		int num = 0;
num               189 drivers/md/md.c 				num++;
num               190 drivers/md/md.c 		if (!num) {
num              1399 drivers/md/raid5-cache.c void r5c_flush_cache(struct r5conf *conf, int num)
num              1414 drivers/md/raid5-cache.c 	if (count >= num)
num              1419 drivers/md/raid5-cache.c 		if (++count >= num)
num                28 drivers/md/raid5-log.h extern void r5c_flush_cache(struct r5conf *conf, int num);
num               455 drivers/md/raid5.c 	int num = sh->raid_conf->pool_size;
num               457 drivers/md/raid5.c 	for (i = 0; i < num ; i++) {
num               470 drivers/md/raid5.c 	int num = sh->raid_conf->pool_size;
num               472 drivers/md/raid5.c 	for (i = 0; i < num; i++) {
num              2188 drivers/md/raid5.c static int grow_stripes(struct r5conf *conf, int num)
num              2210 drivers/md/raid5.c 	while (num--)
num              2231 drivers/md/raid5.c 			  int num, int cnt, gfp_t flags)
num              2234 drivers/md/raid5.c 		sizeof(struct page *) * (num+2) +
num              2235 drivers/md/raid5.c 		sizeof(addr_conv_t) * (num+2);
num               174 drivers/media/common/b2c2/flexcop-common.h 		flexcop_ibi_register reg, int num);
num               168 drivers/media/common/b2c2/flexcop-i2c.c 		struct i2c_msg msgs[], int num)
num               177 drivers/media/common/b2c2/flexcop-i2c.c 	if (num == 1 && msgs[0].flags == I2C_M_RD && msgs[0].len <= 1)
num               183 drivers/media/common/b2c2/flexcop-i2c.c 	for (i = 0; i < num; i++) {
num               185 drivers/media/common/b2c2/flexcop-i2c.c 		if (i+1 < num && (msgs[i+1].flags == I2C_M_RD)) {
num               203 drivers/media/common/b2c2/flexcop-i2c.c 		ret = num;
num                75 drivers/media/common/b2c2/flexcop-misc.c 		flexcop_ibi_register reg, int num)
num                79 drivers/media/common/b2c2/flexcop-misc.c 	for (i = 0; i < num; i++) {
num                28 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_msg_prepare(const struct i2c_msg *m, int num, __le32 *op)
num                35 drivers/media/common/saa7146/saa7146_i2c.c 	for(i = 0; i < num; i++) {
num                55 drivers/media/common/saa7146/saa7146_i2c.c 	for(i = 0; i < num; i++) {
num                90 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_msg_cleanup(const struct i2c_msg *m, int num, __le32 *op)
num                96 drivers/media/common/saa7146/saa7146_i2c.c 	for(i = 0; i < num; i++) {
num               291 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_transfer(struct saa7146_dev *dev, const struct i2c_msg *msgs, int num, int retries)
num               301 drivers/media/common/saa7146/saa7146_i2c.c 	for(i=0;i<num;i++) {
num               302 drivers/media/common/saa7146/saa7146_i2c.c 		DEB_I2C("msg:%d/%d\n", i+1, num);
num               306 drivers/media/common/saa7146/saa7146_i2c.c 	count = saa7146_i2c_msg_prepare(msgs, num, buffer);
num               344 drivers/media/common/saa7146/saa7146_i2c.c 			err = num;
num               351 drivers/media/common/saa7146/saa7146_i2c.c 	} while (err != num && retries--);
num               354 drivers/media/common/saa7146/saa7146_i2c.c 	if (err != num)
num               358 drivers/media/common/saa7146/saa7146_i2c.c 	if ( 0 != saa7146_i2c_msg_cleanup(msgs, num, buffer)) {
num               382 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, int num)
num               388 drivers/media/common/saa7146/saa7146_i2c.c 	return saa7146_i2c_transfer(dev, msg, num, adapter->retries);
num              1108 drivers/media/dvb-core/dmxdev.c 					     ((struct dmx_stc *)parg)->num,
num               531 drivers/media/dvb-core/dvb_ca_en50221.c 		       ca->dvbdev->adapter->num, dvb_str[8], dvb_str[9],
num               699 drivers/media/dvb-core/dvb_ca_en50221.c 				       ca->dvbdev->adapter->num, bytes_read,
num               707 drivers/media/dvb-core/dvb_ca_en50221.c 				       ca->dvbdev->adapter->num);
num               715 drivers/media/dvb-core/dvb_ca_en50221.c 				       ca->dvbdev->adapter->num);
num              1158 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1175 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1182 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1191 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1206 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1225 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1235 drivers/media/dvb-core/dvb_ca_en50221.c 				       ca->dvbdev->adapter->num);
num              1248 drivers/media/dvb-core/dvb_ca_en50221.c 			ca->dvbdev->adapter->num);
num              1382 drivers/media/dvb-core/dvb_ca_en50221.c 		slot = info->num;
num              1641 drivers/media/dvb-core/dvb_ca_en50221.c 			       ca->dvbdev->adapter->num);
num              1900 drivers/media/dvb-core/dvb_ca_en50221.c 				 ca->dvbdev->adapter->num, ca->dvbdev->id);
num               329 drivers/media/dvb-core/dvb_frontend.c 		__func__, fe->dvb->num, fe->id, fe->ops.info.name);
num               874 drivers/media/dvb-core/dvb_frontend.c 				"kdvb-ad-%i-fe-%i", fe->dvb->num, fe->id);
num               909 drivers/media/dvb-core/dvb_frontend.c 			 fe->dvb->num, fe->id);
num               965 drivers/media/dvb-core/dvb_frontend.c 			 fe->dvb->num, fe->id, c->frequency,
num               982 drivers/media/dvb-core/dvb_frontend.c 				 fe->dvb->num, fe->id, c->symbol_rate,
num              2060 drivers/media/dvb-core/dvb_frontend.c 	__u32 num;
num              2088 drivers/media/dvb-core/dvb_frontend.c 		if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS))
num              2091 drivers/media/dvb-core/dvb_frontend.c 		tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp));
num              2095 drivers/media/dvb-core/dvb_frontend.c 		for (i = 0; i < tvps->num; i++) {
num              2119 drivers/media/dvb-core/dvb_frontend.c 		if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS))
num              2122 drivers/media/dvb-core/dvb_frontend.c 		tvp = memdup_user(compat_ptr(tvps->props), tvps->num * sizeof(*tvp));
num              2139 drivers/media/dvb-core/dvb_frontend.c 		for (i = 0; i < tvps->num; i++) {
num              2149 drivers/media/dvb-core/dvb_frontend.c 				 tvps->num * sizeof(struct compat_dtv_property))) {
num              2328 drivers/media/dvb-core/dvb_frontend.c 		__func__, tvps->num);
num              2336 drivers/media/dvb-core/dvb_frontend.c 	if (!tvps->num || tvps->num > DTV_IOCTL_MAX_MSGS)
num              2339 drivers/media/dvb-core/dvb_frontend.c 	tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp));
num              2354 drivers/media/dvb-core/dvb_frontend.c 	for (i = 0; i < tvps->num; i++) {
num              2362 drivers/media/dvb-core/dvb_frontend.c 			 tvps->num * sizeof(struct dtv_property))) {
num              2406 drivers/media/dvb-core/dvb_frontend.c 			__func__, tvps->num);
num              2414 drivers/media/dvb-core/dvb_frontend.c 		if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS))
num              2417 drivers/media/dvb-core/dvb_frontend.c 		tvp = memdup_user((void __user *)tvps->props, tvps->num * sizeof(*tvp));
num              2421 drivers/media/dvb-core/dvb_frontend.c 		for (i = 0; i < tvps->num; i++) {
num              2631 drivers/media/dvb-core/dvb_frontend.c 					fe->dvb->num);
num              2906 drivers/media/dvb-core/dvb_frontend.c 	dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num,
num              2926 drivers/media/dvb-core/dvb_frontend.c 	dev_dbg(fe->dvb->device, "%s: adap=%d fe=%d\n", __func__, fe->dvb->num,
num              2995 drivers/media/dvb-core/dvb_frontend.c 		 fe->dvb->num, fe->id, fe->ops.info.name);
num              1362 drivers/media/dvb-core/dvb_net.c 			 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num);
num              1366 drivers/media/dvb-core/dvb_net.c 			 dvbnet->dvbdev->adapter->num, if_num);
num              1399 drivers/media/dvb-core/dvb_net.c static int dvb_net_remove_if(struct dvb_net *dvbnet, unsigned long num)
num              1401 drivers/media/dvb-core/dvb_net.c 	struct net_device *net = dvbnet->device[num];
num              1404 drivers/media/dvb-core/dvb_net.c 	if (!dvbnet->state[num])
num              1415 drivers/media/dvb-core/dvb_net.c 	dvbnet->state[num]=0;
num              1416 drivers/media/dvb-core/dvb_net.c 	dvbnet->device[num] = NULL;
num                84 drivers/media/dvb-core/dvbdev.c #define nums2minor(num, type, id) \
num                85 drivers/media/dvb-core/dvbdev.c        (((num) << 6) | ((id) << 4) | minor_type[type])
num               515 drivers/media/dvb-core/dvbdev.c 	minor = nums2minor(adap->num, type, id);
num               538 drivers/media/dvb-core/dvbdev.c 			       dvbdev, "dvb%d.%s%d", adap->num, dnames[type], id);
num               541 drivers/media/dvb-core/dvbdev.c 		       __func__, adap->num, dnames[type], id, PTR_ERR(clsdev));
num               545 drivers/media/dvb-core/dvbdev.c 		adap->num, dnames[type], id, minor, minor);
num               812 drivers/media/dvb-core/dvbdev.c static int dvbdev_check_free_adapter_num(int num)
num               818 drivers/media/dvb-core/dvbdev.c 		if (adap->num == num)
num               826 drivers/media/dvb-core/dvbdev.c 	int num = 0;
num               828 drivers/media/dvb-core/dvbdev.c 	while (num < DVB_MAX_ADAPTERS) {
num               829 drivers/media/dvb-core/dvbdev.c 		if (dvbdev_check_free_adapter_num(num))
num               830 drivers/media/dvb-core/dvbdev.c 			return num;
num               831 drivers/media/dvb-core/dvbdev.c 		num++;
num               842 drivers/media/dvb-core/dvbdev.c 	int i, num;
num               847 drivers/media/dvb-core/dvbdev.c 		num = adapter_nums[i];
num               848 drivers/media/dvb-core/dvbdev.c 		if (num >= 0  &&  num < DVB_MAX_ADAPTERS) {
num               850 drivers/media/dvb-core/dvbdev.c 			if (dvbdev_check_free_adapter_num(num))
num               853 drivers/media/dvb-core/dvbdev.c 			num = dvbdev_get_free_adapter_num();
num               856 drivers/media/dvb-core/dvbdev.c 		num = -1;
num               859 drivers/media/dvb-core/dvbdev.c 	if (num < 0) {
num               869 drivers/media/dvb-core/dvbdev.c 	adap->num = num;
num               885 drivers/media/dvb-core/dvbdev.c 	return num;
num              1017 drivers/media/dvb-core/dvbdev.c 	add_uevent_var(env, "DVB_ADAPTER_NUM=%d", dvbdev->adapter->num);
num              1028 drivers/media/dvb-core/dvbdev.c 		dvbdev->adapter->num, dnames[dvbdev->type], dvbdev->id);
num              1013 drivers/media/dvb-frontends/cx24123.c 	struct i2c_msg msg[], int num)
num              1018 drivers/media/dvb-frontends/cx24123.c 	return i2c_transfer(state->i2c, msg, num);
num              1436 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	int num;
num              1527 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		num =
num              1531 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		num =
num              1535 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		num = (int)(trl_ctl_val - trcg_nominal_rate);
num              1545 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	if (num >= 0)
num              1546 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		*ppm = (num + (den / 2)) / den;
num              1548 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		*ppm = (num - (den / 2)) / den;
num               549 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	int num;
num               629 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 		num =
num               633 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 		num =
num               637 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 		num = (int)(trl_ctl_val - trcg_nominal_rate);
num               647 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	if (num >= 0)
num               648 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 		*ppm = (num + (den / 2)) / den;
num               650 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 		*ppm = (num - (den / 2)) / den;
num               860 drivers/media/dvb-frontends/dib0090.c static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val)
num               865 drivers/media/dvb-frontends/dib0090.c 	for (i = 0; i < num; i++) {
num               541 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_cfg_gpio(struct dib7000p_state *st, u8 num, u8 dir, u8 val)
num               544 drivers/media/dvb-frontends/dib7000p.c 	st->gpio_dir &= ~(1 << num);	/* reset the direction bit */
num               545 drivers/media/dvb-frontends/dib7000p.c 	st->gpio_dir |= (dir & 0x1) << num;	/* set the new direction */
num               549 drivers/media/dvb-frontends/dib7000p.c 	st->gpio_val &= ~(1 << num);	/* reset the direction bit */
num               550 drivers/media/dvb-frontends/dib7000p.c 	st->gpio_val |= (val & 0x01) << num;	/* set the new value */
num               556 drivers/media/dvb-frontends/dib7000p.c static int dib7000p_set_gpio(struct dvb_frontend *demod, u8 num, u8 dir, u8 val)
num               559 drivers/media/dvb-frontends/dib7000p.c 	return dib7000p_cfg_gpio(state, num, dir, val);
num              2196 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_write_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              2212 drivers/media/dvb-frontends/dib7000p.c 	return num;
num              2215 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_read_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              2242 drivers/media/dvb-frontends/dib7000p.c 	return num;
num              2245 drivers/media/dvb-frontends/dib7000p.c static int w7090p_tuner_rw_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              2248 drivers/media/dvb-frontends/dib7000p.c 		if (num == 1) {	/* write */
num              2254 drivers/media/dvb-frontends/dib7000p.c 	return num;
num              2258 drivers/media/dvb-frontends/dib7000p.c 		struct i2c_msg msg[], int num, u16 apb_address)
num              2263 drivers/media/dvb-frontends/dib7000p.c 	if (num == 1) {		/* write */
num              2271 drivers/media/dvb-frontends/dib7000p.c 	return num;
num              2274 drivers/media/dvb-frontends/dib7000p.c static int dib7090_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              2370 drivers/media/dvb-frontends/dib7000p.c 		return num;
num              2372 drivers/media/dvb-frontends/dib7000p.c 		if (num == 1) {	/* write */
num              2377 drivers/media/dvb-frontends/dib7000p.c 			return num;
num              2382 drivers/media/dvb-frontends/dib7000p.c 		return dib7090p_rw_on_apb(i2c_adap, msg, num, apb_address);
num              2384 drivers/media/dvb-frontends/dib7000p.c 		return w7090p_tuner_rw_serpar(i2c_adap, msg, num);
num                54 drivers/media/dvb-frontends/dib7000p.h 	int (*set_gpio)(struct dvb_frontend *demod, u8 num, u8 dir, u8 val);
num               836 drivers/media/dvb-frontends/dib8000.c static int dib8000_cfg_gpio(struct dib8000_state *st, u8 num, u8 dir, u8 val)
num               839 drivers/media/dvb-frontends/dib8000.c 	st->cfg.gpio_dir &= ~(1 << num);	/* reset the direction bit */
num               840 drivers/media/dvb-frontends/dib8000.c 	st->cfg.gpio_dir |= (dir & 0x1) << num;	/* set the new direction */
num               844 drivers/media/dvb-frontends/dib8000.c 	st->cfg.gpio_val &= ~(1 << num);	/* reset the direction bit */
num               845 drivers/media/dvb-frontends/dib8000.c 	st->cfg.gpio_val |= (val & 0x01) << num;	/* set the new value */
num               853 drivers/media/dvb-frontends/dib8000.c static int dib8000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val)
num               856 drivers/media/dvb-frontends/dib8000.c 	return dib8000_cfg_gpio(state, num, dir, val);
num              1674 drivers/media/dvb-frontends/dib8000.c 		struct i2c_msg msg[], int num)
num              1690 drivers/media/dvb-frontends/dib8000.c 	return num;
num              1694 drivers/media/dvb-frontends/dib8000.c 		struct i2c_msg msg[], int num)
num              1722 drivers/media/dvb-frontends/dib8000.c 	return num;
num              1726 drivers/media/dvb-frontends/dib8000.c 		struct i2c_msg msg[], int num)
num              1729 drivers/media/dvb-frontends/dib8000.c 		if (num == 1) /* write */
num              1734 drivers/media/dvb-frontends/dib8000.c 	return num;
num              1738 drivers/media/dvb-frontends/dib8000.c 		struct i2c_msg msg[], int num, u16 apb_address)
num              1743 drivers/media/dvb-frontends/dib8000.c 	if (num == 1) {		/* write */
num              1751 drivers/media/dvb-frontends/dib8000.c 	return num;
num              1755 drivers/media/dvb-frontends/dib8000.c 		struct i2c_msg msg[], int num)
num              1852 drivers/media/dvb-frontends/dib8000.c 			return num;
num              1854 drivers/media/dvb-frontends/dib8000.c 			if (num == 1) {	/* write */
num              1863 drivers/media/dvb-frontends/dib8000.c 				return num;
num              1868 drivers/media/dvb-frontends/dib8000.c 		return dib8096p_rw_on_apb(i2c_adap, msg, num, apb_address);
num              1870 drivers/media/dvb-frontends/dib8000.c 		return dib8096p_tuner_rw_serpar(i2c_adap, msg, num);
num                47 drivers/media/dvb-frontends/dib8000.h 	int (*set_gpio)(struct dvb_frontend *fe, u8 num, u8 dir, u8 val);
num              1585 drivers/media/dvb-frontends/dib9000.c static int dib9000_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              1590 drivers/media/dvb-frontends/dib9000.c 	for (index_msg = 0; index_msg < num; index_msg++) {
num              1641 drivers/media/dvb-frontends/dib9000.c 	return num;
num              1653 drivers/media/dvb-frontends/dib9000.c static int dib9000_fw_component_bus_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num              1674 drivers/media/dvb-frontends/dib9000.c 	if ((num > 1) && (msg[1].flags & I2C_M_RD)) {
num              1701 drivers/media/dvb-frontends/dib9000.c 	if ((num > 1) && (msg[1].flags & I2C_M_RD))
num              1706 drivers/media/dvb-frontends/dib9000.c 	return num;
num              1754 drivers/media/dvb-frontends/dib9000.c static int dib9000_cfg_gpio(struct dib9000_state *st, u8 num, u8 dir, u8 val)
num              1757 drivers/media/dvb-frontends/dib9000.c 	st->gpio_dir &= ~(1 << num);	/* reset the direction bit */
num              1758 drivers/media/dvb-frontends/dib9000.c 	st->gpio_dir |= (dir & 0x1) << num;	/* set the new direction */
num              1762 drivers/media/dvb-frontends/dib9000.c 	st->gpio_val &= ~(1 << num);	/* reset the direction bit */
num              1763 drivers/media/dvb-frontends/dib9000.c 	st->gpio_val |= (val & 0x01) << num;	/* set the new value */
num              1771 drivers/media/dvb-frontends/dib9000.c int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val)
num              1774 drivers/media/dvb-frontends/dib9000.c 	return dib9000_cfg_gpio(state, num, dir, val);
num                36 drivers/media/dvb-frontends/dib9000.h extern int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val);
num                70 drivers/media/dvb-frontends/dib9000.h static inline int dib9000_set_gpio(struct dvb_frontend *fe, u8 num, u8 dir, u8 val)
num               209 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_master_xfer_gpio12(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num               216 drivers/media/dvb-frontends/dibx000_common.c 	for (msg_index = 0; msg_index < num; msg_index++) {
num               228 drivers/media/dvb-frontends/dibx000_common.c 	return num;
num               231 drivers/media/dvb-frontends/dibx000_common.c static int dibx000_i2c_master_xfer_gpio34(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num               238 drivers/media/dvb-frontends/dibx000_common.c 	for (msg_index = 0; msg_index < num; msg_index++) {
num               250 drivers/media/dvb-frontends/dibx000_common.c 	return num;
num               286 drivers/media/dvb-frontends/dibx000_common.c 					struct i2c_msg msg[], int num)
num               291 drivers/media/dvb-frontends/dibx000_common.c 	if (num > 32) {
num               293 drivers/media/dvb-frontends/dibx000_common.c 			__func__, num);
num               304 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
num               312 drivers/media/dvb-frontends/dibx000_common.c 	memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num);
num               316 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].addr = mst->i2c_addr;
num               317 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
num               318 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].len = 4;
num               320 drivers/media/dvb-frontends/dibx000_common.c 	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
num               321 drivers/media/dvb-frontends/dibx000_common.c 			num : -EIO);
num               333 drivers/media/dvb-frontends/dibx000_common.c 					struct i2c_msg msg[], int num)
num               338 drivers/media/dvb-frontends/dibx000_common.c 	if (num > 32) {
num               340 drivers/media/dvb-frontends/dibx000_common.c 			__func__, num);
num               350 drivers/media/dvb-frontends/dibx000_common.c 	memset(mst->msg, 0, sizeof(struct i2c_msg) * (2 + num));
num               358 drivers/media/dvb-frontends/dibx000_common.c 	memcpy(&mst->msg[1], msg, sizeof(struct i2c_msg) * num);
num               362 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].addr = mst->i2c_addr;
num               363 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].buf = &mst->i2c_write_buffer[4];
num               364 drivers/media/dvb-frontends/dibx000_common.c 	mst->msg[num + 1].len = 4;
num               366 drivers/media/dvb-frontends/dibx000_common.c 	ret = (i2c_transfer(mst->i2c_adap, mst->msg, 2 + num) == 2 + num ?
num               367 drivers/media/dvb-frontends/dibx000_common.c 			num : -EIO);
num               164 drivers/media/dvb-frontends/rtl2830.c 	u64 num;
num               226 drivers/media/dvb-frontends/rtl2830.c 	num = if_frequency % dev->pdata->clk;
num               227 drivers/media/dvb-frontends/rtl2830.c 	num *= 0x400000;
num               228 drivers/media/dvb-frontends/rtl2830.c 	num = div_u64(num, dev->pdata->clk);
num               229 drivers/media/dvb-frontends/rtl2830.c 	num = -num;
num               230 drivers/media/dvb-frontends/rtl2830.c 	if_ctl = num & 0x3fffff;
num               409 drivers/media/dvb-frontends/rtl2832.c 	u64 bw_mode, num, num2;
num               488 drivers/media/dvb-frontends/rtl2832.c 	num = dev->pdata->clk * 7ULL;
num               489 drivers/media/dvb-frontends/rtl2832.c 	num *= 0x400000;
num               490 drivers/media/dvb-frontends/rtl2832.c 	num = div_u64(num, bw_mode);
num               491 drivers/media/dvb-frontends/rtl2832.c 	resamp_ratio =  num & 0x3ffffff;
num               500 drivers/media/dvb-frontends/rtl2832.c 	num = bw_mode << 20;
num               502 drivers/media/dvb-frontends/rtl2832.c 	num = div_u64(num, num2);
num               503 drivers/media/dvb-frontends/rtl2832.c 	num = -num;
num               504 drivers/media/dvb-frontends/rtl2832.c 	cfreq_off_ratio = num & 0xfffff;
num               833 drivers/media/dvb-frontends/s5h1420.c static int s5h1420_tuner_i2c_tuner_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msg[], int num)
num               839 drivers/media/dvb-frontends/s5h1420.c 	if (1 + num > ARRAY_SIZE(m)) {
num               842 drivers/media/dvb-frontends/s5h1420.c 		       KBUILD_MODNAME, num);
num               846 drivers/media/dvb-frontends/s5h1420.c 	memset(m, 0, sizeof(struct i2c_msg) * (1 + num));
num               852 drivers/media/dvb-frontends/s5h1420.c 	memcpy(&m[1], msg, sizeof(struct i2c_msg) * num);
num               854 drivers/media/dvb-frontends/s5h1420.c 	return i2c_transfer(state->i2c, m, 1 + num) == 1 + num ? num : -EIO;
num               436 drivers/media/dvb-frontends/stv0299.c 			__func__, fe->dvb->num);
num                46 drivers/media/dvb-frontends/tc90522.c reg_write(struct tc90522_state *state, const struct reg_val *regs, int num)
num                55 drivers/media/dvb-frontends/tc90522.c 	for (i = 0; i < num; i++) {
num               509 drivers/media/dvb-frontends/tc90522.c 			__func__, fe->dvb->num, fe->id);
num               543 drivers/media/dvb-frontends/tc90522.c 	int num;
num               552 drivers/media/dvb-frontends/tc90522.c 		num = ARRAY_SIZE(agc_sat);
num               557 drivers/media/dvb-frontends/tc90522.c 		num = ARRAY_SIZE(agc_ter);
num               559 drivers/media/dvb-frontends/tc90522.c 	return reg_write(state, rv, num);
num               585 drivers/media/dvb-frontends/tc90522.c 			__func__, fe->dvb->num, fe->id);
num               618 drivers/media/dvb-frontends/tc90522.c 			__func__, fe->dvb->num, fe->id);
num               634 drivers/media/dvb-frontends/tc90522.c tc90522_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               643 drivers/media/dvb-frontends/tc90522.c 	if (num <= 0)
num               647 drivers/media/dvb-frontends/tc90522.c 	for (i = 0; i < num; i++)
num               650 drivers/media/dvb-frontends/tc90522.c 	new_msgs = kmalloc_array(num + rd_num, sizeof(*new_msgs), GFP_KERNEL);
num               657 drivers/media/dvb-frontends/tc90522.c 	for (i = 0, j = 0; i < num; i++, j++) {
num               688 drivers/media/dvb-frontends/tc90522.c 	if (i < num)
num               695 drivers/media/dvb-frontends/tc90522.c 	return (ret == j) ? num : ret;
num                69 drivers/media/dvb-frontends/tda10021.c 			state->frontend.dvb->num, __func__, reg, data, ret);
num               194 drivers/media/dvb-frontends/tda10021.c 	dprintk("DVB: TDA10021(%d): init chip\n", fe->adapter->num);
num               390 drivers/media/dvb-frontends/tda10021.c 			state->frontend.dvb->num, afc,
num                62 drivers/media/dvb-frontends/tda10023.c 		int num = state->frontend.dvb ? state->frontend.dvb->num : -1;
num                64 drivers/media/dvb-frontends/tda10023.c 			num, __func__, reg, ret);
num                77 drivers/media/dvb-frontends/tda10023.c 		int num = state->frontend.dvb ? state->frontend.dvb->num : -1;
num                79 drivers/media/dvb-frontends/tda10023.c 			num, __func__, reg, data, ret);
num               271 drivers/media/dvb-frontends/tda10023.c 	dprintk("DVB: TDA10023(%d): init chip\n", fe->dvb->num);
num               461 drivers/media/dvb-frontends/tda10023.c 			state->frontend.dvb->num, afc,
num               310 drivers/media/dvb-frontends/zd1301_demod.c 					struct i2c_msg msg[], int num)
num               325 drivers/media/dvb-frontends/zd1301_demod.c 	if (ZD1301_IS_I2C_XFER_WRITE_READ(msg, num)) {
num               373 drivers/media/dvb-frontends/zd1301_demod.c 	} else if (ZD1301_IS_I2C_XFER_WRITE(msg, num)) {
num               427 drivers/media/dvb-frontends/zd1301_demod.c 	return num;
num                65 drivers/media/firewire/firedtv-ci.c 	if (slot->num != 0)
num                25 drivers/media/firewire/firedtv-fe.c 	fdtv->isochannel = fdtv->adapter.num;
num                88 drivers/media/i2c/adv7183.c 		const unsigned char *regs, unsigned int num)
num                93 drivers/media/i2c/adv7183.c 	if (num & 0x1) {
num                98 drivers/media/i2c/adv7183.c 	while (cnt < num) {
num               649 drivers/media/i2c/cx25840/cx25840-ir.c 			      ssize_t *num)
num               667 drivers/media/i2c/cx25840/cx25840-ir.c 		*num = 0;
num               675 drivers/media/i2c/cx25840/cx25840-ir.c 	*num = n * sizeof(union cx25840_ir_fifo_rec);
num               842 drivers/media/i2c/cx25840/cx25840-ir.c 			       ssize_t *num)
num               887 drivers/media/i2c/cx25840/cx25840-ir.c 	*num = n * sizeof(u32);
num               891 drivers/media/i2c/cx25840/cx25840-ir.c 	*num = count;
num                43 drivers/media/i2c/m5mols/m5mols_capture.c 	u32 num, den;
num                45 drivers/media/i2c/m5mols/m5mols_capture.c 	int ret = m5mols_read_u32(sd, addr_num, &num);
num                50 drivers/media/i2c/m5mols/m5mols_capture.c 	*val = den == 0 ? 0 : num / den;
num               154 drivers/media/i2c/mt9m001.c 			   const struct mt9m001_reg *regs, int num)
num               158 drivers/media/i2c/mt9m001.c 	for (i = 0; i < num; i++) {
num               644 drivers/media/i2c/ov7251.c 				 u8 num)
num               647 drivers/media/i2c/ov7251.c 	u8 nregbuf = sizeof(reg) + num * sizeof(*val);
num               656 drivers/media/i2c/ov7251.c 	memcpy(regbuf + 2, val, num);
num               220 drivers/media/pci/bt8xx/bttv-i2c.c static int bttv_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
num               231 drivers/media/pci/bt8xx/bttv-i2c.c 	for (i = 0 ; i < num; i++) {
num               234 drivers/media/pci/bt8xx/bttv-i2c.c 			retval = bttv_i2c_readbytes(btv, &msgs[i], i+1 == num);
num               239 drivers/media/pci/bt8xx/bttv-i2c.c 			retval = bttv_i2c_sendbytes(btv, &msgs[i], i+1 == num);
num               244 drivers/media/pci/bt8xx/bttv-i2c.c 	return num;
num               273 drivers/media/pci/bt8xx/dst_ca.c 		p_ca_slot_info->num = 1;
num               277 drivers/media/pci/bt8xx/dst_ca.c 		p_ca_slot_info->num = 1;
num               231 drivers/media/pci/cobalt/cobalt-i2c.c 			struct i2c_msg msgs[], int num)
num               240 drivers/media/pci/cobalt/cobalt-i2c.c 	for (i = 0; i < num; i++) {
num               241 drivers/media/pci/cobalt/cobalt-i2c.c 		int stop = (i == num - 1);
num               399 drivers/media/pci/cx18/cx18-dvb.c 		  stream->dvb->dvb_adapter.num, stream->name,
num               301 drivers/media/pci/cx18/cx18-streams.c 	int num = cx->instance + cx18_first_minor + num_offset;
num               357 drivers/media/pci/cx18/cx18-streams.c 	s->video_dev.num = num;
num               400 drivers/media/pci/cx18/cx18-streams.c 	int num, ret;
num               413 drivers/media/pci/cx18/cx18-streams.c 	num = s->video_dev.num;
num               420 drivers/media/pci/cx18/cx18-streams.c 			num = s_mpg->video_dev.num
num               426 drivers/media/pci/cx18/cx18-streams.c 	ret = video_register_device_no_warn(&s->video_dev, vfl_type, num);
num               429 drivers/media/pci/cx18/cx18-streams.c 			s->name, num);
num               596 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_start_feed(struct dvb_demux_feed *feed, int num)
num               598 drivers/media/pci/cx23885/altera-ci.c 	altera_pid_feed_control(feed->demux, num, feed, 1);
num               603 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_stop_feed(struct dvb_demux_feed *feed, int num)
num               605 drivers/media/pci/cx23885/altera-ci.c 	altera_pid_feed_control(feed->demux, num, feed, 0);
num               210 drivers/media/pci/cx23885/cx23885-i2c.c 		    struct i2c_msg *msgs, int num)
num               214 drivers/media/pci/cx23885/cx23885-i2c.c 	dprintk(1, "%s(num = %d)\n", __func__, num);
num               216 drivers/media/pci/cx23885/cx23885-i2c.c 	for (i = 0 ; i < num; i++) {
num               218 drivers/media/pci/cx23885/cx23885-i2c.c 			__func__, num, msgs[i].addr, msgs[i].len);
num               222 drivers/media/pci/cx23885/cx23885-i2c.c 		} else if (i + 1 < num && (msgs[i + 1].flags & I2C_M_RD) &&
num               238 drivers/media/pci/cx23885/cx23885-i2c.c 	return num;
num                38 drivers/media/pci/cx23885/cx23885-input.c 	ssize_t num;
num                44 drivers/media/pci/cx23885/cx23885-input.c 		num = 0;
num                46 drivers/media/pci/cx23885/cx23885-input.c 				 sizeof(ir_core_event), &num);
num                48 drivers/media/pci/cx23885/cx23885-input.c 		count = num / sizeof(struct ir_raw_event);
num                55 drivers/media/pci/cx23885/cx23885-input.c 	} while (num != 0);
num               650 drivers/media/pci/cx23885/cx23888-ir.c 			      ssize_t *num)
num               663 drivers/media/pci/cx23885/cx23888-ir.c 		*num = 0;
num               670 drivers/media/pci/cx23885/cx23888-ir.c 	*num = n * sizeof(union cx23888_ir_fifo_rec);
num               821 drivers/media/pci/cx23885/cx23888-ir.c 			       ssize_t *num)
num               827 drivers/media/pci/cx23885/cx23888-ir.c 	*num = count;
num               224 drivers/media/pci/cx25821/cx25821-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
num               230 drivers/media/pci/cx25821/cx25821-i2c.c 	dprintk(1, "%s(num = %d)\n", __func__, num);
num               232 drivers/media/pci/cx25821/cx25821-i2c.c 	for (i = 0; i < num; i++) {
num               234 drivers/media/pci/cx25821/cx25821-i2c.c 			__func__, num, msgs[i].addr, msgs[i].len);
num               239 drivers/media/pci/cx25821/cx25821-i2c.c 		} else if (i + 1 < num && (msgs[i + 1].flags & I2C_M_RD) &&
num               257 drivers/media/pci/cx25821/cx25821-i2c.c 	return num;
num               141 drivers/media/pci/ddbridge/ddbridge-core.c 	for (i = 0; i < dma->num; i++) {
num               147 drivers/media/pci/ddbridge/ddbridge-core.c 		((dma->num & 0x1f) << 11) |
num               178 drivers/media/pci/ddbridge/ddbridge-core.c 	for (i = 0; i < ddma->num; i++) {
num               284 drivers/media/pci/ddbridge/ddbridge-core.c 	for (i = 0; i < dma->num; i++) {
num               309 drivers/media/pci/ddbridge/ddbridge-core.c 	for (i = 0; i < dma->num; i++) {
num               588 drivers/media/pci/ddbridge/ddbridge-core.c 		if ((((output->dma->cbuf + 1) % output->dma->num) == idx) &&
num               611 drivers/media/pci/ddbridge/ddbridge-core.c 		if ((((output->dma->cbuf + 1) % output->dma->num) == idx) &&
num               643 drivers/media/pci/ddbridge/ddbridge-core.c 					     output->dma->num);
num               701 drivers/media/pci/ddbridge/ddbridge-core.c 				input->dma->num;
num              2164 drivers/media/pci/ddbridge/ddbridge-core.c 		dma->cbuf = (dma->cbuf + 1) % dma2->num;
num              2264 drivers/media/pci/ddbridge/ddbridge-core.c 		dma->num = dma_buf_num;
num              2271 drivers/media/pci/ddbridge/ddbridge-core.c 		dma->num = dma_buf_num;
num              2795 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[8] - 0x30;
num              2796 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb_link *link = &dev->link[num];
num              2836 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[4] - 0x30;
num              2838 drivers/media/pci/ddbridge/ddbridge-core.c 	adap = &dev->i2c[num].adap;
num              2852 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[3] - 0x30;
num              2854 drivers/media/pci/ddbridge/ddbridge-core.c 	return sprintf(buf, "%d\n", dev->leds & (1 << num) ? 1 : 0);
num              2857 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_set_led(struct ddb *dev, int num, int val)
num              2861 drivers/media/pci/ddbridge/ddbridge-core.c 	switch (dev->port[num].class) {
num              2863 drivers/media/pci/ddbridge/ddbridge-core.c 		switch (dev->port[num].type) {
num              2865 drivers/media/pci/ddbridge/ddbridge-core.c 			i2c_write_reg16(&dev->i2c[num].adap,
num              2869 drivers/media/pci/ddbridge/ddbridge-core.c 			i2c_write_reg16(&dev->i2c[num].adap,
num              2871 drivers/media/pci/ddbridge/ddbridge-core.c 			i2c_write_reg16(&dev->i2c[num].adap,
num              2878 drivers/media/pci/ddbridge/ddbridge-core.c 			i2c_read_reg(&dev->i2c[num].adap, 0x10, 0x08, &v);
num              2880 drivers/media/pci/ddbridge/ddbridge-core.c 			i2c_write_reg(&dev->i2c[num].adap, 0x10, 0x08, v);
num              2895 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[3] - 0x30;
num              2901 drivers/media/pci/ddbridge/ddbridge-core.c 		dev->leds |= (1 << num);
num              2903 drivers/media/pci/ddbridge/ddbridge-core.c 		dev->leds &= ~(1 << num);
num              2904 drivers/media/pci/ddbridge/ddbridge-core.c 	ddb_set_led(dev, num, val);
num              2913 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[3] - 0x30;
num              2915 drivers/media/pci/ddbridge/ddbridge-core.c 	if (dev->port[num].type >= DDB_TUNER_XO2) {
num              2916 drivers/media/pci/ddbridge/ddbridge-core.c 		if (i2c_read_regs(&dev->i2c[num].adap, 0x10, 0x10, snr, 16) < 0)
num              2921 drivers/media/pci/ddbridge/ddbridge-core.c 		if (i2c_read_regs16(&dev->i2c[num].adap,
num              2923 drivers/media/pci/ddbridge/ddbridge-core.c 			if (i2c_read_regs16(&dev->i2c[num].adap,
num              2985 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[3] - 0x30;
num              2987 drivers/media/pci/ddbridge/ddbridge-core.c 	return sprintf(buf, "%d\n", dev->port[num].gap);
num              2994 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[3] - 0x30;
num              3003 drivers/media/pci/ddbridge/ddbridge-core.c 	dev->port[num].gap = val;
num              3035 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[5] - 0x30;
num              3038 drivers/media/pci/ddbridge/ddbridge-core.c 	return sprintf(buf, "%u\n", dev->link[num].lnb.fmode);
num              3044 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[5] - 0x30;
num              3047 drivers/media/pci/ddbridge/ddbridge-core.c 	return sprintf(buf, "%08x\n", dev->link[num].ids.devid);
num              3054 drivers/media/pci/ddbridge/ddbridge-core.c 	int num = attr->attr.name[5] - 0x30;
num              3061 drivers/media/pci/ddbridge/ddbridge-core.c 	ddb_lnb_init_fmode(dev, &dev->link[num], val);
num                26 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x08,
num                32 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x08,
num                38 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x08,
num                44 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x08,
num                50 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x04,
num                56 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x04,
num                62 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x04,
num                68 drivers/media/pci/ddbridge/ddbridge-hw.c 	.num  = 0x04,
num                85 drivers/media/pci/ddbridge/ddbridge-i2c.c 			       struct i2c_msg msg[], int num)
num                94 drivers/media/pci/ddbridge/ddbridge-i2c.c 	switch (num) {
num               103 drivers/media/pci/ddbridge/ddbridge-i2c.c 			return num;
num               109 drivers/media/pci/ddbridge/ddbridge-i2c.c 		return num;
num               125 drivers/media/pci/ddbridge/ddbridge-i2c.c 		return num;
num               162 drivers/media/pci/ddbridge/ddbridge-i2c.c 		       int i, int num)
num               200 drivers/media/pci/ddbridge/ddbridge-i2c.c 	u32 i, j, num = 0, l, base;
num               212 drivers/media/pci/ddbridge/ddbridge-i2c.c 		for (i = 0; i < regmap->i2c->num; i++) {
num               215 drivers/media/pci/ddbridge/ddbridge-i2c.c 			i2c = &dev->i2c[num];
num               217 drivers/media/pci/ddbridge/ddbridge-i2c.c 			stat = ddb_i2c_add(dev, i2c, regmap, l, i, num);
num               220 drivers/media/pci/ddbridge/ddbridge-i2c.c 			num++;
num               224 drivers/media/pci/ddbridge/ddbridge-i2c.c 		for (j = 0; j < num; j++) {
num               230 drivers/media/pci/ddbridge/ddbridge-i2c.c 		dev->i2c_num = num;
num                72 drivers/media/pci/ddbridge/ddbridge.h 	u32 num;
num               148 drivers/media/pci/ddbridge/ddbridge.h 	u32                    num;
num               475 drivers/media/pci/dm1105/dm1105.c 			    struct i2c_msg *msgs, int num)
num               483 drivers/media/pci/dm1105/dm1105.c 	for (i = 0; i < num; i++) {
num               554 drivers/media/pci/dm1105/dm1105.c 	return num;
num              1128 drivers/media/pci/dm1105/dm1105.c 	sprintf(dev->wqn, "%s/%d", dvb_adapter->name, dvb_adapter->num);
num               578 drivers/media/pci/ivtv/ivtv-i2c.c static int ivtv_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
num               586 drivers/media/pci/ivtv/ivtv-i2c.c 	for (i = retval = 0; retval == 0 && i < num; i++) {
num               591 drivers/media/pci/ivtv/ivtv-i2c.c 			int stop = !(i + 1 < num && msgs[i + 1].flags == I2C_M_RD);
num               597 drivers/media/pci/ivtv/ivtv-i2c.c 	return retval ? retval : num;
num               202 drivers/media/pci/ivtv/ivtv-streams.c 	int num = itv->instance + ivtv_first_minor + num_offset;
num               231 drivers/media/pci/ivtv/ivtv-streams.c 	s->vdev.num = num;
num               289 drivers/media/pci/ivtv/ivtv-streams.c 	int num;
num               294 drivers/media/pci/ivtv/ivtv-streams.c 	num = s->vdev.num;
num               300 drivers/media/pci/ivtv/ivtv-streams.c 			num = s_mpg->vdev.num + ivtv_stream_info[type].num_offset;
num               313 drivers/media/pci/ivtv/ivtv-streams.c 	if (video_register_device_no_warn(&s->vdev, vfl_type, num)) {
num               315 drivers/media/pci/ivtv/ivtv-streams.c 				s->name, num);
num               161 drivers/media/pci/mantis/hopper_cards.c 	mantis->num		= devs;
num               168 drivers/media/pci/mantis/mantis_cards.c 	mantis->num		= devs;
num                30 drivers/media/pci/mantis/mantis_common.h 			printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg);	\
num                32 drivers/media/pci/mantis/mantis_common.h 			printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg);	\
num                34 drivers/media/pci/mantis/mantis_common.h 			printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg);	\
num                36 drivers/media/pci/mantis/mantis_common.h 			printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg);	\
num                38 drivers/media/pci/mantis/mantis_common.h 			printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg);	\
num               118 drivers/media/pci/mantis/mantis_common.h 	unsigned int		num;
num                38 drivers/media/pci/mantis/mantis_evm.c 			dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): CAM Plugin", mantis->num);
num                47 drivers/media/pci/mantis/mantis_evm.c 			dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): CAM Unplug", mantis->num);
num                57 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Ext IRQ", mantis->num);
num                60 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Timeout", mantis->num);
num                63 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Alignment Error", mantis->num);
num                66 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Overflow", mantis->num);
num                69 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Read Ready", mantis->num);
num                72 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): GPIF IRQ", mantis->num);
num                75 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Empty", mantis->num);
num                78 drivers/media/pci/mantis/mantis_evm.c 		dprintk(MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer operation complete", mantis->num);
num                39 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Smart buffer operation timeout !", mantis->num);
num                57 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write ACK timed out !", mantis->num);
num                67 drivers/media/pci/mantis/mantis_hif.c 			dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write operation timed out!", mantis->num);
num                82 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_DEBUG, 1, "Adapter(%d) Slot(0): Request HIF Mem Read", mantis->num);
num                95 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): GPIF Smart Buffer operation failed", mantis->num);
num               111 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_DEBUG, 1, "Adapter(%d) Slot(0): Request HIF Mem Write", mantis->num);
num               124 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Smart Buffer operation failed", mantis->num);
num               139 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_DEBUG, 1, "Adapter(%d) Slot(0): Request HIF I/O Read", mantis->num);
num               152 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Smart Buffer operation failed", mantis->num);
num               169 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_DEBUG, 1, "Adapter(%d) Slot(0): Request HIF I/O Write", mantis->num);
num               181 drivers/media/pci/mantis/mantis_hif.c 		dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Smart Buffer operation failed", mantis->num);
num               199 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_ERROR, 1, "Adapter(%d) Initializing Mantis Host Interface", mantis->num);
num               221 drivers/media/pci/mantis/mantis_hif.c 	dprintk(MANTIS_ERROR, 1, "Adapter(%d) Exiting Mantis Host Interface", mantis->num);
num               116 drivers/media/pci/mantis/mantis_i2c.c static int mantis_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num)
num               128 drivers/media/pci/mantis/mantis_i2c.c 	dprintk(MANTIS_DEBUG, 1, "Messages:%d", num);
num               131 drivers/media/pci/mantis/mantis_i2c.c 	while (i < num) {
num               134 drivers/media/pci/mantis/mantis_i2c.c 		    ((i + 1) < num)			&&
num               176 drivers/media/pci/mantis/mantis_i2c.c 		if (i < num) {
num               191 drivers/media/pci/mantis/mantis_i2c.c 	return num;
num                37 drivers/media/pci/mantis/mantis_pcmcia.c 		dprintk(MANTIS_DEBUG, 1, "Event: CAM Plugged IN: Adapter(%d) Slot(0)", mantis->num);
num                61 drivers/media/pci/mantis/mantis_pcmcia.c 		dprintk(MANTIS_DEBUG, 1, "Event: CAM Unplugged: Adapter(%d) Slot(0)", mantis->num);
num                85 drivers/media/pci/mantis/mantis_pcmcia.c 		dprintk(MANTIS_DEBUG, 1, "CAM found on Adapter(%d) Slot(0)", mantis->num);
num                92 drivers/media/pci/mantis/mantis_pcmcia.c 		dprintk(MANTIS_DEBUG, 1, "Empty Slot on Adapter(%d) Slot(0)", mantis->num);
num                54 drivers/media/pci/netup_unidvb/netup_unidvb.h 	u8			num;
num               131 drivers/media/pci/netup_unidvb/netup_unidvb.h 			     int num, struct pci_dev *pci_dev);
num               132 drivers/media/pci/netup_unidvb/netup_unidvb.h void netup_unidvb_ci_unregister(struct netup_unidvb_dev *dev, int num);
num               185 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 			     int num, struct pci_dev *pci_dev)
num               190 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	if (num < 0 || num > 1) {
num               192 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 			__func__, num);
num               195 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	state = &dev->ci[num];
num               196 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	state->nr = num;
num               198 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 		((num == 0) ? CAM0_CONFIG : CAM1_CONFIG);
num               200 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 		((num == 0) ? CAM0_IO : CAM1_IO);
num               212 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	result = dvb_ca_en50221_init(&dev->frontends[num].adapter,
num               222 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 		"%s(): CI adapter %d init done\n", __func__, num);
num               226 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c void netup_unidvb_ci_unregister(struct netup_unidvb_dev *dev, int num)
num               231 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	if (num < 0 || num > 1) {
num               233 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 				__func__, num);
num               236 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	state = &dev->ci[num];
num               152 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		__func__, dma->num, is_dvb_tc);
num               154 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	mask = (dma->num == 0) ? GPIO_RFA_CTL : GPIO_RFB_CTL;
num               191 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	u32 irq_mask = (dma->num == 0 ?
num               195 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		"%s(): DMA%d enable %d\n", __func__, dma->num, enable);
num               378 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 				 int num)
num               390 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (num < 0 || num > 1) {
num               392 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 			"%s(): unable to init DVB bus %d\n", __func__, num);
num               395 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	mutex_init(&ndev->frontends[num].lock);
num               396 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	INIT_LIST_HEAD(&ndev->frontends[num].felist);
num               399 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		if (vb2_dvb_alloc_frontend(&ndev->frontends[num], i+1)
num               409 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		fes[i] = vb2_dvb_get_frontend(&ndev->frontends[num], i+1);
num               419 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		netup_unidvb_queue_init(&ndev->dma[num], &fes[i]->dvb.dvbq);
num               425 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		&demod_config, &ndev->i2c[num].adap);
num               434 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		horus3a_conf.set_tuner_priv = &ndev->dma[num];
num               436 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 					&horus3a_conf, &ndev->i2c[num].adap)) {
num               443 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		helene_conf.set_tuner_priv = &ndev->dma[num];
num               445 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 					&helene_conf, &ndev->i2c[num].adap)) {
num               454 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 			&lnbh25_conf, &ndev->i2c[num].adap)) {
num               462 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		&demod_config, &ndev->i2c[num].adap);
num               470 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		ascot2e_conf.set_tuner_priv = &ndev->dma[num];
num               472 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 					&ascot2e_conf, &ndev->i2c[num].adap)) {
num               479 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		helene_conf.set_tuner_priv = &ndev->dma[num];
num               481 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 					&helene_conf, &ndev->i2c[num].adap)) {
num               489 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (vb2_dvb_register_bus(&ndev->frontends[num],
num               494 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 			__func__, num);
num               497 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dev_info(&ndev->pci_dev->dev, "DVB init done, num=%d\n", num);
num               500 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	vb2_dvb_dealloc_frontends(&ndev->frontends[num]);
num               504 drivers/media/pci/netup_unidvb/netup_unidvb_core.c static void netup_unidvb_dvb_fini(struct netup_unidvb_dev *ndev, int num)
num               506 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (num < 0 || num > 1) {
num               509 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 			__func__, num);
num               512 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	vb2_dvb_unregister_bus(&ndev->frontends[num]);
num               514 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		"%s(): DVB bus %d unregistered\n", __func__, num);
num               641 drivers/media/pci/netup_unidvb/netup_unidvb_core.c static int netup_unidvb_dma_init(struct netup_unidvb_dev *ndev, int num)
num               646 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (num < 0 || num > 1) {
num               648 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 			__func__, num);
num               651 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma = &ndev->dma[num];
num               652 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dev_info(dev, "%s(): starting DMA%d\n", __func__, num);
num               653 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma->num = num;
num               660 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma->addr_virt = ndev->dma_virt + dma->ring_buffer_size * num;
num               662 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		dma->ring_buffer_size * num);
num               664 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 		__func__, num, dma->addr_virt,
num               670 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma->regs = (struct netup_dma_regs __iomem *)(num == 0 ?
num               684 drivers/media/pci/netup_unidvb/netup_unidvb_core.c static void netup_unidvb_dma_fini(struct netup_unidvb_dev *ndev, int num)
num               688 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	if (num < 0 || num > 1)
num               690 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dev_dbg(&ndev->pci_dev->dev, "%s(): num %d\n", __func__, num);
num               691 drivers/media/pci/netup_unidvb/netup_unidvb_core.c 	dma = &ndev->dma[num];
num               201 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 			  struct i2c_msg *msgs, int num)
num               204 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	int i, trans_done, res = num;
num               215 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	dev_dbg(i2c->adap.dev.parent, "%s() num %d\n", __func__, num);
num               216 drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c 	for (i = 0; i < num; i++) {
num               102 drivers/media/pci/ngene/ngene-i2c.c 				 struct i2c_msg msg[], int num)
num               111 drivers/media/pci/ngene/ngene-i2c.c 	if (num == 2 && msg[1].flags & I2C_M_RD && !(msg[0].flags & I2C_M_RD))
num               117 drivers/media/pci/ngene/ngene-i2c.c 	if (num == 1 && !(msg[0].flags & I2C_M_RD))
num               121 drivers/media/pci/ngene/ngene-i2c.c 	if (num == 1 && (msg[0].flags & I2C_M_RD))
num               131 drivers/media/pci/ngene/ngene-i2c.c 	return num;
num              1140 drivers/media/pci/pt1/pt1.c static int pt1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num              1151 drivers/media/pci/pt1/pt1.c 	for (i = 0; i < num; i++) {
num              1156 drivers/media/pci/pt1/pt1.c 		if (i + 1 < num)
num              1189 drivers/media/pci/pt1/pt1.c 	return num;
num                92 drivers/media/pci/pt3/pt3.c pt3_demod_write(struct pt3_adapter *adap, const struct reg_val *data, int num)
num               101 drivers/media/pci/pt3/pt3.c 	for (i = 0; i < num; i++) {
num               464 drivers/media/pci/pt3/pt3.c 				adap->dvb_adap.num, adap->dmxdev.dvbdev->id);
num               471 drivers/media/pci/pt3/pt3.c 			 adap->dvb_adap.num, adap->dmxdev.dvbdev->id);
num               487 drivers/media/pci/pt3/pt3.c 			 adap->dvb_adap.num, adap->fe->id);
num               172 drivers/media/pci/pt3/pt3.h 				struct i2c_msg *msgs, int num);
num               104 drivers/media/pci/pt3/pt3_i2c.c static void translate(struct pt3_i2cbuf *cbuf, struct i2c_msg *msgs, int num)
num               110 drivers/media/pci/pt3/pt3_i2c.c 	for (i = 0; i < num; i++) {
num               120 drivers/media/pci/pt3/pt3_i2c.c 	if (num > 0) {
num               192 drivers/media/pci/pt3/pt3_i2c.c pt3_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
num               202 drivers/media/pci/pt3/pt3_i2c.c 	for (i = 0; i < num; i++)
num               210 drivers/media/pci/pt3/pt3_i2c.c 	translate(cbuf, msgs, num);
num               218 drivers/media/pci/pt3/pt3_i2c.c 	for (i = 0; i < num; i++)
num               224 drivers/media/pci/pt3/pt3_i2c.c 	return num;
num               228 drivers/media/pci/saa7134/saa7134-i2c.c 			    struct i2c_msg *msgs, int num)
num               242 drivers/media/pci/saa7134/saa7134-i2c.c 	for (i = 0; i < num; i++) {
num               312 drivers/media/pci/saa7134/saa7134-i2c.c 	return num;
num              1101 drivers/media/pci/saa7164/saa7164-encoder.c 		dev->name, port->v4l_device->num);
num                16 drivers/media/pci/saa7164/saa7164-i2c.c static int i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
num                22 drivers/media/pci/saa7164/saa7164-i2c.c 	dprintk(DBGLVL_I2C, "%s(num = %d)\n", __func__, num);
num                24 drivers/media/pci/saa7164/saa7164-i2c.c 	for (i = 0 ; i < num; i++) {
num                26 drivers/media/pci/saa7164/saa7164-i2c.c 			__func__, num, msgs[i].addr, msgs[i].len);
num                32 drivers/media/pci/saa7164/saa7164-i2c.c 		} else if (i + 1 < num && (msgs[i + 1].flags & I2C_M_RD) &&
num                53 drivers/media/pci/saa7164/saa7164-i2c.c 	return num;
num               744 drivers/media/pci/saa7164/saa7164-vbi.c 		dev->name, port->v4l_device->num);
num               419 drivers/media/pci/solo6x10/solo6x10-core.c 	dev_set_name(dev, "%s-%d-%d", driver, solo_dev->vfd->num,
num               376 drivers/media/pci/solo6x10/solo6x10-g723.c 	sprintf(name, "Softlogic%d", solo_dev->vfd->num);
num               207 drivers/media/pci/solo6x10/solo6x10-i2c.c 				struct i2c_msg msgs[], int num)
num               221 drivers/media/pci/solo6x10/solo6x10-i2c.c 		return num; /* XXX Right return value for failure? */
num               226 drivers/media/pci/solo6x10/solo6x10-i2c.c 	solo_dev->i2c_msg_num = num;
num               251 drivers/media/pci/solo6x10/solo6x10-i2c.c 	ret = num - solo_dev->i2c_msg_num;
num              1312 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		 "%s-enc (%i/%i)", SOLO6X10_NAME, solo_dev->vfd->num,
num              1313 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		 solo_enc->vfd->num);
num              1378 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		 solo_dev->v4l2_enc[0]->vfd->num,
num              1379 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		 solo_dev->v4l2_enc[solo_dev->nr_chans - 1]->vfd->num);
num               700 drivers/media/pci/solo6x10/solo6x10-v4l2.c 		 SOLO6X10_NAME, solo_dev->vfd->num);
num               703 drivers/media/pci/solo6x10/solo6x10-v4l2.c 		 solo_dev->vfd->num,
num               156 drivers/media/pci/ttpci/av7110.c 			av7110->dvb_adapter.num);
num               171 drivers/media/pci/ttpci/av7110.c 			av7110->dvb_adapter.num);
num               177 drivers/media/pci/ttpci/av7110.c 			av7110->adac_type, av7110->dvb_adapter.num);
num               260 drivers/media/pci/ttpci/av7110.c 			       av7110->dvb_adapter.num);
num              1098 drivers/media/pci/ttpci/av7110.c static int dvb_get_stc(struct dmx_demux *demux, unsigned int num,
num              1115 drivers/media/pci/ttpci/av7110.c 	if (num != 0)
num               268 drivers/media/pci/ttpci/av7110_ca.c 		if (info->num < 0 || info->num > 1) {
num               272 drivers/media/pci/ttpci/av7110_ca.c 		av7110->ci_slot[info->num].num = info->num;
num               273 drivers/media/pci/ttpci/av7110_ca.c 		av7110->ci_slot[info->num].type = FW_CI_LL_SUPPORT(av7110->arm_app) ?
num               275 drivers/media/pci/ttpci/av7110_ca.c 		memcpy(info, &av7110->ci_slot[info->num], sizeof(struct ca_slot_info));
num               289 drivers/media/pci/ttpci/av7110_ca.c 		info.num = 16;
num               477 drivers/media/pci/ttpci/av7110_hw.c int av7110_fw_cmd(struct av7110 *av7110, int type, int com, int num, ...)
num               485 drivers/media/pci/ttpci/av7110_hw.c 	if (2 + num > ARRAY_SIZE(buf)) {
num               488 drivers/media/pci/ttpci/av7110_hw.c 		       KBUILD_MODNAME, __func__, num);
num               493 drivers/media/pci/ttpci/av7110_hw.c 	buf[1] = num;
num               495 drivers/media/pci/ttpci/av7110_hw.c 	if (num) {
num               496 drivers/media/pci/ttpci/av7110_hw.c 		va_start(args, num);
num               497 drivers/media/pci/ttpci/av7110_hw.c 		for (i = 0; i < num; i++)
num               502 drivers/media/pci/ttpci/av7110_hw.c 	ret = av7110_send_fw_cmd(av7110, buf, num + 2);
num               633 drivers/media/pci/ttpci/av7110_hw.c 		       av7110->dvb_adapter.num);
num               644 drivers/media/pci/ttpci/av7110_hw.c 	       av7110->dvb_adapter.num, av7110->arm_fw,
num               650 drivers/media/pci/ttpci/av7110_hw.c 		       av7110->dvb_adapter.num);
num               653 drivers/media/pci/ttpci/av7110_hw.c 		       av7110->dvb_adapter.num);
num               374 drivers/media/pci/ttpci/av7110_hw.h extern int av7110_fw_cmd(struct av7110 *av7110, int type, int com, int num, ...);
num                45 drivers/media/pci/ttpci/av7110_v4l.c 		       av7110->dvb_adapter.num, reg, val);
num                75 drivers/media/pci/ttpci/av7110_v4l.c 		       av7110->dvb_adapter.num, reg);
num               260 drivers/media/pci/ttpci/av7110_v4l.c 				dprintk(1, "saa7113 write failed @ card %d", av7110->dvb_adapter.num);
num               265 drivers/media/pci/ttpci/av7110_v4l.c 				dprintk(1, "saa7113 write failed @ card %d", av7110->dvb_adapter.num);
num               270 drivers/media/pci/ttpci/av7110_v4l.c 				dprintk(1, "saa7113 write failed @ card %d", av7110->dvb_adapter.num);
num               700 drivers/media/pci/ttpci/av7110_v4l.c 			av7110->dvb_adapter.num);
num               705 drivers/media/pci/ttpci/av7110_v4l.c 			av7110->dvb_adapter.num);
num               714 drivers/media/pci/ttpci/av7110_v4l.c 		av7110->dvb_adapter.num, version1, version2);
num               752 drivers/media/pci/ttpci/av7110_v4l.c 				dprintk(1, "saa7113 initialization failed @ card %d", av7110->dvb_adapter.num);
num              1493 drivers/media/pci/ttpci/budget-av.c 		       budget_av->budget.dvb_adapter.num);
num              1497 drivers/media/pci/ttpci/budget-av.c 			budget_av->budget.dvb_adapter.num, mac);
num               518 drivers/media/pci/tw686x/tw686x-video.c 			 vc->num);
num              1105 drivers/media/pci/tw686x/tw686x-video.c 				    "video%d: signal recovered\n", vc->num);
num              1122 drivers/media/pci/tw686x/tw686x-video.c 					    "video%d: FIFO error\n", vc->num);
num              1134 drivers/media/pci/tw686x/tw686x-video.c 				    vc->num);
num              1288 drivers/media/pci/tw686x/tw686x-video.c 		vc->num = vdev->num;
num                96 drivers/media/pci/tw686x/tw686x.h 	unsigned int num;
num               146 drivers/media/platform/coda/coda-h264.c static inline int rbsp_read_bits(struct rbsp *rbsp, int num, int *val)
num               151 drivers/media/platform/coda/coda-h264.c 	if (num > 32)
num               154 drivers/media/platform/coda/coda-h264.c 	for (i = 0; i < num; i++) {
num               158 drivers/media/platform/coda/coda-h264.c 		tmp |= ret << (num - i - 1);
num               167 drivers/media/platform/coda/coda-h264.c static int rbsp_write_bits(struct rbsp *rbsp, int num, int value)
num               171 drivers/media/platform/coda/coda-h264.c 	while (num--) {
num               172 drivers/media/platform/coda/coda-h264.c 		ret = rbsp_write_bit(rbsp, (value >> num) & 1);
num               781 drivers/media/platform/exynos-gsc/gsc-m2m.c 	pr_debug("gsc m2m driver registered as /dev/video%d", gsc->vdev.num);
num               814 drivers/media/platform/exynos4-is/fimc-is-param.h 	u32 num;
num               819 drivers/media/platform/exynos4-is/fimc-is-param.h 	s32 num;
num               142 drivers/media/platform/exynos4-is/fimc-is-regs.h int fimc_is_hw_get_params(struct fimc_is *is, unsigned int num);
num               303 drivers/media/platform/exynos4-is/fimc-is.h static inline void fimc_is_set_param_bit(struct fimc_is *is, int num)
num               307 drivers/media/platform/exynos4-is/fimc-is.h 	set_bit(num, &cfg->p_region_index[0]);
num              1037 drivers/media/platform/imx-pxp.c 	int i, num;
num              1040 drivers/media/platform/imx-pxp.c 	num = 0;
num              1045 drivers/media/platform/imx-pxp.c 			if (num == f->index)
num              1051 drivers/media/platform/imx-pxp.c 			++num;
num              1701 drivers/media/platform/imx-pxp.c 			"Device registered as /dev/video%d\n", vfd->num);
num               442 drivers/media/platform/m2m-deinterlace.c 	int i, num;
num               445 drivers/media/platform/m2m-deinterlace.c 	num = 0;
num               450 drivers/media/platform/m2m-deinterlace.c 			if (num == f->index)
num               454 drivers/media/platform/m2m-deinterlace.c 			++num;
num               964 drivers/media/platform/m2m-deinterlace.c 			" Device registered as /dev/video%d\n", vfd->num);
num               100 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 	int i, num = 0;
num               104 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 			if (num == f->index)
num               106 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 			++num;
num              1162 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c 		  jpeg->dec_vdev->num, VIDEO_MAJOR, jpeg->dec_vdev->minor);
num               320 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_dec_set_total_mcu(void __iomem *base, u32 num)
num               322 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c 	writel(num - 1, base + JPGDEC_REG_TOTAL_MCU_NUM);
num               325 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_dec_set_comp0_du(void __iomem *base, u32 num)
num               327 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c 	writel(num - 1, base + JPGDEC_REG_COMP0_DATA_UNIT_NUM);
num               136 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 	u32 i, flag, num = 0;
num               144 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 		if (index == num)
num               146 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 		num++;
num              1239 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 		  mdp->vdev->num);
num               347 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c 		vfd_dec->num);
num               366 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c 			vfd_enc->num);
num               388 drivers/media/platform/mx2_emmaprp.c 	int i, num;
num               391 drivers/media/platform/mx2_emmaprp.c 	num = 0;
num               396 drivers/media/platform/mx2_emmaprp.c 			if (num == f->index)
num               400 drivers/media/platform/mx2_emmaprp.c 			++num;
num               850 drivers/media/platform/mx2_emmaprp.c 		  " Device registered as /dev/video%d\n", vfd->num);
num                54 drivers/media/platform/qcom/venus/hfi_parser.c fill_buf_mode(struct venus_caps *cap, const void *data, unsigned int num)
num                85 drivers/media/platform/qcom/venus/hfi_parser.c 			       unsigned int num)
num                89 drivers/media/platform/qcom/venus/hfi_parser.c 	memcpy(&cap->pl[cap->num_pl], pl, num * sizeof(*pl));
num                90 drivers/media/platform/qcom/venus/hfi_parser.c 	cap->num_pl += num;
num               110 drivers/media/platform/qcom/venus/hfi_parser.c fill_caps(struct venus_caps *cap, const void *data, unsigned int num)
num               114 drivers/media/platform/qcom/venus/hfi_parser.c 	memcpy(&cap->caps[cap->num_caps], caps, num * sizeof(*caps));
num               115 drivers/media/platform/qcom/venus/hfi_parser.c 	cap->num_caps += num;
num               855 drivers/media/platform/qcom/venus/venc.c static int venc_out_num_buffers(struct venus_inst *inst, unsigned int *num)
num               866 drivers/media/platform/qcom/venus/venc.c 	*num = bufreq.count_actual;
num               878 drivers/media/platform/qcom/venus/venc.c 	unsigned int num, min = 4;
num               905 drivers/media/platform/qcom/venus/venc.c 		ret = venc_out_num_buffers(inst, &num);
num               909 drivers/media/platform/qcom/venus/venc.c 		num = max(num, min);
num               910 drivers/media/platform/qcom/venus/venc.c 		*num_buffers = max(*num_buffers, num);
num               207 drivers/media/platform/rcar_drif.c 	unsigned int num;		/* Channel number */
num               541 drivers/media/platform/rcar_drif.c 		buf[0] = ch->num ? to_rcar_drif_buf_pair(sdr, ch->num, idx) :
num               543 drivers/media/platform/rcar_drif.c 		buf[1] = ch->num ? &ch->buf[idx] :
num               544 drivers/media/platform/rcar_drif.c 				to_rcar_drif_buf_pair(sdr, ch->num, idx);
num               573 drivers/media/platform/rcar_drif.c 	rdrif_dbg(sdr, "ch%u: prod %u\n", ch->num, produced);
num               608 drivers/media/platform/rcar_drif.c 		rdrif_err(sdr, "ch%u: prep dma cyclic failed\n", ch->num);
num               617 drivers/media/platform/rcar_drif.c 		rdrif_err(sdr, "ch%u: dma submit failed\n", ch->num);
num               718 drivers/media/platform/rcar_drif.c 			  ch->num, rcar_drif_read(ch, RCAR_DRIF_SICTR));
num              1289 drivers/media/platform/rcar_drif.c 		sdr->ch[ch->num] = ch;
num              1290 drivers/media/platform/rcar_drif.c 		sdr->hw_ch_mask |= BIT(ch->num);
num              1420 drivers/media/platform/rcar_drif.c 			ch->num = 1;	/* Primary bond is channel 0 always */
num              1436 drivers/media/platform/rcar_drif.c 	sdr->ch[ch->num] = ch;
num              1437 drivers/media/platform/rcar_drif.c 	sdr->hw_ch_mask = BIT(ch->num);
num              1457 drivers/media/platform/rcar_drif.c 	if (ch->num)
num              1373 drivers/media/platform/rcar_fdp1.c 	unsigned int i, num;
num              1375 drivers/media/platform/rcar_fdp1.c 	num = 0;
num              1379 drivers/media/platform/rcar_fdp1.c 			if (num == f->index)
num              1381 drivers/media/platform/rcar_fdp1.c 			++num;
num              2354 drivers/media/platform/rcar_fdp1.c 		  vfd->num);
num               703 drivers/media/platform/rcar_jpu.c 	unsigned int i, num = 0;
num               707 drivers/media/platform/rcar_jpu.c 			if (num == f->index)
num               709 drivers/media/platform/rcar_jpu.c 			++num;
num              1695 drivers/media/platform/rcar_jpu.c 		  jpu->vfd_encoder.num);
num              1697 drivers/media/platform/rcar_jpu.c 		  jpu->vfd_decoder.num);
num               706 drivers/media/platform/s5p-g2d/g2d.c 								vfd->num);
num              1269 drivers/media/platform/s5p-jpeg/jpeg-core.c 	int i, num = 0;
num              1276 drivers/media/platform/s5p-jpeg/jpeg-core.c 			if (num == f->index)
num              1281 drivers/media/platform/s5p-jpeg/jpeg-core.c 			++num;
num              2960 drivers/media/platform/s5p-jpeg/jpeg-core.c 		  jpeg->vfd_encoder->num);
num              2990 drivers/media/platform/s5p-jpeg/jpeg-core.c 		  jpeg->vfd_decoder->num);
num                54 drivers/media/platform/s5p-mfc/s5p_mfc.c 	__clear_bit(ctx->num, &dev->ctx_work_bits);
num                64 drivers/media/platform/s5p-mfc/s5p_mfc.c 	__set_bit(ctx->num, &dev->ctx_work_bits);
num                75 drivers/media/platform/s5p-mfc/s5p_mfc.c 	__clear_bit(ctx->num, &dev->ctx_work_bits);
num                86 drivers/media/platform/s5p-mfc/s5p_mfc.c 	__set_bit(ctx->num, &dev->ctx_work_bits);
num               779 drivers/media/platform/s5p-mfc/s5p_mfc.c 	ctx->num = 0;
num               780 drivers/media/platform/s5p-mfc/s5p_mfc.c 	while (dev->ctx[ctx->num]) {
num               781 drivers/media/platform/s5p-mfc/s5p_mfc.c 		ctx->num++;
num               782 drivers/media/platform/s5p-mfc/s5p_mfc.c 		if (ctx->num >= MFC_NUM_CONTEXTS) {
num               790 drivers/media/platform/s5p-mfc/s5p_mfc.c 	dev->ctx[ctx->num] = ctx;
num               922 drivers/media/platform/s5p-mfc/s5p_mfc.c 	dev->ctx[ctx->num] = NULL;
num               960 drivers/media/platform/s5p-mfc/s5p_mfc.c 		if (dev->curr_ctx == ctx->num)
num               976 drivers/media/platform/s5p-mfc/s5p_mfc.c 		dev->ctx[ctx->num] = NULL;
num              1385 drivers/media/platform/s5p-mfc/s5p_mfc.c 		  "decoder registered as /dev/video%d\n", dev->vfd_dec->num);
num              1393 drivers/media/platform/s5p-mfc/s5p_mfc.c 		  "encoder registered as /dev/video%d\n", dev->vfd_enc->num);
num                79 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c 	dev->curr_ctx = ctx->num;
num               137 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c 	dev->curr_ctx = ctx->num;
num                74 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c 	dev->curr_ctx = ctx->num;
num               143 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c 	dev->curr_ctx = ctx->num;
num               619 drivers/media/platform/s5p-mfc/s5p_mfc_common.h 	int num;
num              1020 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c 		dev->curr_ctx == ctx->num && dev->hw_lock) {
num              2498 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 			(dev->curr_ctx == ctx->num) && dev->hw_lock) {
num              2527 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 		dev->curr_ctx == ctx->num && dev->hw_lock) {
num              1156 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1168 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 		dev->curr_ctx = ctx->num;
num              1184 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1241 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1262 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1278 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1306 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c 	dev->curr_ctx = ctx->num;
num              1664 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 		dev->curr_ctx = ctx->num;
num              1787 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1800 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 		dev->curr_ctx = ctx->num;
num              1819 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1881 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1899 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1914 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1933 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1947 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c 	dev->curr_ctx = ctx->num;
num              1388 drivers/media/platform/sti/bdisp/bdisp-v4l2.c 		 bdisp->id, bdisp->vdev.num);
num              1894 drivers/media/platform/sti/delta/delta-v4l2.c 		 DELTA_PREFIX, delta->vdev->name, delta->vdev->num);
num               279 drivers/media/platform/sti/hva/hva-debugfs.c 	seq_printf(s, "registered as /dev/video%d\n", hva->vdev->num);
num              1408 drivers/media/platform/sti/hva/hva-v4l2.c 		 HVA_NAME, hva->vdev->num);
num               224 drivers/media/platform/ti-vpe/vpdma.c 	int num;		/* VPDMA channel number */
num               230 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_LUMA1_IN,
num               234 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_CHROMA1_IN,
num               238 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_LUMA2_IN,
num               242 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_CHROMA2_IN,
num               246 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_LUMA3_IN,
num               250 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_CHROMA3_IN,
num               254 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_MV_IN,
num               258 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_MV_OUT,
num               262 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_LUMA_OUT,
num               266 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_CHROMA_OUT,
num               270 drivers/media/platform/ti-vpe/vpdma.c 		.num		= VPE_CHAN_NUM_RGB_OUT,
num               709 drivers/media/platform/ti-vpe/vpdma.c 	ctd->type_source_ctl = ctd_type_source_ctl(chan_info[chan].num,
num               808 drivers/media/platform/ti-vpe/vpdma.c 				  max_w, max_h, chan_info[chan].num, flags);
num               893 drivers/media/platform/ti-vpe/vpdma.c 	channel = next_chan = chan_info[chan].num;
num              2478 drivers/media/platform/ti-vpe/vpe.c 		vfd->num);
num              2130 drivers/media/platform/vicodec/vicodec-core.c 		  name, vfd->num);
num               671 drivers/media/platform/vim2m.c 	int i, num;
num               674 drivers/media/platform/vim2m.c 	num = 0;
num               679 drivers/media/platform/vim2m.c 			if (num == f->index)
num               685 drivers/media/platform/vim2m.c 			++num;
num              1344 drivers/media/platform/vim2m.c 		  "Device registered as /dev/video%d\n", vfd->num);
num              1628 drivers/media/platform/vivid/vivid-vid-cap.c 			       u32 *num, u32 *denom)
num              1631 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 4;
num              1634 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 16;
num              1637 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 16;
num              1640 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 5;
num              1643 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 15;
num              1646 drivers/media/platform/vivid/vivid-vid-cap.c 		*num = 16;
num               136 drivers/media/radio/saa7706h.c 	struct i2c_msg *msgs, int num)
num               138 drivers/media/radio/saa7706h.c 	int err = i2c_transfer(client->adapter, msgs, num);
num               139 drivers/media/radio/saa7706h.c 	if (err == num)
num               364 drivers/media/radio/si4713/radio-usb-si4713.c 				struct i2c_msg *msgs, int num)
num               370 drivers/media/radio/si4713/radio-usb-si4713.c 	for (i = 0; i < num; i++) {
num               379 drivers/media/radio/si4713/radio-usb-si4713.c 	return retval ? retval : num;
num              1403 drivers/media/tuners/mt2063.c static u32 MT2063_fLO_FractionalTerm(u32 f_ref, u32 num, u32 denom)
num              1405 drivers/media/tuners/mt2063.c 	u32 t1 = (f_ref >> 14) * num;
num              1409 drivers/media/tuners/mt2063.c 	    (((f_ref & 0x00003FFF) * num + (loss << 14)) + (denom / 2)) / denom;
num               225 drivers/media/tuners/mxl301rf.c 		__func__, fe->dvb->num, fe->id);
num               243 drivers/media/tuners/mxl301rf.c 			__func__, fe->dvb->num, fe->id);
num               262 drivers/media/tuners/mxl301rf.c 			 __func__, fe->dvb->num, fe->id);
num               123 drivers/media/tuners/qm1d1c0042.c 			__func__, state->cfg.fe->dvb->num, state->cfg.fe->id);
num               313 drivers/media/tuners/qm1d1c0042.c 			__func__, fe->dvb->num, fe->id);
num               381 drivers/media/tuners/qm1d1c0042.c 		__func__, fe->dvb->num, fe->id);
num               283 drivers/media/usb/au0828/au0828-i2c.c 		    struct i2c_msg *msgs, int num)
num               287 drivers/media/usb/au0828/au0828-i2c.c 	dprintk(4, "%s(num = %d)\n", __func__, num);
num               289 drivers/media/usb/au0828/au0828-i2c.c 	for (i = 0; i < num; i++) {
num               291 drivers/media/usb/au0828/au0828-i2c.c 			__func__, num, msgs[i].addr, msgs[i].len);
num               295 drivers/media/usb/au0828/au0828-i2c.c 		} else if (i + 1 < num && (msgs[i + 1].flags & I2C_M_RD) &&
num               311 drivers/media/usb/au0828/au0828-i2c.c 	return num;
num               346 drivers/media/usb/cpia2/cpia2.h 	int num;
num              2267 drivers/media/usb/cpia2/cpia2_core.c 		cam->buffers[i].num = i;
num              2274 drivers/media/usb/cpia2/cpia2_core.c 	cam->buffers[i].num = i;
num                85 drivers/media/usb/cpia2/cpia2_usb.c 	    cam->workbuff->num, cam->curbuff->num);
num               141 drivers/media/usb/cpia2/cpia2_usb.c 		    cam->workbuff->num, cam->curbuff->num);
num               901 drivers/media/usb/cpia2/cpia2_v4l.c 		frame = cb->num;
num              2029 drivers/media/usb/cx231xx/cx231xx-417.c 	       dev->name, dev->v4l_device.num);
num               361 drivers/media/usb/cx231xx/cx231xx-i2c.c 			    struct i2c_msg msgs[], int num)
num               368 drivers/media/usb/cx231xx/cx231xx-i2c.c 	for (i = 0; i < num; i++) {
num               374 drivers/media/usb/cx231xx/cx231xx-i2c.c 			 i == num - 1 ? "stop" : "nonstop", addr, msgs[i].len);
num               391 drivers/media/usb/cx231xx/cx231xx-i2c.c 		} else if (i + 1 < num && (msgs[i + 1].flags & I2C_M_RD) &&
num               403 drivers/media/usb/cx231xx/cx231xx-i2c.c 				i+1 == num - 1 ? "stop" : "nonstop", addr, msgs[i+1].len);
num               426 drivers/media/usb/cx231xx/cx231xx-i2c.c 	return num;
num               139 drivers/media/usb/dvb-usb-v2/af9015.c 			   int num)
num               191 drivers/media/usb/dvb-usb-v2/af9015.c 	if (num == 1 && !(msg[0].flags & I2C_M_RD)) {
num               208 drivers/media/usb/dvb-usb-v2/af9015.c 	} else if (num == 2 && !(msg[0].flags & I2C_M_RD) &&
num               226 drivers/media/usb/dvb-usb-v2/af9015.c 	} else if (num == 1 && (msg[0].flags & I2C_M_RD)) {
num               246 drivers/media/usb/dvb-usb-v2/af9015.c 		dev_dbg(&intf->dev, "unknown msg, num %u\n", num);
num               251 drivers/media/usb/dvb-usb-v2/af9015.c 	return num;
num               183 drivers/media/usb/dvb-usb-v2/af9035.c 	int ret, num;
num               195 drivers/media/usb/dvb-usb-v2/af9035.c 	for (num = 0; num < AF9035_I2C_CLIENT_MAX; num++) {
num               196 drivers/media/usb/dvb-usb-v2/af9035.c 		if (state->i2c_client[num] == NULL)
num               200 drivers/media/usb/dvb-usb-v2/af9035.c 	dev_dbg(&intf->dev, "num=%d\n", num);
num               202 drivers/media/usb/dvb-usb-v2/af9035.c 	if (num == AF9035_I2C_CLIENT_MAX) {
num               224 drivers/media/usb/dvb-usb-v2/af9035.c 	state->i2c_client[num] = client;
num               233 drivers/media/usb/dvb-usb-v2/af9035.c 	int num;
num               239 drivers/media/usb/dvb-usb-v2/af9035.c 	num = AF9035_I2C_CLIENT_MAX;
num               240 drivers/media/usb/dvb-usb-v2/af9035.c 	while (num--) {
num               241 drivers/media/usb/dvb-usb-v2/af9035.c 		if (state->i2c_client[num] != NULL)
num               245 drivers/media/usb/dvb-usb-v2/af9035.c 	dev_dbg(&intf->dev, "num=%d\n", num);
num               247 drivers/media/usb/dvb-usb-v2/af9035.c 	if (num == -1) {
num               252 drivers/media/usb/dvb-usb-v2/af9035.c 	client = state->i2c_client[num];
num               260 drivers/media/usb/dvb-usb-v2/af9035.c 	state->i2c_client[num] = NULL;
num               267 drivers/media/usb/dvb-usb-v2/af9035.c 		struct i2c_msg msg[], int num)
num               318 drivers/media/usb/dvb-usb-v2/af9035.c 	if (AF9035_IS_I2C_XFER_WRITE_READ(msg, num)) {
num               377 drivers/media/usb/dvb-usb-v2/af9035.c 	} else if (AF9035_IS_I2C_XFER_WRITE(msg, num)) {
num               420 drivers/media/usb/dvb-usb-v2/af9035.c 	} else if (AF9035_IS_I2C_XFER_READ(msg, num)) {
num               465 drivers/media/usb/dvb-usb-v2/af9035.c 		return num;
num               194 drivers/media/usb/dvb-usb-v2/anysee.c 	int num)
num               203 drivers/media/usb/dvb-usb-v2/anysee.c 	while (i < num) {
num               204 drivers/media/usb/dvb-usb-v2/anysee.c 		if (num > i + 1 && (msg[i+1].flags & I2C_M_RD)) {
num               623 drivers/media/usb/dvb-usb-v2/anysee.c 	int ret, num;
num               635 drivers/media/usb/dvb-usb-v2/anysee.c 	for (num = 0; num < ANYSEE_I2C_CLIENT_MAX; num++) {
num               636 drivers/media/usb/dvb-usb-v2/anysee.c 		if (state->i2c_client[num] == NULL)
num               640 drivers/media/usb/dvb-usb-v2/anysee.c 	dev_dbg(&d->udev->dev, "%s: num=%d\n", __func__, num);
num               642 drivers/media/usb/dvb-usb-v2/anysee.c 	if (num == ANYSEE_I2C_CLIENT_MAX) {
num               665 drivers/media/usb/dvb-usb-v2/anysee.c 	state->i2c_client[num] = client;
num               674 drivers/media/usb/dvb-usb-v2/anysee.c 	int num;
num               679 drivers/media/usb/dvb-usb-v2/anysee.c 	num = ANYSEE_I2C_CLIENT_MAX;
num               680 drivers/media/usb/dvb-usb-v2/anysee.c 	while (num--) {
num               681 drivers/media/usb/dvb-usb-v2/anysee.c 		if (state->i2c_client[num] != NULL)
num               685 drivers/media/usb/dvb-usb-v2/anysee.c 	dev_dbg(&d->udev->dev, "%s: num=%d\n", __func__, num);
num               687 drivers/media/usb/dvb-usb-v2/anysee.c 	if (num == -1) {
num               693 drivers/media/usb/dvb-usb-v2/anysee.c 	client = state->i2c_client[num];
num               701 drivers/media/usb/dvb-usb-v2/anysee.c 	state->i2c_client[num] = NULL;
num                84 drivers/media/usb/dvb-usb-v2/au6610.c 			   int num)
num                89 drivers/media/usb/dvb-usb-v2/au6610.c 	if (num > 2)
num                95 drivers/media/usb/dvb-usb-v2/au6610.c 	for (i = 0; i < num; i++) {
num                97 drivers/media/usb/dvb-usb-v2/au6610.c 		if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
num               743 drivers/media/usb/dvb-usb-v2/az6007.c 			   int num)
num               757 drivers/media/usb/dvb-usb-v2/az6007.c 	for (i = 0; i < num; i++) {
num               759 drivers/media/usb/dvb-usb-v2/az6007.c 		if (((i + 1) < num)
num               824 drivers/media/usb/dvb-usb-v2/az6007.c 	return num;
num                86 drivers/media/usb/dvb-usb-v2/ce6230.c 		struct i2c_msg msg[], int num)
num                92 drivers/media/usb/dvb-usb-v2/ce6230.c 	if (num > 2)
num               100 drivers/media/usb/dvb-usb-v2/ce6230.c 	while (i < num) {
num               101 drivers/media/usb/dvb-usb-v2/ce6230.c 		if (num > i + 1 && (msg[i+1].flags & I2C_M_RD)) {
num                99 drivers/media/usb/dvb-usb-v2/dvbsky.c 	int num)
num               108 drivers/media/usb/dvb-usb-v2/dvbsky.c 	if (num > 2) {
num               110 drivers/media/usb/dvb-usb-v2/dvbsky.c 		"too many i2c messages[%d], max 2.", num);
num               115 drivers/media/usb/dvb-usb-v2/dvbsky.c 	if (num == 1) {
num               163 drivers/media/usb/dvb-usb-v2/dvbsky.c 	return (ret) ? ret : num;
num               102 drivers/media/usb/dvb-usb-v2/ec168.c 	int num)
num               109 drivers/media/usb/dvb-usb-v2/ec168.c 	if (num > 2)
num               115 drivers/media/usb/dvb-usb-v2/ec168.c 	while (i < num) {
num               116 drivers/media/usb/dvb-usb-v2/ec168.c 		if (num > i + 1 && (msg[i+1].flags & I2C_M_RD)) {
num                68 drivers/media/usb/dvb-usb-v2/gl861.c 			  int num)
num                73 drivers/media/usb/dvb-usb-v2/gl861.c 	if (num > 2)
num                79 drivers/media/usb/dvb-usb-v2/gl861.c 	for (i = 0; i < num; i++) {
num                81 drivers/media/usb/dvb-usb-v2/gl861.c 		if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
num               280 drivers/media/usb/dvb-usb-v2/gl861.c 				int num)
num               285 drivers/media/usb/dvb-usb-v2/gl861.c 	if (num > 2)
num               291 drivers/media/usb/dvb-usb-v2/gl861.c 	for (i = 0; i < num; i++) {
num               482 drivers/media/usb/dvb-usb-v2/lmedm04.c 				 int num)
num               496 drivers/media/usb/dvb-usb-v2/lmedm04.c 	for (i = 0; i < num; i++) {
num               498 drivers/media/usb/dvb-usb-v2/lmedm04.c 		read = i + 1 < num && msg[i + 1].flags & I2C_M_RD;
num               800 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 		      struct i2c_msg msg[], int num)
num               810 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 	for (i = 0; i < num; i++) {
num               816 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 				      ret, i+1, num,
num               827 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c 	return i == num ? num : -EREMOTEIO;
num                14 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.h 		      struct i2c_msg msg[], int num);
num               131 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	int num)
num               163 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	if (num == 2 && !(msg[0].flags & I2C_M_RD) &&
num               205 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	} else if (num == 1 && !(msg[0].flags & I2C_M_RD)) {
num               239 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	} else if (num == 1 && (msg[0].flags & I2C_M_RD)) {
num               256 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 	return ret ? ret : num;
num               221 drivers/media/usb/dvb-usb-v2/usb_urb.c static int usb_alloc_stream_buffers(struct usb_data_stream *stream, int num,
num               229 drivers/media/usb/dvb-usb-v2/usb_urb.c 			__func__,  num * size);
num               231 drivers/media/usb/dvb-usb-v2/usb_urb.c 	for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) {
num               401 drivers/media/usb/dvb-usb/af9005.c 			   int num)
num               413 drivers/media/usb/dvb-usb/af9005.c 	if (num > 2)
num               416 drivers/media/usb/dvb-usb/af9005.c 	if (num == 2) {
num               950 drivers/media/usb/dvb-usb/az6027.c static int az6027_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num)
num               969 drivers/media/usb/dvb-usb/az6027.c 	if (num > 2)
num               972 drivers/media/usb/dvb-usb/az6027.c 	for (i = 0; i < num; i++) {
num               984 drivers/media/usb/dvb-usb/az6027.c 			if (i + 1 < num && (msg[i + 1].flags & I2C_M_RD)) {
num               183 drivers/media/usb/dvb-usb/cxusb.c 			  int num)
num               192 drivers/media/usb/dvb-usb/cxusb.c 	for (i = 0; i < num; i++) {
num               223 drivers/media/usb/dvb-usb/cxusb.c 		} else if (i + 1 < num && (msg[i + 1].flags & I2C_M_RD) &&
num               278 drivers/media/usb/dvb-usb/cxusb.c 	if (i == num)
num               279 drivers/media/usb/dvb-usb/cxusb.c 		ret = num;
num               159 drivers/media/usb/dvb-usb/dib0700_core.c 				int num)
num               177 drivers/media/usb/dvb-usb/dib0700_core.c 	for (i = 0; i < num; i++) {
num               189 drivers/media/usb/dvb-usb/dib0700_core.c 		if (i == (num - 1)) {
num               283 drivers/media/usb/dvb-usb/dib0700_core.c 				   struct i2c_msg *msg, int num)
num               297 drivers/media/usb/dvb-usb/dib0700_core.c 	for (i = 0; i < num; i++) {
num               310 drivers/media/usb/dvb-usb/dib0700_core.c 		if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
num               351 drivers/media/usb/dvb-usb/dib0700_core.c 			    int num)
num               358 drivers/media/usb/dvb-usb/dib0700_core.c 		return dib0700_i2c_xfer_new(adap, msg, num);
num               361 drivers/media/usb/dvb-usb/dib0700_core.c 		return dib0700_i2c_xfer_legacy(adap, msg, num);
num               178 drivers/media/usb/dvb-usb/dibusb-common.c static int dibusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
num               186 drivers/media/usb/dvb-usb/dibusb-common.c 	for (i = 0; i < num; i++) {
num               188 drivers/media/usb/dvb-usb/dibusb-common.c 		if (i+1 < num && (msg[i].flags & I2C_M_RD) == 0
num                54 drivers/media/usb/dvb-usb/digitv.c static int digitv_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
num                62 drivers/media/usb/dvb-usb/digitv.c 	if (num > 2)
num                65 drivers/media/usb/dvb-usb/digitv.c 	for (i = 0; i < num; i++) {
num                67 drivers/media/usb/dvb-usb/digitv.c 		if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
num                64 drivers/media/usb/dvb-usb/dtv5100.c 			    int num)
num                69 drivers/media/usb/dvb-usb/dtv5100.c 	if (num > 2)
num                75 drivers/media/usb/dvb-usb/dtv5100.c 	for (i = 0; i < num; i++) {
num                77 drivers/media/usb/dvb-usb/dtv5100.c 		if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) {
num               117 drivers/media/usb/dvb-usb/dw2102.c 		int num)
num               129 drivers/media/usb/dvb-usb/dw2102.c 	switch (num) {
num               186 drivers/media/usb/dvb-usb/dw2102.c 	return num;
num               190 drivers/media/usb/dvb-usb/dw2102.c 						struct i2c_msg msg[], int num)
num               200 drivers/media/usb/dvb-usb/dw2102.c 	switch (num) {
num               205 drivers/media/usb/dvb-usb/dw2102.c 			num = -EOPNOTSUPP;
num               212 drivers/media/usb/dvb-usb/dw2102.c 			num = -EOPNOTSUPP;
num               234 drivers/media/usb/dvb-usb/dw2102.c 				num = -EOPNOTSUPP;
num               262 drivers/media/usb/dvb-usb/dw2102.c 	return num;
num               265 drivers/media/usb/dvb-usb/dw2102.c static int dw2102_earda_i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num)
num               275 drivers/media/usb/dvb-usb/dw2102.c 	switch (num) {
num               364 drivers/media/usb/dvb-usb/dw2102.c 	ret = num;
num               371 drivers/media/usb/dvb-usb/dw2102.c static int dw2104_i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num)
num               381 drivers/media/usb/dvb-usb/dw2102.c 	for (j = 0; j < num; j++) {
num               463 drivers/media/usb/dvb-usb/dw2102.c 	ret = num;
num               471 drivers/media/usb/dvb-usb/dw2102.c 								int num)
num               482 drivers/media/usb/dvb-usb/dw2102.c 	switch (num) {
num               544 drivers/media/usb/dvb-usb/dw2102.c 	for (i = 0; i < num; i++) {
num               549 drivers/media/usb/dvb-usb/dw2102.c 	ret = num;
num               557 drivers/media/usb/dvb-usb/dw2102.c 								int num)
num               569 drivers/media/usb/dvb-usb/dw2102.c 	for (j = 0; j < num; j++) {
num               641 drivers/media/usb/dvb-usb/dw2102.c 			} else if (j < (num - 1)) {
num               683 drivers/media/usb/dvb-usb/dw2102.c 	ret = num;
num               691 drivers/media/usb/dvb-usb/dw2102.c 								int num)
num               708 drivers/media/usb/dvb-usb/dw2102.c 	switch (num) {
num               731 drivers/media/usb/dvb-usb/dw2102.c 				num = -EOPNOTSUPP;
num               753 drivers/media/usb/dvb-usb/dw2102.c 			num = -EOPNOTSUPP;
num               759 drivers/media/usb/dvb-usb/dw2102.c 			num = -EOPNOTSUPP;
num               781 drivers/media/usb/dvb-usb/dw2102.c 	return num;
num               249 drivers/media/usb/dvb-usb/m920x.c static int m920x_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num)
num               258 drivers/media/usb/dvb-usb/m920x.c 	for (i = 0; i < num; i++) {
num               280 drivers/media/usb/dvb-usb/m920x.c 				int stop = (i+1 == num && j+1 == msg[i].len) ? 0x40 : 0x01;
num               290 drivers/media/usb/dvb-usb/m920x.c 				int stop = (i+1 == num && j+1 == msg[i].len) ? 0x40 : 0x00;
num               298 drivers/media/usb/dvb-usb/m920x.c 	ret = num;
num               132 drivers/media/usb/dvb-usb/opera1.c 			   int num)
num               142 drivers/media/usb/dvb-usb/opera1.c 	for (i = 0; i < num; i++) {
num               154 drivers/media/usb/dvb-usb/opera1.c 	return num;
num               466 drivers/media/usb/dvb-usb/pctv452e.c 				int num)
num               474 drivers/media/usb/dvb-usb/pctv452e.c 	for (i = 0; i < num; i++) {
num               162 drivers/media/usb/dvb-usb/technisat-usb2.c 				int num)
num               172 drivers/media/usb/dvb-usb/technisat-usb2.c 	for (i = 0; i < num; i++) {
num               173 drivers/media/usb/dvb-usb/technisat-usb2.c 		if (i+1 < num && msg[i+1].flags & I2C_M_RD) {
num               368 drivers/media/usb/dvb-usb/ttusb2.c static int ttusb2_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
num               377 drivers/media/usb/dvb-usb/ttusb2.c 	if (num > 2)
num               380 drivers/media/usb/dvb-usb/ttusb2.c 	for (i = 0; i < num; i++) {
num               381 drivers/media/usb/dvb-usb/ttusb2.c 		write_read = i+1 < num && (msg[i+1].flags & I2C_M_RD);
num               111 drivers/media/usb/dvb-usb/usb-urb.c static int usb_allocate_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size)
num               116 drivers/media/usb/dvb-usb/usb-urb.c 	deb_mem("all in all I will use %lu bytes for streaming\n",num*size);
num               118 drivers/media/usb/dvb-usb/usb-urb.c 	for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) {
num               531 drivers/media/usb/em28xx/em28xx-i2c.c 			   struct i2c_msg msgs[], int num)
num               562 drivers/media/usb/em28xx/em28xx-i2c.c 	for (i = 0; i < num; i++) {
num               578 drivers/media/usb/em28xx/em28xx-i2c.c 			rc = i2c_send_bytes(i2c_bus, msgs[i], i == num - 1);
num               586 drivers/media/usb/em28xx/em28xx-i2c.c 			i == num - 1 ? "stop" : "nonstop",
num               592 drivers/media/usb/em28xx/em28xx-i2c.c 	return num;
num               597 drivers/media/usb/em28xx/em28xx-i2c.c 		i == num - 1 ? "stop" : "nonstop",
num               146 drivers/media/usb/go7007/go7007-i2c.c 					struct i2c_msg msgs[], int num)
num               151 drivers/media/usb/go7007/go7007-i2c.c 	for (i = 0; i < num; ++i) {
num               155 drivers/media/usb/go7007/go7007-i2c.c 			if (i + 1 == num || msgs[i].addr != msgs[i + 1].addr ||
num               178 drivers/media/usb/go7007/go7007-i2c.c 	return num;
num               950 drivers/media/usb/go7007/go7007-usb.c 					struct i2c_msg msgs[], int num)
num               963 drivers/media/usb/go7007/go7007-usb.c 	for (i = 0; i < num; ++i) {
num               967 drivers/media/usb/go7007/go7007-usb.c 		if (i + 1 < num && msgs[i].addr == msgs[i + 1].addr &&
num              1013 drivers/media/usb/go7007/go7007-usb.c 	ret = num;
num               111 drivers/media/usb/hdpvr/hdpvr-i2c.c 			  int num)
num               120 drivers/media/usb/hdpvr/hdpvr-i2c.c 	if (num == 1) {
num               127 drivers/media/usb/hdpvr/hdpvr-i2c.c 	} else if (num == 2) {
num               149 drivers/media/usb/hdpvr/hdpvr-i2c.c 		v4l2_warn(&dev->v4l2_dev, "refusing %d-phase i2c xfer\n", num);
num               155 drivers/media/usb/hdpvr/hdpvr-i2c.c 	return retval ? retval : num;
num               364 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			 int num)
num               370 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 	if (!num) {
num               382 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 	if (num == 1) {
num               424 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 	} else if (num == 2) {
num               463 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 		trace_i2c("i2c refusing %d phase transfer",num);
num               469 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 		for (idx = 0; idx < num; idx++) {
num               472 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			       idx+1,num,
num               487 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 			if (idx+1 == num) {
num               492 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 		if (!num) {
num               152 drivers/media/usb/stk1160/stk1160-i2c.c 			   struct i2c_msg msgs[], int num)
num               157 drivers/media/usb/stk1160/stk1160-i2c.c 	for (i = 0; i < num; i++) {
num               175 drivers/media/usb/stk1160/stk1160-i2c.c 		} else if (i + 1 < num && msgs[i].len <= 2 &&
num               214 drivers/media/usb/stk1160/stk1160-i2c.c 	return num;
num               217 drivers/media/usb/stk1160/stk1160-i2c.c 	return num;
num               143 drivers/media/usb/tm6000/tm6000-i2c.c 			   struct i2c_msg msgs[], int num)
num               148 drivers/media/usb/tm6000/tm6000-i2c.c 	for (i = 0; i < num; i++) {
num               152 drivers/media/usb/tm6000/tm6000-i2c.c 			 i == num - 1 ? "stop" : "nonstop", addr, msgs[i].len);
num               163 drivers/media/usb/tm6000/tm6000-i2c.c 		} else if (i + 1 < num && msgs[i].len <= 2 &&
num               171 drivers/media/usb/tm6000/tm6000-i2c.c 				    i == num - 2 ? "stop" : "nonstop",
num               206 drivers/media/usb/tm6000/tm6000-i2c.c 	return num;
num               242 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c static int master_xfer(struct i2c_adapter* adapter, struct i2c_msg *msg, int num)
num               251 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 	while (i < num) {
num               255 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 		if (num > i + 1 && (msg[i + 1].flags & I2C_M_RD)) {
num               118 drivers/media/usb/usbvision/usbvision-i2c.c usbvision_i2c_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num)
num               127 drivers/media/usb/usbvision/usbvision-i2c.c 	for (i = 0; i < num; i++) {
num               147 drivers/media/usb/usbvision/usbvision-i2c.c 	return num;
num               129 drivers/media/v4l2-core/v4l2-dev.c 	set_bit(vdev->num, devnode_bits(vdev->vfl_type));
num               135 drivers/media/v4l2-core/v4l2-dev.c 	clear_bit(vdev->num, devnode_bits(vdev->vfl_type));
num               961 drivers/media/v4l2-core/v4l2-dev.c 	vdev->num = nr;
num               997 drivers/media/v4l2-core/v4l2-dev.c 	dev_set_name(&vdev->dev, "%s%d", name_base, vdev->num);
num              1007 drivers/media/v4l2-core/v4l2-dev.c 	if (nr != -1 && nr != vdev->num && warn_if_nr_in_use)
num                63 drivers/media/v4l2-core/v4l2-device.c 	int num = atomic_inc_return(instance) - 1;
num                68 drivers/media/v4l2-core/v4l2-device.c 				"%s-%d", basename, num);
num                71 drivers/media/v4l2-core/v4l2-device.c 				"%s%d", basename, num);
num                72 drivers/media/v4l2-core/v4l2-device.c 	return num;
num               733 drivers/media/v4l2-core/v4l2-dv-timings.c 		u64 num;
num               736 drivers/media/v4l2-core/v4l2-dv-timings.c 		num = ((image_width * GTF_D_C_PRIME * (u64)hfreq) -
num               740 drivers/media/v4l2-core/v4l2-dv-timings.c 		h_blank = div_u64((num + (den >> 1)), den);
num               743 drivers/media/v4l2-core/v4l2-dv-timings.c 		u64 num;
num               746 drivers/media/v4l2-core/v4l2-dv-timings.c 		num = ((image_width * GTF_S_C_PRIME * (u64)hfreq) -
num               750 drivers/media/v4l2-core/v4l2-dv-timings.c 		h_blank = div_u64((num + (den >> 1)), den);
num               102 drivers/mfd/88pm860x-i2c.c 	int num = 1, ret = 0;
num               111 drivers/mfd/88pm860x-i2c.c 		num = 2;
num               112 drivers/mfd/88pm860x-i2c.c 	ret = adap->algo->master_xfer(adap, msg, num);
num               547 drivers/mfd/asic3.c 				   u16 *gpio_config, int num)
num               565 drivers/mfd/asic3.c 	for (i = 0; i < num; i++) {
num              2117 drivers/mfd/db8500-prcmu.c int db8500_prcmu_config_a9wdog(u8 num, bool sleep_auto_off)
num              2119 drivers/mfd/db8500-prcmu.c 	BUG_ON(num == 0 || num > 0xf);
num              2120 drivers/mfd/db8500-prcmu.c 	return prcmu_a9wdog(MB4H_A9WDOG_CONF, num, 0, 0,
num                48 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_CHANNEL_CONF(num)			(0x040 + 0x004 * num)
num                71 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_FUNCTION_CTRL(num)		(0x804 + 0x100 * num)
num                72 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_INTERFACE_CTRL(num)		(0x807 + 0x100 * num)
num                73 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_OTG_CTRL(num)			(0x80A + 0x100 * num)
num                74 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_INT_EN_RISE(num)			(0x80D + 0x100 * num)
num                75 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_INT_EN_FALL(num)			(0x810 + 0x100 * num)
num                76 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_INT_STATUS(num)			(0x813 + 0x100 * num)
num                77 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_INT_LATCH(num)			(0x814 + 0x100 * num)
num                78 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_DEBUG(num)			(0x815 + 0x100 * num)
num                79 drivers/mfd/omap-usb-tll.c #define	OMAP_TLL_ULPI_SCRATCH_REGISTER(num)		(0x816 + 0x100 * num)
num              1086 drivers/mfd/stmpe.c 	int num = DIV_ROUND_UP(variant->num_irqs, 8);
num              1105 drivers/mfd/stmpe.c 	ret = stmpe_block_read(stmpe, israddr, num, isr);
num              1109 drivers/mfd/stmpe.c 	for (i = 0; i < num; i++) {
num              1110 drivers/mfd/stmpe.c 		int bank = num - i - 1;
num              1145 drivers/mfd/stmpe.c 	int num = DIV_ROUND_UP(variant->num_irqs, 8);
num              1148 drivers/mfd/stmpe.c 	for (i = 0; i < num; i++) {
num               595 drivers/mfd/twl-core.c add_numbered_child(unsigned mod_no, const char *name, int num,
num               610 drivers/mfd/twl-core.c 	pdev = platform_device_alloc(name, num);
num               660 drivers/mfd/twl-core.c add_regulator_linked(int num, struct regulator_init_data *pdata,
num               690 drivers/mfd/twl-core.c 	return add_numbered_child(TWL_MODULE_PM_MASTER, "twl_reg", num,
num               695 drivers/mfd/twl-core.c add_regulator(int num, struct regulator_init_data *pdata,
num               698 drivers/mfd/twl-core.c 	return add_regulator_linked(num, pdata, NULL, 0, features);
num               570 drivers/mfd/twl4030-power.c 	for (i = 0; i < pdata->num; i++) {
num               728 drivers/mfd/twl4030-power.c 	.num			= ARRAY_SIZE(omap3_reset_scripts),
num               817 drivers/mfd/twl4030-power.c 	.num			= ARRAY_SIZE(omap3_idle_scripts),
num               829 drivers/mfd/twl4030-power.c 	.num			= ARRAY_SIZE(omap3_idle_scripts),
num               836 drivers/mfd/twl4030-power.c 	.num			= ARRAY_SIZE(omap3_idle_scripts),
num               843 drivers/mfd/twl4030-power.c 	.num			= ARRAY_SIZE(omap3_idle_scripts),
num               146 drivers/misc/cxl/api.c static irq_hw_number_t cxl_find_afu_irq(struct cxl_context *ctx, int num)
num               153 drivers/misc/cxl/api.c 		if (num < range) {
num               154 drivers/misc/cxl/api.c 			return ctx->irqs.offset[r] + num;
num               156 drivers/misc/cxl/api.c 		num -= range;
num               182 drivers/misc/cxl/api.c int cxl_allocate_afu_irqs(struct cxl_context *ctx, int num)
num               187 drivers/misc/cxl/api.c 	if (num == 0)
num               188 drivers/misc/cxl/api.c 		num = ctx->afu->pp_irqs;
num               189 drivers/misc/cxl/api.c 	res = afu_allocate_irqs(ctx, num);
num               230 drivers/misc/cxl/api.c int cxl_map_afu_irq(struct cxl_context *ctx, int num,
num               238 drivers/misc/cxl/api.c 	hwirq = cxl_find_afu_irq(ctx, num);
num               246 drivers/misc/cxl/api.c void cxl_unmap_afu_irq(struct cxl_context *ctx, int num, void *cookie)
num               251 drivers/misc/cxl/api.c 	hwirq = cxl_find_afu_irq(ctx, num);
num               714 drivers/misc/cxl/cxl.h int cxl_pci_alloc_irq_ranges(struct cxl_irq_ranges *irqs, struct cxl *adapter, unsigned int num);
num               972 drivers/misc/cxl/cxl.h struct cxl *get_cxl_adapter(int num);
num              1069 drivers/misc/cxl/cxl.h 				struct cxl *adapter, unsigned int num);
num               306 drivers/misc/cxl/guest.c 				struct cxl *adapter, unsigned int num)
num               313 drivers/misc/cxl/guest.c 	for (i = 0; i < CXL_IRQ_RANGES && num; i++) {
num               314 drivers/misc/cxl/guest.c 		try = num;
num               324 drivers/misc/cxl/guest.c 		num -= try;
num               326 drivers/misc/cxl/guest.c 	if (num)
num               350 drivers/misc/cxl/hcalls.c 		       u64 num, u64 *out)
num               354 drivers/misc/cxl/hcalls.c 				record, list_address, num, 0,
num               531 drivers/misc/cxl/hcalls.c 			       u64 num, u64 *out)
num               535 drivers/misc/cxl/hcalls.c 				list_address, num, 0, 0,
num               559 drivers/misc/cxl/hcalls.c 				    u64 list_address, u64 num,
num               573 drivers/misc/cxl/hcalls.c 				 unit_address, op, list_address, num,
num               593 drivers/misc/cxl/hcalls.c 		 unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, retbuf[0], rc);
num               594 drivers/misc/cxl/hcalls.c 	trace_cxl_hcall_download_facility(unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, retbuf[0], rc);
num               624 drivers/misc/cxl/hcalls.c 				  u64 list_address, u64 num,
num               629 drivers/misc/cxl/hcalls.c 				       list_address, num, out);
num               637 drivers/misc/cxl/hcalls.c 				  u64 list_address, u64 num,
num               642 drivers/misc/cxl/hcalls.c 				       list_address, num, out);
num               130 drivers/misc/cxl/hcalls.h 		       u64 num, u64 *out);
num               183 drivers/misc/cxl/hcalls.h 			       u64 num, u64 *out);
num               190 drivers/misc/cxl/hcalls.h 				  u64 list_address, u64 num,
num               198 drivers/misc/cxl/hcalls.h 				  u64 list_address, u64 num,
num               183 drivers/misc/cxl/main.c struct cxl *get_cxl_adapter(int num)
num               188 drivers/misc/cxl/main.c 	if ((adapter = idr_find(&cxl_adapter_idr, num)))
num               713 drivers/misc/cxl/pci.c 			struct cxl *adapter, unsigned int num)
num               717 drivers/misc/cxl/pci.c 	return pnv_cxl_alloc_hwirq_ranges(irqs, dev, num);
num               652 drivers/misc/cxl/trace.h 	TP_PROTO(u64 unit_address, char *fct, u64 list_address, u64 num,
num               655 drivers/misc/cxl/trace.h 	TP_ARGS(unit_address, fct, list_address, num, r4, rc),
num               661 drivers/misc/cxl/trace.h 		__field(u64, num)
num               670 drivers/misc/cxl/trace.h 		__entry->num = num;
num               679 drivers/misc/cxl/trace.h 		__entry->num,
num                83 drivers/misc/fastrpc.c 	u32 num;		/* number of contiguous regions */
num               779 drivers/misc/fastrpc.c 		list[i].num = len ? 1 : 0;
num               845 drivers/misc/fastrpc.c 		list[i].num = ctx->args[i].length ? 1 : 0;
num               383 drivers/misc/genwqe/card_base.h 	int num;			  /* ddcb_no for this request */
num               272 drivers/misc/genwqe/card_ddcb.c 	u64 num;
num               309 drivers/misc/genwqe/card_ddcb.c 	num = (u64)ddcb_no << 8;
num               312 drivers/misc/genwqe/card_ddcb.c 	__genwqe_writeq(cd, queue->IO_QUEUE_OFFSET, num); /* start queue */
num               331 drivers/misc/genwqe/card_ddcb.c 	struct ddcb *pddcb = &queue->ddcb_vaddr[req->num];
num               420 drivers/misc/genwqe/card_ddcb.c 		dev_dbg(&pci_dev->dev, "FINISHED DDCB#%d\n", req->num);
num               488 drivers/misc/genwqe/card_ddcb.c 	ddcb_no = req->num;
num               517 drivers/misc/genwqe/card_ddcb.c 			__func__, req->num, rc,	ddcb_requ_get_state(req),
num               523 drivers/misc/genwqe/card_ddcb.c 		pddcb = &queue->ddcb_vaddr[req->num];
num               539 drivers/misc/genwqe/card_ddcb.c 			__func__, req->num, rc, ddcb_requ_get_state(req));
num               547 drivers/misc/genwqe/card_ddcb.c 			__func__, req->num, rc);
num               564 drivers/misc/genwqe/card_ddcb.c 				  int *num)
num               580 drivers/misc/genwqe/card_ddcb.c 	*num = queue->ddcb_next;	/* internal DDCB number */
num               633 drivers/misc/genwqe/card_ddcb.c 	pddcb = &queue->ddcb_vaddr[req->num];
num               669 drivers/misc/genwqe/card_ddcb.c 		copy_ddcb_results(req, req->num); /* for the failing case */
num               674 drivers/misc/genwqe/card_ddcb.c 		copy_ddcb_results(req, req->num);
num               677 drivers/misc/genwqe/card_ddcb.c 		queue->ddcb_req[req->num] = NULL; /* delete from array */
num               692 drivers/misc/genwqe/card_ddcb.c 		    (queue->ddcb_act == req->num)) {
num               707 drivers/misc/genwqe/card_ddcb.c 	dev_dbg(&pci_dev->dev, "UN/FINISHED DDCB#%d\n", req->num);
num               712 drivers/misc/genwqe/card_ddcb.c 		__func__, req->num, GENWQE_DDCB_SOFTWARE_TIMEOUT,
num               763 drivers/misc/genwqe/card_ddcb.c 			__func__, req->num);
num               782 drivers/misc/genwqe/card_ddcb.c 	pddcb = get_next_ddcb(cd, queue, &req->num);	/* get ptr and num */
num               804 drivers/misc/genwqe/card_ddcb.c 	if (queue->ddcb_req[req->num] != NULL) {
num               809 drivers/misc/genwqe/card_ddcb.c 			__func__, req->num, req);
num               813 drivers/misc/genwqe/card_ddcb.c 	queue->ddcb_req[req->num] = req;
num               875 drivers/misc/genwqe/card_ddcb.c 	dev_dbg(&pci_dev->dev, "INPUT DDCB#%d\n", req->num);
num               887 drivers/misc/genwqe/card_ddcb.c 	enqueue_ddcb(cd, queue, pddcb, req->num);
num              1069 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
num              1089 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
num              1105 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
num              1125 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
num                95 drivers/misc/mic/bus/scif_bus.h 	void (*ack_interrupt)(struct scif_hw_dev *sdev, int num);
num                92 drivers/misc/mic/bus/vop_bus.h 	void (*ack_interrupt)(struct vop_device *vpdev, int num);
num               188 drivers/misc/mic/card/mic_device.c static void ___mic_ack_interrupt(struct scif_hw_dev *scdev, int num)
num               259 drivers/misc/mic/card/mic_device.c static void __mic_ack_interrupt(struct vop_device *vpdev, int num)
num               220 drivers/misc/mic/card/mic_x100.c static void _mic_ack_interrupt(struct mbus_device *mbdev, int num)
num                70 drivers/misc/mic/host/mic_boot.c static void __mic_ack_interrupt(struct vop_device *vpdev, int num)
num               266 drivers/misc/mic/host/mic_boot.c static void ___mic_ack_interrupt(struct scif_hw_dev *scdev, int num)
num               356 drivers/misc/mic/host/mic_boot.c static void _mic_ack_interrupt(struct mbus_device *mbdev, int num)
num                64 drivers/misc/mic/vop/vop_debugfs.c 			seq_printf(s, "num %d ", vqconfig->num);
num               117 drivers/misc/mic/vop/vop_debugfs.c 			int num = vrh->vring.num;
num               119 drivers/misc/mic/vop/vop_debugfs.c 			if (!num)
num               123 drivers/misc/mic/vop/vop_debugfs.c 				   i, vvr->vring.info->avail_idx & (num - 1));
num               131 drivers/misc/mic/vop/vop_debugfs.c 			for (j = 0; j < num; j++) {
num               142 drivers/misc/mic/vop/vop_debugfs.c 						   avail->idx) & (num - 1));
num               146 drivers/misc/mic/vop/vop_debugfs.c 			for (j = 0; j < num; j++)
num               152 drivers/misc/mic/vop/vop_debugfs.c 				   vringh16_to_cpu(vrh, used->idx) & (num - 1));
num               156 drivers/misc/mic/vop/vop_debugfs.c 			for (j = 0; j < num; j++)
num               274 drivers/misc/mic/vop/vop_main.c 				      unsigned int num,
num               286 drivers/misc/mic/vop/vop_main.c 	vring_init(&vring, num, pages, MIC_VIRTIO_RING_ALIGN);
num               323 drivers/misc/mic/vop/vop_main.c 	_vr_size = vring_size(le16_to_cpu(config.num), MIC_VIRTIO_RING_ALIGN);
num               341 drivers/misc/mic/vop/vop_main.c 					     le16_to_cpu(config.num));
num               352 drivers/misc/mic/vop/vop_main.c 	vq = vop_new_virtqueue(index, le16_to_cpu(config.num), dev, ctx,
num                65 drivers/misc/mic/vop/vop_vringh.c 				le16_to_cpu(vqconfig->num));
num               205 drivers/misc/mic/vop/vop_vringh.c 		if (le16_to_cpu(vqconfig[i].num) > MIC_MAX_VRING_ENTRIES) {
num               271 drivers/misc/mic/vop/vop_vringh.c 	u16 num;
num               297 drivers/misc/mic/vop/vop_vringh.c 		num = le16_to_cpu(vqconfig[i].num);
num               299 drivers/misc/mic/vop/vop_vringh.c 		vr_size = PAGE_ALIGN(vring_size(num, MIC_VIRTIO_RING_ALIGN) +
num               311 drivers/misc/mic/vop/vop_vringh.c 		vr->info = vr->va + vring_size(num, MIC_VIRTIO_RING_ALIGN);
num               324 drivers/misc/mic/vop/vop_vringh.c 		vring_init(&vr->vr, num, vr->va, MIC_VIRTIO_RING_ALIGN);
num               327 drivers/misc/mic/vop/vop_vringh.c 				       num, false, vr->vr.desc, vr->vr.avail,
num               449 drivers/misc/sgi-gru/grumain.c static void prefetch_data(void *p, int num, int stride)
num               451 drivers/misc/sgi-gru/grumain.c 	while (num-- > 0) {
num               151 drivers/misc/sgi-gru/grutlbpurge.c 	unsigned long num;
num               158 drivers/misc/sgi-gru/grutlbpurge.c 	num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL);
num               175 drivers/misc/sgi-gru/grutlbpurge.c 			      gid, asid, start, grupagesize, num, asids->mt_ctxbitmap);
num               178 drivers/misc/sgi-gru/grutlbpurge.c 				       num - 1, asids->mt_ctxbitmap);
num               147 drivers/misc/vexpress-syscfg.c 	int num;
num               161 drivers/misc/vexpress-syscfg.c 	num = prop->length / sizeof(u32) / 2;
num               168 drivers/misc/vexpress-syscfg.c 	if (num == 1 && of_device_is_compatible(dev->of_node,
num               170 drivers/misc/vexpress-syscfg.c 		num = 2;
num               178 drivers/misc/vexpress-syscfg.c 	func = kzalloc(struct_size(func, template, num), GFP_KERNEL);
num               183 drivers/misc/vexpress-syscfg.c 	func->num_templates = num;
num               185 drivers/misc/vexpress-syscfg.c 	for (i = 0; i < num; i++) {
num               202 drivers/misc/vexpress-syscfg.c 	vexpress_syscfg_regmap_config.max_register = num - 1;
num                41 drivers/mmc/core/sdio.c 		SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF, 0, &data);
num                49 drivers/mmc/core/sdio.c 			SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT, 0, &data);
num                72 drivers/mmc/core/sdio.c 	func->num = fn;
num               312 drivers/mmc/core/sdio_bus.c 	u64 addr = ((u64)host->slotno << 16) | func->num;
num               324 drivers/mmc/core/sdio_bus.c 	func->dev.of_node = mmc_of_find_child_device(host, func->num);
num               334 drivers/mmc/core/sdio_bus.c 	dev_set_name(&func->dev, "%s:%d", mmc_card_id(func->card), func->num);
num               245 drivers/mmc/core/sdio_cis.c 			fn = func->num;
num                74 drivers/mmc/core/sdio_io.c 	reg |= 1 << func->num;
num                86 drivers/mmc/core/sdio_io.c 		if (reg & (1 << func->num))
num               124 drivers/mmc/core/sdio_io.c 	reg &= ~(1 << func->num);
num               172 drivers/mmc/core/sdio_io.c 		SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE,
num               177 drivers/mmc/core/sdio_io.c 		SDIO_FBR_BASE(func->num) + SDIO_FBR_BLKSIZE + 1,
num               322 drivers/mmc/core/sdio_io.c 	if (!func || (func->num > 7))
num               340 drivers/mmc/core/sdio_io.c 				func->num, addr, incr_addr, buf,
num               357 drivers/mmc/core/sdio_io.c 		ret = mmc_io_rw_extended(func->card, write, func->num, addr,
num               391 drivers/mmc/core/sdio_io.c 	ret = mmc_io_rw_direct(func->card, 0, func->num, addr, 0, &val);
num               422 drivers/mmc/core/sdio_io.c 	ret = mmc_io_rw_direct(func->card, 1, func->num, addr, b, NULL);
num               447 drivers/mmc/core/sdio_io.c 	ret = mmc_io_rw_direct(func->card, 1, func->num, addr,
num               318 drivers/mmc/core/sdio_irq.c 	reg |= 1 << func->num;
num               362 drivers/mmc/core/sdio_irq.c 	reg &= ~(1 << func->num);
num               854 drivers/mmc/host/omap.c void omap_mmc_notify_cover_event(struct device *dev, int num, int is_closed)
num               858 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = host->slots[num];
num               860 drivers/mmc/host/omap.c 	BUG_ON(num >= host->nr_slots);
num               863 drivers/mmc/host/omap.c 	if (host->nr_slots == 0 || !host->slots[num])
num               351 drivers/mtd/devices/block2mtd.c static int parse_num(size_t *num, const char *token)
num               360 drivers/mtd/devices/block2mtd.c 	*num = n;
num                52 drivers/mtd/maps/vmu-flash.c 	unsigned int num; /* block number */
num                63 drivers/mtd/maps/vmu-flash.c 	int num;
num                72 drivers/mtd/maps/vmu-flash.c 	num = src_ofs / card->blocklen;
num                73 drivers/mtd/maps/vmu-flash.c 	if (num > card->parts[partition].numblocks)
num                80 drivers/mtd/maps/vmu-flash.c 	vblock->num = num;
num               109 drivers/mtd/maps/vmu-flash.c static int maple_vmu_read_block(unsigned int num, unsigned char *buf,
num               145 drivers/mtd/maps/vmu-flash.c 		sendbuf = cpu_to_be32(partition << 24 | x << 16 | num);
num               197 drivers/mtd/maps/vmu-flash.c 					mdev->port, mdev->unit, num);
num               201 drivers/mtd/maps/vmu-flash.c 					mdev->port, mdev->unit, num);
num               211 drivers/mtd/maps/vmu-flash.c 		pcache->block = num;
num               226 drivers/mtd/maps/vmu-flash.c static int maple_vmu_write_block(unsigned int num, const unsigned char *buf,
num               248 drivers/mtd/maps/vmu-flash.c 		sendbuf[0] = cpu_to_be32(partition << 24 | x << 16 | num);
num               281 drivers/mtd/maps/vmu-flash.c 				mdev->unit, num, x);
num               332 drivers/mtd/maps/vmu-flash.c 	error = maple_vmu_read_block(vblock->num, buf, mtd);
num               380 drivers/mtd/maps/vmu-flash.c 			(pcache->block == vblock->num)) {
num               454 drivers/mtd/maps/vmu-flash.c 		error = maple_vmu_read_block(vblock->num, buffer, mtd);
num               467 drivers/mtd/maps/vmu-flash.c 		error = maple_vmu_write_block(vblock->num, buffer, mtd);
num               475 drivers/mtd/maps/vmu-flash.c 		vblock->num++;
num               949 drivers/mtd/mtdcore.c struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num)
num               956 drivers/mtd/mtdcore.c 	if (num == -1) {
num               963 drivers/mtd/mtdcore.c 	} else if (num >= 0) {
num               964 drivers/mtd/mtdcore.c 		ret = idr_find(&mtd_idr, num);
num               497 drivers/mtd/nand/raw/atmel/pmecc.c 	int num = 2 * strength + 1;
num               516 drivers/mtd/nand/raw/atmel/pmecc.c 	memset(smu, 0, sizeof(s16) * num);
num               530 drivers/mtd/nand/raw/atmel/pmecc.c 	memset(&smu[num], 0, sizeof(s16) * num);
num               531 drivers/mtd/nand/raw/atmel/pmecc.c 	smu[num] = 1;
num               542 drivers/mtd/nand/raw/atmel/pmecc.c 	memset(&smu[(strength + 1) * num], 0, sizeof(s16) * num);
num               559 drivers/mtd/nand/raw/atmel/pmecc.c 					smu[(strength + 1) * num + j] =
num               560 drivers/mtd/nand/raw/atmel/pmecc.c 							smu[i * num + j];
num               568 drivers/mtd/nand/raw/atmel/pmecc.c 				smu[(i + 1) * num + j] = smu[i * num + j];
num               593 drivers/mtd/nand/raw/atmel/pmecc.c 			for (k = 0; k < num; k++)
num               594 drivers/mtd/nand/raw/atmel/pmecc.c 				smu[(i + 1) * num + k] = 0;
num               600 drivers/mtd/nand/raw/atmel/pmecc.c 				if (!(smu[ro * num + k] && dmu[i]))
num               605 drivers/mtd/nand/raw/atmel/pmecc.c 				c = index_of[smu[ro * num + k]];
num               608 drivers/mtd/nand/raw/atmel/pmecc.c 				smu[(i + 1) * num + (k + diff)] = a;
num               612 drivers/mtd/nand/raw/atmel/pmecc.c 				smu[(i + 1) * num + k] ^= smu[i * num + k];
num               627 drivers/mtd/nand/raw/atmel/pmecc.c 			} else if (smu[(i + 1) * num + k] && si[tmp + 3 - k]) {
num               630 drivers/mtd/nand/raw/atmel/pmecc.c 				a = index_of[smu[(i + 1) * num + k]];
num               648 drivers/mtd/nand/raw/atmel/pmecc.c 	int num = (2 * strength) + 1;
num               655 drivers/mtd/nand/raw/atmel/pmecc.c 		writel_relaxed(smu[(strength + 1) * num + i],
num              3437 drivers/mtd/nand/raw/nand_base.c 					int num = min_t(int, len, 4);
num              3440 drivers/mtd/nand/raw/nand_base.c 								 num, false);
num              3444 drivers/mtd/nand/raw/nand_base.c 					len -= num;
num               166 drivers/mtd/nand/raw/nand_bbt.c static int read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num,
num               178 drivers/mtd/nand/raw/nand_bbt.c 	totlen = (num * bits) >> 3;
num               338 drivers/mtd/nand/raw/nandsim.c 		uint     num;     /* number of bytes which must be processed */
num              1156 drivers/mtd/nand/raw/nandsim.c 	ns->regs.num    = 0;
num              1377 drivers/mtd/nand/raw/nandsim.c static int do_read_error(struct nandsim *ns, int num)
num              1382 drivers/mtd/nand/raw/nandsim.c 		prandom_bytes(ns->buf.byte, num);
num              1389 drivers/mtd/nand/raw/nandsim.c static void do_bit_flips(struct nandsim *ns, int num)
num              1396 drivers/mtd/nand/raw/nandsim.c 			int pos = prandom_u32() % (num * 8);
num              1409 drivers/mtd/nand/raw/nandsim.c static void read_page(struct nandsim *ns, int num)
num              1416 drivers/mtd/nand/raw/nandsim.c 			memset(ns->buf.byte, 0xFF, num);
num              1423 drivers/mtd/nand/raw/nandsim.c 			if (do_read_error(ns, num))
num              1426 drivers/mtd/nand/raw/nandsim.c 			tx = read_file(ns, ns->cfile, ns->buf.byte, num, pos);
num              1427 drivers/mtd/nand/raw/nandsim.c 			if (tx != num) {
num              1431 drivers/mtd/nand/raw/nandsim.c 			do_bit_flips(ns, num);
num              1439 drivers/mtd/nand/raw/nandsim.c 		memset(ns->buf.byte, 0xFF, num);
num              1443 drivers/mtd/nand/raw/nandsim.c 		if (do_read_error(ns, num))
num              1445 drivers/mtd/nand/raw/nandsim.c 		memcpy(ns->buf.byte, NS_PAGE_BYTE_OFF(ns), num);
num              1446 drivers/mtd/nand/raw/nandsim.c 		do_bit_flips(ns, num);
num              1481 drivers/mtd/nand/raw/nandsim.c static int prog_page(struct nandsim *ns, int num)
num              1500 drivers/mtd/nand/raw/nandsim.c 			tx = read_file(ns, ns->cfile, pg_off, num, off);
num              1501 drivers/mtd/nand/raw/nandsim.c 			if (tx != num) {
num              1506 drivers/mtd/nand/raw/nandsim.c 		for (i = 0; i < num; i++)
num              1517 drivers/mtd/nand/raw/nandsim.c 			tx = write_file(ns, ns->cfile, pg_off, num, off);
num              1518 drivers/mtd/nand/raw/nandsim.c 			if (tx != num) {
num              1544 drivers/mtd/nand/raw/nandsim.c 	for (i = 0; i < num; i++)
num              1557 drivers/mtd/nand/raw/nandsim.c 	int num;
num              1581 drivers/mtd/nand/raw/nandsim.c 		num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
num              1582 drivers/mtd/nand/raw/nandsim.c 		read_page(ns, num);
num              1585 drivers/mtd/nand/raw/nandsim.c 			num, NS_RAW_OFFSET(ns) + ns->regs.off);
num              1649 drivers/mtd/nand/raw/nandsim.c 		num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
num              1650 drivers/mtd/nand/raw/nandsim.c 		if (num != ns->regs.count) {
num              1652 drivers/mtd/nand/raw/nandsim.c 					ns->regs.count, num);
num              1656 drivers/mtd/nand/raw/nandsim.c 		if (prog_page(ns, num) == -1)
num              1662 drivers/mtd/nand/raw/nandsim.c 			num, ns->regs.row, ns->regs.column, NS_RAW_OFFSET(ns) + ns->regs.off);
num              1765 drivers/mtd/nand/raw/nandsim.c 			&& ns->regs.count != ns->regs.num) {
num              1767 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num - ns->regs.count);
num              1783 drivers/mtd/nand/raw/nandsim.c 		ns->regs.num   = ns->regs.count = 0;
num              1796 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgszoob - ns->regs.off - ns->regs.column;
num              1800 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.idbytes;
num              1804 drivers/mtd/nand/raw/nandsim.c 				ns->regs.count = ns->regs.num = 0;
num              1821 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgaddrbytes;
num              1825 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.secaddrbytes;
num              1829 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = 1;
num              1834 drivers/mtd/nand/raw/nandsim.c 				ns->regs.num = ns->geom.pgaddrbytes - ns->geom.secaddrbytes;
num              1845 drivers/mtd/nand/raw/nandsim.c 		ns->regs.num = 0;
num              1877 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
num              1893 drivers/mtd/nand/raw/nandsim.c 			NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num);
num              1901 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
num              1992 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = ns->geom.pgaddrbytes;
num              1995 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = ns->geom.secaddrbytes;
num              1998 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num = 1;
num              2014 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
num              2025 drivers/mtd/nand/raw/nandsim.c 				(uint)byte, ns->regs.count, ns->regs.num);
num              2027 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
num              2047 drivers/mtd/nand/raw/nandsim.c 		if (ns->regs.count == ns->regs.num) {
num              2049 drivers/mtd/nand/raw/nandsim.c 					ns->regs.num);
num              2079 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
num              2088 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
num              2122 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count + len > ns->regs.num) {
num              2131 drivers/mtd/nand/raw/nandsim.c 	if (ns->regs.count == ns->regs.num) {
num                51 drivers/mtd/parsers/afs.c static u32 word_sum(void *words, int num)
num                56 drivers/mtd/parsers/afs.c 	while (num--)
num                62 drivers/mtd/parsers/afs.c static u32 word_sum_v2(u32 *p, u32 num)
num                67 drivers/mtd/parsers/afs.c 	for (i = 0; i < num; i++) {
num               134 drivers/net/Space.c 	int num;
num               137 drivers/net/Space.c 	for (num = 0; num < 8; ++num)
num               138 drivers/net/Space.c 		sbni_probe(num);
num               140 drivers/net/Space.c 	for (num = 0; num < 8; ++num)
num               141 drivers/net/Space.c 		ethif_probe2(num);
num               223 drivers/net/can/janz-ican3.c 	unsigned int num;
num              1245 drivers/net/can/janz-ican3.c 			   mod->num, msg->spec, le16_to_cpu(msg->len));
num              1485 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_enable);
num              1498 drivers/net/can/janz-ican3.c 	stat = ioread8(&mod->ctrl->int_disable) & (1 << mod->num);
num              1499 drivers/net/can/janz-ican3.c 	if (stat == (1 << mod->num))
num              1506 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_disable);
num              1526 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_disable);
num              1583 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_enable);
num              1911 drivers/net/can/janz-ican3.c 	mod->num = pdata->modno;
num              1978 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_disable);
num              2005 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_disable);
num              2025 drivers/net/can/janz-ican3.c 	iowrite8(1 << mod->num, &mod->ctrl->int_disable);
num              1104 drivers/net/can/m_can/m_can.c 			    (cdev->mcfg[MRAM_TXB].num << TXBC_TFQS_SHIFT) |
num              1118 drivers/net/can/m_can/m_can.c 			    ((cdev->mcfg[MRAM_TXE].num << TXEFC_EFS_SHIFT)
num              1125 drivers/net/can/m_can/m_can.c 		    (cdev->mcfg[MRAM_RXF0].num << RXFC_FS_SHIFT) |
num              1129 drivers/net/can/m_can/m_can.c 		    (cdev->mcfg[MRAM_RXF1].num << RXFC_FS_SHIFT) |
num              1656 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_SIDF].num = mram_config_vals[1];
num              1658 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_SIDF].num * SIDF_ELEMENT_SIZE;
num              1659 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_XIDF].num = mram_config_vals[2];
num              1661 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_XIDF].num * XIDF_ELEMENT_SIZE;
num              1662 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_RXF0].num = mram_config_vals[3] &
num              1665 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_RXF0].num * RXF0_ELEMENT_SIZE;
num              1666 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_RXF1].num = mram_config_vals[4] &
num              1669 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_RXF1].num * RXF1_ELEMENT_SIZE;
num              1670 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_RXB].num = mram_config_vals[5];
num              1672 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_RXB].num * RXB_ELEMENT_SIZE;
num              1673 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_TXE].num = mram_config_vals[6];
num              1675 drivers/net/can/m_can/m_can.c 			cdev->mcfg[MRAM_TXE].num * TXE_ELEMENT_SIZE;
num              1676 drivers/net/can/m_can/m_can.c 	cdev->mcfg[MRAM_TXB].num = mram_config_vals[7] &
num              1681 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_SIDF].off, cdev->mcfg[MRAM_SIDF].num,
num              1682 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_XIDF].off, cdev->mcfg[MRAM_XIDF].num,
num              1683 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_RXF0].off, cdev->mcfg[MRAM_RXF0].num,
num              1684 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_RXF1].off, cdev->mcfg[MRAM_RXF1].num,
num              1685 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_RXB].off, cdev->mcfg[MRAM_RXB].num,
num              1686 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_TXE].off, cdev->mcfg[MRAM_TXE].num,
num              1687 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_TXB].off, cdev->mcfg[MRAM_TXB].num);
num              1699 drivers/net/can/m_can/m_can.c 		cdev->mcfg[MRAM_TXB].num * TXB_ELEMENT_SIZE;
num                57 drivers/net/can/m_can/m_can.h 	u8  num;
num               131 drivers/net/can/mscan/mscan.h #define _MSCAN_RESERVED_(n, num) u8 _res##n[num]
num               134 drivers/net/can/mscan/mscan.h #define _MSCAN_RESERVED_(n, num)
num               234 drivers/net/can/pch_can.c static void pch_can_rw_msg_obj(void __iomem *creq_addr, u32 num)
num               239 drivers/net/can/pch_can.c 	iowrite32(num, creq_addr);
num                81 drivers/net/dsa/b53/b53_srab.c 	unsigned int num;
num               377 drivers/net/dsa/b53/b53_srab.c 		b53_port_event(dev->ds, port->num);
num               389 drivers/net/dsa/b53/b53_srab.c 	writel(BIT(port->num), priv->regs + B53_SRAB_INTR);
num               525 drivers/net/dsa/b53/b53_srab.c 		port->num = i;
num               129 drivers/net/dsa/mv88e6xxx/global2.c static int mv88e6xxx_g2_trunk_mask_write(struct mv88e6xxx_chip *chip, int num,
num               132 drivers/net/dsa/mv88e6xxx/global2.c 	u16 val = (num << 12) | (mask & mv88e6xxx_port_mask(chip));
num              2807 drivers/net/ethernet/agere/et131x.c 	u32 num = 0;
num              2817 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2819 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2821 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2823 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2825 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2827 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2829 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2832 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2835 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2837 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2839 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2841 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2843 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2845 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2847 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2849 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2852 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2854 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2856 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2858 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2860 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2863 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2865 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2867 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2869 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2871 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2873 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2875 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2877 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = tmp;
num              2880 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.txq_start_addr);
num              2881 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.txq_end_addr);
num              2882 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.rxq_start_addr);
num              2883 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.rxq_end_addr);
num              2884 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.pm_csr);
num              2885 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = adapter->stats.interrupt_status;
num              2886 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.int_mask);
num              2887 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.int_alias_clr_en);
num              2888 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.int_status_alias);
num              2889 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.sw_reset);
num              2890 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.slv_timer);
num              2891 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.msi_config);
num              2892 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.loopback);
num              2893 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->global.watchdog_timer);
num              2896 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.csr);
num              2897 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.pr_base_hi);
num              2898 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.pr_base_lo);
num              2899 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.pr_num_des);
num              2900 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.txq_wr_addr);
num              2901 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.txq_wr_addr_ext);
num              2902 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.txq_rd_addr);
num              2903 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.dma_wb_base_hi);
num              2904 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.dma_wb_base_lo);
num              2905 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.service_request);
num              2906 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.service_complete);
num              2907 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.cache_rd_index);
num              2908 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.cache_wr_index);
num              2909 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.tx_dma_error);
num              2910 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.desc_abort_cnt);
num              2911 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.payload_abort_cnt);
num              2912 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.writeback_abort_cnt);
num              2913 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.desc_timeout_cnt);
num              2914 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.payload_timeout_cnt);
num              2915 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.writeback_timeout_cnt);
num              2916 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.desc_error_cnt);
num              2917 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.payload_error_cnt);
num              2918 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.writeback_error_cnt);
num              2919 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.dropped_tlp_cnt);
num              2920 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.new_service_complete);
num              2921 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->txdma.ethernet_packet_cnt);
num              2924 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.csr);
num              2925 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.dma_wb_base_hi);
num              2926 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.dma_wb_base_lo);
num              2927 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.num_pkt_done);
num              2928 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.max_pkt_time);
num              2929 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.rxq_rd_addr);
num              2930 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.rxq_rd_addr_ext);
num              2931 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.rxq_wr_addr);
num              2932 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_base_hi);
num              2933 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_base_lo);
num              2934 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_num_des);
num              2935 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_avail_offset);
num              2936 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_full_offset);
num              2937 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_access_index);
num              2938 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.psr_min_des);
num              2939 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_base_lo);
num              2940 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_base_hi);
num              2941 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_num_des);
num              2942 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_avail_offset);
num              2943 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_full_offset);
num              2944 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_rd_index);
num              2945 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr0_min_des);
num              2946 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_base_lo);
num              2947 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_base_hi);
num              2948 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_num_des);
num              2949 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_avail_offset);
num              2950 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_full_offset);
num              2951 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_rd_index);
num              2952 drivers/net/ethernet/agere/et131x.c 	regs_buff[num++] = readl(&aregs->rxdma.fbr1_min_des);
num               523 drivers/net/ethernet/amazon/ena/ena_netdev.c static int ena_refill_rx_bufs(struct ena_ring *rx_ring, u32 num)
num               531 drivers/net/ethernet/amazon/ena/ena_netdev.c 	for (i = 0; i < num; i++) {
num               563 drivers/net/ethernet/amazon/ena/ena_netdev.c 	if (unlikely(i < num)) {
num               569 drivers/net/ethernet/amazon/ena/ena_netdev.c 			    rx_ring->qid, i, num);
num               764 drivers/net/ethernet/amd/ni65.c 			int num = (i + p->tmdlast) & (TMDNUM-1);
num               765 drivers/net/ethernet/amd/ni65.c 			p->tmdhead[i].u.buffer = (u32) isa_virt_to_bus((char *)buffer[num]); /* status is part of buffer field */
num               766 drivers/net/ethernet/amd/ni65.c 			p->tmdhead[i].blen = blen[num];
num               773 drivers/net/ethernet/amd/ni65.c 			p->tmd_skb[i] = skb_save[num];
num                81 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	xgene_enet_ring_wr32(ring, CSR_RING_CONFIG, ring->num);
num               116 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c 	ring_id_buf = (ring->num << 9) & GENMASK(18, 9);
num              1207 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	return pdata->ring_cmd_addr + (ring->num << num_ring_id_shift);
num              1230 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	ring->num = ring_num;
num              1259 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		   ring->num, ring->size, ring->id, ring->slots);
num                94 drivers/net/ethernet/apm/xgene/xgene_enet_main.h 	u16 num;
num               259 drivers/net/ethernet/apm/xgene/xgene_enet_main.h 	return ((u16)pdata->rm << 10) | ring->num;
num                68 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c 	xgene_enet_ring_wr32(ring, CSR_RING_CONFIG, ring->num);
num               108 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c 	ring_id_buf = (ring->num << 9) & GENMASK(18, 9);
num              1368 drivers/net/ethernet/atheros/alx/main.c 	int num;
num              1370 drivers/net/ethernet/atheros/alx/main.c 	num = skb_shinfo(skb)->nr_frags + 1;
num              1373 drivers/net/ethernet/atheros/alx/main.c 		num++;
num              1375 drivers/net/ethernet/atheros/alx/main.c 	return num;
num              1434 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	int num;
num              1440 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	num = atl1c_alloc_rx_buffer(adapter);
num              1441 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	if (unlikely(num == 0))
num              1758 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			struct	atl1c_recv_ret_status *rrs, u16 num)
num              1762 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	for (i = 0; i < num; i++, rrs = ATL1C_RRD_DESC(rrd_ring,
num              1771 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	struct atl1c_recv_ret_status *rrs, u16 num)
num              1779 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	for (i = 0; i < num; i++) {
num               223 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c 	sprintf(mii_bus->id, "%s-%d-%d", "bcma_mdio", core->bus->num,
num              8290 drivers/net/ethernet/broadcom/bnx2.c 		u8 num, k, skip0;
num              8297 drivers/net/ethernet/broadcom/bnx2.c 		num = (u8) (reg >> (24 - (i * 8)));
num              8298 drivers/net/ethernet/broadcom/bnx2.c 		for (k = 100, skip0 = 1; k >= 1; num %= k, k /= 10) {
num              8299 drivers/net/ethernet/broadcom/bnx2.c 			if (num >= k || !skip0 || k == 1) {
num              8300 drivers/net/ethernet/broadcom/bnx2.c 				bp->fw_version[j++] = (num / k) + '0';
num              2195 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c static int bnx2x_dcbnl_get_numtcs(struct net_device *netdev, int tcid, u8 *num)
num              2205 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c 			*num = CHIP_IS_E3B0(bp) ? DCBX_COS_MAX_NUM_E3B0 :
num              2209 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c 			*num = CHIP_IS_E3B0(bp) ? DCBX_COS_MAX_NUM_E3B0 :
num              2225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c static int bnx2x_dcbnl_set_numtcs(struct net_device *netdev, int tcid, u8 num)
num              2228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c 	DP(BNX2X_MSG_DCB, "num tcs = %d; Not supported\n", num);
num              6167 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_format_ver(u32 num, u8 *str, u16 *len)
num              6173 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		bnx2x_null_format_ver(num, str, len);
num              6177 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	ret = scnprintf(str, *len, "%hx.%hx", num >> 16, num);
num              6182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static int bnx2x_3_seq_format_ver(u32 num, u8 *str, u16 *len)
num              6188 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		bnx2x_null_format_ver(num, str, len);
num              6192 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	ret = scnprintf(str, *len, "%hhx.%hhx.%hhx", num >> 16, num >> 8, num);
num              10618 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u32 num;
num              10620 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	num = ((raw_ver & 0xF80) >> 7) << 16 | ((raw_ver & 0x7F) << 8) |
num              10622 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	return bnx2x_3_seq_format_ver(num, str, len);
num              8000 drivers/net/ethernet/broadcom/bnxt/bnxt.c int bnxt_get_avail_msix(struct bnxt *bp, int num)
num              8004 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	int total_req = bp->cp_nr_rings + num;
num              8011 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (!BNXT_NEW_RM(bp) || avail_msix >= num)
num              8015 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		num = max_irq - bp->cp_nr_rings;
num              8016 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		if (num <= 0)
num              8019 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	return num;
num              1981 drivers/net/ethernet/broadcom/bnxt/bnxt.h int bnxt_get_avail_msix(struct bnxt *bp, int num);
num              1686 drivers/net/ethernet/broadcom/cnic.c 				u32 num)
num              1873 drivers/net/ethernet/broadcom/cnic.c 				   u32 num, int *work)
num              1885 drivers/net/ethernet/broadcom/cnic.c 	if (num < 2) {
num              1886 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              1892 drivers/net/ethernet/broadcom/cnic.c 	if ((num - 2) < req2->num_additional_wqes) {
num              1893 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              1924 drivers/net/ethernet/broadcom/cnic.c 	ret = cnic_setup_bnx2x_ctx(dev, wqes, num);
num              2120 drivers/net/ethernet/broadcom/cnic.c 			      u32 num, int *work)
num              2135 drivers/net/ethernet/broadcom/cnic.c 	if (num < 2) {
num              2136 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              2145 drivers/net/ethernet/broadcom/cnic.c 	if (num < *work) {
num              2146 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              2281 drivers/net/ethernet/broadcom/cnic.c 				 u32 num, int *work)
num              2293 drivers/net/ethernet/broadcom/cnic.c 	if (num < 3) {
num              2294 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              2338 drivers/net/ethernet/broadcom/cnic.c 				 u32 num, int *work)
num              2356 drivers/net/ethernet/broadcom/cnic.c 	if (num < 4) {
num              2357 drivers/net/ethernet/broadcom/cnic.c 		*work = num;
num              4073 drivers/net/ethernet/broadcom/cnic.c static void cnic_cm_indicate_kcqe(void *data, struct kcqe *kcqe[], u32 num)
num              4078 drivers/net/ethernet/broadcom/cnic.c 	for (i = 0; i < num; i++)
num               753 drivers/net/ethernet/broadcom/genet/bcmgenet.c #define STAT_GENET_Q(num) \
num               754 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("txq" __stringify(num) "_packets", \
num               755 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			tx_rings[num].packets), \
num               756 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("txq" __stringify(num) "_bytes", \
num               757 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			tx_rings[num].bytes), \
num               758 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("rxq" __stringify(num) "_bytes", \
num               759 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			rx_rings[num].bytes),	 \
num               760 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("rxq" __stringify(num) "_packets", \
num               761 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			rx_rings[num].packets), \
num               762 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("rxq" __stringify(num) "_errors", \
num               763 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			rx_rings[num].errors), \
num               764 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	STAT_GENET_SOFT_MIB("rxq" __stringify(num) "_dropped", \
num               765 drivers/net/ethernet/broadcom/genet/bcmgenet.c 			rx_rings[num].dropped)
num              1867 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_RES_MEM_T_COM].res_u.mem_info.num = 1;
num              1876 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.num = 1;
num              1883 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.num = 1;
num              1889 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.num = 1;
num              1904 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.num = 1;
num              1912 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.num = 1;
num              1920 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.num = 1;
num              1928 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.num = 1;
num              1936 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.num = 1;
num              1944 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.num = 1;
num              1952 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.num = 1;
num              1960 drivers/net/ethernet/brocade/bna/bna_enet.c 	res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.num = 1;
num              2170 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2176 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = BNA_GET_RXQS(q_cfg);
num              2182 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2188 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2194 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2200 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2206 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2212 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2218 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = (hpage_count ? q_cfg->num_paths : 0);
num              2224 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = (hpage_count ? q_cfg->num_paths : 0);
num              2230 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = (hpage_count ? q_cfg->num_paths : 0);
num              2236 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = q_cfg->num_paths;
num              2242 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = 1;
num              2246 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	res_info[BNA_RX_RES_T_INTR].res_u.intr_info.num = q_cfg->num_paths;
num              2353 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		if (1 == intr_info->num)
num              3326 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = num_txq;
num              3336 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = num_txq;
num              3342 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = num_txq;
num              3348 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = num_txq;
num              3354 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	mem_info->num = num_txq;
num              3359 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info.num = num_txq;
num              3383 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	if ((intr_info->num != 1) && (intr_info->num != tx_cfg->num_txq))
num              3455 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->ib.intr_vector = (intr_info->num == 1) ?
num               270 drivers/net/ethernet/brocade/bna/bna_types.h 	u32		num;
num               282 drivers/net/ethernet/brocade/bna/bna_types.h 	int			num;
num                65 drivers/net/ethernet/brocade/bna/bnad.c 	(_res_info)->res_u.mem_info.num = (_num);		\
num              1320 drivers/net/ethernet/brocade/bna/bnad.c 	for (i = 0; i < mem_info->num; i++) {
num              1343 drivers/net/ethernet/brocade/bna/bnad.c 	if ((mem_info->num == 0) || (mem_info->len == 0)) {
num              1348 drivers/net/ethernet/brocade/bna/bnad.c 	mem_info->mdl = kcalloc(mem_info->num, sizeof(struct bna_mem_descr),
num              1354 drivers/net/ethernet/brocade/bna/bnad.c 		for (i = 0; i < mem_info->num; i++) {
num              1367 drivers/net/ethernet/brocade/bna/bnad.c 		for (i = 0; i < mem_info->num; i++) {
num              1461 drivers/net/ethernet/brocade/bna/bnad.c 		intr_info->idl = kcalloc(intr_info->num,
num              1482 drivers/net/ethernet/brocade/bna/bnad.c 		for (i = 0; i < intr_info->num; i++)
num              1486 drivers/net/ethernet/brocade/bna/bnad.c 		intr_info->num = 1;
num              1487 drivers/net/ethernet/brocade/bna/bnad.c 		intr_info->idl = kcalloc(intr_info->num,
num               611 drivers/net/ethernet/calxeda/xgmac.c 			       int num)
num               616 drivers/net/ethernet/calxeda/xgmac.c 		data = (addr[5] << 8) | addr[4] | (num ? XGMAC_ADDR_AE : 0);
num               617 drivers/net/ethernet/calxeda/xgmac.c 		writel(data, ioaddr + XGMAC_ADDR_HIGH(num));
num               619 drivers/net/ethernet/calxeda/xgmac.c 		writel(data, ioaddr + XGMAC_ADDR_LOW(num));
num               621 drivers/net/ethernet/calxeda/xgmac.c 		writel(0, ioaddr + XGMAC_ADDR_HIGH(num));
num               622 drivers/net/ethernet/calxeda/xgmac.c 		writel(0, ioaddr + XGMAC_ADDR_LOW(num));
num               627 drivers/net/ethernet/calxeda/xgmac.c 			       int num)
num               632 drivers/net/ethernet/calxeda/xgmac.c 	hi_addr = readl(ioaddr + XGMAC_ADDR_HIGH(num));
num               633 drivers/net/ethernet/calxeda/xgmac.c 	lo_addr = readl(ioaddr + XGMAC_ADDR_LOW(num));
num               213 drivers/net/ethernet/cavium/liquidio/octeon_device.h 				       u32 num, char *pre, char *suf);
num               438 drivers/net/ethernet/cavium/thunder/nic.h 	u8    num;
num               981 drivers/net/ethernet/cavium/thunder/nic_main.c 			   (mbx.qs.num << NIC_QS_ID_SHIFT);
num              1026 drivers/net/ethernet/cavium/thunder/nic_main.c 		nic_tx_channel_cfg(nic, mbx.qs.num, &mbx.sq);
num               970 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	mbx.qs.num = qs->vnic_id;
num               239 drivers/net/ethernet/chelsio/cxgb/sge.c 	unsigned int	num;		/* num skbs in per port queues */
num               440 drivers/net/ethernet/chelsio/cxgb/sge.c 		if (!s->num)
num               445 drivers/net/ethernet/chelsio/cxgb/sge.c 		s->num++;
num               465 drivers/net/ethernet/chelsio/cxgb/sge.c 			s->num--;
num               479 drivers/net/ethernet/chelsio/cxgb/sge.c 	if (s->num && !skb) {
num                70 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ctl_defs.h 	unsigned int num;	/* number of TIDs in range */
num               179 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ctl_defs.h 	unsigned int num;        /* Number of pages */
num               397 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		tid->num = t3_mc5_size(&adapter->mc5) -
num               404 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		tid->num = adapter->params.mc5.nservers;
num               405 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		tid->base = t3_mc5_size(&adapter->mc5) - tid->num -
num               452 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 		rx_page_info->num = tp->rx_num_pgs;
num              1245 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	natids = min(tid_range.num / 2, MAX_ATIDS);
num              1246 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 	err = init_tid_tabs(&t->tid_maps, tid_range.num, natids,
num              1247 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c 			    stid_range.num, ATID_BASE, stid_range.base);
num              2908 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 				   u32 *num, u32 *size)
num              2950 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	if (num)
num              2951 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 		*num = tot_entries;
num               177 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h 				   u32 *num, u32 *size);
num               728 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c static int cxgb4_getnumtcs(struct net_device *dev, int tcs_id, u8 *num)
num               735 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 			*num = pi->dcb.pg_num_tcs_supported;
num               737 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 			*num = 0x8;
num               741 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c 		*num = 0x8;
num               754 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c static int cxgb4_setnumtcs(struct net_device *dev, int tcs_id, u8 num)
num               723 drivers/net/ethernet/emulex/benet/be.h 	u16 num = max_t(u16, be_max_rss(adapter), 1);
num               725 drivers/net/ethernet/emulex/benet/be.h 	return min_t(u16, num, be_max_irqs(adapter));
num               550 drivers/net/ethernet/emulex/benet/be_cmds.c 	int num = 0, status = 0;
num               563 drivers/net/ethernet/emulex/benet/be_cmds.c 		num++;
num               566 drivers/net/ethernet/emulex/benet/be_cmds.c 	if (num)
num               567 drivers/net/ethernet/emulex/benet/be_cmds.c 		be_cq_notify(adapter, mcc_obj->cq.id, mcc_obj->rearm_cq, num);
num              1893 drivers/net/ethernet/emulex/benet/be_cmds.c 			       struct be_set_eqd *set_eqd, int num)
num              1912 drivers/net/ethernet/emulex/benet/be_cmds.c 	req->num_eq = cpu_to_le32(num);
num              1913 drivers/net/ethernet/emulex/benet/be_cmds.c 	for (i = 0; i < num; i++) {
num              1927 drivers/net/ethernet/emulex/benet/be_cmds.c 		      int num)
num              1931 drivers/net/ethernet/emulex/benet/be_cmds.c 	while (num) {
num              1932 drivers/net/ethernet/emulex/benet/be_cmds.c 		num_eqs = min(num, 8);
num              1935 drivers/net/ethernet/emulex/benet/be_cmds.c 		num -= num_eqs;
num              1943 drivers/net/ethernet/emulex/benet/be_cmds.c 		       u32 num, u32 domain)
num              1965 drivers/net/ethernet/emulex/benet/be_cmds.c 	req->num_vlan = num;
num              2414 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_modify_eqd(struct be_adapter *adapter, struct be_set_eqd *, int num);
num              2416 drivers/net/ethernet/emulex/benet/be_cmds.h 		       u32 num, u32 domain);
num              1542 drivers/net/ethernet/emulex/benet/be_main.c 	u16 num = 0, i = 0;
num              1559 drivers/net/ethernet/emulex/benet/be_main.c 		vids[num++] = cpu_to_le16(i);
num              1561 drivers/net/ethernet/emulex/benet/be_main.c 	status = be_cmd_vlan_config(adapter, adapter->if_handle, vids, num, 0);
num              2234 drivers/net/ethernet/emulex/benet/be_main.c 	int i, num = 0, eqd;
num              2240 drivers/net/ethernet/emulex/benet/be_main.c 			set_eqd[num].delay_multiplier = (eqd * 65)/100;
num              2241 drivers/net/ethernet/emulex/benet/be_main.c 			set_eqd[num].eq_id = eqo->q.id;
num              2243 drivers/net/ethernet/emulex/benet/be_main.c 			num++;
num              2247 drivers/net/ethernet/emulex/benet/be_main.c 	if (num)
num              2248 drivers/net/ethernet/emulex/benet/be_main.c 		be_cmd_modify_eqd(adapter, set_eqd, num);
num              2787 drivers/net/ethernet/emulex/benet/be_main.c 	int num = 0;
num              2796 drivers/net/ethernet/emulex/benet/be_main.c 		num++;
num              2800 drivers/net/ethernet/emulex/benet/be_main.c 	return num;
num              2806 drivers/net/ethernet/emulex/benet/be_main.c 	int num = events_get(eqo);
num              2808 drivers/net/ethernet/emulex/benet/be_main.c 	be_eq_notify(eqo->adapter, eqo->q.id, false, true, num, 0);
num               548 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 	u8 num = 8;
num               555 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 		ret = bman_acquire(bp->pool, bmb, num);
num               557 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			if (num == 8) {
num               561 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 				num = 1;
num               571 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 			for (i = 0; i < num; i++)
num              1468 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	int num = sizeof(struct rtnl_link_stats64) / sizeof(u64);
num              1473 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 		for (j = 0; j < num; j++)
num               349 drivers/net/ethernet/freescale/fman/fman_port.c 	u32 num; /* Committed required resource */
num               908 drivers/net/ethernet/freescale/fman/fman_port.c 	if (port->fifo_bufs.num < min_fifo_size_required)
num               911 drivers/net/ethernet/freescale/fman/fman_port.c 	else if (port->fifo_bufs.num < opt_fifo_size_for_b2b)
num              1367 drivers/net/ethernet/freescale/fman/fman_port.c 	port->fifo_bufs.num =
num              1373 drivers/net/ethernet/freescale/fman/fman_port.c 	port->open_dmas.num =
num              1379 drivers/net/ethernet/freescale/fman/fman_port.c 	port->tasks.num =
num              1392 drivers/net/ethernet/freescale/fman/fman_port.c 		port->open_dmas.num = 16;
num              1487 drivers/net/ethernet/freescale/fman/fman_port.c 	params.num_of_tasks = (u8)port->tasks.num;
num              1489 drivers/net/ethernet/freescale/fman/fman_port.c 	params.num_of_open_dmas = (u8)port->open_dmas.num;
num              1492 drivers/net/ethernet/freescale/fman/fman_port.c 	if (port->fifo_bufs.num) {
num              1497 drivers/net/ethernet/freescale/fman/fman_port.c 	params.size_of_fifo = port->fifo_bufs.num;
num               343 drivers/net/ethernet/freescale/gianfar.c static void gfar_set_mac_for_addr(struct net_device *dev, int num,
num               351 drivers/net/ethernet/freescale/gianfar.c 	macptr += num*2;
num               586 drivers/net/ethernet/freescale/gianfar.c 	int num = 0;
num               590 drivers/net/ethernet/freescale/gianfar.c 			num++;
num               592 drivers/net/ethernet/freescale/gianfar.c 	return num;
num              1768 drivers/net/ethernet/freescale/ucc_geth.c 	u16 i, num;
num              1807 drivers/net/ethernet/freescale/ucc_geth.c 	num = *p_counter;
num              1810 drivers/net/ethernet/freescale/ucc_geth.c 	for (i = 0; i < num; i++)
num               103 drivers/net/ethernet/hisilicon/hisi_femac.c 	int num;
num               178 drivers/net/ethernet/hisilicon/hisi_femac.c 		txq->tail = (txq->tail + 1) % txq->num;
num               220 drivers/net/ethernet/hisilicon/hisi_femac.c 		if (!CIRC_SPACE(pos, rxq->tail, rxq->num))
num               240 drivers/net/ethernet/hisilicon/hisi_femac.c 		pos = (pos + 1) % rxq->num;
num               288 drivers/net/ethernet/hisilicon/hisi_femac.c 		pos = (pos + 1) % rxq->num;
num               305 drivers/net/ethernet/hisilicon/hisi_femac.c 	int ints, num;
num               309 drivers/net/ethernet/hisilicon/hisi_femac.c 		num = hisi_femac_rx(dev, task);
num               310 drivers/net/ethernet/hisilicon/hisi_femac.c 		work_done += num;
num               311 drivers/net/ethernet/hisilicon/hisi_femac.c 		task -= num;
num               349 drivers/net/ethernet/hisilicon/hisi_femac.c 				 unsigned int num)
num               351 drivers/net/ethernet/hisilicon/hisi_femac.c 	queue->skb = devm_kcalloc(dev, num, sizeof(struct sk_buff *),
num               356 drivers/net/ethernet/hisilicon/hisi_femac.c 	queue->dma_phys = devm_kcalloc(dev, num, sizeof(dma_addr_t),
num               361 drivers/net/ethernet/hisilicon/hisi_femac.c 	queue->num = num;
num               408 drivers/net/ethernet/hisilicon/hisi_femac.c 		pos = (pos + 1) % rxq->num;
num               423 drivers/net/ethernet/hisilicon/hisi_femac.c 		pos = (pos + 1) % txq->num;
num               518 drivers/net/ethernet/hisilicon/hisi_femac.c 				 txq->num))) {
num               536 drivers/net/ethernet/hisilicon/hisi_femac.c 	txq->head = (txq->head + 1) % txq->num;
num               468 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	u32 start, end, num, pos, i;
num               476 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	num = CIRC_SPACE(start, end, RX_DESC_NUM);
num               478 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	for (i = 0, pos = start; i < num; i++) {
num               514 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	u32 start, end, num, pos, i, len;
num               520 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	num = CIRC_CNT(end, start, RX_DESC_NUM);
num               521 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	if (num > limit)
num               522 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		num = limit;
num               526 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	for (i = 0, pos = start; i < num; i++) {
num               563 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	return num;
num               593 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	u32 start, end, num, pos, i;
num               602 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	num = CIRC_CNT(end, start, TX_DESC_NUM);
num               604 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	for (i = 0, pos = start; i < num; i++) {
num               646 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	int ints, num;
num               650 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		num = hix5hd2_rx(dev, task);
num               651 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		work_done += num;
num               652 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		task -= num;
num               653 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		if ((work_done >= budget) || (num == 0))
num               825 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	int num, bnum;
num               830 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	num = readl_relaxed(ring->io_base + RCB_REG_FBDNUM);
num               834 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	num -= unused_count;
num               836 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	while (recv_pkts < budget && recv_bds < num) {
num               875 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	int num = 0;
num               882 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	num = readl_relaxed(ring->io_base + RCB_REG_FBDNUM);
num               884 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	if (num <= hns_coal_rx_bdnum(ring)) {
num               902 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	int num;
num               905 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	num = readl_relaxed(ring->io_base + RCB_REG_FBDNUM);
num               907 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	if (num <= hns_coal_rx_bdnum(ring)) {
num              2956 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	int err, num;
num              2958 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	num = readl_relaxed(ring->tqp->io_base + HNS3_RING_RX_RING_FBDNUM_REG);
num              2961 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	num -= unused_count;
num              2964 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	while (recv_pkts < budget && recv_bds < num) {
num               227 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 				  int num, int ntc)
num               233 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	for (handle = 0; handle < num; handle++) {
num               240 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc_ret = le16_to_cpu(desc[num - 1].retval);
num               258 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num)
num               276 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	if (num > hclge_ring_space(&hw->cmq.csq)) {
num               290 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	while (handle < num) {
num               320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		retval = hclge_cmd_check_retval(hw, desc, num, ntc);
num               327 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	else if (handle != num)
num               329 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 			 "cleaned %d, need to clean %d\n", handle, num);
num              1088 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
num              1123 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				      int num)
num              1134 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
num              1264 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
num              1281 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				     int num)
num              1292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
num              1337 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
num               222 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclgevf_desc *desc, int num)
num               242 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	if (num > hclgevf_ring_space(&hw->cmq.csq)) {
num               257 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	while (handle < num) {
num               286 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		while (handle < num) {
num               310 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	if (handle != num)
num               312 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 			 "cleaned %d, need to clean %d\n", handle, num);
num               280 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclgevf_desc *desc, int num);
num              1862 drivers/net/ethernet/ibm/ibmveth.c static ATTR(num, 0644);
num               389 drivers/net/ethernet/intel/iavf/iavf.h int iavf_request_queues(struct iavf_adapter *adapter, int num);
num               407 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c int iavf_request_queues(struct iavf_adapter *adapter, int num)
num               418 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	vfres.num_queue_pairs = min_t(int, num, num_online_cpus());
num              1202 drivers/net/ethernet/intel/ice/ice_sched.c 	u16 num = num_qs;
num              1211 drivers/net/ethernet/intel/ice/ice_sched.c 		num = DIV_ROUND_UP(num, hw->max_children[i]);
num              1214 drivers/net/ethernet/intel/ice/ice_sched.c 		num_nodes[i] = num ? num : 1;
num               422 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c static int ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
num               429 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 			*num = adapter->dcb_cfg.num_tcs.pg_tcs;
num               432 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c 			*num = adapter->dcb_cfg.num_tcs.pfc_tcs;
num               444 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c static int ixgbe_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num)
num              2980 drivers/net/ethernet/marvell/mv643xx_eth.c 	int num;
num              2986 drivers/net/ethernet/marvell/mv643xx_eth.c 		num = 32;
num              2989 drivers/net/ethernet/marvell/mv643xx_eth.c 		num = 1;
num              2994 drivers/net/ethernet/marvell/mv643xx_eth.c 	for (i = 0; i < num; i++) {
num              1111 drivers/net/ethernet/marvell/mvneta.c 	int num;
num              1127 drivers/net/ethernet/marvell/mvneta.c 	num = hwbm_pool_add(hwbm_pool, hwbm_pool->size);
num              1128 drivers/net/ethernet/marvell/mvneta.c 	if (num != hwbm_pool->size) {
num              1130 drivers/net/ethernet/marvell/mvneta.c 		     bm_pool->id, num, hwbm_pool->size);
num              1768 drivers/net/ethernet/marvell/mvneta.c 				 struct mvneta_tx_queue *txq, int num,
num              1774 drivers/net/ethernet/marvell/mvneta.c 	for (i = 0; i < num; i++) {
num              2849 drivers/net/ethernet/marvell/mvneta.c 			   int num)
num              2853 drivers/net/ethernet/marvell/mvneta.c 	for (i = 0; i < num; i++) {
num              2859 drivers/net/ethernet/marvell/mvneta.c 				   __func__, rxq->id, i, num);
num               163 drivers/net/ethernet/marvell/mvneta_bm.c 	int num, err;
num               204 drivers/net/ethernet/marvell/mvneta_bm.c 		num = hwbm_pool_add(hwbm_pool, hwbm_pool->size);
num               205 drivers/net/ethernet/marvell/mvneta_bm.c 		if (num != hwbm_pool->size) {
num               207 drivers/net/ethernet/marvell/mvneta_bm.c 			     new_pool->id, num, hwbm_pool->size);
num               756 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	int num;
num               794 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		num = mvpp2_bm_bufs_add(port, new_pool, pkts_num);
num               795 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (num != pkts_num) {
num               797 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			     new_pool->id, num, pkts_num);
num               813 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	int num;
num               842 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		num = mvpp2_bm_bufs_add(port, new_pool, pkts_num);
num               843 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (num != pkts_num) {
num               845 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			     new_pool->id, num, pkts_num);
num              1925 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				     struct mvpp2_tx_queue *aggr_txq, int num)
num              1927 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if ((aggr_txq->count + num) > MVPP2_AGGR_TXQ_SIZE) {
num              1936 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if ((aggr_txq->count + num) > MVPP2_AGGR_TXQ_SIZE)
num              1949 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 					 struct mvpp2_tx_queue *txq, int num)
num              1955 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	val = (txq->id << MVPP2_TXQ_RSVD_REQ_Q_OFFSET) | num;
num              1969 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 					    int num)
num              1974 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (txq_pcpu->reserved_num >= num)
num              1991 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	req = max(MVPP2_CPU_DESC_CHUNK, num - txq_pcpu->reserved_num);
num              2001 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (txq_pcpu->reserved_num < num)
num              2232 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				struct mvpp2_txq_pcpu *txq_pcpu, int num)
num              2236 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	for (i = 0; i < num; i++) {
num                35 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			 int type, int num,
num              1582 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			 int type, int num,
num              1613 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				      num);
num              1617 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	mw->mbox_wrk = devm_kcalloc(rvu->dev, num,
num              1624 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	mw->mbox_wrk_up = devm_kcalloc(rvu->dev, num,
num              1635 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	hwbase = ioremap_wc(bar4_addr, MBOX_SIZE * num);
num              1642 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	err = otx2_mbox_init(&mw->mbox, hwbase, rvu->pdev, reg_base, dir, num);
num              1647 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			     reg_base, dir_up, num);
num              1651 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (i = 0; i < num; i++) {
num               173 drivers/net/ethernet/mellanox/mlx4/alloc.c int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask,
num               177 drivers/net/ethernet/mellanox/mlx4/alloc.c 	if (num != roundup_pow_of_two(num))
num               182 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->max  = num - reserved_top;
num               185 drivers/net/ethernet/mellanox/mlx4/alloc.c 	bitmap->avail = num - reserved_top - reserved_bot;
num               141 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c static int mlx4_en_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
num               149 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c 		*num = mlx4_max_tc(priv->mdev->dev);
num               151 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c 		*num = 0;
num               135 drivers/net/ethernet/mellanox/mlx4/en_port.c static unsigned long en_stats_adder(__be64 *start, __be64 *next, int num)
num               142 drivers/net/ethernet/mellanox/mlx4/en_port.c 	for (i = 0; i < num; i++) {
num               945 drivers/net/ethernet/mellanox/mlx4/mlx4.h int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask,
num                79 drivers/net/ethernet/mellanox/mlx4/profile.c 		u32 num;
num               123 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_QP].num      = request->num_qp;
num               124 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_RDMARC].num  = request->num_qp * request->rdmarc_per_qp;
num               125 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_ALTC].num    = request->num_qp;
num               126 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_AUXC].num    = request->num_qp;
num               127 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_SRQ].num     = request->num_srq;
num               128 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_CQ].num      = request->num_cq;
num               129 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_EQ].num = mlx4_is_mfunc(dev) ? dev->phys_caps.num_phys_eqs :
num               131 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_DMPT].num    = request->num_mpt;
num               132 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_CMPT].num    = MLX4_NUM_CMPTS;
num               133 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_MTT].num     = request->num_mtt * (1 << log_mtts_per_seg);
num               134 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_MCG].num     = request->num_mcg;
num               138 drivers/net/ethernet/mellanox/mlx4/profile.c 		profile[i].num      = roundup_pow_of_two(profile[i].num);
num               139 drivers/net/ethernet/mellanox/mlx4/profile.c 		profile[i].log_num  = ilog2(profile[i].num);
num               140 drivers/net/ethernet/mellanox/mlx4/profile.c 		profile[i].size    *= profile[i].num;
num               184 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_qps     = profile[i].num;
num               190 drivers/net/ethernet/mellanox/mlx4/profile.c 			     request->num_qp << priv->qp_table.rdmarc_shift < profile[i].num;
num               205 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_srqs     = profile[i].num;
num               210 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_cqs     = profile[i].num;
num               229 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_mpts	= profile[i].num;
num               238 drivers/net/ethernet/mellanox/mlx4/profile.c 			dev->caps.num_mtts	 = profile[i].num;
num               249 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_mgms = profile[i].num;
num               253 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_mgms = profile[i].num >> 1;
num               254 drivers/net/ethernet/mellanox/mlx4/profile.c 				dev->caps.num_amgms = profile[i].num >> 1;
num                 9 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c 		      unsigned int num)
num                13 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c 	for (i = 0; i < num; i++)
num                44 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c 			 unsigned int num)
num                49 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c 	for (i = 0; i < num; i++) {
num                15 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h #define __parse_action(ids, num) parse_action(p, ids, num)
num                19 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 		      unsigned int num);
num                23 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 			 unsigned int num);
num                29 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 				     __field(unsigned int, num)
num                34 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 			__entry->num = (f->rule ?
num                36 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 			if (__entry->num)
num                42 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 			      __entry->cookie, __entry->num ?
num                44 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h 						     __entry->num) : "NULL"
num               238 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c 		trace_seq_printf(p, "vport=%u\n", dst->vport.num);
num               747 drivers/net/ethernet/mellanox/mlx5/core/en.h 	unsigned int           num;
num               357 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c 	for (i = 0; i < priv->channels.num; i++) {
num               256 drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c 	for (i = 0; i < priv->channels.num; i++) {
num               489 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c 	if (unlikely(sq_num >= priv->channels.num))
num               210 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c 	for (i = 0; i < chs->num; i++) {
num               241 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c 	for (i = 0; i < chs->num; i++) {
num               858 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c 				 int tcs_id, u8 *num)
num               866 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c 		*num = mlx5_max_tc(mdev) + 1;
num               520 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for (i = 0; i < priv->channels.num; ++i) {
num              1857 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for (i = 0; i < channels->num; i++) {
num              2353 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	chs->num = chs->params.num_channels;
num              2355 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL);
num              2361 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++) {
num              2383 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	chs->num = 0;
num              2391 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++)
num              2402 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++) {
num              2419 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++)
num              2427 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++)
num              2431 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	chs->num = 0;
num              2583 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	if (ix >= rrp.rss.channels->num)
num              2903 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	int num_txqs = priv->channels.num * priv->channels.params.num_tc;
num              2904 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	int num_rxqs = priv->channels.num * priv->profile->rq_groups;
num              2927 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	ch = priv->channels.num;
num              2986 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	new_num_txqs = new_chs->num * new_chs->params.num_tc;
num              3437 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++) {
num              3451 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < chs->num; i++) {
num              4349 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < priv->channels.num * priv->channels.params.num_tc; i++) {
num              4438 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		prog = bpf_prog_add(prog, priv->channels.num);
num              4475 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	for (i = 0; i < priv->channels.num; i++) {
num               475 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	sqs = kcalloc(priv->channels.num * priv->channels.params.num_tc, sizeof(*sqs), GFP_KERNEL);
num               479 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	for (n = 0; n < priv->channels.num; n++) {
num               228 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	dest.vport.num = vport;
num              2279 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 	dest.vport.num = MLX5_VPORT_UPLINK;
num               185 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 				dest[i].vport.num = attr->dests[j].rep->vport;
num               272 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 		dest[i].vport.num = attr->dests[i].rep->vport;
num               574 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	dest.vport.num = vport;
num               655 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	dest->vport.num = peer_dev->priv.eswitch->manager_vport;
num               816 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 	dest.vport.num = esw->manager_vport;
num                27 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 	hash = jhash((const void *)&dest->vport.num,
num                28 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 		     sizeof(dest->vport.num), hash);
num                30 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 		     sizeof(dest->vport.num), hash);
num                41 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 	       dest1->vport.num != dest2->vport.num ||
num               123 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 	tt->dest.vport.num = dest->vport.num;
num               279 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c 			dest[i].vport.num = tt->dest.vport.num;
num               502 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 				id = dst->dest_attr.vport.num;
num              1415 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		     d1->vport.num == d2->vport.num &&
num               618 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 								dest_action->vport.caps->num,
num               747 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c 				if (action->vport.caps->num == WIRE_PORT)
num               140 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	vport_caps->num = vport_number;
num               162 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c 	wire_vport->num = WIRE_PORT;
num               596 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h 	u32 num;
num               181 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c 	return mlx5dr_action_create_dest_vport(domain, dest_attr->vport.num,
num               361 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 				 unsigned int type_index, unsigned int num) {
num               373 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_input", num + 1);
num               379 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_highest", num + 1);
num               385 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_reset_history", num + 1);
num               391 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "fan%u_input", num + 1);
num               397 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "fan%u_fault", num + 1);
num               404 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "pwm%u", num + 1);
num               410 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_input", num + 1);
num               417 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_fault", num + 1);
num               424 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_crit", num + 1);
num               431 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_emergency", num + 1);
num               438 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_label", num + 1);
num               445 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 			 "temp%u_label", num + 1);
num               497 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	unsigned int num;
num               508 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	num = 0;
num               513 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 					     type_index, num);
num               516 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 					     type_index, num++);
num               519 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	num = 0;
num               524 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 					     type_index, num++);
num               313 drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c_write(struct device *dev, size_t in_mbox_size, u8 *in_mbox, int num,
num               332 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	for (i = 0; i < num; i++) {
num               398 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	int num, chunk_size, reg_size, i, j;
num               409 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		num = reg_size / mlxsw_i2c->block_size;
num               411 drivers/net/ethernet/mellanox/mlxsw/i2c.c 			num++;
num               418 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		err = mlxsw_i2c_write(dev, reg_size, in_mbox, num, status);
num               430 drivers/net/ethernet/mellanox/mlxsw/i2c.c 		num = reg_size / mlxsw_i2c->block_size;
num               445 drivers/net/ethernet/mellanox/mlxsw/i2c.c 	for (i = 0; i < num; i++) {
num                78 drivers/net/ethernet/mellanox/mlxsw/pci.c 	u8 num; /* queue number */
num               242 drivers/net/ethernet/mellanox/mlxsw/pci.c 				   q->num), val);
num               252 drivers/net/ethernet/mellanox/mlxsw/pci.c 				   q->num), val);
num               294 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_mbox_sw2hw_dq_cq_set(mbox, q->num);
num               303 drivers/net/ethernet/mellanox/mlxsw/pci.c 	err = mlxsw_cmd_sw2hw_sdq(mlxsw_pci->core, mbox, q->num);
num               313 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_hw2sw_sdq(mlxsw_pci->core, q->num);
num               400 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_mbox_sw2hw_dq_cq_set(mbox, sdq_count + q->num);
num               408 drivers/net/ethernet/mellanox/mlxsw/pci.c 	err = mlxsw_cmd_sw2hw_rdq(mlxsw_pci->core, mbox, q->num);
num               432 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_hw2sw_rdq(mlxsw_pci->core, q->num);
num               443 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_hw2sw_rdq(mlxsw_pci->core, q->num);
num               457 drivers/net/ethernet/mellanox/mlxsw/pci.c 	    q->num < mlxsw_pci->num_sdq_cqs)
num               490 drivers/net/ethernet/mellanox/mlxsw/pci.c 	err = mlxsw_cmd_sw2hw_cq(mlxsw_pci->core, mbox, q->num);
num               501 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_hw2sw_cq(mlxsw_pci->core, q->num);
num               680 drivers/net/ethernet/mellanox/mlxsw/pci.c 	err = mlxsw_cmd_sw2hw_eq(mlxsw_pci->core, mbox, q->num);
num               691 drivers/net/ethernet/mellanox/mlxsw/pci.c 	mlxsw_cmd_hw2sw_eq(mlxsw_pci->core, q->num);
num               740 drivers/net/ethernet/mellanox/mlxsw/pci.c 		switch (q->num) {
num               829 drivers/net/ethernet/mellanox/mlxsw/pci.c 	q->num = q_num;
num                43 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h #define MLXSW_PCI_DOORBELL(offset, type_offset, num)	\
num                44 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h 	((offset) + (type_offset) + (num) * 4)
num              2162 drivers/net/ethernet/micrel/ksz884x.c 	int num;
num              2166 drivers/net/ethernet/micrel/ksz884x.c 	num = (data & BROADCAST_STORM_RATE_HI);
num              2167 drivers/net/ethernet/micrel/ksz884x.c 	num <<= 8;
num              2168 drivers/net/ethernet/micrel/ksz884x.c 	num |= (data & BROADCAST_STORM_RATE_LO) >> 8;
num              2169 drivers/net/ethernet/micrel/ksz884x.c 	num = DIV_ROUND_CLOSEST(num * 100, BROADCAST_STORM_VALUE);
num              2170 drivers/net/ethernet/micrel/ksz884x.c 	*percent = (u8) num;
num              4833 drivers/net/ethernet/micrel/ksz884x.c 	int num = 1;
num              4858 drivers/net/ethernet/micrel/ksz884x.c 	num = skb_shinfo(skb)->nr_frags + 1;
num              4859 drivers/net/ethernet/micrel/ksz884x.c 	left = hw_alloc_pkt(hw, skb->len, num);
num              4861 drivers/net/ethernet/micrel/ksz884x.c 		if (left < num ||
num              4877 drivers/net/ethernet/micrel/ksz884x.c 		if (left <= num)
num              6849 drivers/net/ethernet/micrel/ksz884x.c 	int num;
num              6851 drivers/net/ethernet/micrel/ksz884x.c 	i = j = num = got_num = 0;
num              6859 drivers/net/ethernet/micrel/ksz884x.c 				num = num * 16 + digit;
num              6870 drivers/net/ethernet/micrel/ksz884x.c 				hw_priv->hw.override_addr[j++] = (u8) num;
num              6875 drivers/net/ethernet/micrel/ksz884x.c 					(u8) num;
num              6879 drivers/net/ethernet/micrel/ksz884x.c 			num = got_num = 0;
num                42 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	int num;
num               129 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	cache->num = symtab_size / sizeof(*rtsymtab);
num               130 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	cache->strtab = (void *)&cache->symtab[cache->num];
num               141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	for (n = 0; n < cache->num; n++)
num               166 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	return rtbl->num;
num               180 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	if (idx >= rtbl->num)
num               201 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c 	for (n = 0; n < rtbl->num; n++)
num                94 drivers/net/ethernet/pasemi/pasemi_mac.h #define TX_DESC(tx, num)	((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)])
num                95 drivers/net/ethernet/pasemi/pasemi_mac.h #define TX_DESC_INFO(tx, num)	((tx)->ring_info[(num) & (TX_RING_SIZE-1)])
num                96 drivers/net/ethernet/pasemi/pasemi_mac.h #define RX_DESC(rx, num)	((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)])
num                97 drivers/net/ethernet/pasemi/pasemi_mac.h #define RX_DESC_INFO(rx, num)	((rx)->ring_info[(num) & (RX_RING_SIZE-1)])
num                98 drivers/net/ethernet/pasemi/pasemi_mac.h #define RX_BUFF(rx, num)	((rx)->buffers[(num) & (RX_RING_SIZE-1)])
num                99 drivers/net/ethernet/pasemi/pasemi_mac.h #define CS_DESC(cs, num)	((cs)->chan.ring_virt[(num) & (CS_RING_SIZE-1)])
num                 7 drivers/net/ethernet/pensando/ionic/ionic_bus.h int ionic_bus_get_irq(struct ionic *ionic, unsigned int num);
num                22 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c int ionic_bus_get_irq(struct ionic *ionic, unsigned int num)
num                24 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c 	return pci_irq_vector(ionic->pdev, num);
num              1521 drivers/net/ethernet/qlogic/qed/qed_dcbx.c static int qed_dcbnl_getnumtcs(struct qed_dev *cdev, int tcid, u8 *num)
num              1534 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 		*num = dcbx_info->operational.params.max_ets_tc;
num              1537 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 		*num = dcbx_info->operational.params.pfc.max_tc;
num              1544 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 	DP_VERBOSE(hwfn, QED_MSG_DCB, "numtcs = %d\n", *num);
num              1688 drivers/net/ethernet/qlogic/qed/qed_dcbx.c static int qed_dcbnl_setnumtcs(struct qed_dev *cdev, int tcid, u8 num)
num              1695 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 	DP_VERBOSE(hwfn, QED_MSG_DCB, "tcid = %d num = %d\n", tcid, num);
num              1704 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 		dcbx_set.config.params.max_ets_tc = num;
num              1708 drivers/net/ethernet/qlogic/qed/qed_dcbx.c 		dcbx_set.config.params.pfc.max_tc = num;
num              2008 drivers/net/ethernet/qlogic/qed/qed_debug.c 			     "%d_%d_%d_%d", fw_info.ver.num.major,
num              2009 drivers/net/ethernet/qlogic/qed/qed_debug.c 			     fw_info.ver.num.minor, fw_info.ver.num.rev,
num              2010 drivers/net/ethernet/qlogic/qed/qed_debug.c 			     fw_info.ver.num.eng) < 0)
num              2700 drivers/net/ethernet/qlogic/qed/qed_hsi.h 	struct fw_ver_num num;
num              1081 drivers/net/ethernet/qlogic/qed/qed_int.c 					u8 num;
num              1083 drivers/net/ethernet/qlogic/qed/qed_int.c 					num = (u8)find_first_bit(&bitmask,
num              1094 drivers/net/ethernet/qlogic/qed/qed_int.c 							 p_aeu->bit_name, num);
num              2774 drivers/net/ethernet/qlogic/qed/qed_l2.c 	mcast.num_mc_addrs = params->num;
num              2423 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			  struct qed_ptt *p_ptt, u8 vf_id, u8 num)
num              2431 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	num *= p_hwfn->cdev->num_hwfns;
num              2435 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	param |= (num << DRV_MB_PARAM_CFG_VF_MSIX_SB_NUM_SHIFT) &
num              2447 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			   num, vf_id);
num              2455 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			  struct qed_ptt *p_ptt, u8 num)
num              2457 drivers/net/ethernet/qlogic/qed/qed_mcp.c 	u32 resp = 0, param = num, rc_param = 0;
num              2468 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			   "Requested 0x%02x MSI-x interrupts for VFs\n", num);
num              2475 drivers/net/ethernet/qlogic/qed/qed_mcp.c 			   struct qed_ptt *p_ptt, u8 vf_id, u8 num)
num              2478 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		return qed_mcp_config_vf_msix_bb(p_hwfn, p_ptt, vf_id, num);
num              2480 drivers/net/ethernet/qlogic/qed/qed_mcp.c 		return qed_mcp_config_vf_msix_ah(p_hwfn, p_ptt, num);
num               968 drivers/net/ethernet/qlogic/qed/qed_mcp.h 			   struct qed_ptt *p_ptt, u8 vf_id, u8 num);
num              4524 drivers/net/ethernet/qlogic/qed/qed_sriov.c static int qed_sriov_enable(struct qed_dev *cdev, int num)
num              4531 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) {
num              4546 drivers/net/ethernet/qlogic/qed/qed_sriov.c 					  FEAT_NUM(hwfn, QED_VF_L2_QUE) / num,
num              4555 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		for (i = 0; i < num; i++) {
num              4572 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	rc = pci_enable_sriov(cdev->pdev, num);
num              4591 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	return num;
num                91 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c static int qede_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
num                95 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c 	return edev->ops->dcb->getnumtcs(edev->cdev, tcid, num);
num               160 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c static int qede_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num)
num               164 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c 	return edev->ops->dcb->setnumtcs(edev->cdev, tcid, num);
num              1139 drivers/net/ethernet/qlogic/qede/qede_filter.c 	filter_cmd.filter.mcast.num = num_macs;
num              1521 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	u32 num;
num               459 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	for (i = 0; i < cmd->rsp.num; i++)
num               809 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		 "Host MBX regs(%d)\n", cmd->req.num);
num               810 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	for (i = 0; i < cmd->req.num; i++) {
num               817 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		 "FW MBX regs(%d)\n", cmd->rsp.num);
num               818 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	for (i = 0; i < cmd->rsp.num; i++) {
num               911 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			mbx->req.num = mbx_tbl[i].in_args;
num               912 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			mbx->rsp.num = mbx_tbl[i].out_args;
num               913 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32),
num               917 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32),
num               925 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 			mbx->req.arg[0] = (type | (mbx->req.num << 16) | temp);
num              3481 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	total_regs = cmd->rsp.num;
num              3534 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.rsp.num = QLC_83XX_TX_STAT_REGS;
num              3543 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.rsp.num = QLC_83XX_MAC_STAT_REGS;
num              3544 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	memset(cmd.rsp.arg, 0, sizeof(u32) * cmd.rsp.num);
num              3553 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.rsp.num = QLC_83XX_RX_STAT_REGS;
num              3554 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	memset(cmd.rsp.arg, 0, sizeof(u32) * cmd.rsp.num);
num              3965 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		for (i = 1; i < cmd->req.num; i++)
num                63 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 			mbx->req.num = mbx_tbl[i].in_args;
num                64 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 			mbx->rsp.num = mbx_tbl[i].out_args;
num                65 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 			mbx->req.arg = kcalloc(mbx->req.num,
num                69 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 			mbx->rsp.arg = kcalloc(mbx->rsp.num,
num               130 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 	for (i = 1; i < cmd->req.num; i++)
num               167 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c 	for (i = 1; i < cmd->rsp.num; i++)
num               909 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c static int qlcnic_dcb_get_num_tcs(struct net_device *netdev, int attr, u8 *num)
num               919 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c 		*num = cfg->capability.max_ets_tc;
num               922 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c 		*num = cfg->capability.max_pfc_tc;
num               727 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->req.num = mbx_tbl[i].in_args;
num               728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->rsp.num = mbx_tbl[i].out_args;
num               729 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32),
num               733 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32),
num               740 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->req.arg[0] = (type | (mbx->req.num << 16) |
num               742 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 			mbx->rsp.arg[0] = (type & 0xffff) | mbx->rsp.num << 16;
num               763 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		num_regs = cmd->req.num;
num               765 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		num_regs = cmd->rsp.num;
num               792 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		cmd->req.num = trans->req_pay_size / 4;
num               793 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 		cmd->rsp.num = trans->rsp_pay_size / 4;
num               895 drivers/net/ethernet/sfc/mcdi_pcol.h #define    FCDI_EXTENDED_EVENT_PPS_LEN(num) (8+8*(num))
num              1032 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_READ32_OUT_LEN(num) (0+4*(num))
num              1050 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_WRITE32_IN_LEN(num) (4+4*(num))
num              1437 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PTP_IN_TRANSMIT_LEN(num) (12+1*(num))
num              1602 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PTP_IN_FPGAWRITE_LEN(num) (12+1*(num))
num              1943 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PTP_OUT_SYNCHRONIZE_LEN(num) (0+20*(num))
num              2025 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PTP_OUT_FPGAREAD_LEN(num) (0+1*(num))
num              2162 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_CSR_READ32_OUT_LEN(num) (0+4*(num))
num              2181 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_CSR_WRITE32_IN_LEN(num) (8+4*(num))
num              2259 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_STACKINFO_OUT_LEN(num) (0+12*(num))
num              2372 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_DBI_WRITE_IN_LEN(num) (0+12*(num))
num              2538 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_GET_BOARD_CFG_OUT_LEN(num) (72+2*(num))
num              2606 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_DBI_READX_IN_LEN(num) (0+8*(num))
num              2618 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_DBI_READX_OUT_LEN(num) (0+4*(num))
num              2673 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_LTSSM_HIST_OUT_LEN(num) (0+4*(num))
num              2936 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PUTS_IN_LEN(num) (12+1*(num))
num              3298 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_FLUSH_RX_QUEUES_IN_LEN(num) (0+4*(num))
num              4406 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MEMCPY_IN_LEN(num) (0+32*(num))
num              4823 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_NVRAM_READ_OUT_LEN(num) (0+1*(num))
num              4843 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_NVRAM_WRITE_IN_LEN(num) (12+1*(num))
num              5038 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SCHEDINFO_OUT_LEN(num) (0+4*(num))
num              5127 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SENSOR_INFO_OUT_LEN(num) (4+8*(num))
num              5317 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SENSOR_INFO_EXT_OUT_LEN(num) (4+8*(num))
num              5496 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_ADD_LIGHTSOUT_OFFLOAD_IN_LEN(num) (4+4*(num))
num              5686 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_GET_PHY_MEDIA_INFO_OUT_LEN(num) (4+1*(num))
num              5835 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_NVRAM_PARTITIONS_OUT_LEN(num) (4+4*(num))
num              5864 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_NVRAM_METADATA_OUT_LEN(num) (20+1*(num))
num              6095 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_IN_WRITE_LEN(num) (12+4*(num))
num              6116 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_IN_RAW_CMD_LEN(num) (16+1*(num))
num              6420 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_OUT_RAW_CMD_LEN(num) (0+1*(num))
num              6430 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_OUT_READ_LEN(num) (0+4*(num))
num              6493 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_OUT_READ_SENSORS_LEN(num) (0+4*(num))
num              6540 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_OUT_QSFP_GET_MEDIA_INFO_LEN(num) (4+1*(num))
num              6564 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_MUM_OUT_READ_DDR_INFO_LEN(num) (8+8*(num))
num              7052 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_INIT_EVQ_IN_LEN(num) (36+8*(num))
num              7135 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_INIT_EVQ_V2_IN_LEN(num) (36+8*(num))
num              7282 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_INIT_RXQ_IN_LEN(num) (28+8*(num))
num              7542 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_INIT_TXQ_IN_LEN(num) (28+8*(num))
num              7999 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PROGRAM_BUFTBL_ENTRIES_IN_LEN(num) (12+8*(num))
num              8771 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_GET_PARSER_DISP_INFO_OUT_LEN(num) (8+4*(num))
num              9489 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SATELLITE_DOWNLOAD_IN_LEN(num) (16+4*(num))
num              11901 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_VPORT_GET_MAC_ADDRESSES_OUT_LEN(num) (4+6*(num))
num              12012 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_DUMP_BUFTBL_ENTRIES_OUT_LEN(num) (0+12*(num))
num              12338 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_CAP_BLK_READ_OUT_LEN(num) (0+8*(num))
num              12568 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_UART_SEND_DATA_OUT_LEN(num) (16+1*(num))
num              12617 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_UART_RECV_DATA_IN_LEN(num) (16+1*(num))
num              12656 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_READ_FUSES_OUT_LEN(num) (4+1*(num))
num              12678 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_IN_LEN(num) (4+4*(num))
num              12731 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_RXEQ_GET_OUT_LEN(num) (0+4*(num))
num              12844 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_RXEQ_SET_IN_LEN(num) (4+4*(num))
num              12888 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_TXEQ_GET_OUT_LEN(num) (0+4*(num))
num              12939 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_TXEQ_SET_IN_LEN(num) (4+4*(num))
num              13026 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_KR_TUNE_POLL_EYE_PLOT_OUT_LEN(num) (0+2*(num))
num              13139 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PCIE_TUNE_IN_LEN(num) (4+4*(num))
num              13184 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PCIE_TUNE_RXEQ_GET_OUT_LEN(num) (0+4*(num))
num              13243 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PCIE_TUNE_RXEQ_SET_IN_LEN(num) (4+4*(num))
num              13287 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PCIE_TUNE_TXEQ_GET_OUT_LEN(num) (0+4*(num))
num              13340 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_PCIE_TUNE_POLL_EYE_PLOT_OUT_LEN(num) (0+2*(num))
num              13492 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_LICENSING_GET_ID_V3_OUT_LEN(num) (8+1*(num))
num              13621 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_LICENSED_APP_OP_IN_LEN(num) (8+4*(num))
num              13641 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_LICENSED_APP_OP_OUT_LEN(num) (0+4*(num))
num              13924 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SET_PARSER_DISP_CONFIG_IN_LEN(num) (8+4*(num))
num              13978 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_GET_PARSER_DISP_CONFIG_OUT_LEN(num) (0+4*(num))
num              14460 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_READ_BYTES_OUT_LEN(num) (0+1*(num))
num              14479 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_WRITE_BYTES_IN_LEN(num) (8+1*(num))
num              14516 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_READ_SECTOR_OUT_LEN(num) (4+1*(num))
num              14543 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_WRITE_SECTOR_IN_LEN(num) (12+1*(num))
num              14612 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_BLANK_CHECK_OUT_LEN(num) (4+2*(num))
num              14770 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_LEN(num) (4+4*(num))
num              14838 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_NVRAM_PRIVATE_APPEND_IN_LEN(num) (8+1*(num))
num              14874 drivers/net/ethernet/sfc/mcdi_pcol.h #define    MC_CMD_XPM_VERIFY_CONTENTS_OUT_LEN(num) (12+1*(num))
num               744 drivers/net/ethernet/socionext/netsec.c static void netsec_rx_fill(struct netsec_priv *priv, u16 from, u16 num)
num               749 drivers/net/ethernet/socionext/netsec.c 	while (num) {
num               754 drivers/net/ethernet/socionext/netsec.c 		num--;
num               740 drivers/net/ethernet/socionext/sni_ave.c static int ave_rx_receive(struct net_device *ndev, int num)
num               756 drivers/net/ethernet/socionext/sni_ave.c 	for (npkts = 0; npkts < num; npkts++) {
num               820 drivers/net/ethernet/socionext/sni_ave.c 	int num;
num               825 drivers/net/ethernet/socionext/sni_ave.c 	num = ave_rx_receive(ndev, budget);
num               826 drivers/net/ethernet/socionext/sni_ave.c 	if (num < budget) {
num               827 drivers/net/ethernet/socionext/sni_ave.c 		napi_complete_done(napi, num);
num               833 drivers/net/ethernet/socionext/sni_ave.c 	return num;
num               840 drivers/net/ethernet/socionext/sni_ave.c 	int num;
num               845 drivers/net/ethernet/socionext/sni_ave.c 	num = ave_tx_complete(ndev);
num               851 drivers/net/ethernet/socionext/sni_ave.c 	return num;
num               260 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 	int i, num = variant->num_clks;
num               262 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 	plat->clks = devm_kcalloc(plat->dev, num, sizeof(*plat->clks), GFP_KERNEL);
num               266 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 	for (i = 0; i < num; i++)
num               269 drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c 	return devm_clk_bulk_get(plat->dev, num, plat->clks);
num              2206 drivers/net/ethernet/sun/cassini.c static int cas_post_rxds_ringN(struct cas *cp, int ring, int num)
num              2219 drivers/net/ethernet/sun/cassini.c 	last = RX_DESC_ENTRY(ring, num ? entry + num - 4: entry - 4);
num              2234 drivers/net/ethernet/sun/cassini.c 				cp->rx_last[ring] = num ? num - released : 0;
num              2680 drivers/net/ethernet/sun/niu.c 				   int num, int mac_pref)
num              2684 drivers/net/ethernet/sun/niu.c 	val |= num;
num               254 drivers/net/ethernet/sun/sunbmac.h #define NEXT_RX(num)       (((num) + 1) & (RX_RING_SIZE - 1))
num               255 drivers/net/ethernet/sun/sunbmac.h #define NEXT_TX(num)       (((num) + 1) & (TX_RING_SIZE - 1))
num               256 drivers/net/ethernet/sun/sunbmac.h #define PREV_RX(num)       (((num) - 1) & (RX_RING_SIZE - 1))
num               257 drivers/net/ethernet/sun/sunbmac.h #define PREV_TX(num)       (((num) - 1) & (TX_RING_SIZE - 1))
num               360 drivers/net/ethernet/sun/sunhme.h #define NEXT_RX(num)       (((num) + 1) & (RX_RING_SIZE - 1))
num               361 drivers/net/ethernet/sun/sunhme.h #define NEXT_TX(num)       (((num) + 1) & (TX_RING_SIZE - 1))
num               362 drivers/net/ethernet/sun/sunhme.h #define PREV_RX(num)       (((num) - 1) & (RX_RING_SIZE - 1))
num               363 drivers/net/ethernet/sun/sunhme.h #define PREV_TX(num)       (((num) - 1) & (TX_RING_SIZE - 1))
num               294 drivers/net/ethernet/sun/sunqe.h #define NEXT_RX(num)       (((num) + 1) & (RX_RING_MAXSIZE - 1))
num               295 drivers/net/ethernet/sun/sunqe.h #define NEXT_TX(num)       (((num) + 1) & (TX_RING_MAXSIZE - 1))
num               296 drivers/net/ethernet/sun/sunqe.h #define PREV_RX(num)       (((num) - 1) & (RX_RING_MAXSIZE - 1))
num               297 drivers/net/ethernet/sun/sunqe.h #define PREV_TX(num)       (((num) - 1) & (TX_RING_MAXSIZE - 1))
num               234 drivers/net/ethernet/ti/cpsw.c static int cpsw_add_mc_addr(struct net_device *ndev, const u8 *addr, int num)
num               245 drivers/net/ethernet/ti/cpsw.c 	if (sync_ctx.consumed < num && !ret)
num               251 drivers/net/ethernet/ti/cpsw.c static int cpsw_del_mc_addr(struct net_device *ndev, const u8 *addr, int num)
num               261 drivers/net/ethernet/ti/cpsw.c 	if (sync_ctx.consumed == num)
num               292 drivers/net/ethernet/ti/cpsw.c static int cpsw_purge_all_mc(struct net_device *ndev, const u8 *addr, int num)
num               301 drivers/net/ethernet/ti/cpsw.c 	if (sync_ctx.consumed < num)
num              2056 drivers/net/ethernet/ti/tlan.c static void tlan_print_list(struct tlan_list *list, char *type, int num)
num              2060 drivers/net/ethernet/ti/tlan.c 	pr_info("%s List %d at %p\n", type, num, list);
num               443 drivers/net/fddi/defxx.c 		int num = dfx_use_mmio ? 0 : 1;
num               445 drivers/net/fddi/defxx.c 		bar_start[0] = pci_resource_start(to_pci_dev(bdev), num);
num               446 drivers/net/fddi/defxx.c 		bar_len[0] = pci_resource_len(to_pci_dev(bdev), num);
num               477 drivers/net/fddi/skfp/drvfbi.c static int is_equal_num(char comp1[], char comp2[], int num)
num               481 drivers/net/fddi/skfp/drvfbi.c 	for (i = 0 ; i < num ; i++) {
num               114 drivers/net/hamradio/hdlcdrv.c 			     int num)
num               118 drivers/net/hamradio/hdlcdrv.c 	while (s->hdlcrx.rx_state && num >= 8) {
num               123 drivers/net/hamradio/hdlcdrv.c 		*s->hdlcrx.bp++ = bits >> (32-num);
num               125 drivers/net/hamradio/hdlcdrv.c 		num -= 8;
num                27 drivers/net/netdevsim/fib.c 	u64 num;
num                64 drivers/net/netdevsim/fib.c 	return max ? entry->max : entry->num;
num                94 drivers/net/netdevsim/fib.c 	if (val < entry->num) {
num               110 drivers/net/netdevsim/fib.c 		if (entry->num < entry->max) {
num               111 drivers/net/netdevsim/fib.c 			entry->num++;
num               117 drivers/net/netdevsim/fib.c 		entry->num--;
num               147 drivers/net/netdevsim/fib.c 		if (entry->num < entry->max) {
num               148 drivers/net/netdevsim/fib.c 			entry->num++;
num               154 drivers/net/netdevsim/fib.c 		entry->num--;
num               209 drivers/net/netdevsim/fib.c 		data->ipv4.fib.num = 0ULL;
num               210 drivers/net/netdevsim/fib.c 		data->ipv4.rules.num = 0ULL;
num               212 drivers/net/netdevsim/fib.c 		data->ipv6.fib.num = 0ULL;
num               213 drivers/net/netdevsim/fib.c 		data->ipv6.rules.num = 0ULL;
num               662 drivers/net/ppp/pppoe.c 		po->num = 0;
num               709 drivers/net/ppp/pppoe.c 	po->num = sp->sa_addr.pppoe.sid;
num               860 drivers/net/ppp/pppoe.c 	hdr.sid = po->num;
num               948 drivers/net/ppp/pppoe.c 	ph->sid	= po->num;
num              1219 drivers/net/tap.c 		for (i = 0; i < ctl->num; i++) {
num              2545 drivers/net/tun.c 		int n = ctl->num;
num               214 drivers/net/usb/cdc-phonet.c 	unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber;
num               216 drivers/net/usb/cdc-phonet.c 	err = usb_set_interface(pnd->usb, num, pnd->active_setting);
num               239 drivers/net/usb/cdc-phonet.c 	unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber;
num               253 drivers/net/usb/cdc-phonet.c 	return usb_set_interface(pnd->usb, num, !pnd->active_setting);
num               924 drivers/net/usb/qmi_wwan.c #define QMI_FIXED_INTF(vend, prod, num) \
num               925 drivers/net/usb/qmi_wwan.c 	USB_DEVICE_INTERFACE_NUMBER(vend, prod, num), \
num               929 drivers/net/usb/qmi_wwan.c #define QMI_QUIRK_SET_DTR(vend, prod, num) \
num               930 drivers/net/usb/qmi_wwan.c 	USB_DEVICE_INTERFACE_NUMBER(vend, prod, num), \
num               678 drivers/net/usb/usbnet.c 	int num = 0;
num               684 drivers/net/usb/usbnet.c 		num++;
num               690 drivers/net/usb/usbnet.c 		  "paused rx queue disabled, %d skbs requeued\n", num);
num                99 drivers/net/wan/cosa.c 	int num;	/* Number of the channel */
num               132 drivers/net/wan/cosa.c 	int num;			/* Card number */
num               365 drivers/net/wan/cosa.c 		cosa_cards[i].num = -1;
num               527 drivers/net/wan/cosa.c 	cosa->num = nr_cards;
num               545 drivers/net/wan/cosa.c 	sprintf(cosa->name, "cosa%d", cosa->num);
num               558 drivers/net/wan/cosa.c 		chan->num = i;
num               559 drivers/net/wan/cosa.c 		sprintf(chan->name, "cosa%dc%d", chan->cosa->num, i);
num               588 drivers/net/wan/cosa.c 		cosa->num, cosa->id_string, cosa->type,
num               607 drivers/net/wan/cosa.c 	pr_notice("cosa%d: allocating resources failed\n", cosa->num);
num              1002 drivers/net/wan/cosa.c 			cosa->num, cosa->usage);
num              1005 drivers/net/wan/cosa.c 		pr_notice("cosa%d: reset failed\n", cosa->num);
num              1008 drivers/net/wan/cosa.c 	pr_info("cosa%d: resetting device: %s\n", cosa->num, idstring);
num              1043 drivers/net/wan/cosa.c 			  cosa->num, i);
num              1047 drivers/net/wan/cosa.c 		cosa->num, d.len, d.addr);
num              1060 drivers/net/wan/cosa.c 			cosa->num, cosa->usage);
num              1075 drivers/net/wan/cosa.c 		pr_notice("cosa%d: reading memory failed: %d\n", cosa->num, i);
num              1079 drivers/net/wan/cosa.c 		cosa->num, d.len, d.addr);
num              1091 drivers/net/wan/cosa.c 			cosa->num, cosa->usage);
num              1102 drivers/net/wan/cosa.c 			  cosa->num, address, i);
num              1105 drivers/net/wan/cosa.c 	pr_info("cosa%d: starting microcode at 0x%04x\n", cosa->num, address);
num              1210 drivers/net/wan/cosa.c 	if (!test_and_set_bit(chan->num, &cosa->rxbitmap))
num              1218 drivers/net/wan/cosa.c 	if (test_and_clear_bit(chan->num, &cosa->rxbitmap))
num              1236 drivers/net/wan/cosa.c 		chan->cosa->num, chan->num, len);
num              1249 drivers/net/wan/cosa.c 	set_bit(chan->num, &cosa->txbitmap);
num              1419 drivers/net/wan/cosa.c 	printk(KERN_DEBUG "cosa%d: download completed.\n", cosa->num);
num              1445 drivers/net/wan/cosa.c 	printk(KERN_DEBUG "cosa%d: microcode started\n", cosa->num);
num              1495 drivers/net/wan/cosa.c 	printk(KERN_DEBUG "cosa%d: readmem completed.\n", cosa->num);
num              1593 drivers/net/wan/cosa.c 		cosa->num, cosa_getstatus(cosa));
num              1613 drivers/net/wan/cosa.c 				  cosa->num, i);
num              1618 drivers/net/wan/cosa.c 				  cosa->num, i);
num              1663 drivers/net/wan/cosa.c 	pr_info("cosa%d: SR_DOWN_REQUEST status=0x%04x\n", cosa->num, status);
num              1798 drivers/net/wan/cosa.c 	pr_info("cosa%d: SR_UP_REQUEST\n", cosa->num);
num              1822 drivers/net/wan/cosa.c 				cosa->num, cosa->rxsize);
num              1832 drivers/net/wan/cosa.c 			cosa->num, cosa->rxsize);
num              1852 drivers/net/wan/cosa.c 			cosa->num, cosa->rxchan->num);
num              1893 drivers/net/wan/cosa.c 				clear_bit(chan->num, &cosa->txbitmap);
num              1899 drivers/net/wan/cosa.c 			cosa->num, cosa->rxchan->num, cosa->rxsize);
num              1912 drivers/net/wan/cosa.c 				clear_bit(cosa->rxchan->num, &cosa->rxbitmap);
num              1914 drivers/net/wan/cosa.c 		pr_notice("cosa%d: unexpected EOT interrupt\n", cosa->num);
num              1936 drivers/net/wan/cosa.c 	pr_info("cosa%d: got IRQ, status 0x%02x\n", cosa->num, status & 0xff);
num              1958 drivers/net/wan/cosa.c 			cosa->num, status & 0xff, count);
num               158 drivers/net/wan/sbni.c static int  num		__initdata = 0;
num               263 drivers/net/wan/sbni.c 	if( io[ num ] != -1 )
num               264 drivers/net/wan/sbni.c 		dev->base_addr	= io[ num ],
num               265 drivers/net/wan/sbni.c 		dev->irq	= irq[ num ];
num               277 drivers/net/wan/sbni.c 	if( io[ num ] == -1 ) {
num               280 drivers/net/wan/sbni.c 		if( num > 0 )
num               394 drivers/net/wan/sbni.c 		((mac[num] ?
num               395 drivers/net/wan/sbni.c 		mac[num] :
num               400 drivers/net/wan/sbni.c 	nl->csr1.rate = baud[ num ];
num               402 drivers/net/wan/sbni.c 	if( (nl->cur_rxl_index = rxl[ num ]) == -1 )
num               433 drivers/net/wan/sbni.c 	sbni_cards[ num++ ] = dev;
num              1476 drivers/net/wan/sbni.c 	while( num < SBNI_MAX_NUM_CARDS ) {
num              1482 drivers/net/wan/sbni.c 		sprintf( dev->name, "sbni%d", num );
num               361 drivers/net/wireless/ath/ath10k/ce.h #define CE_RING_IDX_ADD(nentries_mask, idx, num) \
num               362 drivers/net/wireless/ath/ath10k/ce.h 		(((idx) + (num)) & (nentries_mask))
num               129 drivers/net/wireless/ath/ath10k/htt_rx.c static int __ath10k_htt_rx_ring_fill_n(struct ath10k_htt *htt, int num)
num               145 drivers/net/wireless/ath/ath10k/htt_rx.c 	while (num > 0) {
num               183 drivers/net/wireless/ath/ath10k/htt_rx.c 		num--;
num               198 drivers/net/wireless/ath/ath10k/htt_rx.c static int ath10k_htt_rx_ring_fill_n(struct ath10k_htt *htt, int num)
num               201 drivers/net/wireless/ath/ath10k/htt_rx.c 	return __ath10k_htt_rx_ring_fill_n(htt, num);
num               670 drivers/net/wireless/ath/ath10k/mac.c 	int *num = data;
num               672 drivers/net/wireless/ath/ath10k/mac.c 	(*num)++;
num               677 drivers/net/wireless/ath/ath10k/mac.c 	int num = 0;
num               681 drivers/net/wireless/ath/ath10k/mac.c 					    &num);
num               683 drivers/net/wireless/ath/ath10k/mac.c 	return num;
num              1894 drivers/net/wireless/ath/ath10k/mac.c 	int num = 0;
num              1900 drivers/net/wireless/ath/ath10k/mac.c 			num++;
num              1902 drivers/net/wireless/ath/ath10k/mac.c 	return num;
num               809 drivers/net/wireless/ath/ath10k/pci.c 	int ret, num;
num               818 drivers/net/wireless/ath/ath10k/pci.c 	num = __ath10k_ce_rx_num_free_bufs(ce_pipe);
num               821 drivers/net/wireless/ath/ath10k/pci.c 	while (num >= 0) {
num               831 drivers/net/wireless/ath/ath10k/pci.c 		num--;
num              2010 drivers/net/wireless/ath/ath10k/sdio.c 		   func->num, func->vendor, func->device,
num              2109 drivers/net/wireless/ath/ath10k/sdio.c 		   func->num, func->vendor, func->device);
num               529 drivers/net/wireless/ath/ath10k/snoc.c 	int ret, num;
num               538 drivers/net/wireless/ath/ath10k/snoc.c 	num = __ath10k_ce_rx_num_free_bufs(ce_pipe);
num               540 drivers/net/wireless/ath/ath10k/snoc.c 	while (num--) {
num              8072 drivers/net/wireless/ath/ath10k/wmi.c 	size_t num = 0;
num              8075 drivers/net/wireless/ath/ath10k/wmi.c 		++num;
num              8077 drivers/net/wireless/ath/ath10k/wmi.c 	return num;
num              8083 drivers/net/wireless/ath/ath10k/wmi.c 	size_t num = 0;
num              8086 drivers/net/wireless/ath/ath10k/wmi.c 		++num;
num              8088 drivers/net/wireless/ath/ath10k/wmi.c 	return num;
num              2600 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	int num;
num              2603 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	num = get_queue_depth(&(target->endpoint[endpoint].rx_bufq));
num              2605 drivers/net/wireless/ath/ath6kl/htc_mbox.c 	return num;
num              1530 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	int num;
num              1533 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	num = get_queue_depth(&(target->endpoint[endpoint].rx_bufq));
num              1536 drivers/net/wireless/ath/ath6kl/htc_pipe.c 	return num;
num               304 drivers/net/wireless/ath/ath6kl/sdio.c 	ath6kl_sdio_set_cmd53_arg(&cmd.arg, rw, ar_sdio->func->num,
num              1317 drivers/net/wireless/ath/ath6kl/sdio.c 		   func->num, func->vendor, func->device,
num              1397 drivers/net/wireless/ath/ath6kl/sdio.c 		   func->num, func->vendor, func->device);
num               845 drivers/net/wireless/ath/ath6kl/txrx.c static void ath6kl_alloc_netbufs(struct sk_buff_head *q, u16 num)
num               849 drivers/net/wireless/ath/ath6kl/txrx.c 	while (num) {
num               856 drivers/net/wireless/ath/ath6kl/txrx.c 		num--;
num               407 drivers/net/wireless/ath/ath9k/ar9003_paprd.c static inline int find_expn(int num)
num               409 drivers/net/wireless/ath/ath9k/ar9003_paprd.c 	return fls(num) - 1;
num              2325 drivers/net/wireless/broadcom/b43/phy_g.c static s32 b43_tssi2dbm_ad(s32 num, s32 den)
num              2327 drivers/net/wireless/broadcom/b43/phy_g.c 	if (num < 0)
num              2328 drivers/net/wireless/broadcom/b43/phy_g.c 		return num / den;
num              2330 drivers/net/wireless/broadcom/b43/phy_g.c 		return (num + den / 2) / den;
num               716 drivers/net/wireless/broadcom/b43/phy_ht.c 		s32 num, den, pwr;
num               720 drivers/net/wireless/broadcom/b43/phy_ht.c 			num = 8 * (16 * b0[c] + b1[c] * i);
num               722 drivers/net/wireless/broadcom/b43/phy_ht.c 			pwr = max((4 * num + den / 2) / den, -8);
num              4053 drivers/net/wireless/broadcom/b43/phy_n.c 	s32 num, den, pwr;
num              4199 drivers/net/wireless/broadcom/b43/phy_n.c 			num = 8 * (16 * b0[c] + b1[c] * i);
num              4201 drivers/net/wireless/broadcom/b43/phy_n.c 			pwr = max((4 * num + den / 2) / den, -8);
num               702 drivers/net/wireless/broadcom/b43/tables_phy_ht.c void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...)
num               711 drivers/net/wireless/broadcom/b43/tables_phy_ht.c 	va_start(args, num);
num               715 drivers/net/wireless/broadcom/b43/tables_phy_ht.c 		for (i = 0; i < num; i++) {
num               723 drivers/net/wireless/broadcom/b43/tables_phy_ht.c 		for (i = 0; i < num; i++) {
num               731 drivers/net/wireless/broadcom/b43/tables_phy_ht.c 		for (i = 0; i < num; i++) {
num                18 drivers/net/wireless/broadcom/b43/tables_phy_ht.h void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...);
num              1933 drivers/net/wireless/broadcom/b43legacy/phy.c s32 b43legacy_tssi2dbm_ad(s32 num, s32 den)
num              1935 drivers/net/wireless/broadcom/b43legacy/phy.c 	if (num < 0)
num              1936 drivers/net/wireless/broadcom/b43legacy/phy.c 		return num/den;
num              1938 drivers/net/wireless/broadcom/b43legacy/phy.c 		return (num+den/2)/den;
num               295 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	switch (func->num) {
num               305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 		WARN(1, "invalid sdio function number: %d\n", func->num);
num               347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	if (func->num == 1)
num               437 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	mmc_cmd.arg |= (func->num & 0x7) << 28;	/* SDIO func num */
num               440 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	mmc_cmd.arg |= (func->num == 1) ? 1 << 26 : 0;
num               744 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	brcmf_sdiod_func0_wb(sdiodev, SDIO_CCCR_ABORT, func->num, NULL);
num              1003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	brcmf_dbg(SDIO, "Function#: %d\n", func->num);
num              1014 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	if (func->num == 1)
num              1018 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	if (func->num != 2)
num              1071 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	brcmf_dbg(SDIO, "Function: %d\n", func->num);
num              1080 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 		if (func->num != 1)
num              1114 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	brcmf_dbg(SDIO, "Enter: F%d\n", func->num);
num              1115 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	if (func->num != 1)
num              1143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	brcmf_dbg(SDIO, "Enter: F%d\n", func->num);
num              1144 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c 	if (func->num != 2)
num              1480 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	u8 *dptr, num = 0;
num              1506 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		for (totlen = num = 0; dlen; num++) {
num              1512 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 			    ((num == 0) && (sublen < (2 * SDPCM_HDRLEN)))) {
num              1514 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 					  num, sublen);
num              1536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 					  num, sublen);
num              1549 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 				  totlen, num);
num              1558 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 			num = 0;
num              1619 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		num = 0;
num              1636 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 			num++;
num              1688 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	return num;
num              17571 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	s32 num, den, pwr_est;
num              17748 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			num = 8 *
num              17751 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 			pwr_est = max(DIV_ROUND_CLOSEST(4 * num, den), -8);
num               416 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				int num);
num               479 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			       int num)
num               485 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	IPW_DEBUG_IO("addr = %i, buf = %p, num = %i\n", addr, buf, num);
num               487 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (num <= 0) {
num               495 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		for (i = dif_len; ((i < 4) && (num > 0)); i++, num--)
num               502 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	for (; num >= 4; buf += 4, aligned_addr += 4, num -= 4)
num               506 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (unlikely(num)) {
num               508 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		for (i = 0; num > 0; i++, num--)
num               516 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				int num)
num               522 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	IPW_DEBUG_IO("addr = %i, buf = %p, num = %i\n", addr, buf, num);
num               524 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (num <= 0) {
num               532 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		for (i = dif_len; ((i < 4) && (num > 0)); i++, num--, buf++)
num               539 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	for (; num >= 4; buf += 4, aligned_addr += 4, num -= 4)
num               543 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (unlikely(num)) {
num               545 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		for (i = 0; num > 0; i++, num--, buf++)
num               553 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			     int num)
num               555 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	memcpy_toio((priv->hw_base + addr), buf, num);
num              5038 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u8 num;
num              5059 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_desc_lookup(u32 num)
num              5064 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	if (num < max)
num              5065 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		return desc_lookup_text[num];
num              5069 drivers/net/wireless/intel/iwlegacy/4965-mac.c 		if (advanced_lookup[i].num == num)
num               553 drivers/net/wireless/intel/iwlegacy/4965.c il4965_math_div_round(s32 num, s32 denom, s32 * res)
num               557 drivers/net/wireless/intel/iwlegacy/4965.c 	if (num < 0) {
num               559 drivers/net/wireless/intel/iwlegacy/4965.c 		num = -num;
num               565 drivers/net/wireless/intel/iwlegacy/4965.c 	*res = ((num * 2 + denom) / (denom * 2)) * sign;
num              1583 drivers/net/wireless/intel/iwlwifi/dvm/main.c static struct { char *name; u8 num; } advanced_lookup[] = {
num              1602 drivers/net/wireless/intel/iwlwifi/dvm/main.c static const char *desc_lookup(u32 num)
num              1607 drivers/net/wireless/intel/iwlwifi/dvm/main.c 	if (num < max)
num              1608 drivers/net/wireless/intel/iwlwifi/dvm/main.c 		return desc_lookup_text[num];
num              1612 drivers/net/wireless/intel/iwlwifi/dvm/main.c 		if (advanced_lookup[i].num == num)
num               297 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 	u8 num;
num               321 drivers/net/wireless/intel/iwlwifi/mvm/utils.c static const char *desc_lookup(u32 num)
num               326 drivers/net/wireless/intel/iwlwifi/mvm/utils.c 		if (advanced_lookup[i].num == (num & ~FW_SYSASSERT_CPU_MASK))
num              1213 drivers/net/wireless/intersil/orinoco/hw.c 	int num;
num              1227 drivers/net/wireless/intersil/orinoco/hw.c 	num = le16_to_cpu(list.len);
num              1228 drivers/net/wireless/intersil/orinoco/hw.c 	*numrates = num;
num              1229 drivers/net/wireless/intersil/orinoco/hw.c 	num = min(num, max);
num              1231 drivers/net/wireless/intersil/orinoco/hw.c 	for (i = 0; i < num; i++)
num               515 drivers/net/wireless/marvell/mwifiex/fw.h #define HostCmd_SET_SEQ_NO_BSS_INFO(seq, num, type) {   \
num               517 drivers/net/wireless/marvell/mwifiex/fw.h 	 (((num) & 0x000f) << 8)) |                     \
num                96 drivers/net/wireless/marvell/mwifiex/sdio.c 		 func->vendor, func->device, func->class, func->num);
num               390 drivers/net/wireless/marvell/mwifiex/sdio.c 	mwifiex_dbg(adapter, INFO, "info: SDIO func num=%d\n", func->num);
num               266 drivers/net/wireless/marvell/mwifiex/util.c 		size = d[i].size / d[i].num;
num               273 drivers/net/wireless/marvell/mwifiex/util.c 		for (j = 0; j < d[i].num; j++) {
num                50 drivers/net/wireless/marvell/mwifiex/util.h 	int num;		/* number of variables in an array */
num               103 drivers/net/wireless/mediatek/mt7601u/debugfs.c 		   dev->ee->reg.start + dev->ee->reg.num - 1);
num               193 drivers/net/wireless/mediatek/mt7601u/eeprom.c 			 chan_bounds[idx].start + chan_bounds[idx].num - 1);
num                90 drivers/net/wireless/mediatek/mt7601u/eeprom.h 	u8 num;
num               565 drivers/net/wireless/mediatek/mt7601u/init.c 	WARN_ON(dev->ee->reg.start - 1 + dev->ee->reg.num >
num               570 drivers/net/wireless/mediatek/mt7601u/init.c 			       dev->ee->reg.num,
num              5915 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	u8 dir, xtype, num;
num              5926 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		num = usb_endpoint_num(endpoint);
num              5931 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 				__func__, dir, num, xtype);
num              5936 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 					__func__, num);
num              5945 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			priv->pipe_in =	usb_rcvbulkpipe(priv->udev, num);
num              5952 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 					__func__, num);
num              5961 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			priv->pipe_interrupt = usb_rcvintpipe(priv->udev, num);
num              5968 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 					__func__, num);
num              5975 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 			priv->out_ep[j++] = num;
num              1941 drivers/net/wireless/realtek/rtlwifi/base.c 		rtlpriv->scan_list.num--;
num              1978 drivers/net/wireless/realtek/rtlwifi/base.c 		rtlpriv->scan_list.num--;
num              1982 drivers/net/wireless/realtek/rtlwifi/base.c 			 entry->bssid, rtlpriv->scan_list.num);
num              1988 drivers/net/wireless/realtek/rtlwifi/base.c 	rtlpriv->btcoexist.btc_info.ap_num = rtlpriv->scan_list.num;
num              2018 drivers/net/wireless/realtek/rtlwifi/base.c 				 hdr->addr3, rtlpriv->scan_list.num);
num              2030 drivers/net/wireless/realtek/rtlwifi/base.c 		rtlpriv->scan_list.num++;
num              2034 drivers/net/wireless/realtek/rtlwifi/base.c 			 hdr->addr3, rtlpriv->scan_list.num);
num               149 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 	u8 num;
num               152 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 		num = 2;
num               154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 		num = 1;
num               156 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 	return num;
num              1474 drivers/net/wireless/realtek/rtlwifi/core.c 	rtlpriv->btcoexist.btc_info.ap_num = rtlpriv->scan_list.num;
num               294 drivers/net/wireless/realtek/rtlwifi/debug.c 	int num;
num               307 drivers/net/wireless/realtek/rtlwifi/debug.c 	num = sscanf(tmp, "%x %x %x", &addr, &val, &len);
num               309 drivers/net/wireless/realtek/rtlwifi/debug.c 	if (num !=  3)
num               389 drivers/net/wireless/realtek/rtlwifi/debug.c 	int num;
num               403 drivers/net/wireless/realtek/rtlwifi/debug.c 	num = sscanf(tmp, "%X %X %X %X",
num               406 drivers/net/wireless/realtek/rtlwifi/debug.c 	if (num != 4) {
num              1608 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c static bool _rtl8812ae_eq_n_byte(u8 *str1, u8 *str2, u32 num)
num              1610 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	if (num == 0)
num              1612 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	while (num > 0) {
num              1613 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		num--;
num              1614 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 		if (str1[num] != str2[num])
num              2741 drivers/net/wireless/realtek/rtlwifi/wifi.h 	int num;
num               145 drivers/net/wireless/realtek/rtw88/debug.c 				      int num)
num               149 drivers/net/wireless/realtek/rtw88/debug.c 	if (count < num)
num               171 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               175 drivers/net/wireless/realtek/rtw88/debug.c 	num = sscanf(tmp, "%x %x", &addr, &len);
num               177 drivers/net/wireless/realtek/rtw88/debug.c 	if (num !=  2)
num               261 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               265 drivers/net/wireless/realtek/rtw88/debug.c 	num = sscanf(tmp, "%d %d", &offset, &page_num);
num               267 drivers/net/wireless/realtek/rtw88/debug.c 	if (num != 2) {
num               269 drivers/net/wireless/realtek/rtw88/debug.c 		return num;
num               287 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               291 drivers/net/wireless/realtek/rtw88/debug.c 	num = kstrtoint(tmp, 0, &input);
num               293 drivers/net/wireless/realtek/rtw88/debug.c 	if (num) {
num               295 drivers/net/wireless/realtek/rtw88/debug.c 		return num;
num               311 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               316 drivers/net/wireless/realtek/rtw88/debug.c 	num = sscanf(tmp, "%x %x %x", &addr, &val, &len);
num               318 drivers/net/wireless/realtek/rtw88/debug.c 	if (num !=  3)
num               354 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               358 drivers/net/wireless/realtek/rtw88/debug.c 	num = sscanf(tmp, "%x %x %x %x", &path, &addr, &mask, &val);
num               360 drivers/net/wireless/realtek/rtw88/debug.c 	if (num !=  4) {
num               382 drivers/net/wireless/realtek/rtw88/debug.c 	int num;
num               386 drivers/net/wireless/realtek/rtw88/debug.c 	num = sscanf(tmp, "%x %x %x", &path, &addr, &mask);
num               388 drivers/net/wireless/realtek/rtw88/debug.c 	if (num !=  3) {
num              1407 drivers/net/wireless/realtek/rtw88/main.h 		     struct rtw_backup_info *bckp, u32 num);
num                46 drivers/net/wireless/realtek/rtw88/util.c 		     struct rtw_backup_info *bckp, u32 num)
num                53 drivers/net/wireless/realtek/rtw88/util.c 	for (i = 0; i < num; i++, bckp++) {
num               131 drivers/net/wireless/st/cw1200/cw1200_sdio.c 	cccr |= BIT(self->func->num);
num               285 drivers/net/wireless/st/cw1200/cw1200_sdio.c 	if (func->num != 0x01)
num                32 drivers/net/wireless/st/cw1200/pm.c 	.hdr.num = 2,
num                48 drivers/net/wireless/st/cw1200/pm.c 	.num = 0,
num                56 drivers/net/wireless/st/cw1200/pm.c 	.hdr.num = 4,
num                78 drivers/net/wireless/st/cw1200/pm.c 	.num = 0,
num               473 drivers/net/wireless/st/cw1200/sta.c 		bf_tbl.num = __cpu_to_le32(0);
num               478 drivers/net/wireless/st/cw1200/sta.c 		bf_tbl.num = __cpu_to_le32(2);
num               482 drivers/net/wireless/st/cw1200/sta.c 		bf_tbl.num = __cpu_to_le32(3);
num               357 drivers/net/wireless/st/cw1200/txrx.c 		.num = 0,
num               366 drivers/net/wireless/st/cw1200/txrx.c 				&arg.tbl[arg.num];
num               376 drivers/net/wireless/st/cw1200/txrx.c 			++arg.num;
num               381 drivers/net/wireless/st/cw1200/txrx.c 	pr_debug("[TX policy] Upload %d policies\n", arg.num);
num              1400 drivers/net/wireless/st/cw1200/wsm.h 	__le32 num;
num              1407 drivers/net/wireless/st/cw1200/wsm.h 	size_t size = __le32_to_cpu(ft->num) *
num              1554 drivers/net/wireless/st/cw1200/wsm.h 	u8 num;
num              1562 drivers/net/wireless/st/cw1200/wsm.h 	size_t size = 4 + arg->num * sizeof(struct wsm_tx_rate_retry_policy);
num              1569 drivers/net/wireless/st/cw1200/wsm.h 	u8 num;		/* Up to WSM_MAX_FILTER_ELEMENTS */
num              1583 drivers/net/wireless/st/cw1200/wsm.h 		arg->num * sizeof(struct wsm_ether_type_filter);
num              1590 drivers/net/wireless/st/cw1200/wsm.h 	u8 num;		/* Up to WSM_MAX_FILTER_ELEMENTS */
num              1604 drivers/net/wireless/st/cw1200/wsm.h 		arg->num * sizeof(struct wsm_udp_port_filter);
num               277 drivers/net/wireless/ti/wlcore/sdio.c 	if (func->num != 0x02)
num               134 drivers/net/xen-netback/common.h 	unsigned int num;
num               138 drivers/net/xen-netback/rx.c 	gnttab_batch_copy(queue->rx_copy.op, queue->rx_copy.num);
num               140 drivers/net/xen-netback/rx.c 	for (i = 0; i < queue->rx_copy.num; i++) {
num               157 drivers/net/xen-netback/rx.c 	queue->rx_copy.num = 0;
num               175 drivers/net/xen-netback/rx.c 	if (queue->rx_copy.num == COPY_BATCH_SIZE)
num               178 drivers/net/xen-netback/rx.c 	op = &queue->rx_copy.op[queue->rx_copy.num];
num               200 drivers/net/xen-netback/rx.c 	queue->rx_copy.idx[queue->rx_copy.num] = queue->rx.req_cons;
num               201 drivers/net/xen-netback/rx.c 	queue->rx_copy.num++;
num               123 drivers/nfc/fdp/fdp.c 	u32 nd, num, delta;
num               128 drivers/nfc/fdp/fdp.c 	num = (32768 * delta) / clock_freq;
num               136 drivers/nfc/fdp/fdp.c 	data[5] = num & 0xFF;
num               137 drivers/nfc/fdp/fdp.c 	data[6] = (num >> 8) & 0xff;
num               572 drivers/ntb/hw/amd/ntb_hw_amd.c 	return ndev_interrupt(nvec->ndev, nvec->num);
num               623 drivers/ntb/hw/amd/ntb_hw_amd.c 		ndev->vec[i].num = i;
num               180 drivers/ntb/hw/amd/ntb_hw_amd.h 	int			num;
num               350 drivers/ntb/hw/intel/ntb_hw_gen1.c 		irq, nvec->num);
num               352 drivers/ntb/hw/intel/ntb_hw_gen1.c 	return ndev_interrupt(nvec->ndev, nvec->num);
num               401 drivers/ntb/hw/intel/ntb_hw_gen1.c 		ndev->vec[i].num = i;
num               135 drivers/ntb/hw/intel/ntb_hw_intel.h 	int				num;
num               165 drivers/nvdimm/badrange.c static void set_badblock(struct badblocks *bb, sector_t s, int num)
num               168 drivers/nvdimm/badrange.c 			(u64) s * 512, (u64) num * 512);
num               170 drivers/nvdimm/badrange.c 	if (badblocks_set(bb, s, num, 1))
num                48 drivers/nvdimm/nd.h 	unsigned int num = 1 << ndrd->hints_shift;
num                49 drivers/nvdimm/nd.h 	unsigned int mask = num - 1;
num                51 drivers/nvdimm/nd.h 	return ndrd->flush_wpq[dimm * num + (hint & mask)];
num                57 drivers/nvdimm/nd.h 	unsigned int num = 1 << ndrd->hints_shift;
num                58 drivers/nvdimm/nd.h 	unsigned int mask = num - 1;
num                60 drivers/nvdimm/nd.h 	ndrd->flush_wpq[dimm * num + (hint & mask)] = flush;
num               770 drivers/of/property.c 	int num = 0;
num               773 drivers/of/property.c 		num++;
num               775 drivers/of/property.c 	return num;
num              1821 drivers/of/unittest.c 		struct i2c_msg *msgs, int num)
num              1827 drivers/of/unittest.c 	return num;
num               414 drivers/parisc/eisa.c void eisa_make_irq_level(int num)
num               416 drivers/parisc/eisa.c 	if (eisa_irq_configured& (1<<num)) {
num               419 drivers/parisc/eisa.c 		       num);
num               421 drivers/parisc/eisa.c 	eisa_irq_level |= (1<<num); /* set the corresponding bit */
num               422 drivers/parisc/eisa.c 	eisa_irq_configured |= (1<<num); /* set the corresponding bit */
num               425 drivers/parisc/eisa.c void eisa_make_irq_edge(int num)
num               427 drivers/parisc/eisa.c 	if (eisa_irq_configured& (1<<num)) {
num               430 drivers/parisc/eisa.c 		       num);
num               432 drivers/parisc/eisa.c 	eisa_irq_level &= ~(1<<num); /* clear the corresponding bit */
num               433 drivers/parisc/eisa.c 	eisa_irq_configured |= (1<<num); /* set the corresponding bit */
num              2810 drivers/parport/parport_pc.c 	int num;
num              2874 drivers/parport/parport_pc.c 	data->num = count;
num              2895 drivers/parport/parport_pc.c 		for (i = data->num - 1; i >= 0; i--)
num               462 drivers/parport/share.c 	int num;
num               501 drivers/parport/share.c 	for (l = all_ports.next, num = 0; l != &all_ports; l = l->next, num++) {
num               503 drivers/parport/share.c 		if (p->number != num)
num               506 drivers/parport/share.c 	tmp->portnum = tmp->number = num;
num              1058 drivers/pci/controller/pci-mvebu.c 	int num, i, ret;
num              1072 drivers/pci/controller/pci-mvebu.c 	num = of_get_available_child_count(np);
num              1074 drivers/pci/controller/pci-mvebu.c 	pcie->ports = devm_kcalloc(dev, num, sizeof(*pcie->ports), GFP_KERNEL);
num                73 drivers/pci/hotplug/cpqphp_pci.c 	int num;
num                86 drivers/pci/hotplug/cpqphp_pci.c 		num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function));
num                87 drivers/pci/hotplug/cpqphp_pci.c 		if (num)
num               734 drivers/pci/hotplug/ibmphp_core.c 	int num;
num               751 drivers/pci/hotplug/ibmphp_core.c 		num = pci_scan_slot(bus,
num               753 drivers/pci/hotplug/ibmphp_core.c 		if (num)
num              1009 drivers/pci/hotplug/ibmphp_ebda.c struct bus_info *ibmphp_find_same_bus_num(u32 num)
num              1014 drivers/pci/hotplug/ibmphp_ebda.c 		if (ptr->busno == num)
num              1023 drivers/pci/hotplug/ibmphp_ebda.c int ibmphp_get_bus_index(u8 num)
num              1028 drivers/pci/hotplug/ibmphp_ebda.c 		if (ptr->busno == num)
num                37 drivers/pci/hotplug/pciehp_pci.c 	int num, ret = 0;
num                54 drivers/pci/hotplug/pciehp_pci.c 	num = pci_scan_slot(parent, PCI_DEVFN(0, 0));
num                55 drivers/pci/hotplug/pciehp_pci.c 	if (num == 0) {
num                29 drivers/pci/hotplug/shpchp_pci.c 	int num, ret = 0;
num                43 drivers/pci/hotplug/shpchp_pci.c 	num = pci_scan_slot(parent, PCI_DEVFN(p_slot->device, 0));
num                44 drivers/pci/hotplug/shpchp_pci.c 	if (num == 0) {
num              1144 drivers/pci/pci-sysfs.c static int pci_create_attr(struct pci_dev *pdev, int num, int write_combine)
num              1160 drivers/pci/pci-sysfs.c 		pdev->res_attr_wc[num] = res_attr;
num              1161 drivers/pci/pci-sysfs.c 		sprintf(res_attr_name, "resource%d_wc", num);
num              1164 drivers/pci/pci-sysfs.c 		pdev->res_attr[num] = res_attr;
num              1165 drivers/pci/pci-sysfs.c 		sprintf(res_attr_name, "resource%d", num);
num              1166 drivers/pci/pci-sysfs.c 		if (pci_resource_flags(pdev, num) & IORESOURCE_IO) {
num              1177 drivers/pci/pci-sysfs.c 	res_attr->size = pci_resource_len(pdev, num);
num              1178 drivers/pci/pci-sysfs.c 	res_attr->private = (void *)(unsigned long)num;
num                51 drivers/pcmcia/cs_internal.h 					 unsigned int num,
num                54 drivers/pcmcia/cs_internal.h 	struct resource* (*find_mem)	(unsigned long base, unsigned long num,
num               143 drivers/pcmcia/cs_internal.h 					       u_long num,
num                45 drivers/pcmcia/pcmcia_resource.c struct resource *pcmcia_find_mem_region(u_long base, u_long num, u_long align,
num                49 drivers/pcmcia/pcmcia_resource.c 		return s->resource_ops->find_mem(base, num, align, low, s);
num                62 drivers/pcmcia/pcmcia_resource.c 	resource_size_t num = resource_size(res);
num                72 drivers/pcmcia/pcmcia_resource.c 			s->io[i].InUse -= num;
num               101 drivers/pcmcia/pcmcia_resource.c 	unsigned int num = res->end;
num               110 drivers/pcmcia/pcmcia_resource.c 	if (align && (align < num)) {
num               115 drivers/pcmcia/pcmcia_resource.c 			while (align && (align < num))
num               123 drivers/pcmcia/pcmcia_resource.c 	ret = s->resource_ops->find_io(s, res->flags, &base, num, align,
num               131 drivers/pcmcia/pcmcia_resource.c 	res->end = res->start + num - 1;
num                56 drivers/pcmcia/rsrc_iodyn.c 					unsigned long base, int num,
num                59 drivers/pcmcia/rsrc_iodyn.c 	struct resource *res = pcmcia_make_resource(0, num, IORESOURCE_IO,
num                70 drivers/pcmcia/rsrc_iodyn.c 		ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1,
num                74 drivers/pcmcia/rsrc_iodyn.c 		ret = allocate_resource(&ioport_resource, res, num, min, ~0UL,
num                85 drivers/pcmcia/rsrc_iodyn.c 			unsigned int *base, unsigned int num,
num               118 drivers/pcmcia/rsrc_iodyn.c 								num, align);
num               126 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse = num;
num               135 drivers/pcmcia/rsrc_iodyn.c 					    resource_size(res) + num))
num               138 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse += num;
num               144 drivers/pcmcia/rsrc_iodyn.c 		try = res->start - num;
num               147 drivers/pcmcia/rsrc_iodyn.c 					    res->start - num,
num               148 drivers/pcmcia/rsrc_iodyn.c 					    resource_size(res) + num))
num               151 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse += num;
num                46 drivers/pcmcia/rsrc_mgr.c 			unsigned int *base, unsigned int num,
num                49 drivers/pcmcia/rsrc_nonstatic.c 	u_long			base, num;
num               108 drivers/pcmcia/rsrc_nonstatic.c static int add_interval(struct resource_map *map, u_long base, u_long num)
num               113 drivers/pcmcia/rsrc_nonstatic.c 		if ((p != map) && (p->base+p->num >= base)) {
num               114 drivers/pcmcia/rsrc_nonstatic.c 			p->num = max(num + base - p->base, p->num);
num               117 drivers/pcmcia/rsrc_nonstatic.c 		if ((p->next == map) || (p->next->base > base+num-1))
num               125 drivers/pcmcia/rsrc_nonstatic.c 	q->base = base; q->num = num;
num               132 drivers/pcmcia/rsrc_nonstatic.c static int sub_interval(struct resource_map *map, u_long base, u_long num)
num               140 drivers/pcmcia/rsrc_nonstatic.c 		if ((q->base+q->num > base) && (base+num > q->base)) {
num               142 drivers/pcmcia/rsrc_nonstatic.c 				if (q->base+q->num <= base+num) {
num               150 drivers/pcmcia/rsrc_nonstatic.c 					q->num = q->base + q->num - base - num;
num               151 drivers/pcmcia/rsrc_nonstatic.c 					q->base = base + num;
num               153 drivers/pcmcia/rsrc_nonstatic.c 			} else if (q->base+q->num <= base+num) {
num               155 drivers/pcmcia/rsrc_nonstatic.c 				q->num = base - q->base;
num               164 drivers/pcmcia/rsrc_nonstatic.c 				p->base = base+num;
num               165 drivers/pcmcia/rsrc_nonstatic.c 				p->num = q->base+q->num - p->base;
num               166 drivers/pcmcia/rsrc_nonstatic.c 				q->num = base - q->base;
num               183 drivers/pcmcia/rsrc_nonstatic.c 			unsigned int num)
num               191 drivers/pcmcia/rsrc_nonstatic.c 	dev_info(&s->dev, "cs: IO port probe %#x-%#x:", base, base+num-1);
num               200 drivers/pcmcia/rsrc_nonstatic.c 	for (i = base, most = 0; i < base+num; i += 8) {
num               217 drivers/pcmcia/rsrc_nonstatic.c 	for (i = base; i < base+num; i += 8) {
num               244 drivers/pcmcia/rsrc_nonstatic.c 		if ((num > 16) && (bad == base) && (i == base+num)) {
num               400 drivers/pcmcia/rsrc_nonstatic.c static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num,
num               412 drivers/pcmcia/rsrc_nonstatic.c 		 base, base+num-1);
num               414 drivers/pcmcia/rsrc_nonstatic.c 	step = (num < 0x20000) ? 0x2000 : ((num>>4) & ~0x1fff);
num               421 drivers/pcmcia/rsrc_nonstatic.c 	for (i = j = base; i < base+num; i = j + step) {
num               423 drivers/pcmcia/rsrc_nonstatic.c 			for (j = i; j < base+num; j += step) {
num               427 drivers/pcmcia/rsrc_nonstatic.c 			fail = ((i == base) && (j == base+num));
num               430 drivers/pcmcia/rsrc_nonstatic.c 			for (j = i; j < base+num; j += step)
num               443 drivers/pcmcia/rsrc_nonstatic.c 	return num - bad;
num               463 drivers/pcmcia/rsrc_nonstatic.c 			sub_interval(&s_data->mem_db, m->base, m->num);
num               468 drivers/pcmcia/rsrc_nonstatic.c 	return do_mem_probe(s, m->base, m->num, readable, checksum);
num               503 drivers/pcmcia/rsrc_nonstatic.c 		if ((mm.base | mm.num) & 0xffff) {
num               504 drivers/pcmcia/rsrc_nonstatic.c 			ok += do_mem_probe(s, mm.base, mm.num, readable,
num               511 drivers/pcmcia/rsrc_nonstatic.c 			if ((b >= mm.base) && (b+0x10000 <= mm.base+mm.num)) {
num               544 drivers/pcmcia/rsrc_nonstatic.c 		ok += do_mem_probe(s, mm.base, mm.num, readable, checksum);
num               614 drivers/pcmcia/rsrc_nonstatic.c 		unsigned long map_end = m->base + m->num - 1;
num               658 drivers/pcmcia/rsrc_nonstatic.c 		unsigned long end = m->base + m->num - 1;
num               683 drivers/pcmcia/rsrc_nonstatic.c 						unsigned long base, int num,
num               686 drivers/pcmcia/rsrc_nonstatic.c 	struct resource *res = pcmcia_make_resource(0, num, IORESOURCE_IO,
num               699 drivers/pcmcia/rsrc_nonstatic.c 		ret = pci_bus_alloc_resource(s->cb_dev->bus, res, num, 1,
num               703 drivers/pcmcia/rsrc_nonstatic.c 		ret = allocate_resource(&ioport_resource, res, num, min, ~0UL,
num               714 drivers/pcmcia/rsrc_nonstatic.c 			unsigned int *base, unsigned int num,
num               747 drivers/pcmcia/rsrc_nonstatic.c 								*base, num,
num               756 drivers/pcmcia/rsrc_nonstatic.c 			s->io[i].InUse = num;
num               765 drivers/pcmcia/rsrc_nonstatic.c 							res->end + num);
num               768 drivers/pcmcia/rsrc_nonstatic.c 						      resource_size(res) + num);
num               772 drivers/pcmcia/rsrc_nonstatic.c 				s->io[i].InUse += num;
num               779 drivers/pcmcia/rsrc_nonstatic.c 		try = res->start - num;
num               782 drivers/pcmcia/rsrc_nonstatic.c 							res->start - num,
num               786 drivers/pcmcia/rsrc_nonstatic.c 						      res->start - num,
num               787 drivers/pcmcia/rsrc_nonstatic.c 						      resource_size(res) + num);
num               791 drivers/pcmcia/rsrc_nonstatic.c 				s->io[i].InUse += num;
num               802 drivers/pcmcia/rsrc_nonstatic.c static struct resource *nonstatic_find_mem_region(u_long base, u_long num,
num               805 drivers/pcmcia/rsrc_nonstatic.c 	struct resource *res = pcmcia_make_resource(0, num, IORESOURCE_MEM,
num               831 drivers/pcmcia/rsrc_nonstatic.c 							res, num, 1, min, 0,
num               837 drivers/pcmcia/rsrc_nonstatic.c 							res, num, min, max, 1,
num              1082 drivers/pcmcia/rsrc_nonstatic.c 				((unsigned long) p->base + p->num - 1));
num              1139 drivers/pcmcia/rsrc_nonstatic.c 				((unsigned long) p->base + p->num - 1));
num              1148 drivers/pcmcia/rsrc_nonstatic.c 				((unsigned long) p->base + p->num - 1));
num               120 drivers/pcmcia/soc_common.c calc_speed(unsigned short *spds, int num, unsigned short dflt)
num               125 drivers/pcmcia/soc_common.c 	for (i = 0; i < num; i++)
num               296 drivers/pcmcia/tcic.c     u_short scf1, ioctl, base, num;
num               312 drivers/pcmcia/tcic.c 	num = 1;
num               314 drivers/pcmcia/tcic.c 	num = (base ^ (base-1));
num               321 drivers/pcmcia/tcic.c 	struct resource *res = request_region(base, num, "tcic-2");
num               324 drivers/pcmcia/tcic.c 	release_region(base, num);
num               544 drivers/perf/fsl_imx8_ddr_perf.c 	int num;
num               558 drivers/perf/fsl_imx8_ddr_perf.c 	num = ddr_perf_init(pmu, base, &pdev->dev);
num               563 drivers/perf/fsl_imx8_ddr_perf.c 			      num);
num              1282 drivers/phy/qualcomm/phy-qcom-qmp.c 				   int num)
num              1290 drivers/phy/qualcomm/phy-qcom-qmp.c 	for (i = 0; i < num; i++, t++) {
num              1723 drivers/phy/qualcomm/phy-qcom-qmp.c 	int num = qmp->cfg->num_vregs;
num              1726 drivers/phy/qualcomm/phy-qcom-qmp.c 	qmp->vregs = devm_kcalloc(dev, num, sizeof(*qmp->vregs), GFP_KERNEL);
num              1730 drivers/phy/qualcomm/phy-qcom-qmp.c 	for (i = 0; i < num; i++)
num              1733 drivers/phy/qualcomm/phy-qcom-qmp.c 	return devm_regulator_bulk_get(dev, num, qmp->vregs);
num              1764 drivers/phy/qualcomm/phy-qcom-qmp.c 	int num = qmp->cfg->num_clks;
num              1767 drivers/phy/qualcomm/phy-qcom-qmp.c 	qmp->clks = devm_kcalloc(dev, num, sizeof(*qmp->clks), GFP_KERNEL);
num              1771 drivers/phy/qualcomm/phy-qcom-qmp.c 	for (i = 0; i < num; i++)
num              1774 drivers/phy/qualcomm/phy-qcom-qmp.c 	return devm_clk_bulk_get(dev, num, qmp->clks);
num              2019 drivers/phy/qualcomm/phy-qcom-qmp.c 	int num, id;
num              2071 drivers/phy/qualcomm/phy-qcom-qmp.c 	num = of_get_available_child_count(dev->of_node);
num              2073 drivers/phy/qualcomm/phy-qcom-qmp.c 	if (num > qmp->cfg->nlanes)
num              2076 drivers/phy/qualcomm/phy-qcom-qmp.c 	qmp->phys = devm_kcalloc(dev, num, sizeof(*qmp->phys), GFP_KERNEL);
num               378 drivers/phy/qualcomm/phy-qcom-qusb2.c 			      const struct qusb2_phy_init_tbl tbl[], int num)
num               382 drivers/phy/qualcomm/phy-qcom-qusb2.c 	for (i = 0; i < num; i++) {
num               797 drivers/phy/qualcomm/phy-qcom-qusb2.c 	int num;
num               835 drivers/phy/qualcomm/phy-qcom-qusb2.c 	num = ARRAY_SIZE(qphy->vregs);
num               836 drivers/phy/qualcomm/phy-qcom-qusb2.c 	for (i = 0; i < num; i++)
num               839 drivers/phy/qualcomm/phy-qcom-qusb2.c 	ret = devm_regulator_bulk_get(dev, num, qphy->vregs);
num               869 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	int n, num = 0, funcsize = info->data->nr_pins;
num               899 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 			num++;
num               903 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	info->nfuncs = num;
num               495 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	int num = 0, funcsize = pctl->desc.npins;
num               526 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			num++;
num               530 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->num_functions = num;
num               184 drivers/pinctrl/nomadik/pinctrl-nomadik.c #define PIN_CFG(num, alt)		\
num               186 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	 (PIN_NUM(num) | PIN_##alt))
num               188 drivers/pinctrl/nomadik/pinctrl-nomadik.c #define PIN_CFG_INPUT(num, alt, pull)		\
num               190 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
num               192 drivers/pinctrl/nomadik/pinctrl-nomadik.c #define PIN_CFG_OUTPUT(num, alt, val)		\
num               194 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	 (PIN_NUM(num) | PIN_##alt | PIN_OUTPUT_##val))
num               295 drivers/pinctrl/pinctrl-rockchip.c 	u8 num;
num               439 drivers/pinctrl/pinctrl-rockchip.c 					unsigned num)
num               445 drivers/pinctrl/pinctrl-rockchip.c 		if (b->bank_num == num)
num               563 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               569 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               575 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               581 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               587 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               593 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               599 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               605 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               611 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               617 drivers/pinctrl/pinctrl-rockchip.c 		.num = 1,
num               627 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               633 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               639 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               645 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               651 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               661 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               667 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               673 drivers/pinctrl/pinctrl-rockchip.c 		.num = 2,
num               691 drivers/pinctrl/pinctrl-rockchip.c 		if (data->num == bank->bank_num &&
num              2485 drivers/pinctrl/pinctrl-rockchip.c 	int num;
num              2521 drivers/pinctrl/pinctrl-rockchip.c 		num = be32_to_cpu(*list++);
num              2522 drivers/pinctrl/pinctrl-rockchip.c 		bank = bank_num_to_bank(info, num);
num              3334 drivers/pinctrl/pinctrl-rockchip.c 			if (ctrl->iomux_recalced[j].num == bank->bank_num) {
num               976 drivers/pinctrl/sprd/pinctrl-sprd.c 		pin->number = sprd_soc_pin_info[i].num;
num                17 drivers/pinctrl/sprd/pinctrl-sprd.h #define SPRD_PIN_INFO(num, type, offset, width, reg)	\
num                18 drivers/pinctrl/sprd/pinctrl-sprd.h 		(((num) & 0xFFF) << NUM_OFFSET |	\
num                29 drivers/pinctrl/sprd/pinctrl-sprd.h 		.num = (((a) >> NUM_OFFSET) & 0xfff),		\
num                44 drivers/pinctrl/sprd/pinctrl-sprd.h 	unsigned int num;
num               471 drivers/pinctrl/stm32/pinctrl-stm32.c 			if (func->num == fnum)
num                29 drivers/pinctrl/stm32/pinctrl-stm32.h 	const unsigned char num;
num                54 drivers/pinctrl/stm32/pinctrl-stm32.h 		.num = _num,					\
num               322 drivers/platform/chrome/cros_ec_chardev.c 	long num;
num               331 drivers/platform/chrome/cros_ec_chardev.c 	num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes,
num               333 drivers/platform/chrome/cros_ec_chardev.c 	if (num <= 0)
num               334 drivers/platform/chrome/cros_ec_chardev.c 		return num;
num               339 drivers/platform/chrome/cros_ec_chardev.c 	return num;
num               141 drivers/platform/chrome/cros_ec_lightbar.c 			*ver_ptr = resp->version.num;
num               192 drivers/platform/chrome/cros_ec_lightbar.c 	param->set_brightness.num = val;
num               320 drivers/platform/chrome/cros_ec_lightbar.c 	if (resp->get_seq.num >= ARRAY_SIZE(seqname))
num               321 drivers/platform/chrome/cros_ec_lightbar.c 		ret = scnprintf(buf, PAGE_SIZE, "%d\n", resp->get_seq.num);
num               324 drivers/platform/chrome/cros_ec_lightbar.c 				seqname[resp->get_seq.num]);
num               400 drivers/platform/chrome/cros_ec_lightbar.c 	unsigned int num;
num               408 drivers/platform/chrome/cros_ec_lightbar.c 	for (num = 0; num < ARRAY_SIZE(seqname); num++)
num               409 drivers/platform/chrome/cros_ec_lightbar.c 		if (!strncasecmp(seqname[num], buf, len))
num               412 drivers/platform/chrome/cros_ec_lightbar.c 	if (num >= ARRAY_SIZE(seqname)) {
num               413 drivers/platform/chrome/cros_ec_lightbar.c 		ret = kstrtouint(buf, 0, &num);
num               424 drivers/platform/chrome/cros_ec_lightbar.c 	param->seq.num = num;
num                79 drivers/platform/mellanox/mlxbf-tmfifo.c 	int num;
num               217 drivers/platform/mellanox/mlxbf-tmfifo.c 			size = vring_size(vring->num, vring->align);
num               242 drivers/platform/mellanox/mlxbf-tmfifo.c 		vring->num = MLXBF_TMFIFO_VRING_SIZE;
num               248 drivers/platform/mellanox/mlxbf-tmfifo.c 		size = vring_size(vring->num, vring->align);
num               297 drivers/platform/mellanox/mlxbf-tmfifo.c 	idx = vring->next_avail % vr->num;
num               299 drivers/platform/mellanox/mlxbf-tmfifo.c 	if (WARN_ON(head >= vr->num))
num               316 drivers/platform/mellanox/mlxbf-tmfifo.c 	idx = vr_idx % vr->num;
num               938 drivers/platform/mellanox/mlxbf-tmfifo.c 		size = vring_size(vring->num, vring->align);
num               940 drivers/platform/mellanox/mlxbf-tmfifo.c 		vq = vring_new_virtqueue(i, vring->num, vring->align, vdev,
num              1989 drivers/platform/x86/dell-laptop.c 	u16 num;
num              2006 drivers/platform/x86/dell-laptop.c 		for (num = kbd_token_bits; num != 0 && ret > 0; --ret)
num              2007 drivers/platform/x86/dell-laptop.c 			num &= num - 1; /* clear the first bit set */
num              2008 drivers/platform/x86/dell-laptop.c 		if (num == 0)
num              2010 drivers/platform/x86/dell-laptop.c 		return ffs(num) - 1;
num              2023 drivers/platform/x86/dell-laptop.c 	u16 num;
num              2038 drivers/platform/x86/dell-laptop.c 		for (num = kbd_token_bits; num != 0 && value > 0; --value)
num              2039 drivers/platform/x86/dell-laptop.c 			num &= num - 1; /* clear the first bit set */
num              2040 drivers/platform/x86/dell-laptop.c 		if (num == 0)
num              2043 drivers/platform/x86/dell-laptop.c 			ret = kbd_set_token_bit(ffs(num) - 1);
num               322 drivers/platform/x86/eeepc-laptop.c 	int num;
num               332 drivers/platform/x86/eeepc-laptop.c 	c->num = (c->cur >> 8) & 0xff;
num               334 drivers/platform/x86/eeepc-laptop.c 	if (c->num == 0 || c->num > 12)
num               350 drivers/platform/x86/eeepc-laptop.c 	for (i = 0; i < c.num; i++)
num               365 drivers/platform/x86/eeepc-laptop.c 	return sprintf(buf, "%#x\n", (c.num << 8) | c.cur);
num               383 drivers/platform/x86/eeepc-laptop.c 	if (value < 0 || value >= c.num)
num               164 drivers/platform/x86/hp-wmi.c 	int num;
num               388 drivers/platform/x86/hp-wmi.c 		int num = rfkill2[i].num;
num               390 drivers/platform/x86/hp-wmi.c 		devstate = &state.device[num];
num               392 drivers/platform/x86/hp-wmi.c 		if (num >= state.count ||
num               831 drivers/platform/x86/hp-wmi.c 		rfkill2[rfkill2_count].num = i;
num                18 drivers/pnp/pnpacpi/core.c static int num;
num               234 drivers/pnp/pnpacpi/core.c 	dev = pnp_alloc_dev(&pnpacpi_protocol, num, pnpid);
num               281 drivers/pnp/pnpacpi/core.c 	num++;
num               309 drivers/pnp/pnpacpi/core.c 	printk(KERN_INFO "pnp: PnP ACPI: found %d devices\n", num);
num               483 drivers/pnp/resource.c 				  unsigned long type, unsigned int num)
num               490 drivers/pnp/resource.c 		if (pnp_resource_type(res) == type && num-- == 0)
num              1527 drivers/power/supply/bq2415x_charger.c 	int num;
num              1543 drivers/power/supply/bq2415x_charger.c 	num = idr_alloc(&bq2415x_id, client, 0, 0, GFP_KERNEL);
num              1545 drivers/power/supply/bq2415x_charger.c 	if (num < 0)
num              1546 drivers/power/supply/bq2415x_charger.c 		return num;
num              1549 drivers/power/supply/bq2415x_charger.c 		name = kasprintf(GFP_KERNEL, "%s-%d", id->name, num);
num              1559 drivers/power/supply/bq2415x_charger.c 		name = kasprintf(GFP_KERNEL, "%s-%d", acpi_id->id, num);
num              1575 drivers/power/supply/bq2415x_charger.c 	bq->id = num;
num              1691 drivers/power/supply/bq2415x_charger.c 	idr_remove(&bq2415x_id, num);
num               153 drivers/power/supply/bq27xxx_battery_i2c.c 	int num;
num               157 drivers/power/supply/bq27xxx_battery_i2c.c 	num = idr_alloc(&battery_id, client, 0, 0, GFP_KERNEL);
num               159 drivers/power/supply/bq27xxx_battery_i2c.c 	if (num < 0)
num               160 drivers/power/supply/bq27xxx_battery_i2c.c 		return num;
num               162 drivers/power/supply/bq27xxx_battery_i2c.c 	name = devm_kasprintf(&client->dev, GFP_KERNEL, "%s-%d", id->name, num);
num               170 drivers/power/supply/bq27xxx_battery_i2c.c 	di->id = num;
num               209 drivers/power/supply/bq27xxx_battery_i2c.c 	idr_remove(&battery_id, num);
num               380 drivers/power/supply/ds2782_battery.c 	int num;
num               397 drivers/power/supply/ds2782_battery.c 	num = ret;
num               406 drivers/power/supply/ds2782_battery.c 					    client->name, num);
num               417 drivers/power/supply/ds2782_battery.c 	info->id = num;
num               445 drivers/power/supply/ds2782_battery.c 	idr_remove(&battery_id, num);
num                50 drivers/power/supply/s3c_adc_battery.c static int gather_samples(struct s3c_adc_client *client, int num, int channel)
num                55 drivers/power/supply/s3c_adc_battery.c 	if (num < 1)
num                56 drivers/power/supply/s3c_adc_battery.c 		num = 1;
num                59 drivers/power/supply/s3c_adc_battery.c 	for (i = 0; i < num; i++)
num                61 drivers/power/supply/s3c_adc_battery.c 	value /= num;
num               934 drivers/power/supply/twl4030_charger.c 	u32 num;
num               942 drivers/power/supply/twl4030_charger.c 	if (of_property_read_u32(np, "ti,bb-uvolt", &num) == 0)
num               943 drivers/power/supply/twl4030_charger.c 		pdata->bb_uvolt = num;
num               944 drivers/power/supply/twl4030_charger.c 	if (of_property_read_u32(np, "ti,bb-uamp", &num) == 0)
num               945 drivers/power/supply/twl4030_charger.c 		pdata->bb_uamp = num;
num               826 drivers/pwm/core.c void pwm_add_table(struct pwm_lookup *table, size_t num)
num               830 drivers/pwm/core.c 	while (num--) {
num               843 drivers/pwm/core.c void pwm_remove_table(struct pwm_lookup *table, size_t num)
num               847 drivers/pwm/core.c 	while (num--) {
num               108 drivers/pwm/pwm-mediatek.c 				     unsigned int num, unsigned int offset)
num               110 drivers/pwm/pwm-mediatek.c 	return readl(chip->regs + pwm_mediatek_reg_offset[num] + offset);
num               114 drivers/pwm/pwm-mediatek.c 				       unsigned int num, unsigned int offset,
num               117 drivers/pwm/pwm-mediatek.c 	writel(value, chip->regs + pwm_mediatek_reg_offset[num] + offset);
num                84 drivers/pwm/pwm-sifive.c 	unsigned long long num;
num               103 drivers/pwm/pwm-sifive.c 	num = (unsigned long long)NSEC_PER_SEC << (PWM_SIFIVE_CMPWIDTH + scale);
num               104 drivers/pwm/pwm-sifive.c 	ddata->real_period = div64_ul(num, rate);
num               155 drivers/pwm/pwm-sifive.c 	unsigned long long num;
num               183 drivers/pwm/pwm-sifive.c 	num = (u64)duty_cycle * (1U << PWM_SIFIVE_CMPWIDTH);
num               184 drivers/pwm/pwm-sifive.c 	frac = DIV_ROUND_CLOSEST_ULL(num, state->period);
num                64 drivers/pwm/pwm-spear.c static inline u32 spear_pwm_readl(struct spear_pwm_chip *chip, unsigned int num,
num                67 drivers/pwm/pwm-spear.c 	return readl_relaxed(chip->mmio_base + (num << 4) + offset);
num                71 drivers/pwm/pwm-spear.c 				    unsigned int num, unsigned long offset,
num                74 drivers/pwm/pwm-spear.c 	writel_relaxed(val, chip->mmio_base + (num << 4) + offset);
num                55 drivers/pwm/pwm-tegra.c static inline u32 pwm_readl(struct tegra_pwm_chip *chip, unsigned int num)
num                57 drivers/pwm/pwm-tegra.c 	return readl(chip->regs + (num << 4));
num                60 drivers/pwm/pwm-tegra.c static inline void pwm_writel(struct tegra_pwm_chip *chip, unsigned int num,
num                63 drivers/pwm/pwm-tegra.c 	writel(val, chip->regs + (num << 4));
num               669 drivers/regulator/da9063-regulator.c 	int i, n, num;
num               680 drivers/regulator/da9063-regulator.c 	num = of_regulator_match(&pdev->dev, node, da9063_matches,
num               683 drivers/regulator/da9063-regulator.c 	if (num < 0) {
num               693 drivers/regulator/da9063-regulator.c 					num, sizeof(*pdata->regulator_data),
num               697 drivers/regulator/da9063-regulator.c 	pdata->n_regulators = num;
num               257 drivers/regulator/da9211-regulator.c 	int i, num, n;
num               265 drivers/regulator/da9211-regulator.c 	num = of_regulator_match(dev, node, da9211_matches,
num               268 drivers/regulator/da9211-regulator.c 	if (num < 0) {
num               277 drivers/regulator/da9211-regulator.c 	pdata->num_buck = num;
num               134 drivers/regulator/max14577-regulator.c #define MAX77836_LDO_REG(num)	{ \
num               135 drivers/regulator/max14577-regulator.c 	.name		= "LDO" # num, \
num               136 drivers/regulator/max14577-regulator.c 	.of_match	= of_match_ptr("LDO" # num), \
num               138 drivers/regulator/max14577-regulator.c 	.id		= MAX77836_LDO ## num, \
num               145 drivers/regulator/max14577-regulator.c 	.enable_reg	= MAX77836_LDO_REG_CNFG1_LDO ## num, \
num               147 drivers/regulator/max14577-regulator.c 	.vsel_reg	= MAX77836_LDO_REG_CNFG1_LDO ## num, \
num               336 drivers/regulator/max77686-regulator.c #define regulator_desc_ldo(num)		{				\
num               337 drivers/regulator/max77686-regulator.c 	.name		= "LDO"#num,					\
num               338 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               341 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_LDO##num,				\
num               349 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               351 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               355 drivers/regulator/max77686-regulator.c #define regulator_desc_lpm_ldo(num)	{				\
num               356 drivers/regulator/max77686-regulator.c 	.name		= "LDO"#num,					\
num               357 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               359 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_LDO##num,				\
num               367 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               369 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               373 drivers/regulator/max77686-regulator.c #define regulator_desc_ldo_low(num)		{			\
num               374 drivers/regulator/max77686-regulator.c 	.name		= "LDO"#num,					\
num               375 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               377 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_LDO##num,				\
num               385 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               387 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               391 drivers/regulator/max77686-regulator.c #define regulator_desc_ldo1_low(num)		{			\
num               392 drivers/regulator/max77686-regulator.c 	.name		= "LDO"#num,					\
num               393 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               395 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_LDO##num,				\
num               403 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               405 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_LDO1CTRL1 + num - 1,		\
num               409 drivers/regulator/max77686-regulator.c #define regulator_desc_buck(num)		{			\
num               410 drivers/regulator/max77686-regulator.c 	.name		= "BUCK"#num,					\
num               411 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               414 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_BUCK##num,				\
num               423 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_BUCK5OUT + (num - 5) * 2,	\
num               425 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_BUCK5CTRL + (num - 5) * 2,	\
num               428 drivers/regulator/max77686-regulator.c #define regulator_desc_buck1(num)		{			\
num               429 drivers/regulator/max77686-regulator.c 	.name		= "BUCK"#num,					\
num               430 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               432 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_BUCK##num,				\
num               446 drivers/regulator/max77686-regulator.c #define regulator_desc_buck_dvs(num)		{			\
num               447 drivers/regulator/max77686-regulator.c 	.name		= "BUCK"#num,					\
num               448 drivers/regulator/max77686-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               450 drivers/regulator/max77686-regulator.c 	.id		= MAX77686_BUCK##num,				\
num               459 drivers/regulator/max77686-regulator.c 	.vsel_reg	= MAX77686_REG_BUCK2DVS1 + (num - 2) * 10,	\
num               461 drivers/regulator/max77686-regulator.c 	.enable_reg	= MAX77686_REG_BUCK2CTRL1 + (num - 2) * 10,	\
num               188 drivers/regulator/max77693-regulator.c #define	max77843_regulator_desc_esafeout(num)	{			\
num               189 drivers/regulator/max77693-regulator.c 	.name		= "SAFEOUT" # num,				\
num               190 drivers/regulator/max77693-regulator.c 	.id		= MAX77843_SAFEOUT ## num,			\
num               192 drivers/regulator/max77693-regulator.c 	.of_match	= of_match_ptr("SAFEOUT" # num),		\
num               199 drivers/regulator/max77693-regulator.c 	.enable_mask	= MAX77843_REG_SAFEOUTCTRL_ENSAFEOUT ## num,	\
num               201 drivers/regulator/max77693-regulator.c 	.vsel_mask	= MAX77843_REG_SAFEOUTCTRL_SAFEOUT ## num ## _MASK, \
num               353 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_p_ldo(num, supply, log)	{		\
num               354 drivers/regulator/max77802-regulator.c 	.name		= "LDO"#num,					\
num               355 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               357 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_LDO##num,				\
num               366 drivers/regulator/max77802-regulator.c 	.vsel_reg	= MAX77802_REG_LDO1CTRL1 + num - 1,		\
num               368 drivers/regulator/max77802-regulator.c 	.enable_reg	= MAX77802_REG_LDO1CTRL1 + num - 1,		\
num               374 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_n_ldo(num, supply, log)   {		\
num               375 drivers/regulator/max77802-regulator.c 	.name		= "LDO"#num,					\
num               376 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("LDO"#num),			\
num               378 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_LDO##num,				\
num               387 drivers/regulator/max77802-regulator.c 	.vsel_reg	= MAX77802_REG_LDO1CTRL1 + num - 1,		\
num               389 drivers/regulator/max77802-regulator.c 	.enable_reg	= MAX77802_REG_LDO1CTRL1 + num - 1,		\
num               395 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_16_buck(num)	{		\
num               396 drivers/regulator/max77802-regulator.c 	.name		= "BUCK"#num,					\
num               397 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               399 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_BUCK##num,				\
num               400 drivers/regulator/max77802-regulator.c 	.supply_name	= "inb"#num,					\
num               408 drivers/regulator/max77802-regulator.c 	.vsel_reg	= MAX77802_REG_BUCK ## num ## DVS1,		\
num               410 drivers/regulator/max77802-regulator.c 	.enable_reg	= MAX77802_REG_BUCK ## num ## CTRL,		\
num               416 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_234_buck(num)	{		\
num               417 drivers/regulator/max77802-regulator.c 	.name		= "BUCK"#num,					\
num               418 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               420 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_BUCK##num,				\
num               421 drivers/regulator/max77802-regulator.c 	.supply_name	= "inb"#num,					\
num               429 drivers/regulator/max77802-regulator.c 	.vsel_reg	= MAX77802_REG_BUCK ## num ## DVS1,		\
num               431 drivers/regulator/max77802-regulator.c 	.enable_reg	= MAX77802_REG_BUCK ## num ## CTRL1,		\
num               438 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_buck5(num)		{		\
num               439 drivers/regulator/max77802-regulator.c 	.name		= "BUCK"#num,					\
num               440 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               442 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_BUCK##num,				\
num               443 drivers/regulator/max77802-regulator.c 	.supply_name	= "inb"#num,					\
num               459 drivers/regulator/max77802-regulator.c #define regulator_77802_desc_buck7_10(num)	{		\
num               460 drivers/regulator/max77802-regulator.c 	.name		= "BUCK"#num,					\
num               461 drivers/regulator/max77802-regulator.c 	.of_match	= of_match_ptr("BUCK"#num),			\
num               463 drivers/regulator/max77802-regulator.c 	.id		= MAX77802_BUCK##num,				\
num               464 drivers/regulator/max77802-regulator.c 	.supply_name	= "inb"#num,					\
num               472 drivers/regulator/max77802-regulator.c 	.vsel_reg	= MAX77802_REG_BUCK7OUT + (num - 7) * 3,	\
num               474 drivers/regulator/max77802-regulator.c 	.enable_reg	= MAX77802_REG_BUCK7CTRL + (num - 7) * 3,	\
num               143 drivers/regulator/mc13xxx-regulator-core.c 	int num;
num               152 drivers/regulator/mc13xxx-regulator-core.c 	num = of_get_child_count(parent);
num               154 drivers/regulator/mc13xxx-regulator-core.c 	return num;
num               230 drivers/regulator/s2mpa01.c #define regulator_desc_ldo(num, step) {			\
num               231 drivers/regulator/s2mpa01.c 	.name		= "LDO"#num,			\
num               232 drivers/regulator/s2mpa01.c 	.of_match	= of_match_ptr("LDO"#num),	\
num               234 drivers/regulator/s2mpa01.c 	.id		= S2MPA01_LDO##num,		\
num               241 drivers/regulator/s2mpa01.c 	.vsel_reg	= S2MPA01_REG_L1CTRL + num - 1,	\
num               243 drivers/regulator/s2mpa01.c 	.enable_reg	= S2MPA01_REG_L1CTRL + num - 1,	\
num               247 drivers/regulator/s2mpa01.c #define regulator_desc_buck1_4(num)	{			\
num               248 drivers/regulator/s2mpa01.c 	.name		= "BUCK"#num,				\
num               249 drivers/regulator/s2mpa01.c 	.of_match	= of_match_ptr("BUCK"#num),		\
num               251 drivers/regulator/s2mpa01.c 	.id		= S2MPA01_BUCK##num,			\
num               259 drivers/regulator/s2mpa01.c 	.vsel_reg	= S2MPA01_REG_B1CTRL2 + (num - 1) * 2,	\
num               261 drivers/regulator/s2mpa01.c 	.enable_reg	= S2MPA01_REG_B1CTRL1 + (num - 1) * 2,	\
num               283 drivers/regulator/s2mpa01.c #define regulator_desc_buck6_10(num, min, step) {			\
num               284 drivers/regulator/s2mpa01.c 	.name		= "BUCK"#num,				\
num               285 drivers/regulator/s2mpa01.c 	.of_match	= of_match_ptr("BUCK"#num),		\
num               287 drivers/regulator/s2mpa01.c 	.id		= S2MPA01_BUCK##num,			\
num               295 drivers/regulator/s2mpa01.c 	.vsel_reg	= S2MPA01_REG_B6CTRL2 + (num - 6) * 2,	\
num               297 drivers/regulator/s2mpa01.c 	.enable_reg	= S2MPA01_REG_B6CTRL1 + (num - 6) * 2,	\
num               357 drivers/regulator/s2mps11.c #define regulator_desc_s2mps11_ldo(num, step) {		\
num               358 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               359 drivers/regulator/s2mps11.c 	.id		= S2MPS11_LDO##num,		\
num               367 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS11_REG_L1CTRL + num - 1,	\
num               369 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS11_REG_L1CTRL + num - 1,	\
num               373 drivers/regulator/s2mps11.c #define regulator_desc_s2mps11_buck1_4(num) {			\
num               374 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               375 drivers/regulator/s2mps11.c 	.id		= S2MPS11_BUCK##num,			\
num               384 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS11_REG_B1CTRL2 + (num - 1) * 2,	\
num               386 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS11_REG_B1CTRL1 + (num - 1) * 2,	\
num               407 drivers/regulator/s2mps11.c #define regulator_desc_s2mps11_buck67810(num, min, step, min_sel, voltages) {	\
num               408 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               409 drivers/regulator/s2mps11.c 	.id		= S2MPS11_BUCK##num,			\
num               418 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS11_REG_B6CTRL2 + (num - 6) * 2,	\
num               420 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS11_REG_B6CTRL1 + (num - 6) * 2,	\
num               497 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) {	\
num               498 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,				\
num               499 drivers/regulator/s2mps11.c 	.id		= S2MPS13_LDO##num,			\
num               507 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS13_REG_L1CTRL + num - 1,		\
num               509 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS13_REG_L1CTRL + num - 1,		\
num               513 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck(num, min, step, min_sel) {	\
num               514 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               515 drivers/regulator/s2mps11.c 	.id		= S2MPS13_BUCK##num,			\
num               524 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS13_REG_B1OUT + (num - 1) * 2,	\
num               526 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS13_REG_B1CTRL + (num - 1) * 2,	\
num               530 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) {	\
num               531 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               532 drivers/regulator/s2mps11.c 	.id		= S2MPS13_BUCK##num,			\
num               541 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS13_REG_B1OUT + (num) * 2 - 1,	\
num               543 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS13_REG_B1CTRL + (num - 1) * 2,	\
num               547 drivers/regulator/s2mps11.c #define regulator_desc_s2mps13_buck8_10(num, min, step, min_sel) {	\
num               548 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               549 drivers/regulator/s2mps11.c 	.id		= S2MPS13_BUCK##num,			\
num               558 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS13_REG_B1OUT + (num) * 2 - 1,	\
num               560 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS13_REG_B1CTRL + (num) * 2 - 1,	\
num               629 drivers/regulator/s2mps11.c #define regulator_desc_s2mps14_ldo(num, min, step) {	\
num               630 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               631 drivers/regulator/s2mps11.c 	.id		= S2MPS14_LDO##num,		\
num               638 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS14_REG_L1CTRL + num - 1,	\
num               640 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS14_REG_L1CTRL + num - 1,	\
num               644 drivers/regulator/s2mps11.c #define regulator_desc_s2mps14_buck(num, min, step, min_sel) {	\
num               645 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num               646 drivers/regulator/s2mps11.c 	.id		= S2MPS14_BUCK##num,			\
num               655 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS14_REG_B1CTRL2 + (num - 1) * 2,	\
num               657 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS14_REG_B1CTRL1 + (num - 1) * 2,	\
num               720 drivers/regulator/s2mps11.c #define regulator_desc_s2mps15_ldo(num, range) {	\
num               721 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               722 drivers/regulator/s2mps11.c 	.id		= S2MPS15_LDO##num,		\
num               729 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS15_REG_L1CTRL + num - 1,	\
num               731 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS15_REG_L1CTRL + num - 1,	\
num               735 drivers/regulator/s2mps11.c #define regulator_desc_s2mps15_buck(num, range) {			\
num               736 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,					\
num               737 drivers/regulator/s2mps11.c 	.id		= S2MPS15_BUCK##num,				\
num               745 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPS15_REG_B1CTRL2 + ((num - 1) * 2),	\
num               747 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPS15_REG_B1CTRL1 + ((num - 1) * 2),	\
num               942 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_ldo1(num) {		\
num               943 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               944 drivers/regulator/s2mps11.c 	.id		= S2MPU02_LDO##num,		\
num               957 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_ldo2(num) {		\
num               958 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               959 drivers/regulator/s2mps11.c 	.id		= S2MPU02_LDO##num,		\
num               972 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_ldo3(num) {		\
num               973 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               974 drivers/regulator/s2mps11.c 	.id		= S2MPU02_LDO##num,		\
num               982 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num               984 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num               987 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_ldo4(num) {		\
num               988 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num               989 drivers/regulator/s2mps11.c 	.id		= S2MPU02_LDO##num,		\
num               997 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num               999 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num              1002 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_ldo5(num) {		\
num              1003 drivers/regulator/s2mps11.c 	.name		= "LDO"#num,			\
num              1004 drivers/regulator/s2mps11.c 	.id		= S2MPU02_LDO##num,		\
num              1012 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num              1014 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPU02_REG_L3CTRL + num - 3,	\
num              1018 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_buck1234(num) {			\
num              1019 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num              1020 drivers/regulator/s2mps11.c 	.id		= S2MPU02_BUCK##num,			\
num              1029 drivers/regulator/s2mps11.c 	.vsel_reg	= S2MPU02_REG_B1CTRL2 + (num - 1) * 2,	\
num              1031 drivers/regulator/s2mps11.c 	.enable_reg	= S2MPU02_REG_B1CTRL1 + (num - 1) * 2,	\
num              1034 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_buck5(num) {			\
num              1035 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num              1036 drivers/regulator/s2mps11.c 	.id		= S2MPU02_BUCK##num,			\
num              1050 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_buck6(num) {			\
num              1051 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num              1052 drivers/regulator/s2mps11.c 	.id		= S2MPU02_BUCK##num,			\
num              1066 drivers/regulator/s2mps11.c #define regulator_desc_s2mpu02_buck7(num) {			\
num              1067 drivers/regulator/s2mps11.c 	.name		= "BUCK"#num,				\
num              1068 drivers/regulator/s2mps11.c 	.id		= S2MPU02_BUCK##num,			\
num               411 drivers/regulator/tps65090-regulator.c 	int num;
num               431 drivers/regulator/tps65090-regulator.c 	for (num = 0; num < TPS65090_REGULATOR_MAX; num++) {
num               432 drivers/regulator/tps65090-regulator.c 		tps_pdata = tps65090_pdata->reg_pdata[num];
num               434 drivers/regulator/tps65090-regulator.c 		ri = &pmic[num];
num               436 drivers/regulator/tps65090-regulator.c 		ri->desc = &tps65090_regulator_desc[num];
num               447 drivers/regulator/tps65090-regulator.c 		if (tps_pdata && is_dcdc(num) && tps_pdata->reg_init_data) {
num               470 drivers/regulator/tps65090-regulator.c 			config.of_node = tps65090_reg_matches[num].of_node;
num               495 drivers/regulator/tps65090-regulator.c 		if (tps_pdata && is_dcdc(num) && tps_pdata->reg_init_data &&
num               337 drivers/regulator/tps6586x-regulator.c 	int num;
num               344 drivers/regulator/tps6586x-regulator.c 		num = ARRAY_SIZE(tps658623_regulator);
num               349 drivers/regulator/tps6586x-regulator.c 		num = ARRAY_SIZE(tps658640_regulator);
num               353 drivers/regulator/tps6586x-regulator.c 		num = ARRAY_SIZE(tps658643_regulator);
num               359 drivers/regulator/tps6586x-regulator.c 		for (i = 0; i < num; i++) {
num               397 drivers/regulator/tps6586x-regulator.c 	const unsigned int num = ARRAY_SIZE(tps6586x_matches);
num               411 drivers/regulator/tps6586x-regulator.c 	err = of_regulator_match(&pdev->dev, regs, tps6586x_matches, num);
num               422 drivers/regulator/tps6586x-regulator.c 	for (i = 0; i < num; i++) {
num               670 drivers/regulator/tps80031-regulator.c 	int num;
num               684 drivers/regulator/tps80031-regulator.c 	for (num = 0; num < TPS80031_REGULATOR_MAX; ++num) {
num               685 drivers/regulator/tps80031-regulator.c 		tps_pdata = pdata->regulator_pdata[num];
num               686 drivers/regulator/tps80031-regulator.c 		ri = &pmic[num];
num               687 drivers/regulator/tps80031-regulator.c 		ri->rinfo = &tps80031_rinfo[num];
num               463 drivers/regulator/twl-regulator.c #define TWL4030_ADJUSTABLE_LDO(label, offset, num, turnon_delay, remap_conf) \
num               466 drivers/regulator/twl-regulator.c 	.id = num, \
num               482 drivers/regulator/twl-regulator.c #define TWL4030_ADJUSTABLE_SMPS(label, offset, num, turnon_delay, remap_conf, \
num               486 drivers/regulator/twl-regulator.c 	.id = num, \
num               502 drivers/regulator/twl-regulator.c #define TWL4030_FIXED_LDO(label, offset, mVolts, num, turnon_delay, \
num               506 drivers/regulator/twl-regulator.c 	.id = num, \
num               384 drivers/remoteproc/remoteproc_core.c 		i, vring->da, vring->num, vring->align);
num               387 drivers/remoteproc/remoteproc_core.c 	if (!vring->num || !vring->align) {
num               389 drivers/remoteproc/remoteproc_core.c 			vring->num, vring->align);
num               393 drivers/remoteproc/remoteproc_core.c 	rvring->len = vring->num;
num              1048 drivers/remoteproc/remoteproc_core.c 	for (i = 0; i < rproc->table_ptr->num; i++) {
num               204 drivers/remoteproc/remoteproc_debugfs.c 	for (i = 0; i < table->num; i++) {
num               256 drivers/remoteproc/remoteproc_debugfs.c 				seq_printf(seq, "    Number of buffers %d\n", v->vring[j].num);
num               250 drivers/remoteproc/remoteproc_elf_loader.c 		if (struct_size(table, offset, table->num) > size) {
num               872 drivers/reset/core.c 	int num, i;
num               874 drivers/reset/core.c 	num = of_reset_control_get_count(np);
num               875 drivers/reset/core.c 	if (num < 0)
num               876 drivers/reset/core.c 		return optional ? NULL : ERR_PTR(num);
num               878 drivers/reset/core.c 	resets = kzalloc(struct_size(resets, rstc, num), GFP_KERNEL);
num               882 drivers/reset/core.c 	for (i = 0; i < num; i++) {
num               889 drivers/reset/core.c 	resets->num_rstcs = num;
num                49 drivers/rtc/dev.c 	int num = 0;
num                58 drivers/rtc/dev.c 		num = (tm.tm_sec + 60 - rtc->oldsecs) % 60;
num                68 drivers/rtc/dev.c 	if (num)
num                69 drivers/rtc/dev.c 		rtc_handle_legacy_irq(rtc, num, RTC_UF);
num               606 drivers/rtc/interface.c void rtc_handle_legacy_irq(struct rtc_device *rtc, int num, int mode)
num               612 drivers/rtc/interface.c 	rtc->irq_data = (rtc->irq_data + (num << 8)) | (RTC_IRQF | mode);
num               673 drivers/rtc/interface.c 		    unsigned long num, unsigned long events)
num               362 drivers/rtc/rtc-ac100.c 	chip->clk_data->num = i;
num               309 drivers/rtc/rtc-sun6i.c 	clk_data->num = 2;
num               314 drivers/rtc/rtc-sun6i.c 		clk_data->num = 3;
num               386 drivers/s390/char/sclp_cmd.c 	static u16 first_rn, num;
num               388 drivers/s390/char/sclp_cmd.c 	if (rn && first_rn && (first_rn + num == rn)) {
num               389 drivers/s390/char/sclp_cmd.c 		num++;
num               395 drivers/s390/char/sclp_cmd.c 	size = (unsigned long long) num * sclp.rzm;
num               412 drivers/s390/char/sclp_cmd.c 	num = 1;
num               227 drivers/s390/cio/airq.c unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num)
num               231 drivers/s390/cio/airq.c 	if (!iv->avail || num == 0)
num               235 drivers/s390/cio/airq.c 	while (bit + num <= iv->bits) {
num               236 drivers/s390/cio/airq.c 		for (i = 1; i < num; i++)
num               239 drivers/s390/cio/airq.c 		if (i >= num) {
num               241 drivers/s390/cio/airq.c 			for (i = 0; i < num; i++)
num               243 drivers/s390/cio/airq.c 			if (bit + num >= iv->end)
num               244 drivers/s390/cio/airq.c 				iv->end = bit + num + 1;
num               249 drivers/s390/cio/airq.c 	if (bit + num > iv->bits)
num               262 drivers/s390/cio/airq.c void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num)
num               266 drivers/s390/cio/airq.c 	if (!iv->avail || num == 0)
num               269 drivers/s390/cio/airq.c 	for (i = 0; i < num; i++) {
num               275 drivers/s390/cio/airq.c 	if (bit + num >= iv->end) {
num                33 drivers/s390/cio/chp.h static inline int chp_test_bit(u8 *bitmap, int num)
num                35 drivers/s390/cio/chp.h 	int byte = num >> 3;
num                36 drivers/s390/cio/chp.h 	int mask = 128 >> (num & 7);
num               469 drivers/s390/cio/chsc.c 	int num;
num               476 drivers/s390/cio/chsc.c 	for (num = 0; num <= __MAX_CHPID; num++) {
num               477 drivers/s390/cio/chsc.c 		if (!chp_test_bit(data, num))
num               479 drivers/s390/cio/chsc.c 		chpid.id = num;
num               504 drivers/s390/cio/chsc.c 	int num;
num               512 drivers/s390/cio/chsc.c 	for (num = 0; num <= __MAX_CHPID; num++) {
num               513 drivers/s390/cio/chsc.c 		if (!chp_test_bit(data->map, num))
num               515 drivers/s390/cio/chsc.c 		chpid.id = num;
num               117 drivers/s390/cio/fcx.c static u32 calc_cbc_size(struct tidaw *tidaw, int num)
num               124 drivers/s390/cio/fcx.c 	for (i = 0; i < num; i++) {
num               194 drivers/s390/cio/scm.c static int scm_add(struct chsc_scm_info *scm_info, size_t num)
num               200 drivers/s390/cio/scm.c 	for (sale = scmal; sale < scmal + num; sale++) {
num               227 drivers/s390/cio/scm.c 	size_t num;
num               239 drivers/s390/cio/scm.c 		num = (scm_info->response.length -
num               244 drivers/s390/cio/scm.c 		ret = scm_add(scm_info, num);
num                43 drivers/s390/virtio/virtio_ccw.c 	__u16 num;
num                89 drivers/s390/virtio/virtio_ccw.c 	__u16 num;
num                96 drivers/s390/virtio/virtio_ccw.c 	__u16 num;
num               124 drivers/s390/virtio/virtio_ccw.c 	int num;
num               443 drivers/s390/virtio/virtio_ccw.c 	return vcdev->dma_area->config_block.num ?: -ENOENT;
num               464 drivers/s390/virtio/virtio_ccw.c 		info->info_block->l.num = 0;
num               469 drivers/s390/virtio/virtio_ccw.c 		info->info_block->s.num = 0;
num               538 drivers/s390/virtio/virtio_ccw.c 	info->num = virtio_ccw_read_vq_conf(vcdev, ccw, i);
num               539 drivers/s390/virtio/virtio_ccw.c 	if (info->num < 0) {
num               540 drivers/s390/virtio/virtio_ccw.c 		err = info->num;
num               544 drivers/s390/virtio/virtio_ccw.c 	vq = vring_create_virtqueue(i, info->num, KVM_VIRTIO_CCW_RING_ALIGN,
num               555 drivers/s390/virtio/virtio_ccw.c 	info->num = virtqueue_get_vring_size(vq);
num               563 drivers/s390/virtio/virtio_ccw.c 		info->info_block->l.num = info->num;
num               568 drivers/s390/virtio/virtio_ccw.c 		info->info_block->s.num = info->num;
num              2016 drivers/scsi/aacraid/commsup.c 	unsigned int num = 0;
num              2026 drivers/scsi/aacraid/commsup.c 	num = le32_to_cpu(dev->init->r7.adapter_fibs_size)
num              2032 drivers/scsi/aacraid/commsup.c 		++num;
num              2036 drivers/scsi/aacraid/commsup.c 	return num;
num              2041 drivers/scsi/aacraid/commsup.c 						unsigned int num)
num              2048 drivers/scsi/aacraid/commsup.c 	while (hw_fib_p < &hw_fib_pool[num]) {
num              2065 drivers/scsi/aacraid/commsup.c 	num = hw_fib_p - hw_fib_pool;
num              2066 drivers/scsi/aacraid/commsup.c 	return num;
num              2074 drivers/scsi/aacraid/commsup.c 						unsigned int num)
num              2129 drivers/scsi/aacraid/commsup.c 		if (hw_fib_p >= &hw_fib_pool[num]) {
num              2181 drivers/scsi/aacraid/commsup.c 		unsigned int  num;
num              2239 drivers/scsi/aacraid/commsup.c 		num = get_fib_count(dev);
num              2240 drivers/scsi/aacraid/commsup.c 		if (!num)
num              2243 drivers/scsi/aacraid/commsup.c 		hw_fib_pool = kmalloc_array(num, sizeof(struct hw_fib *),
num              2248 drivers/scsi/aacraid/commsup.c 		fib_pool = kmalloc_array(num, sizeof(struct fib *), GFP_KERNEL);
num              2256 drivers/scsi/aacraid/commsup.c 		num = fillup_pools(dev, hw_fib_pool, fib_pool, num);
num              2257 drivers/scsi/aacraid/commsup.c 		if (!num)
num              2265 drivers/scsi/aacraid/commsup.c 							    fib, hw_fib, num);
num              2271 drivers/scsi/aacraid/commsup.c 		while (hw_fib_p < &hw_fib_pool[num]) {
num               335 drivers/scsi/aacraid/linit.c 		int num;
num               338 drivers/scsi/aacraid/linit.c 		for(num = 0; num < 4; num++) {
num               358 drivers/scsi/aacraid/linit.c 		if (num == 4) {
num               364 drivers/scsi/aacraid/linit.c 		if (num < 4 && end_sec == param->sectors) {
num               367 drivers/scsi/aacraid/linit.c 					param->heads, param->sectors, num));
num               370 drivers/scsi/aacraid/linit.c 				end_head + 1, end_sec, num));
num               527 drivers/scsi/aacraid/linit.c 		unsigned num = 0;
num               532 drivers/scsi/aacraid/linit.c 				++num;
num               533 drivers/scsi/aacraid/linit.c 			++num;
num               535 drivers/scsi/aacraid/linit.c 		if (num >= host->can_queue)
num               536 drivers/scsi/aacraid/linit.c 			num = host->can_queue - 1;
num               537 drivers/scsi/aacraid/linit.c 		if (depth > (host->can_queue - num))
num               538 drivers/scsi/aacraid/linit.c 			depth = host->can_queue - num;
num              2103 drivers/scsi/advansys.c #define ASC_TENTHS(num, den) \
num              2104 drivers/scsi/advansys.c     (((10 * ((num)/(den))) > (((num) * 10)/(den))) ? \
num              2105 drivers/scsi/advansys.c     0 : ((((num) * 10)/(den)) - (10 * ((num)/(den)))))
num              2798 drivers/scsi/advansys.c 	ushort w, num;
num              2819 drivers/scsi/advansys.c 		num = w & 0x3FF;
num              2820 drivers/scsi/advansys.c 		*cp++ = '0' + (num / 100);
num              2821 drivers/scsi/advansys.c 		num %= 100;
num              2822 drivers/scsi/advansys.c 		*cp++ = '0' + (num / 10);
num              2825 drivers/scsi/advansys.c 		*cp++ = 'A' + (num % 10);
num              2845 drivers/scsi/advansys.c 		num = w & 0x003F;
num              2846 drivers/scsi/advansys.c 		*cp++ = '0' + num / 10;
num              2847 drivers/scsi/advansys.c 		num %= 10;
num              2848 drivers/scsi/advansys.c 		*cp++ = '0' + num;
num              2859 drivers/scsi/advansys.c 		num = w % 1000;
num              2860 drivers/scsi/advansys.c 		*cp++ = '0' + num / 100;
num              2861 drivers/scsi/advansys.c 		num %= 100;
num              2862 drivers/scsi/advansys.c 		*cp++ = '0' + num / 10;
num              2863 drivers/scsi/advansys.c 		num %= 10;
num              2864 drivers/scsi/advansys.c 		*cp++ = '0' + num;
num               925 drivers/scsi/aic94xx/aic94xx_dump.c void asd_dump_scb_list(struct asd_ascb *ascb, int num)
num               929 drivers/scsi/aic94xx/aic94xx_dump.c 	asd_printk("dumping %d scbs:\n", num);
num               932 drivers/scsi/aic94xx/aic94xx_dump.c 	--num;
num               934 drivers/scsi/aic94xx/aic94xx_dump.c 	if (num > 0 && !list_empty(&ascb->list)) {
num               941 drivers/scsi/aic94xx/aic94xx_dump.c 			if (--num <= 0)
num              1086 drivers/scsi/aic94xx/aic94xx_hwi.c 				     *asd_ha, int *num,
num              1091 drivers/scsi/aic94xx/aic94xx_hwi.c 	for ( ; *num > 0; --*num) {
num              1188 drivers/scsi/aic94xx/aic94xx_hwi.c 		       int num)
num              1196 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (can_queue >= num)
num              1197 drivers/scsi/aic94xx/aic94xx_hwi.c 		asd_ha->seq.pending += num;
num              1213 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->seq.scbpro += num;
num              1240 drivers/scsi/aic94xx/aic94xx_hwi.c 		       int num)
num              1246 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->seq.scbpro += num;
num              1339 drivers/scsi/aic94xx/aic94xx_hwi.c 	int num = 0, k;
num              1349 drivers/scsi/aic94xx/aic94xx_hwi.c 		num++;
num              1353 drivers/scsi/aic94xx/aic94xx_hwi.c 	k = num;
num              1359 drivers/scsi/aic94xx/aic94xx_hwi.c 	num -= k;
num              1366 drivers/scsi/aic94xx/aic94xx_hwi.c 	ASD_DPRINTK("posting %d control phy scbs\n", num);
num              1367 drivers/scsi/aic94xx/aic94xx_hwi.c 	k = asd_post_ascb_list(asd_ha, ascb_list, num);
num                45 drivers/scsi/aic94xx/aic94xx_hwi.h 	u16    num;
num               362 drivers/scsi/aic94xx/aic94xx_hwi.h 				     *asd_ha, int *num,
num               366 drivers/scsi/aic94xx/aic94xx_hwi.h 			int num);
num               368 drivers/scsi/aic94xx/aic94xx_hwi.h 			int num);
num               276 drivers/scsi/aic94xx/aic94xx_scb.c 		int num = 1;
num               277 drivers/scsi/aic94xx/aic94xx_scb.c 		struct asd_ascb *cp = asd_ascb_alloc_list(ascb->ha, &num,
num               245 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num);
num               247 drivers/scsi/aic94xx/aic94xx_sds.c 	ASD_DPRINTK("ue num:%d, ue size:%d\n", asd_ha->hw_prof.ue.num,
num               249 drivers/scsi/aic94xx/aic94xx_sds.c 	size = asd_ha->hw_prof.ue.num * asd_ha->hw_prof.ue.size;
num               260 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.ue.num  = 0;
num                18 drivers/scsi/aic94xx/aic94xx_task.c static void asd_can_dequeue(struct asd_ha_struct *asd_ha, int num)
num                23 drivers/scsi/aic94xx/aic94xx_task.c 	asd_ha->seq.can_queue += num;
num               513 drivers/scsi/aic94xx/aic94xx_task.c static int asd_can_queue(struct asd_ha_struct *asd_ha, int num)
num               519 drivers/scsi/aic94xx/aic94xx_task.c 	if ((asd_ha->seq.can_queue - num) < 0)
num               522 drivers/scsi/aic94xx/aic94xx_task.c 		asd_ha->seq.can_queue -= num;
num               819 drivers/scsi/be2iscsi/be_cmds.h 			    int num);
num              3339 drivers/scsi/be2iscsi/be_main.c 	unsigned int idx, num, i, ulp_num;
num              3365 drivers/scsi/be2iscsi/be_main.c 	for (num = 0; num < phba->params.cxns_per_ctrl; num++) {
num              3367 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].virtual_address = wrb_vaddr;
num              3368 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].bus_address.u.a64.address	= pa_addr_lo;
num              3369 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].size = phba->params.wrbs_per_cxn *
num              3371 drivers/scsi/be2iscsi/be_main.c 			wrb_vaddr += pwrb_arr[num].size;
num              3372 drivers/scsi/be2iscsi/be_main.c 			pa_addr_lo += pwrb_arr[num].size;
num              3382 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].virtual_address = wrb_vaddr;
num              3383 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].bus_address.u.a64.address\
num              3385 drivers/scsi/be2iscsi/be_main.c 			pwrb_arr[num].size = phba->params.wrbs_per_cxn *
num              3387 drivers/scsi/be2iscsi/be_main.c 			wrb_vaddr += pwrb_arr[num].size;
num              3388 drivers/scsi/be2iscsi/be_main.c 			pa_addr_lo   += pwrb_arr[num].size;
num              5202 drivers/scsi/be2iscsi/be_main.c 	int eqd, i, num = 0;
num              5235 drivers/scsi/be2iscsi/be_main.c 			set_eqd[num].delay_multiplier = (eqd * 65)/100;
num              5236 drivers/scsi/be2iscsi/be_main.c 			set_eqd[num].eq_id = pbe_eq->q.id;
num              5238 drivers/scsi/be2iscsi/be_main.c 			num++;
num              5241 drivers/scsi/be2iscsi/be_main.c 	if (num)
num              5243 drivers/scsi/be2iscsi/be_main.c 		beiscsi_modify_eq_delay(phba, set_eqd, num);
num               956 drivers/scsi/be2iscsi/be_main.h 	u32 num;		/* number of elements in queue */
num               326 drivers/scsi/be2iscsi/be_mgmt.c 			    struct be_set_eqd *set_eqd, int num)
num               338 drivers/scsi/be2iscsi/be_mgmt.c 	req->num_eq = cpu_to_le32(num);
num               339 drivers/scsi/be2iscsi/be_mgmt.c 	for (i = 0; i < num; i++) {
num               237 drivers/scsi/be2iscsi/be_mgmt.h 			 struct be_set_eqd *, int num);
num                22 drivers/scsi/cxlflash/backend.h 	int (*map_afu_irq)(void *ctx_cookie, int num, irq_handler_t handler,
num                24 drivers/scsi/cxlflash/backend.h 	void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie);
num                36 drivers/scsi/cxlflash/backend.h 	int (*allocate_afu_irqs)(void *ctx_cookie, int num);
num                37 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_map_afu_irq(void *ctx_cookie, int num,
num                40 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_map_afu_irq(ctx_cookie, num, handler, cookie, name);
num                43 drivers/scsi/cxlflash/cxl_hw.c static void cxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie)
num                45 drivers/scsi/cxlflash/cxl_hw.c 	cxl_unmap_afu_irq(ctx_cookie, num, cookie);
num               100 drivers/scsi/cxlflash/cxl_hw.c static int cxlflash_allocate_afu_irqs(void *ctx_cookie, int num)
num               102 drivers/scsi/cxlflash/cxl_hw.c 	return cxl_allocate_afu_irqs(ctx_cookie, num);
num               177 drivers/scsi/cxlflash/ocxl_hw.c static int afu_map_irq(u64 flags, struct ocxlflash_context *ctx, int num,
num               187 drivers/scsi/cxlflash/ocxl_hw.c 	if (num < 0 || num >= ctx->num_irqs) {
num               188 drivers/scsi/cxlflash/ocxl_hw.c 		dev_err(dev, "%s: Interrupt %d not allocated\n", __func__, num);
num               193 drivers/scsi/cxlflash/ocxl_hw.c 	irq = &ctx->irqs[num];
num               235 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_map_afu_irq(void *ctx_cookie, int num,
num               239 drivers/scsi/cxlflash/ocxl_hw.c 	return afu_map_irq(0, ctx_cookie, num, handler, cookie, name);
num               249 drivers/scsi/cxlflash/ocxl_hw.c static void afu_unmap_irq(u64 flags, struct ocxlflash_context *ctx, int num,
num               256 drivers/scsi/cxlflash/ocxl_hw.c 	if (num < 0 || num >= ctx->num_irqs) {
num               257 drivers/scsi/cxlflash/ocxl_hw.c 		dev_err(dev, "%s: Interrupt %d not allocated\n", __func__, num);
num               261 drivers/scsi/cxlflash/ocxl_hw.c 	irq = &ctx->irqs[num];
num               279 drivers/scsi/cxlflash/ocxl_hw.c static void ocxlflash_unmap_afu_irq(void *ctx_cookie, int num, void *cookie)
num               281 drivers/scsi/cxlflash/ocxl_hw.c 	return afu_unmap_irq(0, ctx_cookie, num, cookie);
num               613 drivers/scsi/cxlflash/ocxl_hw.c static int alloc_afu_irqs(struct ocxlflash_context *ctx, int num)
num               629 drivers/scsi/cxlflash/ocxl_hw.c 	if (num > OCXL_MAX_IRQS) {
num               630 drivers/scsi/cxlflash/ocxl_hw.c 		dev_err(dev, "%s: Too many interrupts num=%d\n", __func__, num);
num               635 drivers/scsi/cxlflash/ocxl_hw.c 	irqs = kcalloc(num, sizeof(*irqs), GFP_KERNEL);
num               642 drivers/scsi/cxlflash/ocxl_hw.c 	for (i = 0; i < num; i++) {
num               655 drivers/scsi/cxlflash/ocxl_hw.c 	ctx->num_irqs = num;
num               672 drivers/scsi/cxlflash/ocxl_hw.c static int ocxlflash_allocate_afu_irqs(void *ctx_cookie, int num)
num               674 drivers/scsi/cxlflash/ocxl_hw.c 	return alloc_afu_irqs(ctx_cookie, num);
num               106 drivers/scsi/esas2r/esas2r.h #define DEFINED_NUM_TO_STR(num) NUM_TO_STR(num)
num               107 drivers/scsi/esas2r/esas2r.h #define NUM_TO_STR(num) #num
num              1135 drivers/scsi/ibmvscsi/ibmvfc.c 	const unsigned int *num;
num              1144 drivers/scsi/ibmvscsi/ibmvfc.c 	num = of_get_property(rootdn, "ibm,partition-no", NULL);
num              1145 drivers/scsi/ibmvscsi/ibmvfc.c 	if (num)
num              1146 drivers/scsi/ibmvscsi/ibmvfc.c 		vhost->partition_number = *num;
num              2878 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static int ibmvscsis_alloc_cmds(struct scsi_info *vscsi, int num)
num              2884 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	vscsi->cmd_pool = kcalloc(num, sizeof(struct ibmvscsis_cmd),
num              2889 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	for (i = 0, cmd = (struct ibmvscsis_cmd *)vscsi->cmd_pool; i < num;
num              3657 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	const uint *num;
num              3672 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	num = of_get_property(rootdn, "ibm,partition-no", NULL);
num              3673 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	if (num)
num              3674 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		partition_number = of_read_number(num, 1);
num               102 drivers/scsi/isci/task.c #define for_each_sas_task(num, task) \
num               103 drivers/scsi/isci/task.c 	for (; num > 0; num--,\
num              5674 drivers/scsi/lpfc/lpfc_debugfs.c 	uint32_t num, i;
num              5811 drivers/scsi/lpfc/lpfc_debugfs.c 			num = lpfc_debugfs_max_slow_ring_trc - 1;
num              5812 drivers/scsi/lpfc/lpfc_debugfs.c 			if (num & lpfc_debugfs_max_slow_ring_trc) {
num              5814 drivers/scsi/lpfc/lpfc_debugfs.c 				num = lpfc_debugfs_max_slow_ring_trc;
num              5816 drivers/scsi/lpfc/lpfc_debugfs.c 				while (num > 1) {
num              5817 drivers/scsi/lpfc/lpfc_debugfs.c 					num = num >> 1;
num              5856 drivers/scsi/lpfc/lpfc_debugfs.c 			num = lpfc_debugfs_max_nvmeio_trc - 1;
num              5857 drivers/scsi/lpfc/lpfc_debugfs.c 			if (num & lpfc_debugfs_max_disc_trc) {
num              5859 drivers/scsi/lpfc/lpfc_debugfs.c 				num = lpfc_debugfs_max_nvmeio_trc;
num              5861 drivers/scsi/lpfc/lpfc_debugfs.c 				while (num > 1) {
num              5862 drivers/scsi/lpfc/lpfc_debugfs.c 					num = num >> 1;
num              5904 drivers/scsi/lpfc/lpfc_debugfs.c 		num = lpfc_debugfs_max_disc_trc - 1;
num              5905 drivers/scsi/lpfc/lpfc_debugfs.c 		if (num & lpfc_debugfs_max_disc_trc) {
num              5907 drivers/scsi/lpfc/lpfc_debugfs.c 			num = lpfc_debugfs_max_disc_trc;
num              5909 drivers/scsi/lpfc/lpfc_debugfs.c 			while (num > 1) {
num              5910 drivers/scsi/lpfc/lpfc_debugfs.c 				num = num >> 1;
num              3072 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t num:4;  /* number after dist type */
num              3074 drivers/scsi/lpfc/lpfc_hw.h 	uint32_t num:4;  /* number after dist type */
num               327 drivers/scsi/lpfc/lpfc_init.c 	if ((prg->dist == 3) && (prg->num == 0))
num               333 drivers/scsi/lpfc/lpfc_init.c 			dist, prg->num);
num                91 drivers/scsi/mvsas/mv_sas.c 	unsigned long i = 0, j = 0, n = 0, num = 0;
num               109 drivers/scsi/mvsas/mv_sas.c 				num++;
num               116 drivers/scsi/mvsas/mv_sas.c 	return num;
num              1863 drivers/scsi/mvsas/mv_sas.c 	int i, phyno[WIDE_PORT_MAX_PHY], num;
num              1864 drivers/scsi/mvsas/mv_sas.c 	num = mvs_find_dev_phyno(dev, phyno);
num              1865 drivers/scsi/mvsas/mv_sas.c 	for (i = 0; i < num; i++)
num              6532 drivers/scsi/ncr53c8xx.c static void ncr_sir_to_redo(struct ncb *np, int num, struct ccb *cp)
num              6687 drivers/scsi/ncr53c8xx.c 	u_char num = INB (nc_dsps);
num              6694 drivers/scsi/ncr53c8xx.c 	if (DEBUG_FLAGS & DEBUG_TINY) printk ("I#%d", num);
num              6696 drivers/scsi/ncr53c8xx.c 	switch (num) {
num              6727 drivers/scsi/ncr53c8xx.c 			ncr_name (np), target, num);
num              6732 drivers/scsi/ncr53c8xx.c 			ncr_name (np), target, num);
num              6738 drivers/scsi/ncr53c8xx.c 		ncr_sir_to_redo(np, num, cp);
num              6755 drivers/scsi/ncr53c8xx.c 	switch (num) {
num              6841 drivers/scsi/ncr53c8xx.c 					"status=%x.\n", num, cp->nego_status);
num               856 drivers/scsi/nsp32.c 	int num, i;
num               864 drivers/scsi/nsp32.c 	num = scsi_dma_map(SCpnt);
num               865 drivers/scsi/nsp32.c 	if (!num)
num               867 drivers/scsi/nsp32.c 	else if (num < 0)
num               870 drivers/scsi/nsp32.c 		scsi_for_each_sg(SCpnt, sg, num, i) {
num               890 drivers/scsi/nsp32.c 		l = le32_to_cpu(sgt[num-1].len);
num               891 drivers/scsi/nsp32.c 		sgt[num-1].len = cpu_to_le32(l | SGTEND);
num              1711 drivers/scsi/qla1280.c 	int err = 0, num, i;
num              1736 drivers/scsi/qla1280.c 	num = 0;
num              1747 drivers/scsi/qla1280.c 			fw_data, cnt, num, risc_address);
num              1791 drivers/scsi/qla1280.c 						__func__, i, num);
num              1802 drivers/scsi/qla1280.c 		num++;
num               917 drivers/scsi/qla2xxx/qla_def.h #define MAILBOX_REG(ha, reg, num) \
num               919 drivers/scsi/qla2xxx/qla_def.h 	 (num < 8 ? \
num               920 drivers/scsi/qla2xxx/qla_def.h 	  &(reg)->u.isp2100.mailbox0 + (num) : \
num               921 drivers/scsi/qla2xxx/qla_def.h 	  &(reg)->u_end.isp2200.mailbox8 + (num) - 8) : \
num               922 drivers/scsi/qla2xxx/qla_def.h 	 &(reg)->u.isp2300.mailbox0 + (num))
num               923 drivers/scsi/qla2xxx/qla_def.h #define RD_MAILBOX_REG(ha, reg, num) \
num               924 drivers/scsi/qla2xxx/qla_def.h 	RD_REG_WORD(MAILBOX_REG(ha, reg, num))
num               925 drivers/scsi/qla2xxx/qla_def.h #define WRT_MAILBOX_REG(ha, reg, num, data) \
num               926 drivers/scsi/qla2xxx/qla_def.h 	WRT_REG_WORD(MAILBOX_REG(ha, reg, num), data)
num               149 drivers/scsi/qlogicfas.c 	int num;
num               151 drivers/scsi/qlogicfas.c 	for (num = 0; num < MAX_QLOGICFAS; num++) {
num               152 drivers/scsi/qlogicfas.c 		shost = __qlogicfas_detect(sht, iobase[num], irq[num]);
num               162 drivers/scsi/qlogicfas.c 	return num;
num                35 drivers/scsi/raid_class.c 	int num;
num               239 drivers/scsi/raid_class.c 	rc->num = rd->component_count++;
num               241 drivers/scsi/raid_class.c 	dev_set_name(&rc->dev, "component-%d", rc->num);
num              1076 drivers/scsi/scsi_debug.c 	int num, port_a;
num              1087 drivers/scsi/scsi_debug.c 	num = 8 + 16 + dev_id_str_len;
num              1088 drivers/scsi/scsi_debug.c 	arr[3] = num;
num              1089 drivers/scsi/scsi_debug.c 	num += 4;
num              1093 drivers/scsi/scsi_debug.c 			arr[num++] = 0x1;  /* binary (not necessarily sas) */
num              1094 drivers/scsi/scsi_debug.c 			arr[num++] = 0xa;  /* PIV=0, lu, naa */
num              1095 drivers/scsi/scsi_debug.c 			arr[num++] = 0x0;
num              1096 drivers/scsi/scsi_debug.c 			arr[num++] = 0x12;
num              1097 drivers/scsi/scsi_debug.c 			arr[num++] = 0x10; /* uuid type=1, locally assigned */
num              1098 drivers/scsi/scsi_debug.c 			arr[num++] = 0x0;
num              1099 drivers/scsi/scsi_debug.c 			memcpy(arr + num, lu_name, 16);
num              1100 drivers/scsi/scsi_debug.c 			num += 16;
num              1103 drivers/scsi/scsi_debug.c 			arr[num++] = 0x1;  /* binary (not necessarily sas) */
num              1104 drivers/scsi/scsi_debug.c 			arr[num++] = 0x3;  /* PIV=0, lu, naa */
num              1105 drivers/scsi/scsi_debug.c 			arr[num++] = 0x0;
num              1106 drivers/scsi/scsi_debug.c 			arr[num++] = 0x8;
num              1107 drivers/scsi/scsi_debug.c 			put_unaligned_be64(naa3_comp_b + dev_id_num, arr + num);
num              1108 drivers/scsi/scsi_debug.c 			num += 8;
num              1111 drivers/scsi/scsi_debug.c 		arr[num++] = 0x61;	/* proto=sas, binary */
num              1112 drivers/scsi/scsi_debug.c 		arr[num++] = 0x94;	/* PIV=1, target port, rel port */
num              1113 drivers/scsi/scsi_debug.c 		arr[num++] = 0x0;	/* reserved */
num              1114 drivers/scsi/scsi_debug.c 		arr[num++] = 0x4;	/* length */
num              1115 drivers/scsi/scsi_debug.c 		arr[num++] = 0x0;	/* reserved */
num              1116 drivers/scsi/scsi_debug.c 		arr[num++] = 0x0;	/* reserved */
num              1117 drivers/scsi/scsi_debug.c 		arr[num++] = 0x0;
num              1118 drivers/scsi/scsi_debug.c 		arr[num++] = 0x1;	/* relative port A */
num              1121 drivers/scsi/scsi_debug.c 	arr[num++] = 0x61;	/* proto=sas, binary */
num              1122 drivers/scsi/scsi_debug.c 	arr[num++] = 0x93;	/* piv=1, target port, naa */
num              1123 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1124 drivers/scsi/scsi_debug.c 	arr[num++] = 0x8;
num              1125 drivers/scsi/scsi_debug.c 	put_unaligned_be64(naa3_comp_a + port_a, arr + num);
num              1126 drivers/scsi/scsi_debug.c 	num += 8;
num              1128 drivers/scsi/scsi_debug.c 	arr[num++] = 0x61;	/* proto=sas, binary */
num              1129 drivers/scsi/scsi_debug.c 	arr[num++] = 0x95;	/* piv=1, target port group id */
num              1130 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1131 drivers/scsi/scsi_debug.c 	arr[num++] = 0x4;
num              1132 drivers/scsi/scsi_debug.c 	arr[num++] = 0;
num              1133 drivers/scsi/scsi_debug.c 	arr[num++] = 0;
num              1134 drivers/scsi/scsi_debug.c 	put_unaligned_be16(port_group_id, arr + num);
num              1135 drivers/scsi/scsi_debug.c 	num += 2;
num              1137 drivers/scsi/scsi_debug.c 	arr[num++] = 0x61;	/* proto=sas, binary */
num              1138 drivers/scsi/scsi_debug.c 	arr[num++] = 0xa3;	/* piv=1, target device, naa */
num              1139 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1140 drivers/scsi/scsi_debug.c 	arr[num++] = 0x8;
num              1141 drivers/scsi/scsi_debug.c 	put_unaligned_be64(naa3_comp_a + target_dev_id, arr + num);
num              1142 drivers/scsi/scsi_debug.c 	num += 8;
num              1144 drivers/scsi/scsi_debug.c 	arr[num++] = 0x63;	/* proto=sas, UTF-8 */
num              1145 drivers/scsi/scsi_debug.c 	arr[num++] = 0xa8;	/* piv=1, target device, SCSI name string */
num              1146 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1147 drivers/scsi/scsi_debug.c 	arr[num++] = 24;
num              1148 drivers/scsi/scsi_debug.c 	memcpy(arr + num, "naa.32222220", 12);
num              1149 drivers/scsi/scsi_debug.c 	num += 12;
num              1151 drivers/scsi/scsi_debug.c 	memcpy(arr + num, b, 8);
num              1152 drivers/scsi/scsi_debug.c 	num += 8;
num              1153 drivers/scsi/scsi_debug.c 	memset(arr + num, 0, 4);
num              1154 drivers/scsi/scsi_debug.c 	num += 4;
num              1155 drivers/scsi/scsi_debug.c 	return num;
num              1174 drivers/scsi/scsi_debug.c 	int num = 0;
num              1179 drivers/scsi/scsi_debug.c 	arr[num++] = 0x1;	/* lu, storage config */
num              1180 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1181 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1186 drivers/scsi/scsi_debug.c 	arr[num++] = plen;	/* length, null termianted, padded */
num              1187 drivers/scsi/scsi_debug.c 	memcpy(arr + num, na1, olen);
num              1188 drivers/scsi/scsi_debug.c 	memset(arr + num + olen, 0, plen - olen);
num              1189 drivers/scsi/scsi_debug.c 	num += plen;
num              1191 drivers/scsi/scsi_debug.c 	arr[num++] = 0x4;	/* lu, logging */
num              1192 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1193 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1198 drivers/scsi/scsi_debug.c 	arr[num++] = plen;	/* length, null terminated, padded */
num              1199 drivers/scsi/scsi_debug.c 	memcpy(arr + num, na2, olen);
num              1200 drivers/scsi/scsi_debug.c 	memset(arr + num + olen, 0, plen - olen);
num              1201 drivers/scsi/scsi_debug.c 	num += plen;
num              1203 drivers/scsi/scsi_debug.c 	return num;
num              1209 drivers/scsi/scsi_debug.c 	int num = 0;
num              1214 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1215 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1216 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1217 drivers/scsi/scsi_debug.c 	arr[num++] = 0x1;	/* relative port 1 (primary) */
num              1218 drivers/scsi/scsi_debug.c 	memset(arr + num, 0, 6);
num              1219 drivers/scsi/scsi_debug.c 	num += 6;
num              1220 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1221 drivers/scsi/scsi_debug.c 	arr[num++] = 12;	/* length tp descriptor */
num              1223 drivers/scsi/scsi_debug.c 	arr[num++] = 0x61;	/* proto=sas, binary */
num              1224 drivers/scsi/scsi_debug.c 	arr[num++] = 0x93;	/* PIV=1, target port, NAA */
num              1225 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1226 drivers/scsi/scsi_debug.c 	arr[num++] = 0x8;	/* length */
num              1227 drivers/scsi/scsi_debug.c 	put_unaligned_be64(naa3_comp_a + port_a, arr + num);
num              1228 drivers/scsi/scsi_debug.c 	num += 8;
num              1229 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1230 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1231 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1232 drivers/scsi/scsi_debug.c 	arr[num++] = 0x2;	/* relative port 2 (secondary) */
num              1233 drivers/scsi/scsi_debug.c 	memset(arr + num, 0, 6);
num              1234 drivers/scsi/scsi_debug.c 	num += 6;
num              1235 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;
num              1236 drivers/scsi/scsi_debug.c 	arr[num++] = 12;	/* length tp descriptor */
num              1238 drivers/scsi/scsi_debug.c 	arr[num++] = 0x61;	/* proto=sas, binary */
num              1239 drivers/scsi/scsi_debug.c 	arr[num++] = 0x93;	/* PIV=1, target port, NAA */
num              1240 drivers/scsi/scsi_debug.c 	arr[num++] = 0x0;	/* reserved */
num              1241 drivers/scsi/scsi_debug.c 	arr[num++] = 0x8;	/* length */
num              1242 drivers/scsi/scsi_debug.c 	put_unaligned_be64(naa3_comp_a + port_b, arr + num);
num              1243 drivers/scsi/scsi_debug.c 	num += 8;
num              1245 drivers/scsi/scsi_debug.c 	return num;
num              2459 drivers/scsi/scsi_debug.c 	unsigned long long lba, unsigned int num, bool write)
num              2461 drivers/scsi/scsi_debug.c 	if (lba + num > sdebug_capacity) {
num              2466 drivers/scsi/scsi_debug.c 	if (num > sdebug_store_sectors) {
num              2480 drivers/scsi/scsi_debug.c 			    u32 num, bool do_write)
num              2500 drivers/scsi/scsi_debug.c 	if (block + num > sdebug_store_sectors)
num              2501 drivers/scsi/scsi_debug.c 		rest = block + num - sdebug_store_sectors;
num              2505 drivers/scsi/scsi_debug.c 		   (num - rest) * sdebug_sector_size, sg_skip, do_write);
num              2506 drivers/scsi/scsi_debug.c 	if (ret != (num - rest) * sdebug_sector_size)
num              2512 drivers/scsi/scsi_debug.c 			    sg_skip + ((num - rest) * sdebug_sector_size),
num              2522 drivers/scsi/scsi_debug.c static bool comp_write_worker(u64 lba, u32 num, const u8 *arr)
num              2530 drivers/scsi/scsi_debug.c 	if (block + num > store_blks)
num              2531 drivers/scsi/scsi_debug.c 		rest = block + num - store_blks;
num              2534 drivers/scsi/scsi_debug.c 		      (num - rest) * lb_size);
num              2538 drivers/scsi/scsi_debug.c 		res = memcmp(fake_storep, arr + ((num - rest) * lb_size),
num              2542 drivers/scsi/scsi_debug.c 	arr += num * lb_size;
num              2543 drivers/scsi/scsi_debug.c 	memcpy(fake_storep + (block * lb_size), arr, (num - rest) * lb_size);
num              2545 drivers/scsi/scsi_debug.c 		memcpy(fake_storep, arr + ((num - rest) * lb_size),
num              2666 drivers/scsi/scsi_debug.c 	u32 num;
num              2676 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 10);
num              2682 drivers/scsi/scsi_debug.c 		num = get_unaligned_be16(cmd + 7);
num              2689 drivers/scsi/scsi_debug.c 		num = (0 == cmd[4]) ? 256 : cmd[4];
num              2695 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 6);
num              2701 drivers/scsi/scsi_debug.c 		num = get_unaligned_be16(cmd + 7);
num              2707 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 28);
num              2728 drivers/scsi/scsi_debug.c 				num /= 2;
num              2733 drivers/scsi/scsi_debug.c 	ret = check_device_access_params(scp, lba, num, false);
num              2738 drivers/scsi/scsi_debug.c 		     ((lba + num) > sdebug_medium_error_start))) {
num              2756 drivers/scsi/scsi_debug.c 		int prot_ret = prot_verify_read(scp, lba, num, ei_lba);
num              2765 drivers/scsi/scsi_debug.c 	ret = do_device_access(scp, 0, lba, num, false);
num              2904 drivers/scsi/scsi_debug.c static unsigned int map_state(sector_t lba, unsigned int *num)
num              2920 drivers/scsi/scsi_debug.c 	*num = end - lba;
num              2970 drivers/scsi/scsi_debug.c 	u32 num;
num              2980 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 10);
num              2986 drivers/scsi/scsi_debug.c 		num = get_unaligned_be16(cmd + 7);
num              2993 drivers/scsi/scsi_debug.c 		num = (0 == cmd[4]) ? 256 : cmd[4];
num              2999 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 6);
num              3005 drivers/scsi/scsi_debug.c 		num = get_unaligned_be16(cmd + 7);
num              3011 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(cmd + 28);
num              3027 drivers/scsi/scsi_debug.c 	ret = check_device_access_params(scp, lba, num, true);
num              3034 drivers/scsi/scsi_debug.c 		int prot_ret = prot_verify_write(scp, lba, num, ei_lba);
num              3043 drivers/scsi/scsi_debug.c 	ret = do_device_access(scp, 0, lba, num, true);
num              3045 drivers/scsi/scsi_debug.c 		map_region(lba, num);
num              3050 drivers/scsi/scsi_debug.c 			  (ret < (num * sdebug_sector_size))))
num              3053 drivers/scsi/scsi_debug.c 			    my_name, num * sdebug_sector_size, ret);
num              3089 drivers/scsi/scsi_debug.c 	u32 num, num_by, bt_len, lbdof_blen, sg_off, cum_lb;
num              3161 drivers/scsi/scsi_debug.c 		num = get_unaligned_be32(up + 8);
num              3165 drivers/scsi/scsi_debug.c 				my_name, __func__, k, lba, num, sg_off);
num              3166 drivers/scsi/scsi_debug.c 		if (num == 0)
num              3168 drivers/scsi/scsi_debug.c 		ret = check_device_access_params(scp, lba, num, true);
num              3171 drivers/scsi/scsi_debug.c 		num_by = num * lb_size;
num              3174 drivers/scsi/scsi_debug.c 		if ((cum_lb + num) > bt_len) {
num              3187 drivers/scsi/scsi_debug.c 			int prot_ret = prot_verify_write(scp, lba, num,
num              3198 drivers/scsi/scsi_debug.c 		ret = do_device_access(scp, sg_off, lba, num, true);
num              3200 drivers/scsi/scsi_debug.c 			map_region(lba, num);
num              3234 drivers/scsi/scsi_debug.c 		cum_lb += num;
num              3244 drivers/scsi/scsi_debug.c static int resp_write_same(struct scsi_cmnd *scp, u64 lba, u32 num,
num              3254 drivers/scsi/scsi_debug.c 	ret = check_device_access_params(scp, lba, num, true);
num              3261 drivers/scsi/scsi_debug.c 		unmap_region(lba, num);
num              3283 drivers/scsi/scsi_debug.c 	for (i = 1 ; i < num ; i++) {
num              3289 drivers/scsi/scsi_debug.c 		map_region(lba, num);
num              3301 drivers/scsi/scsi_debug.c 	u16 num;
num              3313 drivers/scsi/scsi_debug.c 	num = get_unaligned_be16(cmd + 7);
num              3314 drivers/scsi/scsi_debug.c 	if (num > sdebug_write_same_length) {
num              3318 drivers/scsi/scsi_debug.c 	return resp_write_same(scp, lba, num, ei_lba, unmap, false);
num              3326 drivers/scsi/scsi_debug.c 	u32 num;
num              3341 drivers/scsi/scsi_debug.c 	num = get_unaligned_be32(cmd + 10);
num              3342 drivers/scsi/scsi_debug.c 	if (num > sdebug_write_same_length) {
num              3346 drivers/scsi/scsi_debug.c 	return resp_write_same(scp, lba, num, ei_lba, unmap, ndob);
num              3407 drivers/scsi/scsi_debug.c 	u8 num;
num              3413 drivers/scsi/scsi_debug.c 	num = cmd[13];		/* 1 to a maximum of 255 logical blocks */
num              3414 drivers/scsi/scsi_debug.c 	if (0 == num)
num              3426 drivers/scsi/scsi_debug.c 	ret = check_device_access_params(scp, lba, num, false);
num              3429 drivers/scsi/scsi_debug.c 	dnum = 2 * num;
num              3452 drivers/scsi/scsi_debug.c 	if (!comp_write_worker(lba, num, arr)) {
num              3458 drivers/scsi/scsi_debug.c 		map_region(lba, num);
num              3509 drivers/scsi/scsi_debug.c 		unsigned int num = get_unaligned_be32(&desc[i].blocks);
num              3511 drivers/scsi/scsi_debug.c 		ret = check_device_access_params(scp, lba, num, true);
num              3515 drivers/scsi/scsi_debug.c 		unmap_region(lba, num);
num              3534 drivers/scsi/scsi_debug.c 	u32 alloc_len, mapped, num;
num              3549 drivers/scsi/scsi_debug.c 		mapped = map_state(lba, &num);
num              3555 drivers/scsi/scsi_debug.c 			num = sdebug_capacity - lba;
num              3557 drivers/scsi/scsi_debug.c 			num = 0xffffffff;
num              3563 drivers/scsi/scsi_debug.c 	put_unaligned_be32(num, arr + 16);	/* Number of blocks */
num              1874 drivers/scsi/sg.c 	int ret_sz = 0, i, k, rem_sz, num, mx_sc_elems;
num              1895 drivers/scsi/sg.c 	num = scatter_elem_sz;
num              1896 drivers/scsi/sg.c 	if (unlikely(num != scatter_elem_sz_prev)) {
num              1897 drivers/scsi/sg.c 		if (num < PAGE_SIZE) {
num              1901 drivers/scsi/sg.c 			scatter_elem_sz_prev = num;
num              1907 drivers/scsi/sg.c 	order = get_order(num);
num              1914 drivers/scsi/sg.c 		num = (rem_sz > scatter_elem_sz_prev) ?
num              1921 drivers/scsi/sg.c 		if (num == scatter_elem_sz_prev) {
num              1930 drivers/scsi/sg.c 				 k, num, ret_sz));
num              1980 drivers/scsi/sg.c 	int k, num;
num              1988 drivers/scsi/sg.c 	num = 1 << (PAGE_SHIFT + schp->page_order);
num              1990 drivers/scsi/sg.c 		if (num > num_read_xfer) {
num              1997 drivers/scsi/sg.c 					   num))
num              1999 drivers/scsi/sg.c 			num_read_xfer -= num;
num              2002 drivers/scsi/sg.c 			outp += num;
num              2032 drivers/scsi/sg.c 	int k, num, rem;
num              2039 drivers/scsi/sg.c 	num = 1 << (PAGE_SHIFT + rsv_schp->page_order);
num              2041 drivers/scsi/sg.c 		if (rem <= num) {
num              2050 drivers/scsi/sg.c 			rem -= num;
num              2389 drivers/scsi/sg.c 	unsigned long num;
num              2393 drivers/scsi/sg.c 	err = kstrtoul_from_user(buffer, count, 0, &num);
num              2396 drivers/scsi/sg.c 	sg_allow_dio = num ? 1 : 0;
num               249 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->abts.num),
num              1604 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.abts.num);
num                40 drivers/scsi/snic/snic_stats.h 	atomic64_t num;		/* Abort counter */
num              3030 drivers/scsi/sym53c8xx_2/sym_hipd.c static void sym_sir_bad_scsi_status(struct sym_hcb *np, int num, struct sym_ccb *cp)
num              3269 drivers/scsi/sym53c8xx_2/sym_hipd.c static void sym_sir_task_recovery(struct sym_hcb *np, int num)
num              3278 drivers/scsi/sym53c8xx_2/sym_hipd.c 	switch(num) {
num              3588 drivers/scsi/sym53c8xx_2/sym_hipd.c 	if (num == SIR_TARGET_SELECTED) {
num              4373 drivers/scsi/sym53c8xx_2/sym_hipd.c 	u_char	num	= INB(np, nc_dsps);
num              4380 drivers/scsi/sym53c8xx_2/sym_hipd.c 	if (DEBUG_FLAGS & DEBUG_TINY) printf ("I#%d", num);
num              4382 drivers/scsi/sym53c8xx_2/sym_hipd.c 	switch (num) {
num              4406 drivers/scsi/sym53c8xx_2/sym_hipd.c 		sym_sir_task_recovery(np, num);
num              4485 drivers/scsi/sym53c8xx_2/sym_hipd.c 		sym_sir_bad_scsi_status(np, num, cp);
num               685 drivers/soc/fsl/dpio/dpio-service.c int dpaa2_io_query_bp_count(struct dpaa2_io *d, u16 bpid, u32 *num)
num               702 drivers/soc/fsl/dpio/dpio-service.c 	*num = qbman_bp_info_num_free_bufs(&state);
num               928 drivers/soc/fsl/dpio/qbman-portal.c 	u8 num;
num               936 drivers/soc/fsl/dpio/qbman-portal.c 	u8 num;
num               969 drivers/soc/fsl/dpio/qbman-portal.c 	p->num = num_buffers;
num               989 drivers/soc/fsl/dpio/qbman-portal.c 	WARN_ON(r->num > num_buffers);
num               992 drivers/soc/fsl/dpio/qbman-portal.c 	for (i = 0; i < r->num; i++)
num               995 drivers/soc/fsl/dpio/qbman-portal.c 	return (int)r->num;
num               739 drivers/soc/fsl/qbman/bman.c int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num)
num               745 drivers/soc/fsl/qbman/bman.c 	int i = num - 1;
num               747 drivers/soc/fsl/qbman/bman.c 	DPAA_ASSERT(num > 0 && num <= 8);
num               779 drivers/soc/fsl/qbman/bman.c 			  (num & BM_RCR_VERB_BUFCOUNT_MASK));
num               787 drivers/soc/fsl/qbman/bman.c int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num)
num               794 drivers/soc/fsl/qbman/bman.c 	DPAA_ASSERT(num > 0 && num <= 8);
num               799 drivers/soc/fsl/qbman/bman.c 		     (num & BM_MCC_VERB_ACQUIRE_BUFCOUNT));
num               807 drivers/soc/fsl/qbman/bman.c 		memcpy(&bufs[0], &mcr->bufs[0], num * sizeof(bufs[0]));
num               810 drivers/soc/fsl/qbman/bman.c 	if (ret != num)
num               115 drivers/soc/fsl/qbman/bman_test_api.c 		int num = 8;
num               117 drivers/soc/fsl/qbman/bman_test_api.c 		if (i + num > NUM_BUFS)
num               118 drivers/soc/fsl/qbman/bman_test_api.c 			num = NUM_BUFS - i;
num               119 drivers/soc/fsl/qbman/bman_test_api.c 		if (bman_release(pool, bufs_in + i, num)) {
num               123 drivers/soc/fsl/qbman/bman_test_api.c 		i += num;
num               128 drivers/soc/fsl/qbman/bman_test_api.c 		int tmp, num = 8;
num               130 drivers/soc/fsl/qbman/bman_test_api.c 		if (num > i)
num               131 drivers/soc/fsl/qbman/bman_test_api.c 			num = i;
num               132 drivers/soc/fsl/qbman/bman_test_api.c 		tmp = bman_acquire(pool, bufs_out + i - num, num);
num               133 drivers/soc/fsl/qbman/bman_test_api.c 		WARN_ON(tmp != num);
num               134 drivers/soc/fsl/qbman/bman_test_api.c 		i -= num;
num               834 drivers/soc/fsl/qbman/qman.c static inline void qm_mr_cci_consume(struct qm_portal *portal, u8 num)
num               839 drivers/soc/fsl/qbman/qman.c 	mr->ci = (mr->ci + num) & (QM_MR_SIZE - 1);
num              1494 drivers/soc/fsl/qbman/qman.c 	u8 verb, num = 0;
num              1540 drivers/soc/fsl/qbman/qman.c 		num++;
num              1544 drivers/soc/fsl/qbman/qman.c 	qm_mr_cci_consume(&p->p, num);
num               406 drivers/soc/fsl/qbman/qman_ccsr.c static int qm_init_pfdr(struct device *dev, u32 pfdr_start, u32 num)
num               410 drivers/soc/fsl/qbman/qman_ccsr.c 	DPAA_ASSERT(pfdr_start && !(pfdr_start & 7) && !(num & 7) && num);
num               424 drivers/soc/fsl/qbman/qman_ccsr.c 	qm_ccsr_out(REG_MCP(1), pfdr_start + num - 16);
num               147 drivers/soc/fsl/qe/gpio.c 	int num;
num               197 drivers/soc/fsl/qe/gpio.c 		qe_pin->num = err;
num               226 drivers/soc/fsl/qe/gpio.c 	const int pin = qe_pin->num;
num               249 drivers/soc/fsl/qe/gpio.c 	int pin = qe_pin->num;
num               293 drivers/soc/fsl/qe/gpio.c 	__par_io_config_pin(regs, qe_pin->num, QE_PIO_DIR_IN, 0, 0, 0);
num               345 drivers/soc/mediatek/mtk-scpsys.c 			const struct scp_domain_data *scp_domain_data, int num,
num               372 drivers/soc/mediatek/mtk-scpsys.c 				num, sizeof(*scp->domains), GFP_KERNEL);
num               379 drivers/soc/mediatek/mtk-scpsys.c 			num, sizeof(*pd_data->domains), GFP_KERNEL);
num               391 drivers/soc/mediatek/mtk-scpsys.c 	for (i = 0; i < num; i++) {
num               404 drivers/soc/mediatek/mtk-scpsys.c 	pd_data->num_domains = num;
num               408 drivers/soc/mediatek/mtk-scpsys.c 	for (i = 0; i < num; i++) {
num               441 drivers/soc/mediatek/mtk-scpsys.c 				struct scp *scp, int num)
num               446 drivers/soc/mediatek/mtk-scpsys.c 	for (i = 0; i < num; i++) {
num               347 drivers/soc/qcom/qcom_aoss.c 	size_t num = ARRAY_SIZE(sdm845_resources);
num               351 drivers/soc/qcom/qcom_aoss.c 	res = devm_kcalloc(dev, num, sizeof(*res), GFP_KERNEL);
num               355 drivers/soc/qcom/qcom_aoss.c 	data->domains = devm_kcalloc(dev, num, sizeof(*data->domains),
num               360 drivers/soc/qcom/qcom_aoss.c 	for (i = 0; i < num; i++) {
num               340 drivers/soc/qcom/rpmpd.c 	size_t num;
num               357 drivers/soc/qcom/rpmpd.c 	num = desc->num_pds;
num               363 drivers/soc/qcom/rpmpd.c 	data->domains = devm_kcalloc(&pdev->dev, num, sizeof(*data->domains),
num               365 drivers/soc/qcom/rpmpd.c 	data->num_domains = num;
num               367 drivers/soc/qcom/rpmpd.c 	for (i = 0; i < num; i++) {
num                92 drivers/soc/tegra/fuse/speedo-tegra210.c static int get_process_id(int value, const u32 *speedos, unsigned int num)
num                96 drivers/soc/tegra/fuse/speedo-tegra210.c 	for (i = 0; i < num; i++)
num                97 drivers/soc/tegra/fuse/speedo-tegra210.c 		if (value < speedos[num])
num                80 drivers/soc/ti/ti_sci_inta_msi.c 		for (i = 0; i < res->desc[set].num; i++) {
num                89 drivers/soundwire/bus.h 	int num;
num               810 drivers/soundwire/cadence_master.c 			     u32 num, u32 pdi_offset)
num               815 drivers/soundwire/cadence_master.c 	if (!num)
num               818 drivers/soundwire/cadence_master.c 	pdi = devm_kcalloc(cdns->dev, num, sizeof(*pdi), GFP_KERNEL);
num               822 drivers/soundwire/cadence_master.c 	for (i = 0; i < num; i++) {
num               823 drivers/soundwire/cadence_master.c 		pdi[i].num = i + pdi_offset;
num               917 drivers/soundwire/cadence_master.c 		cdns->ports[i].num = i + 1; /* Port 0 reserved for bulk */
num              1044 drivers/soundwire/cadence_master.c 		dpn_config_off = CDNS_DPN_B1_CONFIG(p_params->num);
num              1046 drivers/soundwire/cadence_master.c 		dpn_config_off = CDNS_DPN_B0_CONFIG(p_params->num);
num              1070 drivers/soundwire/cadence_master.c 	int num = t_params->port_num;
num              1079 drivers/soundwire/cadence_master.c 		dpn_config_off = CDNS_DPN_B1_CONFIG(num);
num              1080 drivers/soundwire/cadence_master.c 		dpn_samplectrl_off = CDNS_DPN_B1_SAMPLE_CTRL(num);
num              1081 drivers/soundwire/cadence_master.c 		dpn_hctrl_off = CDNS_DPN_B1_HCTRL(num);
num              1082 drivers/soundwire/cadence_master.c 		dpn_offsetctrl_off = CDNS_DPN_B1_OFFSET_CTRL(num);
num              1084 drivers/soundwire/cadence_master.c 		dpn_config_off = CDNS_DPN_B0_CONFIG(num);
num              1085 drivers/soundwire/cadence_master.c 		dpn_samplectrl_off = CDNS_DPN_B0_SAMPLE_CTRL(num);
num              1086 drivers/soundwire/cadence_master.c 		dpn_hctrl_off = CDNS_DPN_B0_HCTRL(num);
num              1087 drivers/soundwire/cadence_master.c 		dpn_offsetctrl_off = CDNS_DPN_B0_OFFSET_CTRL(num);
num              1191 drivers/soundwire/cadence_master.c 					  unsigned int num,
num              1196 drivers/soundwire/cadence_master.c 	for (i = 0; i < num; i++) {
num              1224 drivers/soundwire/cadence_master.c 	offset = CDNS_PORTCTRL + port->num * CDNS_PORT_OFFSET;
num              1227 drivers/soundwire/cadence_master.c 	val = port->num;
num              1229 drivers/soundwire/cadence_master.c 	cdns_writel(cdns, CDNS_PDI_CONFIG(pdi->num), val);
num              1243 drivers/soundwire/cadence_master.c 			    unsigned int num, u32 ch_count)
num              1247 drivers/soundwire/cadence_master.c 	for (i = 0; i < num; i++) {
num                22 drivers/soundwire/cadence_master.h 	int num;
num                41 drivers/soundwire/cadence_master.h 	unsigned int num;
num               442 drivers/soundwire/intel.c 		pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num, pcm);
num               483 drivers/soundwire/intel.c 	pdi->intel_alh_id = (link_id * 16) + pdi->num + 3;
num               484 drivers/soundwire/intel.c 	if (pdi->num >= 2)
num               504 drivers/soundwire/intel.c 	intel_writew(shim, SDW_SHIM_PCMSYCHM(link_id, pdi->num), pdi_conf);
num               515 drivers/soundwire/intel.c 	pdi->intel_alh_id = (link_id * 16) + pdi->num + 3;
num               516 drivers/soundwire/intel.c 	if (pdi->num >= 2)
num               747 drivers/soundwire/intel.c 		pconfig[i].num = dma->port[i]->num;
num               836 drivers/soundwire/intel.c 			    u32 num, u32 off, u32 max_ch, bool pcm)
num               840 drivers/soundwire/intel.c 	if (num == 0)
num               844 drivers/soundwire/intel.c 	for (i = off; i < (off + num); i++) {
num               180 drivers/soundwire/mipi_disco.c 		dpn[i].num = bit;
num               307 drivers/soundwire/stream.c 		addr = SDW_DPN_CHANNELEN_B1(p_rt->num);
num               309 drivers/soundwire/stream.c 		addr = SDW_DPN_CHANNELEN_B0(p_rt->num);
num               337 drivers/soundwire/stream.c 	enable_ch.port_num = p_rt->num;
num               428 drivers/soundwire/stream.c 	prep_ch.num = p_rt->num;
num               433 drivers/soundwire/stream.c 					  prep_ch.num);
num               436 drivers/soundwire/stream.c 			"Slave Port:%d properties not found\n", prep_ch.num);
num               453 drivers/soundwire/stream.c 		ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep,
num               464 drivers/soundwire/stream.c 		addr = SDW_DPN_PREPARECTRL(p_rt->num);
num               479 drivers/soundwire/stream.c 		port_ready = &s_rt->slave->port_ready[prep_ch.num];
num               483 drivers/soundwire/stream.c 		val = sdw_read(s_rt->slave, SDW_DPN_PREPARESTATUS(p_rt->num));
num               487 drivers/soundwire/stream.c 				"Chn prep failed for port:%d\n", prep_ch.num);
num               497 drivers/soundwire/stream.c 		ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep,
num               513 drivers/soundwire/stream.c 	prep_ch.num = p_rt->num;
num              1163 drivers/soundwire/stream.c 	if (!SDW_VALID_PORT_RANGE(p_rt->num)) {
num              1165 drivers/soundwire/stream.c 			"SoundWire: Invalid port number :%d\n", p_rt->num);
num              1184 drivers/soundwire/stream.c 	p_rt->num = port_config[port_index].num;
num              1412 drivers/soundwire/stream.c 		if (dpn_prop[i].num == port_num)
num               195 drivers/spi/spi-topcliff-pch.c 	int num;
num               199 drivers/spi/spi-topcliff-pch.c 	int num;
num               920 drivers/spi/spi-topcliff-pch.c 	int num;
num               976 drivers/spi/spi-topcliff-pch.c 			num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1;
num               979 drivers/spi/spi-topcliff-pch.c 			num = data->bpw_len / PCH_DMA_TRANS_SIZE;
num               984 drivers/spi/spi-topcliff-pch.c 		num = 1;
num               989 drivers/spi/spi-topcliff-pch.c 		__func__, num, size, rem);
num              1001 drivers/spi/spi-topcliff-pch.c 	dma->sg_rx_p = kcalloc(num, sizeof(*dma->sg_rx_p), GFP_ATOMIC);
num              1005 drivers/spi/spi-topcliff-pch.c 	sg_init_table(dma->sg_rx_p, num); /* Initialize SG table */
num              1008 drivers/spi/spi-topcliff-pch.c 	for (i = 0; i < num; i++, sg++) {
num              1009 drivers/spi/spi-topcliff-pch.c 		if (i == (num - 2)) {
num              1015 drivers/spi/spi-topcliff-pch.c 		} else if (i == (num - 1)) {
num              1032 drivers/spi/spi-topcliff-pch.c 					num, DMA_DEV_TO_MEM,
num              1039 drivers/spi/spi-topcliff-pch.c 	dma_sync_sg_for_device(&data->master->dev, sg, num, DMA_FROM_DEVICE);
num              1042 drivers/spi/spi-topcliff-pch.c 	dma->nent = num;
num              1049 drivers/spi/spi-topcliff-pch.c 			num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1;
num              1052 drivers/spi/spi-topcliff-pch.c 			num = data->bpw_len / PCH_DMA_TRANS_SIZE;
num              1058 drivers/spi/spi-topcliff-pch.c 		num = 1;
num              1064 drivers/spi/spi-topcliff-pch.c 	dma->sg_tx_p = kcalloc(num, sizeof(*dma->sg_tx_p), GFP_ATOMIC);
num              1068 drivers/spi/spi-topcliff-pch.c 	sg_init_table(dma->sg_tx_p, num); /* Initialize SG table */
num              1071 drivers/spi/spi-topcliff-pch.c 	for (i = 0; i < num; i++, sg++) {
num              1077 drivers/spi/spi-topcliff-pch.c 		} else if (i == (num - 1)) {
num              1094 drivers/spi/spi-topcliff-pch.c 					sg, num, DMA_MEM_TO_DEV,
num              1101 drivers/spi/spi-topcliff-pch.c 	dma_sync_sg_for_device(&data->master->dev, sg, num, DMA_TO_DEVICE);
num              1104 drivers/spi/spi-topcliff-pch.c 	dma->nent = num;
num              1568 drivers/spi/spi-topcliff-pch.c 	board_dat->num = id->driver_data;
num              1569 drivers/spi/spi-topcliff-pch.c 	pd_dev_save->num = id->driver_data;
num              1578 drivers/spi/spi-topcliff-pch.c 	for (i = 0; i < board_dat->num; i++) {
num              1630 drivers/spi/spi-topcliff-pch.c 	for (i = 0; i < pd_dev_save->num; i++)
num               100 drivers/staging/android/ion/ion_heap.c static int ion_heap_clear_pages(struct page **pages, int num, pgprot_t pgprot)
num               102 drivers/staging/android/ion/ion_heap.c 	void *addr = vm_map_ram(pages, num, -1, pgprot);
num               106 drivers/staging/android/ion/ion_heap.c 	memset(addr, 0, PAGE_SIZE * num);
num               107 drivers/staging/android/ion/ion_heap.c 	vm_unmap_ram(addr, num);
num               135 drivers/staging/comedi/drivers/jr3_pci.c 			   const struct jr3_pci_transform *transf, short num)
num               139 drivers/staging/comedi/drivers/jr3_pci.c 	num &= 0x000f;		/* Make sure that 0 <= num <= 15 */
num               141 drivers/staging/comedi/drivers/jr3_pci.c 		set_u16(&sensor->transforms[num].link[i].link_type,
num               144 drivers/staging/comedi/drivers/jr3_pci.c 		set_s16(&sensor->transforms[num].link[i].link_amount,
num               179 drivers/staging/emxx_udc/emxx_udc.c 	u32		num, buf_type;
num               187 drivers/staging/emxx_udc/emxx_udc.c 	for (num = 0; num < NUM_ENDPOINTS - 1; num++) {
num               188 drivers/staging/emxx_udc/emxx_udc.c 		p_ep_regs = &udc->p_regs->EP_REGS[num];
num               210 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               217 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               223 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&udc->p_regs->EP_REGS[num].EP_PCKT_ADRS, data);
num               251 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               258 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               261 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               264 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_INT_ENA, data);
num               269 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               272 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               275 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_INT_ENA, data);
num               285 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               291 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               295 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&udc->p_regs->EP_REGS[num].EP_PCKT_ADRS, 0);
num               306 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               309 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               312 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_INT_ENA, data);
num               317 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               320 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num               323 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&udc->p_regs->EP_REGS[num].EP_INT_ENA, data);
num               333 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               340 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               346 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&udc->p_regs->EP_DCR[num].EP_DCR2, data);
num               351 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_DCR[num].EP_DCR1, data);
num               356 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&udc->p_regs->EP_REGS[num].EP_DMA_CTRL, data);
num               360 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, EPN_AUTO);
num               365 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&udc->p_regs->EP_REGS[num].EP_DMA_CTRL, data);
num               373 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               384 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               391 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&preg->EP_DCR[num].EP_DCR2, 0);
num               392 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&preg->EP_DCR[num].EP_DCR1, DCR1_EPN_DIR0);
num               393 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0);
num               397 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&preg->EP_REGS[num].EP_CONTROL, EPN_AUTO);
num               398 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&preg->EP_REGS[num].EP_DMA_CTRL, 0);
num               419 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               437 drivers/staging/emxx_udc/emxx_udc.c 		num = epnum - 1;
num               439 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&preg->EP_REGS[num].EP_CONTROL, EPN_AUTO);
num               443 drivers/staging/emxx_udc/emxx_udc.c 			_nbu2ss_writel(&preg->EP_REGS[num].EP_WRITE, data32);
num               446 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&preg->EP_REGS[num].EP_CONTROL, data);
num               448 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&preg->EP_REGS[num].EP_CONTROL, EPN_AUTO);
num               788 drivers/staging/emxx_udc/emxx_udc.c 			   u32 num, u32 length)
num               807 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_TADR, (u32)p_buffer);
num               810 drivers/staging/emxx_udc/emxx_udc.c 	mpkt = _nbu2ss_readl(&preg->EP_REGS[num].EP_PCKT_ADRS) & EPN_MPKT;
num               824 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_DCR2, data);
num               827 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_DCR1, data);
num               830 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&preg->EP_REGS[num].EP_LEN_DCNT, 0);
num               831 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitclr(&preg->EP_REGS[num].EP_DMA_CTRL, EPN_BURST_SET);
num               833 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_writel(&preg->EP_REGS[num].EP_LEN_DCNT
num               835 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_bitset(&preg->EP_REGS[num].EP_DMA_CTRL, EPN_BURST_SET);
num               837 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_bitset(&preg->EP_REGS[num].EP_DMA_CTRL, EPN_DMA_EN);
num               904 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               911 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               917 drivers/staging/emxx_udc/emxx_udc.c 		nret = _nbu2ss_out_dma(udc, req, num, i_buf_size);
num               931 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num               939 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num               944 drivers/staging/emxx_udc/emxx_udc.c 		_nbu2ss_readl(&preg->EP_REGS[num].EP_LEN_DCNT) & EPN_LDATA;
num               982 drivers/staging/emxx_udc/emxx_udc.c 			  struct nbu2ss_req *req, u32 num, u32 length)
num              1003 drivers/staging/emxx_udc/emxx_udc.c 	mpkt = _nbu2ss_readl(&preg->EP_REGS[num].EP_PCKT_ADRS) & EPN_MPKT;
num              1027 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_DCR2, data);
num              1032 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_TADR, (u32)p_buffer);
num              1036 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_DCR[num].EP_DCR1, data);
num              1040 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&preg->EP_REGS[num].EP_LEN_DCNT, data);
num              1043 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_bitset(&preg->EP_REGS[num].EP_DMA_CTRL, EPN_DMA_EN);
num              1104 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num              1110 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num              1114 drivers/staging/emxx_udc/emxx_udc.c 		nret = _nbu2ss_in_dma(udc, ep, req, num, data_size);
num              1127 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num              1135 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num              1137 drivers/staging/emxx_udc/emxx_udc.c 	status = _nbu2ss_readl(&udc->p_regs->EP_REGS[num].EP_STATUS);
num              1242 drivers/staging/emxx_udc/emxx_udc.c 	u8		num;
num              1248 drivers/staging/emxx_udc/emxx_udc.c 	num = (ep_adrs & 0x7F) - 1;
num              1255 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_bitset(&udc->p_regs->EP_REGS[num].EP_CONTROL, data);
num              1263 drivers/staging/emxx_udc/emxx_udc.c 	u8		num, epnum;
num              1278 drivers/staging/emxx_udc/emxx_udc.c 		num = epnum - 1;
num              1290 drivers/staging/emxx_udc/emxx_udc.c 			_nbu2ss_bitset(&preg->EP_REGS[num].EP_CONTROL, data);
num              1295 drivers/staging/emxx_udc/emxx_udc.c 				_nbu2ss_bitclr(&preg->EP_REGS[num].EP_CONTROL
num              1299 drivers/staging/emxx_udc/emxx_udc.c 				_nbu2ss_readl(&preg->EP_REGS[num].EP_CONTROL);
num              1304 drivers/staging/emxx_udc/emxx_udc.c 				_nbu2ss_writel(&preg->EP_REGS[num].EP_CONTROL
num              1954 drivers/staging/emxx_udc/emxx_udc.c 	u32		num;
num              1959 drivers/staging/emxx_udc/emxx_udc.c 	num = ep->epnum - 1;
num              1970 drivers/staging/emxx_udc/emxx_udc.c 	ep_dmacnt = _nbu2ss_readl(&preg->EP_REGS[num].EP_LEN_DCNT)
num              1975 drivers/staging/emxx_udc/emxx_udc.c 		dmacnt = _nbu2ss_readl(&preg->EP_DCR[num].EP_DCR1)
num              1982 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_bitclr(&preg->EP_DCR[num].EP_DCR1, DCR1_EPN_REQEN);
num              2009 drivers/staging/emxx_udc/emxx_udc.c 	u32	num;
num              2015 drivers/staging/emxx_udc/emxx_udc.c 	num = epnum - 1;
num              2018 drivers/staging/emxx_udc/emxx_udc.c 	status = _nbu2ss_readl(&udc->p_regs->EP_REGS[num].EP_STATUS);
num              2021 drivers/staging/emxx_udc/emxx_udc.c 	_nbu2ss_writel(&udc->p_regs->EP_REGS[num].EP_STATUS, ~status);
num               151 drivers/staging/fbtft/fb_hx8340bn.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num                95 drivers/staging/fbtft/fb_hx8347d.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               195 drivers/staging/fbtft/fb_ili9163.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               214 drivers/staging/fbtft/fb_ili9320.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               208 drivers/staging/fbtft/fb_ili9325.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               114 drivers/staging/fbtft/fb_ili9341.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               123 drivers/staging/fbtft/fb_s6d1121.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               129 drivers/staging/fbtft/fb_ssd1289.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               136 drivers/staging/fbtft/fb_st7735r.c #define CURVE(num, idx)  curves[(num) * par->gamma.num_values + (idx)]
num               405 drivers/staging/fbtft/fbtft.h #define fbtft_par_dbg_hex(level, par, dev, type, buf, num, format, arg...) \
num               409 drivers/staging/fbtft/fbtft.h 			      (num) * sizeof(type), format, ##arg); \
num               875 drivers/staging/fieldbus/anybuss/host.c static bool qs_have_work(struct kfifo *qs, size_t num)
num               881 drivers/staging/fieldbus/anybuss/host.c 	for (i = 0; i < num; i++, qs++) {
num              1570 drivers/staging/gasket/gasket_core.c const char *gasket_num_name_lookup(uint num,
num              1576 drivers/staging/gasket/gasket_core.c 		if (num == table[i].snn_num)
num               575 drivers/staging/gasket/gasket_core.h const char *gasket_num_name_lookup(uint num,
num                20 drivers/staging/greybus/audio_manager_sysfs.c 	int num = sscanf(buf,
num                26 drivers/staging/greybus/audio_manager_sysfs.c 	if (num != 7)
num                29 drivers/staging/greybus/audio_manager_sysfs.c 	num = gb_audio_manager_add(&desc);
num                30 drivers/staging/greybus/audio_manager_sysfs.c 	if (num < 0)
num                45 drivers/staging/greybus/audio_manager_sysfs.c 	int num = kstrtoint(buf, 10, &id);
num                47 drivers/staging/greybus/audio_manager_sysfs.c 	if (num != 1)
num                50 drivers/staging/greybus/audio_manager_sysfs.c 	num = gb_audio_manager_remove(id);
num                51 drivers/staging/greybus/audio_manager_sysfs.c 	if (num)
num                52 drivers/staging/greybus/audio_manager_sysfs.c 		return num;
num                66 drivers/staging/greybus/audio_manager_sysfs.c 	int num = kstrtoint(buf, 10, &id);
num                68 drivers/staging/greybus/audio_manager_sysfs.c 	if (num == 1) {
num                69 drivers/staging/greybus/audio_manager_sysfs.c 		num = gb_audio_manager_dump_module(id);
num                70 drivers/staging/greybus/audio_manager_sysfs.c 		if (num)
num                71 drivers/staging/greybus/audio_manager_sysfs.c 			return num;
num              2866 drivers/staging/media/allegro-dvt/allegro-core.c 		 dev->video_dev.num);
num               676 drivers/staging/media/hantro/hantro_drv.c 		  vfd->num);
num                93 drivers/staging/media/imx/imx-media-fim.c 	struct v4l2_ctrl *num = fim->ctrl[FIM_CL_NUM];
num               102 drivers/staging/media/imx/imx-media-fim.c 		fim->num_avg = num->cur.val;
num               110 drivers/staging/media/imx/imx-media-fim.c 		fim->num_avg = num->val;
num              1451 drivers/staging/media/ipu3/ipu3-abi.h 	u8 num;			/* Stage number */
num               927 drivers/staging/media/ipu3/ipu3-css.c 	sp_stage->num = stage;
num              1958 drivers/staging/media/soc_camera/soc_camera.c 	int num = -1, i;
num              1961 drivers/staging/media/soc_camera/soc_camera.c 	for (i = 0; i < 256 && num < 0; i++) {
num              1962 drivers/staging/media/soc_camera/soc_camera.c 		num = i;
num              1966 drivers/staging/media/soc_camera/soc_camera.c 				num = -1;
num              1972 drivers/staging/media/soc_camera/soc_camera.c 	if (num < 0) {
num              1981 drivers/staging/media/soc_camera/soc_camera.c 	icd->devnum		= num;
num               374 drivers/staging/media/sunxi/cedrus/cedrus.c 		  "Device registered as /dev/video%d\n", vfd->num);
num               477 drivers/staging/most/sound/sound.c 	char *num;
num               480 drivers/staging/most/sound/sound.c 	num = strsep(&buf, "x");
num               481 drivers/staging/most/sound/sound.c 	if (!num)
num               483 drivers/staging/most/sound/sound.c 	ret = kstrtou16(num, 0, ch_num);
num              1013 drivers/staging/rtl8188eu/core/rtw_ap.c 	DBG_88E("%s(acl_num =%d) =%pM\n", __func__, pacl_list->num, (addr));
num              1015 drivers/staging/rtl8188eu/core/rtw_ap.c 	if ((NUM_ACL - 1) < pacl_list->num)
num              1055 drivers/staging/rtl8188eu/core/rtw_ap.c 			pacl_list->num++;
num              1061 drivers/staging/rtl8188eu/core/rtw_ap.c 	DBG_88E("%s, acl_num =%d\n", __func__, pacl_list->num);
num              1076 drivers/staging/rtl8188eu/core/rtw_ap.c 	DBG_88E("%s(acl_num =%d) =%pM\n", __func__, pacl_list->num, (addr));
num              1093 drivers/staging/rtl8188eu/core/rtw_ap.c 				pacl_list->num--;
num              1100 drivers/staging/rtl8188eu/core/rtw_ap.c 	DBG_88E("%s, acl_num =%d\n", __func__, pacl_list->num);
num              1698 drivers/staging/rtl8188eu/core/rtw_ap.c 	pacl_list->num = 0;
num              1740 drivers/staging/rtl8188eu/core/rtw_ap.c 			pacl_list->num--;
num              1745 drivers/staging/rtl8188eu/core/rtw_ap.c 	DBG_88E("%s, free acl_node_queue, num =%d\n", __func__, pacl_list->num);
num                46 drivers/staging/rtl8188eu/core/rtw_debug.c 		int num = sscanf(tmp, "%x %x %x", &addr, &val, &len);
num                48 drivers/staging/rtl8188eu/core/rtw_debug.c 		if (num !=  3) {
num               118 drivers/staging/rtl8188eu/core/rtw_debug.c 		int num = sscanf(tmp, "%x %x", &addr, &len);
num               120 drivers/staging/rtl8188eu/core/rtw_debug.c 		if (num !=  2) {
num              3820 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		if (category == ptable->num)
num               227 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h 	unsigned int num;
num               233 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h 	unsigned int num;
num                31 drivers/staging/rtl8188eu/include/sta_info.h 	int num;
num               224 drivers/staging/rtl8188eu/include/wifi.h #define SetSeqNum(pbuf, num) \
num               228 drivers/staging/rtl8188eu/include/wifi.h 			cpu_to_le16((unsigned short)(0xfff0 & (num << 4))); \
num               538 drivers/staging/rtl8192e/rtl819x_BAProc.c 				     TxTsRecord[pTxTs->num]);
num               550 drivers/staging/rtl8192e/rtl819x_BAProc.c 				     RxTsRecord[pRxTs->num]);
num                41 drivers/staging/rtl8192e/rtl819x_TS.h 	u8				num;
num                53 drivers/staging/rtl8192e/rtl819x_TS.h 	u8				num;
num                24 drivers/staging/rtl8192e/rtl819x_TSProc.c 						  RxTsRecord[pRxTs->num]);
num                95 drivers/staging/rtl8192e/rtl819x_TSProc.c 	u8 num = pTxTs->num;
num                97 drivers/staging/rtl8192e/rtl819x_TSProc.c 				     TxTsRecord[num]);
num               145 drivers/staging/rtl8192e/rtl819x_TSProc.c 		pTxTS->num = count;
num               169 drivers/staging/rtl8192e/rtl819x_TSProc.c 		pRxTS->num = count;
num               678 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c 	struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[pTxTs->num]);
num               691 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c 	struct ieee80211_device *ieee = container_of(pRxTs, struct ieee80211_device, RxTsRecord[pRxTs->num]);
num                87 drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h 	u8				num;
num                99 drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h 	u8				num;
num                29 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	struct ieee80211_device *ieee = container_of(pRxTs, struct ieee80211_device, RxTsRecord[pRxTs->num]);
num                96 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	u8 num = pTxTs->num;
num                97 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 	struct ieee80211_device *ieee = container_of(pTxTs, struct ieee80211_device, TxTsRecord[num]);
num               146 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		pTxTS->num = count;
num               168 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c 		pRxTS->num = count;
num               319 drivers/staging/rtl8712/usb_intf.c 	int num = ARRAY_SIZE(specific_device_id_tbl);
num               321 drivers/staging/rtl8712/usb_intf.c 	for (i = 0; i < num; i++) {
num               245 drivers/staging/rtl8712/wifi.h #define SetSeqNum(pbuf, num) ({ \
num               248 drivers/staging/rtl8712/wifi.h 	0x000f) | (0xfff0 & (num << 4))); \
num              1339 drivers/staging/rtl8723bs/core/rtw_ap.c 		pacl_list->num,
num              1343 drivers/staging/rtl8723bs/core/rtw_ap.c 	if ((NUM_ACL - 1) < pacl_list->num)
num              1383 drivers/staging/rtl8723bs/core/rtw_ap.c 			pacl_list->num++;
num              1389 drivers/staging/rtl8723bs/core/rtw_ap.c 	DBG_871X("%s, acl_num =%d\n", __func__, pacl_list->num);
num              1408 drivers/staging/rtl8723bs/core/rtw_ap.c 		pacl_list->num,
num              1430 drivers/staging/rtl8723bs/core/rtw_ap.c 				pacl_list->num--;
num              1437 drivers/staging/rtl8723bs/core/rtw_ap.c 	DBG_871X("%s, acl_num =%d\n", __func__, pacl_list->num);
num              2380 drivers/staging/rtl8723bs/core/rtw_ap.c 	pacl_list->num = 0;
num              2424 drivers/staging/rtl8723bs/core/rtw_ap.c 			pacl_list->num--;
num              2429 drivers/staging/rtl8723bs/core/rtw_ap.c 	DBG_871X("%s, free acl_node_queue, num =%d\n", __func__, pacl_list->num);
num              2212 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		if (category == ptable->num)
num              1345 drivers/staging/rtl8723bs/hal/hal_com.c bool eqNByte(u8 *str1, u8 *str2, u32 num)
num              1347 drivers/staging/rtl8723bs/hal/hal_com.c 	if (num == 0)
num              1349 drivers/staging/rtl8723bs/hal/hal_com.c 	while (num > 0) {
num              1350 drivers/staging/rtl8723bs/hal/hal_com.c 		num--;
num              1351 drivers/staging/rtl8723bs/hal/hal_com.c 		if (str1[num] != str2[num])
num               249 drivers/staging/rtl8723bs/include/hal_com.h bool eqNByte(u8 *str1, u8 *str2, u32 num);
num               316 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h 	unsigned int   num;
num               322 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h 	unsigned int   num;
num                29 drivers/staging/rtl8723bs/include/sta_info.h 	int num;
num               292 drivers/staging/rtl8723bs/include/wifi.h #define SetFragNum(pbuf, num) \
num               297 drivers/staging/rtl8723bs/include/wifi.h 			cpu_to_le16(0x0f & (num));     \
num               300 drivers/staging/rtl8723bs/include/wifi.h #define SetSeqNum(pbuf, num) \
num               304 drivers/staging/rtl8723bs/include/wifi.h 			cpu_to_le16((unsigned short)(0xfff0 & (num << 4))); \
num              4882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	int num = args & IW_PRIV_SIZE_MASK;
num              4885 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	return num * iw_priv_type_size[type];
num               868 drivers/staging/speakup/main.c static int say_sentence_num(int num, int prev)
num               871 drivers/staging/speakup/main.c 	currsentence = num + 1;
num               875 drivers/staging/speakup/main.c 	if (num > numsentences[bn])
num               878 drivers/staging/speakup/main.c 	spkup_write(sentmarks[bn][num], sentbufend[bn] - sentmarks[bn][num]);
num              1942 drivers/staging/speakup/main.c 	static int num;
num              1956 drivers/staging/speakup/main.c 		if (num == 0)
num              1958 drivers/staging/speakup/main.c 		wch = goto_buf[--num];
num              1959 drivers/staging/speakup/main.c 		goto_buf[num] = '\0';
num              1966 drivers/staging/speakup/main.c 	goto_buf[num++] = ch;
num              1967 drivers/staging/speakup/main.c 	goto_buf[num] = '\0';
num              1970 drivers/staging/speakup/main.c 	if ((ch == '+' || ch == '-') && num == 1)
num              1972 drivers/staging/speakup/main.c 	if (ch >= '0' && ch <= '9' && num < maxlen)
num              1974 drivers/staging/speakup/main.c 	if (num < maxlen - 1 || num > maxlen)
num              1980 drivers/staging/speakup/main.c 		goto_buf[num = 0] = '\0';
num              2007 drivers/staging/speakup/main.c 	goto_buf[num = 0] = '\0';
num               237 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	if (*nbuffers < dev->capture.port->minimum_buffer.num)
num               238 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		*nbuffers = dev->capture.port->minimum_buffer.num;
num               240 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	dev->capture.port->current_buffer.num = *nbuffers;
num              1087 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.frame_rate.num = 0;
num              1121 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.frame_rate.num =
num              1153 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			camera_port->current_buffer.num =
num              1154 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			    camera_port->recommended_buffer.num;
num              1175 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.frame_rate.num =
num              1220 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->current_buffer.num = 1;
num              1243 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			camera_port->current_buffer.num = 1;
num              1619 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
num              1633 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
num              1646 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
num               169 drivers/staging/vc04_services/bcm2835-camera/controls.c 	rational_value.num = ctrl->val;
num               501 drivers/staging/vc04_services/bcm2835-camera/controls.c 	gains.r_gain.num = dev->red_gain;
num               502 drivers/staging/vc04_services/bcm2835-camera/controls.c 	gains.b_gain.num = dev->blue_gain;
num              1192 drivers/staging/vc04_services/bcm2835-camera/controls.c 		fps_range.fps_low.num = 1;
num              1194 drivers/staging/vc04_services/bcm2835-camera/controls.c 		fps_range.fps_high.num = dev->capture.timeperframe.denominator;
num              1198 drivers/staging/vc04_services/bcm2835-camera/controls.c 		fps_range.fps_low.num = fps_range.fps_high.num =
num              1206 drivers/staging/vc04_services/bcm2835-camera/controls.c 		 fps_range.fps_low.num,
num              1208 drivers/staging/vc04_services/bcm2835-camera/controls.c 		 fps_range.fps_high.num,
num                44 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-common.h 	s32 num;    /**< Numerator */
num               227 drivers/staging/vc04_services/bcm2835-camera/mmal-parameters.h 	s32 num;    /**< Numerator */
num               708 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 		 port->minimum_buffer.num,
num               712 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 		 port->recommended_buffer.num,
num               717 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 		 port->current_buffer.num,
num               738 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.frame_rate.num,
num               740 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.par.num, port->es.video.par.den);
num               751 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	p->buffer_num_min = port->minimum_buffer.num;
num               754 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	p->buffer_num_recommended = port->recommended_buffer.num;
num               758 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	p->buffer_num = port->current_buffer.num;
num               869 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	port->minimum_buffer.num =
num               878 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	port->recommended_buffer.num =
num               881 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	port->current_buffer.num = rmsg->u.port_info_get_reply.port.buffer_num;
num              1363 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			if (hdr_count > port->current_buffer.num)
num              1533 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.frame_rate.num = src->es.video.frame_rate.num;
num                37 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h 	unsigned int num; /* number of buffers */
num               509 drivers/staging/vme/devices/vme_user.c 		if ((cur_bus == bus[i]) && (cur_slot == vdev->num))
num               626 drivers/staging/vme/devices/vme_user.c 		int num;
num               643 drivers/staging/vme/devices/vme_user.c 		num = (type[i] == SLAVE_MINOR) ? i - (MASTER_MAX + 1) : i;
num               646 drivers/staging/vme/devices/vme_user.c 						name, num);
num                71 drivers/staging/wilc1000/wilc_sdio.c 	func->num = cmd->function;
num                99 drivers/staging/wilc1000/wilc_sdio.c 	func->num = cmd->function;
num               921 drivers/staging/wlan-ng/hfa384x.h 	u8 num[8];
num               925 drivers/staging/wlan-ng/hfa384x.h 	u8 num[8];
num               929 drivers/staging/wlan-ng/hfa384x.h 	u8 num[12];
num              2350 drivers/target/target_core_configfs.c 	int ret = 0, num = 0, pg_id, alua_state;
num              2363 drivers/target/target_core_configfs.c 		if (num == 0) {
num              2366 drivers/target/target_core_configfs.c 				pr_err("Invalid line %d\n", num);
num              2370 drivers/target/target_core_configfs.c 			num++;
num              2374 drivers/target/target_core_configfs.c 			pr_err("Invalid line %d\n", num);
num              2380 drivers/target/target_core_configfs.c 			pr_err("Invalid line %d, missing end lba\n", num);
num              2388 drivers/target/target_core_configfs.c 			       num);
num              2425 drivers/target/target_core_configfs.c 				       pg_id, state, num);
num              2439 drivers/target/target_core_configfs.c 			       "at line %d\n", pg, pg_num, num);
num              2443 drivers/target/target_core_configfs.c 		num++;
num               641 drivers/thermal/mtk_thermal.c static void mtk_thermal_init_bank(struct mtk_thermal *mt, int num,
num               645 drivers/thermal/mtk_thermal.c 	struct mtk_thermal_bank *bank = &mt->banks[num];
num               652 drivers/thermal/mtk_thermal.c 	bank->id = num;
num               734 drivers/thermal/mtk_thermal.c 	for (i = 0; i < conf->bank_data[num].num_sensors; i++)
num               735 drivers/thermal/mtk_thermal.c 		writel(conf->sensor_mux_values[conf->bank_data[num].sensors[i]],
num               737 drivers/thermal/mtk_thermal.c 		       conf->adcpnp[conf->bank_data[num].sensors[i]]);
num               739 drivers/thermal/mtk_thermal.c 	writel((1 << conf->bank_data[num].num_sensors) - 1,
num                41 drivers/thermal/qcom/tsens-common.c 	int num, den;
num                54 drivers/thermal/qcom/tsens-common.c 			num = p2[i] - p1[i];
num                55 drivers/thermal/qcom/tsens-common.c 			num *= SLOPE_FACTOR;
num                57 drivers/thermal/qcom/tsens-common.c 			priv->sensor[i].slope = num / den;
num                69 drivers/thermal/qcom/tsens-common.c 	int degc, num, den;
num                71 drivers/thermal/qcom/tsens-common.c 	num = (adc_code * SLOPE_FACTOR) - s->offset;
num                74 drivers/thermal/qcom/tsens-common.c 	if (num > 0)
num                75 drivers/thermal/qcom/tsens-common.c 		degc = num + (den / 2);
num                76 drivers/thermal/qcom/tsens-common.c 	else if (num < 0)
num                77 drivers/thermal/qcom/tsens-common.c 		degc = num - (den / 2);
num                79 drivers/thermal/qcom/tsens-common.c 		degc = num;
num               478 drivers/thermal/rockchip_thermal.c 	unsigned long num;
num               506 drivers/thermal/rockchip_thermal.c 	num = abs(table->id[mid + 1].code - table->id[mid].code);
num               507 drivers/thermal/rockchip_thermal.c 	num *= temp - table->id[mid].temp;
num               512 drivers/thermal/rockchip_thermal.c 		return table->id[mid].code - (num / denom);
num               514 drivers/thermal/rockchip_thermal.c 		return table->id[mid].code + (num / denom);
num               532 drivers/thermal/rockchip_thermal.c 	unsigned int num;
num               583 drivers/thermal/rockchip_thermal.c 	num = table->id[mid].temp - table->id[mid - 1].temp;
num               584 drivers/thermal/rockchip_thermal.c 	num *= abs(table->id[mid - 1].code - code);
num               586 drivers/thermal/rockchip_thermal.c 	*temp = table->id[mid - 1].temp + (num / denom);
num                16 drivers/thermal/st/st_thermal_syscfg.c #define STIH415_SYSCFG_FRONT(num)		((num - 100) * 4)
num                19 drivers/thermal/st/st_thermal_syscfg.c #define STIH415_SYSCFG_MPE(num)			((num - 600) * 4)
num                24 drivers/thermal/st/st_thermal_syscfg.c #define STIH416_SYSCFG_FRONT(num)		((num - 1000) * 4)
num                30 drivers/thermal/st/st_thermal_syscfg.c #define STID127_SYSCFG_CPU(num)			((num - 700) * 4)
num               144 drivers/thermal/tegra/tegra-bpmp-thermal.c 	*num_zones = reply.get_num_zones.num;
num              3943 drivers/tty/cyclades.c 				int num = 0;
num              3948 drivers/tty/cyclades.c 						num = ld->ops->num;
num              3961 drivers/tty/cyclades.c 					num);
num               132 drivers/tty/hvc/hvc_iucv.c static struct hvc_iucv_private *hvc_iucv_get_private(uint32_t num)
num               134 drivers/tty/hvc/hvc_iucv.c 	if ((num < HVC_IUCV_MAGIC) || (num - HVC_IUCV_MAGIC > hvc_iucv_devices))
num               136 drivers/tty/hvc/hvc_iucv.c 	return hvc_iucv_table[num - HVC_IUCV_MAGIC];
num               185 drivers/tty/n_gsm.c 	unsigned int num;
num              2123 drivers/tty/n_gsm.c 			gsm->num = i;
num              2176 drivers/tty/n_gsm.c 	return gsm->num * NUM_DLCI;
num               216 drivers/tty/n_r3964.c 			tty_ldisc_N_R3964.num);
num              2333 drivers/tty/n_tty.c 				ssize_t num = process_output_block(tty, b, nr);
num              2334 drivers/tty/n_tty.c 				if (num < 0) {
num              2335 drivers/tty/n_tty.c 					if (num == -EAGAIN)
num              2337 drivers/tty/n_tty.c 					retval = num;
num              2340 drivers/tty/n_tty.c 				b += num;
num              2341 drivers/tty/n_tty.c 				nr -= num;
num               567 drivers/tty/serial/8250/8250_pci.c 	int num;
num               607 drivers/tty/serial/8250/8250_pci.c 				return timedia_data[i].num;
num              1573 drivers/tty/serial/imx.c 	unsigned long num, denom, old_ubir, old_ubmr;
num              1683 drivers/tty/serial/imx.c 		1 << 16, 1 << 16, &num, &denom);
num              1686 drivers/tty/serial/imx.c 	tdiv64 *= num;
num              1691 drivers/tty/serial/imx.c 	num -= 1;
num              1709 drivers/tty/serial/imx.c 	if (old_ubir != num || old_ubmr != denom) {
num              1710 drivers/tty/serial/imx.c 		imx_uart_writel(sport, num, UBIR);
num               340 drivers/tty/serial/kgdb_nmi.c 	kgdb_nmi_tty_driver->num		= 1;
num               937 drivers/tty/serial/pch_uart.c 	int num;
num               977 drivers/tty/serial/pch_uart.c 		num = bytes / fifo_size + 1;
num               981 drivers/tty/serial/pch_uart.c 		num = 1;
num               987 drivers/tty/serial/pch_uart.c 		__func__, num, size, rem);
num               991 drivers/tty/serial/pch_uart.c 	priv->sg_tx_p = kcalloc(num, sizeof(struct scatterlist), GFP_ATOMIC);
num               997 drivers/tty/serial/pch_uart.c 	sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */
num              1000 drivers/tty/serial/pch_uart.c 	for (i = 0; i < num; i++, sg++) {
num              1001 drivers/tty/serial/pch_uart.c 		if (i == (num - 1))
num              1010 drivers/tty/serial/pch_uart.c 	nent = dma_map_sg(port->dev, sg, num, DMA_TO_DEVICE);
num              1015 drivers/tty/serial/pch_uart.c 	priv->orig_nent = num;
num               857 drivers/tty/serial/vr41xx_siu.c 	int num, i, retval;
num               859 drivers/tty/serial/vr41xx_siu.c 	num = siu_init_ports(dev);
num               860 drivers/tty/serial/vr41xx_siu.c 	if (num <= 0)
num               863 drivers/tty/serial/vr41xx_siu.c 	siu_uart_driver.nr = num;
num               868 drivers/tty/serial/vr41xx_siu.c 	for (i = 0; i < num; i++) {
num               324 drivers/tty/tty_io.c 		if (device < base || device >= base + p->num)
num               368 drivers/tty/tty_io.c 			if (index < p->num) {
num               420 drivers/tty/tty_io.c 		if (tty_line >= 0 && tty_line < p->num && p->ops &&
num              1536 drivers/tty/tty_io.c 	if (idx < 0 || idx >= tty->driver->num) {
num              2358 drivers/tty/tty_io.c 	ret = put_user(ld->ops->num, p);
num              3115 drivers/tty/tty_io.c 	if (index >= driver->num) {
num              3221 drivers/tty/tty_io.c 	driver->num = lines;
num              3270 drivers/tty/tty_io.c 		for (i = 0; i < driver->num; i++) {
num              3321 drivers/tty/tty_io.c 						driver->num, driver->name);
num              3328 drivers/tty/tty_io.c 		error = register_chrdev_region(dev, driver->num, driver->name);
num              3334 drivers/tty/tty_io.c 		error = tty_cdev_add(driver, dev, 0, driver->num);
num              3344 drivers/tty/tty_io.c 		for (i = 0; i < driver->num; i++) {
num              3365 drivers/tty/tty_io.c 	unregister_chrdev_region(dev, driver->num);
num              3382 drivers/tty/tty_io.c 				driver->num);
num                71 drivers/tty/tty_ldisc.c 	new_ldisc->num = disc;
num               534 drivers/tty/tty_ldisc.c 	if (tty_ldisc_failto(tty, old->ops->num) < 0) {
num               578 drivers/tty/tty_ldisc.c 	if (tty->ldisc->ops->num == disc)
num               603 drivers/tty/tty_ldisc.c 	if (tty->ldisc->ops->num != old_ldisc->ops->num && tty->ops->set_ldisc) {
num                91 drivers/tty/tty_port.c 	if (WARN_ON(index >= driver->num))
num               910 drivers/tty/vcc.c 	u64 num;
num               923 drivers/tty/vcc.c 	num = VCC_BUFF_LEN - port->chars_in_buffer;
num               927 drivers/tty/vcc.c 	return num;
num               933 drivers/tty/vcc.c 	u64 num;
num               946 drivers/tty/vcc.c 	num = port->chars_in_buffer;
num               950 drivers/tty/vcc.c 	return num;
num              1048 drivers/tty/vt/vt.c static void visual_init(struct vc_data *vc, int num, int init)
num              1055 drivers/tty/vt/vt.c 	if (con_driver_map[num])
num              1056 drivers/tty/vt/vt.c 		vc->vc_sw = con_driver_map[num];
num              1059 drivers/tty/vt/vt.c 	vc->vc_num = num;
num               442 drivers/usb/atm/cxacru.c 	int ret, pos, num;
num               452 drivers/usb/atm/cxacru.c 	num = 0;
num               471 drivers/usb/atm/cxacru.c 		data[num * 2 + 1] = cpu_to_le32(index);
num               472 drivers/usb/atm/cxacru.c 		data[num * 2 + 2] = cpu_to_le32(value);
num               473 drivers/usb/atm/cxacru.c 		num++;
num               478 drivers/usb/atm/cxacru.c 		if (pos >= len || num >= CMD_MAX_CONFIG) {
num               481 drivers/usb/atm/cxacru.c 			data[0] = cpu_to_le32(num);
num               483 drivers/usb/atm/cxacru.c 				(u8 *) data, 4 + num * 8, NULL, 0);
num               490 drivers/usb/atm/cxacru.c 			for (tmp = 0; tmp < num; tmp++)
num               495 drivers/usb/atm/cxacru.c 			num = 0;
num               196 drivers/usb/cdns3/gadget.c 	if (!priv_ep->num)
num               485 drivers/usb/cdns3/gadget.c 		cdns3_select_ep(priv_dev, priv_ep->num | priv_ep->dir);
num              1530 drivers/usb/cdns3/gadget.c 			mask = BIT(priv_ep->num + 16);
num              1532 drivers/usb/cdns3/gadget.c 			mask = BIT(priv_ep->num);
num              1556 drivers/usb/cdns3/gadget.c 	u32 bEndpointAddress = priv_ep->num | priv_ep->dir;
num              1658 drivers/usb/cdns3/gadget.c 		unsigned long num;
num              1663 drivers/usb/cdns3/gadget.c 		ret = kstrtoul(c, 10, &num);
num              1670 drivers/usb/cdns3/gadget.c 				priv_ep->num  = num;
num              1819 drivers/usb/cdns3/gadget.c 	bEndpointAddress = priv_ep->num | priv_ep->dir;
num              2409 drivers/usb/cdns3/gadget.c 		bEndpointAddress = priv_ep->num | priv_ep->dir;
num              2491 drivers/usb/cdns3/gadget.c 		priv_ep->num = ep_number;
num              1150 drivers/usb/cdns3/gadget.h 	u8			num;
num                89 drivers/usb/chipidea/ci.h 	u8					num;
num                58 drivers/usb/chipidea/udc.c static inline int hw_ep_bit(int num, int dir)
num                60 drivers/usb/chipidea/udc.c 	return num + ((dir == TX) ? 16 : 0);
num                99 drivers/usb/chipidea/udc.c static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir)
num               101 drivers/usb/chipidea/udc.c 	int n = hw_ep_bit(num, dir);
num               120 drivers/usb/chipidea/udc.c static int hw_ep_disable(struct ci_hdrc *ci, int num, int dir)
num               122 drivers/usb/chipidea/udc.c 	hw_write(ci, OP_ENDPTCTRL + num,
num               135 drivers/usb/chipidea/udc.c static int hw_ep_enable(struct ci_hdrc *ci, int num, int dir, int type)
num               158 drivers/usb/chipidea/udc.c 	hw_write(ci, OP_ENDPTCTRL + num, mask, data);
num               169 drivers/usb/chipidea/udc.c static int hw_ep_get_halt(struct ci_hdrc *ci, int num, int dir)
num               173 drivers/usb/chipidea/udc.c 	return hw_read(ci, OP_ENDPTCTRL + num, mask) ? 1 : 0;
num               184 drivers/usb/chipidea/udc.c static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
num               186 drivers/usb/chipidea/udc.c 	int n = hw_ep_bit(num, dir);
num               191 drivers/usb/chipidea/udc.c 	if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num)))
num               198 drivers/usb/chipidea/udc.c 	if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num)))
num               214 drivers/usb/chipidea/udc.c static int hw_ep_set_halt(struct ci_hdrc *ci, int num, int dir, int value)
num               220 drivers/usb/chipidea/udc.c 		enum ci_hw_regs reg = OP_ENDPTCTRL + num;
num               227 drivers/usb/chipidea/udc.c 	} while (value != hw_ep_get_halt(ci, num, dir));
num               400 drivers/usb/chipidea/udc.c 	return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num;
num               472 drivers/usb/chipidea/udc.c 		int n = hw_ep_bit(hwep->num, hwep->dir);
num               509 drivers/usb/chipidea/udc.c 	ret = hw_ep_prime(ci, hwep->num, hwep->dir,
num               535 drivers/usb/chipidea/udc.c 	return hw_ep_prime(ci, hwep->num, hwep->dir,
num               562 drivers/usb/chipidea/udc.c 			int n = hw_ep_bit(hwep->num, hwep->dir);
num               631 drivers/usb/chipidea/udc.c 	hw_ep_flush(hwep->ci, hwep->num, hwep->dir);
num               685 drivers/usb/chipidea/udc.c 		retval |= hw_ep_set_halt(hwep->ci, hwep->num, hwep->dir, value);
num               864 drivers/usb/chipidea/udc.c 	int dir, num, retval;
num               890 drivers/usb/chipidea/udc.c 		num =  le16_to_cpu(setup->wIndex) & USB_ENDPOINT_NUMBER_MASK;
num               891 drivers/usb/chipidea/udc.c 		*(u16 *)req->buf = hw_ep_get_halt(ci, num, dir);
num              1019 drivers/usb/chipidea/udc.c 	int type, num, dir, err = -EINVAL;
num              1046 drivers/usb/chipidea/udc.c 			num  = le16_to_cpu(req.wIndex);
num              1047 drivers/usb/chipidea/udc.c 			dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX;
num              1048 drivers/usb/chipidea/udc.c 			num &= USB_ENDPOINT_NUMBER_MASK;
num              1050 drivers/usb/chipidea/udc.c 				num += ci->hw_ep_max / 2;
num              1051 drivers/usb/chipidea/udc.c 			if (!ci->ci_hw_ep[num].wedge) {
num              1054 drivers/usb/chipidea/udc.c 					&ci->ci_hw_ep[num].ep);
num              1098 drivers/usb/chipidea/udc.c 			num  = le16_to_cpu(req.wIndex);
num              1099 drivers/usb/chipidea/udc.c 			dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX;
num              1100 drivers/usb/chipidea/udc.c 			num &= USB_ENDPOINT_NUMBER_MASK;
num              1102 drivers/usb/chipidea/udc.c 				num += ci->hw_ep_max / 2;
num              1105 drivers/usb/chipidea/udc.c 			err = _ep_set_halt(&ci->ci_hw_ep[num].ep, 1, false);
num              1250 drivers/usb/chipidea/udc.c 	hwep->num  = usb_endpoint_num(desc);
num              1272 drivers/usb/chipidea/udc.c 	if (hwep->num != 0 && hwep->type == USB_ENDPOINT_XFER_CONTROL) {
num              1281 drivers/usb/chipidea/udc.c 	if (hwep->num)
num              1282 drivers/usb/chipidea/udc.c 		retval |= hw_ep_enable(hwep->ci, hwep->num, hwep->dir,
num              1316 drivers/usb/chipidea/udc.c 		retval |= hw_ep_disable(hwep->ci, hwep->num, hwep->dir);
num              1427 drivers/usb/chipidea/udc.c 		hw_ep_flush(hwep->ci, hwep->num, hwep->dir);
num              1503 drivers/usb/chipidea/udc.c 	hw_ep_flush(hwep->ci, hwep->num, hwep->dir);
num               991 drivers/usb/core/config.c 	int length, total_len, num, i, ssac;
num              1011 drivers/usb/core/config.c 	num = bos->bNumDeviceCaps;
num              1040 drivers/usb/core/config.c 	for (i = 0; i < num; i++) {
num               853 drivers/usb/dwc2/core.c void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num)
num               857 drivers/usb/dwc2/core.c 	dev_vdbg(hsotg->dev, "Flush Tx FIFO %d\n", num);
num               865 drivers/usb/dwc2/core.c 	greset |= num << GRSTCTL_TXFNUM_SHIFT & GRSTCTL_TXFNUM_MASK;
num              1310 drivers/usb/dwc2/core.h void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num);
num               397 drivers/usb/dwc2/params.c 	int num;
num               407 drivers/usb/dwc2/params.c 		num = device_property_count_u32(hsotg->dev, "g-tx-fifo-size");
num               408 drivers/usb/dwc2/params.c 		if (num > 0) {
num               409 drivers/usb/dwc2/params.c 			num = min(num, 15);
num               415 drivers/usb/dwc2/params.c 						       num);
num               321 drivers/usb/dwc3/dwc3-qcom.c 			     const char *name, int num)
num               329 drivers/usb/dwc3/dwc3-qcom.c 		ret = platform_get_irq(pdev, num);
num              2315 drivers/usb/dwc3/gadget.c 	u8				num = epnum >> 1;
num              2329 drivers/usb/dwc3/gadget.c 	snprintf(dep->name, sizeof(dep->name), "ep%u%s", num,
num              2339 drivers/usb/dwc3/gadget.c 	if (num == 0)
num               369 drivers/usb/early/ehci-dbgp.c static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap)
num               374 drivers/usb/early/ehci-dbgp.c 	if (!(read_pci_config_16(num, slot, func, PCI_STATUS) &
num               378 drivers/usb/early/ehci-dbgp.c 	pos = read_pci_config_byte(num, slot, func, PCI_CAPABILITY_LIST);
num               383 drivers/usb/early/ehci-dbgp.c 		id = read_pci_config_byte(num, slot, func, pos+PCI_CAP_LIST_ID);
num               389 drivers/usb/early/ehci-dbgp.c 		pos = read_pci_config_byte(num, slot, func,
num                18 drivers/usb/gadget/configfs.c 	u16 num;
num                21 drivers/usb/gadget/configfs.c 	ret = kstrtou16(name, 0, &num);
num                25 drivers/usb/gadget/configfs.c 	primary_lang = num & 0x3ff;
num                26 drivers/usb/gadget/configfs.c 	sub_lang = num >> 10;
num                38 drivers/usb/gadget/configfs.c 	stringtab_dev->language = num;
num               635 drivers/usb/gadget/configfs.c 	u8 num;
num               655 drivers/usb/gadget/configfs.c 	ret = kstrtou8(num_str, 0, &num);
num               667 drivers/usb/gadget/configfs.c 	cfg->c.bConfigurationValue = num;
num                97 drivers/usb/gadget/epautoconf.c 		u8 num = simple_strtoul(&ep->name[2], NULL, 10);
num                98 drivers/usb/gadget/epautoconf.c 		desc->bEndpointAddress |= num;
num               111 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_ep(struct ffs_function *func, u8 num);
num               124 drivers/usb/gadget/function/f_fs.c 	u8				num;
num              1326 drivers/usb/gadget/function/f_fs.c 		ret = epfile->ep->num;
num              2172 drivers/usb/gadget/function/f_fs.c 	unsigned long num = 0;
num              2180 drivers/usb/gadget/function/f_fs.c 		if (num == count)
num              2184 drivers/usb/gadget/function/f_fs.c 		ret = entity(FFS_DESCRIPTOR, (u8 *)num, (void *)data, priv);
num              2187 drivers/usb/gadget/function/f_fs.c 				 num, ret);
num              2203 drivers/usb/gadget/function/f_fs.c 		++num;
num              2318 drivers/usb/gadget/function/f_fs.c 	unsigned long num = 0;
num              2322 drivers/usb/gadget/function/f_fs.c 	for (num = 0; num < count; ++num) {
num              2344 drivers/usb/gadget/function/f_fs.c 				 num, ret);
num              3152 drivers/usb/gadget/function/f_fs.c 		eps_ptr[i].num = -1;
num              3421 drivers/usb/gadget/function/f_fs.c static int ffs_func_revmap_ep(struct ffs_function *func, u8 num)
num              3423 drivers/usb/gadget/function/f_fs.c 	num = func->eps_revmap[num & USB_ENDPOINT_NUMBER_MASK];
num              3424 drivers/usb/gadget/function/f_fs.c 	return num ? num : -EDOM;
num               898 drivers/usb/gadget/function/f_hid.c 	u##prec num;							\
num               906 drivers/usb/gadget/function/f_hid.c 	ret = kstrtou##prec(page, 0, &num);				\
num               910 drivers/usb/gadget/function/f_hid.c 	if (num > limit) {						\
num               914 drivers/usb/gadget/function/f_hid.c 	opts->name = num;						\
num               490 drivers/usb/gadget/function/f_loopback.c 	u32 num;
num               498 drivers/usb/gadget/function/f_loopback.c 	ret = kstrtou32(page, 0, &num);
num               502 drivers/usb/gadget/function/f_loopback.c 	opts->qlen = num;
num               528 drivers/usb/gadget/function/f_loopback.c 	u32 num;
num               536 drivers/usb/gadget/function/f_loopback.c 	ret = kstrtou32(page, 0, &num);
num               540 drivers/usb/gadget/function/f_loopback.c 	opts->bulk_buflen = num;
num              3148 drivers/usb/gadget/function/f_mass_storage.c 	u8 num;
num              3158 drivers/usb/gadget/function/f_mass_storage.c 	ret = kstrtou8(num_str, 0, &num);
num              3163 drivers/usb/gadget/function/f_mass_storage.c 	if (num >= FSG_MAX_LUNS)
num              3165 drivers/usb/gadget/function/f_mass_storage.c 	num = array_index_nospec(num, FSG_MAX_LUNS);
num              3168 drivers/usb/gadget/function/f_mass_storage.c 	if (fsg_opts->refcnt || fsg_opts->common->luns[num]) {
num              3182 drivers/usb/gadget/function/f_mass_storage.c 	ret = fsg_common_create_lun(fsg_opts->common, &config, num, name,
num              3188 drivers/usb/gadget/function/f_mass_storage.c 	opts->lun = fsg_opts->common->luns[num];
num              3189 drivers/usb/gadget/function/f_mass_storage.c 	opts->lun_id = num;
num              3292 drivers/usb/gadget/function/f_mass_storage.c 	u8 num;
num              3299 drivers/usb/gadget/function/f_mass_storage.c 	ret = kstrtou8(page, 0, &num);
num              3303 drivers/usb/gadget/function/f_mass_storage.c 	ret = fsg_common_set_num_buffers(opts->common, num);
num              1103 drivers/usb/gadget/function/f_midi.c 	u32 num;							\
num              1111 drivers/usb/gadget/function/f_midi.c 	ret = kstrtou32(page, 0, &num);					\
num              1115 drivers/usb/gadget/function/f_midi.c 	if (test_limit && num > limit) {				\
num              1119 drivers/usb/gadget/function/f_midi.c 	opts->name = num;						\
num              1233 drivers/usb/gadget/function/f_printer.c 	u16 num;
num              1241 drivers/usb/gadget/function/f_printer.c 	ret = kstrtou16(page, 0, &num);
num              1245 drivers/usb/gadget/function/f_printer.c 	opts->q_len = (unsigned)num;
num               905 drivers/usb/gadget/function/f_sourcesink.c 	u8 num;
num               913 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou8(page, 0, &num);
num               917 drivers/usb/gadget/function/f_sourcesink.c 	if (num != 0 && num != 1 && num != 2) {
num               922 drivers/usb/gadget/function/f_sourcesink.c 	opts->pattern = num;
num               948 drivers/usb/gadget/function/f_sourcesink.c 	u8 num;
num               956 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou8(page, 0, &num);
num               960 drivers/usb/gadget/function/f_sourcesink.c 	if (num > 16) {
num               965 drivers/usb/gadget/function/f_sourcesink.c 	opts->isoc_interval = num;
num               991 drivers/usb/gadget/function/f_sourcesink.c 	u16 num;
num               999 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou16(page, 0, &num);
num              1003 drivers/usb/gadget/function/f_sourcesink.c 	if (num > 1024) {
num              1008 drivers/usb/gadget/function/f_sourcesink.c 	opts->isoc_maxpacket = num;
num              1034 drivers/usb/gadget/function/f_sourcesink.c 	u8 num;
num              1042 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou8(page, 0, &num);
num              1046 drivers/usb/gadget/function/f_sourcesink.c 	if (num > 2) {
num              1051 drivers/usb/gadget/function/f_sourcesink.c 	opts->isoc_mult = num;
num              1077 drivers/usb/gadget/function/f_sourcesink.c 	u8 num;
num              1085 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou8(page, 0, &num);
num              1089 drivers/usb/gadget/function/f_sourcesink.c 	if (num > 15) {
num              1094 drivers/usb/gadget/function/f_sourcesink.c 	opts->isoc_maxburst = num;
num              1120 drivers/usb/gadget/function/f_sourcesink.c 	u32 num;
num              1128 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou32(page, 0, &num);
num              1132 drivers/usb/gadget/function/f_sourcesink.c 	opts->bulk_buflen = num;
num              1158 drivers/usb/gadget/function/f_sourcesink.c 	u32 num;
num              1166 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou32(page, 0, &num);
num              1170 drivers/usb/gadget/function/f_sourcesink.c 	opts->bulk_qlen = num;
num              1196 drivers/usb/gadget/function/f_sourcesink.c 	u32 num;
num              1204 drivers/usb/gadget/function/f_sourcesink.c 	ret = kstrtou32(page, 0, &num);
num              1208 drivers/usb/gadget/function/f_sourcesink.c 	opts->iso_qlen = num;
num               669 drivers/usb/gadget/function/f_uac1.c 	u32 num;							\
num               677 drivers/usb/gadget/function/f_uac1.c 	ret = kstrtou32(page, 0, &num);					\
num               681 drivers/usb/gadget/function/f_uac1.c 	opts->name = num;						\
num               838 drivers/usb/gadget/function/f_uac1_legacy.c 	u32 num;							\
num               846 drivers/usb/gadget/function/f_uac1_legacy.c 	ret = kstrtou32(page, 0, &num);					\
num               850 drivers/usb/gadget/function/f_uac1_legacy.c 	opts->name = num;						\
num              1009 drivers/usb/gadget/function/f_uac2.c 	u32 num;							\
num              1017 drivers/usb/gadget/function/f_uac2.c 	ret = kstrtou32(page, 0, &num);					\
num              1021 drivers/usb/gadget/function/f_uac2.c 	opts->name = num;						\
num                53 drivers/usb/gadget/function/u_audio.h 	uint num = 0;
num                56 drivers/usb/gadget/function/u_audio.h 		num += (chanmask & 1);
num                60 drivers/usb/gadget/function/u_audio.h 	return num;
num               697 drivers/usb/gadget/function/u_ether.c 			unsigned char num;
num               701 drivers/usb/gadget/function/u_ether.c 			num = hex_to_bin(*str++) << 4;
num               702 drivers/usb/gadget/function/u_ether.c 			num |= hex_to_bin(*str++);
num               703 drivers/usb/gadget/function/u_ether.c 			dev_addr [i] = num;
num               173 drivers/usb/gadget/function/uvc_configfs.c 	u##bits num;							\
num               186 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtou##bits(page, 0, &num);				\
num               190 drivers/usb/gadget/function/uvc_configfs.c 	if (num > limit) {						\
num               194 drivers/usb/gadget/function/uvc_configfs.c 	ch->desc.aname = cpu_to_le##bits(num);				\
num              1122 drivers/usb/gadget/function/uvc_configfs.c 	typeof(f->frame.cname) num;					\
num              1125 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtou##bits(page, 0, &num);				\
num              1141 drivers/usb/gadget/function/uvc_configfs.c 	f->frame.cname = num;						\
num              1230 drivers/usb/gadget/function/uvc_configfs.c 	u32 num, **interv;
num              1233 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtou32(buf, 0, &num);
num              1238 drivers/usb/gadget/function/uvc_configfs.c 	**interv = num;
num              1556 drivers/usb/gadget/function/uvc_configfs.c 	u8 num;								\
num              1569 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtou8(page, 0, &num);					\
num              1573 drivers/usb/gadget/function/uvc_configfs.c 	u->desc.aname = num;						\
num              1749 drivers/usb/gadget/function/uvc_configfs.c 	u8 num;								\
num              1762 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtou8(page, 0, &num);					\
num              1766 drivers/usb/gadget/function/uvc_configfs.c 	u->desc.aname = num;						\
num              2401 drivers/usb/gadget/function/uvc_configfs.c 	unsigned int num;						\
num              2410 drivers/usb/gadget/function/uvc_configfs.c 	ret = kstrtouint(page, 0, &num);				\
num              2414 drivers/usb/gadget/function/uvc_configfs.c 	if (num > limit) {						\
num              2418 drivers/usb/gadget/function/uvc_configfs.c 	opts->cname = num;						\
num               117 drivers/usb/gadget/legacy/g_ffs.c 	int num;
num               414 drivers/usb/gadget/legacy/g_ffs.c 		c->num = i;
num               500 drivers/usb/gadget/legacy/g_ffs.c 		f_ffs[gc->num][i] = usb_get_function(fi_ffs[i]);
num               501 drivers/usb/gadget/legacy/g_ffs.c 		if (IS_ERR(f_ffs[gc->num][i])) {
num               502 drivers/usb/gadget/legacy/g_ffs.c 			ret = PTR_ERR(f_ffs[gc->num][i]);
num               505 drivers/usb/gadget/legacy/g_ffs.c 		ret = usb_add_function(c, f_ffs[gc->num][i]);
num               507 drivers/usb/gadget/legacy/g_ffs.c 			usb_put_function(f_ffs[gc->num][i]);
num               528 drivers/usb/gadget/legacy/g_ffs.c 		if (!IS_ERR(f_ffs[gc->num][i]))
num               529 drivers/usb/gadget/legacy/g_ffs.c 			usb_remove_function(c, f_ffs[gc->num][i]);
num               530 drivers/usb/gadget/legacy/g_ffs.c 		usb_put_function(f_ffs[gc->num][i]);
num               523 drivers/usb/gadget/udc/amd5536udc.h 	unsigned			num : 5,
num                65 drivers/usb/gadget/udc/dummy_hcd.c 	unsigned int num;
num                71 drivers/usb/gadget/udc/dummy_hcd.c 	.num = 1,
num                77 drivers/usb/gadget/udc/dummy_hcd.c module_param_named(num, mod_data.num, uint, S_IRUGO);
num                78 drivers/usb/gadget/udc/dummy_hcd.c MODULE_PARM_DESC(num, "number of emulated controllers");
num              2744 drivers/usb/gadget/udc/dummy_hcd.c 	if (mod_data.num < 1 || mod_data.num > MAX_NUM_UDC) {
num              2750 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2759 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2768 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2791 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2800 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2812 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2822 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num              2835 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++)
num              2838 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++)
num              2845 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++)
num              2847 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++)
num              2850 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++)
num              2860 drivers/usb/gadget/udc/dummy_hcd.c 	for (i = 0; i < mod_data.num; i++) {
num               521 drivers/usb/gadget/udc/fsl_usb2_udc.h 	unsigned int start, num, i;
num               529 drivers/usb/gadget/udc/fsl_usb2_udc.h 		num = min(length, 16u);
num               531 drivers/usb/gadget/udc/fsl_usb2_udc.h 		for (i = 0; i < num; ++i) {
num               539 drivers/usb/gadget/udc/fsl_usb2_udc.h 		buf += num;
num               540 drivers/usb/gadget/udc/fsl_usb2_udc.h 		start += num;
num               541 drivers/usb/gadget/udc/fsl_usb2_udc.h 		length -= num;
num               108 drivers/usb/gadget/udc/goku_udc.c 	if (ep->num != usb_endpoint_num(desc))
num               147 drivers/usb/gadget/udc/goku_udc.c 		ep->dma = (use_dma != 0) && (ep->num == UDC_MSTRD_ENDPOINT);
num               149 drivers/usb/gadget/udc/goku_udc.c 		ep->dma = (use_dma == 2) && (ep->num == UDC_MSTWR_ENDPOINT);
num               158 drivers/usb/gadget/udc/goku_udc.c 	if (ep->num < 3) {
num               166 drivers/usb/gadget/udc/goku_udc.c 			) << ep->num;
num               170 drivers/usb/gadget/udc/goku_udc.c 		tmp = (ep->dma ? 0x10/*dma*/ : 0x11/*pio*/) << ep->num;
num               175 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_RESET, ep->num);
num               194 drivers/usb/gadget/udc/goku_udc.c 		command(regs, COMMAND_INVALID, ep->num);
num               195 drivers/usb/gadget/udc/goku_udc.c 		if (ep->num) {
num               196 drivers/usb/gadget/udc/goku_udc.c 			if (ep->num == UDC_MSTWR_ENDPOINT)
num               199 drivers/usb/gadget/udc/goku_udc.c 			else if (ep->num == UDC_MSTRD_ENDPOINT)
num               201 drivers/usb/gadget/udc/goku_udc.c 			dev->int_enable &= ~INT_EPxDATASET (ep->num);
num               206 drivers/usb/gadget/udc/goku_udc.c 		if (ep->num < 3) {
num               211 drivers/usb/gadget/udc/goku_udc.c 			tmp &= ~(0x11 << ep->num);
num               215 drivers/usb/gadget/udc/goku_udc.c 			tmp &= ~(0x11 << ep->num);
num               223 drivers/usb/gadget/udc/goku_udc.c 			if (ep->num == UDC_MSTWR_ENDPOINT) {
num               359 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(ep->num == 0 && dev->ep0state != EP0_IN))
num               363 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely((tmp & DATASET_A(ep->num)) != 0))
num               367 drivers/usb/gadget/udc/goku_udc.c 	if (ep->num != 0)
num               368 drivers/usb/gadget/udc/goku_udc.c 		writel(~INT_EPxDATASET(ep->num), &dev->regs->int_status);
num               374 drivers/usb/gadget/udc/goku_udc.c 		writel(~(1<<ep->num), &dev->regs->EOP);
num               375 drivers/usb/gadget/udc/goku_udc.c 		if (ep->num == 0) {
num               417 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(ep->num == 0 && ep->dev->ep0state != EP0_OUT))
num               420 drivers/usb/gadget/udc/goku_udc.c 	dbuff = (ep->num == 1 || ep->num == 2);
num               423 drivers/usb/gadget/udc/goku_udc.c 		if (ep->num != 0)
num               424 drivers/usb/gadget/udc/goku_udc.c 			writel(~INT_EPxDATASET(ep->num), &regs->int_status);
num               426 drivers/usb/gadget/udc/goku_udc.c 		set = readl(&regs->DataSet) & DATASET_AB(ep->num);
num               427 drivers/usb/gadget/udc/goku_udc.c 		size = readl(&regs->EPxSizeLA[ep->num]);
num               431 drivers/usb/gadget/udc/goku_udc.c 		if (likely(ep->num != 0 || bufferspace != 0)) {
num               436 drivers/usb/gadget/udc/goku_udc.c 				size = readl(&regs->EPxSizeLB[ep->num]);
num               473 drivers/usb/gadget/udc/goku_udc.c 			if (unlikely(ep->num == 0)) {
num               648 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_DISABLE, ep->num);
num               694 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_ENABLE, ep->num);
num               700 drivers/usb/gadget/udc/goku_udc.c 	command(regs, COMMAND_FIFO_ENABLE, ep->num);
num               722 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(!_ep || (!ep->ep.desc && ep->num != 0)))
num               753 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(ep->num == 0 && ep->is_in))
num               779 drivers/usb/gadget/udc/goku_udc.c 			&& likely(ep->num != 0)
num               781 drivers/usb/gadget/udc/goku_udc.c 			&& !(dev->int_enable & INT_EPxDATASET (ep->num)))
num               782 drivers/usb/gadget/udc/goku_udc.c 		pio_irq_enable(dev, dev->regs, ep->num);
num               815 drivers/usb/gadget/udc/goku_udc.c 	if (!_ep || !_req || (!ep->ep.desc && ep->num != 0))
num               861 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_SETDATA0, ep->num);
num               862 drivers/usb/gadget/udc/goku_udc.c 	command(ep->dev->regs, COMMAND_STALL_CLEAR, ep->num);
num               888 drivers/usb/gadget/udc/goku_udc.c 	if (ep->num == 0) {
num               907 drivers/usb/gadget/udc/goku_udc.c 					& DATASET_AB(ep->num)))
num               914 drivers/usb/gadget/udc/goku_udc.c 		command(ep->dev->regs, COMMAND_STALL, ep->num);
num               937 drivers/usb/gadget/udc/goku_udc.c 	size = readl(&regs->EPxSizeLA[ep->num]) & DATASIZE;
num               938 drivers/usb/gadget/udc/goku_udc.c 	size += readl(&regs->EPxSizeLB[ep->num]) & DATASIZE;
num               955 drivers/usb/gadget/udc/goku_udc.c 	if (!ep->ep.desc && ep->num != 0) {
num               961 drivers/usb/gadget/udc/goku_udc.c 	size = readl(&regs->EPxSizeLA[ep->num]);
num               969 drivers/usb/gadget/udc/goku_udc.c 		command(regs, COMMAND_FIFO_CLEAR, ep->num);
num              1263 drivers/usb/gadget/udc/goku_udc.c 		ep->num = i;
num               209 drivers/usb/gadget/udc/goku_udc.h 	unsigned				num:8,
num               581 drivers/usb/gadget/udc/gr_udc.c 	if (unlikely(!ep->ep.desc && ep->num != 0)) {
num               708 drivers/usb/gadget/udc/gr_udc.c 	if (ep->num && !ep->ep.desc)
num               711 drivers/usb/gadget/udc/gr_udc.c 	if (ep->num && ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC)
num               715 drivers/usb/gadget/udc/gr_udc.c 	if (!ep->num) {
num              1499 drivers/usb/gadget/udc/gr_udc.c 	if ((!ep->is_in && ep->num >= dev->nepo) ||
num              1500 drivers/usb/gadget/udc/gr_udc.c 	    (ep->is_in && ep->num >= dev->nepi))
num              1699 drivers/usb/gadget/udc/gr_udc.c 	if (!_ep || !_req || (!ep->ep.desc && ep->num != 0))
num              1957 drivers/usb/gadget/udc/gr_udc.c static int gr_ep_init(struct gr_udc *dev, int num, int is_in, u32 maxplimit)
num              1965 drivers/usb/gadget/udc/gr_udc.c 		ep = &dev->epi[num];
num              1966 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.name = inames[num];
num              1967 drivers/usb/gadget/udc/gr_udc.c 		ep->regs = &dev->regs->epi[num];
num              1969 drivers/usb/gadget/udc/gr_udc.c 		ep = &dev->epo[num];
num              1970 drivers/usb/gadget/udc/gr_udc.c 		ep->ep.name = onames[num];
num              1971 drivers/usb/gadget/udc/gr_udc.c 		ep->regs = &dev->regs->epo[num];
num              1975 drivers/usb/gadget/udc/gr_udc.c 	ep->num = num;
num              1981 drivers/usb/gadget/udc/gr_udc.c 	if (num == 0) {
num              2074 drivers/usb/gadget/udc/gr_udc.c static void gr_ep_remove(struct gr_udc *dev, int num, int is_in)
num              2079 drivers/usb/gadget/udc/gr_udc.c 		ep = &dev->epi[num];
num              2081 drivers/usb/gadget/udc/gr_udc.c 		ep = &dev->epo[num];
num               145 drivers/usb/gadget/udc/gr_udc.h 	unsigned num:8;
num               231 drivers/usb/gadget/udc/net2272.c 	tmp = (1 << ep->num) | net2272_read(dev, IRQENB0);
num               269 drivers/usb/gadget/udc/net2272.c 	if (ep->num != 0)
num               352 drivers/usb/gadget/udc/net2272.c 	if (ep->num == 0) {
num               588 drivers/usb/gadget/udc/net2272.c 			if (unlikely(ep->num == 0)) {
num               707 drivers/usb/gadget/udc/net2272.c 	if (!use_dma || (ep->num < 1) || (ep->num > 2) || !ep->dma)
num               734 drivers/usb/gadget/udc/net2272.c 		if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 0))
num               744 drivers/usb/gadget/udc/net2272.c 		if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 1))
num               770 drivers/usb/gadget/udc/net2272.c 				((ep->num >> 1) << DMA_ENDPOINT_SELECT));
num               822 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
num               848 drivers/usb/gadget/udc/net2272.c 		if (ep->num == 0 && _req->length == 0) {
num               934 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0) || !_req)
num               974 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
num               992 drivers/usb/gadget/udc/net2272.c 			if (ep->num == 0)
num              1029 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
num              1049 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
num              1374 drivers/usb/gadget/udc/net2272.c 		ep->num = i;
num              1377 drivers/usb/gadget/udc/net2272.c 		if (use_dma && ep->num == dma_ep)
num              1708 drivers/usb/gadget/udc/net2272.c 	u8 num, scratch;
num              1930 drivers/usb/gadget/udc/net2272.c 		num = (net2272_read(dev, DMAREQ) & (1 << DMA_ENDPOINT_SELECT))
num              1933 drivers/usb/gadget/udc/net2272.c 		ep = &dev->ep[num];
num              1941 drivers/usb/gadget/udc/net2272.c 	for (num = 0; scratch; num++) {
num              1945 drivers/usb/gadget/udc/net2272.c 		t = 1 << num;
num              1950 drivers/usb/gadget/udc/net2272.c 		ep = &dev->ep[num];
num               427 drivers/usb/gadget/udc/net2272.h 	unsigned num:8,
num               528 drivers/usb/gadget/udc/net2272.h 	if (dev->pagesel != ep->num) {
num               529 drivers/usb/gadget/udc/net2272.h 		net2272_write(dev, PAGESEL, ep->num);
num               530 drivers/usb/gadget/udc/net2272.h 		dev->pagesel = ep->num;
num               540 drivers/usb/gadget/udc/net2272.h 	if (dev->pagesel != ep->num) {
num               541 drivers/usb/gadget/udc/net2272.h 		net2272_write(dev, PAGESEL, ep->num);
num               542 drivers/usb/gadget/udc/net2272.h 		dev->pagesel = ep->num;
num               172 drivers/usb/gadget/udc/net2280.c 		tmp |= BIT(ep->num);
num               174 drivers/usb/gadget/udc/net2280.c 		tmp |= BIT(ep_bit[ep->num]);
num               216 drivers/usb/gadget/udc/net2280.c 		if (dev->enhanced_mode && ep->is_in && ep_key[ep->num]) {
num               224 drivers/usb/gadget/udc/net2280.c 	if (ep->num > 4 && max > 64 && (dev->quirks & PLX_LEGACY)) {
num               329 drivers/usb/gadget/udc/net2280.c 		tmp = BIT((8 + ep->num));	/* completion */
num               399 drivers/usb/gadget/udc/net2280.c 		tmp &= ~BIT(ep->num);
num               403 drivers/usb/gadget/udc/net2280.c 		tmp &= ~BIT((8 + ep->num));	/* completion */
num               424 drivers/usb/gadget/udc/net2280.c 	if (ep->num != 0) {
num               484 drivers/usb/gadget/udc/net2280.c 		tmp &= ~BIT(ep_bit[ep->num]);
num               487 drivers/usb/gadget/udc/net2280.c 		if (ep->num < 5) {
num               489 drivers/usb/gadget/udc/net2280.c 			tmp &= ~BIT((8 + ep->num));	/* completion */
num               537 drivers/usb/gadget/udc/net2280.c 	if (!ep->dma && ep->num >= 1 && ep->num <= 4)
num               538 drivers/usb/gadget/udc/net2280.c 		ep->dma = &ep->dev->dma[ep->num - 1];
num               998 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
num              1050 drivers/usb/gadget/udc/net2280.c 			if (ep->num == 0 && _req->length == 0) {
num              1073 drivers/usb/gadget/udc/net2280.c 							ep->num == 0) {
num              1079 drivers/usb/gadget/udc/net2280.c 							ep->num != 0) {
num              1250 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0) || !_req) {
num              1335 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
num              1362 drivers/usb/gadget/udc/net2280.c 			if (ep->num == 0)
num              1408 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
num              1434 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
num              2166 drivers/usb/gadget/udc/net2280.c 		ep->num = tmp;
num              2209 drivers/usb/gadget/udc/net2280.c 		ep->num = i;
num              2548 drivers/usb/gadget/udc/net2280.c 	if (unlikely(ep->num == 0)) {
num              2694 drivers/usb/gadget/udc/net2280.c 		if (read_fifo(ep, req) && ep->num != 0)
num              2709 drivers/usb/gadget/udc/net2280.c 			(!req->req.zero || len != ep->ep.maxpacket) && ep->num)
num              2722 drivers/usb/gadget/udc/net2280.c 		if (ep->num == 0) {
num              2853 drivers/usb/gadget/udc/net2280.c 	val |= ep_pl[ep->num];
num              3023 drivers/usb/gadget/udc/net2280.c 			if (ep->num == 0)
num              3092 drivers/usb/gadget/udc/net2280.c 	u32			num, scratch;
num              3326 drivers/usb/gadget/udc/net2280.c 		for (num = 0; scratch; num++) {
num              3330 drivers/usb/gadget/udc/net2280.c 			t = BIT(num);
num              3335 drivers/usb/gadget/udc/net2280.c 			ep = &dev->ep[num];
num              3358 drivers/usb/gadget/udc/net2280.c 	u32			tmp, num, mask, scratch;
num              3461 drivers/usb/gadget/udc/net2280.c 	for (num = 0; scratch; num++) {
num              3464 drivers/usb/gadget/udc/net2280.c 		tmp = BIT(num);
num              3469 drivers/usb/gadget/udc/net2280.c 		ep = &dev->ep[num + 1];
num               103 drivers/usb/gadget/udc/net2280.h 	unsigned				num : 8,
num               367 drivers/usb/gadget/udc/net2280.h 		reg = ep_enhanced[ep->num];
num               380 drivers/usb/gadget/udc/net2280.h 		reg = (ep->num + 1) * 0x10;
num               120 drivers/usb/gadget/udc/omap_udc.c 	u16	num = ep->bEndpointAddress & 0x0f;
num               123 drivers/usb/gadget/udc/omap_udc.c 		num |= UDC_EP_DIR;
num               124 drivers/usb/gadget/udc/omap_udc.c 	omap_writew(num | select, UDC_EP_NUM);
num               177 drivers/usb/gadget/udc/pch_udc.c #define PCH_UDC_EPINT(in, num)\
num               178 drivers/usb/gadget/udc/pch_udc.c 		(1 << (num + (in ? UDC_EPINT_IN_SHIFT : UDC_EPINT_OUT_SHIFT)))
num               296 drivers/usb/gadget/udc/pch_udc.c 	unsigned			num:5,
num               951 drivers/usb/gadget/udc/pch_udc.c 			__func__, ep->num, (ep->in ? "in" : "out"));
num               991 drivers/usb/gadget/udc/pch_udc.c 	val = ep->num << UDC_CSR_NE_NUM_SHIFT | ep->in << UDC_CSR_NE_DIR_SHIFT |
num              1000 drivers/usb/gadget/udc/pch_udc.c 		pch_udc_write_csr(ep->dev, val, UDC_EPIN_IDX(ep->num));
num              1002 drivers/usb/gadget/udc/pch_udc.c 		pch_udc_write_csr(ep->dev, val, UDC_EPOUT_IDX(ep->num));
num              1665 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_enable_ep_interrupts(ep->dev, UDC_EPINT_OUT_EP0 << ep->num);
num              1702 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num));
num              1732 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_disable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num));
num              1837 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && ep->num)
num              1904 drivers/usb/gadget/udc/pch_udc.c 			pch_udc_enable_ep_interrupts(ep->dev, (1 << ep->num));
num              1935 drivers/usb/gadget/udc/pch_udc.c 	if (!usbep || !usbreq || (!ep->ep.desc && ep->num))
num              1972 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && !ep->num)
num              1979 drivers/usb/gadget/udc/pch_udc.c 			if (ep->num == PCH_UDC_EP0)
num              1983 drivers/usb/gadget/udc/pch_udc.c 				ep->dev, PCH_UDC_EPINT(ep->in, ep->num));
num              2014 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && !ep->num)
num              2022 drivers/usb/gadget/udc/pch_udc.c 		if (ep->num == PCH_UDC_EP0)
num              2026 drivers/usb/gadget/udc/pch_udc.c 					     PCH_UDC_EPINT(ep->in, ep->num));
num              2046 drivers/usb/gadget/udc/pch_udc.c 	if (ep->ep.desc || !ep->num)
num              2114 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num));
num              2151 drivers/usb/gadget/udc/pch_udc.c 					     PCH_UDC_EPINT(ep->in, ep->num));
num              2154 drivers/usb/gadget/udc/pch_udc.c 					      PCH_UDC_EPINT(ep->in, ep->num));
num              2244 drivers/usb/gadget/udc/pch_udc.c 					     PCH_UDC_EPINT(ep->in, ep->num));
num              2252 drivers/usb/gadget/udc/pch_udc.c 						PCH_UDC_EPINT(ep->in, ep->num));
num              2294 drivers/usb/gadget/udc/pch_udc.c 					     PCH_UDC_EPINT(ep->in, ep->num));
num              2302 drivers/usb/gadget/udc/pch_udc.c 						PCH_UDC_EPINT(ep->in, ep->num));
num              2310 drivers/usb/gadget/udc/pch_udc.c 						PCH_UDC_EPINT(ep->in, ep->num));
num              2420 drivers/usb/gadget/udc/pch_udc.c 						PCH_UDC_EPINT(ep->in, ep->num));
num              2451 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num));
num              2851 drivers/usb/gadget/udc/pch_udc.c 		ep->num = i / 2;
num              2856 drivers/usb/gadget/udc/pch_udc.c 			ep->offset_addr = ep->num * UDC_EP_REG_SHIFT;
num              2859 drivers/usb/gadget/udc/pch_udc.c 			ep->offset_addr = (UDC_EPINT_OUT_SHIFT + ep->num) *
num               300 drivers/usb/gadget/udc/renesas_usb3.c 	int num;	/* Setting area number (from 1 to 4) */
num               314 drivers/usb/gadget/udc/renesas_usb3.c 	int num;
num               458 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_enable_pipe_irq(struct renesas_usb3 *usb3, int num)
num               460 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_set_bit(usb3, USB_INT_2_PIPE(num), USB3_USB_INT_ENA_2);
num               463 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_disable_pipe_irq(struct renesas_usb3 *usb3, int num)
num               465 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_clear_bit(usb3, USB_INT_2_PIPE(num), USB3_USB_INT_ENA_2);
num               898 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_ep->num, usb3_req->req.length, usb3_req->req.actual,
num              1001 drivers/usb/gadget/udc/renesas_usb3.c static int usb3_pn_change(struct renesas_usb3 *usb3, int num)
num              1003 drivers/usb/gadget/udc/renesas_usb3.c 	if (num == 0 || num > usb3->num_usb3_eps)
num              1006 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, num, USB3_PIPE_COM);
num              1058 drivers/usb/gadget/udc/renesas_usb3.c 	u32 sta_reg = usb3_ep->num ? USB3_PN_STA : USB3_P0_STA;
num              1067 drivers/usb/gadget/udc/renesas_usb3.c 	u32 con_reg = usb3_ep->num ? USB3_PN_CON : USB3_P0_CON;
num              1071 drivers/usb/gadget/udc/renesas_usb3.c 	val |= (usb3_ep->num && last) ? PN_CON_LAST : 0;
num              1117 drivers/usb/gadget/udc/renesas_usb3.c 	u32 lng_reg = usb3_ep->num ? USB3_PN_LNG : USB3_P0_LNG;
num              1215 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_enable_dma_irq(struct renesas_usb3 *usb3, int num)
num              1217 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_set_bit(usb3, DMA_INT(num), USB3_DMA_INT_ENA);
num              1220 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_disable_dma_irq(struct renesas_usb3 *usb3, int num)
num              1222 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_clear_bit(usb3, DMA_INT(num), USB3_DMA_INT_ENA);
num              1334 drivers/usb/gadget/udc/renesas_usb3.c 	u32 dma_con = DMA_COM_PIPE_NO(usb3_ep->num) | DMA_CON_PRD_EN;
num              1341 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, 1 << usb3_ep->num, USB3_DMA_INT_STA);
num              1342 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, AXI_INT_PRDEN_CLR_STA(dma->num) |
num              1343 drivers/usb/gadget/udc/renesas_usb3.c 		   AXI_INT_PRDERR_STA(dma->num), USB3_AXI_INT_STA);
num              1345 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, dma->prd_dma, USB3_DMA_CH0_PRD_ADR(dma->num));
num              1346 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, dma_con, USB3_DMA_CH0_CON(dma->num));
num              1347 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_enable_dma_irq(usb3, usb3_ep->num);
num              1355 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_disable_dma_irq(usb3, usb3_ep->num);
num              1356 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_write(usb3, 0, USB3_DMA_CH0_CON(dma->num));
num              1422 drivers/usb/gadget/udc/renesas_usb3.c 	if (!usb3_pn_change(usb3, usb3_ep->num))
num              1466 drivers/usb/gadget/udc/renesas_usb3.c 		dma->num = i + 1;
num              1487 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_pn_change(usb3, usb3_ep->num) < 0)
num              1507 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_enable_pipe_irq(usb3, usb3_ep->num);
num              1521 drivers/usb/gadget/udc/renesas_usb3.c 	dev_dbg(usb3_to_dev(usb3), "ep_queue: ep%2d, %u\n", usb3_ep->num,
num              1530 drivers/usb/gadget/udc/renesas_usb3.c 	if (!usb3_ep->num)
num              1583 drivers/usb/gadget/udc/renesas_usb3.c 	int num;
num              1597 drivers/usb/gadget/udc/renesas_usb3.c 		num = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK;
num              1598 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_ep = usb3_get_ep(usb3, num);
num              1652 drivers/usb/gadget/udc/renesas_usb3.c 	if (unlikely(usb3_ep->num))
num              1671 drivers/usb/gadget/udc/renesas_usb3.c 	if (!usb3_pn_change(usb3, usb3_ep->num)) {
num              1694 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_ep->num)
num              1706 drivers/usb/gadget/udc/renesas_usb3.c 	int num = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK;
num              1713 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_ep = usb3_get_ep(usb3, num);
num              1895 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_pn_change(usb3, usb3_ep->num))
num              1899 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_disable_pipe_irq(usb3, usb3_ep->num);
num              1908 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_irq_epc_pipen_lsttr(struct renesas_usb3 *usb3, int num)
num              1910 drivers/usb/gadget/udc/renesas_usb3.c 	struct renesas_usb3_ep *usb3_ep = usb3_get_ep(usb3, num);
num              1923 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_irq_epc_pipen_bfrdy(struct renesas_usb3 *usb3, int num)
num              1925 drivers/usb/gadget/udc/renesas_usb3.c 	struct renesas_usb3_ep *usb3_ep = usb3_get_ep(usb3, num);
num              1933 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_pn_change(usb3, num))
num              1953 drivers/usb/gadget/udc/renesas_usb3.c static void usb3_irq_epc_pipen(struct renesas_usb3 *usb3, int num)
num              1958 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_pn_change(usb3, num) < 0) {
num              1968 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_irq_epc_pipen_lsttr(usb3, num);
num              1970 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_irq_epc_pipen_bfrdy(usb3, num);
num              2033 drivers/usb/gadget/udc/renesas_usb3.c 		    AXI_INT_PRDEN_CLR_STA(usb3_ep->dma->num)))
num              2124 drivers/usb/gadget/udc/renesas_usb3.c 	if (!usb3_pn_change(usb3, usb3_ep->num)) {
num              2144 drivers/usb/gadget/udc/renesas_usb3.c 	if (!usb3_pn_change(usb3, usb3_ep->num)) {
num              2217 drivers/usb/gadget/udc/renesas_usb3.c 	dev_dbg(usb3_to_dev(usb3), "ep_dequeue: ep%2d, %u\n", usb3_ep->num,
num              2245 drivers/usb/gadget/udc/renesas_usb3.c 	if (usb3_ep->num) {
num              2247 drivers/usb/gadget/udc/renesas_usb3.c 		if (!usb3_pn_change(usb3, usb3_ep->num)) {
num              2592 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_ep->num = i;
num              1043 drivers/usb/gadget/udc/s3c2410_udc.c 	udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1051 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1053 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1060 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1062 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1068 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1070 drivers/usb/gadget/udc/s3c2410_udc.c 		udc_write(ep->num, S3C2410_UDC_INDEX_REG);
num              1076 drivers/usb/gadget/udc/s3c2410_udc.c 	udc_write(int_en_reg | (1 << ep->num), S3C2410_UDC_EP_INT_EN_REG);
num              1081 drivers/usb/gadget/udc/s3c2410_udc.c 		 _ep->name, ep->num, tmp,
num              1116 drivers/usb/gadget/udc/s3c2410_udc.c 	udc_write(int_en_reg & ~(1<<ep->num), S3C2410_UDC_EP_INT_EN_REG);
num              1673 drivers/usb/gadget/udc/s3c2410_udc.c 		.num		= 0,
num              1686 drivers/usb/gadget/udc/s3c2410_udc.c 		.num		= 1,
num              1700 drivers/usb/gadget/udc/s3c2410_udc.c 		.num		= 2,
num              1714 drivers/usb/gadget/udc/s3c2410_udc.c 		.num		= 3,
num              1728 drivers/usb/gadget/udc/s3c2410_udc.c 		.num		= 4,
num                19 drivers/usb/gadget/udc/s3c2410_udc.h 	u8				num;
num               298 drivers/usb/gadget/udc/snps_udc_core.c 	for (i = 0; i < ep->num; i++) {
num               312 drivers/usb/gadget/udc/snps_udc_core.c static void UDC_QUEUE_CNAK(struct udc_ep *ep, unsigned num)
num               315 drivers/usb/gadget/udc/snps_udc_core.c 		DBG(ep->dev, "NAK could not be cleared for ep%d\n", num);
num               316 drivers/usb/gadget/udc/snps_udc_core.c 		cnak_pending |= 1 << (num);
num               319 drivers/usb/gadget/udc/snps_udc_core.c 		cnak_pending = cnak_pending & (~(1 << (num)));
num               343 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "udc_ep_enable() ep %d\n", ep->num);
num               354 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[ep->num].regs->ctl);
num               356 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[ep->num].regs->ctl);
num               360 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[ep->num].regs->bufout_maxpkt);
num               363 drivers/usb/gadget/udc/snps_udc_core.c 	writel(tmp, &dev->ep[ep->num].regs->bufout_maxpkt);
num               369 drivers/usb/gadget/udc/snps_udc_core.c 		udc_csr_epix = ep->num;
num               372 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->ep[ep->num].regs->bufin_framenum);
num               379 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->ep[ep->num].regs->bufin_framenum);
num               392 drivers/usb/gadget/udc/snps_udc_core.c 		udc_csr_epix = ep->num - UDC_CSR_EP_OUT_IX_OFS;
num               395 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->csr->ne[ep->num - UDC_CSR_EP_OUT_IX_OFS]);
num               398 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &dev->csr->ne[ep->num - UDC_CSR_EP_OUT_IX_OFS]);
num               406 drivers/usb/gadget/udc/snps_udc_core.c 		if (ep->num != UDC_EP0OUT_IX)
num               431 drivers/usb/gadget/udc/snps_udc_core.c 	tmp &= AMD_UNMASK_BIT(ep->num);
num               443 drivers/usb/gadget/udc/snps_udc_core.c 		UDC_QUEUE_CNAK(ep, ep->num);
num               457 drivers/usb/gadget/udc/snps_udc_core.c 	VDBG(ep->dev, "ep-%d reset\n", ep->num);
num               471 drivers/usb/gadget/udc/snps_udc_core.c 	tmp |= AMD_BIT(ep->num);
num               507 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(ep->dev, "Disable ep-%d\n", ep->num);
num               531 drivers/usb/gadget/udc/snps_udc_core.c 	VDBG(ep->dev, "udc_alloc_req(): ep%d\n", ep->num);
num               884 drivers/usb/gadget/udc/snps_udc_core.c 			ep->num, req->td_data);
num               918 drivers/usb/gadget/udc/snps_udc_core.c 				ep->ep.maxpacket, ep->num);
num               924 drivers/usb/gadget/udc/snps_udc_core.c 				|| ep->num == UDC_EP0OUT_IX
num               925 drivers/usb/gadget/udc/snps_udc_core.c 				|| ep->num == UDC_EP0IN_IX) {
num               956 drivers/usb/gadget/udc/snps_udc_core.c 			UDC_QUEUE_CNAK(ep, ep->num);
num               973 drivers/usb/gadget/udc/snps_udc_core.c 	VDBG(ep->dev, "complete_req(): ep%d\n", ep->num);
num              1072 drivers/usb/gadget/udc/snps_udc_core.c 	if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
num              1075 drivers/usb/gadget/udc/snps_udc_core.c 	VDBG(ep->dev, "udc_queue(): ep%d-in=%d\n", ep->num, ep->in);
num              1174 drivers/usb/gadget/udc/snps_udc_core.c 				UDC_QUEUE_CNAK(ep, ep->num);
num              1180 drivers/usb/gadget/udc/snps_udc_core.c 				tmp &= AMD_UNMASK_BIT(ep->num);
num              1186 drivers/usb/gadget/udc/snps_udc_core.c 				tmp &= AMD_UNMASK_BIT(ep->num);
num              1213 drivers/usb/gadget/udc/snps_udc_core.c 			if (ep->num != UDC_EP0OUT_IX)
num              1264 drivers/usb/gadget/udc/snps_udc_core.c 	if (!usbep || !usbreq || (!ep->ep.desc && (ep->num != 0
num              1265 drivers/usb/gadget/udc/snps_udc_core.c 				&& ep->num != UDC_EP0OUT_IX)))
num              1324 drivers/usb/gadget/udc/snps_udc_core.c 	if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
num              1332 drivers/usb/gadget/udc/snps_udc_core.c 		if (ep->num == 0)
num              1365 drivers/usb/gadget/udc/snps_udc_core.c 			UDC_QUEUE_CNAK(ep, ep->num);
num              1549 drivers/usb/gadget/udc/snps_udc_core.c 		ep->num = tmp;
num              1805 drivers/usb/gadget/udc/snps_udc_core.c 			UDC_QUEUE_CNAK(ep, ep->num);
num              2039 drivers/usb/gadget/udc/snps_udc_core.c 			UDC_QUEUE_CNAK(&dev->ep[tmp], dev->ep[tmp].num);
num              2051 drivers/usb/gadget/udc/snps_udc_core.c 				dev->ep[UDC_EP0OUT_IX].num);
num              2101 drivers/usb/gadget/udc/snps_udc_core.c 					ep->num, readl(&ep->regs->desptr));
num              2114 drivers/usb/gadget/udc/snps_udc_core.c 		dev_err(dev->dev, "HE ep%dout occurred\n", ep->num);
num              2266 drivers/usb/gadget/udc/snps_udc_core.c 				if (ep->num != UDC_EP0OUT_IX)
num              2315 drivers/usb/gadget/udc/snps_udc_core.c 				ep->num,
num              2328 drivers/usb/gadget/udc/snps_udc_core.c 			ep->num, (unsigned long) readl(&ep->regs->desptr));
num              2364 drivers/usb/gadget/udc/snps_udc_core.c 					tmp |= AMD_BIT(ep->num);
num              2436 drivers/usb/gadget/udc/snps_udc_core.c 			tmp |= AMD_BIT(ep->num);
num              2799 drivers/usb/gadget/udc/snps_udc_core.c 				udc_csr_epix = ep->num;
num              2805 drivers/usb/gadget/udc/snps_udc_core.c 				udc_csr_epix = ep->num - UDC_CSR_EP_OUT_IX_OFS;
num              2852 drivers/usb/gadget/udc/snps_udc_core.c 				udc_csr_epix = ep->num;
num              2858 drivers/usb/gadget/udc/snps_udc_core.c 				udc_csr_epix = ep->num - UDC_CSR_EP_OUT_IX_OFS;
num                84 drivers/usb/host/fsl-mph-dr-of.c 	unsigned int num = ofdev->num_resources;
num               106 drivers/usb/host/fsl-mph-dr-of.c 	if (num) {
num               107 drivers/usb/host/fsl-mph-dr-of.c 		retval = platform_device_add_resources(pdev, res, num);
num               164 drivers/usb/host/imx21-hcd.c static void disactivate_etd(struct imx21 *imx21, int num)
num               166 drivers/usb/host/imx21-hcd.c 	int etd_mask = (1 << num);
num               167 drivers/usb/host/imx21-hcd.c 	struct etd_priv *etd = &imx21->etd[num];
num               179 drivers/usb/host/imx21-hcd.c static void reset_etd(struct imx21 *imx21, int num)
num               181 drivers/usb/host/imx21-hcd.c 	struct etd_priv *etd = imx21->etd + num;
num               184 drivers/usb/host/imx21-hcd.c 	disactivate_etd(imx21, num);
num               187 drivers/usb/host/imx21-hcd.c 		etd_writel(imx21, num, i, 0);
num               194 drivers/usb/host/imx21-hcd.c static void free_etd(struct imx21 *imx21, int num)
num               196 drivers/usb/host/imx21-hcd.c 	if (num < 0)
num               199 drivers/usb/host/imx21-hcd.c 	if (num >= USB_NUM_ETD) {
num               200 drivers/usb/host/imx21-hcd.c 		dev_err(imx21->dev, "BAD etd=%d!\n", num);
num               203 drivers/usb/host/imx21-hcd.c 	if (imx21->etd[num].alloc == 0) {
num               204 drivers/usb/host/imx21-hcd.c 		dev_err(imx21->dev, "ETD %d already free!\n", num);
num               209 drivers/usb/host/imx21-hcd.c 	reset_etd(imx21, num);
num               210 drivers/usb/host/imx21-hcd.c 	memset(&imx21->etd[num], 0, sizeof(imx21->etd[0]));
num               168 drivers/usb/host/ohci-dbg.c #define dbg_port_sw(hc,num,value,next,size) \
num               172 drivers/usb/host/ohci-dbg.c 		num, temp, \
num               119 drivers/usb/host/ohci-hcd.c 	int			len, i, num, this_sg_len;
num               126 drivers/usb/host/ohci-hcd.c 		num = 0;
num               130 drivers/usb/host/ohci-hcd.c 			num += DIV_ROUND_UP(this_sg_len, 4096);
num               139 drivers/usb/host/ohci-hcd.c 		num = DIV_ROUND_UP(len, 4096);
num               141 drivers/usb/host/ohci-hcd.c 	return num;
num                17 drivers/usb/host/ohci-hub.c #define dbg_port(hc,label,num,value) \
num                21 drivers/usb/host/ohci-hub.c 		label, num, value, \
num              3266 drivers/usb/host/oxu210hp-hcd.c 	int num, rem;
num              3278 drivers/usb/host/oxu210hp-hcd.c 	num = urb->transfer_buffer_length / 4096;
num              3281 drivers/usb/host/oxu210hp-hcd.c 		num++;
num              3284 drivers/usb/host/oxu210hp-hcd.c 	if (num == 1)
num              3289 drivers/usb/host/oxu210hp-hcd.c 	for (i = 0; i < num - 1; i++) {
num              3333 drivers/usb/host/oxu210hp-hcd.c 	murb->transfer_buffer = transfer_buffer + (num - 1) * 4096;
num               146 drivers/usb/host/xhci-tegra.c 	unsigned int num;
num              1133 drivers/usb/host/xhci-tegra.c 		tegra->num_phys += tegra->soc->phy_types[i].num;
num              1145 drivers/usb/host/xhci-tegra.c 		for (j = 0; j < tegra->soc->phy_types[i].num; j++) {
num              1361 drivers/usb/host/xhci-tegra.c 	{ .name = "usb3", .num = 2, },
num              1362 drivers/usb/host/xhci-tegra.c 	{ .name = "usb2", .num = 3, },
num              1363 drivers/usb/host/xhci-tegra.c 	{ .name = "hsic", .num = 2, },
num              1393 drivers/usb/host/xhci-tegra.c 	{ .name = "usb3", .num = 4, },
num              1394 drivers/usb/host/xhci-tegra.c 	{ .name = "usb2", .num = 4, },
num              1395 drivers/usb/host/xhci-tegra.c 	{ .name = "hsic", .num = 1, },
num              1419 drivers/usb/host/xhci-tegra.c 	{ .name = "usb3", .num = 3, },
num              1420 drivers/usb/host/xhci-tegra.c 	{ .name = "usb2", .num = 3, },
num              1421 drivers/usb/host/xhci-tegra.c 	{ .name = "hsic", .num = 1, },
num               901 drivers/usb/misc/usbtest.c 		unsigned total, num, length;
num               913 drivers/usb/misc/usbtest.c 		num = bos->bNumDeviceCaps;
num               932 drivers/usb/misc/usbtest.c 		for (i = 0; i < num; i++) {
num              1529 drivers/usb/misc/usbtest.c 	unsigned		num;
num              1541 drivers/usb/misc/usbtest.c 	if (urb == ctx->urbs[ctx->num - 4] || urb == ctx->urbs[ctx->num - 2]) {
num              1554 drivers/usb/misc/usbtest.c static int unlink_queued(struct usbtest_dev *dev, int pipe, unsigned num,
num              1566 drivers/usb/misc/usbtest.c 	ctx.num = num;
num              1575 drivers/usb/misc/usbtest.c 	ctx.urbs = kcalloc(num, sizeof(struct urb *), GFP_KERNEL);
num              1578 drivers/usb/misc/usbtest.c 	for (i = 0; i < num; i++) {
num              1594 drivers/usb/misc/usbtest.c 	for (i = 0; i < num; i++) {
num              1605 drivers/usb/misc/usbtest.c 	if (i == num) {
num              1606 drivers/usb/misc/usbtest.c 		usb_unlink_urb(ctx.urbs[num - 4]);
num              1607 drivers/usb/misc/usbtest.c 		usb_unlink_urb(ctx.urbs[num - 2]);
num              1619 drivers/usb/misc/usbtest.c 	for (i = 0; i < num; i++)
num               333 drivers/usb/mon/mon_main.c struct mon_bus *mon_bus_lookup(unsigned int num)
num               338 drivers/usb/mon/mon_main.c 	if (num == 0) {
num               343 drivers/usb/mon/mon_main.c 		if (mbus->u_bus->busnum == num) {
num                56 drivers/usb/mon/usb_mon.h struct mon_bus *mon_bus_lookup(unsigned int num);
num               118 drivers/usb/renesas_usbhs/pipe.c 	int num = usbhs_pipe_number(pipe);
num               130 drivers/usb/renesas_usbhs/pipe.c 	switch (num) {
num               144 drivers/usb/renesas_usbhs/pipe.c 		dev_err(dev, "unknown pipe (%d)\n", num);
num               154 drivers/usb/renesas_usbhs/pipe.c 	int num = usbhs_pipe_number(pipe);
num               166 drivers/usb/renesas_usbhs/pipe.c 	switch (num) {
num               180 drivers/usb/renesas_usbhs/pipe.c 		dev_err(dev, "unknown pipe (%d)\n", num);
num                66 drivers/usb/typec/ucsi/displayport.c 	UCSI_CMD_GET_CURRENT_CAM(ctrl, dp->con->num);
num               120 drivers/usb/typec/ucsi/displayport.c 	ctrl.raw_cmd = UCSI_CMD_SET_NEW_CAM(dp->con->num, 0, dp->offset, 0);
num               180 drivers/usb/typec/ucsi/displayport.c 	ctrl.raw_cmd = UCSI_CMD_SET_NEW_CAM(dp->con->num, 1, dp->offset, pins);
num               230 drivers/usb/typec/ucsi/ucsi.c 	UCSI_CMD_GET_CURRENT_CAM(ctrl, con->num);
num               350 drivers/usb/typec/ucsi/ucsi.c 	int num = 1;
num               367 drivers/usb/typec/ucsi/ucsi.c 		UCSI_CMD_GET_ALTERNATE_MODES(ctrl, recipient, con->num, i, 1);
num               378 drivers/usb/typec/ucsi/ucsi.c 		num = len / sizeof(alt[0]);
num               379 drivers/usb/typec/ucsi/ucsi.c 		i += num;
num               381 drivers/usb/typec/ucsi/ucsi.c 		for (j = 0; j < num; j++) {
num               472 drivers/usb/typec/ucsi/ucsi.c 			"con%d: failed to register partner (%ld)\n", con->num,
num               519 drivers/usb/typec/ucsi/ucsi.c 			con->num);
num               534 drivers/usb/typec/ucsi/ucsi.c 	UCSI_CMD_GET_CONNECTOR_STATUS(ctrl, con->num);
num               579 drivers/usb/typec/ucsi/ucsi.c 		UCSI_CMD_GET_CAM_SUPPORTED(ctrl, con->num);
num               590 drivers/usb/typec/ucsi/ucsi.c 	trace_ucsi_connector_change(con->num, &con->status);
num               797 drivers/usb/typec/ucsi/ucsi.c 		if (i++ == con->num)
num               813 drivers/usb/typec/ucsi/ucsi.c 	con->num = index + 1;
num               817 drivers/usb/typec/ucsi/ucsi.c 	UCSI_CMD_GET_CONNECTOR_CAPABILITY(ctrl, con->num);
num               858 drivers/usb/typec/ucsi/ucsi.c 			con->num);
num               861 drivers/usb/typec/ucsi/ucsi.c 	UCSI_CMD_GET_CONNECTOR_STATUS(ctrl, con->num);
num               864 drivers/usb/typec/ucsi/ucsi.c 		dev_err(ucsi->dev, "con%d: failed to get status\n", con->num);
num               891 drivers/usb/typec/ucsi/ucsi.c 				con->num);
num               896 drivers/usb/typec/ucsi/ucsi.c 	trace_ucsi_register_port(con->num, &con->status);
num                99 drivers/usb/typec/ucsi/ucsi.h 	(_ctrl_).con_rst.con_num = (_con_)->num;			\
num               172 drivers/usb/typec/ucsi/ucsi.h 	__UCSI_ROLE(_ctrl_, UCSI_SET_UOR, (_con_)->num)		\
num               180 drivers/usb/typec/ucsi/ucsi.h 	__UCSI_ROLE(_ctrl_, UCSI_SET_PDR, (_con_)->num)		\
num               410 drivers/usb/typec/ucsi/ucsi.h 	int num;
num               531 drivers/usb/usbip/vudc_dev.c 		int num = (i + 1) / 2;
num               535 drivers/usb/usbip/vudc_dev.c 		sprintf(ep->name, "ep%d%s", num,
num                17 drivers/usb/usbip/vudc_main.c module_param_named(num, vudc_number, uint, S_IRUGO);
num                18 drivers/usb/usbip/vudc_main.c MODULE_PARM_DESC(num, "number of emulated controllers");
num                25 drivers/vfio/platform/vfio_platform.c 					      int num)
num                34 drivers/vfio/platform/vfio_platform.c 			if (!num)
num                37 drivers/vfio/platform/vfio_platform.c 			num--;
num               608 drivers/vfio/vfio_iommu_spapr_tce.c 			int num,
num               625 drivers/vfio/vfio_iommu_spapr_tce.c 	ret = table_group->ops->create_table(table_group, num,
num               650 drivers/vfio/vfio_iommu_spapr_tce.c 	long ret, num;
num               652 drivers/vfio/vfio_iommu_spapr_tce.c 	num = tce_iommu_find_free_table(container);
num               653 drivers/vfio/vfio_iommu_spapr_tce.c 	if (num < 0)
num               654 drivers/vfio/vfio_iommu_spapr_tce.c 		return num;
num               672 drivers/vfio/vfio_iommu_spapr_tce.c 	ret = tce_iommu_create_table(container, table_group, num,
num               686 drivers/vfio/vfio_iommu_spapr_tce.c 		ret = table_group->ops->set_window(table_group, num, tbl);
num               691 drivers/vfio/vfio_iommu_spapr_tce.c 	container->tables[num] = tbl;
num               701 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group->ops->unset_window(table_group, num);
num               714 drivers/vfio/vfio_iommu_spapr_tce.c 	int num;
num               716 drivers/vfio/vfio_iommu_spapr_tce.c 	num = tce_iommu_find_table(container, start_addr, &tbl);
num               717 drivers/vfio/vfio_iommu_spapr_tce.c 	if (num < 0)
num               736 drivers/vfio/vfio_iommu_spapr_tce.c 		table_group->ops->unset_window(table_group, num);
num               742 drivers/vfio/vfio_iommu_spapr_tce.c 	container->tables[num] = NULL;
num               858 drivers/vfio/vfio_iommu_spapr_tce.c 		long num;
num               880 drivers/vfio/vfio_iommu_spapr_tce.c 		num = tce_iommu_find_table(container, param.iova, &tbl);
num               881 drivers/vfio/vfio_iommu_spapr_tce.c 		if (num < 0)
num               925 drivers/vfio/vfio_iommu_spapr_tce.c 		long num;
num               947 drivers/vfio/vfio_iommu_spapr_tce.c 		num = tce_iommu_find_table(container, param.iova, &tbl);
num               948 drivers/vfio/vfio_iommu_spapr_tce.c 		if (num < 0)
num               466 drivers/vhost/net.c 		.num = nvq->batched_xdp,
num               571 drivers/vhost/net.c 	if (r == tvq->num && tvq->busyloop_timeout) {
num               591 drivers/vhost/net.c 	       min_t(unsigned int, VHOST_MAX_PEND, vq->num >> 2);
num               617 drivers/vhost/net.c 	if (ret < 0 || ret == vq->num)
num               787 drivers/vhost/net.c 		if (head == vq->num) {
num               879 drivers/vhost/net.c 		if (head == vq->num) {
num              1056 drivers/vhost/net.c 		if (d == vq->num) {
num               469 drivers/vhost/scsi.c 	if (head == vq->num) {
num               830 drivers/vhost/scsi.c 	if (vc->head == vq->num) {
num                69 drivers/vhost/test.c 		if (head == vq->num) {
num                49 drivers/vhost/vhost.c #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num])
num                50 drivers/vhost/vhost.c #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num])
num                82 drivers/vhost/vhost.c 	if (s.num != VHOST_VRING_LITTLE_ENDIAN &&
num                83 drivers/vhost/vhost.c 	    s.num != VHOST_VRING_BIG_ENDIAN)
num                86 drivers/vhost/vhost.c 	if (s.num == VHOST_VRING_BIG_ENDIAN)
num                99 drivers/vhost/vhost.c 		.num = vq->user_be
num               303 drivers/vhost/vhost.c 	vq->num = 1;
num               430 drivers/vhost/vhost.c 				   unsigned int num)
num               436 drivers/vhost/vhost.c 	       sizeof(*vq->avail->ring) * num + event;
num               440 drivers/vhost/vhost.c 				  unsigned int num)
num               446 drivers/vhost/vhost.c 	       sizeof(*vq->used->ring) * num + event;
num               450 drivers/vhost/vhost.c 				  unsigned int num)
num               452 drivers/vhost/vhost.c 	return sizeof(*vq->desc) * num;
num               990 drivers/vhost/vhost.c 			       &vq->avail->ring[idx & (vq->num - 1)]);
num              1296 drivers/vhost/vhost.c static bool vq_access_ok(struct vhost_virtqueue *vq, unsigned int num,
num              1302 drivers/vhost/vhost.c 	return access_ok(desc, vhost_get_desc_size(vq, num)) &&
num              1303 drivers/vhost/vhost.c 	       access_ok(avail, vhost_get_avail_size(vq, num)) &&
num              1304 drivers/vhost/vhost.c 	       access_ok(used, vhost_get_used_size(vq, num));
num              1356 drivers/vhost/vhost.c 	unsigned int num = vq->num;
num              1362 drivers/vhost/vhost.c 			       vhost_get_desc_size(vq, num), VHOST_ADDR_DESC) &&
num              1364 drivers/vhost/vhost.c 			       vhost_get_avail_size(vq, num),
num              1367 drivers/vhost/vhost.c 			       vhost_get_used_size(vq, num), VHOST_ADDR_USED);
num              1387 drivers/vhost/vhost.c 				  vhost_get_used_size(vq, vq->num)));
num              1401 drivers/vhost/vhost.c 	return vq_access_ok(vq, vq->num, vq->desc, vq->avail, vq->used);
num              1501 drivers/vhost/vhost.c 	if (!s.num || s.num > 0xffff || (s.num & (s.num - 1)))
num              1503 drivers/vhost/vhost.c 	vq->num = s.num;
num              1538 drivers/vhost/vhost.c 		if (!vq_access_ok(vq, vq->num,
num              1548 drivers/vhost/vhost.c 				vq->num * sizeof *vq->used->ring))
num              1625 drivers/vhost/vhost.c 		if (s.num > 0xffff) {
num              1629 drivers/vhost/vhost.c 		vq->last_avail_idx = s.num;
num              1635 drivers/vhost/vhost.c 		s.num = vq->last_avail_idx;
num              1690 drivers/vhost/vhost.c 		vq->busyloop_timeout = s.num;
num              1694 drivers/vhost/vhost.c 		s.num = vq->busyloop_timeout;
num              2231 drivers/vhost/vhost.c 		if (unlikely((u16)(vq->avail_idx - last_avail_idx) > vq->num)) {
num              2241 drivers/vhost/vhost.c 			return vq->num;
num              2254 drivers/vhost/vhost.c 		       &vq->avail->ring[last_avail_idx % vq->num]);
num              2261 drivers/vhost/vhost.c 	if (unlikely(head >= vq->num)) {
num              2263 drivers/vhost/vhost.c 		       head, vq->num);
num              2275 drivers/vhost/vhost.c 		if (unlikely(i >= vq->num)) {
num              2277 drivers/vhost/vhost.c 			       i, vq->num, head);
num              2280 drivers/vhost/vhost.c 		if (unlikely(++found > vq->num)) {
num              2283 drivers/vhost/vhost.c 			       i, vq->num, head);
num              2377 drivers/vhost/vhost.c 	start = vq->last_used_idx & (vq->num - 1);
num              2408 drivers/vhost/vhost.c 	start = vq->last_used_idx & (vq->num - 1);
num              2409 drivers/vhost/vhost.c 	n = vq->num - start;
num                89 drivers/vhost/vhost.h 	unsigned int num;
num                49 drivers/vhost/vringh.c 		return vrh->vring.num;
num                54 drivers/vhost/vringh.c 	i = *last_avail_idx & (vrh->vring.num - 1);
num                63 drivers/vhost/vringh.c 	if (head >= vrh->vring.num) {
num                65 drivers/vhost/vringh.c 			   head, vrh->vring.num);
num               216 drivers/vhost/vringh.c 	*desc_max = vrh->vring.num;
num               274 drivers/vhost/vringh.c 	desc_max = vrh->vring.num;
num               323 drivers/vhost/vringh.c 		if (count++ == vrh->vring.num) {
num               409 drivers/vhost/vringh.c 						   *src, unsigned num))
num               418 drivers/vhost/vringh.c 	off = used_idx % vrh->vring.num;
num               421 drivers/vhost/vringh.c 	if (num_used > 1 && unlikely(off + num_used >= vrh->vring.num)) {
num               422 drivers/vhost/vringh.c 		u16 part = vrh->vring.num - off;
num               575 drivers/vhost/vringh.c 			       unsigned int num)
num               578 drivers/vhost/vringh.c 			    sizeof(*dst) * num) ? -EFAULT : 0;
num               607 drivers/vhost/vringh.c 		     unsigned int num, bool weak_barriers,
num               613 drivers/vhost/vringh.c 	if (!num || num > 0xffff || (num & (num - 1))) {
num               614 drivers/vhost/vringh.c 		vringh_bad("Bad ring size %u", num);
num               624 drivers/vhost/vringh.c 	vrh->vring.num = num;
num               659 drivers/vhost/vringh.c 	*head = vrh->vring.num;
num               665 drivers/vhost/vringh.c 	if (err == vrh->vring.num)
num               738 drivers/vhost/vringh.c void vringh_abandon_user(struct vringh *vrh, unsigned int num)
num               742 drivers/vhost/vringh.c 	vrh->last_avail_idx -= num;
num               843 drivers/vhost/vringh.c 			       unsigned int num)
num               845 drivers/vhost/vringh.c 	memcpy(dst, src, num * sizeof(*dst));
num               874 drivers/vhost/vringh.c 		     unsigned int num, bool weak_barriers,
num               880 drivers/vhost/vringh.c 	if (!num || num > 0xffff || (num & (num - 1))) {
num               881 drivers/vhost/vringh.c 		vringh_bad("Bad ring size %u", num);
num               891 drivers/vhost/vringh.c 	vrh->vring.num = num;
num               929 drivers/vhost/vringh.c 	if (err == vrh->vring.num)
num               979 drivers/vhost/vringh.c void vringh_abandon_kern(struct vringh *vrh, unsigned int num)
num               983 drivers/vhost/vringh.c 	vrh->last_avail_idx -= num;
num               129 drivers/vhost/vsock.c 		if (head == vq->num) {
num               211 drivers/vhost/vsock.c 				if (val + 1 == tx_vq->num)
num               304 drivers/vhost/vsock.c 		if (new_cnt + cnt >= tx_vq->num && new_cnt < tx_vq->num)
num               384 drivers/vhost/vsock.c 	return val < vq->num;
num               420 drivers/vhost/vsock.c 		if (head == vq->num) {
num                50 drivers/video/fbdev/asiliantfb.c #define mm_write_ind(num, val, ap, dp)	do { \
num                51 drivers/video/fbdev/asiliantfb.c 	writeb((num), mmio_base + (ap)); writeb((val), mmio_base + (dp)); \
num                58 drivers/video/fbdev/asiliantfb.c #define write_xr(num, val)	mm_write_xr(p, num, val)
num                64 drivers/video/fbdev/asiliantfb.c #define write_fr(num, val)	mm_write_fr(p, num, val)
num                70 drivers/video/fbdev/asiliantfb.c #define write_cr(num, val)	mm_write_cr(p, num, val)
num                76 drivers/video/fbdev/asiliantfb.c #define write_gr(num, val)	mm_write_gr(p, num, val)
num                82 drivers/video/fbdev/asiliantfb.c #define write_sr(num, val)	mm_write_sr(p, num, val)
num                89 drivers/video/fbdev/asiliantfb.c #define write_ar(num, val)	mm_write_ar(p, num, val)
num               583 drivers/video/fbdev/aty/radeon_base.c 	int hTotal, vTotal, num, denom, m, n;
num               629 drivers/video/fbdev/aty/radeon_base.c 		num = 1;
num               635 drivers/video/fbdev/aty/radeon_base.c 		num = 2*n;
num               641 drivers/video/fbdev/aty/radeon_base.c 		num = 2*n;
num               652 drivers/video/fbdev/aty/radeon_base.c 	num *= n;
num               677 drivers/video/fbdev/aty/radeon_base.c 	do_div(vclk, 1000 * num);
num               439 drivers/video/fbdev/aty/radeonfb.h static inline int round_div(int num, int den)
num               441 drivers/video/fbdev/aty/radeonfb.h         return (num + (den / 2)) / den;
num                39 drivers/video/fbdev/chipsfb.c #define write_ind(num, val, ap, dp)	do { \
num                40 drivers/video/fbdev/chipsfb.c 	outb((num), (ap)); outb((val), (dp)); \
num                42 drivers/video/fbdev/chipsfb.c #define read_ind(num, var, ap, dp)	do { \
num                43 drivers/video/fbdev/chipsfb.c 	outb((num), (ap)); var = inb((dp)); \
num                47 drivers/video/fbdev/chipsfb.c #define write_xr(num, val)	write_ind(num, val, 0x3d6, 0x3d7)
num                48 drivers/video/fbdev/chipsfb.c #define read_xr(num, var)	read_ind(num, var, 0x3d6, 0x3d7)
num                50 drivers/video/fbdev/chipsfb.c #define write_fr(num, val)	write_ind(num, val, 0x3d0, 0x3d1)
num                51 drivers/video/fbdev/chipsfb.c #define read_fr(num, var)	read_ind(num, var, 0x3d0, 0x3d1)
num                53 drivers/video/fbdev/chipsfb.c #define write_cr(num, val)	write_ind(num, val, 0x3d4, 0x3d5)
num                54 drivers/video/fbdev/chipsfb.c #define read_cr(num, var)	read_ind(num, var, 0x3d4, 0x3d5)
num                56 drivers/video/fbdev/chipsfb.c #define write_gr(num, val)	write_ind(num, val, 0x3ce, 0x3cf)
num                57 drivers/video/fbdev/chipsfb.c #define read_gr(num, var)	read_ind(num, var, 0x3ce, 0x3cf)
num                59 drivers/video/fbdev/chipsfb.c #define write_sr(num, val)	write_ind(num, val, 0x3c4, 0x3c5)
num                60 drivers/video/fbdev/chipsfb.c #define read_sr(num, var)	read_ind(num, var, 0x3c4, 0x3c5)
num                62 drivers/video/fbdev/chipsfb.c #define write_ar(num, val)	do { \
num                63 drivers/video/fbdev/chipsfb.c 	inb(0x3da); write_ind(num, val, 0x3c0, 0x3c0); \
num                65 drivers/video/fbdev/chipsfb.c #define read_ar(num, var)	do { \
num                66 drivers/video/fbdev/chipsfb.c 	inb(0x3da); read_ind(num, var, 0x3c0, 0x3c1); \
num                75 drivers/video/fbdev/core/fbcvt.c 	u32 num = 1000000000/cvt->f_refresh;
num                79 drivers/video/fbdev/core/fbcvt.c 		num -= FB_CVT_RB_MIN_VBLANK * 1000;
num                82 drivers/video/fbdev/core/fbcvt.c 		num -= FB_CVT_MIN_VSYNC_BP * 1000;
num                87 drivers/video/fbdev/core/fbcvt.c 	return 2 * (num/den);
num               419 drivers/video/fbdev/core/fbmem.c 			    int rotate, unsigned int num)
num               428 drivers/video/fbdev/core/fbmem.c 		     x < num && image->dx + image->width <= info->var.xres;
num               436 drivers/video/fbdev/core/fbmem.c 		for (x = 0; x < num && image->dx <= dx; x++) {
num               442 drivers/video/fbdev/core/fbmem.c 		     x < num && image->dy + image->height <= info->var.yres;
num               450 drivers/video/fbdev/core/fbmem.c 		for (x = 0; x < num && image->dy <= dy; x++) {
num               411 drivers/video/fbdev/core/fbmon.c 	int num = 0;
num               416 drivers/video/fbdev/core/fbmon.c 		calc_mode_timings(720, 400, 70, &mode[num]);
num               417 drivers/video/fbdev/core/fbmon.c 		mode[num++].flag = FB_MODE_IS_CALCULATED;
num               421 drivers/video/fbdev/core/fbmon.c 		calc_mode_timings(720, 400, 88, &mode[num]);
num               422 drivers/video/fbdev/core/fbmon.c 		mode[num++].flag = FB_MODE_IS_CALCULATED;
num               426 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[3];
num               430 drivers/video/fbdev/core/fbmon.c 		calc_mode_timings(640, 480, 67, &mode[num]);
num               431 drivers/video/fbdev/core/fbmon.c 		mode[num++].flag = FB_MODE_IS_CALCULATED;
num               435 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[4];
num               439 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[5];
num               443 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[7];
num               447 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[8];
num               453 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[9];
num               457 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[10];
num               461 drivers/video/fbdev/core/fbmon.c 		calc_mode_timings(832, 624, 75, &mode[num]);
num               462 drivers/video/fbdev/core/fbmon.c 		mode[num++].flag = FB_MODE_IS_CALCULATED;
num               466 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[12];
num               470 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[13];
num               474 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[14];
num               478 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[15];
num               482 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[21];
num               487 drivers/video/fbdev/core/fbmon.c 		mode[num++] = vesa_modes[17];
num               491 drivers/video/fbdev/core/fbmon.c 	return num;
num               556 drivers/video/fbdev/core/fbmon.c 	int j, num = 0;
num               559 drivers/video/fbdev/core/fbmon.c 		num += get_std_timing(block, &mode[num], ver, rev, specs);
num               561 drivers/video/fbdev/core/fbmon.c 	return num;
num               620 drivers/video/fbdev/core/fbmon.c 	int num = 0, i, first = 1;
num               642 drivers/video/fbdev/core/fbmon.c 			get_detailed_timing(block, &mode[num]);
num               644 drivers/video/fbdev/core/fbmon.c 			        mode[num].flag |= FB_MODE_IS_FIRST;
num               647 drivers/video/fbdev/core/fbmon.c 			num++;
num               653 drivers/video/fbdev/core/fbmon.c 	num += get_est_timing(block, &mode[num]);
num               658 drivers/video/fbdev/core/fbmon.c 		num += get_std_timing(block, &mode[num], ver, rev, specs);
num               663 drivers/video/fbdev/core/fbmon.c 			num += get_dst_timing(block + 5, &mode[num],
num               668 drivers/video/fbdev/core/fbmon.c 	if (!num) {
num               673 drivers/video/fbdev/core/fbmon.c 	*dbsize = num;
num               674 drivers/video/fbdev/core/fbmon.c 	m = kmalloc_array(num, sizeof(struct fb_videomode), GFP_KERNEL);
num               677 drivers/video/fbdev/core/fbmon.c 	memmove(m, mode, num * sizeof(struct fb_videomode));
num              1130 drivers/video/fbdev/core/modedb.c void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,
num              1137 drivers/video/fbdev/core/modedb.c 	for (i = 0; i < num; i++) {
num               104 drivers/video/fbdev/mb862xx/mb862xx-i2c.c 			int num)
num               111 drivers/video/fbdev/mb862xx/mb862xx-i2c.c 	dev_dbg(par->dev, "%s: %d msgs\n", __func__, num);
num               113 drivers/video/fbdev/mb862xx/mb862xx-i2c.c 	for (i = 0; i < num; i++) {
num               111 drivers/video/fbdev/omap2/omapfb/dss/manager.c struct omap_overlay_manager *omap_dss_get_overlay_manager(int num)
num               113 drivers/video/fbdev/omap2/omapfb/dss/manager.c 	if (num >= num_managers)
num               116 drivers/video/fbdev/omap2/omapfb/dss/manager.c 	return &managers[num];
num                36 drivers/video/fbdev/omap2/omapfb/dss/overlay.c struct omap_overlay *omap_dss_get_overlay(int num)
num                38 drivers/video/fbdev/omap2/omapfb/dss/overlay.c 	if (num >= num_overlays)
num                41 drivers/video/fbdev/omap2/omapfb/dss/overlay.c 	return &overlays[num];
num               207 drivers/video/fbdev/pxa3xx-gcu.c 	unsigned int num = 0;
num               215 drivers/video/fbdev/pxa3xx-gcu.c 	shared->buffer[num++] = 0x05000000;
num               218 drivers/video/fbdev/pxa3xx-gcu.c 		shared->buffer[num++] = 0x00000001;
num               219 drivers/video/fbdev/pxa3xx-gcu.c 		shared->buffer[num++] = ready->phys;
num               223 drivers/video/fbdev/pxa3xx-gcu.c 	shared->buffer[num++] = 0x05000000;
num               233 drivers/video/fbdev/pxa3xx-gcu.c 	gc_writel(priv, REG_GCRBTR, shared->buffer_phys + num * 4);
num               236 drivers/video/fbdev/pxa3xx-gcu.c 	gc_writel(priv, REG_GCRBLR, ((num + 63) & ~63) * 4);
num               302 drivers/video/fbdev/pxa3xx-gcu.c 		int num = priv->shared->num_interrupts;
num               312 drivers/video/fbdev/pxa3xx-gcu.c 		    priv->shared->num_interrupts == num) {
num              9043 drivers/video/fbdev/sis/init301.c   int i, j, num;
num              9049 drivers/video/fbdev/sis/init301.c      num = *mydataptr++;
num              9050 drivers/video/fbdev/sis/init301.c      if(!num) return mydataptr;
num              9062 drivers/video/fbdev/sis/init301.c      for(j=0; j<num; j++) {
num               171 drivers/virtio/virtio_balloon.c static unsigned fill_balloon(struct virtio_balloon *vb, size_t num)
num               179 drivers/virtio/virtio_balloon.c 	num = min(num, ARRAY_SIZE(vb->pfns));
num               181 drivers/virtio/virtio_balloon.c 	for (num_pfns = 0; num_pfns < num;
num               235 drivers/virtio/virtio_balloon.c static unsigned leak_balloon(struct virtio_balloon *vb, size_t num)
num               243 drivers/virtio/virtio_balloon.c 	num = min(num, ARRAY_SIZE(vb->pfns));
num               247 drivers/virtio/virtio_balloon.c 	num = min(num, (size_t)vb->num_pages);
num               248 drivers/virtio/virtio_balloon.c 	for (vb->num_pfns = 0; vb->num_pfns < num;
num               356 drivers/virtio/virtio_mmio.c 	unsigned int num;
num               379 drivers/virtio/virtio_mmio.c 	num = readl(vm_dev->base + VIRTIO_MMIO_QUEUE_NUM_MAX);
num               380 drivers/virtio/virtio_mmio.c 	if (num == 0) {
num               386 drivers/virtio/virtio_mmio.c 	vq = vring_create_virtqueue(index, num, VIRTIO_MMIO_VRING_ALIGN, vdev,
num               122 drivers/virtio/virtio_pci_legacy.c 	u16 num;
num               130 drivers/virtio/virtio_pci_legacy.c 	num = ioread16(vp_dev->ioaddr + VIRTIO_PCI_QUEUE_NUM);
num               131 drivers/virtio/virtio_pci_legacy.c 	if (!num || ioread32(vp_dev->ioaddr + VIRTIO_PCI_QUEUE_PFN))
num               137 drivers/virtio/virtio_pci_legacy.c 	vq = vring_create_virtqueue(index, num,
num               316 drivers/virtio/virtio_pci_modern.c 	u16 num, off;
num               326 drivers/virtio/virtio_pci_modern.c 	num = vp_ioread16(&cfg->queue_size);
num               327 drivers/virtio/virtio_pci_modern.c 	if (!num || vp_ioread16(&cfg->queue_enable))
num               330 drivers/virtio/virtio_pci_modern.c 	if (num & (num - 1)) {
num               331 drivers/virtio/virtio_pci_modern.c 		dev_warn(&vp_dev->pci_dev->dev, "bad queue size %u", num);
num               341 drivers/virtio/virtio_pci_modern.c 	vq = vring_create_virtqueue(index, num,
num                76 drivers/virtio/virtio_ring.c 	u16 num;			/* Descriptor list length. */
num               143 drivers/virtio/virtio_ring.c 				unsigned int num;
num               451 drivers/virtio/virtio_ring.c 		WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect);
num               546 drivers/virtio/virtio_ring.c 	avail = vq->split.avail_idx_shadow & (vq->split.vring.num - 1);
num               703 drivers/virtio/virtio_ring.c 	last_used = (vq->last_used_idx & (vq->split.vring.num - 1));
num               709 drivers/virtio/virtio_ring.c 	if (unlikely(i >= vq->split.vring.num)) {
num               826 drivers/virtio/virtio_ring.c 	for (i = 0; i < vq->split.vring.num; i++) {
num               839 drivers/virtio/virtio_ring.c 	BUG_ON(vq->vq.num_free != vq->split.vring.num);
num               847 drivers/virtio/virtio_ring.c 	unsigned int num,
num               864 drivers/virtio/virtio_ring.c 	if (num & (num - 1)) {
num               865 drivers/virtio/virtio_ring.c 		dev_warn(&vdev->dev, "Bad virtqueue length %u\n", num);
num               870 drivers/virtio/virtio_ring.c 	for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) {
num               871 drivers/virtio/virtio_ring.c 		queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
num               880 drivers/virtio/virtio_ring.c 	if (!num)
num               885 drivers/virtio/virtio_ring.c 		queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
num               891 drivers/virtio/virtio_ring.c 	queue_size_in_bytes = vring_size(num, vring_align);
num               892 drivers/virtio/virtio_ring.c 	vring_init(&vring, num, queue, vring_align);
num              1005 drivers/virtio/virtio_ring.c 	BUG_ON(id == vq->packed.vring.num);
num              1056 drivers/virtio/virtio_ring.c 	if (n >= vq->packed.vring.num) {
num              1067 drivers/virtio/virtio_ring.c 	vq->packed.desc_state[id].num = 1;
num              1128 drivers/virtio/virtio_ring.c 	WARN_ON_ONCE(total_sg > vq->packed.vring.num && !vq->indirect);
num              1142 drivers/virtio/virtio_ring.c 	BUG_ON(id == vq->packed.vring.num);
num              1174 drivers/virtio/virtio_ring.c 			if ((unlikely(++i >= vq->packed.vring.num))) {
num              1194 drivers/virtio/virtio_ring.c 	vq->packed.desc_state[id].num = descs_used;
num              1224 drivers/virtio/virtio_ring.c 		if (i >= vq->packed.vring.num)
num              1273 drivers/virtio/virtio_ring.c 		event_idx -= vq->packed.vring.num;
num              1295 drivers/virtio/virtio_ring.c 	vq->vq.num_free += state->num;
num              1299 drivers/virtio/virtio_ring.c 		for (i = 0; i < state->num; i++) {
num              1374 drivers/virtio/virtio_ring.c 	if (unlikely(id >= vq->packed.vring.num)) {
num              1387 drivers/virtio/virtio_ring.c 	vq->last_used_idx += vq->packed.desc_state[id].num;
num              1388 drivers/virtio/virtio_ring.c 	if (unlikely(vq->last_used_idx >= vq->packed.vring.num)) {
num              1389 drivers/virtio/virtio_ring.c 		vq->last_used_idx -= vq->packed.vring.num;
num              1485 drivers/virtio/virtio_ring.c 		bufs = (vq->packed.vring.num - vq->vq.num_free) * 3 / 4;
num              1489 drivers/virtio/virtio_ring.c 		if (used_idx >= vq->packed.vring.num) {
num              1490 drivers/virtio/virtio_ring.c 			used_idx -= vq->packed.vring.num;
num              1537 drivers/virtio/virtio_ring.c 	for (i = 0; i < vq->packed.vring.num; i++) {
num              1547 drivers/virtio/virtio_ring.c 	BUG_ON(vq->vq.num_free != vq->packed.vring.num);
num              1555 drivers/virtio/virtio_ring.c 	unsigned int num,
num              1572 drivers/virtio/virtio_ring.c 	ring_size_in_bytes = num * sizeof(struct vring_packed_desc);
num              1601 drivers/virtio/virtio_ring.c 	vq->vq.num_free = num;
num              1631 drivers/virtio/virtio_ring.c 	vq->packed.vring.num = num;
num              1642 drivers/virtio/virtio_ring.c 	vq->packed.desc_state = kmalloc_array(num,
num              1649 drivers/virtio/virtio_ring.c 		num * sizeof(struct vring_desc_state_packed));
num              1653 drivers/virtio/virtio_ring.c 	for (i = 0; i < num-1; i++)
num              1656 drivers/virtio/virtio_ring.c 	vq->packed.desc_extra = kmalloc_array(num,
num              1663 drivers/virtio/virtio_ring.c 		num * sizeof(struct vring_desc_extra_packed));
num              1759 drivers/virtio/virtio_ring.c 			 struct scatterlist *sg, unsigned int num,
num              1763 drivers/virtio/virtio_ring.c 	return virtqueue_add(vq, &sg, num, 1, 0, data, NULL, gfp);
num              1781 drivers/virtio/virtio_ring.c 			struct scatterlist *sg, unsigned int num,
num              1785 drivers/virtio/virtio_ring.c 	return virtqueue_add(vq, &sg, num, 0, 1, data, NULL, gfp);
num              1804 drivers/virtio/virtio_ring.c 			struct scatterlist *sg, unsigned int num,
num              1809 drivers/virtio/virtio_ring.c 	return virtqueue_add(vq, &sg, num, 0, 1, data, ctx, gfp);
num              2076 drivers/virtio/virtio_ring.c 	vq->vq.num_free = vring.num;
num              2113 drivers/virtio/virtio_ring.c 	vq->split.desc_state = kmalloc_array(vring.num,
num              2122 drivers/virtio/virtio_ring.c 	for (i = 0; i < vring.num-1; i++)
num              2124 drivers/virtio/virtio_ring.c 	memset(vq->split.desc_state, 0, vring.num *
num              2133 drivers/virtio/virtio_ring.c 	unsigned int num,
num              2145 drivers/virtio/virtio_ring.c 		return vring_create_virtqueue_packed(index, num, vring_align,
num              2149 drivers/virtio/virtio_ring.c 	return vring_create_virtqueue_split(index, num, vring_align,
num              2157 drivers/virtio/virtio_ring.c 				      unsigned int num,
num              2172 drivers/virtio/virtio_ring.c 	vring_init(&vring, num, pages, vring_align);
num              2254 drivers/virtio/virtio_ring.c 	return vq->packed_ring ? vq->packed.vring.num : vq->split.vring.num;
num              1786 drivers/vme/vme.c 	return bridge->num;
num              1820 drivers/vme/vme.c 			bridge->num = i;
num              1839 drivers/vme/vme.c 	vme_bus_numbers &= ~(1 << bridge->num);
num              1866 drivers/vme/vme.c 		vdev->num = i;
num              1872 drivers/vme/vme.c 		dev_set_name(&vdev->dev, "%s.%u-%u", drv->name, bridge->num,
num              1873 drivers/vme/vme.c 			vdev->num);
num               109 drivers/vme/vme_bridge.h 	int num;
num               347 drivers/w1/slaves/w1_ds28e17.c 	struct i2c_msg *msgs, int num)
num               363 drivers/w1/slaves/w1_ds28e17.c 	while (i < num) {
num               368 drivers/w1/slaves/w1_ds28e17.c 		if (i < (num-1)
num               437 drivers/w1/slaves/w1_ds28e17.c 				i == (num-1));
num               448 drivers/w1/slaves/w1_ds28e17.c 		if (i < num) {
num               110 drivers/xen/mcelog.c 	unsigned num;
num               115 drivers/xen/mcelog.c 	num = xen_mcelog.next;
num               123 drivers/xen/mcelog.c 	for (i = 0; i < num; i++) {
num               130 drivers/xen/mcelog.c 	memset(xen_mcelog.entry, 0, num * sizeof(struct xen_mce));
num               275 drivers/xen/privcmd.c 			  mmapcmd.num, sizeof(struct privcmd_mmap_entry),
num               300 drivers/xen/privcmd.c 	rc = traverse_pages(mmapcmd.num, sizeof(struct privcmd_mmap_entry),
num               463 drivers/xen/privcmd.c 		if (!access_ok(m.arr, m.num * sizeof(*m.arr)))
num               470 drivers/xen/privcmd.c 		if (!access_ok(m.err, m.num * (sizeof(*m.err))))
num               481 drivers/xen/privcmd.c 	nr_pages = DIV_ROUND_UP(m.num, XEN_PFN_PER_PAGE);
num               482 drivers/xen/privcmd.c 	if ((m.num <= 0) || (nr_pages > (LONG_MAX >> PAGE_SHIFT)))
num               485 drivers/xen/privcmd.c 	ret = gather_array(&pagelist, m.num, sizeof(xen_pfn_t), m.arr);
num               496 drivers/xen/privcmd.c 		if (clear_user(m.err, sizeof(int) * m.num)) {
num               555 drivers/xen/privcmd.c 	BUG_ON(traverse_pages_block(m.num, sizeof(xen_pfn_t),
num               564 drivers/xen/privcmd.c 		ret = traverse_pages_block(m.num, sizeof(xen_pfn_t),
num               584 drivers/xen/privcmd.c 	struct privcmd_dm_op_buf kbufs[], unsigned int num,
num               589 drivers/xen/privcmd.c 	for (i = 0; i < num; i++) {
num               643 drivers/xen/privcmd.c 	if (kdata.num == 0)
num               646 drivers/xen/privcmd.c 	if (kdata.num > privcmd_dm_op_max_num)
num               649 drivers/xen/privcmd.c 	kbufs = kcalloc(kdata.num, sizeof(*kbufs), GFP_KERNEL);
num               654 drivers/xen/privcmd.c 			   sizeof(*kbufs) * kdata.num)) {
num               659 drivers/xen/privcmd.c 	for (i = 0; i < kdata.num; i++) {
num               682 drivers/xen/privcmd.c 	xbufs = kcalloc(kdata.num, sizeof(*xbufs), GFP_KERNEL);
num               688 drivers/xen/privcmd.c 	rc = lock_pages(kbufs, kdata.num, pages, nr_pages);
num               692 drivers/xen/privcmd.c 	for (i = 0; i < kdata.num; i++) {
num               698 drivers/xen/privcmd.c 	rc = HYPERVISOR_dm_op(kdata.dom, kdata.num, xbufs);
num               752 drivers/xen/privcmd.c 	pfns = kcalloc(kdata.num, sizeof(*pfns), GFP_KERNEL);
num               760 drivers/xen/privcmd.c 		unsigned int nr = DIV_ROUND_UP(kdata.num, XEN_PFN_PER_PAGE);
num               769 drivers/xen/privcmd.c 		for (i = 0; i < kdata.num; i++) {
num               783 drivers/xen/privcmd.c 	xdata.nr_frames = kdata.num;
num               795 drivers/xen/privcmd.c 		rc = xen_remap_vma_range(vma, kdata.addr, kdata.num << PAGE_SHIFT);
num               800 drivers/xen/privcmd.c 		int num;
num               802 drivers/xen/privcmd.c 		num = xen_remap_domain_mfn_array(vma,
num               804 drivers/xen/privcmd.c 						 pfns, kdata.num, (int *)pfns,
num               808 drivers/xen/privcmd.c 		if (num < 0)
num               809 drivers/xen/privcmd.c 			rc = num;
num               810 drivers/xen/privcmd.c 		else if (num != kdata.num) {
num               813 drivers/xen/privcmd.c 			for (i = 0; i < num; i++) {
num                54 drivers/xen/xen-acpi-pad.c 	int num = -1;
num                57 drivers/xen/xen-acpi-pad.c 		return num;
num                60 drivers/xen/xen-acpi-pad.c 		return num;
num                67 drivers/xen/xen-acpi-pad.c 		num = package->package.elements[1].integer.value;
num                70 drivers/xen/xen-acpi-pad.c 	return num;
num               211 drivers/xen/xen-scsiback.c static void put_free_pages(struct page **page, int num)
num               214 drivers/xen/xen-scsiback.c 	int i = free_pages_num + num, n = num;
num               216 drivers/xen/xen-scsiback.c 	if (num == 0)
num               219 drivers/xen/xen-scsiback.c 		n = min(num, i - scsiback_max_buffer_pages);
num               220 drivers/xen/xen-scsiback.c 		gnttab_free_pages(n, page + num - n);
num               221 drivers/xen/xen-scsiback.c 		n = num - n;
num               378 drivers/xen/xenbus/xenbus_xs.c 	unsigned int num;
num               381 drivers/xen/xenbus/xenbus_xs.c 	for (p = strings, num = 0; p < strings + len; p += strlen(p) + 1)
num               382 drivers/xen/xenbus/xenbus_xs.c 		num++;
num               384 drivers/xen/xenbus/xenbus_xs.c 	return num;
num               399 drivers/xen/xenbus/xenbus_xs.c static char **split(char *strings, unsigned int len, unsigned int *num)
num               404 drivers/xen/xenbus/xenbus_xs.c 	*num = count_strings(strings, len);
num               407 drivers/xen/xenbus/xenbus_xs.c 	ret = kmalloc(*num * sizeof(char *) + len, GFP_NOIO | __GFP_HIGH);
num               412 drivers/xen/xenbus/xenbus_xs.c 	memcpy(&ret[*num], strings, len);
num               415 drivers/xen/xenbus/xenbus_xs.c 	strings = (char *)&ret[*num];
num               416 drivers/xen/xenbus/xenbus_xs.c 	for (p = strings, *num = 0; p < strings + len; p += strlen(p) + 1)
num               417 drivers/xen/xenbus/xenbus_xs.c 		ret[(*num)++] = p;
num               423 drivers/xen/xenbus/xenbus_xs.c 			const char *dir, const char *node, unsigned int *num)
num               437 drivers/xen/xenbus/xenbus_xs.c 	return split(strings, len, num);
num              1268 fs/btrfs/compression.c static u8 get4bits(u64 num, int shift) {
num              1271 fs/btrfs/compression.c 	num >>= shift;
num              1273 fs/btrfs/compression.c 	low4bits = (COUNTERS_SIZE - 1) - (num % COUNTERS_SIZE);
num              1287 fs/btrfs/compression.c 		       int num)
num              1303 fs/btrfs/compression.c 	for (i = 1; i < num; i++) {
num              1316 fs/btrfs/compression.c 		for (i = 0; i < num; i++) {
num              1325 fs/btrfs/compression.c 		for (i = num - 1; i >= 0; i--) {
num              1343 fs/btrfs/compression.c 		for (i = 0; i < num; i ++) {
num              1352 fs/btrfs/compression.c 		for (i = num - 1; i >= 0; i--) {
num              2409 fs/btrfs/ctree.h 		     u64 bytenr, u64 num, int reserved);
num                34 fs/btrfs/misc.h static inline u64 div_factor(u64 num, int factor)
num                37 fs/btrfs/misc.h 		return num;
num                38 fs/btrfs/misc.h 	num *= factor;
num                39 fs/btrfs/misc.h 	return div_u64(num, 10);
num                42 fs/btrfs/misc.h static inline u64 div_factor_fine(u64 num, int factor)
num                45 fs/btrfs/misc.h 		return num;
num                46 fs/btrfs/misc.h 	num *= factor;
num                47 fs/btrfs/misc.h 	return div_u64(num, 100);
num               284 fs/btrfs/raid56.c 	u64 num = rbio->bbio->raid_map[0];
num               294 fs/btrfs/raid56.c 	return hash_64(num >> 16, BTRFS_STRIPE_HASH_TABLE_BITS);
num              2663 fs/btrfs/scrub.c static int get_raid56_logic_offset(u64 physical, int num,
num              2675 fs/btrfs/scrub.c 	last_offset = (physical - map->stripes[num].physical) * data_stripes;
num              2691 fs/btrfs/scrub.c 		if (stripe_index == num)
num              2693 fs/btrfs/scrub.c 		if (stripe_index < num)
num              3046 fs/btrfs/scrub.c 					   int num, u64 base, u64 length)
num              3080 fs/btrfs/scrub.c 	physical = map->stripes[num].physical;
num              3084 fs/btrfs/scrub.c 		offset = map->stripe_len * num;
num              3089 fs/btrfs/scrub.c 		offset = map->stripe_len * (num / map->sub_stripes);
num              3091 fs/btrfs/scrub.c 		mirror_num = num % map->sub_stripes + 1;
num              3094 fs/btrfs/scrub.c 		mirror_num = num % map->num_stripes + 1;
num              3097 fs/btrfs/scrub.c 		mirror_num = num % map->num_stripes + 1;
num              3099 fs/btrfs/scrub.c 		get_raid56_logic_offset(physical, num, map, &offset, NULL);
num              3135 fs/btrfs/scrub.c 		get_raid56_logic_offset(physical_end, num,
num              3204 fs/btrfs/scrub.c 			ret = get_raid56_logic_offset(physical, num, map,
num              3356 fs/btrfs/scrub.c 							num, map, &logical,
num              3395 fs/btrfs/scrub.c 			sctx->stat.last_physical = map->stripes[num].physical +
num               877 fs/btrfs/send.c typedef int (*iterate_inode_ref_t)(int num, u64 dir, int index,
num               905 fs/btrfs/send.c 	int num = 0;
num               985 fs/btrfs/send.c 		ret = iterate(num, dir, index, p, ctx);
num               988 fs/btrfs/send.c 		num++;
num               997 fs/btrfs/send.c typedef int (*iterate_dir_item_t)(int num, struct btrfs_key *di_key,
num              1025 fs/btrfs/send.c 	int num;
num              1049 fs/btrfs/send.c 	num = 0;
num              1105 fs/btrfs/send.c 		ret = iterate(num, &di_key, buf, name_len, buf + name_len,
num              1114 fs/btrfs/send.c 		num++;
num              1122 fs/btrfs/send.c static int __copy_first_ref(int num, u64 dir, int index,
num              4240 fs/btrfs/send.c static int __record_new_ref(int num, u64 dir, int index,
num              4249 fs/btrfs/send.c static int __record_deleted_ref(int num, u64 dir, int index,
num              4294 fs/btrfs/send.c static int __find_iref(int num, u64 dir, int index,
num              4314 fs/btrfs/send.c 		ctx->found_idx = num;
num              4344 fs/btrfs/send.c static int __record_changed_new_ref(int num, u64 dir, int index,
num              4360 fs/btrfs/send.c 		ret = __record_new_ref(num, dir, index, name, sctx);
num              4367 fs/btrfs/send.c static int __record_changed_deleted_ref(int num, u64 dir, int index,
num              4383 fs/btrfs/send.c 		ret = __record_deleted_ref(num, dir, index, name, sctx);
num              4529 fs/btrfs/send.c static int __process_new_xattr(int num, struct btrfs_key *di_key,
num              4570 fs/btrfs/send.c static int __process_deleted_xattr(int num, struct btrfs_key *di_key,
num              4618 fs/btrfs/send.c static int __find_xattr(int num, struct btrfs_key *di_key,
num              4627 fs/btrfs/send.c 		ctx->found_idx = num;
num              4668 fs/btrfs/send.c static int __process_changed_new_xattr(int num, struct btrfs_key *di_key,
num              4682 fs/btrfs/send.c 		ret = __process_new_xattr(num, di_key, name, name_len, data,
num              4687 fs/btrfs/send.c 			ret = __process_new_xattr(num, di_key, name, name_len,
num              4698 fs/btrfs/send.c static int __process_changed_deleted_xattr(int num, struct btrfs_key *di_key,
num              4709 fs/btrfs/send.c 		ret = __process_deleted_xattr(num, di_key, name, name_len, data,
num              6034 fs/btrfs/send.c static int record_parent_ref(int num, u64 dir, int index, struct fs_path *name,
num               431 fs/btrfs/super.c 	char *p, *num;
num               635 fs/btrfs/super.c 			num = match_strdup(&args[0]);
num               636 fs/btrfs/super.c 			if (num) {
num               637 fs/btrfs/super.c 				info->max_inline = memparse(num, NULL);
num               638 fs/btrfs/super.c 				kfree(num);
num              4380 fs/btrfs/tree-log.c 	int num = 0;
num              4412 fs/btrfs/tree-log.c 		if (++num > 32768) {
num              4430 fs/btrfs/tree-log.c 		num++;
num               335 fs/ceph/mds_client.c 	u32 num, i = 0;
num               342 fs/ceph/mds_client.c 	ceph_decode_need(p, end, sizeof(num) + 2, bad);
num               343 fs/ceph/mds_client.c 	num = ceph_decode_32(p);
num               351 fs/ceph/mds_client.c 	if (num == 0)
num               355 fs/ceph/mds_client.c 	if ((unsigned long)(info->dir_entries + num) >
num               362 fs/ceph/mds_client.c 	info->dir_nr = num;
num               363 fs/ceph/mds_client.c 	while (num) {
num               383 fs/ceph/mds_client.c 		num--;
num              1887 fs/ceph/mds_client.c 			head->num = cpu_to_le32(0);
num              1900 fs/ceph/mds_client.c 		put_unaligned_le32(get_unaligned_le32(&head->num) + 1,
num              1901 fs/ceph/mds_client.c 				   &head->num);
num              1911 fs/ceph/mds_client.c 		if (le32_to_cpu(head->num) == CEPH_CAPS_PER_RELEASE) {
num               314 fs/ceph/snap.c 	u32 num = realm->num_prior_parent_snaps + realm->num_snaps;
num               327 fs/ceph/snap.c 		num += parent->cached_context->num_snaps;
num               348 fs/ceph/snap.c 	if (num > (SIZE_MAX - sizeof(*snapc)) / sizeof(u64))
num               350 fs/ceph/snap.c 	snapc = ceph_create_snap_context(num, GFP_NOFS);
num               355 fs/ceph/snap.c 	num = 0;
num               365 fs/ceph/snap.c 				snapc->snaps[num++] =
num               370 fs/ceph/snap.c 	memcpy(snapc->snaps + num, realm->snaps,
num               372 fs/ceph/snap.c 	num += realm->num_snaps;
num               373 fs/ceph/snap.c 	memcpy(snapc->snaps + num, realm->prior_parent_snaps,
num               375 fs/ceph/snap.c 	num += realm->num_prior_parent_snaps;
num               377 fs/ceph/snap.c 	sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL);
num               378 fs/ceph/snap.c 	snapc->num_snaps = num;
num               423 fs/ceph/snap.c static int dup_array(u64 **dst, __le64 *src, u32 num)
num               428 fs/ceph/snap.c 	if (num) {
num               429 fs/ceph/snap.c 		*dst = kcalloc(num, sizeof(u64), GFP_NOFS);
num               432 fs/ceph/snap.c 		for (i = 0; i < num; i++)
num               780 fs/cifs/cifsglob.h 	unsigned int num;
num               782 fs/cifs/cifsglob.h 	num = server->in_flight;
num               784 fs/cifs/cifsglob.h 	return num;
num               790 fs/cifs/cifsglob.h 	int num;
num               792 fs/cifs/cifsglob.h 	num = *credits;
num               794 fs/cifs/cifsglob.h 	return num >= num_credits;
num               856 fs/cifs/cifsglob.h 	unsigned int num = le16_to_cpu(shdr->CreditCharge);
num               858 fs/cifs/cifsglob.h 	return revert_current_mid(server, num > 0 ? num : 1);
num               118 fs/cifs/cifsproto.h 				 unsigned int size, unsigned int *num,
num              1192 fs/cifs/file.c 	unsigned int num, max_num, max_buf;
num              1227 fs/cifs/file.c 		num = 0;
num              1236 fs/cifs/file.c 			if (++num == max_num) {
num              1239 fs/cifs/file.c 						       (__u8)li->type, 0, num,
num              1244 fs/cifs/file.c 				num = 0;
num              1249 fs/cifs/file.c 		if (num) {
num              1251 fs/cifs/file.c 					       (__u8)types[i], 0, num, buf);
num              1537 fs/cifs/file.c 	unsigned int max_num, num, max_buf;
num              1568 fs/cifs/file.c 		num = 0;
num              1599 fs/cifs/file.c 			if (++num == max_num) {
num              1602 fs/cifs/file.c 						       li->type, num, 0, buf);
num              1619 fs/cifs/file.c 				num = 0;
num              1623 fs/cifs/file.c 		if (num) {
num              1625 fs/cifs/file.c 					       types[i], num, 0, buf);
num               121 fs/cifs/smb2file.c 	unsigned int max_num, num = 0, max_buf;
num               174 fs/cifs/smb2file.c 		if (++num == max_num) {
num               178 fs/cifs/smb2file.c 					       current->tgid, num, buf);
num               195 fs/cifs/smb2file.c 			num = 0;
num               199 fs/cifs/smb2file.c 	if (num) {
num               202 fs/cifs/smb2file.c 				       num, buf);
num               222 fs/cifs/smb2file.c 	unsigned int num = 0;
num               231 fs/cifs/smb2file.c 		if (++num == max_num) {
num               235 fs/cifs/smb2file.c 					       current->tgid, num, buf);
num               239 fs/cifs/smb2file.c 			num = 0;
num               243 fs/cifs/smb2file.c 	if (num) {
num               247 fs/cifs/smb2file.c 				       current->tgid, num, buf);
num               159 fs/cifs/smb2ops.c 		      unsigned int *num, struct cifs_credits *credits)
num               184 fs/cifs/smb2ops.c 				*num = SMB2_MAX_BUFFER_SIZE;
num               192 fs/cifs/smb2ops.c 			*num = min_t(unsigned int, size,
num               196 fs/cifs/smb2ops.c 				DIV_ROUND_UP(*num, SMB2_MAX_BUFFER_SIZE);
num              3235 fs/cifs/smb2ops.c 	int i, num, rc, flags, last_blob;
num              3269 fs/cifs/smb2ops.c 	num = out_data_len / sizeof(struct file_allocated_range_buffer);
num              3270 fs/cifs/smb2ops.c 	for (i = 0; i < num; i++) {
num              3272 fs/cifs/smb2ops.c 		if (i == num - 1 && last_blob)
num              3289 fs/cifs/smb2ops.c 		next = le64_to_cpu(out_data[num - 1].file_offset) +
num              3290 fs/cifs/smb2ops.c 		  le64_to_cpu(out_data[num - 1].length);
num               774 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num               776 fs/cifs/smb2pdu.c 	iov[num].iov_base = create_posix_buf(mode);
num               779 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num               781 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct create_posix);
num               785 fs/cifs/smb2pdu.c 				iov[num - 1].iov_len);
num               787 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              1966 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              1968 fs/cifs/smb2pdu.c 	iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock);
num              1969 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              1971 fs/cifs/smb2pdu.c 	iov[num].iov_len = server->vals->create_lease_size;
num              1976 fs/cifs/smb2pdu.c 				iov[num - 1].iov_len);
num              1979 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              2058 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              2060 fs/cifs/smb2pdu.c 	iov[num].iov_base = create_durable_v2_buf(oparms);
num              2061 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              2063 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct create_durable_v2);
num              2069 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              2078 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              2083 fs/cifs/smb2pdu.c 	iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid);
num              2084 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              2086 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct create_durable_handle_reconnect_v2);
num              2093 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              2102 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              2113 fs/cifs/smb2pdu.c 		iov[num].iov_base = create_reconnect_durable_buf(oparms->fid);
num              2117 fs/cifs/smb2pdu.c 		iov[num].iov_base = create_durable_buf();
num              2118 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              2120 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct create_durable);
num              2126 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              2160 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              2162 fs/cifs/smb2pdu.c 	iov[num].iov_base = create_twarp_buf(timewarp);
num              2163 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              2165 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct crt_twarp_ctxt);
num              2169 fs/cifs/smb2pdu.c 				iov[num - 1].iov_len);
num              2171 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              2202 fs/cifs/smb2pdu.c 	unsigned int num = *num_iovec;
num              2204 fs/cifs/smb2pdu.c 	iov[num].iov_base = create_query_id_buf();
num              2205 fs/cifs/smb2pdu.c 	if (iov[num].iov_base == NULL)
num              2207 fs/cifs/smb2pdu.c 	iov[num].iov_len = sizeof(struct crt_query_id_ctxt);
num              2211 fs/cifs/smb2pdu.c 				iov[num - 1].iov_len);
num              2213 fs/cifs/smb2pdu.c 	*num_iovec = num + 1;
num              4404 fs/cifs/smb2pdu.c 	       u8 info_type, u32 additional_info, unsigned int num,
num              4419 fs/cifs/smb2pdu.c 	if (!num)
num              4425 fs/cifs/smb2pdu.c 	iov = kmalloc_array(num, sizeof(struct kvec), GFP_KERNEL);
num              4431 fs/cifs/smb2pdu.c 	rqst.rq_nvec = num;
num               568 fs/cifs/smb2transport.c 	unsigned int i, num = le16_to_cpu(shdr->CreditCharge);
num               572 fs/cifs/smb2transport.c 	for (i = 1; i < num; i++)
num               652 fs/cifs/transport.c wait_for_compound_request(struct TCP_Server_Info *server, int num,
num               660 fs/cifs/transport.c 	if (*credits < num) {
num               665 fs/cifs/transport.c 		if (server->in_flight < num - *credits) {
num               672 fs/cifs/transport.c 	return wait_for_free_credits(server, num, 60000, flags,
num               678 fs/cifs/transport.c 		      unsigned int *num, struct cifs_credits *credits)
num               680 fs/cifs/transport.c 	*num = size;
num               838 fs/dlm/config.c int dlm_our_addr(struct sockaddr_storage *addr, int num)
num               842 fs/dlm/config.c 	if (num + 1 > local_comm->addr_count)
num               844 fs/dlm/config.c 	memcpy(addr, local_comm->addr[num], sizeof(*addr));
num                49 fs/dlm/config.h int dlm_our_addr(struct sockaddr_storage *addr, int num);
num               173 fs/dlm/member.c 	int num = 0;
num               202 fs/dlm/member.c 		num++;
num               222 fs/dlm/member.c 	num = 0;
num               238 fs/dlm/member.c 		num++;
num               255 fs/dlm/member.c 			num++;
num               271 fs/dlm/member.c 	log_slots(ls, gen, num, NULL, array, array_size);
num               276 fs/dlm/member.c 	if (num > max_slots) {
num               278 fs/dlm/member.c 			  num, max_slots);
num               286 fs/dlm/member.c 	*num_slots = num;
num               485 fs/dlm/member.c 	int i, num;
num               490 fs/dlm/member.c 	num = ls->ls_num_nodes;
num               491 fs/dlm/member.c 	slots = kcalloc(num, sizeof(*slots), GFP_KERNEL);
num               497 fs/dlm/member.c 		if (i == num) {
num               498 fs/dlm/member.c 			log_error(ls, "dlm_lsop_recover_done bad num %d", num);
num               506 fs/dlm/member.c 	ls->ls_ops->recover_done(ls->ls_ops_arg, slots, num,
num               671 fs/ext2/balloc.c 	unsigned long num = 0;
num               728 fs/ext2/balloc.c 	num++;
num               730 fs/ext2/balloc.c 	while (num < *count && grp_goal < end
num               733 fs/ext2/balloc.c 		num++;
num               736 fs/ext2/balloc.c 	*count = num;
num               737 fs/ext2/balloc.c 	return grp_goal - num;
num               739 fs/ext2/balloc.c 	*count = num;
num              1099 fs/ext2/balloc.c 	unsigned long num = *count;
num              1164 fs/ext2/balloc.c 					   &num, &my_rsv->rsv_window);
num              1166 fs/ext2/balloc.c 			my_rsv->rsv_alloc_hit += num;
num              1167 fs/ext2/balloc.c 			*count = num;
num              1170 fs/ext2/balloc.c 		num = *count;
num              1251 fs/ext2/balloc.c 	unsigned long num = *count;
num              1260 fs/ext2/balloc.c 	ret = dquot_alloc_block(inode, num);
num              1321 fs/ext2/balloc.c 					my_rsv, &num);
num              1364 fs/ext2/balloc.c 					bitmap_bh, -1, my_rsv, &num);
num              1392 fs/ext2/balloc.c 	if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) ||
num              1393 fs/ext2/balloc.c 	    in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) ||
num              1396 fs/ext2/balloc.c 	    in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table),
num              1401 fs/ext2/balloc.c 			    ret_block, num);
num              1412 fs/ext2/balloc.c 	if (ret_block + num - 1 >= le32_to_cpu(es->s_blocks_count)) {
num              1420 fs/ext2/balloc.c 	group_adjust_blocks(sb, group_no, gdp, gdp_bh, -num);
num              1421 fs/ext2/balloc.c 	percpu_counter_sub(&sbi->s_freeblocks_counter, num);
num              1429 fs/ext2/balloc.c 	if (num < *count) {
num              1430 fs/ext2/balloc.c 		dquot_free_block_nodirty(inode, *count-num);
num              1432 fs/ext2/balloc.c 		*count = num;
num              1512 fs/ext2/balloc.c 	int num = b;
num              1514 fs/ext2/balloc.c 	while (a > num)
num              1515 fs/ext2/balloc.c 		num *= b;
num              1516 fs/ext2/balloc.c 	return num == a;
num               486 fs/ext2/inode.c 	int num;
num               490 fs/ext2/inode.c 	num = ext2_alloc_blocks(inode, goal, indirect_blks,
num               523 fs/ext2/inode.c 			for (i=1; i < num; i++)
num               536 fs/ext2/inode.c 	*blks = num;
num               544 fs/ext2/inode.c 	ext2_free_blocks(inode, new_blocks[i], num);
num               561 fs/ext2/inode.c 			long block, Indirect *where, int num, int blks)
num               578 fs/ext2/inode.c 	if (num == 0 && blks > 1) {
num               592 fs/ext2/inode.c 				le32_to_cpu(where[num].key) + blks - 1;
num               846 fs/ext4/balloc.c 	unsigned num;
num               849 fs/ext4/balloc.c 	num = ext4_bg_has_super(sb, block_group);
num               854 fs/ext4/balloc.c 		if (num) {
num               855 fs/ext4/balloc.c 			num += ext4_bg_num_gdb(sb, block_group);
num               856 fs/ext4/balloc.c 			num += le16_to_cpu(sbi->s_es->s_reserved_gdt_blocks);
num               859 fs/ext4/balloc.c 		num += ext4_bg_num_gdb(sb, block_group);
num               861 fs/ext4/balloc.c 	return EXT4_NUM_B2C(sbi, num);
num               195 fs/ext4/block_validity.c 	u32 i = 0, num;
num               204 fs/ext4/block_validity.c 	num = (inode->i_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits;
num               205 fs/ext4/block_validity.c 	while (i < num) {
num               208 fs/ext4/block_validity.c 		map.m_len = num - i;
num              3296 fs/ext4/ext4.h 						   int num,
num               323 fs/ext4/extents.c 		int num = 0;
num               326 fs/ext4/extents.c 			num++;
num               328 fs/ext4/extents.c 			num++;
num               330 fs/ext4/extents.c 			num++;
num               335 fs/ext4/extents.c 		return num;
num              2177 fs/ext4/extents.c 				    ext4_lblk_t block, ext4_lblk_t num,
num              2184 fs/ext4/extents.c 	ext4_lblk_t last = block + num;
num              2190 fs/ext4/extents.c 		num = last - block;
num              2218 fs/ext4/extents.c 			end = block + num;
num              2223 fs/ext4/extents.c 			if (block + num < end)
num              2224 fs/ext4/extents.c 				end = block + num;
num              2229 fs/ext4/extents.c 			end = block + num;
num              2240 fs/ext4/extents.c 			if (block + num < end)
num              2241 fs/ext4/extents.c 				end = block + num;
num              2326 fs/ext4/extents.c 				   ext4_lblk_t block, ext4_lblk_t num,
num              2329 fs/ext4/extents.c 	ext4_lblk_t next, end = block + num - 1;
num              2602 fs/ext4/extents.c 	ext4_lblk_t num;
num              2650 fs/ext4/extents.c 	num = le32_to_cpu(ex->ee_block) + ee_len - from;
num              2651 fs/ext4/extents.c 	pblk = ext4_ext_pblock(ex) + ee_len - num;
num              2685 fs/ext4/extents.c 	ext4_free_blocks(handle, inode, NULL, pblk, num, flags);
num              2701 fs/ext4/extents.c 	if (EXT4_LBLK_COFF(sbi, from) && num == ee_len) {
num              2740 fs/ext4/extents.c 	unsigned num;
num              2812 fs/ext4/extents.c 			num = a - ex_ee_block;
num              2815 fs/ext4/extents.c 			num = 0;
num              2842 fs/ext4/extents.c 		if (num == 0)
num              2846 fs/ext4/extents.c 		ex->ee_len = cpu_to_le16(num);
num              2851 fs/ext4/extents.c 		if (unwritten && num)
num              2857 fs/ext4/extents.c 		if (num == 0) {
num              2878 fs/ext4/extents.c 		ext_debug("new extent: %u:%u:%llu\n", ex_ee_block, num,
num               135 fs/ext4/hash.c static void str2hashbuf_signed(const char *msg, int len, __u32 *buf, int num)
num               145 fs/ext4/hash.c 	if (len > num*4)
num               146 fs/ext4/hash.c 		len = num * 4;
num               152 fs/ext4/hash.c 			num--;
num               155 fs/ext4/hash.c 	if (--num >= 0)
num               157 fs/ext4/hash.c 	while (--num >= 0)
num               161 fs/ext4/hash.c static void str2hashbuf_unsigned(const char *msg, int len, __u32 *buf, int num)
num               171 fs/ext4/hash.c 	if (len > num*4)
num               172 fs/ext4/hash.c 		len = num * 4;
num               178 fs/ext4/hash.c 			num--;
num               181 fs/ext4/hash.c 	if (--num >= 0)
num               183 fs/ext4/hash.c 	while (--num >= 0)
num              1355 fs/ext4/ialloc.c 	int num, ret = 0, used_blks = 0;
num              1405 fs/ext4/ialloc.c 	num = sbi->s_itb_per_group - used_blks;
num              1418 fs/ext4/ialloc.c 	if (unlikely(num == 0))
num              1423 fs/ext4/ialloc.c 	ret = sb_issue_zeroout(sb, blk, num, GFP_NOFS);
num               409 fs/ext4/indirect.c 			      Indirect *where, int num)
num               434 fs/ext4/indirect.c 	if (num == 0 && ar->len > 1) {
num               466 fs/ext4/indirect.c 	for (i = 1; i <= num; i++) {
num               475 fs/ext4/indirect.c 	ext4_free_blocks(handle, ar->inode, NULL, le32_to_cpu(where[num].key),
num              4667 fs/ext4/inode.c 			unsigned num;
num              4676 fs/ext4/inode.c 			num = EXT4_INODES_PER_GROUP(sb);
num              4678 fs/ext4/inode.c 				num -= ext4_itable_unused_count(sb, gdp);
num              4679 fs/ext4/inode.c 			table += num / inodes_per_block;
num                44 fs/f2fs/hash.c 				unsigned int *buf, int num)
num                53 fs/f2fs/hash.c 	if (len > num * 4)
num                54 fs/f2fs/hash.c 		len = num * 4;
num                62 fs/f2fs/hash.c 			num--;
num                65 fs/f2fs/hash.c 	if (--num >= 0)
num                67 fs/f2fs/hash.c 	while (--num >= 0)
num                54 fs/f2fs/segment.c 	int num = 0;
num                58 fs/f2fs/segment.c 		num += 32;
num                63 fs/f2fs/segment.c 		num += 16;
num                68 fs/f2fs/segment.c 		num += 8;
num                73 fs/f2fs/segment.c 		num += 4;
num                78 fs/f2fs/segment.c 		num += 2;
num                83 fs/f2fs/segment.c 		num += 1;
num                84 fs/f2fs/segment.c 	return num;
num              1544 fs/fuse/dev.c  	unsigned int num;
num              1582 fs/fuse/dev.c  	num = outarg.size;
num              1583 fs/fuse/dev.c  	while (num) {
num              1593 fs/fuse/dev.c  		this_num = min_t(unsigned, num, PAGE_SIZE - offset);
num              1604 fs/fuse/dev.c  		num -= this_num;
num              1642 fs/fuse/dev.c  	unsigned int num;
num              1654 fs/fuse/dev.c  	num = min(outarg->size, fc->max_write);
num              1656 fs/fuse/dev.c  		num = 0;
num              1657 fs/fuse/dev.c  	else if (outarg->offset + num > file_size)
num              1658 fs/fuse/dev.c  		num = file_size - outarg->offset;
num              1660 fs/fuse/dev.c  	num_pages = (num + offset + PAGE_SIZE - 1) >> PAGE_SHIFT;
num              1682 fs/fuse/dev.c  	while (num && ap->num_pages < num_pages) {
num              1690 fs/fuse/dev.c  		this_num = min_t(unsigned, num, PAGE_SIZE - offset);
num              1697 fs/fuse/dev.c  		num -= this_num;
num               518 fs/gfs2/lock_dlm.c 		     unsigned int num, struct dlm_lksb *lksb, char *name)
num               525 fs/gfs2/lock_dlm.c 	snprintf(strname, GDLM_STRNAME_BYTES, "%8x%16x", LM_TYPE_NONDISK, num);
num               645 fs/gfs2/lops.c 	unsigned int num;
num               653 fs/gfs2/lops.c 		num = total;
num               655 fs/gfs2/lops.c 			num = limit;
num               659 fs/gfs2/lops.c 					 GFS2_LOG_DESC_METADATA, num + 1, num);
num               671 fs/gfs2/lops.c 			if (++n >= num)
num               702 fs/gfs2/lops.c 			if (++n >= num)
num               706 fs/gfs2/lops.c 		BUG_ON(total < num);
num               707 fs/gfs2/lops.c 		total -= num;
num               213 fs/gfs2/meta_io.c 			    int num)
num               215 fs/gfs2/meta_io.c 	while (num > 0) {
num               219 fs/gfs2/meta_io.c 		bio = bio_alloc(GFP_NOIO, num);
num               222 fs/gfs2/meta_io.c 		while (num > 0) {
num               229 fs/gfs2/meta_io.c 			num--;
num               252 fs/gfs2/meta_io.c 	int num = 0;
num               268 fs/gfs2/meta_io.c 		bhs[num++] = bh;
num               280 fs/gfs2/meta_io.c 			bhs[num++] = bh;
num               284 fs/gfs2/meta_io.c 	gfs2_submit_bhs(REQ_OP_READ, REQ_META | REQ_PRIO, bhs, num);
num               402 fs/gfs2/meta_io.c int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num,
num               412 fs/gfs2/meta_io.c 	if (num == ip->i_no_addr)
num               415 fs/gfs2/meta_io.c 	ret = gfs2_meta_read(gl, num, DIO_WAIT, rahead, &bh);
num                64 fs/gfs2/meta_io.h extern int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num,
num              1076 fs/gfs2/quota.c 	unsigned int num, den;
num              1087 fs/gfs2/quota.c 	num = gt->gt_quota_scale_num;
num              1097 fs/gfs2/quota.c 		value *= gfs2_jindex_size(sdp) * num;
num               211 fs/hfs/bnode.c static inline int hfs_bnode_hash(u32 num)
num               213 fs/hfs/bnode.c 	num = (num >> 16) + num;
num               214 fs/hfs/bnode.c 	num += num >> 8;
num               215 fs/hfs/bnode.c 	return num & (NODE_HASH_SIZE - 1);
num               312 fs/hfs/bnode.c struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num)
num               320 fs/hfs/bnode.c 	node = hfs_bnode_findhash(tree, num);
num               330 fs/hfs/bnode.c 	node = __hfs_bnode_create(tree, num);
num               405 fs/hfs/bnode.c struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num)
num               412 fs/hfs/bnode.c 	node = hfs_bnode_findhash(tree, num);
num               415 fs/hfs/bnode.c 		pr_crit("new node %u already hashed?\n", num);
num               419 fs/hfs/bnode.c 	node = __hfs_bnode_create(tree, num);
num               376 fs/hfsplus/bnode.c static inline int hfs_bnode_hash(u32 num)
num               378 fs/hfsplus/bnode.c 	num = (num >> 16) + num;
num               379 fs/hfsplus/bnode.c 	num += num >> 8;
num               380 fs/hfsplus/bnode.c 	return num & (NODE_HASH_SIZE - 1);
num               478 fs/hfsplus/bnode.c struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num)
num               486 fs/hfsplus/bnode.c 	node = hfs_bnode_findhash(tree, num);
num               497 fs/hfsplus/bnode.c 	node = __hfs_bnode_create(tree, num);
num               573 fs/hfsplus/bnode.c struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num)
num               580 fs/hfsplus/bnode.c 	node = hfs_bnode_findhash(tree, num);
num               583 fs/hfsplus/bnode.c 		pr_crit("new node %u already hashed?\n", num);
num               587 fs/hfsplus/bnode.c 	node = __hfs_bnode_create(tree, num);
num               418 fs/hfsplus/hfsplus_fs.h struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num);
num               420 fs/hfsplus/hfsplus_fs.h struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num);
num               627 fs/lockd/svc.c 	__typeof__(type) num = which_strtol(val, &endp, 0);		\
num               628 fs/lockd/svc.c 	if (endp == val || *endp || num < (min) || num > (max))		\
num               630 fs/lockd/svc.c 	*((type *) kp->arg) = num;					\
num                71 fs/minix/itree_common.c 			     int num,
num                80 fs/minix/itree_common.c 	if (parent) for (n = 1; n < num; n++) {
num                98 fs/minix/itree_common.c 	if (n == num)
num               112 fs/minix/itree_common.c 				     int num)
num               139 fs/minix/itree_common.c 	for (i = 1; i < num; i++)
num               141 fs/minix/itree_common.c 	for (i = 0; i < num; i++)
num               128 fs/minix/minix.h 	unsigned short num;
num               139 fs/minix/minix.h 	num = *--p;
num               140 fs/minix/minix.h 	return ((p - addr) << 4) + ffz(num);
num                67 fs/nfs/filelayout/filelayoutdev.c 	u32 cnt, num;
num               123 fs/nfs/filelayout/filelayoutdev.c 	num = be32_to_cpup(p);
num               124 fs/nfs/filelayout/filelayoutdev.c 	dprintk("%s ds_num %u\n", __func__, num);
num               125 fs/nfs/filelayout/filelayoutdev.c 	if (num > NFS4_PNFS_MAX_MULTI_CNT) {
num               128 fs/nfs/filelayout/filelayoutdev.c 			num, NFS4_PNFS_MAX_MULTI_CNT);
num               133 fs/nfs/filelayout/filelayoutdev.c 	if (max_stripe_index >= num) {
num               135 fs/nfs/filelayout/filelayoutdev.c 			__func__, max_stripe_index, num);
num               140 fs/nfs/filelayout/filelayoutdev.c 			(sizeof(struct nfs4_pnfs_ds *) * (num - 1)),
num               148 fs/nfs/filelayout/filelayoutdev.c 	dsaddr->ds_num = num;
num              4520 fs/nfs/nfs4xdr.c 	uint32_t num;
num              4531 fs/nfs/nfs4xdr.c 		num = be32_to_cpup(p);
num              4532 fs/nfs/nfs4xdr.c 		if (num == 0)
num              4534 fs/nfs/nfs4xdr.c 		if (num > 1)
num              2967 fs/nfs/super.c 	unsigned long num;
num              2972 fs/nfs/super.c 	ret = kstrtoul(val, 0, &num);
num              2973 fs/nfs/super.c 	if (ret || num > NFS_CALLBACK_MAXPORTNR)
num              2975 fs/nfs/super.c 	*((unsigned int *)kp->arg) = num;
num              1576 fs/nfsd/nfs4state.c 	u32 num = ca->maxreqs;
num              1604 fs/nfsd/nfs4state.c 	num = min_t(int, num, avail / slotsize);
num              1605 fs/nfsd/nfs4state.c 	num = max_t(int, num, 1);
num              1606 fs/nfsd/nfs4state.c 	nfsd_drc_mem_used += num * slotsize;
num              1609 fs/nfsd/nfs4state.c 	return num;
num              1582 fs/nfsd/nfs4xdr.c 	u32 num, i;
num              1588 fs/nfsd/nfs4xdr.c 	num = be32_to_cpup(p++);
num              1589 fs/nfsd/nfs4xdr.c 	if (num) {
num              1590 fs/nfsd/nfs4xdr.c 		if (num > 1000)
num              1592 fs/nfsd/nfs4xdr.c 		READ_BUF(4 * num);
num              1594 fs/nfsd/nfs4xdr.c 		for (i = 1; i < num; i++) {
num               568 fs/nfsd/nfsctl.c 	int len, num, remaining;
num               592 fs/nfsd/nfsctl.c 				num = simple_strtol((vers+1), &minorp, 0);
num               594 fs/nfsd/nfsctl.c 				num = simple_strtol(vers, &minorp, 0);
num               596 fs/nfsd/nfsctl.c 				if (num != 4)
num               603 fs/nfsd/nfsctl.c 			switch(num) {
num               606 fs/nfsd/nfsctl.c 				nfsd_vers(nn, num, cmd);
num               612 fs/nfsd/nfsctl.c 				} else if ((cmd == NFSD_SET) != nfsd_vers(nn, num, NFSD_TEST)) {
num               638 fs/nfsd/nfsctl.c 	for (num=2 ; num <= 4 ; num++) {
num               640 fs/nfsd/nfsctl.c 		if (!nfsd_vers(nn, num, NFSD_AVAIL))
num               646 fs/nfsd/nfsctl.c 					sep, num, minor);
num               655 fs/nfsd/nfsctl.c 		} while (num == 4 && minor <= NFSD_SUPPORTED_MINOR_VERSION);
num              6879 fs/ocfs2/alloc.c 		     struct page **pages, int *num)
num              6910 fs/ocfs2/alloc.c 	*num = numpages;
num              6916 fs/ocfs2/alloc.c 				struct page **pages, int *num)
num              6923 fs/ocfs2/alloc.c 	return ocfs2_grab_pages(inode, start, end, pages, num);
num              7053 fs/ocfs2/alloc.c 	u32 bit_off, num;
num              7111 fs/ocfs2/alloc.c 					   &num);
num              7197 fs/ocfs2/alloc.c 					bit_off, num);
num              7203 fs/ocfs2/alloc.c 					num);
num               260 fs/ocfs2/alloc.h 		     struct page **pages, int *num);
num               474 fs/ocfs2/cluster/heartbeat.c 				     unsigned int num)
num               478 fs/ocfs2/cluster/heartbeat.c 	while(num--) {
num               480 fs/ocfs2/cluster/heartbeat.c 			BUG_ON(num > 0);
num               387 fs/ocfs2/cluster/nodemanager.c CONFIGFS_ATTR(o2nm_node_, num);
num               226 fs/ocfs2/dir.c static void str2hashbuf(const char *msg, int len, __u32 *buf, int num)
num               235 fs/ocfs2/dir.c 	if (len > num*4)
num               236 fs/ocfs2/dir.c 		len = num * 4;
num               244 fs/ocfs2/dir.c 			num--;
num               247 fs/ocfs2/dir.c 	if (--num >= 0)
num               249 fs/ocfs2/dir.c 	while (--num >= 0)
num               653 fs/ocfs2/dir.c static int ocfs2_read_dx_leaves(struct inode *dir, u64 start, int num,
num               658 fs/ocfs2/dir.c 	ret = ocfs2_read_blocks(INODE_CACHE(dir), start, num, dx_leaf_bhs, 0,
num               678 fs/ocfs2/dir.c 	int num = 0;
num               704 fs/ocfs2/dir.c 				if (b >= nblocks || (num && block == start)) {
num               708 fs/ocfs2/dir.c 				num++;
num              2436 fs/ocfs2/dir.c 	u32 phys, num;
num              2446 fs/ocfs2/dir.c 	ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num);
num              3519 fs/ocfs2/dir.c 	int i, num = le16_to_cpu(dl_list->de_num_used);
num              3521 fs/ocfs2/dir.c 	for (i = 0; i < (num - 1); i++) {
num               407 fs/ocfs2/dlm/dlmdomain.c 	int i, num, n, ret = 0;
num               415 fs/ocfs2/dlm/dlmdomain.c 	num = 0;
num               446 fs/ocfs2/dlm/dlmdomain.c 		num += n;
num               449 fs/ocfs2/dlm/dlmdomain.c 	if (!num) {
num               466 fs/ocfs2/dlm/dlmdomain.c 	if (num) {
num               468 fs/ocfs2/dlm/dlmdomain.c 		     dlm->name, num);
num               533 fs/ocfs2/dlm/dlmdomain.c 	int node = -1, num = 0;
num               541 fs/ocfs2/dlm/dlmdomain.c 		++num;
num               543 fs/ocfs2/dlm/dlmdomain.c 	printk(") %u nodes\n", num);
num               741 fs/ocfs2/dlm/dlmrecovery.c 	int num=0;
num               751 fs/ocfs2/dlm/dlmrecovery.c 		num = find_next_bit (dlm->reco.node_map, O2NM_MAX_NODES, num);
num               752 fs/ocfs2/dlm/dlmrecovery.c 		if (num >= O2NM_MAX_NODES) {
num               755 fs/ocfs2/dlm/dlmrecovery.c 		BUG_ON(num == dead_node);
num               762 fs/ocfs2/dlm/dlmrecovery.c 		ndata->node_num = num;
num               767 fs/ocfs2/dlm/dlmrecovery.c 		num++;
num                11 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(int num),
num                12 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(num),
num                14 fs/ocfs2/ocfs2_trace.h 		__field(int, num)
num                17 fs/ocfs2/ocfs2_trace.h 		__entry->num = num;
num                19 fs/ocfs2/ocfs2_trace.h 	TP_printk("%d", __entry->num)
num                24 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(int num),	\
num                25 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(num))
num                28 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(unsigned int num),
num                29 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(num),
num                31 fs/ocfs2/ocfs2_trace.h 		__field(	unsigned int,	num		)
num                34 fs/ocfs2/ocfs2_trace.h 		__entry->num	= 	num;
num                36 fs/ocfs2/ocfs2_trace.h 	TP_printk("%u", __entry->num)
num                41 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(unsigned int num),	\
num                42 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(num))
num                58 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(unsigned long long num),	\
num                59 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(num))
num               626 fs/ocfs2/ocfs2_trace.h 		 unsigned int start, unsigned int num),
num               627 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(blkno, index, start, num),
num               632 fs/ocfs2/ocfs2_trace.h 		__field(unsigned int, num)
num               638 fs/ocfs2/ocfs2_trace.h 		__entry->num = num;
num               642 fs/ocfs2/ocfs2_trace.h 		  __entry->start, __entry->num)
num               648 fs/ocfs2/ocfs2_trace.h 		 unsigned int start, unsigned int num),	\
num               649 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(blkno, index, start, num))
num                27 fs/proc/meminfo.c static void show_val_kb(struct seq_file *m, const char *s, unsigned long num)
num                29 fs/proc/meminfo.c 	seq_put_decimal_ull_width(m, s, num << (PAGE_SHIFT - 10), 8);
num                29 fs/proc/proc_tty.c 	dev_t from, int num)
num                33 fs/proc/proc_tty.c 	if (p->num > 1) {
num                35 fs/proc/proc_tty.c 			MINOR(from) + num - 1);
num                73 fs/proc/proc_tty.c 	dev_t to = from + p->num;
num               265 fs/reiserfs/item_ops.c 	int num = 0;
num               274 fs/reiserfs/item_ops.c 		if (sequence_finished(prev, &num, get_block_num(unp, j))) {
num               275 fs/reiserfs/item_ops.c 			print_sequence(prev, num);
num               276 fs/reiserfs/item_ops.c 			start_new_sequence(&prev, &num, get_block_num(unp, j));
num               279 fs/reiserfs/item_ops.c 	print_sequence(prev, num);
num              2096 fs/reiserfs/journal.c static void brelse_array(struct buffer_head **heads, int num)
num              2099 fs/reiserfs/journal.c 	for (i = 0; i < num; i++) {
num               156 fs/reiserfs/stree.c 			     int num,	/* Number of items in the array. */
num               171 fs/reiserfs/stree.c 	for (j = ((rbound = num - 1) + (lbound = 0)) / 2;
num               531 fs/reiserfs/stree.c 				b_blocknr_t *b, int num)
num               536 fs/reiserfs/stree.c 	for (i = 0; i < num; i++) {
num               692 fs/seq_file.c  			 unsigned long long num, unsigned int width)
num               712 fs/seq_file.c  	len = num_to_str(m->buf + m->count, m->size - m->count, num, width);
num               724 fs/seq_file.c  			 unsigned long long num)
num               726 fs/seq_file.c  	return seq_put_decimal_ull_width(m, delimiter, num, 0);
num               776 fs/seq_file.c  void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num)
num               793 fs/seq_file.c  	if (num < 0) {
num               795 fs/seq_file.c  		num = -num;
num               798 fs/seq_file.c  	if (num < 10) {
num               799 fs/seq_file.c  		m->buf[m->count++] = num + '0';
num               803 fs/seq_file.c  	len = num_to_str(m->buf + m->count, m->size - m->count, num, 0);
num               126 fs/sysv/itree.c 			int num,
num               135 fs/sysv/itree.c 	if (branch[0].key) for (n = 1; n < num; n++) {
num               157 fs/sysv/itree.c 	if (n == num)
num               171 fs/sysv/itree.c 				int num)
num               196 fs/sysv/itree.c 	for (i = 1; i < num; i++)
num               198 fs/sysv/itree.c 	for (i = 0; i < num; i++)
num               912 fs/ubifs/debug.c 	       pnode->flags, iip, pnode->level, pnode->num);
num               349 fs/ubifs/lpt.c 		pack_bits(c, &addr, &pos, pnode->num, c->pcnt_bits);
num               382 fs/ubifs/lpt.c 		pack_bits(c, &addr, &pos, nnode->num, c->pcnt_bits);
num               524 fs/ubifs/lpt.c 	int num, bits;
num               526 fs/ubifs/lpt.c 	num = 1;
num               530 fs/ubifs/lpt.c 		num <<= UBIFS_LPT_FANOUT_SHIFT;
num               531 fs/ubifs/lpt.c 		num |= bits;
num               533 fs/ubifs/lpt.c 	return num;
num               551 fs/ubifs/lpt.c 	int num, shft;
num               556 fs/ubifs/lpt.c 	num = parent->num ^ (1 << shft);
num               557 fs/ubifs/lpt.c 	num |= (UBIFS_LPT_FANOUT + iip) << shft;
num               558 fs/ubifs/lpt.c 	return num;
num               576 fs/ubifs/lpt.c 	int i, n = c->lpt_hght - 1, pnum = parent->num, num = 0;
num               579 fs/ubifs/lpt.c 		num <<= UBIFS_LPT_FANOUT_SHIFT;
num               580 fs/ubifs/lpt.c 		num |= pnum & (UBIFS_LPT_FANOUT - 1);
num               583 fs/ubifs/lpt.c 	num <<= UBIFS_LPT_FANOUT_SHIFT;
num               584 fs/ubifs/lpt.c 	num |= iip;
num               585 fs/ubifs/lpt.c 	return num;
num               680 fs/ubifs/lpt.c 	pnode->num += 1;
num               723 fs/ubifs/lpt.c 		pnode->num += 1;
num               766 fs/ubifs/lpt.c 			nnode->num = calc_nnode_num(row, i);
num               984 fs/ubifs/lpt.c 		pnode->num = ubifs_unpack_bits(c, &addr, &pos, c->pcnt_bits);
num              1021 fs/ubifs/lpt.c 		nnode->num = ubifs_unpack_bits(c, &addr, &pos, c->pcnt_bits);
num              1110 fs/ubifs/lpt.c 		int num = calc_nnode_num_from_parent(c, parent, iip);
num              1112 fs/ubifs/lpt.c 		if (nnode->num != num)
num              1154 fs/ubifs/lpt.c 		int num = calc_pnode_num_from_parent(c, parent, iip);
num              1156 fs/ubifs/lpt.c 		if (pnode->num != num)
num              1187 fs/ubifs/lpt.c 	lnum = (pnode->num << UBIFS_LPT_FANOUT_SHIFT) + c->main_first;
num              1231 fs/ubifs/lpt.c 			nnode->num = calc_nnode_num_from_parent(c, parent, iip);
num              1244 fs/ubifs/lpt.c 		nnode->num = calc_nnode_num_from_parent(c, parent, iip);
num              1294 fs/ubifs/lpt.c 			pnode->num = calc_pnode_num_from_parent(c, parent, iip);
num              1313 fs/ubifs/lpt.c 		pnode->num = calc_pnode_num_from_parent(c, parent, iip);
num              1978 fs/ubifs/lpt.c 			nnode->num = calc_nnode_num_from_parent(c, parent, iip);
num              1992 fs/ubifs/lpt.c 		nnode->num = calc_nnode_num_from_parent(c, parent, iip);
num              2038 fs/ubifs/lpt.c 			pnode->num = calc_pnode_num_from_parent(c, parent, iip);
num              2061 fs/ubifs/lpt.c 		pnode->num = calc_pnode_num_from_parent(c, parent, iip);
num              2255 fs/ubifs/lpt.c 	if (pnode->num != col) {
num              2257 fs/ubifs/lpt.c 			  pnode->num, col, pnode->parent->num, pnode->iip);
num              2262 fs/ubifs/lpt.c 		int lnum = (pnode->num << UBIFS_LPT_FANOUT_SHIFT) + i +
num              2385 fs/ubifs/lpt.c 	int num, iip = 0, err;
num              2395 fs/ubifs/lpt.c 			num = calc_nnode_num(row, col);
num              2396 fs/ubifs/lpt.c 			if (cnode->num != num) {
num              2398 fs/ubifs/lpt.c 					  cnode->num, num,
num              2399 fs/ubifs/lpt.c 					  (nnode ? nnode->num : 0), cnode->iip);
num               555 fs/ubifs/ubifs.h 	int num;
num               574 fs/ubifs/ubifs.h 	int num;
num               612 fs/ubifs/ubifs.h 	int num;
num                58 fs/udf/dir.c   	int i, num, ret = 0;
num               108 fs/udf/dir.c   			for (num = 0; i > 0; i--) {
num               112 fs/udf/dir.c   					bha[num++] = tmp;
num               116 fs/udf/dir.c   			if (num) {
num               117 fs/udf/dir.c   				ll_rw_block(REQ_OP_READ, REQ_RAHEAD, num, bha);
num               118 fs/udf/dir.c   				for (i = 0; i < num; i++)
num                29 fs/udf/directory.c 	int i, num;
num                81 fs/udf/directory.c 			for (num = 0; i > 0; i--) {
num                87 fs/udf/directory.c 					bha[num++] = tmp;
num                91 fs/udf/directory.c 			if (num) {
num                92 fs/udf/directory.c 				ll_rw_block(REQ_OP_READ, REQ_RAHEAD, num, bha);
num                93 fs/udf/directory.c 				for (i = 0; i < num; i++)
num               118 fs/verity/fsverity_private.h 						      unsigned int num);
num                40 fs/verity/hash_algs.c 						      unsigned int num)
num                46 fs/verity/hash_algs.c 	if (num >= ARRAY_SIZE(fsverity_hash_algs) ||
num                47 fs/verity/hash_algs.c 	    !fsverity_hash_algs[num].name) {
num                48 fs/verity/hash_algs.c 		fsverity_warn(inode, "Unknown hash algorithm number: %u", num);
num                51 fs/verity/hash_algs.c 	alg = &fsverity_hash_algs[num];
num                15 include/asm-generic/bitops/__ffs.h 	int num = 0;
num                19 include/asm-generic/bitops/__ffs.h 		num += 32;
num                24 include/asm-generic/bitops/__ffs.h 		num += 16;
num                28 include/asm-generic/bitops/__ffs.h 		num += 8;
num                32 include/asm-generic/bitops/__ffs.h 		num += 4;
num                36 include/asm-generic/bitops/__ffs.h 		num += 2;
num                40 include/asm-generic/bitops/__ffs.h 		num += 1;
num                41 include/asm-generic/bitops/__ffs.h 	return num;
num                15 include/asm-generic/bitops/__fls.h 	int num = BITS_PER_LONG - 1;
num                19 include/asm-generic/bitops/__fls.h 		num -= 32;
num                24 include/asm-generic/bitops/__fls.h 		num -= 16;
num                28 include/asm-generic/bitops/__fls.h 		num -= 8;
num                32 include/asm-generic/bitops/__fls.h 		num -= 4;
num                36 include/asm-generic/bitops/__fls.h 		num -= 2;
num                40 include/asm-generic/bitops/__fls.h 		num -= 1;
num                41 include/asm-generic/bitops/__fls.h 	return num;
num               118 include/asm-generic/gpio.h extern int gpio_request_array(const struct gpio *array, size_t num);
num               119 include/asm-generic/gpio.h extern void gpio_free_array(const struct gpio *array, size_t num);
num               182 include/crypto/algapi.h int crypto_attr_u32(struct rtattr *rta, u32 *num);
num                20 include/crypto/scatterwalk.h 					    struct scatterlist *sg, int num)
num                23 include/crypto/scatterwalk.h 		sg_chain(head, num, sg);
num                32 include/drm/drm_mipi_dbi.h 	int (*command)(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num);
num                21 include/dt-bindings/interrupt-controller/arm-gic.h #define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
num               353 include/linux/bcma/bcma.h 	u8 num;
num               487 include/linux/bcma/bcma.h extern unsigned int bcma_core_irq(struct bcma_device *core, int num);
num                 7 include/linux/bsearch.h void *bsearch(const void *key, const void *base, size_t num, size_t size,
num               728 include/linux/ceph/ceph_fs.h 	__le32 num;                /* number of cap_items that follow */
num                58 include/linux/ceph/messenger.h #define ENTITY_NAME(n) ceph_entity_type_name((n).type), le64_to_cpu((n).num)
num                47 include/linux/ceph/msgr.h 	__le64 num;
num                70 include/linux/clk-provider.h 	unsigned int num;
num               883 include/linux/clk-provider.h 	unsigned int num;
num               150 include/linux/clk.h int clk_set_duty_cycle(struct clk *clk, unsigned int num, unsigned int den);
num               204 include/linux/clk.h static inline int clk_set_duty_cycle(struct clk *clk, unsigned int num,
num                37 include/linux/cpu.h extern int register_cpu(struct cpu *cpu, int num);
num               818 include/linux/crypto.h 	u32 num;
num               597 include/linux/device-mapper.h #define dm_array_too_big(fixed, obj, num) \
num               598 include/linux/device-mapper.h 	((num) > (UINT_MAX - (fixed)) / (obj))
num               574 include/linux/dma-fence.h u64 dma_fence_context_alloc(unsigned num);
num                13 include/linux/extable.h 	       const size_t num,
num               751 include/linux/fb.h extern void fb_videomode_to_modelist(const struct fb_videomode *modedb, int num,
num               127 include/linux/gpio.h static inline int gpio_request_array(const struct gpio *array, size_t num)
num               140 include/linux/gpio.h static inline void gpio_free_array(const struct gpio *array, size_t num)
num                 9 include/linux/gpio/gpio-reg.h 	int base, int num, const char *label, u32 direction, u32 def_out,
num               225 include/linux/hsi/hsi.h 	unsigned int			num;
num               311 include/linux/hsi/hsi.h 							unsigned int num)
num               313 include/linux/hsi/hsi.h 	return (num < hsi->num_ports) ? hsi->port[num] : NULL;
num               342 include/linux/hsi/hsi.h 	return	to_hsi_port(cl->device.parent)->num;
num               119 include/linux/i2c.h 			int num);
num               122 include/linux/i2c.h 			  int num);
num               537 include/linux/i2c.h 			   int num);
num               539 include/linux/i2c.h 				   struct i2c_msg *msgs, int num);
num                53 include/linux/if_pppox.h 	__be16			num;
num               263 include/linux/if_team.h static inline int team_num_to_port_index(struct team *team, unsigned int num)
num               269 include/linux/if_team.h 	return num % en_port_count;
num                18 include/linux/if_tun.h 	unsigned short num;
num               100 include/linux/iio/common/st_sensors.h 	unsigned int num;
num               472 include/linux/kernel.h 		      unsigned long long num, unsigned int width);
num               356 include/linux/kprobes.h int register_kprobes(struct kprobe **kps, int num);
num               357 include/linux/kprobes.h void unregister_kprobes(struct kprobe **kps, int num);
num               362 include/linux/kprobes.h int register_kretprobes(struct kretprobe **rps, int num);
num               363 include/linux/kprobes.h void unregister_kretprobes(struct kretprobe **rps, int num);
num               398 include/linux/kprobes.h static inline int register_kprobes(struct kprobe **kps, int num)
num               405 include/linux/kprobes.h static inline void unregister_kprobes(struct kprobe **kps, int num)
num               412 include/linux/kprobes.h static inline int register_kretprobes(struct kretprobe **rps, int num)
num               419 include/linux/kprobes.h static inline void unregister_kretprobes(struct kretprobe **rps, int num)
num               516 include/linux/mfd/db8500-prcmu.h int db8500_prcmu_config_a9wdog(u8 num, bool sleep_auto_off);
num               714 include/linux/mfd/db8500-prcmu.h static inline int db8500_prcmu_config_a9wdog(u8 num, bool sleep_auto_off)
num               398 include/linux/mfd/dbx500-prcmu.h static inline int prcmu_config_a9wdog(u8 num, bool sleep_auto_off)
num               400 include/linux/mfd/dbx500-prcmu.h 	return db8500_prcmu_config_a9wdog(num, sleep_auto_off);
num               244 include/linux/mfd/lp8788.h 	enum lp8788_isink_number num;
num               259 include/linux/mfd/lp8788.h 	enum lp8788_isink_number num;
num               659 include/linux/mfd/twl.h 	unsigned num;
num                78 include/linux/mic_bus.h 	void (*ack_interrupt)(struct mbus_device *mbdev, int num);
num               124 include/linux/mlx5/fs.h 			u16		num;
num              2549 include/linux/mm.h 				unsigned long num);
num              2551 include/linux/mm.h 				unsigned long num);
num                38 include/linux/mmc/sdio_func.h 	unsigned int		num;		/* function number */
num                96 include/linux/moduleparam.h 	unsigned int *num;
num               316 include/linux/moduleparam.h 		      unsigned num,
num               325 include/linux/moduleparam.h extern void destroy_params(const struct kernel_param *params, unsigned num);
num               328 include/linux/moduleparam.h 				  unsigned num)
num               438 include/linux/moduleparam.h 	= { .max = ARRAY_SIZE(array), .num = nump,                      \
num               497 include/linux/moduleparam.h 	= { .max = ARRAY_SIZE(name), .num = nump,			\
num               567 include/linux/mtd/mtd.h extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
num               292 include/linux/net.h 		   size_t num, size_t len);
num               294 include/linux/net.h 			  struct kvec *vec, size_t num, size_t len);
num               296 include/linux/net.h 		   size_t num, size_t len, int flags);
num              1262 include/linux/of.h 	int num = 0;
num              1265 include/linux/of.h 		num++;
num              1267 include/linux/of.h 	return num;
num              1273 include/linux/of.h 	int num = 0;
num              1276 include/linux/of.h 		num++;
num              1278 include/linux/of.h 	return num;
num              1960 include/linux/platform_data/cros_ec_commands.h 			uint8_t num;
num              2004 include/linux/platform_data/cros_ec_commands.h 			uint8_t num;
num              2019 include/linux/platform_data/cros_ec_commands.h 			uint32_t num;
num               107 include/linux/platform_device.h 		const struct resource *res, unsigned int num,
num               115 include/linux/platform_device.h 		.num_res = num,
num               148 include/linux/platform_device.h 		const struct resource *res, unsigned int num)
num               151 include/linux/platform_device.h 			res, num, NULL, 0);
num               181 include/linux/platform_device.h 					 unsigned int num);
num               312 include/linux/platform_device.h extern void early_platform_add_devices(struct platform_device **devs, int num);
num                28 include/linux/pnp.h 				unsigned int num);
num                31 include/linux/pnp.h 			unsigned long type, unsigned int num)
num               596 include/linux/pwm.h void pwm_add_table(struct pwm_lookup *table, size_t num);
num               597 include/linux/pwm.h void pwm_remove_table(struct pwm_lookup *table, size_t num);
num               599 include/linux/pwm.h static inline void pwm_add_table(struct pwm_lookup *table, size_t num)
num               603 include/linux/pwm.h static inline void pwm_remove_table(struct pwm_lookup *table, size_t num)
num               170 include/linux/qed/qed_eth_if.h 	u8 num;
num               252 include/linux/qed/qed_eth_if.h 	int (*getnumtcs)(struct qed_dev *cdev, int tcid, u8 *num);
num               266 include/linux/qed/qed_eth_if.h 	int (*setnumtcs)(struct qed_dev *cdev, int tcid, u8 num);
num                74 include/linux/remoteproc.h 	u32 num;
num               260 include/linux/remoteproc.h 	u32 num;
num               187 include/linux/rtc.h 			unsigned long num, unsigned long events);
num               199 include/linux/rtc.h void rtc_handle_legacy_irq(struct rtc_device *rtc, int num, int mode);
num               104 include/linux/seq_buf.h static inline void seq_buf_commit(struct seq_buf *s, int num)
num               106 include/linux/seq_buf.h 	if (num < 0) {
num               110 include/linux/seq_buf.h 		BUG_ON(s->len + num > s->size);
num               111 include/linux/seq_buf.h 		s->len += num;
num                84 include/linux/seq_file.h static inline void seq_commit(struct seq_file *m, int num)
num                86 include/linux/seq_file.h 	if (num < 0) {
num                89 include/linux/seq_file.h 		BUG_ON(m->count + num > m->size);
num                90 include/linux/seq_file.h 		m->count += num;
num               122 include/linux/seq_file.h 			       unsigned long long num, unsigned int width);
num               124 include/linux/seq_file.h 			 unsigned long long num);
num               125 include/linux/seq_file.h void seq_put_decimal_ll(struct seq_file *m, const char *delimiter, long long num);
num                24 include/linux/slab_def.h 	unsigned int num;		/* # of objs per slab */
num                96 include/linux/slab_def.h 	void *last_object = page->s_mem + (cache->num - 1) * cache->size;
num               528 include/linux/soc/ti/ti_sci_protocol.h 	u16 num;
num                 7 include/linux/sort.h void sort_r(void *base, size_t num, size_t size,
num                12 include/linux/sort.h void sort(void *base, size_t num, size_t size,
num               294 include/linux/soundwire/sdw.h 	u32 num;
num               475 include/linux/soundwire/sdw.h 	unsigned int num;
num               606 include/linux/soundwire/sdw.h 	unsigned int num;
num               779 include/linux/soundwire/sdw.h 	unsigned int num;
num              1009 include/linux/syscalls.h asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
num               312 include/linux/tty_driver.h 	unsigned int	num;	/* number of devices allocated */
num               178 include/linux/tty_ldisc.h 	int	num;
num                33 include/linux/udp.h static inline u32 udp_hashfn(const struct net *net, u32 num, u32 mask)
num                35 include/linux/udp.h 	return (num + net_hash_mix(net)) & mask;
num              1006 include/linux/usb.h #define USB_DEVICE_INTERFACE_NUMBER(vend, prod, num) \
num              1011 include/linux/usb.h 	.bInterfaceNumber = (num)
num                39 include/linux/virtio.h 			 struct scatterlist sg[], unsigned int num,
num                44 include/linux/virtio.h 			struct scatterlist sg[], unsigned int num,
num                49 include/linux/virtio.h 			    struct scatterlist sg[], unsigned int num,
num                70 include/linux/virtio_ring.h 					 unsigned int num,
num                95 include/linux/virtio_ring.h 				      unsigned int num,
num               104 include/linux/vme.h 	int num;
num               100 include/linux/vringh.h 		     unsigned int num, bool weak_barriers,
num               106 include/linux/vringh.h 				   struct iovec *iovec, unsigned num)
num               110 include/linux/vringh.h 	iov->max_num = num;
num               152 include/linux/vringh.h void vringh_abandon_user(struct vringh *vrh, unsigned int num);
num               162 include/linux/vringh.h 		     unsigned int num, bool weak_barriers,
num               168 include/linux/vringh.h 				    struct kvec *kvec, unsigned num)
num               172 include/linux/vringh.h 	kiov->max_num = num;
num               201 include/linux/vringh.h void vringh_abandon_kern(struct vringh *vrh, unsigned int num);
num               596 include/media/demux.h 	int (*get_stc)(struct dmx_demux *demux, unsigned int num,
num               134 include/media/dvb_ringbuffer.h #define DVB_RINGBUFFER_SKIP(rbuf, num)	{\
num               135 include/media/dvb_ringbuffer.h 			(rbuf)->pread = ((rbuf)->pread + (num)) % (rbuf)->size;\
num               102 include/media/dvbdev.h 	int num;
num               285 include/media/v4l2-dev.h 	u16 num;
num               602 include/media/v4l2-subdev.h 				ssize_t *num);
num               611 include/media/v4l2-subdev.h 				ssize_t *num);
num                97 include/misc/cxl.h int cxl_allocate_afu_irqs(struct cxl_context *cxl, int num);
num               106 include/misc/cxl.h int cxl_map_afu_irq(struct cxl_context *cxl, int num,
num               109 include/misc/cxl.h void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
num               228 include/net/inet_hashtables.h static inline u32 inet_lhashfn(const struct net *net, const unsigned short num)
num               230 include/net/inet_hashtables.h 	return (num + net_hash_mix(net)) & (INET_LHTABLE_SIZE - 1);
num                82 include/net/ip6_tunnel.h 			  unsigned int num);
num                84 include/net/ip6_tunnel.h 			  unsigned int num);
num               305 include/net/ip_tunnels.h 			    unsigned int num);
num               307 include/net/ip_tunnels.h 			    unsigned int num);
num               109 include/net/lwtunnel.h 			   unsigned int num);
num               111 include/net/lwtunnel.h 			   unsigned int num);
num               185 include/net/lwtunnel.h 					 unsigned int num)
num               192 include/net/lwtunnel.h 					 unsigned int num)
num               105 include/net/protocol.h int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
num               106 include/net/protocol.h int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
num               107 include/net/protocol.h int inet_add_offload(const struct net_offload *prot, unsigned char num);
num               108 include/net/protocol.h int inet_del_offload(const struct net_offload *prot, unsigned char num);
num               113 include/net/protocol.h int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
num               114 include/net/protocol.h int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
num               118 include/net/protocol.h int inet6_add_offload(const struct net_offload *prot, unsigned char num);
num               119 include/net/protocol.h int inet6_del_offload(const struct net_offload *prot, unsigned char num);
num                24 include/net/raw.h 			     unsigned short num, __be32 raddr,
num                 9 include/net/rawv6.h 			     unsigned short num, const struct in6_addr *loc_addr,
num              1670 include/net/tcp.h 	int		num;
num              1706 include/net/tcp.h 	return ctx->num;
num              1915 include/net/tcp.h 	int			bucket, offset, sbucket, num;
num                80 include/net/udp.h 					     struct net *net, unsigned int num)
num                82 include/net/udp.h 	return &table->hash[udp_hashfn(net, num, table->mask)];
num               152 include/rdma/uverbs_std_types.h 	size_t			num;
num               114 include/soc/fsl/bman.h int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num);
num               127 include/soc/fsl/bman.h int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);
num               127 include/soc/fsl/dpaa2-io.h 			    u32 *num);
num              1551 include/soc/tegra/bpmp-abi.h 	uint32_t num;
num                50 include/sound/ac97/codec.h 	unsigned int		num;
num               205 include/sound/ac97_codec.h 	unsigned short num;	/* bus number */
num               228 include/sound/ac97_codec.h 	unsigned short num;	/* number of codec: 0 = primary, 1 = secondary */
num               248 include/sound/ac97_codec.h 	unsigned short num;	/* number of codec: 0 = primary, 1 = secondary */
num               313 include/sound/ac97_codec.h int snd_ac97_bus(struct snd_card *card, int num, struct snd_ac97_bus_ops *ops,
num               229 include/sound/info.h int snd_oss_info_register(int dev, int num, char *string);
num               230 include/sound/info.h #define snd_oss_info_unregister(dev, num) snd_oss_info_register(dev, num, NULL)
num               259 include/sound/pcm.h 	unsigned int num;
num               170 include/sound/soc-dai.h 			     struct snd_soc_pcm_runtime *rtd, int num);
num               292 include/sound/soc-dai.h 	int (*compress_new)(struct snd_soc_pcm_runtime *rtd, int num);
num               403 include/sound/soc-dapm.h 	int num);
num               426 include/sound/soc-dapm.h 			    const struct snd_soc_dapm_route *route, int num);
num               428 include/sound/soc-dapm.h 			    const struct snd_soc_dapm_route *route, int num);
num               430 include/sound/soc-dapm.h 			     const struct snd_soc_dapm_route *route, int num);
num               449 include/sound/soc.h int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
num               451 include/sound/soc.h int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
num               453 include/sound/soc.h static inline int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)
num              1147 include/sound/soc.h 	unsigned int num; /* 0-based and monotonic increasing */
num                54 include/sound/timer.h 	int (*precise_resolution) (struct snd_timer * timer, unsigned long *num, unsigned long *den);
num                42 include/sound/tlv.h #define TLV_DB_RANGE_HEAD(num) \
num                43 include/sound/tlv.h 	SNDRV_CTL_TLVT_DB_RANGE, 6 * (num) * sizeof(unsigned int)
num               195 include/trace/events/clk.h 		__field( unsigned int,           num                     )
num               201 include/trace/events/clk.h 		__entry->num = duty->num;
num               205 include/trace/events/clk.h 	TP_printk("%s %u/%u", __get_str(name), (unsigned int)__entry->num,
num                27 include/trace/events/i2c.h 			int num),
num                28 include/trace/events/i2c.h 	       TP_ARGS(adap, msg, num),
num                38 include/trace/events/i2c.h 		       __entry->msg_nr = num;
num                60 include/trace/events/i2c.h 			int num),
num                61 include/trace/events/i2c.h 	       TP_ARGS(adap, msg, num),
num                71 include/trace/events/i2c.h 		       __entry->msg_nr = num;
num                91 include/trace/events/i2c.h 			int num),
num                92 include/trace/events/i2c.h 	       TP_ARGS(adap, msg, num),
num               102 include/trace/events/i2c.h 		       __entry->msg_nr = num;
num               123 include/trace/events/i2c.h 	       TP_PROTO(const struct i2c_adapter *adap, int num, int ret),
num               124 include/trace/events/i2c.h 	       TP_ARGS(adap, num, ret),
num               132 include/trace/events/i2c.h 		       __entry->nr_msgs = num;
num               455 include/uapi/drm/drm.h 	unsigned int num;
num                52 include/uapi/linux/dvb/ca.h 	int num;
num                81 include/uapi/linux/dvb/ca.h 	unsigned int num;
num               209 include/uapi/linux/dvb/dmx.h 	unsigned int num;
num               873 include/uapi/linux/dvb/frontend.h 	__u32 num;
num               251 include/uapi/linux/genwqe/genwqe_card.h 	__u64 num;		/* register offset/address */
num               110 include/uapi/linux/hsi/cs-protocol.h #define CS_IOW(num, dtype)	_IOW(CS_IO_MAGIC, num, dtype)
num               111 include/uapi/linux/hsi/cs-protocol.h #define CS_IOR(num, dtype)	_IOR(CS_IO_MAGIC, num, dtype)
num               112 include/uapi/linux/hsi/cs-protocol.h #define CS_IOWR(num, dtype)	_IOWR(CS_IO_MAGIC, num, dtype)
num               113 include/uapi/linux/hsi/cs-protocol.h #define CS_IO(num)		_IO(CS_IO_MAGIC, num)
num                30 include/uapi/linux/hsi/hsi_char.h #define HSC_IOW(num, dtype)	_IOW(HSI_CHAR_MAGIC, num, dtype)
num                31 include/uapi/linux/hsi/hsi_char.h #define HSC_IOR(num, dtype)	_IOR(HSI_CHAR_MAGIC, num, dtype)
num                32 include/uapi/linux/hsi/hsi_char.h #define HSC_IOWR(num, dtype)	_IOWR(HSI_CHAR_MAGIC, num, dtype)
num                33 include/uapi/linux/hsi/hsi_char.h #define HSC_IO(num)		_IO(HSI_CHAR_MAGIC, num)
num               119 include/uapi/linux/mic_common.h 	__le16 num;
num                34 include/uapi/linux/omapfb.h #define OMAP_IOW(num, dtype)	_IOW('O', num, dtype)
num                35 include/uapi/linux/omapfb.h #define OMAP_IOR(num, dtype)	_IOR('O', num, dtype)
num                36 include/uapi/linux/omapfb.h #define OMAP_IOWR(num, dtype)	_IOWR('O', num, dtype)
num                37 include/uapi/linux/omapfb.h #define OMAP_IO(num)		_IO('O', num)
num               404 include/uapi/linux/rds.h 	__u32 num;
num               958 include/uapi/linux/soundcard.h   int num;	/* Index to volume table */
num                21 include/uapi/linux/vhost_types.h 	unsigned int num;
num               122 include/uapi/linux/virtio_ring.h 	unsigned int num;
num               164 include/uapi/linux/virtio_ring.h #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
num               165 include/uapi/linux/virtio_ring.h #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
num               167 include/uapi/linux/virtio_ring.h static inline void vring_init(struct vring *vr, unsigned int num, void *p,
num               170 include/uapi/linux/virtio_ring.h 	vr->num = num;
num               172 include/uapi/linux/virtio_ring.h 	vr->avail = p + num*sizeof(struct vring_desc);
num               173 include/uapi/linux/virtio_ring.h 	vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16)
num               177 include/uapi/linux/virtio_ring.h static inline unsigned vring_size(unsigned int num, unsigned long align)
num               179 include/uapi/linux/virtio_ring.h 	return ((sizeof(struct vring_desc) * num + sizeof(__virtio16) * (3 + num)
num               181 include/uapi/linux/virtio_ring.h 		+ sizeof(__virtio16) * 3 + sizeof(struct vring_used_elem) * num;
num               311 include/uapi/sound/compress_params.h 	__u32 num;
num                57 include/uapi/xen/privcmd.h 	int num;
num                63 include/uapi/xen/privcmd.h 	int num;     /* number of pages to populate */
num                74 include/uapi/xen/privcmd.h 	unsigned int num; /* number of pages to populate */
num                88 include/uapi/xen/privcmd.h 	__u16 num;
num                97 include/uapi/xen/privcmd.h 	__u64 num;
num               775 include/video/omapfb_dss.h struct omap_overlay_manager *omap_dss_get_overlay_manager(int num);
num               778 include/video/omapfb_dss.h struct omap_overlay *omap_dss_get_overlay(int num);
num               861 include/video/omapfb_dss.h static inline struct omap_overlay_manager *omap_dss_get_overlay_manager(int num)
num               867 include/video/omapfb_dss.h static inline struct omap_overlay *omap_dss_get_overlay(int num)
num                29 include/xen/arm/hypervisor.h static inline void xen_arch_register_cpu(int num)
num                33 include/xen/arm/hypervisor.h static inline void xen_arch_unregister_cpu(int num)
num               356 include/xen/interface/platform.h 	uint32_t    num;         /* number of processors in same domain */
num               137 include/xen/xenbus.h 			const char *dir, const char *node, unsigned int *num);
num               573 init/initramfs.c 	int num;
num               587 init/initramfs.c 	num = ksys_getdents64(fd, dirp, BUF_SIZE);
num               588 init/initramfs.c 	while (num > 0) {
num               589 init/initramfs.c 		while (num > 0) {
num               602 init/initramfs.c 			num -= dirp->d_reclen;
num               607 init/initramfs.c 		num = ksys_getdents64(fd, dirp, BUF_SIZE);
num               884 ipc/sem.c      			int num = sops[i].sem_num;
num               886 ipc/sem.c      			if (sma->sems[num].semval == 0) {
num               888 ipc/sem.c      				semop_completed |= wake_const_ops(sma, num, wake_q);
num                95 kernel/cgroup/pids.c static void pids_cancel(struct pids_cgroup *pids, int num)
num               101 kernel/cgroup/pids.c 	WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter));
num               109 kernel/cgroup/pids.c static void pids_uncharge(struct pids_cgroup *pids, int num)
num               114 kernel/cgroup/pids.c 		pids_cancel(p, num);
num               126 kernel/cgroup/pids.c static void pids_charge(struct pids_cgroup *pids, int num)
num               131 kernel/cgroup/pids.c 		atomic64_add(num, &p->counter);
num               143 kernel/cgroup/pids.c static int pids_try_charge(struct pids_cgroup *pids, int num)
num               148 kernel/cgroup/pids.c 		int64_t new = atomic64_add_return(num, &p->counter);
num               164 kernel/cgroup/pids.c 		pids_cancel(q, num);
num               165 kernel/cgroup/pids.c 	pids_cancel(p, num);
num               296 kernel/debug/gdbstub.c 	int num = 0;
num               311 kernel/debug/gdbstub.c 		num++;
num               318 kernel/debug/gdbstub.c 	return num;
num                93 kernel/debug/kdb/kdb_main.c #define for_each_kdbcmd(cmd, num)					\
num                94 kernel/debug/kdb/kdb_main.c 	for ((cmd) = kdb_base_commands, (num) = 0;			\
num                95 kernel/debug/kdb/kdb_main.c 	     num < kdb_max_commands;					\
num                96 kernel/debug/kdb/kdb_main.c 	     num++, num == KDB_BASE_CMD_MAX ? cmd = kdb_commands : cmd++)
num              1489 kernel/debug/kdb/kdb_main.c 			int num, int repeat, int phys)
num              1505 kernel/debug/kdb/kdb_main.c 	for (i = 0; i < num && repeat--; i++) {
num              1548 kernel/debug/kdb/kdb_main.c 	kdb_printf("%*s %s\n", (int)((num-i)*(2*bytesperword + 1)+1),
num              1712 kernel/debug/kdb/kdb_main.c 		int n, z, num = (symbolic ? 1 : (16 / bytesperword));
num              1724 kernel/debug/kdb/kdb_main.c 		n = min(num, repeat);
num              1726 kernel/debug/kdb/kdb_main.c 			    num, repeat, phys);
num              1729 kernel/debug/kdb/kdb_main.c 		z = (z + num - 1) / num;
num              1731 kernel/debug/kdb/kdb_main.c 			int s = num * (z-2);
num               370 kernel/gcov/fs.c 	int num;
num               373 kernel/gcov/fs.c 	for (num = 0; gcov_link[num].ext; num++)
num               375 kernel/gcov/fs.c 	node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL);
num               378 kernel/gcov/fs.c 	for (i = 0; i < num; i++) {
num               617 kernel/gcov/fs.c 	int num = node->num_loaded;
num               624 kernel/gcov/fs.c 	loaded_info = kcalloc(num + 1, sizeof(struct gcov_info *), GFP_KERNEL);
num               631 kernel/gcov/fs.c 	       num * sizeof(struct gcov_info *));
num               632 kernel/gcov/fs.c 	loaded_info[num] = info;
num               634 kernel/gcov/fs.c 	if (num == 0) {
num               661 kernel/gcov/fs.c 	node->num_loaded = num + 1;
num                54 kernel/gcov/gcc_3_4.c 	unsigned int	num;
num               191 kernel/gcov/gcc_3_4.c 		       info->counts[i].num * sizeof(gcov_type));
num               220 kernel/gcov/gcc_3_4.c 		for (j = 0; j < dest->counts[i].num; j++) {
num               279 kernel/gcov/gcc_3_4.c 		size_t size = ctr->num * sizeof(gcov_type);
num               281 kernel/gcov/gcc_3_4.c 		dup->counts[i].num = ctr->num;
num                45 kernel/gcov/gcc_4_7.c 	unsigned int num;
num               210 kernel/gcov/gcc_4_7.c 					sizeof(gcov_type) * ci_ptr->num);
num               251 kernel/gcov/gcc_4_7.c 			for (val_idx = 0; val_idx < sci_ptr->num; val_idx++)
num               311 kernel/gcov/gcc_4_7.c 			cv_size = sizeof(gcov_type) * sci_ptr->num;
num               318 kernel/gcov/gcc_4_7.c 			dci_ptr->num = sci_ptr->num;
num               471 kernel/gcov/gcc_4_7.c 			pos += store_gcov_u32(buffer, pos, ci_ptr->num * 2);
num               473 kernel/gcov/gcc_4_7.c 			for (cv_idx = 0; cv_idx < ci_ptr->num; cv_idx++) {
num               111 kernel/irq/matrix.c 				      unsigned int num, bool managed)
num               118 kernel/irq/matrix.c 	area = bitmap_find_next_zero_area(m->scratch_map, end, start, num, 0);
num               122 kernel/irq/matrix.c 		bitmap_set(cm->managed_map, area, num);
num               124 kernel/irq/matrix.c 		bitmap_set(cm->alloc_map, area, num);
num              1793 kernel/kprobes.c int register_kprobes(struct kprobe **kps, int num)
num              1797 kernel/kprobes.c 	if (num <= 0)
num              1799 kernel/kprobes.c 	for (i = 0; i < num; i++) {
num              1817 kernel/kprobes.c void unregister_kprobes(struct kprobe **kps, int num)
num              1821 kernel/kprobes.c 	if (num <= 0)
num              1824 kernel/kprobes.c 	for (i = 0; i < num; i++)
num              1830 kernel/kprobes.c 	for (i = 0; i < num; i++)
num              1983 kernel/kprobes.c int register_kretprobes(struct kretprobe **rps, int num)
num              1987 kernel/kprobes.c 	if (num <= 0)
num              1989 kernel/kprobes.c 	for (i = 0; i < num; i++) {
num              2007 kernel/kprobes.c void unregister_kretprobes(struct kretprobe **rps, int num)
num              2011 kernel/kprobes.c 	if (num <= 0)
num              2014 kernel/kprobes.c 	for (i = 0; i < num; i++)
num              2020 kernel/kprobes.c 	for (i = 0; i < num; i++) {
num              2036 kernel/kprobes.c int register_kretprobes(struct kretprobe **rps, int num)
num              2047 kernel/kprobes.c void unregister_kretprobes(struct kretprobe **rps, int num)
num               391 kernel/locking/lockdep_proc.c 	char num[15];
num               393 kernel/locking/lockdep_proc.c 	snprint_time(num, sizeof(num), time);
num               394 kernel/locking/lockdep_proc.c 	seq_printf(m, " %14s", num);
num               369 kernel/module.c 			  unsigned int *num)
num               374 kernel/module.c 	*num = info->sechdrs[sec].sh_size / object_size;
num              2269 kernel/module.c 		unsigned int num;
num              2281 kernel/module.c 		for (s = arr[i].sym; s < arr[i].sym + arr[i].num; s++) {
num              2796 kernel/module.c static void dynamic_debug_setup(struct module *mod, struct _ddebug *debug, unsigned int num)
num              2800 kernel/module.c 	ddebug_add_module(debug, num, mod->name);
num               164 kernel/params.c 		 unsigned num,
num               188 kernel/params.c 		ret = parse_one(param, val, doing, params, num,
num               401 kernel/params.c 		       unsigned int *num)
num               412 kernel/params.c 	*num = 0;
num               417 kernel/params.c 		if (*num == max) {
num               433 kernel/params.c 		(*num)++;
num               436 kernel/params.c 	if (*num < min) {
num               450 kernel/params.c 			   arr->num ?: &temp_num);
num               459 kernel/params.c 	for (i = off = 0; i < (arr->num ? *arr->num : arr->max); i++) {
num               480 kernel/params.c 		for (i = 0; i < (arr->num ? *arr->num : arr->max); i++)
num               530 kernel/params.c 	unsigned int num;
num               634 kernel/params.c 			  sizeof(mk->mp->attrs[0]) * (mk->mp->num + 1),
num               642 kernel/params.c 			     sizeof(mk->mp->grp.attrs[0]) * (mk->mp->num + 2),
num               649 kernel/params.c 	memset(&mk->mp->attrs[mk->mp->num], 0, sizeof(mk->mp->attrs[0]));
num               650 kernel/params.c 	sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr);
num               651 kernel/params.c 	mk->mp->attrs[mk->mp->num].param = kp;
num               652 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show;
num               655 kernel/params.c 		mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store;
num               657 kernel/params.c 		mk->mp->attrs[mk->mp->num].mattr.store = NULL;
num               658 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.attr.name = (char *)name;
num               659 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.attr.mode = kp->perm;
num               660 kernel/params.c 	mk->mp->num++;
num               663 kernel/params.c 	for (i = 0; i < mk->mp->num; i++)
num               665 kernel/params.c 	mk->mp->grp.attrs[mk->mp->num] = NULL;
num               733 kernel/params.c void destroy_params(const struct kernel_param *params, unsigned num)
num               737 kernel/params.c 	for (i = 0; i < num; i++)
num               409 kernel/trace/trace_syscalls.c 	int num;
num               411 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               412 kernel/trace/trace_syscalls.c 	if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls))
num               418 kernel/trace/trace_syscalls.c 		rcu_assign_pointer(tr->enter_syscall_files[num], file);
num               429 kernel/trace/trace_syscalls.c 	int num;
num               431 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               432 kernel/trace/trace_syscalls.c 	if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls))
num               436 kernel/trace/trace_syscalls.c 	RCU_INIT_POINTER(tr->enter_syscall_files[num], NULL);
num               447 kernel/trace/trace_syscalls.c 	int num;
num               449 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               450 kernel/trace/trace_syscalls.c 	if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls))
num               456 kernel/trace/trace_syscalls.c 		rcu_assign_pointer(tr->exit_syscall_files[num], file);
num               467 kernel/trace/trace_syscalls.c 	int num;
num               469 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               470 kernel/trace/trace_syscalls.c 	if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls))
num               474 kernel/trace/trace_syscalls.c 	RCU_INIT_POINTER(tr->exit_syscall_files[num], NULL);
num               483 kernel/trace/trace_syscalls.c 	int num;
num               485 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               486 kernel/trace/trace_syscalls.c 	if (num < 0 || num >= NR_syscalls) {
num               637 kernel/trace/trace_syscalls.c 	int num;
num               639 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               647 kernel/trace/trace_syscalls.c 		set_bit(num, enabled_perf_enter_syscalls);
num               656 kernel/trace/trace_syscalls.c 	int num;
num               658 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               662 kernel/trace/trace_syscalls.c 	clear_bit(num, enabled_perf_enter_syscalls);
num               733 kernel/trace/trace_syscalls.c 	int num;
num               735 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               743 kernel/trace/trace_syscalls.c 		set_bit(num, enabled_perf_exit_syscalls);
num               752 kernel/trace/trace_syscalls.c 	int num;
num               754 kernel/trace/trace_syscalls.c 	num = ((struct syscall_metadata *)call->data)->syscall_nr;
num               758 kernel/trace/trace_syscalls.c 	clear_bit(num, enabled_perf_exit_syscalls);
num               536 lib/bitmap.c   static const char *bitmap_getnum(const char *str, unsigned int *num)
num               547 lib/bitmap.c   	*num = n;
num                31 lib/bsearch.c  void *bsearch(const void *key, const void *base, size_t num, size_t size,
num                37 lib/bsearch.c  	while (num > 0) {
num                38 lib/bsearch.c  		pivot = base + (num >> 1) * size;
num                46 lib/bsearch.c  			num--;
num                48 lib/bsearch.c  		num >>= 1;
num               117 lib/extable.c  	       const size_t num,
num               120 lib/extable.c  	return bsearch(&value, base, num,
num               144 lib/flex_proportions.c 	s64 num, den;
num               149 lib/flex_proportions.c 		num = pl->events;
num               157 lib/flex_proportions.c 	if (den <= num) {
num               158 lib/flex_proportions.c 		if (num)
num               159 lib/flex_proportions.c 			den = num;
num               164 lib/flex_proportions.c 	*numerator = num;
num               232 lib/flex_proportions.c 	s64 num, den;
num               237 lib/flex_proportions.c 		num = percpu_counter_read_positive(&pl->events);
num               245 lib/flex_proportions.c 	if (den <= num) {
num               246 lib/flex_proportions.c 		if (num)
num               247 lib/flex_proportions.c 			den = num;
num               252 lib/flex_proportions.c 	*numerator = num;
num               109 lib/oid_registry.c 	unsigned long num;
num               125 lib/oid_registry.c 		num = 0;
num               128 lib/oid_registry.c 			num = n;
num               130 lib/oid_registry.c 			num = n & 0x7f;
num               135 lib/oid_registry.c 				num <<= 7;
num               136 lib/oid_registry.c 				num |= n & 0x7f;
num               139 lib/oid_registry.c 		ret += count = snprintf(buffer, bufsize, ".%lu", num);
num                70 lib/parser.c   			goto num;
num                73 lib/parser.c   			goto num;
num                76 lib/parser.c   			goto num;
num                79 lib/parser.c   		num:
num               204 lib/sort.c     void sort_r(void *base, size_t num, size_t size,
num               210 lib/sort.c     	size_t n = num * size, a = (num/2) * size;
num               271 lib/sort.c     void sort(void *base, size_t num, size_t size,
num               275 lib/sort.c     	return sort_r(base, num, size, _CMP_WRAPPER, swap_func, cmp_func);
num               164 lib/string_helpers.c 	u8 num;
num               169 lib/string_helpers.c 	num = (*q++) & 7;
num               170 lib/string_helpers.c 	while (num < 32 && isodigit(*q) && (q - *src < 3)) {
num               171 lib/string_helpers.c 		num <<= 3;
num               172 lib/string_helpers.c 		num += (*q++) & 7;
num               174 lib/string_helpers.c 	*p = num;
num               184 lib/string_helpers.c 	u8 num;
num               189 lib/string_helpers.c 	num = digit = hex_to_bin(*q++);
num               196 lib/string_helpers.c 		num = (num << 4) | digit;
num               198 lib/string_helpers.c 	*p = num;
num                12 lib/test_memcat_p.c 	int		num;
num                48 lib/test_memcat_p.c 		in0[i]->num = r;
num                49 lib/test_memcat_p.c 		in1[i]->num = -r;
num                62 lib/test_memcat_p.c 		total += (*p)->num;
num               304 lib/test_meminit.c 	int num, bytes;
num               310 lib/test_meminit.c 		num = kmem_cache_alloc_bulk(c, GFP_KERNEL, ARRAY_SIZE(objects),
num               312 lib/test_meminit.c 		for (i = 0; i < num; i++) {
num               319 lib/test_meminit.c 		if (num)
num               320 lib/test_meminit.c 			kmem_cache_free_bulk(c, num, objects);
num               342 lib/vsprintf.c int num_to_str(char *buf, int size, unsigned long long num, unsigned int width)
num               345 lib/vsprintf.c 	char tmp[sizeof(num) * 3] __aligned(2);
num               349 lib/vsprintf.c 	if (num <= 9) {
num               350 lib/vsprintf.c 		tmp[0] = '0' + num;
num               353 lib/vsprintf.c 		len = put_dec(tmp, num) - tmp;
num               416 lib/vsprintf.c char *number(char *buf, char *end, unsigned long long num,
num               420 lib/vsprintf.c 	char tmp[3 * sizeof(num)] __aligned(2);
num               425 lib/vsprintf.c 	bool is_zero = num == 0LL;
num               436 lib/vsprintf.c 		if ((signed long long)num < 0) {
num               438 lib/vsprintf.c 			num = -(signed long long)num;
num               457 lib/vsprintf.c 	if (num < spec.base)
num               458 lib/vsprintf.c 		tmp[i++] = hex_asc_upper[num] | locase;
num               466 lib/vsprintf.c 			tmp[i++] = (hex_asc_upper[((unsigned char)num) & mask] | locase);
num               467 lib/vsprintf.c 			num >>= shift;
num               468 lib/vsprintf.c 		} while (num);
num               470 lib/vsprintf.c 		i = put_dec(tmp, num) - tmp;
num               537 lib/vsprintf.c char *special_hex_number(char *buf, char *end, unsigned long long num, int size)
num               547 lib/vsprintf.c 	return number(buf, end, num, spec);
num              1674 lib/vsprintf.c 	unsigned long long num;
num              1682 lib/vsprintf.c 		num = *(const netdev_features_t *)addr;
num              1689 lib/vsprintf.c 	return special_hex_number(buf, end, num, size);
num              1696 lib/vsprintf.c 	unsigned long long num;
num              1704 lib/vsprintf.c 		num = *(const dma_addr_t *)addr;
num              1709 lib/vsprintf.c 		num = *(const phys_addr_t *)addr;
num              1714 lib/vsprintf.c 	return special_hex_number(buf, end, num, size);
num              2449 lib/vsprintf.c 	unsigned long long num;
num              2547 lib/vsprintf.c 				num = va_arg(args, long long);
num              2550 lib/vsprintf.c 				num = va_arg(args, unsigned long);
num              2553 lib/vsprintf.c 				num = va_arg(args, long);
num              2557 lib/vsprintf.c 					num = va_arg(args, ssize_t);
num              2559 lib/vsprintf.c 					num = va_arg(args, size_t);
num              2562 lib/vsprintf.c 				num = va_arg(args, ptrdiff_t);
num              2565 lib/vsprintf.c 				num = (unsigned char) va_arg(args, int);
num              2568 lib/vsprintf.c 				num = (signed char) va_arg(args, int);
num              2571 lib/vsprintf.c 				num = (unsigned short) va_arg(args, int);
num              2574 lib/vsprintf.c 				num = (short) va_arg(args, int);
num              2577 lib/vsprintf.c 				num = (int) va_arg(args, int);
num              2580 lib/vsprintf.c 				num = va_arg(args, unsigned int);
num              2583 lib/vsprintf.c 			str = number(str, end, num, spec);
num              3044 lib/vsprintf.c 			unsigned long long num;
num              3049 lib/vsprintf.c 				num = get_arg(long long);
num              3053 lib/vsprintf.c 				num = get_arg(unsigned long);
num              3056 lib/vsprintf.c 				num = get_arg(size_t);
num              3059 lib/vsprintf.c 				num = get_arg(ptrdiff_t);
num              3062 lib/vsprintf.c 				num = get_arg(unsigned char);
num              3065 lib/vsprintf.c 				num = get_arg(signed char);
num              3068 lib/vsprintf.c 				num = get_arg(unsigned short);
num              3071 lib/vsprintf.c 				num = get_arg(short);
num              3074 lib/vsprintf.c 				num = get_arg(unsigned int);
num              3077 lib/vsprintf.c 				num = get_arg(int);
num              3080 lib/vsprintf.c 			str = number(str, end, num, spec);
num              3136 lib/vsprintf.c 	int num = 0;
num              3176 lib/vsprintf.c 					return num;
num              3233 lib/vsprintf.c 			num++;
num              3248 lib/vsprintf.c 			num++;
num              3275 lib/vsprintf.c 				return num;
num              3285 lib/vsprintf.c 				return num;
num              3296 lib/vsprintf.c 				return num;
num              3301 lib/vsprintf.c 			++num;
num              3322 lib/vsprintf.c 				return num;
num              3326 lib/vsprintf.c 			return num;
num              3401 lib/vsprintf.c 		num++;
num              3408 lib/vsprintf.c 	return num;
num              1512 mm/memory.c    				unsigned long num, unsigned long offset)
num              1519 mm/memory.c    	if (offset >= num)
num              1523 mm/memory.c    	if (count > num - offset)
num              1555 mm/memory.c    				unsigned long num)
num              1557 mm/memory.c    	return __vm_map_pages(vma, pages, num, vma->vm_pgoff);
num              1575 mm/memory.c    				unsigned long num)
num              1577 mm/memory.c    	return __vm_map_pages(vma, pages, num, 0);
num               394 mm/nommu.c     			unsigned long num)
num               401 mm/nommu.c     				unsigned long num)
num               403 mm/slab.c      	unsigned int num;
num               424 mm/slab.c      		num = slab_size / buffer_size;
num               427 mm/slab.c      		num = slab_size / (buffer_size + sizeof(freelist_idx_t));
num               432 mm/slab.c      	return num;
num               820 mm/slab.c      				cachep->num;
num               835 mm/slab.c      		(1 + nr_cpus_node(node)) * cachep->batchcount + cachep->num;
num              1345 mm/slab.c      			(total_slabs * cachep->num) - free_objs,
num              1346 mm/slab.c      			total_slabs * cachep->num);
num              1558 mm/slab.c      		if (objnr + 1 < cachep->num) {
num              1579 mm/slab.c      	for (i = 0; i < cachep->num; i++) {
num              1660 mm/slab.c      		unsigned int num;
num              1663 mm/slab.c      		num = cache_estimate(gfporder, size, flags, &remainder);
num              1664 mm/slab.c      		if (!num)
num              1668 mm/slab.c      		if (num > SLAB_OBJ_MAX_NUM)
num              1675 mm/slab.c      			freelist_size = num * sizeof(freelist_idx_t);
num              1693 mm/slab.c      		cachep->num = num;
num              1812 mm/slab.c      	cachep->num = 0;
num              1827 mm/slab.c      	if (!cachep->num)
num              1830 mm/slab.c      	if (cachep->num * sizeof(freelist_idx_t) > cachep->object_size)
num              1843 mm/slab.c      	cachep->num = 0;
num              1857 mm/slab.c      	if (!cachep->num)
num              1864 mm/slab.c      	if (left >= cachep->num * sizeof(freelist_idx_t))
num              1877 mm/slab.c      	cachep->num = 0;
num              1880 mm/slab.c      	if (!cachep->num)
num              2041 mm/slab.c      	cachep->freelist_size = cachep->num * sizeof(freelist_idx_t);
num              2206 mm/slab.c      		n->free_objects -= cache->num;
num              2336 mm/slab.c      	for (i = 0; i < cachep->num; i++) {
num              2433 mm/slab.c      	unsigned int objfreelist = 0, i, rand, count = cachep->num;
num              2473 mm/slab.c      		set_free_obj(page, cachep->num - 1, objfreelist);
num              2498 mm/slab.c      		page->freelist = index_to_obj(cachep, page, cachep->num - 1) +
num              2502 mm/slab.c      	for (i = 0; i < cachep->num; i++) {
num              2536 mm/slab.c      	for (i = page->active; i < cachep->num; i++) {
num              2669 mm/slab.c      	n->free_objects += cachep->num - page->active;
num              2735 mm/slab.c      	BUG_ON(objnr >= cachep->num);
num              2771 mm/slab.c      	if (page->active == cachep->num) {
num              2892 mm/slab.c      	BUG_ON(page->active >= cachep->num);
num              2894 mm/slab.c      	while (page->active < cachep->num && batchcount--) {
num              3194 mm/slab.c      	BUG_ON(page->active == cachep->num);
num              3362 mm/slab.c      		n->free_objects -= cachep->num;
num              3875 mm/slab.c      	err = cache_random_seq_create(cachep, cachep->num, gfp);
num              4021 mm/slab.c      				5 * searchp->num - 1) / (5 * searchp->num));
num              4057 mm/slab.c      	num_objs = total_slabs * cachep->num;
num              4069 mm/slab.c      	sinfo->objects_per_slab = cachep->num;
num              4179 mm/slab.c      	BUG_ON(objnr >= cachep->num);
num               146 net/9p/trans_xen.c 	int num;
num               157 net/9p/trans_xen.c 	num = p9_req->tc.tag % priv->num_rings;
num               158 net/9p/trans_xen.c 	ring = &priv->rings[num];
num               353 net/bluetooth/cmtp/capi.c 		contr = (contr & 0xffffff80) | session->num;
num               492 net/bluetooth/cmtp/capi.c 	if ((contr & 0x7f) == session->num) {
num               515 net/bluetooth/cmtp/capi.c 	seq_printf(m, "ctrl %d\n", session->num);
num               569 net/bluetooth/cmtp/capi.c 	session->num = session->ctrl.cnr;
num               571 net/bluetooth/cmtp/capi.c 	BT_DBG("session %p num %d", session, session->num);
num                53 net/bluetooth/cmtp/cmtp.h 	int      num;
num                90 net/bluetooth/cmtp/cmtp.h 	int num;
num                85 net/bluetooth/cmtp/core.c 	ci->num = session->num;
num               385 net/bluetooth/cmtp/core.c 								session->num);
num              1216 net/bluetooth/hci_core.c static int inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf)
num              1226 net/bluetooth/hci_core.c 		if (copied >= num)
num              3822 net/bluetooth/hci_core.c 	unsigned int num = 0, min = ~0;
num              3836 net/bluetooth/hci_core.c 		num++;
num              3843 net/bluetooth/hci_core.c 		if (hci_conn_num(hdev, type) == num)
num              3868 net/bluetooth/hci_core.c 		q = cnt / num;
num              3903 net/bluetooth/hci_core.c 	unsigned int num = 0, min = ~0, cur_prio = 0;
num              3933 net/bluetooth/hci_core.c 				num = 0;
num              3938 net/bluetooth/hci_core.c 			num++;
num              3974 net/bluetooth/hci_core.c 	q = cnt / num;
num              3984 net/bluetooth/hci_core.c 	int num = 0;
num              3999 net/bluetooth/hci_core.c 		num++;
num              4022 net/bluetooth/hci_core.c 		if (hci_conn_num(hdev, type) == num)
num               444 net/bridge/br_fdb.c 	int num = 0;
num               450 net/bridge/br_fdb.c 		if (num >= maxnum)
num               476 net/bridge/br_fdb.c 		++num;
num               480 net/bridge/br_fdb.c 	return num;
num                20 net/bridge/br_ioctl.c static int get_bridge_ifindices(struct net *net, int *indices, int num)
num                27 net/bridge/br_ioctl.c 		if (i >= num)
num                38 net/bridge/br_ioctl.c static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num)
num                43 net/bridge/br_ioctl.c 		if (p->port_no < num)
num                58 net/bridge/br_ioctl.c 	int num;
num                72 net/bridge/br_ioctl.c 	num = br_fdb_fillbuf(br, buf, maxnum, offset);
num                73 net/bridge/br_ioctl.c 	if (num > 0) {
num                74 net/bridge/br_ioctl.c 		if (copy_to_user(userbuf, buf, num*sizeof(struct __fdb_entry)))
num                75 net/bridge/br_ioctl.c 			num = -EFAULT;
num                79 net/bridge/br_ioctl.c 	return num;
num               159 net/bridge/br_ioctl.c 		int num, *indices;
num               161 net/bridge/br_ioctl.c 		num = args[2];
num               162 net/bridge/br_ioctl.c 		if (num < 0)
num               164 net/bridge/br_ioctl.c 		if (num == 0)
num               165 net/bridge/br_ioctl.c 			num = 256;
num               166 net/bridge/br_ioctl.c 		if (num > BR_MAX_PORTS)
num               167 net/bridge/br_ioctl.c 			num = BR_MAX_PORTS;
num               169 net/bridge/br_ioctl.c 		indices = kcalloc(num, sizeof(int), GFP_KERNEL);
num               173 net/bridge/br_ioctl.c 		get_port_ifindices(br, indices, num);
num               174 net/bridge/br_ioctl.c 		if (copy_to_user((void __user *)args[1], indices, num*sizeof(int)))
num               175 net/bridge/br_ioctl.c 			num =  -EFAULT;
num               177 net/bridge/br_ioctl.c 		return num;
num               926 net/bridge/br_multicast.c 	int num;
num               933 net/bridge/br_multicast.c 	num = ntohs(ih->ngrec);
num               936 net/bridge/br_multicast.c 	for (i = 0; i < num; i++) {
num               993 net/bridge/br_multicast.c 	int num;
num              1000 net/bridge/br_multicast.c 	num = ntohs(icmp6h->icmp6_dataun.un_data16[1]);
num              1003 net/bridge/br_multicast.c 	for (i = 0; i < num; i++) {
num               109 net/ceph/auth.c 	int i, num;
num               125 net/ceph/auth.c 	num = ARRAY_SIZE(supported_protocols);
num               126 net/ceph/auth.c 	ceph_encode_32(&p, num);
num               127 net/ceph/auth.c 	ceph_decode_need(&p, end, num * sizeof(u32), bad);
num               128 net/ceph/auth.c 	for (i = 0; i < num; i++)
num               272 net/ceph/auth_x.c 	u32 num;
num               279 net/ceph/auth_x.c 	ceph_decode_32_safe(&p, end, num, bad);
num               280 net/ceph/auth_x.c 	dout("%d tickets\n", num);
num               282 net/ceph/auth_x.c 	while (num--) {
num               705 net/ceph/messenger.c 	con->peer_name.num = cpu_to_le64(entity_num);
num               264 net/ceph/mon_client.c 	int num = 0;
num               278 net/ceph/mon_client.c 			num++;
num               280 net/ceph/mon_client.c 	BUG_ON(num < 1); /* monmap sub is always there */
num               281 net/ceph/mon_client.c 	ceph_encode_32(&p, num);
num              1033 net/ceph/mon_client.c 		monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
num              1186 net/ceph/mon_client.c 		monc->client->msgr.inst.name.num =
num              1331 net/ceph/mon_client.c 			le64_to_cpu(con->peer_name.num));
num              3610 net/ceph/osd_client.c 	WARN_ON(osd->o_osd != le64_to_cpu(msg->hdr.src.num));
num              4345 net/ceph/osd_client.c 	WARN_ON(osd->o_osd != le64_to_cpu(msg->hdr.src.num));
num              5459 net/ceph/osd_client.c 	WARN_ON(osd->o_osd != le64_to_cpu(hdr->src.num));
num               732 net/ceph/osdmap.c 	unsigned len, num;
num               763 net/ceph/osdmap.c 	num = ceph_decode_32(p);
num               764 net/ceph/osdmap.c 	while (num--) {
num               772 net/ceph/osdmap.c 	num = ceph_decode_32(p);
num               773 net/ceph/osdmap.c 	*p += num * (8 + 8);
num               789 net/ceph/osdmap.c 		num = ceph_decode_32(p);
num               790 net/ceph/osdmap.c 		*p += num * 8;
num               804 net/ceph/osdmap.c 		num = ceph_decode_32(p);
num               805 net/ceph/osdmap.c 		while (num--) {
num               896 net/ceph/osdmap.c 	u32 num, len;
num               899 net/ceph/osdmap.c 	ceph_decode_32_safe(p, end, num, bad);
num               900 net/ceph/osdmap.c 	dout(" %d pool names\n", num);
num               901 net/ceph/osdmap.c 	while (num--) {
num                71 net/core/lwtunnel.c 			   unsigned int num)
num                73 net/core/lwtunnel.c 	if (num > LWTUNNEL_ENCAP_MAX)
num                77 net/core/lwtunnel.c 			&lwtun_encaps[num],
num               711 net/core/pktgen.c 		     __u32 *num)
num               714 net/core/pktgen.c 	*num = 0;
num               719 net/core/pktgen.c 		*num <<= 4;
num               724 net/core/pktgen.c 			*num |= value;
num               757 net/core/pktgen.c 				unsigned long *num)
num               760 net/core/pktgen.c 	*num = 0;
num               767 net/core/pktgen.c 			*num *= 10;
num               768 net/core/pktgen.c 			*num += c - '0';
num                70 net/core/scm.c 	int i, num;
num                72 net/core/scm.c 	num = (cmsg->cmsg_len - sizeof(struct cmsghdr))/sizeof(int);
num                74 net/core/scm.c 	if (num <= 0)
num                77 net/core/scm.c 	if (num > SCM_MAX_FD)
num                92 net/core/scm.c 	if (fpl->count + num > fpl->max)
num                99 net/core/scm.c 	for (i=0; i< num; i++)
num               113 net/core/scm.c 	return num;
num               174 net/dccp/ackvec.c static void dccp_ackvec_reserve_seats(struct dccp_ackvec *av, u16 num)
num               180 net/dccp/ackvec.c 	if (num > len) {
num               183 net/dccp/ackvec.c 		num  -= len;
num               185 net/dccp/ackvec.c 	if (num)
num               186 net/dccp/ackvec.c 		memset(av->av_buf + start, DCCPAV_NOT_RECEIVED, num);
num               248 net/ieee802154/core.c 			   int iftype, int num)
num               252 net/ieee802154/core.c 	rdev->num_running_ifaces += num;
num               899 net/ipv4/inet_diag.c 	int i, num, s_i, s_num;
num               905 net/ipv4/inet_diag.c 	s_num = num = cb->args[2];
num               915 net/ipv4/inet_diag.c 			num = 0;
num               924 net/ipv4/inet_diag.c 				if (num < s_num) {
num               925 net/ipv4/inet_diag.c 					num++;
num               944 net/ipv4/inet_diag.c 				++num;
num               952 net/ipv4/inet_diag.c 		s_i = num = s_num = 0;
num               974 net/ipv4/inet_diag.c 		num = 0;
num               982 net/ipv4/inet_diag.c 			if (num < s_num)
num              1005 net/ipv4/inet_diag.c 			num_arr[accum] = num;
num              1010 net/ipv4/inet_diag.c 			++num;
num              1022 net/ipv4/inet_diag.c 					num = num_arr[idx];
num              1030 net/ipv4/inet_diag.c 			s_num = num + 1;
num              1037 net/ipv4/inet_diag.c 	cb->args[2] = num;
num               433 net/ipv4/ip_tunnel.c 			    unsigned int num)
num               435 net/ipv4/ip_tunnel.c 	if (num >= MAX_IPTUN_ENCAP_OPS)
num               439 net/ipv4/ip_tunnel.c 			&iptun_encaps[num],
num               445 net/ipv4/ip_tunnel.c 			    unsigned int num)
num               449 net/ipv4/ip_tunnel.c 	if (num >= MAX_IPTUN_ENCAP_OPS)
num               453 net/ipv4/ip_tunnel.c 		       &iptun_encaps[num],
num              1671 net/ipv4/ipconfig.c 	int num = 0;
num              1701 net/ipv4/ipconfig.c 			pr_debug("IP-Config: Parameter #%d: `%s'\n", num, ip);
num              1702 net/ipv4/ipconfig.c 			switch (num) {
num              1762 net/ipv4/ipconfig.c 		num++;
num               673 net/ipv4/netfilter/arp_tables.c 	unsigned int off, num;
num               688 net/ipv4/netfilter/arp_tables.c 	for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){
num               698 net/ipv4/netfilter/arp_tables.c 				 &counters[num],
num               699 net/ipv4/netfilter/arp_tables.c 				 sizeof(counters[num])) != 0) {
num               815 net/ipv4/netfilter/ip_tables.c 	unsigned int off, num;
num               830 net/ipv4/netfilter/ip_tables.c 	for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){
num               842 net/ipv4/netfilter/ip_tables.c 				 &counters[num],
num               843 net/ipv4/netfilter/ip_tables.c 				 sizeof(counters[num])) != 0) {
num                62 net/ipv4/ping.c static inline u32 ping_hashfn(const struct net *net, u32 num, u32 mask)
num                64 net/ipv4/ping.c 	u32 res = (num + net_hash_mix(net)) & mask;
num                66 net/ipv4/ping.c 	pr_debug("hash(%u) = %u\n", num, res);
num                72 net/ipv4/ping.c 					     struct net *net, unsigned int num)
num                74 net/ipv4/ping.c 	return &table->hash[ping_hashfn(net, num, PING_HTABLE_MASK)];
num               121 net/ipv4/raw.c 			     unsigned short num, __be32 raddr, __be32 laddr,
num               127 net/ipv4/raw.c 		if (net_eq(sock_net(sk), net) && inet->inet_num == num	&&
num               153 net/ipv4/raw_diag.c 	int num, s_num, slot, s_slot;
num               160 net/ipv4/raw_diag.c 	num = s_num = cb->args[1];
num               164 net/ipv4/raw_diag.c 		num = 0;
num               171 net/ipv4/raw_diag.c 			if (num < s_num)
num               184 net/ipv4/raw_diag.c 			num++;
num               192 net/ipv4/raw_diag.c 	cb->args[1] = num;
num                87 net/ipv4/tcp_fastopen.c 		ctx->num = 2;
num                89 net/ipv4/tcp_fastopen.c 		ctx->num = 1;
num              2164 net/ipv4/tcp_ipv4.c 	++st->num;
num              2247 net/ipv4/tcp_ipv4.c 	++st->num;
num              2298 net/ipv4/tcp_ipv4.c 	int orig_num = st->num;
num              2322 net/ipv4/tcp_ipv4.c 	st->num = orig_num;
num              2339 net/ipv4/tcp_ipv4.c 	st->num = 0;
num              2522 net/ipv4/tcp_ipv4.c 		get_timewait4_sock(v, seq, st->num);
num              2524 net/ipv4/tcp_ipv4.c 		get_openreq4(v, seq, st->num);
num              2526 net/ipv4/tcp_ipv4.c 		get_tcp4_sock(v, seq, st->num);
num               128 net/ipv4/udp.c static int udp_lib_lport_inuse(struct net *net, __u16 num,
num               139 net/ipv4/udp.c 		    (bitmap || udp_sk(sk2)->udp_port_hash == num) &&
num               164 net/ipv4/udp.c static int udp_lib_lport_inuse2(struct net *net, __u16 num,
num               176 net/ipv4/udp.c 		    (udp_sk(sk2)->udp_port_hash == num) &&
num               101 net/ipv4/udp_diag.c 	int num, s_num, slot, s_slot;
num               104 net/ipv4/udp_diag.c 	num = s_num = cb->args[1];
num               110 net/ipv4/udp_diag.c 		num = 0;
num               121 net/ipv4/udp_diag.c 			if (num < s_num)
num               140 net/ipv4/udp_diag.c 			num++;
num               146 net/ipv4/udp_diag.c 	cb->args[1] = num;
num              1721 net/ipv6/ip6_tunnel.c 			  unsigned int num)
num              1723 net/ipv6/ip6_tunnel.c 	if (num >= MAX_IPTUN_ENCAP_OPS)
num              1727 net/ipv6/ip6_tunnel.c 			&ip6tun_encaps[num],
num              1733 net/ipv6/ip6_tunnel.c 			  unsigned int num)
num              1737 net/ipv6/ip6_tunnel.c 	if (num >= MAX_IPTUN_ENCAP_OPS)
num              1741 net/ipv6/ip6_tunnel.c 		       &ip6tun_encaps[num],
num               831 net/ipv6/netfilter/ip6_tables.c 	unsigned int off, num;
num               846 net/ipv6/netfilter/ip6_tables.c 	for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){
num               858 net/ipv6/netfilter/ip6_tables.c 				 &counters[num],
num               859 net/ipv6/netfilter/ip6_tables.c 				 sizeof(counters[num])) != 0) {
num                70 net/ipv6/raw.c 		unsigned short num, const struct in6_addr *loc_addr,
num                76 net/ipv6/raw.c 		if (inet_sk(sk)->inet_num == num) {
num              1972 net/ipv6/tcp_ipv6.c 		get_timewait6_sock(seq, v, st->num);
num              1974 net/ipv6/tcp_ipv6.c 		get_openreq6(seq, v, st->num);
num              1976 net/ipv6/tcp_ipv6.c 		get_tcp6_sock(seq, v, st->num);
num                17 net/mac80211/chan.c 	int num = 0;
num                22 net/mac80211/chan.c 		num++;
num                24 net/mac80211/chan.c 	return num;
num                31 net/mac80211/chan.c 	int num = 0;
num                36 net/mac80211/chan.c 		num++;
num                38 net/mac80211/chan.c 	return num;
num                51 net/mac80211/chan.c 	int num = 0;
num                56 net/mac80211/chan.c 		num++;
num                58 net/mac80211/chan.c 	return num;
num              1494 net/mac80211/ibss.c 		unsigned int num;
num              1501 net/mac80211/ibss.c 			num = ieee80211_ibss_setup_scan_channels(local->hw.wiphy,
num              1507 net/mac80211/ibss.c 						    num, scan_width);
num              1612 net/mac80211/sta_info.c 		int num = 0;
num              1623 net/mac80211/sta_info.c 			num++;
num              1696 net/mac80211/sta_info.c 				num++;
num              1701 net/mac80211/sta_info.c 		drv_allow_buffered_frames(local, sta, tids, num,
num                50 net/netfilter/core.c static struct nf_hook_entries *allocate_hook_entries_size(u16 num)
num                54 net/netfilter/core.c 		       sizeof(struct nf_hook_entry) * num +
num                55 net/netfilter/core.c 		       sizeof(struct nf_hook_ops *) * num +
num                58 net/netfilter/core.c 	if (num == 0)
num                63 net/netfilter/core.c 		e->num_hook_entries = num;
num                79 net/netfilter/core.c 	unsigned int num;
num                84 net/netfilter/core.c 	num = e->num_hook_entries;
num                86 net/netfilter/core.c 	head = (void *)&ops[num];
num              1546 net/netfilter/nf_tables_api.c 	u32				num;
num              1575 net/netfilter/nf_tables_api.c 	hook->num = ntohl(nla_get_be32(ha[NFTA_HOOK_HOOKNUM]));
num              1588 net/netfilter/nf_tables_api.c 	if (hook->num > NF_MAX_HOOKS || !(type->hook_mask & (1 << hook->num)))
num              1699 net/netfilter/nf_tables_api.c 		ops->hooknum	= hook.num;
num              1803 net/netfilter/nf_tables_api.c 		if (ops->hooknum != hook.num ||
num                98 net/netlink/diag.c 	int num = 2;
num               106 net/netlink/diag.c 	num--;
num               152 net/netlink/diag.c 	num++;
num               161 net/netlink/diag.c 		if (num < s_num) {
num               162 net/netlink/diag.c 			num++;
num               174 net/netlink/diag.c 		num++;
num               179 net/netlink/diag.c 	cb->args[0] = num;
num               175 net/nfc/nci/core.c 	__u8 *num = &cmd.num_mapping_configs;
num               179 net/nfc/nci/core.c 	*num = 0;
num               185 net/nfc/nci/core.c 			cfg[*num].rf_protocol = NCI_RF_PROTOCOL_ISO_DEP;
num               186 net/nfc/nci/core.c 			cfg[*num].mode = NCI_DISC_MAP_MODE_POLL |
num               188 net/nfc/nci/core.c 			cfg[*num].rf_interface = NCI_RF_INTERFACE_ISO_DEP;
num               189 net/nfc/nci/core.c 			(*num)++;
num               192 net/nfc/nci/core.c 			cfg[*num].rf_protocol = NCI_RF_PROTOCOL_NFC_DEP;
num               193 net/nfc/nci/core.c 			cfg[*num].mode = NCI_DISC_MAP_MODE_POLL |
num               195 net/nfc/nci/core.c 			cfg[*num].rf_interface = NCI_RF_INTERFACE_NFC_DEP;
num               196 net/nfc/nci/core.c 			(*num)++;
num               199 net/nfc/nci/core.c 		if (*num == NCI_MAX_NUM_MAPPING_CONFIGS)
num               204 net/nfc/nci/core.c 		     (1 + ((*num) * sizeof(struct disc_map_config))), &cmd);
num               532 net/openvswitch/flow_table.c 	int num = 0;
num               535 net/openvswitch/flow_table.c 		num++;
num               537 net/openvswitch/flow_table.c 	return num;
num              1319 net/packet/af_packet.c 				      unsigned int num)
num              1321 net/packet/af_packet.c 	return reciprocal_scale(__skb_get_hash_symmetric(skb), num);
num              1326 net/packet/af_packet.c 				    unsigned int num)
num              1330 net/packet/af_packet.c 	return val % num;
num              1335 net/packet/af_packet.c 				     unsigned int num)
num              1337 net/packet/af_packet.c 	return smp_processor_id() % num;
num              1342 net/packet/af_packet.c 				     unsigned int num)
num              1344 net/packet/af_packet.c 	return prandom_u32_max(num);
num              1350 net/packet/af_packet.c 					  unsigned int num)
num              1365 net/packet/af_packet.c 	i = j = min_t(int, po->rollover->sock, num - 1);
num              1372 net/packet/af_packet.c 			atomic_long_inc(&po->rollover->num);
num              1378 net/packet/af_packet.c 		if (++i == num)
num              1388 net/packet/af_packet.c 				    unsigned int num)
num              1390 net/packet/af_packet.c 	return skb_get_queue_mapping(skb) % num;
num              1395 net/packet/af_packet.c 				     unsigned int num)
num              1403 net/packet/af_packet.c 		ret = bpf_prog_run_clear_cb(prog, skb) % num;
num              1418 net/packet/af_packet.c 	unsigned int num = READ_ONCE(f->num_members);
num              1423 net/packet/af_packet.c 	if (!net_eq(dev_net(dev), net) || !num) {
num              1436 net/packet/af_packet.c 		idx = fanout_demux_hash(f, skb, num);
num              1439 net/packet/af_packet.c 		idx = fanout_demux_lb(f, skb, num);
num              1442 net/packet/af_packet.c 		idx = fanout_demux_cpu(f, skb, num);
num              1445 net/packet/af_packet.c 		idx = fanout_demux_rnd(f, skb, num);
num              1448 net/packet/af_packet.c 		idx = fanout_demux_qm(f, skb, num);
num              1451 net/packet/af_packet.c 		idx = fanout_demux_rollover(f, skb, 0, false, num);
num              1455 net/packet/af_packet.c 		idx = fanout_demux_bpf(f, skb, num);
num              1460 net/packet/af_packet.c 		idx = fanout_demux_rollover(f, skb, idx, true, num);
num              1670 net/packet/af_packet.c 		atomic_long_set(&rollover->num, 0);
num              2649 net/packet/af_packet.c 		proto	= po->num;
num              2862 net/packet/af_packet.c 		proto	= po->num;
num              3134 net/packet/af_packet.c 			po->num = 0;
num              3144 net/packet/af_packet.c 		po->num = proto;
num              3201 net/packet/af_packet.c 	return packet_do_bind(sk, name, 0, pkt_sk(sk)->num);
num              3219 net/packet/af_packet.c 			      sll->sll_protocol ? : pkt_sk(sk)->num);
num              3262 net/packet/af_packet.c 	po->num = proto;
num              3489 net/packet/af_packet.c 	sll->sll_protocol = po->num;
num              4017 net/packet/af_packet.c 		rstats.tp_all = atomic_long_read(&po->rollover->num);
num              4103 net/packet/af_packet.c 				if (po->num)
num              4294 net/packet/af_packet.c 	__be16 num;
num              4396 net/packet/af_packet.c 	num = po->num;
num              4398 net/packet/af_packet.c 		po->num = 0;
num              4433 net/packet/af_packet.c 		po->num = num;
num              4606 net/packet/af_packet.c 			   ntohs(po->num),
num               146 net/packet/diag.c 	rp->pdiag_num = ntohs(po->num);
num               190 net/packet/diag.c 	int num = 0, s_num = cb->args[0];
num               204 net/packet/diag.c 		if (num < s_num)
num               215 net/packet/diag.c 		num++;
num               219 net/packet/diag.c 	cb->args[0] = num;
num               101 net/packet/internal.h 	atomic_long_t		num;
num               126 net/packet/internal.h 	__be16			num;
num                61 net/rds/message.c 	int ncookies = ck->num;
num                66 net/rds/message.c 	ck->num =  ++ncookies;
num                72 net/rxrpc/key.c 	unsigned long num;
num                75 net/rxrpc/key.c 	num = simple_strtoul(desc, &p, 10);
num                76 net/rxrpc/key.c 	if (*p != ':' || num > 65535)
num                78 net/rxrpc/key.c 	num = simple_strtoul(p + 1, &p, 10);
num                79 net/rxrpc/key.c 	if (*p || num < 1 || num > 255)
num              7008 net/sctp/socket.c 		goto num;
num              7017 net/sctp/socket.c num:
num              7059 net/sctp/socket.c 		goto num;
num              7067 net/sctp/socket.c num:
num              7144 net/sctp/socket.c 	u32 num = 0;
num              7153 net/sctp/socket.c 		num++;
num              7156 net/sctp/socket.c 	if (len < sizeof(struct sctp_assoc_ids) + sizeof(sctp_assoc_t) * num)
num              7159 net/sctp/socket.c 	len = sizeof(struct sctp_assoc_ids) + sizeof(sctp_assoc_t) * num;
num              7165 net/sctp/socket.c 	ids->gaids_number_of_ids = num;
num              7166 net/sctp/socket.c 	num = 0;
num              7168 net/sctp/socket.c 		ids->gaids_assoc_id[num++] = asoc->assoc_id;
num                39 net/smc/smc_core.c 	.num = 0,
num               228 net/smc/smc_core.c 	smc_lgr_list.num += SMC_LGR_NUM_INCR;
num               229 net/smc/smc_core.c 	memcpy(&lgr->id, (u8 *)&smc_lgr_list.num, SMC_LGR_ID_SIZE);
num                26 net/smc/smc_core.h 	u32			num;	/* unique link group number */
num               356 net/smc/smc_wr.c static inline void smc_wr_rx_process_cqes(struct ib_wc wc[], int num)
num               361 net/smc/smc_wr.c 	for (i = 0; i < num; i++) {
num               674 net/socket.c   		   struct kvec *vec, size_t num, size_t size)
num               676 net/socket.c   	iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size);
num               695 net/socket.c   			  struct kvec *vec, size_t num, size_t size)
num               702 net/socket.c   	iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size);
num               910 net/socket.c   		   struct kvec *vec, size_t num, size_t size, int flags)
num               915 net/socket.c   	iov_iter_kvec(&msg->msg_iter, READ, vec, num, size);
num                61 net/sunrpc/auth.c 	unsigned long num;
num                67 net/sunrpc/auth.c 	ret = kstrtoul(val, 0, &num);
num                70 net/sunrpc/auth.c 	nbits = fls(num - 1);
num              3271 net/sunrpc/xprtsock.c 	unsigned int num;
num              3276 net/sunrpc/xprtsock.c 	ret = kstrtouint(val, 0, &num);
num              3279 net/sunrpc/xprtsock.c 	if (num < min || num > max)
num              3281 net/sunrpc/xprtsock.c 	*((unsigned int *)kp->arg) = num;
num               268 net/tipc/discover.c 	int intv, num;
num               272 net/tipc/discover.c 	num = d->num_nodes;
num               274 net/tipc/discover.c 	if (!num && (intv == TIPC_DISC_INACTIVE || intv > TIPC_DISC_FAST))  {
num               198 net/unix/diag.c 	int num, s_num, slot, s_slot;
num               204 net/unix/diag.c 	num = s_num = cb->args[1];
num               212 net/unix/diag.c 		num = 0;
num               216 net/unix/diag.c 			if (num < s_num)
num               226 net/unix/diag.c 			num++;
num               232 net/unix/diag.c 	cb->args[1] = num;
num              1128 net/wireless/core.c 			       enum nl80211_iftype iftype, int num)
num              1132 net/wireless/core.c 	rdev->num_running_ifaces += num;
num              1134 net/wireless/core.c 		rdev->num_running_monitor_ifaces += num;
num               523 net/wireless/core.h 			       enum nl80211_iftype iftype, int num);
num              1830 net/wireless/util.c 	int *num = data;
num              1831 net/wireless/util.c 	(*num)++;
num              1837 net/wireless/util.c 	int err, num = 0;
num              1840 net/wireless/util.c 					 cfg80211_iter_sum_ifcombs, &num);
num              1843 net/wireless/util.c 	if (num == 0)
num                59 net/wireless/wext-priv.c 	int	num = args & IW_PRIV_SIZE_MASK;
num                62 net/wireless/wext-priv.c 	return num * iw_priv_type_size[type];
num                67 net/wireless/wext-priv.c 	int	num = iwp->length;
num                72 net/wireless/wext-priv.c 	if (max < num)
num                73 net/wireless/wext-priv.c 		num = max;
num                75 net/wireless/wext-priv.c 	return num * iw_priv_type_size[type];
num               135 net/xdp/xsk_diag.c 	int num = 0, s_num = cb->args[0];
num               143 net/xdp/xsk_diag.c 		if (num++ < s_num)
num               151 net/xdp/xsk_diag.c 			num--;
num               157 net/xdp/xsk_diag.c 	cb->args[0] = num;
num              2322 net/xfrm/xfrm_user.c 				  struct nlattr **attrs, int *num)
num              2358 net/xfrm/xfrm_user.c 	*num = i;
num                82 samples/mic/mpssd/mpssd.c 		.num = htole16(MIC_VRING_ENTRIES),
num                85 samples/mic/mpssd/mpssd.c 		.num = htole16(MIC_VRING_ENTRIES),
num               102 samples/mic/mpssd/mpssd.c 		.num = htole16(MIC_VRING_ENTRIES),
num               105 samples/mic/mpssd/mpssd.c 		.num = htole16(MIC_VRING_ENTRIES),
num               134 samples/mic/mpssd/mpssd.c 		.num = htole16(MIC_VRING_ENTRIES),
num               404 samples/mic/mpssd/mpssd.c static inline unsigned _vring_size(unsigned int num, unsigned long align)
num               406 samples/mic/mpssd/mpssd.c 	return ((sizeof(struct vring_desc) * num + sizeof(__u16) * (3 + num)
num               408 samples/mic/mpssd/mpssd.c 		+ sizeof(__u16) * 3 + sizeof(struct vring_used_elem) * num;
num              1220 samples/mic/mpssd/mpssd.c 					(vring.vr.num - 1);
num              1229 samples/mic/mpssd/mpssd.c 					vring.vr.num, desc);
num                21 scripts/dtc/include-prefixes/dt-bindings/interrupt-controller/arm-gic.h #define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
num              1335 security/selinux/selinuxfs.c 	int num;
num              1355 security/selinux/selinuxfs.c 	ret = security_get_bools(fsi->state, &num, &names, &values);
num              1359 security/selinux/selinuxfs.c 	for (i = 0; i < num; i++) {
num              1395 security/selinux/selinuxfs.c 	fsi->bool_num = num;
num              1405 security/selinux/selinuxfs.c 		for (i = 0; i < num; i++)
num               355 security/selinux/ss/policydb.h static inline int put_entry(const void *buf, size_t bytes, int num, struct policy_file *fp)
num               357 security/selinux/ss/policydb.h 	size_t len = bytes * num;
num                97 sound/ac97/bus.c 	ac97_ctrl->codecs[adev->num] = NULL;
num               116 sound/ac97/bus.c 	codec->num = idx;
num               224 sound/ac97/bus.c 	return ac97_ctrl->codecs_pdata[adev->num];
num                44 sound/ac97/snd_ac97_compat.c 	actrl->ops->write(actrl, ac97->num, reg, val);
num                53 sound/ac97/snd_ac97_compat.c 	return actrl->ops->read(actrl, ac97->num, reg);
num               107 sound/ac97/snd_ac97_compat.c 		scanned = snd_ac97_bus_scan_one(actrl, adev->num);
num               114 sound/ac97/snd_ac97_compat.c 	scanned = snd_ac97_bus_scan_one(actrl, adev->num);
num                39 sound/arm/aaci.c 	u32 v, maincr = aaci->maincr | MAINCR_SCRA(ac97->num);
num                73 sound/arm/aaci.c 	if (ac97->num >= 4)
num               113 sound/arm/aaci.c 	if (ac97->num >= 4)
num               860 sound/arm/aaci.c 	ac97_template.num = 0;
num                40 sound/arm/pxa2xx-ac97.c 	ret = pxa2xx_ac97_read(ac97->num, reg);
num                52 sound/arm/pxa2xx-ac97.c 	ret = pxa2xx_ac97_write(ac97->num, reg, val);
num                24 sound/core/info_oss.c int snd_oss_info_register(int dev, int num, char *string)
num                30 sound/core/info_oss.c 	if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS))
num                34 sound/core/info_oss.c 		if ((x = snd_sndstat_strings[num][dev]) != NULL) {
num                45 sound/core/info_oss.c 	snd_sndstat_strings[num][dev] = x;
num               789 sound/core/pcm_lib.c 		unsigned int num = rats[k].num;
num               795 sound/core/pcm_lib.c 		den = div_up(num, q);
num               806 sound/core/pcm_lib.c 		diff = num - q * den;
num               813 sound/core/pcm_lib.c 			best_num = num;
num               828 sound/core/pcm_lib.c 		unsigned int num = rats[k].num;
num               836 sound/core/pcm_lib.c 		den = div_down(num, q);
num               847 sound/core/pcm_lib.c 		diff = q * den - num;
num               854 sound/core/pcm_lib.c 			best_num = num;
num               905 sound/core/pcm_lib.c 		unsigned int num;
num               909 sound/core/pcm_lib.c 		num = mul(q, den);
num               910 sound/core/pcm_lib.c 		if (num > rats[k].num_max)
num               912 sound/core/pcm_lib.c 		if (num < rats[k].num_min)
num               913 sound/core/pcm_lib.c 			num = rats[k].num_max;
num               916 sound/core/pcm_lib.c 			r = (num - rats[k].num_min) % rats[k].num_step;
num               918 sound/core/pcm_lib.c 				num += rats[k].num_step - r;
num               920 sound/core/pcm_lib.c 		diff = num - q * den;
num               925 sound/core/pcm_lib.c 			best_num = num;
num               937 sound/core/pcm_lib.c 		unsigned int num;
num               941 sound/core/pcm_lib.c 		num = mul(q, den);
num               942 sound/core/pcm_lib.c 		if (num < rats[k].num_min)
num               944 sound/core/pcm_lib.c 		if (num > rats[k].num_max)
num               945 sound/core/pcm_lib.c 			num = rats[k].num_max;
num               948 sound/core/pcm_lib.c 			r = (num - rats[k].num_min) % rats[k].num_step;
num               950 sound/core/pcm_lib.c 				num -= r;
num               952 sound/core/pcm_lib.c 		diff = q * den - num;
num               957 sound/core/pcm_lib.c 			best_num = num;
num              1306 sound/core/pcm_lib.c 	unsigned int num = 0, den = 0;
num              1309 sound/core/pcm_lib.c 				  r->nrats, r->rats, &num, &den);
num              1311 sound/core/pcm_lib.c 		params->rate_num = num;
num              1341 sound/core/pcm_lib.c 	unsigned int num = 0, den = 0;
num              1343 sound/core/pcm_lib.c 				  r->nrats, r->rats, &num, &den);
num              1345 sound/core/pcm_lib.c 		params->rate_num = num;
num               202 sound/core/seq/seq_clientmgr.c static void usage_alloc(struct snd_seq_usage *res, int num)
num               204 sound/core/seq/seq_clientmgr.c 	res->cur += num;
num               209 sound/core/seq/seq_clientmgr.c static void usage_free(struct snd_seq_usage *res, int num)
num               211 sound/core/seq/seq_clientmgr.c 	res->cur -= num;
num                45 sound/core/seq/seq_ports.c 						 int num)
num                53 sound/core/seq/seq_ports.c 		if (port->addr.port == num) {
num                70 sound/core/seq/seq_ports.c 	int num;
num                73 sound/core/seq/seq_ports.c 	num = pinfo->addr.port;
num                77 sound/core/seq/seq_ports.c 		if (port->addr.port < num)
num                79 sound/core/seq/seq_ports.c 		if (port->addr.port == num) {
num               117 sound/core/seq/seq_ports.c 	int num = -1;
num               136 sound/core/seq/seq_ports.c 	sprintf(new_port->name, "port-%d", num);
num               142 sound/core/seq/seq_ports.c 	num = port >= 0 ? port : 0;
num               146 sound/core/seq/seq_ports.c 		if (p->addr.port > num)
num               149 sound/core/seq/seq_ports.c 			num = p->addr.port + 1;
num               154 sound/core/seq/seq_ports.c 	new_port->addr.port = num;	/* store the port number in the port */
num               155 sound/core/seq/seq_ports.c 	sprintf(new_port->name, "port-%d", num);
num                80 sound/core/seq/seq_ports.h struct snd_seq_client_port *snd_seq_port_use_ptr(struct snd_seq_client *client, int num);
num              1091 sound/drivers/aloop.c 				 int num)
num              1093 sound/drivers/aloop.c 	struct loopback_cable *cable = loopback->cables[sub][num];
num              1095 sound/drivers/aloop.c 	snd_iprintf(buffer, "Cable %i substream %i:\n", num, sub);
num              1111 sound/drivers/aloop.c 	int sub, num;
num              1114 sound/drivers/aloop.c 	num = entry->name[strlen(entry->name)-1];
num              1115 sound/drivers/aloop.c 	num = num == '0' ? 0 : 1;
num              1117 sound/drivers/aloop.c 		print_substream_info(buffer, loopback, sub, num);
num               926 sound/drivers/opl4/yrw801.c #define REGION(num) { ARRAY_SIZE(regions ## num), regions ## num }
num               133 sound/drivers/pcsp/pcsp_mixer.c 			     struct snd_kcontrol_new *ctls, int num)
num               137 sound/drivers/pcsp/pcsp_mixer.c 	for (i = 0; i < num; i++) {
num                69 sound/drivers/vx/vx_core.c static int vx_send_irq_dsp(struct vx_core *chip, int num)
num                77 sound/drivers/vx/vx_core.c 	nirq = num;
num                58 sound/firewire/bebob/bebob.h 	unsigned int num;
num                68 sound/firewire/bebob/bebob.h 	unsigned int num;
num               140 sound/firewire/bebob/bebob.h 			   unsigned int fb_id, unsigned int num);
num               142 sound/firewire/bebob/bebob.h 			   unsigned int fb_id, unsigned int *num);
num                11 sound/firewire/bebob/bebob_command.c 			   unsigned int fb_id, unsigned int num)
num                27 sound/firewire/bebob/bebob_command.c 	buf[7]  = 0xff & num;	/* input function block plug number */
num                49 sound/firewire/bebob/bebob_command.c 			   unsigned int fb_id, unsigned int *num)
num                84 sound/firewire/bebob/bebob_command.c 	*num = buf[7];
num               244 sound/firewire/bebob/bebob_focusrite.c 	channels = spec->num * 2;
num               271 sound/firewire/bebob/bebob_focusrite.c 	.num	= ARRAY_SIZE(saffirepro_26_clk_src_types),
num               282 sound/firewire/bebob/bebob_focusrite.c 	.num	= ARRAY_SIZE(saffirepro_10_clk_src_types),
num               297 sound/firewire/bebob/bebob_focusrite.c 	.num	= ARRAY_SIZE(saffire_both_clk_src_types),
num               303 sound/firewire/bebob/bebob_focusrite.c 	.num	= ARRAY_SIZE(saffire_le_meter_labels),
num               314 sound/firewire/bebob/bebob_focusrite.c 	.num	= ARRAY_SIZE(saffire_meter_labels),
num               694 sound/firewire/bebob/bebob_maudio.c 	channels = spec->num * 2;
num               720 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(special_clk_types),
num               725 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(special_meter_labels),
num               741 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(fw410_meter_labels),
num               753 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(audiophile_meter_labels),
num               765 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(solo_meter_labels),
num               777 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(ozonic_meter_labels),
num               789 sound/firewire/bebob/bebob_maudio.c 	.num	= ARRAY_SIZE(nrv10_meter_labels),
num                82 sound/firewire/bebob/bebob_proc.c 	channels = spec->num * 2;
num               138 sound/firewire/bebob/bebob_stream.c 		if (id >= clk_spec->num) {
num               141 sound/firewire/bebob/bebob_stream.c 				id, clk_spec->num - 1);
num                45 sound/firewire/bebob/bebob_terratec.c 	.num	= ARRAY_SIZE(phase88_rack_clk_src_types),
num                52 sound/firewire/bebob/bebob_yamaha_terratec.c 	.num	= ARRAY_SIZE(clk_src_types),
num                24 sound/hda/array.c 		int num = array->alloced + array->alloc_align;
num                26 sound/hda/array.c 		int size = (num + 1) * array->elem_size;
num                28 sound/hda/array.c 		if (snd_BUG_ON(num >= 4096))
num                35 sound/hda/array.c 		array->alloced = num;
num               128 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 353, .den_max = 353, .den_step = 1 },
num               129 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 529, .den_max = 529, .den_step = 1 },
num               130 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 617, .den_max = 617, .den_step = 1 },
num               131 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 1058, .den_max = 1058, .den_step = 1 },
num               132 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 1764, .den_max = 1764, .den_step = 1 },
num               133 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 2117, .den_max = 2117, .den_step = 1 },
num               134 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400, .den_min = 2558, .den_max = 2558, .den_step = 1 },
num               135 sound/isa/cs423x/cs4236_lib.c 	{ .num = 16934400/16, .den_min = 21, .den_max = 192, .den_step = 1 }
num               278 sound/isa/es1688/es1688_lib.c 		.num = 795444,
num               284 sound/isa/es1688/es1688_lib.c 		.num = 397722,
num               301 sound/isa/es1688/es1688_lib.c 	if (runtime->rate_num == clocks[0].num)
num               359 sound/isa/es18xx.c 		.num = 793800,
num               365 sound/isa/es18xx.c 		.num = 768000,
num               379 sound/isa/es18xx.c 		.num = 795444,
num               385 sound/isa/es18xx.c 		.num = 397722,
num               405 sound/isa/es18xx.c 		if (runtime->rate_num == new_clocks[0].num)
num               410 sound/isa/es18xx.c 		if (runtime->rate_num == old_clocks[0].num)
num               551 sound/isa/gus/gus_pcm.c 	.num = 9878400/16,
num               651 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_io0(int cfg, int num, u16 io)
num               653 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               662 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_io1(int cfg, int num, u16 io)
num               664 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               673 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_irq(int cfg, int num, u16 irq)
num               675 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               684 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_mem(int cfg, int num, int mem)
num               690 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               702 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_activate_logical(int cfg, int num)
num               704 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               711 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_logical(int cfg, int num, u16 io0,
num               714 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
num               716 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg_io0(cfg, num, io0))
num               718 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg_io1(cfg, num, io1))
num               720 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg_irq(cfg, num, irq))
num               722 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg_mem(cfg, num, mem))
num               724 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_activate_logical(cfg, num))
num                36 sound/isa/sb/sb8_main.c 	.num = SB8_CLOCK,
num                49 sound/isa/sb/sb8_main.c 		.num = SB8_CLOCK,
num                55 sound/isa/sb/sb8_main.c 		.num = SB8_CLOCK,
num                67 sound/isa/sb/sb8_main.c 	  	unsigned int num = 0, den = 0;
num                69 sound/isa/sb/sb8_main.c 					  2, stereo_clocks, &num, &den);
num                71 sound/isa/sb/sb8_main.c 			params->rate_num = num;
num               415 sound/oss/dmasound/dmasound_core.c static int sq_allocate_buffers(struct sound_queue *sq, int num, int size)
num               421 sound/oss/dmasound/dmasound_core.c 	sq->numBufs = num;
num               423 sound/oss/dmasound/dmasound_core.c 	sq->buffers = kmalloc_array (num, sizeof(char *), GFP_KERNEL);
num               426 sound/oss/dmasound/dmasound_core.c 	for (i = 0; i < num; i++) {
num              1010 sound/pci/ac97/ac97_codec.c 			ac97->bus->codec[ac97->num] = NULL;
num              1160 sound/pci/ac97/ac97_codec.c 	template.index = ac97->num;
num              1191 sound/pci/ac97/ac97_codec.c 		tmp.index = ac97->num;
num              1197 sound/pci/ac97/ac97_codec.c 		tmp.index = ac97->num;
num              1248 sound/pci/ac97/ac97_codec.c 		tmp.index = ac97->num;
num              1253 sound/pci/ac97/ac97_codec.c 		tmp.index = ac97->num;
num              1897 sound/pci/ac97/ac97_codec.c int snd_ac97_bus(struct snd_card *card, int num, struct snd_ac97_bus_ops *ops,
num              1912 sound/pci/ac97/ac97_codec.c 	bus->num = num;
num              1944 sound/pci/ac97/ac97_codec.c 		     ac97->bus->card->number, ac97->num,
num              2012 sound/pci/ac97/ac97_codec.c 	if (snd_BUG_ON(template->num >= 4))
num              2014 sound/pci/ac97/ac97_codec.c 	if (bus->codec[template->num])
num              2025 sound/pci/ac97/ac97_codec.c 	ac97->num = template->num;
num              2029 sound/pci/ac97/ac97_codec.c 	bus->codec[ac97->num] = ac97;
num              2074 sound/pci/ac97/ac97_codec.c 				 ac97->num);
num              2085 sound/pci/ac97/ac97_codec.c 			 ac97->num, ac97->id);
num              2120 sound/pci/ac97/ac97_codec.c 				 ac97->num);
num              2146 sound/pci/ac97/ac97_codec.c 			  "AC'97 %d analog subsections not ready\n", ac97->num);
num              2180 sound/pci/ac97/ac97_codec.c 			  ac97->num,
num              1532 sound/pci/ac97/ac97_patch.c 	int idx, num;
num              1560 sound/pci/ac97/ac97_patch.c 	for (idx = num = 0; idx < 3; idx++)
num              1562 sound/pci/ac97/ac97_patch.c 			num++;
num              1563 sound/pci/ac97/ac97_patch.c 	if (num == 1) {
num               102 sound/pci/ac97/ac97_proc.c 	snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name);
num               423 sound/pci/ac97/ac97_proc.c 	sprintf(name, "%s#%d-%d", prefix, ac97->addr, ac97->num);
num               429 sound/pci/ac97/ac97_proc.c 	sprintf(name, "%s#%d-%d+regs", prefix, ac97->addr, ac97->num);
num               455 sound/pci/ac97/ac97_proc.c 	sprintf(name, "codec97#%d", bus->num);
num               402 sound/pci/ali5451/ali5451.c 	snd_ali_codec_poke(codec, ac97->num, reg, val);
num               413 sound/pci/ali5451/ali5451.c 	return snd_ali_codec_peek(codec, ac97->num, reg);
num              1835 sound/pci/ali5451/ali5451.c 		ac97.num = i;
num               475 sound/pci/atiixp.c 	return snd_atiixp_codec_read(chip, ac97->num, reg);
num               483 sound/pci/atiixp.c 	snd_atiixp_codec_write(chip, ac97->num, reg, val);
num              1440 sound/pci/atiixp.c 		ac97.num = i;
num               446 sound/pci/atiixp_modem.c 	return snd_atiixp_codec_read(chip, ac97->num, reg);
num               459 sound/pci/atiixp_modem.c 	snd_atiixp_codec_write(chip, ac97->num, reg, val);
num              1081 sound/pci/atiixp_modem.c 		ac97.num = i;
num              2556 sound/pci/au88x0/au88x0_core.c 		(codec->num << VORTEX_CODEC_ID_SHIFT) );
num              2579 sound/pci/au88x0/au88x0_core.c 		(codec->num << VORTEX_CODEC_ID_SHIFT) ;
num              2220 sound/pci/azt3328.c 					       unsigned long *num, unsigned long *den)
num              2222 sound/pci/azt3328.c 	*num = 1;
num               391 sound/pci/bt87x.c 		.num = ANALOG_CLOCK,
num               538 sound/pci/cs4281.c 				            BA0_ACCTL_ESYN | (ac97->num ? BA0_ACCTL_TC : 0));
num               564 sound/pci/cs4281.c 	volatile int ac97_num = ((volatile struct snd_ac97 *)ac97)->num;
num              1073 sound/pci/cs4281.c 	if (ac97->num)
num              1099 sound/pci/cs4281.c 		ac97.num = 1;
num               206 sound/pci/cs46xx/cs46xx_lib.c 	int codec_index = ac97->num;
num               290 sound/pci/cs46xx/cs46xx_lib.c 	int codec_index = ac97->num;
num              2393 sound/pci/cs46xx/cs46xx_lib.c 	if (ac97->num == CS46XX_PRIMARY_CODEC_INDEX) {
num              2396 sound/pci/cs46xx/cs46xx_lib.c 	} else if (ac97->num == CS46XX_SECONDARY_CODEC_INDEX) {
num              2442 sound/pci/cs46xx/cs46xx_lib.c 	ac97.num = codec;
num                48 sound/pci/emu10k1/timer.c 					       unsigned long *num, unsigned long *den)
num                50 sound/pci/emu10k1/timer.c 	*num = 1;
num               464 sound/pci/ens1370.c 	.num = ES_1370_SRCLOCK,
num               485 sound/pci/ens1370.c 	.num = 48000 << 15,
num               426 sound/pci/es1938.c 		.num = 793800,
num               432 sound/pci/es1938.c 		.num = 768000,
num               451 sound/pci/es1938.c 	if (runtime->rate_num == clocks[0].num)
num               294 sound/pci/fm801.c 		ac97->num);
num               314 sound/pci/fm801.c 			ac97->num);
num               320 sound/pci/fm801.c 			"AC'97 interface #%d is not valid (2)\n", ac97->num);
num              1029 sound/pci/fm801.c 	if (ac97->num == 0) {
num              1056 sound/pci/fm801.c 		ac97.num = 1;
num               353 sound/pci/hda/hda_controller.c static u64 azx_scale64(u64 base, u32 num, u32 den)
num               359 sound/pci/hda/hda_controller.c 	base *= num;
num               360 sound/pci/hda/hda_controller.c 	rem *= num;
num               158 sound/pci/ice1712/ice1724.c 	old_cmd |= ac97->num;
num               172 sound/pci/ice1712/ice1724.c 	old_cmd |= ac97->num;
num               276 sound/pci/ice1712/wm8766.c static int snd_wm8766_add_control(struct snd_wm8766 *wm, int num)
num               283 sound/pci/ice1712/wm8766.c 	cont.private_value = num;
num               284 sound/pci/ice1712/wm8766.c 	cont.name = wm->ctl[num].name;
num               286 sound/pci/ice1712/wm8766.c 	if (wm->ctl[num].flags & WM8766_FLAG_LIM ||
num               287 sound/pci/ice1712/wm8766.c 	    wm->ctl[num].flags & WM8766_FLAG_ALC)
num               293 sound/pci/ice1712/wm8766.c 	switch (wm->ctl[num].type) {
num               297 sound/pci/ice1712/wm8766.c 		cont.tlv.p = wm->ctl[num].tlv;
num               300 sound/pci/ice1712/wm8766.c 		wm->ctl[num].max = 1;
num               301 sound/pci/ice1712/wm8766.c 		if (wm->ctl[num].flags & WM8766_FLAG_STEREO)
num               315 sound/pci/ice1712/wm8766.c 	wm->ctl[num].kctl = ctl;
num               550 sound/pci/ice1712/wm8776.c static int snd_wm8776_add_control(struct snd_wm8776 *wm, int num)
num               557 sound/pci/ice1712/wm8776.c 	cont.private_value = num;
num               558 sound/pci/ice1712/wm8776.c 	cont.name = wm->ctl[num].name;
num               560 sound/pci/ice1712/wm8776.c 	if (wm->ctl[num].flags & WM8776_FLAG_LIM ||
num               561 sound/pci/ice1712/wm8776.c 	    wm->ctl[num].flags & WM8776_FLAG_ALC)
num               567 sound/pci/ice1712/wm8776.c 	switch (wm->ctl[num].type) {
num               571 sound/pci/ice1712/wm8776.c 		cont.tlv.p = wm->ctl[num].tlv;
num               574 sound/pci/ice1712/wm8776.c 		wm->ctl[num].max = 1;
num               575 sound/pci/ice1712/wm8776.c 		if (wm->ctl[num].flags & WM8776_FLAG_STEREO)
num               539 sound/pci/intel8x0.c 	if (snd_intel8x0_codec_semaphore(chip, ac97->num) < 0) {
num               543 sound/pci/intel8x0.c 				ac97->num, reg);
num               545 sound/pci/intel8x0.c 	iaputword(chip, reg + ac97->num * 0x80, val);
num               555 sound/pci/intel8x0.c 	if (snd_intel8x0_codec_semaphore(chip, ac97->num) < 0) {
num               559 sound/pci/intel8x0.c 				ac97->num, reg);
num               562 sound/pci/intel8x0.c 		res = iagetword(chip, reg + ac97->num * 0x80);
num               570 sound/pci/intel8x0.c 					ac97->num, reg);
num               628 sound/pci/intel8x0.c 	if (ac97->num)
num               646 sound/pci/intel8x0.c 	if (ac97->num)
num              1668 sound/pci/intel8x0.c 	chip->ac97[ac97->num] = NULL;
num              2239 sound/pci/intel8x0.c 		ac97.num = i;
num              2281 sound/pci/intel8x0.c 					tmp |= chip->ac97_sdin[pcm->r[0].codec[1]->num] << ICH_DI2L_SHIFT;
num               336 sound/pci/intel8x0m.c 	if (snd_intel8x0m_codec_semaphore(chip, ac97->num) < 0) {
num               340 sound/pci/intel8x0m.c 				ac97->num, reg);
num               342 sound/pci/intel8x0m.c 	iaputword(chip, reg + ac97->num * 0x80, val);
num               352 sound/pci/intel8x0m.c 	if (snd_intel8x0m_codec_semaphore(chip, ac97->num) < 0) {
num               356 sound/pci/intel8x0m.c 				ac97->num, reg);
num               359 sound/pci/intel8x0m.c 		res = iagetword(chip, reg + ac97->num * 0x80);
num               367 sound/pci/intel8x0m.c 					ac97->num, reg);
num               843 sound/pci/intel8x0m.c 	ac97.num = glob_sta & ICH_SCR ? 1 : 0;
num               846 sound/pci/intel8x0m.c 			"Unable to initialize codec #%d\n", ac97.num);
num               847 sound/pci/intel8x0m.c 		if (ac97.num == 0)
num               937 sound/pci/intel8x0m.c 			status |= get_ich_codec_bit(chip, chip->ac97->num);
num               728 sound/pci/lola/lola_mixer.c 				 int num, int ofs, char *name)
num               731 sound/pci/lola/lola_mixer.c 	lola_src_gain_mixer.private_value = ofs + (num << 8);
num               786 sound/pci/lola/lola_mixer.c 	int i, num;
num               789 sound/pci/lola/lola_mixer.c 	num = 0;
num               793 sound/pci/lola/lola_mixer.c 			gains[num++] = val - 1;
num               816 sound/pci/lola/lola_mixer.c 				  int num, int ofs, char *name)
num               818 sound/pci/lola/lola_mixer.c 	lola_dest_gain_mixer.count = num;
num               821 sound/pci/lola/lola_mixer.c 		src_ofs + (src_num << 8) + (ofs << 16) + (num << 24);
num               925 sound/pci/riptide/riptide.c setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval)
num               930 sound/pci/riptide/riptide.c 	snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval);
num               932 sound/pci/riptide/riptide.c 		SEND_SDGV(cif, num, num, rval, lval);
num               933 sound/pci/riptide/riptide.c 		SEND_RDGV(cif, num, num, &rptr);
num              1060 sound/pci/riptide/riptide.c getmixer(struct cmdif *cif, short num, unsigned short *rval,
num              1065 sound/pci/riptide/riptide.c 	if (SEND_RDGV(cif, num, num, &rptr) && SEND_RDGV(cif, num, num, &rptr))
num              1069 sound/pci/riptide/riptide.c 	snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval);
num                87 sound/pci/sis7019.c 	int num;
num               618 sound/pci/sis7019.c 			record |= 1 << voice->num;
num               626 sound/pci/sis7019.c 			play[voice->num / 32] |= 1 << (voice->num & 0x1f);
num               989 sound/pci/sis7019.c 	sis_ac97_rw(ac97->private_data, ac97->num,
num               990 sound/pci/sis7019.c 			(val << 16) | (reg << 8) | cmd[ac97->num]);
num              1000 sound/pci/sis7019.c 	return sis_ac97_rw(ac97->private_data, ac97->num,
num              1001 sound/pci/sis7019.c 					(reg << 8) | cmd[ac97->num]);
num              1020 sound/pci/sis7019.c 	ac97.num = 1;
num              1023 sound/pci/sis7019.c 	ac97.num = 2;
num              1364 sound/pci/sis7019.c 		voice->num = i;
num              1371 sound/pci/sis7019.c 	voice->num = SIS_CAPTURE_CHAN_AC97_PCM_IN;
num              1372 sound/pci/sis7019.c 	voice->ctrl_base = SIS_CAPTURE_DMA_ADDR(sis->ioaddr, voice->num);
num               197 sound/pci/sis7019.h #define SIS_PLAY_DMA_ADDR(addr, num) \
num               198 sound/pci/sis7019.h 	((num * SIS_PLAY_DMA_SIZE) + (addr) + SIS_PLAY_DMA_OFFSET)
num               222 sound/pci/sis7019.h #define SIS_CAPTURE_DMA_ADDR(addr, num) \
num               223 sound/pci/sis7019.h 	((num * SIS_CAPTURE_DMA_SIZE) + (addr) + SIS_CAPTURE_DMA_OFFSET)
num               270 sound/pci/sis7019.h #define SIS_MIXER_START_ADDR(addr, num) \
num               271 sound/pci/sis7019.h 	((num * SIS_MIXER_START_SIZE) + (addr) + SIS_MIXER_START_OFFSET)
num               278 sound/pci/sis7019.h #define SIS_MIXER_ADDR(addr, num) \
num               279 sound/pci/sis7019.h 	((num * SIS_MIXER_SIZE) + (addr) + SIS_MIXER_OFFSET)
num               308 sound/pci/sis7019.h #define SIS_WAVE_ADDR(addr, num) \
num               309 sound/pci/sis7019.h 	((num * SIS_WAVE_SIZE) + (addr) + SIS_WAVE_OFFSET)
num               124 sound/pci/trident/trident_main.c 		treg = ac97->num == 0 ? NX_ACR2_AC97_R_PRIMARY : NX_ACR3_AC97_R_SECONDARY;
num               133 sound/pci/trident/trident_main.c 		if (ac97->num == 1)
num               198 sound/pci/trident/trident_main.c 		data |= (NX_AC97_BUSY_WRITE | (ac97->num << 8) | (reg & 0x000000ff));
num               209 sound/pci/trident/trident_main.c 		if (ac97->num == 1)
num              2880 sound/pci/trident/trident_main.c 					   int num, int activate)
num              2887 sound/pci/trident/trident_main.c 		kctl->vd[num].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE;
num              2889 sound/pci/trident/trident_main.c 		kctl->vd[num].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
num              2892 sound/pci/trident/trident_main.c 		       snd_ctl_build_ioff(&id, kctl, num));
num              2897 sound/pci/trident/trident_main.c 					  int num, int activate)
num              2899 sound/pci/trident/trident_main.c 	snd_trident_notify_pcm_change1(trident->card, trident->ctl_vol, num, activate);
num              2900 sound/pci/trident/trident_main.c 	snd_trident_notify_pcm_change1(trident->card, trident->ctl_pan, num, activate);
num              2901 sound/pci/trident/trident_main.c 	snd_trident_notify_pcm_change1(trident->card, trident->ctl_rvol, num, activate);
num              2902 sound/pci/trident/trident_main.c 	snd_trident_notify_pcm_change1(trident->card, trident->ctl_cvol, num, activate);
num              2984 sound/pci/trident/trident_main.c 		_ac97.num = 1;
num               546 sound/pci/via82xx.c 	err = snd_via82xx_codec_ready(chip, ac97->num);
num               559 sound/pci/via82xx.c 	xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
num               564 sound/pci/via82xx.c 	snd_via82xx_codec_ready(chip, ac97->num);
num               573 sound/pci/via82xx.c 	xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT;
num               574 sound/pci/via82xx.c 	xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID;
num               581 sound/pci/via82xx.c 				   ac97->num, snd_via82xx_codec_xread(chip));
num               586 sound/pci/via82xx.c 		if (snd_via82xx_codec_valid(chip, ac97->num) >= 0) {
num               400 sound/pci/via82xx_modem.c 	err = snd_via82xx_codec_ready(chip, ac97->num);
num               415 sound/pci/via82xx_modem.c 	xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
num               420 sound/pci/via82xx_modem.c 	snd_via82xx_codec_ready(chip, ac97->num);
num               429 sound/pci/via82xx_modem.c 	xval = ac97->num << VIA_REG_AC97_CODEC_ID_SHIFT;
num               430 sound/pci/via82xx_modem.c 	xval |= ac97->num ? VIA_REG_AC97_SECONDARY_VALID : VIA_REG_AC97_PRIMARY_VALID;
num               437 sound/pci/via82xx_modem.c 				   ac97->num, snd_via82xx_codec_xread(chip));
num               442 sound/pci/via82xx_modem.c 		if (snd_via82xx_codec_valid(chip, ac97->num) >= 0) {
num               899 sound/pci/via82xx_modem.c 	ac97.num = chip->ac97_secondary;
num              1920 sound/pci/ymfpci/ymfpci_main.c 					       unsigned long *num, unsigned long *den)
num              1922 sound/pci/ymfpci/ymfpci_main.c 	*num = 1;
num               247 sound/soc/adi/axi-i2s.c 	i2s->ratnum.num = clk_get_rate(i2s->clk_ref) / 2 / AXI_I2S_BITS_PER_FRAME;
num               218 sound/soc/adi/axi-spdif.c 	spdif->ratnum.num = clk_get_rate(spdif->clk_ref) / 128;
num               203 sound/soc/atmel/atmel_ssc_dai.c 	unsigned int num = 0, den = 0;
num               237 sound/soc/atmel/atmel_ssc_dai.c 		r.num = ssc_p->mck_rate / mck_div / frame_size;
num               239 sound/soc/atmel/atmel_ssc_dai.c 		ret = snd_interval_ratnum(i, 1, &r, &num, &den);
num               241 sound/soc/atmel/atmel_ssc_dai.c 			params->rate_num = num;
num               183 sound/soc/bcm/cygnus-ssp.c #define INIT_SSP_REGS(num) (struct cygnus_ssp_regs){ \
num               184 sound/soc/bcm/cygnus-ssp.c 		.i2s_stream_cfg = OUT_I2S_ ##num## _STREAM_CFG_OFFSET, \
num               185 sound/soc/bcm/cygnus-ssp.c 		.i2s_cap_stream_cfg = IN_I2S_ ##num## _STREAM_CFG_OFFSET, \
num               186 sound/soc/bcm/cygnus-ssp.c 		.i2s_cfg = OUT_I2S_ ##num## _CFG_OFFSET, \
num               187 sound/soc/bcm/cygnus-ssp.c 		.i2s_cap_cfg = IN_I2S_ ##num## _CFG_OFFSET, \
num               188 sound/soc/bcm/cygnus-ssp.c 		.i2s_mclk_cfg = OUT_I2S_ ##num## _MCLK_CFG_OFFSET, \
num               189 sound/soc/bcm/cygnus-ssp.c 		.bf_destch_ctrl = BF_DST_CTRL ##num## _OFFSET, \
num               190 sound/soc/bcm/cygnus-ssp.c 		.bf_destch_cfg = BF_DST_CFG ##num## _OFFSET, \
num               191 sound/soc/bcm/cygnus-ssp.c 		.bf_sourcech_ctrl = BF_SRC_CTRL ##num## _OFFSET, \
num               192 sound/soc/bcm/cygnus-ssp.c 		.bf_sourcech_cfg = BF_SRC_CFG ##num## _OFFSET, \
num               193 sound/soc/bcm/cygnus-ssp.c 		.bf_sourcech_grp = BF_SRC_GRP ##num## _OFFSET \
num              1135 sound/soc/bcm/cygnus-ssp.c #define INIT_CPU_DAI(num) { \
num              1136 sound/soc/bcm/cygnus-ssp.c 	.name = "cygnus-ssp" #num, \
num                45 sound/soc/bcm/cygnus-ssp.h #define RINGBUF_REG_PLAYBACK(num) ((struct ringbuf_regs) { \
num                46 sound/soc/bcm/cygnus-ssp.h 	.rdaddr = SRC_RBUF_ ##num## _RDADDR_OFFSET, \
num                47 sound/soc/bcm/cygnus-ssp.h 	.wraddr = SRC_RBUF_ ##num## _WRADDR_OFFSET, \
num                48 sound/soc/bcm/cygnus-ssp.h 	.baseaddr = SRC_RBUF_ ##num## _BASEADDR_OFFSET, \
num                49 sound/soc/bcm/cygnus-ssp.h 	.endaddr = SRC_RBUF_ ##num## _ENDADDR_OFFSET, \
num                50 sound/soc/bcm/cygnus-ssp.h 	.fmark = SRC_RBUF_ ##num## _FREE_MARK_OFFSET, \
num                55 sound/soc/bcm/cygnus-ssp.h #define RINGBUF_REG_CAPTURE(num) ((struct ringbuf_regs)  { \
num                56 sound/soc/bcm/cygnus-ssp.h 	.rdaddr = DST_RBUF_ ##num## _RDADDR_OFFSET, \
num                57 sound/soc/bcm/cygnus-ssp.h 	.wraddr = DST_RBUF_ ##num## _WRADDR_OFFSET, \
num                58 sound/soc/bcm/cygnus-ssp.h 	.baseaddr = DST_RBUF_ ##num## _BASEADDR_OFFSET, \
num                59 sound/soc/bcm/cygnus-ssp.h 	.endaddr = DST_RBUF_ ##num## _ENDADDR_OFFSET, \
num                60 sound/soc/bcm/cygnus-ssp.h 	.fmark = DST_RBUF_ ##num## _FULL_MARK_OFFSET, \
num               453 sound/soc/codecs/ad193x.c 	int num, ret;
num               461 sound/soc/codecs/ad193x.c 		num = ARRAY_SIZE(ad193x_adc_snd_controls);
num               464 sound/soc/codecs/ad193x.c 						 num);
num               469 sound/soc/codecs/ad193x.c 		num = ARRAY_SIZE(ad193x_adc_widgets);
num               472 sound/soc/codecs/ad193x.c 						num);
num               477 sound/soc/codecs/ad193x.c 		num = ARRAY_SIZE(ad193x_adc_audio_paths);
num               480 sound/soc/codecs/ad193x.c 					      num);
num               187 sound/soc/codecs/ak4458.c 	int num;
num               189 sound/soc/codecs/ak4458.c 	num = ucontrol->value.enumerated.item[0];
num               190 sound/soc/codecs/ak4458.c 	if (num > 4)
num               193 sound/soc/codecs/ak4458.c 	ak4458->digfil = num;
num               720 sound/soc/codecs/cs43130.c 			     (clk_gen->num & CS43130_SP_N_LSB_DATA_MASK) >>
num               723 sound/soc/codecs/cs43130.c 			     (clk_gen->num & CS43130_SP_N_MSB_DATA_MASK) >>
num               734 sound/soc/codecs/cs43130.c 			     (clk_gen->num & CS43130_SP_N_LSB_DATA_MASK) >>
num               737 sound/soc/codecs/cs43130.c 			     (clk_gen->num & CS43130_SP_N_MSB_DATA_MASK) >>
num               378 sound/soc/codecs/cs43130.h 	u16		num;
num              1393 sound/soc/codecs/cs47l15.c 	cs47l15->core.adsp[0].num = 1;
num              1237 sound/soc/codecs/cs47l24.c 		cs47l24->core.adsp[i].num = i + 1;
num              1686 sound/soc/codecs/cs47l35.c 		cs47l35->core.adsp[i].num = i + 1;
num              2634 sound/soc/codecs/cs47l85.c 		cs47l85->core.adsp[i].num = i + 1;
num              2537 sound/soc/codecs/cs47l90.c 		cs47l90->core.adsp[i].num = i + 1;
num              1945 sound/soc/codecs/cs47l92.c 	cs47l92->core.adsp[0].num = 1;
num               921 sound/soc/codecs/madera.c 	val = priv->adsp_rate_cache[dsp->num - 1] << MADERA_DSP_RATE_SHIFT;
num               953 sound/soc/codecs/madera.c 	dev_err(dsp->dev, "Failed to set DSP%d clock: %d\n", dsp->num, ret);
num               984 sound/soc/codecs/madera.c 	new = priv->adsp_rate_cache[dsp->num - 1] << MADERA_DSP_RATE_SHIFT;
num              4310 sound/soc/codecs/madera.c 	unsigned int gains, val, num;
num              4386 sound/soc/codecs/madera.c 	num = fout / fllgcd;
num              4388 sound/soc/codecs/madera.c 	fll_n = num / lambda;
num              4389 sound/soc/codecs/madera.c 	theta = num % lambda;
num               611 sound/soc/codecs/pcm512x.c 	rats_no_pll->num = clk_get_rate(pcm512x->sclk) / 64;
num               756 sound/soc/codecs/pcm512x.c 	unsigned long num;
num               762 sound/soc/codecs/pcm512x.c 	num = pll_rate / common;
num               766 sound/soc/codecs/pcm512x.c 	if (pllin_rate / den > 20000000 && num < 8) {
num               767 sound/soc/codecs/pcm512x.c 		num *= DIV_ROUND_UP(pllin_rate / den, 20000000);
num               770 sound/soc/codecs/pcm512x.c 	dev_dbg(dev, "num / den = %lu / %lu\n", num, den);
num               773 sound/soc/codecs/pcm512x.c 	if (den <= 15 && num <= 16 * 63
num               779 sound/soc/codecs/pcm512x.c 			if (num % R)
num               781 sound/soc/codecs/pcm512x.c 			J = num / R;
num               794 sound/soc/codecs/pcm512x.c 	if (num > 0xffffffffUL / 10000)
num               798 sound/soc/codecs/pcm512x.c 	common = gcd(10000 * num, den);
num               799 sound/soc/codecs/pcm512x.c 	num = 10000 * num / common;
num               801 sound/soc/codecs/pcm512x.c 	dev_dbg(dev, "num %lu den %lu common %lu\n", num, den, common);
num               806 sound/soc/codecs/pcm512x.c 		if (num * P % den)
num               808 sound/soc/codecs/pcm512x.c 		K = num * P / den;
num              2215 sound/soc/codecs/wm2200.c 		wm2200->dsp[i].num = i + 1;
num              2051 sound/soc/codecs/wm5102.c 	wm5102->core.adsp[0].num = 1;
num              2411 sound/soc/codecs/wm5110.c 		wm5110->core.adsp[i].num = i + 1;
num              2654 sound/soc/codecs/wm_adsp.c 					   dsp->num);
num                61 sound/soc/codecs/wm_adsp.h 	int num;
num               137 sound/soc/codecs/wm_adsp.h #define WM_ADSP1(wname, num) \
num               138 sound/soc/codecs/wm_adsp.h 	SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, num, 0, NULL, 0, \
num               141 sound/soc/codecs/wm_adsp.h #define WM_ADSP2_PRELOAD_SWITCH(wname, num) \
num               142 sound/soc/codecs/wm_adsp.h 	SOC_SINGLE_EXT(wname " Preload Switch", SND_SOC_NOPM, num, 1, 0, \
num               145 sound/soc/codecs/wm_adsp.h #define WM_ADSP2(wname, num, event_fn) \
num               148 sound/soc/codecs/wm_adsp.h 	.reg = SND_SOC_NOPM, .shift = num, .event = event_fn, \
num               152 sound/soc/codecs/wm_adsp.h 	.reg = SND_SOC_NOPM, .shift = num, .event = wm_adsp_event, \
num               155 sound/soc/codecs/wm_adsp.h #define WM_ADSP_FW_CONTROL(dspname, num) \
num               156 sound/soc/codecs/wm_adsp.h 	SOC_ENUM_EXT(dspname " Firmware", wm_adsp_fw_enum[num], \
num               198 sound/soc/generic/simple-card-utils.c 	struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num);
num               220 sound/soc/generic/simple-card-utils.c 		simple_priv_to_props(priv, rtd->num);
num               256 sound/soc/generic/simple-card-utils.c 		simple_priv_to_props(priv, rtd->num);
num               294 sound/soc/generic/simple-card-utils.c 	struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num);
num               337 sound/soc/generic/simple-card-utils.c 	struct simple_dai_props *dai_props = simple_priv_to_props(priv, rtd->num);
num               375 sound/soc/generic/simple-card.c 		int num = of_get_child_count(node);
num               398 sound/soc/generic/simple-card.c 			    (num > 2 ||
num                84 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num)
num                87 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	int val = num - MT2701_IO_I2S;
num                91 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 			__func__, num, val);
num               139 sound/soc/meson/axg-card.c 	int num, i;
num               141 sound/soc/meson/axg-card.c 	num = of_count_phandle_with_args(node, "audio-aux-devs", NULL);
num               142 sound/soc/meson/axg-card.c 	if (num == -ENOENT) {
num               149 sound/soc/meson/axg-card.c 	} else if (num < 0) {
num               151 sound/soc/meson/axg-card.c 			num);
num               152 sound/soc/meson/axg-card.c 		return num;
num               155 sound/soc/meson/axg-card.c 	aux = devm_kcalloc(card->dev, num, sizeof(*aux), GFP_KERNEL);
num               159 sound/soc/meson/axg-card.c 	card->num_aux_devs = num;
num               177 sound/soc/meson/axg-card.c 		(struct axg_dai_link_tdm_data *)priv->link_data[rtd->num];
num               209 sound/soc/meson/axg-card.c 		(struct axg_dai_link_tdm_data *)priv->link_data[rtd->num];
num               239 sound/soc/meson/axg-card.c 		(struct axg_dai_link_tdm_data *)priv->link_data[rtd->num];
num               600 sound/soc/meson/axg-card.c 	int num, i, ret;
num               602 sound/soc/meson/axg-card.c 	num = of_get_child_count(node);
num               603 sound/soc/meson/axg-card.c 	if (!num) {
num               608 sound/soc/meson/axg-card.c 	ret = axg_card_reallocate_links(priv, num);
num                16 sound/soc/qcom/qdsp6/q6afe-dai.c #define Q6AFE_TDM_PB_DAI(pre, num, did) {				\
num                18 sound/soc/qcom/qdsp6/q6afe-dai.c 			.stream_name = pre" TDM"#num" Playback",	\
num                37 sound/soc/qcom/qdsp6/q6afe-dai.c #define Q6AFE_TDM_CAP_DAI(pre, num, did) {				\
num                39 sound/soc/qcom/qdsp6/q6afe-dai.c 			.stream_name = pre" TDM"#num" Capture",		\
num               119 sound/soc/qcom/qdsp6/q6asm-dai.c #define Q6ASM_FEDAI_DRIVER(num) { \
num               121 sound/soc/qcom/qdsp6/q6asm-dai.c 			.stream_name = "MultiMedia"#num" Playback",	\
num               132 sound/soc/qcom/qdsp6/q6asm-dai.c 			.stream_name = "MultiMedia"#num" Capture",	\
num               142 sound/soc/qcom/qdsp6/q6asm-dai.c 		.name = "MultiMedia"#num,				\
num               143 sound/soc/qcom/qdsp6/q6asm-dai.c 		.id = MSM_FRONTEND_DAI_MULTIMEDIA##num,			\
num               147 sound/soc/sh/rcar/core.c 	static int num;
num               148 sound/soc/sh/rcar/core.c 	char *name = names[num];
num               150 sound/soc/sh/rcar/core.c 	num++;
num               151 sound/soc/sh/rcar/core.c 	if (num >= MOD_NAME_NUM)
num               152 sound/soc/sh/rcar/core.c 		num = 0;
num              1621 sound/soc/sh/rcar/core.c 		.index		= rtd->num,
num               186 sound/soc/soc-ac97.c 	ac97->num = 0;
num               856 sound/soc/soc-compress.c int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)
num               911 sound/soc/soc-compress.c 		ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num,
num               930 sound/soc/soc-compress.c 			rtd->dai_link->stream_name, codec_dai->name, num);
num               947 sound/soc/soc-compress.c 	ret = snd_compress_new(rtd->card->snd_card, num, direction,
num               396 sound/soc/soc-core.c 	rtd->num = card->num_rtd;
num              1173 sound/soc/soc-core.c 				card->name, rtd->num, order);
num              1501 sound/soc/soc-core.c 	int ret, num;
num              1529 sound/soc/soc-core.c 	num = rtd->num;
num              1543 sound/soc/soc-core.c 			num += component->driver->be_pcm_base;
num              1545 sound/soc/soc-core.c 			num = rtd->dai_link->id;
num              1549 sound/soc/soc-core.c 	ret = snd_soc_dai_compress_new(cpu_dai, rtd, num);
num              1558 sound/soc/soc-core.c 	ret = soc_new_pcm(rtd, num);
num               384 sound/soc/soc-dai.c 			     struct snd_soc_pcm_runtime *rtd, int num)
num               387 sound/soc/soc-dai.c 		return dai->driver->compress_new(rtd, num);
num              3069 sound/soc/soc-dapm.c 			    const struct snd_soc_dapm_route *route, int num)
num              3074 sound/soc/soc-dapm.c 	for (i = 0; i < num; i++) {
num              3100 sound/soc/soc-dapm.c 			    const struct snd_soc_dapm_route *route, int num)
num              3105 sound/soc/soc-dapm.c 	for (i = 0; i < num; i++) {
num              3177 sound/soc/soc-dapm.c 			     const struct snd_soc_dapm_route *route, int num)
num              3183 sound/soc/soc-dapm.c 	for (i = 0; i < num; i++) {
num              3777 sound/soc/soc-dapm.c 	int num)
num              3784 sound/soc/soc-dapm.c 	for (i = 0; i < num; i++) {
num              2873 sound/soc/soc-pcm.c int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
num              2921 sound/soc/soc-pcm.c 		ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num,
num              2927 sound/soc/soc-pcm.c 		ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num,
num              2937 sound/soc/soc-pcm.c 				"multicodec" : rtd->codec_dai->name, num);
num              2939 sound/soc/soc-pcm.c 		ret = snd_pcm_new(rtd->card->snd_card, new_name, num, playback,
num              2947 sound/soc/soc-pcm.c 	dev_dbg(rtd->card->dev, "ASoC: registered pcm #%d %s\n",num, new_name);
num                52 sound/soc/txx9/txx9aclc-ac97.c 	if (!(__raw_readl(base + ACINTSTS) & ACINT_CODECRDY(ac97->num)))
num                54 sound/soc/txx9/txx9aclc-ac97.c 	reg |= ac97->num << 7;
num                84 sound/soc/txx9/txx9aclc-ac97.c 	__raw_writel(((reg | (ac97->num << 7)) << ACREGACC_REG_SHIFT) |
num                99 sound/soc/txx9/txx9aclc-ac97.c 	u32 ready = ACINT_CODECRDY(ac97->num) | ACINT_REGACCRDY;
num               571 sound/usb/caiaq/control.c static int add_controls(struct caiaq_controller *c, int num,
num               577 sound/usb/caiaq/control.c 	for (i = 0; i < num; i++, c++) {
num                75 sound/usb/line6/midi.c 	int num;
num                86 sound/usb/line6/midi.c 	num = --line6->line6midi->num_active_send_urbs;
num                88 sound/usb/line6/midi.c 	if (num == 0) {
num                90 sound/usb/line6/midi.c 		num = line6->line6midi->num_active_send_urbs;
num                93 sound/usb/line6/midi.c 	if (num == 0)
num              1564 sound/usb/midi.c #define PORT_INFO(vendor, product, num, name_, voices_, flags) \
num              1566 sound/usb/midi.c 	  .port = num, .voices = voices_, \
num              1568 sound/usb/midi.c #define EXTERNAL_PORT(vendor, product, num, name) \
num              1569 sound/usb/midi.c 	PORT_INFO(vendor, product, num, name, 0, \
num              1573 sound/usb/midi.c #define CONTROL_PORT(vendor, product, num, name) \
num              1574 sound/usb/midi.c 	PORT_INFO(vendor, product, num, name, 0, \
num              1577 sound/usb/midi.c #define GM_SYNTH_PORT(vendor, product, num, name, voices) \
num              1578 sound/usb/midi.c 	PORT_INFO(vendor, product, num, name, voices, \
num              1583 sound/usb/midi.c #define ROLAND_SYNTH_PORT(vendor, product, num, name, voices) \
num              1584 sound/usb/midi.c 	PORT_INFO(vendor, product, num, name, voices, \
num              1592 sound/usb/midi.c #define SOUNDCANVAS_PORT(vendor, product, num, name, voices) \
num              1593 sound/usb/midi.c 	PORT_INFO(vendor, product, num, name, voices, \
num              2954 sound/usb/mixer.c 		int chmask, num;
num              2963 sound/usb/mixer.c 		num = iface->num_altsetting;
num              2965 sound/usb/mixer.c 		if (num < 2)
num              2013 sound/usb/mixer_quirks.c 	const u64 num = 104857600000000ULL;
num              2027 sound/usb/mixer_quirks.c 	freq = (den == 0) ? 0 : div64_u64(num, den);
num               163 sound/usb/mixer_scarlett.c 	unsigned char num;
num               529 sound/usb/mixer_scarlett.c 		       int index, int offset, int num,
num               546 sound/usb/mixer_scarlett.c 	elem->idx_off = num;
num               648 sound/usb/mixer_scarlett.c 		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
num               649 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" },
num               650 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_OUTPUTS, .name = "SPDIF" },
num               651 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               652 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               653 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               654 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               655 sound/usb/mixer_scarlett.c 		{ .num = 3, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               656 sound/usb/mixer_scarlett.c 		{ .num = 4, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               690 sound/usb/mixer_scarlett.c 		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
num               691 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" },
num               692 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_OUTPUTS, .name = "SPDIF" },
num               693 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               694 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               695 sound/usb/mixer_scarlett.c 		{ .num = 3, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               696 sound/usb/mixer_scarlett.c 		{ .num = 4, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               729 sound/usb/mixer_scarlett.c 		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
num               730 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" },
num               731 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_OUTPUTS, .name = "SPDIF" },
num               732 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               733 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               766 sound/usb/mixer_scarlett.c 		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
num               767 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone 1" },
num               768 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_OUTPUTS, .name = "Headphone 2" },
num               769 sound/usb/mixer_scarlett.c 		{ .num = 3, .type = SCARLETT_OUTPUTS, .name = "SPDIF" },
num               770 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               771 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               772 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL},
num               773 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               774 sound/usb/mixer_scarlett.c 		{ .num = 3, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               775 sound/usb/mixer_scarlett.c 		{ .num = 4, .type = SCARLETT_SWITCH_PAD, .name = NULL},
num               808 sound/usb/mixer_scarlett.c 		{ .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" },
num               809 sound/usb/mixer_scarlett.c 		{ .num = 1, .type = SCARLETT_OUTPUTS, .name = "Line 3/4" },
num               810 sound/usb/mixer_scarlett.c 		{ .num = 2, .type = SCARLETT_OUTPUTS, .name = "Line 5/6" },
num               811 sound/usb/mixer_scarlett.c 		{ .num = 3, .type = SCARLETT_OUTPUTS, .name = "Line 7/8" },
num               812 sound/usb/mixer_scarlett.c 		{ .num = 4, .type = SCARLETT_OUTPUTS, .name = "Line 9/10" },
num               813 sound/usb/mixer_scarlett.c 		{ .num = 5, .type = SCARLETT_OUTPUTS, .name = "SPDIF" },
num               814 sound/usb/mixer_scarlett.c 		{ .num = 6, .type = SCARLETT_OUTPUTS, .name = "ADAT 1/2" },
num               815 sound/usb/mixer_scarlett.c 		{ .num = 7, .type = SCARLETT_OUTPUTS, .name = "ADAT 3/4" },
num               816 sound/usb/mixer_scarlett.c 		{ .num = 8, .type = SCARLETT_OUTPUTS, .name = "ADAT 5/6" },
num               817 sound/usb/mixer_scarlett.c 		{ .num = 9, .type = SCARLETT_OUTPUTS, .name = "ADAT 7/8" },
num               864 sound/usb/mixer_scarlett.c 			err = add_output_ctls(mixer, ctl->num, ctl->name, info);
num               869 sound/usb/mixer_scarlett.c 			sprintf(mx, "Input %d Impedance Switch", ctl->num);
num               872 sound/usb/mixer_scarlett.c 					  0x09, ctl->num, USB_MIXER_S16, 1, mx,
num               878 sound/usb/mixer_scarlett.c 			sprintf(mx, "Input %d Pad Switch", ctl->num);
num               881 sound/usb/mixer_scarlett.c 					  0x0b, ctl->num, USB_MIXER_S16, 1, mx,
num               208 sound/usb/mixer_scarlett_gen2.c 	int num[SCARLETT2_PORT_DIRECTIONS];
num               266 sound/usb/mixer_scarlett_gen2.c 			.num = { 1, 0, 8, 8, 8 },
num               272 sound/usb/mixer_scarlett_gen2.c 			.num = { 4, 4, 4, 4, 4 },
num               279 sound/usb/mixer_scarlett_gen2.c 			.num = { 2, 2, 2, 2, 2 },
num               286 sound/usb/mixer_scarlett_gen2.c 			.num = { 10, 18, 18, 18, 18 },
num               293 sound/usb/mixer_scarlett_gen2.c 			.num = { 6, 6, 6, 6, 6 },
num               322 sound/usb/mixer_scarlett_gen2.c 			.num = { 1, 0, 8, 8, 4 },
num               328 sound/usb/mixer_scarlett_gen2.c 			.num = { 8, 6, 6, 6, 6 },
num               339 sound/usb/mixer_scarlett_gen2.c 			.num = { 2, 2, 2, 2, 2 },
num               346 sound/usb/mixer_scarlett_gen2.c 			.num = { 8, 0, 0, 0, 0 },
num               352 sound/usb/mixer_scarlett_gen2.c 			.num = { 10, 18, 18, 18, 18 },
num               359 sound/usb/mixer_scarlett_gen2.c 			.num = { 20, 18, 18, 14, 10 },
num               392 sound/usb/mixer_scarlett_gen2.c 			.num = { 1, 0, 8, 8, 6 },
num               398 sound/usb/mixer_scarlett_gen2.c 			.num = { 8, 10, 10, 10, 10 },
num               409 sound/usb/mixer_scarlett_gen2.c 			.num = { 2, 2, 2, 2, 2 },
num               416 sound/usb/mixer_scarlett_gen2.c 			.num = { 8, 8, 8, 4, 0 },
num               423 sound/usb/mixer_scarlett_gen2.c 			.num = { 10, 18, 18, 18, 18 },
num               430 sound/usb/mixer_scarlett_gen2.c 			.num = { 20, 18, 18, 14, 10 },
num               442 sound/usb/mixer_scarlett_gen2.c 	int i, num = 0;
num               445 sound/usb/mixer_scarlett_gen2.c 		num += ports[i].num[direction];
num               447 sound/usb/mixer_scarlett_gen2.c 	return num;
num               803 sound/usb/mixer_scarlett_gen2.c 		info->ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT];
num               819 sound/usb/mixer_scarlett_gen2.c 				       int num)
num               826 sound/usb/mixer_scarlett_gen2.c 		if (num < ports[port_type].num[SCARLETT2_PORT_IN])
num               827 sound/usb/mixer_scarlett_gen2.c 			return ports[port_type].id | num;
num               828 sound/usb/mixer_scarlett_gen2.c 		num -= ports[port_type].num[SCARLETT2_PORT_IN];
num               854 sound/usb/mixer_scarlett_gen2.c 		__le16 num;
num               866 sound/usb/mixer_scarlett_gen2.c 		req.num = cpu_to_le16(rate);
num               879 sound/usb/mixer_scarlett_gen2.c 			     channel < ports[port_type].num[port_dir_rate];
num               895 sound/usb/mixer_scarlett_gen2.c 			j += ports[port_type].num[SCARLETT2_PORT_OUT] -
num               896 sound/usb/mixer_scarlett_gen2.c 			     ports[port_type].num[port_dir_rate];
num               987 sound/usb/mixer_scarlett_gen2.c 		ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT];
num              1372 sound/usb/mixer_scarlett_gen2.c 		ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT];
num              1503 sound/usb/mixer_scarlett_gen2.c 	num_mixer_in = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT];
num              1545 sound/usb/mixer_scarlett_gen2.c 	int num_inputs = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT];
num              1546 sound/usb/mixer_scarlett_gen2.c 	int num_outputs = ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_IN];
num              1585 sound/usb/mixer_scarlett_gen2.c 		if (item < ports[port_type].num[SCARLETT2_PORT_IN]) {
num              1591 sound/usb/mixer_scarlett_gen2.c 		item -= ports[port_type].num[SCARLETT2_PORT_IN];
num              1653 sound/usb/mixer_scarlett_gen2.c 		     channel < ports[port_type].num[SCARLETT2_PORT_OUT];
num              1748 sound/usb/mixer_scarlett_gen2.c 		count += ports[port_type].num[SCARLETT2_PORT_IN];
num              1773 sound/usb/mixer_scarlett_gen2.c 	output_count = ports[SCARLETT2_PORT_TYPE_PCM].num[SCARLETT2_PORT_OUT];
num              1780 sound/usb/mixer_scarlett_gen2.c 		input_count = ports[port_type].num[SCARLETT2_PORT_IN];
num              1791 sound/usb/mixer_scarlett_gen2.c 	input_count = ports[SCARLETT2_PORT_TYPE_PCM].num[SCARLETT2_PORT_IN];
num              1798 sound/usb/mixer_scarlett_gen2.c 		output_count = ports[port_type].num[SCARLETT2_PORT_OUT];
num              1841 sound/usb/mixer_scarlett_gen2.c 		ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT];
num              1907 sound/usb/mixer_scarlett_gen2.c 		ports[SCARLETT2_PORT_TYPE_ANALOGUE].num[SCARLETT2_PORT_OUT];
num              1092 sound/usb/stream.c 	int num, protocol;
num              1099 sound/usb/stream.c 	num = iface->num_altsetting;
num              1106 sound/usb/stream.c 		num = 4;
num              1108 sound/usb/stream.c 	for (i = 0; i < num; i++) {
num              1160 sound/usb/stream.c 			if (altno == 2 && num == 3 &&
num              1093 tools/bpf/bpf_dbg.c static int cmd_step(char *num)
num              1101 tools/bpf/bpf_dbg.c 	steps = strtol(num, NULL, 10);
num              1102 tools/bpf/bpf_dbg.c 	if (steps == 0 || strlen(num) == 0)
num              1127 tools/bpf/bpf_dbg.c static int cmd_select(char *num)
num              1132 tools/bpf/bpf_dbg.c 	if (!pcap_loaded() || strlen(num) == 0)
num              1135 tools/bpf/bpf_dbg.c 	which = strtoul(num, NULL, 10);
num              1176 tools/bpf/bpf_dbg.c static int cmd_run(char *num)
num              1185 tools/bpf/bpf_dbg.c 	pkts = strtol(num, NULL, 10);
num              1186 tools/bpf/bpf_dbg.c 	if (pkts == 0 || strlen(num) == 0)
num               211 tools/bpf/bpftool/json_writer.c void jsonw_float_fmt(json_writer_t *self, const char *fmt, double num)
num               213 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, fmt, num);
num               217 tools/bpf/bpftool/json_writer.c void jsonw_float(json_writer_t *self, double num)
num               219 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, "%g", num);
num               223 tools/bpf/bpftool/json_writer.c void jsonw_hu(json_writer_t *self, unsigned short num)
num               225 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, "%hu", num);
num               228 tools/bpf/bpftool/json_writer.c void jsonw_uint(json_writer_t *self, uint64_t num)
num               230 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, "%"PRIu64, num);
num               233 tools/bpf/bpftool/json_writer.c void jsonw_lluint(json_writer_t *self, unsigned long long int num)
num               235 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, "%llu", num);
num               238 tools/bpf/bpftool/json_writer.c void jsonw_int(json_writer_t *self, int64_t num)
num               240 tools/bpf/bpftool/json_writer.c 	jsonw_printf(self, "%"PRId64, num);
num               273 tools/bpf/bpftool/json_writer.c void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num)
num               276 tools/bpf/bpftool/json_writer.c 	jsonw_uint(self, num);
num               279 tools/bpf/bpftool/json_writer.c void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num)
num               282 tools/bpf/bpftool/json_writer.c 	jsonw_hu(self, num);
num               287 tools/bpf/bpftool/json_writer.c 			unsigned long long int num)
num               290 tools/bpf/bpftool/json_writer.c 	jsonw_lluint(self, num);
num               293 tools/bpf/bpftool/json_writer.c void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num)
num               296 tools/bpf/bpftool/json_writer.c 	jsonw_int(self, num);
num                40 tools/bpf/bpftool/json_writer.h void jsonw_float_fmt(json_writer_t *self, const char *fmt, double num);
num                45 tools/bpf/bpftool/json_writer.h void jsonw_lluint(json_writer_t *self, unsigned long long int num);
num                50 tools/bpf/bpftool/json_writer.h void jsonw_float_field(json_writer_t *self, const char *prop, double num);
num                51 tools/bpf/bpftool/json_writer.h void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
num                52 tools/bpf/bpftool/json_writer.h void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num);
num                53 tools/bpf/bpftool/json_writer.h void jsonw_int_field(json_writer_t *self, const char *prop, int64_t num);
num                56 tools/bpf/bpftool/json_writer.h 			unsigned long long int num);
num               542 tools/iio/iio_utils.c static int calc_digits(int num)
num               546 tools/iio/iio_utils.c 	while (num != 0) {
num               547 tools/iio/iio_utils.c 		num /= 10;
num                16 tools/include/asm-generic/bitops/__ffs.h 	int num = 0;
num                20 tools/include/asm-generic/bitops/__ffs.h 		num += 32;
num                25 tools/include/asm-generic/bitops/__ffs.h 		num += 16;
num                29 tools/include/asm-generic/bitops/__ffs.h 		num += 8;
num                33 tools/include/asm-generic/bitops/__ffs.h 		num += 4;
num                37 tools/include/asm-generic/bitops/__ffs.h 		num += 2;
num                41 tools/include/asm-generic/bitops/__ffs.h 		num += 1;
num                42 tools/include/asm-generic/bitops/__ffs.h 	return num;
num                15 tools/include/asm-generic/bitops/__fls.h 	int num = BITS_PER_LONG - 1;
num                19 tools/include/asm-generic/bitops/__fls.h 		num -= 32;
num                24 tools/include/asm-generic/bitops/__fls.h 		num -= 16;
num                28 tools/include/asm-generic/bitops/__fls.h 		num -= 8;
num                32 tools/include/asm-generic/bitops/__fls.h 		num -= 4;
num                36 tools/include/asm-generic/bitops/__fls.h 		num -= 2;
num                40 tools/include/asm-generic/bitops/__fls.h 		num -= 1;
num                41 tools/include/asm-generic/bitops/__fls.h 	return num;
num               299 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num               302 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               313 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num               316 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               329 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num               332 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               346 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num               349 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               364 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num               367 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               383 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num               386 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               403 tools/include/nolibc/nolibc.h #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6)                  \
num               406 tools/include/nolibc/nolibc.h 	register long _num  asm("rax") = (num);                               \
num               498 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num               501 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               512 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num               515 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               528 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num               531 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               545 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num               548 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               563 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num               566 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               582 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num               585 tools/include/nolibc/nolibc.h 	register long _num asm("eax") = (num);                                \
num               678 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num               680 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               692 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num               694 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               707 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num               709 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               723 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num               725 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               740 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num               742 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               758 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num               760 tools/include/nolibc/nolibc.h 	register long _num asm("r7") = (num);                                 \
num               867 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num               869 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               881 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num               883 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               896 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num               898 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               912 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num               914 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               929 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num               931 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               947 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num               949 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num               966 tools/include/nolibc/nolibc.h #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6)                  \
num               968 tools/include/nolibc/nolibc.h 	register long _num  asm("x8") = (num);                                \
num              1063 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num              1065 tools/include/nolibc/nolibc.h 	register long _num asm("v0") = (num);                                 \
num              1080 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num              1082 tools/include/nolibc/nolibc.h 	register long _num asm("v0") = (num);                                 \
num              1099 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num              1101 tools/include/nolibc/nolibc.h 	register long _num asm("v0") = (num);                                 \
num              1119 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num              1121 tools/include/nolibc/nolibc.h 	register long _num asm("v0")  = (num);                                \
num              1140 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num              1142 tools/include/nolibc/nolibc.h 	register long _num asm("v0") = (num);                                 \
num              1161 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num              1163 tools/include/nolibc/nolibc.h 	register long _num asm("v0") = (num);                                 \
num              1267 tools/include/nolibc/nolibc.h #define my_syscall0(num)                                                      \
num              1269 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1281 tools/include/nolibc/nolibc.h #define my_syscall1(num, arg1)                                                \
num              1283 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1295 tools/include/nolibc/nolibc.h #define my_syscall2(num, arg1, arg2)                                          \
num              1297 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1311 tools/include/nolibc/nolibc.h #define my_syscall3(num, arg1, arg2, arg3)                                    \
num              1313 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1328 tools/include/nolibc/nolibc.h #define my_syscall4(num, arg1, arg2, arg3, arg4)                              \
num              1330 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1346 tools/include/nolibc/nolibc.h #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5)                        \
num              1348 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num              1365 tools/include/nolibc/nolibc.h #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6)                  \
num              1367 tools/include/nolibc/nolibc.h 	register long _num  asm("a7") = (num);                                \
num               455 tools/include/uapi/drm/drm.h 	unsigned int num;
num                17 tools/lib/subcmd/help.h static inline void mput_char(char c, unsigned int num)
num                19 tools/lib/subcmd/help.h 	while(num--)
num              4080 tools/lib/traceevent/event-parse.c 		void *num;
num              4090 tools/lib/traceevent/event-parse.c 			num = data + (offset & 0xffff);
num              4100 tools/lib/traceevent/event-parse.c 			num = data + field->offset;
num              4110 tools/lib/traceevent/event-parse.c 				trace_seq_printf(s, "%u", *(uint8_t *)num);
num              4112 tools/lib/traceevent/event-parse.c 				trace_seq_printf(s, "%u", *(uint16_t *)num);
num              4114 tools/lib/traceevent/event-parse.c 				trace_seq_printf(s, "%u", *(uint32_t *)num);
num              4116 tools/lib/traceevent/event-parse.c 				trace_seq_printf(s, "%"PRIu64, *(uint64_t *)num);
num              4119 tools/lib/traceevent/event-parse.c 						 el_size, *(uint8_t *)num);
num              4123 tools/lib/traceevent/event-parse.c 			num += el_size;
num               700 tools/lib/traceevent/event-parse.h 		struct tep_filter_arg_num	num;
num               200 tools/lib/traceevent/parse-filter.c 		free_arg(arg->num.left);
num               201 tools/lib/traceevent/parse-filter.c 		free_arg(arg->num.right);
num               439 tools/lib/traceevent/parse-filter.c 	arg->num.type = ctype;
num               492 tools/lib/traceevent/parse-filter.c 			    op->num.type != TEP_FILTER_CMP_REGEX &&
num               493 tools/lib/traceevent/parse-filter.c 			    op->num.type != TEP_FILTER_CMP_NOT_REGEX) {
num               501 tools/lib/traceevent/parse-filter.c 			op_type = op->num.type;
num               502 tools/lib/traceevent/parse-filter.c 			left = op->num.left;
num               580 tools/lib/traceevent/parse-filter.c 			switch (op->num.type) {
num               592 tools/lib/traceevent/parse-filter.c 			op->num.right = arg;
num               639 tools/lib/traceevent/parse-filter.c 		op->num.left = arg;
num               734 tools/lib/traceevent/parse-filter.c 		return arg->num.right != NULL;
num               835 tools/lib/traceevent/parse-filter.c 		lval = test_arg(arg, arg->num.left, error_str);
num               838 tools/lib/traceevent/parse-filter.c 		rval = test_arg(arg, arg->num.right, error_str);
num              1668 tools/lib/traceevent/parse-filter.c 	lval = get_arg_value(event, arg->num.left, record, err);
num              1669 tools/lib/traceevent/parse-filter.c 	rval = get_arg_value(event, arg->num.right, record, err);
num              1678 tools/lib/traceevent/parse-filter.c 	switch (arg->num.type) {
num              2087 tools/lib/traceevent/parse-filter.c 	lstr = arg_to_str(filter, arg->num.left);
num              2088 tools/lib/traceevent/parse-filter.c 	rstr = arg_to_str(filter, arg->num.right);
num              2092 tools/lib/traceevent/parse-filter.c 	switch (arg->num.type) {
num                17 tools/perf/arch/arm/util/dwarf-regs.c #define REG_DWARFNUM_NAME(r, num) {.name = r, .dwarfnum = num}
num                18 tools/perf/arch/arm/util/dwarf-regs.c #define GPR_DWARFNUM_NAME(num) \
num                19 tools/perf/arch/arm/util/dwarf-regs.c 	{.name = __stringify(%r##num), .dwarfnum = num}
num                20 tools/perf/arch/arm64/util/dwarf-regs.c #define REG_DWARFNUM_NAME(r, num) {.name = r, .dwarfnum = num}
num                21 tools/perf/arch/arm64/util/dwarf-regs.c #define GPR_DWARFNUM_NAME(num) \
num                22 tools/perf/arch/arm64/util/dwarf-regs.c 	{.name = __stringify(%x##num), .dwarfnum = num}
num                22 tools/perf/arch/powerpc/util/dwarf-regs.c #define REG_DWARFNUM_NAME(r, num)					\
num                23 tools/perf/arch/powerpc/util/dwarf-regs.c 		{.name = __stringify(%)__stringify(r), .dwarfnum = num,			\
num                25 tools/perf/arch/powerpc/util/dwarf-regs.c #define GPR_DWARFNUM_NAME(num)						\
num                26 tools/perf/arch/powerpc/util/dwarf-regs.c 		{.name = __stringify(%gpr##num), .dwarfnum = num,		\
num                27 tools/perf/arch/powerpc/util/dwarf-regs.c 		.ptregs_offset = offsetof(struct pt_regs, gpr[num])}
num                17 tools/perf/arch/riscv/util/dwarf-regs.c #define REG_DWARFNUM_NAME(r, num) {.name = r, .dwarfnum = num}
num              1119 tools/perf/builtin-c2c.c 			int num = bitmap_weight(set, c2c.cpus_cnt);
num              1122 tools/perf/builtin-c2c.c 			ret = scnprintf(hpp->buf, hpp->size, "%2d{%2d ", node, num);
num               611 tools/perf/builtin-diff.c 	bi->num = ch->num;
num               696 tools/perf/builtin-diff.c 	if (pair->block_info->num && he->block_info->num) {
num              3079 tools/perf/builtin-script.c int find_scripts(char **scripts_array, char **scripts_path_array, int num,
num              3125 tools/perf/builtin-script.c 			if (i >= num)
num                41 tools/perf/builtin.h int find_scripts(char **scripts_array, char **scripts_path_array, int num,
num               159 tools/perf/pmu-events/jevents.c 	const char *num;
num               217 tools/perf/pmu-events/jevents.c 	for (i = 0; msrmap[i].num; i++)
num               218 tools/perf/pmu-events/jevents.c 		if (json_streq(map, &newval, msrmap[i].num))
num               604 tools/perf/tests/parse-events.c 	TEST_ASSERT_VAL("wrong val", term->val.num == 10);
num               613 tools/perf/tests/parse-events.c 	TEST_ASSERT_VAL("wrong val", term->val.num == 1);
num               622 tools/perf/tests/parse-events.c 	TEST_ASSERT_VAL("wrong val", term->val.num == 3);
num               631 tools/perf/tests/parse-events.c 	TEST_ASSERT_VAL("wrong val", term->val.num == 1);
num                30 tools/perf/tests/pmu.c 		.val.num   = 15,
num                36 tools/perf/tests/pmu.c 		.val.num   = 170,
num                42 tools/perf/tests/pmu.c 		.val.num   = 1,
num                48 tools/perf/tests/pmu.c 		.val.num   = 27,
num                54 tools/perf/tests/pmu.c 		.val.num   = 1,
num                60 tools/perf/tests/pmu.c 		.val.num   = 2,
num                66 tools/perf/tests/pmu.c 		.val.num   = 119,
num                72 tools/perf/tests/pmu.c 		.val.num   = 11,
num                78 tools/perf/tests/pmu.c 		.val.num   = 2,
num                65 tools/perf/tests/time-utils-test.c 	int num;
num                95 tools/perf/tests/time-utils-test.c 	if (range_size < d->num || range_num != d->num) {
num                97 tools/perf/tests/time-utils-test.c 			 range_size, range_num, d->num);
num               101 tools/perf/tests/time-utils-test.c 	for (i = 0; i < d->num; i++) {
num               110 tools/perf/tests/time-utils-test.c 	if (perf_time__ranges_skip_sample(ptime, d->num, 0)) {
num               117 tools/perf/tests/time-utils-test.c 		    !perf_time__ranges_skip_sample(ptime, d->num, d->skip[i])) {
num               122 tools/perf/tests/time-utils-test.c 		    perf_time__ranges_skip_sample(ptime, d->num, d->noskip[i])) {
num               163 tools/perf/tests/time-utils-test.c 			.num = 1,
num               180 tools/perf/tests/time-utils-test.c 			.num = 3,
num               195 tools/perf/tests/time-utils-test.c 			.num    = 1,
num               210 tools/perf/tests/time-utils-test.c 			.num    = 1,
num               225 tools/perf/tests/time-utils-test.c 			.num    = 2,
num               240 tools/perf/tests/time-utils-test.c 			.num    = 3,
num                89 tools/perf/ui/browsers/scripts.c 	int i, num, choice;
num               125 tools/perf/ui/browsers/scripts.c 	num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std,
num               127 tools/perf/ui/browsers/scripts.c 	if (num < 0)
num               128 tools/perf/ui/browsers/scripts.c 		num = 0;
num               129 tools/perf/ui/browsers/scripts.c 	choice = ui__popup_menu(num + max_std, (char * const *)names);
num               144 tools/perf/ui/browsers/scripts.c 	} else if (choice < num + max_std) {
num               844 tools/perf/util/annotate.c 	if (ch[offset].num) {
num               849 tools/perf/util/annotate.c 			ch[offset].num = 0;
num               859 tools/perf/util/annotate.c 	ch[offset].num++;
num              1030 tools/perf/util/annotate.c 	if (n_insn && ch->num && ch->cycles) {
num              1031 tools/perf/util/annotate.c 		float ipc = n_insn / ((double)ch->cycles / (double)ch->num);
num              1048 tools/perf/util/annotate.c 			notes->hit_insn += n_insn * ch->num;
num               238 tools/perf/util/annotate.h 	u32	num;
num              1533 tools/perf/util/auxtrace.c static int parse_num_or_str(char **inp, u64 *num, const char **str,
num              1541 tools/perf/util/auxtrace.c 		if (!num)
num              1544 tools/perf/util/auxtrace.c 		*num = strtoull(*inp, &endptr, 0);
num              1603 tools/perf/util/auxtrace.c 		unsigned long num;
num              1607 tools/perf/util/auxtrace.c 		num = strtoul(*inp, &endptr, 0);
num              1610 tools/perf/util/auxtrace.c 		if (endptr == *inp || num > INT_MAX)
num              1613 tools/perf/util/auxtrace.c 		*idx = num;
num              1619 tools/perf/util/auxtrace.c static int parse_addr_size(char **inp, u64 *num, const char **str, int *idx)
num              1621 tools/perf/util/auxtrace.c 	int err = parse_num_or_str(inp, num, str, " ");
num              1042 tools/perf/util/bpf-loader.c 	op->v.value = term->val.num;
num               256 tools/perf/util/cpumap.c 	size_t num;
num               260 tools/perf/util/cpumap.c 	if (filename__read_str(path, &buf, &num))
num               263 tools/perf/util/cpumap.c 	buf[num] = '\0';
num               266 tools/perf/util/cpumap.c 	while (--num) {
num               267 tools/perf/util/cpumap.c 		if ((buf[num] == ',') || (buf[num] == '-')) {
num               268 tools/perf/util/cpumap.c 			num++;
num               272 tools/perf/util/cpumap.c 	if (sscanf(&buf[num], "%d", max) < 1) {
num              2377 tools/perf/util/cs-etm.c static void cs_etm__print_auxtrace_info(__u64 *val, int num)
num              2384 tools/perf/util/cs-etm.c 	for (i = CS_HEADER_VERSION_0_MAX; cpu < num; cpu++) {
num                22 tools/perf/util/expr.y 	double num;
num                26 tools/perf/util/expr.y %token <num> NUMBER
num                36 tools/perf/util/expr.y %type <num> expr if_expr
num               160 tools/perf/util/expr.y 		res->num = strtod(s, (char **)&p);
num              1020 tools/perf/util/parse-events.c 		attr->config = term->val.num;
num              1024 tools/perf/util/parse-events.c 		attr->config1 = term->val.num;
num              1028 tools/perf/util/parse-events.c 		attr->config2 = term->val.num;
num              1047 tools/perf/util/parse-events.c 		if (term->val.num > 1) {
num              1082 tools/perf/util/parse-events.c 		if ((unsigned int)term->val.num > 1) {
num              1192 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(PERIOD, period, term->val.num);
num              1195 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(FREQ, freq, term->val.num);
num              1198 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(TIME, time, term->val.num);
num              1207 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(STACK_USER, stack_user, term->val.num);
num              1210 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(INHERIT, inherit, term->val.num ? 1 : 0);
num              1213 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(INHERIT, inherit, term->val.num ? 0 : 1);
num              1216 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(MAX_STACK, max_stack, term->val.num);
num              1219 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(MAX_EVENTS, max_events, term->val.num);
num              1222 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(OVERWRITE, overwrite, term->val.num ? 1 : 0);
num              1225 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(OVERWRITE, overwrite, term->val.num ? 0 : 1);
num              1232 tools/perf/util/parse-events.c 					term->val.num ? true : false);
num              1235 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(AUX_OUTPUT, aux_output, term->val.num ? 1 : 0);
num              2663 tools/perf/util/parse-events.c 		    char *str, u64 num)
num              2677 tools/perf/util/parse-events.c 		term->val.num = num;
num              2692 tools/perf/util/parse-events.c 			   int type_term, char *config, u64 num,
num              2708 tools/perf/util/parse-events.c 	return new_term(term, &temp, NULL, num);
num              2756 tools/perf/util/parse-events.c 	return new_term(new, &temp, term->val.str, term->val.num);
num                96 tools/perf/util/parse-events.h 		u64  num;
num               130 tools/perf/util/parse-events.h 			   int type_term, char *config, u64 num,
num                58 tools/perf/util/parse-events.y %type <num> PE_VALUE
num                59 tools/perf/util/parse-events.y %type <num> PE_VALUE_SYM_HW
num                60 tools/perf/util/parse-events.y %type <num> PE_VALUE_SYM_SW
num                61 tools/perf/util/parse-events.y %type <num> PE_VALUE_SYM_TOOL
num                62 tools/perf/util/parse-events.y %type <num> PE_RAW
num                63 tools/perf/util/parse-events.y %type <num> PE_TERM
num                74 tools/perf/util/parse-events.y %type <num> value_sym
num               103 tools/perf/util/parse-events.y 	u64 num;
num               316 tools/perf/util/pmu.c 	int num;
num               351 tools/perf/util/pmu.c 					 "%s=%#x", term->config, term->val.num);
num               379 tools/perf/util/pmu.c 	alias->per_pkg = perpkg && sscanf(perpkg, "%d", &num) == 1 && num == 1;
num               978 tools/perf/util/pmu.c 				*value = t->val.num;
num              1083 tools/perf/util/pmu.c 		val = term->val.num;
num              1164 tools/perf/util/pmu.c 		if (term->val.num != 1)
num                25 tools/perf/util/pmu.y %type <num> PP_VALUE
num                31 tools/perf/util/pmu.y 	unsigned long num;
num              1569 tools/perf/util/scripting-engines/trace-event-python.c static void _free_command_line(const char **command_line, int num)
num              1574 tools/perf/util/scripting-engines/trace-event-python.c static void _free_command_line(wchar_t **command_line, int num)
num              1577 tools/perf/util/scripting-engines/trace-event-python.c 	for (i = 0; i < num; i++)
num              1041 tools/perf/util/stat-display.c static int get_precision(double num)
num              1043 tools/perf/util/stat-display.c 	if (num > 1)
num              1046 tools/perf/util/stat-display.c 	return lround(ceil(-log10(num)));
num               828 tools/perf/util/stat-shadow.c 	int num = 1;
num              1042 tools/perf/util/stat-shadow.c 		num = 0;
num              1049 tools/perf/util/stat-shadow.c 			if (num++ > 0)
num              1056 tools/perf/util/stat-shadow.c 	if (num == 0)
num               114 tools/perf/util/symbol.h 	int			num;
num               642 tools/perf/util/synthetic-events.c 					    int num)
num               669 tools/perf/util/synthetic-events.c 	for (i = start; i < start + num; i++) {
num               704 tools/perf/util/synthetic-events.c 	int num;
num               715 tools/perf/util/synthetic-events.c 					 args->start, args->num);
num               776 tools/perf/util/synthetic-events.c 		args[i].num = num_per_thread + 1;
num               777 tools/perf/util/synthetic-events.c 		args[i].start = i * args[i].num;
num               780 tools/perf/util/synthetic-events.c 		base = args[i-1].start + args[i-1].num;
num               782 tools/perf/util/synthetic-events.c 		args[j].num = num_per_thread;
num               783 tools/perf/util/synthetic-events.c 		args[j].start = base + (j - i) * args[i].num;
num               125 tools/perf/util/time-utils.c 	int i, num = 0, rc = 0;
num               129 tools/perf/util/time-utils.c 		num += !!(*cp == ',');
num               131 tools/perf/util/time-utils.c 	if (!num)
num               134 tools/perf/util/time-utils.c 	BUG_ON(num > size);
num               141 tools/perf/util/time-utils.c 	for (i = 0, p = str; i < num - 1; i++) {
num               166 tools/perf/util/time-utils.c 	for (i = 0; i < num - 1; i++) {
num               173 tools/perf/util/time-utils.c 	rc = num;
num               282 tools/perf/util/time-utils.c static int percent_comma_split(struct perf_time_interval *ptime_buf, int num,
num               297 tools/perf/util/time-utils.c 		if (i >= num) {
num               358 tools/perf/util/time-utils.c int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num,
num               370 tools/perf/util/time-utils.c 	memset(ptime_buf, 0, sizeof(*ptime_buf) * num);
num               374 tools/perf/util/time-utils.c 		return percent_comma_split(ptime_buf, num, ostr, start,
num               380 tools/perf/util/time-utils.c 		return percent_comma_split(ptime_buf, num, ostr, start,
num               435 tools/perf/util/time-utils.c 				   int num, u64 timestamp)
num               440 tools/perf/util/time-utils.c 	if ((!ptime_buf) || (timestamp == 0) || (num == 0))
num               443 tools/perf/util/time-utils.c 	if (num == 1)
num               449 tools/perf/util/time-utils.c 	for (i = 0; i < num; i++) {
num               469 tools/perf/util/time-utils.c 	int size, num, ret = -EINVAL;
num               486 tools/perf/util/time-utils.c 		num = perf_time__percent_parse_str(
num               492 tools/perf/util/time-utils.c 		num = perf_time__parse_strs(ptime_range, time_str, size);
num               495 tools/perf/util/time-utils.c 	if (num < 0)
num               501 tools/perf/util/time-utils.c 		for (i = 0; i < num; i++) {
num               508 tools/perf/util/time-utils.c 	*range_num = num;
num                17 tools/perf/util/time-utils.h int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num,
num                25 tools/perf/util/time-utils.h 				   int num, u64 timestamp);
num               430 tools/perf/util/unwind-libunwind-local.c 			unw_regnum_t __maybe_unused num,
num               230 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	int num, cpu;
num               232 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	for (num = 0; num < AMD_FAM14H_STATE_NUM; num++) {
num               234 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 			amd_fam14h_init(&amd_fam14h_cstates[num], cpu);
num               247 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	int num, cpu;
num               252 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	for (num = 0; num < AMD_FAM14H_STATE_NUM; num++) {
num               254 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 			amd_fam14h_disable(&amd_fam14h_cstates[num], cpu);
num               278 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	int num;
num               293 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	for (num = 0; num < AMD_FAM14H_STATE_NUM - 1; num++) {
num               294 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		previous_count[num] = calloc(cpu_count,
num               296 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		current_count[num]  = calloc(cpu_count,
num               315 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	int num;
num               316 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 	for (num = 0; num < AMD_FAM14H_STATE_NUM - 1; num++) {
num               317 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		free(previous_count[num]);
num               318 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		free(current_count[num]);
num                79 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c void fix_up_intel_idle_driver_name(char *tmp, int num)
num                83 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		switch (num) {
num                95 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		switch (num) {
num               110 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		switch (num) {
num               143 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 	int num;
num               155 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 	for (num = 0; num < cpuidle_sysfs_monitor.hw_states_num; num++) {
num               156 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		tmp = cpuidle_state_name(this_cpu, num);
num               161 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		fix_up_intel_idle_driver_name(tmp, num);
num               162 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1);
num               165 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		tmp = cpuidle_state_desc(this_cpu, num);
num               168 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		strncpy(cpuidle_cstates[num].desc, tmp,	CSTATE_DESC_LEN - 1);
num               171 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		cpuidle_cstates[num].range = RANGE_THREAD;
num               172 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		cpuidle_cstates[num].id = num;
num               173 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		cpuidle_cstates[num].get_count_percent =
num               180 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 	for (num = 0; num < cpu_count; num++) {
num               181 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		previous_count[num] = malloc(sizeof(long long) *
num               183 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		current_count[num] = malloc(sizeof(long long) *
num               193 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 	int num;
num               195 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 	for (num = 0; num < cpu_count; num++) {
num               196 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		free(previous_count[num]);
num               197 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		free(current_count[num]);
num               222 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int num;
num               238 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		for (num = 0; num < avail_monitors; num++) {
num               239 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			if (!strcmp(monitors[num]->name, token)) {
num               241 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 				tmp_mons[hits] = monitors[num];
num               284 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int num;
num               292 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; num < avail_monitors; num++)
num               293 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		monitors[num]->start();
num               313 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; num < avail_monitors; num++)
num               314 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		monitors[num]->stop();
num               326 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int num;
num               333 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; num < avail_monitors; num++) {
num               335 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		       monitors[num]->name, monitors[num]->hw_states_num);
num               336 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		monitors[num]->start();
num               345 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; num < avail_monitors; num++)
num               346 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		monitors[num]->stop();
num               389 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int num;
num               409 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; all_monitors[num]; num++) {
num               410 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		dprint("Try to register: %s\n", all_monitors[num]->name);
num               411 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		test_mon = all_monitors[num]->do_register();
num               419 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			dprint("%s registered\n", all_monitors[num]->name);
num               462 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (num = 0; num < avail_monitors; num++)
num               463 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		monitors[num]->unregister();
num               115 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	int num, cpu;
num               118 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) {
num               120 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 			hsw_ext_get_count(num, &val, cpu);
num               121 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 			previous_count[num][cpu] = val;
num               131 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	int num, cpu;
num               135 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) {
num               137 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 			is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu);
num               138 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 			current_count[num][cpu] = val;
num               148 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	int num;
num               162 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) {
num               163 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		previous_count[num] = calloc(cpu_count,
num               165 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		current_count[num]  = calloc(cpu_count,
num               174 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	int num;
num               176 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 	for (num = 0; num < HSW_EXT_CSTATE_COUNT; num++) {
num               177 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		free(previous_count[num]);
num               178 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		free(current_count[num]);
num               128 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	int num, cpu;
num               133 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	for (num = 0; num < NHM_CSTATE_COUNT; num++) {
num               135 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 			is_valid[cpu] = !nhm_get_count(num, &val, cpu);
num               136 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 			previous_count[num][cpu] = val;
num               148 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	int num, cpu;
num               152 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	for (num = 0; num < NHM_CSTATE_COUNT; num++) {
num               154 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 			is_valid[cpu] = !nhm_get_count(num, &val, cpu);
num               155 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 			current_count[num][cpu] = val;
num               168 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	int num;
num               181 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	for (num = 0; num < NHM_CSTATE_COUNT; num++) {
num               182 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		previous_count[num] = calloc(cpu_count,
num               184 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		current_count[num]  = calloc(cpu_count,
num               194 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	int num;
num               196 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 	for (num = 0; num < NHM_CSTATE_COUNT; num++) {
num               197 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		free(previous_count[num]);
num               198 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		free(current_count[num]);
num               113 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	int num, cpu;
num               116 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	for (num = 0; num < SNB_CSTATE_COUNT; num++) {
num               118 tools/power/cpupower/utils/idle_monitor/snb_idle.c 			snb_get_count(num, &val, cpu);
num               119 tools/power/cpupower/utils/idle_monitor/snb_idle.c 			previous_count[num][cpu] = val;
num               129 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	int num, cpu;
num               133 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	for (num = 0; num < SNB_CSTATE_COUNT; num++) {
num               135 tools/power/cpupower/utils/idle_monitor/snb_idle.c 			is_valid[cpu] = !snb_get_count(num, &val, cpu);
num               136 tools/power/cpupower/utils/idle_monitor/snb_idle.c 			current_count[num][cpu] = val;
num               146 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	int num;
num               167 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	for (num = 0; num < SNB_CSTATE_COUNT; num++) {
num               168 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		previous_count[num] = calloc(cpu_count,
num               170 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		current_count[num]  = calloc(cpu_count,
num               179 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	int num;
num               181 tools/power/cpupower/utils/idle_monitor/snb_idle.c 	for (num = 0; num < SNB_CSTATE_COUNT; num++) {
num               182 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		free(previous_count[num]);
num               183 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		free(current_count[num]);
num              2928 tools/testing/nvdimm/test/nfit.c 		int num = nfit_test->num_dcr;
num              2930 tools/testing/nvdimm/test/nfit.c 		nfit_test->dimm = devm_kcalloc(dev, num, sizeof(void *),
num              2932 tools/testing/nvdimm/test/nfit.c 		nfit_test->dimm_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t),
num              2934 tools/testing/nvdimm/test/nfit.c 		nfit_test->flush = devm_kcalloc(dev, num, sizeof(void *),
num              2936 tools/testing/nvdimm/test/nfit.c 		nfit_test->flush_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t),
num              2938 tools/testing/nvdimm/test/nfit.c 		nfit_test->label = devm_kcalloc(dev, num, sizeof(void *),
num              2940 tools/testing/nvdimm/test/nfit.c 		nfit_test->label_dma = devm_kcalloc(dev, num,
num              2942 tools/testing/nvdimm/test/nfit.c 		nfit_test->dcr = devm_kcalloc(dev, num,
num              2944 tools/testing/nvdimm/test/nfit.c 		nfit_test->dcr_dma = devm_kcalloc(dev, num,
num              2946 tools/testing/nvdimm/test/nfit.c 		nfit_test->smart = devm_kcalloc(dev, num,
num              2948 tools/testing/nvdimm/test/nfit.c 		nfit_test->smart_threshold = devm_kcalloc(dev, num,
num              2951 tools/testing/nvdimm/test/nfit.c 		nfit_test->fw = devm_kcalloc(dev, num,
num              2964 tools/testing/nvdimm/test/nfit.c 		int num = nfit_test->num_pm;
num              2966 tools/testing/nvdimm/test/nfit.c 		nfit_test->spa_set = devm_kcalloc(dev, num, sizeof(void *),
num              2968 tools/testing/nvdimm/test/nfit.c 		nfit_test->spa_set_dma = devm_kcalloc(dev, num,
num                 8 tools/testing/scatterlist/main.c static void set_pages(struct page **pages, const unsigned *array, unsigned num)
num                12 tools/testing/scatterlist/main.c 	assert(num < MAX_PAGES);
num                13 tools/testing/scatterlist/main.c 	for (i = 0; i < num; i++)
num                 7 tools/testing/selftests/bpf/prog_tests/global_data.c 	uint64_t num;
num                16 tools/testing/selftests/bpf/prog_tests/global_data.c 		uint64_t num;
num                32 tools/testing/selftests/bpf/prog_tests/global_data.c 		err = bpf_map_lookup_elem(map_fd, &tests[i].key, &num);
num                33 tools/testing/selftests/bpf/prog_tests/global_data.c 		CHECK(err || num != tests[i].num, tests[i].name,
num                35 tools/testing/selftests/bpf/prog_tests/global_data.c 		      err, num, tests[i].num);
num               152 tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c 	int num;
num                65 tools/testing/selftests/bpf/progs/test_global_data.c #define test_reloc(map, num, var)					\
num                67 tools/testing/selftests/bpf/progs/test_global_data.c 		__u32 key = num;					\
num               495 tools/testing/selftests/bpf/test_flow_dissector.c 	int ret, num = 0;
num               505 tools/testing/selftests/bpf/test_flow_dissector.c 		num++;
num               508 tools/testing/selftests/bpf/test_flow_dissector.c 	return num;
num                30 tools/testing/selftests/bpf/test_progs.c static bool should_run(struct test_selector *sel, int num, const char *name)
num                38 tools/testing/selftests/bpf/test_progs.c 	return num < sel->num_set_len && sel->num_set[num];
num               364 tools/testing/selftests/bpf/test_progs.c 	int i, set_len = 0, num, start = 0, end = -1;
num               370 tools/testing/selftests/bpf/test_progs.c 		num = strtol(s, &next, 10);
num               375 tools/testing/selftests/bpf/test_progs.c 			end = num;
num               377 tools/testing/selftests/bpf/test_progs.c 			start = num;
num               386 tools/testing/selftests/bpf/test_progs.c 			end = num;
num               390 tools/testing/selftests/bpf/test_progs.c 			end = num;
num              1392 tools/testing/selftests/bpf/test_sysctl.c 		uint64_t num;
num              1405 tools/testing/selftests/bpf/test_sysctl.c 	prog[insn_num].imm = (uint32_t)value.num;
num              1406 tools/testing/selftests/bpf/test_sysctl.c 	prog[insn_num + 1].imm = (uint32_t)(value.num >> 32);
num               121 tools/testing/selftests/kvm/include/kvm_util.h void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...);
num               148 tools/testing/selftests/kvm/include/kvm_util.h vm_paddr_t vm_phy_pages_alloc(struct kvm_vm *vm, size_t num,
num                37 tools/testing/selftests/kvm/include/sparsebit.h 			  sparsebit_idx_t idx, sparsebit_num_t num);
num                40 tools/testing/selftests/kvm/include/sparsebit.h 			    sparsebit_idx_t idx, sparsebit_num_t num);
num                51 tools/testing/selftests/kvm/include/sparsebit.h 				       sparsebit_idx_t start, sparsebit_num_t num);
num                53 tools/testing/selftests/kvm/include/sparsebit.h 					 sparsebit_idx_t start, sparsebit_num_t num);
num                57 tools/testing/selftests/kvm/include/sparsebit.h 		       sparsebit_num_t num);
num                62 tools/testing/selftests/kvm/include/sparsebit.h 			 sparsebit_idx_t start, sparsebit_num_t num);
num              1557 tools/testing/selftests/kvm/lib/kvm_util.c vm_paddr_t vm_phy_pages_alloc(struct kvm_vm *vm, size_t num,
num              1563 tools/testing/selftests/kvm/lib/kvm_util.c 	TEST_ASSERT(num > 0, "Must allocate at least one page");
num              1574 tools/testing/selftests/kvm/lib/kvm_util.c 		for (; pg < base + num; ++pg) {
num              1580 tools/testing/selftests/kvm/lib/kvm_util.c 	} while (pg && pg != base + num);
num              1591 tools/testing/selftests/kvm/lib/kvm_util.c 	for (pg = base; pg < base + num; ++pg)
num               986 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t idx, sparsebit_num_t num)
num               990 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num > 0);
num               991 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(idx + num - 1 >= idx);
num              1005 tools/testing/selftests/kvm/lib/sparsebit.c 	return next_cleared == 0 || next_cleared - idx >= num;
num              1017 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t idx, sparsebit_num_t num)
num              1021 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num > 0);
num              1022 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(idx + num - 1 >= idx);
num              1036 tools/testing/selftests/kvm/lib/sparsebit.c 	return next_set == 0 || next_set - idx >= num;
num              1305 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t start, sparsebit_num_t num)
num              1309 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num >= 1);
num              1312 tools/testing/selftests/kvm/lib/sparsebit.c 		idx != 0 && idx + num - 1 >= idx;
num              1320 tools/testing/selftests/kvm/lib/sparsebit.c 		if (sparsebit_is_set_num(s, idx, num))
num              1340 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t start, sparsebit_num_t num)
num              1344 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num >= 1);
num              1347 tools/testing/selftests/kvm/lib/sparsebit.c 		idx != 0 && idx + num - 1 >= idx;
num              1355 tools/testing/selftests/kvm/lib/sparsebit.c 		if (sparsebit_is_clear_num(s, idx, num))
num              1372 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t start, sparsebit_num_t num)
num              1380 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num > 0);
num              1381 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(start + num - 1 >= start);
num              1403 tools/testing/selftests/kvm/lib/sparsebit.c 	for (idx = start, n = num; n > 0 && idx % MASK_BITS != 0; idx++, n--)
num              1454 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_idx_t start, sparsebit_num_t num)
num              1462 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(num > 0);
num              1463 tools/testing/selftests/kvm/lib/sparsebit.c 	assert(start + num - 1 >= start);
num              1466 tools/testing/selftests/kvm/lib/sparsebit.c 	for (idx = start, n = num; n > 0 && idx % MASK_BITS != 0; idx++, n--)
num              1917 tools/testing/selftests/kvm/lib/sparsebit.c 	sparsebit_num_t num;
num              1921 tools/testing/selftests/kvm/lib/sparsebit.c 		num = last - first + 1;
num              1923 tools/testing/selftests/kvm/lib/sparsebit.c 		num = first - last + 1;
num              1925 tools/testing/selftests/kvm/lib/sparsebit.c 		last = first + num - 1;
num              1993 tools/testing/selftests/kvm/lib/sparsebit.c 		if (sparsebit_is_set_num(s, first, num)) {
num              2008 tools/testing/selftests/kvm/lib/sparsebit.c 		if (sparsebit_is_clear_num(s, first, num)) {
num              2022 tools/testing/selftests/kvm/lib/sparsebit.c 		sparsebit_set_num(s, first, num);
num              2023 tools/testing/selftests/kvm/lib/sparsebit.c 		assert(sparsebit_is_set_num(s, first, num));
num              2024 tools/testing/selftests/kvm/lib/sparsebit.c 		assert(!sparsebit_is_clear_num(s, first, num));
num              2033 tools/testing/selftests/kvm/lib/sparsebit.c 		sparsebit_clear_num(s, first, num);
num              2034 tools/testing/selftests/kvm/lib/sparsebit.c 		assert(!sparsebit_is_set_num(s, first, num));
num              2035 tools/testing/selftests/kvm/lib/sparsebit.c 		assert(sparsebit_is_clear_num(s, first, num));
num               922 tools/testing/selftests/kvm/lib/x86_64/processor.c void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...)
num               927 tools/testing/selftests/kvm/lib/x86_64/processor.c 	TEST_ASSERT(num >= 1 && num <= 6, "Unsupported number of args,\n"
num               929 tools/testing/selftests/kvm/lib/x86_64/processor.c 		    num);
num               931 tools/testing/selftests/kvm/lib/x86_64/processor.c 	va_start(ap, num);
num               934 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 1)
num               937 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 2)
num               940 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 3)
num               943 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 4)
num               946 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 5)
num               949 tools/testing/selftests/kvm/lib/x86_64/processor.c 	if (num >= 6)
num               351 tools/testing/selftests/net/msg_zerocopy.c 	if (ck->num > RDS_MAX_ZCOOKIES)
num               353 tools/testing/selftests/net/msg_zerocopy.c 		      ck->num, RDS_MAX_ZCOOKIES);
num               354 tools/testing/selftests/net/msg_zerocopy.c 	for (i = 0; i < ck->num; i++)
num               357 tools/testing/selftests/net/msg_zerocopy.c 	return ck->num;
num               111 tools/testing/selftests/net/psock_lib.h static __maybe_unused void pair_udp_send_char(int fds[], int num, char payload)
num               116 tools/testing/selftests/net/psock_lib.h 	while (num--) {
num               119 tools/testing/selftests/net/psock_lib.h 			fprintf(stderr, "ERROR: send failed left=%d\n", num);
num               123 tools/testing/selftests/net/psock_lib.h 			fprintf(stderr, "ERROR: recv failed left=%d\n", num);
num               127 tools/testing/selftests/net/psock_lib.h 			fprintf(stderr, "ERROR: data failed left=%d\n", num);
num               133 tools/testing/selftests/net/psock_lib.h static __maybe_unused void pair_udp_send(int fds[], int num)
num               135 tools/testing/selftests/net/psock_lib.h 	return pair_udp_send_char(fds, num, DATA_CHAR);
num               760 tools/testing/selftests/net/psock_tpacket.c 	int num = 0, fd;
num               779 tools/testing/selftests/net/psock_tpacket.c 		num++;
num               783 tools/testing/selftests/net/psock_tpacket.c 	return num * 4;
num                31 tools/testing/selftests/powerpc/utils.c 	ssize_t num;
num                40 tools/testing/selftests/powerpc/utils.c 	num = read(fd, buf, buf_size);
num                41 tools/testing/selftests/powerpc/utils.c 	if (num < 0) {
num                47 tools/testing/selftests/powerpc/utils.c 	if (num > buf_size) {
num              1432 tools/testing/selftests/seccomp/seccomp_bpf.c void cont_handler(int num)
num                45 tools/testing/selftests/size/get_size.c static inline char *num_to_str(unsigned long num, char *buf, int len)
num                53 tools/testing/selftests/size/get_size.c 		digit = num % 10;
num                55 tools/testing/selftests/size/get_size.c 		num /= 10;
num                56 tools/testing/selftests/size/get_size.c 	} while (num > 0);
num                61 tools/testing/selftests/size/get_size.c static int print_num(unsigned long num)
num                65 tools/testing/selftests/size/get_size.c 	return print(num_to_str(num, num_buf, sizeof(num_buf)));
num                68 tools/testing/selftests/size/get_size.c static int print_k_value(const char *s, unsigned long num, unsigned long units)
num                75 tools/testing/selftests/size/get_size.c 	temp = num;
num                77 tools/testing/selftests/size/get_size.c 	num = temp;
num                78 tools/testing/selftests/size/get_size.c 	ccode = print_num(num);
num               128 tools/testing/selftests/x86/test_syscall_vdso.c 	int num = 8;
num               145 tools/testing/selftests/x86/test_syscall_vdso.c 			if (num == 11) {
num               162 tools/testing/selftests/x86/test_syscall_vdso.c 		printf("[FAIL]\tR%d has changed:%016llx\n", num, *r64);
num               164 tools/testing/selftests/x86/test_syscall_vdso.c 	} while (r64++, ++num < 16);
num               350 tools/usb/testusb.c static int parse_num(unsigned *num, const char *str)
num               359 tools/usb/testusb.c 	*num = val;
num                57 tools/usb/usbip/libsrc/names.c 	unsigned int num;
num                66 tools/usb/usbip/libsrc/names.c static unsigned int hashnum(unsigned int num)
num                71 tools/usb/usbip/libsrc/names.c 		if (num & mask1)
num                72 tools/usb/usbip/libsrc/names.c 			num ^= mask2;
num                73 tools/usb/usbip/libsrc/names.c 	return num & (HASHSZ-1);
num                20 tools/usb/usbip/libsrc/usbip_common.c 	int num;
num                36 tools/usb/usbip/libsrc/usbip_common.c 	int num;
num                54 tools/usb/usbip/libsrc/usbip_common.c 		if (portst_strings[i].num == status)
num                60 tools/usb/usbip/libsrc/usbip_common.c const char *usbip_speed_string(int num)
num                63 tools/usb/usbip/libsrc/usbip_common.c 		if (speed_strings[i].num == num)
num                70 tools/usb/usbip/libsrc/usbip_common.c 	int num;
num                87 tools/usb/usbip/libsrc/usbip_common.c 		if (op_common_status_strings[i].num == status)
num               145 tools/usb/usbip/libsrc/usbip_common.c 	int num = 0;
num               164 tools/usb/usbip/libsrc/usbip_common.c 	ret = sscanf(attr, format, &num);
num               175 tools/usb/usbip/libsrc/usbip_common.c 	return num;
num               191 tools/usb/usbip/libsrc/usbip_common.c 			return speed_strings[i].num;
num               141 tools/usb/usbip/libsrc/usbip_common.h const char *usbip_speed_string(int num);
num               268 tools/usb/usbip/libsrc/usbip_host_common.c 		struct usbip_host_driver *hdriver, int num)
num               276 tools/usb/usbip/libsrc/usbip_host_common.c 		if (num == cnt)
num                29 tools/usb/usbip/libsrc/usbip_host_common.h 		struct usbip_host_driver *hdriver, int num);
num                77 tools/usb/usbip/libsrc/usbip_host_common.h usbip_get_device(struct usbip_host_driver *hdriver, int num)
num                81 tools/usb/usbip/libsrc/usbip_host_common.h 	return hdriver->ops.get_device(hdriver, num);
num                90 tools/usb/usbip/libsrc/usbip_host_common.h 		struct usbip_host_driver *hdriver, int num);
num                53 tools/usb/usbip/src/usbip_network.c uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num)
num                58 tools/usb/usbip/src/usbip_network.c 		i = htonl(num);
num                60 tools/usb/usbip/src/usbip_network.c 		i = ntohl(num);
num                65 tools/usb/usbip/src/usbip_network.c uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num)
num                70 tools/usb/usbip/src/usbip_network.c 		i = htons(num);
num                72 tools/usb/usbip/src/usbip_network.c 		i = ntohs(num);
num               163 tools/usb/usbip/src/usbip_network.h uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num);
num               164 tools/usb/usbip/src/usbip_network.h uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num);
num                37 tools/virtio/linux/virtio.h 			 struct scatterlist sg[], unsigned int num,
num                42 tools/virtio/linux/virtio.h 			struct scatterlist sg[], unsigned int num,
num                57 tools/virtio/linux/virtio.h 				      unsigned int num,
num                27 tools/virtio/virtio_test.c 	int num;
num                75 tools/virtio/virtio_test.c 	state.num = info->vring.num;
num                78 tools/virtio/virtio_test.c 	state.num = 0;
num                91 tools/virtio/virtio_test.c static void vq_info_add(struct vdev_info *dev, int num)
num                98 tools/virtio/virtio_test.c 	r = posix_memalign(&info->ring, 4096, vring_size(num, 4096));
num               100 tools/virtio/virtio_test.c 	memset(info->ring, 0, vring_size(num, 4096));
num               101 tools/virtio/virtio_test.c 	vring_init(&info->vring, num, info->ring, 4096);
num               103 tools/virtio/virtio_test.c 				       info->vring.num, 4096, &dev->vdev,
num               126 tools/virtio/vringh_test.c 	i = vrh->last_avail_idx & (vrh->vring.num - 1);
num                24 tools/vm/page_owner_sort.c 	int num;
num                58 tools/vm/page_owner_sort.c 	return l2->num - l1->num;
num                66 tools/vm/page_owner_sort.c 		list[list_size-1].num++;
num                75 tools/vm/page_owner_sort.c 	list[list_size].num = 1;
num               142 tools/vm/page_owner_sort.c 			list2[count-1].num += list[i].num;
num               149 tools/vm/page_owner_sort.c 		fprintf(fout, "%d times:\n%s\n", list2[i].num, list2[i].txt);
num                21 virt/kvm/arm/vgic/vgic-mmio-v3.c 			    unsigned int num)
num                23 virt/kvm/arm/vgic/vgic-mmio-v3.c 	return (data >> (offset * 8)) & GENMASK_ULL(num * 8 - 1, 0);
num               112 virt/kvm/arm/vgic/vgic-mmio.h 			    unsigned int num);