desc              109 arch/alpha/kernel/irq.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              111 arch/alpha/kernel/irq.c 	if (!desc || ((unsigned) irq > ACTUAL_NR_IRQS &&
desc              121 arch/alpha/kernel/irq.c 	generic_handle_irq_desc(desc);
desc              347 arch/arc/kernel/mcip.c static void idu_cascade_isr(struct irq_desc *desc)
desc              349 arch/arc/kernel/mcip.c 	struct irq_domain *idu_domain = irq_desc_get_handler_data(desc);
desc              350 arch/arc/kernel/mcip.c 	struct irq_chip *core_chip = irq_desc_get_chip(desc);
desc              351 arch/arc/kernel/mcip.c 	irq_hw_number_t core_hwirq = irqd_to_hwirq(irq_desc_get_irq_data(desc));
desc              354 arch/arc/kernel/mcip.c 	chained_irq_enter(core_chip, desc);
desc              356 arch/arc/kernel/mcip.c 	chained_irq_exit(core_chip, desc);
desc               95 arch/arm/common/it8152.c void it8152_irq_demux(struct irq_desc *desc)
desc              138 arch/arm/common/locomo.c static void locomo_handler(struct irq_desc *desc)
desc              140 arch/arm/common/locomo.c 	struct locomo *lchip = irq_desc_get_handler_data(desc);
desc              144 arch/arm/common/locomo.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              212 arch/arm/common/sa1111.c static void sa1111_irq_handler(struct irq_desc *desc)
desc              215 arch/arm/common/sa1111.c 	struct sa1111 *sachip = irq_desc_get_handler_data(desc);
desc              224 arch/arm/common/sa1111.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              229 arch/arm/common/sa1111.c 		do_bad_IRQ(desc);
desc              244 arch/arm/common/sa1111.c 	desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc               65 arch/arm/crypto/crc32-ce-glue.c static int crc32_init(struct shash_desc *desc)
desc               67 arch/arm/crypto/crc32-ce-glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc               68 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc               74 arch/arm/crypto/crc32-ce-glue.c static int crc32_update(struct shash_desc *desc, const u8 *data,
desc               77 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc               83 arch/arm/crypto/crc32-ce-glue.c static int crc32c_update(struct shash_desc *desc, const u8 *data,
desc               86 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc               92 arch/arm/crypto/crc32-ce-glue.c static int crc32_final(struct shash_desc *desc, u8 *out)
desc               94 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc              100 arch/arm/crypto/crc32-ce-glue.c static int crc32c_final(struct shash_desc *desc, u8 *out)
desc              102 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc              108 arch/arm/crypto/crc32-ce-glue.c static int crc32_pmull_update(struct shash_desc *desc, const u8 *data,
desc              111 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc              142 arch/arm/crypto/crc32-ce-glue.c static int crc32c_pmull_update(struct shash_desc *desc, const u8 *data,
desc              145 arch/arm/crypto/crc32-ce-glue.c 	u32 *crc = shash_desc_ctx(desc);
desc               24 arch/arm/crypto/crct10dif-ce-glue.c static int crct10dif_init(struct shash_desc *desc)
desc               26 arch/arm/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               32 arch/arm/crypto/crct10dif-ce-glue.c static int crct10dif_update(struct shash_desc *desc, const u8 *data,
desc               35 arch/arm/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               48 arch/arm/crypto/crct10dif-ce-glue.c static int crct10dif_final(struct shash_desc *desc, u8 *out)
desc               50 arch/arm/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               60 arch/arm/crypto/ghash-ce-glue.c static int ghash_init(struct shash_desc *desc)
desc               62 arch/arm/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc               98 arch/arm/crypto/ghash-ce-glue.c static int ghash_update(struct shash_desc *desc, const u8 *src,
desc              101 arch/arm/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              107 arch/arm/crypto/ghash-ce-glue.c 		struct ghash_key *key = crypto_shash_ctx(desc->tfm);
desc              131 arch/arm/crypto/ghash-ce-glue.c static int ghash_final(struct shash_desc *desc, u8 *dst)
desc              133 arch/arm/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              137 arch/arm/crypto/ghash-ce-glue.c 		struct ghash_key *key = crypto_shash_ctx(desc->tfm);
desc              210 arch/arm/crypto/ghash-ce-glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              213 arch/arm/crypto/ghash-ce-glue.c 	desc->tfm = child;
desc              214 arch/arm/crypto/ghash-ce-glue.c 	return crypto_shash_init(desc);
desc              230 arch/arm/crypto/ghash-ce-glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              231 arch/arm/crypto/ghash-ce-glue.c 		return shash_ahash_update(req, desc);
desc              248 arch/arm/crypto/ghash-ce-glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              249 arch/arm/crypto/ghash-ce-glue.c 		return crypto_shash_final(desc, req->result);
desc              266 arch/arm/crypto/ghash-ce-glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              269 arch/arm/crypto/ghash-ce-glue.c 		desc->tfm = child;
desc              270 arch/arm/crypto/ghash-ce-glue.c 		return shash_ahash_digest(req, desc);
desc              279 arch/arm/crypto/ghash-ce-glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              281 arch/arm/crypto/ghash-ce-glue.c 	desc->tfm = cryptd_ahash_child(ctx->cryptd_tfm);
desc              283 arch/arm/crypto/ghash-ce-glue.c 	return crypto_shash_import(desc, in);
desc              289 arch/arm/crypto/ghash-ce-glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              291 arch/arm/crypto/ghash-ce-glue.c 	return crypto_shash_export(desc, out);
desc               26 arch/arm/crypto/nhpoly1305-neon-glue.c static int nhpoly1305_neon_update(struct shash_desc *desc,
desc               30 arch/arm/crypto/nhpoly1305-neon-glue.c 		return crypto_nhpoly1305_update(desc, src, srclen);
desc               36 arch/arm/crypto/nhpoly1305-neon-glue.c 		crypto_nhpoly1305_update_helper(desc, src, n, _nh_neon);
desc               29 arch/arm/crypto/sha1-ce-glue.c static int sha1_ce_update(struct shash_desc *desc, const u8 *data,
desc               32 arch/arm/crypto/sha1-ce-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               36 arch/arm/crypto/sha1-ce-glue.c 		return sha1_update_arm(desc, data, len);
desc               39 arch/arm/crypto/sha1-ce-glue.c 	sha1_base_do_update(desc, data, len, sha1_ce_transform);
desc               45 arch/arm/crypto/sha1-ce-glue.c static int sha1_ce_finup(struct shash_desc *desc, const u8 *data,
desc               49 arch/arm/crypto/sha1-ce-glue.c 		return sha1_finup_arm(desc, data, len, out);
desc               53 arch/arm/crypto/sha1-ce-glue.c 		sha1_base_do_update(desc, data, len, sha1_ce_transform);
desc               54 arch/arm/crypto/sha1-ce-glue.c 	sha1_base_do_finalize(desc, sha1_ce_transform);
desc               57 arch/arm/crypto/sha1-ce-glue.c 	return sha1_base_finish(desc, out);
desc               60 arch/arm/crypto/sha1-ce-glue.c static int sha1_ce_final(struct shash_desc *desc, u8 *out)
desc               62 arch/arm/crypto/sha1-ce-glue.c 	return sha1_ce_finup(desc, NULL, 0, out);
desc                8 arch/arm/crypto/sha1.h extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
desc               11 arch/arm/crypto/sha1.h extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
desc               28 arch/arm/crypto/sha1_glue.c int sha1_update_arm(struct shash_desc *desc, const u8 *data,
desc               34 arch/arm/crypto/sha1_glue.c 	return sha1_base_do_update(desc, data, len,
desc               39 arch/arm/crypto/sha1_glue.c static int sha1_final(struct shash_desc *desc, u8 *out)
desc               41 arch/arm/crypto/sha1_glue.c 	sha1_base_do_finalize(desc, (sha1_block_fn *)sha1_block_data_order);
desc               42 arch/arm/crypto/sha1_glue.c 	return sha1_base_finish(desc, out);
desc               45 arch/arm/crypto/sha1_glue.c int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
desc               48 arch/arm/crypto/sha1_glue.c 	sha1_base_do_update(desc, data, len,
desc               50 arch/arm/crypto/sha1_glue.c 	return sha1_final(desc, out);
desc               33 arch/arm/crypto/sha1_neon_glue.c static int sha1_neon_update(struct shash_desc *desc, const u8 *data,
desc               36 arch/arm/crypto/sha1_neon_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               40 arch/arm/crypto/sha1_neon_glue.c 		return sha1_update_arm(desc, data, len);
desc               43 arch/arm/crypto/sha1_neon_glue.c 	sha1_base_do_update(desc, data, len,
desc               50 arch/arm/crypto/sha1_neon_glue.c static int sha1_neon_finup(struct shash_desc *desc, const u8 *data,
desc               54 arch/arm/crypto/sha1_neon_glue.c 		return sha1_finup_arm(desc, data, len, out);
desc               58 arch/arm/crypto/sha1_neon_glue.c 		sha1_base_do_update(desc, data, len,
desc               60 arch/arm/crypto/sha1_neon_glue.c 	sha1_base_do_finalize(desc, (sha1_block_fn *)sha1_transform_neon);
desc               63 arch/arm/crypto/sha1_neon_glue.c 	return sha1_base_finish(desc, out);
desc               66 arch/arm/crypto/sha1_neon_glue.c static int sha1_neon_final(struct shash_desc *desc, u8 *out)
desc               68 arch/arm/crypto/sha1_neon_glue.c 	return sha1_neon_finup(desc, NULL, 0, out);
desc               30 arch/arm/crypto/sha2-ce-glue.c static int sha2_ce_update(struct shash_desc *desc, const u8 *data,
desc               33 arch/arm/crypto/sha2-ce-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               37 arch/arm/crypto/sha2-ce-glue.c 		return crypto_sha256_arm_update(desc, data, len);
desc               40 arch/arm/crypto/sha2-ce-glue.c 	sha256_base_do_update(desc, data, len,
desc               47 arch/arm/crypto/sha2-ce-glue.c static int sha2_ce_finup(struct shash_desc *desc, const u8 *data,
desc               51 arch/arm/crypto/sha2-ce-glue.c 		return crypto_sha256_arm_finup(desc, data, len, out);
desc               55 arch/arm/crypto/sha2-ce-glue.c 		sha256_base_do_update(desc, data, len,
desc               57 arch/arm/crypto/sha2-ce-glue.c 	sha256_base_do_finalize(desc, (sha256_block_fn *)sha2_ce_transform);
desc               60 arch/arm/crypto/sha2-ce-glue.c 	return sha256_base_finish(desc, out);
desc               63 arch/arm/crypto/sha2-ce-glue.c static int sha2_ce_final(struct shash_desc *desc, u8 *out)
desc               65 arch/arm/crypto/sha2-ce-glue.c 	return sha2_ce_finup(desc, NULL, 0, out);
desc               31 arch/arm/crypto/sha256_glue.c int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
desc               37 arch/arm/crypto/sha256_glue.c 	return sha256_base_do_update(desc, data, len,
desc               42 arch/arm/crypto/sha256_glue.c static int crypto_sha256_arm_final(struct shash_desc *desc, u8 *out)
desc               44 arch/arm/crypto/sha256_glue.c 	sha256_base_do_finalize(desc,
desc               46 arch/arm/crypto/sha256_glue.c 	return sha256_base_finish(desc, out);
desc               49 arch/arm/crypto/sha256_glue.c int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
desc               52 arch/arm/crypto/sha256_glue.c 	sha256_base_do_update(desc, data, len,
desc               54 arch/arm/crypto/sha256_glue.c 	return crypto_sha256_arm_final(desc, out);
desc                9 arch/arm/crypto/sha256_glue.h int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
desc               12 arch/arm/crypto/sha256_glue.h int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
desc               28 arch/arm/crypto/sha256_neon_glue.c static int crypto_sha256_neon_update(struct shash_desc *desc, const u8 *data,
desc               31 arch/arm/crypto/sha256_neon_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               35 arch/arm/crypto/sha256_neon_glue.c 		return crypto_sha256_arm_update(desc, data, len);
desc               38 arch/arm/crypto/sha256_neon_glue.c 	sha256_base_do_update(desc, data, len,
desc               45 arch/arm/crypto/sha256_neon_glue.c static int crypto_sha256_neon_finup(struct shash_desc *desc, const u8 *data,
desc               49 arch/arm/crypto/sha256_neon_glue.c 		return crypto_sha256_arm_finup(desc, data, len, out);
desc               53 arch/arm/crypto/sha256_neon_glue.c 		sha256_base_do_update(desc, data, len,
desc               55 arch/arm/crypto/sha256_neon_glue.c 	sha256_base_do_finalize(desc,
desc               59 arch/arm/crypto/sha256_neon_glue.c 	return sha256_base_finish(desc, out);
desc               62 arch/arm/crypto/sha256_neon_glue.c static int crypto_sha256_neon_final(struct shash_desc *desc, u8 *out)
desc               64 arch/arm/crypto/sha256_neon_glue.c 	return crypto_sha256_neon_finup(desc, NULL, 0, out);
desc               30 arch/arm/crypto/sha512-glue.c int sha512_arm_update(struct shash_desc *desc, const u8 *data,
desc               33 arch/arm/crypto/sha512-glue.c 	return sha512_base_do_update(desc, data, len,
desc               37 arch/arm/crypto/sha512-glue.c static int sha512_arm_final(struct shash_desc *desc, u8 *out)
desc               39 arch/arm/crypto/sha512-glue.c 	sha512_base_do_finalize(desc,
desc               41 arch/arm/crypto/sha512-glue.c 	return sha512_base_finish(desc, out);
desc               44 arch/arm/crypto/sha512-glue.c int sha512_arm_finup(struct shash_desc *desc, const u8 *data,
desc               47 arch/arm/crypto/sha512-glue.c 	sha512_base_do_update(desc, data, len,
desc               49 arch/arm/crypto/sha512-glue.c 	return sha512_arm_final(desc, out);
desc               26 arch/arm/crypto/sha512-neon-glue.c static int sha512_neon_update(struct shash_desc *desc, const u8 *data,
desc               29 arch/arm/crypto/sha512-neon-glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               33 arch/arm/crypto/sha512-neon-glue.c 		return sha512_arm_update(desc, data, len);
desc               36 arch/arm/crypto/sha512-neon-glue.c 	sha512_base_do_update(desc, data, len,
desc               43 arch/arm/crypto/sha512-neon-glue.c static int sha512_neon_finup(struct shash_desc *desc, const u8 *data,
desc               47 arch/arm/crypto/sha512-neon-glue.c 		return sha512_arm_finup(desc, data, len, out);
desc               51 arch/arm/crypto/sha512-neon-glue.c 		sha512_base_do_update(desc, data, len,
desc               53 arch/arm/crypto/sha512-neon-glue.c 	sha512_base_do_finalize(desc,
desc               57 arch/arm/crypto/sha512-neon-glue.c 	return sha512_base_finish(desc, out);
desc               60 arch/arm/crypto/sha512-neon-glue.c static int sha512_neon_final(struct shash_desc *desc, u8 *out)
desc               62 arch/arm/crypto/sha512-neon-glue.c 	return sha512_neon_finup(desc, NULL, 0, out);
desc                3 arch/arm/crypto/sha512.h int sha512_arm_update(struct shash_desc *desc, const u8 *data,
desc                6 arch/arm/crypto/sha512.h int sha512_arm_finup(struct shash_desc *desc, const u8 *data,
desc               22 arch/arm/include/asm/cpuidle.h 	.desc                   = "ARM WFI",\
desc              110 arch/arm/include/asm/hardware/it8152.h extern void it8152_irq_demux(struct irq_desc *desc);
desc               23 arch/arm/include/asm/mach/irq.h #define do_bad_IRQ(desc)				\
desc               25 arch/arm/include/asm/mach/irq.h 	raw_spin_lock(&desc->lock);			\
desc               26 arch/arm/include/asm/mach/irq.h 	handle_bad_irq(desc);				\
desc               27 arch/arm/include/asm/mach/irq.h 	raw_spin_unlock(&desc->lock);			\
desc               47 arch/arm/kernel/efi.c 	struct map_desc desc = {
desc               59 arch/arm/kernel/efi.c 		desc.type = MT_MEMORY_RWX;
desc               61 arch/arm/kernel/efi.c 		desc.type = MT_MEMORY_RWX_NONCACHED;
desc               63 arch/arm/kernel/efi.c 		desc.type = MT_DEVICE_WC;
desc               65 arch/arm/kernel/efi.c 		desc.type = MT_DEVICE;
desc               67 arch/arm/kernel/efi.c 	create_mapping_late(mm, &desc, true);
desc              125 arch/arm/kernel/machine_kexec.c 	struct irq_desc *desc;
desc              127 arch/arm/kernel/machine_kexec.c 	for_each_irq_desc(i, desc) {
desc              130 arch/arm/kernel/machine_kexec.c 		chip = irq_desc_get_chip(desc);
desc              134 arch/arm/kernel/machine_kexec.c 		if (chip->irq_eoi && irqd_irq_inprogress(&desc->irq_data))
desc              135 arch/arm/kernel/machine_kexec.c 			chip->irq_eoi(&desc->irq_data);
desc              138 arch/arm/kernel/machine_kexec.c 			chip->irq_mask(&desc->irq_data);
desc              140 arch/arm/kernel/machine_kexec.c 		if (chip->irq_disable && !irqd_irq_disabled(&desc->irq_data))
desc              141 arch/arm/kernel/machine_kexec.c 			chip->irq_disable(&desc->irq_data);
desc               78 arch/arm/kernel/setup.c extern void paging_init(const struct machine_desc *desc);
desc               82 arch/arm/kernel/setup.c extern void setup_dma_zone(const struct machine_desc *desc);
desc              423 arch/arm/mach-davinci/board-da850-evm.c 		.desc			= NULL, /* assigned at runtime */
desc              449 arch/arm/mach-davinci/board-da850-evm.c 		button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i];
desc              590 arch/arm/mach-davinci/board-da850-evm.c 		.desc			= NULL, /* assigned at runtime */
desc              599 arch/arm/mach-davinci/board-da850-evm.c 		.desc			= NULL, /* assigned at runtime */
desc              624 arch/arm/mach-davinci/board-da850-evm.c 	button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1];
desc              630 arch/arm/mach-davinci/board-da850-evm.c 		button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_SW1 + i];
desc               66 arch/arm/mach-davinci/cpuidle.c 		.desc			= "WFI and DDR Self Refresh",
desc               18 arch/arm/mach-davinci/mux.h #define MUX_CFG(soc, desc, muxreg, mode_offset, mode_mask, mux_mode, dbg)\
desc               19 arch/arm/mach-davinci/mux.h [soc##_##desc] = {							\
desc               20 arch/arm/mach-davinci/mux.h 			.name =  #desc,					\
desc               29 arch/arm/mach-davinci/mux.h #define INT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg)	\
desc               30 arch/arm/mach-davinci/mux.h [soc##_##desc] = {							\
desc               31 arch/arm/mach-davinci/mux.h 			.name =  #desc,					\
desc               40 arch/arm/mach-davinci/mux.h #define EVT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg)	\
desc               41 arch/arm/mach-davinci/mux.h [soc##_##desc] = {							\
desc               42 arch/arm/mach-davinci/mux.h 			.name =  #desc,					\
desc               87 arch/arm/mach-footbridge/isa-irq.c static void isa_irq_handler(struct irq_desc *desc)
desc               92 arch/arm/mach-footbridge/isa-irq.c 		do_bad_IRQ(desc);
desc               82 arch/arm/mach-imx/3ds_debugboard.c static void mxc_expio_irq_handler(struct irq_desc *desc)
desc               89 arch/arm/mach-imx/3ds_debugboard.c 	desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              101 arch/arm/mach-imx/3ds_debugboard.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              102 arch/arm/mach-imx/3ds_debugboard.c 	desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc               26 arch/arm/mach-imx/cpuidle-imx5.c 		.desc             = "CPU state retained,powered off",
desc               50 arch/arm/mach-imx/cpuidle-imx6q.c 			.desc = "Clock off",
desc               42 arch/arm/mach-imx/cpuidle-imx6sl.c 			.desc = "Clock off",
desc               79 arch/arm/mach-imx/cpuidle-imx6sx.c 			.desc = "Clock off",
desc               93 arch/arm/mach-imx/cpuidle-imx6sx.c 			.desc = "ARM power off",
desc               42 arch/arm/mach-imx/cpuidle-imx7ulp.c 			.desc = "PSTOP2",
desc               50 arch/arm/mach-imx/cpuidle-imx7ulp.c 			.desc = "PSTOP1",
desc              256 arch/arm/mach-imx/mach-armadillo5x0.c 		.desc		= "menu",
desc              262 arch/arm/mach-imx/mach-armadillo5x0.c 		.desc		= "back",
desc              263 arch/arm/mach-imx/mach-imx27_visstrim_m10.c 		.desc	= "Default config",
desc              271 arch/arm/mach-imx/mach-imx27_visstrim_m10.c 		.desc	= "Record",
desc              279 arch/arm/mach-imx/mach-imx27_visstrim_m10.c 		.desc   = "Stop",
desc              148 arch/arm/mach-imx/mach-mx31ads.c static void mx31ads_expio_irq_handler(struct irq_desc *desc)
desc               66 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Wheel Manual",
desc               72 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Wheel AF",
desc               78 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Wheel View",
desc               84 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Wheel Menu",
desc               90 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Nav Pad Up",
desc               96 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Nav Pad Right",
desc              102 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Nav Pad Down",
desc              108 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Nav Pad Left",
desc              114 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Nav Pad Ok",
desc              120 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Wheel Off",
desc              126 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Focus Forward",
desc              132 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Focus Backward",
desc              138 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Release Half",
desc              144 arch/arm/mach-imx/mach-pcm037_eet.c 		.desc	= "Release Full",
desc               17 arch/arm/mach-mmp/devices.c int __init pxa_register_device(struct pxa_device_desc *desc,
desc               24 arch/arm/mach-mmp/devices.c 	pdev = platform_device_alloc(desc->drv_name, desc->id);
desc               32 arch/arm/mach-mmp/devices.c 	if (desc->start != -1ul && desc->size > 0) {
desc               33 arch/arm/mach-mmp/devices.c 		res[nres].start	= desc->start;
desc               34 arch/arm/mach-mmp/devices.c 		res[nres].end	= desc->start + desc->size - 1;
desc               39 arch/arm/mach-mmp/devices.c 	if (desc->irq != NO_IRQ) {
desc               40 arch/arm/mach-mmp/devices.c 		res[nres].start	= desc->irq;
desc               41 arch/arm/mach-mmp/devices.c 		res[nres].end	= desc->irq;
desc               47 arch/arm/mach-mmp/devices.c 		if (desc->dma[i] == 0)
desc               50 arch/arm/mach-mmp/devices.c 		res[nres].start	= desc->dma[i];
desc               51 arch/arm/mach-mmp/devices.c 		res[nres].end	= desc->dma[i];
desc               87 arch/arm/mach-omap1/fpga.c static void innovator_fpga_IRQ_demux(struct irq_desc *desc)
desc               75 arch/arm/mach-omap1/include/mach/mux.h #define MUX_CFG(desc, mux_reg, mode_offset, mode,	\
desc               79 arch/arm/mach-omap1/include/mach/mux.h 	.name =	 desc,					\
desc               94 arch/arm/mach-omap1/include/mach/mux.h #define MUX_CFG_7XX(desc, mux_reg, mode_offset, mode,	\
desc               97 arch/arm/mach-omap1/include/mach/mux.h 	.name =	 desc,					\
desc              267 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU ON + CORE ON",
desc              274 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU ON + CORE ON",
desc              281 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU RET + CORE ON",
desc              288 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE ON",
desc              295 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU RET + CORE RET",
desc              302 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE RET",
desc              309 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE OFF",
desc              330 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU ON + CORE ON",
desc              337 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU ON + CORE ON",
desc              344 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU RET + CORE ON",
desc              351 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE ON",
desc              358 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU RET + CORE RET",
desc              365 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE RET",
desc              372 arch/arm/mach-omap2/cpuidle34xx.c 			.desc		  = "MPU OFF + CORE OFF",
desc              232 arch/arm/mach-omap2/cpuidle44xx.c 			.desc = "CPUx ON, MPUSS ON"
desc              241 arch/arm/mach-omap2/cpuidle44xx.c 			.desc = "CPUx OFF, MPUSS CSWR",
desc              250 arch/arm/mach-omap2/cpuidle44xx.c 			.desc = "CPUx OFF, MPUSS OSWR",
desc              267 arch/arm/mach-omap2/cpuidle44xx.c 			.desc = "CPUx WFI, MPUSS ON"
desc              276 arch/arm/mach-omap2/cpuidle44xx.c 			.desc = "CPUx CSWR, MPUSS CSWR",
desc              101 arch/arm/mach-omap2/prm_common.c static void omap_prcm_irq_handler(struct irq_desc *desc)
desc              105 arch/arm/mach-omap2/prm_common.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              151 arch/arm/mach-omap2/prm_common.c 		chip->irq_ack(&desc->irq_data);
desc              153 arch/arm/mach-omap2/prm_common.c 		chip->irq_eoi(&desc->irq_data);
desc              154 arch/arm/mach-omap2/prm_common.c 	chip->irq_unmask(&desc->irq_data);
desc              317 arch/arm/mach-orion5x/dns323-setup.c 		.desc		= "Reset Button",
desc              322 arch/arm/mach-orion5x/dns323-setup.c 		.desc		= "Power Button",
desc              336 arch/arm/mach-orion5x/dns323-setup.c 		.desc		= "Power Button",
desc              135 arch/arm/mach-orion5x/ls_hgl-setup.c 		.desc	   = "Function Button",
desc              141 arch/arm/mach-orion5x/ls_hgl-setup.c 		.desc	   = "Power-on Switch",
desc              147 arch/arm/mach-orion5x/ls_hgl-setup.c 		.desc	   = "Power-auto Switch",
desc               82 arch/arm/mach-orion5x/mv2120-setup.c 		.desc		= "reset",
desc               87 arch/arm/mach-orion5x/mv2120-setup.c 		.desc		= "power",
desc              307 arch/arm/mach-orion5x/net2big-setup.c 		.desc		= "Power rocker switch (auto|off)",
desc              314 arch/arm/mach-orion5x/net2big-setup.c 		.desc		= "Power rocker switch (on|auto)",
desc              321 arch/arm/mach-orion5x/net2big-setup.c 		.desc		= "Front Push Button",
desc              207 arch/arm/mach-orion5x/ts209-setup.c 		.desc		= "USB Copy Button",
desc              212 arch/arm/mach-orion5x/ts209-setup.c 		.desc		= "Reset Button",
desc              213 arch/arm/mach-orion5x/ts409-setup.c 		.desc		= "Reset Button",
desc              218 arch/arm/mach-orion5x/ts409-setup.c 		.desc		= "USB Copy Button",
desc               76 arch/arm/mach-orion5x/wrt350n-v2-setup.c 		.desc		= "Reset Button",
desc               81 arch/arm/mach-orion5x/wrt350n-v2-setup.c 		.desc		= "WPS Button",
desc              493 arch/arm/mach-pxa/balloon3.c static void balloon3_irq_handler(struct irq_desc *desc)
desc              498 arch/arm/mach-pxa/balloon3.c 		struct irq_data *d = irq_desc_get_irq_data(desc);
desc              499 arch/arm/mach-pxa/balloon3.c 		struct irq_chip *chip = irq_desc_get_chip(desc);
desc               29 arch/arm/mach-pxa/cm-x2xx-pci.c static void cmx2xx_it8152_irq_demux(struct irq_desc *desc)
desc               32 arch/arm/mach-pxa/cm-x2xx-pci.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc               34 arch/arm/mach-pxa/cm-x2xx-pci.c 	it8152_irq_demux(desc);
desc              414 arch/arm/mach-pxa/corgi.c 		.desc	= "Lid close switch",
desc              421 arch/arm/mach-pxa/corgi.c 		.desc	= "Tablet mode switch",
desc              428 arch/arm/mach-pxa/corgi.c 		.desc	= "HeadPhone insert",
desc               16 arch/arm/mach-pxa/csb701.c 		.desc	= "SW2",
desc              915 arch/arm/mach-pxa/em-x270.c 		.desc	= "sleep/wakeup",
desc              741 arch/arm/mach-pxa/ezx.c 		.desc       = "A780 flip lid",
desc              856 arch/arm/mach-pxa/ezx.c 		.desc       = "E680 lock switch",
desc              924 arch/arm/mach-pxa/ezx.c 		.desc       = "A1200 flip lid",
desc              992 arch/arm/mach-pxa/ezx.c 		.desc       = "A910 flip lid",
desc             1155 arch/arm/mach-pxa/ezx.c 		.desc       = "E6 lock switch",
desc              173 arch/arm/mach-pxa/hx4700.c 		.desc       = _desc,			\
desc              121 arch/arm/mach-pxa/lpd270.c static void lpd270_irq_handler(struct irq_desc *desc)
desc              129 arch/arm/mach-pxa/lpd270.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              145 arch/arm/mach-pxa/magician.c 		.desc	= _desc,	\
desc              391 arch/arm/mach-pxa/mainstone.c 		.desc	= "wakeup",
desc              246 arch/arm/mach-pxa/mioa701.c 	.desc = (_desc), .type = EV_KEY, .wakeup = (_wakeup) }
desc              288 arch/arm/mach-pxa/pcm990-baseboard.c static void pcm990_irq_handler(struct irq_desc *desc)
desc              298 arch/arm/mach-pxa/pcm990-baseboard.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              413 arch/arm/mach-pxa/spitz.c 		.desc	= "On Off",
desc              421 arch/arm/mach-pxa/spitz.c 		.desc	= "Display Down",
desc              427 arch/arm/mach-pxa/spitz.c 		.desc	= "Lid Closed",
desc              501 arch/arm/mach-pxa/tosa.c 		.desc	= "Poweron",
desc              509 arch/arm/mach-pxa/tosa.c 		.desc	= "On key",
desc              520 arch/arm/mach-pxa/tosa.c 		.desc	= "Record Button",
desc              528 arch/arm/mach-pxa/tosa.c 		.desc	= "Sync Button",
desc              536 arch/arm/mach-pxa/tosa.c 		.desc	= "HeadPhone insert",
desc              278 arch/arm/mach-pxa/viper.c static void viper_irq_handler(struct irq_desc *desc)
desc              287 arch/arm/mach-pxa/viper.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              450 arch/arm/mach-pxa/z2.c 		.desc		= "Power Button",
desc              458 arch/arm/mach-pxa/z2.c 		.desc		= "Lid Switch",
desc              108 arch/arm/mach-pxa/zeus.c static void zeus_irq_handler(struct irq_desc *desc)
desc              117 arch/arm/mach-pxa/zeus.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              519 arch/arm/mach-rpc/ecard.c static void ecard_check_lockup(struct irq_desc *desc)
desc              539 arch/arm/mach-rpc/ecard.c 			desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              556 arch/arm/mach-rpc/ecard.c static void ecard_irq_handler(struct irq_desc *desc)
desc              561 arch/arm/mach-rpc/ecard.c 	desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              578 arch/arm/mach-rpc/ecard.c 	desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc              581 arch/arm/mach-rpc/ecard.c 		ecard_check_lockup(desc);
desc               57 arch/arm/mach-rpc/riscpc.c 		desc->video_start = 0x02000000;
desc               58 arch/arm/mach-rpc/riscpc.c 		desc->video_end   = 0x02000000 + vram_size;
desc               65 arch/arm/mach-s3c24xx/bast-irq.c 	struct irq_desc *desc = irq_desc + BAST_IRQ_ISA;
desc               68 arch/arm/mach-s3c24xx/bast-irq.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc               87 arch/arm/mach-s3c24xx/bast-irq.c static void bast_irq_pc104_demux(struct irq_desc *desc)
desc               98 arch/arm/mach-s3c24xx/bast-irq.c 		desc = irq_desc + BAST_IRQ_ISA;
desc               99 arch/arm/mach-s3c24xx/bast-irq.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc               22 arch/arm/mach-s3c24xx/h1940.h extern int h1940_led_blink_set(struct gpio_desc *desc, int state,
desc              451 arch/arm/mach-s3c24xx/mach-gta02.c 		.desc = "Aux",
desc              458 arch/arm/mach-s3c24xx/mach-gta02.c 		.desc = "Hold",
desc              359 arch/arm/mach-s3c24xx/mach-h1940.c int h1940_led_blink_set(struct gpio_desc *desc, int state,
desc              363 arch/arm/mach-s3c24xx/mach-h1940.c 	int gpio = desc ? desc_to_gpio(desc) : -EINVAL;
desc              604 arch/arm/mach-s3c24xx/mach-h1940.c 		.desc		= n,	\
desc              350 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Button 1",
desc              356 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Button 2",
desc              362 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Button 3",
desc              368 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Power",
desc              374 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Button 5",
desc              384 arch/arm/mach-s3c24xx/mach-mini2440.c 		.desc		= "Button 6",
desc               97 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Power",
desc              103 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Thumbwheel Up",
desc              109 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Thumbwheel Down",
desc              115 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Thumbwheel Press",
desc              121 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Home",
desc              127 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Calendar",
desc              133 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Contacts",
desc              139 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Mail",
desc              162 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Power",
desc              169 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Joystick Up",
desc              175 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Joystick Down",
desc              181 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Joystick Left",
desc              187 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Joystick Right",
desc              193 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Joystick Press",
desc              199 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Home",
desc              205 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Calendar",
desc              211 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Contacts",
desc              217 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Mail",
desc              223 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "GPS Antenna",
desc              229 arch/arm/mach-s3c24xx/mach-n30.c 		.desc		= "Headphone",
desc              249 arch/arm/mach-s3c24xx/mach-rx1950.c static int rx1950_led_blink_set(struct gpio_desc *desc, int state,
desc              252 arch/arm/mach-s3c24xx/mach-rx1950.c 	int gpio = desc_to_gpio(desc);
desc              639 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Power button",
desc              646 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Record button",
desc              652 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Calendar button",
desc              658 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Contacts button",
desc              664 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Mail button",
desc              670 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "WLAN button",
desc              676 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Left button",
desc              682 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Right button",
desc              688 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Up button",
desc              694 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Down button",
desc              700 arch/arm/mach-s3c24xx/mach-rx1950.c 		.desc		= "Ok button"
desc              389 arch/arm/mach-s3c64xx/common.c static void s3c_irq_demux_eint0_3(struct irq_desc *desc)
desc              394 arch/arm/mach-s3c64xx/common.c static void s3c_irq_demux_eint4_11(struct irq_desc *desc)
desc              399 arch/arm/mach-s3c64xx/common.c static void s3c_irq_demux_eint12_19(struct irq_desc *desc)
desc              404 arch/arm/mach-s3c64xx/common.c static void s3c_irq_demux_eint20_27(struct irq_desc *desc)
desc               48 arch/arm/mach-s3c64xx/cpuidle.c 			.desc             = "System active, ARM gated",
desc               60 arch/arm/mach-s3c64xx/mach-smartq5.c 		.desc			= "Power",
desc               68 arch/arm/mach-s3c64xx/mach-smartq5.c 		.desc			= "Minus",
desc               76 arch/arm/mach-s3c64xx/mach-smartq5.c 		.desc			= "Plus",
desc               84 arch/arm/mach-s3c64xx/mach-smartq5.c 		.desc			= "Move",
desc               60 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Power",
desc               68 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Function",
desc               76 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Minus",
desc               84 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Plus",
desc               92 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Enter",
desc              100 arch/arm/mach-s3c64xx/mach-smartq7.c 		.desc			= "Cancel",
desc              502 arch/arm/mach-sa1100/assabet.c 		.desc = "gpio0",
desc              509 arch/arm/mach-sa1100/assabet.c 		.desc = "gpio1",
desc              246 arch/arm/mach-sa1100/collie.c 		.desc	= "On key",
desc              254 arch/arm/mach-sa1100/collie.c 		.desc	= "Sync",
desc              175 arch/arm/mach-sa1100/h3xxx.c 		.desc		= "Power Button",
desc              183 arch/arm/mach-sa1100/h3xxx.c 		.desc		= "Action button",
desc              141 arch/arm/mach-sa1100/neponset.c static void neponset_irq_handler(struct irq_desc *desc)
desc              143 arch/arm/mach-sa1100/neponset.c 	struct neponset_drvdata *d = irq_desc_get_handler_data(desc);
desc              150 arch/arm/mach-sa1100/neponset.c 		desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              169 arch/arm/mach-sa1100/neponset.c 			desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              177 arch/arm/mach-sa1100/neponset.c 			desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              185 arch/arm/mach-sa1100/neponset.c 			desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc               77 arch/arm/mach-tegra/cpuidle-tegra114.c 			.desc			= "CPU power gated",
desc               58 arch/arm/mach-tegra/cpuidle-tegra20.c 			.desc             = "CPU power gated",
desc               52 arch/arm/mach-tegra/cpuidle-tegra30.c 			.desc			= "CPU power gated",
desc              303 arch/arm/plat-orion/gpio.c int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,
desc              306 arch/arm/plat-orion/gpio.c 	unsigned gpio = desc_to_gpio(desc);
desc              404 arch/arm/plat-orion/gpio.c static void gpio_irq_handler(struct irq_desc *desc)
desc              406 arch/arm/plat-orion/gpio.c 	struct orion_gpio_chip *ochip = irq_desc_get_handler_data(desc);
desc               25 arch/arm/plat-orion/include/plat/orion-gpio.h int orion_gpio_led_blink_set(struct gpio_desc *desc, int state,
desc              170 arch/arm64/crypto/aes-glue.c 	SHASH_DESC_ON_STACK(desc, ctx->hash);
desc              178 arch/arm64/crypto/aes-glue.c 	desc->tfm = ctx->hash;
desc              179 arch/arm64/crypto/aes-glue.c 	crypto_shash_digest(desc, in_key, key_len, digest);
desc              862 arch/arm64/crypto/aes-glue.c static int mac_init(struct shash_desc *desc)
desc              864 arch/arm64/crypto/aes-glue.c 	struct mac_desc_ctx *ctx = shash_desc_ctx(desc);
desc              896 arch/arm64/crypto/aes-glue.c static int mac_update(struct shash_desc *desc, const u8 *p, unsigned int len)
desc              898 arch/arm64/crypto/aes-glue.c 	struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              899 arch/arm64/crypto/aes-glue.c 	struct mac_desc_ctx *ctx = shash_desc_ctx(desc);
desc              936 arch/arm64/crypto/aes-glue.c static int cbcmac_final(struct shash_desc *desc, u8 *out)
desc              938 arch/arm64/crypto/aes-glue.c 	struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              939 arch/arm64/crypto/aes-glue.c 	struct mac_desc_ctx *ctx = shash_desc_ctx(desc);
desc              948 arch/arm64/crypto/aes-glue.c static int cmac_final(struct shash_desc *desc, u8 *out)
desc              950 arch/arm64/crypto/aes-glue.c 	struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              951 arch/arm64/crypto/aes-glue.c 	struct mac_desc_ctx *ctx = shash_desc_ctx(desc);
desc               26 arch/arm64/crypto/crct10dif-ce-glue.c static int crct10dif_init(struct shash_desc *desc)
desc               28 arch/arm64/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               34 arch/arm64/crypto/crct10dif-ce-glue.c static int crct10dif_update_pmull_p8(struct shash_desc *desc, const u8 *data,
desc               37 arch/arm64/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               50 arch/arm64/crypto/crct10dif-ce-glue.c static int crct10dif_update_pmull_p64(struct shash_desc *desc, const u8 *data,
desc               53 arch/arm64/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               66 arch/arm64/crypto/crct10dif-ce-glue.c static int crct10dif_final(struct shash_desc *desc, u8 *out)
desc               68 arch/arm64/crypto/crct10dif-ce-glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               73 arch/arm64/crypto/ghash-ce-glue.c static int ghash_init(struct shash_desc *desc)
desc               75 arch/arm64/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              118 arch/arm64/crypto/ghash-ce-glue.c static int __ghash_update(struct shash_desc *desc, const u8 *src,
desc              125 arch/arm64/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              131 arch/arm64/crypto/ghash-ce-glue.c 		struct ghash_key *key = crypto_shash_ctx(desc->tfm);
desc              162 arch/arm64/crypto/ghash-ce-glue.c static int ghash_update_p8(struct shash_desc *desc, const u8 *src,
desc              165 arch/arm64/crypto/ghash-ce-glue.c 	return __ghash_update(desc, src, len, pmull_ghash_update_p8);
desc              168 arch/arm64/crypto/ghash-ce-glue.c static int ghash_update_p64(struct shash_desc *desc, const u8 *src,
desc              171 arch/arm64/crypto/ghash-ce-glue.c 	return __ghash_update(desc, src, len, pmull_ghash_update_p64);
desc              174 arch/arm64/crypto/ghash-ce-glue.c static int ghash_final_p8(struct shash_desc *desc, u8 *dst)
desc              176 arch/arm64/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              180 arch/arm64/crypto/ghash-ce-glue.c 		struct ghash_key *key = crypto_shash_ctx(desc->tfm);
desc              194 arch/arm64/crypto/ghash-ce-glue.c static int ghash_final_p64(struct shash_desc *desc, u8 *dst)
desc              196 arch/arm64/crypto/ghash-ce-glue.c 	struct ghash_desc_ctx *ctx = shash_desc_ctx(desc);
desc              200 arch/arm64/crypto/ghash-ce-glue.c 		struct ghash_key *key = crypto_shash_ctx(desc->tfm);
desc               26 arch/arm64/crypto/nhpoly1305-neon-glue.c static int nhpoly1305_neon_update(struct shash_desc *desc,
desc               30 arch/arm64/crypto/nhpoly1305-neon-glue.c 		return crypto_nhpoly1305_update(desc, src, srclen);
desc               36 arch/arm64/crypto/nhpoly1305-neon-glue.c 		crypto_nhpoly1305_update_helper(desc, src, n, _nh_neon);
desc               34 arch/arm64/crypto/sha1-ce-glue.c static int sha1_ce_update(struct shash_desc *desc, const u8 *data,
desc               37 arch/arm64/crypto/sha1-ce-glue.c 	struct sha1_ce_state *sctx = shash_desc_ctx(desc);
desc               40 arch/arm64/crypto/sha1-ce-glue.c 		return crypto_sha1_update(desc, data, len);
desc               44 arch/arm64/crypto/sha1-ce-glue.c 	sha1_base_do_update(desc, data, len,
desc               51 arch/arm64/crypto/sha1-ce-glue.c static int sha1_ce_finup(struct shash_desc *desc, const u8 *data,
desc               54 arch/arm64/crypto/sha1-ce-glue.c 	struct sha1_ce_state *sctx = shash_desc_ctx(desc);
desc               58 arch/arm64/crypto/sha1-ce-glue.c 		return crypto_sha1_finup(desc, data, len, out);
desc               67 arch/arm64/crypto/sha1-ce-glue.c 	sha1_base_do_update(desc, data, len,
desc               70 arch/arm64/crypto/sha1-ce-glue.c 		sha1_base_do_finalize(desc, (sha1_block_fn *)sha1_ce_transform);
desc               72 arch/arm64/crypto/sha1-ce-glue.c 	return sha1_base_finish(desc, out);
desc               75 arch/arm64/crypto/sha1-ce-glue.c static int sha1_ce_final(struct shash_desc *desc, u8 *out)
desc               77 arch/arm64/crypto/sha1-ce-glue.c 	struct sha1_ce_state *sctx = shash_desc_ctx(desc);
desc               80 arch/arm64/crypto/sha1-ce-glue.c 		return crypto_sha1_finup(desc, NULL, 0, out);
desc               84 arch/arm64/crypto/sha1-ce-glue.c 	sha1_base_do_finalize(desc, (sha1_block_fn *)sha1_ce_transform);
desc               86 arch/arm64/crypto/sha1-ce-glue.c 	return sha1_base_finish(desc, out);
desc               38 arch/arm64/crypto/sha2-ce-glue.c static int sha256_ce_update(struct shash_desc *desc, const u8 *data,
desc               41 arch/arm64/crypto/sha2-ce-glue.c 	struct sha256_ce_state *sctx = shash_desc_ctx(desc);
desc               44 arch/arm64/crypto/sha2-ce-glue.c 		return sha256_base_do_update(desc, data, len,
desc               49 arch/arm64/crypto/sha2-ce-glue.c 	sha256_base_do_update(desc, data, len,
desc               56 arch/arm64/crypto/sha2-ce-glue.c static int sha256_ce_finup(struct shash_desc *desc, const u8 *data,
desc               59 arch/arm64/crypto/sha2-ce-glue.c 	struct sha256_ce_state *sctx = shash_desc_ctx(desc);
desc               64 arch/arm64/crypto/sha2-ce-glue.c 			sha256_base_do_update(desc, data, len,
desc               66 arch/arm64/crypto/sha2-ce-glue.c 		sha256_base_do_finalize(desc,
desc               68 arch/arm64/crypto/sha2-ce-glue.c 		return sha256_base_finish(desc, out);
desc               78 arch/arm64/crypto/sha2-ce-glue.c 	sha256_base_do_update(desc, data, len,
desc               81 arch/arm64/crypto/sha2-ce-glue.c 		sha256_base_do_finalize(desc,
desc               84 arch/arm64/crypto/sha2-ce-glue.c 	return sha256_base_finish(desc, out);
desc               87 arch/arm64/crypto/sha2-ce-glue.c static int sha256_ce_final(struct shash_desc *desc, u8 *out)
desc               89 arch/arm64/crypto/sha2-ce-glue.c 	struct sha256_ce_state *sctx = shash_desc_ctx(desc);
desc               92 arch/arm64/crypto/sha2-ce-glue.c 		sha256_base_do_finalize(desc,
desc               94 arch/arm64/crypto/sha2-ce-glue.c 		return sha256_base_finish(desc, out);
desc               99 arch/arm64/crypto/sha2-ce-glue.c 	sha256_base_do_finalize(desc, (sha256_block_fn *)sha2_ce_transform);
desc              101 arch/arm64/crypto/sha2-ce-glue.c 	return sha256_base_finish(desc, out);
desc               33 arch/arm64/crypto/sha256-glue.c static int crypto_sha256_arm64_update(struct shash_desc *desc, const u8 *data,
desc               36 arch/arm64/crypto/sha256-glue.c 	return sha256_base_do_update(desc, data, len,
desc               40 arch/arm64/crypto/sha256-glue.c static int crypto_sha256_arm64_finup(struct shash_desc *desc, const u8 *data,
desc               44 arch/arm64/crypto/sha256-glue.c 		sha256_base_do_update(desc, data, len,
desc               46 arch/arm64/crypto/sha256-glue.c 	sha256_base_do_finalize(desc,
desc               49 arch/arm64/crypto/sha256-glue.c 	return sha256_base_finish(desc, out);
desc               52 arch/arm64/crypto/sha256-glue.c static int crypto_sha256_arm64_final(struct shash_desc *desc, u8 *out)
desc               54 arch/arm64/crypto/sha256-glue.c 	return crypto_sha256_arm64_finup(desc, NULL, 0, out);
desc               83 arch/arm64/crypto/sha256-glue.c static int sha256_update_neon(struct shash_desc *desc, const u8 *data,
desc               86 arch/arm64/crypto/sha256-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               89 arch/arm64/crypto/sha256-glue.c 		return sha256_base_do_update(desc, data, len,
desc              106 arch/arm64/crypto/sha256-glue.c 		sha256_base_do_update(desc, data, chunk,
desc              115 arch/arm64/crypto/sha256-glue.c static int sha256_finup_neon(struct shash_desc *desc, const u8 *data,
desc              120 arch/arm64/crypto/sha256-glue.c 			sha256_base_do_update(desc, data, len,
desc              122 arch/arm64/crypto/sha256-glue.c 		sha256_base_do_finalize(desc,
desc              126 arch/arm64/crypto/sha256-glue.c 			sha256_update_neon(desc, data, len);
desc              128 arch/arm64/crypto/sha256-glue.c 		sha256_base_do_finalize(desc,
desc              132 arch/arm64/crypto/sha256-glue.c 	return sha256_base_finish(desc, out);
desc              135 arch/arm64/crypto/sha256-glue.c static int sha256_final_neon(struct shash_desc *desc, u8 *out)
desc              137 arch/arm64/crypto/sha256-glue.c 	return sha256_finup_neon(desc, NULL, 0, out);
desc               30 arch/arm64/crypto/sha3-ce-glue.c static int sha3_update(struct shash_desc *desc, const u8 *data,
desc               33 arch/arm64/crypto/sha3-ce-glue.c 	struct sha3_state *sctx = shash_desc_ctx(desc);
desc               34 arch/arm64/crypto/sha3-ce-glue.c 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc               37 arch/arm64/crypto/sha3-ce-glue.c 		return crypto_sha3_update(desc, data, len);
desc               73 arch/arm64/crypto/sha3-ce-glue.c static int sha3_final(struct shash_desc *desc, u8 *out)
desc               75 arch/arm64/crypto/sha3-ce-glue.c 	struct sha3_state *sctx = shash_desc_ctx(desc);
desc               76 arch/arm64/crypto/sha3-ce-glue.c 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc               81 arch/arm64/crypto/sha3-ce-glue.c 		return crypto_sha3_final(desc, out);
desc               32 arch/arm64/crypto/sha512-ce-glue.c static int sha512_ce_update(struct shash_desc *desc, const u8 *data,
desc               36 arch/arm64/crypto/sha512-ce-glue.c 		return sha512_base_do_update(desc, data, len,
desc               40 arch/arm64/crypto/sha512-ce-glue.c 	sha512_base_do_update(desc, data, len,
desc               47 arch/arm64/crypto/sha512-ce-glue.c static int sha512_ce_finup(struct shash_desc *desc, const u8 *data,
desc               52 arch/arm64/crypto/sha512-ce-glue.c 			sha512_base_do_update(desc, data, len,
desc               54 arch/arm64/crypto/sha512-ce-glue.c 		sha512_base_do_finalize(desc,
desc               56 arch/arm64/crypto/sha512-ce-glue.c 		return sha512_base_finish(desc, out);
desc               60 arch/arm64/crypto/sha512-ce-glue.c 	sha512_base_do_update(desc, data, len,
desc               62 arch/arm64/crypto/sha512-ce-glue.c 	sha512_base_do_finalize(desc, (sha512_block_fn *)sha512_ce_transform);
desc               64 arch/arm64/crypto/sha512-ce-glue.c 	return sha512_base_finish(desc, out);
desc               67 arch/arm64/crypto/sha512-ce-glue.c static int sha512_ce_final(struct shash_desc *desc, u8 *out)
desc               70 arch/arm64/crypto/sha512-ce-glue.c 		sha512_base_do_finalize(desc,
desc               72 arch/arm64/crypto/sha512-ce-glue.c 		return sha512_base_finish(desc, out);
desc               76 arch/arm64/crypto/sha512-ce-glue.c 	sha512_base_do_finalize(desc, (sha512_block_fn *)sha512_ce_transform);
desc               78 arch/arm64/crypto/sha512-ce-glue.c 	return sha512_base_finish(desc, out);
desc               27 arch/arm64/crypto/sha512-glue.c static int sha512_update(struct shash_desc *desc, const u8 *data,
desc               30 arch/arm64/crypto/sha512-glue.c 	return sha512_base_do_update(desc, data, len,
desc               34 arch/arm64/crypto/sha512-glue.c static int sha512_finup(struct shash_desc *desc, const u8 *data,
desc               38 arch/arm64/crypto/sha512-glue.c 		sha512_base_do_update(desc, data, len,
desc               40 arch/arm64/crypto/sha512-glue.c 	sha512_base_do_finalize(desc,
desc               43 arch/arm64/crypto/sha512-glue.c 	return sha512_base_finish(desc, out);
desc               46 arch/arm64/crypto/sha512-glue.c static int sha512_final(struct shash_desc *desc, u8 *out)
desc               48 arch/arm64/crypto/sha512-glue.c 	return sha512_finup(desc, NULL, 0, out);
desc               26 arch/arm64/crypto/sm3-ce-glue.c static int sm3_ce_update(struct shash_desc *desc, const u8 *data,
desc               30 arch/arm64/crypto/sm3-ce-glue.c 		return crypto_sm3_update(desc, data, len);
desc               33 arch/arm64/crypto/sm3-ce-glue.c 	sm3_base_do_update(desc, data, len, sm3_ce_transform);
desc               39 arch/arm64/crypto/sm3-ce-glue.c static int sm3_ce_final(struct shash_desc *desc, u8 *out)
desc               42 arch/arm64/crypto/sm3-ce-glue.c 		return crypto_sm3_finup(desc, NULL, 0, out);
desc               45 arch/arm64/crypto/sm3-ce-glue.c 	sm3_base_do_finalize(desc, sm3_ce_transform);
desc               48 arch/arm64/crypto/sm3-ce-glue.c 	return sm3_base_finish(desc, out);
desc               51 arch/arm64/crypto/sm3-ce-glue.c static int sm3_ce_finup(struct shash_desc *desc, const u8 *data,
desc               55 arch/arm64/crypto/sm3-ce-glue.c 		return crypto_sm3_finup(desc, data, len, out);
desc               58 arch/arm64/crypto/sm3-ce-glue.c 	sm3_base_do_update(desc, data, len, sm3_ce_transform);
desc               61 arch/arm64/crypto/sm3-ce-glue.c 	return sm3_ce_final(desc, out);
desc               54 arch/arm64/include/asm/arch_timer.h 	const char *desc;
desc              287 arch/arm64/include/asm/cpufeature.h 	const char *desc;
desc              438 arch/arm64/kernel/cpu_errata.c 		pr_info_once("%s mitigation not required\n", entry->desc);
desc              484 arch/arm64/kernel/cpu_errata.c 		pr_info_once("%s disabled from command-line\n", entry->desc);
desc              488 arch/arm64/kernel/cpu_errata.c 		pr_info_once("%s forced from command-line\n", entry->desc);
desc              799 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM errata 826319, 827319, 824069, 819472",
desc              808 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 832075",
desc              818 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 834220",
desc              827 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 843419",
desc              836 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 845719",
desc              844 arch/arm64/kernel/cpu_errata.c 		.desc = "Cavium erratum 23154",
desc              851 arch/arm64/kernel/cpu_errata.c 		.desc = "Cavium erratum 27456",
desc              858 arch/arm64/kernel/cpu_errata.c 		.desc = "Cavium erratum 30115",
desc              864 arch/arm64/kernel/cpu_errata.c 		.desc = "Mismatched cache type (CTR_EL0)",
desc              872 arch/arm64/kernel/cpu_errata.c 		.desc = "Qualcomm Technologies Falkor/Kryo erratum 1003",
desc              881 arch/arm64/kernel/cpu_errata.c 		.desc = "Qualcomm erratum 1009, ARM erratum 1286807",
desc              891 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 858921",
desc              903 arch/arm64/kernel/cpu_errata.c 		.desc = "EL2 vector hardening",
desc              909 arch/arm64/kernel/cpu_errata.c 		.desc = "Speculative Store Bypass Disable",
desc              917 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 1418040",
desc              925 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 1165522",
desc              932 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 1463225",
desc              940 arch/arm64/kernel/cpu_errata.c 		.desc = "Cavium ThunderX2 erratum 219 (KVM guest sysreg trapping)",
desc              946 arch/arm64/kernel/cpu_errata.c 		.desc = "Cavium ThunderX2 erratum 219 (PRFM removal)",
desc              954 arch/arm64/kernel/cpu_errata.c 		.desc = "ARM erratum 1542419 (kernel portion)",
desc              891 arch/arm64/kernel/cpufeature.c 			     entry->desc);
desc             1269 arch/arm64/kernel/cpufeature.c 		.desc = "GIC system register CPU interface",
desc             1280 arch/arm64/kernel/cpufeature.c 		.desc = "Privileged Access Never",
desc             1293 arch/arm64/kernel/cpufeature.c 		.desc = "LSE atomic instructions",
desc             1304 arch/arm64/kernel/cpufeature.c 		.desc = "Software prefetching using PRFM",
desc             1311 arch/arm64/kernel/cpufeature.c 		.desc = "User Access Override",
desc             1333 arch/arm64/kernel/cpufeature.c 		.desc = "Virtualization Host Extensions",
desc             1341 arch/arm64/kernel/cpufeature.c 		.desc = "32-bit EL0 Support",
desc             1351 arch/arm64/kernel/cpufeature.c 		.desc = "Kernel page table isolation (KPTI)",
desc             1374 arch/arm64/kernel/cpufeature.c 		.desc = "Data cache clean to Point of Persistence",
desc             1383 arch/arm64/kernel/cpufeature.c 		.desc = "Data cache clean to Point of Deep Persistence",
desc             1395 arch/arm64/kernel/cpufeature.c 		.desc = "Scalable Vector Extension",
desc             1408 arch/arm64/kernel/cpufeature.c 		.desc = "RAS Extension Support",
desc             1420 arch/arm64/kernel/cpufeature.c 		.desc = "Data cache clean to the PoU not required for I/D coherence",
desc             1427 arch/arm64/kernel/cpufeature.c 		.desc = "Instruction cache invalidation not required for I/D coherence",
desc             1433 arch/arm64/kernel/cpufeature.c 		.desc = "Stage-2 Force Write-Back",
desc             1464 arch/arm64/kernel/cpufeature.c 		.desc = "CRC32 instructions",
desc             1474 arch/arm64/kernel/cpufeature.c 		.desc = "Speculative Store Bypassing Safe (SSBS)",
desc             1487 arch/arm64/kernel/cpufeature.c 		.desc = "Common not Private translations",
desc             1499 arch/arm64/kernel/cpufeature.c 		.desc = "Speculation barrier (SB)",
desc             1510 arch/arm64/kernel/cpufeature.c 		.desc = "Address authentication (architected algorithm)",
desc             1521 arch/arm64/kernel/cpufeature.c 		.desc = "Address authentication (IMP DEF algorithm)",
desc             1532 arch/arm64/kernel/cpufeature.c 		.desc = "Generic authentication (architected algorithm)",
desc             1542 arch/arm64/kernel/cpufeature.c 		.desc = "Generic authentication (IMP DEF algorithm)",
desc             1557 arch/arm64/kernel/cpufeature.c 		.desc = "IRQ priority masking",
desc             1578 arch/arm64/kernel/cpufeature.c 		.desc = name,							\
desc             1780 arch/arm64/kernel/cpufeature.c 		if (caps->desc)
desc             1781 arch/arm64/kernel/cpufeature.c 			pr_info("detected: %s\n", caps->desc);
desc             1914 arch/arm64/kernel/cpufeature.c 			caps->desc, system_has_cap, cpu_has_cap);
desc             1943 arch/arm64/kernel/cpufeature.c 					smp_processor_id(), caps->desc);
desc              231 arch/arm64/kernel/machine_kexec.c 	struct irq_desc *desc;
desc              233 arch/arm64/kernel/machine_kexec.c 	for_each_irq_desc(i, desc) {
desc              237 arch/arm64/kernel/machine_kexec.c 		chip = irq_desc_get_chip(desc);
desc              247 arch/arm64/kernel/machine_kexec.c 		if (ret && irqd_irq_inprogress(&desc->irq_data) &&
desc              249 arch/arm64/kernel/machine_kexec.c 			chip->irq_eoi(&desc->irq_data);
desc              252 arch/arm64/kernel/machine_kexec.c 			chip->irq_mask(&desc->irq_data);
desc              254 arch/arm64/kernel/machine_kexec.c 		if (chip->irq_disable && !irqd_irq_disabled(&desc->irq_data))
desc              255 arch/arm64/kernel/machine_kexec.c 			chip->irq_disable(&desc->irq_data);
desc              175 arch/arm64/kernel/ptrace.c 	const char *desc = "Hardware breakpoint trap (ptrace)";
desc              197 arch/arm64/kernel/ptrace.c 						  desc);
desc              202 arch/arm64/kernel/ptrace.c 			      desc);
desc              352 arch/arm64/kernel/traps.c 	const char *desc;
desc              360 arch/arm64/kernel/traps.c 		desc = "undefined instruction";
desc              363 arch/arm64/kernel/traps.c 		desc = "illegal memory access";
desc              366 arch/arm64/kernel/traps.c 		desc = "unknown or unrecoverable error";
desc              376 arch/arm64/kernel/traps.c 	arm64_notify_die(desc, regs, signal, code, (void __user *)address, 0);
desc               93 arch/c6x/platforms/megamod-pic.c static void megamod_irq_cascade(struct irq_desc *desc)
desc              101 arch/c6x/platforms/megamod-pic.c 	cascade = irq_desc_get_handler_data(desc);
desc               82 arch/hexagon/kernel/smp.c irqreturn_t handle_ipi(int irq, void *desc)
desc               35 arch/ia64/include/asm/sections.h 	struct fdesc *desc = ptr;
desc               38 arch/ia64/include/asm/sections.h 	if (!probe_kernel_address(&desc->ip, p))
desc             1182 arch/ia64/kernel/efi.c 	unsigned long flags, desc;
desc             1197 arch/ia64/kernel/efi.c 		desc = IORES_DESC_NONE;
desc             1223 arch/ia64/kernel/efi.c 				desc = IORES_DESC_ACPI_NV_STORAGE;
desc             1233 arch/ia64/kernel/efi.c 				desc = IORES_DESC_PERSISTENT_MEMORY;
desc             1256 arch/ia64/kernel/efi.c 		res->desc = desc;
desc              720 arch/ia64/kernel/iosapic.c 	struct irq_desc *desc;
desc              748 arch/ia64/kernel/iosapic.c 	desc = irq_to_desc(irq);
desc              749 arch/ia64/kernel/iosapic.c 	raw_spin_lock(&desc->lock);
desc              754 arch/ia64/kernel/iosapic.c 		raw_spin_unlock(&desc->lock);
desc              773 arch/ia64/kernel/iosapic.c 	raw_spin_unlock(&desc->lock);
desc               84 arch/ia64/kernel/irq.c 		struct irq_desc *desc = irq_to_desc(irq);
desc               85 arch/ia64/kernel/irq.c 		struct irq_data *data = irq_desc_get_irq_data(desc);
desc              328 arch/ia64/kernel/irq_ia64.c 		struct irq_desc *desc;
desc              334 arch/ia64/kernel/irq_ia64.c 		desc = irq_to_desc(irq);
desc              336 arch/ia64/kernel/irq_ia64.c 		raw_spin_lock(&desc->lock);
desc              349 arch/ia64/kernel/irq_ia64.c 		raw_spin_unlock(&desc->lock);
desc               46 arch/ia64/kernel/msi_ia64.c int arch_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *desc)
desc               56 arch/ia64/kernel/msi_ia64.c 	irq_set_msi_desc(irq, desc);
desc               45 arch/ia64/kernel/unwind_i.h 	u64 desc[0];		/* unwind descriptors */
desc               49 arch/m68k/amiga/amiints.c static void ami_int1(struct irq_desc *desc)
desc               72 arch/m68k/amiga/amiints.c static void ami_int3(struct irq_desc *desc)
desc               95 arch/m68k/amiga/amiints.c static void ami_int4(struct irq_desc *desc)
desc              124 arch/m68k/amiga/amiints.c static void ami_int5(struct irq_desc *desc)
desc              146 arch/m68k/coldfire/intc-5272.c static void intc_external_irq(struct irq_desc *desc)
desc              148 arch/m68k/coldfire/intc-5272.c 	irq_desc_get_chip(desc)->irq_ack(&desc->irq_data);
desc              149 arch/m68k/coldfire/intc-5272.c 	handle_simple_irq(desc);
desc               68 arch/m68k/include/asm/irq.h 				      void (*handle)(struct irq_desc *desc),
desc              265 arch/m68k/include/asm/mac_via.h extern void via1_irq(struct irq_desc *desc);
desc              508 arch/m68k/kernel/traps.c 	unsigned long desc;
desc              536 arch/m68k/kernel/traps.c 			      : "=a&" (desc), "=m" (temp)
desc              541 arch/m68k/kernel/traps.c 			 __va(desc), *(unsigned long *)__va(desc));
desc              644 arch/m68k/kernel/traps.c 		      : "=a&" (desc), "=m" (temp)
desc              649 arch/m68k/kernel/traps.c 		__va(desc), *(unsigned long *)__va(desc));
desc               44 arch/m68k/mac/baboon.c static void baboon_irq(struct irq_desc *desc)
desc               60 arch/m68k/mac/oss.c static void oss_iopism_irq(struct irq_desc *desc)
desc               65 arch/m68k/mac/oss.c static void oss_scsi_irq(struct irq_desc *desc)
desc               70 arch/m68k/mac/oss.c static void oss_nubus_irq(struct irq_desc *desc)
desc               88 arch/m68k/mac/oss.c static void oss_iopscc_irq(struct irq_desc *desc)
desc              115 arch/m68k/mac/psc.c static void psc_irq(struct irq_desc *desc)
desc              117 arch/m68k/mac/psc.c 	unsigned int offset = (unsigned int)irq_desc_get_handler_data(desc);
desc              118 arch/m68k/mac/psc.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              397 arch/m68k/mac/via.c void via1_irq(struct irq_desc *desc)
desc              433 arch/m68k/mac/via.c static void via2_irq(struct irq_desc *desc)
desc              459 arch/m68k/mac/via.c static void via_nubus_irq(struct irq_desc *desc)
desc              104 arch/mips/alchemy/board-mtx1.c 		.desc = "System button",
desc              291 arch/mips/alchemy/board-mtx1.c 					mtx1_gpio_button[0].desc);
desc              366 arch/mips/alchemy/devboards/db1300.c 		.desc			= "5waysw-down",
desc              374 arch/mips/alchemy/devboards/db1300.c 		.desc			= "5waysw-up",
desc              382 arch/mips/alchemy/devboards/db1300.c 		.desc			= "5waysw-right",
desc              390 arch/mips/alchemy/devboards/db1300.c 		.desc			= "5waysw-left",
desc              398 arch/mips/alchemy/devboards/db1300.c 		.desc			= "5waysw-push",
desc               72 arch/mips/ath25/ar2315.c static void ar2315_misc_irq_handler(struct irq_desc *desc)
desc               79 arch/mips/ath25/ar2315.c 		struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc               76 arch/mips/ath25/ar5312.c static void ar5312_misc_irq_handler(struct irq_desc *desc)
desc               83 arch/mips/ath25/ar5312.c 		struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc               68 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_init(struct shash_desc *desc)
desc               70 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
desc               81 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_update(struct shash_desc *desc, const u8 *data,
desc               84 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
desc              121 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_final(struct shash_desc *desc, u8 *out)
desc              123 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
desc              156 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_export(struct shash_desc *desc, void *out)
desc              158 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *ctx = shash_desc_ctx(desc);
desc              164 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_import(struct shash_desc *desc, const void *in)
desc              166 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *ctx = shash_desc_ctx(desc);
desc               74 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_init(struct shash_desc *desc)
desc               76 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              119 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_update(struct shash_desc *desc, const u8 *data,
desc              122 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              132 arch/mips/cavium-octeon/crypto/octeon-sha1.c 		return crypto_sha1_update(desc, data, len);
desc              145 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_final(struct shash_desc *desc, u8 *out)
desc              147 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              185 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_export(struct shash_desc *desc, void *out)
desc              187 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              193 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_import(struct shash_desc *desc, const void *in)
desc              195 arch/mips/cavium-octeon/crypto/octeon-sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               66 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha224_init(struct shash_desc *desc)
desc               68 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               83 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_init(struct shash_desc *desc)
desc               85 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              131 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_update(struct shash_desc *desc, const u8 *data,
desc              134 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              144 arch/mips/cavium-octeon/crypto/octeon-sha256.c 		return crypto_sha256_update(desc, data, len);
desc              157 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_final(struct shash_desc *desc, u8 *out)
desc              159 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              197 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha224_final(struct shash_desc *desc, u8 *hash)
desc              201 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	octeon_sha256_final(desc, D);
desc              209 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_export(struct shash_desc *desc, void *out)
desc              211 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              217 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_import(struct shash_desc *desc, const void *in)
desc              219 arch/mips/cavium-octeon/crypto/octeon-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               77 arch/mips/cavium-octeon/crypto/octeon-sha512.c static int octeon_sha512_init(struct shash_desc *desc)
desc               79 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               94 arch/mips/cavium-octeon/crypto/octeon-sha512.c static int octeon_sha384_init(struct shash_desc *desc)
desc               96 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              145 arch/mips/cavium-octeon/crypto/octeon-sha512.c static int octeon_sha512_update(struct shash_desc *desc, const u8 *data,
desc              148 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              158 arch/mips/cavium-octeon/crypto/octeon-sha512.c 		return crypto_sha512_update(desc, data, len);
desc              171 arch/mips/cavium-octeon/crypto/octeon-sha512.c static int octeon_sha512_final(struct shash_desc *desc, u8 *hash)
desc              173 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              212 arch/mips/cavium-octeon/crypto/octeon-sha512.c static int octeon_sha384_final(struct shash_desc *desc, u8 *hash)
desc              216 arch/mips/cavium-octeon/crypto/octeon-sha512.c 	octeon_sha512_final(desc, D);
desc             2252 arch/mips/cavium-octeon/octeon-irq.c 			struct irq_desc *desc = irq_to_desc(irq);
desc             2253 arch/mips/cavium-octeon/octeon-irq.c 			struct irq_data *irq_data = irq_desc_get_irq_data(desc);
desc             2258 arch/mips/cavium-octeon/octeon-irq.c 			generic_handle_irq_desc(desc);
desc              160 arch/mips/crypto/crc32-mips.c static int chksum_init(struct shash_desc *desc)
desc              162 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc              163 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              188 arch/mips/crypto/crc32-mips.c static int chksum_update(struct shash_desc *desc, const u8 *data,
desc              191 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              197 arch/mips/crypto/crc32-mips.c static int chksumc_update(struct shash_desc *desc, const u8 *data,
desc              200 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              206 arch/mips/crypto/crc32-mips.c static int chksum_final(struct shash_desc *desc, u8 *out)
desc              208 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              214 arch/mips/crypto/crc32-mips.c static int chksumc_final(struct shash_desc *desc, u8 *out)
desc              216 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              234 arch/mips/crypto/crc32-mips.c static int chksum_finup(struct shash_desc *desc, const u8 *data,
desc              237 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              242 arch/mips/crypto/crc32-mips.c static int chksumc_finup(struct shash_desc *desc, const u8 *data,
desc              245 arch/mips/crypto/crc32-mips.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              250 arch/mips/crypto/crc32-mips.c static int chksum_digest(struct shash_desc *desc, const u8 *data,
desc              253 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc              258 arch/mips/crypto/crc32-mips.c static int chksumc_digest(struct shash_desc *desc, const u8 *data,
desc              261 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc               27 arch/mips/include/asm/idle.h 	.desc			= "MIPS wait",\
desc               29 arch/mips/include/asm/mach-lantiq/xway/xway_dma.h 	int desc;			/* the current descriptor */
desc               60 arch/mips/include/asm/netlogic/common.h void nlm_smp_function_ipi_handler(struct irq_desc *desc);
desc               61 arch/mips/include/asm/netlogic/common.h void nlm_smp_resched_ipi_handler(struct irq_desc *desc);
desc              530 arch/mips/include/asm/r4kcache.h #define __BUILD_BLAST_CACHE(pfx, desc, indexop, hitop, lsize, extra)	\
desc              534 arch/mips/include/asm/r4kcache.h 	unsigned long end = start + current_cpu_data.desc.waysize;	\
desc              535 arch/mips/include/asm/r4kcache.h 	unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit;	\
desc              536 arch/mips/include/asm/r4kcache.h 	unsigned long ws_end = current_cpu_data.desc.ways <<		\
desc              537 arch/mips/include/asm/r4kcache.h 			       current_cpu_data.desc.waybit;		\
desc              558 arch/mips/include/asm/r4kcache.h 	unsigned long indexmask = current_cpu_data.desc.waysize - 1;	\
desc              561 arch/mips/include/asm/r4kcache.h 	unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit;	\
desc              562 arch/mips/include/asm/r4kcache.h 	unsigned long ws_end = current_cpu_data.desc.ways <<		\
desc              563 arch/mips/include/asm/r4kcache.h 			       current_cpu_data.desc.waybit;		\
desc              592 arch/mips/include/asm/r4kcache.h #define __BUILD_BLAST_USER_CACHE(pfx, desc, indexop, hitop, lsize) \
desc              615 arch/mips/include/asm/r4kcache.h #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra)	\
desc              619 arch/mips/include/asm/r4kcache.h 	unsigned long lsize = cpu_##desc##_line_size();			\
desc              638 arch/mips/include/asm/r4kcache.h #define __BUILD_PROT_BLAST_CACHE_RANGE(pfx, desc, hitop)		\
desc              642 arch/mips/include/asm/r4kcache.h 	unsigned long lsize = cpu_##desc##_line_size();			\
desc              679 arch/mips/include/asm/r4kcache.h #define __BUILD_BLAST_CACHE_NODE(pfx, desc, indexop, hitop, lsize)	\
desc              683 arch/mips/include/asm/r4kcache.h 	unsigned long end = start + current_cpu_data.desc.waysize;	\
desc              684 arch/mips/include/asm/r4kcache.h 	unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit;	\
desc              685 arch/mips/include/asm/r4kcache.h 	unsigned long ws_end = current_cpu_data.desc.ways <<		\
desc              686 arch/mips/include/asm/r4kcache.h 			       current_cpu_data.desc.waybit;		\
desc              285 arch/mips/lantiq/irq.c static void ltq_hw_irq_handler(struct irq_desc *desc)
desc              287 arch/mips/lantiq/irq.c 	unsigned int module = irq_desc_get_irq(desc) - 2;
desc              120 arch/mips/lantiq/xway/dma.c 	ch->desc = 0;
desc               86 arch/mips/netlogic/common/smp.c void nlm_smp_function_ipi_handler(struct irq_desc *desc)
desc               88 arch/mips/netlogic/common/smp.c 	unsigned int irq = irq_desc_get_irq(desc);
desc               96 arch/mips/netlogic/common/smp.c void nlm_smp_resched_ipi_handler(struct irq_desc *desc)
desc               98 arch/mips/netlogic/common/smp.c 	unsigned int irq = irq_desc_get_irq(desc);
desc               60 arch/mips/pci/msi-octeon.c int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
desc              180 arch/mips/pci/msi-octeon.c 	irq_set_msi_desc(irq, desc);
desc              294 arch/mips/pci/msi-xlp.c 	struct msi_desc *desc)
desc              335 arch/mips/pci/msi-xlp.c 	ret = irq_set_msi_desc(xirq, desc);
desc              401 arch/mips/pci/msi-xlp.c 	struct msi_desc *desc)
desc              436 arch/mips/pci/msi-xlp.c 	ret = irq_set_msi_desc(xirq, desc);
desc              444 arch/mips/pci/msi-xlp.c int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
desc              460 arch/mips/pci/msi-xlp.c 	if (desc->msi_attrib.is_msix)
desc              461 arch/mips/pci/msi-xlp.c 		return xlp_setup_msix(lnkbase, node, link, desc);
desc              463 arch/mips/pci/msi-xlp.c 		return xlp_setup_msi(lnkbase, node, link, desc);
desc              334 arch/mips/pci/pci-ar2315.c static void ar2315_pci_irq_handler(struct irq_desc *desc)
desc              336 arch/mips/pci/pci-ar2315.c 	struct ar2315_pci_ctrl *apc = irq_desc_get_handler_data(desc);
desc              226 arch/mips/pci/pci-ar71xx.c static void ar71xx_pci_irq_handler(struct irq_desc *desc)
desc              232 arch/mips/pci/pci-ar71xx.c 	apc = irq_desc_get_handler_data(desc);
desc              229 arch/mips/pci/pci-ar724x.c static void ar724x_pci_irq_handler(struct irq_desc *desc)
desc              235 arch/mips/pci/pci-ar724x.c 	apc = irq_desc_get_handler_data(desc);
desc              128 arch/mips/pci/pci-rt3883.c static void rt3883_pci_irq_handler(struct irq_desc *desc)
desc              133 arch/mips/pci/pci-rt3883.c 	rpc = irq_desc_get_handler_data(desc);
desc              221 arch/mips/pci/pci-xlr.c int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
desc              259 arch/mips/pci/pci-xlr.c 	ret = irq_set_msi_desc(irq, desc);
desc               97 arch/mips/ralink/irq.c static void ralink_intc_irq_handler(struct irq_desc *desc)
desc              102 arch/mips/ralink/irq.c 		struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc              124 arch/mips/sgi-ip27/ip27-irq.c 	struct irq_desc *desc;
desc              150 arch/mips/sgi-ip27/ip27-irq.c 	desc = irq_to_desc(virq);
desc              151 arch/mips/sgi-ip27/ip27-irq.c 	desc->irq_common_data.node = info->nasid;
desc              152 arch/mips/sgi-ip27/ip27-irq.c 	cpumask_copy(desc->irq_common_data.affinity, &hub->h_cpus);
desc              187 arch/mips/sgi-ip27/ip27-irq.c static void ip27_do_irq_mask0(struct irq_desc *desc)
desc              218 arch/mips/sgi-ip27/ip27-irq.c 		domain = irq_desc_get_handler_data(desc);
desc              229 arch/mips/sgi-ip27/ip27-irq.c static void ip27_do_irq_mask1(struct irq_desc *desc)
desc              244 arch/mips/sgi-ip27/ip27-irq.c 	domain = irq_desc_get_handler_data(desc);
desc              144 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(PIU_IRQ);
desc              149 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              151 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              159 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(PIU_IRQ);
desc              164 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              166 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              174 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(AIU_IRQ);
desc              179 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              181 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              189 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(AIU_IRQ);
desc              194 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              196 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              204 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(KIU_IRQ);
desc              209 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              211 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              219 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(KIU_IRQ);
desc              224 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              226 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              234 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(ETHERNET_IRQ);
desc              237 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              239 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              246 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(ETHERNET_IRQ);
desc              249 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              251 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              258 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(DSIU_IRQ);
desc              261 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              263 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              270 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(DSIU_IRQ);
desc              273 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              275 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              282 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(FIR_IRQ);
desc              285 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              287 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              294 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(FIR_IRQ);
desc              297 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              299 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              306 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(PCI_IRQ);
desc              312 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              314 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              322 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(PCI_IRQ);
desc              328 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              330 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              338 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(SCU_IRQ);
desc              344 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              346 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              354 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(SCU_IRQ);
desc              360 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              362 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              370 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(CSI_IRQ);
desc              376 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              378 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              386 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(CSI_IRQ);
desc              392 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              394 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              402 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(BCU_IRQ);
desc              408 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              410 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              418 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(BCU_IRQ);
desc              424 arch/mips/vr41xx/common/icu.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              426 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              466 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              472 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irq(&desc->lock);
desc              511 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irq(&desc->lock);
desc              519 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irq(&desc->lock);
desc              526 arch/mips/vr41xx/common/icu.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              532 arch/mips/vr41xx/common/icu.c 	raw_spin_lock_irq(&desc->lock);
desc              579 arch/mips/vr41xx/common/icu.c 		raw_spin_unlock_irq(&desc->lock);
desc              587 arch/mips/vr41xx/common/icu.c 	raw_spin_unlock_irq(&desc->lock);
desc               60 arch/mips/vr41xx/common/irq.c 		struct irq_desc *desc = irq_to_desc(irq);
desc               61 arch/mips/vr41xx/common/irq.c 		struct irq_data *idata = irq_desc_get_irq_data(desc);
desc               62 arch/mips/vr41xx/common/irq.c 		struct irq_chip *chip = irq_desc_get_chip(desc);
desc              211 arch/parisc/kernel/irq.c 		struct irq_desc *desc = irq_to_desc(i);
desc              214 arch/parisc/kernel/irq.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              215 arch/parisc/kernel/irq.c 		action = desc->action;
desc              226 arch/parisc/kernel/irq.c 		seq_printf(p, " %14s", irq_desc_get_chip(desc)->name);
desc              258 arch/parisc/kernel/irq.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc               72 arch/parisc/kernel/kexec.c 	Elf64_Fdesc desc;
desc               87 arch/parisc/kernel/kexec.c 	reloc = (void *)&desc;
desc               88 arch/parisc/kernel/kexec.c 	desc.addr = (long long)virt;
desc              293 arch/parisc/kernel/process.c 	Elf64_Fdesc *desc = ptr;
desc              296 arch/parisc/kernel/process.c 	if (!probe_kernel_address(&desc->addr, p))
desc              181 arch/powerpc/crypto/aes-spe-glue.c static int ppc_ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              184 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              189 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              191 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              203 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              209 arch/powerpc/crypto/aes-spe-glue.c static int ppc_ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              212 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              217 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              219 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              231 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              237 arch/powerpc/crypto/aes-spe-glue.c static int ppc_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              240 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              245 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              247 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              259 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              265 arch/powerpc/crypto/aes-spe-glue.c static int ppc_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              268 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              273 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              275 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              287 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              293 arch/powerpc/crypto/aes-spe-glue.c static int ppc_ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              296 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              301 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              303 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt_block(desc, &walk, AES_BLOCK_SIZE);
desc              317 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              323 arch/powerpc/crypto/aes-spe-glue.c static int ppc_xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              326 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              332 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              334 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              348 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc              354 arch/powerpc/crypto/aes-spe-glue.c static int ppc_xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              357 arch/powerpc/crypto/aes-spe-glue.c 	struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              363 arch/powerpc/crypto/aes-spe-glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              365 arch/powerpc/crypto/aes-spe-glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              379 arch/powerpc/crypto/aes-spe-glue.c 		err = blkcipher_walk_done(desc, &walk, ubytes);
desc               84 arch/powerpc/crypto/crc32c-vpmsum_glue.c static int crc32c_vpmsum_init(struct shash_desc *desc)
desc               86 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc               87 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc               94 arch/powerpc/crypto/crc32c-vpmsum_glue.c static int crc32c_vpmsum_update(struct shash_desc *desc, const u8 *data,
desc               97 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              112 arch/powerpc/crypto/crc32c-vpmsum_glue.c static int crc32c_vpmsum_finup(struct shash_desc *desc, const u8 *data,
desc              115 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	return __crc32c_vpmsum_finup(shash_desc_ctx(desc), data, len, out);
desc              118 arch/powerpc/crypto/crc32c-vpmsum_glue.c static int crc32c_vpmsum_final(struct shash_desc *desc, u8 *out)
desc              120 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              127 arch/powerpc/crypto/crc32c-vpmsum_glue.c static int crc32c_vpmsum_digest(struct shash_desc *desc, const u8 *data,
desc              130 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	return __crc32c_vpmsum_finup(crypto_shash_ctx(desc->tfm), data, len,
desc               64 arch/powerpc/crypto/crct10dif-vpmsum_glue.c static int crct10dif_vpmsum_init(struct shash_desc *desc)
desc               66 arch/powerpc/crypto/crct10dif-vpmsum_glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               72 arch/powerpc/crypto/crct10dif-vpmsum_glue.c static int crct10dif_vpmsum_update(struct shash_desc *desc, const u8 *data,
desc               75 arch/powerpc/crypto/crct10dif-vpmsum_glue.c 	u16 *crc = shash_desc_ctx(desc);
desc               83 arch/powerpc/crypto/crct10dif-vpmsum_glue.c static int crct10dif_vpmsum_final(struct shash_desc *desc, u8 *out)
desc               85 arch/powerpc/crypto/crct10dif-vpmsum_glue.c 	u16 *crcp = shash_desc_ctx(desc);
desc               31 arch/powerpc/crypto/md5-glue.c static int ppc_md5_init(struct shash_desc *desc)
desc               33 arch/powerpc/crypto/md5-glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc               44 arch/powerpc/crypto/md5-glue.c static int ppc_md5_update(struct shash_desc *desc, const u8 *data,
desc               47 arch/powerpc/crypto/md5-glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc               76 arch/powerpc/crypto/md5-glue.c static int ppc_md5_final(struct shash_desc *desc, u8 *out)
desc               78 arch/powerpc/crypto/md5-glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc              108 arch/powerpc/crypto/md5-glue.c static int ppc_md5_export(struct shash_desc *desc, void *out)
desc              110 arch/powerpc/crypto/md5-glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc              116 arch/powerpc/crypto/md5-glue.c static int ppc_md5_import(struct shash_desc *desc, const void *in)
desc              118 arch/powerpc/crypto/md5-glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc               59 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_init(struct shash_desc *desc)
desc               61 arch/powerpc/crypto/sha1-spe-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               73 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_update(struct shash_desc *desc, const u8 *data,
desc               76 arch/powerpc/crypto/sha1-spe-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              117 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_final(struct shash_desc *desc, u8 *out)
desc              119 arch/powerpc/crypto/sha1-spe-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              154 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_export(struct shash_desc *desc, void *out)
desc              156 arch/powerpc/crypto/sha1-spe-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              162 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_import(struct shash_desc *desc, const void *in)
desc              164 arch/powerpc/crypto/sha1-spe-glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               26 arch/powerpc/crypto/sha1.c static int sha1_init(struct shash_desc *desc)
desc               28 arch/powerpc/crypto/sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               37 arch/powerpc/crypto/sha1.c static int sha1_update(struct shash_desc *desc, const u8 *data,
desc               40 arch/powerpc/crypto/sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               74 arch/powerpc/crypto/sha1.c static int sha1_final(struct shash_desc *desc, u8 *out)
desc               76 arch/powerpc/crypto/sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               87 arch/powerpc/crypto/sha1.c 	sha1_update(desc, padding, padlen);
desc               90 arch/powerpc/crypto/sha1.c 	sha1_update(desc, (const u8 *)&bits, sizeof(bits));
desc              102 arch/powerpc/crypto/sha1.c static int sha1_export(struct shash_desc *desc, void *out)
desc              104 arch/powerpc/crypto/sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              110 arch/powerpc/crypto/sha1.c static int sha1_import(struct shash_desc *desc, const void *in)
desc              112 arch/powerpc/crypto/sha1.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               60 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_init(struct shash_desc *desc)
desc               62 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               77 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha224_init(struct shash_desc *desc)
desc               79 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               94 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_update(struct shash_desc *desc, const u8 *data,
desc               97 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              139 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_final(struct shash_desc *desc, u8 *out)
desc              141 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              179 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha224_final(struct shash_desc *desc, u8 *out)
desc              184 arch/powerpc/crypto/sha256-spe-glue.c 	ppc_spe_sha256_final(desc, (u8 *)D);
desc              200 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_export(struct shash_desc *desc, void *out)
desc              202 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              208 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_import(struct shash_desc *desc, const void *in)
desc              210 arch/powerpc/crypto/sha256-spe-glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              438 arch/powerpc/include/asm/kvm_host.h 	struct irq_desc *desc;
desc               65 arch/powerpc/include/asm/lppaca.h 	__be32	desc;			/* Eye catcher 0xD397D781 */
desc               85 arch/powerpc/include/asm/sections.h 	struct ppc64_opd_entry *desc = ptr;
desc               88 arch/powerpc/include/asm/sections.h 	if (!probe_kernel_address(&desc->funcaddr, p))
desc               27 arch/powerpc/include/asm/tsi108_pci.h extern void tsi108_irq_cascade(struct irq_desc *desc);
desc               26 arch/powerpc/kernel/machine_kexec.c 	struct irq_desc *desc;
desc               28 arch/powerpc/kernel/machine_kexec.c 	for_each_irq_desc(i, desc) {
desc               31 arch/powerpc/kernel/machine_kexec.c 		chip = irq_desc_get_chip(desc);
desc               35 arch/powerpc/kernel/machine_kexec.c 		if (chip->irq_eoi && irqd_irq_inprogress(&desc->irq_data))
desc               36 arch/powerpc/kernel/machine_kexec.c 			chip->irq_eoi(&desc->irq_data);
desc               39 arch/powerpc/kernel/machine_kexec.c 			chip->irq_mask(&desc->irq_data);
desc               41 arch/powerpc/kernel/machine_kexec.c 		if (chip->irq_disable && !irqd_irq_disabled(&desc->irq_data))
desc               42 arch/powerpc/kernel/machine_kexec.c 			chip->irq_disable(&desc->irq_data);
desc              106 arch/powerpc/kernel/paca.c 		.desc = cpu_to_be32(0xd397d781),	/* "LpPa" */
desc             5012 arch/powerpc/kvm/book3s_hv.c 	struct irq_desc *desc;
desc             5021 arch/powerpc/kvm/book3s_hv.c 	desc = irq_to_desc(host_irq);
desc             5022 arch/powerpc/kvm/book3s_hv.c 	if (!desc)
desc             5043 arch/powerpc/kvm/book3s_hv.c 	chip = irq_data_get_irq_chip(&desc->irq_data);
desc             5074 arch/powerpc/kvm/book3s_hv.c 	irq_map->desc = desc;
desc             5081 arch/powerpc/kvm/book3s_hv.c 	irq_map->r_hwirq = desc->irq_data.hwirq;
desc             5087 arch/powerpc/kvm/book3s_hv.c 		rc = kvmppc_xive_set_mapped(kvm, guest_gsi, desc);
desc             5089 arch/powerpc/kvm/book3s_hv.c 		kvmppc_xics_set_mapped(kvm, guest_gsi, desc->irq_data.hwirq);
desc             5100 arch/powerpc/kvm/book3s_hv.c 	struct irq_desc *desc;
desc             5107 arch/powerpc/kvm/book3s_hv.c 	desc = irq_to_desc(host_irq);
desc             5108 arch/powerpc/kvm/book3s_hv.c 	if (!desc)
desc             5128 arch/powerpc/kvm/book3s_hv.c 		rc = kvmppc_xive_clr_mapped(kvm, guest_gsi, pimap->mapped[i].desc);
desc              847 arch/powerpc/kvm/book3s_hv_rm_xics.c static void kvmppc_rm_handle_irq_desc(struct irq_desc *desc)
desc              849 arch/powerpc/kvm/book3s_hv_rm_xics.c 	this_cpu_inc_rm(desc->kstat_irqs);
desc              871 arch/powerpc/kvm/book3s_hv_rm_xics.c 	kvmppc_rm_handle_irq_desc(irq_map->desc);
desc              890 arch/powerpc/kvm/book3s_hv_rm_xics.c 	icp_eoi(irq_desc_get_chip(irq_map->desc), irq_map->r_hwirq, xirr,
desc              493 arch/powerpc/perf/hv-24x7.c 	char *desc = event_desc(event, &dl);
desc              499 arch/powerpc/perf/hv-24x7.c 	return device_str_attr_create(name, nl, nonce, desc, dl);
desc              507 arch/powerpc/perf/hv-24x7.c 	char *desc = event_long_desc(event, &dl);
desc              513 arch/powerpc/perf/hv-24x7.c 	return device_str_attr_create(name, nl, nonce, desc, dl);
desc              194 arch/powerpc/platforms/4xx/uic.c static void uic_irq_cascade(struct irq_desc *desc)
desc              196 arch/powerpc/platforms/4xx/uic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              197 arch/powerpc/platforms/4xx/uic.c 	struct irq_data *idata = irq_desc_get_irq_data(desc);
desc              198 arch/powerpc/platforms/4xx/uic.c 	struct uic *uic = irq_desc_get_handler_data(desc);
desc              203 arch/powerpc/platforms/4xx/uic.c 	raw_spin_lock(&desc->lock);
desc              208 arch/powerpc/platforms/4xx/uic.c 	raw_spin_unlock(&desc->lock);
desc              220 arch/powerpc/platforms/4xx/uic.c 	raw_spin_lock(&desc->lock);
desc              225 arch/powerpc/platforms/4xx/uic.c 	raw_spin_unlock(&desc->lock);
desc              103 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c static void cpld_pic_cascade(struct irq_desc *desc)
desc              221 arch/powerpc/platforms/512x/mpc512x_shared.c 	phys_addr_t desc;
desc              245 arch/powerpc/platforms/512x/mpc512x_shared.c 	desc = in_be32(&diu_reg->desc[0]);
desc              246 arch/powerpc/platforms/512x/mpc512x_shared.c 	vaddr = ioremap(desc, sizeof(struct diu_ad));
desc              264 arch/powerpc/platforms/512x/mpc512x_shared.c 	desc = in_be32(&diu_reg->gamma);
desc              265 arch/powerpc/platforms/512x/mpc512x_shared.c 	vaddr = ioremap(desc, sizeof(diu_shared_fb.gamma));
desc              278 arch/powerpc/platforms/512x/mpc512x_shared.c 	out_be32(&diu_reg->desc[1], 0);
desc              279 arch/powerpc/platforms/512x/mpc512x_shared.c 	out_be32(&diu_reg->desc[2], 0);
desc              280 arch/powerpc/platforms/512x/mpc512x_shared.c 	out_be32(&diu_reg->desc[0], virt_to_phys(&diu_shared_fb.ad0));
desc               78 arch/powerpc/platforms/52xx/media5200.c static void media5200_irq_cascade(struct irq_desc *desc)
desc               80 arch/powerpc/platforms/52xx/media5200.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               85 arch/powerpc/platforms/52xx/media5200.c 	raw_spin_lock(&desc->lock);
desc               86 arch/powerpc/platforms/52xx/media5200.c 	chip->irq_mask(&desc->irq_data);
desc               87 arch/powerpc/platforms/52xx/media5200.c 	raw_spin_unlock(&desc->lock);
desc              103 arch/powerpc/platforms/52xx/media5200.c 	raw_spin_lock(&desc->lock);
desc              104 arch/powerpc/platforms/52xx/media5200.c 	chip->irq_ack(&desc->irq_data);
desc              105 arch/powerpc/platforms/52xx/media5200.c 	if (!irqd_irq_disabled(&desc->irq_data))
desc              106 arch/powerpc/platforms/52xx/media5200.c 		chip->irq_unmask(&desc->irq_data);
desc              107 arch/powerpc/platforms/52xx/media5200.c 	raw_spin_unlock(&desc->lock);
desc              190 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static void mpc52xx_gpt_irq_cascade(struct irq_desc *desc)
desc              192 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_desc_get_handler_data(desc);
desc               78 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c static void pq2ads_pci_irq_demux(struct irq_desc *desc)
desc               80 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c 	struct pq2ads_pci_pic *priv = irq_desc_get_handler_data(desc);
desc               52 arch/powerpc/platforms/85xx/common.c static void cpm2_cascade(struct irq_desc *desc)
desc               54 arch/powerpc/platforms/85xx/common.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               60 arch/powerpc/platforms/85xx/common.c 	chip->irq_eoi(&desc->irq_data);
desc              205 arch/powerpc/platforms/85xx/mpc85xx_cds.c static void mpc85xx_8259_cascade_handler(struct irq_desc *desc)
desc              214 arch/powerpc/platforms/85xx/mpc85xx_cds.c 	handle_fasteoi_irq(desc);
desc               45 arch/powerpc/platforms/85xx/mpc85xx_ds.c static void mpc85xx_8259_cascade(struct irq_desc *desc)
desc               47 arch/powerpc/platforms/85xx/mpc85xx_ds.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               53 arch/powerpc/platforms/85xx/mpc85xx_ds.c 	chip->irq_eoi(&desc->irq_data);
desc               89 arch/powerpc/platforms/85xx/socrates_fpga_pic.c static void socrates_fpga_pic_cascade(struct irq_desc *desc)
desc               91 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               92 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              103 arch/powerpc/platforms/85xx/socrates_fpga_pic.c 	chip->irq_eoi(&desc->irq_data);
desc               16 arch/powerpc/platforms/86xx/pic.c static void mpc86xx_8259_cascade(struct irq_desc *desc)
desc               18 arch/powerpc/platforms/86xx/pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               24 arch/powerpc/platforms/86xx/pic.c 	chip->irq_eoi(&desc->irq_data);
desc              216 arch/powerpc/platforms/8xx/m8xx_setup.c static void cpm_cascade(struct irq_desc *desc)
desc               92 arch/powerpc/platforms/cell/axon_msi.c static void axon_msi_cascade(struct irq_desc *desc)
desc               94 arch/powerpc/platforms/cell/axon_msi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               95 arch/powerpc/platforms/cell/axon_msi.c 	struct axon_msic *msic = irq_desc_get_handler_data(desc);
desc              147 arch/powerpc/platforms/cell/axon_msi.c 	chip->irq_eoi(&desc->irq_data);
desc               89 arch/powerpc/platforms/cell/interrupt.c static void iic_ioexc_cascade(struct irq_desc *desc)
desc               91 arch/powerpc/platforms/cell/interrupt.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               93 arch/powerpc/platforms/cell/interrupt.c 		(void __iomem *)irq_desc_get_handler_data(desc);
desc               94 arch/powerpc/platforms/cell/interrupt.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              121 arch/powerpc/platforms/cell/interrupt.c 	chip->irq_eoi(&desc->irq_data);
desc              189 arch/powerpc/platforms/cell/spider-pic.c static void spider_irq_cascade(struct irq_desc *desc)
desc              191 arch/powerpc/platforms/cell/spider-pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              192 arch/powerpc/platforms/cell/spider-pic.c 	struct spider_pic *pic = irq_desc_get_handler_data(desc);
desc              204 arch/powerpc/platforms/cell/spider-pic.c 	chip->irq_eoi(&desc->irq_data);
desc              361 arch/powerpc/platforms/chrp/setup.c static void chrp_8259_cascade(struct irq_desc *desc)
desc              363 arch/powerpc/platforms/chrp/setup.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              369 arch/powerpc/platforms/chrp/setup.c 	chip->irq_eoi(&desc->irq_data);
desc              123 arch/powerpc/platforms/embedded6xx/hlwd-pic.c static void hlwd_pic_irq_cascade(struct irq_desc *desc)
desc              125 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              126 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	struct irq_domain *irq_domain = irq_desc_get_handler_data(desc);
desc              129 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	raw_spin_lock(&desc->lock);
desc              130 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	chip->irq_mask(&desc->irq_data); /* IRQ_LEVEL */
desc              131 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	raw_spin_unlock(&desc->lock);
desc              139 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	raw_spin_lock(&desc->lock);
desc              140 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	chip->irq_ack(&desc->irq_data); /* IRQ_LEVEL */
desc              141 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	if (!irqd_irq_disabled(&desc->irq_data) && chip->irq_unmask)
desc              142 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 		chip->irq_unmask(&desc->irq_data);
desc              143 arch/powerpc/platforms/embedded6xx/hlwd-pic.c 	raw_spin_unlock(&desc->lock);
desc               40 arch/powerpc/platforms/embedded6xx/mvme5100.c static void mvme5100_8259_cascade(struct irq_desc *desc)
desc               42 arch/powerpc/platforms/embedded6xx/mvme5100.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               48 arch/powerpc/platforms/embedded6xx/mvme5100.c 	chip->irq_eoi(&desc->irq_data);
desc              210 arch/powerpc/platforms/pasemi/setup.c static void sb600_8259_cascade(struct irq_desc *desc)
desc              212 arch/powerpc/platforms/pasemi/setup.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              218 arch/powerpc/platforms/pasemi/setup.c 	chip->irq_eoi(&desc->irq_data);
desc              200 arch/powerpc/platforms/powernv/pci-ioda.c 	const char *desc;
desc              212 arch/powerpc/platforms/powernv/pci-ioda.c 		desc = "configuring";
desc              222 arch/powerpc/platforms/powernv/pci-ioda.c 		desc = "enabling";
desc              243 arch/powerpc/platforms/powernv/pci-ioda.c 		rc, desc, phb->ioda.m64_bar_idx);
desc              681 arch/powerpc/platforms/powernv/pci-ioda.c 	const char *desc = is_add ? "adding" : "removing";
desc              692 arch/powerpc/platforms/powernv/pci-ioda.c 			rc, desc);
desc              705 arch/powerpc/platforms/powernv/pci-ioda.c 				rc, desc);
desc              164 arch/powerpc/platforms/pseries/setup.c static void pseries_8259_cascade(struct irq_desc *desc)
desc              166 arch/powerpc/platforms/pseries/setup.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              172 arch/powerpc/platforms/pseries/setup.c 	chip->irq_eoi(&desc->irq_data);
desc              665 arch/powerpc/sysdev/fsl_rmu.c 	struct rio_tx_desc *desc = (struct rio_tx_desc *)rmu->msg_tx_ring.virt
desc              684 arch/powerpc/sysdev/fsl_rmu.c 	desc->dport = (rdev->destid << 16) | (mbox & 0x3);
desc              687 arch/powerpc/sysdev/fsl_rmu.c 	desc->dattr = 0x28000000 | ((mport->index) << 20);
desc              690 arch/powerpc/sysdev/fsl_rmu.c 	desc->dwcnt = is_power_of_2(len) ? len : 1 << get_bitmask_order(len);
desc              693 arch/powerpc/sysdev/fsl_rmu.c 	desc->saddr = 0x00000004
desc               94 arch/powerpc/sysdev/ge/ge_pic.c static void gef_pic_cascade(struct irq_desc *desc)
desc               96 arch/powerpc/sysdev/ge/ge_pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              108 arch/powerpc/sysdev/ge/ge_pic.c 	chip->irq_eoi(&desc->irq_data);
desc             1165 arch/powerpc/sysdev/mpic.c static void mpic_cascade(struct irq_desc *desc)
desc             1167 arch/powerpc/sysdev/mpic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1168 arch/powerpc/sysdev/mpic.c 	struct mpic *mpic = irq_desc_get_handler_data(desc);
desc             1177 arch/powerpc/sysdev/mpic.c 	chip->irq_eoi(&desc->irq_data);
desc              416 arch/powerpc/sysdev/tsi108_pci.c void tsi108_irq_cascade(struct irq_desc *desc)
desc              418 arch/powerpc/sysdev/tsi108_pci.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              424 arch/powerpc/sysdev/tsi108_pci.c 	chip->irq_eoi(&desc->irq_data);
desc              185 arch/powerpc/sysdev/xics/xics-common.c 	struct irq_desc *desc;
desc              197 arch/powerpc/sysdev/xics/xics-common.c 	for_each_irq_desc(virq, desc) {
desc              207 arch/powerpc/sysdev/xics/xics-common.c 		if (!desc->action)
desc              209 arch/powerpc/sysdev/xics/xics-common.c 		if (desc->irq_data.domain != xics_host)
desc              211 arch/powerpc/sysdev/xics/xics-common.c 		irq = desc->irq_data.hwirq;
desc              215 arch/powerpc/sysdev/xics/xics-common.c 		chip = irq_desc_get_chip(desc);
desc              219 arch/powerpc/sysdev/xics/xics-common.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              223 arch/powerpc/sysdev/xics/xics-common.c 		ics = irq_desc_get_chip_data(desc);
desc              245 arch/powerpc/sysdev/xics/xics-common.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              249 arch/powerpc/sysdev/xics/xics-common.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc               38 arch/powerpc/sysdev/xilinx_intc.c static void xilinx_i8259_cascade(struct irq_desc *desc)
desc               40 arch/powerpc/sysdev/xilinx_intc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               47 arch/powerpc/sysdev/xilinx_intc.c 	chip->irq_unmask(&desc->irq_data);
desc             1408 arch/powerpc/sysdev/xive/common.c 		struct irq_desc *desc = irq_to_desc(irq);
desc             1409 arch/powerpc/sysdev/xive/common.c 		struct irq_data *d = irq_desc_get_irq_data(desc);
desc             1429 arch/powerpc/sysdev/xive/common.c 		raw_spin_lock(&desc->lock);
desc             1430 arch/powerpc/sysdev/xive/common.c 		xd = irq_desc_get_handler_data(desc);
desc             1446 arch/powerpc/sysdev/xive/common.c 		raw_spin_unlock(&desc->lock);
desc             2631 arch/powerpc/xmon/xmon.c 	struct irq_desc *desc;
desc             2633 arch/powerpc/xmon/xmon.c 	for_each_irq_desc(i, desc) {
desc             2634 arch/powerpc/xmon/xmon.c 		struct irq_data *d = irq_desc_get_irq_data(desc);
desc              201 arch/s390/crypto/aes_s390.c static int fallback_blk_dec(struct blkcipher_desc *desc,
desc              206 arch/s390/crypto/aes_s390.c 	struct crypto_blkcipher *tfm = desc->tfm;
desc              211 arch/s390/crypto/aes_s390.c 	skcipher_request_set_callback(req, desc->flags, NULL, NULL);
desc              212 arch/s390/crypto/aes_s390.c 	skcipher_request_set_crypt(req, src, dst, nbytes, desc->info);
desc              220 arch/s390/crypto/aes_s390.c static int fallback_blk_enc(struct blkcipher_desc *desc,
desc              225 arch/s390/crypto/aes_s390.c 	struct crypto_blkcipher *tfm = desc->tfm;
desc              230 arch/s390/crypto/aes_s390.c 	skcipher_request_set_callback(req, desc->flags, NULL, NULL);
desc              231 arch/s390/crypto/aes_s390.c 	skcipher_request_set_crypt(req, src, dst, nbytes, desc->info);
desc              258 arch/s390/crypto/aes_s390.c static int ecb_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              261 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              265 arch/s390/crypto/aes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              271 arch/s390/crypto/aes_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              277 arch/s390/crypto/aes_s390.c static int ecb_aes_encrypt(struct blkcipher_desc *desc,
desc              281 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              285 arch/s390/crypto/aes_s390.c 		return fallback_blk_enc(desc, dst, src, nbytes);
desc              288 arch/s390/crypto/aes_s390.c 	return ecb_aes_crypt(desc, 0, &walk);
desc              291 arch/s390/crypto/aes_s390.c static int ecb_aes_decrypt(struct blkcipher_desc *desc,
desc              295 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              299 arch/s390/crypto/aes_s390.c 		return fallback_blk_dec(desc, dst, src, nbytes);
desc              302 arch/s390/crypto/aes_s390.c 	return ecb_aes_crypt(desc, CPACF_DECRYPT, &walk);
desc              373 arch/s390/crypto/aes_s390.c static int cbc_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              376 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              384 arch/s390/crypto/aes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              392 arch/s390/crypto/aes_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              398 arch/s390/crypto/aes_s390.c static int cbc_aes_encrypt(struct blkcipher_desc *desc,
desc              402 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              406 arch/s390/crypto/aes_s390.c 		return fallback_blk_enc(desc, dst, src, nbytes);
desc              409 arch/s390/crypto/aes_s390.c 	return cbc_aes_crypt(desc, 0, &walk);
desc              412 arch/s390/crypto/aes_s390.c static int cbc_aes_decrypt(struct blkcipher_desc *desc,
desc              416 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              420 arch/s390/crypto/aes_s390.c 		return fallback_blk_dec(desc, dst, src, nbytes);
desc              423 arch/s390/crypto/aes_s390.c 	return cbc_aes_crypt(desc, CPACF_DECRYPT, &walk);
desc              470 arch/s390/crypto/aes_s390.c static int xts_fallback_decrypt(struct blkcipher_desc *desc,
desc              474 arch/s390/crypto/aes_s390.c 	struct crypto_blkcipher *tfm = desc->tfm;
desc              480 arch/s390/crypto/aes_s390.c 	skcipher_request_set_callback(req, desc->flags, NULL, NULL);
desc              481 arch/s390/crypto/aes_s390.c 	skcipher_request_set_crypt(req, src, dst, nbytes, desc->info);
desc              489 arch/s390/crypto/aes_s390.c static int xts_fallback_encrypt(struct blkcipher_desc *desc,
desc              493 arch/s390/crypto/aes_s390.c 	struct crypto_blkcipher *tfm = desc->tfm;
desc              499 arch/s390/crypto/aes_s390.c 	skcipher_request_set_callback(req, desc->flags, NULL, NULL);
desc              500 arch/s390/crypto/aes_s390.c 	skcipher_request_set_crypt(req, src, dst, nbytes, desc->info);
desc              542 arch/s390/crypto/aes_s390.c static int xts_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              545 arch/s390/crypto/aes_s390.c 	struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm);
desc              560 arch/s390/crypto/aes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              577 arch/s390/crypto/aes_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              582 arch/s390/crypto/aes_s390.c static int xts_aes_encrypt(struct blkcipher_desc *desc,
desc              586 arch/s390/crypto/aes_s390.c 	struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm);
desc              593 arch/s390/crypto/aes_s390.c 		return xts_fallback_encrypt(desc, dst, src, nbytes);
desc              596 arch/s390/crypto/aes_s390.c 	return xts_aes_crypt(desc, 0, &walk);
desc              599 arch/s390/crypto/aes_s390.c static int xts_aes_decrypt(struct blkcipher_desc *desc,
desc              603 arch/s390/crypto/aes_s390.c 	struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm);
desc              610 arch/s390/crypto/aes_s390.c 		return xts_fallback_decrypt(desc, dst, src, nbytes);
desc              613 arch/s390/crypto/aes_s390.c 	return xts_aes_crypt(desc, CPACF_DECRYPT, &walk);
desc              699 arch/s390/crypto/aes_s390.c static int ctr_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              702 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              709 arch/s390/crypto/aes_s390.c 	ret = blkcipher_walk_virt_block(desc, walk, AES_BLOCK_SIZE);
desc              722 arch/s390/crypto/aes_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              735 arch/s390/crypto/aes_s390.c 		ret = blkcipher_walk_done(desc, walk, 0);
desc              741 arch/s390/crypto/aes_s390.c static int ctr_aes_encrypt(struct blkcipher_desc *desc,
desc              745 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              749 arch/s390/crypto/aes_s390.c 		return fallback_blk_enc(desc, dst, src, nbytes);
desc              752 arch/s390/crypto/aes_s390.c 	return ctr_aes_crypt(desc, 0, &walk);
desc              755 arch/s390/crypto/aes_s390.c static int ctr_aes_decrypt(struct blkcipher_desc *desc,
desc              759 arch/s390/crypto/aes_s390.c 	struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm);
desc              763 arch/s390/crypto/aes_s390.c 		return fallback_blk_dec(desc, dst, src, nbytes);
desc              766 arch/s390/crypto/aes_s390.c 	return ctr_aes_crypt(desc, CPACF_DECRYPT, &walk);
desc              100 arch/s390/crypto/crc32-vx.c static int crc32_vx_init(struct shash_desc *desc)
desc              102 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc              103 arch/s390/crypto/crc32-vx.c 	struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              135 arch/s390/crypto/crc32-vx.c static int crc32le_vx_final(struct shash_desc *desc, u8 *out)
desc              137 arch/s390/crypto/crc32-vx.c 	struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              143 arch/s390/crypto/crc32-vx.c static int crc32be_vx_final(struct shash_desc *desc, u8 *out)
desc              145 arch/s390/crypto/crc32-vx.c 	struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              151 arch/s390/crypto/crc32-vx.c static int crc32c_vx_final(struct shash_desc *desc, u8 *out)
desc              153 arch/s390/crypto/crc32-vx.c 	struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              190 arch/s390/crypto/crc32-vx.c 	static int alg ## _vx_finup(struct shash_desc *desc, const u8 *data,  \
desc              193 arch/s390/crypto/crc32-vx.c 		return __ ## alg ## _vx_finup(shash_desc_ctx(desc),	      \
desc              202 arch/s390/crypto/crc32-vx.c 	static int alg ## _vx_digest(struct shash_desc *desc, const u8 *data, \
desc              205 arch/s390/crypto/crc32-vx.c 		return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm),    \
desc              214 arch/s390/crypto/crc32-vx.c 	static int alg ## _vx_update(struct shash_desc *desc, const u8 *data, \
desc              217 arch/s390/crypto/crc32-vx.c 		struct crc_desc_ctx *ctx = shash_desc_ctx(desc);	      \
desc               82 arch/s390/crypto/des_s390.c static int ecb_desall_crypt(struct blkcipher_desc *desc, unsigned long fc,
desc               85 arch/s390/crypto/des_s390.c 	struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc               89 arch/s390/crypto/des_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc               95 arch/s390/crypto/des_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              100 arch/s390/crypto/des_s390.c static int cbc_desall_crypt(struct blkcipher_desc *desc, unsigned long fc,
desc              103 arch/s390/crypto/des_s390.c 	struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              111 arch/s390/crypto/des_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              119 arch/s390/crypto/des_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              125 arch/s390/crypto/des_s390.c static int ecb_des_encrypt(struct blkcipher_desc *desc,
desc              132 arch/s390/crypto/des_s390.c 	return ecb_desall_crypt(desc, CPACF_KM_DEA, &walk);
desc              135 arch/s390/crypto/des_s390.c static int ecb_des_decrypt(struct blkcipher_desc *desc,
desc              142 arch/s390/crypto/des_s390.c 	return ecb_desall_crypt(desc, CPACF_KM_DEA | CPACF_DECRYPT, &walk);
desc              165 arch/s390/crypto/des_s390.c static int cbc_des_encrypt(struct blkcipher_desc *desc,
desc              172 arch/s390/crypto/des_s390.c 	return cbc_desall_crypt(desc, CPACF_KMC_DEA, &walk);
desc              175 arch/s390/crypto/des_s390.c static int cbc_des_decrypt(struct blkcipher_desc *desc,
desc              182 arch/s390/crypto/des_s390.c 	return cbc_desall_crypt(desc, CPACF_KMC_DEA | CPACF_DECRYPT, &walk);
desc              269 arch/s390/crypto/des_s390.c static int ecb_des3_encrypt(struct blkcipher_desc *desc,
desc              276 arch/s390/crypto/des_s390.c 	return ecb_desall_crypt(desc, CPACF_KM_TDEA_192, &walk);
desc              279 arch/s390/crypto/des_s390.c static int ecb_des3_decrypt(struct blkcipher_desc *desc,
desc              286 arch/s390/crypto/des_s390.c 	return ecb_desall_crypt(desc, CPACF_KM_TDEA_192 | CPACF_DECRYPT,
desc              310 arch/s390/crypto/des_s390.c static int cbc_des3_encrypt(struct blkcipher_desc *desc,
desc              317 arch/s390/crypto/des_s390.c 	return cbc_desall_crypt(desc, CPACF_KMC_TDEA_192, &walk);
desc              320 arch/s390/crypto/des_s390.c static int cbc_des3_decrypt(struct blkcipher_desc *desc,
desc              327 arch/s390/crypto/des_s390.c 	return cbc_desall_crypt(desc, CPACF_KMC_TDEA_192 | CPACF_DECRYPT,
desc              367 arch/s390/crypto/des_s390.c static int ctr_desall_crypt(struct blkcipher_desc *desc, unsigned long fc,
desc              370 arch/s390/crypto/des_s390.c 	struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              377 arch/s390/crypto/des_s390.c 	ret = blkcipher_walk_virt_block(desc, walk, DES_BLOCK_SIZE);
desc              389 arch/s390/crypto/des_s390.c 		ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              399 arch/s390/crypto/des_s390.c 		ret = blkcipher_walk_done(desc, walk, 0);
desc              404 arch/s390/crypto/des_s390.c static int ctr_des_encrypt(struct blkcipher_desc *desc,
desc              411 arch/s390/crypto/des_s390.c 	return ctr_desall_crypt(desc, CPACF_KMCTR_DEA, &walk);
desc              414 arch/s390/crypto/des_s390.c static int ctr_des_decrypt(struct blkcipher_desc *desc,
desc              421 arch/s390/crypto/des_s390.c 	return ctr_desall_crypt(desc, CPACF_KMCTR_DEA | CPACF_DECRYPT, &walk);
desc              445 arch/s390/crypto/des_s390.c static int ctr_des3_encrypt(struct blkcipher_desc *desc,
desc              452 arch/s390/crypto/des_s390.c 	return ctr_desall_crypt(desc, CPACF_KMCTR_TDEA_192, &walk);
desc              455 arch/s390/crypto/des_s390.c static int ctr_des3_decrypt(struct blkcipher_desc *desc,
desc              462 arch/s390/crypto/des_s390.c 	return ctr_desall_crypt(desc, CPACF_KMCTR_TDEA_192 | CPACF_DECRYPT,
desc               30 arch/s390/crypto/ghash_s390.c static int ghash_init(struct shash_desc *desc)
desc               32 arch/s390/crypto/ghash_s390.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               33 arch/s390/crypto/ghash_s390.c 	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc               56 arch/s390/crypto/ghash_s390.c static int ghash_update(struct shash_desc *desc,
desc               59 arch/s390/crypto/ghash_s390.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              109 arch/s390/crypto/ghash_s390.c static int ghash_final(struct shash_desc *desc, u8 *dst)
desc              111 arch/s390/crypto/ghash_s390.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              160 arch/s390/crypto/paes_s390.c static int ecb_paes_crypt(struct blkcipher_desc *desc,
desc              164 arch/s390/crypto/paes_s390.c 	struct s390_paes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              168 arch/s390/crypto/paes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              175 arch/s390/crypto/paes_s390.c 			ret = blkcipher_walk_done(desc, walk, nbytes - k);
desc              178 arch/s390/crypto/paes_s390.c 				return blkcipher_walk_done(desc, walk, -EIO);
desc              184 arch/s390/crypto/paes_s390.c static int ecb_paes_encrypt(struct blkcipher_desc *desc,
desc              191 arch/s390/crypto/paes_s390.c 	return ecb_paes_crypt(desc, CPACF_ENCRYPT, &walk);
desc              194 arch/s390/crypto/paes_s390.c static int ecb_paes_decrypt(struct blkcipher_desc *desc,
desc              201 arch/s390/crypto/paes_s390.c 	return ecb_paes_crypt(desc, CPACF_DECRYPT, &walk);
desc              279 arch/s390/crypto/paes_s390.c static int cbc_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              282 arch/s390/crypto/paes_s390.c 	struct s390_paes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              290 arch/s390/crypto/paes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              299 arch/s390/crypto/paes_s390.c 			ret = blkcipher_walk_done(desc, walk, nbytes - k);
desc              302 arch/s390/crypto/paes_s390.c 				return blkcipher_walk_done(desc, walk, -EIO);
desc              310 arch/s390/crypto/paes_s390.c static int cbc_paes_encrypt(struct blkcipher_desc *desc,
desc              317 arch/s390/crypto/paes_s390.c 	return cbc_paes_crypt(desc, 0, &walk);
desc              320 arch/s390/crypto/paes_s390.c static int cbc_paes_decrypt(struct blkcipher_desc *desc,
desc              327 arch/s390/crypto/paes_s390.c 	return cbc_paes_crypt(desc, CPACF_DECRYPT, &walk);
desc              433 arch/s390/crypto/paes_s390.c static int xts_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              436 arch/s390/crypto/paes_s390.c 	struct s390_pxts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              451 arch/s390/crypto/paes_s390.c 	ret = blkcipher_walk_virt(desc, walk);
desc              469 arch/s390/crypto/paes_s390.c 			ret = blkcipher_walk_done(desc, walk, nbytes - k);
desc              472 arch/s390/crypto/paes_s390.c 				return blkcipher_walk_done(desc, walk, -EIO);
desc              479 arch/s390/crypto/paes_s390.c static int xts_paes_encrypt(struct blkcipher_desc *desc,
desc              486 arch/s390/crypto/paes_s390.c 	return xts_paes_crypt(desc, 0, &walk);
desc              489 arch/s390/crypto/paes_s390.c static int xts_paes_decrypt(struct blkcipher_desc *desc,
desc              496 arch/s390/crypto/paes_s390.c 	return xts_paes_crypt(desc, CPACF_DECRYPT, &walk);
desc              591 arch/s390/crypto/paes_s390.c static int ctr_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier,
desc              594 arch/s390/crypto/paes_s390.c 	struct s390_paes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              601 arch/s390/crypto/paes_s390.c 	ret = blkcipher_walk_virt_block(desc, walk, AES_BLOCK_SIZE);
desc              615 arch/s390/crypto/paes_s390.c 			ret = blkcipher_walk_done(desc, walk, nbytes - n);
desc              621 arch/s390/crypto/paes_s390.c 				return blkcipher_walk_done(desc, walk, -EIO);
desc              638 arch/s390/crypto/paes_s390.c 				return blkcipher_walk_done(desc, walk, -EIO);
desc              642 arch/s390/crypto/paes_s390.c 		ret = blkcipher_walk_done(desc, walk, 0);
desc              648 arch/s390/crypto/paes_s390.c static int ctr_paes_encrypt(struct blkcipher_desc *desc,
desc              655 arch/s390/crypto/paes_s390.c 	return ctr_paes_crypt(desc, 0, &walk);
desc              658 arch/s390/crypto/paes_s390.c static int ctr_paes_decrypt(struct blkcipher_desc *desc,
desc              665 arch/s390/crypto/paes_s390.c 	return ctr_paes_crypt(desc, CPACF_DECRYPT, &walk);
desc               31 arch/s390/crypto/sha.h int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len);
desc               32 arch/s390/crypto/sha.h int s390_sha_final(struct shash_desc *desc, u8 *out);
desc               30 arch/s390/crypto/sha1_s390.c static int sha1_init(struct shash_desc *desc)
desc               32 arch/s390/crypto/sha1_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               45 arch/s390/crypto/sha1_s390.c static int sha1_export(struct shash_desc *desc, void *out)
desc               47 arch/s390/crypto/sha1_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               56 arch/s390/crypto/sha1_s390.c static int sha1_import(struct shash_desc *desc, const void *in)
desc               58 arch/s390/crypto/sha1_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               20 arch/s390/crypto/sha256_s390.c static int s390_sha256_init(struct shash_desc *desc)
desc               22 arch/s390/crypto/sha256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               38 arch/s390/crypto/sha256_s390.c static int sha256_export(struct shash_desc *desc, void *out)
desc               40 arch/s390/crypto/sha256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               49 arch/s390/crypto/sha256_s390.c static int sha256_import(struct shash_desc *desc, const void *in)
desc               51 arch/s390/crypto/sha256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               79 arch/s390/crypto/sha256_s390.c static int s390_sha224_init(struct shash_desc *desc)
desc               81 arch/s390/crypto/sha256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               21 arch/s390/crypto/sha3_256_s390.c static int sha3_256_init(struct shash_desc *desc)
desc               23 arch/s390/crypto/sha3_256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               32 arch/s390/crypto/sha3_256_s390.c static int sha3_256_export(struct shash_desc *desc, void *out)
desc               34 arch/s390/crypto/sha3_256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               44 arch/s390/crypto/sha3_256_s390.c static int sha3_256_import(struct shash_desc *desc, const void *in)
desc               46 arch/s390/crypto/sha3_256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               57 arch/s390/crypto/sha3_256_s390.c static int sha3_224_import(struct shash_desc *desc, const void *in)
desc               59 arch/s390/crypto/sha3_256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               88 arch/s390/crypto/sha3_256_s390.c static int sha3_224_init(struct shash_desc *desc)
desc               90 arch/s390/crypto/sha3_256_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               20 arch/s390/crypto/sha3_512_s390.c static int sha3_512_init(struct shash_desc *desc)
desc               22 arch/s390/crypto/sha3_512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               31 arch/s390/crypto/sha3_512_s390.c static int sha3_512_export(struct shash_desc *desc, void *out)
desc               33 arch/s390/crypto/sha3_512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               45 arch/s390/crypto/sha3_512_s390.c static int sha3_512_import(struct shash_desc *desc, const void *in)
desc               47 arch/s390/crypto/sha3_512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               61 arch/s390/crypto/sha3_512_s390.c static int sha3_384_import(struct shash_desc *desc, const void *in)
desc               63 arch/s390/crypto/sha3_512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               97 arch/s390/crypto/sha3_512_s390.c static int sha3_384_init(struct shash_desc *desc)
desc               99 arch/s390/crypto/sha3_512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               21 arch/s390/crypto/sha512_s390.c static int sha512_init(struct shash_desc *desc)
desc               23 arch/s390/crypto/sha512_s390.c 	struct s390_sha_ctx *ctx = shash_desc_ctx(desc);
desc               39 arch/s390/crypto/sha512_s390.c static int sha512_export(struct shash_desc *desc, void *out)
desc               41 arch/s390/crypto/sha512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               51 arch/s390/crypto/sha512_s390.c static int sha512_import(struct shash_desc *desc, const void *in)
desc               53 arch/s390/crypto/sha512_s390.c 	struct s390_sha_ctx *sctx = shash_desc_ctx(desc);
desc               86 arch/s390/crypto/sha512_s390.c static int sha384_init(struct shash_desc *desc)
desc               88 arch/s390/crypto/sha512_s390.c 	struct s390_sha_ctx *ctx = shash_desc_ctx(desc);
desc               16 arch/s390/crypto/sha_common.c int s390_sha_update(struct shash_desc *desc, const u8 *data, unsigned int len)
desc               18 arch/s390/crypto/sha_common.c 	struct s390_sha_ctx *ctx = shash_desc_ctx(desc);
desc               19 arch/s390/crypto/sha_common.c 	unsigned int bsize = crypto_shash_blocksize(desc->tfm);
desc               72 arch/s390/crypto/sha_common.c int s390_sha_final(struct shash_desc *desc, u8 *out)
desc               74 arch/s390/crypto/sha_common.c 	struct s390_sha_ctx *ctx = shash_desc_ctx(desc);
desc               75 arch/s390/crypto/sha_common.c 	unsigned int bsize = crypto_shash_blocksize(desc->tfm);
desc              115 arch/s390/crypto/sha_common.c 	memcpy(out, ctx->state, crypto_shash_digestsize(desc->tfm));
desc               15 arch/s390/include/asm/chpid.h 	u8 desc;
desc              310 arch/s390/kernel/crash_dump.c static void *nt_init_name(void *buf, Elf64_Word type, void *desc, int d_len,
desc              325 arch/s390/kernel/crash_dump.c 	memcpy(buf + len, desc, note->n_descsz);
desc              331 arch/s390/kernel/crash_dump.c static inline void *nt_init(void *buf, Elf64_Word type, void *desc, int d_len)
desc              333 arch/s390/kernel/crash_dump.c 	return nt_init_name(buf, type, desc, d_len, nt_name(type));
desc               38 arch/s390/kernel/irq.c 	char *desc;
desc               63 arch/s390/kernel/irq.c 	{.irq = IRQEXT_CLK, .name = "CLK", .desc = "[EXT] Clock Comparator"},
desc               64 arch/s390/kernel/irq.c 	{.irq = IRQEXT_EXC, .name = "EXC", .desc = "[EXT] External Call"},
desc               65 arch/s390/kernel/irq.c 	{.irq = IRQEXT_EMS, .name = "EMS", .desc = "[EXT] Emergency Signal"},
desc               66 arch/s390/kernel/irq.c 	{.irq = IRQEXT_TMR, .name = "TMR", .desc = "[EXT] CPU Timer"},
desc               67 arch/s390/kernel/irq.c 	{.irq = IRQEXT_TLA, .name = "TAL", .desc = "[EXT] Timing Alert"},
desc               68 arch/s390/kernel/irq.c 	{.irq = IRQEXT_PFL, .name = "PFL", .desc = "[EXT] Pseudo Page Fault"},
desc               69 arch/s390/kernel/irq.c 	{.irq = IRQEXT_DSD, .name = "DSD", .desc = "[EXT] DASD Diag"},
desc               70 arch/s390/kernel/irq.c 	{.irq = IRQEXT_VRT, .name = "VRT", .desc = "[EXT] Virtio"},
desc               71 arch/s390/kernel/irq.c 	{.irq = IRQEXT_SCP, .name = "SCP", .desc = "[EXT] Service Call"},
desc               72 arch/s390/kernel/irq.c 	{.irq = IRQEXT_IUC, .name = "IUC", .desc = "[EXT] IUCV"},
desc               73 arch/s390/kernel/irq.c 	{.irq = IRQEXT_CMS, .name = "CMS", .desc = "[EXT] CPU-Measurement: Sampling"},
desc               74 arch/s390/kernel/irq.c 	{.irq = IRQEXT_CMC, .name = "CMC", .desc = "[EXT] CPU-Measurement: Counter"},
desc               75 arch/s390/kernel/irq.c 	{.irq = IRQEXT_FTP, .name = "FTP", .desc = "[EXT] HMC FTP Service"},
desc               76 arch/s390/kernel/irq.c 	{.irq = IRQIO_CIO,  .name = "CIO", .desc = "[I/O] Common I/O Layer Interrupt"},
desc               77 arch/s390/kernel/irq.c 	{.irq = IRQIO_DAS,  .name = "DAS", .desc = "[I/O] DASD"},
desc               78 arch/s390/kernel/irq.c 	{.irq = IRQIO_C15,  .name = "C15", .desc = "[I/O] 3215"},
desc               79 arch/s390/kernel/irq.c 	{.irq = IRQIO_C70,  .name = "C70", .desc = "[I/O] 3270"},
desc               80 arch/s390/kernel/irq.c 	{.irq = IRQIO_TAP,  .name = "TAP", .desc = "[I/O] Tape"},
desc               81 arch/s390/kernel/irq.c 	{.irq = IRQIO_VMR,  .name = "VMR", .desc = "[I/O] Unit Record Devices"},
desc               82 arch/s390/kernel/irq.c 	{.irq = IRQIO_LCS,  .name = "LCS", .desc = "[I/O] LCS"},
desc               83 arch/s390/kernel/irq.c 	{.irq = IRQIO_CTC,  .name = "CTC", .desc = "[I/O] CTC"},
desc               84 arch/s390/kernel/irq.c 	{.irq = IRQIO_ADM,  .name = "ADM", .desc = "[I/O] EADM Subchannel"},
desc               85 arch/s390/kernel/irq.c 	{.irq = IRQIO_CSC,  .name = "CSC", .desc = "[I/O] CHSC Subchannel"},
desc               86 arch/s390/kernel/irq.c 	{.irq = IRQIO_VIR,  .name = "VIR", .desc = "[I/O] Virtual I/O Devices"},
desc               87 arch/s390/kernel/irq.c 	{.irq = IRQIO_QAI,  .name = "QAI", .desc = "[AIO] QDIO Adapter Interrupt"},
desc               88 arch/s390/kernel/irq.c 	{.irq = IRQIO_APB,  .name = "APB", .desc = "[AIO] AP Bus"},
desc               89 arch/s390/kernel/irq.c 	{.irq = IRQIO_PCF,  .name = "PCF", .desc = "[AIO] PCI Floating Interrupt"},
desc               90 arch/s390/kernel/irq.c 	{.irq = IRQIO_PCD,  .name = "PCD", .desc = "[AIO] PCI Directed Interrupt"},
desc               91 arch/s390/kernel/irq.c 	{.irq = IRQIO_MSI,  .name = "MSI", .desc = "[AIO] MSI Interrupt"},
desc               92 arch/s390/kernel/irq.c 	{.irq = IRQIO_VAI,  .name = "VAI", .desc = "[AIO] Virtual I/O Devices AI"},
desc               93 arch/s390/kernel/irq.c 	{.irq = IRQIO_GAL,  .name = "GAL", .desc = "[AIO] GIB Alert"},
desc               94 arch/s390/kernel/irq.c 	{.irq = NMI_NMI,    .name = "NMI", .desc = "[NMI] Machine Check"},
desc               95 arch/s390/kernel/irq.c 	{.irq = CPU_RST,    .name = "RST", .desc = "[CPU] CPU Restart"},
desc              123 arch/s390/kernel/irq.c 	struct irq_desc *desc;
desc              128 arch/s390/kernel/irq.c 	desc = irq_to_desc(irq);
desc              129 arch/s390/kernel/irq.c 	if (!desc)
desc              132 arch/s390/kernel/irq.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              137 arch/s390/kernel/irq.c 	if (desc->irq_data.chip)
desc              138 arch/s390/kernel/irq.c 		seq_printf(p, " %8s", desc->irq_data.chip->name);
desc              140 arch/s390/kernel/irq.c 	if (desc->action)
desc              141 arch/s390/kernel/irq.c 		seq_printf(p, "  %s", desc->action->name);
desc              144 arch/s390/kernel/irq.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              182 arch/s390/kernel/irq.c 		if (irqclass_sub_desc[index].desc)
desc              183 arch/s390/kernel/irq.c 			seq_printf(p, "  %s", irqclass_sub_desc[index].desc);
desc              152 arch/s390/tools/gen_opcode_table.c static void read_instructions(struct gen_opcode *desc)
desc              167 arch/s390/tools/gen_opcode_table.c 		desc->nr++;
desc              168 arch/s390/tools/gen_opcode_table.c 		desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn));
desc              169 arch/s390/tools/gen_opcode_table.c 		if (!desc->insn)
desc              171 arch/s390/tools/gen_opcode_table.c 		desc->insn[desc->nr - 1] = insn;
desc              180 arch/s390/tools/gen_opcode_table.c static void print_formats(struct gen_opcode *desc)
desc              185 arch/s390/tools/gen_opcode_table.c 	qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmpformat);
desc              189 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr; i++) {
desc              190 arch/s390/tools/gen_opcode_table.c 		if (!strcmp(format, desc->insn[i].format))
desc              193 arch/s390/tools/gen_opcode_table.c 		format = desc->insn[i].format;
desc              204 arch/s390/tools/gen_opcode_table.c static void print_long_insn(struct gen_opcode *desc)
desc              209 arch/s390/tools/gen_opcode_table.c 	qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmp_long_insn);
desc              212 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr; i++) {
desc              213 arch/s390/tools/gen_opcode_table.c 		insn = &desc->insn[i];
desc              222 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr; i++) {
desc              223 arch/s390/tools/gen_opcode_table.c 		insn = &desc->insn[i];
desc              246 arch/s390/tools/gen_opcode_table.c static void add_to_group(struct gen_opcode *desc, struct insn *insn, int offset)
desc              250 arch/s390/tools/gen_opcode_table.c 	group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL;
desc              255 arch/s390/tools/gen_opcode_table.c 	desc->nr_groups++;
desc              256 arch/s390/tools/gen_opcode_table.c 	desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group));
desc              257 arch/s390/tools/gen_opcode_table.c 	if (!desc->group)
desc              259 arch/s390/tools/gen_opcode_table.c 	group = &desc->group[desc->nr_groups - 1];
desc              271 arch/s390/tools/gen_opcode_table.c static void print_opcode_table(struct gen_opcode *desc)
desc              277 arch/s390/tools/gen_opcode_table.c 	qsort(desc->insn, desc->nr, sizeof(*desc->insn), cmpopcode);
desc              280 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr; i++) {
desc              281 arch/s390/tools/gen_opcode_table.c 		insn = &desc->insn[i];
desc              284 arch/s390/tools/gen_opcode_table.c 		add_to_group(desc, insn, offset);
desc              293 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr; i++) {
desc              294 arch/s390/tools/gen_opcode_table.c 		insn = &desc->insn[i];
desc              297 arch/s390/tools/gen_opcode_table.c 		add_to_group(desc, insn, offset);
desc              304 arch/s390/tools/gen_opcode_table.c static void print_opcode_table_offsets(struct gen_opcode *desc)
desc              310 arch/s390/tools/gen_opcode_table.c 	for (i = 0; i < desc->nr_groups; i++) {
desc              311 arch/s390/tools/gen_opcode_table.c 		group = &desc->group[i];
desc              321 arch/s390/tools/gen_opcode_table.c 	struct gen_opcode *desc = &_desc;
desc              323 arch/s390/tools/gen_opcode_table.c 	read_instructions(desc);
desc              331 arch/s390/tools/gen_opcode_table.c 	print_formats(desc);
desc              332 arch/s390/tools/gen_opcode_table.c 	print_long_insn(desc);
desc              333 arch/s390/tools/gen_opcode_table.c 	print_opcode_table(desc);
desc              334 arch/s390/tools/gen_opcode_table.c 	print_opcode_table_offsets(desc);
desc               91 arch/sh/boards/mach-rsk/devices-rsk7203.c 		.desc		= "SW1",
desc               96 arch/sh/boards/mach-rsk/devices-rsk7203.c 		.desc		= "SW2",
desc              101 arch/sh/boards/mach-rsk/devices-rsk7203.c 		.desc		= "SW3",
desc               29 arch/sh/boards/mach-se/7343/irq.c static void se7343_irq_demux(struct irq_desc *desc)
desc               31 arch/sh/boards/mach-se/7343/irq.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc               28 arch/sh/boards/mach-se/7722/irq.c static void se7722_irq_demux(struct irq_desc *desc)
desc               30 arch/sh/boards/mach-se/7722/irq.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc               92 arch/sh/boards/mach-se/7724/irq.c static void se7724_irq_demux(struct irq_desc *desc)
desc               94 arch/sh/boards/mach-se/7724/irq.c 	unsigned int irq = irq_desc_get_irq(desc);
desc               60 arch/sh/boards/mach-x3proto/gpio.c static void x3proto_gpio_irq_handler(struct irq_desc *desc)
desc               62 arch/sh/boards/mach-x3proto/gpio.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              128 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key44",
desc              133 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key43",
desc              138 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key42",
desc              142 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key41",
desc              146 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key34",
desc              150 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key33",
desc              154 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key32",
desc              158 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key31",
desc              162 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key24",
desc              166 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key23",
desc              170 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key22",
desc              174 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key21",
desc              178 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key14",
desc              182 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key13",
desc              186 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key12",
desc              190 arch/sh/boards/mach-x3proto/setup.c 		.desc		= "key11",
desc               60 arch/sh/cchips/hd6446x/hd64461.c static void hd64461_irq_demux(struct irq_desc *desc)
desc              199 arch/sh/kernel/cpu/init.c #define CACHE_DESC_SHAPE(desc)	\
desc              200 arch/sh/kernel/cpu/init.c 	CSHAPE((desc).way_size * (desc).ways, ilog2((desc).linesz), (desc).ways)
desc               52 arch/sh/kernel/cpu/irq/ipr.c void register_ipr_controller(struct ipr_desc *desc)
desc               56 arch/sh/kernel/cpu/irq/ipr.c 	desc->chip.irq_mask = disable_ipr_irq;
desc               57 arch/sh/kernel/cpu/irq/ipr.c 	desc->chip.irq_unmask = enable_ipr_irq;
desc               59 arch/sh/kernel/cpu/irq/ipr.c 	for (i = 0; i < desc->nr_irqs; i++) {
desc               60 arch/sh/kernel/cpu/irq/ipr.c 		struct ipr_data *p = desc->ipr_data + i;
desc               63 arch/sh/kernel/cpu/irq/ipr.c 		BUG_ON(p->ipr_idx >= desc->nr_offsets);
desc               64 arch/sh/kernel/cpu/irq/ipr.c 		BUG_ON(!desc->ipr_offsets[p->ipr_idx]);
desc               74 arch/sh/kernel/cpu/irq/ipr.c 		irq_set_chip_and_handler_name(p->irq, &desc->chip,
desc               61 arch/sh/kernel/cpu/shmobile/cpuidle.c 			.desc = "SuperH Sleep Mode",
desc               69 arch/sh/kernel/cpu/shmobile/cpuidle.c 			.desc = "SuperH Sleep Mode [SF]",
desc               78 arch/sh/kernel/cpu/shmobile/cpuidle.c 			.desc = "SuperH Mobile Standby Mode [SF]",
desc              216 arch/sparc/crypto/aes_glue.c static int ecb_encrypt(struct blkcipher_desc *desc,
desc              220 arch/sparc/crypto/aes_glue.c 	struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              225 arch/sparc/crypto/aes_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              226 arch/sparc/crypto/aes_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              239 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              245 arch/sparc/crypto/aes_glue.c static int ecb_decrypt(struct blkcipher_desc *desc,
desc              249 arch/sparc/crypto/aes_glue.c 	struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              255 arch/sparc/crypto/aes_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              256 arch/sparc/crypto/aes_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              269 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              276 arch/sparc/crypto/aes_glue.c static int cbc_encrypt(struct blkcipher_desc *desc,
desc              280 arch/sparc/crypto/aes_glue.c 	struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              285 arch/sparc/crypto/aes_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              286 arch/sparc/crypto/aes_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              299 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              305 arch/sparc/crypto/aes_glue.c static int cbc_decrypt(struct blkcipher_desc *desc,
desc              309 arch/sparc/crypto/aes_glue.c 	struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              315 arch/sparc/crypto/aes_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              316 arch/sparc/crypto/aes_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              330 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              352 arch/sparc/crypto/aes_glue.c static int ctr_crypt(struct blkcipher_desc *desc,
desc              356 arch/sparc/crypto/aes_glue.c 	struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              361 arch/sparc/crypto/aes_glue.c 	err = blkcipher_walk_virt_block(desc, &walk, AES_BLOCK_SIZE);
desc              362 arch/sparc/crypto/aes_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              375 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              379 arch/sparc/crypto/aes_glue.c 		err = blkcipher_walk_done(desc, &walk, 0);
desc               86 arch/sparc/crypto/camellia_glue.c static int __ecb_crypt(struct blkcipher_desc *desc,
desc               90 arch/sparc/crypto/camellia_glue.c 	struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              101 arch/sparc/crypto/camellia_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              102 arch/sparc/crypto/camellia_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              121 arch/sparc/crypto/camellia_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              127 arch/sparc/crypto/camellia_glue.c static int ecb_encrypt(struct blkcipher_desc *desc,
desc              131 arch/sparc/crypto/camellia_glue.c 	return __ecb_crypt(desc, dst, src, nbytes, true);
desc              134 arch/sparc/crypto/camellia_glue.c static int ecb_decrypt(struct blkcipher_desc *desc,
desc              138 arch/sparc/crypto/camellia_glue.c 	return __ecb_crypt(desc, dst, src, nbytes, false);
desc              149 arch/sparc/crypto/camellia_glue.c static int cbc_encrypt(struct blkcipher_desc *desc,
desc              153 arch/sparc/crypto/camellia_glue.c 	struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              164 arch/sparc/crypto/camellia_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              165 arch/sparc/crypto/camellia_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              182 arch/sparc/crypto/camellia_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              188 arch/sparc/crypto/camellia_glue.c static int cbc_decrypt(struct blkcipher_desc *desc,
desc              192 arch/sparc/crypto/camellia_glue.c 	struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              203 arch/sparc/crypto/camellia_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              204 arch/sparc/crypto/camellia_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              221 arch/sparc/crypto/camellia_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc               44 arch/sparc/crypto/crc32c_glue.c static int crc32c_sparc64_init(struct shash_desc *desc)
desc               46 arch/sparc/crypto/crc32c_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc               47 arch/sparc/crypto/crc32c_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc               70 arch/sparc/crypto/crc32c_glue.c static int crc32c_sparc64_update(struct shash_desc *desc, const u8 *data,
desc               73 arch/sparc/crypto/crc32c_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc               91 arch/sparc/crypto/crc32c_glue.c static int crc32c_sparc64_finup(struct shash_desc *desc, const u8 *data,
desc               94 arch/sparc/crypto/crc32c_glue.c 	return __crc32c_sparc64_finup(shash_desc_ctx(desc), data, len, out);
desc               97 arch/sparc/crypto/crc32c_glue.c static int crc32c_sparc64_final(struct shash_desc *desc, u8 *out)
desc               99 arch/sparc/crypto/crc32c_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              105 arch/sparc/crypto/crc32c_glue.c static int crc32c_sparc64_digest(struct shash_desc *desc, const u8 *data,
desc              108 arch/sparc/crypto/crc32c_glue.c 	return __crc32c_sparc64_finup(crypto_shash_ctx(desc->tfm), data, len,
desc               90 arch/sparc/crypto/des_glue.c static int __ecb_crypt(struct blkcipher_desc *desc,
desc               94 arch/sparc/crypto/des_glue.c 	struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc               99 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              100 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              115 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              121 arch/sparc/crypto/des_glue.c static int ecb_encrypt(struct blkcipher_desc *desc,
desc              125 arch/sparc/crypto/des_glue.c 	return __ecb_crypt(desc, dst, src, nbytes, true);
desc              128 arch/sparc/crypto/des_glue.c static int ecb_decrypt(struct blkcipher_desc *desc,
desc              132 arch/sparc/crypto/des_glue.c 	return __ecb_crypt(desc, dst, src, nbytes, false);
desc              138 arch/sparc/crypto/des_glue.c static int cbc_encrypt(struct blkcipher_desc *desc,
desc              142 arch/sparc/crypto/des_glue.c 	struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              147 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              148 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              160 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              169 arch/sparc/crypto/des_glue.c static int cbc_decrypt(struct blkcipher_desc *desc,
desc              173 arch/sparc/crypto/des_glue.c 	struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              178 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              179 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              191 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              254 arch/sparc/crypto/des_glue.c static int __ecb3_crypt(struct blkcipher_desc *desc,
desc              258 arch/sparc/crypto/des_glue.c 	struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              264 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              265 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              282 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              288 arch/sparc/crypto/des_glue.c static int ecb3_encrypt(struct blkcipher_desc *desc,
desc              292 arch/sparc/crypto/des_glue.c 	return __ecb3_crypt(desc, dst, src, nbytes, true);
desc              295 arch/sparc/crypto/des_glue.c static int ecb3_decrypt(struct blkcipher_desc *desc,
desc              299 arch/sparc/crypto/des_glue.c 	return __ecb3_crypt(desc, dst, src, nbytes, false);
desc              306 arch/sparc/crypto/des_glue.c static int cbc3_encrypt(struct blkcipher_desc *desc,
desc              310 arch/sparc/crypto/des_glue.c 	struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              316 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              317 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              332 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              342 arch/sparc/crypto/des_glue.c static int cbc3_decrypt(struct blkcipher_desc *desc,
desc              346 arch/sparc/crypto/des_glue.c 	struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm);
desc              352 arch/sparc/crypto/des_glue.c 	err = blkcipher_walk_virt(desc, &walk);
desc              353 arch/sparc/crypto/des_glue.c 	desc->flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP;
desc              368 arch/sparc/crypto/des_glue.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc               33 arch/sparc/crypto/md5_glue.c static int md5_sparc64_init(struct shash_desc *desc)
desc               35 arch/sparc/crypto/md5_glue.c 	struct md5_state *mctx = shash_desc_ctx(desc);
desc               67 arch/sparc/crypto/md5_glue.c static int md5_sparc64_update(struct shash_desc *desc, const u8 *data,
desc               70 arch/sparc/crypto/md5_glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc               84 arch/sparc/crypto/md5_glue.c static int md5_sparc64_final(struct shash_desc *desc, u8 *out)
desc               86 arch/sparc/crypto/md5_glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc              117 arch/sparc/crypto/md5_glue.c static int md5_sparc64_export(struct shash_desc *desc, void *out)
desc              119 arch/sparc/crypto/md5_glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc              126 arch/sparc/crypto/md5_glue.c static int md5_sparc64_import(struct shash_desc *desc, const void *in)
desc              128 arch/sparc/crypto/md5_glue.c 	struct md5_state *sctx = shash_desc_ctx(desc);
desc               30 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_init(struct shash_desc *desc)
desc               32 arch/sparc/crypto/sha1_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               62 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_update(struct shash_desc *desc, const u8 *data,
desc               65 arch/sparc/crypto/sha1_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               79 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_final(struct shash_desc *desc, u8 *out)
desc               81 arch/sparc/crypto/sha1_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              112 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_export(struct shash_desc *desc, void *out)
desc              114 arch/sparc/crypto/sha1_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              121 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_import(struct shash_desc *desc, const void *in)
desc              123 arch/sparc/crypto/sha1_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               30 arch/sparc/crypto/sha256_glue.c static int sha224_sparc64_init(struct shash_desc *desc)
desc               32 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               46 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_init(struct shash_desc *desc)
desc               48 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               83 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_update(struct shash_desc *desc, const u8 *data,
desc               86 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               99 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_final(struct shash_desc *desc, u8 *out)
desc              101 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              132 arch/sparc/crypto/sha256_glue.c static int sha224_sparc64_final(struct shash_desc *desc, u8 *hash)
desc              136 arch/sparc/crypto/sha256_glue.c 	sha256_sparc64_final(desc, D);
desc              144 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_export(struct shash_desc *desc, void *out)
desc              146 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              152 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_import(struct shash_desc *desc, const void *in)
desc              154 arch/sparc/crypto/sha256_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               29 arch/sparc/crypto/sha512_glue.c static int sha512_sparc64_init(struct shash_desc *desc)
desc               31 arch/sparc/crypto/sha512_glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               45 arch/sparc/crypto/sha512_glue.c static int sha384_sparc64_init(struct shash_desc *desc)
desc               47 arch/sparc/crypto/sha512_glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               83 arch/sparc/crypto/sha512_glue.c static int sha512_sparc64_update(struct shash_desc *desc, const u8 *data,
desc               86 arch/sparc/crypto/sha512_glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              100 arch/sparc/crypto/sha512_glue.c static int sha512_sparc64_final(struct shash_desc *desc, u8 *out)
desc              102 arch/sparc/crypto/sha512_glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              136 arch/sparc/crypto/sha512_glue.c static int sha384_sparc64_final(struct shash_desc *desc, u8 *hash)
desc              140 arch/sparc/crypto/sha512_glue.c 	sha512_sparc64_final(desc, D);
desc              266 arch/sparc/include/asm/vio.h static inline struct vio_net_dext *vio_net_ext(struct vio_net_desc *desc)
desc              268 arch/sparc/include/asm/vio.h 	return (struct vio_net_dext *)&desc->cookies[2];
desc              878 arch/sparc/kernel/irq_64.c 		struct irq_desc *desc = irq_to_desc(irq);
desc              882 arch/sparc/kernel/irq_64.c 		if (!desc)
desc              884 arch/sparc/kernel/irq_64.c 		data = irq_desc_get_irq_data(desc);
desc              885 arch/sparc/kernel/irq_64.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              886 arch/sparc/kernel/irq_64.c 		if (desc->action && !irqd_is_per_cpu(data)) {
desc              892 arch/sparc/kernel/irq_64.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc               57 arch/sparc/kernel/leon_kernel.c static void leon_handle_ext_irq(struct irq_desc *desc)
desc              217 arch/sparc/kernel/leon_kernel.c 	struct irq_desc *desc;
desc              231 arch/sparc/kernel/leon_kernel.c 	desc = irq_to_desc(irq);
desc              232 arch/sparc/kernel/leon_kernel.c 	if (!desc || !desc->handle_irq || desc->handle_irq == handle_bad_irq) {
desc              361 arch/sparc/kernel/leon_pci_grpci1.c static void grpci1_pci_flow_irq(struct irq_desc *desc)
desc              392 arch/sparc/kernel/leon_pci_grpci1.c 		desc->irq_data.chip->irq_eoi(&desc->irq_data);
desc              502 arch/sparc/kernel/leon_pci_grpci2.c static void grpci2_pci_flow_irq(struct irq_desc *desc)
desc              544 arch/sparc/kernel/leon_pci_grpci2.c 		desc->irq_data.chip->irq_eoi(&desc->irq_data);
desc              937 arch/sparc/kernel/pci.c int arch_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *desc)
desc              945 arch/sparc/kernel/pci.c 	return pbm->setup_msi_irq(&irq, pdev, desc);
desc               88 arch/um/drivers/vhost_user.h 	u64 desc, used, avail, log;
desc              603 arch/um/drivers/virtio_uml.c 				     u32 index, u64 desc, u64 used, u64 avail,
desc              610 arch/um/drivers/virtio_uml.c 		.payload.vring_addr.desc = desc,
desc              867 arch/um/drivers/virtio_uml.c 		       struct irq_affinity *desc)
desc              111 arch/unicore32/kernel/irq.c static void puv3_gpio_handler(struct irq_desc *desc)
desc               66 arch/unicore32/kernel/puv3-nb0916.c 		.desc	= "Power Button",
desc               74 arch/unicore32/kernel/puv3-nb0916.c 		.desc	= "Touchpad Button",
desc              746 arch/x86/boot/compressed/eboot.c 	struct desc_struct *desc;
desc              835 arch/x86/boot/compressed/eboot.c 	desc = (struct desc_struct *)gdt->address;
desc              838 arch/x86/boot/compressed/eboot.c 	desc++;
desc              842 arch/x86/boot/compressed/eboot.c 		desc->limit0	= 0xffff;
desc              843 arch/x86/boot/compressed/eboot.c 		desc->base0	= 0x0000;
desc              844 arch/x86/boot/compressed/eboot.c 		desc->base1	= 0x0000;
desc              845 arch/x86/boot/compressed/eboot.c 		desc->type	= SEG_TYPE_CODE | SEG_TYPE_EXEC_READ;
desc              846 arch/x86/boot/compressed/eboot.c 		desc->s		= DESC_TYPE_CODE_DATA;
desc              847 arch/x86/boot/compressed/eboot.c 		desc->dpl	= 0;
desc              848 arch/x86/boot/compressed/eboot.c 		desc->p		= 1;
desc              849 arch/x86/boot/compressed/eboot.c 		desc->limit1	= 0xf;
desc              850 arch/x86/boot/compressed/eboot.c 		desc->avl	= 0;
desc              851 arch/x86/boot/compressed/eboot.c 		desc->l		= 0;
desc              852 arch/x86/boot/compressed/eboot.c 		desc->d		= SEG_OP_SIZE_32BIT;
desc              853 arch/x86/boot/compressed/eboot.c 		desc->g		= SEG_GRANULARITY_4KB;
desc              854 arch/x86/boot/compressed/eboot.c 		desc->base2	= 0x00;
desc              856 arch/x86/boot/compressed/eboot.c 		desc++;
desc              859 arch/x86/boot/compressed/eboot.c 		desc++;
desc              863 arch/x86/boot/compressed/eboot.c 	desc->limit0	= 0xffff;
desc              864 arch/x86/boot/compressed/eboot.c 	desc->base0	= 0x0000;
desc              865 arch/x86/boot/compressed/eboot.c 	desc->base1	= 0x0000;
desc              866 arch/x86/boot/compressed/eboot.c 	desc->type	= SEG_TYPE_CODE | SEG_TYPE_EXEC_READ;
desc              867 arch/x86/boot/compressed/eboot.c 	desc->s		= DESC_TYPE_CODE_DATA;
desc              868 arch/x86/boot/compressed/eboot.c 	desc->dpl	= 0;
desc              869 arch/x86/boot/compressed/eboot.c 	desc->p		= 1;
desc              870 arch/x86/boot/compressed/eboot.c 	desc->limit1	= 0xf;
desc              871 arch/x86/boot/compressed/eboot.c 	desc->avl	= 0;
desc              874 arch/x86/boot/compressed/eboot.c 		desc->l = 1;
desc              875 arch/x86/boot/compressed/eboot.c 		desc->d = 0;
desc              877 arch/x86/boot/compressed/eboot.c 		desc->l = 0;
desc              878 arch/x86/boot/compressed/eboot.c 		desc->d = SEG_OP_SIZE_32BIT;
desc              880 arch/x86/boot/compressed/eboot.c 	desc->g		= SEG_GRANULARITY_4KB;
desc              881 arch/x86/boot/compressed/eboot.c 	desc->base2	= 0x00;
desc              882 arch/x86/boot/compressed/eboot.c 	desc++;
desc              885 arch/x86/boot/compressed/eboot.c 	desc->limit0	= 0xffff;
desc              886 arch/x86/boot/compressed/eboot.c 	desc->base0	= 0x0000;
desc              887 arch/x86/boot/compressed/eboot.c 	desc->base1	= 0x0000;
desc              888 arch/x86/boot/compressed/eboot.c 	desc->type	= SEG_TYPE_DATA | SEG_TYPE_READ_WRITE;
desc              889 arch/x86/boot/compressed/eboot.c 	desc->s		= DESC_TYPE_CODE_DATA;
desc              890 arch/x86/boot/compressed/eboot.c 	desc->dpl	= 0;
desc              891 arch/x86/boot/compressed/eboot.c 	desc->p		= 1;
desc              892 arch/x86/boot/compressed/eboot.c 	desc->limit1	= 0xf;
desc              893 arch/x86/boot/compressed/eboot.c 	desc->avl	= 0;
desc              894 arch/x86/boot/compressed/eboot.c 	desc->l		= 0;
desc              895 arch/x86/boot/compressed/eboot.c 	desc->d		= SEG_OP_SIZE_32BIT;
desc              896 arch/x86/boot/compressed/eboot.c 	desc->g		= SEG_GRANULARITY_4KB;
desc              897 arch/x86/boot/compressed/eboot.c 	desc->base2	= 0x00;
desc              898 arch/x86/boot/compressed/eboot.c 	desc++;
desc              902 arch/x86/boot/compressed/eboot.c 		desc->limit0	= 0x0000;
desc              903 arch/x86/boot/compressed/eboot.c 		desc->base0	= 0x0000;
desc              904 arch/x86/boot/compressed/eboot.c 		desc->base1	= 0x0000;
desc              905 arch/x86/boot/compressed/eboot.c 		desc->type	= SEG_TYPE_TSS;
desc              906 arch/x86/boot/compressed/eboot.c 		desc->s		= 0;
desc              907 arch/x86/boot/compressed/eboot.c 		desc->dpl	= 0;
desc              908 arch/x86/boot/compressed/eboot.c 		desc->p		= 1;
desc              909 arch/x86/boot/compressed/eboot.c 		desc->limit1	= 0x0;
desc              910 arch/x86/boot/compressed/eboot.c 		desc->avl	= 0;
desc              911 arch/x86/boot/compressed/eboot.c 		desc->l		= 0;
desc              912 arch/x86/boot/compressed/eboot.c 		desc->d		= 0;
desc              913 arch/x86/boot/compressed/eboot.c 		desc->g		= SEG_GRANULARITY_4KB;
desc              914 arch/x86/boot/compressed/eboot.c 		desc->base2	= 0x00;
desc              915 arch/x86/boot/compressed/eboot.c 		desc++;
desc               22 arch/x86/boot/memory.c 	struct boot_e820_entry *desc = boot_params.e820_table;
desc               65 arch/x86/boot/memory.c 		*desc++ = buf;
desc              105 arch/x86/crypto/crc32-pclmul_glue.c static int crc32_pclmul_init(struct shash_desc *desc)
desc              107 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc              108 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              115 arch/x86/crypto/crc32-pclmul_glue.c static int crc32_pclmul_update(struct shash_desc *desc, const u8 *data,
desc              118 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              132 arch/x86/crypto/crc32-pclmul_glue.c static int crc32_pclmul_finup(struct shash_desc *desc, const u8 *data,
desc              135 arch/x86/crypto/crc32-pclmul_glue.c 	return __crc32_pclmul_finup(shash_desc_ctx(desc), data, len, out);
desc              138 arch/x86/crypto/crc32-pclmul_glue.c static int crc32_pclmul_final(struct shash_desc *desc, u8 *out)
desc              140 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              146 arch/x86/crypto/crc32-pclmul_glue.c static int crc32_pclmul_digest(struct shash_desc *desc, const u8 *data,
desc              149 arch/x86/crypto/crc32-pclmul_glue.c 	return __crc32_pclmul_finup(crypto_shash_ctx(desc->tfm), data, len,
desc              102 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_intel_init(struct shash_desc *desc)
desc              104 arch/x86/crypto/crc32c-intel_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc              105 arch/x86/crypto/crc32c-intel_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              112 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_intel_update(struct shash_desc *desc, const u8 *data,
desc              115 arch/x86/crypto/crc32c-intel_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              128 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_intel_finup(struct shash_desc *desc, const u8 *data,
desc              131 arch/x86/crypto/crc32c-intel_glue.c 	return __crc32c_intel_finup(shash_desc_ctx(desc), data, len, out);
desc              134 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_intel_final(struct shash_desc *desc, u8 *out)
desc              136 arch/x86/crypto/crc32c-intel_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              142 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_intel_digest(struct shash_desc *desc, const u8 *data,
desc              145 arch/x86/crypto/crc32c-intel_glue.c 	return __crc32c_intel_finup(crypto_shash_ctx(desc->tfm), data, len,
desc              159 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_pcl_intel_update(struct shash_desc *desc, const u8 *data,
desc              162 arch/x86/crypto/crc32c-intel_glue.c 	u32 *crcp = shash_desc_ctx(desc);
desc              190 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_pcl_intel_finup(struct shash_desc *desc, const u8 *data,
desc              193 arch/x86/crypto/crc32c-intel_glue.c 	return __crc32c_pcl_intel_finup(shash_desc_ctx(desc), data, len, out);
desc              196 arch/x86/crypto/crc32c-intel_glue.c static int crc32c_pcl_intel_digest(struct shash_desc *desc, const u8 *data,
desc              199 arch/x86/crypto/crc32c-intel_glue.c 	return __crc32c_pcl_intel_finup(crypto_shash_ctx(desc->tfm), data, len,
desc               43 arch/x86/crypto/crct10dif-pclmul_glue.c static int chksum_init(struct shash_desc *desc)
desc               45 arch/x86/crypto/crct10dif-pclmul_glue.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               52 arch/x86/crypto/crct10dif-pclmul_glue.c static int chksum_update(struct shash_desc *desc, const u8 *data,
desc               55 arch/x86/crypto/crct10dif-pclmul_glue.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               66 arch/x86/crypto/crct10dif-pclmul_glue.c static int chksum_final(struct shash_desc *desc, u8 *out)
desc               68 arch/x86/crypto/crct10dif-pclmul_glue.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               85 arch/x86/crypto/crct10dif-pclmul_glue.c static int chksum_finup(struct shash_desc *desc, const u8 *data,
desc               88 arch/x86/crypto/crct10dif-pclmul_glue.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               93 arch/x86/crypto/crct10dif-pclmul_glue.c static int chksum_digest(struct shash_desc *desc, const u8 *data,
desc               44 arch/x86/crypto/ghash-clmulni-intel_glue.c static int ghash_init(struct shash_desc *desc)
desc               46 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               78 arch/x86/crypto/ghash-clmulni-intel_glue.c static int ghash_update(struct shash_desc *desc,
desc               81 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               82 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc              132 arch/x86/crypto/ghash-clmulni-intel_glue.c static int ghash_final(struct shash_desc *desc, u8 *dst)
desc              134 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              135 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc              168 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              171 arch/x86/crypto/ghash-clmulni-intel_glue.c 	desc->tfm = child;
desc              172 arch/x86/crypto/ghash-clmulni-intel_glue.c 	return crypto_shash_init(desc);
desc              188 arch/x86/crypto/ghash-clmulni-intel_glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              189 arch/x86/crypto/ghash-clmulni-intel_glue.c 		return shash_ahash_update(req, desc);
desc              206 arch/x86/crypto/ghash-clmulni-intel_glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              207 arch/x86/crypto/ghash-clmulni-intel_glue.c 		return crypto_shash_final(desc, req->result);
desc              214 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              215 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              226 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              227 arch/x86/crypto/ghash-clmulni-intel_glue.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              247 arch/x86/crypto/ghash-clmulni-intel_glue.c 		struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
desc              250 arch/x86/crypto/ghash-clmulni-intel_glue.c 		desc->tfm = child;
desc              251 arch/x86/crypto/ghash-clmulni-intel_glue.c 		return shash_ahash_digest(req, desc);
desc               25 arch/x86/crypto/nhpoly1305-avx2-glue.c static int nhpoly1305_avx2_update(struct shash_desc *desc,
desc               29 arch/x86/crypto/nhpoly1305-avx2-glue.c 		return crypto_nhpoly1305_update(desc, src, srclen);
desc               35 arch/x86/crypto/nhpoly1305-avx2-glue.c 		crypto_nhpoly1305_update_helper(desc, src, n, _nh_avx2);
desc               25 arch/x86/crypto/nhpoly1305-sse2-glue.c static int nhpoly1305_sse2_update(struct shash_desc *desc,
desc               29 arch/x86/crypto/nhpoly1305-sse2-glue.c 		return crypto_nhpoly1305_update(desc, src, srclen);
desc               35 arch/x86/crypto/nhpoly1305-sse2-glue.c 		crypto_nhpoly1305_update_helper(desc, src, n, _nh_sse2);
desc               40 arch/x86/crypto/poly1305_glue.c static int poly1305_simd_init(struct shash_desc *desc)
desc               42 arch/x86/crypto/poly1305_glue.c 	struct poly1305_simd_desc_ctx *sctx = shash_desc_ctx(desc);
desc               49 arch/x86/crypto/poly1305_glue.c 	return crypto_poly1305_init(desc);
desc              118 arch/x86/crypto/poly1305_glue.c static int poly1305_simd_update(struct shash_desc *desc,
desc              121 arch/x86/crypto/poly1305_glue.c 	struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
desc              126 arch/x86/crypto/poly1305_glue.c 		return crypto_poly1305_update(desc, src, srclen);
desc               33 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_update(struct shash_desc *desc, const u8 *data,
desc               36 arch/x86/crypto/sha1_ssse3_glue.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               40 arch/x86/crypto/sha1_ssse3_glue.c 		return crypto_sha1_update(desc, data, len);
desc               46 arch/x86/crypto/sha1_ssse3_glue.c 	sha1_base_do_update(desc, data, len,
desc               53 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_finup(struct shash_desc *desc, const u8 *data,
desc               57 arch/x86/crypto/sha1_ssse3_glue.c 		return crypto_sha1_finup(desc, data, len, out);
desc               61 arch/x86/crypto/sha1_ssse3_glue.c 		sha1_base_do_update(desc, data, len,
desc               63 arch/x86/crypto/sha1_ssse3_glue.c 	sha1_base_do_finalize(desc, (sha1_block_fn *)sha1_xform);
desc               66 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_base_finish(desc, out);
desc               72 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ssse3_update(struct shash_desc *desc, const u8 *data,
desc               75 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_update(desc, data, len,
desc               79 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ssse3_finup(struct shash_desc *desc, const u8 *data,
desc               82 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_finup(desc, data, len, out,
desc               87 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ssse3_final(struct shash_desc *desc, u8 *out)
desc               89 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_ssse3_finup(desc, NULL, 0, out);
desc              125 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx_update(struct shash_desc *desc, const u8 *data,
desc              128 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_update(desc, data, len,
desc              132 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx_finup(struct shash_desc *desc, const u8 *data,
desc              135 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_finup(desc, data, len, out,
desc              139 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx_final(struct shash_desc *desc, u8 *out)
desc              141 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_avx_finup(desc, NULL, 0, out);
desc              216 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx2_update(struct shash_desc *desc, const u8 *data,
desc              219 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_update(desc, data, len,
desc              223 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx2_finup(struct shash_desc *desc, const u8 *data,
desc              226 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_finup(desc, data, len, out,
desc              230 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_avx2_final(struct shash_desc *desc, u8 *out)
desc              232 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_avx2_finup(desc, NULL, 0, out);
desc              273 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ni_update(struct shash_desc *desc, const u8 *data,
desc              276 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_update(desc, data, len,
desc              280 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ni_finup(struct shash_desc *desc, const u8 *data,
desc              283 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_finup(desc, data, len, out,
desc              287 arch/x86/crypto/sha1_ssse3_glue.c static int sha1_ni_final(struct shash_desc *desc, u8 *out)
desc              289 arch/x86/crypto/sha1_ssse3_glue.c 	return sha1_ni_finup(desc, NULL, 0, out);
desc               48 arch/x86/crypto/sha256_ssse3_glue.c static int _sha256_update(struct shash_desc *desc, const u8 *data,
desc               51 arch/x86/crypto/sha256_ssse3_glue.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               55 arch/x86/crypto/sha256_ssse3_glue.c 		return crypto_sha256_update(desc, data, len);
desc               61 arch/x86/crypto/sha256_ssse3_glue.c 	sha256_base_do_update(desc, data, len,
desc               68 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_finup(struct shash_desc *desc, const u8 *data,
desc               72 arch/x86/crypto/sha256_ssse3_glue.c 		return crypto_sha256_finup(desc, data, len, out);
desc               76 arch/x86/crypto/sha256_ssse3_glue.c 		sha256_base_do_update(desc, data, len,
desc               78 arch/x86/crypto/sha256_ssse3_glue.c 	sha256_base_do_finalize(desc, (sha256_block_fn *)sha256_xform);
desc               81 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_base_finish(desc, out);
desc               84 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ssse3_update(struct shash_desc *desc, const u8 *data,
desc               87 arch/x86/crypto/sha256_ssse3_glue.c 	return _sha256_update(desc, data, len, sha256_transform_ssse3);
desc               90 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ssse3_finup(struct shash_desc *desc, const u8 *data,
desc               93 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_finup(desc, data, len, out, sha256_transform_ssse3);
desc               97 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ssse3_final(struct shash_desc *desc, u8 *out)
desc               99 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_ssse3_finup(desc, NULL, 0, out);
desc              151 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx_update(struct shash_desc *desc, const u8 *data,
desc              154 arch/x86/crypto/sha256_ssse3_glue.c 	return _sha256_update(desc, data, len, sha256_transform_avx);
desc              157 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx_finup(struct shash_desc *desc, const u8 *data,
desc              160 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_finup(desc, data, len, out, sha256_transform_avx);
desc              163 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx_final(struct shash_desc *desc, u8 *out)
desc              165 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_avx_finup(desc, NULL, 0, out);
desc              233 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx2_update(struct shash_desc *desc, const u8 *data,
desc              236 arch/x86/crypto/sha256_ssse3_glue.c 	return _sha256_update(desc, data, len, sha256_transform_rorx);
desc              239 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx2_finup(struct shash_desc *desc, const u8 *data,
desc              242 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_finup(desc, data, len, out, sha256_transform_rorx);
desc              245 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_avx2_final(struct shash_desc *desc, u8 *out)
desc              247 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_avx2_finup(desc, NULL, 0, out);
desc              313 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ni_update(struct shash_desc *desc, const u8 *data,
desc              316 arch/x86/crypto/sha256_ssse3_glue.c 	return _sha256_update(desc, data, len, sha256_ni_transform);
desc              319 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ni_finup(struct shash_desc *desc, const u8 *data,
desc              322 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_finup(desc, data, len, out, sha256_ni_transform);
desc              325 arch/x86/crypto/sha256_ssse3_glue.c static int sha256_ni_final(struct shash_desc *desc, u8 *out)
desc              327 arch/x86/crypto/sha256_ssse3_glue.c 	return sha256_ni_finup(desc, NULL, 0, out);
desc               47 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_update(struct shash_desc *desc, const u8 *data,
desc               50 arch/x86/crypto/sha512_ssse3_glue.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               54 arch/x86/crypto/sha512_ssse3_glue.c 		return crypto_sha512_update(desc, data, len);
desc               60 arch/x86/crypto/sha512_ssse3_glue.c 	sha512_base_do_update(desc, data, len,
desc               67 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_finup(struct shash_desc *desc, const u8 *data,
desc               71 arch/x86/crypto/sha512_ssse3_glue.c 		return crypto_sha512_finup(desc, data, len, out);
desc               75 arch/x86/crypto/sha512_ssse3_glue.c 		sha512_base_do_update(desc, data, len,
desc               77 arch/x86/crypto/sha512_ssse3_glue.c 	sha512_base_do_finalize(desc, (sha512_block_fn *)sha512_xform);
desc               80 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_base_finish(desc, out);
desc               83 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_ssse3_update(struct shash_desc *desc, const u8 *data,
desc               86 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_update(desc, data, len, sha512_transform_ssse3);
desc               89 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_ssse3_finup(struct shash_desc *desc, const u8 *data,
desc               92 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_finup(desc, data, len, out, sha512_transform_ssse3);
desc               96 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_ssse3_final(struct shash_desc *desc, u8 *out)
desc               98 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_ssse3_finup(desc, NULL, 0, out);
desc              160 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx_update(struct shash_desc *desc, const u8 *data,
desc              163 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_update(desc, data, len, sha512_transform_avx);
desc              166 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx_finup(struct shash_desc *desc, const u8 *data,
desc              169 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_finup(desc, data, len, out, sha512_transform_avx);
desc              173 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx_final(struct shash_desc *desc, u8 *out)
desc              175 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_avx_finup(desc, NULL, 0, out);
desc              231 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx2_update(struct shash_desc *desc, const u8 *data,
desc              234 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_update(desc, data, len, sha512_transform_rorx);
desc              237 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx2_finup(struct shash_desc *desc, const u8 *data,
desc              240 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_finup(desc, data, len, out, sha512_transform_rorx);
desc              244 arch/x86/crypto/sha512_ssse3_glue.c static int sha512_avx2_final(struct shash_desc *desc, u8 *out)
desc              246 arch/x86/crypto/sha512_ssse3_glue.c 	return sha512_avx2_finup(desc, NULL, 0, out);
desc             2399 arch/x86/events/core.c 	struct desc_struct *desc;
desc             2411 arch/x86/events/core.c 		desc = &ldt->entries[idx];
desc             2419 arch/x86/events/core.c 		desc = raw_cpu_ptr(gdt_page.gdt) + idx;
desc             2422 arch/x86/events/core.c 	return get_desc_base(desc);
desc               15 arch/x86/include/asm/desc.h static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)
desc               17 arch/x86/include/asm/desc.h 	desc->limit0		= info->limit & 0x0ffff;
desc               19 arch/x86/include/asm/desc.h 	desc->base0		= (info->base_addr & 0x0000ffff);
desc               20 arch/x86/include/asm/desc.h 	desc->base1		= (info->base_addr & 0x00ff0000) >> 16;
desc               22 arch/x86/include/asm/desc.h 	desc->type		= (info->read_exec_only ^ 1) << 1;
desc               23 arch/x86/include/asm/desc.h 	desc->type	       |= info->contents << 2;
desc               25 arch/x86/include/asm/desc.h 	desc->type	       |= 1;
desc               27 arch/x86/include/asm/desc.h 	desc->s			= 1;
desc               28 arch/x86/include/asm/desc.h 	desc->dpl		= 0x3;
desc               29 arch/x86/include/asm/desc.h 	desc->p			= info->seg_not_present ^ 1;
desc               30 arch/x86/include/asm/desc.h 	desc->limit1		= (info->limit & 0xf0000) >> 16;
desc               31 arch/x86/include/asm/desc.h 	desc->avl		= info->useable;
desc               32 arch/x86/include/asm/desc.h 	desc->d			= info->seg_32bit;
desc               33 arch/x86/include/asm/desc.h 	desc->g			= info->limit_in_pages;
desc               35 arch/x86/include/asm/desc.h 	desc->base2		= (info->base_addr & 0xff000000) >> 24;
desc               40 arch/x86/include/asm/desc.h 	desc->l			= 0;
desc              106 arch/x86/include/asm/desc.h 	const u32 *desc = ptr;
desc              108 arch/x86/include/asm/desc.h 	return !(desc[0] | desc[1]);
desc              126 arch/x86/include/asm/desc.h #define write_ldt_entry(dt, entry, desc)	native_write_ldt_entry(dt, entry, desc)
desc              127 arch/x86/include/asm/desc.h #define write_gdt_entry(dt, entry, desc, type)	native_write_gdt_entry(dt, entry, desc, type)
desc              146 arch/x86/include/asm/desc.h static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc)
desc              148 arch/x86/include/asm/desc.h 	memcpy(&ldt[entry], desc, 8);
desc              152 arch/x86/include/asm/desc.h native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type)
desc              162 arch/x86/include/asm/desc.h 	memcpy(&gdt[entry], desc, size);
desc              168 arch/x86/include/asm/desc.h 	struct ldttss_desc *desc = d;
desc              170 arch/x86/include/asm/desc.h 	memset(desc, 0, sizeof(*desc));
desc              172 arch/x86/include/asm/desc.h 	desc->limit0		= (u16) size;
desc              173 arch/x86/include/asm/desc.h 	desc->base0		= (u16) addr;
desc              174 arch/x86/include/asm/desc.h 	desc->base1		= (addr >> 16) & 0xFF;
desc              175 arch/x86/include/asm/desc.h 	desc->type		= type;
desc              176 arch/x86/include/asm/desc.h 	desc->p			= 1;
desc              177 arch/x86/include/asm/desc.h 	desc->limit1		= (size >> 16) & 0xF;
desc              178 arch/x86/include/asm/desc.h 	desc->base2		= (addr >> 24) & 0xFF;
desc              180 arch/x86/include/asm/desc.h 	desc->base3		= (u32) (addr >> 32);
desc              366 arch/x86/include/asm/desc.h static inline unsigned long get_desc_base(const struct desc_struct *desc)
desc              368 arch/x86/include/asm/desc.h 	return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24));
desc              371 arch/x86/include/asm/desc.h static inline void set_desc_base(struct desc_struct *desc, unsigned long base)
desc              373 arch/x86/include/asm/desc.h 	desc->base0 = base & 0xffff;
desc              374 arch/x86/include/asm/desc.h 	desc->base1 = (base >> 16) & 0xff;
desc              375 arch/x86/include/asm/desc.h 	desc->base2 = (base >> 24) & 0xff;
desc              378 arch/x86/include/asm/desc.h static inline unsigned long get_desc_limit(const struct desc_struct *desc)
desc              380 arch/x86/include/asm/desc.h 	return desc->limit0 | (desc->limit1 << 16);
desc              383 arch/x86/include/asm/desc.h static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit)
desc              385 arch/x86/include/asm/desc.h 	desc->limit0 = limit & 0xffff;
desc              386 arch/x86/include/asm/desc.h 	desc->limit1 = (limit >> 16) & 0xf;
desc              113 arch/x86/include/asm/hw_irq.h 			struct msi_desc *desc;
desc                8 arch/x86/include/asm/invpcid.h 	struct { u64 d[2]; } desc = { { pcid, addr } };
desc               20 arch/x86/include/asm/invpcid.h 		      : : "m" (desc), "a" (type), "c" (&desc) : "memory");
desc               37 arch/x86/include/asm/irq.h extern void handle_irq(struct irq_desc *desc, struct pt_regs *regs);
desc              196 arch/x86/include/asm/kvm_emulate.h 			    struct desc_struct *desc, u32 *base3, int seg);
desc              198 arch/x86/include/asm/kvm_emulate.h 			    struct desc_struct *desc, u32 base3, int seg);
desc               12 arch/x86/include/asm/msi.h void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
desc              282 arch/x86/include/asm/paravirt.h 				   const void *desc)
desc              284 arch/x86/include/asm/paravirt.h 	PVOP_VCALL3(cpu.write_ldt_entry, dt, entry, desc);
desc              288 arch/x86/include/asm/paravirt.h 				   void *desc, int type)
desc              290 arch/x86/include/asm/paravirt.h 	PVOP_VCALL4(cpu.write_gdt_entry, dt, entry, desc, type);
desc              126 arch/x86/include/asm/paravirt_types.h 	void (*set_ldt)(const void *desc, unsigned entries);
desc              133 arch/x86/include/asm/paravirt_types.h 				const void *desc);
desc              135 arch/x86/include/asm/paravirt_types.h 				int entrynum, const void *desc, int size);
desc               98 arch/x86/include/asm/stackprotector.h 	struct desc_struct desc;
desc              100 arch/x86/include/asm/stackprotector.h 	desc = gdt_table[GDT_ENTRY_STACK_CANARY];
desc              101 arch/x86/include/asm/stackprotector.h 	set_desc_base(&desc, canary);
desc              102 arch/x86/include/asm/stackprotector.h 	write_gdt_entry(gdt_table, GDT_ENTRY_STACK_CANARY, &desc, DESCTYPE_S);
desc              324 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_update_descriptor(u64 ma, u64 desc)
desc              327 arch/x86/include/asm/xen/hypercall.h 		return _hypercall2(int, update_descriptor, ma, desc);
desc              328 arch/x86/include/asm/xen/hypercall.h 	return _hypercall4(int, update_descriptor, ma, ma>>32, desc, desc>>32);
desc              478 arch/x86/include/asm/xen/hypercall.h 			struct desc_struct desc)
desc              483 arch/x86/include/asm/xen/hypercall.h 		mcl->args[1] = *(unsigned long *)&desc;
desc              485 arch/x86/include/asm/xen/hypercall.h 		u32 *p = (u32 *)&desc;
desc              138 arch/x86/kernel/acpi/cstate.c 	snprintf(cx->desc,
desc              217 arch/x86/kernel/apic/msi.c 	struct msi_desc *desc = first_pci_msi_entry(pdev);
desc              221 arch/x86/kernel/apic/msi.c 	if (desc->msi_attrib.is_msix) {
desc              232 arch/x86/kernel/apic/msi.c void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc)
desc              234 arch/x86/kernel/apic/msi.c 	arg->msi_hwirq = pci_msi_domain_calc_hwirq(arg->msi_dev, desc);
desc              135 arch/x86/kernel/apic/vector.c 	struct irq_desc *desc = irq_data_to_desc(irqd);
desc              173 arch/x86/kernel/apic/vector.c 	per_cpu(vector_irq, newcpu)[newvec] = desc;
desc              935 arch/x86/kernel/apic/vector.c void irq_force_complete_move(struct irq_desc *desc)
desc              951 arch/x86/kernel/apic/vector.c 				       irq_desc_get_irq(desc));
desc              373 arch/x86/kernel/apm_32.c 			.desc = "APM idle",
desc              855 arch/x86/kernel/cpu/intel.c static void intel_tlb_lookup(const unsigned char desc)
desc              858 arch/x86/kernel/cpu/intel.c 	if (desc == 0)
desc              862 arch/x86/kernel/cpu/intel.c 	for (k = 0; intel_tlb_table[k].descriptor != desc && \
desc              946 arch/x86/kernel/cpu/intel.c 	unsigned char *desc = (unsigned char *)regs;
desc              964 arch/x86/kernel/cpu/intel.c 			intel_tlb_lookup(desc[j]);
desc              296 arch/x86/kernel/cpu/microcode/amd.c static size_t parse_container(u8 *ucode, size_t size, struct cont_desc *desc)
desc              317 arch/x86/kernel/cpu/microcode/amd.c 	eq_id = find_equiv_id(&table, desc->cpuid_1_eax);
desc              331 arch/x86/kernel/cpu/microcode/amd.c 		ret = verify_patch(x86_family(desc->cpuid_1_eax), buf, size, &patch_size, true);
desc              344 arch/x86/kernel/cpu/microcode/amd.c 			desc->psize = patch_size;
desc              345 arch/x86/kernel/cpu/microcode/amd.c 			desc->mc = mc;
desc              361 arch/x86/kernel/cpu/microcode/amd.c 	if (desc->mc) {
desc              362 arch/x86/kernel/cpu/microcode/amd.c 		desc->data = ucode;
desc              363 arch/x86/kernel/cpu/microcode/amd.c 		desc->size = orig_size - size;
desc              376 arch/x86/kernel/cpu/microcode/amd.c static void scan_containers(u8 *ucode, size_t size, struct cont_desc *desc)
desc              379 arch/x86/kernel/cpu/microcode/amd.c 		size_t s = parse_container(ucode, size, desc);
desc              421 arch/x86/kernel/cpu/microcode/amd.c 	struct cont_desc desc = { 0 };
desc              435 arch/x86/kernel/cpu/microcode/amd.c 	desc.cpuid_1_eax = cpuid_1_eax;
desc              437 arch/x86/kernel/cpu/microcode/amd.c 	scan_containers(ucode, size, &desc);
desc              439 arch/x86/kernel/cpu/microcode/amd.c 	mc = desc.mc;
desc              452 arch/x86/kernel/cpu/microcode/amd.c 			memcpy(patch, mc, min_t(u32, desc.psize, PATCH_MAX_SIZE));
desc              546 arch/x86/kernel/cpu/microcode/amd.c 	struct cont_desc desc = { 0 };
desc              554 arch/x86/kernel/cpu/microcode/amd.c 	desc.cpuid_1_eax = cpuid_1_eax;
desc              556 arch/x86/kernel/cpu/microcode/amd.c 	scan_containers(cp.data, cp.size, &desc);
desc              557 arch/x86/kernel/cpu/microcode/amd.c 	if (!desc.mc)
desc              560 arch/x86/kernel/cpu/microcode/amd.c 	ret = load_microcode_amd(true, x86_family(cpuid_1_eax), desc.data, desc.size);
desc             1130 arch/x86/kernel/e820.c 		res->desc  = e820_type_to_iores_desc(entry);
desc              220 arch/x86/kernel/idt.c 	gate_desc desc;
desc              223 arch/x86/kernel/idt.c 		idt_init_desc(&desc, t);
desc              224 arch/x86/kernel/idt.c 		write_idt_entry(idt, t->vector, &desc);
desc              236 arch/x86/kernel/irq.c 	struct irq_desc * desc;
desc              245 arch/x86/kernel/irq.c 	desc = __this_cpu_read(vector_irq[vector]);
desc              246 arch/x86/kernel/irq.c 	if (likely(!IS_ERR_OR_NULL(desc))) {
desc              248 arch/x86/kernel/irq.c 			handle_irq(desc, regs);
desc              250 arch/x86/kernel/irq.c 			generic_handle_irq_desc(desc);
desc              254 arch/x86/kernel/irq.c 		if (desc == VECTOR_UNUSED) {
desc              350 arch/x86/kernel/irq.c 	struct irq_desc *desc;
desc              378 arch/x86/kernel/irq.c 			desc = __this_cpu_read(vector_irq[vector]);
desc              380 arch/x86/kernel/irq.c 			raw_spin_lock(&desc->lock);
desc              381 arch/x86/kernel/irq.c 			data = irq_desc_get_irq_data(desc);
desc              387 arch/x86/kernel/irq.c 			raw_spin_unlock(&desc->lock);
desc               73 arch/x86/kernel/irq_32.c static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc)
desc              103 arch/x86/kernel/irq_32.c 		     :  "0" (desc),   "1" (isp),
desc              104 arch/x86/kernel/irq_32.c 			[thunk_target] "D" (desc->handle_irq)
desc              151 arch/x86/kernel/irq_32.c void handle_irq(struct irq_desc *desc, struct pt_regs *regs)
desc              155 arch/x86/kernel/irq_32.c 	if (user_mode(regs) || !execute_on_irq_stack(overflow, desc)) {
desc              158 arch/x86/kernel/irq_32.c 		generic_handle_irq_desc(desc);
desc              127 arch/x86/kernel/nmi.c 	struct nmi_desc *desc = nmi_to_desc(type);
desc              139 arch/x86/kernel/nmi.c 	list_for_each_entry_rcu(a, &desc->head, list) {
desc              161 arch/x86/kernel/nmi.c 	struct nmi_desc *desc = nmi_to_desc(type);
desc              167 arch/x86/kernel/nmi.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              173 arch/x86/kernel/nmi.c 	WARN_ON_ONCE(type == NMI_SERR && !list_empty(&desc->head));
desc              174 arch/x86/kernel/nmi.c 	WARN_ON_ONCE(type == NMI_IO_CHECK && !list_empty(&desc->head));
desc              181 arch/x86/kernel/nmi.c 		list_add_rcu(&action->list, &desc->head);
desc              183 arch/x86/kernel/nmi.c 		list_add_tail_rcu(&action->list, &desc->head);
desc              185 arch/x86/kernel/nmi.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              192 arch/x86/kernel/nmi.c 	struct nmi_desc *desc = nmi_to_desc(type);
desc              196 arch/x86/kernel/nmi.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              198 arch/x86/kernel/nmi.c 	list_for_each_entry_rcu(n, &desc->head, list) {
desc              211 arch/x86/kernel/nmi.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc               31 arch/x86/kernel/step.c 		struct desc_struct *desc;
desc               41 arch/x86/kernel/step.c 			desc = &child->mm->context.ldt->entries[seg];
desc               42 arch/x86/kernel/step.c 			base = get_desc_base(desc);
desc               45 arch/x86/kernel/step.c 			if (!desc->d)
desc               88 arch/x86/kernel/tls.c 	struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN];
desc               98 arch/x86/kernel/tls.c 			memset(desc, 0, sizeof(*desc));
desc              100 arch/x86/kernel/tls.c 			fill_ldt(desc, info);
desc              102 arch/x86/kernel/tls.c 		++desc;
desc              202 arch/x86/kernel/tls.c 			   const struct desc_struct *desc)
desc              207 arch/x86/kernel/tls.c 	info->base_addr = get_desc_base(desc);
desc              208 arch/x86/kernel/tls.c 	info->limit = get_desc_limit(desc);
desc              209 arch/x86/kernel/tls.c 	info->seg_32bit = desc->d;
desc              210 arch/x86/kernel/tls.c 	info->contents = desc->type >> 2;
desc              211 arch/x86/kernel/tls.c 	info->read_exec_only = !(desc->type & 2);
desc              212 arch/x86/kernel/tls.c 	info->limit_in_pages = desc->g;
desc              213 arch/x86/kernel/tls.c 	info->seg_not_present = !desc->p;
desc              214 arch/x86/kernel/tls.c 	info->useable = desc->avl;
desc              216 arch/x86/kernel/tls.c 	info->lm = desc->l;
desc              231 arch/x86/kernel/traps.c 			const char *type, const char *desc,
desc              237 arch/x86/kernel/traps.c 			tsk->comm, task_pid_nr(tsk), type, desc,
desc              520 arch/x86/kernel/traps.c 	const char *desc = "general protection fault";
desc              554 arch/x86/kernel/traps.c 		if (notify_die(DIE_GPF, desc, regs, error_code,
desc              556 arch/x86/kernel/traps.c 			die(desc, regs, error_code);
desc              563 arch/x86/kernel/traps.c 	show_signal(tsk, SIGSEGV, "", desc, regs, error_code);
desc              594 arch/x86/kvm/emulate.c static u32 desc_limit_scaled(struct desc_struct *desc)
desc              596 arch/x86/kvm/emulate.c 	u32 limit = get_desc_limit(desc);
desc              598 arch/x86/kvm/emulate.c 	return desc->g ? (limit << 12) | 0xfff : limit;
desc              657 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc              659 arch/x86/kvm/emulate.c 	ctxt->ops->get_segment(ctxt, &selector, &desc, NULL, seg);
desc              668 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc              670 arch/x86/kvm/emulate.c 	ctxt->ops->get_segment(ctxt, &dummy, &desc, &base3, seg);
desc              671 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, base3, seg);
desc              708 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc              730 arch/x86/kvm/emulate.c 		usable = ctxt->ops->get_segment(ctxt, &sel, &desc, NULL,
desc              735 arch/x86/kvm/emulate.c 		if ((((ctxt->mode != X86EMUL_MODE_REAL) && (desc.type & 8))
desc              736 arch/x86/kvm/emulate.c 					|| !(desc.type & 2)) && write)
desc              739 arch/x86/kvm/emulate.c 		if (!fetch && (desc.type & 8) && !(desc.type & 2))
desc              741 arch/x86/kvm/emulate.c 		lim = desc_limit_scaled(&desc);
desc              742 arch/x86/kvm/emulate.c 		if (!(desc.type & 8) && (desc.type & 4)) {
desc              746 arch/x86/kvm/emulate.c 			lim = desc.d ? 0xffffffff : 0xffff;
desc             1546 arch/x86/kvm/emulate.c 				     u16 index, struct desc_struct *desc)
desc             1557 arch/x86/kvm/emulate.c 	return linear_read_system(ctxt, addr, desc, sizeof(*desc));
desc             1567 arch/x86/kvm/emulate.c 		struct desc_struct desc;
desc             1571 arch/x86/kvm/emulate.c 		if (!ops->get_segment(ctxt, &sel, &desc, &base3,
desc             1575 arch/x86/kvm/emulate.c 		dt->size = desc_limit_scaled(&desc); /* what if limit > 65535? */
desc             1576 arch/x86/kvm/emulate.c 		dt->address = get_desc_base(&desc) | ((u64)base3 << 32);
desc             1611 arch/x86/kvm/emulate.c 				   u16 selector, struct desc_struct *desc,
desc             1620 arch/x86/kvm/emulate.c 	return linear_read_system(ctxt, *desc_addr_p, desc, sizeof(*desc));
desc             1625 arch/x86/kvm/emulate.c 				    u16 selector, struct desc_struct *desc)
desc             1634 arch/x86/kvm/emulate.c 	return linear_write_system(ctxt, addr, desc, sizeof(*desc));
desc             1640 arch/x86/kvm/emulate.c 				     struct desc_struct *desc)
desc             1804 arch/x86/kvm/emulate.c 	if (desc)
desc             1805 arch/x86/kvm/emulate.c 		*desc = seg_desc;
desc             2391 arch/x86/kvm/emulate.c static void rsm_set_desc_flags(struct desc_struct *desc, u32 flags)
desc             2393 arch/x86/kvm/emulate.c 	desc->g    = (flags >> 23) & 1;
desc             2394 arch/x86/kvm/emulate.c 	desc->d    = (flags >> 22) & 1;
desc             2395 arch/x86/kvm/emulate.c 	desc->l    = (flags >> 21) & 1;
desc             2396 arch/x86/kvm/emulate.c 	desc->avl  = (flags >> 20) & 1;
desc             2397 arch/x86/kvm/emulate.c 	desc->p    = (flags >> 15) & 1;
desc             2398 arch/x86/kvm/emulate.c 	desc->dpl  = (flags >> 13) & 3;
desc             2399 arch/x86/kvm/emulate.c 	desc->s    = (flags >> 12) & 1;
desc             2400 arch/x86/kvm/emulate.c 	desc->type = (flags >>  8) & 15;
desc             2406 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc             2417 arch/x86/kvm/emulate.c 	set_desc_base(&desc,      GET_SMSTATE(u32, smstate, offset + 8));
desc             2418 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,     GET_SMSTATE(u32, smstate, offset + 4));
desc             2419 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc, GET_SMSTATE(u32, smstate, offset));
desc             2420 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, 0, n);
desc             2428 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc             2436 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc, GET_SMSTATE(u16, smstate, offset + 2) << 8);
desc             2437 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,     GET_SMSTATE(u32, smstate, offset + 4));
desc             2438 arch/x86/kvm/emulate.c 	set_desc_base(&desc,      GET_SMSTATE(u32, smstate, offset + 8));
desc             2441 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, base3, n);
desc             2494 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc             2514 arch/x86/kvm/emulate.c 	set_desc_base(&desc,       GET_SMSTATE(u32, smstate, 0x7f64));
desc             2515 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,      GET_SMSTATE(u32, smstate, 0x7f60));
desc             2516 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc,  GET_SMSTATE(u32, smstate, 0x7f5c));
desc             2517 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, 0, VCPU_SREG_TR);
desc             2520 arch/x86/kvm/emulate.c 	set_desc_base(&desc,       GET_SMSTATE(u32, smstate, 0x7f80));
desc             2521 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,      GET_SMSTATE(u32, smstate, 0x7f7c));
desc             2522 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc,  GET_SMSTATE(u32, smstate, 0x7f78));
desc             2523 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, 0, VCPU_SREG_LDTR);
desc             2550 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc             2576 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc,   GET_SMSTATE(u32, smstate, 0x7e92) << 8);
desc             2577 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,       GET_SMSTATE(u32, smstate, 0x7e94));
desc             2578 arch/x86/kvm/emulate.c 	set_desc_base(&desc,        GET_SMSTATE(u32, smstate, 0x7e98));
desc             2580 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, base3, VCPU_SREG_TR);
desc             2587 arch/x86/kvm/emulate.c 	rsm_set_desc_flags(&desc,   GET_SMSTATE(u32, smstate, 0x7e72) << 8);
desc             2588 arch/x86/kvm/emulate.c 	set_desc_limit(&desc,       GET_SMSTATE(u32, smstate, 0x7e74));
desc             2589 arch/x86/kvm/emulate.c 	set_desc_base(&desc,        GET_SMSTATE(u32, smstate, 0x7e78));
desc             2591 arch/x86/kvm/emulate.c 	ctxt->ops->set_segment(ctxt, selector, &desc, base3, VCPU_SREG_LDTR);
desc             5192 arch/x86/kvm/emulate.c 	struct desc_struct desc;
desc             5213 arch/x86/kvm/emulate.c 		ctxt->ops->get_segment(ctxt, &dummy, &desc, NULL, VCPU_SREG_CS);
desc             5214 arch/x86/kvm/emulate.c 		if (desc.d)
desc             1373 arch/x86/kvm/mmu.c 	struct pte_list_desc *desc;
desc             1381 arch/x86/kvm/mmu.c 		desc = mmu_alloc_pte_list_desc(vcpu);
desc             1382 arch/x86/kvm/mmu.c 		desc->sptes[0] = (u64 *)rmap_head->val;
desc             1383 arch/x86/kvm/mmu.c 		desc->sptes[1] = spte;
desc             1384 arch/x86/kvm/mmu.c 		rmap_head->val = (unsigned long)desc | 1;
desc             1388 arch/x86/kvm/mmu.c 		desc = (struct pte_list_desc *)(rmap_head->val & ~1ul);
desc             1389 arch/x86/kvm/mmu.c 		while (desc->sptes[PTE_LIST_EXT-1] && desc->more) {
desc             1390 arch/x86/kvm/mmu.c 			desc = desc->more;
desc             1393 arch/x86/kvm/mmu.c 		if (desc->sptes[PTE_LIST_EXT-1]) {
desc             1394 arch/x86/kvm/mmu.c 			desc->more = mmu_alloc_pte_list_desc(vcpu);
desc             1395 arch/x86/kvm/mmu.c 			desc = desc->more;
desc             1397 arch/x86/kvm/mmu.c 		for (i = 0; desc->sptes[i]; ++i)
desc             1399 arch/x86/kvm/mmu.c 		desc->sptes[i] = spte;
desc             1406 arch/x86/kvm/mmu.c 			   struct pte_list_desc *desc, int i,
desc             1411 arch/x86/kvm/mmu.c 	for (j = PTE_LIST_EXT - 1; !desc->sptes[j] && j > i; --j)
desc             1413 arch/x86/kvm/mmu.c 	desc->sptes[i] = desc->sptes[j];
desc             1414 arch/x86/kvm/mmu.c 	desc->sptes[j] = NULL;
desc             1417 arch/x86/kvm/mmu.c 	if (!prev_desc && !desc->more)
desc             1418 arch/x86/kvm/mmu.c 		rmap_head->val = (unsigned long)desc->sptes[0];
desc             1421 arch/x86/kvm/mmu.c 			prev_desc->more = desc->more;
desc             1423 arch/x86/kvm/mmu.c 			rmap_head->val = (unsigned long)desc->more | 1;
desc             1424 arch/x86/kvm/mmu.c 	mmu_free_pte_list_desc(desc);
desc             1429 arch/x86/kvm/mmu.c 	struct pte_list_desc *desc;
desc             1445 arch/x86/kvm/mmu.c 		desc = (struct pte_list_desc *)(rmap_head->val & ~1ul);
desc             1447 arch/x86/kvm/mmu.c 		while (desc) {
desc             1448 arch/x86/kvm/mmu.c 			for (i = 0; i < PTE_LIST_EXT && desc->sptes[i]; ++i) {
desc             1449 arch/x86/kvm/mmu.c 				if (desc->sptes[i] == spte) {
desc             1451 arch/x86/kvm/mmu.c 							desc, i, prev_desc);
desc             1455 arch/x86/kvm/mmu.c 			prev_desc = desc;
desc             1456 arch/x86/kvm/mmu.c 			desc = desc->more;
desc             1526 arch/x86/kvm/mmu.c 	struct pte_list_desc *desc;	/* holds the sptep if not NULL */
desc             1546 arch/x86/kvm/mmu.c 		iter->desc = NULL;
desc             1551 arch/x86/kvm/mmu.c 	iter->desc = (struct pte_list_desc *)(rmap_head->val & ~1ul);
desc             1553 arch/x86/kvm/mmu.c 	sptep = iter->desc->sptes[iter->pos];
desc             1568 arch/x86/kvm/mmu.c 	if (iter->desc) {
desc             1571 arch/x86/kvm/mmu.c 			sptep = iter->desc->sptes[iter->pos];
desc             1576 arch/x86/kvm/mmu.c 		iter->desc = iter->desc->more;
desc             1578 arch/x86/kvm/mmu.c 		if (iter->desc) {
desc             1581 arch/x86/kvm/mmu.c 			sptep = iter->desc->sptes[iter->pos];
desc             6225 arch/x86/kvm/vmx/vmx.c 	gate_desc *desc;
desc             6234 arch/x86/kvm/vmx/vmx.c 	desc = (gate_desc *)host_idt_base + vector;
desc             6235 arch/x86/kvm/vmx/vmx.c 	entry = gate_offset(desc);
desc             6120 arch/x86/kvm/x86.c 				 struct desc_struct *desc, u32 *base3,
desc             6129 arch/x86/kvm/x86.c 		memset(desc, 0, sizeof(*desc));
desc             6137 arch/x86/kvm/x86.c 	set_desc_limit(desc, var.limit);
desc             6138 arch/x86/kvm/x86.c 	set_desc_base(desc, (unsigned long)var.base);
desc             6143 arch/x86/kvm/x86.c 	desc->type = var.type;
desc             6144 arch/x86/kvm/x86.c 	desc->s = var.s;
desc             6145 arch/x86/kvm/x86.c 	desc->dpl = var.dpl;
desc             6146 arch/x86/kvm/x86.c 	desc->p = var.present;
desc             6147 arch/x86/kvm/x86.c 	desc->avl = var.avl;
desc             6148 arch/x86/kvm/x86.c 	desc->l = var.l;
desc             6149 arch/x86/kvm/x86.c 	desc->d = var.db;
desc             6150 arch/x86/kvm/x86.c 	desc->g = var.g;
desc             6156 arch/x86/kvm/x86.c 				 struct desc_struct *desc, u32 base3,
desc             6163 arch/x86/kvm/x86.c 	var.base = get_desc_base(desc);
desc             6167 arch/x86/kvm/x86.c 	var.limit = get_desc_limit(desc);
desc             6168 arch/x86/kvm/x86.c 	if (desc->g)
desc             6170 arch/x86/kvm/x86.c 	var.type = desc->type;
desc             6171 arch/x86/kvm/x86.c 	var.dpl = desc->dpl;
desc             6172 arch/x86/kvm/x86.c 	var.db = desc->d;
desc             6173 arch/x86/kvm/x86.c 	var.s = desc->s;
desc             6174 arch/x86/kvm/x86.c 	var.l = desc->l;
desc             6175 arch/x86/kvm/x86.c 	var.g = desc->g;
desc             6176 arch/x86/kvm/x86.c 	var.avl = desc->avl;
desc             6177 arch/x86/kvm/x86.c 	var.present = desc->p;
desc              635 arch/x86/lib/insn-eval.c 	struct desc_struct desc;
desc              673 arch/x86/lib/insn-eval.c 	if (!get_desc(&desc, sel))
desc              676 arch/x86/lib/insn-eval.c 	return get_desc_base(&desc);
desc              698 arch/x86/lib/insn-eval.c 	struct desc_struct desc;
desc              712 arch/x86/lib/insn-eval.c 	if (!get_desc(&desc, sel))
desc              721 arch/x86/lib/insn-eval.c 	limit = get_desc_limit(&desc);
desc              722 arch/x86/lib/insn-eval.c 	if (desc.g)
desc              746 arch/x86/lib/insn-eval.c 	struct desc_struct desc;
desc              757 arch/x86/lib/insn-eval.c 	if (!get_desc(&desc, sel))
desc              765 arch/x86/lib/insn-eval.c 	if (!(desc.type & BIT(3)))
desc              768 arch/x86/lib/insn-eval.c 	switch ((desc.l << 1) | desc.d) {
desc              580 arch/x86/mm/fault.c 	struct ldttss_desc desc;
desc              592 arch/x86/mm/fault.c 	if (probe_kernel_read(&desc, (void *)(gdt->address + offset),
desc              599 arch/x86/mm/fault.c 	addr = desc.base0 | (desc.base1 << 16) | ((unsigned long)desc.base2 << 24);
desc              601 arch/x86/mm/fault.c 	addr |= ((u64)desc.base3 << 32);
desc              604 arch/x86/mm/fault.c 		 name, index, addr, (desc.limit0 | (desc.limit1 << 16)));
desc               98 arch/x86/mm/ioremap.c 	switch (res->desc) {
desc              113 arch/x86/mm/ioremap.c static void __ioremap_check_other(resource_size_t addr, struct ioremap_desc *desc)
desc              122 arch/x86/mm/ioremap.c 		desc->flags |= IORES_MAP_ENCRYPTED;
desc              127 arch/x86/mm/ioremap.c 	struct ioremap_desc *desc = arg;
desc              129 arch/x86/mm/ioremap.c 	if (!(desc->flags & IORES_MAP_SYSTEM_RAM))
desc              130 arch/x86/mm/ioremap.c 		desc->flags |= __ioremap_check_ram(res);
desc              132 arch/x86/mm/ioremap.c 	if (!(desc->flags & IORES_MAP_ENCRYPTED))
desc              133 arch/x86/mm/ioremap.c 		desc->flags |= __ioremap_check_encrypted(res);
desc              135 arch/x86/mm/ioremap.c 	return ((desc->flags & (IORES_MAP_SYSTEM_RAM | IORES_MAP_ENCRYPTED)) ==
desc              148 arch/x86/mm/ioremap.c 				struct ioremap_desc *desc)
desc              154 arch/x86/mm/ioremap.c 	memset(desc, 0, sizeof(struct ioremap_desc));
desc              156 arch/x86/mm/ioremap.c 	walk_mem_res(start, end, desc, __ioremap_collect_map_flags);
desc              158 arch/x86/mm/ioremap.c 	__ioremap_check_other(addr, desc);
desc               48 arch/x86/platform/geode/alix.c 		.desc			= "Reset button",
desc               32 arch/x86/platform/geode/geos.c 		.desc = "Reset button",
desc               34 arch/x86/platform/geode/net5501.c 		.desc = "Reset button",
desc               64 arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c 		gb[i].gpio = get_gpio_by_name(gb[i].desc);
desc               65 arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c 		pr_debug("info[%2d]: name = %s, gpio = %d\n", i, gb[i].desc,
desc              581 arch/x86/platform/uv/tlb_uv.c static unsigned long uv2_3_read_status(unsigned long offset, int rshft, int desc)
desc              607 arch/x86/platform/uv/tlb_uv.c 	int desc = bcp->uvhub_cpu;
desc              611 arch/x86/platform/uv/tlb_uv.c 	descriptor_stat = uv2_3_read_status(mmr_offset, right_shift, desc);
desc              661 arch/x86/platform/uv/tlb_uv.c 		descriptor_stat = uv2_3_read_status(mmr_offset, right_shift, desc);
desc              671 arch/x86/platform/uv/tlb_uv.c static u64 read_status(u64 status_mmr, int index, int desc)
desc              676 arch/x86/platform/uv/tlb_uv.c 	stat |= (read_lmmr(UVH_LB_BAU_SB_ACTIVATION_STATUS_2) >> desc) & 0x1;
desc              688 arch/x86/platform/uv/tlb_uv.c 	int desc = bcp->uvhub_cpu;
desc              690 arch/x86/platform/uv/tlb_uv.c 	descriptor_stat = read_status(mmr, index, desc);
desc              717 arch/x86/platform/uv/tlb_uv.c 		descriptor_stat = read_status(mmr, index, desc);
desc              167 arch/x86/platform/uv/uv_nmi.c 	char	*desc;
desc              210 arch/x86/platform/uv/uv_nmi.c 			valid_acts[i].action, valid_acts[i].desc);
desc              153 arch/x86/power/cpu.c 	struct desc_struct *desc = get_cpu_gdt_rw(cpu);
desc              167 arch/x86/power/cpu.c 	memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc));
desc              169 arch/x86/power/cpu.c 	write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS);
desc               78 arch/x86/power/hibernate.c 	struct shash_desc *desc;
desc               86 arch/x86/power/hibernate.c 	desc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm),
desc               88 arch/x86/power/hibernate.c 	if (!desc) {
desc               93 arch/x86/power/hibernate.c 	desc->tfm = tfm;
desc               98 arch/x86/power/hibernate.c 	if (crypto_shash_digest(desc, (u8 *)table, size, buf))
desc              101 arch/x86/power/hibernate.c 	kzfree(desc);
desc               22 arch/x86/um/ldt.c 		     struct user_desc *desc, void **addr, int done)
desc               26 arch/x86/um/ldt.c 	res = syscall_stub_data(mm_idp, (unsigned long *)desc,
desc               27 arch/x86/um/ldt.c 				(sizeof(*desc) + sizeof(long) - 1) &
desc               33 arch/x86/um/ldt.c 					 sizeof(*desc),
desc              300 arch/x86/um/ldt.c 	struct user_desc desc;
desc              310 arch/x86/um/ldt.c 		memset(&desc, 0, sizeof(desc));
desc              318 arch/x86/um/ldt.c 			desc.entry_number = *num_p;
desc              319 arch/x86/um/ldt.c 			err = write_ldt_entry(&new_mm->id, 1, &desc,
desc               98 arch/x86/xen/enlighten_pv.c 	struct desc_struct desc[3];
desc              519 arch/x86/xen/enlighten_pv.c 	struct desc_struct *shadow = &per_cpu(shadow_tls_desc, cpu).desc[i];
desc              730 arch/x86/xen/enlighten_pv.c static void xen_convert_trap_info(const struct desc_ptr *desc,
desc              735 arch/x86/xen/enlighten_pv.c 	count = (desc->size+1) / sizeof(gate_desc);
desc              739 arch/x86/xen/enlighten_pv.c 		gate_desc *entry = (gate_desc *)(desc->address) + in;
desc              749 arch/x86/xen/enlighten_pv.c 	const struct desc_ptr *desc = this_cpu_ptr(&idt_desc);
desc              751 arch/x86/xen/enlighten_pv.c 	xen_convert_trap_info(desc, traps);
desc              757 arch/x86/xen/enlighten_pv.c static void xen_load_idt(const struct desc_ptr *desc)
desc              762 arch/x86/xen/enlighten_pv.c 	trace_xen_cpu_load_idt(desc);
desc              766 arch/x86/xen/enlighten_pv.c 	memcpy(this_cpu_ptr(&idt_desc), desc, sizeof(idt_desc));
desc              768 arch/x86/xen/enlighten_pv.c 	xen_convert_trap_info(desc, traps);
desc              780 arch/x86/xen/enlighten_pv.c 				const void *desc, int type)
desc              782 arch/x86/xen/enlighten_pv.c 	trace_xen_cpu_write_gdt_entry(dt, entry, desc, type);
desc              796 arch/x86/xen/enlighten_pv.c 		if (HYPERVISOR_update_descriptor(maddr.maddr, *(u64 *)desc))
desc              810 arch/x86/xen/enlighten_pv.c 					    const void *desc, int type)
desc              812 arch/x86/xen/enlighten_pv.c 	trace_xen_cpu_write_gdt_entry(dt, entry, desc, type);
desc              823 arch/x86/xen/enlighten_pv.c 		if (HYPERVISOR_update_descriptor(maddr.maddr, *(u64 *)desc))
desc              824 arch/x86/xen/enlighten_pv.c 			dt[entry] = *(struct desc_struct *)desc;
desc               26 certs/blacklist.c static int blacklist_vet_description(const char *desc)
desc               30 certs/blacklist.c 	if (*desc == ':')
desc               32 certs/blacklist.c 	for (; *desc; desc++)
desc               33 certs/blacklist.c 		if (*desc == ':')
desc               38 certs/blacklist.c 	desc++;
desc               39 certs/blacklist.c 	for (; *desc; desc++) {
desc               40 certs/blacklist.c 		if (!isxdigit(*desc))
desc               27 crypto/asymmetric_keys/pkcs7_verify.c 	struct shash_desc *desc;
desc               47 crypto/asymmetric_keys/pkcs7_verify.c 	desc_size = crypto_shash_descsize(tfm) + sizeof(*desc);
desc               55 crypto/asymmetric_keys/pkcs7_verify.c 	desc = kzalloc(desc_size, GFP_KERNEL);
desc               56 crypto/asymmetric_keys/pkcs7_verify.c 	if (!desc)
desc               59 crypto/asymmetric_keys/pkcs7_verify.c 	desc->tfm   = tfm;
desc               62 crypto/asymmetric_keys/pkcs7_verify.c 	ret = crypto_shash_digest(desc, pkcs7->data, pkcs7->data_len,
desc              103 crypto/asymmetric_keys/pkcs7_verify.c 		ret = crypto_shash_init(desc);
desc              107 crypto/asymmetric_keys/pkcs7_verify.c 		ret = crypto_shash_update(desc, &tag, 1);
desc              110 crypto/asymmetric_keys/pkcs7_verify.c 		ret = crypto_shash_finup(desc, sinfo->authattrs,
desc              118 crypto/asymmetric_keys/pkcs7_verify.c 	kfree(desc);
desc              243 crypto/asymmetric_keys/verify_pefile.c 				     struct shash_desc *desc)
desc              251 crypto/asymmetric_keys/verify_pefile.c 	ret = crypto_shash_update(desc, pebuf, ctx->image_checksum_offset);
desc              256 crypto/asymmetric_keys/verify_pefile.c 	ret = crypto_shash_update(desc, pebuf + tmp,
desc              262 crypto/asymmetric_keys/verify_pefile.c 	ret = crypto_shash_update(desc, pebuf + tmp, ctx->header_size - tmp);
desc              291 crypto/asymmetric_keys/verify_pefile.c 		ret = crypto_shash_update(desc,
desc              304 crypto/asymmetric_keys/verify_pefile.c 		ret = crypto_shash_update(desc,
desc              322 crypto/asymmetric_keys/verify_pefile.c 	struct shash_desc *desc;
desc              336 crypto/asymmetric_keys/verify_pefile.c 	desc_size = crypto_shash_descsize(tfm) + sizeof(*desc);
desc              348 crypto/asymmetric_keys/verify_pefile.c 	desc = kzalloc(desc_size + digest_size, GFP_KERNEL);
desc              349 crypto/asymmetric_keys/verify_pefile.c 	if (!desc)
desc              352 crypto/asymmetric_keys/verify_pefile.c 	desc->tfm   = tfm;
desc              353 crypto/asymmetric_keys/verify_pefile.c 	ret = crypto_shash_init(desc);
desc              357 crypto/asymmetric_keys/verify_pefile.c 	ret = pefile_digest_pe_contents(pebuf, pelen, ctx, desc);
desc              361 crypto/asymmetric_keys/verify_pefile.c 	digest = (void *)desc + desc_size;
desc              362 crypto/asymmetric_keys/verify_pefile.c 	ret = crypto_shash_final(desc, digest);
desc              379 crypto/asymmetric_keys/verify_pefile.c 	kzfree(desc);
desc               27 crypto/asymmetric_keys/x509_public_key.c 	struct shash_desc *desc;
desc               63 crypto/asymmetric_keys/x509_public_key.c 	desc_size = crypto_shash_descsize(tfm) + sizeof(*desc);
desc               71 crypto/asymmetric_keys/x509_public_key.c 	desc = kzalloc(desc_size, GFP_KERNEL);
desc               72 crypto/asymmetric_keys/x509_public_key.c 	if (!desc)
desc               75 crypto/asymmetric_keys/x509_public_key.c 	desc->tfm = tfm;
desc               77 crypto/asymmetric_keys/x509_public_key.c 	ret = crypto_shash_digest(desc, cert->tbs, cert->tbs_size, sig->digest);
desc               90 crypto/asymmetric_keys/x509_public_key.c 	kfree(desc);
desc              162 crypto/asymmetric_keys/x509_public_key.c 	char *desc = NULL, *p;
desc              206 crypto/asymmetric_keys/x509_public_key.c 	desc = kmalloc(sulen + 2 + srlen * 2 + 1, GFP_KERNEL);
desc              207 crypto/asymmetric_keys/x509_public_key.c 	if (!desc)
desc              209 crypto/asymmetric_keys/x509_public_key.c 	p = memcpy(desc, cert->subject, sulen);
desc              228 crypto/asymmetric_keys/x509_public_key.c 	prep->description = desc;
desc              236 crypto/asymmetric_keys/x509_public_key.c 	desc = NULL;
desc              240 crypto/asymmetric_keys/x509_public_key.c 	kfree(desc);
desc               34 crypto/blkcipher.c static int blkcipher_walk_next(struct blkcipher_desc *desc,
desc               36 crypto/blkcipher.c static int blkcipher_walk_first(struct blkcipher_desc *desc,
desc               95 crypto/blkcipher.c int blkcipher_walk_done(struct blkcipher_desc *desc,
desc              123 crypto/blkcipher.c 		crypto_yield(desc->flags);
desc              124 crypto/blkcipher.c 		return blkcipher_walk_next(desc, walk);
desc              129 crypto/blkcipher.c 	if (walk->iv != desc->info)
desc              130 crypto/blkcipher.c 		memcpy(desc->info, walk->iv, walk->ivsize);
desc              139 crypto/blkcipher.c static inline int blkcipher_next_slow(struct blkcipher_desc *desc,
desc              158 crypto/blkcipher.c 		return blkcipher_walk_done(desc, walk, -ENOMEM);
desc              189 crypto/blkcipher.c static inline int blkcipher_next_fast(struct blkcipher_desc *desc,
desc              216 crypto/blkcipher.c static int blkcipher_walk_next(struct blkcipher_desc *desc,
desc              225 crypto/blkcipher.c 		desc->flags |= CRYPTO_TFM_RES_BAD_BLOCK_LEN;
desc              226 crypto/blkcipher.c 		return blkcipher_walk_done(desc, walk, -EINVAL);
desc              247 crypto/blkcipher.c 		err = blkcipher_next_slow(desc, walk, bsize, walk->alignmask);
desc              257 crypto/blkcipher.c 	return blkcipher_next_fast(desc, walk);
desc              292 crypto/blkcipher.c int blkcipher_walk_virt(struct blkcipher_desc *desc,
desc              296 crypto/blkcipher.c 	walk->walk_blocksize = crypto_blkcipher_blocksize(desc->tfm);
desc              298 crypto/blkcipher.c 	walk->ivsize = crypto_blkcipher_ivsize(desc->tfm);
desc              299 crypto/blkcipher.c 	walk->alignmask = crypto_blkcipher_alignmask(desc->tfm);
desc              300 crypto/blkcipher.c 	return blkcipher_walk_first(desc, walk);
desc              304 crypto/blkcipher.c int blkcipher_walk_phys(struct blkcipher_desc *desc,
desc              308 crypto/blkcipher.c 	walk->walk_blocksize = crypto_blkcipher_blocksize(desc->tfm);
desc              310 crypto/blkcipher.c 	walk->ivsize = crypto_blkcipher_ivsize(desc->tfm);
desc              311 crypto/blkcipher.c 	walk->alignmask = crypto_blkcipher_alignmask(desc->tfm);
desc              312 crypto/blkcipher.c 	return blkcipher_walk_first(desc, walk);
desc              316 crypto/blkcipher.c static int blkcipher_walk_first(struct blkcipher_desc *desc,
desc              322 crypto/blkcipher.c 	walk->iv = desc->info;
desc              338 crypto/blkcipher.c 	return blkcipher_walk_next(desc, walk);
desc              341 crypto/blkcipher.c int blkcipher_walk_virt_block(struct blkcipher_desc *desc,
desc              347 crypto/blkcipher.c 	walk->cipher_blocksize = crypto_blkcipher_blocksize(desc->tfm);
desc              348 crypto/blkcipher.c 	walk->ivsize = crypto_blkcipher_ivsize(desc->tfm);
desc              349 crypto/blkcipher.c 	walk->alignmask = crypto_blkcipher_alignmask(desc->tfm);
desc              350 crypto/blkcipher.c 	return blkcipher_walk_first(desc, walk);
desc              354 crypto/blkcipher.c int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
desc              364 crypto/blkcipher.c 	return blkcipher_walk_first(desc, walk);
desc              416 crypto/blkcipher.c 	struct blkcipher_desc desc = {
desc              423 crypto/blkcipher.c 	return alg->encrypt(&desc, req->dst, req->src, req->nbytes);
desc              430 crypto/blkcipher.c 	struct blkcipher_desc desc = {
desc              436 crypto/blkcipher.c 	return alg->decrypt(&desc, req->dst, req->src, req->nbytes);
desc               71 crypto/crc32_generic.c static int crc32_init(struct shash_desc *desc)
desc               73 crypto/crc32_generic.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
desc               74 crypto/crc32_generic.c 	u32 *crcp = shash_desc_ctx(desc);
desc               81 crypto/crc32_generic.c static int crc32_update(struct shash_desc *desc, const u8 *data,
desc               84 crypto/crc32_generic.c 	u32 *crcp = shash_desc_ctx(desc);
desc               98 crypto/crc32_generic.c static int crc32_finup(struct shash_desc *desc, const u8 *data,
desc              101 crypto/crc32_generic.c 	return __crc32_finup(shash_desc_ctx(desc), data, len, out);
desc              104 crypto/crc32_generic.c static int crc32_final(struct shash_desc *desc, u8 *out)
desc              106 crypto/crc32_generic.c 	u32 *crcp = shash_desc_ctx(desc);
desc              112 crypto/crc32_generic.c static int crc32_digest(struct shash_desc *desc, const u8 *data,
desc              115 crypto/crc32_generic.c 	return __crc32_finup(crypto_shash_ctx(desc->tfm), data, len,
desc               57 crypto/crc32c_generic.c static int chksum_init(struct shash_desc *desc)
desc               59 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc               60 crypto/crc32c_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               85 crypto/crc32c_generic.c static int chksum_update(struct shash_desc *desc, const u8 *data,
desc               88 crypto/crc32c_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               94 crypto/crc32c_generic.c static int chksum_final(struct shash_desc *desc, u8 *out)
desc               96 crypto/crc32c_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              108 crypto/crc32c_generic.c static int chksum_finup(struct shash_desc *desc, const u8 *data,
desc              111 crypto/crc32c_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc              116 crypto/crc32c_generic.c static int chksum_digest(struct shash_desc *desc, const u8 *data,
desc              119 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc               42 crypto/crct10dif_generic.c static int chksum_init(struct shash_desc *desc)
desc               44 crypto/crct10dif_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               51 crypto/crct10dif_generic.c static int chksum_update(struct shash_desc *desc, const u8 *data,
desc               54 crypto/crct10dif_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               60 crypto/crct10dif_generic.c static int chksum_final(struct shash_desc *desc, u8 *out)
desc               62 crypto/crct10dif_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               74 crypto/crct10dif_generic.c static int chksum_finup(struct shash_desc *desc, const u8 *data,
desc               77 crypto/crct10dif_generic.c 	struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
desc               82 crypto/crct10dif_generic.c static int chksum_digest(struct shash_desc *desc, const u8 *data,
desc               81 crypto/cryptd.c 	struct shash_desc desc;
desc              540 crypto/cryptd.c 	struct shash_desc *desc = &rctx->desc;
desc              545 crypto/cryptd.c 	desc->tfm = child;
desc              547 crypto/cryptd.c 	err = crypto_shash_init(desc);
desc              570 crypto/cryptd.c 	err = shash_ahash_update(req, &rctx->desc);
desc              591 crypto/cryptd.c 	err = crypto_shash_final(&rctx->desc, req->result);
desc              612 crypto/cryptd.c 	err = shash_ahash_finup(req, &rctx->desc);
desc              631 crypto/cryptd.c 	struct shash_desc *desc = &rctx->desc;
desc              636 crypto/cryptd.c 	desc->tfm = child;
desc              638 crypto/cryptd.c 	err = shash_ahash_digest(req, desc);
desc              655 crypto/cryptd.c 	return crypto_shash_export(&rctx->desc, out);
desc              662 crypto/cryptd.c 	struct shash_desc *desc = cryptd_shash_desc(req);
desc              664 crypto/cryptd.c 	desc->tfm = ctx->child;
desc              666 crypto/cryptd.c 	return crypto_shash_import(desc, in);
desc             1049 crypto/cryptd.c 	return &rctx->desc;
desc               37 crypto/crypto_null.c static int null_init(struct shash_desc *desc)
desc               42 crypto/crypto_null.c static int null_update(struct shash_desc *desc, const u8 *data,
desc               48 crypto/crypto_null.c static int null_final(struct shash_desc *desc, u8 *out)
desc               53 crypto/crypto_null.c static int null_digest(struct shash_desc *desc, const u8 *data,
desc               69 crypto/essiv.c 	SHASH_DESC_ON_STACK(desc, tctx->hash);
desc               84 crypto/essiv.c 	desc->tfm = tctx->hash;
desc               85 crypto/essiv.c 	err = crypto_shash_digest(desc, key, keylen, salt);
desc              106 crypto/essiv.c 	SHASH_DESC_ON_STACK(desc, tctx->hash);
desc              125 crypto/essiv.c 	desc->tfm = tctx->hash;
desc              126 crypto/essiv.c 	err = crypto_shash_init(desc) ?:
desc              127 crypto/essiv.c 	      crypto_shash_update(desc, keys.enckey, keys.enckeylen) ?:
desc              128 crypto/essiv.c 	      crypto_shash_finup(desc, keys.authkey, keys.authkeylen, salt);
desc               46 crypto/ghash-generic.c static int ghash_init(struct shash_desc *desc)
desc               48 crypto/ghash-generic.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               80 crypto/ghash-generic.c static int ghash_update(struct shash_desc *desc,
desc               83 crypto/ghash-generic.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               84 crypto/ghash-generic.c 	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc              133 crypto/ghash-generic.c static int ghash_final(struct shash_desc *desc, u8 *dst)
desc              135 crypto/ghash-generic.c 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              136 crypto/ghash-generic.c 	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc               85 crypto/hmac.c  	struct shash_desc *desc = shash_desc_ctx(pdesc);
desc               87 crypto/hmac.c  	return crypto_shash_export(desc, out);
desc               92 crypto/hmac.c  	struct shash_desc *desc = shash_desc_ctx(pdesc);
desc               95 crypto/hmac.c  	desc->tfm = ctx->hash;
desc               97 crypto/hmac.c  	return crypto_shash_import(desc, in);
desc              108 crypto/hmac.c  	struct shash_desc *desc = shash_desc_ctx(pdesc);
desc              110 crypto/hmac.c  	return crypto_shash_update(desc, data, nbytes);
desc              119 crypto/hmac.c  	struct shash_desc *desc = shash_desc_ctx(pdesc);
desc              121 crypto/hmac.c  	return crypto_shash_final(desc, out) ?:
desc              122 crypto/hmac.c  	       crypto_shash_import(desc, opad) ?:
desc              123 crypto/hmac.c  	       crypto_shash_finup(desc, out, ds, out);
desc              134 crypto/hmac.c  	struct shash_desc *desc = shash_desc_ctx(pdesc);
desc              136 crypto/hmac.c  	return crypto_shash_finup(desc, data, nbytes, out) ?:
desc              137 crypto/hmac.c  	       crypto_shash_import(desc, opad) ?:
desc              138 crypto/hmac.c  	       crypto_shash_finup(desc, out, ds, out);
desc              139 crypto/md4.c   static int md4_init(struct shash_desc *desc)
desc              141 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
desc              152 crypto/md4.c   static int md4_update(struct shash_desc *desc, const u8 *data, unsigned int len)
desc              154 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
desc              184 crypto/md4.c   static int md4_final(struct shash_desc *desc, u8 *out)
desc              186 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
desc              132 crypto/md5.c   static int md5_init(struct shash_desc *desc)
desc              134 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
desc              145 crypto/md5.c   static int md5_update(struct shash_desc *desc, const u8 *data, unsigned int len)
desc              147 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
desc              177 crypto/md5.c   static int md5_final(struct shash_desc *desc, u8 *out)
desc              179 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
desc              205 crypto/md5.c   static int md5_export(struct shash_desc *desc, void *out)
desc              207 crypto/md5.c   	struct md5_state *ctx = shash_desc_ctx(desc);
desc              213 crypto/md5.c   static int md5_import(struct shash_desc *desc, const void *in)
desc              215 crypto/md5.c   	struct md5_state *ctx = shash_desc_ctx(desc);
desc               47 crypto/michael_mic.c static int michael_init(struct shash_desc *desc)
desc               49 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
desc               50 crypto/michael_mic.c 	struct michael_mic_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc               59 crypto/michael_mic.c static int michael_update(struct shash_desc *desc, const u8 *data,
desc               62 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
desc              100 crypto/michael_mic.c static int michael_final(struct shash_desc *desc, u8 *out)
desc              102 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
desc              143 crypto/nhpoly1305.c int crypto_nhpoly1305_init(struct shash_desc *desc)
desc              145 crypto/nhpoly1305.c 	struct nhpoly1305_state *state = shash_desc_ctx(desc);
desc              154 crypto/nhpoly1305.c int crypto_nhpoly1305_update_helper(struct shash_desc *desc,
desc              158 crypto/nhpoly1305.c 	struct nhpoly1305_state *state = shash_desc_ctx(desc);
desc              159 crypto/nhpoly1305.c 	const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm);
desc              190 crypto/nhpoly1305.c int crypto_nhpoly1305_update(struct shash_desc *desc,
desc              193 crypto/nhpoly1305.c 	return crypto_nhpoly1305_update_helper(desc, src, srclen, nh_generic);
desc              197 crypto/nhpoly1305.c int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst, nh_t nh_fn)
desc              199 crypto/nhpoly1305.c 	struct nhpoly1305_state *state = shash_desc_ctx(desc);
desc              200 crypto/nhpoly1305.c 	const struct nhpoly1305_key *key = crypto_shash_ctx(desc->tfm);
desc              217 crypto/nhpoly1305.c int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst)
desc              219 crypto/nhpoly1305.c 	return crypto_nhpoly1305_final_helper(desc, dst, nh_generic);
desc               37 crypto/poly1305_generic.c int crypto_poly1305_init(struct shash_desc *desc)
desc               39 crypto/poly1305_generic.c 	struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
desc              181 crypto/poly1305_generic.c int crypto_poly1305_update(struct shash_desc *desc,
desc              184 crypto/poly1305_generic.c 	struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
desc              264 crypto/poly1305_generic.c int crypto_poly1305_final(struct shash_desc *desc, u8 *dst)
desc              266 crypto/poly1305_generic.c 	struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
desc              213 crypto/rmd128.c static int rmd128_init(struct shash_desc *desc)
desc              215 crypto/rmd128.c 	struct rmd128_ctx *rctx = shash_desc_ctx(desc);
desc              229 crypto/rmd128.c static int rmd128_update(struct shash_desc *desc, const u8 *data,
desc              232 crypto/rmd128.c 	struct rmd128_ctx *rctx = shash_desc_ctx(desc);
desc              265 crypto/rmd128.c static int rmd128_final(struct shash_desc *desc, u8 *out)
desc              267 crypto/rmd128.c 	struct rmd128_ctx *rctx = shash_desc_ctx(desc);
desc              278 crypto/rmd128.c 	rmd128_update(desc, padding, padlen);
desc              281 crypto/rmd128.c 	rmd128_update(desc, (const u8 *)&bits, sizeof(bits));
desc              256 crypto/rmd160.c static int rmd160_init(struct shash_desc *desc)
desc              258 crypto/rmd160.c 	struct rmd160_ctx *rctx = shash_desc_ctx(desc);
desc              273 crypto/rmd160.c static int rmd160_update(struct shash_desc *desc, const u8 *data,
desc              276 crypto/rmd160.c 	struct rmd160_ctx *rctx = shash_desc_ctx(desc);
desc              309 crypto/rmd160.c static int rmd160_final(struct shash_desc *desc, u8 *out)
desc              311 crypto/rmd160.c 	struct rmd160_ctx *rctx = shash_desc_ctx(desc);
desc              322 crypto/rmd160.c 	rmd160_update(desc, padding, padlen);
desc              325 crypto/rmd160.c 	rmd160_update(desc, (const u8 *)&bits, sizeof(bits));
desc              228 crypto/rmd256.c static int rmd256_init(struct shash_desc *desc)
desc              230 crypto/rmd256.c 	struct rmd256_ctx *rctx = shash_desc_ctx(desc);
desc              248 crypto/rmd256.c static int rmd256_update(struct shash_desc *desc, const u8 *data,
desc              251 crypto/rmd256.c 	struct rmd256_ctx *rctx = shash_desc_ctx(desc);
desc              284 crypto/rmd256.c static int rmd256_final(struct shash_desc *desc, u8 *out)
desc              286 crypto/rmd256.c 	struct rmd256_ctx *rctx = shash_desc_ctx(desc);
desc              297 crypto/rmd256.c 	rmd256_update(desc, padding, padlen);
desc              300 crypto/rmd256.c 	rmd256_update(desc, (const u8 *)&bits, sizeof(bits));
desc              275 crypto/rmd320.c static int rmd320_init(struct shash_desc *desc)
desc              277 crypto/rmd320.c 	struct rmd320_ctx *rctx = shash_desc_ctx(desc);
desc              297 crypto/rmd320.c static int rmd320_update(struct shash_desc *desc, const u8 *data,
desc              300 crypto/rmd320.c 	struct rmd320_ctx *rctx = shash_desc_ctx(desc);
desc              333 crypto/rmd320.c static int rmd320_final(struct shash_desc *desc, u8 *out)
desc              335 crypto/rmd320.c 	struct rmd320_ctx *rctx = shash_desc_ctx(desc);
desc              346 crypto/rmd320.c 	rmd320_update(desc, padding, padlen);
desc              349 crypto/rmd320.c 	rmd320_update(desc, (const u8 *)&bits, sizeof(bits));
desc               43 crypto/sha1_generic.c int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
desc               46 crypto/sha1_generic.c 	return sha1_base_do_update(desc, data, len, sha1_generic_block_fn);
desc               50 crypto/sha1_generic.c static int sha1_final(struct shash_desc *desc, u8 *out)
desc               52 crypto/sha1_generic.c 	sha1_base_do_finalize(desc, sha1_generic_block_fn);
desc               53 crypto/sha1_generic.c 	return sha1_base_finish(desc, out);
desc               56 crypto/sha1_generic.c int crypto_sha1_finup(struct shash_desc *desc, const u8 *data,
desc               59 crypto/sha1_generic.c 	sha1_base_do_update(desc, data, len, sha1_generic_block_fn);
desc               60 crypto/sha1_generic.c 	return sha1_final(desc, out);
desc               36 crypto/sha256_generic.c static int crypto_sha256_init(struct shash_desc *desc)
desc               38 crypto/sha256_generic.c 	return sha256_init(shash_desc_ctx(desc));
desc               41 crypto/sha256_generic.c static int crypto_sha224_init(struct shash_desc *desc)
desc               43 crypto/sha256_generic.c 	return sha224_init(shash_desc_ctx(desc));
desc               46 crypto/sha256_generic.c int crypto_sha256_update(struct shash_desc *desc, const u8 *data,
desc               49 crypto/sha256_generic.c 	return sha256_update(shash_desc_ctx(desc), data, len);
desc               53 crypto/sha256_generic.c static int crypto_sha256_final(struct shash_desc *desc, u8 *out)
desc               55 crypto/sha256_generic.c 	if (crypto_shash_digestsize(desc->tfm) == SHA224_DIGEST_SIZE)
desc               56 crypto/sha256_generic.c 		return sha224_final(shash_desc_ctx(desc), out);
desc               58 crypto/sha256_generic.c 		return sha256_final(shash_desc_ctx(desc), out);
desc               61 crypto/sha256_generic.c int crypto_sha256_finup(struct shash_desc *desc, const u8 *data,
desc               64 crypto/sha256_generic.c 	sha256_update(shash_desc_ctx(desc), data, len);
desc               65 crypto/sha256_generic.c 	return crypto_sha256_final(desc, hash);
desc              161 crypto/sha3_generic.c int crypto_sha3_init(struct shash_desc *desc)
desc              163 crypto/sha3_generic.c 	struct sha3_state *sctx = shash_desc_ctx(desc);
desc              164 crypto/sha3_generic.c 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc              175 crypto/sha3_generic.c int crypto_sha3_update(struct shash_desc *desc, const u8 *data,
desc              178 crypto/sha3_generic.c 	struct sha3_state *sctx = shash_desc_ctx(desc);
desc              213 crypto/sha3_generic.c int crypto_sha3_final(struct shash_desc *desc, u8 *out)
desc              215 crypto/sha3_generic.c 	struct sha3_state *sctx = shash_desc_ctx(desc);
desc              217 crypto/sha3_generic.c 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc              160 crypto/sha512_generic.c int crypto_sha512_update(struct shash_desc *desc, const u8 *data,
desc              163 crypto/sha512_generic.c 	return sha512_base_do_update(desc, data, len, sha512_generic_block_fn);
desc              167 crypto/sha512_generic.c static int sha512_final(struct shash_desc *desc, u8 *hash)
desc              169 crypto/sha512_generic.c 	sha512_base_do_finalize(desc, sha512_generic_block_fn);
desc              170 crypto/sha512_generic.c 	return sha512_base_finish(desc, hash);
desc              173 crypto/sha512_generic.c int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
desc              176 crypto/sha512_generic.c 	sha512_base_do_update(desc, data, len, sha512_generic_block_fn);
desc              177 crypto/sha512_generic.c 	return sha512_final(desc, hash);
desc               80 crypto/shash.c static int shash_update_unaligned(struct shash_desc *desc, const u8 *data,
desc               83 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              103 crypto/shash.c 	err = shash->update(desc, buf, unaligned_len);
desc              107 crypto/shash.c 	       shash->update(desc, data + unaligned_len, len - unaligned_len);
desc              110 crypto/shash.c int crypto_shash_update(struct shash_desc *desc, const u8 *data,
desc              113 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              118 crypto/shash.c 		return shash_update_unaligned(desc, data, len);
desc              120 crypto/shash.c 	return shash->update(desc, data, len);
desc              124 crypto/shash.c static int shash_final_unaligned(struct shash_desc *desc, u8 *out)
desc              126 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              141 crypto/shash.c 	err = shash->final(desc, buf);
desc              152 crypto/shash.c int crypto_shash_final(struct shash_desc *desc, u8 *out)
desc              154 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              159 crypto/shash.c 		return shash_final_unaligned(desc, out);
desc              161 crypto/shash.c 	return shash->final(desc, out);
desc              165 crypto/shash.c static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data,
desc              168 crypto/shash.c 	return crypto_shash_update(desc, data, len) ?:
desc              169 crypto/shash.c 	       crypto_shash_final(desc, out);
desc              172 crypto/shash.c int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
desc              175 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              180 crypto/shash.c 		return shash_finup_unaligned(desc, data, len, out);
desc              182 crypto/shash.c 	return shash->finup(desc, data, len, out);
desc              186 crypto/shash.c static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data,
desc              189 crypto/shash.c 	return crypto_shash_init(desc) ?:
desc              190 crypto/shash.c 	       crypto_shash_finup(desc, data, len, out);
desc              193 crypto/shash.c int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
desc              196 crypto/shash.c 	struct crypto_shash *tfm = desc->tfm;
desc              204 crypto/shash.c 		return shash_digest_unaligned(desc, data, len, out);
desc              206 crypto/shash.c 	return shash->digest(desc, data, len, out);
desc              210 crypto/shash.c static int shash_default_export(struct shash_desc *desc, void *out)
desc              212 crypto/shash.c 	memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm));
desc              216 crypto/shash.c static int shash_default_import(struct shash_desc *desc, const void *in)
desc              218 crypto/shash.c 	memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm));
desc              233 crypto/shash.c 	struct shash_desc *desc = ahash_request_ctx(req);
desc              235 crypto/shash.c 	desc->tfm = *ctx;
desc              237 crypto/shash.c 	return crypto_shash_init(desc);
desc              240 crypto/shash.c int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc)
desc              247 crypto/shash.c 		nbytes = crypto_shash_update(desc, walk.data, nbytes);
desc              263 crypto/shash.c int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc)
desc              270 crypto/shash.c 		return crypto_shash_final(desc, req->result);
desc              274 crypto/shash.c 			 crypto_shash_finup(desc, walk.data, nbytes,
desc              276 crypto/shash.c 			 crypto_shash_update(desc, walk.data, nbytes);
desc              287 crypto/shash.c 	struct shash_desc *desc = ahash_request_ctx(req);
desc              289 crypto/shash.c 	desc->tfm = *ctx;
desc              291 crypto/shash.c 	return shash_ahash_finup(req, desc);
desc              294 crypto/shash.c int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc)
desc              307 crypto/shash.c 		err = crypto_shash_digest(desc, data + offset, nbytes,
desc              311 crypto/shash.c 		err = crypto_shash_init(desc) ?:
desc              312 crypto/shash.c 		      shash_ahash_finup(req, desc);
desc              321 crypto/shash.c 	struct shash_desc *desc = ahash_request_ctx(req);
desc              323 crypto/shash.c 	desc->tfm = *ctx;
desc              325 crypto/shash.c 	return shash_ahash_digest(req, desc);
desc              336 crypto/shash.c 	struct shash_desc *desc = ahash_request_ctx(req);
desc              338 crypto/shash.c 	desc->tfm = *ctx;
desc              340 crypto/shash.c 	return crypto_shash_import(desc, in);
desc              628 crypto/skcipher.c 	struct blkcipher_desc desc = {
desc              635 crypto/skcipher.c 	return crypt(&desc, req->dst, req->src, req->cryptlen);
desc              145 crypto/sm3_generic.c int crypto_sm3_update(struct shash_desc *desc, const u8 *data,
desc              148 crypto/sm3_generic.c 	return sm3_base_do_update(desc, data, len, sm3_generic_block_fn);
desc              152 crypto/sm3_generic.c static int sm3_final(struct shash_desc *desc, u8 *out)
desc              154 crypto/sm3_generic.c 	sm3_base_do_finalize(desc, sm3_generic_block_fn);
desc              155 crypto/sm3_generic.c 	return sm3_base_finish(desc, out);
desc              158 crypto/sm3_generic.c int crypto_sm3_finup(struct shash_desc *desc, const u8 *data,
desc              161 crypto/sm3_generic.c 	sm3_base_do_update(desc, data, len, sm3_generic_block_fn);
desc              162 crypto/sm3_generic.c 	return sm3_final(desc, hash);
desc              908 crypto/streebog_generic.c static int streebog_init(struct shash_desc *desc)
desc              910 crypto/streebog_generic.c 	struct streebog_state *ctx = shash_desc_ctx(desc);
desc              911 crypto/streebog_generic.c 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc             1002 crypto/streebog_generic.c static int streebog_update(struct shash_desc *desc, const u8 *data,
desc             1005 crypto/streebog_generic.c 	struct streebog_state *ctx = shash_desc_ctx(desc);
desc             1036 crypto/streebog_generic.c static int streebog_final(struct shash_desc *desc, u8 *digest)
desc             1038 crypto/streebog_generic.c 	struct streebog_state *ctx = shash_desc_ctx(desc);
desc             1042 crypto/streebog_generic.c 	if (crypto_shash_digestsize(desc->tfm) == STREEBOG256_DIGEST_SIZE)
desc              127 crypto/testmgr.c 	int (*test)(const struct alg_test_desc *desc, const char *driver,
desc             1091 crypto/testmgr.c 			      struct shash_desc *desc,
desc             1095 crypto/testmgr.c 	struct crypto_shash *tfm = desc->tfm;
desc             1132 crypto/testmgr.c 	testmgr_poison(desc->__ctx, crypto_shash_descsize(tfm));
desc             1142 crypto/testmgr.c 		err = crypto_shash_digest(desc, sg_data(&tsgl->sgl[0]),
desc             1166 crypto/testmgr.c 	err = crypto_shash_init(desc);
desc             1178 crypto/testmgr.c 			err = crypto_shash_finup(desc, sg_data(&tsgl->sgl[i]),
desc             1190 crypto/testmgr.c 		err = crypto_shash_update(desc, sg_data(&tsgl->sgl[i]),
desc             1201 crypto/testmgr.c 			err = crypto_shash_export(desc, hashstate);
desc             1212 crypto/testmgr.c 			testmgr_poison(desc->__ctx, crypto_shash_descsize(tfm));
desc             1213 crypto/testmgr.c 			err = crypto_shash_import(desc, hashstate);
desc             1223 crypto/testmgr.c 	err = crypto_shash_final(desc, result);
desc             1440 crypto/testmgr.c 			     struct shash_desc *desc,
desc             1452 crypto/testmgr.c 	if (desc) {
desc             1453 crypto/testmgr.c 		err = test_shash_vec_cfg(driver, vec, vec_name, cfg, desc, tsgl,
desc             1465 crypto/testmgr.c 			 struct shash_desc *desc, struct test_sglist *tsgl,
desc             1477 crypto/testmgr.c 					req, desc, tsgl, hashstate);
desc             1491 crypto/testmgr.c 						req, desc, tsgl, hashstate);
desc             1506 crypto/testmgr.c static void generate_random_hash_testvec(struct shash_desc *desc,
desc             1528 crypto/testmgr.c 		vec->setkey_error = crypto_shash_setkey(desc->tfm, vec->key,
desc             1536 crypto/testmgr.c 	vec->digest_error = crypto_shash_digest(desc, vec->plaintext,
desc             1551 crypto/testmgr.c 				     struct shash_desc *desc,
desc             1602 crypto/testmgr.c 	generic_desc = kzalloc(sizeof(*desc) +
desc             1647 crypto/testmgr.c 					req, desc, tsgl, hashstate);
desc             1667 crypto/testmgr.c 				     struct shash_desc *desc,
desc             1680 crypto/testmgr.c 	struct shash_desc *desc;
desc             1696 crypto/testmgr.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
desc             1697 crypto/testmgr.c 	if (!desc) {
desc             1701 crypto/testmgr.c 	desc->tfm = tfm;
desc             1704 crypto/testmgr.c 	*desc_ret = desc;
desc             1716 crypto/testmgr.c 	struct shash_desc *desc = NULL;
desc             1747 crypto/testmgr.c 	err = alloc_shash(driver, type, mask, &stfm, &desc);
desc             1773 crypto/testmgr.c 		err = test_hash_vec(driver, &vecs[i], i, req, desc, tsgl,
desc             1780 crypto/testmgr.c 					desc, tsgl, hashstate);
desc             1787 crypto/testmgr.c 	kfree(desc);
desc             1794 crypto/testmgr.c static int alg_test_hash(const struct alg_test_desc *desc, const char *driver,
desc             1797 crypto/testmgr.c 	const struct hash_testvec *template = desc->suite.hash.vecs;
desc             1798 crypto/testmgr.c 	unsigned int tcount = desc->suite.hash.count;
desc             1816 crypto/testmgr.c 			       "unkeyed ones must come first\n", desc->alg);
desc             1826 crypto/testmgr.c 				      desc->generic_driver, maxkeysize);
desc             1832 crypto/testmgr.c 				      desc->generic_driver, maxkeysize);
desc             2297 crypto/testmgr.c static int alg_test_aead(const struct alg_test_desc *desc, const char *driver,
desc             2300 crypto/testmgr.c 	const struct aead_test_suite *suite = &desc->suite.aead;
desc             2342 crypto/testmgr.c 	err = test_aead_vs_generic_impl(driver, desc, req, tsgls);
desc             2856 crypto/testmgr.c static int alg_test_skcipher(const struct alg_test_desc *desc,
desc             2859 crypto/testmgr.c 	const struct cipher_test_suite *suite = &desc->suite.cipher;
desc             2901 crypto/testmgr.c 	err = test_skcipher_vs_generic_impl(driver, desc->generic_driver, req,
desc             3247 crypto/testmgr.c static int alg_test_cipher(const struct alg_test_desc *desc,
desc             3250 crypto/testmgr.c 	const struct cipher_test_suite *suite = &desc->suite.cipher;
desc             3269 crypto/testmgr.c static int alg_test_comp(const struct alg_test_desc *desc, const char *driver,
desc             3284 crypto/testmgr.c 		err = test_acomp(acomp, desc->suite.comp.comp.vecs,
desc             3285 crypto/testmgr.c 				 desc->suite.comp.decomp.vecs,
desc             3286 crypto/testmgr.c 				 desc->suite.comp.comp.count,
desc             3287 crypto/testmgr.c 				 desc->suite.comp.decomp.count);
desc             3297 crypto/testmgr.c 		err = test_comp(comp, desc->suite.comp.comp.vecs,
desc             3298 crypto/testmgr.c 				desc->suite.comp.decomp.vecs,
desc             3299 crypto/testmgr.c 				desc->suite.comp.comp.count,
desc             3300 crypto/testmgr.c 				desc->suite.comp.decomp.count);
desc             3307 crypto/testmgr.c static int alg_test_crc32c(const struct alg_test_desc *desc,
desc             3314 crypto/testmgr.c 	err = alg_test_hash(desc, driver, type, mask);
desc             3359 crypto/testmgr.c static int alg_test_cprng(const struct alg_test_desc *desc, const char *driver,
desc             3372 crypto/testmgr.c 	err = test_cprng(rng, desc->suite.cprng.vecs, desc->suite.cprng.count);
desc             3448 crypto/testmgr.c static int alg_test_drbg(const struct alg_test_desc *desc, const char *driver,
desc             3454 crypto/testmgr.c 	const struct drbg_testvec *template = desc->suite.drbg.vecs;
desc             3455 crypto/testmgr.c 	unsigned int tcount = desc->suite.drbg.count;
desc             3631 crypto/testmgr.c static int alg_test_kpp(const struct alg_test_desc *desc, const char *driver,
desc             3643 crypto/testmgr.c 	if (desc->suite.kpp.vecs)
desc             3644 crypto/testmgr.c 		err = test_kpp(tfm, desc->alg, desc->suite.kpp.vecs,
desc             3645 crypto/testmgr.c 			       desc->suite.kpp.count);
desc             3851 crypto/testmgr.c static int alg_test_akcipher(const struct alg_test_desc *desc,
desc             3863 crypto/testmgr.c 	if (desc->suite.akcipher.vecs)
desc             3864 crypto/testmgr.c 		err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs,
desc             3865 crypto/testmgr.c 				    desc->suite.akcipher.count);
desc             3871 crypto/testmgr.c static int alg_test_null(const struct alg_test_desc *desc,
desc              493 crypto/tgr192.c static int tgr192_init(struct shash_desc *desc)
desc              495 crypto/tgr192.c 	struct tgr192_ctx *tctx = shash_desc_ctx(desc);
desc              509 crypto/tgr192.c static int tgr192_update(struct shash_desc *desc, const u8 *inbuf,
desc              512 crypto/tgr192.c 	struct tgr192_ctx *tctx = shash_desc_ctx(desc);
desc              526 crypto/tgr192.c 		tgr192_update(desc, NULL, 0);
desc              550 crypto/tgr192.c static int tgr192_final(struct shash_desc *desc, u8 * out)
desc              552 crypto/tgr192.c 	struct tgr192_ctx *tctx = shash_desc_ctx(desc);
desc              558 crypto/tgr192.c 	tgr192_update(desc, NULL, 0); /* flush */ ;
desc              586 crypto/tgr192.c 		tgr192_update(desc, NULL, 0); /* flush */ ;
desc              604 crypto/tgr192.c static int tgr160_final(struct shash_desc *desc, u8 * out)
desc              608 crypto/tgr192.c 	tgr192_final(desc, D);
desc              615 crypto/tgr192.c static int tgr128_final(struct shash_desc *desc, u8 * out)
desc              619 crypto/tgr192.c 	tgr192_final(desc, D);
desc              481 crypto/vmac.c  static int vmac_init(struct shash_desc *desc)
desc              483 crypto/vmac.c  	const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              484 crypto/vmac.c  	struct vmac_desc_ctx *dctx = shash_desc_ctx(desc);
desc              493 crypto/vmac.c  static int vmac_update(struct shash_desc *desc, const u8 *p, unsigned int len)
desc              495 crypto/vmac.c  	const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              496 crypto/vmac.c  	struct vmac_desc_ctx *dctx = shash_desc_ctx(desc);
desc              563 crypto/vmac.c  static int vmac_final(struct shash_desc *desc, u8 *out)
desc              565 crypto/vmac.c  	const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc              566 crypto/vmac.c  	struct vmac_desc_ctx *dctx = shash_desc_ctx(desc);
desc              989 crypto/wp512.c static int wp512_init(struct shash_desc *desc) {
desc              990 crypto/wp512.c 	struct wp512_ctx *wctx = shash_desc_ctx(desc);
desc             1003 crypto/wp512.c static int wp512_update(struct shash_desc *desc, const u8 *source,
desc             1006 crypto/wp512.c 	struct wp512_ctx *wctx = shash_desc_ctx(desc);
desc             1065 crypto/wp512.c static int wp512_final(struct shash_desc *desc, u8 *out)
desc             1067 crypto/wp512.c 	struct wp512_ctx *wctx = shash_desc_ctx(desc);
desc             1100 crypto/wp512.c static int wp384_final(struct shash_desc *desc, u8 *out)
desc             1104 crypto/wp512.c 	wp512_final(desc, D);
desc             1111 crypto/wp512.c static int wp256_final(struct shash_desc *desc, u8 *out)
desc             1115 crypto/wp512.c 	wp512_final(desc, D);
desc               33 crypto/xxhash_generic.c static int xxhash64_init(struct shash_desc *desc)
desc               35 crypto/xxhash_generic.c 	struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc               36 crypto/xxhash_generic.c 	struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc);
desc               43 crypto/xxhash_generic.c static int xxhash64_update(struct shash_desc *desc, const u8 *data,
desc               46 crypto/xxhash_generic.c 	struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc);
desc               53 crypto/xxhash_generic.c static int xxhash64_final(struct shash_desc *desc, u8 *out)
desc               55 crypto/xxhash_generic.c 	struct xxhash64_desc_ctx *dctx = shash_desc_ctx(desc);
desc               62 crypto/xxhash_generic.c static int xxhash64_digest(struct shash_desc *desc, const u8 *data,
desc               65 crypto/xxhash_generic.c 	struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm);
desc               55 drivers/acpi/acpi_apd.c #define APD_ADDR(desc)	((unsigned long)&desc)
desc              182 drivers/acpi/acpi_apd.c #define APD_ADDR(desc) (0UL)
desc               37 drivers/acpi/acpi_lpss.c #define LPSS_ADDR(desc) ((unsigned long)&desc)
desc              324 drivers/acpi/acpi_lpss.c #define LPSS_ADDR(desc) (0UL)
desc              465 drivers/acpi/apei/apei-base.c 			   const char *desc)
desc              502 drivers/acpi/apei/apei-base.c 				       desc);
desc              507 drivers/acpi/apei/apei-base.c 			       (unsigned long long)res->end - 1, desc);
desc              514 drivers/acpi/apei/apei-base.c 		r = request_region(res->start, res->end - res->start, desc);
desc              519 drivers/acpi/apei/apei-base.c 			       (unsigned long long)res->end - 1, desc);
desc              116 drivers/acpi/apei/apei-internal.h 			   const char *desc);
desc              328 drivers/acpi/cppc_acpi.c 				struct cpc_desc *desc = per_cpu(cpc_desc_ptr, i);
desc              329 drivers/acpi/cppc_acpi.c 				if (!desc)
desc              332 drivers/acpi/cppc_acpi.c 				if (desc->write_cmd_id == pcc_ss_data->pcc_write_cnt)
desc              333 drivers/acpi/cppc_acpi.c 					desc->write_cmd_status = ret;
desc              444 drivers/acpi/nfit/core.c 	const struct nd_cmd_desc *desc = NULL;
desc              473 drivers/acpi/nfit/core.c 		desc = nd_cmd_dimm_desc(cmd);
desc              482 drivers/acpi/nfit/core.c 		desc = nd_cmd_bus_desc(cmd);
desc              488 drivers/acpi/nfit/core.c 	if (!desc || (cmd && (desc->out_num + desc->in_num == 0)))
desc              509 drivers/acpi/nfit/core.c 	for (i = 0; i < desc->in_num; i++)
desc              510 drivers/acpi/nfit/core.c 		in_buf.buffer.length += nd_cmd_in_size(nvdimm, cmd, desc,
desc              587 drivers/acpi/nfit/core.c 	for (i = 0, offset = 0; i < desc->out_num; i++) {
desc              588 drivers/acpi/nfit/core.c 		u32 out_size = nd_cmd_out_size(nvdimm, cmd, desc, i, buf,
desc             2839 drivers/acpi/nfit/core.c 	res->desc = IORES_DESC_PERSISTENT_MEMORY;
desc               88 drivers/acpi/osl.c 	unsigned int length, char *desc)
desc               99 drivers/acpi/osl.c 		request_region(addr, length, desc);
desc              101 drivers/acpi/osl.c 		request_mem_region(addr, length, desc);
desc              125 drivers/acpi/pci_root.c 	char *desc;
desc              157 drivers/acpi/pci_root.c 					len ? " " : "", entry->desc);
desc              273 drivers/acpi/processor_idle.c 	snprintf(pr->power.states[ACPI_STATE_C2].desc,
desc              276 drivers/acpi/processor_idle.c 	snprintf(pr->power.states[ACPI_STATE_C3].desc,
desc              292 drivers/acpi/processor_idle.c 		snprintf(pr->power.states[ACPI_STATE_C1].desc,
desc              396 drivers/acpi/processor_idle.c 				snprintf(cx.desc, ACPI_CX_DESC_LEN, "ACPI HLT");
desc              413 drivers/acpi/processor_idle.c 				snprintf(cx.desc, ACPI_CX_DESC_LEN, "ACPI HLT");
desc              416 drivers/acpi/processor_idle.c 			snprintf(cx.desc, ACPI_CX_DESC_LEN, "ACPI IOPORT 0x%x",
desc              868 drivers/acpi/processor_idle.c 		strlcpy(state->desc, cx->desc, CPUIDLE_DESC_LEN);
desc             1039 drivers/acpi/processor_idle.c 			strlcpy(lpi_state->desc, obj->string.pointer,
desc             1105 drivers/acpi/processor_idle.c 	strlcpy(result->desc, local->desc, ACPI_CX_DESC_LEN);
desc             1106 drivers/acpi/processor_idle.c 	strlcat(result->desc, "+", ACPI_CX_DESC_LEN);
desc             1107 drivers/acpi/processor_idle.c 	strlcat(result->desc, parent->desc, ACPI_CX_DESC_LEN);
desc             1274 drivers/acpi/processor_idle.c 		strlcpy(state->desc, lpi->desc, CPUIDLE_DESC_LEN);
desc             1305 drivers/acpi/processor_idle.c 		drv->states[i].desc[0] = '\0';
desc               56 drivers/acpi/property.c 					   const union acpi_object *desc,
desc               59 drivers/acpi/property.c static bool acpi_extract_properties(const union acpi_object *desc,
desc               62 drivers/acpi/property.c static bool acpi_nondev_subnode_extract(const union acpi_object *desc,
desc               81 drivers/acpi/property.c 	result = acpi_extract_properties(desc, &dn->data);
desc               95 drivers/acpi/property.c 		    && acpi_enumerate_nondev_subnodes(scope, desc, &dn->data,
desc               98 drivers/acpi/property.c 	} else if (acpi_enumerate_nondev_subnodes(NULL, desc, &dn->data,
desc              105 drivers/acpi/property.c 		dn->data.pointer = desc;
desc              164 drivers/acpi/property.c 		const union acpi_object *link, *desc;
desc              189 drivers/acpi/property.c 			desc = &link->package.elements[1];
desc              190 drivers/acpi/property.c 			result = acpi_nondev_subnode_extract(desc, NULL, link,
desc              204 drivers/acpi/property.c 					   const union acpi_object *desc,
desc              211 drivers/acpi/property.c 	for (i = 0; i < desc->package.count; i += 2) {
desc              214 drivers/acpi/property.c 		guid = &desc->package.elements[i];
desc              215 drivers/acpi/property.c 		links = &desc->package.elements[i + 1];
desc              340 drivers/acpi/property.c static bool acpi_extract_properties(const union acpi_object *desc,
desc              345 drivers/acpi/property.c 	if (desc->package.count % 2)
desc              349 drivers/acpi/property.c 	for (i = 0; i < desc->package.count; i += 2) {
desc              352 drivers/acpi/property.c 		guid = &desc->package.elements[i];
desc              353 drivers/acpi/property.c 		properties = &desc->package.elements[i + 1];
desc              368 drivers/android/binder.c 	uint32_t desc;
desc             1395 drivers/android/binder.c 						 u32 desc, bool need_strong_ref)
desc             1403 drivers/android/binder.c 		if (desc < ref->data.desc) {
desc             1405 drivers/android/binder.c 		} else if (desc > ref->data.desc) {
desc             1467 drivers/android/binder.c 	new_ref->data.desc = (node == context->binder_context_mgr_node) ? 0 : 1;
desc             1470 drivers/android/binder.c 		if (ref->data.desc > new_ref->data.desc)
desc             1472 drivers/android/binder.c 		new_ref->data.desc = ref->data.desc + 1;
desc             1480 drivers/android/binder.c 		if (new_ref->data.desc < ref->data.desc)
desc             1482 drivers/android/binder.c 		else if (new_ref->data.desc > ref->data.desc)
desc             1495 drivers/android/binder.c 		      proc->pid, new_ref->data.debug_id, new_ref->data.desc,
desc             1507 drivers/android/binder.c 		      ref->proc->pid, ref->data.debug_id, ref->data.desc,
desc             1536 drivers/android/binder.c 			      ref->data.desc);
desc             1591 drivers/android/binder.c 					  ref->data.desc, ref->data.strong,
desc             1602 drivers/android/binder.c 					  ref->data.desc, ref->data.strong,
desc             1628 drivers/android/binder.c 		u32 desc, bool need_strong_ref,
desc             1635 drivers/android/binder.c 	ref = binder_get_ref_olocked(proc, desc, need_strong_ref);
desc             1684 drivers/android/binder.c 		uint32_t desc, bool increment, bool strong,
desc             1692 drivers/android/binder.c 	ref = binder_get_ref_olocked(proc, desc, strong);
desc             1727 drivers/android/binder.c 		uint32_t desc, bool strong, struct binder_ref_data *rdata)
desc             1729 drivers/android/binder.c 	return binder_update_ref_for_handle(proc, desc, false, strong, rdata);
desc             2337 drivers/android/binder.c 				     rdata.debug_id, rdata.desc);
desc             2476 drivers/android/binder.c 	fp->handle = rdata.desc;
desc             2483 drivers/android/binder.c 		     rdata.debug_id, rdata.desc);
desc             2533 drivers/android/binder.c 			     src_rdata.debug_id, src_rdata.desc, node->debug_id,
desc             2547 drivers/android/binder.c 		fp->handle = dest_rdata.desc;
desc             2553 drivers/android/binder.c 			     src_rdata.debug_id, src_rdata.desc,
desc             2554 drivers/android/binder.c 			     dest_rdata.debug_id, dest_rdata.desc,
desc             3650 drivers/android/binder.c 			if (!ret && rdata.desc != target) {
desc             3653 drivers/android/binder.c 					target, rdata.desc);
desc             3679 drivers/android/binder.c 				     rdata.debug_id, rdata.desc, rdata.strong,
desc             3906 drivers/android/binder.c 				     ref->data.desc, ref->data.strong,
desc             5699 drivers/android/binder.c 		   ref->data.debug_id, ref->data.desc,
desc              156 drivers/android/binder_trace.h 		__entry->ref_desc = rdata->desc;
desc              179 drivers/android/binder_trace.h 		__entry->ref_desc = rdata->desc;
desc              207 drivers/android/binder_trace.h 		__entry->src_ref_desc = src_ref->desc;
desc              209 drivers/android/binder_trace.h 		__entry->dest_ref_desc = dest_ref->desc;
desc             2257 drivers/ata/libata-core.c 			       char *desc, size_t desc_sz)
desc             2265 drivers/ata/libata-core.c 		desc[0] = '\0';
desc             2269 drivers/ata/libata-core.c 		snprintf(desc, desc_sz, "NCQ (not used)");
desc             2295 drivers/ata/libata-core.c 		snprintf(desc, desc_sz, "NCQ (depth %d)%s", ddepth, aa_desc);
desc             2297 drivers/ata/libata-core.c 		snprintf(desc, desc_sz, "NCQ (depth %d/%d)%s", hdepth,
desc             6586 drivers/ata/libata-core.c 				      ap->link.eh_info.desc);
desc              164 drivers/ata/libata-eh.c 	ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len,
desc              222 drivers/ata/libata-eh.c 	ehi->desc[0] = '\0';
desc             2415 drivers/ata/libata-eh.c 	const char *frozen, *desc;
desc             2422 drivers/ata/libata-eh.c 	desc = NULL;
desc             2423 drivers/ata/libata-eh.c 	if (ehc->i.desc[0] != '\0')
desc             2424 drivers/ata/libata-eh.c 		desc = ehc->i.desc;
desc             2454 drivers/ata/libata-eh.c 		if (desc)
desc             2455 drivers/ata/libata-eh.c 			ata_dev_err(ehc->i.dev, "%s\n", desc);
desc             2461 drivers/ata/libata-eh.c 		if (desc)
desc             2462 drivers/ata/libata-eh.c 			ata_link_err(link, "%s\n", desc);
desc              639 drivers/ata/libata-scsi.c 		u8 *desc = sensebuf + 8;
desc              652 drivers/ata/libata-scsi.c 		    desc[0] == 0x09) {		/* code is "ATA Descriptor" */
desc              653 drivers/ata/libata-scsi.c 			args[0] = desc[13];	/* status */
desc              654 drivers/ata/libata-scsi.c 			args[1] = desc[3];	/* error */
desc              655 drivers/ata/libata-scsi.c 			args[2] = desc[5];	/* sector count (0:7) */
desc              720 drivers/ata/libata-scsi.c 		u8 *desc = sensebuf + 8;
desc              733 drivers/ata/libata-scsi.c 				desc[0] == 0x09) {/* code is "ATA Descriptor" */
desc              734 drivers/ata/libata-scsi.c 			args[0] = desc[13];	/* status */
desc              735 drivers/ata/libata-scsi.c 			args[1] = desc[3];	/* error */
desc              736 drivers/ata/libata-scsi.c 			args[2] = desc[5];	/* sector count (0:7) */
desc              737 drivers/ata/libata-scsi.c 			args[3] = desc[7];	/* lbal */
desc              738 drivers/ata/libata-scsi.c 			args[4] = desc[9];	/* lbam */
desc              739 drivers/ata/libata-scsi.c 			args[5] = desc[11];	/* lbah */
desc              740 drivers/ata/libata-scsi.c 			args[6] = desc[12];	/* select */
desc             1073 drivers/ata/libata-scsi.c 	unsigned char *desc = sb + 8;
desc             1104 drivers/ata/libata-scsi.c 		desc = (char *)scsi_sense_desc_find(sb, len + 8, 9);
desc             1105 drivers/ata/libata-scsi.c 		if (!desc) {
desc             1109 drivers/ata/libata-scsi.c 			desc = sb + 8 + len;
desc             1111 drivers/ata/libata-scsi.c 		desc[0] = 9;
desc             1112 drivers/ata/libata-scsi.c 		desc[1] = 12;
desc             1116 drivers/ata/libata-scsi.c 		desc[2] = 0x00;
desc             1117 drivers/ata/libata-scsi.c 		desc[3] = tf->feature;	/* == error reg */
desc             1118 drivers/ata/libata-scsi.c 		desc[5] = tf->nsect;
desc             1119 drivers/ata/libata-scsi.c 		desc[7] = tf->lbal;
desc             1120 drivers/ata/libata-scsi.c 		desc[9] = tf->lbam;
desc             1121 drivers/ata/libata-scsi.c 		desc[11] = tf->lbah;
desc             1122 drivers/ata/libata-scsi.c 		desc[12] = tf->device;
desc             1123 drivers/ata/libata-scsi.c 		desc[13] = tf->command; /* == status reg */
desc             1130 drivers/ata/libata-scsi.c 			desc[2] |= 0x01;
desc             1131 drivers/ata/libata-scsi.c 			desc[4] = tf->hob_nsect;
desc             1132 drivers/ata/libata-scsi.c 			desc[6] = tf->hob_lbal;
desc             1133 drivers/ata/libata-scsi.c 			desc[8] = tf->hob_lbam;
desc             1134 drivers/ata/libata-scsi.c 			desc[10] = tf->hob_lbah;
desc             1138 drivers/ata/libata-scsi.c 		desc[0] = tf->feature;
desc             1139 drivers/ata/libata-scsi.c 		desc[1] = tf->command; /* status */
desc             1140 drivers/ata/libata-scsi.c 		desc[2] = tf->device;
desc             1141 drivers/ata/libata-scsi.c 		desc[3] = tf->nsect;
desc             1142 drivers/ata/libata-scsi.c 		desc[7] = 0;
desc             1144 drivers/ata/libata-scsi.c 			desc[8] |= 0x80;
desc             1146 drivers/ata/libata-scsi.c 				desc[8] |= 0x40;
desc             1148 drivers/ata/libata-scsi.c 				desc[8] |= 0x20;
desc             1150 drivers/ata/libata-scsi.c 		desc[9] = tf->lbal;
desc             1151 drivers/ata/libata-scsi.c 		desc[10] = tf->lbam;
desc             1152 drivers/ata/libata-scsi.c 		desc[11] = tf->lbah;
desc               57 drivers/ata/libata-zpodd.c 	struct rm_feature_desc *desc;
desc               70 drivers/ata/libata-zpodd.c 	desc = (void *)(buf + 8);
desc               85 drivers/ata/libata-zpodd.c 	if (be16_to_cpu(desc->feature_code) != 3) {
desc               90 drivers/ata/libata-zpodd.c 	if (desc->mech_type == 0 && desc->load == 0 && desc->eject == 1) {
desc               93 drivers/ata/libata-zpodd.c 	} else if (desc->mech_type == 1 && desc->load == 0 &&
desc               94 drivers/ata/libata-zpodd.c 		   desc->eject == 1) {
desc              157 drivers/ata/sata_dwc_460ex.c 	struct dma_async_tx_descriptor	*desc[SATA_DWC_QCMD_MAX];
desc              369 drivers/ata/sata_dwc_460ex.c 	struct dma_async_tx_descriptor *desc;
desc              388 drivers/ata/sata_dwc_460ex.c 	desc = dmaengine_prep_slave_sg(hsdevp->chan, qc->sg, qc->n_elem,
desc              392 drivers/ata/sata_dwc_460ex.c 	if (!desc)
desc              395 drivers/ata/sata_dwc_460ex.c 	desc->callback = dma_dwc_xfer_done;
desc              396 drivers/ata/sata_dwc_460ex.c 	desc->callback_param = hsdev;
desc              401 drivers/ata/sata_dwc_460ex.c 	return desc;
desc             1014 drivers/ata/sata_dwc_460ex.c 	struct dma_async_tx_descriptor *desc = hsdevp->desc[tag];
desc             1051 drivers/ata/sata_dwc_460ex.c 		dmaengine_submit(desc);
desc             1091 drivers/ata/sata_dwc_460ex.c 		hsdevp->desc[tag] = dma_dwc_xfer_setup(qc);
desc             1092 drivers/ata/sata_dwc_460ex.c 		if (!hsdevp->desc[tag])
desc             1095 drivers/ata/sata_dwc_460ex.c 		hsdevp->desc[tag] = NULL;
desc              263 drivers/ata/sata_sil24.c 	const char *desc;
desc             1057 drivers/ata/sata_sil24.c 		if (ci && ci->desc) {
desc             1062 drivers/ata/sata_sil24.c 			ata_ehi_push_desc(ehi, "%s", ci->desc);
desc             1082 drivers/atm/iphase.c static void free_desc(struct atm_dev *dev, int desc)  
desc             1086 drivers/atm/iphase.c         writew(desc, iadev->reass_ram+iadev->rfL.fdq_wr); 
desc             1100 drivers/atm/iphase.c 	int desc;   
desc             1113 drivers/atm/iphase.c 	desc = readw(iadev->reass_ram+iadev->rfL.pcq_rd) & 0x1fff;  
desc             1115 drivers/atm/iphase.c                                     iadev->reass_ram, iadev->rfL.pcq_rd, desc);
desc             1130 drivers/atm/iphase.c 	buf_desc_ptr += desc;	  
desc             1131 drivers/atm/iphase.c         if (!desc || (desc > iadev->num_rx_desc) || 
desc             1133 drivers/atm/iphase.c             free_desc(dev, desc);
desc             1134 drivers/atm/iphase.c             IF_ERR(printk("IA: bad descriptor desc = %d \n", desc);)
desc             1140 drivers/atm/iphase.c                 free_desc(dev, desc); 
desc             1185 drivers/atm/iphase.c         ATM_DESC(skb) = desc;        
desc             1205 drivers/atm/iphase.c         free_desc(dev, desc);
desc             1276 drivers/atm/iphase.c   int desc;  
desc             1297 drivers/atm/iphase.c       desc = ATM_DESC(skb);
desc             1298 drivers/atm/iphase.c       free_desc(dev, desc);  
desc             2208 drivers/atm/iphase.c 		struct cpcs_trailer_desc *desc = iadev->tx_buf + i;
desc             2210 drivers/atm/iphase.c 		dma_unmap_single(&iadev->pci->dev, desc->dma_addr,
desc             2211 drivers/atm/iphase.c 				 sizeof(*desc->cpcs), DMA_TO_DEVICE);
desc             2212 drivers/atm/iphase.c 		kfree(desc->cpcs);
desc             2486 drivers/atm/iphase.c 		struct cpcs_trailer_desc *desc = iadev->tx_buf + i;
desc             2488 drivers/atm/iphase.c 		dma_unmap_single(&iadev->pci->dev, desc->dma_addr,
desc             2489 drivers/atm/iphase.c 				 sizeof(*desc->cpcs), DMA_TO_DEVICE);
desc             2490 drivers/atm/iphase.c 		kfree(desc->cpcs);
desc             2901 drivers/atm/iphase.c         int desc;
desc             2939 drivers/atm/iphase.c 	desc = get_desc (iadev, iavcc);
desc             2940 drivers/atm/iphase.c 	if (desc == 0xffff) 
desc             2942 drivers/atm/iphase.c 	comp_code = desc >> 13;  
desc             2943 drivers/atm/iphase.c 	desc &= 0x1fff;  
desc             2945 drivers/atm/iphase.c 	if ((desc == 0) || (desc > iadev->num_tx_desc))  
desc             2947 drivers/atm/iphase.c 		IF_ERR(printk(DEV_LABEL "invalid desc for send: %d\n", desc);) 
desc             2959 drivers/atm/iphase.c                                                             desc, comp_code);)  
desc             2964 drivers/atm/iphase.c         iadev->desc_tbl[desc-1].iavcc = iavcc;
desc             2965 drivers/atm/iphase.c         iadev->desc_tbl[desc-1].txskb = skb;
desc             2976 drivers/atm/iphase.c 	*(u16*)(iadev->seg_ram+iadev->ffL.prq_wr) = desc; 
desc             2989 drivers/atm/iphase.c 	trailer = iadev->tx_buf[desc-1].cpcs;
desc             2991 drivers/atm/iphase.c                   skb, skb->data, skb->len, desc);)
desc             3005 drivers/atm/iphase.c 	buf_desc_ptr += desc;	/* points to the corresponding entry */  
desc             3037 drivers/atm/iphase.c         wr_ptr->sys_pkt_addr = iadev->tx_buf[desc-1].dma_addr;
desc              300 drivers/atm/iphase.h 	int 	desc;	/* Descriptor number */  
desc               39 drivers/base/platform-msi.c static irq_hw_number_t platform_msi_calc_hwirq(struct msi_desc *desc)
desc               43 drivers/base/platform-msi.c 	devid = desc->platform.msi_priv_data->devid;
desc               45 drivers/base/platform-msi.c 	return (devid << (32 - DEV_ID_SHIFT)) | desc->platform.msi_index;
desc               48 drivers/base/platform-msi.c static void platform_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc)
desc               50 drivers/base/platform-msi.c 	arg->desc = desc;
desc               51 drivers/base/platform-msi.c 	arg->hwirq = platform_msi_calc_hwirq(desc);
desc               81 drivers/base/platform-msi.c 	struct msi_desc *desc = irq_data_get_msi_desc(data);
desc               84 drivers/base/platform-msi.c 	priv_data = desc->platform.msi_priv_data;
desc               86 drivers/base/platform-msi.c 	priv_data->write_msg(desc, msg);
desc              111 drivers/base/platform-msi.c 	struct msi_desc *desc, *tmp;
desc              113 drivers/base/platform-msi.c 	list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) {
desc              114 drivers/base/platform-msi.c 		if (desc->platform.msi_index >= base &&
desc              115 drivers/base/platform-msi.c 		    desc->platform.msi_index < (base + nvec)) {
desc              116 drivers/base/platform-msi.c 			list_del(&desc->list);
desc              117 drivers/base/platform-msi.c 			free_msi_entry(desc);
desc              127 drivers/base/platform-msi.c 	struct msi_desc *desc;
desc              131 drivers/base/platform-msi.c 		desc = list_last_entry(dev_to_msi_list(dev),
desc              133 drivers/base/platform-msi.c 		base = desc->platform.msi_index + 1;
desc              137 drivers/base/platform-msi.c 		desc = alloc_msi_entry(dev, 1, NULL);
desc              138 drivers/base/platform-msi.c 		if (!desc)
desc              141 drivers/base/platform-msi.c 		desc->platform.msi_priv_data = data;
desc              142 drivers/base/platform-msi.c 		desc->platform.msi_index = base + i;
desc              143 drivers/base/platform-msi.c 		desc->irq = virq ? virq + i : 0;
desc              145 drivers/base/platform-msi.c 		list_add_tail(&desc->list, dev_to_msi_list(dev));
desc              287 drivers/base/platform-msi.c 		struct msi_desc *desc;
desc              289 drivers/base/platform-msi.c 		desc = first_msi_entry(dev);
desc              290 drivers/base/platform-msi.c 		platform_msi_free_priv_data(desc->platform.msi_priv_data);
desc              371 drivers/base/platform-msi.c 	struct msi_desc *desc, *tmp;
desc              372 drivers/base/platform-msi.c 	for_each_msi_entry_safe(desc, tmp, data->dev) {
desc              373 drivers/base/platform-msi.c 		if (WARN_ON(!desc->irq || desc->nvec_used != 1))
desc              375 drivers/base/platform-msi.c 		if (!(desc->irq >= virq && desc->irq < (virq + nvec)))
desc              378 drivers/base/platform-msi.c 		irq_domain_free_irqs_common(domain, desc->irq, 1);
desc              379 drivers/base/platform-msi.c 		list_del(&desc->list);
desc              380 drivers/base/platform-msi.c 		free_msi_entry(desc);
desc              426 drivers/block/ataflop.c static int do_format(int drive, int type, struct atari_format_descr *desc);
desc              724 drivers/block/ataflop.c static int do_format(int drive, int type, struct atari_format_descr *desc)
desc              750 drivers/block/ataflop.c 	if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) {
desc              768 drivers/block/ataflop.c 		*p++ = desc->track;
desc              769 drivers/block/ataflop.c 		*p++ = desc->head;
desc              770 drivers/block/ataflop.c 		*p++ = (nsect + sect - desc->sect_offset) % nsect + 1;
desc              785 drivers/block/ataflop.c 	ReqTrack = desc->track;
desc              786 drivers/block/ataflop.c 	ReqSide  = desc->head;
desc             5420 drivers/block/drbd/drbd_receiver.c 	struct shash_desc *desc;
desc             5433 drivers/block/drbd/drbd_receiver.c 	desc = kmalloc(sizeof(struct shash_desc) +
desc             5436 drivers/block/drbd/drbd_receiver.c 	if (!desc) {
desc             5440 drivers/block/drbd/drbd_receiver.c 	desc->tfm = connection->cram_hmac_tfm;
desc             5513 drivers/block/drbd/drbd_receiver.c 	rv = crypto_shash_digest(desc, peers_ch, pi.size, response);
desc             5561 drivers/block/drbd/drbd_receiver.c 	rv = crypto_shash_digest(desc, my_challenge, CHALLENGE_LEN,
desc             5581 drivers/block/drbd/drbd_receiver.c 	if (desc) {
desc             5582 drivers/block/drbd/drbd_receiver.c 		shash_desc_zero(desc);
desc             5583 drivers/block/drbd/drbd_receiver.c 		kfree(desc);
desc              288 drivers/block/drbd/drbd_worker.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc              294 drivers/block/drbd/drbd_worker.c 	desc->tfm = tfm;
desc              296 drivers/block/drbd/drbd_worker.c 	crypto_shash_init(desc);
desc              301 drivers/block/drbd/drbd_worker.c 		crypto_shash_update(desc, src, PAGE_SIZE);
desc              308 drivers/block/drbd/drbd_worker.c 	crypto_shash_update(desc, src, len ?: PAGE_SIZE);
desc              311 drivers/block/drbd/drbd_worker.c 	crypto_shash_final(desc, digest);
desc              312 drivers/block/drbd/drbd_worker.c 	shash_desc_zero(desc);
desc              317 drivers/block/drbd/drbd_worker.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc              321 drivers/block/drbd/drbd_worker.c 	desc->tfm = tfm;
desc              323 drivers/block/drbd/drbd_worker.c 	crypto_shash_init(desc);
desc              329 drivers/block/drbd/drbd_worker.c 		crypto_shash_update(desc, src + bvec.bv_offset, bvec.bv_len);
desc              337 drivers/block/drbd/drbd_worker.c 	crypto_shash_final(desc, digest);
desc              338 drivers/block/drbd/drbd_worker.c 	shash_desc_zero(desc);
desc              297 drivers/block/sunvdc.c static void vdc_end_special(struct vdc_port *port, struct vio_disk_desc *desc)
desc              299 drivers/block/sunvdc.c 	int err = desc->status;
desc              307 drivers/block/sunvdc.c 	struct vio_disk_desc *desc = vio_dring_entry(dr, index);
desc              311 drivers/block/sunvdc.c 	if (unlikely(desc->hdr.state != VIO_DESC_DONE))
desc              314 drivers/block/sunvdc.c 	ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies);
desc              315 drivers/block/sunvdc.c 	desc->hdr.state = VIO_DESC_FREE;
desc              320 drivers/block/sunvdc.c 		vdc_end_special(port, desc);
desc              326 drivers/block/sunvdc.c 	blk_mq_end_request(req, desc->status ? BLK_STS_IOERR : 0);
desc              465 drivers/block/sunvdc.c 	struct vio_disk_desc *desc;
desc              491 drivers/block/sunvdc.c 	desc = vio_dring_cur(dr);
desc              494 drivers/block/sunvdc.c 			 desc->cookies, port->ring_cookies,
desc              504 drivers/block/sunvdc.c 	desc->hdr.ack = VIO_ACK_ENABLE;
desc              505 drivers/block/sunvdc.c 	desc->req_id = port->req_id;
desc              506 drivers/block/sunvdc.c 	desc->operation = op;
desc              508 drivers/block/sunvdc.c 		desc->slice = 0xff;
desc              510 drivers/block/sunvdc.c 		desc->slice = 0;
desc              512 drivers/block/sunvdc.c 	desc->status = ~0;
desc              513 drivers/block/sunvdc.c 	desc->offset = (blk_rq_pos(req) << 9) / port->vdisk_block_size;
desc              514 drivers/block/sunvdc.c 	desc->size = len;
desc              515 drivers/block/sunvdc.c 	desc->ncookies = err;
desc              521 drivers/block/sunvdc.c 	desc->hdr.state = VIO_DESC_READY;
desc              574 drivers/block/sunvdc.c 	struct vio_disk_desc *desc;
desc              659 drivers/block/sunvdc.c 	desc = vio_dring_cur(dr);
desc              662 drivers/block/sunvdc.c 			     desc->cookies, port->ring_cookies,
desc              674 drivers/block/sunvdc.c 	desc->hdr.ack = VIO_ACK_ENABLE;
desc              675 drivers/block/sunvdc.c 	desc->req_id = port->req_id;
desc              676 drivers/block/sunvdc.c 	desc->operation = op;
desc              677 drivers/block/sunvdc.c 	desc->slice = 0;
desc              678 drivers/block/sunvdc.c 	desc->status = ~0;
desc              679 drivers/block/sunvdc.c 	desc->offset = 0;
desc              680 drivers/block/sunvdc.c 	desc->size = op_len;
desc              681 drivers/block/sunvdc.c 	desc->ncookies = err;
desc              687 drivers/block/sunvdc.c 	desc->hdr.state = VIO_DESC_READY;
desc             1105 drivers/block/sunvdc.c 		struct vio_disk_desc *desc = vio_dring_entry(dr, idx);
desc             1109 drivers/block/sunvdc.c 		ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies);
desc             1110 drivers/block/sunvdc.c 		desc->hdr.state = VIO_DESC_FREE;
desc             1115 drivers/block/sunvdc.c 			vdc_end_special(port, desc);
desc              808 drivers/block/sx8.c 	struct carm_array_info *desc = (struct carm_array_info *) msg_data;
desc              817 drivers/block/sx8.c 	if (le32_to_cpu(desc->array_status) & ARRAY_NO_EXIST)
desc              825 drivers/block/sx8.c 		       cur_port, (int) desc->array_id);
desc              831 drivers/block/sx8.c 	lo = (u64) le32_to_cpu(desc->size);
desc              832 drivers/block/sx8.c 	hi = (u64) le16_to_cpu(desc->size_hi);
desc              835 drivers/block/sx8.c 	port->dev_geom_head = le16_to_cpu(desc->head);
desc              836 drivers/block/sx8.c 	port->dev_geom_sect = le16_to_cpu(desc->sect);
desc              837 drivers/block/sx8.c 	port->dev_geom_cyl = le16_to_cpu(desc->cyl);
desc              841 drivers/block/sx8.c 	strncpy(port->name, desc->name, sizeof(port->name));
desc              114 drivers/block/umem.c 		struct mm_dma_desc	*desc;
desc              255 drivers/block/umem.c 	struct mm_dma_desc *desc;
desc              263 drivers/block/umem.c 	desc = &page->desc[page->cnt-1];
desc              265 drivers/block/umem.c 	desc->control_bits |= cpu_to_le32(DMASCR_CHAIN_COMP_EN);
desc              266 drivers/block/umem.c 	desc->control_bits &= ~cpu_to_le32(DMASCR_CHAIN_EN);
desc              267 drivers/block/umem.c 	desc->sem_control_bits = desc->control_bits;
desc              273 drivers/block/umem.c 	desc = &page->desc[page->headcnt];
desc              286 drivers/block/umem.c 	offset = ((char *)desc) - ((char *)page->desc);
desc              339 drivers/block/umem.c 	struct mm_dma_desc *desc;
desc              371 drivers/block/umem.c 	desc = &p->desc[p->cnt];
desc              381 drivers/block/umem.c 	desc->data_dma_handle = dma_handle;
desc              383 drivers/block/umem.c 	desc->pci_addr = cpu_to_le64((u64)desc->data_dma_handle);
desc              384 drivers/block/umem.c 	desc->local_addr = cpu_to_le64(card->current_iter.bi_sector << 9);
desc              385 drivers/block/umem.c 	desc->transfer_size = cpu_to_le32(vec.bv_len);
desc              386 drivers/block/umem.c 	offset = (((char *)&desc->sem_control_bits) - ((char *)p->desc));
desc              387 drivers/block/umem.c 	desc->sem_addr = cpu_to_le64((u64)(p->page_dma+offset));
desc              388 drivers/block/umem.c 	desc->zero1 = desc->zero2 = 0;
desc              389 drivers/block/umem.c 	offset = (((char *)(desc+1)) - ((char *)p->desc));
desc              390 drivers/block/umem.c 	desc->next_desc_addr = cpu_to_le64(p->page_dma+offset);
desc              391 drivers/block/umem.c 	desc->control_bits = cpu_to_le32(DMASCR_GO|DMASCR_ERR_INT_EN|
desc              397 drivers/block/umem.c 		desc->control_bits |= cpu_to_le32(DMASCR_TRANSFER_READ);
desc              398 drivers/block/umem.c 	desc->sem_control_bits = desc->control_bits;
desc              428 drivers/block/umem.c 		struct mm_dma_desc *desc = &page->desc[page->headcnt];
desc              429 drivers/block/umem.c 		int control = le32_to_cpu(desc->sem_control_bits);
desc              448 drivers/block/umem.c 		dma_unmap_page(&card->dev->dev, desc->data_dma_handle,
desc              457 drivers/block/umem.c 				le32_to_cpu(desc->local_addr)>>9,
desc              458 drivers/block/umem.c 				le32_to_cpu(desc->transfer_size));
desc              461 drivers/block/umem.c 			   le32_to_cpu(desc->local_addr) >> 9 ==
desc              463 drivers/block/umem.c 			card->init_size += le32_to_cpu(desc->transfer_size) >> 9;
desc              871 drivers/block/umem.c 	card->mm_pages[0].desc = dma_alloc_coherent(&card->dev->dev,
desc              873 drivers/block/umem.c 	card->mm_pages[1].desc = dma_alloc_coherent(&card->dev->dev,
desc              875 drivers/block/umem.c 	if (card->mm_pages[0].desc == NULL ||
desc              876 drivers/block/umem.c 	    card->mm_pages[1].desc == NULL) {
desc              998 drivers/block/umem.c 	if (card->mm_pages[0].desc)
desc             1000 drivers/block/umem.c 				  card->mm_pages[0].desc,
desc             1002 drivers/block/umem.c 	if (card->mm_pages[1].desc)
desc             1004 drivers/block/umem.c 				  card->mm_pages[1].desc,
desc             1023 drivers/block/umem.c 	if (card->mm_pages[0].desc)
desc             1025 drivers/block/umem.c 				    card->mm_pages[0].desc,
desc             1027 drivers/block/umem.c 	if (card->mm_pages[1].desc)
desc             1029 drivers/block/umem.c 				    card->mm_pages[1].desc,
desc              581 drivers/block/virtio_blk.c 	struct irq_affinity desc = { 0, };
desc              610 drivers/block/virtio_blk.c 	err = virtio_find_vqs(vdev, num_vqs, vqs, callbacks, names, &desc);
desc              503 drivers/bluetooth/ath3k.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc              162 drivers/bluetooth/bcm203x.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc              611 drivers/bluetooth/bfusb.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 2)
desc              628 drivers/bluetooth/bfusb.c 	data->bulk_in_ep    = bulk_in_ep->desc.bEndpointAddress;
desc              629 drivers/bluetooth/bfusb.c 	data->bulk_out_ep   = bulk_out_ep->desc.bEndpointAddress;
desc              630 drivers/bluetooth/bfusb.c 	data->bulk_pkt_size = le16_to_cpu(bulk_out_ep->desc.wMaxPacketSize);
desc              371 drivers/bluetooth/bpa10x.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc             1503 drivers/bluetooth/btusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc             1504 drivers/bluetooth/btusb.c 		ep_desc = &intf->cur_altsetting->endpoint[i].desc;
desc             3428 drivers/bluetooth/btusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc             3431 drivers/bluetooth/btusb.c 		ep_desc = &intf->cur_altsetting->endpoint[i].desc;
desc             3586 drivers/bluetooth/btusb.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 0) {
desc             3589 drivers/bluetooth/btusb.c 		if (intf->cur_altsetting->desc.bInterfaceNumber != 2)
desc             3593 drivers/bluetooth/btusb.c 	ifnum_base = intf->cur_altsetting->desc.bInterfaceNumber;
desc             3621 drivers/bluetooth/btusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc             3622 drivers/bluetooth/btusb.c 		ep_desc = &intf->cur_altsetting->endpoint[i].desc;
desc              202 drivers/bluetooth/hci_bcsp.c 			u8 desc = *(data + HCI_COMMAND_HDR_SIZE);
desc              204 drivers/bluetooth/hci_bcsp.c 			if ((desc & 0xf0) == 0xc0) {
desc              207 drivers/bluetooth/hci_bcsp.c 				chan = desc & 0x0f;
desc              535 drivers/bluetooth/hci_bcsp.c 		u8 desc = (bcsp->rx_skb->data[1] & 0x0f);
desc              537 drivers/bluetooth/hci_bcsp.c 		if (desc != 0 && desc != 1) {
desc              539 drivers/bluetooth/hci_bcsp.c 				desc |= 0xc0;
desc              541 drivers/bluetooth/hci_bcsp.c 				memcpy(skb_push(bcsp->rx_skb, 1), &desc, 1);
desc               25 drivers/bus/fsl-mc/fsl-mc-msi.c 						struct msi_desc *desc)
desc               31 drivers/bus/fsl-mc/fsl-mc-msi.c 	return (irq_hw_number_t)(desc->fsl_mc.msi_index + (dev->icid * 10000));
desc               35 drivers/bus/fsl-mc/fsl-mc-msi.c 				struct msi_desc *desc)
desc               37 drivers/bus/fsl-mc/fsl-mc-msi.c 	arg->desc = desc;
desc               38 drivers/bus/fsl-mc/fsl-mc-msi.c 	arg->hwirq = fsl_mc_domain_calc_hwirq(to_fsl_mc_device(desc->dev),
desc               39 drivers/bus/fsl-mc/fsl-mc-msi.c 					      desc);
desc              201 drivers/bus/fsl-mc/fsl-mc-msi.c 	struct msi_desc *desc, *tmp;
desc              203 drivers/bus/fsl-mc/fsl-mc-msi.c 	list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) {
desc              204 drivers/bus/fsl-mc/fsl-mc-msi.c 		list_del(&desc->list);
desc              205 drivers/bus/fsl-mc/fsl-mc-msi.c 		free_msi_entry(desc);
desc               29 drivers/bus/moxtet.c 	const char *desc;
desc               67 drivers/bus/moxtet.c 		mox_module_known(mdev->id) ? mox_module_table[mdev->id].desc
desc              370 drivers/bus/moxtet.c 				 mox_module_table[id].desc);
desc              375 drivers/bus/moxtet.c 					mox_module_table[id].desc);
desc               98 drivers/bus/ts-nbus.c 			gpiod_direction_input(ts_nbus->data->desc[i]);
desc              102 drivers/bus/ts-nbus.c 			gpiod_direction_output(ts_nbus->data->desc[i], 1);
desc              117 drivers/bus/ts-nbus.c 	gpiod_set_array_value_cansleep(8, ts_nbus->data->desc,
desc              143 drivers/bus/ts-nbus.c 		ret = gpiod_get_value_cansleep(gpios->desc[i]);
desc              163 drivers/bus/ts-nbus.c 	gpiod_set_array_value_cansleep(8, gpios->desc, gpios->info, values);
desc              213 drivers/char/tpm/tpm-interface.c 			 size_t min_rsp_body_length, const char *desc)
desc              225 drivers/char/tpm/tpm-interface.c 	    && err != TPM2_RC_TESTING && desc)
desc              227 drivers/char/tpm/tpm-interface.c 			desc);
desc              382 drivers/char/tpm/tpm.h 			 size_t min_rsp_body_length, const char *desc);
desc              395 drivers/char/tpm/tpm.h 		    const char *desc, size_t min_cap_length);
desc              451 drivers/char/tpm/tpm.h 			u32 *value, const char *desc);
desc              468 drivers/char/tpm/tpm1-cmd.c 		    const char *desc, size_t min_cap_length)
desc              491 drivers/char/tpm/tpm1-cmd.c 	rc = tpm_transmit_cmd(chip, &buf, min_cap_length, desc);
desc              693 drivers/char/tpm/tpm2-cmd.c 			const char *desc)
desc              662 drivers/char/tpm/tpm_tis_core.c 	const char *desc = "attempting to generate an interrupt";
desc              667 drivers/char/tpm/tpm_tis_core.c 		return tpm2_get_tpm_pt(chip, 0x100, &cap2, desc);
desc              669 drivers/char/tpm/tpm_tis_core.c 		return tpm1_getcap(chip, TPM_CAP_PROP_TIS_TIMEOUT, &cap, desc,
desc               26 drivers/clk/actions/owl-common.c static void owl_clk_set_regmap(const struct owl_clk_desc *desc,
desc               32 drivers/clk/actions/owl-common.c 	for (i = 0; i < desc->num_clks; i++) {
desc               33 drivers/clk/actions/owl-common.c 		clks = desc->clks[i];
desc               42 drivers/clk/actions/owl-common.c 			struct owl_clk_desc *desc)
desc               59 drivers/clk/actions/owl-common.c 	owl_clk_set_regmap(desc, regmap);
desc               60 drivers/clk/actions/owl-common.c 	desc->regmap = regmap;
desc               41 drivers/clk/actions/owl-common.h 			struct owl_clk_desc *desc);
desc              500 drivers/clk/actions/owl-s500.c 	struct owl_clk_desc *desc;
desc              502 drivers/clk/actions/owl-s500.c 	desc = &s500_clk_desc;
desc              503 drivers/clk/actions/owl-s500.c 	owl_clk_regmap_init(pdev, desc);
desc              505 drivers/clk/actions/owl-s500.c 	return owl_clk_probe(&pdev->dev, desc->hw_clks);
desc              612 drivers/clk/actions/owl-s700.c 	struct owl_clk_desc *desc;
desc              616 drivers/clk/actions/owl-s700.c 	desc = &s700_clk_desc;
desc              617 drivers/clk/actions/owl-s700.c 	owl_clk_regmap_init(pdev, desc);
desc              629 drivers/clk/actions/owl-s700.c 	reset->rcdev.nr_resets = desc->num_resets;
desc              630 drivers/clk/actions/owl-s700.c 	reset->reset_map = desc->resets;
desc              631 drivers/clk/actions/owl-s700.c 	reset->regmap = desc->regmap;
desc              637 drivers/clk/actions/owl-s700.c 	return owl_clk_probe(&pdev->dev, desc->hw_clks);
desc              758 drivers/clk/actions/owl-s900.c 	struct owl_clk_desc *desc;
desc              762 drivers/clk/actions/owl-s900.c 	desc = &s900_clk_desc;
desc              763 drivers/clk/actions/owl-s900.c 	owl_clk_regmap_init(pdev, desc);
desc              775 drivers/clk/actions/owl-s900.c 	reset->rcdev.nr_resets = desc->num_resets;
desc              776 drivers/clk/actions/owl-s900.c 	reset->reset_map = desc->resets;
desc              777 drivers/clk/actions/owl-s900.c 	reset->regmap = desc->regmap;
desc              783 drivers/clk/actions/owl-s900.c 	return owl_clk_probe(&pdev->dev, desc->hw_clks);
desc             2196 drivers/clk/bcm/clk-bcm2835.c 	const struct bcm2835_clk_desc *desc;
desc             2240 drivers/clk/bcm/clk-bcm2835.c 		desc = &clk_desc_array[i];
desc             2241 drivers/clk/bcm/clk-bcm2835.c 		if (desc->clk_register && desc->data &&
desc             2242 drivers/clk/bcm/clk-bcm2835.c 		    (desc->supported & pdata->soc)) {
desc             2243 drivers/clk/bcm/clk-bcm2835.c 			hws[i] = desc->clk_register(cprman, desc->data);
desc              127 drivers/clk/clk-palmas.c 	const struct palmas_clk32k_desc desc;
desc              136 drivers/clk/clk-palmas.c 	.desc = {
desc              152 drivers/clk/clk-palmas.c 	.desc = {
desc              261 drivers/clk/clk-palmas.c 	cinfo->clk_desc = &match_data->desc;
desc              266 drivers/clk/clk-palmas.c 			match_data->desc.clk_name, ret);
desc              214 drivers/clk/microchip/clk-core.c struct clk *pic32_periph_clk_register(const struct pic32_periph_clk_data *desc,
desc              224 drivers/clk/microchip/clk-core.c 	pbclk->hw.init = &desc->init_data;
desc              226 drivers/clk/microchip/clk-core.c 	pbclk->ctrl_reg = desc->ctrl_reg + core->iobase;
desc               57 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc;
desc               83 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc = corediv->desc;
desc               84 drivers/clk/mvebu/clk-corediv.c 	u32 enable_mask = BIT(desc->fieldbit) << soc_desc->enable_bit_offset;
desc               93 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc = corediv->desc;
desc              100 drivers/clk/mvebu/clk-corediv.c 	reg |= (BIT(desc->fieldbit) << soc_desc->enable_bit_offset);
desc              112 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc = corediv->desc;
desc              119 drivers/clk/mvebu/clk-corediv.c 	reg &= ~(BIT(desc->fieldbit) << soc_desc->enable_bit_offset);
desc              130 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc = corediv->desc;
desc              134 drivers/clk/mvebu/clk-corediv.c 	div = (reg >> desc->offset) & desc->mask;
desc              158 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *desc = corediv->desc;
desc              168 drivers/clk/mvebu/clk-corediv.c 	reg &= ~(desc->mask << desc->offset);
desc              169 drivers/clk/mvebu/clk-corediv.c 	reg |= (div & desc->mask) << desc->offset;
desc              173 drivers/clk/mvebu/clk-corediv.c 	reg = readl(corediv->reg) | BIT(desc->fieldbit);
desc              293 drivers/clk/mvebu/clk-corediv.c 		corediv[i].desc = soc_desc->descs + i;
desc              108 drivers/clk/mvebu/common.c 				const struct coreclk_soc_desc *desc)
desc              121 drivers/clk/mvebu/common.c 	clk_data.clk_num = 2 + desc->num_ratios;
desc              124 drivers/clk/mvebu/common.c 	if (desc->get_refclk_freq)
desc              137 drivers/clk/mvebu/common.c 	rate = desc->get_tclk_freq(base);
desc              145 drivers/clk/mvebu/common.c 	rate = desc->get_cpu_freq(base);
desc              147 drivers/clk/mvebu/common.c 	if (desc->is_sscg_enabled && desc->fix_sscg_deviation
desc              148 drivers/clk/mvebu/common.c 		&& desc->is_sscg_enabled(base))
desc              149 drivers/clk/mvebu/common.c 		rate = desc->fix_sscg_deviation(rate);
desc              156 drivers/clk/mvebu/common.c 	for (n = 0; n < desc->num_ratios; n++) {
desc              157 drivers/clk/mvebu/common.c 		const char *rclk_name = desc->ratios[n].name;
desc              162 drivers/clk/mvebu/common.c 		desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div);
desc              169 drivers/clk/mvebu/common.c 	if (desc->get_refclk_freq) {
desc              172 drivers/clk/mvebu/common.c 					      2 + desc->num_ratios, &name);
desc              173 drivers/clk/mvebu/common.c 		rate = desc->get_refclk_freq(base);
desc              174 drivers/clk/mvebu/common.c 		clk_data.clks[2 + desc->num_ratios] =
desc              176 drivers/clk/mvebu/common.c 		WARN_ON(IS_ERR(clk_data.clks[2 + desc->num_ratios]));
desc              235 drivers/clk/mvebu/common.c 				   const struct clk_gating_soc_desc *desc)
desc              267 drivers/clk/mvebu/common.c 	for (n = 0; desc[n].name;)
desc              278 drivers/clk/mvebu/common.c 			(desc[n].parent) ? desc[n].parent : default_parent;
desc              279 drivers/clk/mvebu/common.c 		ctrl->gates[n] = clk_register_gate(NULL, desc[n].name, parent,
desc              280 drivers/clk/mvebu/common.c 					desc[n].flags, base, desc[n].bit_idx,
desc               46 drivers/clk/mvebu/common.h 				const struct coreclk_soc_desc *desc);
desc               49 drivers/clk/mvebu/common.h 				   const struct clk_gating_soc_desc *desc);
desc              289 drivers/clk/mvebu/kirkwood.c 				   const struct clk_muxing_soc_desc *desc)
desc              307 drivers/clk/mvebu/kirkwood.c 	for (n = 0; desc[n].name;)
desc              317 drivers/clk/mvebu/kirkwood.c 		ctrl->muxes[n] = clk_register_mux(NULL, desc[n].name,
desc              318 drivers/clk/mvebu/kirkwood.c 				desc[n].parents, desc[n].num_parents,
desc              319 drivers/clk/mvebu/kirkwood.c 				desc[n].flags, base, desc[n].shift,
desc              320 drivers/clk/mvebu/kirkwood.c 				desc[n].width, desc[n].flags, ctrl->lock);
desc              575 drivers/clk/qcom/clk-rpm.c 	const struct rpm_clk_desc *desc;
desc              583 drivers/clk/qcom/clk-rpm.c 	desc = of_device_get_match_data(&pdev->dev);
desc              584 drivers/clk/qcom/clk-rpm.c 	if (!desc)
desc              587 drivers/clk/qcom/clk-rpm.c 	rpm_clks = desc->clks;
desc              588 drivers/clk/qcom/clk-rpm.c 	num_clks = desc->num_clks;
desc              412 drivers/clk/qcom/clk-rpmh.c 	const struct clk_rpmh_desc *desc;
desc              415 drivers/clk/qcom/clk-rpmh.c 	desc = of_device_get_match_data(&pdev->dev);
desc              416 drivers/clk/qcom/clk-rpmh.c 	if (!desc)
desc              419 drivers/clk/qcom/clk-rpmh.c 	hw_clks = desc->clks;
desc              421 drivers/clk/qcom/clk-rpmh.c 	for (i = 0; i < desc->num_clks; i++) {
desc              460 drivers/clk/qcom/clk-rpmh.c 					  (void *)desc);
desc              749 drivers/clk/qcom/clk-smd-rpm.c 	const struct rpm_smd_clk_desc *desc;
desc              757 drivers/clk/qcom/clk-smd-rpm.c 	desc = of_device_get_match_data(&pdev->dev);
desc              758 drivers/clk/qcom/clk-smd-rpm.c 	if (!desc)
desc              761 drivers/clk/qcom/clk-smd-rpm.c 	rpm_smd_clks = desc->clks;
desc              762 drivers/clk/qcom/clk-smd-rpm.c 	num_clks = desc->num_clks;
desc               73 drivers/clk/qcom/common.c qcom_cc_map(struct platform_device *pdev, const struct qcom_cc_desc *desc)
desc               84 drivers/clk/qcom/common.c 	return devm_regmap_init_mmio(dev, base, desc->config);
desc              228 drivers/clk/qcom/common.c 			 const struct qcom_cc_desc *desc, struct regmap *regmap)
desc              235 drivers/clk/qcom/common.c 	size_t num_clks = desc->num_clks;
desc              236 drivers/clk/qcom/common.c 	struct clk_regmap **rclks = desc->clks;
desc              237 drivers/clk/qcom/common.c 	size_t num_clk_hws = desc->num_clk_hws;
desc              238 drivers/clk/qcom/common.c 	struct clk_hw **clk_hws = desc->clk_hws;
desc              248 drivers/clk/qcom/common.c 	reset->rcdev.nr_resets = desc->num_resets;
desc              250 drivers/clk/qcom/common.c 	reset->reset_map = desc->resets;
desc              256 drivers/clk/qcom/common.c 	if (desc->gdscs && desc->num_gdscs) {
desc              261 drivers/clk/qcom/common.c 		scd->scs = desc->gdscs;
desc              262 drivers/clk/qcom/common.c 		scd->num = desc->num_gdscs;
desc              300 drivers/clk/qcom/common.c int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc)
desc              304 drivers/clk/qcom/common.c 	regmap = qcom_cc_map(pdev, desc);
desc              308 drivers/clk/qcom/common.c 	return qcom_cc_really_probe(pdev, desc, regmap);
desc              313 drivers/clk/qcom/common.c 			   const struct qcom_cc_desc *desc)
desc              324 drivers/clk/qcom/common.c 	regmap = devm_regmap_init_mmio(&pdev->dev, base, desc->config);
desc              328 drivers/clk/qcom/common.c 	return qcom_cc_really_probe(pdev, desc, regmap);
desc               58 drivers/clk/qcom/common.h 				  const struct qcom_cc_desc *desc);
desc               60 drivers/clk/qcom/common.h 				const struct qcom_cc_desc *desc,
desc               63 drivers/clk/qcom/common.h 			 const struct qcom_cc_desc *desc);
desc               65 drivers/clk/qcom/common.h 				  const struct qcom_cc_desc *desc);
desc              356 drivers/clk/qcom/gdsc.c int gdsc_register(struct gdsc_desc *desc,
desc              361 drivers/clk/qcom/gdsc.c 	struct device *dev = desc->dev;
desc              362 drivers/clk/qcom/gdsc.c 	struct gdsc **scs = desc->scs;
desc              363 drivers/clk/qcom/gdsc.c 	size_t num = desc->num;
desc              397 drivers/clk/qcom/gdsc.c void gdsc_unregister(struct gdsc_desc *desc)
desc              400 drivers/clk/qcom/gdsc.c 	struct device *dev = desc->dev;
desc              401 drivers/clk/qcom/gdsc.c 	struct gdsc **scs = desc->scs;
desc              402 drivers/clk/qcom/gdsc.c 	size_t num = desc->num;
desc               64 drivers/clk/qcom/gdsc.h int gdsc_register(struct gdsc_desc *desc, struct reset_controller_dev *,
desc               66 drivers/clk/qcom/gdsc.h void gdsc_unregister(struct gdsc_desc *desc);
desc               68 drivers/clk/qcom/gdsc.h static inline int gdsc_register(struct gdsc_desc *desc,
desc               75 drivers/clk/qcom/gdsc.h static inline void gdsc_unregister(struct gdsc_desc *desc) {};
desc              117 drivers/clk/qcom/lpasscc-sdm845.c 	const struct qcom_cc_desc *desc;
desc              121 drivers/clk/qcom/lpasscc-sdm845.c 	desc = &lpass_cc_sdm845_desc;
desc              123 drivers/clk/qcom/lpasscc-sdm845.c 	ret = qcom_cc_probe_by_index(pdev, 0, desc);
desc              128 drivers/clk/qcom/lpasscc-sdm845.c 	desc = &lpass_qdsp6ss_sdm845_desc;
desc              130 drivers/clk/qcom/lpasscc-sdm845.c 	return qcom_cc_probe_by_index(pdev, 1, desc);
desc              503 drivers/clk/renesas/r9a06g032-clocks.c 			const struct r9a06g032_clkdesc *desc)
desc              513 drivers/clk/renesas/r9a06g032-clocks.c 	init.name = desc->name;
desc              520 drivers/clk/renesas/r9a06g032-clocks.c 	g->index = desc->index;
desc              521 drivers/clk/renesas/r9a06g032-clocks.c 	g->gate = desc->gate;
desc              531 drivers/clk/renesas/r9a06g032-clocks.c 		pr_debug("%s was enabled, making read-only\n", desc->name);
desc              673 drivers/clk/renesas/r9a06g032-clocks.c 		       const struct r9a06g032_clkdesc *desc)
desc              684 drivers/clk/renesas/r9a06g032-clocks.c 	init.name = desc->name;
desc              691 drivers/clk/renesas/r9a06g032-clocks.c 	div->index = desc->index;
desc              692 drivers/clk/renesas/r9a06g032-clocks.c 	div->reg = desc->reg;
desc              694 drivers/clk/renesas/r9a06g032-clocks.c 	div->min = desc->div_min;
desc              695 drivers/clk/renesas/r9a06g032-clocks.c 	div->max = desc->div_max;
desc              698 drivers/clk/renesas/r9a06g032-clocks.c 	     i < ARRAY_SIZE(desc->div_table) && desc->div_table[i]; i++) {
desc              699 drivers/clk/renesas/r9a06g032-clocks.c 		div->table[div->table_size++] = desc->div_table[i];
desc              757 drivers/clk/renesas/r9a06g032-clocks.c 			  const struct r9a06g032_clkdesc *desc)
desc              772 drivers/clk/renesas/r9a06g032-clocks.c 	init.name = desc->name;
desc              779 drivers/clk/renesas/r9a06g032-clocks.c 	g->index = desc->index;
desc              780 drivers/clk/renesas/r9a06g032-clocks.c 	g->selector = desc->dual.sel;
desc              847 drivers/clk/renesas/r9a06g032-clocks.c 			    const struct r9a06g032_clkdesc *desc,
desc              859 drivers/clk/renesas/r9a06g032-clocks.c 	g->index = desc->index;
desc              861 drivers/clk/renesas/r9a06g032-clocks.c 	g->gate[0].gate = desc->dual.g1;
desc              862 drivers/clk/renesas/r9a06g032-clocks.c 	g->gate[0].reset = desc->dual.r1;
desc              863 drivers/clk/renesas/r9a06g032-clocks.c 	g->gate[1].gate = desc->dual.g2;
desc              864 drivers/clk/renesas/r9a06g032-clocks.c 	g->gate[1].reset = desc->dual.r2;
desc              866 drivers/clk/renesas/r9a06g032-clocks.c 	init.name = desc->name;
desc              879 drivers/clk/renesas/r9a06g032-clocks.c 		pr_debug("%s was enabled, making read-only\n", desc->name);
desc               24 drivers/clk/sprd/common.c static void sprd_clk_set_regmap(const struct sprd_clk_desc *desc,
desc               30 drivers/clk/sprd/common.c 	for (i = 0; i < desc->num_clk_clks; i++) {
desc               31 drivers/clk/sprd/common.c 		cclk = desc->clk_clks[i];
desc               40 drivers/clk/sprd/common.c 			 const struct sprd_clk_desc *desc)
desc               67 drivers/clk/sprd/common.c 	sprd_clk_set_regmap(desc, regmap);
desc               35 drivers/clk/sprd/common.h 			 const struct sprd_clk_desc *desc);
desc             2025 drivers/clk/sprd/sc9860-clk.c 	const struct sprd_clk_desc *desc;
desc             2034 drivers/clk/sprd/sc9860-clk.c 	desc = match->data;
desc             2035 drivers/clk/sprd/sc9860-clk.c 	ret = sprd_clk_regmap_init(pdev, desc);
desc             2039 drivers/clk/sprd/sc9860-clk.c 	return sprd_clk_probe(&pdev->dev, desc->hw_clks);
desc             1429 drivers/clk/sunxi-ng/ccu-sun4i-a10.c 				  const struct sunxi_ccu_desc *desc)
desc             1467 drivers/clk/sunxi-ng/ccu-sun4i-a10.c 	sunxi_ccu_probe(node, reg, desc);
desc              189 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c 				    const struct sunxi_ccu_desc *desc)
desc              199 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c 	sunxi_ccu_probe(node, reg, desc);
desc              988 drivers/clk/sunxi-ng/ccu-sun5i.c 				  const struct sunxi_ccu_desc *desc)
desc             1015 drivers/clk/sunxi-ng/ccu-sun5i.c 	sunxi_ccu_probe(node, reg, desc);
desc             1140 drivers/clk/sunxi-ng/ccu-sun8i-h3.c 					const struct sunxi_ccu_desc *desc)
desc             1156 drivers/clk/sunxi-ng/ccu-sun8i-h3.c 	sunxi_ccu_probe(node, reg, desc);
desc              258 drivers/clk/sunxi-ng/ccu-sun8i-r.c 				    const struct sunxi_ccu_desc *desc)
desc              268 drivers/clk/sunxi-ng/ccu-sun8i-r.c 	sunxi_ccu_probe(node, reg, desc);
desc               83 drivers/clk/sunxi-ng/ccu_common.c 		    const struct sunxi_ccu_desc *desc)
desc               88 drivers/clk/sunxi-ng/ccu_common.c 	for (i = 0; i < desc->num_ccu_clks; i++) {
desc               89 drivers/clk/sunxi-ng/ccu_common.c 		struct ccu_common *cclk = desc->ccu_clks[i];
desc               98 drivers/clk/sunxi-ng/ccu_common.c 	for (i = 0; i < desc->hw_clks->num ; i++) {
desc               99 drivers/clk/sunxi-ng/ccu_common.c 		struct clk_hw *hw = desc->hw_clks->hws[i];
desc              114 drivers/clk/sunxi-ng/ccu_common.c 				     desc->hw_clks);
desc              127 drivers/clk/sunxi-ng/ccu_common.c 	reset->rcdev.nr_resets = desc->num_resets;
desc              130 drivers/clk/sunxi-ng/ccu_common.c 	reset->reset_map = desc->resets;
desc              144 drivers/clk/sunxi-ng/ccu_common.c 		struct clk_hw *hw = desc->hw_clks->hws[i];
desc               67 drivers/clk/sunxi-ng/ccu_common.h 		    const struct sunxi_ccu_desc *desc);
desc              348 drivers/clk/versatile/clk-icst.c 				  const struct clk_icst_desc *desc,
desc              363 drivers/clk/versatile/clk-icst.c 	pclone = kmemdup(desc->params, sizeof(*pclone), GFP_KERNEL);
desc              377 drivers/clk/versatile/clk-icst.c 	icst->vcoreg_off = desc->vco_offset;
desc              378 drivers/clk/versatile/clk-icst.c 	icst->lockreg_off = desc->lock_offset;
desc              391 drivers/clk/versatile/clk-icst.c 			const struct clk_icst_desc *desc,
desc              408 drivers/clk/versatile/clk-icst.c 	return icst_clk_setup(dev, desc, name, parent_name, map,
desc               16 drivers/clk/versatile/clk-icst.h 			      const struct clk_icst_desc *desc,
desc               57 drivers/clk/versatile/clk-versatile.c 				const struct clk_icst_desc *desc)
desc               81 drivers/clk/versatile/clk-versatile.c 	clk = icst_clk_register(NULL, desc, clk_name, parent_name, cm_base);
desc              424 drivers/clocksource/arm_arch_timer.c 		.desc = "Freescale erratum a005858",
desc              437 drivers/clocksource/arm_arch_timer.c 		.desc = "HiSilicon erratum 161010101",
desc              448 drivers/clocksource/arm_arch_timer.c 		.desc = "HiSilicon erratum 161010101",
desc              461 drivers/clocksource/arm_arch_timer.c 		.desc = "ARM erratum 858921",
desc              470 drivers/clocksource/arm_arch_timer.c 		.desc = "Allwinner erratum UNKNOWN1",
desc              598 drivers/clocksource/arm_arch_timer.c 			wa->desc, __wa->desc);
desc              605 drivers/clocksource/arm_arch_timer.c 		local ? "local" : "global", wa->desc);
desc               60 drivers/cpuidle/cpuidle-arm.c 		.desc                   = "ARM WFI",
desc               46 drivers/cpuidle/cpuidle-at91.c 		.desc			= "WFI and DDR Self Refresh",
desc               69 drivers/cpuidle/cpuidle-big_little.c 		.desc			= "ARM little-cluster power down",
desc               90 drivers/cpuidle/cpuidle-big_little.c 		.desc			= "ARM big-cluster power down",
desc               51 drivers/cpuidle/cpuidle-calxeda.c 			.desc = "Power Gate",
desc               31 drivers/cpuidle/cpuidle-clps711x.c 		.desc		= "CLPS711X HALT",
desc               79 drivers/cpuidle/cpuidle-cps.c 			.desc	= "non-coherent MIPS wait",
desc               87 drivers/cpuidle/cpuidle-cps.c 			.desc	= "core clock gated",
desc               95 drivers/cpuidle/cpuidle-cps.c 			.desc	= "core power gated",
desc               86 drivers/cpuidle/cpuidle-exynos.c 			.desc			= "ARM power down",
desc              105 drivers/cpuidle/cpuidle-exynos.c 			.desc			= "ARM power down",
desc               46 drivers/cpuidle/cpuidle-haltpoll.c 			.desc			= "default architecture idle",
desc               50 drivers/cpuidle/cpuidle-kirkwood.c 		.desc			= "WFI and DDR Self Refresh",
desc               57 drivers/cpuidle/cpuidle-mvebu-v7.c 		.desc			= "CPU power down",
desc               66 drivers/cpuidle/cpuidle-mvebu-v7.c 		.desc			= "CPU and L2 Fabric power down",
desc               81 drivers/cpuidle/cpuidle-mvebu-v7.c 		.desc			= "CPU and L2 Fabric power down",
desc               95 drivers/cpuidle/cpuidle-mvebu-v7.c 		.desc			= "CPU and SCU power down",
desc              158 drivers/cpuidle/cpuidle-powernv.c 		.desc = "snooze",
desc              240 drivers/cpuidle/cpuidle-powernv.c 	strlcpy(powernv_states[index].desc, name, CPUIDLE_NAME_LEN);
desc               49 drivers/cpuidle/cpuidle-psci.c 		.desc                   = "ARM WFI",
desc              161 drivers/cpuidle/cpuidle-pseries.c 		.desc = "snooze",
desc              167 drivers/cpuidle/cpuidle-pseries.c 		.desc = "CEDE",
desc              179 drivers/cpuidle/cpuidle-pseries.c 		.desc = "snooze",
desc              185 drivers/cpuidle/cpuidle-pseries.c 		.desc = "Shared Cede",
desc              102 drivers/cpuidle/cpuidle-ux500.c 			.desc		  = "ARM Retention",
desc               44 drivers/cpuidle/cpuidle-zynq.c 			.desc			= "WFI and RAM Self Refresh",
desc               26 drivers/cpuidle/dt_idle_states.c 	const char *desc;
desc               76 drivers/cpuidle/dt_idle_states.c 	err = of_property_read_string(state_node, "idle-state-name", &desc);
desc               78 drivers/cpuidle/dt_idle_states.c 		desc = state_node->name;
desc               89 drivers/cpuidle/dt_idle_states.c 	strncpy(idle_state->desc, desc, CPUIDLE_DESC_LEN - 1);
desc               49 drivers/cpuidle/poll_state.c 	snprintf(state->desc, CPUIDLE_DESC_LEN, "CPUIDLE CORE POLL IDLE");
desc              301 drivers/cpuidle/sysfs.c define_show_state_str_function(desc)
desc              308 drivers/cpuidle/sysfs.c define_one_state_ro(desc, show_state_desc);
desc              784 drivers/crypto/atmel-aes.c 	struct dma_async_tx_descriptor *desc;
desc              818 drivers/crypto/atmel-aes.c 	desc = dmaengine_prep_slave_sg(dma->chan, dma->sg, dma->sg_len, dir,
desc              820 drivers/crypto/atmel-aes.c 	if (!desc)
desc              823 drivers/crypto/atmel-aes.c 	desc->callback = callback;
desc              824 drivers/crypto/atmel-aes.c 	desc->callback_param = dd;
desc              825 drivers/crypto/atmel-aes.c 	dmaengine_submit(desc);
desc             1516 drivers/crypto/atmel-sha.c 	struct dma_async_tx_descriptor *desc;
desc             1540 drivers/crypto/atmel-sha.c 	desc = dmaengine_prep_slave_sg(chan, dma->sg, sg_len, DMA_MEM_TO_DEV,
desc             1542 drivers/crypto/atmel-sha.c 	if (!desc) {
desc             1547 drivers/crypto/atmel-sha.c 	desc->callback = atmel_sha_dma_callback2;
desc             1548 drivers/crypto/atmel-sha.c 	desc->callback_param = dd;
desc             1549 drivers/crypto/atmel-sha.c 	cookie = dmaengine_submit(desc);
desc             2818 drivers/crypto/axis/artpec6_crypto.c 	char *desc;
desc              122 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              139 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              140 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_aead_null_encap(desc, &ctx->adata, ctx->authsize,
desc              143 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              158 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              159 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_aead_null_decap(desc, &ctx->adata, ctx->authsize,
desc              162 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              176 drivers/crypto/caam/caamalg.c 	u32 *desc, *nonce = NULL;
desc              240 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              241 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_aead_encap(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              245 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              262 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              263 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_aead_decap(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              267 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              286 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              287 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_aead_givencap(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              291 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              313 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              333 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              334 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_gcm_encap(desc, &ctx->cdata, ivsize, ctx->authsize, false);
desc              336 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              350 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              351 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_gcm_decap(desc, &ctx->cdata, ivsize, ctx->authsize, false);
desc              353 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              378 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              398 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              399 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_rfc4106_encap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              402 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              416 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              417 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_rfc4106_decap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              420 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              446 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              466 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              467 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_rfc4543_encap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              470 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              484 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              485 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_rfc4543_decap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              488 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              512 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              517 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              518 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              521 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              523 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              524 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              527 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              732 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              743 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              744 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686,
desc              747 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              750 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              751 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686,
desc              754 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              846 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc              859 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_enc;
desc              860 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_xts_skcipher_encap(desc, &ctx->cdata);
desc              862 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              865 drivers/crypto/caam/caamalg.c 	desc = ctx->sh_desc_dec;
desc              866 drivers/crypto/caam/caamalg.c 	cnstr_shdsc_xts_skcipher_decap(desc, &ctx->cdata);
desc              868 drivers/crypto/caam/caamalg.c 				   desc_bytes(desc), ctx->dir);
desc              963 drivers/crypto/caam/caamalg.c static void aead_encrypt_done(struct device *jrdev, u32 *desc, u32 err,
desc              972 drivers/crypto/caam/caamalg.c 	edesc = container_of(desc, struct aead_edesc, hw_desc[0]);
desc              984 drivers/crypto/caam/caamalg.c static void aead_decrypt_done(struct device *jrdev, u32 *desc, u32 err,
desc              993 drivers/crypto/caam/caamalg.c 	edesc = container_of(desc, struct aead_edesc, hw_desc[0]);
desc             1005 drivers/crypto/caam/caamalg.c static void skcipher_encrypt_done(struct device *jrdev, u32 *desc, u32 err,
desc             1016 drivers/crypto/caam/caamalg.c 	edesc = container_of(desc, struct skcipher_edesc, hw_desc[0]);
desc             1045 drivers/crypto/caam/caamalg.c static void skcipher_decrypt_done(struct device *jrdev, u32 *desc, u32 err,
desc             1056 drivers/crypto/caam/caamalg.c 	edesc = container_of(desc, struct skcipher_edesc, hw_desc[0]);
desc             1095 drivers/crypto/caam/caamalg.c 	u32 *desc = edesc->hw_desc;
desc             1106 drivers/crypto/caam/caamalg.c 	init_job_desc_shared(desc, ptr, len, HDR_SHARE_DEFER | HDR_REVERSE);
desc             1118 drivers/crypto/caam/caamalg.c 	append_seq_in_ptr(desc, src_dma, req->assoclen + req->cryptlen,
desc             1140 drivers/crypto/caam/caamalg.c 		append_seq_out_ptr(desc, dst_dma,
desc             1144 drivers/crypto/caam/caamalg.c 		append_seq_out_ptr(desc, dst_dma,
desc             1156 drivers/crypto/caam/caamalg.c 	u32 *desc = edesc->hw_desc;
desc             1161 drivers/crypto/caam/caamalg.c 	append_math_add_imm_u32(desc, REG3, ZERO, IMM, req->assoclen);
desc             1169 drivers/crypto/caam/caamalg.c 	append_cmd(desc, CMD_FIFO_LOAD | FIFOLD_CLASS_CLASS1 | IMMEDIATE |
desc             1173 drivers/crypto/caam/caamalg.c 		append_data(desc, ctx->key + ctx->cdata.keylen, 4);
desc             1175 drivers/crypto/caam/caamalg.c 	append_data(desc, req->iv, ivsize);
desc             1186 drivers/crypto/caam/caamalg.c 	u32 *desc = edesc->hw_desc;
desc             1202 drivers/crypto/caam/caamalg.c 	append_math_add_imm_u32(desc, REG3, ZERO, IMM, assoclen);
desc             1208 drivers/crypto/caam/caamalg.c 	append_load_as_imm(desc, req->iv, ivsize, LDST_CLASS_1_CCB |
desc             1226 drivers/crypto/caam/caamalg.c 	u32 *desc = edesc->hw_desc;
desc             1251 drivers/crypto/caam/caamalg.c 		append_math_add_imm_u32(desc, REG3, ZERO, IMM, req->assoclen);
desc             1253 drivers/crypto/caam/caamalg.c 		append_math_add_imm_u32(desc, DPOVRD, ZERO, IMM, req->assoclen);
desc             1256 drivers/crypto/caam/caamalg.c 		append_load_as_imm(desc, req->iv, ivsize,
desc             1273 drivers/crypto/caam/caamalg.c 	u32 *desc = edesc->hw_desc;
desc             1292 drivers/crypto/caam/caamalg.c 	init_job_desc_shared(desc, ptr, len, HDR_SHARE_DEFER | HDR_REVERSE);
desc             1302 drivers/crypto/caam/caamalg.c 	append_seq_in_ptr(desc, src_dma, req->cryptlen + ivsize, in_options);
desc             1315 drivers/crypto/caam/caamalg.c 	append_seq_out_ptr(desc, dst_dma, req->cryptlen + ivsize, out_options);
desc             1465 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1480 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1481 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_encrypt_done, req);
desc             1499 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1507 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1511 drivers/crypto/caam/caamalg.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1514 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_encrypt_done, req);
desc             1532 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1540 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1544 drivers/crypto/caam/caamalg.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1547 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_decrypt_done, req);
desc             1570 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1586 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1587 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_encrypt_done, req);
desc             1605 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1620 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1621 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_decrypt_done, req);
desc             1644 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1664 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1665 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, aead_decrypt_done, req);
desc             1843 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1861 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1862 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, skcipher_encrypt_done, req);
desc             1880 drivers/crypto/caam/caamalg.c 	u32 *desc;
desc             1893 drivers/crypto/caam/caamalg.c 	desc = edesc->hw_desc;
desc             1899 drivers/crypto/caam/caamalg.c 	ret = caam_jr_enqueue(jrdev, desc, skcipher_decrypt_done, req);
desc               16 drivers/crypto/caam/caamalg_desc.c static inline void aead_append_src_dst(u32 *desc, u32 msg_type)
desc               18 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF);
desc               19 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_BOTH |
desc               24 drivers/crypto/caam/caamalg_desc.c static inline void append_dec_op1(u32 *desc, u32 type)
desc               30 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, type | OP_ALG_AS_INITFINAL |
desc               35 drivers/crypto/caam/caamalg_desc.c 	jump_cmd = append_jump(desc, JUMP_TEST_ALL | JUMP_COND_SHRD);
desc               36 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, type | OP_ALG_AS_INIT | OP_ALG_DECRYPT);
desc               37 drivers/crypto/caam/caamalg_desc.c 	uncond_jump_cmd = append_jump(desc, JUMP_TEST_ALL);
desc               38 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, jump_cmd);
desc               39 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, type | OP_ALG_AS_INIT | OP_ALG_DECRYPT |
desc               41 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, uncond_jump_cmd);
desc               56 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata,
desc               61 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc               64 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc               68 drivers/crypto/caam/caamalg_desc.c 			append_key_as_imm(desc, adata->key_virt,
desc               73 drivers/crypto/caam/caamalg_desc.c 			append_key(desc, adata->key_dma, adata->keylen,
desc               76 drivers/crypto/caam/caamalg_desc.c 		append_proto_dkp(desc, adata);
desc               78 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc               81 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, REG3, SEQINLEN, REG0, CAAM_CMD_SZ);
desc               84 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc               85 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc               92 drivers/crypto/caam/caamalg_desc.c 	read_move_cmd = append_move(desc, MOVE_SRC_DESCBUF |
desc               95 drivers/crypto/caam/caamalg_desc.c 	write_move_cmd = append_move(desc, MOVE_SRC_MATH3 |
desc              101 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc              105 drivers/crypto/caam/caamalg_desc.c 	aead_append_src_dst(desc, FIFOLD_TYPE_MSG | FIFOLD_TYPE_FLUSH1);
desc              107 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, read_move_cmd);
desc              108 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, write_move_cmd);
desc              109 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
desc              110 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_SRC_INFIFO_CL | MOVE_DEST_OUTFIFO |
desc              114 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_2_CCB |
desc              118 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              135 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_null_decap(u32 * const desc, struct alginfo *adata,
desc              140 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              143 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              147 drivers/crypto/caam/caamalg_desc.c 			append_key_as_imm(desc, adata->key_virt,
desc              152 drivers/crypto/caam/caamalg_desc.c 			append_key(desc, adata->key_dma, adata->keylen,
desc              155 drivers/crypto/caam/caamalg_desc.c 		append_proto_dkp(desc, adata);
desc              157 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              160 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc              164 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, REG2, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              167 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, ZERO, REG2, CAAM_CMD_SZ);
desc              168 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG2, CAAM_CMD_SZ);
desc              175 drivers/crypto/caam/caamalg_desc.c 	read_move_cmd = append_move(desc, MOVE_SRC_DESCBUF |
desc              178 drivers/crypto/caam/caamalg_desc.c 	write_move_cmd = append_move(desc, MOVE_SRC_MATH2 |
desc              184 drivers/crypto/caam/caamalg_desc.c 	aead_append_src_dst(desc, FIFOLD_TYPE_MSG | FIFOLD_TYPE_FLUSH1);
desc              190 drivers/crypto/caam/caamalg_desc.c 	jump_cmd = append_jump(desc, JUMP_TEST_ALL);
desc              191 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, jump_cmd);
desc              193 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, read_move_cmd);
desc              194 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, write_move_cmd);
desc              195 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
desc              196 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_SRC_INFIFO_CL | MOVE_DEST_OUTFIFO |
desc              198 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO);
desc              201 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS2 |
desc              205 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              210 drivers/crypto/caam/caamalg_desc.c static void init_sh_desc_key_aead(u32 * const desc,
desc              219 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc              222 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              235 drivers/crypto/caam/caamalg_desc.c 			append_key_as_imm(desc, adata->key_virt,
desc              240 drivers/crypto/caam/caamalg_desc.c 			append_key(desc, adata->key_dma, adata->keylen,
desc              243 drivers/crypto/caam/caamalg_desc.c 		append_proto_dkp(desc, adata);
desc              247 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, enckeylen,
desc              250 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, enckeylen, CLASS_1 |
desc              255 drivers/crypto/caam/caamalg_desc.c 		append_load_as_imm(desc, nonce, CTR_RFC3686_NONCE_SIZE,
desc              258 drivers/crypto/caam/caamalg_desc.c 		append_move(desc,
desc              265 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              288 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata,
desc              295 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era);
desc              298 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc              305 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              309 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              313 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              315 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, ivsize, LDST_CLASS_1_CCB |
desc              322 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              323 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              325 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ);
desc              326 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, ZERO, DPOVRD, CAAM_CMD_SZ);
desc              330 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              333 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS2 | FIFOLD_TYPE_MSG |
desc              338 drivers/crypto/caam/caamalg_desc.c 		append_load_imm_be32(desc, 1, LDST_IMM | LDST_CLASS_1_CCB |
desc              344 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              348 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              349 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              350 drivers/crypto/caam/caamalg_desc.c 	aead_append_src_dst(desc, FIFOLD_TYPE_MSG1OUT2);
desc              353 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_2_CCB |
desc              357 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              382 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata,
desc              389 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era);
desc              392 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc              399 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              403 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              407 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              410 drivers/crypto/caam/caamalg_desc.c 			append_seq_load(desc, ivsize, LDST_CLASS_1_CCB |
desc              417 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              419 drivers/crypto/caam/caamalg_desc.c 			append_math_add_imm_u32(desc, VARSEQOUTLEN, REG3, IMM,
desc              422 drivers/crypto/caam/caamalg_desc.c 			append_math_add(desc, VARSEQOUTLEN, ZERO, REG3,
desc              425 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ);
desc              427 drivers/crypto/caam/caamalg_desc.c 			append_math_add_imm_u32(desc, VARSEQOUTLEN, DPOVRD, IMM,
desc              430 drivers/crypto/caam/caamalg_desc.c 			append_math_add(desc, VARSEQOUTLEN, ZERO, DPOVRD,
desc              435 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              438 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS2 | FIFOLD_TYPE_MSG |
desc              442 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, ivsize, LDST_CLASS_1_CCB |
desc              445 drivers/crypto/caam/caamalg_desc.c 		append_move(desc, MOVE_SRC_CLASS1CTX | MOVE_DEST_CLASS2INFIFO |
desc              451 drivers/crypto/caam/caamalg_desc.c 		append_load_imm_be32(desc, 1, LDST_IMM | LDST_CLASS_1_CCB |
desc              458 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              461 drivers/crypto/caam/caamalg_desc.c 		append_dec_op1(desc, cdata->algtype);
desc              464 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              465 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              466 drivers/crypto/caam/caamalg_desc.c 	aead_append_src_dst(desc, FIFOLD_TYPE_MSG);
desc              469 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS2 |
desc              473 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              499 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata,
desc              509 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc_key_aead(desc, cdata, adata, is_rfc3686, nonce, era);
desc              515 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              519 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              523 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              528 drivers/crypto/caam/caamalg_desc.c 			append_seq_load(desc, ivsize, LDST_CLASS_1_CCB |
desc              539 drivers/crypto/caam/caamalg_desc.c 	append_load_imm_u32(desc, geniv, LDST_CLASS_IND_CCB |
desc              541 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
desc              542 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_WAITCOMP |
desc              546 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO);
desc              550 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_SRC_CLASS1CTX | MOVE_DEST_OUTFIFO |
desc              555 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc              560 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              561 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              563 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ);
desc              564 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, ZERO, DPOVRD, CAAM_CMD_SZ);
desc              568 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              571 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS2 | FIFOLD_TYPE_MSG |
desc              577 drivers/crypto/caam/caamalg_desc.c 	append_load_imm_u32(desc, moveiv, LDST_CLASS_IND_CCB |
desc              579 drivers/crypto/caam/caamalg_desc.c 	append_load_imm_u32(desc, ivsize, LDST_CLASS_2_CCB |
desc              584 drivers/crypto/caam/caamalg_desc.c 		append_load_imm_be32(desc, 1, LDST_IMM | LDST_CLASS_1_CCB |
desc              590 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              594 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              597 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, ivsize,
desc              601 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              607 drivers/crypto/caam/caamalg_desc.c 	wait_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL | JUMP_COND_NIFP);
desc              608 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, wait_cmd);
desc              610 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_BOTH | KEY_VLF |
desc              612 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF);
desc              615 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_2_CCB |
desc              619 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              633 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_gcm_encap(u32 * const desc, struct alginfo *cdata,
desc              640 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              643 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              646 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc              649 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc              651 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              654 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              661 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              665 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              669 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              671 drivers/crypto/caam/caamalg_desc.c 		append_math_sub_imm_u32(desc, VARSEQOUTLEN, SEQINLEN, IMM,
desc              674 drivers/crypto/caam/caamalg_desc.c 		append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG0,
desc              679 drivers/crypto/caam/caamalg_desc.c 	zero_assoc_jump_cmd2 = append_jump(desc, JUMP_TEST_ALL |
desc              683 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc              687 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              688 drivers/crypto/caam/caamalg_desc.c 	zero_assoc_jump_cmd1 = append_jump(desc, JUMP_TEST_ALL |
desc              691 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              694 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              697 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG3, CAAM_CMD_SZ);
desc              700 drivers/crypto/caam/caamalg_desc.c 	zero_payload_jump_cmd = append_jump(desc, JUMP_TEST_ALL |
desc              704 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              706 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_assoc_jump_cmd1);
desc              708 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              711 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | FIFOLDST_VLF);
desc              714 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              719 drivers/crypto/caam/caamalg_desc.c 		append_jump(desc, JUMP_TEST_ALL | 4);
desc              721 drivers/crypto/caam/caamalg_desc.c 		append_jump(desc, JUMP_TEST_ALL | 2);
desc              724 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_payload_jump_cmd);
desc              727 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              731 drivers/crypto/caam/caamalg_desc.c 		append_jump(desc, JUMP_TEST_ALL | 2);
desc              734 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_assoc_jump_cmd2);
desc              737 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc              742 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_1_CCB |
desc              746 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              760 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_gcm_decap(u32 * const desc, struct alginfo *cdata,
desc              766 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              769 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL |
desc              772 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc              775 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc              777 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              780 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              787 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              791 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              795 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              797 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc              802 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              803 drivers/crypto/caam/caamalg_desc.c 	zero_assoc_jump_cmd1 = append_jump(desc, JUMP_TEST_ALL |
desc              806 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              809 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              812 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              815 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_assoc_jump_cmd1);
desc              818 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              821 drivers/crypto/caam/caamalg_desc.c 	zero_payload_jump_cmd = append_jump(desc, JUMP_TEST_ALL |
desc              824 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              827 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | FIFOLDST_VLF);
desc              830 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              834 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_payload_jump_cmd);
desc              837 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS1 |
desc              841 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              860 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_rfc4106_encap(u32 * const desc, struct alginfo *cdata,
desc              865 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              868 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              871 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc              874 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc              876 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              879 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              886 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              890 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              894 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc              897 drivers/crypto/caam/caamalg_desc.c 		append_fifo_load_as_imm(desc, (void *)(cdata->key_virt +
desc              900 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc              904 drivers/crypto/caam/caamalg_desc.c 	append_math_sub_imm_u32(desc, VARSEQINLEN, REG3, IMM, ivsize);
desc              905 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc              908 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc              911 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG3, CAAM_CMD_SZ);
desc              914 drivers/crypto/caam/caamalg_desc.c 	zero_cryptlen_jump_cmd = append_jump(desc, JUMP_TEST_ALL |
desc              918 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              922 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA);
desc              925 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_SKIP);
desc              926 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, VARSEQOUTLEN, REG0, CAAM_CMD_SZ);
desc              929 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | FIFOLDST_VLF);
desc              932 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              936 drivers/crypto/caam/caamalg_desc.c 	skip_instructions = append_jump(desc, JUMP_TEST_ALL);
desc              939 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, zero_cryptlen_jump_cmd);
desc              942 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc              945 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, skip_instructions);
desc              948 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_1_CCB |
desc              952 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              967 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_rfc4106_decap(u32 * const desc, struct alginfo *cdata,
desc              973 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              976 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc              979 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc              983 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc              985 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc              988 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc              995 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc              999 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1003 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc             1006 drivers/crypto/caam/caamalg_desc.c 		append_fifo_load_as_imm(desc, (void *)(cdata->key_virt +
desc             1009 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc             1013 drivers/crypto/caam/caamalg_desc.c 	append_math_sub_imm_u32(desc, VARSEQINLEN, REG3, IMM, ivsize);
desc             1014 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc             1017 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc             1021 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_SKIP);
desc             1024 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG3, CAAM_CMD_SZ);
desc             1027 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLD_TYPE_MSG);
desc             1030 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_SKIP | FIFOLDST_VLF);
desc             1033 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc             1036 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | FIFOLDST_VLF);
desc             1039 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLDST_VLF |
desc             1043 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS1 |
desc             1047 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1062 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_rfc4543_encap(u32 * const desc, struct alginfo *cdata,
desc             1068 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc             1071 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1074 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1077 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc             1079 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1082 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc             1087 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, 4, FIFOLD_CLASS_SKIP);
desc             1090 drivers/crypto/caam/caamalg_desc.c 		append_fifo_load_as_imm(desc, (void *)(cdata->key_virt +
desc             1093 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc             1098 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, REG3, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1105 drivers/crypto/caam/caamalg_desc.c 	read_move_cmd = append_move(desc, MOVE_SRC_DESCBUF | MOVE_DEST_MATH3 |
desc             1107 drivers/crypto/caam/caamalg_desc.c 	write_move_cmd = append_move(desc, MOVE_SRC_MATH3 | MOVE_DEST_DESCBUF |
desc             1111 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1114 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1117 drivers/crypto/caam/caamalg_desc.c 	aead_append_src_dst(desc, FIFOLD_TYPE_AAD);
desc             1119 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, read_move_cmd);
desc             1120 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, write_move_cmd);
desc             1121 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
desc             1123 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_SRC_INFIFO_CL | MOVE_DEST_OUTFIFO);
desc             1126 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, icvsize, LDST_CLASS_1_CCB |
desc             1130 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1145 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_rfc4543_decap(u32 * const desc, struct alginfo *cdata,
desc             1151 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc             1154 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1157 drivers/crypto/caam/caamalg_desc.c 		append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1160 drivers/crypto/caam/caamalg_desc.c 		append_key(desc, cdata->key_dma, cdata->keylen, CLASS_1 |
desc             1162 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1165 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc             1170 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, 4, FIFOLD_CLASS_SKIP);
desc             1173 drivers/crypto/caam/caamalg_desc.c 		append_fifo_load_as_imm(desc, (void *)(cdata->key_virt +
desc             1176 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, ivsize, FIFOLD_CLASS_CLASS1 |
desc             1181 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, REG3, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc             1188 drivers/crypto/caam/caamalg_desc.c 	read_move_cmd = append_move(desc, MOVE_SRC_DESCBUF | MOVE_DEST_MATH3 |
desc             1190 drivers/crypto/caam/caamalg_desc.c 	write_move_cmd = append_move(desc, MOVE_SRC_MATH3 | MOVE_DEST_DESCBUF |
desc             1194 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc             1197 drivers/crypto/caam/caamalg_desc.c 	append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ);
desc             1200 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | FIFOLDST_VLF);
desc             1203 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_BOTH | FIFOLDST_VLF |
desc             1206 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, read_move_cmd);
desc             1207 drivers/crypto/caam/caamalg_desc.c 	set_move_tgt_here(desc, write_move_cmd);
desc             1208 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
desc             1210 drivers/crypto/caam/caamalg_desc.c 	append_move(desc, MOVE_SRC_INFIFO_CL | MOVE_DEST_OUTFIFO);
desc             1211 drivers/crypto/caam/caamalg_desc.c 	append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO);
desc             1214 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS1 |
desc             1218 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1239 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_chachapoly(u32 * const desc, struct alginfo *cdata,
desc             1249 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc             1252 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1255 drivers/crypto/caam/caamalg_desc.c 	append_key_as_imm(desc, cdata->key_virt, cdata->keylen, cdata->keylen,
desc             1260 drivers/crypto/caam/caamalg_desc.c 		append_load_as_imm(desc, cdata->key_virt + cdata->keylen, 4,
desc             1264 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1268 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc             1270 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc             1273 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, adata->algtype | OP_ALG_AS_INITFINAL |
desc             1275 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc             1284 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, 4, LDST_CLASS_DECO |
desc             1288 drivers/crypto/caam/caamalg_desc.c 		wait_load_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1292 drivers/crypto/caam/caamalg_desc.c 		set_jump_tgt_here(desc, wait_load_cmd);
desc             1294 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, ivsize, LDST_CLASS_1_CCB |
desc             1307 drivers/crypto/caam/caamalg_desc.c 	append_load_imm_u32(desc, nfifo, LDST_CLASS_IND_CCB |
desc             1310 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ);
desc             1311 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ);
desc             1312 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_TYPE_NOINFOFIFO |
desc             1314 drivers/crypto/caam/caamalg_desc.c 	append_move_len(desc, MOVE_AUX_LS | MOVE_SRC_AUX_ABLK |
desc             1316 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | LDST_VLF);
desc             1320 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_store(desc, ivsize, FIFOST_TYPE_METADATA |
desc             1323 drivers/crypto/caam/caamalg_desc.c 	wait_cmd = append_jump(desc, JUMP_JSL | JUMP_TYPE_LOCAL |
desc             1325 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, wait_cmd);
desc             1329 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1330 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0,
desc             1332 drivers/crypto/caam/caamalg_desc.c 		aead_append_src_dst(desc, FIFOLD_TYPE_MSG1OUT2);
desc             1335 drivers/crypto/caam/caamalg_desc.c 		append_seq_store(desc, icvsize, LDST_CLASS_2_CCB |
desc             1339 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQINLEN, SEQOUTLEN, REG0,
desc             1341 drivers/crypto/caam/caamalg_desc.c 		append_math_add(desc, VARSEQOUTLEN, SEQOUTLEN, REG0,
desc             1343 drivers/crypto/caam/caamalg_desc.c 		aead_append_src_dst(desc, FIFOLD_TYPE_MSG);
desc             1346 drivers/crypto/caam/caamalg_desc.c 		append_seq_fifo_load(desc, icvsize, FIFOLD_CLASS_CLASS2 |
desc             1351 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1357 drivers/crypto/caam/caamalg_desc.c static inline void skcipher_append_src_dst(u32 *desc)
desc             1359 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1360 drivers/crypto/caam/caamalg_desc.c 	append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc             1361 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 |
desc             1363 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF);
desc             1377 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata,
desc             1386 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc             1388 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1392 drivers/crypto/caam/caamalg_desc.c 	append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1399 drivers/crypto/caam/caamalg_desc.c 		append_load_as_imm(desc, nonce, CTR_RFC3686_NONCE_SIZE,
desc             1402 drivers/crypto/caam/caamalg_desc.c 		append_move(desc, MOVE_WAITCOMP | MOVE_SRC_OUTFIFO |
desc             1407 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1411 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, ivsize, LDST_SRCDST_BYTE_CONTEXT |
desc             1417 drivers/crypto/caam/caamalg_desc.c 		append_load_imm_be32(desc, 1, LDST_IMM | LDST_CLASS_1_CCB |
desc             1425 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, options);
desc             1428 drivers/crypto/caam/caamalg_desc.c 	skcipher_append_src_dst(desc);
desc             1432 drivers/crypto/caam/caamalg_desc.c 		append_seq_store(desc, ivsize, LDST_SRCDST_BYTE_CONTEXT |
desc             1437 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1453 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata,
desc             1461 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc             1463 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1467 drivers/crypto/caam/caamalg_desc.c 	append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1474 drivers/crypto/caam/caamalg_desc.c 		append_load_as_imm(desc, nonce, CTR_RFC3686_NONCE_SIZE,
desc             1477 drivers/crypto/caam/caamalg_desc.c 		append_move(desc, MOVE_WAITCOMP | MOVE_SRC_OUTFIFO |
desc             1482 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1486 drivers/crypto/caam/caamalg_desc.c 		append_seq_load(desc, ivsize, LDST_SRCDST_BYTE_CONTEXT |
desc             1492 drivers/crypto/caam/caamalg_desc.c 		append_load_imm_be32(desc, 1, LDST_IMM | LDST_CLASS_1_CCB |
desc             1499 drivers/crypto/caam/caamalg_desc.c 		append_operation(desc, cdata->algtype | OP_ALG_AS_INIT |
desc             1502 drivers/crypto/caam/caamalg_desc.c 		append_dec_op1(desc, cdata->algtype);
desc             1505 drivers/crypto/caam/caamalg_desc.c 	skcipher_append_src_dst(desc);
desc             1509 drivers/crypto/caam/caamalg_desc.c 		append_seq_store(desc, ivsize, LDST_SRCDST_BYTE_CONTEXT |
desc             1514 drivers/crypto/caam/caamalg_desc.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1525 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_xts_skcipher_encap(u32 * const desc, struct alginfo *cdata)
desc             1536 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc             1538 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1542 drivers/crypto/caam/caamalg_desc.c 	append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1546 drivers/crypto/caam/caamalg_desc.c 	append_load_as_imm(desc, (void *)&sector_size, 8, LDST_CLASS_1_CCB |
desc             1550 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1557 drivers/crypto/caam/caamalg_desc.c 	append_seq_load(desc, 8, LDST_SRCDST_BYTE_CONTEXT | LDST_CLASS_1_CCB |
desc             1559 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 8, FIFOLD_CLASS_SKIP);
desc             1562 drivers/crypto/caam/caamalg_desc.c 	append_operation(desc, cdata->algtype | OP_ALG_AS_INITFINAL |
desc             1566 drivers/crypto/caam/caamalg_desc.c 	skcipher_append_src_dst(desc);
desc             1569 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, 8, LDST_SRCDST_BYTE_CONTEXT | LDST_CLASS_1_CCB |
desc             1574 drivers/crypto/caam/caamalg_desc.c 			     desc, desc_bytes(desc), 1);
desc             1584 drivers/crypto/caam/caamalg_desc.c void cnstr_shdsc_xts_skcipher_decap(u32 * const desc, struct alginfo *cdata)
desc             1595 drivers/crypto/caam/caamalg_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc             1597 drivers/crypto/caam/caamalg_desc.c 	key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc             1601 drivers/crypto/caam/caamalg_desc.c 	append_key_as_imm(desc, cdata->key_virt, cdata->keylen,
desc             1605 drivers/crypto/caam/caamalg_desc.c 	append_load_as_imm(desc, (void *)&sector_size, 8, LDST_CLASS_1_CCB |
desc             1609 drivers/crypto/caam/caamalg_desc.c 	set_jump_tgt_here(desc, key_jump_cmd);
desc             1616 drivers/crypto/caam/caamalg_desc.c 	append_seq_load(desc, 8, LDST_SRCDST_BYTE_CONTEXT | LDST_CLASS_1_CCB |
desc             1618 drivers/crypto/caam/caamalg_desc.c 	append_seq_fifo_load(desc, 8, FIFOLD_CLASS_SKIP);
desc             1621 drivers/crypto/caam/caamalg_desc.c 	append_dec_op1(desc, cdata->algtype);
desc             1624 drivers/crypto/caam/caamalg_desc.c 	skcipher_append_src_dst(desc);
desc             1627 drivers/crypto/caam/caamalg_desc.c 	append_seq_store(desc, 8, LDST_SRCDST_BYTE_CONTEXT | LDST_CLASS_1_CCB |
desc             1631 drivers/crypto/caam/caamalg_desc.c 			     ": ", DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc             1632 drivers/crypto/caam/caamalg_desc.c 			     desc_bytes(desc), 1);
desc               51 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata,
desc               54 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_null_decap(u32 * const desc, struct alginfo *adata,
desc               57 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata,
desc               63 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata,
desc               69 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata,
desc               75 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_gcm_encap(u32 * const desc, struct alginfo *cdata,
desc               79 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_gcm_decap(u32 * const desc, struct alginfo *cdata,
desc               83 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_rfc4106_encap(u32 * const desc, struct alginfo *cdata,
desc               87 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_rfc4106_decap(u32 * const desc, struct alginfo *cdata,
desc               91 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_rfc4543_encap(u32 * const desc, struct alginfo *cdata,
desc               95 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_rfc4543_decap(u32 * const desc, struct alginfo *cdata,
desc               99 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_chachapoly(u32 * const desc, struct alginfo *cdata,
desc              104 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_skcipher_encap(u32 * const desc, struct alginfo *cdata,
desc              108 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_skcipher_decap(u32 * const desc, struct alginfo *cdata,
desc              112 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_xts_skcipher_encap(u32 * const desc, struct alginfo *cdata);
desc              114 drivers/crypto/caam/caamalg_desc.h void cnstr_shdsc_xts_skcipher_decap(u32 * const desc, struct alginfo *cdata);
desc              840 drivers/crypto/caam/caamalg_qi.c 	u32 *desc;
desc              851 drivers/crypto/caam/caamalg_qi.c 				desc = ctx->sh_desc_enc;
desc              853 drivers/crypto/caam/caamalg_qi.c 				desc = ctx->sh_desc_dec;
desc              856 drivers/crypto/caam/caamalg_qi.c 			drv_ctx = caam_drv_ctx_init(ctx->qidev, &cpu, desc);
desc              172 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              229 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              232 drivers/crypto/caam/caamalg_qi2.c 		cnstr_shdsc_aead_givencap(desc, &ctx->cdata, &ctx->adata,
desc              237 drivers/crypto/caam/caamalg_qi2.c 		cnstr_shdsc_aead_encap(desc, &ctx->cdata, &ctx->adata,
desc              241 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              243 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              257 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              258 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_aead_decap(desc, &ctx->cdata, &ctx->adata,
desc              262 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              264 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              592 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              598 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              599 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              601 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              603 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              607 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              608 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_chachapoly(desc, &ctx->cdata, &ctx->adata, ivsize,
desc              610 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              612 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              654 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              675 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              676 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_gcm_encap(desc, &ctx->cdata, ivsize, ctx->authsize, true);
desc              677 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              679 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              695 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              696 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_gcm_decap(desc, &ctx->cdata, ivsize, ctx->authsize, true);
desc              697 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              699 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              748 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              770 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              771 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_rfc4106_encap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              773 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              775 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              790 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              791 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_rfc4106_decap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              793 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              795 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              851 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              873 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              874 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_rfc4543_encap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              876 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              878 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              893 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              894 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_rfc4543_decap(desc, &ctx->cdata, ivsize, ctx->authsize,
desc              896 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              898 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              956 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc              968 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              969 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_skcipher_encap(desc, &ctx->cdata, ivsize, is_rfc3686,
desc              971 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              973 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc              978 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc              979 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_skcipher_decap(desc, &ctx->cdata, ivsize, is_rfc3686,
desc              981 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc              983 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc             1083 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc             1097 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             1098 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_xts_skcipher_encap(desc, &ctx->cdata);
desc             1099 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             1101 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc             1106 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             1107 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_xts_skcipher_decap(desc, &ctx->cdata);
desc             1108 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             1110 drivers/crypto/caam/caamalg_qi2.c 				   sizeof(flc->flc) + desc_bytes(desc),
desc             3093 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc             3097 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             3098 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len,
desc             3100 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             3102 drivers/crypto/caam/caamalg_qi2.c 				   desc_bytes(desc), DMA_BIDIRECTIONAL);
desc             3104 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             3109 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             3110 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len,
desc             3112 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             3114 drivers/crypto/caam/caamalg_qi2.c 				   desc_bytes(desc), DMA_BIDIRECTIONAL);
desc             3116 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             3121 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             3122 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, digestsize,
desc             3124 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             3126 drivers/crypto/caam/caamalg_qi2.c 				   desc_bytes(desc), DMA_BIDIRECTIONAL);
desc             3128 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             3133 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             3134 drivers/crypto/caam/caamalg_qi2.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, digestsize,
desc             3136 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             3138 drivers/crypto/caam/caamalg_qi2.c 				   desc_bytes(desc), DMA_BIDIRECTIONAL);
desc             3140 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             3167 drivers/crypto/caam/caamalg_qi2.c 	u32 *desc;
desc             3192 drivers/crypto/caam/caamalg_qi2.c 	desc = flc->sh_desc;
desc             3194 drivers/crypto/caam/caamalg_qi2.c 	init_sh_desc(desc, 0);
desc             3197 drivers/crypto/caam/caamalg_qi2.c 	append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT |
desc             3199 drivers/crypto/caam/caamalg_qi2.c 	append_seq_fifo_load(desc, *keylen, FIFOLD_CLASS_CLASS2 |
desc             3201 drivers/crypto/caam/caamalg_qi2.c 	append_seq_store(desc, digestsize, LDST_CLASS_2_CCB |
desc             3204 drivers/crypto/caam/caamalg_qi2.c 	flc->flc[1] = cpu_to_caam32(desc_len(desc)); /* SDL */
desc             3206 drivers/crypto/caam/caamalg_qi2.c 				 desc_bytes(desc), DMA_TO_DEVICE);
desc             3223 drivers/crypto/caam/caamalg_qi2.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             3245 drivers/crypto/caam/caamalg_qi2.c 	dma_unmap_single(ctx->dev, flc_dma, sizeof(flc->flc) + desc_bytes(desc),
desc              163 drivers/crypto/caam/caamhash.c static inline int map_seq_out_ptr_ctx(u32 *desc, struct device *jrdev,
desc              176 drivers/crypto/caam/caamhash.c 	append_seq_out_ptr(desc, state->ctx_dma, ctx_len, 0);
desc              228 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              233 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update;
desc              234 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_UPDATE, ctx->ctx_len,
desc              237 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              240 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              244 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update_first;
desc              245 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len,
desc              248 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              250 drivers/crypto/caam/caamhash.c 			     ": ", DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              251 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              254 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_fin;
desc              255 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, digestsize,
desc              258 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              261 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              262 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              265 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_digest;
desc              266 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, digestsize,
desc              269 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              272 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              273 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              283 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              286 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update;
desc              287 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_UPDATE,
desc              290 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              292 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              296 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_fin;
desc              297 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_FINALIZE,
desc              300 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              302 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              309 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update_first;
desc              310 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len,
desc              313 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              315 drivers/crypto/caam/caamhash.c 			     " : ", DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              316 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              319 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_digest;
desc              320 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INITFINAL,
desc              323 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              325 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              335 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              338 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update;
desc              339 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_UPDATE,
desc              342 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              344 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              345 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              348 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_fin;
desc              349 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_FINALIZE,
desc              352 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              354 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              355 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              358 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_update_first;
desc              359 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INIT, ctx->ctx_len,
desc              362 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              364 drivers/crypto/caam/caamhash.c 			     " : ", DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              365 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              368 drivers/crypto/caam/caamhash.c 	desc = ctx->sh_desc_digest;
desc              369 drivers/crypto/caam/caamhash.c 	cnstr_shdsc_sk_hash(desc, &ctx->adata, OP_ALG_AS_INITFINAL,
desc              372 drivers/crypto/caam/caamhash.c 				   desc_bytes(desc), ctx->dir);
desc              374 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              375 drivers/crypto/caam/caamhash.c 			     desc_bytes(desc), 1);
desc              385 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              390 drivers/crypto/caam/caamhash.c 	desc = kmalloc(CAAM_CMD_SZ * 8 + CAAM_PTR_SZ * 2, GFP_KERNEL | GFP_DMA);
desc              391 drivers/crypto/caam/caamhash.c 	if (!desc) {
desc              396 drivers/crypto/caam/caamhash.c 	init_job_desc(desc, 0);
desc              401 drivers/crypto/caam/caamhash.c 		kfree(desc);
desc              406 drivers/crypto/caam/caamhash.c 	append_operation(desc, ctx->adata.algtype | OP_ALG_ENCRYPT |
desc              408 drivers/crypto/caam/caamhash.c 	append_seq_in_ptr(desc, key_dma, *keylen, 0);
desc              409 drivers/crypto/caam/caamhash.c 	append_seq_fifo_load(desc, *keylen, FIFOLD_CLASS_CLASS2 |
desc              411 drivers/crypto/caam/caamhash.c 	append_seq_out_ptr(desc, key_dma, digestsize, 0);
desc              412 drivers/crypto/caam/caamhash.c 	append_seq_store(desc, digestsize, LDST_CLASS_2_CCB |
desc              418 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              424 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, split_key_done, &result);
desc              438 drivers/crypto/caam/caamhash.c 	kfree(desc);
desc              600 drivers/crypto/caam/caamhash.c static void ahash_done(struct device *jrdev, u32 *desc, u32 err,
desc              613 drivers/crypto/caam/caamhash.c 	edesc = container_of(desc, struct ahash_edesc, hw_desc[0]);
desc              628 drivers/crypto/caam/caamhash.c static void ahash_done_bi(struct device *jrdev, u32 *desc, u32 err,
desc              641 drivers/crypto/caam/caamhash.c 	edesc = container_of(desc, struct ahash_edesc, hw_desc[0]);
desc              660 drivers/crypto/caam/caamhash.c static void ahash_done_ctx_src(struct device *jrdev, u32 *desc, u32 err,
desc              673 drivers/crypto/caam/caamhash.c 	edesc = container_of(desc, struct ahash_edesc, hw_desc[0]);
desc              688 drivers/crypto/caam/caamhash.c static void ahash_done_ctx_dst(struct device *jrdev, u32 *desc, u32 err,
desc              701 drivers/crypto/caam/caamhash.c 	edesc = container_of(desc, struct ahash_edesc, hw_desc[0]);
desc              795 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              875 drivers/crypto/caam/caamhash.c 		desc = edesc->hw_desc;
desc              886 drivers/crypto/caam/caamhash.c 		append_seq_in_ptr(desc, edesc->sec4_sg_dma, ctx->ctx_len +
desc              889 drivers/crypto/caam/caamhash.c 		append_seq_out_ptr(desc, state->ctx_dma, ctx->ctx_len, 0);
desc              892 drivers/crypto/caam/caamhash.c 				     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc              893 drivers/crypto/caam/caamhash.c 				     desc_bytes(desc), 1);
desc              895 drivers/crypto/caam/caamhash.c 		ret = caam_jr_enqueue(jrdev, desc, ahash_done_bi, req);
desc              929 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc              944 drivers/crypto/caam/caamhash.c 	desc = edesc->hw_desc;
desc              967 drivers/crypto/caam/caamhash.c 	append_seq_in_ptr(desc, edesc->sec4_sg_dma, ctx->ctx_len + buflen,
desc              969 drivers/crypto/caam/caamhash.c 	append_seq_out_ptr(desc, state->ctx_dma, digestsize, 0);
desc              972 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              975 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, ahash_done_ctx_src, req);
desc              995 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1030 drivers/crypto/caam/caamhash.c 	desc = edesc->hw_desc;
desc             1049 drivers/crypto/caam/caamhash.c 	append_seq_out_ptr(desc, state->ctx_dma, digestsize, 0);
desc             1052 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1055 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, ahash_done_ctx_src, req);
desc             1074 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1118 drivers/crypto/caam/caamhash.c 	desc = edesc->hw_desc;
desc             1120 drivers/crypto/caam/caamhash.c 	ret = map_seq_out_ptr_ctx(desc, jrdev, state, digestsize);
desc             1128 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1131 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, ahash_done, req);
desc             1153 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1164 drivers/crypto/caam/caamhash.c 	desc = edesc->hw_desc;
desc             1174 drivers/crypto/caam/caamhash.c 		append_seq_in_ptr(desc, state->buf_dma, buflen, 0);
desc             1177 drivers/crypto/caam/caamhash.c 	ret = map_seq_out_ptr_ctx(desc, jrdev, state, digestsize);
desc             1182 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1185 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, ahash_done, req);
desc             1218 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1287 drivers/crypto/caam/caamhash.c 		desc = edesc->hw_desc;
desc             1298 drivers/crypto/caam/caamhash.c 		append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF);
desc             1300 drivers/crypto/caam/caamhash.c 		ret = map_seq_out_ptr_ctx(desc, jrdev, state, ctx->ctx_len);
desc             1305 drivers/crypto/caam/caamhash.c 				     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc             1306 drivers/crypto/caam/caamhash.c 				     desc_bytes(desc), 1);
desc             1308 drivers/crypto/caam/caamhash.c 		ret = caam_jr_enqueue(jrdev, desc, ahash_done_ctx_dst, req);
desc             1346 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1382 drivers/crypto/caam/caamhash.c 	desc = edesc->hw_desc;
desc             1398 drivers/crypto/caam/caamhash.c 	ret = map_seq_out_ptr_ctx(desc, jrdev, state, digestsize);
desc             1403 drivers/crypto/caam/caamhash.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc             1406 drivers/crypto/caam/caamhash.c 	ret = caam_jr_enqueue(jrdev, desc, ahash_done, req);
desc             1435 drivers/crypto/caam/caamhash.c 	u32 *desc;
desc             1498 drivers/crypto/caam/caamhash.c 		desc = edesc->hw_desc;
desc             1500 drivers/crypto/caam/caamhash.c 		ret = map_seq_out_ptr_ctx(desc, jrdev, state, ctx->ctx_len);
desc             1505 drivers/crypto/caam/caamhash.c 				     DUMP_PREFIX_ADDRESS, 16, 4, desc,
desc             1506 drivers/crypto/caam/caamhash.c 				     desc_bytes(desc), 1);
desc             1508 drivers/crypto/caam/caamhash.c 		ret = caam_jr_enqueue(jrdev, desc, ahash_done_ctx_dst, req);
desc               28 drivers/crypto/caam/caamhash_desc.c void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state,
desc               33 drivers/crypto/caam/caamhash_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc               40 drivers/crypto/caam/caamhash_desc.c 		skip_key_load = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL |
desc               44 drivers/crypto/caam/caamhash_desc.c 			append_key_as_imm(desc, adata->key_virt,
desc               49 drivers/crypto/caam/caamhash_desc.c 			append_proto_dkp(desc, adata);
desc               51 drivers/crypto/caam/caamhash_desc.c 		set_jump_tgt_here(desc, skip_key_load);
desc               58 drivers/crypto/caam/caamhash_desc.c 		append_seq_load(desc, ctx_len, LDST_CLASS_2_CCB |
desc               62 drivers/crypto/caam/caamhash_desc.c 	append_operation(desc, op | state | OP_ALG_ENCRYPT);
desc               68 drivers/crypto/caam/caamhash_desc.c 	append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc               70 drivers/crypto/caam/caamhash_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS2 | FIFOLD_TYPE_LAST2 |
desc               73 drivers/crypto/caam/caamhash_desc.c 	append_seq_store(desc, digestsize, LDST_CLASS_2_CCB |
desc               87 drivers/crypto/caam/caamhash_desc.c void cnstr_shdsc_sk_hash(u32 * const desc, struct alginfo *adata, u32 state,
desc               92 drivers/crypto/caam/caamhash_desc.c 	init_sh_desc(desc, HDR_SHARE_SERIAL | HDR_SAVECTX);
desc               95 drivers/crypto/caam/caamhash_desc.c 	skip_key_load = append_jump(desc, JUMP_TEST_ALL | JUMP_COND_SHRD);
desc               98 drivers/crypto/caam/caamhash_desc.c 		append_key_as_imm(desc, adata->key_virt, adata->keylen,
desc              103 drivers/crypto/caam/caamhash_desc.c 			append_key(desc, adata->key_dma, adata->keylen,
desc              106 drivers/crypto/caam/caamhash_desc.c 			append_key_as_imm(desc, adata->key_virt, adata->keylen,
desc              110 drivers/crypto/caam/caamhash_desc.c 		append_seq_load(desc, ctx_len, LDST_CLASS_1_CCB |
desc              114 drivers/crypto/caam/caamhash_desc.c 	set_jump_tgt_here(desc, skip_key_load);
desc              117 drivers/crypto/caam/caamhash_desc.c 	append_operation(desc, adata->algtype | state | OP_ALG_ENCRYPT);
desc              123 drivers/crypto/caam/caamhash_desc.c 	append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ);
desc              126 drivers/crypto/caam/caamhash_desc.c 	append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | FIFOLD_TYPE_LAST1 |
desc              134 drivers/crypto/caam/caamhash_desc.c 	append_seq_store(desc, digestsize, LDST_CLASS_1_CCB |
desc              138 drivers/crypto/caam/caamhash_desc.c 		append_fifo_store(desc, adata->key_dma, adata->keylen,
desc               24 drivers/crypto/caam/caamhash_desc.h void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state,
desc               27 drivers/crypto/caam/caamhash_desc.h void cnstr_shdsc_sk_hash(u32 * const desc, struct alginfo *adata, u32 state,
desc              117 drivers/crypto/caam/caampkc.c static void rsa_pub_done(struct device *dev, u32 *desc, u32 err, void *context)
desc              126 drivers/crypto/caam/caampkc.c 	edesc = container_of(desc, struct rsa_edesc, hw_desc[0]);
desc              135 drivers/crypto/caam/caampkc.c static void rsa_priv_f1_done(struct device *dev, u32 *desc, u32 err,
desc              145 drivers/crypto/caam/caampkc.c 	edesc = container_of(desc, struct rsa_edesc, hw_desc[0]);
desc              154 drivers/crypto/caam/caampkc.c static void rsa_priv_f2_done(struct device *dev, u32 *desc, u32 err,
desc              164 drivers/crypto/caam/caampkc.c 	edesc = container_of(desc, struct rsa_edesc, hw_desc[0]);
desc              173 drivers/crypto/caam/caampkc.c static void rsa_priv_f3_done(struct device *dev, u32 *desc, u32 err,
desc              183 drivers/crypto/caam/caampkc.c 	edesc = container_of(desc, struct rsa_edesc, hw_desc[0]);
desc              139 drivers/crypto/caam/caampkc.h void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
desc              140 drivers/crypto/caam/caampkc.h void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
desc              141 drivers/crypto/caam/caampkc.h void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
desc              142 drivers/crypto/caam/caampkc.h void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
desc              107 drivers/crypto/caam/caamrng.c static void rng_done(struct device *jrdev, u32 *desc, u32 err, void *context)
desc              111 drivers/crypto/caam/caamrng.c 	bd = container_of(desc, struct buf_data, hw_desc[0]);
desc              130 drivers/crypto/caam/caamrng.c 	u32 *desc = bd->hw_desc;
desc              135 drivers/crypto/caam/caamrng.c 	err = caam_jr_enqueue(jrdev, desc, rng_done, ctx);
desc              200 drivers/crypto/caam/caamrng.c 	u32 *desc = ctx->sh_desc;
desc              202 drivers/crypto/caam/caamrng.c 	init_sh_desc(desc, HDR_SHARE_SERIAL);
desc              205 drivers/crypto/caam/caamrng.c 	append_operation(desc, OP_ALG_ALGSEL_RNG | OP_TYPE_CLASS1_ALG);
desc              208 drivers/crypto/caam/caamrng.c 	append_seq_fifo_store(desc, RN_BUF_SIZE, FIFOST_TYPE_RNGSTORE);
desc              210 drivers/crypto/caam/caamrng.c 	ctx->sh_desc_dma = dma_map_single(jrdev, desc, desc_bytes(desc),
desc              218 drivers/crypto/caam/caamrng.c 			     desc, desc_bytes(desc), 1);
desc              227 drivers/crypto/caam/caamrng.c 	u32 *desc = bd->hw_desc;
desc              230 drivers/crypto/caam/caamrng.c 	init_job_desc_shared(desc, ctx->sh_desc_dma, sh_len, HDR_SHARE_DEFER |
desc              239 drivers/crypto/caam/caamrng.c 	append_seq_out_ptr_intlen(desc, bd->addr, RN_BUF_SIZE, 0);
desc              242 drivers/crypto/caam/caamrng.c 			     desc, desc_bytes(desc), 1);
desc               32 drivers/crypto/caam/ctrl.c static void build_instantiation_desc(u32 *desc, int handle, int do_sk)
desc               36 drivers/crypto/caam/ctrl.c 	init_job_desc(desc, 0);
desc               42 drivers/crypto/caam/ctrl.c 	append_operation(desc, op_flags);
desc               50 drivers/crypto/caam/ctrl.c 		jump_cmd = append_jump(desc, JUMP_CLASS_CLASS1);
desc               51 drivers/crypto/caam/ctrl.c 		set_jump_tgt_here(desc, jump_cmd);
desc               57 drivers/crypto/caam/ctrl.c 		append_load_imm_u32(desc, 1, LDST_SRCDST_WORD_CLRW);
desc               60 drivers/crypto/caam/ctrl.c 		append_operation(desc, OP_TYPE_CLASS1_ALG | OP_ALG_ALGSEL_RNG |
desc               64 drivers/crypto/caam/ctrl.c 	append_jump(desc, JUMP_CLASS_CLASS1 | JUMP_TYPE_HALT);
desc               68 drivers/crypto/caam/ctrl.c static void build_deinstantiation_desc(u32 *desc, int handle)
desc               70 drivers/crypto/caam/ctrl.c 	init_job_desc(desc, 0);
desc               73 drivers/crypto/caam/ctrl.c 	append_operation(desc, OP_TYPE_CLASS1_ALG | OP_ALG_ALGSEL_RNG |
desc               76 drivers/crypto/caam/ctrl.c 	append_jump(desc, JUMP_CLASS_CLASS1 | JUMP_TYPE_HALT);
desc               89 drivers/crypto/caam/ctrl.c static inline int run_descriptor_deco0(struct device *ctrldev, u32 *desc,
desc              127 drivers/crypto/caam/ctrl.c 	for (i = 0; i < desc_len(desc); i++)
desc              128 drivers/crypto/caam/ctrl.c 		wr_reg32(&deco->descbuf[i], caam32_to_cpu(*(desc + i)));
desc              135 drivers/crypto/caam/ctrl.c 	if (desc_len(desc) >= 4)
desc              202 drivers/crypto/caam/ctrl.c 	u32 *desc, status = 0, rdsta_val;
desc              206 drivers/crypto/caam/ctrl.c 	desc = kmalloc(CAAM_CMD_SZ * 7, GFP_KERNEL);
desc              207 drivers/crypto/caam/ctrl.c 	if (!desc)
desc              219 drivers/crypto/caam/ctrl.c 		build_instantiation_desc(desc, sh_idx, gen_sk);
desc              222 drivers/crypto/caam/ctrl.c 		ret = run_descriptor_deco0(ctrldev, desc, &status);
desc              245 drivers/crypto/caam/ctrl.c 		memset(desc, 0x00, CAAM_CMD_SZ * 7);
desc              248 drivers/crypto/caam/ctrl.c 	kfree(desc);
desc              268 drivers/crypto/caam/ctrl.c 	u32 *desc, status;
desc              271 drivers/crypto/caam/ctrl.c 	desc = kmalloc(CAAM_CMD_SZ * 3, GFP_KERNEL);
desc              272 drivers/crypto/caam/ctrl.c 	if (!desc)
desc              286 drivers/crypto/caam/ctrl.c 			build_deinstantiation_desc(desc, sh_idx);
desc              289 drivers/crypto/caam/ctrl.c 			ret = run_descriptor_deco0(ctrldev, desc, &status);
desc              302 drivers/crypto/caam/ctrl.c 	kfree(desc);
desc               54 drivers/crypto/caam/desc_constr.h #define PRINT_POS do { printk(KERN_DEBUG "%02d: %s\n", desc_len(desc),\
desc               84 drivers/crypto/caam/desc_constr.h static inline int desc_len(u32 * const desc)
desc               86 drivers/crypto/caam/desc_constr.h 	return caam32_to_cpu(*desc) & HDR_DESCLEN_MASK;
desc               89 drivers/crypto/caam/desc_constr.h static inline int desc_bytes(void * const desc)
desc               91 drivers/crypto/caam/desc_constr.h 	return desc_len(desc) * CAAM_CMD_SZ;
desc               94 drivers/crypto/caam/desc_constr.h static inline u32 *desc_end(u32 * const desc)
desc               96 drivers/crypto/caam/desc_constr.h 	return desc + desc_len(desc);
desc               99 drivers/crypto/caam/desc_constr.h static inline void *sh_desc_pdb(u32 * const desc)
desc              101 drivers/crypto/caam/desc_constr.h 	return desc + 1;
desc              104 drivers/crypto/caam/desc_constr.h static inline void init_desc(u32 * const desc, u32 options)
desc              106 drivers/crypto/caam/desc_constr.h 	*desc = cpu_to_caam32((options | HDR_ONE) + 1);
desc              109 drivers/crypto/caam/desc_constr.h static inline void init_sh_desc(u32 * const desc, u32 options)
desc              112 drivers/crypto/caam/desc_constr.h 	init_desc(desc, CMD_SHARED_DESC_HDR | options);
desc              115 drivers/crypto/caam/desc_constr.h static inline void init_sh_desc_pdb(u32 * const desc, u32 options,
desc              120 drivers/crypto/caam/desc_constr.h 	init_sh_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT) + pdb_len) |
desc              124 drivers/crypto/caam/desc_constr.h static inline void init_job_desc(u32 * const desc, u32 options)
desc              126 drivers/crypto/caam/desc_constr.h 	init_desc(desc, CMD_DESC_HDR | options);
desc              129 drivers/crypto/caam/desc_constr.h static inline void init_job_desc_pdb(u32 * const desc, u32 options,
desc              134 drivers/crypto/caam/desc_constr.h 	init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options);
desc              137 drivers/crypto/caam/desc_constr.h static inline void append_ptr(u32 * const desc, dma_addr_t ptr)
desc              140 drivers/crypto/caam/desc_constr.h 		dma_addr_t *offset = (dma_addr_t *)desc_end(desc);
desc              144 drivers/crypto/caam/desc_constr.h 		u32 *offset = (u32 *)desc_end(desc);
desc              149 drivers/crypto/caam/desc_constr.h 	(*desc) = cpu_to_caam32(caam32_to_cpu(*desc) +
desc              153 drivers/crypto/caam/desc_constr.h static inline void init_job_desc_shared(u32 * const desc, dma_addr_t ptr,
desc              157 drivers/crypto/caam/desc_constr.h 	init_job_desc(desc, HDR_SHARED | options |
desc              159 drivers/crypto/caam/desc_constr.h 	append_ptr(desc, ptr);
desc              162 drivers/crypto/caam/desc_constr.h static inline void append_data(u32 * const desc, const void *data, int len)
desc              164 drivers/crypto/caam/desc_constr.h 	u32 *offset = desc_end(desc);
desc              169 drivers/crypto/caam/desc_constr.h 	(*desc) = cpu_to_caam32(caam32_to_cpu(*desc) +
desc              173 drivers/crypto/caam/desc_constr.h static inline void append_cmd(u32 * const desc, u32 command)
desc              175 drivers/crypto/caam/desc_constr.h 	u32 *cmd = desc_end(desc);
desc              179 drivers/crypto/caam/desc_constr.h 	(*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 1);
desc              184 drivers/crypto/caam/desc_constr.h static inline void append_u64(u32 * const desc, u64 data)
desc              186 drivers/crypto/caam/desc_constr.h 	u32 *offset = desc_end(desc);
desc              197 drivers/crypto/caam/desc_constr.h 	(*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + 2);
desc              201 drivers/crypto/caam/desc_constr.h static inline u32 *write_cmd(u32 * const desc, u32 command)
desc              203 drivers/crypto/caam/desc_constr.h 	*desc = cpu_to_caam32(command);
desc              205 drivers/crypto/caam/desc_constr.h 	return desc + 1;
desc              208 drivers/crypto/caam/desc_constr.h static inline void append_cmd_ptr(u32 * const desc, dma_addr_t ptr, int len,
desc              211 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, command | len);
desc              212 drivers/crypto/caam/desc_constr.h 	append_ptr(desc, ptr);
desc              216 drivers/crypto/caam/desc_constr.h static inline void append_cmd_ptr_extlen(u32 * const desc, dma_addr_t ptr,
desc              219 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, command);
desc              221 drivers/crypto/caam/desc_constr.h 		append_ptr(desc, ptr);
desc              222 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, len);
desc              225 drivers/crypto/caam/desc_constr.h static inline void append_cmd_data(u32 * const desc, const void *data, int len,
desc              228 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, command | IMMEDIATE | len);
desc              229 drivers/crypto/caam/desc_constr.h 	append_data(desc, data, len);
desc              233 drivers/crypto/caam/desc_constr.h static inline u32 *append_##cmd(u32 * const desc, u32 options) \
desc              235 drivers/crypto/caam/desc_constr.h 	u32 *cmd = desc_end(desc); \
desc              237 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_##op | options); \
desc              244 drivers/crypto/caam/desc_constr.h static inline void set_jump_tgt_here(u32 * const desc, u32 *jump_cmd)
desc              247 drivers/crypto/caam/desc_constr.h 				  (desc_len(desc) - (jump_cmd - desc)));
desc              250 drivers/crypto/caam/desc_constr.h static inline void set_move_tgt_here(u32 * const desc, u32 *move_cmd)
desc              255 drivers/crypto/caam/desc_constr.h 	val |= (desc_len(desc) << (MOVE_OFFSET_SHIFT + 2)) & MOVE_OFFSET_MASK;
desc              260 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, u32 options) \
desc              263 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_##op | options); \
desc              268 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, unsigned int len, \
desc              272 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_##op | len | options); \
desc              281 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, dma_addr_t ptr, \
desc              285 drivers/crypto/caam/desc_constr.h 	append_cmd_ptr(desc, ptr, len, CMD_##op | options); \
desc              292 drivers/crypto/caam/desc_constr.h static inline void append_store(u32 * const desc, dma_addr_t ptr,
desc              299 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_STORE | options | len);
desc              306 drivers/crypto/caam/desc_constr.h 		append_ptr(desc, ptr);
desc              310 drivers/crypto/caam/desc_constr.h static inline void append_seq_##cmd##_ptr_intlen(u32 * const desc, \
desc              317 drivers/crypto/caam/desc_constr.h 		append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \
desc              319 drivers/crypto/caam/desc_constr.h 		append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \
desc              325 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_as_imm(u32 * const desc, const void *data, \
desc              329 drivers/crypto/caam/desc_constr.h 	append_cmd_data(desc, data, len, CMD_##op | options); \
desc              335 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_extlen(u32 * const desc, dma_addr_t ptr, \
desc              339 drivers/crypto/caam/desc_constr.h 	append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \
desc              349 drivers/crypto/caam/desc_constr.h static inline void append_##cmd(u32 * const desc, dma_addr_t ptr, \
desc              354 drivers/crypto/caam/desc_constr.h 		append_##cmd##_extlen(desc, ptr, len, options); \
desc              356 drivers/crypto/caam/desc_constr.h 		append_##cmd##_intlen(desc, ptr, len, options); \
desc              366 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_as_imm(u32 * const desc, const void *data, \
desc              371 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \
desc              372 drivers/crypto/caam/desc_constr.h 	append_data(desc, data, data_len); \
desc              377 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_imm_##type(u32 * const desc, type immediate, \
desc              382 drivers/crypto/caam/desc_constr.h 		append_cmd(desc, CMD_##op | IMMEDIATE | options); \
desc              384 drivers/crypto/caam/desc_constr.h 		append_cmd(desc, CMD_##op | IMMEDIATE | options | \
desc              386 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, immediate); \
desc              395 drivers/crypto/caam/desc_constr.h static inline void append_##cmd##_imm_##ee##size(u32 *desc, \
desc              401 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(data)); \
desc              402 drivers/crypto/caam/desc_constr.h 	append_data(desc, &data, sizeof(data)); \
desc              411 drivers/crypto/caam/desc_constr.h #define APPEND_MATH(op, desc, dest, src_0, src_1, len) \
desc              412 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_MATH | MATH_FUN_##op | MATH_DEST_##dest | \
desc              415 drivers/crypto/caam/desc_constr.h #define append_math_add(desc, dest, src0, src1, len) \
desc              416 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(ADD, desc, dest, src0, src1, len)
desc              417 drivers/crypto/caam/desc_constr.h #define append_math_sub(desc, dest, src0, src1, len) \
desc              418 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(SUB, desc, dest, src0, src1, len)
desc              419 drivers/crypto/caam/desc_constr.h #define append_math_add_c(desc, dest, src0, src1, len) \
desc              420 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(ADDC, desc, dest, src0, src1, len)
desc              421 drivers/crypto/caam/desc_constr.h #define append_math_sub_b(desc, dest, src0, src1, len) \
desc              422 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(SUBB, desc, dest, src0, src1, len)
desc              423 drivers/crypto/caam/desc_constr.h #define append_math_and(desc, dest, src0, src1, len) \
desc              424 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(AND, desc, dest, src0, src1, len)
desc              425 drivers/crypto/caam/desc_constr.h #define append_math_or(desc, dest, src0, src1, len) \
desc              426 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(OR, desc, dest, src0, src1, len)
desc              427 drivers/crypto/caam/desc_constr.h #define append_math_xor(desc, dest, src0, src1, len) \
desc              428 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(XOR, desc, dest, src0, src1, len)
desc              429 drivers/crypto/caam/desc_constr.h #define append_math_lshift(desc, dest, src0, src1, len) \
desc              430 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(LSHIFT, desc, dest, src0, src1, len)
desc              431 drivers/crypto/caam/desc_constr.h #define append_math_rshift(desc, dest, src0, src1, len) \
desc              432 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(RSHIFT, desc, dest, src0, src1, len)
desc              433 drivers/crypto/caam/desc_constr.h #define append_math_ldshift(desc, dest, src0, src1, len) \
desc              434 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(SHLD, desc, dest, src0, src1, len)
desc              437 drivers/crypto/caam/desc_constr.h #define APPEND_MATH_IMM_u32(op, desc, dest, src_0, src_1, data) \
desc              439 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ); \
desc              440 drivers/crypto/caam/desc_constr.h 	append_cmd(desc, data); \
desc              443 drivers/crypto/caam/desc_constr.h #define append_math_add_imm_u32(desc, dest, src0, src1, data) \
desc              444 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(ADD, desc, dest, src0, src1, data)
desc              445 drivers/crypto/caam/desc_constr.h #define append_math_sub_imm_u32(desc, dest, src0, src1, data) \
desc              446 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(SUB, desc, dest, src0, src1, data)
desc              447 drivers/crypto/caam/desc_constr.h #define append_math_add_c_imm_u32(desc, dest, src0, src1, data) \
desc              448 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(ADDC, desc, dest, src0, src1, data)
desc              449 drivers/crypto/caam/desc_constr.h #define append_math_sub_b_imm_u32(desc, dest, src0, src1, data) \
desc              450 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(SUBB, desc, dest, src0, src1, data)
desc              451 drivers/crypto/caam/desc_constr.h #define append_math_and_imm_u32(desc, dest, src0, src1, data) \
desc              452 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(AND, desc, dest, src0, src1, data)
desc              453 drivers/crypto/caam/desc_constr.h #define append_math_or_imm_u32(desc, dest, src0, src1, data) \
desc              454 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(OR, desc, dest, src0, src1, data)
desc              455 drivers/crypto/caam/desc_constr.h #define append_math_xor_imm_u32(desc, dest, src0, src1, data) \
desc              456 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(XOR, desc, dest, src0, src1, data)
desc              457 drivers/crypto/caam/desc_constr.h #define append_math_lshift_imm_u32(desc, dest, src0, src1, data) \
desc              458 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(LSHIFT, desc, dest, src0, src1, data)
desc              459 drivers/crypto/caam/desc_constr.h #define append_math_rshift_imm_u32(desc, dest, src0, src1, data) \
desc              460 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u32(RSHIFT, desc, dest, src0, src1, data)
desc              463 drivers/crypto/caam/desc_constr.h #define APPEND_MATH_IMM_u64(op, desc, dest, src_0, src_1, data) \
desc              466 drivers/crypto/caam/desc_constr.h 	APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ * 2 | \
desc              469 drivers/crypto/caam/desc_constr.h 		append_u64(desc, data); \
desc              471 drivers/crypto/caam/desc_constr.h 		append_u32(desc, lower_32_bits(data)); \
desc              474 drivers/crypto/caam/desc_constr.h #define append_math_add_imm_u64(desc, dest, src0, src1, data) \
desc              475 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(ADD, desc, dest, src0, src1, data)
desc              476 drivers/crypto/caam/desc_constr.h #define append_math_sub_imm_u64(desc, dest, src0, src1, data) \
desc              477 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(SUB, desc, dest, src0, src1, data)
desc              478 drivers/crypto/caam/desc_constr.h #define append_math_add_c_imm_u64(desc, dest, src0, src1, data) \
desc              479 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(ADDC, desc, dest, src0, src1, data)
desc              480 drivers/crypto/caam/desc_constr.h #define append_math_sub_b_imm_u64(desc, dest, src0, src1, data) \
desc              481 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(SUBB, desc, dest, src0, src1, data)
desc              482 drivers/crypto/caam/desc_constr.h #define append_math_and_imm_u64(desc, dest, src0, src1, data) \
desc              483 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(AND, desc, dest, src0, src1, data)
desc              484 drivers/crypto/caam/desc_constr.h #define append_math_or_imm_u64(desc, dest, src0, src1, data) \
desc              485 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(OR, desc, dest, src0, src1, data)
desc              486 drivers/crypto/caam/desc_constr.h #define append_math_xor_imm_u64(desc, dest, src0, src1, data) \
desc              487 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(XOR, desc, dest, src0, src1, data)
desc              488 drivers/crypto/caam/desc_constr.h #define append_math_lshift_imm_u64(desc, dest, src0, src1, data) \
desc              489 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(LSHIFT, desc, dest, src0, src1, data)
desc              490 drivers/crypto/caam/desc_constr.h #define append_math_rshift_imm_u64(desc, dest, src0, src1, data) \
desc              491 drivers/crypto/caam/desc_constr.h 	APPEND_MATH_IMM_u64(RSHIFT, desc, dest, src0, src1, data)
desc              561 drivers/crypto/caam/desc_constr.h static inline void append_proto_dkp(u32 * const desc, struct alginfo *adata)
desc              576 drivers/crypto/caam/desc_constr.h 			append_operation(desc, OP_TYPE_UNI_PROTOCOL | protid |
desc              579 drivers/crypto/caam/desc_constr.h 			append_ptr(desc, adata->key_dma);
desc              584 drivers/crypto/caam/desc_constr.h 			append_operation(desc, OP_TYPE_UNI_PROTOCOL | protid |
desc              587 drivers/crypto/caam/desc_constr.h 			append_data(desc, adata->key_virt, adata->keylen);
desc              596 drivers/crypto/caam/desc_constr.h 			(*desc) = cpu_to_caam32(caam32_to_cpu(*desc) + words);
desc              598 drivers/crypto/caam/desc_constr.h 		append_operation(desc, OP_TYPE_UNI_PROTOCOL | protid |
desc              601 drivers/crypto/caam/desc_constr.h 		append_ptr(desc, adata->key_dma);
desc               34 drivers/crypto/caam/intern.h 	void (*callbk)(struct device *dev, u32 *desc, u32 status, void *arg);
desc              197 drivers/crypto/caam/jr.c 	void (*usercall)(struct device *dev, u32 *desc, u32 status, void *arg);
desc              354 drivers/crypto/caam/jr.c int caam_jr_enqueue(struct device *dev, u32 *desc,
desc              355 drivers/crypto/caam/jr.c 		    void (*cbk)(struct device *dev, u32 *desc,
desc              364 drivers/crypto/caam/jr.c 	desc_size = (caam32_to_cpu(*desc) & HDR_JD_LENGTH_MASK) * sizeof(u32);
desc              365 drivers/crypto/caam/jr.c 	desc_dma = dma_map_single(dev, desc, desc_size, DMA_TO_DEVICE);
desc              384 drivers/crypto/caam/jr.c 	head_entry->desc_addr_virt = desc;
desc               14 drivers/crypto/caam/jr.h int caam_jr_enqueue(struct device *dev, u32 *desc,
desc               15 drivers/crypto/caam/jr.h 		    void (*cbk)(struct device *dev, u32 *desc, u32 status,
desc               14 drivers/crypto/caam/key_gen.c void split_key_done(struct device *dev, u32 *desc, u32 err,
desc               48 drivers/crypto/caam/key_gen.c 	u32 *desc;
desc               67 drivers/crypto/caam/key_gen.c 	desc = kmalloc(CAAM_CMD_SZ * 6 + CAAM_PTR_SZ * 2, GFP_KERNEL | GFP_DMA);
desc               68 drivers/crypto/caam/key_gen.c 	if (!desc) {
desc               81 drivers/crypto/caam/key_gen.c 	init_job_desc(desc, 0);
desc               82 drivers/crypto/caam/key_gen.c 	append_key(desc, dma_addr, keylen, CLASS_2 | KEY_DEST_CLASS_REG);
desc               85 drivers/crypto/caam/key_gen.c 	append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) |
desc               93 drivers/crypto/caam/key_gen.c 	append_fifo_load_as_imm(desc, NULL, 0, LDST_CLASS_2_CCB |
desc              100 drivers/crypto/caam/key_gen.c 	append_fifo_store(desc, dma_addr, adata->keylen,
desc              104 drivers/crypto/caam/key_gen.c 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
desc              110 drivers/crypto/caam/key_gen.c 	ret = caam_jr_enqueue(jrdev, desc, split_key_done, &result);
desc              123 drivers/crypto/caam/key_gen.c 	kfree(desc);
desc               44 drivers/crypto/caam/key_gen.h void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
desc               14 drivers/crypto/caam/pkc_desc.c void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb)
desc               16 drivers/crypto/caam/pkc_desc.c 	init_job_desc_pdb(desc, 0, SIZEOF_RSA_PUB_PDB);
desc               17 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->sgf);
desc               18 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->f_dma);
desc               19 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->g_dma);
desc               20 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->n_dma);
desc               21 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->e_dma);
desc               22 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->f_len);
desc               23 drivers/crypto/caam/pkc_desc.c 	append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSAENC_PUBKEY);
desc               27 drivers/crypto/caam/pkc_desc.c void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb)
desc               29 drivers/crypto/caam/pkc_desc.c 	init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F1_PDB);
desc               30 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->sgf);
desc               31 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->g_dma);
desc               32 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->f_dma);
desc               33 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->n_dma);
desc               34 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->d_dma);
desc               35 drivers/crypto/caam/pkc_desc.c 	append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY |
desc               40 drivers/crypto/caam/pkc_desc.c void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb)
desc               42 drivers/crypto/caam/pkc_desc.c 	init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F2_PDB);
desc               43 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->sgf);
desc               44 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->g_dma);
desc               45 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->f_dma);
desc               46 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->d_dma);
desc               47 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->p_dma);
desc               48 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->q_dma);
desc               49 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->tmp1_dma);
desc               50 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->tmp2_dma);
desc               51 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->p_q_len);
desc               52 drivers/crypto/caam/pkc_desc.c 	append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY |
desc               57 drivers/crypto/caam/pkc_desc.c void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb)
desc               59 drivers/crypto/caam/pkc_desc.c 	init_job_desc_pdb(desc, 0, SIZEOF_RSA_PRIV_F3_PDB);
desc               60 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->sgf);
desc               61 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->g_dma);
desc               62 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->f_dma);
desc               63 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->c_dma);
desc               64 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->p_dma);
desc               65 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->q_dma);
desc               66 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->dp_dma);
desc               67 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->dq_dma);
desc               68 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->tmp1_dma);
desc               69 drivers/crypto/caam/pkc_desc.c 	append_ptr(desc, pdb->tmp2_dma);
desc               70 drivers/crypto/caam/pkc_desc.c 	append_cmd(desc, pdb->p_q_len);
desc               71 drivers/crypto/caam/pkc_desc.c 	append_operation(desc, OP_TYPE_UNI_PROTOCOL | OP_PCLID_RSADEC_PRVKEY |
desc              215 drivers/crypto/caam/regs.h static inline void jr_outentry_get(void *outring, int hw_idx, dma_addr_t *desc,
desc              221 drivers/crypto/caam/regs.h 			u32 desc;
desc              225 drivers/crypto/caam/regs.h 		*desc = outentry[hw_idx].desc;
desc              229 drivers/crypto/caam/regs.h 			dma_addr_t desc;/* Pointer to completed descriptor */
desc              233 drivers/crypto/caam/regs.h 		*desc = outentry[hw_idx].desc;
desc              242 drivers/crypto/caam/regs.h 	dma_addr_t desc;
desc              245 drivers/crypto/caam/regs.h 	jr_outentry_get(outring, hw_idx, &desc, &unused);
desc              247 drivers/crypto/caam/regs.h 	return desc;
desc              221 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_do_cmd(struct ccp5_desc *desc,
desc              232 drivers/crypto/ccp/ccp-dev-v5.c 	if (CCP5_CMD_SOC(desc)) {
desc              233 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_IOC(desc) = 1;
desc              234 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SOC(desc) = 0;
desc              239 drivers/crypto/ccp/ccp-dev-v5.c 	dP = (__le32 *) desc;
desc              256 drivers/crypto/ccp/ccp-dev-v5.c 	if (CCP5_CMD_IOC(desc)) {
desc              279 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              286 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              288 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_AES;
desc              290 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = op->soc;
desc              291 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              292 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = op->init;
desc              293 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = op->eom;
desc              294 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              302 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              304 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
desc              306 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              307 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              308 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              310 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              311 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              312 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              314 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_LO(&desc) = lower_32_bits(key_addr);
desc              315 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_HI(&desc) = 0;
desc              316 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SB;
desc              317 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LSB_ID(&desc) = op->sb_ctx;
desc              319 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              324 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              331 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              333 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_XTS_AES_128;
desc              335 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = op->soc;
desc              336 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              337 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = op->init;
desc              338 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = op->eom;
desc              339 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              345 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              347 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
desc              349 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              350 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              351 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              353 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              354 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              355 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              357 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_LO(&desc) = lower_32_bits(key_addr);
desc              358 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_HI(&desc) =  0;
desc              359 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SB;
desc              360 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LSB_ID(&desc) = op->sb_ctx;
desc              362 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              367 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              373 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              375 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_SHA;
desc              377 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = op->soc;
desc              378 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              379 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = 1;
desc              380 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = op->eom;
desc              381 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              385 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              387 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
desc              389 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              390 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              391 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              393 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LSB_ID(&desc) = op->sb_ctx;
desc              396 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits);
desc              397 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits);
desc              399 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_LO(&desc) = 0;
desc              400 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SHA_HI(&desc) = 0;
desc              403 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              408 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              415 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, sizeof(struct ccp5_desc));
desc              417 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_DES3;
desc              419 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = op->soc;
desc              420 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              421 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = op->init;
desc              422 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = op->eom;
desc              423 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              429 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              431 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
desc              433 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              434 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              435 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              437 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              438 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              439 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              441 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_LO(&desc) = lower_32_bits(key_addr);
desc              442 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_HI(&desc) = 0;
desc              443 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SB;
desc              444 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LSB_ID(&desc) = op->sb_ctx;
desc              446 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              451 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              457 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              459 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_RSA;
desc              461 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = op->soc;
desc              462 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              463 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = 0;
desc              464 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = 1;
desc              465 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              469 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              471 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->u.rsa.input_len;
desc              474 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              475 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              476 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              479 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              480 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              481 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              484 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_LO(&desc) = ccp_addr_lo(&op->exp.u.dma);
desc              485 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_HI(&desc) = ccp_addr_hi(&op->exp.u.dma);
desc              486 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              488 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              493 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              501 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              503 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_PASSTHRU;
desc              505 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = 0;
desc              506 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              507 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = 0;
desc              508 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = op->eom;
desc              509 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              514 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              518 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_LEN(&desc) = saddr->length;
desc              520 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_LEN(&desc) = daddr->length;
desc              523 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              524 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              525 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              528 drivers/crypto/ccp/ccp-dev-v5.c 			CCP5_CMD_LSB_ID(&desc) = op->sb_key;
desc              532 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_LO(&desc) = lower_32_bits(key_addr);
desc              533 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_HI(&desc) = 0;
desc              534 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SB;
desc              538 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              539 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              540 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              544 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_LO(&desc) = lower_32_bits(key_addr);
desc              545 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_HI(&desc) = 0;
desc              546 drivers/crypto/ccp/ccp-dev-v5.c 		CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SB;
desc              549 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc              554 drivers/crypto/ccp/ccp-dev-v5.c 	struct ccp5_desc desc;
desc              560 drivers/crypto/ccp/ccp-dev-v5.c 	memset(&desc, 0, Q_DESC_SIZE);
desc              562 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_ECC;
desc              564 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SOC(&desc) = 0;
desc              565 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_IOC(&desc) = 1;
desc              566 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_INIT(&desc) = 0;
desc              567 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_EOM(&desc) = 1;
desc              568 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_PROT(&desc) = 0;
desc              572 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_FUNCTION(&desc) = function.raw;
desc              574 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
desc              576 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
desc              577 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
desc              578 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              580 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma);
desc              581 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma);
desc              582 drivers/crypto/ccp/ccp-dev-v5.c 	CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
desc              584 drivers/crypto/ccp/ccp-dev-v5.c 	return ccp5_do_cmd(&desc, op->cmd_q);
desc               76 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc, *dtmp;
desc               78 drivers/crypto/ccp/ccp-dmaengine.c 	list_for_each_entry_safe(desc, dtmp, list, entry) {
desc               79 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_free_cmd_resources(ccp, &desc->active);
desc               80 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_free_cmd_resources(ccp, &desc->pending);
desc               82 drivers/crypto/ccp/ccp-dmaengine.c 		list_del(&desc->entry);
desc               83 drivers/crypto/ccp/ccp-dmaengine.c 		kmem_cache_free(ccp->dma_desc_cache, desc);
desc              108 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc, *dtmp;
desc              110 drivers/crypto/ccp/ccp-dmaengine.c 	list_for_each_entry_safe_reverse(desc, dtmp, list, entry) {
desc              111 drivers/crypto/ccp/ccp-dmaengine.c 		if (!async_tx_test_ack(&desc->tx_desc))
desc              114 drivers/crypto/ccp/ccp-dmaengine.c 		dev_dbg(ccp->dev, "%s - desc=%p\n", __func__, desc);
desc              116 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_free_cmd_resources(ccp, &desc->active);
desc              117 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_free_cmd_resources(ccp, &desc->pending);
desc              119 drivers/crypto/ccp/ccp-dmaengine.c 		list_del(&desc->entry);
desc              120 drivers/crypto/ccp/ccp-dmaengine.c 		kmem_cache_free(ccp->dma_desc_cache, desc);
desc              139 drivers/crypto/ccp/ccp-dmaengine.c static int ccp_issue_next_cmd(struct ccp_dma_desc *desc)
desc              144 drivers/crypto/ccp/ccp-dmaengine.c 	cmd = list_first_entry(&desc->pending, struct ccp_dma_cmd, entry);
desc              145 drivers/crypto/ccp/ccp-dmaengine.c 	list_move(&cmd->entry, &desc->active);
desc              147 drivers/crypto/ccp/ccp-dmaengine.c 	dev_dbg(desc->ccp->dev, "%s - tx %d, cmd=%p\n", __func__,
desc              148 drivers/crypto/ccp/ccp-dmaengine.c 		desc->tx_desc.cookie, cmd);
desc              154 drivers/crypto/ccp/ccp-dmaengine.c 	dev_dbg(desc->ccp->dev, "%s - error: ret=%d, tx %d, cmd=%p\n", __func__,
desc              155 drivers/crypto/ccp/ccp-dmaengine.c 		ret, desc->tx_desc.cookie, cmd);
desc              160 drivers/crypto/ccp/ccp-dmaengine.c static void ccp_free_active_cmd(struct ccp_dma_desc *desc)
desc              164 drivers/crypto/ccp/ccp-dmaengine.c 	cmd = list_first_entry_or_null(&desc->active, struct ccp_dma_cmd,
desc              169 drivers/crypto/ccp/ccp-dmaengine.c 	dev_dbg(desc->ccp->dev, "%s - freeing tx %d cmd=%p\n",
desc              170 drivers/crypto/ccp/ccp-dmaengine.c 		__func__, desc->tx_desc.cookie, cmd);
desc              173 drivers/crypto/ccp/ccp-dmaengine.c 	kmem_cache_free(desc->ccp->dma_cmd_cache, cmd);
desc              177 drivers/crypto/ccp/ccp-dmaengine.c 						struct ccp_dma_desc *desc)
desc              180 drivers/crypto/ccp/ccp-dmaengine.c 	if (desc)
desc              181 drivers/crypto/ccp/ccp-dmaengine.c 		list_move(&desc->entry, &chan->complete);
desc              184 drivers/crypto/ccp/ccp-dmaengine.c 	desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc,
desc              187 drivers/crypto/ccp/ccp-dmaengine.c 	return desc;
desc              191 drivers/crypto/ccp/ccp-dmaengine.c 						   struct ccp_dma_desc *desc)
desc              198 drivers/crypto/ccp/ccp-dmaengine.c 		if (desc) {
desc              200 drivers/crypto/ccp/ccp-dmaengine.c 			ccp_free_active_cmd(desc);
desc              202 drivers/crypto/ccp/ccp-dmaengine.c 			if (!list_empty(&desc->pending)) {
desc              204 drivers/crypto/ccp/ccp-dmaengine.c 				if (desc->status != DMA_ERROR)
desc              205 drivers/crypto/ccp/ccp-dmaengine.c 					return desc;
desc              208 drivers/crypto/ccp/ccp-dmaengine.c 				ccp_free_cmd_resources(desc->ccp,
desc              209 drivers/crypto/ccp/ccp-dmaengine.c 						       &desc->pending);
desc              212 drivers/crypto/ccp/ccp-dmaengine.c 			tx_desc = &desc->tx_desc;
desc              219 drivers/crypto/ccp/ccp-dmaengine.c 		if (desc) {
desc              220 drivers/crypto/ccp/ccp-dmaengine.c 			if (desc->status != DMA_ERROR)
desc              221 drivers/crypto/ccp/ccp-dmaengine.c 				desc->status = DMA_COMPLETE;
desc              223 drivers/crypto/ccp/ccp-dmaengine.c 			dev_dbg(desc->ccp->dev,
desc              225 drivers/crypto/ccp/ccp-dmaengine.c 				desc->tx_desc.cookie, desc->status);
desc              231 drivers/crypto/ccp/ccp-dmaengine.c 		desc = __ccp_next_dma_desc(chan, desc);
desc              240 drivers/crypto/ccp/ccp-dmaengine.c 	} while (desc);
desc              247 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              252 drivers/crypto/ccp/ccp-dmaengine.c 	desc = list_empty(&chan->active)
desc              258 drivers/crypto/ccp/ccp-dmaengine.c 	return desc;
desc              263 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc = data;
desc              270 drivers/crypto/ccp/ccp-dmaengine.c 	chan = container_of(desc->tx_desc.chan, struct ccp_dma_chan,
desc              274 drivers/crypto/ccp/ccp-dmaengine.c 		__func__, desc->tx_desc.cookie, err);
desc              277 drivers/crypto/ccp/ccp-dmaengine.c 		desc->status = DMA_ERROR;
desc              281 drivers/crypto/ccp/ccp-dmaengine.c 		desc = ccp_handle_active_desc(chan, desc);
desc              284 drivers/crypto/ccp/ccp-dmaengine.c 		if (!desc || (chan->status == DMA_PAUSED))
desc              287 drivers/crypto/ccp/ccp-dmaengine.c 		ret = ccp_issue_next_cmd(desc);
desc              291 drivers/crypto/ccp/ccp-dmaengine.c 		desc->status = DMA_ERROR;
desc              299 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc = container_of(tx_desc, struct ccp_dma_desc,
desc              310 drivers/crypto/ccp/ccp-dmaengine.c 	list_del(&desc->entry);
desc              311 drivers/crypto/ccp/ccp-dmaengine.c 	list_add_tail(&desc->entry, &chan->pending);
desc              335 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              337 drivers/crypto/ccp/ccp-dmaengine.c 	desc = kmem_cache_zalloc(chan->ccp->dma_desc_cache, GFP_NOWAIT);
desc              338 drivers/crypto/ccp/ccp-dmaengine.c 	if (!desc)
desc              341 drivers/crypto/ccp/ccp-dmaengine.c 	dma_async_tx_descriptor_init(&desc->tx_desc, &chan->dma_chan);
desc              342 drivers/crypto/ccp/ccp-dmaengine.c 	desc->tx_desc.flags = flags;
desc              343 drivers/crypto/ccp/ccp-dmaengine.c 	desc->tx_desc.tx_submit = ccp_tx_submit;
desc              344 drivers/crypto/ccp/ccp-dmaengine.c 	desc->ccp = chan->ccp;
desc              345 drivers/crypto/ccp/ccp-dmaengine.c 	INIT_LIST_HEAD(&desc->entry);
desc              346 drivers/crypto/ccp/ccp-dmaengine.c 	INIT_LIST_HEAD(&desc->pending);
desc              347 drivers/crypto/ccp/ccp-dmaengine.c 	INIT_LIST_HEAD(&desc->active);
desc              348 drivers/crypto/ccp/ccp-dmaengine.c 	desc->status = DMA_IN_PROGRESS;
desc              350 drivers/crypto/ccp/ccp-dmaengine.c 	return desc;
desc              363 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              379 drivers/crypto/ccp/ccp-dmaengine.c 	desc = ccp_alloc_dma_desc(chan, flags);
desc              380 drivers/crypto/ccp/ccp-dmaengine.c 	if (!desc)
desc              439 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_cmd->data = desc;
desc              441 drivers/crypto/ccp/ccp-dmaengine.c 		list_add_tail(&cmd->entry, &desc->pending);
desc              457 drivers/crypto/ccp/ccp-dmaengine.c 	desc->len = total_len;
desc              459 drivers/crypto/ccp/ccp-dmaengine.c 	if (list_empty(&desc->pending))
desc              462 drivers/crypto/ccp/ccp-dmaengine.c 	dev_dbg(ccp->dev, "%s - desc=%p\n", __func__, desc);
desc              466 drivers/crypto/ccp/ccp-dmaengine.c 	list_add_tail(&desc->entry, &chan->created);
desc              470 drivers/crypto/ccp/ccp-dmaengine.c 	return desc;
desc              473 drivers/crypto/ccp/ccp-dmaengine.c 	ccp_free_cmd_resources(ccp, &desc->pending);
desc              474 drivers/crypto/ccp/ccp-dmaengine.c 	kmem_cache_free(ccp->dma_desc_cache, desc);
desc              485 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              500 drivers/crypto/ccp/ccp-dmaengine.c 	desc = ccp_create_desc(dma_chan, &dst_sg, 1, &src_sg, 1, flags);
desc              501 drivers/crypto/ccp/ccp-dmaengine.c 	if (!desc)
desc              504 drivers/crypto/ccp/ccp-dmaengine.c 	return &desc->tx_desc;
desc              512 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              514 drivers/crypto/ccp/ccp-dmaengine.c 	desc = ccp_alloc_dma_desc(chan, flags);
desc              515 drivers/crypto/ccp/ccp-dmaengine.c 	if (!desc)
desc              518 drivers/crypto/ccp/ccp-dmaengine.c 	return &desc->tx_desc;
desc              525 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              532 drivers/crypto/ccp/ccp-dmaengine.c 	desc = __ccp_pending_to_active(chan);
desc              537 drivers/crypto/ccp/ccp-dmaengine.c 	if (desc)
desc              538 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_cmd_callback(desc, 0);
desc              547 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              561 drivers/crypto/ccp/ccp-dmaengine.c 		list_for_each_entry(desc, &chan->complete, entry) {
desc              562 drivers/crypto/ccp/ccp-dmaengine.c 			if (desc->tx_desc.cookie != cookie)
desc              565 drivers/crypto/ccp/ccp-dmaengine.c 			ret = desc->status;
desc              594 drivers/crypto/ccp/ccp-dmaengine.c 	struct ccp_dma_desc *desc;
desc              599 drivers/crypto/ccp/ccp-dmaengine.c 	desc = list_first_entry_or_null(&chan->active, struct ccp_dma_desc,
desc              608 drivers/crypto/ccp/ccp-dmaengine.c 	if (desc)
desc              609 drivers/crypto/ccp/ccp-dmaengine.c 		ccp_cmd_callback(desc, 0);
desc              255 drivers/crypto/ccree/cc_aead.c static unsigned int xcbc_setkey(struct cc_hw_desc *desc,
desc              259 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[0]);
desc              264 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[0], DMA_DLLI,
desc              267 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[0], DRV_CIPHER_ECB);
desc              268 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[0], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc              269 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[0], ctx->auth_keylen);
desc              270 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[0], S_DIN_to_AES);
desc              271 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[0], SETUP_LOAD_KEY0);
desc              273 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[1]);
desc              274 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[1], 0x01010101, CC_AES_128_BIT_KEY_SIZE);
desc              275 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[1], DIN_AES_DOUT);
desc              276 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[1], ctx->auth_state.xcbc.xcbc_keys_dma_addr,
desc              279 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[2]);
desc              280 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[2], 0x02020202, CC_AES_128_BIT_KEY_SIZE);
desc              281 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[2], DIN_AES_DOUT);
desc              282 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[2], (ctx->auth_state.xcbc.xcbc_keys_dma_addr
desc              286 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[3]);
desc              287 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[3], 0x03030303, CC_AES_128_BIT_KEY_SIZE);
desc              288 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[3], DIN_AES_DOUT);
desc              289 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[3], (ctx->auth_state.xcbc.xcbc_keys_dma_addr
desc              296 drivers/crypto/ccree/cc_aead.c static int hmac_setkey(struct cc_hw_desc *desc, struct cc_aead_ctx *ctx)
desc              312 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              313 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], hash_mode);
desc              314 drivers/crypto/ccree/cc_aead.c 		set_din_sram(&desc[idx],
desc              318 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              319 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              323 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              324 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], hash_mode);
desc              325 drivers/crypto/ccree/cc_aead.c 		set_din_const(&desc[idx], 0, ctx->hash_len);
desc              326 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              327 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              331 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              332 drivers/crypto/ccree/cc_aead.c 		set_xor_val(&desc[idx], hmac_pad_const[i]);
desc              333 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], hash_mode);
desc              334 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              335 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc              339 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              340 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI,
desc              343 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], hash_mode);
desc              344 drivers/crypto/ccree/cc_aead.c 		set_xor_active(&desc[idx]);
desc              345 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], DIN_HASH);
desc              349 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              350 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], hash_mode);
desc              351 drivers/crypto/ccree/cc_aead.c 		set_dout_dlli(&desc[idx],
desc              354 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              355 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              356 drivers/crypto/ccree/cc_aead.c 		set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              427 drivers/crypto/ccree/cc_aead.c 	struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ];
desc              460 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              461 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], hashmode);
desc              462 drivers/crypto/ccree/cc_aead.c 			set_din_sram(&desc[idx], larval_addr, digestsize);
desc              463 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              464 drivers/crypto/ccree/cc_aead.c 			set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              468 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              469 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], hashmode);
desc              470 drivers/crypto/ccree/cc_aead.c 			set_din_const(&desc[idx], 0, ctx->hash_len);
desc              471 drivers/crypto/ccree/cc_aead.c 			set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc              472 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              473 drivers/crypto/ccree/cc_aead.c 			set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              476 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              477 drivers/crypto/ccree/cc_aead.c 			set_din_type(&desc[idx], DMA_DLLI,
desc              479 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], DIN_HASH);
desc              483 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              484 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], hashmode);
desc              485 drivers/crypto/ccree/cc_aead.c 			set_dout_dlli(&desc[idx], padded_authkey_dma_addr,
desc              487 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              488 drivers/crypto/ccree/cc_aead.c 			set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              489 drivers/crypto/ccree/cc_aead.c 			set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              490 drivers/crypto/ccree/cc_aead.c 			set_cipher_config0(&desc[idx],
desc              494 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              495 drivers/crypto/ccree/cc_aead.c 			set_din_const(&desc[idx], 0, (blocksize - digestsize));
desc              496 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], BYPASS);
desc              497 drivers/crypto/ccree/cc_aead.c 			set_dout_dlli(&desc[idx], (padded_authkey_dma_addr +
desc              502 drivers/crypto/ccree/cc_aead.c 			hw_desc_init(&desc[idx]);
desc              503 drivers/crypto/ccree/cc_aead.c 			set_din_type(&desc[idx], DMA_DLLI, key_dma_addr,
desc              505 drivers/crypto/ccree/cc_aead.c 			set_flow_mode(&desc[idx], BYPASS);
desc              506 drivers/crypto/ccree/cc_aead.c 			set_dout_dlli(&desc[idx], padded_authkey_dma_addr,
desc              511 drivers/crypto/ccree/cc_aead.c 				hw_desc_init(&desc[idx]);
desc              512 drivers/crypto/ccree/cc_aead.c 				set_din_const(&desc[idx], 0,
desc              514 drivers/crypto/ccree/cc_aead.c 				set_flow_mode(&desc[idx], BYPASS);
desc              515 drivers/crypto/ccree/cc_aead.c 				set_dout_dlli(&desc[idx],
desc              523 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              524 drivers/crypto/ccree/cc_aead.c 		set_din_const(&desc[idx], 0, (blocksize - keylen));
desc              525 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], BYPASS);
desc              526 drivers/crypto/ccree/cc_aead.c 		set_dout_dlli(&desc[idx], padded_authkey_dma_addr,
desc              531 drivers/crypto/ccree/cc_aead.c 	rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx);
desc              548 drivers/crypto/ccree/cc_aead.c 	struct cc_hw_desc desc[MAX_AEAD_SETKEY_SEQ];
desc              615 drivers/crypto/ccree/cc_aead.c 		seq_len = hmac_setkey(desc, ctx);
desc              618 drivers/crypto/ccree/cc_aead.c 		seq_len = xcbc_setkey(desc, ctx);
desc              631 drivers/crypto/ccree/cc_aead.c 		rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, seq_len);
desc              732 drivers/crypto/ccree/cc_aead.c 			      struct cc_hw_desc desc[], unsigned int *seq_size)
desc              744 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              745 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI, sg_dma_address(areq->src),
desc              747 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              750 drivers/crypto/ccree/cc_aead.c 			set_din_not_last_indication(&desc[idx]);
desc              754 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              755 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_MLLI, areq_ctx->assoc.sram_addr,
desc              757 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              760 drivers/crypto/ccree/cc_aead.c 			set_din_not_last_indication(&desc[idx]);
desc              772 drivers/crypto/ccree/cc_aead.c 				struct cc_hw_desc desc[],
desc              793 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              794 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI,
desc              797 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              820 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              821 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_MLLI, mlli_addr, mlli_nents,
desc              823 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              836 drivers/crypto/ccree/cc_aead.c 				struct cc_hw_desc desc[],
desc              852 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              853 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI,
desc              857 drivers/crypto/ccree/cc_aead.c 		set_dout_dlli(&desc[idx],
desc              861 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              865 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              866 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_MLLI, areq_ctx->src.sram_addr,
desc              868 drivers/crypto/ccree/cc_aead.c 		set_dout_mlli(&desc[idx], areq_ctx->dst.sram_addr,
desc              870 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], flow_mode);
desc              881 drivers/crypto/ccree/cc_aead.c 				struct cc_hw_desc desc[],
desc              894 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              895 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              896 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              897 drivers/crypto/ccree/cc_aead.c 		set_dout_dlli(&desc[idx], req_ctx->icv_dma_addr, ctx->authsize,
desc              899 drivers/crypto/ccree/cc_aead.c 		set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc              901 drivers/crypto/ccree/cc_aead.c 			set_aes_not_hash_mode(&desc[idx]);
desc              902 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc              904 drivers/crypto/ccree/cc_aead.c 			set_cipher_config0(&desc[idx],
desc              906 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], hash_mode);
desc              910 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              911 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              912 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              913 drivers/crypto/ccree/cc_aead.c 		set_dout_dlli(&desc[idx], req_ctx->mac_buf_dma_addr,
desc              915 drivers/crypto/ccree/cc_aead.c 		set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc              916 drivers/crypto/ccree/cc_aead.c 		set_cipher_config0(&desc[idx],
desc              918 drivers/crypto/ccree/cc_aead.c 		set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              920 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc              921 drivers/crypto/ccree/cc_aead.c 			set_aes_not_hash_mode(&desc[idx]);
desc              923 drivers/crypto/ccree/cc_aead.c 			set_cipher_mode(&desc[idx], hash_mode);
desc              931 drivers/crypto/ccree/cc_aead.c 			       struct cc_hw_desc desc[],
desc              942 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc              943 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], direct);
desc              944 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], ctx->flow_mode);
desc              945 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->gen_ctx.iv_dma_addr,
desc              948 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc              950 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              951 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], ctx->cipher_mode);
desc              955 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc              956 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], direct);
desc              957 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              958 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], ctx->flow_mode);
desc              960 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc              963 drivers/crypto/ccree/cc_aead.c 		set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc              965 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc              967 drivers/crypto/ccree/cc_aead.c 		set_key_size_des(&desc[idx], ctx->enc_keylen);
desc              969 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], ctx->cipher_mode);
desc              975 drivers/crypto/ccree/cc_aead.c static void cc_proc_cipher(struct aead_request *req, struct cc_hw_desc desc[],
desc              985 drivers/crypto/ccree/cc_aead.c 	cc_set_cipher_desc(req, desc, &idx);
desc              986 drivers/crypto/ccree/cc_aead.c 	cc_proc_cipher_desc(req, data_flow_mode, desc, &idx);
desc              989 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc              990 drivers/crypto/ccree/cc_aead.c 		set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc              991 drivers/crypto/ccree/cc_aead.c 		set_dout_no_dma(&desc[idx], 0, 0, 1);
desc              998 drivers/crypto/ccree/cc_aead.c static void cc_set_hmac_desc(struct aead_request *req, struct cc_hw_desc desc[],
desc             1010 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1011 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1012 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1015 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1016 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             1020 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1021 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1022 drivers/crypto/ccree/cc_aead.c 	set_din_sram(&desc[idx], cc_digest_len_addr(ctx->drvdata, hash_mode),
desc             1024 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1025 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1031 drivers/crypto/ccree/cc_aead.c static void cc_set_xcbc_desc(struct aead_request *req, struct cc_hw_desc desc[],
desc             1039 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1040 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[idx], 0, CC_AES_BLOCK_SIZE);
desc             1041 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             1042 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             1043 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1044 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             1045 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1046 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1050 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1051 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1054 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1055 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             1056 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1057 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             1058 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1059 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1063 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1064 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1067 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             1068 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             1069 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1070 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             1071 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1072 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1076 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1077 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1080 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE2);
desc             1081 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             1082 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1083 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             1084 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1085 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1092 drivers/crypto/ccree/cc_aead.c 				struct cc_hw_desc desc[],
desc             1100 drivers/crypto/ccree/cc_aead.c 		cc_set_assoc_desc(req, DIN_HASH, desc, &idx);
desc             1107 drivers/crypto/ccree/cc_aead.c 				struct cc_hw_desc desc[],
desc             1119 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1120 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1121 drivers/crypto/ccree/cc_aead.c 	set_dout_sram(&desc[idx], aead_handle->sram_workspace_addr,
desc             1123 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc             1124 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE1);
desc             1125 drivers/crypto/ccree/cc_aead.c 	set_cipher_do(&desc[idx], DO_PAD);
desc             1129 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1130 drivers/crypto/ccree/cc_aead.c 	set_dout_sram(&desc[idx], aead_handle->sram_workspace_addr,
desc             1132 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc             1133 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1134 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], HASH_DIGEST_RESULT_LITTLE_ENDIAN);
desc             1135 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1139 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1140 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1141 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1144 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1145 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             1149 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1150 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], hash_mode);
desc             1151 drivers/crypto/ccree/cc_aead.c 	set_din_sram(&desc[idx], cc_digest_len_addr(ctx->drvdata, hash_mode),
desc             1153 drivers/crypto/ccree/cc_aead.c 	set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc             1154 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1155 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1159 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1160 drivers/crypto/ccree/cc_aead.c 	set_din_sram(&desc[idx], aead_handle->sram_workspace_addr,
desc             1162 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], DIN_HASH);
desc             1169 drivers/crypto/ccree/cc_aead.c 			    struct cc_hw_desc desc[], unsigned int *seq_size)
desc             1183 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[*seq_size]);
desc             1184 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[*seq_size], DMA_DLLI,
desc             1187 drivers/crypto/ccree/cc_aead.c 		set_dout_sram(&desc[*seq_size],
desc             1190 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[*seq_size], BYPASS);
desc             1220 drivers/crypto/ccree/cc_aead.c static void cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[],
desc             1235 drivers/crypto/ccree/cc_aead.c 		cc_set_hmac_desc(req, desc, seq_size);
desc             1236 drivers/crypto/ccree/cc_aead.c 		cc_set_cipher_desc(req, desc, seq_size);
desc             1237 drivers/crypto/ccree/cc_aead.c 		cc_proc_header_desc(req, desc, seq_size);
desc             1238 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher_desc(req, data_flow_mode, desc, seq_size);
desc             1239 drivers/crypto/ccree/cc_aead.c 		cc_proc_scheme_desc(req, desc, seq_size);
desc             1240 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1251 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher(req, desc, seq_size, data_flow_mode);
desc             1253 drivers/crypto/ccree/cc_aead.c 		cc_set_hmac_desc(req, desc, seq_size);
desc             1254 drivers/crypto/ccree/cc_aead.c 		cc_proc_authen_desc(req, DIN_HASH, desc, seq_size, direct);
desc             1255 drivers/crypto/ccree/cc_aead.c 		cc_proc_scheme_desc(req, desc, seq_size);
desc             1256 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1260 drivers/crypto/ccree/cc_aead.c 		cc_set_hmac_desc(req, desc, seq_size);
desc             1261 drivers/crypto/ccree/cc_aead.c 		cc_proc_authen_desc(req, DIN_HASH, desc, seq_size, direct);
desc             1262 drivers/crypto/ccree/cc_aead.c 		cc_proc_scheme_desc(req, desc, seq_size);
desc             1264 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher(req, desc, seq_size, data_flow_mode);
desc             1268 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1273 drivers/crypto/ccree/cc_aead.c cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[],
desc             1288 drivers/crypto/ccree/cc_aead.c 		cc_set_xcbc_desc(req, desc, seq_size);
desc             1289 drivers/crypto/ccree/cc_aead.c 		cc_set_cipher_desc(req, desc, seq_size);
desc             1290 drivers/crypto/ccree/cc_aead.c 		cc_proc_header_desc(req, desc, seq_size);
desc             1291 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher_desc(req, data_flow_mode, desc, seq_size);
desc             1292 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1303 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher(req, desc, seq_size, data_flow_mode);
desc             1305 drivers/crypto/ccree/cc_aead.c 		cc_set_xcbc_desc(req, desc, seq_size);
desc             1306 drivers/crypto/ccree/cc_aead.c 		cc_proc_authen_desc(req, DIN_HASH, desc, seq_size, direct);
desc             1307 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1310 drivers/crypto/ccree/cc_aead.c 		cc_set_xcbc_desc(req, desc, seq_size);
desc             1311 drivers/crypto/ccree/cc_aead.c 		cc_proc_authen_desc(req, DIN_HASH, desc, seq_size, direct);
desc             1313 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher(req, desc, seq_size, data_flow_mode);
desc             1317 drivers/crypto/ccree/cc_aead.c 		cc_proc_digest_desc(req, desc, seq_size);
desc             1419 drivers/crypto/ccree/cc_aead.c static int cc_ccm(struct aead_request *req, struct cc_hw_desc desc[],
desc             1438 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1439 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CTR);
desc             1440 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc             1443 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1444 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1445 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1446 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1450 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1451 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CTR);
desc             1452 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1453 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             1455 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1456 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             1457 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1461 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1462 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CBC_MAC);
desc             1463 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc             1466 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1467 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1468 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1469 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1470 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1474 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1475 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CBC_MAC);
desc             1476 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1477 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->mac_buf_dma_addr,
desc             1479 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1480 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             1481 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1482 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1487 drivers/crypto/ccree/cc_aead.c 		cc_set_assoc_desc(req, DIN_HASH, desc, &idx);
desc             1489 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc             1490 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI,
desc             1493 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], DIN_HASH);
desc             1499 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher_desc(req, cipher_flow_mode, desc, &idx);
desc             1502 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1503 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CBC_MAC);
desc             1504 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[idx], req_ctx->mac_buf_dma_addr, ctx->authsize,
desc             1506 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1507 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], HASH_DIGEST_RESULT_LITTLE_ENDIAN);
desc             1508 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc             1509 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1513 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1514 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CTR);
desc             1515 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1516 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->ccm_iv0_dma_addr,
desc             1518 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1519 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             1520 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1523 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1524 drivers/crypto/ccree/cc_aead.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1525 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1529 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1530 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->mac_buf_dma_addr,
desc             1532 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[idx], mac_result, ctx->authsize, NS_BIT, 1);
desc             1533 drivers/crypto/ccree/cc_aead.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1534 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc             1625 drivers/crypto/ccree/cc_aead.c 			      struct cc_hw_desc desc[], unsigned int *seq_size)
desc             1633 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1634 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_ECB);
desc             1635 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1636 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc             1638 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1639 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1640 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1644 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1645 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[idx], 0x0, AES_BLOCK_SIZE);
desc             1646 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[idx], req_ctx->hkey_dma_addr, AES_BLOCK_SIZE,
desc             1648 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc             1652 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1653 drivers/crypto/ccree/cc_aead.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1654 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1658 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1659 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->hkey_dma_addr,
desc             1661 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1662 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1663 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1664 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_HASH_HW_GHASH);
desc             1665 drivers/crypto/ccree/cc_aead.c 	set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc             1666 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1674 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1675 drivers/crypto/ccree/cc_aead.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1676 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1677 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1678 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1679 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_HASH_HW_GHASH);
desc             1680 drivers/crypto/ccree/cc_aead.c 	set_cipher_do(&desc[idx], 1); //1=AES_SK RKEK
desc             1681 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1682 drivers/crypto/ccree/cc_aead.c 	set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc             1683 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1689 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1690 drivers/crypto/ccree/cc_aead.c 	set_din_const(&desc[idx], 0x0, AES_BLOCK_SIZE);
desc             1691 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1692 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc             1693 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1694 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_HASH_HW_GHASH);
desc             1695 drivers/crypto/ccree/cc_aead.c 	set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc             1696 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             1702 drivers/crypto/ccree/cc_aead.c static void cc_set_gctr_desc(struct aead_request *req, struct cc_hw_desc desc[],
desc             1711 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1712 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_GCTR);
desc             1713 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1714 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->enckey_dma_addr,
desc             1716 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1717 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1718 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1723 drivers/crypto/ccree/cc_aead.c 		hw_desc_init(&desc[idx]);
desc             1724 drivers/crypto/ccree/cc_aead.c 		set_cipher_mode(&desc[idx], DRV_CIPHER_GCTR);
desc             1725 drivers/crypto/ccree/cc_aead.c 		set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1726 drivers/crypto/ccree/cc_aead.c 		set_din_type(&desc[idx], DMA_DLLI,
desc             1729 drivers/crypto/ccree/cc_aead.c 		set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1730 drivers/crypto/ccree/cc_aead.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             1731 drivers/crypto/ccree/cc_aead.c 		set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1739 drivers/crypto/ccree/cc_aead.c 			       struct cc_hw_desc desc[],
desc             1755 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1756 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->gcm_block_len_dma_addr,
desc             1758 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], DIN_HASH);
desc             1762 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1763 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_HASH_HW_GHASH);
desc             1764 drivers/crypto/ccree/cc_aead.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1765 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[idx], req_ctx->mac_buf_dma_addr, AES_BLOCK_SIZE,
desc             1767 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1768 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc             1769 drivers/crypto/ccree/cc_aead.c 	set_aes_not_hash_mode(&desc[idx]);
desc             1774 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1775 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_GCTR);
desc             1776 drivers/crypto/ccree/cc_aead.c 	set_key_size_aes(&desc[idx], ctx->enc_keylen);
desc             1777 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->gcm_iv_inc1_dma_addr,
desc             1779 drivers/crypto/ccree/cc_aead.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc             1780 drivers/crypto/ccree/cc_aead.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             1781 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1785 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1786 drivers/crypto/ccree/cc_aead.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1787 drivers/crypto/ccree/cc_aead.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1791 drivers/crypto/ccree/cc_aead.c 	hw_desc_init(&desc[idx]);
desc             1792 drivers/crypto/ccree/cc_aead.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_GCTR);
desc             1793 drivers/crypto/ccree/cc_aead.c 	set_din_type(&desc[idx], DMA_DLLI, req_ctx->mac_buf_dma_addr,
desc             1795 drivers/crypto/ccree/cc_aead.c 	set_dout_dlli(&desc[idx], mac_result, ctx->authsize, NS_BIT, 1);
desc             1796 drivers/crypto/ccree/cc_aead.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1797 drivers/crypto/ccree/cc_aead.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc             1803 drivers/crypto/ccree/cc_aead.c static int cc_gcm(struct aead_request *req, struct cc_hw_desc desc[],
desc             1817 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher_desc(req, BYPASS, desc, seq_size);
desc             1818 drivers/crypto/ccree/cc_aead.c 		cc_set_ghash_desc(req, desc, seq_size);
desc             1820 drivers/crypto/ccree/cc_aead.c 		cc_set_assoc_desc(req, DIN_HASH, desc, seq_size);
desc             1821 drivers/crypto/ccree/cc_aead.c 		cc_set_gctr_desc(req, desc, seq_size);
desc             1822 drivers/crypto/ccree/cc_aead.c 		cc_proc_gcm_result(req, desc, seq_size);
desc             1827 drivers/crypto/ccree/cc_aead.c 	cc_set_ghash_desc(req, desc, seq_size);
desc             1830 drivers/crypto/ccree/cc_aead.c 		cc_set_assoc_desc(req, DIN_HASH, desc, seq_size);
desc             1831 drivers/crypto/ccree/cc_aead.c 	cc_set_gctr_desc(req, desc, seq_size);
desc             1834 drivers/crypto/ccree/cc_aead.c 		cc_proc_cipher_desc(req, cipher_flow_mode, desc, seq_size);
desc             1835 drivers/crypto/ccree/cc_aead.c 	cc_proc_gcm_result(req, desc, seq_size);
desc             1909 drivers/crypto/ccree/cc_aead.c 	struct cc_hw_desc desc[MAX_AEAD_PROCESS_SEQ];
desc             1998 drivers/crypto/ccree/cc_aead.c 	cc_mlli_to_sram(req, desc, &seq_len);
desc             2004 drivers/crypto/ccree/cc_aead.c 		cc_hmac_authenc(req, desc, &seq_len);
desc             2007 drivers/crypto/ccree/cc_aead.c 		cc_xcbc_authenc(req, desc, &seq_len);
desc             2011 drivers/crypto/ccree/cc_aead.c 			cc_ccm(req, desc, &seq_len);
desc             2013 drivers/crypto/ccree/cc_aead.c 			cc_gcm(req, desc, &seq_len);
desc             2024 drivers/crypto/ccree/cc_aead.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, seq_len, &req->base);
desc              437 drivers/crypto/ccree/cc_cipher.c 		SHASH_DESC_ON_STACK(desc, ctx_p->shash_tfm);
desc              439 drivers/crypto/ccree/cc_cipher.c 		desc->tfm = ctx_p->shash_tfm;
desc              441 drivers/crypto/ccree/cc_cipher.c 		err = crypto_shash_digest(desc, ctx_p->user.key, key_len,
desc              472 drivers/crypto/ccree/cc_cipher.c 				 unsigned int ivsize, struct cc_hw_desc desc[],
desc              493 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              494 drivers/crypto/ccree/cc_cipher.c 		set_dout_dlli(&desc[*seq_size], iv_dma_addr, ivsize, NS_BIT, 1);
desc              495 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              496 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              497 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              500 drivers/crypto/ccree/cc_cipher.c 			set_setup_mode(&desc[*seq_size], SETUP_WRITE_STATE1);
desc              502 drivers/crypto/ccree/cc_cipher.c 			set_setup_mode(&desc[*seq_size], SETUP_WRITE_STATE0);
desc              504 drivers/crypto/ccree/cc_cipher.c 		set_queue_last_ind(ctx_p->drvdata, &desc[*seq_size]);
desc              511 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              512 drivers/crypto/ccree/cc_cipher.c 		set_setup_mode(&desc[*seq_size], SETUP_WRITE_STATE1);
desc              513 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              514 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              515 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              516 drivers/crypto/ccree/cc_cipher.c 		set_dout_dlli(&desc[*seq_size], iv_dma_addr, CC_AES_BLOCK_SIZE,
desc              518 drivers/crypto/ccree/cc_cipher.c 		set_queue_last_ind(ctx_p->drvdata, &desc[*seq_size]);
desc              530 drivers/crypto/ccree/cc_cipher.c 				 struct cc_hw_desc desc[],
desc              556 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              557 drivers/crypto/ccree/cc_cipher.c 		set_din_type(&desc[*seq_size], DMA_DLLI, iv_dma_addr, ivsize,
desc              559 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              560 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              561 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              564 drivers/crypto/ccree/cc_cipher.c 			set_setup_mode(&desc[*seq_size], SETUP_LOAD_STATE1);
desc              566 drivers/crypto/ccree/cc_cipher.c 			set_setup_mode(&desc[*seq_size], SETUP_LOAD_STATE0);
desc              583 drivers/crypto/ccree/cc_cipher.c 				 struct cc_hw_desc desc[],
desc              615 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              616 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              617 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              619 drivers/crypto/ccree/cc_cipher.c 			set_hw_crypto_key(&desc[*seq_size],
desc              622 drivers/crypto/ccree/cc_cipher.c 			set_din_type(&desc[*seq_size], DMA_DLLI,
desc              626 drivers/crypto/ccree/cc_cipher.c 		set_xex_data_unit_size(&desc[*seq_size], du_size);
desc              627 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], S_DIN_to_AES2);
desc              628 drivers/crypto/ccree/cc_cipher.c 		set_key_size_aes(&desc[*seq_size], (key_len / 2));
desc              629 drivers/crypto/ccree/cc_cipher.c 		set_setup_mode(&desc[*seq_size], SETUP_LOAD_XEX_KEY);
desc              633 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              634 drivers/crypto/ccree/cc_cipher.c 		set_setup_mode(&desc[*seq_size], SETUP_LOAD_STATE1);
desc              635 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              636 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              637 drivers/crypto/ccree/cc_cipher.c 		set_key_size_aes(&desc[*seq_size], (key_len / 2));
desc              638 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              639 drivers/crypto/ccree/cc_cipher.c 		set_din_type(&desc[*seq_size], DMA_DLLI, iv_dma_addr,
desc              664 drivers/crypto/ccree/cc_cipher.c 			      unsigned int nbytes, struct cc_hw_desc desc[],
desc              683 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              684 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              685 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              689 drivers/crypto/ccree/cc_cipher.c 			set_key_size_aes(&desc[*seq_size], key_len);
desc              690 drivers/crypto/ccree/cc_cipher.c 			set_cpp_crypto_key(&desc[*seq_size], ctx_p->cpp.slot);
desc              695 drivers/crypto/ccree/cc_cipher.c 					set_hw_crypto_key(&desc[*seq_size],
desc              705 drivers/crypto/ccree/cc_cipher.c 					set_din_type(&desc[*seq_size], DMA_DLLI,
desc              709 drivers/crypto/ccree/cc_cipher.c 				set_key_size_aes(&desc[*seq_size], key_len);
desc              712 drivers/crypto/ccree/cc_cipher.c 				set_din_type(&desc[*seq_size], DMA_DLLI,
desc              714 drivers/crypto/ccree/cc_cipher.c 				set_key_size_des(&desc[*seq_size], key_len);
desc              716 drivers/crypto/ccree/cc_cipher.c 			set_setup_mode(&desc[*seq_size], SETUP_LOAD_KEY0);
desc              718 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              725 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              726 drivers/crypto/ccree/cc_cipher.c 		set_cipher_mode(&desc[*seq_size], cipher_mode);
desc              727 drivers/crypto/ccree/cc_cipher.c 		set_cipher_config0(&desc[*seq_size], direction);
desc              729 drivers/crypto/ccree/cc_cipher.c 			set_hw_crypto_key(&desc[*seq_size],
desc              732 drivers/crypto/ccree/cc_cipher.c 			set_din_type(&desc[*seq_size], DMA_DLLI, key_dma_addr,
desc              735 drivers/crypto/ccree/cc_cipher.c 		set_key_size_aes(&desc[*seq_size], (key_len / 2));
desc              736 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              737 drivers/crypto/ccree/cc_cipher.c 		set_setup_mode(&desc[*seq_size], SETUP_LOAD_KEY0);
desc              749 drivers/crypto/ccree/cc_cipher.c 			       struct cc_hw_desc desc[], unsigned int *seq_size)
desc              760 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              761 drivers/crypto/ccree/cc_cipher.c 		set_din_type(&desc[*seq_size], DMA_DLLI,
desc              764 drivers/crypto/ccree/cc_cipher.c 		set_dout_sram(&desc[*seq_size],
desc              767 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], BYPASS);
desc              775 drivers/crypto/ccree/cc_cipher.c 			       unsigned int nbytes, struct cc_hw_desc desc[],
desc              790 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              791 drivers/crypto/ccree/cc_cipher.c 		set_din_type(&desc[*seq_size], DMA_DLLI, sg_dma_address(src),
desc              793 drivers/crypto/ccree/cc_cipher.c 		set_dout_dlli(&desc[*seq_size], sg_dma_address(dst),
desc              796 drivers/crypto/ccree/cc_cipher.c 			set_queue_last_ind(ctx_p->drvdata, &desc[*seq_size]);
desc              798 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              801 drivers/crypto/ccree/cc_cipher.c 		hw_desc_init(&desc[*seq_size]);
desc              802 drivers/crypto/ccree/cc_cipher.c 		set_din_type(&desc[*seq_size], DMA_MLLI,
desc              809 drivers/crypto/ccree/cc_cipher.c 			set_dout_mlli(&desc[*seq_size],
desc              818 drivers/crypto/ccree/cc_cipher.c 			set_dout_mlli(&desc[*seq_size],
desc              826 drivers/crypto/ccree/cc_cipher.c 			set_queue_last_ind(ctx_p->drvdata, &desc[*seq_size]);
desc              828 drivers/crypto/ccree/cc_cipher.c 		set_flow_mode(&desc[*seq_size], flow_mode);
desc              865 drivers/crypto/ccree/cc_cipher.c 	struct cc_hw_desc desc[MAX_ABLKCIPHER_SEQ_LEN];
desc              925 drivers/crypto/ccree/cc_cipher.c 	cc_setup_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len);
desc              927 drivers/crypto/ccree/cc_cipher.c 	cc_setup_mlli_desc(tfm, req_ctx, dst, src, nbytes, req, desc, &seq_len);
desc              929 drivers/crypto/ccree/cc_cipher.c 	cc_setup_key_desc(tfm, req_ctx, nbytes, desc, &seq_len);
desc              931 drivers/crypto/ccree/cc_cipher.c 	cc_setup_xex_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len);
desc              933 drivers/crypto/ccree/cc_cipher.c 	cc_setup_flow_desc(tfm, req_ctx, dst, src, nbytes, desc, &seq_len);
desc              935 drivers/crypto/ccree/cc_cipher.c 	cc_setup_readiv_desc(tfm, req_ctx, ivsize, desc, &seq_len);
desc              939 drivers/crypto/ccree/cc_cipher.c 	rc = cc_send_request(ctx_p->drvdata, &cc_req, desc, seq_len,
desc               52 drivers/crypto/ccree/cc_hash.c static void cc_setup_xcbc(struct ahash_request *areq, struct cc_hw_desc desc[],
desc               55 drivers/crypto/ccree/cc_hash.c static void cc_setup_cmac(struct ahash_request *areq, struct cc_hw_desc desc[],
desc               97 drivers/crypto/ccree/cc_hash.c 			unsigned int flow_mode, struct cc_hw_desc desc[],
desc              100 drivers/crypto/ccree/cc_hash.c static void cc_set_endianity(u32 mode, struct cc_hw_desc *desc)
desc              104 drivers/crypto/ccree/cc_hash.c 		set_bytes_swap(desc, 1);
desc              106 drivers/crypto/ccree/cc_hash.c 		set_cipher_config0(desc, HASH_DIGEST_RESULT_LITTLE_ENDIAN);
desc              334 drivers/crypto/ccree/cc_hash.c static int cc_fin_result(struct cc_hw_desc *desc, struct ahash_request *req,
desc              343 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              344 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              346 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_result_dma_addr, digestsize,
desc              348 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc              349 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              350 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              351 drivers/crypto/ccree/cc_hash.c 	set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              352 drivers/crypto/ccree/cc_hash.c 	cc_set_endianity(ctx->hash_mode, &desc[idx]);
desc              358 drivers/crypto/ccree/cc_hash.c static int cc_fin_hmac(struct cc_hw_desc *desc, struct ahash_request *req,
desc              367 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              368 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              369 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_buff_dma_addr, digestsize,
desc              371 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              372 drivers/crypto/ccree/cc_hash.c 	cc_set_endianity(ctx->hash_mode, &desc[idx]);
desc              373 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              377 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              378 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              379 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->opad_digest_dma_addr,
desc              381 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              382 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              386 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              387 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              388 drivers/crypto/ccree/cc_hash.c 	set_din_sram(&desc[idx],
desc              391 drivers/crypto/ccree/cc_hash.c 	set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc              392 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              393 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              397 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              398 drivers/crypto/ccree/cc_hash.c 	set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc              399 drivers/crypto/ccree/cc_hash.c 	set_dout_no_dma(&desc[idx], 0, 0, 1);
desc              403 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              404 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc              406 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], DIN_HASH);
desc              424 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc              462 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              463 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              465 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc              468 drivers/crypto/ccree/cc_hash.c 		set_din_sram(&desc[idx], larval_digest_addr,
desc              471 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              472 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              476 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              477 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              480 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI,
desc              484 drivers/crypto/ccree/cc_hash.c 		set_din_const(&desc[idx], 0, ctx->hash_len);
desc              486 drivers/crypto/ccree/cc_hash.c 			set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc              488 drivers/crypto/ccree/cc_hash.c 			set_cipher_do(&desc[idx], DO_PAD);
desc              490 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              491 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              494 drivers/crypto/ccree/cc_hash.c 	cc_set_desc(state, ctx, DIN_HASH, desc, false, &idx);
desc              498 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              499 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              500 drivers/crypto/ccree/cc_hash.c 		set_dout_dlli(&desc[idx], state->digest_buff_dma_addr,
desc              502 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              503 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_WRITE_STATE1);
desc              504 drivers/crypto/ccree/cc_hash.c 		set_cipher_do(&desc[idx], DO_PAD);
desc              507 drivers/crypto/ccree/cc_hash.c 		idx = cc_fin_hmac(desc, req, idx);
desc              510 drivers/crypto/ccree/cc_hash.c 	idx = cc_fin_result(desc, req, idx);
desc              512 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc              522 drivers/crypto/ccree/cc_hash.c static int cc_restore_hash(struct cc_hw_desc *desc, struct cc_hash_ctx *ctx,
desc              526 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              527 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              528 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc              530 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              531 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              535 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              536 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              537 drivers/crypto/ccree/cc_hash.c 	set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              538 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->digest_bytes_len_dma_addr,
desc              540 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              541 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              544 drivers/crypto/ccree/cc_hash.c 	cc_set_desc(state, ctx, DIN_HASH, desc, false, &idx);
desc              559 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc              595 drivers/crypto/ccree/cc_hash.c 	idx = cc_restore_hash(desc, ctx, state, idx);
desc              598 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              599 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              600 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_buff_dma_addr,
desc              602 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              603 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              607 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              608 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              609 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_bytes_len_dma_addr,
desc              611 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc              612 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              613 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE1);
desc              616 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc              637 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc              667 drivers/crypto/ccree/cc_hash.c 	idx = cc_restore_hash(desc, ctx, state, idx);
desc              670 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              671 drivers/crypto/ccree/cc_hash.c 	set_cipher_do(&desc[idx], DO_PAD);
desc              672 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode);
desc              673 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_bytes_len_dma_addr,
desc              675 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE1);
desc              676 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              680 drivers/crypto/ccree/cc_hash.c 		idx = cc_fin_hmac(desc, req, idx);
desc              682 drivers/crypto/ccree/cc_hash.c 	idx = cc_fin_result(desc, req, idx);
desc              684 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc              728 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc              768 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              769 drivers/crypto/ccree/cc_hash.c 			set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              770 drivers/crypto/ccree/cc_hash.c 			set_din_sram(&desc[idx], larval_addr,
desc              772 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              773 drivers/crypto/ccree/cc_hash.c 			set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              777 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              778 drivers/crypto/ccree/cc_hash.c 			set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              779 drivers/crypto/ccree/cc_hash.c 			set_din_const(&desc[idx], 0, ctx->hash_len);
desc              780 drivers/crypto/ccree/cc_hash.c 			set_cipher_config1(&desc[idx], HASH_PADDING_ENABLED);
desc              781 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              782 drivers/crypto/ccree/cc_hash.c 			set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              785 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              786 drivers/crypto/ccree/cc_hash.c 			set_din_type(&desc[idx], DMA_DLLI,
desc              789 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], DIN_HASH);
desc              793 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              794 drivers/crypto/ccree/cc_hash.c 			set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              795 drivers/crypto/ccree/cc_hash.c 			set_dout_dlli(&desc[idx], ctx->opad_tmp_keys_dma_addr,
desc              797 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              798 drivers/crypto/ccree/cc_hash.c 			set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              799 drivers/crypto/ccree/cc_hash.c 			set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED);
desc              800 drivers/crypto/ccree/cc_hash.c 			cc_set_endianity(ctx->hash_mode, &desc[idx]);
desc              803 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              804 drivers/crypto/ccree/cc_hash.c 			set_din_const(&desc[idx], 0, (blocksize - digestsize));
desc              805 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], BYPASS);
desc              806 drivers/crypto/ccree/cc_hash.c 			set_dout_dlli(&desc[idx],
desc              812 drivers/crypto/ccree/cc_hash.c 			hw_desc_init(&desc[idx]);
desc              813 drivers/crypto/ccree/cc_hash.c 			set_din_type(&desc[idx], DMA_DLLI,
desc              816 drivers/crypto/ccree/cc_hash.c 			set_flow_mode(&desc[idx], BYPASS);
desc              817 drivers/crypto/ccree/cc_hash.c 			set_dout_dlli(&desc[idx], ctx->opad_tmp_keys_dma_addr,
desc              822 drivers/crypto/ccree/cc_hash.c 				hw_desc_init(&desc[idx]);
desc              823 drivers/crypto/ccree/cc_hash.c 				set_din_const(&desc[idx], 0,
desc              825 drivers/crypto/ccree/cc_hash.c 				set_flow_mode(&desc[idx], BYPASS);
desc              826 drivers/crypto/ccree/cc_hash.c 				set_dout_dlli(&desc[idx],
desc              834 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              835 drivers/crypto/ccree/cc_hash.c 		set_din_const(&desc[idx], 0, blocksize);
desc              836 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], BYPASS);
desc              837 drivers/crypto/ccree/cc_hash.c 		set_dout_dlli(&desc[idx], (ctx->opad_tmp_keys_dma_addr),
desc              842 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx);
desc              851 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              852 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              853 drivers/crypto/ccree/cc_hash.c 		set_din_sram(&desc[idx], larval_addr, ctx->inter_digestsize);
desc              854 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              855 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc              859 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              860 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              861 drivers/crypto/ccree/cc_hash.c 		set_din_const(&desc[idx], 0, ctx->hash_len);
desc              862 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              863 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              867 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              868 drivers/crypto/ccree/cc_hash.c 		set_xor_val(&desc[idx], hmac_pad_const[i]);
desc              869 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              870 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_HASH);
desc              871 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc              875 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              876 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI, ctx->opad_tmp_keys_dma_addr,
desc              878 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              879 drivers/crypto/ccree/cc_hash.c 		set_xor_active(&desc[idx]);
desc              880 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], DIN_HASH);
desc              886 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc              887 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc              889 drivers/crypto/ccree/cc_hash.c 			set_dout_dlli(&desc[idx], ctx->opad_tmp_keys_dma_addr,
desc              892 drivers/crypto/ccree/cc_hash.c 			set_dout_dlli(&desc[idx], ctx->digest_buff_dma_addr,
desc              894 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_HASH_to_DOUT);
desc              895 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc              899 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx);
desc              925 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc              957 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              958 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->key_params.key_dma_addr,
desc              960 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_ECB);
desc              961 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_ENCRYPT);
desc              962 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], keylen);
desc              963 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc              964 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc              967 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              968 drivers/crypto/ccree/cc_hash.c 	set_din_const(&desc[idx], 0x01010101, CC_AES_128_BIT_KEY_SIZE);
desc              969 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc              970 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx],
desc              975 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              976 drivers/crypto/ccree/cc_hash.c 	set_din_const(&desc[idx], 0x02020202, CC_AES_128_BIT_KEY_SIZE);
desc              977 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc              978 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx],
desc              983 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc              984 drivers/crypto/ccree/cc_hash.c 	set_din_const(&desc[idx], 0x03030303, CC_AES_128_BIT_KEY_SIZE);
desc              985 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc              986 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx],
desc              991 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx);
desc             1157 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc             1188 drivers/crypto/ccree/cc_hash.c 		cc_setup_xcbc(req, desc, &idx);
desc             1190 drivers/crypto/ccree/cc_hash.c 		cc_setup_cmac(req, desc, &idx);
desc             1192 drivers/crypto/ccree/cc_hash.c 	cc_set_desc(state, ctx, DIN_AES_DOUT, desc, true, &idx);
desc             1195 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             1196 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1197 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_buff_dma_addr,
desc             1199 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1200 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_AES_to_DOUT);
desc             1201 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1208 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc             1224 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc             1268 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1269 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], DRV_CIPHER_ECB);
desc             1270 drivers/crypto/ccree/cc_hash.c 		set_cipher_config0(&desc[idx], DRV_CRYPTO_DIRECTION_DECRYPT);
desc             1271 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI,
desc             1274 drivers/crypto/ccree/cc_hash.c 		set_key_size_aes(&desc[idx], key_len);
desc             1275 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1276 drivers/crypto/ccree/cc_hash.c 		set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             1282 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1283 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc             1285 drivers/crypto/ccree/cc_hash.c 		set_dout_dlli(&desc[idx], state->digest_buff_dma_addr,
desc             1287 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc             1291 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1292 drivers/crypto/ccree/cc_hash.c 		set_din_no_dma(&desc[idx], 0, 0xfffff0);
desc             1293 drivers/crypto/ccree/cc_hash.c 		set_dout_no_dma(&desc[idx], 0, 0, 1);
desc             1298 drivers/crypto/ccree/cc_hash.c 		cc_setup_xcbc(req, desc, &idx);
desc             1300 drivers/crypto/ccree/cc_hash.c 		cc_setup_cmac(req, desc, &idx);
desc             1303 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1304 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1305 drivers/crypto/ccree/cc_hash.c 		set_key_size_aes(&desc[idx], key_len);
desc             1306 drivers/crypto/ccree/cc_hash.c 		set_cmac_size0_mode(&desc[idx]);
desc             1307 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1310 drivers/crypto/ccree/cc_hash.c 		cc_set_desc(state, ctx, DIN_AES_DOUT, desc, false, &idx);
desc             1312 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1313 drivers/crypto/ccree/cc_hash.c 		set_din_const(&desc[idx], 0x00, CC_AES_BLOCK_SIZE);
desc             1314 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], DIN_AES_DOUT);
desc             1319 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             1321 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_result_dma_addr,
desc             1323 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1324 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_AES_to_DOUT);
desc             1325 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1326 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1329 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc             1346 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc             1383 drivers/crypto/ccree/cc_hash.c 		cc_setup_xcbc(req, desc, &idx);
desc             1386 drivers/crypto/ccree/cc_hash.c 		cc_setup_cmac(req, desc, &idx);
desc             1390 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1391 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1392 drivers/crypto/ccree/cc_hash.c 		set_key_size_aes(&desc[idx], key_len);
desc             1393 drivers/crypto/ccree/cc_hash.c 		set_cmac_size0_mode(&desc[idx]);
desc             1394 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1397 drivers/crypto/ccree/cc_hash.c 		cc_set_desc(state, ctx, DIN_AES_DOUT, desc, false, &idx);
desc             1401 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             1403 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_result_dma_addr,
desc             1405 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1406 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_AES_to_DOUT);
desc             1407 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1408 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1411 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc             1429 drivers/crypto/ccree/cc_hash.c 	struct cc_hw_desc desc[CC_MAX_HASH_SEQ_LEN];
desc             1462 drivers/crypto/ccree/cc_hash.c 		cc_setup_xcbc(req, desc, &idx);
desc             1465 drivers/crypto/ccree/cc_hash.c 		cc_setup_cmac(req, desc, &idx);
desc             1469 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             1470 drivers/crypto/ccree/cc_hash.c 		set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1471 drivers/crypto/ccree/cc_hash.c 		set_key_size_aes(&desc[idx], key_len);
desc             1472 drivers/crypto/ccree/cc_hash.c 		set_cmac_size0_mode(&desc[idx]);
desc             1473 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             1476 drivers/crypto/ccree/cc_hash.c 		cc_set_desc(state, ctx, DIN_AES_DOUT, desc, false, &idx);
desc             1480 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             1481 drivers/crypto/ccree/cc_hash.c 	set_dout_dlli(&desc[idx], state->digest_result_dma_addr,
desc             1483 drivers/crypto/ccree/cc_hash.c 	set_queue_last_ind(ctx->drvdata, &desc[idx]);
desc             1484 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_AES_to_DOUT);
desc             1485 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_WRITE_STATE0);
desc             1486 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             1487 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], ctx->hw_mode);
desc             1490 drivers/crypto/ccree/cc_hash.c 	rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base);
desc             2124 drivers/crypto/ccree/cc_hash.c static void cc_setup_xcbc(struct ahash_request *areq, struct cc_hw_desc desc[],
desc             2133 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2134 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, (ctx->opad_tmp_keys_dma_addr +
desc             2137 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             2138 drivers/crypto/ccree/cc_hash.c 	set_hash_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC, ctx->hash_mode);
desc             2139 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2140 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             2141 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2145 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2146 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             2149 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE1);
desc             2150 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             2151 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2152 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             2153 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2157 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2158 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI,
desc             2161 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE2);
desc             2162 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             2163 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2164 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             2165 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2169 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2170 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc             2172 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             2173 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_XCBC_MAC);
desc             2174 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2175 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], CC_AES_128_BIT_KEY_SIZE);
desc             2176 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2181 drivers/crypto/ccree/cc_hash.c static void cc_setup_cmac(struct ahash_request *areq, struct cc_hw_desc desc[],
desc             2190 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2191 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, ctx->opad_tmp_keys_dma_addr,
desc             2194 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_KEY0);
desc             2195 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CMAC);
desc             2196 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2197 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], ctx->key_params.keylen);
desc             2198 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2202 drivers/crypto/ccree/cc_hash.c 	hw_desc_init(&desc[idx]);
desc             2203 drivers/crypto/ccree/cc_hash.c 	set_din_type(&desc[idx], DMA_DLLI, state->digest_buff_dma_addr,
desc             2205 drivers/crypto/ccree/cc_hash.c 	set_setup_mode(&desc[idx], SETUP_LOAD_STATE0);
desc             2206 drivers/crypto/ccree/cc_hash.c 	set_cipher_mode(&desc[idx], DRV_CIPHER_CMAC);
desc             2207 drivers/crypto/ccree/cc_hash.c 	set_cipher_config0(&desc[idx], DESC_DIRECTION_ENCRYPT_ENCRYPT);
desc             2208 drivers/crypto/ccree/cc_hash.c 	set_key_size_aes(&desc[idx], ctx->key_params.keylen);
desc             2209 drivers/crypto/ccree/cc_hash.c 	set_flow_mode(&desc[idx], S_DIN_to_AES);
desc             2216 drivers/crypto/ccree/cc_hash.c 			struct cc_hw_desc desc[], bool is_not_last_data,
desc             2223 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             2224 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI,
desc             2227 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], flow_mode);
desc             2236 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             2237 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_DLLI,
desc             2240 drivers/crypto/ccree/cc_hash.c 		set_dout_sram(&desc[idx], ctx->drvdata->mlli_sram_addr,
desc             2242 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], BYPASS);
desc             2245 drivers/crypto/ccree/cc_hash.c 		hw_desc_init(&desc[idx]);
desc             2246 drivers/crypto/ccree/cc_hash.c 		set_din_type(&desc[idx], DMA_MLLI,
desc             2249 drivers/crypto/ccree/cc_hash.c 		set_flow_mode(&desc[idx], flow_mode);
desc             2253 drivers/crypto/ccree/cc_hash.c 		set_din_not_last_indication(&desc[(idx - 1)]);
desc               48 drivers/crypto/ccree/cc_request_mgr.c 	struct cc_hw_desc desc[CC_MAX_DESC_SEQ_LEN];
desc              281 drivers/crypto/ccree/cc_request_mgr.c 			      struct cc_hw_desc *desc, unsigned int len,
desc              312 drivers/crypto/ccree/cc_request_mgr.c 	enqueue_seq(drvdata, desc, len);
desc              392 drivers/crypto/ccree/cc_request_mgr.c 		rc = cc_do_send_request(drvdata, &bli->creq, bli->desc,
desc              413 drivers/crypto/ccree/cc_request_mgr.c 		    struct cc_hw_desc *desc, unsigned int len,
desc              447 drivers/crypto/ccree/cc_request_mgr.c 		memcpy(&bli->desc, desc, len * sizeof(*desc));
desc              455 drivers/crypto/ccree/cc_request_mgr.c 		rc = cc_do_send_request(drvdata, cc_req, desc, len, false);
desc              462 drivers/crypto/ccree/cc_request_mgr.c 			 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
desc              495 drivers/crypto/ccree/cc_request_mgr.c 	rc = cc_do_send_request(drvdata, cc_req, desc, len, true);
desc              518 drivers/crypto/ccree/cc_request_mgr.c int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc,
desc              531 drivers/crypto/ccree/cc_request_mgr.c 	set_queue_last_ind(drvdata, &desc[(len - 1)]);
desc              539 drivers/crypto/ccree/cc_request_mgr.c 	enqueue_seq(drvdata, desc, len);
desc               29 drivers/crypto/ccree/cc_request_mgr.h 		    struct cc_hw_desc *desc, unsigned int len,
desc               33 drivers/crypto/ccree/cc_request_mgr.h 			 struct cc_crypto_req *cc_req, struct cc_hw_desc *desc,
desc               36 drivers/crypto/ccree/cc_request_mgr.h int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc,
desc              310 drivers/crypto/chelsio/chcr_algo.c static int chcr_compute_partial_hash(struct shash_desc *desc,
desc              320 drivers/crypto/chelsio/chcr_algo.c 		error = crypto_shash_init(desc) ?:
desc              321 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_update(desc, iopad, SHA1_BLOCK_SIZE) ?:
desc              322 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_export(desc, (void *)&sha1_st);
desc              325 drivers/crypto/chelsio/chcr_algo.c 		error = crypto_shash_init(desc) ?:
desc              326 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_update(desc, iopad, SHA256_BLOCK_SIZE) ?:
desc              327 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_export(desc, (void *)&sha256_st);
desc              331 drivers/crypto/chelsio/chcr_algo.c 		error = crypto_shash_init(desc) ?:
desc              332 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_update(desc, iopad, SHA256_BLOCK_SIZE) ?:
desc              333 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_export(desc, (void *)&sha256_st);
desc              337 drivers/crypto/chelsio/chcr_algo.c 		error = crypto_shash_init(desc) ?:
desc              338 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_update(desc, iopad, SHA512_BLOCK_SIZE) ?:
desc              339 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_export(desc, (void *)&sha512_st);
desc              343 drivers/crypto/chelsio/chcr_algo.c 		error = crypto_shash_init(desc) ?:
desc              344 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_update(desc, iopad, SHA512_BLOCK_SIZE) ?:
desc              345 drivers/crypto/chelsio/chcr_algo.c 			crypto_shash_export(desc, (void *)&sha512_st);
desc              401 drivers/crypto/chelsio/chcr_ipsec.c 		pos = q->q.desc;
desc              448 drivers/crypto/chelsio/chcr_ipsec.c 		pos = q->q.desc;
desc              494 drivers/crypto/chelsio/chcr_ipsec.c 		pos = q->q.desc;
desc              510 drivers/crypto/chelsio/chcr_ipsec.c 		memcpy(q->q.desc, sa_entry->key + left,
desc              512 drivers/crypto/chelsio/chcr_ipsec.c 		pos = (u8 *)q->q.desc + (key_len - left);
desc              724 drivers/crypto/chelsio/chcr_ipsec.c 	pos = (u64 *)&q->q.desc[q->q.pidx];
desc              732 drivers/crypto/chelsio/chcr_ipsec.c 		end = (void *)q->q.desc + left;
desc              736 drivers/crypto/chelsio/chcr_ipsec.c 		end = (void *)q->q.desc + left;
desc              737 drivers/crypto/chelsio/chcr_ipsec.c 		pos = (void *)q->q.desc;
desc              223 drivers/crypto/img-hash.c 	struct dma_async_tx_descriptor *desc;
desc              233 drivers/crypto/img-hash.c 	desc = dmaengine_prep_slave_sg(hdev->dma_lch,
desc              238 drivers/crypto/img-hash.c 	if (!desc) {
desc              244 drivers/crypto/img-hash.c 	desc->callback = img_hash_dma_callback;
desc              245 drivers/crypto/img-hash.c 	desc->callback_param = hdev;
desc              246 drivers/crypto/img-hash.c 	dmaengine_submit(desc);
desc              300 drivers/crypto/ixp4xx_crypto.c 	struct crypt_ctl *desc;
desc              303 drivers/crypto/ixp4xx_crypto.c 	desc = get_crypt_desc();
desc              304 drivers/crypto/ixp4xx_crypto.c 	if (desc)
desc              305 drivers/crypto/ixp4xx_crypto.c 		return desc;
desc              266 drivers/crypto/marvell/cesa.h 	struct mv_cesa_sec_accel_desc desc;
desc              652 drivers/crypto/marvell/cesa.h 	op->desc.config &= cpu_to_le32(~mask);
desc              653 drivers/crypto/marvell/cesa.h 	op->desc.config |= cpu_to_le32(cfg);
desc              658 drivers/crypto/marvell/cesa.h 	return le32_to_cpu(op->desc.config);
desc              663 drivers/crypto/marvell/cesa.h 	op->desc.config = cpu_to_le32(cfg);
desc              671 drivers/crypto/marvell/cesa.h 	op->desc.enc_p = CESA_SA_DESC_CRYPT_DATA(offset);
desc              672 drivers/crypto/marvell/cesa.h 	op->desc.enc_key_p = CESA_SA_DESC_CRYPT_KEY(offset);
desc              673 drivers/crypto/marvell/cesa.h 	op->desc.enc_iv = CESA_SA_DESC_CRYPT_IV(offset);
desc              674 drivers/crypto/marvell/cesa.h 	op->desc.mac_src_p &= ~CESA_SA_DESC_MAC_DATA_MSK;
desc              675 drivers/crypto/marvell/cesa.h 	op->desc.mac_src_p |= CESA_SA_DESC_MAC_DATA(offset);
desc              676 drivers/crypto/marvell/cesa.h 	op->desc.mac_digest &= ~CESA_SA_DESC_MAC_DIGEST_MSK;
desc              677 drivers/crypto/marvell/cesa.h 	op->desc.mac_digest |= CESA_SA_DESC_MAC_DIGEST(offset);
desc              678 drivers/crypto/marvell/cesa.h 	op->desc.mac_iv = CESA_SA_DESC_MAC_IV(offset);
desc              683 drivers/crypto/marvell/cesa.h 	op->desc.enc_len = cpu_to_le32(len);
desc              689 drivers/crypto/marvell/cesa.h 	op->desc.mac_src_p &= ~CESA_SA_DESC_MAC_TOTAL_LEN_MSK;
desc              690 drivers/crypto/marvell/cesa.h 	op->desc.mac_src_p |= CESA_SA_DESC_MAC_TOTAL_LEN(len);
desc              696 drivers/crypto/marvell/cesa.h 	op->desc.mac_digest &= ~CESA_SA_DESC_MAC_FRAG_LEN_MSK;
desc              697 drivers/crypto/marvell/cesa.h 	op->desc.mac_digest |= CESA_SA_DESC_MAC_FRAG_LEN(len);
desc              104 drivers/crypto/marvell/cipher.c 		memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc));
desc              267 drivers/crypto/marvell/tdma.c 	size = skip_ctx ? sizeof(op->desc) : sizeof(*op);
desc               66 drivers/crypto/mxs-dcp.c 	struct dcp_dma_desc	desc[DCP_MAX_CHANS];
desc              175 drivers/crypto/mxs-dcp.c 	struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan];
desc              177 drivers/crypto/mxs-dcp.c 	dma_addr_t desc_phys = dma_map_single(sdcp->dev, desc, sizeof(*desc),
desc              206 drivers/crypto/mxs-dcp.c 	dma_unmap_single(sdcp->dev, desc_phys, sizeof(*desc), DMA_TO_DEVICE);
desc              218 drivers/crypto/mxs-dcp.c 	struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan];
desc              237 drivers/crypto/mxs-dcp.c 	desc->control0 = MXS_DCP_CONTROL0_DECR_SEMAPHORE |
desc              242 drivers/crypto/mxs-dcp.c 	desc->control0 |= MXS_DCP_CONTROL0_PAYLOAD_KEY;
desc              245 drivers/crypto/mxs-dcp.c 		desc->control0 |= MXS_DCP_CONTROL0_CIPHER_ENCRYPT;
desc              247 drivers/crypto/mxs-dcp.c 		desc->control0 |= MXS_DCP_CONTROL0_CIPHER_INIT;
desc              249 drivers/crypto/mxs-dcp.c 	desc->control1 = MXS_DCP_CONTROL1_CIPHER_SELECT_AES128;
desc              252 drivers/crypto/mxs-dcp.c 		desc->control1 |= MXS_DCP_CONTROL1_CIPHER_MODE_ECB;
desc              254 drivers/crypto/mxs-dcp.c 		desc->control1 |= MXS_DCP_CONTROL1_CIPHER_MODE_CBC;
desc              256 drivers/crypto/mxs-dcp.c 	desc->next_cmd_addr = 0;
desc              257 drivers/crypto/mxs-dcp.c 	desc->source = src_phys;
desc              258 drivers/crypto/mxs-dcp.c 	desc->destination = dst_phys;
desc              259 drivers/crypto/mxs-dcp.c 	desc->size = actx->fill;
desc              260 drivers/crypto/mxs-dcp.c 	desc->payload = key_phys;
desc              261 drivers/crypto/mxs-dcp.c 	desc->status = 0;
desc              562 drivers/crypto/mxs-dcp.c 	struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan];
desc              569 drivers/crypto/mxs-dcp.c 	desc->control0 = MXS_DCP_CONTROL0_DECR_SEMAPHORE |
desc              573 drivers/crypto/mxs-dcp.c 		desc->control0 |= MXS_DCP_CONTROL0_HASH_INIT;
desc              575 drivers/crypto/mxs-dcp.c 	desc->control1 = actx->alg;
desc              576 drivers/crypto/mxs-dcp.c 	desc->next_cmd_addr = 0;
desc              577 drivers/crypto/mxs-dcp.c 	desc->source = buf_phys;
desc              578 drivers/crypto/mxs-dcp.c 	desc->destination = 0;
desc              579 drivers/crypto/mxs-dcp.c 	desc->size = actx->fill;
desc              580 drivers/crypto/mxs-dcp.c 	desc->payload = 0;
desc              581 drivers/crypto/mxs-dcp.c 	desc->status = 0;
desc              586 drivers/crypto/mxs-dcp.c 	if (rctx->init && rctx->fini && desc->size == 0) {
desc              600 drivers/crypto/mxs-dcp.c 		desc->control0 |= MXS_DCP_CONTROL0_HASH_TERM;
desc              601 drivers/crypto/mxs-dcp.c 		desc->payload = digest_phys;
desc               53 drivers/crypto/nx/nx-aes-cbc.c static int cbc_aes_nx_crypt(struct blkcipher_desc *desc,
desc               59 drivers/crypto/nx/nx-aes-cbc.c 	struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm);
desc               75 drivers/crypto/nx/nx-aes-cbc.c 		rc = nx_build_sg_lists(nx_ctx, desc, dst, src, &to_process,
desc               86 drivers/crypto/nx/nx-aes-cbc.c 				   desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
desc               90 drivers/crypto/nx/nx-aes-cbc.c 		memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE);
desc              102 drivers/crypto/nx/nx-aes-cbc.c static int cbc_aes_nx_encrypt(struct blkcipher_desc *desc,
desc              107 drivers/crypto/nx/nx-aes-cbc.c 	return cbc_aes_nx_crypt(desc, dst, src, nbytes, 1);
desc              110 drivers/crypto/nx/nx-aes-cbc.c static int cbc_aes_nx_decrypt(struct blkcipher_desc *desc,
desc              115 drivers/crypto/nx/nx-aes-cbc.c 	return cbc_aes_nx_crypt(desc, dst, src, nbytes, 0);
desc              330 drivers/crypto/nx/nx-aes-ccm.c 			  struct blkcipher_desc *desc,
desc              351 drivers/crypto/nx/nx-aes-ccm.c 	rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, assoclen,
desc              370 drivers/crypto/nx/nx-aes-ccm.c 		rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src,
desc              384 drivers/crypto/nx/nx-aes-ccm.c 		memcpy(desc->info, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE);
desc              408 drivers/crypto/nx/nx-aes-ccm.c 			  struct blkcipher_desc *desc,
desc              421 drivers/crypto/nx/nx-aes-ccm.c 	rc = generate_pat(desc->info, req, nx_ctx, authsize, nbytes, assoclen,
desc              439 drivers/crypto/nx/nx-aes-ccm.c 		rc = nx_build_sg_lists(nx_ctx, desc, req->dst, req->src,
desc              453 drivers/crypto/nx/nx-aes-ccm.c 		memcpy(desc->info, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE);
desc              484 drivers/crypto/nx/nx-aes-ccm.c 	struct blkcipher_desc desc;
desc              491 drivers/crypto/nx/nx-aes-ccm.c 	desc.info = iv;
desc              493 drivers/crypto/nx/nx-aes-ccm.c 	return ccm_nx_encrypt(req, &desc, req->assoclen - 8);
desc              498 drivers/crypto/nx/nx-aes-ccm.c 	struct blkcipher_desc desc;
desc              501 drivers/crypto/nx/nx-aes-ccm.c 	desc.info = req->iv;
desc              503 drivers/crypto/nx/nx-aes-ccm.c 	rc = crypto_ccm_check_iv(desc.info);
desc              507 drivers/crypto/nx/nx-aes-ccm.c 	return ccm_nx_encrypt(req, &desc, req->assoclen);
desc              514 drivers/crypto/nx/nx-aes-ccm.c 	struct blkcipher_desc desc;
desc              521 drivers/crypto/nx/nx-aes-ccm.c 	desc.info = iv;
desc              523 drivers/crypto/nx/nx-aes-ccm.c 	return ccm_nx_decrypt(req, &desc, req->assoclen - 8);
desc              528 drivers/crypto/nx/nx-aes-ccm.c 	struct blkcipher_desc desc;
desc              531 drivers/crypto/nx/nx-aes-ccm.c 	desc.info = req->iv;
desc              533 drivers/crypto/nx/nx-aes-ccm.c 	rc = crypto_ccm_check_iv(desc.info);
desc              537 drivers/crypto/nx/nx-aes-ccm.c 	return ccm_nx_decrypt(req, &desc, req->assoclen);
desc               72 drivers/crypto/nx/nx-aes-ctr.c static int ctr_aes_nx_crypt(struct blkcipher_desc *desc,
desc               77 drivers/crypto/nx/nx-aes-ctr.c 	struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm);
desc               88 drivers/crypto/nx/nx-aes-ctr.c 		rc = nx_build_sg_lists(nx_ctx, desc, dst, src, &to_process,
desc               99 drivers/crypto/nx/nx-aes-ctr.c 				   desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
desc              103 drivers/crypto/nx/nx-aes-ctr.c 		memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE);
desc              116 drivers/crypto/nx/nx-aes-ctr.c static int ctr3686_aes_nx_crypt(struct blkcipher_desc *desc,
desc              121 drivers/crypto/nx/nx-aes-ctr.c 	struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm);
desc              126 drivers/crypto/nx/nx-aes-ctr.c 	       desc->info, CTR_RFC3686_IV_SIZE);
desc              130 drivers/crypto/nx/nx-aes-ctr.c 	desc->info = iv;
desc              132 drivers/crypto/nx/nx-aes-ctr.c 	return ctr_aes_nx_crypt(desc, dst, src, nbytes);
desc               53 drivers/crypto/nx/nx-aes-ecb.c static int ecb_aes_nx_crypt(struct blkcipher_desc *desc,
desc               59 drivers/crypto/nx/nx-aes-ecb.c 	struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm);
desc               75 drivers/crypto/nx/nx-aes-ecb.c 		rc = nx_build_sg_lists(nx_ctx, desc, dst, src, &to_process,
desc               86 drivers/crypto/nx/nx-aes-ecb.c 				   desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
desc              102 drivers/crypto/nx/nx-aes-ecb.c static int ecb_aes_nx_encrypt(struct blkcipher_desc *desc,
desc              107 drivers/crypto/nx/nx-aes-ecb.c 	return ecb_aes_nx_crypt(desc, dst, src, nbytes, 1);
desc              110 drivers/crypto/nx/nx-aes-ecb.c static int ecb_aes_nx_decrypt(struct blkcipher_desc *desc,
desc              115 drivers/crypto/nx/nx-aes-ecb.c 	return ecb_aes_nx_crypt(desc, dst, src, nbytes, 0);
desc              169 drivers/crypto/nx/nx-aes-gcm.c static int gmac(struct aead_request *req, struct blkcipher_desc *desc,
desc              193 drivers/crypto/nx/nx-aes-gcm.c 	memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, desc->info, AES_BLOCK_SIZE);
desc              243 drivers/crypto/nx/nx-aes-gcm.c static int gcm_empty(struct aead_request *req, struct blkcipher_desc *desc,
desc              271 drivers/crypto/nx/nx-aes-gcm.c 	in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) desc->info,
desc              288 drivers/crypto/nx/nx-aes-gcm.c 			   desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
desc              316 drivers/crypto/nx/nx-aes-gcm.c 	struct blkcipher_desc desc;
desc              324 drivers/crypto/nx/nx-aes-gcm.c 	desc.info = rctx->iv;
desc              326 drivers/crypto/nx/nx-aes-gcm.c 	*(u32 *)(desc.info + NX_GCM_CTR_OFFSET) = 1;
desc              330 drivers/crypto/nx/nx-aes-gcm.c 			rc = gcm_empty(req, &desc, enc);
desc              332 drivers/crypto/nx/nx-aes-gcm.c 			rc = gmac(req, &desc, assoclen);
desc              361 drivers/crypto/nx/nx-aes-gcm.c 		rc = nx_build_sg_lists(nx_ctx, &desc, req->dst,
desc              380 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(desc.info, csbcpb->cpb.aes_gcm.out_cnt, AES_BLOCK_SIZE);
desc               28 drivers/crypto/nx/nx-aes-xcbc.c static int nx_xcbc_set_key(struct crypto_shash *desc,
desc               32 drivers/crypto/nx/nx-aes-xcbc.c 	struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc);
desc               59 drivers/crypto/nx/nx-aes-xcbc.c static int nx_xcbc_empty(struct shash_desc *desc, u8 *out)
desc               61 drivers/crypto/nx/nx-aes-xcbc.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              156 drivers/crypto/nx/nx-aes-xcbc.c static int nx_xcbc_init(struct shash_desc *desc)
desc              158 drivers/crypto/nx/nx-aes-xcbc.c 	struct xcbc_state *sctx = shash_desc_ctx(desc);
desc              165 drivers/crypto/nx/nx-aes-xcbc.c static int nx_xcbc_update(struct shash_desc *desc,
desc              169 drivers/crypto/nx/nx-aes-xcbc.c 	struct xcbc_state *sctx = shash_desc_ctx(desc);
desc              170 drivers/crypto/nx/nx-aes-xcbc.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              292 drivers/crypto/nx/nx-aes-xcbc.c static int nx_xcbc_final(struct shash_desc *desc, u8 *out)
desc              294 drivers/crypto/nx/nx-aes-xcbc.c 	struct xcbc_state *sctx = shash_desc_ctx(desc);
desc              295 drivers/crypto/nx/nx-aes-xcbc.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              315 drivers/crypto/nx/nx-aes-xcbc.c 		rc = nx_xcbc_empty(desc, out);
desc               38 drivers/crypto/nx/nx-sha256.c static int nx_sha256_init(struct shash_desc *desc) {
desc               39 drivers/crypto/nx/nx-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               56 drivers/crypto/nx/nx-sha256.c static int nx_sha256_update(struct shash_desc *desc, const u8 *data,
desc               59 drivers/crypto/nx/nx-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               60 drivers/crypto/nx/nx-sha256.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              176 drivers/crypto/nx/nx-sha256.c static int nx_sha256_final(struct shash_desc *desc, u8 *out)
desc              178 drivers/crypto/nx/nx-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              179 drivers/crypto/nx/nx-sha256.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              246 drivers/crypto/nx/nx-sha256.c static int nx_sha256_export(struct shash_desc *desc, void *out)
desc              248 drivers/crypto/nx/nx-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              255 drivers/crypto/nx/nx-sha256.c static int nx_sha256_import(struct shash_desc *desc, const void *in)
desc              257 drivers/crypto/nx/nx-sha256.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               37 drivers/crypto/nx/nx-sha512.c static int nx_sha512_init(struct shash_desc *desc)
desc               39 drivers/crypto/nx/nx-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               56 drivers/crypto/nx/nx-sha512.c static int nx_sha512_update(struct shash_desc *desc, const u8 *data,
desc               59 drivers/crypto/nx/nx-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               60 drivers/crypto/nx/nx-sha512.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              179 drivers/crypto/nx/nx-sha512.c static int nx_sha512_final(struct shash_desc *desc, u8 *out)
desc              181 drivers/crypto/nx/nx-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              182 drivers/crypto/nx/nx-sha512.c 	struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
desc              252 drivers/crypto/nx/nx-sha512.c static int nx_sha512_export(struct shash_desc *desc, void *out)
desc              254 drivers/crypto/nx/nx-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              261 drivers/crypto/nx/nx-sha512.c static int nx_sha512_import(struct shash_desc *desc, const void *in)
desc              263 drivers/crypto/nx/nx-sha512.c 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              259 drivers/crypto/nx/nx.c 		      struct blkcipher_desc *desc,
desc              278 drivers/crypto/nx/nx.c 		memcpy(iv, desc->info, AES_BLOCK_SIZE);
desc              341 drivers/crypto/padlock-aes.c static int ecb_aes_encrypt(struct blkcipher_desc *desc,
desc              345 drivers/crypto/padlock-aes.c 	struct aes_ctx *ctx = blk_aes_ctx(desc->tfm);
desc              352 drivers/crypto/padlock-aes.c 	err = blkcipher_walk_virt(desc, &walk);
desc              359 drivers/crypto/padlock-aes.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              367 drivers/crypto/padlock-aes.c static int ecb_aes_decrypt(struct blkcipher_desc *desc,
desc              371 drivers/crypto/padlock-aes.c 	struct aes_ctx *ctx = blk_aes_ctx(desc->tfm);
desc              378 drivers/crypto/padlock-aes.c 	err = blkcipher_walk_virt(desc, &walk);
desc              385 drivers/crypto/padlock-aes.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              414 drivers/crypto/padlock-aes.c static int cbc_aes_encrypt(struct blkcipher_desc *desc,
desc              418 drivers/crypto/padlock-aes.c 	struct aes_ctx *ctx = blk_aes_ctx(desc->tfm);
desc              425 drivers/crypto/padlock-aes.c 	err = blkcipher_walk_virt(desc, &walk);
desc              434 drivers/crypto/padlock-aes.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc              442 drivers/crypto/padlock-aes.c static int cbc_aes_decrypt(struct blkcipher_desc *desc,
desc              446 drivers/crypto/padlock-aes.c 	struct aes_ctx *ctx = blk_aes_ctx(desc->tfm);
desc              453 drivers/crypto/padlock-aes.c 	err = blkcipher_walk_virt(desc, &walk);
desc              460 drivers/crypto/padlock-aes.c 		err = blkcipher_walk_done(desc, &walk, nbytes);
desc               31 drivers/crypto/padlock-sha.c static int padlock_sha_init(struct shash_desc *desc)
desc               33 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc               34 drivers/crypto/padlock-sha.c 	struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc               40 drivers/crypto/padlock-sha.c static int padlock_sha_update(struct shash_desc *desc,
desc               43 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc               48 drivers/crypto/padlock-sha.c static int padlock_sha_export(struct shash_desc *desc, void *out)
desc               50 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc               55 drivers/crypto/padlock-sha.c static int padlock_sha_import(struct shash_desc *desc, const void *in)
desc               57 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc               58 drivers/crypto/padlock-sha.c 	struct padlock_sha_ctx *ctx = crypto_shash_ctx(desc->tfm);
desc               71 drivers/crypto/padlock-sha.c static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in,
desc               80 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc              125 drivers/crypto/padlock-sha.c static int padlock_sha1_final(struct shash_desc *desc, u8 *out)
desc              129 drivers/crypto/padlock-sha.c 	return padlock_sha1_finup(desc, buf, 0, out);
desc              132 drivers/crypto/padlock-sha.c static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in,
desc              141 drivers/crypto/padlock-sha.c 	struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
desc              186 drivers/crypto/padlock-sha.c static int padlock_sha256_final(struct shash_desc *desc, u8 *out)
desc              190 drivers/crypto/padlock-sha.c 	return padlock_sha256_finup(desc, buf, 0, out);
desc              274 drivers/crypto/padlock-sha.c static int padlock_sha1_init_nano(struct shash_desc *desc)
desc              276 drivers/crypto/padlock-sha.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              285 drivers/crypto/padlock-sha.c static int padlock_sha1_update_nano(struct shash_desc *desc,
desc              288 drivers/crypto/padlock-sha.c 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc              334 drivers/crypto/padlock-sha.c static int padlock_sha1_final_nano(struct shash_desc *desc, u8 *out)
desc              336 drivers/crypto/padlock-sha.c 	struct sha1_state *state = (struct sha1_state *)shash_desc_ctx(desc);
desc              346 drivers/crypto/padlock-sha.c 	padlock_sha1_update_nano(desc, padding, padlen);
desc              349 drivers/crypto/padlock-sha.c 	padlock_sha1_update_nano(desc, (const u8 *)&bits, sizeof(bits));
desc              357 drivers/crypto/padlock-sha.c static int padlock_sha256_init_nano(struct shash_desc *desc)
desc              359 drivers/crypto/padlock-sha.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              369 drivers/crypto/padlock-sha.c static int padlock_sha256_update_nano(struct shash_desc *desc, const u8 *data,
desc              372 drivers/crypto/padlock-sha.c 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc              418 drivers/crypto/padlock-sha.c static int padlock_sha256_final_nano(struct shash_desc *desc, u8 *out)
desc              421 drivers/crypto/padlock-sha.c 		(struct sha256_state *)shash_desc_ctx(desc);
desc              431 drivers/crypto/padlock-sha.c 	padlock_sha256_update_nano(desc, padding, padlen);
desc              434 drivers/crypto/padlock-sha.c 	padlock_sha256_update_nano(desc, (const u8 *)&bits, sizeof(bits));
desc              442 drivers/crypto/padlock-sha.c static int padlock_sha_export_nano(struct shash_desc *desc,
desc              445 drivers/crypto/padlock-sha.c 	int statesize = crypto_shash_statesize(desc->tfm);
desc              446 drivers/crypto/padlock-sha.c 	void *sctx = shash_desc_ctx(desc);
desc              452 drivers/crypto/padlock-sha.c static int padlock_sha_import_nano(struct shash_desc *desc,
desc              455 drivers/crypto/padlock-sha.c 	int statesize = crypto_shash_statesize(desc->tfm);
desc              456 drivers/crypto/padlock-sha.c 	void *sctx = shash_desc_ctx(desc);
desc             1192 drivers/crypto/qat/qat_common/qat_uclo.c 			    struct icp_qat_fw_auth_desc *desc)
desc             1197 drivers/crypto/qat/qat_common/qat_uclo.c 	bus_addr = ADD_ADDR(desc->css_hdr_high, desc->css_hdr_low)
desc             1246 drivers/crypto/qat/qat_common/qat_uclo.c 				   struct icp_qat_fw_auth_desc **desc)
desc             1250 drivers/crypto/qat/qat_common/qat_uclo.c 	dram_desc.dram_base_addr_v = *desc;
desc             1252 drivers/crypto/qat/qat_common/qat_uclo.c 				   (*desc))->chunk_bus_addr;
desc             1254 drivers/crypto/qat/qat_common/qat_uclo.c 			       (*desc))->chunk_size;
desc             1260 drivers/crypto/qat/qat_common/qat_uclo.c 				struct icp_qat_fw_auth_desc **desc)
desc             1360 drivers/crypto/qat/qat_common/qat_uclo.c 	*desc = auth_desc;
desc             1365 drivers/crypto/qat/qat_common/qat_uclo.c 			    struct icp_qat_fw_auth_desc *desc)
desc             1372 drivers/crypto/qat/qat_common/qat_uclo.c 	virt_addr = (void *)((uintptr_t)desc +
desc             1425 drivers/crypto/qat/qat_common/qat_uclo.c 	struct icp_qat_fw_auth_desc *desc = NULL;
desc             1429 drivers/crypto/qat/qat_common/qat_uclo.c 		if (!qat_uclo_map_auth_fw(handle, addr_ptr, mem_size, &desc))
desc             1430 drivers/crypto/qat/qat_common/qat_uclo.c 			status = qat_uclo_auth_fw(handle, desc);
desc             1431 drivers/crypto/qat/qat_common/qat_uclo.c 		qat_uclo_ummap_auth_fw(handle, &desc);
desc             1628 drivers/crypto/qat/qat_common/qat_uclo.c 	struct icp_qat_fw_auth_desc *desc = NULL;
desc             1637 drivers/crypto/qat/qat_common/qat_uclo.c 					 &desc))
desc             1639 drivers/crypto/qat/qat_common/qat_uclo.c 		if (qat_uclo_auth_fw(handle, desc))
desc             1641 drivers/crypto/qat/qat_common/qat_uclo.c 		if (qat_uclo_load_fw(handle, desc))
desc             1643 drivers/crypto/qat/qat_common/qat_uclo.c 		qat_uclo_ummap_auth_fw(handle, &desc);
desc             1647 drivers/crypto/qat/qat_common/qat_uclo.c 	qat_uclo_ummap_auth_fw(handle, &desc);
desc               79 drivers/crypto/qce/dma.c 	struct dma_async_tx_descriptor *desc;
desc               85 drivers/crypto/qce/dma.c 	desc = dmaengine_prep_slave_sg(chan, sg, nents, dir, flags);
desc               86 drivers/crypto/qce/dma.c 	if (!desc)
desc               89 drivers/crypto/qce/dma.c 	desc->callback = cb;
desc               90 drivers/crypto/qce/dma.c 	desc->callback_param = cb_param;
desc               91 drivers/crypto/qce/dma.c 	cookie = dmaengine_submit(desc);
desc               97 drivers/crypto/stm32/stm32-crc32.c static int stm32_crc_init(struct shash_desc *desc)
desc               99 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              100 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc              127 drivers/crypto/stm32/stm32-crc32.c static int stm32_crc_update(struct shash_desc *desc, const u8 *d8,
desc              130 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              182 drivers/crypto/stm32/stm32-crc32.c static int stm32_crc_final(struct shash_desc *desc, u8 *out)
desc              184 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_desc_ctx *ctx = shash_desc_ctx(desc);
desc              185 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
desc              194 drivers/crypto/stm32/stm32-crc32.c static int stm32_crc_finup(struct shash_desc *desc, const u8 *data,
desc              197 drivers/crypto/stm32/stm32-crc32.c 	return stm32_crc_update(desc, data, length) ?:
desc              198 drivers/crypto/stm32/stm32-crc32.c 	       stm32_crc_final(desc, out);
desc              201 drivers/crypto/stm32/stm32-crc32.c static int stm32_crc_digest(struct shash_desc *desc, const u8 *data,
desc              204 drivers/crypto/stm32/stm32-crc32.c 	return stm32_crc_init(desc) ?: stm32_crc_finup(desc, data, length, out);
desc              268 drivers/crypto/talitos.c static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,
desc              270 drivers/crypto/talitos.c 					   struct talitos_desc *desc,
desc              293 drivers/crypto/talitos.c 		desc->hdr1 = desc->hdr;
desc              294 drivers/crypto/talitos.c 		request->dma_desc = dma_map_single(dev, &desc->hdr1,
desc              298 drivers/crypto/talitos.c 		request->dma_desc = dma_map_single(dev, desc,
desc              309 drivers/crypto/talitos.c 	request->desc = desc;
desc              328 drivers/crypto/talitos.c 		return request->desc->hdr;
desc              330 drivers/crypto/talitos.c 	if (!request->desc->next_desc)
desc              331 drivers/crypto/talitos.c 		return request->desc->hdr1;
desc              333 drivers/crypto/talitos.c 	edesc = container_of(request->desc, struct talitos_edesc, desc);
desc              352 drivers/crypto/talitos.c 	while (priv->chan[ch].fifo[tail].desc) {
desc              374 drivers/crypto/talitos.c 		saved_req.desc = request->desc;
desc              380 drivers/crypto/talitos.c 		request->desc = NULL;
desc              389 drivers/crypto/talitos.c 		saved_req.callback(dev, saved_req.desc, saved_req.context,
desc              481 drivers/crypto/talitos.c 	       priv->chan[ch].fifo[iter].desc->next_desc != cur_desc) {
desc              489 drivers/crypto/talitos.c 	if (priv->chan[ch].fifo[iter].desc->next_desc == cur_desc) {
desc              492 drivers/crypto/talitos.c 		edesc = container_of(priv->chan[ch].fifo[iter].desc,
desc              493 drivers/crypto/talitos.c 				     struct talitos_edesc, desc);
desc              498 drivers/crypto/talitos.c 	return priv->chan[ch].fifo[iter].desc->hdr;
desc             1000 drivers/crypto/talitos.c 	bool is_ipsec_esp = edesc->desc.hdr & DESC_HDR_TYPE_IPSEC_ESP;
desc             1001 drivers/crypto/talitos.c 	struct talitos_ptr *civ_ptr = &edesc->desc.ptr[is_ipsec_esp ? 2 : 3];
desc             1004 drivers/crypto/talitos.c 		unmap_single_talitos_ptr(dev, &edesc->desc.ptr[6],
desc             1027 drivers/crypto/talitos.c 				   struct talitos_desc *desc, void *context,
desc             1035 drivers/crypto/talitos.c 	edesc = container_of(desc, struct talitos_edesc, desc);
desc             1047 drivers/crypto/talitos.c 					  struct talitos_desc *desc,
desc             1056 drivers/crypto/talitos.c 	edesc = container_of(desc, struct talitos_edesc, desc);
desc             1074 drivers/crypto/talitos.c 					  struct talitos_desc *desc,
desc             1080 drivers/crypto/talitos.c 	edesc = container_of(desc, struct talitos_edesc, desc);
desc             1085 drivers/crypto/talitos.c 	if (!err && ((desc->hdr_lo & DESC_HDR_LO_ICCR1_MASK) !=
desc             1198 drivers/crypto/talitos.c 				      struct talitos_desc *desc,
desc             1205 drivers/crypto/talitos.c 	struct talitos_desc *desc = &edesc->desc;
desc             1214 drivers/crypto/talitos.c 	bool is_ipsec_esp = desc->hdr & DESC_HDR_TYPE_IPSEC_ESP;
desc             1215 drivers/crypto/talitos.c 	struct talitos_ptr *civ_ptr = &desc->ptr[is_ipsec_esp ? 2 : 3];
desc             1216 drivers/crypto/talitos.c 	struct talitos_ptr *ckey_ptr = &desc->ptr[is_ipsec_esp ? 3 : 2];
desc             1220 drivers/crypto/talitos.c 	to_talitos_ptr(&desc->ptr[0], ctx->dma_key, ctx->authkeylen, is_sec1);
desc             1233 drivers/crypto/talitos.c 			     &desc->ptr[1], sg_count, 0, tbl_off);
desc             1253 drivers/crypto/talitos.c 	if (is_ipsec_esp && (desc->hdr & DESC_HDR_MODE1_MDEU_CICV))
desc             1256 drivers/crypto/talitos.c 	ret = talitos_sg_map_ext(dev, areq->src, cryptlen, edesc, &desc->ptr[4],
desc             1276 drivers/crypto/talitos.c 	ret = talitos_sg_map_ext(dev, areq->dst, cryptlen, edesc, &desc->ptr[5],
desc             1290 drivers/crypto/talitos.c 		to_talitos_ptr_ext_or(&desc->ptr[5], authsize, is_sec1);
desc             1293 drivers/crypto/talitos.c 		to_talitos_ptr(&desc->ptr[6], dma_icv, authsize, is_sec1);
desc             1296 drivers/crypto/talitos.c 		talitos_sg_map(dev, areq->dst, authsize, edesc, &desc->ptr[6],
desc             1302 drivers/crypto/talitos.c 		map_single_talitos_ptr(dev, &desc->ptr[6], ivsize, ctx->iv,
desc             1310 drivers/crypto/talitos.c 	ret = talitos_submit(dev, ctx->ch, desc, callback, areq);
desc             1405 drivers/crypto/talitos.c 	memset(&edesc->desc, 0, sizeof(edesc->desc));
desc             1446 drivers/crypto/talitos.c 	edesc->desc.hdr = ctx->desc_hdr_template | DESC_HDR_MODE0_ENCRYPT;
desc             1465 drivers/crypto/talitos.c 	if ((edesc->desc.hdr & DESC_HDR_TYPE_IPSEC_ESP) &&
desc             1471 drivers/crypto/talitos.c 		edesc->desc.hdr = ctx->desc_hdr_template |
desc             1482 drivers/crypto/talitos.c 	edesc->desc.hdr = ctx->desc_hdr_template | DESC_HDR_DIR_INBOUND;
desc             1540 drivers/crypto/talitos.c 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[5], DMA_FROM_DEVICE);
desc             1543 drivers/crypto/talitos.c 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[1], DMA_TO_DEVICE);
desc             1551 drivers/crypto/talitos.c 			    struct talitos_desc *desc, void *context,
desc             1560 drivers/crypto/talitos.c 	edesc = container_of(desc, struct talitos_edesc, desc);
desc             1573 drivers/crypto/talitos.c 					     struct talitos_desc *desc,
desc             1579 drivers/crypto/talitos.c 	struct talitos_desc *desc = &edesc->desc;
desc             1590 drivers/crypto/talitos.c 	to_talitos_ptr(&desc->ptr[1], edesc->iv_dma, ivsize, is_sec1);
desc             1593 drivers/crypto/talitos.c 	to_talitos_ptr(&desc->ptr[2], ctx->dma_key, ctx->keylen, is_sec1);
desc             1607 drivers/crypto/talitos.c 				  &desc->ptr[3], sg_count, 0, 0);
desc             1618 drivers/crypto/talitos.c 	ret = talitos_sg_map(dev, areq->dst, cryptlen, edesc, &desc->ptr[4],
desc             1624 drivers/crypto/talitos.c 	map_single_talitos_ptr(dev, &desc->ptr[5], ivsize, ctx->iv,
desc             1633 drivers/crypto/talitos.c 	ret = talitos_submit(dev, ctx->ch, desc, callback, areq);
desc             1673 drivers/crypto/talitos.c 	edesc->desc.hdr = ctx->desc_hdr_template | DESC_HDR_MODE0_ENCRYPT;
desc             1697 drivers/crypto/talitos.c 	edesc->desc.hdr = ctx->desc_hdr_template | DESC_HDR_DIR_INBOUND;
desc             1709 drivers/crypto/talitos.c 	struct talitos_desc *desc = &edesc->desc;
desc             1713 drivers/crypto/talitos.c 	unmap_single_talitos_ptr(dev, &edesc->desc.ptr[5], DMA_FROM_DEVICE);
desc             1714 drivers/crypto/talitos.c 	if (desc->next_desc &&
desc             1715 drivers/crypto/talitos.c 	    desc->ptr[5].ptr != desc2->ptr[5].ptr)
desc             1722 drivers/crypto/talitos.c 	if (from_talitos_ptr_len(&edesc->desc.ptr[1], is_sec1))
desc             1723 drivers/crypto/talitos.c 		unmap_single_talitos_ptr(dev, &edesc->desc.ptr[1],
desc             1725 drivers/crypto/talitos.c 	else if (desc->next_desc)
desc             1730 drivers/crypto/talitos.c 		unmap_single_talitos_ptr(dev, &desc->ptr[3],
desc             1737 drivers/crypto/talitos.c 	if (edesc->desc.next_desc)
desc             1738 drivers/crypto/talitos.c 		dma_unmap_single(dev, be32_to_cpu(edesc->desc.next_desc),
desc             1743 drivers/crypto/talitos.c 		       struct talitos_desc *desc, void *context,
desc             1748 drivers/crypto/talitos.c 		 container_of(desc, struct talitos_edesc, desc);
desc             1779 drivers/crypto/talitos.c 	edesc->desc.hdr &= ~DESC_HDR_MODE0_MDEU_PAD;
desc             1787 drivers/crypto/talitos.c 						  struct talitos_desc *desc,
desc             1794 drivers/crypto/talitos.c 	struct talitos_desc *desc = &edesc->desc;
desc             1805 drivers/crypto/talitos.c 		map_single_talitos_ptr_nosync(dev, &desc->ptr[1],
desc             1816 drivers/crypto/talitos.c 		to_talitos_ptr(&desc->ptr[2], ctx->dma_key, ctx->keylen,
desc             1832 drivers/crypto/talitos.c 		map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf,
desc             1837 drivers/crypto/talitos.c 					  &desc->ptr[3], sg_count, 0, 0);
desc             1846 drivers/crypto/talitos.c 		map_single_talitos_ptr(dev, &desc->ptr[5],
desc             1850 drivers/crypto/talitos.c 		map_single_talitos_ptr_nosync(dev, &desc->ptr[5],
desc             1857 drivers/crypto/talitos.c 	if (is_sec1 && from_talitos_ptr_len(&desc->ptr[3], true) == 0)
desc             1858 drivers/crypto/talitos.c 		talitos_handle_buggy_hash(ctx, edesc, &desc->ptr[3]);
desc             1866 drivers/crypto/talitos.c 		desc2->hdr = desc->hdr;
desc             1869 drivers/crypto/talitos.c 		desc->hdr &= ~DESC_HDR_MODE0_MDEU_PAD;
desc             1870 drivers/crypto/talitos.c 		desc->hdr |= DESC_HDR_MODE0_MDEU_CONT;
desc             1871 drivers/crypto/talitos.c 		desc->hdr &= ~DESC_HDR_DONE_NOTIFY;
desc             1873 drivers/crypto/talitos.c 		if (desc->ptr[1].ptr)
desc             1874 drivers/crypto/talitos.c 			copy_talitos_ptr(&desc2->ptr[1], &desc->ptr[1],
desc             1881 drivers/crypto/talitos.c 		copy_talitos_ptr(&desc2->ptr[2], &desc->ptr[2], is_sec1);
desc             1886 drivers/crypto/talitos.c 		copy_talitos_ptr(&desc2->ptr[5], &desc->ptr[5], is_sec1);
desc             1888 drivers/crypto/talitos.c 			map_single_talitos_ptr_nosync(dev, &desc->ptr[5],
desc             1895 drivers/crypto/talitos.c 		desc->next_desc = cpu_to_be32(next_desc);
desc             1902 drivers/crypto/talitos.c 	ret = talitos_submit(dev, ctx->ch, desc, callback, areq);
desc             2070 drivers/crypto/talitos.c 	edesc->desc.hdr = ctx->desc_hdr_template;
desc             2074 drivers/crypto/talitos.c 		edesc->desc.hdr |= DESC_HDR_MODE0_MDEU_PAD;
desc             2076 drivers/crypto/talitos.c 		edesc->desc.hdr |= DESC_HDR_MODE0_MDEU_CONT;
desc             2080 drivers/crypto/talitos.c 		edesc->desc.hdr |= DESC_HDR_MODE0_MDEU_INIT;
desc             2086 drivers/crypto/talitos.c 		edesc->desc.hdr |= DESC_HDR_MODE0_MDEU_HMAC;
desc               66 drivers/crypto/talitos.h 	struct talitos_desc desc;
desc               81 drivers/crypto/talitos.h 	struct talitos_desc *desc;
desc               83 drivers/crypto/talitos.h 	void (*callback) (struct device *dev, struct talitos_desc *desc,
desc              525 drivers/crypto/ux500/cryp/cryp_core.c 	struct dma_async_tx_descriptor *desc;
desc              556 drivers/crypto/ux500/cryp/cryp_core.c 		desc = dmaengine_prep_slave_sg(channel,
desc              580 drivers/crypto/ux500/cryp/cryp_core.c 		desc = dmaengine_prep_slave_sg(channel,
desc              587 drivers/crypto/ux500/cryp/cryp_core.c 		desc->callback = cryp_dma_out_callback;
desc              588 drivers/crypto/ux500/cryp/cryp_core.c 		desc->callback_param = ctx;
desc              597 drivers/crypto/ux500/cryp/cryp_core.c 	cookie = dmaengine_submit(desc);
desc              141 drivers/crypto/ux500/hash/hash_core.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              167 drivers/crypto/ux500/hash/hash_core.c 	desc = dmaengine_prep_slave_sg(channel,
desc              170 drivers/crypto/ux500/hash/hash_core.c 	if (!desc) {
desc              176 drivers/crypto/ux500/hash/hash_core.c 	desc->callback = hash_dma_callback;
desc              177 drivers/crypto/ux500/hash/hash_core.c 	desc->callback_param = ctx;
desc              179 drivers/crypto/ux500/hash/hash_core.c 	cookie = dmaengine_submit(desc);
desc               45 drivers/crypto/vmx/ghash.c static int p8_ghash_init(struct shash_desc *desc)
desc               47 drivers/crypto/vmx/ghash.c 	struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              116 drivers/crypto/vmx/ghash.c static int p8_ghash_update(struct shash_desc *desc,
desc              120 drivers/crypto/vmx/ghash.c 	struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm));
desc              121 drivers/crypto/vmx/ghash.c 	struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc              152 drivers/crypto/vmx/ghash.c static int p8_ghash_final(struct shash_desc *desc, u8 *out)
desc              155 drivers/crypto/vmx/ghash.c 	struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm));
desc              156 drivers/crypto/vmx/ghash.c 	struct p8_ghash_desc_ctx *dctx = shash_desc_ctx(desc);
desc               41 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc               45 drivers/devfreq/devfreq-event.c 	if (edev->desc->ops && edev->desc->ops->enable
desc               47 drivers/devfreq/devfreq-event.c 		ret = edev->desc->ops->enable(edev);
desc               73 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc               83 drivers/devfreq/devfreq-event.c 	if (edev->desc->ops && edev->desc->ops->disable
desc               85 drivers/devfreq/devfreq-event.c 		ret = edev->desc->ops->disable(edev);
desc              110 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc              135 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc              138 drivers/devfreq/devfreq-event.c 	if (!edev->desc->ops || !edev->desc->ops->set_event)
desc              145 drivers/devfreq/devfreq-event.c 	ret = edev->desc->ops->set_event(edev);
desc              165 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc              168 drivers/devfreq/devfreq-event.c 	if (!edev->desc->ops || !edev->desc->ops->get_event)
desc              177 drivers/devfreq/devfreq-event.c 	ret = edev->desc->ops->get_event(edev, edata);
desc              197 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc              204 drivers/devfreq/devfreq-event.c 	if (edev->desc->ops && edev->desc->ops->reset)
desc              205 drivers/devfreq/devfreq-event.c 		ret = edev->desc->ops->reset(edev);
desc              240 drivers/devfreq/devfreq-event.c 		if (of_node_name_eq(node, edev->desc->name))
desc              303 drivers/devfreq/devfreq-event.c 						struct devfreq_event_desc *desc)
desc              309 drivers/devfreq/devfreq-event.c 	if (!dev || !desc)
desc              312 drivers/devfreq/devfreq-event.c 	if (!desc->name || !desc->ops)
desc              315 drivers/devfreq/devfreq-event.c 	if (!desc->ops->set_event || !desc->ops->get_event)
desc              323 drivers/devfreq/devfreq-event.c 	edev->desc = desc;
desc              396 drivers/devfreq/devfreq-event.c 						struct devfreq_event_desc *desc)
desc              405 drivers/devfreq/devfreq-event.c 	edev = devfreq_event_add_edev(dev, desc);
desc              442 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc              445 drivers/devfreq/devfreq-event.c 	return sprintf(buf, "%s\n", edev->desc->name);
desc              454 drivers/devfreq/devfreq-event.c 	if (!edev || !edev->desc)
desc               21 drivers/devfreq/event/exynos-nocp.c 	struct devfreq_event_desc desc;
desc              170 drivers/devfreq/event/exynos-nocp.c 	dev_dbg(&edev->dev, "%s (event: %ld/%ld)\n", edev->desc->name,
desc              256 drivers/devfreq/event/exynos-nocp.c 	nocp->desc.ops = &exynos_nocp_ops;
desc              257 drivers/devfreq/event/exynos-nocp.c 	nocp->desc.driver_data = nocp;
desc              258 drivers/devfreq/event/exynos-nocp.c 	nocp->desc.name = np->full_name;
desc              259 drivers/devfreq/event/exynos-nocp.c 	nocp->edev = devm_devfreq_event_add_edev(&pdev->dev, &nocp->desc);
desc               35 drivers/devfreq/event/exynos-ppmu.c 	struct devfreq_event_desc *desc;
desc              117 drivers/devfreq/event/exynos-ppmu.c 	return __exynos_ppmu_find_ppmu_id(edev->desc->name);
desc              174 drivers/devfreq/event/exynos-ppmu.c 			   edev->desc->event_type);
desc              260 drivers/devfreq/event/exynos-ppmu.c 	dev_dbg(&edev->dev, "%s (event: %ld/%ld)\n", edev->desc->name,
desc              388 drivers/devfreq/event/exynos-ppmu.c 			   edev->desc->event_type);
desc              475 drivers/devfreq/event/exynos-ppmu.c 	dev_dbg(&edev->dev, "%25s (load: %ld / %ld)\n", edev->desc->name,
desc              501 drivers/devfreq/event/exynos-ppmu.c 	struct devfreq_event_desc *desc;
desc              516 drivers/devfreq/event/exynos-ppmu.c 	desc = devm_kcalloc(dev, count, sizeof(*desc), GFP_KERNEL);
desc              517 drivers/devfreq/event/exynos-ppmu.c 	if (!desc)
desc              546 drivers/devfreq/event/exynos-ppmu.c 			desc[j].ops = &exynos_ppmu_ops;
desc              549 drivers/devfreq/event/exynos-ppmu.c 			desc[j].ops = &exynos_ppmu_v2_ops;
desc              553 drivers/devfreq/event/exynos-ppmu.c 		desc[j].driver_data = info;
desc              555 drivers/devfreq/event/exynos-ppmu.c 		of_property_read_string(node, "event-name", &desc[j].name);
desc              557 drivers/devfreq/event/exynos-ppmu.c 					   &desc[j].event_type);
desc              568 drivers/devfreq/event/exynos-ppmu.c 				id = __exynos_ppmu_find_ppmu_id(desc[j].name);
desc              574 drivers/devfreq/event/exynos-ppmu.c 					desc[j].event_type = PPMU_V2_RO_DATA_CNT
desc              578 drivers/devfreq/event/exynos-ppmu.c 					desc[j].event_type =
desc              583 drivers/devfreq/event/exynos-ppmu.c 				desc[j].event_type = PPMU_RO_DATA_CNT |
desc              590 drivers/devfreq/event/exynos-ppmu.c 	info->desc = desc;
desc              650 drivers/devfreq/event/exynos-ppmu.c 	struct devfreq_event_desc *desc;
desc              666 drivers/devfreq/event/exynos-ppmu.c 	desc = info->desc;
desc              677 drivers/devfreq/event/exynos-ppmu.c 		edev[i] = devm_devfreq_event_add_edev(&pdev->dev, &desc[i]);
desc              686 drivers/devfreq/event/exynos-ppmu.c 			dev_name(&pdev->dev), desc[i].name);
desc               52 drivers/devfreq/event/rockchip-dfi.c 	struct devfreq_event_desc *desc;
desc              181 drivers/devfreq/event/rockchip-dfi.c 	struct devfreq_event_desc *desc;
desc              208 drivers/devfreq/event/rockchip-dfi.c 	desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL);
desc              209 drivers/devfreq/event/rockchip-dfi.c 	if (!desc)
desc              212 drivers/devfreq/event/rockchip-dfi.c 	desc->ops = &rockchip_dfi_ops;
desc              213 drivers/devfreq/event/rockchip-dfi.c 	desc->driver_data = data;
desc              214 drivers/devfreq/event/rockchip-dfi.c 	desc->name = np->name;
desc              215 drivers/devfreq/event/rockchip-dfi.c 	data->desc = desc;
desc              217 drivers/devfreq/event/rockchip-dfi.c 	data->edev = devm_devfreq_event_add_edev(&pdev->dev, desc);
desc              193 drivers/dma/altera-msgdma.c 	void __iomem *desc;
desc              210 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc;
desc              214 drivers/dma/altera-msgdma.c 	desc = list_first_entry(&mdev->free_list, struct msgdma_sw_desc, node);
desc              215 drivers/dma/altera-msgdma.c 	list_del(&desc->node);
desc              218 drivers/dma/altera-msgdma.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              220 drivers/dma/altera-msgdma.c 	return desc;
desc              229 drivers/dma/altera-msgdma.c 				   struct msgdma_sw_desc *desc)
desc              234 drivers/dma/altera-msgdma.c 	list_add_tail(&desc->node, &mdev->free_list);
desc              235 drivers/dma/altera-msgdma.c 	list_for_each_entry_safe(child, next, &desc->tx_list, node) {
desc              249 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc, *next;
desc              251 drivers/dma/altera-msgdma.c 	list_for_each_entry_safe(desc, next, list, node)
desc              252 drivers/dma/altera-msgdma.c 		msgdma_free_descriptor(mdev, desc);
desc              262 drivers/dma/altera-msgdma.c static void msgdma_desc_config(struct msgdma_extended_desc *desc,
desc              267 drivers/dma/altera-msgdma.c 	desc->read_addr_lo = lower_32_bits(src);
desc              268 drivers/dma/altera-msgdma.c 	desc->write_addr_lo = lower_32_bits(dst);
desc              271 drivers/dma/altera-msgdma.c 	desc->read_addr_hi = upper_32_bits(src);
desc              272 drivers/dma/altera-msgdma.c 	desc->write_addr_hi = upper_32_bits(dst);
desc              274 drivers/dma/altera-msgdma.c 	desc->len = len;
desc              275 drivers/dma/altera-msgdma.c 	desc->stride = stride;
desc              276 drivers/dma/altera-msgdma.c 	desc->burst_seq_num = 0;	/* 0 will result in max burst length */
desc              282 drivers/dma/altera-msgdma.c 	desc->control = MSGDMA_DESC_CTL_TR_ERR_IRQ | MSGDMA_DESC_CTL_GO |
desc              290 drivers/dma/altera-msgdma.c static void msgdma_desc_config_eod(struct msgdma_extended_desc *desc)
desc              292 drivers/dma/altera-msgdma.c 	desc->control |= MSGDMA_DESC_CTL_TR_COMP_IRQ;
desc              334 drivers/dma/altera-msgdma.c 	struct msgdma_extended_desc *desc;
desc              355 drivers/dma/altera-msgdma.c 		desc = &new->hw_desc;
desc              356 drivers/dma/altera-msgdma.c 		msgdma_desc_config(desc, dma_dst, dma_src, copy,
desc              367 drivers/dma/altera-msgdma.c 	msgdma_desc_config_eod(desc);
desc              393 drivers/dma/altera-msgdma.c 	void *desc = NULL;
desc              420 drivers/dma/altera-msgdma.c 		desc = &new->hw_desc;
desc              432 drivers/dma/altera-msgdma.c 		msgdma_desc_config(desc, dma_dst, dma_src, len, stride);
desc              452 drivers/dma/altera-msgdma.c 	msgdma_desc_config_eod(desc);
desc              494 drivers/dma/altera-msgdma.c 			    struct msgdma_sw_desc *desc)
desc              496 drivers/dma/altera-msgdma.c 	void __iomem *hw_desc = mdev->desc;
desc              515 drivers/dma/altera-msgdma.c 	memcpy((void __force *)hw_desc, &desc->hw_desc,
desc              516 drivers/dma/altera-msgdma.c 	       sizeof(desc->hw_desc) - sizeof(u32));
desc              521 drivers/dma/altera-msgdma.c 	iowrite32(desc->hw_desc.control, hw_desc +
desc              532 drivers/dma/altera-msgdma.c 				     struct msgdma_sw_desc *desc)
desc              536 drivers/dma/altera-msgdma.c 	msgdma_copy_one(mdev, desc);
desc              538 drivers/dma/altera-msgdma.c 	list_for_each_entry_safe(sdesc, next, &desc->tx_list, node)
desc              548 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc;
desc              553 drivers/dma/altera-msgdma.c 	desc = list_first_entry_or_null(&mdev->pending_list,
desc              555 drivers/dma/altera-msgdma.c 	if (!desc)
desc              559 drivers/dma/altera-msgdma.c 	msgdma_copy_desc_to_fifo(mdev, desc);
desc              582 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc, *next;
desc              584 drivers/dma/altera-msgdma.c 	list_for_each_entry_safe(desc, next, &mdev->done_list, node) {
desc              588 drivers/dma/altera-msgdma.c 		list_del(&desc->node);
desc              590 drivers/dma/altera-msgdma.c 		callback = desc->async_tx.callback;
desc              591 drivers/dma/altera-msgdma.c 		callback_param = desc->async_tx.callback_param;
desc              599 drivers/dma/altera-msgdma.c 		msgdma_free_descriptor(mdev, desc);
desc              609 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc;
desc              611 drivers/dma/altera-msgdma.c 	desc = list_first_entry_or_null(&mdev->active_list,
desc              613 drivers/dma/altera-msgdma.c 	if (!desc)
desc              615 drivers/dma/altera-msgdma.c 	list_del(&desc->node);
desc              616 drivers/dma/altera-msgdma.c 	dma_cookie_complete(&desc->async_tx);
desc              617 drivers/dma/altera-msgdma.c 	list_add_tail(&desc->node, &mdev->done_list);
desc              655 drivers/dma/altera-msgdma.c 	struct msgdma_sw_desc *desc;
desc              658 drivers/dma/altera-msgdma.c 	mdev->sw_desq = kcalloc(MSGDMA_DESC_NUM, sizeof(*desc), GFP_NOWAIT);
desc              668 drivers/dma/altera-msgdma.c 		desc = mdev->sw_desq + i;
desc              669 drivers/dma/altera-msgdma.c 		dma_async_tx_descriptor_init(&desc->async_tx, &mdev->dmachan);
desc              670 drivers/dma/altera-msgdma.c 		desc->async_tx.tx_submit = msgdma_tx_submit;
desc              671 drivers/dma/altera-msgdma.c 		list_add_tail(&desc->node, &mdev->free_list);
desc              810 drivers/dma/altera-msgdma.c 	ret = request_and_map(pdev, "desc", &dma_res, &mdev->desc);
desc              105 drivers/dma/at_hdmac.c 	struct at_desc	*desc = NULL;
desc              109 drivers/dma/at_hdmac.c 	desc = dma_pool_zalloc(atdma->dma_desc_pool, gfp_flags, &phys);
desc              110 drivers/dma/at_hdmac.c 	if (desc) {
desc              111 drivers/dma/at_hdmac.c 		INIT_LIST_HEAD(&desc->tx_list);
desc              112 drivers/dma/at_hdmac.c 		dma_async_tx_descriptor_init(&desc->txd, chan);
desc              114 drivers/dma/at_hdmac.c 		desc->txd.flags = DMA_CTRL_ACK;
desc              115 drivers/dma/at_hdmac.c 		desc->txd.tx_submit = atc_tx_submit;
desc              116 drivers/dma/at_hdmac.c 		desc->txd.phys = phys;
desc              119 drivers/dma/at_hdmac.c 	return desc;
desc              128 drivers/dma/at_hdmac.c 	struct at_desc *desc, *_desc;
desc              134 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->free_list, desc_node) {
desc              136 drivers/dma/at_hdmac.c 		if (async_tx_test_ack(&desc->txd)) {
desc              137 drivers/dma/at_hdmac.c 			list_del(&desc->desc_node);
desc              138 drivers/dma/at_hdmac.c 			ret = desc;
desc              142 drivers/dma/at_hdmac.c 				"desc %p not ACKed\n", desc);
desc              169 drivers/dma/at_hdmac.c static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc)
desc              171 drivers/dma/at_hdmac.c 	if (desc) {
desc              176 drivers/dma/at_hdmac.c 		list_for_each_entry(child, &desc->tx_list, desc_node)
desc              180 drivers/dma/at_hdmac.c 		list_splice_init(&desc->tx_list, &atchan->free_list);
desc              182 drivers/dma/at_hdmac.c 			 "moving desc %p to freelist\n", desc);
desc              183 drivers/dma/at_hdmac.c 		list_add(&desc->desc_node, &atchan->free_list);
desc              197 drivers/dma/at_hdmac.c 			   struct at_desc *desc)
desc              200 drivers/dma/at_hdmac.c 		*first = desc;
desc              203 drivers/dma/at_hdmac.c 		(*prev)->lli.dscr = desc->txd.phys;
desc              205 drivers/dma/at_hdmac.c 		list_add_tail(&desc->desc_node,
desc              208 drivers/dma/at_hdmac.c 	*prev = desc;
desc              262 drivers/dma/at_hdmac.c 	struct at_desc *desc, *_desc;
desc              264 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->queue, desc_node) {
desc              265 drivers/dma/at_hdmac.c 		if (desc->txd.cookie == cookie)
desc              266 drivers/dma/at_hdmac.c 			return desc;
desc              269 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->active_list, desc_node) {
desc              270 drivers/dma/at_hdmac.c 		if (desc->txd.cookie == cookie)
desc              271 drivers/dma/at_hdmac.c 			return desc;
desc              307 drivers/dma/at_hdmac.c 	struct at_desc *desc;
desc              316 drivers/dma/at_hdmac.c 	desc = atc_get_desc_by_cookie(atchan, cookie);
desc              317 drivers/dma/at_hdmac.c 	if (desc == NULL)
desc              319 drivers/dma/at_hdmac.c 	else if (desc != desc_first)
desc              320 drivers/dma/at_hdmac.c 		return desc->total_len;
desc              413 drivers/dma/at_hdmac.c 		list_for_each_entry(desc, &desc_first->tx_list, desc_node) {
desc              414 drivers/dma/at_hdmac.c 			if (desc->lli.dscr == dscr)
desc              417 drivers/dma/at_hdmac.c 			ret -= desc->len;
desc              441 drivers/dma/at_hdmac.c atc_chain_complete(struct at_dma_chan *atchan, struct at_desc *desc)
desc              443 drivers/dma/at_hdmac.c 	struct dma_async_tx_descriptor	*txd = &desc->txd;
desc              454 drivers/dma/at_hdmac.c 	if (desc->memset_buffer) {
desc              455 drivers/dma/at_hdmac.c 		dma_pool_free(atdma->memset_pool, desc->memset_vaddr,
desc              456 drivers/dma/at_hdmac.c 			      desc->memset_paddr);
desc              457 drivers/dma/at_hdmac.c 		desc->memset_buffer = false;
desc              461 drivers/dma/at_hdmac.c 	list_splice_init(&desc->tx_list, &atchan->free_list);
desc              463 drivers/dma/at_hdmac.c 	list_move(&desc->desc_node, &atchan->free_list);
desc              490 drivers/dma/at_hdmac.c 	struct at_desc *desc, *_desc;
desc              506 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc              507 drivers/dma/at_hdmac.c 		atc_chain_complete(atchan, desc);
desc              669 drivers/dma/at_hdmac.c 	struct at_desc		*desc = txd_to_at_desc(tx);
desc              679 drivers/dma/at_hdmac.c 				desc->txd.cookie);
desc              680 drivers/dma/at_hdmac.c 		atc_dostart(atchan, desc);
desc              681 drivers/dma/at_hdmac.c 		list_add_tail(&desc->desc_node, &atchan->active_list);
desc              684 drivers/dma/at_hdmac.c 				desc->txd.cookie);
desc              685 drivers/dma/at_hdmac.c 		list_add_tail(&desc->desc_node, &atchan->queue);
desc              706 drivers/dma/at_hdmac.c 	struct at_desc		*desc = NULL;
desc              765 drivers/dma/at_hdmac.c 	desc = atc_desc_get(atchan);
desc              766 drivers/dma/at_hdmac.c 	if (!desc) {
desc              772 drivers/dma/at_hdmac.c 	desc->lli.saddr = xt->src_start;
desc              773 drivers/dma/at_hdmac.c 	desc->lli.daddr = xt->dst_start;
desc              774 drivers/dma/at_hdmac.c 	desc->lli.ctrla = ctrla | xfer_count;
desc              775 drivers/dma/at_hdmac.c 	desc->lli.ctrlb = ctrlb;
desc              777 drivers/dma/at_hdmac.c 	desc->boundary = first->size >> dwidth;
desc              778 drivers/dma/at_hdmac.c 	desc->dst_hole = (dmaengine_get_dst_icg(xt, first) >> dwidth) + 1;
desc              779 drivers/dma/at_hdmac.c 	desc->src_hole = (dmaengine_get_src_icg(xt, first) >> dwidth) + 1;
desc              781 drivers/dma/at_hdmac.c 	desc->txd.cookie = -EBUSY;
desc              782 drivers/dma/at_hdmac.c 	desc->total_len = desc->len = len;
desc              785 drivers/dma/at_hdmac.c 	set_desc_eol(desc);
desc              787 drivers/dma/at_hdmac.c 	desc->txd.flags = flags; /* client is in control of this ack */
desc              789 drivers/dma/at_hdmac.c 	return &desc->txd;
desc              805 drivers/dma/at_hdmac.c 	struct at_desc		*desc = NULL;
desc              841 drivers/dma/at_hdmac.c 		desc = atc_desc_get(atchan);
desc              842 drivers/dma/at_hdmac.c 		if (!desc)
desc              845 drivers/dma/at_hdmac.c 		desc->lli.saddr = src + offset;
desc              846 drivers/dma/at_hdmac.c 		desc->lli.daddr = dest + offset;
desc              847 drivers/dma/at_hdmac.c 		desc->lli.ctrla = ctrla | xfer_count;
desc              848 drivers/dma/at_hdmac.c 		desc->lli.ctrlb = ctrlb;
desc              850 drivers/dma/at_hdmac.c 		desc->txd.cookie = 0;
desc              851 drivers/dma/at_hdmac.c 		desc->len = xfer_count << src_width;
desc              853 drivers/dma/at_hdmac.c 		atc_desc_chain(&first, &prev, desc);
desc              861 drivers/dma/at_hdmac.c 	set_desc_eol(desc);
desc              878 drivers/dma/at_hdmac.c 	struct at_desc *desc;
desc              894 drivers/dma/at_hdmac.c 	desc = atc_desc_get(atchan);
desc              895 drivers/dma/at_hdmac.c 	if (!desc) {
desc              901 drivers/dma/at_hdmac.c 	desc->lli.saddr = psrc;
desc              902 drivers/dma/at_hdmac.c 	desc->lli.daddr = pdst;
desc              903 drivers/dma/at_hdmac.c 	desc->lli.ctrla = ctrla | xfer_count;
desc              904 drivers/dma/at_hdmac.c 	desc->lli.ctrlb = ctrlb;
desc              906 drivers/dma/at_hdmac.c 	desc->txd.cookie = 0;
desc              907 drivers/dma/at_hdmac.c 	desc->len = len;
desc              909 drivers/dma/at_hdmac.c 	return desc;
desc              925 drivers/dma/at_hdmac.c 	struct at_desc		*desc;
desc              951 drivers/dma/at_hdmac.c 	desc = atc_create_memset_desc(chan, paddr, dest, len);
desc              952 drivers/dma/at_hdmac.c 	if (!desc) {
desc              958 drivers/dma/at_hdmac.c 	desc->memset_paddr = paddr;
desc              959 drivers/dma/at_hdmac.c 	desc->memset_vaddr = vaddr;
desc              960 drivers/dma/at_hdmac.c 	desc->memset_buffer = true;
desc              962 drivers/dma/at_hdmac.c 	desc->txd.cookie = -EBUSY;
desc              963 drivers/dma/at_hdmac.c 	desc->total_len = len;
desc              966 drivers/dma/at_hdmac.c 	set_desc_eol(desc);
desc              968 drivers/dma/at_hdmac.c 	desc->txd.flags = flags;
desc              970 drivers/dma/at_hdmac.c 	return &desc->txd;
desc              985 drivers/dma/at_hdmac.c 	struct at_desc		*desc = NULL, *first = NULL, *prev = NULL;
desc             1022 drivers/dma/at_hdmac.c 		desc = atc_create_memset_desc(chan, paddr, dest, len);
desc             1023 drivers/dma/at_hdmac.c 		if (!desc)
desc             1026 drivers/dma/at_hdmac.c 		atc_desc_chain(&first, &prev, desc);
desc             1035 drivers/dma/at_hdmac.c 	desc->memset_paddr = paddr;
desc             1036 drivers/dma/at_hdmac.c 	desc->memset_vaddr = vaddr;
desc             1037 drivers/dma/at_hdmac.c 	desc->memset_buffer = true;
desc             1043 drivers/dma/at_hdmac.c 	set_desc_eol(desc);
desc             1106 drivers/dma/at_hdmac.c 			struct at_desc	*desc;
desc             1110 drivers/dma/at_hdmac.c 			desc = atc_desc_get(atchan);
desc             1111 drivers/dma/at_hdmac.c 			if (!desc)
desc             1125 drivers/dma/at_hdmac.c 			desc->lli.saddr = mem;
desc             1126 drivers/dma/at_hdmac.c 			desc->lli.daddr = reg;
desc             1127 drivers/dma/at_hdmac.c 			desc->lli.ctrla = ctrla
desc             1130 drivers/dma/at_hdmac.c 			desc->lli.ctrlb = ctrlb;
desc             1131 drivers/dma/at_hdmac.c 			desc->len = len;
desc             1133 drivers/dma/at_hdmac.c 			atc_desc_chain(&first, &prev, desc);
desc             1147 drivers/dma/at_hdmac.c 			struct at_desc	*desc;
desc             1151 drivers/dma/at_hdmac.c 			desc = atc_desc_get(atchan);
desc             1152 drivers/dma/at_hdmac.c 			if (!desc)
desc             1166 drivers/dma/at_hdmac.c 			desc->lli.saddr = reg;
desc             1167 drivers/dma/at_hdmac.c 			desc->lli.daddr = mem;
desc             1168 drivers/dma/at_hdmac.c 			desc->lli.ctrla = ctrla
desc             1171 drivers/dma/at_hdmac.c 			desc->lli.ctrlb = ctrlb;
desc             1172 drivers/dma/at_hdmac.c 			desc->len = len;
desc             1174 drivers/dma/at_hdmac.c 			atc_desc_chain(&first, &prev, desc);
desc             1226 drivers/dma/at_hdmac.c atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
desc             1244 drivers/dma/at_hdmac.c 		desc->lli.saddr = buf_addr + (period_len * period_index);
desc             1245 drivers/dma/at_hdmac.c 		desc->lli.daddr = sconfig->dst_addr;
desc             1246 drivers/dma/at_hdmac.c 		desc->lli.ctrla = ctrla;
desc             1247 drivers/dma/at_hdmac.c 		desc->lli.ctrlb = ATC_DST_ADDR_MODE_FIXED
desc             1252 drivers/dma/at_hdmac.c 		desc->len = period_len;
desc             1256 drivers/dma/at_hdmac.c 		desc->lli.saddr = sconfig->src_addr;
desc             1257 drivers/dma/at_hdmac.c 		desc->lli.daddr = buf_addr + (period_len * period_index);
desc             1258 drivers/dma/at_hdmac.c 		desc->lli.ctrla = ctrla;
desc             1259 drivers/dma/at_hdmac.c 		desc->lli.ctrlb = ATC_DST_ADDR_MODE_INCR
desc             1264 drivers/dma/at_hdmac.c 		desc->len = period_len;
desc             1328 drivers/dma/at_hdmac.c 		struct at_desc	*desc;
desc             1330 drivers/dma/at_hdmac.c 		desc = atc_desc_get(atchan);
desc             1331 drivers/dma/at_hdmac.c 		if (!desc)
desc             1334 drivers/dma/at_hdmac.c 		if (atc_dma_cyclic_fill_desc(chan, desc, i, buf_addr,
desc             1338 drivers/dma/at_hdmac.c 		atc_desc_chain(&first, &prev, desc);
desc             1423 drivers/dma/at_hdmac.c 	struct at_desc		*desc, *_desc;
desc             1450 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc             1451 drivers/dma/at_hdmac.c 		atc_chain_complete(atchan, desc);
desc             1543 drivers/dma/at_hdmac.c 	struct at_desc		*desc;
desc             1580 drivers/dma/at_hdmac.c 		desc = atc_alloc_descriptor(chan, GFP_KERNEL);
desc             1581 drivers/dma/at_hdmac.c 		if (!desc) {
desc             1586 drivers/dma/at_hdmac.c 		list_add_tail(&desc->desc_node, &tmp_list);
desc             1613 drivers/dma/at_hdmac.c 	struct at_desc		*desc, *_desc;
desc             1624 drivers/dma/at_hdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->free_list, desc_node) {
desc             1625 drivers/dma/at_hdmac.c 		dev_vdbg(chan2dev(chan), "  freeing descriptor %p\n", desc);
desc             1626 drivers/dma/at_hdmac.c 		list_del(&desc->desc_node);
desc             1628 drivers/dma/at_hdmac.c 		dma_pool_free(atdma->dma_desc_pool, desc, desc->txd.phys);
desc              447 drivers/dma/at_hdmac_regs.h static void set_desc_eol(struct at_desc *desc)
desc              449 drivers/dma/at_hdmac_regs.h 	u32 ctrlb = desc->lli.ctrlb;
desc              454 drivers/dma/at_hdmac_regs.h 	desc->lli.ctrlb = ctrlb;
desc              455 drivers/dma/at_hdmac_regs.h 	desc->lli.dscr = 0;
desc              422 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc = txd_to_at_desc(tx);
desc              431 drivers/dma/at_xdmac.c 		 __func__, atchan, desc);
desc              432 drivers/dma/at_xdmac.c 	list_add_tail(&desc->xfer_node, &atchan->xfers_list);
desc              434 drivers/dma/at_xdmac.c 		at_xdmac_start_xfer(atchan, desc);
desc              443 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc              447 drivers/dma/at_xdmac.c 	desc = dma_pool_zalloc(atxdmac->at_xdmac_desc_pool, gfp_flags, &phys);
desc              448 drivers/dma/at_xdmac.c 	if (desc) {
desc              449 drivers/dma/at_xdmac.c 		INIT_LIST_HEAD(&desc->descs_list);
desc              450 drivers/dma/at_xdmac.c 		dma_async_tx_descriptor_init(&desc->tx_dma_desc, chan);
desc              451 drivers/dma/at_xdmac.c 		desc->tx_dma_desc.tx_submit = at_xdmac_tx_submit;
desc              452 drivers/dma/at_xdmac.c 		desc->tx_dma_desc.phys = phys;
desc              455 drivers/dma/at_xdmac.c 	return desc;
desc              458 drivers/dma/at_xdmac.c static void at_xdmac_init_used_desc(struct at_xdmac_desc *desc)
desc              460 drivers/dma/at_xdmac.c 	memset(&desc->lld, 0, sizeof(desc->lld));
desc              461 drivers/dma/at_xdmac.c 	INIT_LIST_HEAD(&desc->descs_list);
desc              462 drivers/dma/at_xdmac.c 	desc->direction = DMA_TRANS_NONE;
desc              463 drivers/dma/at_xdmac.c 	desc->xfer_size = 0;
desc              464 drivers/dma/at_xdmac.c 	desc->active_xfer = false;
desc              470 drivers/dma/at_xdmac.c 	struct at_xdmac_desc *desc;
desc              473 drivers/dma/at_xdmac.c 		desc = at_xdmac_alloc_desc(&atchan->chan, GFP_NOWAIT);
desc              475 drivers/dma/at_xdmac.c 		desc = list_first_entry(&atchan->free_descs_list,
desc              477 drivers/dma/at_xdmac.c 		list_del(&desc->desc_node);
desc              478 drivers/dma/at_xdmac.c 		at_xdmac_init_used_desc(desc);
desc              481 drivers/dma/at_xdmac.c 	return desc;
desc              486 drivers/dma/at_xdmac.c 				struct at_xdmac_desc *desc)
desc              488 drivers/dma/at_xdmac.c 	if (!prev || !desc)
desc              491 drivers/dma/at_xdmac.c 	prev->lld.mbr_nda = desc->tx_dma_desc.phys;
desc              499 drivers/dma/at_xdmac.c 						  struct at_xdmac_desc *desc)
desc              501 drivers/dma/at_xdmac.c 	if (!desc)
desc              504 drivers/dma/at_xdmac.c 	desc->lld.mbr_bc++;
desc              508 drivers/dma/at_xdmac.c 		__func__, desc);
desc              666 drivers/dma/at_xdmac.c 		struct at_xdmac_desc	*desc = NULL;
desc              678 drivers/dma/at_xdmac.c 		desc = at_xdmac_get_desc(atchan);
desc              679 drivers/dma/at_xdmac.c 		if (!desc) {
desc              688 drivers/dma/at_xdmac.c 			desc->lld.mbr_sa = atchan->sconfig.src_addr;
desc              689 drivers/dma/at_xdmac.c 			desc->lld.mbr_da = mem;
desc              691 drivers/dma/at_xdmac.c 			desc->lld.mbr_sa = mem;
desc              692 drivers/dma/at_xdmac.c 			desc->lld.mbr_da = atchan->sconfig.dst_addr;
desc              698 drivers/dma/at_xdmac.c 		desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV2			/* next descriptor view */
desc              702 drivers/dma/at_xdmac.c 		desc->lld.mbr_cfg = (atchan->cfg & ~AT_XDMAC_CC_DWIDTH_MASK) |
desc              706 drivers/dma/at_xdmac.c 			 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc);
desc              710 drivers/dma/at_xdmac.c 			at_xdmac_queue_desc(chan, prev, desc);
desc              712 drivers/dma/at_xdmac.c 		prev = desc;
desc              714 drivers/dma/at_xdmac.c 			first = desc;
desc              717 drivers/dma/at_xdmac.c 			 __func__, desc, first);
desc              718 drivers/dma/at_xdmac.c 		list_add_tail(&desc->desc_node, &first->descs_list);
desc              763 drivers/dma/at_xdmac.c 		struct at_xdmac_desc	*desc = NULL;
desc              766 drivers/dma/at_xdmac.c 		desc = at_xdmac_get_desc(atchan);
desc              767 drivers/dma/at_xdmac.c 		if (!desc) {
desc              777 drivers/dma/at_xdmac.c 			__func__, desc, &desc->tx_dma_desc.phys);
desc              780 drivers/dma/at_xdmac.c 			desc->lld.mbr_sa = atchan->sconfig.src_addr;
desc              781 drivers/dma/at_xdmac.c 			desc->lld.mbr_da = buf_addr + i * period_len;
desc              783 drivers/dma/at_xdmac.c 			desc->lld.mbr_sa = buf_addr + i * period_len;
desc              784 drivers/dma/at_xdmac.c 			desc->lld.mbr_da = atchan->sconfig.dst_addr;
desc              786 drivers/dma/at_xdmac.c 		desc->lld.mbr_cfg = atchan->cfg;
desc              787 drivers/dma/at_xdmac.c 		desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV1
desc              790 drivers/dma/at_xdmac.c 			| period_len >> at_xdmac_get_dwidth(desc->lld.mbr_cfg);
desc              794 drivers/dma/at_xdmac.c 			 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc);
desc              798 drivers/dma/at_xdmac.c 			at_xdmac_queue_desc(chan, prev, desc);
desc              800 drivers/dma/at_xdmac.c 		prev = desc;
desc              802 drivers/dma/at_xdmac.c 			first = desc;
desc              805 drivers/dma/at_xdmac.c 			 __func__, desc, first);
desc              806 drivers/dma/at_xdmac.c 		list_add_tail(&desc->desc_node, &first->descs_list);
desc              854 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc              904 drivers/dma/at_xdmac.c 	desc = at_xdmac_get_desc(atchan);
desc              906 drivers/dma/at_xdmac.c 	if (!desc) {
desc              915 drivers/dma/at_xdmac.c 	desc->lld.mbr_sa = src;
desc              916 drivers/dma/at_xdmac.c 	desc->lld.mbr_da = dst;
desc              917 drivers/dma/at_xdmac.c 	desc->lld.mbr_sus = dmaengine_get_src_icg(xt, chunk);
desc              918 drivers/dma/at_xdmac.c 	desc->lld.mbr_dus = dmaengine_get_dst_icg(xt, chunk);
desc              920 drivers/dma/at_xdmac.c 	desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV3
desc              924 drivers/dma/at_xdmac.c 	desc->lld.mbr_cfg = chan_cc;
desc              928 drivers/dma/at_xdmac.c 		__func__, &desc->lld.mbr_sa, &desc->lld.mbr_da,
desc              929 drivers/dma/at_xdmac.c 		desc->lld.mbr_ubc, desc->lld.mbr_cfg);
desc              933 drivers/dma/at_xdmac.c 		at_xdmac_queue_desc(chan, prev, desc);
desc              935 drivers/dma/at_xdmac.c 	return desc;
desc              983 drivers/dma/at_xdmac.c 			struct at_xdmac_desc *desc;
desc              997 drivers/dma/at_xdmac.c 			desc = at_xdmac_interleaved_queue_desc(chan, atchan,
desc             1001 drivers/dma/at_xdmac.c 			if (!desc) {
desc             1008 drivers/dma/at_xdmac.c 				first = desc;
desc             1011 drivers/dma/at_xdmac.c 				__func__, desc, first);
desc             1012 drivers/dma/at_xdmac.c 			list_add_tail(&desc->desc_node, &first->descs_list);
desc             1021 drivers/dma/at_xdmac.c 			prev = desc;
desc             1071 drivers/dma/at_xdmac.c 		struct at_xdmac_desc	*desc = NULL;
desc             1076 drivers/dma/at_xdmac.c 		desc = at_xdmac_get_desc(atchan);
desc             1078 drivers/dma/at_xdmac.c 		if (!desc) {
desc             1105 drivers/dma/at_xdmac.c 		desc->lld.mbr_sa = src_addr;
desc             1106 drivers/dma/at_xdmac.c 		desc->lld.mbr_da = dst_addr;
desc             1107 drivers/dma/at_xdmac.c 		desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV2
desc             1111 drivers/dma/at_xdmac.c 		desc->lld.mbr_cfg = chan_cc;
desc             1115 drivers/dma/at_xdmac.c 			 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc, desc->lld.mbr_cfg);
desc             1119 drivers/dma/at_xdmac.c 			at_xdmac_queue_desc(chan, prev, desc);
desc             1121 drivers/dma/at_xdmac.c 		prev = desc;
desc             1123 drivers/dma/at_xdmac.c 			first = desc;
desc             1126 drivers/dma/at_xdmac.c 			 __func__, desc, first);
desc             1127 drivers/dma/at_xdmac.c 		list_add_tail(&desc->desc_node, &first->descs_list);
desc             1142 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc             1177 drivers/dma/at_xdmac.c 	desc = at_xdmac_get_desc(atchan);
desc             1179 drivers/dma/at_xdmac.c 	if (!desc) {
desc             1188 drivers/dma/at_xdmac.c 	desc->lld.mbr_da = dst_addr;
desc             1189 drivers/dma/at_xdmac.c 	desc->lld.mbr_ds = value;
desc             1190 drivers/dma/at_xdmac.c 	desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV3
desc             1194 drivers/dma/at_xdmac.c 	desc->lld.mbr_cfg = chan_cc;
desc             1198 drivers/dma/at_xdmac.c 		__func__, &desc->lld.mbr_da, desc->lld.mbr_ds, desc->lld.mbr_ubc,
desc             1199 drivers/dma/at_xdmac.c 		desc->lld.mbr_cfg);
desc             1201 drivers/dma/at_xdmac.c 	return desc;
desc             1209 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc             1217 drivers/dma/at_xdmac.c 	desc = at_xdmac_memset_create_desc(chan, atchan, dest, len, value);
desc             1218 drivers/dma/at_xdmac.c 	list_add_tail(&desc->desc_node, &desc->descs_list);
desc             1220 drivers/dma/at_xdmac.c 	desc->tx_dma_desc.cookie = -EBUSY;
desc             1221 drivers/dma/at_xdmac.c 	desc->tx_dma_desc.flags = flags;
desc             1222 drivers/dma/at_xdmac.c 	desc->xfer_size = len;
desc             1224 drivers/dma/at_xdmac.c 	return &desc->tx_dma_desc;
desc             1233 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc, *pdesc = NULL,
desc             1250 drivers/dma/at_xdmac.c 		desc = at_xdmac_memset_create_desc(chan, atchan,
desc             1254 drivers/dma/at_xdmac.c 		if (!desc && first)
desc             1259 drivers/dma/at_xdmac.c 			first = desc;
desc             1335 drivers/dma/at_xdmac.c 				list_add_tail(&desc->desc_node,
desc             1339 drivers/dma/at_xdmac.c 					__func__, desc, first);
desc             1354 drivers/dma/at_xdmac.c 				__func__, desc, pdesc);
desc             1367 drivers/dma/at_xdmac.c 			list_add_tail(&desc->desc_node,
desc             1373 drivers/dma/at_xdmac.c 		pdesc = desc;
desc             1395 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc, *_desc;
desc             1413 drivers/dma/at_xdmac.c 	desc = list_first_entry(&atchan->xfers_list, struct at_xdmac_desc, xfer_node);
desc             1419 drivers/dma/at_xdmac.c 	if (!desc->active_xfer) {
desc             1420 drivers/dma/at_xdmac.c 		dma_set_residue(txstate, desc->xfer_size);
desc             1424 drivers/dma/at_xdmac.c 	residue = desc->xfer_size;
desc             1440 drivers/dma/at_xdmac.c 	if ((desc->lld.mbr_cfg & mask) == value) {
desc             1498 drivers/dma/at_xdmac.c 	if ((desc->lld.mbr_cfg & mask) == value) {
desc             1509 drivers/dma/at_xdmac.c 	descs_list = &desc->descs_list;
desc             1510 drivers/dma/at_xdmac.c 	list_for_each_entry_safe(desc, _desc, descs_list, desc_node) {
desc             1511 drivers/dma/at_xdmac.c 		dwidth = at_xdmac_get_dwidth(desc->lld.mbr_cfg);
desc             1512 drivers/dma/at_xdmac.c 		residue -= (desc->lld.mbr_ubc & 0xffffff) << dwidth;
desc             1513 drivers/dma/at_xdmac.c 		if ((desc->lld.mbr_nda & 0xfffffffc) == cur_nda)
desc             1522 drivers/dma/at_xdmac.c 		 __func__, desc, &desc->tx_dma_desc.phys, ret, cookie, residue);
desc             1531 drivers/dma/at_xdmac.c 				    struct at_xdmac_desc *desc)
desc             1533 drivers/dma/at_xdmac.c 	dev_dbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc);
desc             1539 drivers/dma/at_xdmac.c 	list_del(&desc->xfer_node);
desc             1540 drivers/dma/at_xdmac.c 	list_splice_init(&desc->descs_list, &atchan->free_descs_list);
desc             1545 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc             1555 drivers/dma/at_xdmac.c 		desc = list_first_entry(&atchan->xfers_list,
desc             1558 drivers/dma/at_xdmac.c 		dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc);
desc             1559 drivers/dma/at_xdmac.c 		if (!desc->active_xfer)
desc             1560 drivers/dma/at_xdmac.c 			at_xdmac_start_xfer(atchan, desc);
desc             1568 drivers/dma/at_xdmac.c 	struct at_xdmac_desc		*desc;
desc             1572 drivers/dma/at_xdmac.c 		desc = list_first_entry(&atchan->xfers_list,
desc             1574 drivers/dma/at_xdmac.c 		txd = &desc->tx_dma_desc;
desc             1624 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc             1644 drivers/dma/at_xdmac.c 		desc = list_first_entry(&atchan->xfers_list,
desc             1647 drivers/dma/at_xdmac.c 		dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc);
desc             1648 drivers/dma/at_xdmac.c 		if (!desc->active_xfer) {
desc             1654 drivers/dma/at_xdmac.c 		txd = &desc->tx_dma_desc;
desc             1656 drivers/dma/at_xdmac.c 		at_xdmac_remove_xfer(atchan, desc);
desc             1797 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc, *_desc;
desc             1810 drivers/dma/at_xdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->xfers_list, xfer_node)
desc             1811 drivers/dma/at_xdmac.c 		at_xdmac_remove_xfer(atchan, desc);
desc             1823 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc;
desc             1844 drivers/dma/at_xdmac.c 		desc = at_xdmac_alloc_desc(chan, GFP_ATOMIC);
desc             1845 drivers/dma/at_xdmac.c 		if (!desc) {
desc             1850 drivers/dma/at_xdmac.c 		list_add_tail(&desc->desc_node, &atchan->free_descs_list);
desc             1866 drivers/dma/at_xdmac.c 	struct at_xdmac_desc	*desc, *_desc;
desc             1868 drivers/dma/at_xdmac.c 	list_for_each_entry_safe(desc, _desc, &atchan->free_descs_list, desc_node) {
desc             1869 drivers/dma/at_xdmac.c 		dev_dbg(chan2dev(chan), "%s: freeing descriptor %p\n", __func__, desc);
desc             1870 drivers/dma/at_xdmac.c 		list_del(&desc->desc_node);
desc             1871 drivers/dma/at_xdmac.c 		dma_pool_free(atxdmac->at_xdmac_desc_pool, desc, desc->tx_dma_desc.phys);
desc               77 drivers/dma/bcm2835-dma.c 	struct bcm2835_desc *desc;
desc              206 drivers/dma/bcm2835-dma.c static void bcm2835_dma_free_cb_chain(struct bcm2835_desc *desc)
desc              210 drivers/dma/bcm2835-dma.c 	for (i = 0; i < desc->frames; i++)
desc              211 drivers/dma/bcm2835-dma.c 		dma_pool_free(desc->c->cb_pool, desc->cb_list[i].cb,
desc              212 drivers/dma/bcm2835-dma.c 			      desc->cb_list[i].paddr);
desc              214 drivers/dma/bcm2835-dma.c 	kfree(desc);
desc              446 drivers/dma/bcm2835-dma.c 		c->desc = NULL;
desc              452 drivers/dma/bcm2835-dma.c 	c->desc = d = to_bcm2835_dma_desc(&vd->tx);
desc              485 drivers/dma/bcm2835-dma.c 	d = c->desc;
desc              492 drivers/dma/bcm2835-dma.c 			vchan_cookie_complete(&c->desc->vd);
desc              581 drivers/dma/bcm2835-dma.c 	} else if (c->desc && c->desc->vd.tx.cookie == cookie) {
desc              582 drivers/dma/bcm2835-dma.c 		struct bcm2835_desc *d = c->desc;
desc              608 drivers/dma/bcm2835-dma.c 	if (vchan_issue_pending(&c->vc) && !c->desc)
desc              799 drivers/dma/bcm2835-dma.c 	if (c->desc) {
desc              800 drivers/dma/bcm2835-dma.c 		if (c->desc->vd.tx.flags & DMA_PREP_INTERRUPT)
desc              801 drivers/dma/bcm2835-dma.c 			vchan_terminate_vdesc(&c->desc->vd);
desc              803 drivers/dma/bcm2835-dma.c 			vchan_vdesc_fini(&c->desc->vd);
desc              804 drivers/dma/bcm2835-dma.c 		c->desc = NULL;
desc              144 drivers/dma/bestcomm/bestcomm.c 	u32 *desc, *var, *inc;
desc              164 drivers/dma/bestcomm/bestcomm.c 		desc = bcom_task_desc(task);
desc              177 drivers/dma/bestcomm/bestcomm.c 		desc = bcom_sram_alloc(hdr->desc_size * sizeof(u32), 4, &start_pa);
desc              178 drivers/dma/bestcomm/bestcomm.c 		if (!desc)
desc              196 drivers/dma/bestcomm/bestcomm.c 	memcpy(desc, desc_src, hdr->desc_size * sizeof(u32));
desc              209 drivers/dma/bestcomm/bestcomm.c 	u32 *desc;
desc              218 drivers/dma/bestcomm/bestcomm.c 	desc = bcom_task_desc(task);
desc              222 drivers/dma/bestcomm/bestcomm.c 	for (i=0; i<num_descs; i++, desc++) {
desc              223 drivers/dma/bestcomm/bestcomm.c 		if (!bcom_desc_is_drd(*desc))
desc              226 drivers/dma/bestcomm/bestcomm.c 			if (bcom_desc_initiator(*desc) != BCOM_INITIATOR_ALWAYS)
desc              227 drivers/dma/bestcomm/bestcomm.c 				bcom_set_desc_initiator(desc, initiator);
desc              228 drivers/dma/bestcomm/bestcomm.c 		next_drd_has_initiator = !bcom_drd_is_extended(*desc);
desc              172 drivers/dma/bestcomm/fec.c 	u32 *desc;
desc              178 drivers/dma/bestcomm/fec.c 	desc = bcom_task_desc(tasknum) + num_descs - 1;
desc              180 drivers/dma/bestcomm/fec.c 	for (i=0; i<num_descs; i++, desc--)
desc              181 drivers/dma/bestcomm/fec.c 		if (bcom_desc_is_drd(*desc) && ++drd_count == 3)
desc              183 drivers/dma/bestcomm/fec.c 	return desc;
desc             1269 drivers/dma/coh901318.c 	struct dma_async_tx_descriptor desc;
desc             1515 drivers/dma/coh901318.c 	struct coh901318_desc *desc;
desc             1522 drivers/dma/coh901318.c 		desc = kzalloc(sizeof(struct coh901318_desc), GFP_NOWAIT);
desc             1523 drivers/dma/coh901318.c 		if (desc == NULL)
desc             1525 drivers/dma/coh901318.c 		INIT_LIST_HEAD(&desc->node);
desc             1526 drivers/dma/coh901318.c 		dma_async_tx_descriptor_init(&desc->desc, &cohc->chan);
desc             1529 drivers/dma/coh901318.c 		desc = list_first_entry(&cohc->free,
desc             1532 drivers/dma/coh901318.c 		list_del(&desc->node);
desc             1534 drivers/dma/coh901318.c 		desc->sg = NULL;
desc             1535 drivers/dma/coh901318.c 		desc->sg_len = 0;
desc             1536 drivers/dma/coh901318.c 		desc->desc.callback = NULL;
desc             1537 drivers/dma/coh901318.c 		desc->desc.callback_param = NULL;
desc             1541 drivers/dma/coh901318.c 	return desc;
desc             1552 drivers/dma/coh901318.c coh901318_desc_submit(struct coh901318_chan *cohc, struct coh901318_desc *desc)
desc             1554 drivers/dma/coh901318.c 	list_add_tail(&desc->node, &cohc->active);
desc             1571 drivers/dma/coh901318.c coh901318_desc_queue(struct coh901318_chan *cohc, struct coh901318_desc *desc)
desc             1573 drivers/dma/coh901318.c 	list_add_tail(&desc->node, &cohc->queue);
desc             1891 drivers/dma/coh901318.c 	dmaengine_desc_get_callback(&cohd_fin->desc, &cb);
desc             1894 drivers/dma/coh901318.c 	dma_cookie_complete(&cohd_fin->desc);
desc             2198 drivers/dma/coh901318.c 						   desc);
desc             2257 drivers/dma/coh901318.c 	cohd->desc.tx_submit = coh901318_tx_submit;
desc             2261 drivers/dma/coh901318.c 	return &cohd->desc;
desc             2383 drivers/dma/coh901318.c 	cohd->desc.tx_submit = coh901318_tx_submit;
desc             2388 drivers/dma/coh901318.c 	return &cohd->desc;
desc              198 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              207 drivers/dma/dma-axi-dmac.c 	desc = chan->next_desc;
desc              209 drivers/dma/dma-axi-dmac.c 	if (!desc) {
desc              214 drivers/dma/dma-axi-dmac.c 		desc = to_axi_dmac_desc(vdesc);
desc              216 drivers/dma/dma-axi-dmac.c 	sg = &desc->sg[desc->num_submitted];
desc              224 drivers/dma/dma-axi-dmac.c 	desc->num_submitted++;
desc              225 drivers/dma/dma-axi-dmac.c 	if (desc->num_submitted == desc->num_sgs ||
desc              226 drivers/dma/dma-axi-dmac.c 	    desc->have_partial_xfer) {
desc              227 drivers/dma/dma-axi-dmac.c 		if (desc->cyclic)
desc              228 drivers/dma/dma-axi-dmac.c 			desc->num_submitted = 0; /* Start again */
desc              233 drivers/dma/dma-axi-dmac.c 		chan->next_desc = desc;
desc              253 drivers/dma/dma-axi-dmac.c 	if (chan->hw_cyclic && desc->cyclic && !desc->vdesc.tx.callback &&
desc              254 drivers/dma/dma-axi-dmac.c 		desc->num_sgs == 1)
desc              284 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              294 drivers/dma/dma-axi-dmac.c 		list_for_each_entry(desc, &chan->active_descs, vdesc.node) {
desc              295 drivers/dma/dma-axi-dmac.c 			for (i = 0; i < desc->num_sgs; i++) {
desc              296 drivers/dma/dma-axi-dmac.c 				sg = &desc->sg[i];
desc              300 drivers/dma/dma-axi-dmac.c 					desc->have_partial_xfer = true;
desc              468 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              471 drivers/dma/dma-axi-dmac.c 	desc = kzalloc(struct_size(desc, sg, num_sgs), GFP_NOWAIT);
desc              472 drivers/dma/dma-axi-dmac.c 	if (!desc)
desc              476 drivers/dma/dma-axi-dmac.c 		desc->sg[i].id = AXI_DMAC_SG_UNUSED;
desc              478 drivers/dma/dma-axi-dmac.c 	desc->num_sgs = num_sgs;
desc              480 drivers/dma/dma-axi-dmac.c 	return desc;
desc              532 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              545 drivers/dma/dma-axi-dmac.c 	desc = axi_dmac_alloc_desc(num_sgs);
desc              546 drivers/dma/dma-axi-dmac.c 	if (!desc)
desc              549 drivers/dma/dma-axi-dmac.c 	dsg = desc->sg;
desc              554 drivers/dma/dma-axi-dmac.c 			kfree(desc);
desc              562 drivers/dma/dma-axi-dmac.c 	desc->cyclic = false;
desc              564 drivers/dma/dma-axi-dmac.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              573 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              589 drivers/dma/dma-axi-dmac.c 	desc = axi_dmac_alloc_desc(num_periods * num_segments);
desc              590 drivers/dma/dma-axi-dmac.c 	if (!desc)
desc              594 drivers/dma/dma-axi-dmac.c 		period_len, desc->sg);
desc              596 drivers/dma/dma-axi-dmac.c 	desc->cyclic = true;
desc              598 drivers/dma/dma-axi-dmac.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              606 drivers/dma/dma-axi-dmac.c 	struct axi_dmac_desc *desc;
desc              644 drivers/dma/dma-axi-dmac.c 	desc = axi_dmac_alloc_desc(1);
desc              645 drivers/dma/dma-axi-dmac.c 	if (!desc)
desc              649 drivers/dma/dma-axi-dmac.c 		desc->sg[0].src_addr = xt->src_start;
desc              650 drivers/dma/dma-axi-dmac.c 		desc->sg[0].src_stride = xt->sgl[0].size + src_icg;
desc              654 drivers/dma/dma-axi-dmac.c 		desc->sg[0].dest_addr = xt->dst_start;
desc              655 drivers/dma/dma-axi-dmac.c 		desc->sg[0].dest_stride = xt->sgl[0].size + dst_icg;
desc              659 drivers/dma/dma-axi-dmac.c 		desc->sg[0].x_len = xt->sgl[0].size;
desc              660 drivers/dma/dma-axi-dmac.c 		desc->sg[0].y_len = xt->numf;
desc              662 drivers/dma/dma-axi-dmac.c 		desc->sg[0].x_len = xt->sgl[0].size * xt->numf;
desc              663 drivers/dma/dma-axi-dmac.c 		desc->sg[0].y_len = 1;
desc              667 drivers/dma/dma-axi-dmac.c 		desc->cyclic = true;
desc              669 drivers/dma/dma-axi-dmac.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              121 drivers/dma/dma-jz4780.c 	struct jz4780_dma_hwdesc *desc;
desc              137 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc;
desc              233 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc;
desc              238 drivers/dma/dma-jz4780.c 	desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              239 drivers/dma/dma-jz4780.c 	if (!desc)
desc              242 drivers/dma/dma-jz4780.c 	desc->desc = dma_pool_alloc(jzchan->desc_pool, GFP_NOWAIT,
desc              243 drivers/dma/dma-jz4780.c 				    &desc->desc_phys);
desc              244 drivers/dma/dma-jz4780.c 	if (!desc->desc) {
desc              245 drivers/dma/dma-jz4780.c 		kfree(desc);
desc              249 drivers/dma/dma-jz4780.c 	desc->count = count;
desc              250 drivers/dma/dma-jz4780.c 	desc->type = type;
desc              251 drivers/dma/dma-jz4780.c 	return desc;
desc              256 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc = to_jz4780_dma_desc(vdesc);
desc              259 drivers/dma/dma-jz4780.c 	dma_pool_free(jzchan->desc_pool, desc->desc, desc->desc_phys);
desc              260 drivers/dma/dma-jz4780.c 	kfree(desc);
desc              302 drivers/dma/dma-jz4780.c 	struct jz4780_dma_hwdesc *desc, dma_addr_t addr, size_t len,
desc              309 drivers/dma/dma-jz4780.c 		desc->dcm = JZ_DMA_DCM_SAI;
desc              310 drivers/dma/dma-jz4780.c 		desc->dsa = addr;
desc              311 drivers/dma/dma-jz4780.c 		desc->dta = config->dst_addr;
desc              316 drivers/dma/dma-jz4780.c 		desc->dcm = JZ_DMA_DCM_DAI;
desc              317 drivers/dma/dma-jz4780.c 		desc->dsa = config->src_addr;
desc              318 drivers/dma/dma-jz4780.c 		desc->dta = addr;
desc              345 drivers/dma/dma-jz4780.c 	desc->dcm |= tsz << JZ_DMA_DCM_TSZ_SHIFT;
desc              346 drivers/dma/dma-jz4780.c 	desc->dcm |= width << JZ_DMA_DCM_SP_SHIFT;
desc              347 drivers/dma/dma-jz4780.c 	desc->dcm |= width << JZ_DMA_DCM_DP_SHIFT;
desc              349 drivers/dma/dma-jz4780.c 	desc->dtc = len >> jzchan->transfer_shift;
desc              360 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc;
desc              364 drivers/dma/dma-jz4780.c 	desc = jz4780_dma_desc_alloc(jzchan, sg_len, DMA_SLAVE);
desc              365 drivers/dma/dma-jz4780.c 	if (!desc)
desc              369 drivers/dma/dma-jz4780.c 		err = jz4780_dma_setup_hwdesc(jzchan, &desc->desc[i],
desc              374 drivers/dma/dma-jz4780.c 			jz4780_dma_desc_free(&jzchan->desc->vdesc);
desc              378 drivers/dma/dma-jz4780.c 		desc->desc[i].dcm |= JZ_DMA_DCM_TIE;
desc              383 drivers/dma/dma-jz4780.c 			desc->desc[i].dcm |= JZ_DMA_DCM_LINK;
desc              390 drivers/dma/dma-jz4780.c 			desc->desc[i].dtc |=
desc              391 drivers/dma/dma-jz4780.c 				(((i + 1) * sizeof(*desc->desc)) >> 4) << 24;
desc              395 drivers/dma/dma-jz4780.c 	return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags);
desc              404 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc;
desc              413 drivers/dma/dma-jz4780.c 	desc = jz4780_dma_desc_alloc(jzchan, periods, DMA_CYCLIC);
desc              414 drivers/dma/dma-jz4780.c 	if (!desc)
desc              418 drivers/dma/dma-jz4780.c 		err = jz4780_dma_setup_hwdesc(jzchan, &desc->desc[i], buf_addr,
desc              421 drivers/dma/dma-jz4780.c 			jz4780_dma_desc_free(&jzchan->desc->vdesc);
desc              433 drivers/dma/dma-jz4780.c 		desc->desc[i].dcm |= JZ_DMA_DCM_TIE | JZ_DMA_DCM_LINK;
desc              442 drivers/dma/dma-jz4780.c 			desc->desc[i].dtc |=
desc              443 drivers/dma/dma-jz4780.c 				(((i + 1) * sizeof(*desc->desc)) >> 4) << 24;
desc              447 drivers/dma/dma-jz4780.c 	return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags);
desc              455 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc;
desc              458 drivers/dma/dma-jz4780.c 	desc = jz4780_dma_desc_alloc(jzchan, 1, DMA_MEMCPY);
desc              459 drivers/dma/dma-jz4780.c 	if (!desc)
desc              467 drivers/dma/dma-jz4780.c 	desc->desc[0].dsa = src;
desc              468 drivers/dma/dma-jz4780.c 	desc->desc[0].dta = dest;
desc              469 drivers/dma/dma-jz4780.c 	desc->desc[0].dcm = JZ_DMA_DCM_TIE | JZ_DMA_DCM_SAI | JZ_DMA_DCM_DAI |
desc              473 drivers/dma/dma-jz4780.c 	desc->desc[0].dtc = len >> jzchan->transfer_shift;
desc              475 drivers/dma/dma-jz4780.c 	return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags);
desc              485 drivers/dma/dma-jz4780.c 	if (!jzchan->desc) {
desc              492 drivers/dma/dma-jz4780.c 		jzchan->desc = to_jz4780_dma_desc(vdesc);
desc              495 drivers/dma/dma-jz4780.c 		if (jzchan->desc->type == DMA_CYCLIC && vdesc->tx.callback) {
desc              510 drivers/dma/dma-jz4780.c 			for (i = 0; i < jzchan->desc->count; i++)
desc              511 drivers/dma/dma-jz4780.c 				jzchan->desc->desc[i].dcm &= ~JZ_DMA_DCM_LINK;
desc              520 drivers/dma/dma-jz4780.c 			(jzchan->curr_hwdesc + 1) % jzchan->desc->count;
desc              540 drivers/dma/dma-jz4780.c 				jzchan->desc->desc[jzchan->curr_hwdesc].dtc);
desc              543 drivers/dma/dma-jz4780.c 	desc_phys = jzchan->desc->desc_phys +
desc              544 drivers/dma/dma-jz4780.c 		    (jzchan->curr_hwdesc * sizeof(*jzchan->desc->desc));
desc              560 drivers/dma/dma-jz4780.c 	if (vchan_issue_pending(&jzchan->vchan) && !jzchan->desc)
desc              577 drivers/dma/dma-jz4780.c 	if (jzchan->desc) {
desc              578 drivers/dma/dma-jz4780.c 		vchan_terminate_vdesc(&jzchan->desc->vdesc);
desc              579 drivers/dma/dma-jz4780.c 		jzchan->desc = NULL;
desc              617 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc, unsigned int next_sg)
desc              623 drivers/dma/dma-jz4780.c 	for (i = next_sg; i < desc->count; i++)
desc              624 drivers/dma/dma-jz4780.c 		count += desc->desc[i].dtc & GENMASK(23, 0);
desc              653 drivers/dma/dma-jz4780.c 	} else if (cookie == jzchan->desc->vdesc.tx.cookie) {
desc              654 drivers/dma/dma-jz4780.c 		residue = jz4780_dma_desc_residue(jzchan, jzchan->desc,
desc              659 drivers/dma/dma-jz4780.c 	if (vdesc && jzchan->desc && vdesc == &jzchan->desc->vdesc
desc              660 drivers/dma/dma-jz4780.c 	    && jzchan->desc->status & (JZ_DMA_DCS_AR | JZ_DMA_DCS_HLT))
desc              671 drivers/dma/dma-jz4780.c 	struct jz4780_dma_desc *desc = jzchan->desc;
desc              690 drivers/dma/dma-jz4780.c 	if (jzchan->desc) {
desc              691 drivers/dma/dma-jz4780.c 		jzchan->desc->status = dcs;
desc              694 drivers/dma/dma-jz4780.c 			if (jzchan->desc->type == DMA_CYCLIC) {
desc              695 drivers/dma/dma-jz4780.c 				vchan_cyclic_callback(&jzchan->desc->vdesc);
desc              700 drivers/dma/dma-jz4780.c 				    (jzchan->curr_hwdesc + 1 == desc->count)) {
desc              701 drivers/dma/dma-jz4780.c 					vchan_cookie_complete(&desc->vdesc);
desc              702 drivers/dma/dma-jz4780.c 					jzchan->desc = NULL;
desc              201 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	struct axi_dma_desc *desc;
desc              204 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc = dma_pool_zalloc(dw->desc_pool, GFP_NOWAIT, &phys);
desc              205 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	if (unlikely(!desc)) {
desc              212 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	INIT_LIST_HEAD(&desc->xfer_list);
desc              213 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->vd.tx.phys = phys;
desc              214 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->chan = chan;
desc              216 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	return desc;
desc              219 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void axi_desc_put(struct axi_dma_desc *desc)
desc              221 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	struct axi_dma_chan *chan = desc->chan;
desc              226 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	list_for_each_entry_safe(child, _next, &desc->xfer_list, xfer_list) {
desc              232 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	dma_pool_free(dw->desc_pool, desc, desc->vd.tx.phys);
desc              261 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_llp(struct axi_dma_desc *desc, dma_addr_t adr)
desc              263 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.llp = cpu_to_le64(adr);
desc              312 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	struct axi_dma_desc *desc;
desc              319 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc = vd_to_axi_desc(vd);
desc              322 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	axi_chan_block_xfer_start(chan, desc);
desc              381 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void set_desc_last(struct axi_dma_desc *desc)
desc              385 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	val = le32_to_cpu(desc->lli.ctl_hi);
desc              387 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.ctl_hi = cpu_to_le32(val);
desc              390 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_sar(struct axi_dma_desc *desc, dma_addr_t adr)
desc              392 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.sar = cpu_to_le64(adr);
desc              395 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_dar(struct axi_dma_desc *desc, dma_addr_t adr)
desc              397 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.dar = cpu_to_le64(adr);
desc              400 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void set_desc_src_master(struct axi_dma_desc *desc)
desc              405 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	val = le32_to_cpu(desc->lli.ctl_lo);
desc              407 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.ctl_lo = cpu_to_le32(val);
desc              410 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void set_desc_dest_master(struct axi_dma_desc *desc)
desc              415 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	val = le32_to_cpu(desc->lli.ctl_lo);
desc              416 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	if (desc->chan->chip->dw->hdata->nr_masters > 1)
desc              421 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.ctl_lo = cpu_to_le32(val);
desc              428 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	struct axi_dma_desc *first = NULL, *desc = NULL, *prev = NULL;
desc              460 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		desc = axi_desc_get(chan);
desc              461 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		if (unlikely(!desc))
desc              464 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		write_desc_sar(desc, src_adr);
desc              465 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		write_desc_dar(desc, dst_adr);
desc              466 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		desc->lli.block_ts_lo = cpu_to_le32(block_ts - 1);
desc              477 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		desc->lli.ctl_hi = cpu_to_le32(reg);
desc              485 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		desc->lli.ctl_lo = cpu_to_le32(reg);
desc              487 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		set_desc_src_master(desc);
desc              488 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		set_desc_dest_master(desc);
desc              492 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 			first = desc;
desc              494 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 			list_add_tail(&desc->xfer_list, &first->xfer_list);
desc              495 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 			write_desc_llp(prev, desc->vd.tx.phys | lms);
desc              497 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		prev = desc;
desc              510 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	set_desc_last(desc);
desc              521 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 			      struct axi_dma_desc *desc)
desc              525 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le64_to_cpu(desc->lli.sar),
desc              526 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le64_to_cpu(desc->lli.dar),
desc              527 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le64_to_cpu(desc->lli.llp),
desc              528 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le32_to_cpu(desc->lli.block_ts_lo),
desc              529 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le32_to_cpu(desc->lli.ctl_hi),
desc              530 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		le32_to_cpu(desc->lli.ctl_lo));
desc              536 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	struct axi_dma_desc *desc;
desc              539 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	list_for_each_entry(desc, &desc_head->xfer_list, xfer_list)
desc              540 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 		axi_chan_dump_lli(chan, desc);
desc               64 drivers/dma/dw-edma/dw-edma-core.c static struct dw_edma_chunk *dw_edma_alloc_chunk(struct dw_edma_desc *desc)
desc               66 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_chan *chan = desc->chan;
desc               82 drivers/dma/dw-edma/dw-edma-core.c 	chunk->cb = !(desc->chunks_alloc % 2);
desc               86 drivers/dma/dw-edma/dw-edma-core.c 	if (desc->chunk) {
desc               88 drivers/dma/dw-edma/dw-edma-core.c 		desc->chunks_alloc++;
desc               89 drivers/dma/dw-edma/dw-edma-core.c 		list_add_tail(&chunk->list, &desc->chunk->list);
desc               97 drivers/dma/dw-edma/dw-edma-core.c 		desc->chunks_alloc = 0;
desc               98 drivers/dma/dw-edma/dw-edma-core.c 		desc->chunk = chunk;
desc              106 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_desc *desc;
desc              108 drivers/dma/dw-edma/dw-edma-core.c 	desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              109 drivers/dma/dw-edma/dw-edma-core.c 	if (unlikely(!desc))
desc              112 drivers/dma/dw-edma/dw-edma-core.c 	desc->chan = chan;
desc              113 drivers/dma/dw-edma/dw-edma-core.c 	if (!dw_edma_alloc_chunk(desc)) {
desc              114 drivers/dma/dw-edma/dw-edma-core.c 		kfree(desc);
desc              118 drivers/dma/dw-edma/dw-edma-core.c 	return desc;
desc              137 drivers/dma/dw-edma/dw-edma-core.c static void dw_edma_free_chunk(struct dw_edma_desc *desc)
desc              141 drivers/dma/dw-edma/dw-edma-core.c 	if (!desc->chunk)
desc              145 drivers/dma/dw-edma/dw-edma-core.c 	list_for_each_entry_safe(child, _next, &desc->chunk->list, list) {
desc              149 drivers/dma/dw-edma/dw-edma-core.c 		desc->chunks_alloc--;
desc              154 drivers/dma/dw-edma/dw-edma-core.c 	desc->chunk = NULL;
desc              157 drivers/dma/dw-edma/dw-edma-core.c static void dw_edma_free_desc(struct dw_edma_desc *desc)
desc              159 drivers/dma/dw-edma/dw-edma-core.c 	dw_edma_free_chunk(desc);
desc              160 drivers/dma/dw-edma/dw-edma-core.c 	kfree(desc);
desc              171 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_desc *desc;
desc              178 drivers/dma/dw-edma/dw-edma-core.c 	desc = vd2dw_edma_desc(vd);
desc              179 drivers/dma/dw-edma/dw-edma-core.c 	if (!desc)
desc              182 drivers/dma/dw-edma/dw-edma-core.c 	child = list_first_entry_or_null(&desc->chunk->list,
desc              187 drivers/dma/dw-edma/dw-edma-core.c 	dw_edma_v0_core_start(child, !desc->xfer_sz);
desc              188 drivers/dma/dw-edma/dw-edma-core.c 	desc->xfer_sz += child->ll_region.sz;
desc              192 drivers/dma/dw-edma/dw-edma-core.c 	desc->chunks_alloc--;
desc              290 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_desc *desc;
desc              309 drivers/dma/dw-edma/dw-edma-core.c 		desc = vd2dw_edma_desc(vd);
desc              310 drivers/dma/dw-edma/dw-edma-core.c 		if (desc)
desc              311 drivers/dma/dw-edma/dw-edma-core.c 			residue = desc->alloc_sz - desc->xfer_sz;
desc              330 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_desc *desc;
desc              349 drivers/dma/dw-edma/dw-edma-core.c 	desc = dw_edma_alloc_desc(chan);
desc              350 drivers/dma/dw-edma/dw-edma-core.c 	if (unlikely(!desc))
desc              353 drivers/dma/dw-edma/dw-edma-core.c 	chunk = dw_edma_alloc_chunk(desc);
desc              372 drivers/dma/dw-edma/dw-edma-core.c 			chunk = dw_edma_alloc_chunk(desc);
desc              387 drivers/dma/dw-edma/dw-edma-core.c 		desc->alloc_sz += burst->sz;
desc              425 drivers/dma/dw-edma/dw-edma-core.c 	return vchan_tx_prep(&chan->vc, &desc->vd, xfer->flags);
desc              428 drivers/dma/dw-edma/dw-edma-core.c 	if (desc)
desc              429 drivers/dma/dw-edma/dw-edma-core.c 		dw_edma_free_desc(desc);
desc              473 drivers/dma/dw-edma/dw-edma-core.c 	struct dw_edma_desc *desc;
desc              484 drivers/dma/dw-edma/dw-edma-core.c 			desc = vd2dw_edma_desc(vd);
desc              485 drivers/dma/dw-edma/dw-edma-core.c 			if (desc->chunks_alloc) {
desc               58 drivers/dma/dw/core.c 	struct dw_desc		*desc = txd_to_dw_desc(tx);
desc               72 drivers/dma/dw/core.c 	list_add_tail(&desc->desc_node, &dwc->queue);
desc               75 drivers/dma/dw/core.c 		 __func__, desc->txd.cookie);
desc               83 drivers/dma/dw/core.c 	struct dw_desc *desc;
desc               86 drivers/dma/dw/core.c 	desc = dma_pool_zalloc(dw->desc_pool, GFP_ATOMIC, &phys);
desc               87 drivers/dma/dw/core.c 	if (!desc)
desc               91 drivers/dma/dw/core.c 	INIT_LIST_HEAD(&desc->tx_list);
desc               92 drivers/dma/dw/core.c 	dma_async_tx_descriptor_init(&desc->txd, &dwc->chan);
desc               93 drivers/dma/dw/core.c 	desc->txd.tx_submit = dwc_tx_submit;
desc               94 drivers/dma/dw/core.c 	desc->txd.flags = DMA_CTRL_ACK;
desc               95 drivers/dma/dw/core.c 	desc->txd.phys = phys;
desc               96 drivers/dma/dw/core.c 	return desc;
desc               99 drivers/dma/dw/core.c static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc)
desc              104 drivers/dma/dw/core.c 	if (unlikely(!desc))
desc              107 drivers/dma/dw/core.c 	list_for_each_entry_safe(child, _next, &desc->tx_list, desc_node) {
desc              113 drivers/dma/dw/core.c 	dma_pool_free(dw->desc_pool, desc, desc->txd.phys);
desc              157 drivers/dma/dw/core.c 				       struct dw_desc *desc)
desc              166 drivers/dma/dw/core.c 	ctllo = lli_read(desc, ctllo) | DWC_CTLL_INT_EN;
desc              168 drivers/dma/dw/core.c 	channel_writel(dwc, SAR, lli_read(desc, sar));
desc              169 drivers/dma/dw/core.c 	channel_writel(dwc, DAR, lli_read(desc, dar));
desc              171 drivers/dma/dw/core.c 	channel_writel(dwc, CTL_HI, lli_read(desc, ctlhi));
desc              226 drivers/dma/dw/core.c 	struct dw_desc *desc;
desc              232 drivers/dma/dw/core.c 	desc = dwc_first_active(dwc);
desc              233 drivers/dma/dw/core.c 	dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie);
desc              234 drivers/dma/dw/core.c 	dwc_dostart(dwc, desc);
desc              240 drivers/dma/dw/core.c dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc,
desc              243 drivers/dma/dw/core.c 	struct dma_async_tx_descriptor	*txd = &desc->txd;
desc              258 drivers/dma/dw/core.c 	list_for_each_entry(child, &desc->tx_list, desc_node)
desc              260 drivers/dma/dw/core.c 	async_tx_ack(&desc->txd);
desc              261 drivers/dma/dw/core.c 	dwc_desc_put(dwc, desc);
desc              269 drivers/dma/dw/core.c 	struct dw_desc *desc, *_desc;
desc              291 drivers/dma/dw/core.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc              292 drivers/dma/dw/core.c 		dwc_descriptor_complete(dwc, desc, true);
desc              308 drivers/dma/dw/core.c 	struct dw_desc *desc, *_desc;
desc              328 drivers/dma/dw/core.c 			desc = dwc_first_active(dwc);
desc              330 drivers/dma/dw/core.c 			head = &desc->tx_list;
desc              334 drivers/dma/dw/core.c 					desc->residue -= desc->len;
desc              336 drivers/dma/dw/core.c 					desc->residue -= to_dw_desc(active->prev)->len;
desc              370 drivers/dma/dw/core.c 	list_for_each_entry_safe(desc, _desc, &dwc->active_list, desc_node) {
desc              372 drivers/dma/dw/core.c 		desc->residue = desc->total_len;
desc              375 drivers/dma/dw/core.c 		if (desc->txd.phys == DWC_LLP_LOC(llp)) {
desc              381 drivers/dma/dw/core.c 		if (lli_read(desc, llp) == llp) {
desc              383 drivers/dma/dw/core.c 			desc->residue -= dwc_get_sent(dwc);
desc              388 drivers/dma/dw/core.c 		desc->residue -= desc->len;
desc              389 drivers/dma/dw/core.c 		list_for_each_entry(child, &desc->tx_list, desc_node) {
desc              392 drivers/dma/dw/core.c 				desc->residue -= dwc_get_sent(dwc);
desc              396 drivers/dma/dw/core.c 			desc->residue -= child->len;
desc              404 drivers/dma/dw/core.c 		dwc_descriptor_complete(dwc, desc, true);
desc              418 drivers/dma/dw/core.c static inline void dwc_dump_lli(struct dw_dma_chan *dwc, struct dw_desc *desc)
desc              421 drivers/dma/dw/core.c 		 lli_read(desc, sar),
desc              422 drivers/dma/dw/core.c 		 lli_read(desc, dar),
desc              423 drivers/dma/dw/core.c 		 lli_read(desc, llp),
desc              424 drivers/dma/dw/core.c 		 lli_read(desc, ctlhi),
desc              425 drivers/dma/dw/core.c 		 lli_read(desc, ctllo));
desc              550 drivers/dma/dw/core.c 	struct dw_desc		*desc;
desc              584 drivers/dma/dw/core.c 		desc = dwc_desc_get(dwc);
desc              585 drivers/dma/dw/core.c 		if (!desc)
desc              590 drivers/dma/dw/core.c 		lli_write(desc, sar, src + offset);
desc              591 drivers/dma/dw/core.c 		lli_write(desc, dar, dest + offset);
desc              592 drivers/dma/dw/core.c 		lli_write(desc, ctllo, ctllo);
desc              593 drivers/dma/dw/core.c 		lli_write(desc, ctlhi, ctlhi);
desc              594 drivers/dma/dw/core.c 		desc->len = xfer_count;
desc              597 drivers/dma/dw/core.c 			first = desc;
desc              599 drivers/dma/dw/core.c 			lli_write(prev, llp, desc->txd.phys | lms);
desc              600 drivers/dma/dw/core.c 			list_add_tail(&desc->desc_node, &first->tx_list);
desc              602 drivers/dma/dw/core.c 		prev = desc;
desc              664 drivers/dma/dw/core.c 			struct dw_desc	*desc;
desc              674 drivers/dma/dw/core.c 			desc = dwc_desc_get(dwc);
desc              675 drivers/dma/dw/core.c 			if (!desc)
desc              680 drivers/dma/dw/core.c 			lli_write(desc, sar, mem);
desc              681 drivers/dma/dw/core.c 			lli_write(desc, dar, reg);
desc              682 drivers/dma/dw/core.c 			lli_write(desc, ctlhi, ctlhi);
desc              683 drivers/dma/dw/core.c 			lli_write(desc, ctllo, ctllo | DWC_CTLL_SRC_WIDTH(mem_width));
desc              684 drivers/dma/dw/core.c 			desc->len = dlen;
desc              687 drivers/dma/dw/core.c 				first = desc;
desc              689 drivers/dma/dw/core.c 				lli_write(prev, llp, desc->txd.phys | lms);
desc              690 drivers/dma/dw/core.c 				list_add_tail(&desc->desc_node, &first->tx_list);
desc              692 drivers/dma/dw/core.c 			prev = desc;
desc              714 drivers/dma/dw/core.c 			struct dw_desc	*desc;
desc              722 drivers/dma/dw/core.c 			desc = dwc_desc_get(dwc);
desc              723 drivers/dma/dw/core.c 			if (!desc)
desc              728 drivers/dma/dw/core.c 			lli_write(desc, sar, reg);
desc              729 drivers/dma/dw/core.c 			lli_write(desc, dar, mem);
desc              730 drivers/dma/dw/core.c 			lli_write(desc, ctlhi, ctlhi);
desc              732 drivers/dma/dw/core.c 			lli_write(desc, ctllo, ctllo | DWC_CTLL_DST_WIDTH(mem_width));
desc              733 drivers/dma/dw/core.c 			desc->len = dlen;
desc              736 drivers/dma/dw/core.c 				first = desc;
desc              738 drivers/dma/dw/core.c 				lli_write(prev, llp, desc->txd.phys | lms);
desc              739 drivers/dma/dw/core.c 				list_add_tail(&desc->desc_node, &first->tx_list);
desc              741 drivers/dma/dw/core.c 			prev = desc;
desc              853 drivers/dma/dw/core.c 	struct dw_desc		*desc, *_desc;
desc              874 drivers/dma/dw/core.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc              875 drivers/dma/dw/core.c 		dwc_descriptor_complete(dwc, desc, false);
desc              882 drivers/dma/dw/core.c 	struct dw_desc *desc;
desc              884 drivers/dma/dw/core.c 	list_for_each_entry(desc, &dwc->active_list, desc_node)
desc              885 drivers/dma/dw/core.c 		if (desc->txd.cookie == c)
desc              886 drivers/dma/dw/core.c 			return desc;
desc              893 drivers/dma/dw/core.c 	struct dw_desc *desc;
desc              899 drivers/dma/dw/core.c 	desc = dwc_find_desc(dwc, cookie);
desc              900 drivers/dma/dw/core.c 	if (desc) {
desc              901 drivers/dma/dw/core.c 		if (desc == dwc_first_active(dwc)) {
desc              902 drivers/dma/dw/core.c 			residue = desc->residue;
desc              906 drivers/dma/dw/core.c 			residue = desc->total_len;
desc              239 drivers/dma/ep93xx_dma.c 				  struct ep93xx_dma_desc *desc)
desc              243 drivers/dma/ep93xx_dma.c 	list_add_tail(&desc->node, &edmac->active);
desc              246 drivers/dma/ep93xx_dma.c 	while (!list_empty(&desc->tx_list)) {
desc              247 drivers/dma/ep93xx_dma.c 		struct ep93xx_dma_desc *d = list_first_entry(&desc->tx_list,
desc              256 drivers/dma/ep93xx_dma.c 		d->txd.callback = desc->txd.callback;
desc              257 drivers/dma/ep93xx_dma.c 		d->txd.callback_param = desc->txd.callback_param;
desc              285 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              292 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              293 drivers/dma/ep93xx_dma.c 	if (!desc)
desc              300 drivers/dma/ep93xx_dma.c 	return !desc->txd.cookie;
desc              363 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              366 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              367 drivers/dma/ep93xx_dma.c 	if (!desc) {
desc              373 drivers/dma/ep93xx_dma.c 		bus_addr = desc->src_addr;
desc              375 drivers/dma/ep93xx_dma.c 		bus_addr = desc->dst_addr;
desc              378 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2P_MAXCNT0);
desc              381 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2P_MAXCNT1);
desc              409 drivers/dma/ep93xx_dma.c 		struct ep93xx_dma_desc *desc = ep93xx_dma_get_active(edmac);
desc              428 drivers/dma/ep93xx_dma.c 			desc->txd.cookie, desc->src_addr, desc->dst_addr,
desc              429 drivers/dma/ep93xx_dma.c 			desc->size);
desc              526 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              528 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              529 drivers/dma/ep93xx_dma.c 	if (!desc) {
desc              535 drivers/dma/ep93xx_dma.c 		writel(desc->src_addr, edmac->regs + M2M_SAR_BASE0);
desc              536 drivers/dma/ep93xx_dma.c 		writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE0);
desc              537 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2M_BCR0);
desc              539 drivers/dma/ep93xx_dma.c 		writel(desc->src_addr, edmac->regs + M2M_SAR_BASE1);
desc              540 drivers/dma/ep93xx_dma.c 		writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE1);
desc              541 drivers/dma/ep93xx_dma.c 		writel(desc->size, edmac->regs + M2M_BCR1);
desc              603 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              618 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              619 drivers/dma/ep93xx_dma.c 	last_done = !desc || desc->txd.cookie;
desc              677 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *_desc;
desc              682 drivers/dma/ep93xx_dma.c 	list_for_each_entry_safe(desc, _desc, &edmac->free_list, node) {
desc              683 drivers/dma/ep93xx_dma.c 		if (async_tx_test_ack(&desc->txd)) {
desc              684 drivers/dma/ep93xx_dma.c 			list_del_init(&desc->node);
desc              687 drivers/dma/ep93xx_dma.c 			desc->src_addr = 0;
desc              688 drivers/dma/ep93xx_dma.c 			desc->dst_addr = 0;
desc              689 drivers/dma/ep93xx_dma.c 			desc->size = 0;
desc              690 drivers/dma/ep93xx_dma.c 			desc->complete = false;
desc              691 drivers/dma/ep93xx_dma.c 			desc->txd.cookie = 0;
desc              692 drivers/dma/ep93xx_dma.c 			desc->txd.callback = NULL;
desc              693 drivers/dma/ep93xx_dma.c 			desc->txd.callback_param = NULL;
desc              695 drivers/dma/ep93xx_dma.c 			ret = desc;
desc              704 drivers/dma/ep93xx_dma.c 				struct ep93xx_dma_desc *desc)
desc              706 drivers/dma/ep93xx_dma.c 	if (desc) {
desc              710 drivers/dma/ep93xx_dma.c 		list_splice_init(&desc->tx_list, &edmac->free_list);
desc              711 drivers/dma/ep93xx_dma.c 		list_add(&desc->node, &edmac->free_list);
desc              749 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *d;
desc              760 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              761 drivers/dma/ep93xx_dma.c 	if (desc) {
desc              762 drivers/dma/ep93xx_dma.c 		if (desc->complete) {
desc              765 drivers/dma/ep93xx_dma.c 				dma_cookie_complete(&desc->txd);
desc              768 drivers/dma/ep93xx_dma.c 		dmaengine_desc_get_callback(&desc->txd, &cb);
desc              776 drivers/dma/ep93xx_dma.c 	list_for_each_entry_safe(desc, d, &list, node) {
desc              777 drivers/dma/ep93xx_dma.c 		dma_descriptor_unmap(&desc->txd);
desc              778 drivers/dma/ep93xx_dma.c 		ep93xx_dma_desc_put(edmac, desc);
desc              787 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              792 drivers/dma/ep93xx_dma.c 	desc = ep93xx_dma_get_active(edmac);
desc              793 drivers/dma/ep93xx_dma.c 	if (!desc) {
desc              802 drivers/dma/ep93xx_dma.c 		desc->complete = true;
desc              832 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc;
desc              839 drivers/dma/ep93xx_dma.c 	desc = container_of(tx, struct ep93xx_dma_desc, txd);
desc              847 drivers/dma/ep93xx_dma.c 		ep93xx_dma_set_active(edmac, desc);
desc              850 drivers/dma/ep93xx_dma.c 		list_add_tail(&desc->node, &edmac->queue);
desc              915 drivers/dma/ep93xx_dma.c 		struct ep93xx_dma_desc *desc;
desc              917 drivers/dma/ep93xx_dma.c 		desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              918 drivers/dma/ep93xx_dma.c 		if (!desc) {
desc              923 drivers/dma/ep93xx_dma.c 		INIT_LIST_HEAD(&desc->tx_list);
desc              925 drivers/dma/ep93xx_dma.c 		dma_async_tx_descriptor_init(&desc->txd, chan);
desc              926 drivers/dma/ep93xx_dma.c 		desc->txd.flags = DMA_CTRL_ACK;
desc              927 drivers/dma/ep93xx_dma.c 		desc->txd.tx_submit = ep93xx_dma_tx_submit;
desc              929 drivers/dma/ep93xx_dma.c 		ep93xx_dma_desc_put(edmac, desc);
desc              952 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *d;
desc              967 drivers/dma/ep93xx_dma.c 	list_for_each_entry_safe(desc, d, &list, node)
desc              968 drivers/dma/ep93xx_dma.c 		kfree(desc);
desc              989 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *first;
desc              994 drivers/dma/ep93xx_dma.c 		desc = ep93xx_dma_desc_get(edmac);
desc              995 drivers/dma/ep93xx_dma.c 		if (!desc) {
desc             1002 drivers/dma/ep93xx_dma.c 		desc->src_addr = src + offset;
desc             1003 drivers/dma/ep93xx_dma.c 		desc->dst_addr = dest + offset;
desc             1004 drivers/dma/ep93xx_dma.c 		desc->size = bytes;
desc             1007 drivers/dma/ep93xx_dma.c 			first = desc;
desc             1009 drivers/dma/ep93xx_dma.c 			list_add_tail(&desc->node, &first->tx_list);
desc             1038 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *first;
desc             1066 drivers/dma/ep93xx_dma.c 		desc = ep93xx_dma_desc_get(edmac);
desc             1067 drivers/dma/ep93xx_dma.c 		if (!desc) {
desc             1073 drivers/dma/ep93xx_dma.c 			desc->src_addr = sg_dma_address(sg);
desc             1074 drivers/dma/ep93xx_dma.c 			desc->dst_addr = edmac->runtime_addr;
desc             1076 drivers/dma/ep93xx_dma.c 			desc->src_addr = edmac->runtime_addr;
desc             1077 drivers/dma/ep93xx_dma.c 			desc->dst_addr = sg_dma_address(sg);
desc             1079 drivers/dma/ep93xx_dma.c 		desc->size = len;
desc             1082 drivers/dma/ep93xx_dma.c 			first = desc;
desc             1084 drivers/dma/ep93xx_dma.c 			list_add_tail(&desc->node, &first->tx_list);
desc             1120 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *first;
desc             1146 drivers/dma/ep93xx_dma.c 		desc = ep93xx_dma_desc_get(edmac);
desc             1147 drivers/dma/ep93xx_dma.c 		if (!desc) {
desc             1153 drivers/dma/ep93xx_dma.c 			desc->src_addr = dma_addr + offset;
desc             1154 drivers/dma/ep93xx_dma.c 			desc->dst_addr = edmac->runtime_addr;
desc             1156 drivers/dma/ep93xx_dma.c 			desc->src_addr = edmac->runtime_addr;
desc             1157 drivers/dma/ep93xx_dma.c 			desc->dst_addr = dma_addr + offset;
desc             1160 drivers/dma/ep93xx_dma.c 		desc->size = period_len;
desc             1163 drivers/dma/ep93xx_dma.c 			first = desc;
desc             1165 drivers/dma/ep93xx_dma.c 			list_add_tail(&desc->node, &first->tx_list);
desc             1207 drivers/dma/ep93xx_dma.c 	struct ep93xx_dma_desc *desc, *_d;
desc             1224 drivers/dma/ep93xx_dma.c 	list_for_each_entry_safe(desc, _d, &list, node)
desc             1225 drivers/dma/ep93xx_dma.c 		ep93xx_dma_desc_put(edmac, desc);
desc               88 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc               93 drivers/dma/fsl_raid.c 	desc = to_fsl_re_dma_desc(tx);
desc               98 drivers/dma/fsl_raid.c 	list_add_tail(&desc->node, &re_chan->submit_q);
desc              109 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc, *_desc;
desc              118 drivers/dma/fsl_raid.c 	list_for_each_entry_safe(desc, _desc, &re_chan->submit_q, node) {
desc              122 drivers/dma/fsl_raid.c 		list_move_tail(&desc->node, &re_chan->active_q);
desc              125 drivers/dma/fsl_raid.c 		       &desc->hwdesc, sizeof(struct fsl_re_hw_desc));
desc              135 drivers/dma/fsl_raid.c static void fsl_re_desc_done(struct fsl_re_desc *desc)
desc              137 drivers/dma/fsl_raid.c 	dma_cookie_complete(&desc->async_tx);
desc              138 drivers/dma/fsl_raid.c 	dma_descriptor_unmap(&desc->async_tx);
desc              139 drivers/dma/fsl_raid.c 	dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
desc              144 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc, *_desc;
desc              148 drivers/dma/fsl_raid.c 	list_for_each_entry_safe(desc, _desc, &re_chan->ack_q, node) {
desc              149 drivers/dma/fsl_raid.c 		if (async_tx_test_ack(&desc->async_tx))
desc              150 drivers/dma/fsl_raid.c 			list_move_tail(&desc->node, &re_chan->free_q);
desc              160 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc, *_desc;
desc              175 drivers/dma/fsl_raid.c 		list_for_each_entry_safe(desc, _desc, &re_chan->active_q,
desc              178 drivers/dma/fsl_raid.c 			if (desc->hwdesc.lbea32 == hwdesc->lbea32 &&
desc              179 drivers/dma/fsl_raid.c 			    desc->hwdesc.addr_low == hwdesc->addr_low) {
desc              186 drivers/dma/fsl_raid.c 			fsl_re_desc_done(desc);
desc              187 drivers/dma/fsl_raid.c 			list_move_tail(&desc->node, &re_chan->ack_q);
desc              252 drivers/dma/fsl_raid.c 					    struct fsl_re_desc *desc,
desc              255 drivers/dma/fsl_raid.c 	desc->re_chan = re_chan;
desc              256 drivers/dma/fsl_raid.c 	desc->async_tx.tx_submit = fsl_re_tx_submit;
desc              257 drivers/dma/fsl_raid.c 	dma_async_tx_descriptor_init(&desc->async_tx, &re_chan->chan);
desc              258 drivers/dma/fsl_raid.c 	INIT_LIST_HEAD(&desc->node);
desc              260 drivers/dma/fsl_raid.c 	desc->hwdesc.fmt32 = FSL_RE_FRAME_FORMAT << FSL_RE_HWDESC_FMT_SHIFT;
desc              261 drivers/dma/fsl_raid.c 	desc->hwdesc.lbea32 = upper_32_bits(paddr);
desc              262 drivers/dma/fsl_raid.c 	desc->hwdesc.addr_low = lower_32_bits(paddr);
desc              263 drivers/dma/fsl_raid.c 	desc->cf_addr = cf;
desc              264 drivers/dma/fsl_raid.c 	desc->cf_paddr = paddr;
desc              266 drivers/dma/fsl_raid.c 	desc->cdb_addr = (void *)(cf + FSL_RE_CF_DESC_SIZE);
desc              267 drivers/dma/fsl_raid.c 	desc->cdb_paddr = paddr + FSL_RE_CF_DESC_SIZE;
desc              269 drivers/dma/fsl_raid.c 	return desc;
desc              275 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc = NULL;
desc              285 drivers/dma/fsl_raid.c 		desc = list_first_entry(&re_chan->free_q,
desc              287 drivers/dma/fsl_raid.c 		list_del(&desc->node);
desc              289 drivers/dma/fsl_raid.c 		desc->async_tx.flags = flags;
desc              293 drivers/dma/fsl_raid.c 	if (!desc) {
desc              294 drivers/dma/fsl_raid.c 		desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              295 drivers/dma/fsl_raid.c 		if (!desc)
desc              301 drivers/dma/fsl_raid.c 			kfree(desc);
desc              305 drivers/dma/fsl_raid.c 		desc = fsl_re_init_desc(re_chan, desc, cf, paddr);
desc              306 drivers/dma/fsl_raid.c 		desc->async_tx.flags = flags;
desc              313 drivers/dma/fsl_raid.c 	return desc;
desc              322 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc              337 drivers/dma/fsl_raid.c 	desc = fsl_re_chan_alloc_desc(re_chan, flags);
desc              338 drivers/dma/fsl_raid.c 	if (desc <= 0)
desc              352 drivers/dma/fsl_raid.c 	xor = desc->cdb_addr;
desc              368 drivers/dma/fsl_raid.c 	cf = desc->cf_addr;
desc              369 drivers/dma/fsl_raid.c 	fill_cfd_frame(cf, 0, sizeof(*xor), desc->cdb_paddr, 0);
desc              384 drivers/dma/fsl_raid.c 	return &desc->async_tx;
desc              409 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc              441 drivers/dma/fsl_raid.c 			desc = to_fsl_re_dma_desc(tx);
desc              461 drivers/dma/fsl_raid.c 	desc = fsl_re_chan_alloc_desc(re_chan, flags);
desc              462 drivers/dma/fsl_raid.c 	if (desc <= 0)
desc              472 drivers/dma/fsl_raid.c 	pq = desc->cdb_addr;
desc              489 drivers/dma/fsl_raid.c 	cf = desc->cf_addr;
desc              490 drivers/dma/fsl_raid.c 	fill_cfd_frame(cf, 0, sizeof(struct fsl_re_pq_cdb), desc->cdb_paddr, 0);
desc              518 drivers/dma/fsl_raid.c 	return &desc->async_tx;
desc              531 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc              545 drivers/dma/fsl_raid.c 	desc = fsl_re_chan_alloc_desc(re_chan, flags);
desc              546 drivers/dma/fsl_raid.c 	if (desc <= 0)
desc              555 drivers/dma/fsl_raid.c 	move = desc->cdb_addr;
desc              559 drivers/dma/fsl_raid.c 	cf = desc->cf_addr;
desc              560 drivers/dma/fsl_raid.c 	fill_cfd_frame(cf, 0, sizeof(*move), desc->cdb_paddr, 0);
desc              570 drivers/dma/fsl_raid.c 	return &desc->async_tx;
desc              576 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc              583 drivers/dma/fsl_raid.c 		desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              584 drivers/dma/fsl_raid.c 		if (!desc)
desc              590 drivers/dma/fsl_raid.c 			kfree(desc);
desc              594 drivers/dma/fsl_raid.c 		INIT_LIST_HEAD(&desc->node);
desc              595 drivers/dma/fsl_raid.c 		fsl_re_init_desc(re_chan, desc, cf, paddr);
desc              597 drivers/dma/fsl_raid.c 		list_add_tail(&desc->node, &re_chan->free_q);
desc              606 drivers/dma/fsl_raid.c 	struct fsl_re_desc *desc;
desc              610 drivers/dma/fsl_raid.c 		desc = list_first_entry(&re_chan->free_q,
desc              614 drivers/dma/fsl_raid.c 		list_del(&desc->node);
desc              615 drivers/dma/fsl_raid.c 		dma_pool_free(re_chan->re_dev->cf_desc_pool, desc->cf_addr,
desc              616 drivers/dma/fsl_raid.c 			      desc->cf_paddr);
desc              617 drivers/dma/fsl_raid.c 		kfree(desc);
desc              129 drivers/dma/fsldma.c static void set_ld_eol(struct fsldma_chan *chan, struct fsl_desc_sw *desc)
desc              136 drivers/dma/fsldma.c 	desc->hw.next_ln_addr = CPU_TO_DMA(chan,
desc              137 drivers/dma/fsldma.c 		DMA_TO_CPU(chan, desc->hw.next_ln_addr, 64) | FSL_DMA_EOL
desc              382 drivers/dma/fsldma.c static void append_ld_queue(struct fsldma_chan *chan, struct fsl_desc_sw *desc)
desc              396 drivers/dma/fsldma.c 	set_desc_next(chan, &tail->hw, desc->async_tx.phys);
desc              403 drivers/dma/fsldma.c 	list_splice_tail_init(&desc->tx_list, &chan->ld_pending);
desc              409 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc = tx_to_fsl_desc(tx);
desc              427 drivers/dma/fsldma.c 	list_for_each_entry(child, &desc->tx_list, node) {
desc              432 drivers/dma/fsldma.c 	append_ld_queue(chan, desc);
desc              445 drivers/dma/fsldma.c 		struct fsl_desc_sw *desc)
desc              447 drivers/dma/fsldma.c 	list_del(&desc->node);
desc              448 drivers/dma/fsldma.c 	chan_dbg(chan, "LD %p free\n", desc);
desc              449 drivers/dma/fsldma.c 	dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys);
desc              460 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc;
desc              463 drivers/dma/fsldma.c 	desc = dma_pool_zalloc(chan->desc_pool, GFP_ATOMIC, &pdesc);
desc              464 drivers/dma/fsldma.c 	if (!desc) {
desc              469 drivers/dma/fsldma.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              470 drivers/dma/fsldma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc              471 drivers/dma/fsldma.c 	desc->async_tx.tx_submit = fsl_dma_tx_submit;
desc              472 drivers/dma/fsldma.c 	desc->async_tx.phys = pdesc;
desc              474 drivers/dma/fsldma.c 	chan_dbg(chan, "LD %p allocated\n", desc);
desc              476 drivers/dma/fsldma.c 	return desc;
desc              489 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc, *_desc;
desc              492 drivers/dma/fsldma.c 	list_for_each_entry_safe(desc, _desc, &chan->ld_completed, node)
desc              493 drivers/dma/fsldma.c 		if (async_tx_test_ack(&desc->async_tx))
desc              494 drivers/dma/fsldma.c 			fsl_dma_free_descriptor(chan, desc);
desc              507 drivers/dma/fsldma.c 		struct fsl_desc_sw *desc, dma_cookie_t cookie)
desc              509 drivers/dma/fsldma.c 	struct dma_async_tx_descriptor *txd = &desc->async_tx;
desc              538 drivers/dma/fsldma.c 		struct fsl_desc_sw *desc)
desc              541 drivers/dma/fsldma.c 	list_del(&desc->node);
desc              547 drivers/dma/fsldma.c 	if (!async_tx_test_ack(&desc->async_tx)) {
desc              552 drivers/dma/fsldma.c 		list_add_tail(&desc->node, &chan->ld_completed);
desc              556 drivers/dma/fsldma.c 	dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys);
desc              568 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc;
desc              599 drivers/dma/fsldma.c 	desc = list_first_entry(&chan->ld_pending, struct fsl_desc_sw, node);
desc              619 drivers/dma/fsldma.c 	set_cdar(chan, desc->async_tx.phys);
desc              637 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc, *_desc;
desc              645 drivers/dma/fsldma.c 	list_for_each_entry_safe(desc, _desc, &chan->ld_running, node) {
desc              658 drivers/dma/fsldma.c 		if (desc->async_tx.phys == curr_phys) {
desc              664 drivers/dma/fsldma.c 		cookie = fsldma_run_tx_complete_actions(chan, desc, cookie);
desc              666 drivers/dma/fsldma.c 		fsldma_clean_running_descriptor(chan, desc);
desc              723 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc, *_desc;
desc              725 drivers/dma/fsldma.c 	list_for_each_entry_safe(desc, _desc, list, node)
desc              726 drivers/dma/fsldma.c 		fsl_dma_free_descriptor(chan, desc);
desc              732 drivers/dma/fsldma.c 	struct fsl_desc_sw *desc, *_desc;
desc              734 drivers/dma/fsldma.c 	list_for_each_entry_safe_reverse(desc, _desc, list, node)
desc              735 drivers/dma/fsldma.c 		fsl_dma_free_descriptor(chan, desc);
desc               57 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc = hsuc->desc;
desc               77 drivers/dma/hsu/hsu.c 	count = desc->nents - desc->active;
desc               79 drivers/dma/hsu/hsu.c 		hsu_chan_writel(hsuc, HSU_CH_DxSAR(i), desc->sg[i].addr);
desc               80 drivers/dma/hsu/hsu.c 		hsu_chan_writel(hsuc, HSU_CH_DxTSR(i), desc->sg[i].len);
desc               86 drivers/dma/hsu/hsu.c 		desc->active++;
desc              115 drivers/dma/hsu/hsu.c 		hsuc->desc = NULL;
desc              120 drivers/dma/hsu/hsu.c 	hsuc->desc = to_hsu_dma_desc(vdesc);
desc              205 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc;
desc              215 drivers/dma/hsu/hsu.c 	desc = hsuc->desc;
desc              216 drivers/dma/hsu/hsu.c 	if (desc) {
desc              218 drivers/dma/hsu/hsu.c 			desc->status = DMA_ERROR;
desc              219 drivers/dma/hsu/hsu.c 		} else if (desc->active < desc->nents) {
desc              222 drivers/dma/hsu/hsu.c 			vchan_cookie_complete(&desc->vdesc);
desc              223 drivers/dma/hsu/hsu.c 			desc->status = DMA_COMPLETE;
desc              235 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc;
desc              237 drivers/dma/hsu/hsu.c 	desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              238 drivers/dma/hsu/hsu.c 	if (!desc)
desc              241 drivers/dma/hsu/hsu.c 	desc->sg = kcalloc(nents, sizeof(*desc->sg), GFP_NOWAIT);
desc              242 drivers/dma/hsu/hsu.c 	if (!desc->sg) {
desc              243 drivers/dma/hsu/hsu.c 		kfree(desc);
desc              247 drivers/dma/hsu/hsu.c 	return desc;
desc              252 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc = to_hsu_dma_desc(vdesc);
desc              254 drivers/dma/hsu/hsu.c 	kfree(desc->sg);
desc              255 drivers/dma/hsu/hsu.c 	kfree(desc);
desc              264 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc;
desc              268 drivers/dma/hsu/hsu.c 	desc = hsu_dma_alloc_desc(sg_len);
desc              269 drivers/dma/hsu/hsu.c 	if (!desc)
desc              273 drivers/dma/hsu/hsu.c 		desc->sg[i].addr = sg_dma_address(sg);
desc              274 drivers/dma/hsu/hsu.c 		desc->sg[i].len = sg_dma_len(sg);
desc              276 drivers/dma/hsu/hsu.c 		desc->length += sg_dma_len(sg);
desc              279 drivers/dma/hsu/hsu.c 	desc->nents = sg_len;
desc              280 drivers/dma/hsu/hsu.c 	desc->direction = direction;
desc              282 drivers/dma/hsu/hsu.c 	desc->status = DMA_IN_PROGRESS;
desc              284 drivers/dma/hsu/hsu.c 	return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags);
desc              293 drivers/dma/hsu/hsu.c 	if (vchan_issue_pending(&hsuc->vchan) && !hsuc->desc)
desc              300 drivers/dma/hsu/hsu.c 	struct hsu_dma_desc *desc = hsuc->desc;
desc              304 drivers/dma/hsu/hsu.c 	for (i = desc->active; i < desc->nents; i++)
desc              305 drivers/dma/hsu/hsu.c 		bytes += desc->sg[i].len;
desc              330 drivers/dma/hsu/hsu.c 	if (hsuc->desc && cookie == hsuc->desc->vdesc.tx.cookie) {
desc              333 drivers/dma/hsu/hsu.c 		status = hsuc->desc->status;
desc              359 drivers/dma/hsu/hsu.c 	if (hsuc->desc && hsuc->desc->status == DMA_IN_PROGRESS) {
desc              361 drivers/dma/hsu/hsu.c 		hsuc->desc->status = DMA_PAUSED;
desc              374 drivers/dma/hsu/hsu.c 	if (hsuc->desc && hsuc->desc->status == DMA_PAUSED) {
desc              375 drivers/dma/hsu/hsu.c 		hsuc->desc->status = DMA_IN_PROGRESS;
desc              392 drivers/dma/hsu/hsu.c 	if (hsuc->desc) {
desc              393 drivers/dma/hsu/hsu.c 		hsu_dma_desc_free(&hsuc->desc->vdesc);
desc              394 drivers/dma/hsu/hsu.c 		hsuc->desc = NULL;
desc               91 drivers/dma/hsu/hsu.h 	struct hsu_dma_desc *desc;
desc               91 drivers/dma/idma64.c 	struct idma64_desc *desc = idma64c->desc;
desc               92 drivers/dma/idma64.c 	struct idma64_hw_desc *hw = &desc->hw[0];
desc              120 drivers/dma/idma64.c 		idma64c->desc = NULL;
desc              125 drivers/dma/idma64.c 	idma64c->desc = to_idma64_desc(vdesc);
desc              140 drivers/dma/idma64.c 	struct idma64_desc *desc;
desc              143 drivers/dma/idma64.c 	desc = idma64c->desc;
desc              144 drivers/dma/idma64.c 	if (desc) {
desc              147 drivers/dma/idma64.c 			desc->status = DMA_ERROR;
desc              150 drivers/dma/idma64.c 			desc->status = DMA_COMPLETE;
desc              151 drivers/dma/idma64.c 			vchan_cookie_complete(&desc->vdesc);
desc              156 drivers/dma/idma64.c 		if (idma64c->desc == NULL || desc->status == DMA_ERROR)
desc              189 drivers/dma/idma64.c 	struct idma64_desc *desc;
desc              191 drivers/dma/idma64.c 	desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              192 drivers/dma/idma64.c 	if (!desc)
desc              195 drivers/dma/idma64.c 	desc->hw = kcalloc(ndesc, sizeof(*desc->hw), GFP_NOWAIT);
desc              196 drivers/dma/idma64.c 	if (!desc->hw) {
desc              197 drivers/dma/idma64.c 		kfree(desc);
desc              201 drivers/dma/idma64.c 	return desc;
desc              205 drivers/dma/idma64.c 		struct idma64_desc *desc)
desc              209 drivers/dma/idma64.c 	if (desc->ndesc) {
desc              210 drivers/dma/idma64.c 		unsigned int i = desc->ndesc;
desc              213 drivers/dma/idma64.c 			hw = &desc->hw[--i];
desc              218 drivers/dma/idma64.c 	kfree(desc->hw);
desc              219 drivers/dma/idma64.c 	kfree(desc);
desc              269 drivers/dma/idma64.c 		struct idma64_desc *desc)
desc              272 drivers/dma/idma64.c 	unsigned int i = desc->ndesc;
desc              273 drivers/dma/idma64.c 	struct idma64_hw_desc *hw = &desc->hw[i - 1];
desc              279 drivers/dma/idma64.c 		hw = &desc->hw[--i];
desc              280 drivers/dma/idma64.c 		idma64_hw_desc_fill(hw, config, desc->direction, llp);
desc              282 drivers/dma/idma64.c 		desc->length += hw->len;
desc              298 drivers/dma/idma64.c 	struct idma64_desc *desc;
desc              302 drivers/dma/idma64.c 	desc = idma64_alloc_desc(sg_len);
desc              303 drivers/dma/idma64.c 	if (!desc)
desc              307 drivers/dma/idma64.c 		struct idma64_hw_desc *hw = &desc->hw[i];
desc              312 drivers/dma/idma64.c 			desc->ndesc = i;
desc              313 drivers/dma/idma64.c 			idma64_desc_free(idma64c, desc);
desc              321 drivers/dma/idma64.c 	desc->ndesc = sg_len;
desc              322 drivers/dma/idma64.c 	desc->direction = direction;
desc              323 drivers/dma/idma64.c 	desc->status = DMA_IN_PROGRESS;
desc              325 drivers/dma/idma64.c 	idma64_desc_fill(idma64c, desc);
desc              326 drivers/dma/idma64.c 	return vchan_tx_prep(&idma64c->vchan, &desc->vdesc, flags);
desc              335 drivers/dma/idma64.c 	if (vchan_issue_pending(&idma64c->vchan) && !idma64c->desc)
desc              342 drivers/dma/idma64.c 	struct idma64_desc *desc = idma64c->desc;
desc              344 drivers/dma/idma64.c 	size_t bytes = desc->length;
desc              350 drivers/dma/idma64.c 		hw = &desc->hw[i];
desc              354 drivers/dma/idma64.c 	} while (++i < desc->ndesc);
desc              360 drivers/dma/idma64.c 	bytes += desc->hw[--i].len;
desc              380 drivers/dma/idma64.c 	if (idma64c->desc && cookie == idma64c->desc->vdesc.tx.cookie) {
desc              383 drivers/dma/idma64.c 		status = idma64c->desc->status;
desc              446 drivers/dma/idma64.c 	if (idma64c->desc && idma64c->desc->status == DMA_IN_PROGRESS) {
desc              448 drivers/dma/idma64.c 		idma64c->desc->status = DMA_PAUSED;
desc              461 drivers/dma/idma64.c 	if (idma64c->desc && idma64c->desc->status == DMA_PAUSED) {
desc              462 drivers/dma/idma64.c 		idma64c->desc->status = DMA_IN_PROGRESS;
desc              479 drivers/dma/idma64.c 	if (idma64c->desc) {
desc              480 drivers/dma/idma64.c 		idma64_vdesc_free(&idma64c->desc->vdesc);
desc              481 drivers/dma/idma64.c 		idma64c->desc = NULL;
desc              138 drivers/dma/idma64.h 	struct idma64_desc *desc;
desc              121 drivers/dma/img-mdc-dma.c 	struct mdc_tx_desc *desc;
desc              538 drivers/dma/img-mdc-dma.c 	mchan->desc = mdesc;
desc              566 drivers/dma/img-mdc-dma.c 	if (vchan_issue_pending(&mchan->vc) && !mchan->desc)
desc              593 drivers/dma/img-mdc-dma.c 	} else if (mchan->desc && mchan->desc->vd.tx.cookie == cookie) {
desc              598 drivers/dma/img-mdc-dma.c 		mdesc = mchan->desc;
desc              702 drivers/dma/img-mdc-dma.c 	if (mchan->desc) {
desc              703 drivers/dma/img-mdc-dma.c 		vchan_terminate_vdesc(&mchan->desc->vd);
desc              704 drivers/dma/img-mdc-dma.c 		mchan->desc = NULL;
desc              771 drivers/dma/img-mdc-dma.c 	mdesc = mchan->desc;
desc              796 drivers/dma/img-mdc-dma.c 			mchan->desc = NULL;
desc             1057 drivers/dma/img-mdc-dma.c 		if (unlikely(mchan->desc))
desc              122 drivers/dma/imx-dma.c 	struct dma_async_tx_descriptor	desc;
desc              156 drivers/dma/imx-dma.c 	struct dma_async_tx_descriptor	desc;
desc              244 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              247 drivers/dma/imx-dma.c 		desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc,
desc              249 drivers/dma/imx-dma.c 		if (desc->type == IMXDMA_DESC_CYCLIC)
desc              283 drivers/dma/imx-dma.c 	struct imxdma_channel *imxdmac = to_imxdma_chan(d->desc.chan);
desc              310 drivers/dma/imx-dma.c 	struct imxdma_channel *imxdmac = to_imxdma_chan(d->desc.chan);
desc              431 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              440 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_active,
desc              445 drivers/dma/imx-dma.c 	if (desc->sg) {
desc              447 drivers/dma/imx-dma.c 		desc->sg = sg_next(desc->sg);
desc              449 drivers/dma/imx-dma.c 		if (desc->sg) {
desc              450 drivers/dma/imx-dma.c 			imxdma_sg_next(desc);
desc              513 drivers/dma/imx-dma.c 	struct imxdma_channel *imxdmac = to_imxdma_chan(d->desc.chan);
desc              620 drivers/dma/imx-dma.c 	struct imxdma_desc *desc, *next_desc;
desc              630 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_active, struct imxdma_desc, node);
desc              639 drivers/dma/imx-dma.c 		dma_cookie_complete(&desc->desc);
desc              660 drivers/dma/imx-dma.c 	dmaengine_desc_get_callback_invoke(&desc->desc, NULL);
desc              768 drivers/dma/imx-dma.c 		struct imxdma_desc *desc;
desc              770 drivers/dma/imx-dma.c 		desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              771 drivers/dma/imx-dma.c 		if (!desc)
desc              773 drivers/dma/imx-dma.c 		memset(&desc->desc, 0, sizeof(struct dma_async_tx_descriptor));
desc              774 drivers/dma/imx-dma.c 		dma_async_tx_descriptor_init(&desc->desc, chan);
desc              775 drivers/dma/imx-dma.c 		desc->desc.tx_submit = imxdma_tx_submit;
desc              777 drivers/dma/imx-dma.c 		desc->desc.flags = DMA_CTRL_ACK;
desc              778 drivers/dma/imx-dma.c 		desc->status = DMA_COMPLETE;
desc              780 drivers/dma/imx-dma.c 		list_add_tail(&desc->node, &imxdmac->ld_free);
desc              794 drivers/dma/imx-dma.c 	struct imxdma_desc *desc, *_desc;
desc              805 drivers/dma/imx-dma.c 	list_for_each_entry_safe(desc, _desc, &imxdmac->ld_free, node) {
desc              806 drivers/dma/imx-dma.c 		kfree(desc);
desc              823 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              829 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node);
desc              850 drivers/dma/imx-dma.c 	desc->type = IMXDMA_DESC_SLAVE_SG;
desc              851 drivers/dma/imx-dma.c 	desc->sg = sgl;
desc              852 drivers/dma/imx-dma.c 	desc->sgcount = sg_len;
desc              853 drivers/dma/imx-dma.c 	desc->len = dma_length;
desc              854 drivers/dma/imx-dma.c 	desc->direction = direction;
desc              856 drivers/dma/imx-dma.c 		desc->src = imxdmac->per_address;
desc              858 drivers/dma/imx-dma.c 		desc->dest = imxdmac->per_address;
desc              860 drivers/dma/imx-dma.c 	desc->desc.callback = NULL;
desc              861 drivers/dma/imx-dma.c 	desc->desc.callback_param = NULL;
desc              863 drivers/dma/imx-dma.c 	return &desc->desc;
desc              873 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              884 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node);
desc              906 drivers/dma/imx-dma.c 	desc->type = IMXDMA_DESC_CYCLIC;
desc              907 drivers/dma/imx-dma.c 	desc->sg = imxdmac->sg_list;
desc              908 drivers/dma/imx-dma.c 	desc->sgcount = periods;
desc              909 drivers/dma/imx-dma.c 	desc->len = IMX_DMA_LENGTH_LOOP;
desc              910 drivers/dma/imx-dma.c 	desc->direction = direction;
desc              912 drivers/dma/imx-dma.c 		desc->src = imxdmac->per_address;
desc              914 drivers/dma/imx-dma.c 		desc->dest = imxdmac->per_address;
desc              916 drivers/dma/imx-dma.c 	desc->desc.callback = NULL;
desc              917 drivers/dma/imx-dma.c 	desc->desc.callback_param = NULL;
desc              921 drivers/dma/imx-dma.c 	return &desc->desc;
desc              930 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              940 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node);
desc              942 drivers/dma/imx-dma.c 	desc->type = IMXDMA_DESC_MEMCPY;
desc              943 drivers/dma/imx-dma.c 	desc->src = src;
desc              944 drivers/dma/imx-dma.c 	desc->dest = dest;
desc              945 drivers/dma/imx-dma.c 	desc->len = len;
desc              946 drivers/dma/imx-dma.c 	desc->direction = DMA_MEM_TO_MEM;
desc              947 drivers/dma/imx-dma.c 	desc->config_port = IMX_DMA_MEMSIZE_32 | IMX_DMA_TYPE_LINEAR;
desc              948 drivers/dma/imx-dma.c 	desc->config_mem = IMX_DMA_MEMSIZE_32 | IMX_DMA_TYPE_LINEAR;
desc              949 drivers/dma/imx-dma.c 	desc->desc.callback = NULL;
desc              950 drivers/dma/imx-dma.c 	desc->desc.callback_param = NULL;
desc              952 drivers/dma/imx-dma.c 	return &desc->desc;
desc              961 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc              977 drivers/dma/imx-dma.c 	desc = list_first_entry(&imxdmac->ld_free, struct imxdma_desc, node);
desc              979 drivers/dma/imx-dma.c 	desc->type = IMXDMA_DESC_INTERLEAVED;
desc              980 drivers/dma/imx-dma.c 	desc->src = xt->src_start;
desc              981 drivers/dma/imx-dma.c 	desc->dest = xt->dst_start;
desc              982 drivers/dma/imx-dma.c 	desc->x = xt->sgl[0].size;
desc              983 drivers/dma/imx-dma.c 	desc->y = xt->numf;
desc              984 drivers/dma/imx-dma.c 	desc->w = xt->sgl[0].icg + desc->x;
desc              985 drivers/dma/imx-dma.c 	desc->len = desc->x * desc->y;
desc              986 drivers/dma/imx-dma.c 	desc->direction = DMA_MEM_TO_MEM;
desc              987 drivers/dma/imx-dma.c 	desc->config_port = IMX_DMA_MEMSIZE_32;
desc              988 drivers/dma/imx-dma.c 	desc->config_mem = IMX_DMA_MEMSIZE_32;
desc              990 drivers/dma/imx-dma.c 		desc->config_mem |= IMX_DMA_TYPE_2D;
desc              992 drivers/dma/imx-dma.c 		desc->config_port |= IMX_DMA_TYPE_2D;
desc              993 drivers/dma/imx-dma.c 	desc->desc.callback = NULL;
desc              994 drivers/dma/imx-dma.c 	desc->desc.callback_param = NULL;
desc              996 drivers/dma/imx-dma.c 	return &desc->desc;
desc             1003 drivers/dma/imx-dma.c 	struct imxdma_desc *desc;
desc             1009 drivers/dma/imx-dma.c 		desc = list_first_entry(&imxdmac->ld_queue,
desc             1012 drivers/dma/imx-dma.c 		if (imxdma_xfer_desc(desc) < 0) {
desc              362 drivers/dma/imx-sdma.c 	struct sdma_desc		*desc;
desc              754 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc              759 drivers/dma/imx-sdma.c 		sdmac->desc = NULL;
desc              762 drivers/dma/imx-sdma.c 	sdmac->desc = desc = to_sdma_desc(&vd->tx);
desc              770 drivers/dma/imx-sdma.c 	sdma->channel_control[channel].base_bd_ptr = desc->bd_phys;
desc              771 drivers/dma/imx-sdma.c 	sdma->channel_control[channel].current_bd_ptr = desc->bd_phys;
desc              785 drivers/dma/imx-sdma.c 	while (sdmac->desc) {
desc              786 drivers/dma/imx-sdma.c 		struct sdma_desc *desc = sdmac->desc;
desc              788 drivers/dma/imx-sdma.c 		bd = &desc->bd[desc->buf_tail];
desc              804 drivers/dma/imx-sdma.c 		desc->chn_real_count = bd->mode.count;
desc              806 drivers/dma/imx-sdma.c 		bd->mode.count = desc->period_len;
desc              807 drivers/dma/imx-sdma.c 		desc->buf_ptail = desc->buf_tail;
desc              808 drivers/dma/imx-sdma.c 		desc->buf_tail = (desc->buf_tail + 1) % desc->num_bd;
desc              817 drivers/dma/imx-sdma.c 		dmaengine_desc_get_callback_invoke(&desc->vd.tx, NULL);
desc              831 drivers/dma/imx-sdma.c 	sdmac->desc->chn_real_count = 0;
desc              836 drivers/dma/imx-sdma.c 	for (i = 0; i < sdmac->desc->num_bd; i++) {
desc              837 drivers/dma/imx-sdma.c 		bd = &sdmac->desc->bd[i];
desc              841 drivers/dma/imx-sdma.c 		 sdmac->desc->chn_real_count += bd->mode.count;
desc              863 drivers/dma/imx-sdma.c 		struct sdma_desc *desc;
desc              866 drivers/dma/imx-sdma.c 		desc = sdmac->desc;
desc              867 drivers/dma/imx-sdma.c 		if (desc) {
desc              872 drivers/dma/imx-sdma.c 				vchan_cookie_complete(&desc->vd);
desc             1074 drivers/dma/imx-sdma.c 	sdmac->desc = NULL;
desc             1086 drivers/dma/imx-sdma.c 	if (sdmac->desc)
desc             1227 drivers/dma/imx-sdma.c static int sdma_alloc_bd(struct sdma_desc *desc)
desc             1229 drivers/dma/imx-sdma.c 	u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor);
desc             1232 drivers/dma/imx-sdma.c 	desc->bd = dma_alloc_coherent(desc->sdmac->sdma->dev, bd_size,
desc             1233 drivers/dma/imx-sdma.c 				       &desc->bd_phys, GFP_NOWAIT);
desc             1234 drivers/dma/imx-sdma.c 	if (!desc->bd) {
desc             1242 drivers/dma/imx-sdma.c static void sdma_free_bd(struct sdma_desc *desc)
desc             1244 drivers/dma/imx-sdma.c 	u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor);
desc             1246 drivers/dma/imx-sdma.c 	dma_free_coherent(desc->sdmac->sdma->dev, bd_size, desc->bd,
desc             1247 drivers/dma/imx-sdma.c 			  desc->bd_phys);
desc             1252 drivers/dma/imx-sdma.c 	struct sdma_desc *desc = container_of(vd, struct sdma_desc, vd);
desc             1254 drivers/dma/imx-sdma.c 	sdma_free_bd(desc);
desc             1255 drivers/dma/imx-sdma.c 	kfree(desc);
desc             1349 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc             1351 drivers/dma/imx-sdma.c 	desc = kzalloc((sizeof(*desc)), GFP_NOWAIT);
desc             1352 drivers/dma/imx-sdma.c 	if (!desc)
desc             1359 drivers/dma/imx-sdma.c 	desc->chn_count = 0;
desc             1360 drivers/dma/imx-sdma.c 	desc->chn_real_count = 0;
desc             1361 drivers/dma/imx-sdma.c 	desc->buf_tail = 0;
desc             1362 drivers/dma/imx-sdma.c 	desc->buf_ptail = 0;
desc             1363 drivers/dma/imx-sdma.c 	desc->sdmac = sdmac;
desc             1364 drivers/dma/imx-sdma.c 	desc->num_bd = bds;
desc             1366 drivers/dma/imx-sdma.c 	if (sdma_alloc_bd(desc))
desc             1376 drivers/dma/imx-sdma.c 	return desc;
desc             1379 drivers/dma/imx-sdma.c 	kfree(desc);
desc             1394 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc             1402 drivers/dma/imx-sdma.c 	desc = sdma_transfer_init(sdmac, DMA_MEM_TO_MEM,
desc             1404 drivers/dma/imx-sdma.c 	if (!desc)
desc             1409 drivers/dma/imx-sdma.c 		bd = &desc->bd[i];
desc             1413 drivers/dma/imx-sdma.c 		desc->chn_count += count;
desc             1437 drivers/dma/imx-sdma.c 	return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
desc             1450 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc             1454 drivers/dma/imx-sdma.c 	desc = sdma_transfer_init(sdmac, direction, sg_len);
desc             1455 drivers/dma/imx-sdma.c 	if (!desc)
desc             1462 drivers/dma/imx-sdma.c 		struct sdma_buffer_descriptor *bd = &desc->bd[i];
desc             1476 drivers/dma/imx-sdma.c 		desc->chn_count += count;
desc             1515 drivers/dma/imx-sdma.c 	return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
desc             1517 drivers/dma/imx-sdma.c 	sdma_free_bd(desc);
desc             1518 drivers/dma/imx-sdma.c 	kfree(desc);
desc             1534 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc             1540 drivers/dma/imx-sdma.c 	desc = sdma_transfer_init(sdmac, direction, num_periods);
desc             1541 drivers/dma/imx-sdma.c 	if (!desc)
desc             1544 drivers/dma/imx-sdma.c 	desc->period_len = period_len;
desc             1555 drivers/dma/imx-sdma.c 		struct sdma_buffer_descriptor *bd = &desc->bd[i];
desc             1586 drivers/dma/imx-sdma.c 	return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
desc             1588 drivers/dma/imx-sdma.c 	sdma_free_bd(desc);
desc             1589 drivers/dma/imx-sdma.c 	kfree(desc);
desc             1652 drivers/dma/imx-sdma.c 	struct sdma_desc *desc;
desc             1665 drivers/dma/imx-sdma.c 		desc = to_sdma_desc(&vd->tx);
desc             1667 drivers/dma/imx-sdma.c 			residue = (desc->num_bd - desc->buf_ptail) *
desc             1668 drivers/dma/imx-sdma.c 				desc->period_len - desc->chn_real_count;
desc             1670 drivers/dma/imx-sdma.c 			residue = desc->chn_count - desc->chn_real_count;
desc             1671 drivers/dma/imx-sdma.c 	} else if (sdmac->desc && sdmac->desc->vd.tx.cookie == cookie) {
desc             1672 drivers/dma/imx-sdma.c 		residue = sdmac->desc->chn_count - sdmac->desc->chn_real_count;
desc             1690 drivers/dma/imx-sdma.c 	if (vchan_issue_pending(&sdmac->vc) && !sdmac->desc)
desc              197 drivers/dma/ioat/dma.c 	struct ioat_ring_ent *desc;
desc              209 drivers/dma/ioat/dma.c 	desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head);
desc              211 drivers/dma/ioat/dma.c 	hw = desc->hw;
desc              220 drivers/dma/ioat/dma.c 	async_tx_ack(&desc->txd);
desc              221 drivers/dma/ioat/dma.c 	ioat_set_chainaddr(ioat_chan, desc->txd.phys);
desc              222 drivers/dma/ioat/dma.c 	dump_desc_dbg(ioat_chan, desc);
desc              250 drivers/dma/ioat/dma.c 		struct ioat_ring_ent *desc;
desc              252 drivers/dma/ioat/dma.c 		desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail);
desc              253 drivers/dma/ioat/dma.c 		ioat_set_chainaddr(ioat_chan, desc->txd.phys);
desc              328 drivers/dma/ioat/dma.c 	struct ioat_ring_ent *desc;
desc              343 drivers/dma/ioat/dma.c 	desc = kmem_cache_zalloc(ioat_cache, flags);
desc              344 drivers/dma/ioat/dma.c 	if (!desc)
desc              347 drivers/dma/ioat/dma.c 	dma_async_tx_descriptor_init(&desc->txd, chan);
desc              348 drivers/dma/ioat/dma.c 	desc->txd.tx_submit = ioat_tx_submit_unlock;
desc              349 drivers/dma/ioat/dma.c 	desc->hw = hw;
desc              350 drivers/dma/ioat/dma.c 	desc->txd.phys = phys;
desc              351 drivers/dma/ioat/dma.c 	return desc;
desc              354 drivers/dma/ioat/dma.c void ioat_free_ring_ent(struct ioat_ring_ent *desc, struct dma_chan *chan)
desc              356 drivers/dma/ioat/dma.c 	kmem_cache_free(ioat_cache, desc);
desc              484 drivers/dma/ioat/dma.c static bool desc_has_ext(struct ioat_ring_ent *desc)
desc              486 drivers/dma/ioat/dma.c 	struct ioat_dma_descriptor *hw = desc->hw;
desc              490 drivers/dma/ioat/dma.c 		struct ioat_xor_descriptor *xor = desc->xor;
desc              496 drivers/dma/ioat/dma.c 		struct ioat_pq_descriptor *pq = desc->pq;
desc              543 drivers/dma/ioat/dma.c desc_get_errstat(struct ioatdma_chan *ioat_chan, struct ioat_ring_ent *desc)
desc              545 drivers/dma/ioat/dma.c 	struct ioat_dma_descriptor *hw = desc->hw;
desc              551 drivers/dma/ioat/dma.c 		struct ioat_pq_descriptor *pq = desc->pq;
desc              560 drivers/dma/ioat/dma.c 			*desc->result |= SUM_CHECK_P_RESULT;
desc              563 drivers/dma/ioat/dma.c 			*desc->result |= SUM_CHECK_Q_RESULT;
desc              579 drivers/dma/ioat/dma.c 	struct ioat_ring_ent *desc;
desc              602 drivers/dma/ioat/dma.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              603 drivers/dma/ioat/dma.c 		dump_desc_dbg(ioat_chan, desc);
desc              607 drivers/dma/ioat/dma.c 			desc_get_errstat(ioat_chan, desc);
desc              609 drivers/dma/ioat/dma.c 		tx = &desc->txd;
desc              622 drivers/dma/ioat/dma.c 		if (desc_has_ext(desc)) {
desc              628 drivers/dma/ioat/dma.c 		if (desc->sed) {
desc              629 drivers/dma/ioat/dma.c 			ioat_free_sed(ioat_dma, desc->sed);
desc              630 drivers/dma/ioat/dma.c 			desc->sed = NULL;
desc              709 drivers/dma/ioat/dma.c 	struct ioat_ring_ent *desc;
desc              725 drivers/dma/ioat/dma.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              727 drivers/dma/ioat/dma.c 		tx = &desc->txd;
desc              740 drivers/dma/ioat/dma.c 		if (desc_has_ext(desc)) {
desc              746 drivers/dma/ioat/dma.c 		if (desc->sed) {
desc              747 drivers/dma/ioat/dma.c 			ioat_free_sed(ioat_dma, desc->sed);
desc              748 drivers/dma/ioat/dma.c 			desc->sed = NULL;
desc              755 drivers/dma/ioat/dma.c 	desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail);
desc              756 drivers/dma/ioat/dma.c 	ioat_chan->last_completion = *ioat_chan->completion = desc->txd.phys;
desc              765 drivers/dma/ioat/dma.c 	struct ioat_ring_ent *desc;
desc              782 drivers/dma/ioat/dma.c 	desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail);
desc              783 drivers/dma/ioat/dma.c 	hw = desc->hw;
desc              784 drivers/dma/ioat/dma.c 	dump_desc_dbg(ioat_chan, desc);
desc              789 drivers/dma/ioat/dma.c 			*desc->result |= SUM_CHECK_P_RESULT;
desc              796 drivers/dma/ioat/dma.c 			*desc->result |= SUM_CHECK_P_RESULT;
desc              800 drivers/dma/ioat/dma.c 			*desc->result |= SUM_CHECK_Q_RESULT;
desc              832 drivers/dma/ioat/dma.c 	tx = &desc->txd;
desc              842 drivers/dma/ioat/dma.c 	*ioat_chan->completion = desc->txd.phys;
desc              209 drivers/dma/ioat/dma.h #define set_desc_id(desc, i) ((desc)->id = (i))
desc              210 drivers/dma/ioat/dma.h #define desc_id(desc) ((desc)->id)
desc              212 drivers/dma/ioat/dma.h #define set_desc_id(desc, i)
desc              213 drivers/dma/ioat/dma.h #define desc_id(desc) (0)
desc              391 drivers/dma/ioat/dma.h void ioat_free_ring_ent(struct ioat_ring_ent *desc, struct dma_chan *chan);
desc              615 drivers/dma/ioat/init.c 	struct ioat_ring_ent *desc;
desc              639 drivers/dma/ioat/init.c 		desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head + i);
desc              640 drivers/dma/ioat/init.c 		ioat_free_ring_ent(desc, c);
desc              648 drivers/dma/ioat/init.c 		desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail + i);
desc              649 drivers/dma/ioat/init.c 		dump_desc_dbg(ioat_chan, desc);
desc              650 drivers/dma/ioat/init.c 		ioat_free_ring_ent(desc, c);
desc               46 drivers/dma/ioat/prep.c static dma_addr_t pq16_get_src(struct ioat_raw_descriptor *desc[3], int idx)
desc               48 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *raw = desc[pq16_idx_to_desc[idx]];
desc               63 drivers/dma/ioat/prep.c static void pq16_set_src(struct ioat_raw_descriptor *desc[3],
desc               66 drivers/dma/ioat/prep.c 	struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *)desc[0];
desc               68 drivers/dma/ioat/prep.c 		(struct ioat_pq16a_descriptor *)desc[1];
desc               69 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *raw = desc[pq16_idx_to_desc[idx]];
desc              106 drivers/dma/ioat/prep.c 	struct ioat_ring_ent *desc;
desc              125 drivers/dma/ioat/prep.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              126 drivers/dma/ioat/prep.c 		hw = desc->hw;
desc              136 drivers/dma/ioat/prep.c 		dump_desc_dbg(ioat_chan, desc);
desc              139 drivers/dma/ioat/prep.c 	desc->txd.flags = flags;
desc              140 drivers/dma/ioat/prep.c 	desc->len = total_len;
desc              144 drivers/dma/ioat/prep.c 	dump_desc_dbg(ioat_chan, desc);
desc              147 drivers/dma/ioat/prep.c 	return &desc->txd;
desc              158 drivers/dma/ioat/prep.c 	struct ioat_ring_ent *desc;
desc              197 drivers/dma/ioat/prep.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              198 drivers/dma/ioat/prep.c 		xor = desc->xor;
desc              219 drivers/dma/ioat/prep.c 		dump_desc_dbg(ioat_chan, desc);
desc              223 drivers/dma/ioat/prep.c 	desc->txd.flags = flags;
desc              224 drivers/dma/ioat/prep.c 	desc->len = total_len;
desc              226 drivers/dma/ioat/prep.c 		desc->result = result;
desc              276 drivers/dma/ioat/prep.c dump_pq_desc_dbg(struct ioatdma_chan *ioat_chan, struct ioat_ring_ent *desc,
desc              280 drivers/dma/ioat/prep.c 	struct ioat_pq_descriptor *pq = desc->pq;
desc              289 drivers/dma/ioat/prep.c 		desc_id(desc), (unsigned long long) desc->txd.phys,
desc              291 drivers/dma/ioat/prep.c 		desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op,
desc              304 drivers/dma/ioat/prep.c 			       struct ioat_ring_ent *desc)
desc              307 drivers/dma/ioat/prep.c 	struct ioat_pq_descriptor *pq = desc->pq;
desc              314 drivers/dma/ioat/prep.c 	if (desc->sed) {
desc              315 drivers/dma/ioat/prep.c 		descs[1] = (void *)desc->sed->hw;
desc              316 drivers/dma/ioat/prep.c 		descs[2] = (void *)desc->sed->hw + 64;
desc              322 drivers/dma/ioat/prep.c 		desc_id(desc), (unsigned long long) desc->txd.phys,
desc              324 drivers/dma/ioat/prep.c 		desc->txd.flags, pq->size, pq->ctl,
desc              347 drivers/dma/ioat/prep.c 	struct ioat_ring_ent *desc;
desc              392 drivers/dma/ioat/prep.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              393 drivers/dma/ioat/prep.c 		pq = desc->pq;
desc              433 drivers/dma/ioat/prep.c 	desc->txd.flags = flags;
desc              434 drivers/dma/ioat/prep.c 	desc->len = total_len;
desc              436 drivers/dma/ioat/prep.c 		desc->result = result;
desc              438 drivers/dma/ioat/prep.c 	dump_pq_desc_dbg(ioat_chan, desc, ext);
desc              443 drivers/dma/ioat/prep.c 		compl_desc = desc;
desc              470 drivers/dma/ioat/prep.c 	struct ioat_ring_ent *desc;
desc              500 drivers/dma/ioat/prep.c 		desc = ioat_get_ring_ent(ioat_chan, idx + i);
desc              501 drivers/dma/ioat/prep.c 		pq = desc->pq;
desc              505 drivers/dma/ioat/prep.c 		desc->sed = ioat3_alloc_sed(ioat_dma, (src_cnt-2) >> 3);
desc              506 drivers/dma/ioat/prep.c 		if (!desc->sed) {
desc              512 drivers/dma/ioat/prep.c 		pq->sed_addr = desc->sed->dma;
desc              513 drivers/dma/ioat/prep.c 		desc->sed->parent = desc;
desc              515 drivers/dma/ioat/prep.c 		descs[1] = (struct ioat_raw_descriptor *)desc->sed->hw;
desc              547 drivers/dma/ioat/prep.c 	desc->txd.flags = flags;
desc              548 drivers/dma/ioat/prep.c 	desc->len = total_len;
desc              550 drivers/dma/ioat/prep.c 		desc->result = result;
desc              557 drivers/dma/ioat/prep.c 	dump_pq16_desc_dbg(ioat_chan, desc);
desc              560 drivers/dma/ioat/prep.c 	return &desc->txd;
desc              708 drivers/dma/ioat/prep.c 	struct ioat_ring_ent *desc;
desc              715 drivers/dma/ioat/prep.c 		desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head);
desc              719 drivers/dma/ioat/prep.c 	hw = desc->hw;
desc              729 drivers/dma/ioat/prep.c 	desc->txd.flags = flags;
desc              730 drivers/dma/ioat/prep.c 	desc->len = 1;
desc              732 drivers/dma/ioat/prep.c 	dump_desc_dbg(ioat_chan, desc);
desc              735 drivers/dma/ioat/prep.c 	return &desc->txd;
desc               52 drivers/dma/iop-adma.c iop_adma_run_tx_complete_actions(struct iop_adma_desc_slot *desc,
desc               55 drivers/dma/iop-adma.c 	struct dma_async_tx_descriptor *tx = &desc->async_tx;
desc               68 drivers/dma/iop-adma.c 		if (desc->group_head)
desc               69 drivers/dma/iop-adma.c 			desc->group_head = NULL;
desc               79 drivers/dma/iop-adma.c iop_adma_clean_slot(struct iop_adma_desc_slot *desc,
desc               85 drivers/dma/iop-adma.c 	if (!async_tx_test_ack(&desc->async_tx))
desc               91 drivers/dma/iop-adma.c 	if (desc->chain_node.next == &iop_chan->chain)
desc               96 drivers/dma/iop-adma.c 		desc->idx, desc->slots_per_op);
desc               98 drivers/dma/iop-adma.c 	list_del(&desc->chain_node);
desc               99 drivers/dma/iop-adma.c 	iop_adma_free_slots(desc);
desc              181 drivers/dma/iop-adma.h iop_desc_init_pq(struct iop_adma_desc_slot *desc, int src_cnt,
desc              188 drivers/dma/iop-adma.h iop_desc_set_pq_addr(struct iop_adma_desc_slot *desc, dma_addr_t *addr)
desc              194 drivers/dma/iop-adma.h iop_desc_set_pq_src_addr(struct iop_adma_desc_slot *desc, int src_idx,
desc              208 drivers/dma/iop-adma.h iop_desc_init_pq_zero_sum(struct iop_adma_desc_slot *desc, int src_cnt,
desc              215 drivers/dma/iop-adma.h iop_desc_set_pq_zero_sum_byte_count(struct iop_adma_desc_slot *desc, u32 len)
desc              223 drivers/dma/iop-adma.h iop_desc_set_pq_zero_sum_addr(struct iop_adma_desc_slot *desc, int pq_idx,
desc              284 drivers/dma/iop-adma.h static inline int iop_desc_is_aligned(struct iop_adma_desc_slot *desc,
desc              288 drivers/dma/iop-adma.h 	return (desc->idx & (num_slots - 1)) ? 0 : 1;
desc              378 drivers/dma/iop-adma.h static inline u32 iop_desc_get_byte_count(struct iop_adma_desc_slot *desc,
desc              381 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              411 drivers/dma/iop-adma.h static inline u32 iop_desc_get_src_addr(struct iop_adma_desc_slot *desc,
desc              415 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              443 drivers/dma/iop-adma.h iop_desc_init_memcpy(struct iop_adma_desc_slot *desc, unsigned long flags)
desc              445 drivers/dma/iop-adma.h 	struct iop3xx_desc_dma *hw_desc = desc->hw_desc;
desc              461 drivers/dma/iop-adma.h iop_desc_init_memset(struct iop_adma_desc_slot *desc, unsigned long flags)
desc              463 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc;
desc              546 drivers/dma/iop-adma.h iop_desc_init_xor(struct iop_adma_desc_slot *desc, int src_cnt,
desc              549 drivers/dma/iop-adma.h 	iop3xx_desc_init_xor(desc->hw_desc, src_cnt, flags);
desc              554 drivers/dma/iop-adma.h iop_desc_init_zero_sum(struct iop_adma_desc_slot *desc, int src_cnt,
desc              557 drivers/dma/iop-adma.h 	int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op;
desc              565 drivers/dma/iop-adma.h 	hw_desc = desc->hw_desc;
desc              583 drivers/dma/iop-adma.h 				(u32) (desc->async_tx.phys + (i << 5));
desc              591 drivers/dma/iop-adma.h iop_desc_init_null_xor(struct iop_adma_desc_slot *desc, int src_cnt,
desc              594 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc;
desc              628 drivers/dma/iop-adma.h static inline void iop_desc_set_byte_count(struct iop_adma_desc_slot *desc,
desc              632 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              648 drivers/dma/iop-adma.h iop_desc_init_interrupt(struct iop_adma_desc_slot *desc,
desc              651 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              656 drivers/dma/iop-adma.h 		iop_desc_init_memcpy(desc, 1);
desc              662 drivers/dma/iop-adma.h 		iop_desc_init_null_xor(desc, 2, 1);
desc              674 drivers/dma/iop-adma.h iop_desc_set_zero_sum_byte_count(struct iop_adma_desc_slot *desc, u32 len)
desc              676 drivers/dma/iop-adma.h 	int slots_per_op = desc->slots_per_op;
desc              677 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc, *iter;
desc              695 drivers/dma/iop-adma.h static inline void iop_desc_set_dest_addr(struct iop_adma_desc_slot *desc,
desc              699 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              714 drivers/dma/iop-adma.h static inline void iop_desc_set_memcpy_src_addr(struct iop_adma_desc_slot *desc,
desc              717 drivers/dma/iop-adma.h 	struct iop3xx_desc_dma *hw_desc = desc->hw_desc;
desc              722 drivers/dma/iop-adma.h iop_desc_set_zero_sum_src_addr(struct iop_adma_desc_slot *desc, int src_idx,
desc              726 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc, *iter;
desc              727 drivers/dma/iop-adma.h 	int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op;
desc              737 drivers/dma/iop-adma.h static inline void iop_desc_set_xor_src_addr(struct iop_adma_desc_slot *desc,
desc              741 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc, *iter;
desc              742 drivers/dma/iop-adma.h 	int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op;
desc              752 drivers/dma/iop-adma.h static inline void iop_desc_set_next_desc(struct iop_adma_desc_slot *desc,
desc              756 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              762 drivers/dma/iop-adma.h static inline u32 iop_desc_get_next_desc(struct iop_adma_desc_slot *desc)
desc              765 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              769 drivers/dma/iop-adma.h static inline void iop_desc_clear_next_desc(struct iop_adma_desc_slot *desc)
desc              772 drivers/dma/iop-adma.h 	union iop3xx_desc hw_desc = { .ptr = desc->hw_desc, };
desc              776 drivers/dma/iop-adma.h static inline void iop_desc_set_block_fill_val(struct iop_adma_desc_slot *desc,
desc              779 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc;
desc              784 drivers/dma/iop-adma.h iop_desc_get_zero_result(struct iop_adma_desc_slot *desc)
desc              786 drivers/dma/iop-adma.h 	struct iop3xx_desc_aau *hw_desc = desc->hw_desc;
desc              774 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc *desc, struct scatterlist *sg, int buf_idx)
desc              779 drivers/dma/ipu/ipu_idmac.c 	if (async_tx_test_ack(&desc->txd))
desc              799 drivers/dma/ipu/ipu_idmac.c 				      struct idmac_tx_desc *desc)
desc              804 drivers/dma/ipu/ipu_idmac.c 	for (i = 0, sg = desc->sg; i < 2 && sg; i++) {
desc              808 drivers/dma/ipu/ipu_idmac.c 			ret = ipu_submit_buffer(ichan, desc, sg, i);
desc              821 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc *desc = to_tx_desc(tx);
desc              831 drivers/dma/ipu/ipu_idmac.c 	if (!list_empty(&desc->list)) {
desc              847 drivers/dma/ipu/ipu_idmac.c 		dma_addr_t dma_1 = sg_is_last(desc->sg) ? 0 :
desc              848 drivers/dma/ipu/ipu_idmac.c 			sg_dma_address(&desc->sg[1]);
desc              858 drivers/dma/ipu/ipu_idmac.c 						 sg_dma_address(&desc->sg[0]),
desc              864 drivers/dma/ipu/ipu_idmac.c 	dev_dbg(dev, "Submitting sg %p\n", &desc->sg[0]);
desc              871 drivers/dma/ipu/ipu_idmac.c 	list_add_tail(&desc->list, &ichan->queue);
desc              873 drivers/dma/ipu/ipu_idmac.c 	ret = ipu_submit_channel_buffers(ichan, desc);
desc              895 drivers/dma/ipu/ipu_idmac.c 		list_del_init(&desc->list);
desc              910 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc *desc =
desc              914 drivers/dma/ipu/ipu_idmac.c 	if (!desc)
desc              921 drivers/dma/ipu/ipu_idmac.c 	ichan->desc = desc;
desc              926 drivers/dma/ipu/ipu_idmac.c 		struct dma_async_tx_descriptor *txd = &desc->txd;
desc              932 drivers/dma/ipu/ipu_idmac.c 		list_add(&desc->list, &ichan->free_list);
desc              934 drivers/dma/ipu/ipu_idmac.c 		desc++;
desc              994 drivers/dma/ipu/ipu_idmac.c 	if (n_desc && !ichan->desc)
desc             1057 drivers/dma/ipu/ipu_idmac.c 	vfree(ichan->desc);
desc             1058 drivers/dma/ipu/ipu_idmac.c 	ichan->desc = NULL;
desc             1124 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc **desc, struct scatterlist *sg)
desc             1132 drivers/dma/ipu/ipu_idmac.c 	if ((*desc)->list.next == &ichan->queue)
desc             1137 drivers/dma/ipu/ipu_idmac.c 	*desc = list_entry((*desc)->list.next, struct idmac_tx_desc, list);
desc             1138 drivers/dma/ipu/ipu_idmac.c 	return (*desc)->sg;
desc             1160 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc *desc, *descnew;
desc             1229 drivers/dma/ipu/ipu_idmac.c 	desc = list_entry(ichan->queue.next, struct idmac_tx_desc, list);
desc             1230 drivers/dma/ipu/ipu_idmac.c 	descnew = desc;
desc             1270 drivers/dma/ipu/ipu_idmac.c 		list_del_init(&desc->list);
desc             1290 drivers/dma/ipu/ipu_idmac.c 		dma_cookie_complete(&desc->txd);
desc             1292 drivers/dma/ipu/ipu_idmac.c 	dmaengine_desc_get_callback(&desc->txd, &cb);
desc             1296 drivers/dma/ipu/ipu_idmac.c 	if (done && (desc->txd.flags & DMA_PREP_INTERRUPT))
desc             1309 drivers/dma/ipu/ipu_idmac.c 		struct idmac_tx_desc *desc;
desc             1315 drivers/dma/ipu/ipu_idmac.c 			desc = ichan->desc + j;
desc             1317 drivers/dma/ipu/ipu_idmac.c 			if (async_tx_test_ack(&desc->txd)) {
desc             1318 drivers/dma/ipu/ipu_idmac.c 				list_move(&desc->list, &ichan->free_list);
desc             1319 drivers/dma/ipu/ipu_idmac.c 				for_each_sg(desc->sg, sg, desc->sg_len, k) {
desc             1325 drivers/dma/ipu/ipu_idmac.c 				async_tx_clear_ack(&desc->txd);
desc             1339 drivers/dma/ipu/ipu_idmac.c 	struct idmac_tx_desc *desc = NULL;
desc             1357 drivers/dma/ipu/ipu_idmac.c 		desc = list_entry(ichan->free_list.next,
desc             1360 drivers/dma/ipu/ipu_idmac.c 		list_del_init(&desc->list);
desc             1362 drivers/dma/ipu/ipu_idmac.c 		desc->sg_len	= sg_len;
desc             1363 drivers/dma/ipu/ipu_idmac.c 		desc->sg	= sgl;
desc             1364 drivers/dma/ipu/ipu_idmac.c 		txd		= &desc->txd;
desc             1443 drivers/dma/ipu/ipu_idmac.c 	if (ichan->desc)
desc             1445 drivers/dma/ipu/ipu_idmac.c 			struct idmac_tx_desc *desc = ichan->desc + i;
desc             1446 drivers/dma/ipu/ipu_idmac.c 			if (list_empty(&desc->list))
desc             1448 drivers/dma/ipu/ipu_idmac.c 				list_add(&desc->list, &ichan->free_list);
desc             1450 drivers/dma/ipu/ipu_idmac.c 			async_tx_clear_ack(&desc->txd);
desc              266 drivers/dma/ipu/ipu_irq.c static void ipu_irq_handler(struct irq_desc *desc)
desc              268 drivers/dma/ipu/ipu_irq.c 	struct ipu *ipu = irq_desc_get_handler_data(desc);
desc               95 drivers/dma/mediatek/mtk-uart-apdma.c 	struct mtk_uart_apdma_desc *desc;
desc              137 drivers/dma/mediatek/mtk-uart-apdma.c 	kfree(c->desc);
desc              144 drivers/dma/mediatek/mtk-uart-apdma.c 	struct mtk_uart_apdma_desc *d = c->desc;
desc              170 drivers/dma/mediatek/mtk-uart-apdma.c 	wpt += c->desc->avail_len;
desc              187 drivers/dma/mediatek/mtk-uart-apdma.c 	struct mtk_uart_apdma_desc *d = c->desc;
desc              210 drivers/dma/mediatek/mtk-uart-apdma.c 	struct mtk_uart_apdma_desc *d = c->desc;
desc              222 drivers/dma/mediatek/mtk-uart-apdma.c 	struct mtk_uart_apdma_desc *d = c->desc;
desc              371 drivers/dma/mediatek/mtk-uart-apdma.c 		c->desc = to_mtk_uart_apdma_desc(&vd->tx);
desc               50 drivers/dma/mic_x100_dma.c static inline void mic_dma_memcpy_desc(struct mic_dma_desc *desc,
desc               60 drivers/dma/mic_x100_dma.c 	desc->qw0 = qw0;
desc               61 drivers/dma/mic_x100_dma.c 	desc->qw1 = qw1;
desc               65 drivers/dma/mic_x100_dma.c static inline void mic_dma_prep_status_desc(struct mic_dma_desc *desc, u64 data,
desc               74 drivers/dma/mic_x100_dma.c 	desc->qw0 = qw0;
desc               75 drivers/dma/mic_x100_dma.c 	desc->qw1 = qw1;
desc               82 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_hw desc;
desc               93 drivers/dma/mmp_pdma.c 	struct dma_async_tx_descriptor desc;
desc              299 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_sw *desc;
desc              326 drivers/dma/mmp_pdma.c 	desc = list_first_entry(&chan->chain_pending,
desc              334 drivers/dma/mmp_pdma.c 	set_desc(chan->phy, desc->async_tx.phys);
desc              344 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_sw *desc = tx_to_mmp_pdma_desc(tx);
desc              351 drivers/dma/mmp_pdma.c 	list_for_each_entry(child, &desc->tx_list, node) {
desc              356 drivers/dma/mmp_pdma.c 	list_splice_tail_init(&desc->tx_list, &chan->chain_pending);
desc              366 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_sw *desc;
desc              369 drivers/dma/mmp_pdma.c 	desc = dma_pool_zalloc(chan->desc_pool, GFP_ATOMIC, &pdesc);
desc              370 drivers/dma/mmp_pdma.c 	if (!desc) {
desc              375 drivers/dma/mmp_pdma.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              376 drivers/dma/mmp_pdma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->chan);
desc              378 drivers/dma/mmp_pdma.c 	desc->async_tx.tx_submit = mmp_pdma_tx_submit;
desc              379 drivers/dma/mmp_pdma.c 	desc->async_tx.phys = pdesc;
desc              381 drivers/dma/mmp_pdma.c 	return desc;
desc              418 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_sw *desc, *_desc;
desc              420 drivers/dma/mmp_pdma.c 	list_for_each_entry_safe(desc, _desc, list, node) {
desc              421 drivers/dma/mmp_pdma.c 		list_del(&desc->node);
desc              422 drivers/dma/mmp_pdma.c 		dma_pool_free(chan->desc_pool, desc, desc->async_tx.phys);
desc              480 drivers/dma/mmp_pdma.c 		new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy);
desc              481 drivers/dma/mmp_pdma.c 		new->desc.dsadr = dma_src;
desc              482 drivers/dma/mmp_pdma.c 		new->desc.dtadr = dma_dst;
desc              487 drivers/dma/mmp_pdma.c 			prev->desc.ddadr = new->async_tx.phys;
desc              512 drivers/dma/mmp_pdma.c 	new->desc.ddadr = DDADR_STOP;
desc              513 drivers/dma/mmp_pdma.c 	new->desc.dcmd |= DCMD_ENDIRQEN;
desc              560 drivers/dma/mmp_pdma.c 			new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & len);
desc              562 drivers/dma/mmp_pdma.c 				new->desc.dsadr = addr;
desc              563 drivers/dma/mmp_pdma.c 				new->desc.dtadr = chan->dev_addr;
desc              565 drivers/dma/mmp_pdma.c 				new->desc.dsadr = chan->dev_addr;
desc              566 drivers/dma/mmp_pdma.c 				new->desc.dtadr = addr;
desc              572 drivers/dma/mmp_pdma.c 				prev->desc.ddadr = new->async_tx.phys;
desc              591 drivers/dma/mmp_pdma.c 	new->desc.ddadr = DDADR_STOP;
desc              592 drivers/dma/mmp_pdma.c 	new->desc.dcmd |= DCMD_ENDIRQEN;
desc              652 drivers/dma/mmp_pdma.c 		new->desc.dcmd = (chan->dcmd | DCMD_ENDIRQEN |
desc              654 drivers/dma/mmp_pdma.c 		new->desc.dsadr = dma_src;
desc              655 drivers/dma/mmp_pdma.c 		new->desc.dtadr = dma_dst;
desc              660 drivers/dma/mmp_pdma.c 			prev->desc.ddadr = new->async_tx.phys;
desc              681 drivers/dma/mmp_pdma.c 	new->desc.ddadr = first->async_tx.phys;
desc              793 drivers/dma/mmp_pdma.c 			start = sw->desc.dtadr;
desc              795 drivers/dma/mmp_pdma.c 			start = sw->desc.dsadr;
desc              797 drivers/dma/mmp_pdma.c 		len = sw->desc.dcmd & DCMD_LENGTH;
desc              828 drivers/dma/mmp_pdma.c 		if (cyclic || !(sw->desc.dcmd & DCMD_ENDIRQEN))
desc              879 drivers/dma/mmp_pdma.c 	struct mmp_pdma_desc_sw *desc, *_desc;
desc              886 drivers/dma/mmp_pdma.c 		desc = chan->cyclic_first;
desc              887 drivers/dma/mmp_pdma.c 		dmaengine_desc_get_callback(&desc->async_tx, &cb);
desc              898 drivers/dma/mmp_pdma.c 	list_for_each_entry_safe(desc, _desc, &chan->chain_running, node) {
desc              903 drivers/dma/mmp_pdma.c 		list_move(&desc->node, &chain_cleanup);
desc              910 drivers/dma/mmp_pdma.c 		if (desc->desc.dcmd & DCMD_ENDIRQEN) {
desc              911 drivers/dma/mmp_pdma.c 			dma_cookie_t cookie = desc->async_tx.cookie;
desc              912 drivers/dma/mmp_pdma.c 			dma_cookie_complete(&desc->async_tx);
desc              929 drivers/dma/mmp_pdma.c 	list_for_each_entry_safe(desc, _desc, &chain_cleanup, node) {
desc              930 drivers/dma/mmp_pdma.c 		struct dma_async_tx_descriptor *txd = &desc->async_tx;
desc              933 drivers/dma/mmp_pdma.c 		list_del(&desc->node);
desc              938 drivers/dma/mmp_pdma.c 		dma_pool_free(chan->desc_pool, desc, txd->phys);
desc              104 drivers/dma/mmp_tdma.c 	struct dma_async_tx_descriptor	desc;
desc              353 drivers/dma/mmp_tdma.c 	dmaengine_desc_get_callback_invoke(&tdmac->desc, NULL);
desc              386 drivers/dma/mmp_tdma.c 	dma_async_tx_descriptor_init(&tdmac->desc, chan);
desc              387 drivers/dma/mmp_tdma.c 	tdmac->desc.tx_submit = mmp_tdma_tx_submit;
desc              428 drivers/dma/mmp_tdma.c 	struct mmp_tdma_desc *desc;
desc              444 drivers/dma/mmp_tdma.c 	desc = mmp_tdma_alloc_descriptor(tdmac);
desc              445 drivers/dma/mmp_tdma.c 	if (!desc)
desc              452 drivers/dma/mmp_tdma.c 		desc = &tdmac->desc_arr[i];
desc              455 drivers/dma/mmp_tdma.c 			desc->nxt_desc = tdmac->desc_arr_phys;
desc              457 drivers/dma/mmp_tdma.c 			desc->nxt_desc = tdmac->desc_arr_phys +
desc              458 drivers/dma/mmp_tdma.c 				sizeof(*desc) * (i + 1);
desc              461 drivers/dma/mmp_tdma.c 			desc->src_addr = dma_addr;
desc              462 drivers/dma/mmp_tdma.c 			desc->dst_addr = tdmac->dev_addr;
desc              464 drivers/dma/mmp_tdma.c 			desc->src_addr = tdmac->dev_addr;
desc              465 drivers/dma/mmp_tdma.c 			desc->dst_addr = dma_addr;
desc              467 drivers/dma/mmp_tdma.c 		desc->byte_cnt = period_len;
desc              481 drivers/dma/mmp_tdma.c 	return &tdmac->desc;
desc              137 drivers/dma/moxart-dma.c 	struct moxart_desc		*desc;
desc              197 drivers/dma/moxart-dma.c 	if (ch->desc) {
desc              198 drivers/dma/moxart-dma.c 		moxart_dma_desc_free(&ch->desc->vd);
desc              199 drivers/dma/moxart-dma.c 		ch->desc = NULL;
desc              380 drivers/dma/moxart-dma.c 	struct moxart_desc *d = ch->desc;
desc              406 drivers/dma/moxart-dma.c 	struct moxart_desc *d = ch->desc;
desc              407 drivers/dma/moxart-dma.c 	struct moxart_sg *sg = ch->desc->sg + idx;
desc              409 drivers/dma/moxart-dma.c 	if (ch->desc->dma_dir == DMA_MEM_TO_DEV)
desc              411 drivers/dma/moxart-dma.c 	else if (ch->desc->dma_dir == DMA_DEV_TO_MEM)
desc              427 drivers/dma/moxart-dma.c 		ch->desc = NULL;
desc              433 drivers/dma/moxart-dma.c 	ch->desc = to_moxart_dma_desc(&vd->tx);
desc              445 drivers/dma/moxart-dma.c 	if (vchan_issue_pending(&ch->vc) && !ch->desc)
desc              467 drivers/dma/moxart-dma.c 	size = moxart_dma_desc_size(ch->desc, ch->sgidx);
desc              469 drivers/dma/moxart-dma.c 	completed_cycles = (ch->desc->dma_cycles - cycles);
desc              470 drivers/dma/moxart-dma.c 	size -= completed_cycles << es_bytes[ch->desc->es];
desc              497 drivers/dma/moxart-dma.c 	} else if (ch->desc && ch->desc->vd.tx.cookie == cookie) {
desc              543 drivers/dma/moxart-dma.c 			if (ch->desc) {
desc              545 drivers/dma/moxart-dma.c 				if (++ch->sgidx < ch->desc->sglen) {
desc              548 drivers/dma/moxart-dma.c 					vchan_cookie_complete(&ch->desc->vd);
desc              185 drivers/dma/mpc512x_dma.c 	struct dma_async_tx_descriptor	desc;
desc              381 drivers/dma/mpc512x_dma.c 	struct dma_async_tx_descriptor *desc;
desc              400 drivers/dma/mpc512x_dma.c 			desc = &mdesc->desc;
desc              402 drivers/dma/mpc512x_dma.c 			dmaengine_desc_get_callback_invoke(desc, NULL);
desc              404 drivers/dma/mpc512x_dma.c 			last_cookie = desc->cookie;
desc              405 drivers/dma/mpc512x_dma.c 			dma_run_dependencies(desc);
desc              467 drivers/dma/mpc512x_dma.c 	mdesc = container_of(txd, struct mpc_dma_desc, desc);
desc              513 drivers/dma/mpc512x_dma.c 		dma_async_tx_descriptor_init(&mdesc->desc, chan);
desc              514 drivers/dma/mpc512x_dma.c 		mdesc->desc.flags = DMA_CTRL_ACK;
desc              515 drivers/dma/mpc512x_dma.c 		mdesc->desc.tx_submit = mpc_dma_tx_submit;
desc              671 drivers/dma/mpc512x_dma.c 	return &mdesc->desc;
desc              799 drivers/dma/mpc512x_dma.c 	return &mdesc->desc;
desc               48 drivers/dma/mv_xor.c static void mv_desc_init(struct mv_xor_desc_slot *desc,
desc               52 drivers/dma/mv_xor.c 	struct mv_xor_desc *hw_desc = desc->hw_desc;
desc               63 drivers/dma/mv_xor.c static void mv_desc_set_mode(struct mv_xor_desc_slot *desc)
desc               65 drivers/dma/mv_xor.c 	struct mv_xor_desc *hw_desc = desc->hw_desc;
desc               67 drivers/dma/mv_xor.c 	switch (desc->type) {
desc               81 drivers/dma/mv_xor.c static void mv_desc_set_next_desc(struct mv_xor_desc_slot *desc,
desc               84 drivers/dma/mv_xor.c 	struct mv_xor_desc *hw_desc = desc->hw_desc;
desc               89 drivers/dma/mv_xor.c static void mv_desc_set_src_addr(struct mv_xor_desc_slot *desc,
desc               92 drivers/dma/mv_xor.c 	struct mv_xor_desc *hw_desc = desc->hw_desc;
desc               94 drivers/dma/mv_xor.c 	if (desc->type == DMA_XOR)
desc              192 drivers/dma/mv_xor.c mv_desc_run_tx_complete_actions(struct mv_xor_desc_slot *desc,
desc              196 drivers/dma/mv_xor.c 	BUG_ON(desc->async_tx.cookie < 0);
desc              198 drivers/dma/mv_xor.c 	if (desc->async_tx.cookie > 0) {
desc              199 drivers/dma/mv_xor.c 		cookie = desc->async_tx.cookie;
desc              201 drivers/dma/mv_xor.c 		dma_descriptor_unmap(&desc->async_tx);
desc              205 drivers/dma/mv_xor.c 		dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
desc              209 drivers/dma/mv_xor.c 	dma_run_dependencies(&desc->async_tx);
desc              235 drivers/dma/mv_xor.c mv_desc_clean_slot(struct mv_xor_desc_slot *desc,
desc              239 drivers/dma/mv_xor.c 		__func__, __LINE__, desc, desc->async_tx.flags);
desc              244 drivers/dma/mv_xor.c 	if (!async_tx_test_ack(&desc->async_tx)) {
desc              246 drivers/dma/mv_xor.c 		list_move_tail(&desc->node, &mv_chan->completed_slots);
desc              247 drivers/dma/mv_xor.c 		if (!list_empty(&desc->sg_tx_list)) {
desc              248 drivers/dma/mv_xor.c 			list_splice_tail_init(&desc->sg_tx_list,
desc              252 drivers/dma/mv_xor.c 		list_move_tail(&desc->node, &mv_chan->free_slots);
desc              253 drivers/dma/mv_xor.c 		if (!list_empty(&desc->sg_tx_list)) {
desc              254 drivers/dma/mv_xor.c 			list_splice_tail_init(&desc->sg_tx_list,
desc              188 drivers/dma/mv_xor_v2.c 					struct mv_xor_v2_descriptor *desc,
desc              205 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index] = lower_32_bits(src);
desc              207 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index + 2] &= ~0xFFFF;
desc              208 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index + 2] |=
desc              211 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index + 1] =
desc              214 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index + 2] &= ~0xFFFF0000;
desc              215 drivers/dma/mv_xor_v2.c 		desc->data_buff_addr[arr_index + 2] |=
desc              613 drivers/dma/mv_xor_v2.c static void mv_xor_v2_set_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
desc              615 drivers/dma/mv_xor_v2.c 	struct mv_xor_v2_device *xor_dev = dev_get_drvdata(desc->dev);
desc              112 drivers/dma/mxs-dma.c 	struct dma_async_tx_descriptor	desc;
desc              327 drivers/dma/mxs-dma.c 	dmaengine_desc_get_callback_invoke(&mxs_chan->desc, NULL);
desc              406 drivers/dma/mxs-dma.c 		dma_cookie_complete(&mxs_chan->desc);
desc              440 drivers/dma/mxs-dma.c 	dma_async_tx_descriptor_init(&mxs_chan->desc, chan);
desc              441 drivers/dma/mxs-dma.c 	mxs_chan->desc.tx_submit = mxs_dma_tx_submit;
desc              444 drivers/dma/mxs-dma.c 	async_tx_ack(&mxs_chan->desc);
desc              586 drivers/dma/mxs-dma.c 	return &mxs_chan->desc;
desc              651 drivers/dma/mxs-dma.c 	return &mxs_chan->desc;
desc              138 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc;
desc              169 drivers/dma/nbpfaxi.c 	struct nbpf_desc desc[NBPF_DESCS_PER_PAGE];
desc              381 drivers/dma/nbpfaxi.c static int nbpf_start(struct nbpf_desc *desc)
desc              383 drivers/dma/nbpfaxi.c 	struct nbpf_channel *chan = desc->chan;
desc              384 drivers/dma/nbpfaxi.c 	struct nbpf_link_desc *ldesc = list_first_entry(&desc->sg, struct nbpf_link_desc, node);
desc              504 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc = ldesc->desc;
desc              505 drivers/dma/nbpfaxi.c 	struct nbpf_channel *chan = desc->chan;
desc              609 drivers/dma/nbpfaxi.c 		struct nbpf_desc *desc = list_first_entry(&chan->active,
desc              611 drivers/dma/nbpfaxi.c 		if (!nbpf_start(desc))
desc              612 drivers/dma/nbpfaxi.c 			chan->running = desc;
desc              637 drivers/dma/nbpfaxi.c 			struct nbpf_desc *desc;
desc              640 drivers/dma/nbpfaxi.c 			list_for_each_entry(desc, &chan->active, node)
desc              641 drivers/dma/nbpfaxi.c 				if (desc->async_tx.cookie == cookie) {
desc              647 drivers/dma/nbpfaxi.c 				list_for_each_entry(desc, &chan->queued, node)
desc              648 drivers/dma/nbpfaxi.c 					if (desc->async_tx.cookie == cookie) {
desc              654 drivers/dma/nbpfaxi.c 			state->residue = found ? desc->length : 0;
desc              668 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc = container_of(tx, struct nbpf_desc, async_tx);
desc              669 drivers/dma/nbpfaxi.c 	struct nbpf_channel *chan = desc->chan;
desc              675 drivers/dma/nbpfaxi.c 	list_add_tail(&desc->node, &chan->queued);
desc              689 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc;
desc              713 drivers/dma/nbpfaxi.c 	for (i = 0, desc = dpage->desc;
desc              714 drivers/dma/nbpfaxi.c 	     i < ARRAY_SIZE(dpage->desc);
desc              715 drivers/dma/nbpfaxi.c 	     i++, desc++) {
desc              716 drivers/dma/nbpfaxi.c 		dma_async_tx_descriptor_init(&desc->async_tx, dchan);
desc              717 drivers/dma/nbpfaxi.c 		desc->async_tx.tx_submit = nbpf_tx_submit;
desc              718 drivers/dma/nbpfaxi.c 		desc->chan = chan;
desc              719 drivers/dma/nbpfaxi.c 		INIT_LIST_HEAD(&desc->sg);
desc              720 drivers/dma/nbpfaxi.c 		list_add_tail(&desc->node, &head);
desc              733 drivers/dma/nbpfaxi.c 	return ARRAY_SIZE(dpage->desc);
desc              736 drivers/dma/nbpfaxi.c static void nbpf_desc_put(struct nbpf_desc *desc)
desc              738 drivers/dma/nbpfaxi.c 	struct nbpf_channel *chan = desc->chan;
desc              743 drivers/dma/nbpfaxi.c 	list_for_each_entry_safe(ldesc, tmp, &desc->sg, node)
desc              746 drivers/dma/nbpfaxi.c 	list_add(&desc->node, &chan->free);
desc              752 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc, *tmp;
desc              757 drivers/dma/nbpfaxi.c 	list_for_each_entry_safe(desc, tmp, &chan->done, node)
desc              758 drivers/dma/nbpfaxi.c 		if (async_tx_test_ack(&desc->async_tx) && desc->user_wait) {
desc              759 drivers/dma/nbpfaxi.c 			list_move(&desc->node, &head);
desc              760 drivers/dma/nbpfaxi.c 			desc->user_wait = false;
desc              764 drivers/dma/nbpfaxi.c 	list_for_each_entry_safe(desc, tmp, &head, node) {
desc              765 drivers/dma/nbpfaxi.c 		list_del(&desc->node);
desc              766 drivers/dma/nbpfaxi.c 		nbpf_desc_put(desc);
desc              778 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc = NULL;
desc              797 drivers/dma/nbpfaxi.c 		desc = list_first_entry(&chan->free, struct nbpf_desc, node);
desc              798 drivers/dma/nbpfaxi.c 		list_del(&desc->node);
desc              806 drivers/dma/nbpfaxi.c 					nbpf_desc_put(desc);
desc              815 drivers/dma/nbpfaxi.c 			ldesc->desc = desc;
desc              820 drivers/dma/nbpfaxi.c 			list_move_tail(&ldesc->node, &desc->sg);
desc              824 drivers/dma/nbpfaxi.c 	} while (!desc);
desc              830 drivers/dma/nbpfaxi.c 	return desc;
desc              835 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc, *tmp;
desc              849 drivers/dma/nbpfaxi.c 	list_for_each_entry_safe(desc, tmp, &head, node) {
desc              851 drivers/dma/nbpfaxi.c 			__func__, desc, desc->async_tx.cookie);
desc              852 drivers/dma/nbpfaxi.c 		list_del(&desc->node);
desc              853 drivers/dma/nbpfaxi.c 		nbpf_desc_put(desc);
desc              920 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc;
desc              945 drivers/dma/nbpfaxi.c 	desc = nbpf_desc_get(chan, len);
desc              946 drivers/dma/nbpfaxi.c 	if (!desc)
desc              949 drivers/dma/nbpfaxi.c 	desc->async_tx.flags = flags;
desc              950 drivers/dma/nbpfaxi.c 	desc->async_tx.cookie = -EBUSY;
desc              951 drivers/dma/nbpfaxi.c 	desc->user_wait = false;
desc              957 drivers/dma/nbpfaxi.c 	list_for_each_entry(ldesc, &desc->sg, node) {
desc              964 drivers/dma/nbpfaxi.c 			nbpf_desc_put(desc);
desc              976 drivers/dma/nbpfaxi.c 	desc->length = data_len;
desc              979 drivers/dma/nbpfaxi.c 	return &desc->async_tx;
desc             1112 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc, *tmp;
desc             1120 drivers/dma/nbpfaxi.c 		list_for_each_entry_safe(desc, tmp, &chan->done, node) {
desc             1121 drivers/dma/nbpfaxi.c 			if (!desc->user_wait) {
desc             1125 drivers/dma/nbpfaxi.c 			} else if (async_tx_test_ack(&desc->async_tx)) {
desc             1130 drivers/dma/nbpfaxi.c 				list_del(&desc->node);
desc             1132 drivers/dma/nbpfaxi.c 				nbpf_desc_put(desc);
desc             1147 drivers/dma/nbpfaxi.c 		dma_cookie_complete(&desc->async_tx);
desc             1153 drivers/dma/nbpfaxi.c 		if (async_tx_test_ack(&desc->async_tx)) {
desc             1154 drivers/dma/nbpfaxi.c 			list_del(&desc->node);
desc             1157 drivers/dma/nbpfaxi.c 			desc->user_wait = true;
desc             1161 drivers/dma/nbpfaxi.c 		dmaengine_desc_get_callback(&desc->async_tx, &cb);
desc             1169 drivers/dma/nbpfaxi.c 			nbpf_desc_put(desc);
desc             1177 drivers/dma/nbpfaxi.c 	struct nbpf_desc *desc;
desc             1189 drivers/dma/nbpfaxi.c 	desc = chan->running;
desc             1190 drivers/dma/nbpfaxi.c 	if (WARN_ON(!desc)) {
desc             1198 drivers/dma/nbpfaxi.c 	list_move_tail(&desc->node, &chan->done);
desc             1202 drivers/dma/nbpfaxi.c 		desc = list_first_entry(&chan->active,
desc             1204 drivers/dma/nbpfaxi.c 		if (!nbpf_start(desc))
desc             1205 drivers/dma/nbpfaxi.c 			chan->running = desc;
desc               80 drivers/dma/pch_dma.c 	struct pch_dma_desc_regs desc[MAX_CHAN_NR];
desc              319 drivers/dma/pch_dma.c static void pdc_dostart(struct pch_dma_chan *pd_chan, struct pch_dma_desc* desc)
desc              328 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.dev_addr);
desc              330 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.mem_addr);
desc              332 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.size);
desc              334 drivers/dma/pch_dma.c 		pd_chan->chan.chan_id, desc->regs.next);
desc              336 drivers/dma/pch_dma.c 	if (list_empty(&desc->tx_list)) {
desc              337 drivers/dma/pch_dma.c 		channel_writel(pd_chan, DEV_ADDR, desc->regs.dev_addr);
desc              338 drivers/dma/pch_dma.c 		channel_writel(pd_chan, MEM_ADDR, desc->regs.mem_addr);
desc              339 drivers/dma/pch_dma.c 		channel_writel(pd_chan, SIZE, desc->regs.size);
desc              340 drivers/dma/pch_dma.c 		channel_writel(pd_chan, NEXT, desc->regs.next);
desc              343 drivers/dma/pch_dma.c 		channel_writel(pd_chan, NEXT, desc->txd.phys);
desc              349 drivers/dma/pch_dma.c 			       struct pch_dma_desc *desc)
desc              351 drivers/dma/pch_dma.c 	struct dma_async_tx_descriptor *txd = &desc->txd;
desc              355 drivers/dma/pch_dma.c 	list_splice_init(&desc->tx_list, &pd_chan->free_list);
desc              356 drivers/dma/pch_dma.c 	list_move(&desc->desc_node, &pd_chan->free_list);
desc              363 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc, *_d;
desc              374 drivers/dma/pch_dma.c 	list_for_each_entry_safe(desc, _d, &list, desc_node)
desc              375 drivers/dma/pch_dma.c 		pdc_chain_complete(pd_chan, desc);
desc              410 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc = to_pd_desc(txd);
desc              416 drivers/dma/pch_dma.c 		list_add_tail(&desc->desc_node, &pd_chan->active_list);
desc              417 drivers/dma/pch_dma.c 		pdc_dostart(pd_chan, desc);
desc              419 drivers/dma/pch_dma.c 		list_add_tail(&desc->desc_node, &pd_chan->queue);
desc              428 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc = NULL;
desc              432 drivers/dma/pch_dma.c 	desc = dma_pool_zalloc(pd->pool, flags, &addr);
desc              433 drivers/dma/pch_dma.c 	if (desc) {
desc              434 drivers/dma/pch_dma.c 		INIT_LIST_HEAD(&desc->tx_list);
desc              435 drivers/dma/pch_dma.c 		dma_async_tx_descriptor_init(&desc->txd, chan);
desc              436 drivers/dma/pch_dma.c 		desc->txd.tx_submit = pd_tx_submit;
desc              437 drivers/dma/pch_dma.c 		desc->txd.flags = DMA_CTRL_ACK;
desc              438 drivers/dma/pch_dma.c 		desc->txd.phys = addr;
desc              441 drivers/dma/pch_dma.c 	return desc;
desc              446 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc, *_d;
desc              451 drivers/dma/pch_dma.c 	list_for_each_entry_safe(desc, _d, &pd_chan->free_list, desc_node) {
desc              453 drivers/dma/pch_dma.c 		if (async_tx_test_ack(&desc->txd)) {
desc              454 drivers/dma/pch_dma.c 			list_del(&desc->desc_node);
desc              455 drivers/dma/pch_dma.c 			ret = desc;
desc              458 drivers/dma/pch_dma.c 		dev_dbg(chan2dev(&pd_chan->chan), "desc %p not ACKed\n", desc);
desc              479 drivers/dma/pch_dma.c 			 struct pch_dma_desc *desc)
desc              481 drivers/dma/pch_dma.c 	if (desc) {
desc              483 drivers/dma/pch_dma.c 		list_splice_init(&desc->tx_list, &pd_chan->free_list);
desc              484 drivers/dma/pch_dma.c 		list_add(&desc->desc_node, &pd_chan->free_list);
desc              492 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc;
desc              505 drivers/dma/pch_dma.c 		desc = pdc_alloc_desc(chan, GFP_KERNEL);
desc              507 drivers/dma/pch_dma.c 		if (!desc) {
desc              513 drivers/dma/pch_dma.c 		list_add_tail(&desc->desc_node, &tmp_list);
desc              531 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc, *_d;
desc              543 drivers/dma/pch_dma.c 	list_for_each_entry_safe(desc, _d, &tmp_list, desc_node)
desc              544 drivers/dma/pch_dma.c 		dma_pool_free(pd->pool, desc, desc->txd.phys);
desc              575 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc = NULL;
desc              596 drivers/dma/pch_dma.c 		desc = pdc_desc_get(pd_chan);
desc              598 drivers/dma/pch_dma.c 		if (!desc)
desc              601 drivers/dma/pch_dma.c 		desc->regs.dev_addr = reg;
desc              602 drivers/dma/pch_dma.c 		desc->regs.mem_addr = sg_dma_address(sg);
desc              603 drivers/dma/pch_dma.c 		desc->regs.size = sg_dma_len(sg);
desc              604 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_FOLLOW_WITHOUT_IRQ;
desc              608 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_1_BYTE)
desc              610 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_1_BYTE;
desc              613 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_2_BYTES)
desc              615 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_2_BYTES;
desc              618 drivers/dma/pch_dma.c 			if (desc->regs.size > DMA_DESC_MAX_COUNT_4_BYTES)
desc              620 drivers/dma/pch_dma.c 			desc->regs.size |= DMA_DESC_WIDTH_4_BYTES;
desc              627 drivers/dma/pch_dma.c 			first = desc;
desc              629 drivers/dma/pch_dma.c 			prev->regs.next |= desc->txd.phys;
desc              630 drivers/dma/pch_dma.c 			list_add_tail(&desc->desc_node, &first->tx_list);
desc              633 drivers/dma/pch_dma.c 		prev = desc;
desc              637 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_END_WITH_IRQ;
desc              639 drivers/dma/pch_dma.c 		desc->regs.next = DMA_DESC_END_WITHOUT_IRQ;
desc              642 drivers/dma/pch_dma.c 	desc->txd.flags = flags;
desc              655 drivers/dma/pch_dma.c 	struct pch_dma_desc *desc, *_d;
desc              665 drivers/dma/pch_dma.c 	list_for_each_entry_safe(desc, _d, &list, desc_node)
desc              666 drivers/dma/pch_dma.c 		pdc_chain_complete(pd_chan, desc);
desc              893 drivers/dma/pch_dma.c 		pd_chan->membase = &regs->desc[i];
desc              359 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc              544 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc              553 drivers/dma/pl330.c 	return thrd->req[0].desc != NULL && thrd->req[1].desc != NULL;
desc              997 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             1008 drivers/dma/pl330.c 	if (thrd->req[idx].desc != NULL) {
desc             1012 drivers/dma/pl330.c 		if (thrd->req[idx].desc != NULL)
desc             1026 drivers/dma/pl330.c 	desc = req->desc;
desc             1028 drivers/dma/pl330.c 	ns = desc->rqcfg.nonsecure ? 1 : 0;
desc             1091 drivers/dma/pl330.c 	struct pl330_config *pcfg = pxs->desc->rqcfg.pcfg;
desc             1194 drivers/dma/pl330.c 		off += _emit_FLUSHP(dry_run, &buf[off], pxs->desc->peri);
desc             1196 drivers/dma/pl330.c 		off += _emit_WFP(dry_run, &buf[off], cond, pxs->desc->peri);
desc             1197 drivers/dma/pl330.c 		off += _emit_load(dry_run, &buf[off], cond, pxs->desc->rqtype,
desc             1198 drivers/dma/pl330.c 			pxs->desc->peri);
desc             1199 drivers/dma/pl330.c 		off += _emit_store(dry_run, &buf[off], cond, pxs->desc->rqtype,
desc             1200 drivers/dma/pl330.c 			pxs->desc->peri);
desc             1212 drivers/dma/pl330.c 	switch (pxs->desc->rqtype) {
desc             1246 drivers/dma/pl330.c 	switch (pxs->desc->rqtype) {
desc             1361 drivers/dma/pl330.c 	struct pl330_xfer *x = &pxs->desc->px;
desc             1382 drivers/dma/pl330.c 	struct pl330_xfer *x = &pxs->desc->px;
desc             1461 drivers/dma/pl330.c 	struct dma_pl330_desc *desc)
desc             1470 drivers/dma/pl330.c 	switch (desc->rqtype) {
desc             1492 drivers/dma/pl330.c 	if (desc->rqtype != DMA_MEM_TO_MEM &&
desc             1493 drivers/dma/pl330.c 	    desc->peri >= pl330->pcfg.num_peri) {
desc             1496 drivers/dma/pl330.c 				__func__, __LINE__, desc->peri);
desc             1509 drivers/dma/pl330.c 		desc->rqcfg.nonsecure = 0;
desc             1511 drivers/dma/pl330.c 		desc->rqcfg.nonsecure = 1;
desc             1513 drivers/dma/pl330.c 	ccr = _prepare_ccr(&desc->rqcfg);
desc             1515 drivers/dma/pl330.c 	idx = thrd->req[0].desc == NULL ? 0 : 1;
desc             1518 drivers/dma/pl330.c 	xs.desc = desc;
desc             1534 drivers/dma/pl330.c 	thrd->req[idx].desc = desc;
desc             1545 drivers/dma/pl330.c static void dma_pl330_rqcb(struct dma_pl330_desc *desc, enum pl330_op_err err)
desc             1550 drivers/dma/pl330.c 	if (!desc)
desc             1553 drivers/dma/pl330.c 	pch = desc->pchan;
desc             1561 drivers/dma/pl330.c 	desc->status = DONE;
desc             1608 drivers/dma/pl330.c 			dma_pl330_rqcb(thrd->req[1 - thrd->lstenq].desc, err);
desc             1609 drivers/dma/pl330.c 			dma_pl330_rqcb(thrd->req[thrd->lstenq].desc, err);
desc             1612 drivers/dma/pl330.c 			thrd->req[0].desc = NULL;
desc             1613 drivers/dma/pl330.c 			thrd->req[1].desc = NULL;
desc             1693 drivers/dma/pl330.c 			descdone = thrd->req[active].desc;
desc             1694 drivers/dma/pl330.c 			thrd->req[active].desc = NULL;
desc             1770 drivers/dma/pl330.c 				thrd->req[0].desc = NULL;
desc             1771 drivers/dma/pl330.c 				thrd->req[1].desc = NULL;
desc             1800 drivers/dma/pl330.c 	dma_pl330_rqcb(thrd->req[1 - thrd->lstenq].desc, PL330_ERR_ABORT);
desc             1801 drivers/dma/pl330.c 	dma_pl330_rqcb(thrd->req[thrd->lstenq].desc, PL330_ERR_ABORT);
desc             1860 drivers/dma/pl330.c 	thrd->req[0].desc = NULL;
desc             1866 drivers/dma/pl330.c 	thrd->req[1].desc = NULL;
desc             2032 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2035 drivers/dma/pl330.c 	list_for_each_entry(desc, &pch->work_list, node) {
desc             2038 drivers/dma/pl330.c 		if (desc->status == BUSY)
desc             2041 drivers/dma/pl330.c 		ret = pl330_submit_req(pch->thread, desc);
desc             2043 drivers/dma/pl330.c 			desc->status = BUSY;
desc             2049 drivers/dma/pl330.c 			desc->status = DONE;
desc             2051 drivers/dma/pl330.c 					__func__, __LINE__, desc->txd.cookie);
desc             2060 drivers/dma/pl330.c 	struct dma_pl330_desc *desc, *_dt;
desc             2067 drivers/dma/pl330.c 	list_for_each_entry_safe(desc, _dt, &pch->work_list, node)
desc             2068 drivers/dma/pl330.c 		if (desc->status == DONE) {
desc             2070 drivers/dma/pl330.c 				dma_cookie_complete(&desc->txd);
desc             2071 drivers/dma/pl330.c 			list_move_tail(&desc->node, &pch->completed_list);
desc             2093 drivers/dma/pl330.c 		desc = list_first_entry(&pch->completed_list,
desc             2096 drivers/dma/pl330.c 		dmaengine_desc_get_callback(&desc->txd, &cb);
desc             2099 drivers/dma/pl330.c 			desc->status = PREP;
desc             2100 drivers/dma/pl330.c 			list_move_tail(&desc->node, &pch->work_list);
desc             2109 drivers/dma/pl330.c 			desc->status = FREE;
desc             2110 drivers/dma/pl330.c 			list_move_tail(&desc->node, &pch->dmac->desc_pool);
desc             2113 drivers/dma/pl330.c 		dma_descriptor_unmap(&desc->txd);
desc             2273 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2283 drivers/dma/pl330.c 	pch->thread->req[0].desc = NULL;
desc             2284 drivers/dma/pl330.c 	pch->thread->req[1].desc = NULL;
desc             2292 drivers/dma/pl330.c 	list_for_each_entry(desc, &pch->submitted_list, node) {
desc             2293 drivers/dma/pl330.c 		desc->status = FREE;
desc             2294 drivers/dma/pl330.c 		dma_cookie_complete(&desc->txd);
desc             2297 drivers/dma/pl330.c 	list_for_each_entry(desc, &pch->work_list , node) {
desc             2298 drivers/dma/pl330.c 		desc->status = FREE;
desc             2299 drivers/dma/pl330.c 		dma_cookie_complete(&desc->txd);
desc             2365 drivers/dma/pl330.c 					   struct dma_pl330_desc *desc)
desc             2374 drivers/dma/pl330.c 	if (desc->rqcfg.src_inc) {
desc             2376 drivers/dma/pl330.c 		addr = desc->px.src_addr;
desc             2379 drivers/dma/pl330.c 		addr = desc->px.dst_addr;
desc             2397 drivers/dma/pl330.c 	struct dma_pl330_desc *desc, *running = NULL, *last_enq = NULL;
desc             2413 drivers/dma/pl330.c 		running = pch->thread->req[pch->thread->req_running].desc;
desc             2415 drivers/dma/pl330.c 	last_enq = pch->thread->req[pch->thread->lstenq].desc;
desc             2418 drivers/dma/pl330.c 	list_for_each_entry(desc, &pch->work_list, node) {
desc             2419 drivers/dma/pl330.c 		if (desc->status == DONE)
desc             2420 drivers/dma/pl330.c 			transferred = desc->bytes_requested;
desc             2421 drivers/dma/pl330.c 		else if (running && desc == running)
desc             2423 drivers/dma/pl330.c 				pl330_get_current_xferred_count(pch, desc);
desc             2424 drivers/dma/pl330.c 		else if (desc->status == BUSY)
desc             2429 drivers/dma/pl330.c 			if (desc == last_enq)
desc             2432 drivers/dma/pl330.c 				transferred = desc->bytes_requested;
desc             2435 drivers/dma/pl330.c 		residual += desc->bytes_requested - transferred;
desc             2436 drivers/dma/pl330.c 		if (desc->txd.cookie == cookie) {
desc             2437 drivers/dma/pl330.c 			switch (desc->status) {
desc             2450 drivers/dma/pl330.c 		if (desc->last)
desc             2491 drivers/dma/pl330.c 	struct dma_pl330_desc *desc, *last = to_desc(tx);
desc             2500 drivers/dma/pl330.c 		desc = list_entry(last->node.next, struct dma_pl330_desc, node);
desc             2502 drivers/dma/pl330.c 			desc->txd.callback = last->txd.callback;
desc             2503 drivers/dma/pl330.c 			desc->txd.callback_param = last->txd.callback_param;
desc             2505 drivers/dma/pl330.c 		desc->last = false;
desc             2507 drivers/dma/pl330.c 		dma_cookie_assign(&desc->txd);
desc             2509 drivers/dma/pl330.c 		list_move_tail(&desc->node, &pch->submitted_list);
desc             2520 drivers/dma/pl330.c static inline void _init_desc(struct dma_pl330_desc *desc)
desc             2522 drivers/dma/pl330.c 	desc->rqcfg.swap = SWAP_NO;
desc             2523 drivers/dma/pl330.c 	desc->rqcfg.scctl = CCTRL0;
desc             2524 drivers/dma/pl330.c 	desc->rqcfg.dcctl = CCTRL0;
desc             2525 drivers/dma/pl330.c 	desc->txd.tx_submit = pl330_tx_submit;
desc             2527 drivers/dma/pl330.c 	INIT_LIST_HEAD(&desc->node);
desc             2534 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2538 drivers/dma/pl330.c 	desc = kcalloc(count, sizeof(*desc), flg);
desc             2539 drivers/dma/pl330.c 	if (!desc)
desc             2545 drivers/dma/pl330.c 		_init_desc(&desc[i]);
desc             2546 drivers/dma/pl330.c 		list_add_tail(&desc[i].node, pool);
desc             2557 drivers/dma/pl330.c 	struct dma_pl330_desc *desc = NULL;
desc             2563 drivers/dma/pl330.c 		desc = list_entry(pool->next,
desc             2566 drivers/dma/pl330.c 		list_del_init(&desc->node);
desc             2568 drivers/dma/pl330.c 		desc->status = PREP;
desc             2569 drivers/dma/pl330.c 		desc->txd.callback = NULL;
desc             2574 drivers/dma/pl330.c 	return desc;
desc             2581 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2584 drivers/dma/pl330.c 	desc = pluck_desc(&pl330->desc_pool, &pl330->pool_lock);
desc             2587 drivers/dma/pl330.c 	if (!desc) {
desc             2594 drivers/dma/pl330.c 		desc = pluck_desc(&pool, &lock);
desc             2595 drivers/dma/pl330.c 		WARN_ON(!desc || !list_empty(&pool));
desc             2599 drivers/dma/pl330.c 	desc->pchan = pch;
desc             2600 drivers/dma/pl330.c 	desc->txd.cookie = 0;
desc             2601 drivers/dma/pl330.c 	async_tx_ack(&desc->txd);
desc             2603 drivers/dma/pl330.c 	desc->peri = peri_id ? pch->chan.chan_id : 0;
desc             2604 drivers/dma/pl330.c 	desc->rqcfg.pcfg = &pch->dmac->pcfg;
desc             2606 drivers/dma/pl330.c 	dma_async_tx_descriptor_init(&desc->txd, &pch->chan);
desc             2608 drivers/dma/pl330.c 	return desc;
desc             2623 drivers/dma/pl330.c 	struct dma_pl330_desc *desc = pl330_get_desc(pch);
desc             2625 drivers/dma/pl330.c 	if (!desc) {
desc             2641 drivers/dma/pl330.c 	fill_px(&desc->px, dst, src, len);
desc             2643 drivers/dma/pl330.c 	return desc;
desc             2647 drivers/dma/pl330.c static inline int get_burst_len(struct dma_pl330_desc *desc, size_t len)
desc             2649 drivers/dma/pl330.c 	struct dma_pl330_chan *pch = desc->pchan;
desc             2655 drivers/dma/pl330.c 	burst_len >>= desc->rqcfg.brst_size;
desc             2669 drivers/dma/pl330.c 	struct dma_pl330_desc *desc = NULL, *first = NULL;
desc             2691 drivers/dma/pl330.c 		desc = pl330_get_desc(pch);
desc             2692 drivers/dma/pl330.c 		if (!desc) {
desc             2702 drivers/dma/pl330.c 				desc = list_entry(first->node.next,
desc             2704 drivers/dma/pl330.c 				list_move_tail(&desc->node, &pl330->desc_pool);
desc             2716 drivers/dma/pl330.c 			desc->rqcfg.src_inc = 1;
desc             2717 drivers/dma/pl330.c 			desc->rqcfg.dst_inc = 0;
desc             2722 drivers/dma/pl330.c 			desc->rqcfg.src_inc = 0;
desc             2723 drivers/dma/pl330.c 			desc->rqcfg.dst_inc = 1;
desc             2731 drivers/dma/pl330.c 		desc->rqtype = direction;
desc             2732 drivers/dma/pl330.c 		desc->rqcfg.brst_size = pch->burst_sz;
desc             2733 drivers/dma/pl330.c 		desc->rqcfg.brst_len = pch->burst_len;
desc             2734 drivers/dma/pl330.c 		desc->bytes_requested = period_len;
desc             2735 drivers/dma/pl330.c 		fill_px(&desc->px, dst, src, period_len);
desc             2738 drivers/dma/pl330.c 			first = desc;
desc             2740 drivers/dma/pl330.c 			list_add_tail(&desc->node, &first->node);
desc             2745 drivers/dma/pl330.c 	if (!desc)
desc             2749 drivers/dma/pl330.c 	desc->txd.flags = flags;
desc             2751 drivers/dma/pl330.c 	return &desc->txd;
desc             2758 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2768 drivers/dma/pl330.c 	desc = __pl330_prep_dma_memcpy(pch, dst, src, len);
desc             2769 drivers/dma/pl330.c 	if (!desc)
desc             2772 drivers/dma/pl330.c 	desc->rqcfg.src_inc = 1;
desc             2773 drivers/dma/pl330.c 	desc->rqcfg.dst_inc = 1;
desc             2774 drivers/dma/pl330.c 	desc->rqtype = DMA_MEM_TO_MEM;
desc             2787 drivers/dma/pl330.c 	desc->rqcfg.brst_size = 0;
desc             2788 drivers/dma/pl330.c 	while (burst != (1 << desc->rqcfg.brst_size))
desc             2789 drivers/dma/pl330.c 		desc->rqcfg.brst_size++;
desc             2795 drivers/dma/pl330.c 	if (desc->rqcfg.brst_size * 8 < pl330->pcfg.data_bus_width)
desc             2796 drivers/dma/pl330.c 		desc->rqcfg.brst_len = 1;
desc             2798 drivers/dma/pl330.c 	desc->rqcfg.brst_len = get_burst_len(desc, len);
desc             2799 drivers/dma/pl330.c 	desc->bytes_requested = len;
desc             2801 drivers/dma/pl330.c 	desc->txd.flags = flags;
desc             2803 drivers/dma/pl330.c 	return &desc->txd;
desc             2810 drivers/dma/pl330.c 	struct dma_pl330_desc *desc;
desc             2818 drivers/dma/pl330.c 		desc = list_entry(first->node.next,
desc             2820 drivers/dma/pl330.c 		list_move_tail(&desc->node, &pl330->desc_pool);
desc             2833 drivers/dma/pl330.c 	struct dma_pl330_desc *first, *desc = NULL;
desc             2850 drivers/dma/pl330.c 		desc = pl330_get_desc(pch);
desc             2851 drivers/dma/pl330.c 		if (!desc) {
desc             2863 drivers/dma/pl330.c 			first = desc;
desc             2865 drivers/dma/pl330.c 			list_add_tail(&desc->node, &first->node);
desc             2868 drivers/dma/pl330.c 			desc->rqcfg.src_inc = 1;
desc             2869 drivers/dma/pl330.c 			desc->rqcfg.dst_inc = 0;
desc             2870 drivers/dma/pl330.c 			fill_px(&desc->px, pch->fifo_dma, sg_dma_address(sg),
desc             2873 drivers/dma/pl330.c 			desc->rqcfg.src_inc = 0;
desc             2874 drivers/dma/pl330.c 			desc->rqcfg.dst_inc = 1;
desc             2875 drivers/dma/pl330.c 			fill_px(&desc->px, sg_dma_address(sg), pch->fifo_dma,
desc             2879 drivers/dma/pl330.c 		desc->rqcfg.brst_size = pch->burst_sz;
desc             2880 drivers/dma/pl330.c 		desc->rqcfg.brst_len = pch->burst_len;
desc             2881 drivers/dma/pl330.c 		desc->rqtype = direction;
desc             2882 drivers/dma/pl330.c 		desc->bytes_requested = sg_dma_len(sg);
desc             2886 drivers/dma/pl330.c 	desc->txd.flags = flg;
desc             2887 drivers/dma/pl330.c 	return &desc->txd;
desc              113 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc              117 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc              120 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc              231 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_interrupt(struct ppc440spe_adma_desc_slot *desc,
desc              238 drivers/dma/ppc4xx/adma.c 		p = desc->hw_desc;
desc              239 drivers/dma/ppc4xx/adma.c 		memset(desc->hw_desc, 0, sizeof(struct xor_cb));
desc              245 drivers/dma/ppc4xx/adma.c 		memset(desc->hw_desc, 0, sizeof(struct dma_cdb));
desc              247 drivers/dma/ppc4xx/adma.c 		set_bit(PPC440SPE_DESC_INT, &desc->flags);
desc              260 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_null_xor(struct ppc440spe_adma_desc_slot *desc)
desc              262 drivers/dma/ppc4xx/adma.c 	memset(desc->hw_desc, 0, sizeof(struct xor_cb));
desc              263 drivers/dma/ppc4xx/adma.c 	desc->hw_next = NULL;
desc              264 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = 0;
desc              265 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = 1;
desc              271 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_xor(struct ppc440spe_adma_desc_slot *desc,
desc              274 drivers/dma/ppc4xx/adma.c 	struct xor_cb *hw_desc = desc->hw_desc;
desc              276 drivers/dma/ppc4xx/adma.c 	memset(desc->hw_desc, 0, sizeof(struct xor_cb));
desc              277 drivers/dma/ppc4xx/adma.c 	desc->hw_next = NULL;
desc              278 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = src_cnt;
desc              279 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = 1;
desc              291 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_dma2pq(struct ppc440spe_adma_desc_slot *desc,
desc              294 drivers/dma/ppc4xx/adma.c 	struct xor_cb *hw_desc = desc->hw_desc;
desc              296 drivers/dma/ppc4xx/adma.c 	memset(desc->hw_desc, 0, sizeof(struct xor_cb));
desc              297 drivers/dma/ppc4xx/adma.c 	desc->hw_next = NULL;
desc              298 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = src_cnt;
desc              299 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = dst_cnt;
desc              300 drivers/dma/ppc4xx/adma.c 	memset(desc->reverse_flags, 0, sizeof(desc->reverse_flags));
desc              301 drivers/dma/ppc4xx/adma.c 	desc->descs_per_op = 0;
desc              317 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_dma01pq(struct ppc440spe_adma_desc_slot *desc,
desc              326 drivers/dma/ppc4xx/adma.c 	set_bits(op, &desc->flags);
desc              327 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = src_cnt;
desc              328 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = dst_cnt;
desc              333 drivers/dma/ppc4xx/adma.c 	dopc = (desc->dst_cnt == DMA_DEST_MAX_NUM) ?
desc              336 drivers/dma/ppc4xx/adma.c 	list_for_each_entry(iter, &desc->group_list, chain_node) {
desc              341 drivers/dma/ppc4xx/adma.c 				&desc->group_list))) {
desc              361 drivers/dma/ppc4xx/adma.c 	if (!test_bit(PPC440SPE_DESC_RXOR, &desc->flags)) {
desc              367 drivers/dma/ppc4xx/adma.c 		iter = list_first_entry(&desc->group_list,
desc              371 drivers/dma/ppc4xx/adma.c 		if (test_bit(PPC440SPE_ZERO_P, &desc->flags)) {
desc              379 drivers/dma/ppc4xx/adma.c 		if (test_bit(PPC440SPE_ZERO_Q, &desc->flags)) {
desc              387 drivers/dma/ppc4xx/adma.c 		list_for_each_entry_from(iter, &desc->group_list, chain_node) {
desc              398 drivers/dma/ppc4xx/adma.c 		iter = list_first_entry(&desc->group_list,
desc              404 drivers/dma/ppc4xx/adma.c 		if (desc->dst_cnt == DMA_DEST_MAX_NUM) {
desc              413 drivers/dma/ppc4xx/adma.c 		if (test_bit(PPC440SPE_DESC_WXOR, &desc->flags)) {
desc              417 drivers/dma/ppc4xx/adma.c 			list_for_each_entry_from(iter, &desc->group_list,
desc              431 drivers/dma/ppc4xx/adma.c 				struct ppc440spe_adma_desc_slot *desc,
desc              445 drivers/dma/ppc4xx/adma.c 	iter = list_first_entry(&desc->group_list,
desc              455 drivers/dma/ppc4xx/adma.c 	list_for_each_entry_from(iter, &desc->group_list, chain_node) {
desc              476 drivers/dma/ppc4xx/adma.c 					 &desc->group_list))) {
desc              494 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = src_cnt;
desc              495 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = dst_cnt;
desc              501 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_init_memcpy(struct ppc440spe_adma_desc_slot *desc,
desc              504 drivers/dma/ppc4xx/adma.c 	struct dma_cdb *hw_desc = desc->hw_desc;
desc              506 drivers/dma/ppc4xx/adma.c 	memset(desc->hw_desc, 0, sizeof(struct dma_cdb));
desc              507 drivers/dma/ppc4xx/adma.c 	desc->hw_next = NULL;
desc              508 drivers/dma/ppc4xx/adma.c 	desc->src_cnt = 1;
desc              509 drivers/dma/ppc4xx/adma.c 	desc->dst_cnt = 1;
desc              512 drivers/dma/ppc4xx/adma.c 		set_bit(PPC440SPE_DESC_INT, &desc->flags);
desc              514 drivers/dma/ppc4xx/adma.c 		clear_bit(PPC440SPE_DESC_INT, &desc->flags);
desc              522 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_set_src_addr(struct ppc440spe_adma_desc_slot *desc,
desc              542 drivers/dma/ppc4xx/adma.c 		dma_hw_desc = desc->hw_desc;
desc              547 drivers/dma/ppc4xx/adma.c 		xor_hw_desc = desc->hw_desc;
desc              557 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_set_src_mult(struct ppc440spe_adma_desc_slot *desc,
desc              568 drivers/dma/ppc4xx/adma.c 		dma_hw_desc = desc->hw_desc;
desc              593 drivers/dma/ppc4xx/adma.c 		xor_hw_desc = desc->hw_desc;
desc              603 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_set_dest_addr(struct ppc440spe_adma_desc_slot *desc,
desc              624 drivers/dma/ppc4xx/adma.c 		dma_hw_desc = desc->hw_desc;
desc              633 drivers/dma/ppc4xx/adma.c 		xor_hw_desc = desc->hw_desc;
desc              644 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_set_byte_count(struct ppc440spe_adma_desc_slot *desc,
desc              654 drivers/dma/ppc4xx/adma.c 		dma_hw_desc = desc->hw_desc;
desc              658 drivers/dma/ppc4xx/adma.c 		xor_hw_desc = desc->hw_desc;
desc              679 drivers/dma/ppc4xx/adma.c static void ppc440spe_desc_set_dcheck(struct ppc440spe_adma_desc_slot *desc,
desc              687 drivers/dma/ppc4xx/adma.c 		dma_hw_desc = desc->hw_desc;
desc              771 drivers/dma/ppc4xx/adma.c static inline u32 ppc440spe_desc_get_link(struct ppc440spe_adma_desc_slot *desc,
desc              774 drivers/dma/ppc4xx/adma.c 	if (!desc->hw_next)
desc              777 drivers/dma/ppc4xx/adma.c 	return desc->hw_next->phys;
desc              784 drivers/dma/ppc4xx/adma.c 	struct ppc440spe_adma_desc_slot *desc, int num_slots)
desc              786 drivers/dma/ppc4xx/adma.c 	return (desc->idx & (num_slots - 1)) ? 0 : 1;
desc             1077 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc)
desc             1082 drivers/dma/ppc4xx/adma.c 	pcdb = desc->phys;
desc             1083 drivers/dma/ppc4xx/adma.c 	if (!test_bit(PPC440SPE_DESC_INT, &desc->flags))
desc             1086 drivers/dma/ppc4xx/adma.c 	chan_last_sub[chan->device->id] = desc;
desc             1088 drivers/dma/ppc4xx/adma.c 	ADMA_LL_DBG(print_cb(chan, desc->hw_desc));
desc             1464 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc             1468 drivers/dma/ppc4xx/adma.c 	BUG_ON(desc->async_tx.cookie < 0);
desc             1469 drivers/dma/ppc4xx/adma.c 	if (desc->async_tx.cookie > 0) {
desc             1470 drivers/dma/ppc4xx/adma.c 		cookie = desc->async_tx.cookie;
desc             1471 drivers/dma/ppc4xx/adma.c 		desc->async_tx.cookie = 0;
desc             1473 drivers/dma/ppc4xx/adma.c 		dma_descriptor_unmap(&desc->async_tx);
desc             1477 drivers/dma/ppc4xx/adma.c 		dmaengine_desc_get_callback_invoke(&desc->async_tx, NULL);
desc             1481 drivers/dma/ppc4xx/adma.c 	dma_run_dependencies(&desc->async_tx);
desc             1489 drivers/dma/ppc4xx/adma.c static int ppc440spe_adma_clean_slot(struct ppc440spe_adma_desc_slot *desc,
desc             1495 drivers/dma/ppc4xx/adma.c 	if (!async_tx_test_ack(&desc->async_tx))
desc             1501 drivers/dma/ppc4xx/adma.c 	if (list_is_last(&desc->chain_node, &chan->chain) ||
desc             1502 drivers/dma/ppc4xx/adma.c 	    desc->phys == ppc440spe_chan_get_current_descriptor(chan))
desc             1515 drivers/dma/ppc4xx/adma.c 		struct dma_cdb *cdb = desc->hw_desc;
desc             1521 drivers/dma/ppc4xx/adma.c 		desc->phys, desc->idx, desc->slots_per_op);
desc             1523 drivers/dma/ppc4xx/adma.c 	list_del(&desc->chain_node);
desc             1524 drivers/dma/ppc4xx/adma.c 	ppc440spe_adma_free_slots(desc, chan);
desc             1846 drivers/dma/ppc4xx/adma.c static void ppc440spe_rxor_set_region(struct ppc440spe_adma_desc_slot *desc,
desc             1849 drivers/dma/ppc4xx/adma.c 	struct xor_cb *xcb = desc->hw_desc;
desc             1857 drivers/dma/ppc4xx/adma.c static void ppc440spe_rxor_set_src(struct ppc440spe_adma_desc_slot *desc,
desc             1860 drivers/dma/ppc4xx/adma.c 	struct xor_cb *xcb = desc->hw_desc;
desc             1869 drivers/dma/ppc4xx/adma.c static void ppc440spe_rxor_set_mult(struct ppc440spe_adma_desc_slot *desc,
desc             1872 drivers/dma/ppc4xx/adma.c 	struct xor_cb *xcb = desc->hw_desc;
desc             2061 drivers/dma/ppc4xx/adma.c ppc440spe_desc_set_xor_src_cnt(struct ppc440spe_adma_desc_slot *desc,
desc             2069 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc             2076 drivers/dma/ppc4xx/adma.c 		ppc440spe_adma_dma2rxor_prep_src(desc, &desc->rxor_cursor, i,
desc             2077 drivers/dma/ppc4xx/adma.c 						 desc->src_cnt, (u32)src[i]);
desc             3086 drivers/dma/ppc4xx/adma.c 			struct ppc440spe_adma_desc_slot *desc,
desc             3089 drivers/dma/ppc4xx/adma.c 	struct xor_cb *hw_desc = desc->hw_desc;
desc             3224 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc             3229 drivers/dma/ppc4xx/adma.c 		ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count);
desc             3231 drivers/dma/ppc4xx/adma.c 		ppc440spe_desc_set_xor_src_cnt(desc, cursor->addr_count);
desc             3247 drivers/dma/ppc4xx/adma.c 	struct ppc440spe_adma_desc_slot *desc = hdesc;
desc             3251 drivers/dma/ppc4xx/adma.c 		desc = list_entry(hdesc->chain_node.next,
desc             3263 drivers/dma/ppc4xx/adma.c 				ppc440spe_rxor_set_region(desc,
desc             3267 drivers/dma/ppc4xx/adma.c 					desc, cursor, index, src_cnt);
desc             3273 drivers/dma/ppc4xx/adma.c 			set_bit(cursor->addr_count, &desc->reverse_flags[0]);
desc             3275 drivers/dma/ppc4xx/adma.c 				ppc440spe_rxor_set_region(desc,
desc             3279 drivers/dma/ppc4xx/adma.c 					desc, cursor, index, src_cnt);
desc             3289 drivers/dma/ppc4xx/adma.c 				desc->reverse_flags)
desc             3296 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_region(desc,
desc             3300 drivers/dma/ppc4xx/adma.c 				desc, cursor, index, src_cnt);
desc             3304 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_region(desc,
desc             3309 drivers/dma/ppc4xx/adma.c 					desc, cursor, index, src_cnt);
desc             3314 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_region(desc,
desc             3319 drivers/dma/ppc4xx/adma.c 					desc, cursor, index, src_cnt);
desc             3324 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_region(desc,
desc             3329 drivers/dma/ppc4xx/adma.c 					desc, cursor, index, src_cnt);
desc             3335 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_region(desc,
desc             3339 drivers/dma/ppc4xx/adma.c 				desc, cursor, index, src_cnt);
desc             3348 drivers/dma/ppc4xx/adma.c 				desc, cursor, index, src_cnt);
desc             3361 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc             3364 drivers/dma/ppc4xx/adma.c 	struct xor_cb *xcb = desc->hw_desc;
desc             3372 drivers/dma/ppc4xx/adma.c 			desc = list_entry(desc->chain_node.next,
desc             3374 drivers/dma/ppc4xx/adma.c 			xcb = desc->hw_desc;
desc             3386 drivers/dma/ppc4xx/adma.c 	if (test_bit(k-1, desc->reverse_flags)) {
desc             3389 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_src(desc, k - 1, addr);
desc             3393 drivers/dma/ppc4xx/adma.c 			ppc440spe_rxor_set_src(desc, k - 1, addr);
desc             3402 drivers/dma/ppc4xx/adma.c 		struct ppc440spe_adma_desc_slot *desc,
desc             3405 drivers/dma/ppc4xx/adma.c 	struct xor_cb *xcb = desc->hw_desc;
desc             3413 drivers/dma/ppc4xx/adma.c 			desc = list_entry(desc->chain_node.next,
desc             3416 drivers/dma/ppc4xx/adma.c 			xcb = desc->hw_desc;
desc             3427 drivers/dma/ppc4xx/adma.c 	if (test_bit(k-1, desc->reverse_flags)) {
desc             3429 drivers/dma/ppc4xx/adma.c 		ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult);
desc             3432 drivers/dma/ppc4xx/adma.c 		ppc440spe_rxor_set_mult(desc, k - 1, index - lop, mult);
desc              225 drivers/dma/pxa_dma.c 	struct pxad_desc_hw *desc;
desc              232 drivers/dma/pxa_dma.c 		desc = phys_to_virt(phys_desc);
desc              233 drivers/dma/pxa_dma.c 		dcmd = desc->dcmd;
desc              238 drivers/dma/pxa_dma.c 			   i, phys_desc, desc);
desc              239 drivers/dma/pxa_dma.c 		seq_printf(s, "\tDDADR = %08x\n", desc->ddadr);
desc              240 drivers/dma/pxa_dma.c 		seq_printf(s, "\tDSADR = %08x\n", desc->dsadr);
desc              241 drivers/dma/pxa_dma.c 		seq_printf(s, "\tDTADR = %08x\n", desc->dtadr);
desc              249 drivers/dma/pxa_dma.c 		phys_desc = desc->ddadr;
desc              493 drivers/dma/pxa_dma.c 				 struct pxad_desc_sw *desc)
desc              496 drivers/dma/pxa_dma.c 		"%s(): desc=%p\n", __func__, desc);
desc              511 drivers/dma/pxa_dma.c 	phy_writel(chan->phy, desc->first, DDADR);
desc               77 drivers/dma/qcom/bam_dma.c 	struct bam_desc_hw desc[0];
desc              616 drivers/dma/qcom/bam_dma.c 	struct bam_desc_hw *desc;
desc              630 drivers/dma/qcom/bam_dma.c 	async_desc = kzalloc(struct_size(async_desc, desc, num_alloc),
desc              643 drivers/dma/qcom/bam_dma.c 	async_desc->curr_desc = async_desc->desc;
desc              647 drivers/dma/qcom/bam_dma.c 	desc = async_desc->desc;
desc              654 drivers/dma/qcom/bam_dma.c 				desc->flags |= cpu_to_le16(DESC_FLAG_CMD);
desc              656 drivers/dma/qcom/bam_dma.c 			desc->addr = cpu_to_le32(sg_dma_address(sg) +
desc              660 drivers/dma/qcom/bam_dma.c 				desc->size = cpu_to_le16(BAM_FIFO_SIZE);
desc              664 drivers/dma/qcom/bam_dma.c 				desc->size = cpu_to_le16(remainder);
desc              668 drivers/dma/qcom/bam_dma.c 			async_desc->length += le16_to_cpu(desc->size);
desc              669 drivers/dma/qcom/bam_dma.c 			desc++;
desc              983 drivers/dma/qcom/bam_dma.c 	struct bam_desc_hw *desc;
desc             1012 drivers/dma/qcom/bam_dma.c 		desc = async_desc->curr_desc;
desc             1023 drivers/dma/qcom/bam_dma.c 			desc[async_desc->xfer_len - 1].flags |=
desc             1041 drivers/dma/qcom/bam_dma.c 			desc[async_desc->xfer_len - 1].flags |=
desc             1047 drivers/dma/qcom/bam_dma.c 			memcpy(&fifo[bchan->tail], desc,
desc             1049 drivers/dma/qcom/bam_dma.c 			memcpy(fifo, &desc[partial],
desc             1053 drivers/dma/qcom/bam_dma.c 			memcpy(&fifo[bchan->tail], desc,
desc               96 drivers/dma/qcom/hidma.c 	return container_of(t, struct hidma_desc, desc);
desc              118 drivers/dma/qcom/hidma.c 	struct dma_async_tx_descriptor *desc;
desc              138 drivers/dma/qcom/hidma.c 		desc = &mdesc->desc;
desc              139 drivers/dma/qcom/hidma.c 		last_cookie = desc->cookie;
desc              151 drivers/dma/qcom/hidma.c 		dma_cookie_complete(desc);
desc              154 drivers/dma/qcom/hidma.c 		dmaengine_desc_get_callback(desc, &cb);
desc              156 drivers/dma/qcom/hidma.c 		dma_run_dependencies(desc);
desc              174 drivers/dma/qcom/hidma.c 	struct hidma_chan *mchan = to_hidma_chan(mdesc->desc.chan);
desc              250 drivers/dma/qcom/hidma.c 		struct hidma_desc *desc = list_first_entry(&mchan->active,
desc              253 drivers/dma/qcom/hidma.c 		mchan->running = desc;
desc              300 drivers/dma/qcom/hidma.c 			runcookie = mchan->running->desc.cookie;
desc              334 drivers/dma/qcom/hidma.c 	mdesc = container_of(txd, struct hidma_desc, desc);
desc              368 drivers/dma/qcom/hidma.c 		dma_async_tx_descriptor_init(&mdesc->desc, dmach);
desc              369 drivers/dma/qcom/hidma.c 		mdesc->desc.tx_submit = hidma_tx_submit;
desc              419 drivers/dma/qcom/hidma.c 	mdesc->desc.flags = flags;
desc              429 drivers/dma/qcom/hidma.c 	return &mdesc->desc;
desc              452 drivers/dma/qcom/hidma.c 	mdesc->desc.flags = flags;
desc              462 drivers/dma/qcom/hidma.c 	return &mdesc->desc;
desc              495 drivers/dma/qcom/hidma.c 		struct dma_async_tx_descriptor *txd = &mdesc->desc;
desc              670 drivers/dma/qcom/hidma.c static void hidma_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
desc              672 drivers/dma/qcom/hidma.c 	struct device *dev = msi_desc_to_dev(desc);
desc              675 drivers/dma/qcom/hidma.c 	if (!desc->platform.msi_index) {
desc              687 drivers/dma/qcom/hidma.c 	struct msi_desc *desc;
desc              690 drivers/dma/qcom/hidma.c 	for_each_msi_entry(desc, dev)
desc              691 drivers/dma/qcom/hidma.c 		devm_free_irq(dev, desc->irq, &dmadev->lldev);
desc              702 drivers/dma/qcom/hidma.c 	struct msi_desc *desc;
desc              710 drivers/dma/qcom/hidma.c 	for_each_msi_entry(desc, &pdev->dev) {
desc              711 drivers/dma/qcom/hidma.c 		if (!desc->platform.msi_index)
desc              712 drivers/dma/qcom/hidma.c 			dmadev->msi_virqbase = desc->irq;
desc              714 drivers/dma/qcom/hidma.c 		rc = devm_request_irq(&pdev->dev, desc->irq,
desc              719 drivers/dma/qcom/hidma.c 			failed_desc = desc;
desc              726 drivers/dma/qcom/hidma.c 		for_each_msi_entry(desc, &pdev->dev) {
desc              727 drivers/dma/qcom/hidma.c 			if (desc == failed_desc)
desc              729 drivers/dma/qcom/hidma.c 			devm_free_irq(&pdev->dev, desc->irq,
desc               78 drivers/dma/qcom/hidma.h 	struct dma_async_tx_descriptor	desc;
desc              183 drivers/dma/sh/rcar-dmac.c 	} desc;
desc              341 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc = chan->desc.running;
desc              342 drivers/dma/sh/rcar-dmac.c 	u32 chcr = desc->chcr;
desc              349 drivers/dma/sh/rcar-dmac.c 	if (desc->hwdescs.use) {
desc              351 drivers/dma/sh/rcar-dmac.c 			list_first_entry(&desc->chunks,
desc              356 drivers/dma/sh/rcar-dmac.c 			chan->index, desc, desc->nchunks, &desc->hwdescs.dma);
desc              364 drivers/dma/sh/rcar-dmac.c 				     desc->hwdescs.dma >> 32);
desc              367 drivers/dma/sh/rcar-dmac.c 				     (desc->hwdescs.dma & 0xfffffff0) |
desc              370 drivers/dma/sh/rcar-dmac.c 				     RCAR_DMACHCRB_DCNT(desc->nchunks - 1) |
desc              396 drivers/dma/sh/rcar-dmac.c 		if (!desc->cyclic)
desc              402 drivers/dma/sh/rcar-dmac.c 		else if (desc->async_tx.callback)
desc              411 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_xfer_chunk *chunk = desc->running;
desc              429 drivers/dma/sh/rcar-dmac.c 				     chunk->size >> desc->xfer_shift);
desc              463 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc = to_rcar_dmac_desc(tx);
desc              472 drivers/dma/sh/rcar-dmac.c 		chan->index, tx->cookie, desc);
desc              474 drivers/dma/sh/rcar-dmac.c 	list_add_tail(&desc->node, &chan->desc.pending);
desc              475 drivers/dma/sh/rcar-dmac.c 	desc->running = list_first_entry(&desc->chunks,
desc              504 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_desc *desc = &page->descs[i];
desc              506 drivers/dma/sh/rcar-dmac.c 		dma_async_tx_descriptor_init(&desc->async_tx, &chan->chan);
desc              507 drivers/dma/sh/rcar-dmac.c 		desc->async_tx.tx_submit = rcar_dmac_tx_submit;
desc              508 drivers/dma/sh/rcar-dmac.c 		INIT_LIST_HEAD(&desc->chunks);
desc              510 drivers/dma/sh/rcar-dmac.c 		list_add_tail(&desc->node, &list);
desc              514 drivers/dma/sh/rcar-dmac.c 	list_splice_tail(&list, &chan->desc.free);
desc              515 drivers/dma/sh/rcar-dmac.c 	list_add_tail(&page->node, &chan->desc.pages);
desc              534 drivers/dma/sh/rcar-dmac.c 			       struct rcar_dmac_desc *desc)
desc              539 drivers/dma/sh/rcar-dmac.c 	list_splice_tail_init(&desc->chunks, &chan->desc.chunks_free);
desc              540 drivers/dma/sh/rcar-dmac.c 	list_add(&desc->node, &chan->desc.free);
desc              546 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc, *_desc;
desc              557 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.wait, &list);
desc              560 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry_safe(desc, _desc, &list, node) {
desc              561 drivers/dma/sh/rcar-dmac.c 		if (async_tx_test_ack(&desc->async_tx)) {
desc              562 drivers/dma/sh/rcar-dmac.c 			list_del(&desc->node);
desc              563 drivers/dma/sh/rcar-dmac.c 			rcar_dmac_desc_put(chan, desc);
desc              572 drivers/dma/sh/rcar-dmac.c 	list_splice(&list, &chan->desc.wait);
desc              587 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc;
desc              596 drivers/dma/sh/rcar-dmac.c 	while (list_empty(&chan->desc.free)) {
desc              610 drivers/dma/sh/rcar-dmac.c 	desc = list_first_entry(&chan->desc.free, struct rcar_dmac_desc, node);
desc              611 drivers/dma/sh/rcar-dmac.c 	list_del(&desc->node);
desc              615 drivers/dma/sh/rcar-dmac.c 	return desc;
desc              641 drivers/dma/sh/rcar-dmac.c 	list_splice_tail(&list, &chan->desc.chunks_free);
desc              642 drivers/dma/sh/rcar-dmac.c 	list_add_tail(&page->node, &chan->desc.pages);
desc              666 drivers/dma/sh/rcar-dmac.c 	while (list_empty(&chan->desc.chunks_free)) {
desc              680 drivers/dma/sh/rcar-dmac.c 	chunk = list_first_entry(&chan->desc.chunks_free,
desc              690 drivers/dma/sh/rcar-dmac.c 				     struct rcar_dmac_desc *desc, size_t size)
desc              700 drivers/dma/sh/rcar-dmac.c 	if (desc->hwdescs.size == size)
desc              703 drivers/dma/sh/rcar-dmac.c 	if (desc->hwdescs.mem) {
desc              704 drivers/dma/sh/rcar-dmac.c 		dma_free_coherent(chan->chan.device->dev, desc->hwdescs.size,
desc              705 drivers/dma/sh/rcar-dmac.c 				  desc->hwdescs.mem, desc->hwdescs.dma);
desc              706 drivers/dma/sh/rcar-dmac.c 		desc->hwdescs.mem = NULL;
desc              707 drivers/dma/sh/rcar-dmac.c 		desc->hwdescs.size = 0;
desc              713 drivers/dma/sh/rcar-dmac.c 	desc->hwdescs.mem = dma_alloc_coherent(chan->chan.device->dev, size,
desc              714 drivers/dma/sh/rcar-dmac.c 					       &desc->hwdescs.dma, GFP_NOWAIT);
desc              715 drivers/dma/sh/rcar-dmac.c 	if (!desc->hwdescs.mem)
desc              718 drivers/dma/sh/rcar-dmac.c 	desc->hwdescs.size = size;
desc              722 drivers/dma/sh/rcar-dmac.c 				 struct rcar_dmac_desc *desc)
desc              727 drivers/dma/sh/rcar-dmac.c 	rcar_dmac_realloc_hwdesc(chan, desc, desc->nchunks * sizeof(*hwdesc));
desc              729 drivers/dma/sh/rcar-dmac.c 	hwdesc = desc->hwdescs.mem;
desc              733 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry(chunk, &desc->chunks, node) {
desc              736 drivers/dma/sh/rcar-dmac.c 		hwdesc->tcr = chunk->size >> desc->xfer_shift;
desc              789 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc, *_desc;
desc              796 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.pending, &descs);
desc              797 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.active, &descs);
desc              798 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.done, &descs);
desc              799 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.wait, &descs);
desc              801 drivers/dma/sh/rcar-dmac.c 	chan->desc.running = NULL;
desc              805 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry_safe(desc, _desc, &descs, node) {
desc              806 drivers/dma/sh/rcar-dmac.c 		list_del(&desc->node);
desc              807 drivers/dma/sh/rcar-dmac.c 		rcar_dmac_desc_put(chan, desc);
desc              846 drivers/dma/sh/rcar-dmac.c 					  struct rcar_dmac_desc *desc)
desc              858 drivers/dma/sh/rcar-dmac.c 	switch (desc->direction) {
desc              879 drivers/dma/sh/rcar-dmac.c 	desc->xfer_shift = ilog2(xfer_size);
desc              880 drivers/dma/sh/rcar-dmac.c 	desc->chcr = chcr | chcr_ts[desc->xfer_shift];
desc              900 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc;
desc              912 drivers/dma/sh/rcar-dmac.c 	desc = rcar_dmac_desc_get(chan);
desc              913 drivers/dma/sh/rcar-dmac.c 	if (!desc)
desc              916 drivers/dma/sh/rcar-dmac.c 	desc->async_tx.flags = dma_flags;
desc              917 drivers/dma/sh/rcar-dmac.c 	desc->async_tx.cookie = -EBUSY;
desc              919 drivers/dma/sh/rcar-dmac.c 	desc->cyclic = cyclic;
desc              920 drivers/dma/sh/rcar-dmac.c 	desc->direction = dir;
desc              922 drivers/dma/sh/rcar-dmac.c 	rcar_dmac_chan_configure_desc(chan, desc);
desc              924 drivers/dma/sh/rcar-dmac.c 	max_chunk_size = RCAR_DMATCR_MASK << desc->xfer_shift;
desc              966 drivers/dma/sh/rcar-dmac.c 				rcar_dmac_desc_put(chan, desc);
desc              982 drivers/dma/sh/rcar-dmac.c 				chan->index, chunk, desc, i, sg, size, len,
desc              991 drivers/dma/sh/rcar-dmac.c 			list_add_tail(&chunk->node, &desc->chunks);
desc              996 drivers/dma/sh/rcar-dmac.c 	desc->nchunks = nchunks;
desc              997 drivers/dma/sh/rcar-dmac.c 	desc->size = full_size;
desc             1007 drivers/dma/sh/rcar-dmac.c 	desc->hwdescs.use = !cross_boundary && nchunks > 1;
desc             1008 drivers/dma/sh/rcar-dmac.c 	if (desc->hwdescs.use) {
desc             1009 drivers/dma/sh/rcar-dmac.c 		if (rcar_dmac_fill_hwdesc(chan, desc) < 0)
desc             1010 drivers/dma/sh/rcar-dmac.c 			desc->hwdescs.use = false;
desc             1013 drivers/dma/sh/rcar-dmac.c 	return &desc->async_tx;
desc             1025 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.chunks_free);
desc             1026 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.pages);
desc             1046 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc;
desc             1066 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&rchan->desc.free, &list);
desc             1067 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&rchan->desc.pending, &list);
desc             1068 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&rchan->desc.active, &list);
desc             1069 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&rchan->desc.done, &list);
desc             1070 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&rchan->desc.wait, &list);
desc             1072 drivers/dma/sh/rcar-dmac.c 	rchan->desc.running = NULL;
desc             1074 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry(desc, &list, node)
desc             1075 drivers/dma/sh/rcar-dmac.c 		rcar_dmac_realloc_hwdesc(rchan, desc, 0);
desc             1077 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry_safe(page, _page, &rchan->desc.pages, node) {
desc             1195 drivers/dma/sh/rcar-dmac.c 	struct dma_async_tx_descriptor *desc;
desc             1238 drivers/dma/sh/rcar-dmac.c 	desc = rcar_dmac_chan_prep_sg(rchan, sgl, sg_len, rchan->map.addr,
desc             1242 drivers/dma/sh/rcar-dmac.c 	return desc;
desc             1284 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc = chan->desc.running;
desc             1294 drivers/dma/sh/rcar-dmac.c 	if (!desc)
desc             1317 drivers/dma/sh/rcar-dmac.c 	if (cookie != desc->async_tx.cookie) {
desc             1318 drivers/dma/sh/rcar-dmac.c 		list_for_each_entry(desc, &chan->desc.done, node) {
desc             1319 drivers/dma/sh/rcar-dmac.c 			if (cookie == desc->async_tx.cookie)
desc             1322 drivers/dma/sh/rcar-dmac.c 		list_for_each_entry(desc, &chan->desc.pending, node) {
desc             1323 drivers/dma/sh/rcar-dmac.c 			if (cookie == desc->async_tx.cookie)
desc             1324 drivers/dma/sh/rcar-dmac.c 				return desc->size;
desc             1326 drivers/dma/sh/rcar-dmac.c 		list_for_each_entry(desc, &chan->desc.active, node) {
desc             1327 drivers/dma/sh/rcar-dmac.c 			if (cookie == desc->async_tx.cookie)
desc             1328 drivers/dma/sh/rcar-dmac.c 				return desc->size;
desc             1364 drivers/dma/sh/rcar-dmac.c 	if (desc->hwdescs.use) {
desc             1367 drivers/dma/sh/rcar-dmac.c 			dptr = desc->nchunks;
desc             1369 drivers/dma/sh/rcar-dmac.c 		WARN_ON(dptr >= desc->nchunks);
desc             1371 drivers/dma/sh/rcar-dmac.c 		running = desc->running;
desc             1375 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry_reverse(chunk, &desc->chunks, node) {
desc             1376 drivers/dma/sh/rcar-dmac.c 		if (chunk == running || ++dptr == desc->nchunks)
desc             1383 drivers/dma/sh/rcar-dmac.c 	residue += tcrb << desc->xfer_shift;
desc             1404 drivers/dma/sh/rcar-dmac.c 	cyclic = rchan->desc.running ? rchan->desc.running->cyclic : false;
desc             1423 drivers/dma/sh/rcar-dmac.c 	if (list_empty(&rchan->desc.pending))
desc             1427 drivers/dma/sh/rcar-dmac.c 	list_splice_tail_init(&rchan->desc.pending, &rchan->desc.active);
desc             1433 drivers/dma/sh/rcar-dmac.c 	if (!rchan->desc.running) {
desc             1434 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_desc *desc;
desc             1436 drivers/dma/sh/rcar-dmac.c 		desc = list_first_entry(&rchan->desc.active,
desc             1438 drivers/dma/sh/rcar-dmac.c 		rchan->desc.running = desc;
desc             1460 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc = chan->desc.running;
desc             1463 drivers/dma/sh/rcar-dmac.c 	if (WARN_ON(!desc || !desc->cyclic)) {
desc             1482 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc = chan->desc.running;
desc             1485 drivers/dma/sh/rcar-dmac.c 	if (WARN_ON_ONCE(!desc)) {
desc             1499 drivers/dma/sh/rcar-dmac.c 	if (!desc->hwdescs.use) {
desc             1505 drivers/dma/sh/rcar-dmac.c 		if (!list_is_last(&desc->running->node, &desc->chunks)) {
desc             1506 drivers/dma/sh/rcar-dmac.c 			desc->running = list_next_entry(desc->running, node);
desc             1507 drivers/dma/sh/rcar-dmac.c 			if (!desc->cyclic)
desc             1516 drivers/dma/sh/rcar-dmac.c 		if (desc->cyclic) {
desc             1517 drivers/dma/sh/rcar-dmac.c 			desc->running =
desc             1518 drivers/dma/sh/rcar-dmac.c 				list_first_entry(&desc->chunks,
desc             1526 drivers/dma/sh/rcar-dmac.c 	list_move_tail(&desc->node, &chan->desc.done);
desc             1529 drivers/dma/sh/rcar-dmac.c 	if (!list_empty(&chan->desc.active))
desc             1530 drivers/dma/sh/rcar-dmac.c 		chan->desc.running = list_first_entry(&chan->desc.active,
desc             1534 drivers/dma/sh/rcar-dmac.c 		chan->desc.running = NULL;
desc             1537 drivers/dma/sh/rcar-dmac.c 	if (chan->desc.running)
desc             1596 drivers/dma/sh/rcar-dmac.c 	struct rcar_dmac_desc *desc;
desc             1602 drivers/dma/sh/rcar-dmac.c 	if (chan->desc.running && chan->desc.running->cyclic) {
desc             1603 drivers/dma/sh/rcar-dmac.c 		desc = chan->desc.running;
desc             1604 drivers/dma/sh/rcar-dmac.c 		dmaengine_desc_get_callback(&desc->async_tx, &cb);
desc             1617 drivers/dma/sh/rcar-dmac.c 	while (!list_empty(&chan->desc.done)) {
desc             1618 drivers/dma/sh/rcar-dmac.c 		desc = list_first_entry(&chan->desc.done, struct rcar_dmac_desc,
desc             1620 drivers/dma/sh/rcar-dmac.c 		dma_cookie_complete(&desc->async_tx);
desc             1621 drivers/dma/sh/rcar-dmac.c 		list_del(&desc->node);
desc             1623 drivers/dma/sh/rcar-dmac.c 		dmaengine_desc_get_callback(&desc->async_tx, &cb);
desc             1635 drivers/dma/sh/rcar-dmac.c 		list_add_tail(&desc->node, &chan->desc.wait);
desc             1743 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.free);
desc             1744 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.pending);
desc             1745 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.active);
desc             1746 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.done);
desc             1747 drivers/dma/sh/rcar-dmac.c 	INIT_LIST_HEAD(&rchan->desc.wait);
desc               72 drivers/dma/sh/shdma-base.c 	struct shdma_desc *chunk, *c, *desc =
desc               86 drivers/dma/sh/shdma-base.c 	list_for_each_entry_safe(chunk, c, desc->node.prev, node) {
desc               91 drivers/dma/sh/shdma-base.c 		if (chunk != desc && (chunk->mark == DESC_IDLE ||
desc              208 drivers/dma/sh/shdma-base.c 	struct shdma_desc *desc;
desc              227 drivers/dma/sh/shdma-base.c 	schan->desc = kcalloc(NR_DESCS_PER_CHANNEL,
desc              229 drivers/dma/sh/shdma-base.c 	if (!schan->desc) {
desc              236 drivers/dma/sh/shdma-base.c 		desc = ops->embedded_desc(schan->desc, i);
desc              237 drivers/dma/sh/shdma-base.c 		dma_async_tx_descriptor_init(&desc->async_tx,
desc              239 drivers/dma/sh/shdma-base.c 		desc->async_tx.tx_submit = shdma_tx_submit;
desc              240 drivers/dma/sh/shdma-base.c 		desc->mark = DESC_IDLE;
desc              242 drivers/dma/sh/shdma-base.c 		list_add(&desc->node, &schan->ld_free);
desc              325 drivers/dma/sh/shdma-base.c 	struct shdma_desc *desc, *_desc;
desc              336 drivers/dma/sh/shdma-base.c 	list_for_each_entry_safe(desc, _desc, &schan->ld_queue, node) {
desc              337 drivers/dma/sh/shdma-base.c 		struct dma_async_tx_descriptor *tx = &desc->async_tx;
desc              339 drivers/dma/sh/shdma-base.c 		BUG_ON(tx->cookie > 0 && tx->cookie != desc->cookie);
desc              340 drivers/dma/sh/shdma-base.c 		BUG_ON(desc->mark != DESC_SUBMITTED &&
desc              341 drivers/dma/sh/shdma-base.c 		       desc->mark != DESC_COMPLETED &&
desc              342 drivers/dma/sh/shdma-base.c 		       desc->mark != DESC_WAITING);
desc              349 drivers/dma/sh/shdma-base.c 		if (!all && desc->mark == DESC_SUBMITTED &&
desc              350 drivers/dma/sh/shdma-base.c 		    desc->cookie != cookie)
desc              356 drivers/dma/sh/shdma-base.c 		if (desc->mark == DESC_COMPLETED && desc->chunks == 1) {
desc              357 drivers/dma/sh/shdma-base.c 			if (schan->dma_chan.completed_cookie != desc->cookie - 1)
desc              360 drivers/dma/sh/shdma-base.c 					desc->cookie,
desc              362 drivers/dma/sh/shdma-base.c 			schan->dma_chan.completed_cookie = desc->cookie;
desc              366 drivers/dma/sh/shdma-base.c 		if (desc->mark == DESC_COMPLETED && tx->callback) {
desc              367 drivers/dma/sh/shdma-base.c 			desc->mark = DESC_WAITING;
desc              372 drivers/dma/sh/shdma-base.c 			BUG_ON(desc->chunks != 1);
desc              377 drivers/dma/sh/shdma-base.c 			if (desc->mark == DESC_COMPLETED) {
desc              379 drivers/dma/sh/shdma-base.c 				desc->mark = DESC_WAITING;
desc              383 drivers/dma/sh/shdma-base.c 			switch (desc->mark) {
desc              385 drivers/dma/sh/shdma-base.c 				desc->mark = DESC_WAITING;
desc              389 drivers/dma/sh/shdma-base.c 					async_tx_ack(&desc->async_tx);
desc              396 drivers/dma/sh/shdma-base.c 		if (((desc->mark == DESC_COMPLETED ||
desc              397 drivers/dma/sh/shdma-base.c 		      desc->mark == DESC_WAITING) &&
desc              398 drivers/dma/sh/shdma-base.c 		     async_tx_test_ack(&desc->async_tx)) || all) {
desc              400 drivers/dma/sh/shdma-base.c 			if (all || !desc->cyclic) {
desc              402 drivers/dma/sh/shdma-base.c 				desc->mark = DESC_IDLE;
desc              403 drivers/dma/sh/shdma-base.c 				list_move(&desc->node, &schan->ld_free);
desc              406 drivers/dma/sh/shdma-base.c 				desc->mark = DESC_SUBMITTED;
desc              407 drivers/dma/sh/shdma-base.c 				list_move_tail(&desc->node, &cyclic_list);
desc              483 drivers/dma/sh/shdma-base.c 	kfree(schan->desc);
desc              698 drivers/dma/sh/shdma-base.c 	struct dma_async_tx_descriptor *desc;
desc              746 drivers/dma/sh/shdma-base.c 	desc = shdma_prep_sg(schan, sgl, sg_len, &slave_addr,
desc              750 drivers/dma/sh/shdma-base.c 	return desc;
desc              765 drivers/dma/sh/shdma-base.c 		struct shdma_desc *desc = list_first_entry(&schan->ld_queue,
desc              767 drivers/dma/sh/shdma-base.c 		desc->partial = ops->get_partial(schan, desc);
desc               81 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc;
desc              196 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc = chan->desc;
desc              197 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_sg *sg = desc->sg + index;
desc              202 drivers/dma/sh/usb-dmac.c 	if (desc->direction == DMA_DEV_TO_MEM)
desc              228 drivers/dma/sh/usb-dmac.c 		chan->desc = NULL;
desc              239 drivers/dma/sh/usb-dmac.c 	chan->desc = to_usb_dmac_desc(vd);
desc              240 drivers/dma/sh/usb-dmac.c 	chan->desc->sg_index = 0;
desc              266 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc;
desc              269 drivers/dma/sh/usb-dmac.c 	desc = kzalloc(struct_size(desc, sg, sg_len), gfp);
desc              270 drivers/dma/sh/usb-dmac.c 	if (!desc)
desc              273 drivers/dma/sh/usb-dmac.c 	desc->sg_allocated_len = sg_len;
desc              274 drivers/dma/sh/usb-dmac.c 	INIT_LIST_HEAD(&desc->node);
desc              277 drivers/dma/sh/usb-dmac.c 	list_add_tail(&desc->node, &chan->desc_freed);
desc              285 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc, *_desc;
desc              291 drivers/dma/sh/usb-dmac.c 	list_for_each_entry_safe(desc, _desc, &list, node) {
desc              292 drivers/dma/sh/usb-dmac.c 		list_del(&desc->node);
desc              293 drivers/dma/sh/usb-dmac.c 		kfree(desc);
desc              301 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc = NULL;
desc              306 drivers/dma/sh/usb-dmac.c 	list_for_each_entry(desc, &chan->desc_freed, node) {
desc              307 drivers/dma/sh/usb-dmac.c 		if (sg_len <= desc->sg_allocated_len) {
desc              308 drivers/dma/sh/usb-dmac.c 			list_move_tail(&desc->node, &chan->desc_got);
desc              310 drivers/dma/sh/usb-dmac.c 			return desc;
desc              319 drivers/dma/sh/usb-dmac.c 		desc = list_last_entry(&chan->desc_freed, struct usb_dmac_desc,
desc              321 drivers/dma/sh/usb-dmac.c 		list_move_tail(&desc->node, &chan->desc_got);
desc              323 drivers/dma/sh/usb-dmac.c 		return desc;
desc              330 drivers/dma/sh/usb-dmac.c 			      struct usb_dmac_desc *desc)
desc              335 drivers/dma/sh/usb-dmac.c 	list_move_tail(&desc->node, &chan->desc_freed);
desc              421 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc;
desc              431 drivers/dma/sh/usb-dmac.c 	desc = usb_dmac_desc_get(uchan, sg_len, GFP_NOWAIT);
desc              432 drivers/dma/sh/usb-dmac.c 	if (!desc)
desc              435 drivers/dma/sh/usb-dmac.c 	desc->direction = dir;
desc              436 drivers/dma/sh/usb-dmac.c 	desc->sg_len = sg_len;
desc              438 drivers/dma/sh/usb-dmac.c 		desc->sg[i].mem_addr = sg_dma_address(sg);
desc              439 drivers/dma/sh/usb-dmac.c 		desc->sg[i].size = sg_dma_len(sg);
desc              442 drivers/dma/sh/usb-dmac.c 	return vchan_tx_prep(&uchan->vc, &desc->vd, dma_flags);
desc              448 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc, *_desc;
desc              456 drivers/dma/sh/usb-dmac.c 	if (uchan->desc)
desc              457 drivers/dma/sh/usb-dmac.c 		uchan->desc = NULL;
desc              459 drivers/dma/sh/usb-dmac.c 	list_for_each_entry_safe(desc, _desc, &list, node)
desc              460 drivers/dma/sh/usb-dmac.c 		list_move_tail(&desc->node, &uchan->desc_freed);
desc              468 drivers/dma/sh/usb-dmac.c 						 struct usb_dmac_desc *desc,
desc              471 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_sg *sg = desc->sg + sg_index;
desc              479 drivers/dma/sh/usb-dmac.c 	if (desc->direction == DMA_DEV_TO_MEM)
desc              490 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc;
desc              493 drivers/dma/sh/usb-dmac.c 	list_for_each_entry_reverse(desc, &chan->desc_freed, node) {
desc              494 drivers/dma/sh/usb-dmac.c 		if (desc->done_cookie == cookie) {
desc              495 drivers/dma/sh/usb-dmac.c 			residue = desc->residue;
desc              508 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc = chan->desc;
desc              511 drivers/dma/sh/usb-dmac.c 	if (!desc) {
desc              515 drivers/dma/sh/usb-dmac.c 		desc = to_usb_dmac_desc(vd);
desc              519 drivers/dma/sh/usb-dmac.c 	for (i = desc->sg_index + 1; i < desc->sg_len; i++)
desc              520 drivers/dma/sh/usb-dmac.c 		residue += desc->sg[i].size;
desc              523 drivers/dma/sh/usb-dmac.c 	residue += usb_dmac_get_current_residue(chan, desc, desc->sg_index);
desc              560 drivers/dma/sh/usb-dmac.c 	if (vchan_issue_pending(&uchan->vc) && !uchan->desc)
desc              567 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc = to_usb_dmac_desc(vd);
desc              570 drivers/dma/sh/usb-dmac.c 	usb_dmac_desc_put(chan, desc);
desc              579 drivers/dma/sh/usb-dmac.c 	struct usb_dmac_desc *desc = chan->desc;
desc              581 drivers/dma/sh/usb-dmac.c 	BUG_ON(!desc);
desc              583 drivers/dma/sh/usb-dmac.c 	if (++desc->sg_index < desc->sg_len) {
desc              584 drivers/dma/sh/usb-dmac.c 		usb_dmac_chan_start_sg(chan, desc->sg_index);
desc              586 drivers/dma/sh/usb-dmac.c 		desc->residue = usb_dmac_get_current_residue(chan, desc,
desc              587 drivers/dma/sh/usb-dmac.c 							desc->sg_index - 1);
desc              588 drivers/dma/sh/usb-dmac.c 		desc->done_cookie = desc->vd.tx.cookie;
desc              589 drivers/dma/sh/usb-dmac.c 		vchan_cookie_complete(&desc->vd);
desc               82 drivers/dma/sirf-dma.c 	struct dma_async_tx_descriptor	desc;
desc              290 drivers/dma/sirf-dma.c 				dma_cookie_complete(&sdesc->desc);
desc              316 drivers/dma/sirf-dma.c 				dma_cookie_complete(&sdesc->desc);
desc              343 drivers/dma/sirf-dma.c 	struct dma_async_tx_descriptor *desc;
desc              360 drivers/dma/sirf-dma.c 				desc = &sdesc->desc;
desc              362 drivers/dma/sirf-dma.c 				dmaengine_desc_get_callback_invoke(desc, NULL);
desc              363 drivers/dma/sirf-dma.c 				last_cookie = desc->cookie;
desc              364 drivers/dma/sirf-dma.c 				dma_run_dependencies(desc);
desc              386 drivers/dma/sirf-dma.c 			desc = &sdesc->desc;
desc              388 drivers/dma/sirf-dma.c 				dmaengine_desc_get_callback_invoke(desc, NULL);
desc              411 drivers/dma/sirf-dma.c 	sdesc = container_of(txd, struct sirfsoc_dma_desc, desc);
desc              576 drivers/dma/sirf-dma.c 		dma_async_tx_descriptor_init(&sdesc->desc, chan);
desc              577 drivers/dma/sirf-dma.c 		sdesc->desc.flags = DMA_CTRL_ACK;
desc              578 drivers/dma/sirf-dma.c 		sdesc->desc.tx_submit = sirfsoc_dma_tx_submit;
desc              748 drivers/dma/sirf-dma.c 	return &sdesc->desc;
desc              801 drivers/dma/sirf-dma.c 	return &sdesc->desc;
desc               83 drivers/dma/st_fdma.c 	nbytes = fchan->fdesc->node[0].desc->nbytes;
desc              231 drivers/dma/st_fdma.c 		dma_pool_free(fdesc->fchan->node_pool, fdesc->node[i].desc,
desc              249 drivers/dma/st_fdma.c 		fdesc->node[i].desc = dma_pool_alloc(fchan->node_pool,
desc              251 drivers/dma/st_fdma.c 		if (!fdesc->node[i].desc)
desc              258 drivers/dma/st_fdma.c 		dma_pool_free(fchan->node_pool, fdesc->node[i].desc,
desc              329 drivers/dma/st_fdma.c 	hw_node = fdesc->node[0].desc;
desc              483 drivers/dma/st_fdma.c 		struct st_fdma_hw_node *hw_node = fdesc->node[i].desc;
desc              532 drivers/dma/st_fdma.c 		hw_node = fdesc->node[i].desc;
desc              573 drivers/dma/st_fdma.c 		residue += fdesc->node[i].desc->nbytes;
desc               85 drivers/dma/st_fdma.h 	struct st_fdma_hw_node *desc;
desc              768 drivers/dma/ste_dma40.c 	struct d40_desc *desc = NULL;
desc              777 drivers/dma/ste_dma40.c 				desc = d;
desc              778 drivers/dma/ste_dma40.c 				memset(desc, 0, sizeof(*desc));
desc              784 drivers/dma/ste_dma40.c 	if (!desc)
desc              785 drivers/dma/ste_dma40.c 		desc = kmem_cache_zalloc(d40c->base->desc_slab, GFP_NOWAIT);
desc              787 drivers/dma/ste_dma40.c 	if (desc)
desc              788 drivers/dma/ste_dma40.c 		INIT_LIST_HEAD(&desc->node);
desc              790 drivers/dma/ste_dma40.c 	return desc;
desc              801 drivers/dma/ste_dma40.c static void d40_desc_submit(struct d40_chan *d40c, struct d40_desc *desc)
desc              803 drivers/dma/ste_dma40.c 	list_add_tail(&desc->node, &d40c->active);
desc              806 drivers/dma/ste_dma40.c static void d40_phy_lli_load(struct d40_chan *chan, struct d40_desc *desc)
desc              808 drivers/dma/ste_dma40.c 	struct d40_phy_lli *lli_dst = desc->lli_phy.dst;
desc              809 drivers/dma/ste_dma40.c 	struct d40_phy_lli *lli_src = desc->lli_phy.src;
desc              823 drivers/dma/ste_dma40.c static void d40_desc_done(struct d40_chan *d40c, struct d40_desc *desc)
desc              825 drivers/dma/ste_dma40.c 	list_add_tail(&desc->node, &d40c->done);
desc              828 drivers/dma/ste_dma40.c static void d40_log_lli_to_lcxa(struct d40_chan *chan, struct d40_desc *desc)
desc              831 drivers/dma/ste_dma40.c 	struct d40_log_lli_bidir *lli = &desc->lli_log;
desc              832 drivers/dma/ste_dma40.c 	int lli_current = desc->lli_current;
desc              833 drivers/dma/ste_dma40.c 	int lli_len = desc->lli_len;
desc              834 drivers/dma/ste_dma40.c 	bool cyclic = desc->cyclic;
desc              859 drivers/dma/ste_dma40.c 			curr_lcla = d40_lcla_alloc_one(chan, desc);
desc              895 drivers/dma/ste_dma40.c 			next_lcla = d40_lcla_alloc_one(chan, desc);
desc              937 drivers/dma/ste_dma40.c 	desc->lli_current = lli_current;
desc              955 drivers/dma/ste_dma40.c static void d40_desc_queue(struct d40_chan *d40c, struct d40_desc *desc)
desc              957 drivers/dma/ste_dma40.c 	d40_desc_remove(desc);
desc              958 drivers/dma/ste_dma40.c 	desc->is_in_client_list = false;
desc              959 drivers/dma/ste_dma40.c 	list_add_tail(&desc->node, &d40c->pending_queue);
desc             2110 drivers/dma/ste_dma40.c d40_prep_sg_log(struct d40_chan *chan, struct d40_desc *desc,
desc             2122 drivers/dma/ste_dma40.c 				desc->lli_log.src,
desc             2129 drivers/dma/ste_dma40.c 				desc->lli_log.dst,
desc             2138 drivers/dma/ste_dma40.c d40_prep_sg_phy(struct d40_chan *chan, struct d40_desc *desc,
desc             2149 drivers/dma/ste_dma40.c 	if (desc->cyclic)
desc             2153 drivers/dma/ste_dma40.c 				desc->lli_phy.src,
desc             2154 drivers/dma/ste_dma40.c 				virt_to_phys(desc->lli_phy.src),
desc             2159 drivers/dma/ste_dma40.c 				desc->lli_phy.dst,
desc             2160 drivers/dma/ste_dma40.c 				virt_to_phys(desc->lli_phy.dst),
desc             2164 drivers/dma/ste_dma40.c 	dma_sync_single_for_device(chan->base->dev, desc->lli_pool.dma_addr,
desc             2165 drivers/dma/ste_dma40.c 				   desc->lli_pool.size, DMA_TO_DEVICE);
desc             2175 drivers/dma/ste_dma40.c 	struct d40_desc *desc;
desc             2178 drivers/dma/ste_dma40.c 	desc = d40_desc_get(chan);
desc             2179 drivers/dma/ste_dma40.c 	if (!desc)
desc             2183 drivers/dma/ste_dma40.c 	desc->lli_len = d40_sg_2_dmalen(sg, sg_len, cfg->src_info.data_width,
desc             2185 drivers/dma/ste_dma40.c 	if (desc->lli_len < 0) {
desc             2190 drivers/dma/ste_dma40.c 	ret = d40_pool_lli_alloc(chan, desc, desc->lli_len);
desc             2196 drivers/dma/ste_dma40.c 	desc->lli_current = 0;
desc             2197 drivers/dma/ste_dma40.c 	desc->txd.flags = dma_flags;
desc             2198 drivers/dma/ste_dma40.c 	desc->txd.tx_submit = d40_tx_submit;
desc             2200 drivers/dma/ste_dma40.c 	dma_async_tx_descriptor_init(&desc->txd, &chan->chan);
desc             2202 drivers/dma/ste_dma40.c 	return desc;
desc             2204 drivers/dma/ste_dma40.c 	d40_desc_free(chan, desc);
desc             2216 drivers/dma/ste_dma40.c 	struct d40_desc *desc;
desc             2229 drivers/dma/ste_dma40.c 	desc = d40_prep_desc(chan, sg_src, sg_len, dma_flags);
desc             2230 drivers/dma/ste_dma40.c 	if (desc == NULL)
desc             2234 drivers/dma/ste_dma40.c 		desc->cyclic = true;
desc             2244 drivers/dma/ste_dma40.c 		ret = d40_prep_sg_log(chan, desc, sg_src, sg_dst,
desc             2247 drivers/dma/ste_dma40.c 		ret = d40_prep_sg_phy(chan, desc, sg_src, sg_dst,
desc             2260 drivers/dma/ste_dma40.c 	list_add_tail(&desc->node, &chan->prepare_queue);
desc             2264 drivers/dma/ste_dma40.c 	return &desc->txd;
desc             2266 drivers/dma/ste_dma40.c 	d40_desc_free(chan, desc);
desc              197 drivers/dma/stm32-dma.c 	struct stm32_dma_desc *desc;
desc              493 drivers/dma/stm32-dma.c 		chan->desc = NULL;
desc              543 drivers/dma/stm32-dma.c 	if (!chan->desc) {
desc              548 drivers/dma/stm32-dma.c 		chan->desc = to_stm32_dma_desc(vdesc);
desc              552 drivers/dma/stm32-dma.c 	if (chan->next_sg == chan->desc->num_sgs)
desc              555 drivers/dma/stm32-dma.c 	sg_req = &chan->desc->sg_req[chan->next_sg];
desc              572 drivers/dma/stm32-dma.c 	if (chan->desc->cyclic)
desc              596 drivers/dma/stm32-dma.c 		if (chan->next_sg == chan->desc->num_sgs)
desc              599 drivers/dma/stm32-dma.c 		sg_req = &chan->desc->sg_req[chan->next_sg];
desc              617 drivers/dma/stm32-dma.c 	if (chan->desc) {
desc              618 drivers/dma/stm32-dma.c 		if (chan->desc->cyclic) {
desc              619 drivers/dma/stm32-dma.c 			vchan_cyclic_callback(&chan->desc->vdesc);
desc              624 drivers/dma/stm32-dma.c 			if (chan->next_sg == chan->desc->num_sgs) {
desc              625 drivers/dma/stm32-dma.c 				list_del(&chan->desc->vdesc.node);
desc              626 drivers/dma/stm32-dma.c 				vchan_cookie_complete(&chan->desc->vdesc);
desc              627 drivers/dma/stm32-dma.c 				chan->desc = NULL;
desc              684 drivers/dma/stm32-dma.c 	if (vchan_issue_pending(&chan->vchan) && !chan->desc && !chan->busy) {
desc              834 drivers/dma/stm32-dma.c 	struct stm32_dma_desc *desc;
desc              850 drivers/dma/stm32-dma.c 	desc = kzalloc(struct_size(desc, sg_req, sg_len), GFP_NOWAIT);
desc              851 drivers/dma/stm32-dma.c 	if (!desc)
desc              866 drivers/dma/stm32-dma.c 		desc->sg_req[i].len = sg_dma_len(sg);
desc              868 drivers/dma/stm32-dma.c 		nb_data_items = desc->sg_req[i].len / buswidth;
desc              874 drivers/dma/stm32-dma.c 		stm32_dma_clear_reg(&desc->sg_req[i].chan_reg);
desc              875 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_scr = chan->chan_reg.dma_scr;
desc              876 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sfcr = chan->chan_reg.dma_sfcr;
desc              877 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_spar = chan->chan_reg.dma_spar;
desc              878 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sm0ar = sg_dma_address(sg);
desc              879 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sm1ar = sg_dma_address(sg);
desc              880 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sndtr = nb_data_items;
desc              883 drivers/dma/stm32-dma.c 	desc->num_sgs = sg_len;
desc              884 drivers/dma/stm32-dma.c 	desc->cyclic = false;
desc              886 drivers/dma/stm32-dma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              889 drivers/dma/stm32-dma.c 	kfree(desc);
desc              899 drivers/dma/stm32-dma.c 	struct stm32_dma_desc *desc;
desc              951 drivers/dma/stm32-dma.c 	desc = kzalloc(struct_size(desc, sg_req, num_periods), GFP_NOWAIT);
desc              952 drivers/dma/stm32-dma.c 	if (!desc)
desc              956 drivers/dma/stm32-dma.c 		desc->sg_req[i].len = period_len;
desc              958 drivers/dma/stm32-dma.c 		stm32_dma_clear_reg(&desc->sg_req[i].chan_reg);
desc              959 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_scr = chan->chan_reg.dma_scr;
desc              960 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sfcr = chan->chan_reg.dma_sfcr;
desc              961 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_spar = chan->chan_reg.dma_spar;
desc              962 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sm0ar = buf_addr;
desc              963 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sm1ar = buf_addr;
desc              964 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sndtr = nb_data_items;
desc              968 drivers/dma/stm32-dma.c 	desc->num_sgs = num_periods;
desc              969 drivers/dma/stm32-dma.c 	desc->cyclic = true;
desc              971 drivers/dma/stm32-dma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              980 drivers/dma/stm32-dma.c 	struct stm32_dma_desc *desc;
desc              986 drivers/dma/stm32-dma.c 	desc = kzalloc(struct_size(desc, sg_req, num_sgs), GFP_NOWAIT);
desc              987 drivers/dma/stm32-dma.c 	if (!desc)
desc             1002 drivers/dma/stm32-dma.c 		stm32_dma_clear_reg(&desc->sg_req[i].chan_reg);
desc             1003 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_scr =
desc             1011 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sfcr |= STM32_DMA_SFCR_MASK;
desc             1012 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sfcr |=
desc             1014 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_spar = src + offset;
desc             1015 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sm0ar = dest + offset;
desc             1016 drivers/dma/stm32-dma.c 		desc->sg_req[i].chan_reg.dma_sndtr = xfer_count;
desc             1017 drivers/dma/stm32-dma.c 		desc->sg_req[i].len = xfer_count;
desc             1020 drivers/dma/stm32-dma.c 	desc->num_sgs = num_sgs;
desc             1021 drivers/dma/stm32-dma.c 	desc->cyclic = false;
desc             1023 drivers/dma/stm32-dma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc             1062 drivers/dma/stm32-dma.c 	sg_req = &chan->desc->sg_req[chan->next_sg];
desc             1075 drivers/dma/stm32-dma.c 				     struct stm32_dma_desc *desc,
desc             1081 drivers/dma/stm32-dma.c 	struct stm32_dma_sg_req *sg_req = &chan->desc->sg_req[chan->next_sg];
desc             1113 drivers/dma/stm32-dma.c 		if (n_sg == chan->desc->num_sgs)
desc             1125 drivers/dma/stm32-dma.c 	if (!chan->desc->cyclic || n_sg != 0)
desc             1126 drivers/dma/stm32-dma.c 		for (i = n_sg; i < desc->num_sgs; i++)
desc             1127 drivers/dma/stm32-dma.c 			residue += desc->sg_req[i].len;
desc             1156 drivers/dma/stm32-dma.c 	if (chan->desc && cookie == chan->desc->vdesc.tx.cookie)
desc             1157 drivers/dma/stm32-dma.c 		residue = stm32_dma_desc_residue(chan, chan->desc,
desc             1199 drivers/dma/stm32-dma.c 		chan->desc = NULL;
desc              262 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc;
desc              340 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc;
desc              343 drivers/dma/stm32-mdma.c 	desc = kzalloc(offsetof(typeof(*desc), node[count]), GFP_NOWAIT);
desc              344 drivers/dma/stm32-mdma.c 	if (!desc)
desc              348 drivers/dma/stm32-mdma.c 		desc->node[i].hwdesc =
desc              350 drivers/dma/stm32-mdma.c 				       &desc->node[i].hwdesc_phys);
desc              351 drivers/dma/stm32-mdma.c 		if (!desc->node[i].hwdesc)
desc              355 drivers/dma/stm32-mdma.c 	desc->count = count;
desc              357 drivers/dma/stm32-mdma.c 	return desc;
desc              362 drivers/dma/stm32-mdma.c 		dma_pool_free(chan->desc_pool, desc->node[i].hwdesc,
desc              363 drivers/dma/stm32-mdma.c 			      desc->node[i].hwdesc_phys);
desc              364 drivers/dma/stm32-mdma.c 	kfree(desc);
desc              370 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc = to_stm32_mdma_desc(vdesc);
desc              374 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
desc              375 drivers/dma/stm32-mdma.c 		dma_pool_free(chan->desc_pool, desc->node[i].hwdesc,
desc              376 drivers/dma/stm32-mdma.c 			      desc->node[i].hwdesc_phys);
desc              377 drivers/dma/stm32-mdma.c 	kfree(desc);
desc              690 drivers/dma/stm32-mdma.c 				    struct stm32_mdma_desc *desc,
desc              700 drivers/dma/stm32-mdma.c 	hwdesc = desc->node[count].hwdesc;
desc              716 drivers/dma/stm32-mdma.c 			hwdesc->clar = desc->node[0].hwdesc_phys;
desc              720 drivers/dma/stm32-mdma.c 		hwdesc->clar = desc->node[next].hwdesc_phys;
desc              723 drivers/dma/stm32-mdma.c 	stm32_mdma_dump_hwdesc(chan, &desc->node[count]);
desc              727 drivers/dma/stm32-mdma.c 				 struct stm32_mdma_desc *desc,
desc              765 drivers/dma/stm32-mdma.c 		stm32_mdma_setup_hwdesc(chan, desc, direction, i, src_addr,
desc              775 drivers/dma/stm32-mdma.c 	desc->ccr = ccr;
desc              786 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc;
desc              794 drivers/dma/stm32-mdma.c 	if (chan->desc && chan->desc->cyclic) {
desc              800 drivers/dma/stm32-mdma.c 	desc = stm32_mdma_alloc_desc(chan, sg_len);
desc              801 drivers/dma/stm32-mdma.c 	if (!desc)
desc              804 drivers/dma/stm32-mdma.c 	ret = stm32_mdma_setup_xfer(chan, desc, sgl, sg_len, direction);
desc              808 drivers/dma/stm32-mdma.c 	desc->cyclic = false;
desc              810 drivers/dma/stm32-mdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              813 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
desc              814 drivers/dma/stm32-mdma.c 		dma_pool_free(chan->desc_pool, desc->node[i].hwdesc,
desc              815 drivers/dma/stm32-mdma.c 			      desc->node[i].hwdesc_phys);
desc              816 drivers/dma/stm32-mdma.c 	kfree(desc);
desc              829 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc;
desc              839 drivers/dma/stm32-mdma.c 	if (chan->desc && chan->desc->cyclic) {
desc              857 drivers/dma/stm32-mdma.c 	desc = stm32_mdma_alloc_desc(chan, count);
desc              858 drivers/dma/stm32-mdma.c 	if (!desc)
desc              882 drivers/dma/stm32-mdma.c 	desc->ccr = ccr;
desc              894 drivers/dma/stm32-mdma.c 		stm32_mdma_setup_hwdesc(chan, desc, direction, i, src_addr,
desc              899 drivers/dma/stm32-mdma.c 	desc->cyclic = true;
desc              901 drivers/dma/stm32-mdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              904 drivers/dma/stm32-mdma.c 	for (i = 0; i < desc->count; i++)
desc              905 drivers/dma/stm32-mdma.c 		dma_pool_free(chan->desc_pool, desc->node[i].hwdesc,
desc              906 drivers/dma/stm32-mdma.c 			      desc->node[i].hwdesc_phys);
desc              907 drivers/dma/stm32-mdma.c 	kfree(desc);
desc              918 drivers/dma/stm32-mdma.c 	struct stm32_mdma_desc *desc;
desc              931 drivers/dma/stm32-mdma.c 	if (chan->desc && chan->desc->cyclic) {
desc              938 drivers/dma/stm32-mdma.c 	desc = stm32_mdma_alloc_desc(chan, count);
desc              939 drivers/dma/stm32-mdma.c 	if (!desc)
desc             1020 drivers/dma/stm32-mdma.c 		hwdesc = desc->node[0].hwdesc;
desc             1031 drivers/dma/stm32-mdma.c 		stm32_mdma_dump_hwdesc(chan, &desc->node[0]);
desc             1076 drivers/dma/stm32-mdma.c 			stm32_mdma_setup_hwdesc(chan, desc, DMA_MEM_TO_MEM, i,
desc             1083 drivers/dma/stm32-mdma.c 	desc->ccr = ccr;
desc             1085 drivers/dma/stm32-mdma.c 	desc->cyclic = false;
desc             1087 drivers/dma/stm32-mdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc             1126 drivers/dma/stm32-mdma.c 		chan->desc = NULL;
desc             1130 drivers/dma/stm32-mdma.c 	chan->desc = to_stm32_mdma_desc(vdesc);
desc             1131 drivers/dma/stm32-mdma.c 	hwdesc = chan->desc->node[0].hwdesc;
desc             1134 drivers/dma/stm32-mdma.c 	stm32_mdma_write(dmadev, STM32_MDMA_CCR(id), chan->desc->ccr);
desc             1178 drivers/dma/stm32-mdma.c 	if (!chan->desc && !chan->busy)
desc             1209 drivers/dma/stm32-mdma.c 	hwdesc = chan->desc->node[chan->curr_hwdesc].hwdesc;
desc             1214 drivers/dma/stm32-mdma.c 	stm32_mdma_write(dmadev, STM32_MDMA_CCR(chan->id), chan->desc->ccr);
desc             1247 drivers/dma/stm32-mdma.c 		chan->desc = NULL;
desc             1275 drivers/dma/stm32-mdma.c 				      struct stm32_mdma_desc *desc,
desc             1279 drivers/dma/stm32-mdma.c 	struct stm32_mdma_hwdesc *hwdesc = desc->node[0].hwdesc;
desc             1284 drivers/dma/stm32-mdma.c 	for (i = curr_hwdesc + 1; i < desc->count; i++) {
desc             1285 drivers/dma/stm32-mdma.c 		hwdesc = desc->node[i].hwdesc;
desc             1319 drivers/dma/stm32-mdma.c 	if (chan->desc && cookie == chan->desc->vdesc.tx.cookie)
desc             1320 drivers/dma/stm32-mdma.c 		residue = stm32_mdma_desc_residue(chan, chan->desc,
desc             1334 drivers/dma/stm32-mdma.c 	list_del(&chan->desc->vdesc.node);
desc             1335 drivers/dma/stm32-mdma.c 	vchan_cookie_complete(&chan->desc->vdesc);
desc             1336 drivers/dma/stm32-mdma.c 	chan->desc = NULL;
desc             1411 drivers/dma/stm32-mdma.c 		if (chan->desc && chan->desc->cyclic) {
desc             1412 drivers/dma/stm32-mdma.c 			if (chan->curr_hwdesc == chan->desc->count)
desc             1414 drivers/dma/stm32-mdma.c 			vchan_cyclic_callback(&chan->desc->vdesc);
desc             1471 drivers/dma/stm32-mdma.c 		chan->desc = NULL;
desc              171 drivers/dma/sun6i-dma.c 	struct sun6i_desc	*desc;
desc              343 drivers/dma/sun6i-dma.c 	struct sun6i_desc *txd = pchan->desc;
desc              430 drivers/dma/sun6i-dma.c 	struct virt_dma_desc *desc = vchan_next_desc(&vchan->vc);
desc              437 drivers/dma/sun6i-dma.c 	if (!desc) {
desc              438 drivers/dma/sun6i-dma.c 		pchan->desc = NULL;
desc              443 drivers/dma/sun6i-dma.c 	list_del(&desc->node);
desc              445 drivers/dma/sun6i-dma.c 	pchan->desc = to_sun6i_desc(&desc->tx);
desc              448 drivers/dma/sun6i-dma.c 	sun6i_dma_dump_lli(vchan, pchan->desc->v_lli);
desc              461 drivers/dma/sun6i-dma.c 	writel(pchan->desc->p_lli, pchan->base + DMA_CHAN_LLI_ADDR);
desc              558 drivers/dma/sun6i-dma.c 					vchan_cyclic_callback(&pchan->desc->vd);
desc              561 drivers/dma/sun6i-dma.c 					vchan_cookie_complete(&pchan->desc->vd);
desc              562 drivers/dma/sun6i-dma.c 					pchan->done = pchan->desc;
desc              900 drivers/dma/sun6i-dma.c 		if (pchan && pchan->desc) {
desc              901 drivers/dma/sun6i-dma.c 			struct virt_dma_desc *vd = &pchan->desc->vd;
desc              916 drivers/dma/sun6i-dma.c 		pchan->desc = NULL;
desc              952 drivers/dma/sun6i-dma.c 	} else if (!pchan || !pchan->desc) {
desc              132 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc		*desc;
desc              347 drivers/dma/tegra210-adma.c 	kfree(tdc->desc);
desc              348 drivers/dma/tegra210-adma.c 	tdc->desc = NULL;
desc              355 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc;
desc              362 drivers/dma/tegra210-adma.c 	desc = to_tegra_adma_desc(&vd->tx);
desc              364 drivers/dma/tegra210-adma.c 	if (!desc) {
desc              369 drivers/dma/tegra210-adma.c 	ch_regs = &desc->ch_regs;
desc              383 drivers/dma/tegra210-adma.c 	tdc->desc = desc;
desc              388 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc = tdc->desc;
desc              401 drivers/dma/tegra210-adma.c 	periods_remaining = tdc->tx_buf_count % desc->num_periods;
desc              404 drivers/dma/tegra210-adma.c 	return desc->buf_len - (periods_remaining * desc->period_len);
desc              416 drivers/dma/tegra210-adma.c 	if (status == 0 || !tdc->desc) {
desc              421 drivers/dma/tegra210-adma.c 	vchan_cyclic_callback(&tdc->desc->vd);
desc              436 drivers/dma/tegra210-adma.c 		if (!tdc->desc)
desc              456 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc = tdc->desc;
desc              457 drivers/dma/tegra210-adma.c 	struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs;
desc              478 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc = tdc->desc;
desc              479 drivers/dma/tegra210-adma.c 	struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs;
desc              496 drivers/dma/tegra210-adma.c 	if (tdc->desc)
desc              512 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc;
desc              526 drivers/dma/tegra210-adma.c 		desc = to_tegra_adma_desc(&vd->tx);
desc              527 drivers/dma/tegra210-adma.c 		residual = desc->ch_regs.tc;
desc              528 drivers/dma/tegra210-adma.c 	} else if (tdc->desc && tdc->desc->vd.tx.cookie == cookie) {
desc              558 drivers/dma/tegra210-adma.c 				      struct tegra_adma_desc *desc,
desc              562 drivers/dma/tegra210-adma.c 	struct tegra_adma_chan_regs *ch_regs = &desc->ch_regs;
desc              566 drivers/dma/tegra210-adma.c 	if (desc->num_periods > ADMA_CH_CONFIG_MAX_BUFS)
desc              573 drivers/dma/tegra210-adma.c 		ch_regs->config = ADMA_CH_CONFIG_SRC_BUF(desc->num_periods - 1);
desc              583 drivers/dma/tegra210-adma.c 		ch_regs->config = ADMA_CH_CONFIG_TRG_BUF(desc->num_periods - 1);
desc              603 drivers/dma/tegra210-adma.c 	ch_regs->tc = desc->period_len & ADMA_CH_TC_COUNT_MASK;
desc              614 drivers/dma/tegra210-adma.c 	struct tegra_adma_desc *desc = NULL;
desc              631 drivers/dma/tegra210-adma.c 	desc = kzalloc(sizeof(*desc), GFP_NOWAIT);
desc              632 drivers/dma/tegra210-adma.c 	if (!desc)
desc              635 drivers/dma/tegra210-adma.c 	desc->buf_len = buf_len;
desc              636 drivers/dma/tegra210-adma.c 	desc->period_len = period_len;
desc              637 drivers/dma/tegra210-adma.c 	desc->num_periods = buf_len / period_len;
desc              639 drivers/dma/tegra210-adma.c 	if (tegra_adma_set_xfer_params(tdc, desc, buf_addr, direction)) {
desc              640 drivers/dma/tegra210-adma.c 		kfree(desc);
desc              644 drivers/dma/tegra210-adma.c 	return vchan_tx_prep(&tdc->vc, &desc->vd, flags);
desc               89 drivers/dma/ti/cppi41.c 	struct cppi41_desc *desc;
desc              254 drivers/dma/ti/cppi41.c static struct cppi41_channel *desc_to_chan(struct cppi41_dd *cdd, u32 desc)
desc              262 drivers/dma/ti/cppi41.c 	if (!((desc >= cdd->descs_phys) &&
desc              263 drivers/dma/ti/cppi41.c 			(desc < (cdd->descs_phys + descs_size)))) {
desc              267 drivers/dma/ti/cppi41.c 	desc_num = (desc - cdd->descs_phys) / sizeof(struct cppi41_desc);
desc              295 drivers/dma/ti/cppi41.c 	u32 desc;
desc              297 drivers/dma/ti/cppi41.c 	desc = cppi_readl(cdd->qmgr_mem + QMGR_QUEUE_D(queue_num));
desc              298 drivers/dma/ti/cppi41.c 	desc &= ~0x1f;
desc              299 drivers/dma/ti/cppi41.c 	return desc;
desc              330 drivers/dma/ti/cppi41.c 			u32 desc, len;
desc              341 drivers/dma/ti/cppi41.c 			desc = cppi41_pop_desc(cdd, q_num);
desc              342 drivers/dma/ti/cppi41.c 			c = desc_to_chan(cdd, desc);
desc              345 drivers/dma/ti/cppi41.c 						q_num, desc);
desc              349 drivers/dma/ti/cppi41.c 			if (c->desc->pd2 & PD2_ZERO_LENGTH)
desc              352 drivers/dma/ti/cppi41.c 				len = pd_trans_len(c->desc->pd0);
desc              354 drivers/dma/ti/cppi41.c 			c->residue = pd_trans_len(c->desc->pd6) - len;
desc              606 drivers/dma/ti/cppi41.c 	d = c->desc;
desc              804 drivers/dma/ti/cppi41.c 		cchan->desc = &cdd->cd[i];
desc               54 drivers/dma/ti/omap-dma.c 	struct omap_desc *desc;
desc              536 drivers/dma/ti/omap-dma.c 		c->desc = NULL;
desc              542 drivers/dma/ti/omap-dma.c 	c->desc = d = to_omap_dma_desc(&vd->tx);
desc              582 drivers/dma/ti/omap-dma.c 	d = c->desc;
desc              826 drivers/dma/ti/omap-dma.c 	if (c->desc && c->desc->vd.tx.cookie == cookie)
desc              827 drivers/dma/ti/omap-dma.c 		d = c->desc;
desc              880 drivers/dma/ti/omap-dma.c 	if (vchan_issue_pending(&c->vc) && !c->desc)
desc             1327 drivers/dma/ti/omap-dma.c 	if (c->desc) {
desc             1328 drivers/dma/ti/omap-dma.c 		vchan_terminate_vdesc(&c->desc->vd);
desc             1329 drivers/dma/ti/omap-dma.c 		c->desc = NULL;
desc             1362 drivers/dma/ti/omap-dma.c 	if (!c->desc)
desc             1391 drivers/dma/ti/omap-dma.c 	else if (c->desc->dir == DMA_DEV_TO_MEM)
desc             1414 drivers/dma/ti/omap-dma.c 	if (c->paused && c->desc) {
desc             1418 drivers/dma/ti/omap-dma.c 		omap_dma_chan_write(c, CLNK_CTRL, c->desc->clnk_ctrl);
desc             1420 drivers/dma/ti/omap-dma.c 		omap_dma_start(c, c->desc);
desc              145 drivers/dma/txx9dmac.c 				 const struct txx9dmac_desc *desc)
desc              147 drivers/dma/txx9dmac.c 	return is_dmac64(dc) ? desc->hwdesc.CHAR : desc->hwdesc32.CHAR;
desc              151 drivers/dma/txx9dmac.c 			    struct txx9dmac_desc *desc, dma_addr_t val)
desc              154 drivers/dma/txx9dmac.c 		desc->hwdesc.CHAR = val;
desc              156 drivers/dma/txx9dmac.c 		desc->hwdesc32.CHAR = val;
desc              180 drivers/dma/txx9dmac.c static struct txx9dmac_desc *txx9dmac_last_child(struct txx9dmac_desc *desc)
desc              182 drivers/dma/txx9dmac.c 	if (!list_empty(&desc->tx_list))
desc              183 drivers/dma/txx9dmac.c 		desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node);
desc              184 drivers/dma/txx9dmac.c 	return desc;
desc              193 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc;
desc              195 drivers/dma/txx9dmac.c 	desc = kzalloc(sizeof(*desc), flags);
desc              196 drivers/dma/txx9dmac.c 	if (!desc)
desc              198 drivers/dma/txx9dmac.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              199 drivers/dma/txx9dmac.c 	dma_async_tx_descriptor_init(&desc->txd, &dc->chan);
desc              200 drivers/dma/txx9dmac.c 	desc->txd.tx_submit = txx9dmac_tx_submit;
desc              202 drivers/dma/txx9dmac.c 	desc->txd.flags = DMA_CTRL_ACK;
desc              203 drivers/dma/txx9dmac.c 	desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc,
desc              205 drivers/dma/txx9dmac.c 	return desc;
desc              210 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc, *_desc;
desc              215 drivers/dma/txx9dmac.c 	list_for_each_entry_safe(desc, _desc, &dc->free_list, desc_node) {
desc              216 drivers/dma/txx9dmac.c 		if (async_tx_test_ack(&desc->txd)) {
desc              217 drivers/dma/txx9dmac.c 			list_del(&desc->desc_node);
desc              218 drivers/dma/txx9dmac.c 			ret = desc;
desc              221 drivers/dma/txx9dmac.c 		dev_dbg(chan2dev(&dc->chan), "desc %p not ACKed\n", desc);
desc              242 drivers/dma/txx9dmac.c 				       struct txx9dmac_desc *desc)
desc              247 drivers/dma/txx9dmac.c 	list_for_each_entry(child, &desc->tx_list, desc_node)
desc              252 drivers/dma/txx9dmac.c 			desc->txd.phys, ddev->descsize,
desc              261 drivers/dma/txx9dmac.c 			      struct txx9dmac_desc *desc)
desc              263 drivers/dma/txx9dmac.c 	if (desc) {
desc              266 drivers/dma/txx9dmac.c 		txx9dmac_sync_desc_for_cpu(dc, desc);
desc              269 drivers/dma/txx9dmac.c 		list_for_each_entry(child, &desc->tx_list, desc_node)
desc              273 drivers/dma/txx9dmac.c 		list_splice_init(&desc->tx_list, &dc->free_list);
desc              275 drivers/dma/txx9dmac.c 			 desc);
desc              276 drivers/dma/txx9dmac.c 		list_add(&desc->desc_node, &dc->free_list);
desc              400 drivers/dma/txx9dmac.c 			     struct txx9dmac_desc *desc)
desc              403 drivers/dma/txx9dmac.c 	struct dma_async_tx_descriptor *txd = &desc->txd;
desc              406 drivers/dma/txx9dmac.c 		 txd->cookie, desc);
desc              411 drivers/dma/txx9dmac.c 	txx9dmac_sync_desc_for_cpu(dc, desc);
desc              412 drivers/dma/txx9dmac.c 	list_splice_init(&desc->tx_list, &dc->free_list);
desc              413 drivers/dma/txx9dmac.c 	list_move(&desc->desc_node, &dc->free_list);
desc              427 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc;
desc              432 drivers/dma/txx9dmac.c 		desc = txx9dmac_first_queued(dc);
desc              434 drivers/dma/txx9dmac.c 			desc_write_CHAR(dc, prev, desc->txd.phys);
desc              439 drivers/dma/txx9dmac.c 		prev = txx9dmac_last_child(desc);
desc              440 drivers/dma/txx9dmac.c 		list_move_tail(&desc->desc_node, list);
desc              442 drivers/dma/txx9dmac.c 		if ((desc->txd.flags & DMA_PREP_INTERRUPT) &&
desc              450 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc, *_desc;
desc              463 drivers/dma/txx9dmac.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc              464 drivers/dma/txx9dmac.c 		txx9dmac_descriptor_complete(dc, desc);
desc              468 drivers/dma/txx9dmac.c 			       struct txx9dmac_hwdesc *desc)
desc              474 drivers/dma/txx9dmac.c 			 (u64)desc->CHAR, desc->SAR, desc->DAR, desc->CNTR);
desc              479 drivers/dma/txx9dmac.c 			 (u64)desc->CHAR, desc->SAR, desc->DAR, desc->CNTR,
desc              480 drivers/dma/txx9dmac.c 			 desc->SAIR, desc->DAIR, desc->CCR, desc->CSR);
desc              483 drivers/dma/txx9dmac.c 		struct txx9dmac_hwdesc32 *d = (struct txx9dmac_hwdesc32 *)desc;
desc              539 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc, *_desc;
desc              564 drivers/dma/txx9dmac.c 	list_for_each_entry_safe(desc, _desc, &dc->active_list, desc_node) {
desc              565 drivers/dma/txx9dmac.c 		if (desc_read_CHAR(dc, desc) == chain) {
desc              572 drivers/dma/txx9dmac.c 		list_for_each_entry(child, &desc->tx_list, desc_node)
desc              584 drivers/dma/txx9dmac.c 		txx9dmac_descriptor_complete(dc, desc);
desc              692 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc = txd_to_txx9dmac_desc(tx);
desc              700 drivers/dma/txx9dmac.c 		 desc->txd.cookie, desc);
desc              702 drivers/dma/txx9dmac.c 	list_add_tail(&desc->desc_node, &dc->queue);
desc              714 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc;
desc              748 drivers/dma/txx9dmac.c 		desc = txx9dmac_desc_get(dc);
desc              749 drivers/dma/txx9dmac.c 		if (!desc) {
desc              755 drivers/dma/txx9dmac.c 			desc->hwdesc.SAR = src + offset;
desc              756 drivers/dma/txx9dmac.c 			desc->hwdesc.DAR = dest + offset;
desc              757 drivers/dma/txx9dmac.c 			desc->hwdesc.CNTR = xfer_count;
desc              758 drivers/dma/txx9dmac.c 			txx9dmac_desc_set_nosimple(ddev, desc, 8, 8,
desc              761 drivers/dma/txx9dmac.c 			desc->hwdesc32.SAR = src + offset;
desc              762 drivers/dma/txx9dmac.c 			desc->hwdesc32.DAR = dest + offset;
desc              763 drivers/dma/txx9dmac.c 			desc->hwdesc32.CNTR = xfer_count;
desc              764 drivers/dma/txx9dmac.c 			txx9dmac_desc_set_nosimple(ddev, desc, 4, 4,
desc              776 drivers/dma/txx9dmac.c 			first = desc;
desc              778 drivers/dma/txx9dmac.c 			desc_write_CHAR(dc, prev, desc->txd.phys);
desc              782 drivers/dma/txx9dmac.c 			list_add_tail(&desc->desc_node, &first->tx_list);
desc              784 drivers/dma/txx9dmac.c 		prev = desc;
desc              828 drivers/dma/txx9dmac.c 		struct txx9dmac_desc *desc;
desc              832 drivers/dma/txx9dmac.c 		desc = txx9dmac_desc_get(dc);
desc              833 drivers/dma/txx9dmac.c 		if (!desc) {
desc              842 drivers/dma/txx9dmac.c 				desc->hwdesc.SAR = mem;
desc              843 drivers/dma/txx9dmac.c 				desc->hwdesc.DAR = ds->tx_reg;
desc              845 drivers/dma/txx9dmac.c 				desc->hwdesc.SAR = ds->rx_reg;
desc              846 drivers/dma/txx9dmac.c 				desc->hwdesc.DAR = mem;
desc              848 drivers/dma/txx9dmac.c 			desc->hwdesc.CNTR = sg_dma_len(sg);
desc              851 drivers/dma/txx9dmac.c 				desc->hwdesc32.SAR = mem;
desc              852 drivers/dma/txx9dmac.c 				desc->hwdesc32.DAR = ds->tx_reg;
desc              854 drivers/dma/txx9dmac.c 				desc->hwdesc32.SAR = ds->rx_reg;
desc              855 drivers/dma/txx9dmac.c 				desc->hwdesc32.DAR = mem;
desc              857 drivers/dma/txx9dmac.c 			desc->hwdesc32.CNTR = sg_dma_len(sg);
desc              866 drivers/dma/txx9dmac.c 		txx9dmac_desc_set_nosimple(ddev, desc, sai, dai,
desc              870 drivers/dma/txx9dmac.c 			first = desc;
desc              872 drivers/dma/txx9dmac.c 			desc_write_CHAR(dc, prev, desc->txd.phys);
desc              877 drivers/dma/txx9dmac.c 			list_add_tail(&desc->desc_node, &first->tx_list);
desc              879 drivers/dma/txx9dmac.c 		prev = desc;
desc              900 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc, *_desc;
desc              915 drivers/dma/txx9dmac.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node)
desc              916 drivers/dma/txx9dmac.c 		txx9dmac_descriptor_complete(dc, desc);
desc              943 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc;
desc              948 drivers/dma/txx9dmac.c 	desc = list_entry(list.next, struct txx9dmac_desc, desc_node);
desc              949 drivers/dma/txx9dmac.c 	desc_write_CHAR(dc, prev, desc->txd.phys);
desc              956 drivers/dma/txx9dmac.c 		channel_write_CHAR(dc, desc->txd.phys);
desc              988 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc;
desc             1023 drivers/dma/txx9dmac.c 		desc = txx9dmac_desc_alloc(dc, GFP_KERNEL);
desc             1024 drivers/dma/txx9dmac.c 		if (!desc) {
desc             1030 drivers/dma/txx9dmac.c 		txx9dmac_desc_put(dc, desc);
desc             1047 drivers/dma/txx9dmac.c 	struct txx9dmac_desc *desc, *_desc;
desc             1063 drivers/dma/txx9dmac.c 	list_for_each_entry_safe(desc, _desc, &list, desc_node) {
desc             1064 drivers/dma/txx9dmac.c 		dev_vdbg(chan2dev(chan), "  freeing descriptor %p\n", desc);
desc             1065 drivers/dma/txx9dmac.c 		dma_unmap_single(chan2parent(chan), desc->txd.phys,
desc             1067 drivers/dma/txx9dmac.c 		kfree(desc);
desc              248 drivers/dma/txx9dmac.h 					    struct txx9dmac_desc *desc)
desc              258 drivers/dma/txx9dmac.h 					      struct txx9dmac_desc *desc,
desc              275 drivers/dma/txx9dmac.h 					    struct txx9dmac_desc *desc)
desc              278 drivers/dma/txx9dmac.h 		desc->hwdesc.CCR |= TXX9_DMA_CCR_INTENT;
desc              280 drivers/dma/txx9dmac.h 		desc->hwdesc32.CCR |= TXX9_DMA_CCR_INTENT;
desc              288 drivers/dma/txx9dmac.h 					      struct txx9dmac_desc *desc,
desc              292 drivers/dma/txx9dmac.h 		desc->hwdesc.SAIR = sai;
desc              293 drivers/dma/txx9dmac.h 		desc->hwdesc.DAIR = dai;
desc              294 drivers/dma/txx9dmac.h 		desc->hwdesc.CCR = ccr;
desc              296 drivers/dma/txx9dmac.h 		desc->hwdesc32.SAIR = sai;
desc              297 drivers/dma/txx9dmac.h 		desc->hwdesc32.DAIR = dai;
desc              298 drivers/dma/txx9dmac.h 		desc->hwdesc32.CCR = ccr;
desc              184 drivers/dma/xgene-dma.c #define XGENE_DMA_DESC_DUMP(desc, m)	\
desc              186 drivers/dma/xgene-dma.c 			DUMP_PREFIX_ADDRESS, 16, 8, (desc), 32, 0)
desc              382 drivers/dma/xgene-dma.c static __le64 *xgene_dma_lookup_ext8(struct xgene_dma_desc_hw *desc, int idx)
desc              386 drivers/dma/xgene-dma.c 		return &desc->m1;
desc              388 drivers/dma/xgene-dma.c 		return &desc->m0;
desc              390 drivers/dma/xgene-dma.c 		return &desc->m3;
desc              392 drivers/dma/xgene-dma.c 		return &desc->m2;
desc              400 drivers/dma/xgene-dma.c static void xgene_dma_init_desc(struct xgene_dma_desc_hw *desc,
desc              403 drivers/dma/xgene-dma.c 	desc->m0 |= cpu_to_le64(XGENE_DMA_DESC_IN_BIT);
desc              404 drivers/dma/xgene-dma.c 	desc->m0 |= cpu_to_le64((u64)XGENE_DMA_RING_OWNER_DMA <<
desc              406 drivers/dma/xgene-dma.c 	desc->m1 |= cpu_to_le64(XGENE_DMA_DESC_C_BIT);
desc              407 drivers/dma/xgene-dma.c 	desc->m3 |= cpu_to_le64((u64)dst_ring_num <<
desc              456 drivers/dma/xgene-dma.c 	struct xgene_dma_desc_sw *desc;
desc              464 drivers/dma/xgene-dma.c 	desc = to_dma_desc_sw(tx);
desc              471 drivers/dma/xgene-dma.c 	list_splice_tail_init(&desc->tx_list, &chan->ld_pending);
desc              479 drivers/dma/xgene-dma.c 				       struct xgene_dma_desc_sw *desc)
desc              481 drivers/dma/xgene-dma.c 	list_del(&desc->node);
desc              482 drivers/dma/xgene-dma.c 	chan_dbg(chan, "LD %p free\n", desc);
desc              483 drivers/dma/xgene-dma.c 	dma_pool_free(chan->desc_pool, desc, desc->tx.phys);
desc              489 drivers/dma/xgene-dma.c 	struct xgene_dma_desc_sw *desc;
desc              492 drivers/dma/xgene-dma.c 	desc = dma_pool_zalloc(chan->desc_pool, GFP_NOWAIT, &phys);
desc              493 drivers/dma/xgene-dma.c 	if (!desc) {
desc              498 drivers/dma/xgene-dma.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              499 drivers/dma/xgene-dma.c 	desc->tx.phys = phys;
desc              500 drivers/dma/xgene-dma.c 	desc->tx.tx_submit = xgene_dma_tx_submit;
desc              501 drivers/dma/xgene-dma.c 	dma_async_tx_descriptor_init(&desc->tx, &chan->dma_chan);
desc              503 drivers/dma/xgene-dma.c 	chan_dbg(chan, "LD %p allocated\n", desc);
desc              505 drivers/dma/xgene-dma.c 	return desc;
desc              517 drivers/dma/xgene-dma.c 	struct xgene_dma_desc_sw *desc, *_desc;
desc              520 drivers/dma/xgene-dma.c 	list_for_each_entry_safe(desc, _desc, &chan->ld_completed, node) {
desc              521 drivers/dma/xgene-dma.c 		if (async_tx_test_ack(&desc->tx))
desc              522 drivers/dma/xgene-dma.c 			xgene_dma_clean_descriptor(chan, desc);
desc              535 drivers/dma/xgene-dma.c 					      struct xgene_dma_desc_sw *desc)
desc              537 drivers/dma/xgene-dma.c 	struct dma_async_tx_descriptor *tx = &desc->tx;
desc              569 drivers/dma/xgene-dma.c 					       struct xgene_dma_desc_sw *desc)
desc              572 drivers/dma/xgene-dma.c 	list_del(&desc->node);
desc              578 drivers/dma/xgene-dma.c 	if (!async_tx_test_ack(&desc->tx)) {
desc              583 drivers/dma/xgene-dma.c 		list_add_tail(&desc->node, &chan->ld_completed);
desc              587 drivers/dma/xgene-dma.c 	chan_dbg(chan, "LD %p free\n", desc);
desc              588 drivers/dma/xgene-dma.c 	dma_pool_free(chan->desc_pool, desc, desc->tx.phys);
desc              803 drivers/dma/xgene-dma.c 	struct xgene_dma_desc_sw *desc, *_desc;
desc              805 drivers/dma/xgene-dma.c 	list_for_each_entry_safe(desc, _desc, list, node)
desc              806 drivers/dma/xgene-dma.c 		xgene_dma_clean_descriptor(chan, desc);
desc             1091 drivers/dma/xgene-dma.c 		struct xgene_dma_desc_hw *desc;
desc             1093 drivers/dma/xgene-dma.c 		desc = &ring->desc_hw[i];
desc             1094 drivers/dma/xgene-dma.c 		desc->m0 = cpu_to_le64(XGENE_DMA_DESC_EMPTY_SIGNATURE);
desc              674 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc              676 drivers/dma/xilinx/xilinx_dma.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              677 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc              680 drivers/dma/xilinx/xilinx_dma.c 	INIT_LIST_HEAD(&desc->segments);
desc              682 drivers/dma/xilinx/xilinx_dma.c 	return desc;
desc              692 drivers/dma/xilinx/xilinx_dma.c 			       struct xilinx_dma_tx_descriptor *desc)
desc              698 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc              702 drivers/dma/xilinx/xilinx_dma.c 		list_for_each_entry_safe(segment, next, &desc->segments, node) {
desc              708 drivers/dma/xilinx/xilinx_dma.c 					 &desc->segments, node) {
desc              714 drivers/dma/xilinx/xilinx_dma.c 					 &desc->segments, node) {
desc              720 drivers/dma/xilinx/xilinx_dma.c 	kfree(desc);
desc              733 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc, *next;
desc              735 drivers/dma/xilinx/xilinx_dma.c 	list_for_each_entry_safe(desc, next, list, node) {
desc              736 drivers/dma/xilinx/xilinx_dma.c 		list_del(&desc->node);
desc              737 drivers/dma/xilinx/xilinx_dma.c 		xilinx_dma_free_tx_descriptor(chan, desc);
desc              799 drivers/dma/xilinx/xilinx_dma.c 					  struct xilinx_dma_tx_descriptor *desc,
desc              805 drivers/dma/xilinx/xilinx_dma.c 	callback = desc->async_tx.callback;
desc              806 drivers/dma/xilinx/xilinx_dma.c 	callback_param = desc->async_tx.callback_param;
desc              820 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc, *next;
desc              825 drivers/dma/xilinx/xilinx_dma.c 	list_for_each_entry_safe(desc, next, &chan->done_list, node) {
desc              828 drivers/dma/xilinx/xilinx_dma.c 		if (desc->cyclic) {
desc              829 drivers/dma/xilinx/xilinx_dma.c 			xilinx_dma_chan_handle_cyclic(chan, desc, &flags);
desc              834 drivers/dma/xilinx/xilinx_dma.c 		list_del(&desc->node);
desc              837 drivers/dma/xilinx/xilinx_dma.c 		dmaengine_desc_get_callback(&desc->async_tx, &cb);
desc              845 drivers/dma/xilinx/xilinx_dma.c 		dma_run_dependencies(&desc->async_tx);
desc              846 drivers/dma/xilinx/xilinx_dma.c 		xilinx_dma_free_tx_descriptor(chan, desc);
desc             1005 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1019 drivers/dma/xilinx/xilinx_dma.c 		desc = list_last_entry(&chan->active_list,
desc             1022 drivers/dma/xilinx/xilinx_dma.c 			list_for_each_entry(segment, &desc->segments, node) {
desc             1101 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1116 drivers/dma/xilinx/xilinx_dma.c 	desc = list_first_entry(&chan->pending_list,
desc             1164 drivers/dma/xilinx/xilinx_dma.c 	list_for_each_entry(segment, &desc->segments, node) {
desc             1189 drivers/dma/xilinx/xilinx_dma.c 	list_del(&desc->node);
desc             1190 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&desc->node, &chan->active_list);
desc             1395 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc, *next;
desc             1401 drivers/dma/xilinx/xilinx_dma.c 	list_for_each_entry_safe(desc, next, &chan->active_list, node) {
desc             1402 drivers/dma/xilinx/xilinx_dma.c 		list_del(&desc->node);
desc             1403 drivers/dma/xilinx/xilinx_dma.c 		if (!desc->cyclic)
desc             1404 drivers/dma/xilinx/xilinx_dma.c 			dma_cookie_complete(&desc->async_tx);
desc             1405 drivers/dma/xilinx/xilinx_dma.c 		list_add_tail(&desc->node, &chan->done_list);
desc             1534 drivers/dma/xilinx/xilinx_dma.c 			      struct xilinx_dma_tx_descriptor *desc)
desc             1554 drivers/dma/xilinx/xilinx_dma.c 		tail_segment->hw.next_desc = (u32)desc->async_tx.phys;
desc             1559 drivers/dma/xilinx/xilinx_dma.c 		cdma_tail_segment->hw.next_desc = (u32)desc->async_tx.phys;
desc             1564 drivers/dma/xilinx/xilinx_dma.c 		axidma_tail_segment->hw.next_desc = (u32)desc->async_tx.phys;
desc             1572 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&desc->node, &chan->pending_list);
desc             1590 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc = to_dma_tx_descriptor(tx);
desc             1597 drivers/dma/xilinx/xilinx_dma.c 		xilinx_dma_free_tx_descriptor(chan, desc);
desc             1616 drivers/dma/xilinx/xilinx_dma.c 	append_desc_queue(chan, desc);
desc             1618 drivers/dma/xilinx/xilinx_dma.c 	if (desc->cyclic)
desc             1641 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1655 drivers/dma/xilinx/xilinx_dma.c 	desc = xilinx_dma_alloc_tx_descriptor(chan);
desc             1656 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc             1659 drivers/dma/xilinx/xilinx_dma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc             1660 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.tx_submit = xilinx_dma_tx_submit;
desc             1661 drivers/dma/xilinx/xilinx_dma.c 	async_tx_ack(&desc->async_tx);
desc             1694 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
desc             1697 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
desc             1699 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
desc             1701 drivers/dma/xilinx/xilinx_dma.c 	return &desc->async_tx;
desc             1704 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_free_tx_descriptor(chan, desc);
desc             1723 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1730 drivers/dma/xilinx/xilinx_dma.c 	desc = xilinx_dma_alloc_tx_descriptor(chan);
desc             1731 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc             1734 drivers/dma/xilinx/xilinx_dma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc             1735 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.tx_submit = xilinx_dma_tx_submit;
desc             1752 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
desc             1754 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
desc             1757 drivers/dma/xilinx/xilinx_dma.c 	return &desc->async_tx;
desc             1760 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_free_tx_descriptor(chan, desc);
desc             1781 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1793 drivers/dma/xilinx/xilinx_dma.c 	desc = xilinx_dma_alloc_tx_descriptor(chan);
desc             1794 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc             1797 drivers/dma/xilinx/xilinx_dma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc             1798 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.tx_submit = xilinx_dma_tx_submit;
desc             1839 drivers/dma/xilinx/xilinx_dma.c 			list_add_tail(&segment->node, &desc->segments);
desc             1843 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
desc             1845 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
desc             1850 drivers/dma/xilinx/xilinx_dma.c 		segment = list_last_entry(&desc->segments,
desc             1856 drivers/dma/xilinx/xilinx_dma.c 	return &desc->async_tx;
desc             1859 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_free_tx_descriptor(chan, desc);
desc             1880 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1899 drivers/dma/xilinx/xilinx_dma.c 	desc = xilinx_dma_alloc_tx_descriptor(chan);
desc             1900 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc             1904 drivers/dma/xilinx/xilinx_dma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc             1905 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.tx_submit = xilinx_dma_tx_submit;
desc             1939 drivers/dma/xilinx/xilinx_dma.c 			list_add_tail(&segment->node, &desc->segments);
desc             1943 drivers/dma/xilinx/xilinx_dma.c 	head_segment = list_first_entry(&desc->segments,
desc             1945 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = head_segment->phys;
desc             1947 drivers/dma/xilinx/xilinx_dma.c 	desc->cyclic = true;
desc             1952 drivers/dma/xilinx/xilinx_dma.c 	segment = list_last_entry(&desc->segments,
desc             1963 drivers/dma/xilinx/xilinx_dma.c 	return &desc->async_tx;
desc             1966 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_free_tx_descriptor(chan, desc);
desc             1985 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_dma_tx_descriptor *desc;
desc             1999 drivers/dma/xilinx/xilinx_dma.c 	desc = xilinx_dma_alloc_tx_descriptor(chan);
desc             2000 drivers/dma/xilinx/xilinx_dma.c 	if (!desc)
desc             2004 drivers/dma/xilinx/xilinx_dma.c 	dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc             2005 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.tx_submit = xilinx_dma_tx_submit;
desc             2031 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
desc             2034 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
desc             2036 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
desc             2041 drivers/dma/xilinx/xilinx_dma.c 		segment = list_last_entry(&desc->segments,
desc             2047 drivers/dma/xilinx/xilinx_dma.c 	return &desc->async_tx;
desc             2050 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_free_tx_descriptor(chan, desc);
desc              268 drivers/dma/xilinx/zynqmp_dma.c 				      struct zynqmp_dma_desc_sw *desc)
desc              272 drivers/dma/xilinx/zynqmp_dma.c 	addr = desc->src_p;
desc              274 drivers/dma/xilinx/zynqmp_dma.c 	addr = desc->dst_p;
desc              284 drivers/dma/xilinx/zynqmp_dma.c 				       void *desc)
desc              286 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_ll *hw = (struct zynqmp_dma_desc_ll *)desc;
desc              372 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc, *new;
desc              381 drivers/dma/xilinx/zynqmp_dma.c 		desc = list_last_entry(&chan->pending_list,
desc              383 drivers/dma/xilinx/zynqmp_dma.c 		if (!list_empty(&desc->tx_list))
desc              384 drivers/dma/xilinx/zynqmp_dma.c 			desc = list_last_entry(&desc->tx_list,
desc              386 drivers/dma/xilinx/zynqmp_dma.c 		desc->src_v->nxtdscraddr = new->src_p;
desc              387 drivers/dma/xilinx/zynqmp_dma.c 		desc->src_v->ctrl &= ~ZYNQMP_DMA_DESC_CTRL_STOP;
desc              388 drivers/dma/xilinx/zynqmp_dma.c 		desc->dst_v->nxtdscraddr = new->dst_p;
desc              389 drivers/dma/xilinx/zynqmp_dma.c 		desc->dst_v->ctrl &= ~ZYNQMP_DMA_DESC_CTRL_STOP;
desc              407 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc;
desc              411 drivers/dma/xilinx/zynqmp_dma.c 	desc = list_first_entry(&chan->free_list,
desc              413 drivers/dma/xilinx/zynqmp_dma.c 	list_del(&desc->node);
desc              416 drivers/dma/xilinx/zynqmp_dma.c 	INIT_LIST_HEAD(&desc->tx_list);
desc              418 drivers/dma/xilinx/zynqmp_dma.c 	memset((void *)desc->src_v, 0, ZYNQMP_DMA_DESC_SIZE(chan));
desc              419 drivers/dma/xilinx/zynqmp_dma.c 	memset((void *)desc->dst_v, 0, ZYNQMP_DMA_DESC_SIZE(chan));
desc              421 drivers/dma/xilinx/zynqmp_dma.c 	return desc;
desc              450 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc, *next;
desc              452 drivers/dma/xilinx/zynqmp_dma.c 	list_for_each_entry_safe(desc, next, list, node)
desc              453 drivers/dma/xilinx/zynqmp_dma.c 		zynqmp_dma_free_descriptor(chan, desc);
desc              465 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc;
desc              472 drivers/dma/xilinx/zynqmp_dma.c 	chan->sw_desc_pool = kcalloc(ZYNQMP_DMA_NUM_DESCS, sizeof(*desc),
desc              483 drivers/dma/xilinx/zynqmp_dma.c 		desc = chan->sw_desc_pool + i;
desc              484 drivers/dma/xilinx/zynqmp_dma.c 		dma_async_tx_descriptor_init(&desc->async_tx, &chan->common);
desc              485 drivers/dma/xilinx/zynqmp_dma.c 		desc->async_tx.tx_submit = zynqmp_dma_tx_submit;
desc              486 drivers/dma/xilinx/zynqmp_dma.c 		list_add_tail(&desc->node, &chan->free_list);
desc              496 drivers/dma/xilinx/zynqmp_dma.c 		desc = chan->sw_desc_pool + i;
desc              497 drivers/dma/xilinx/zynqmp_dma.c 		desc->src_v = (struct zynqmp_dma_desc_ll *) (chan->desc_pool_v +
desc              499 drivers/dma/xilinx/zynqmp_dma.c 		desc->dst_v = (struct zynqmp_dma_desc_ll *) (desc->src_v + 1);
desc              500 drivers/dma/xilinx/zynqmp_dma.c 		desc->src_p = chan->desc_pool_p +
desc              502 drivers/dma/xilinx/zynqmp_dma.c 		desc->dst_p = desc->src_p + ZYNQMP_DMA_DESC_SIZE(chan);
desc              575 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc;
desc              582 drivers/dma/xilinx/zynqmp_dma.c 	desc = list_first_entry_or_null(&chan->pending_list,
desc              584 drivers/dma/xilinx/zynqmp_dma.c 	if (!desc)
desc              588 drivers/dma/xilinx/zynqmp_dma.c 	zynqmp_dma_update_desc_to_ctrlr(chan, desc);
desc              599 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc, *next;
desc              601 drivers/dma/xilinx/zynqmp_dma.c 	list_for_each_entry_safe(desc, next, &chan->done_list, node) {
desc              605 drivers/dma/xilinx/zynqmp_dma.c 		list_del(&desc->node);
desc              607 drivers/dma/xilinx/zynqmp_dma.c 		callback = desc->async_tx.callback;
desc              608 drivers/dma/xilinx/zynqmp_dma.c 		callback_param = desc->async_tx.callback_param;
desc              616 drivers/dma/xilinx/zynqmp_dma.c 		zynqmp_dma_free_descriptor(chan, desc);
desc              626 drivers/dma/xilinx/zynqmp_dma.c 	struct zynqmp_dma_desc_sw *desc;
desc              628 drivers/dma/xilinx/zynqmp_dma.c 	desc = list_first_entry_or_null(&chan->active_list,
desc              630 drivers/dma/xilinx/zynqmp_dma.c 	if (!desc)
desc              632 drivers/dma/xilinx/zynqmp_dma.c 	list_del(&desc->node);
desc              633 drivers/dma/xilinx/zynqmp_dma.c 	dma_cookie_complete(&desc->async_tx);
desc              634 drivers/dma/xilinx/zynqmp_dma.c 	list_add_tail(&desc->node, &chan->done_list);
desc              806 drivers/dma/xilinx/zynqmp_dma.c 	void *desc = NULL, *prev = NULL;
desc              829 drivers/dma/xilinx/zynqmp_dma.c 		desc = (struct zynqmp_dma_desc_ll *)new->src_v;
desc              830 drivers/dma/xilinx/zynqmp_dma.c 		zynqmp_dma_config_sg_ll_desc(chan, desc, dma_src,
desc              832 drivers/dma/xilinx/zynqmp_dma.c 		prev = desc;
desc              842 drivers/dma/xilinx/zynqmp_dma.c 	zynqmp_dma_desc_config_eod(chan, desc);
desc             1884 drivers/edac/altera_edac.c static void altr_edac_a10_irq_handler(struct irq_desc *desc)
desc             1887 drivers/edac/altera_edac.c 	struct altr_arria10_edac *edac = irq_desc_get_handler_data(desc);
desc             1888 drivers/edac/altera_edac.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1889 drivers/edac/altera_edac.c 	int irq = irq_desc_get_irq(desc);
desc             1896 drivers/edac/altera_edac.c 	chained_irq_enter(chip, desc);
desc             1907 drivers/edac/altera_edac.c 	chained_irq_exit(chip, desc);
desc               92 drivers/firewire/core-card.c 	struct fw_descriptor *desc;
desc              122 drivers/firewire/core-card.c 	list_for_each_entry (desc, &descriptor_list, link) {
desc              123 drivers/firewire/core-card.c 		if (desc->immediate > 0)
desc              124 drivers/firewire/core-card.c 			config_rom[i++] = cpu_to_be32(desc->immediate);
desc              125 drivers/firewire/core-card.c 		config_rom[i] = cpu_to_be32(desc->key | (j - i));
desc              127 drivers/firewire/core-card.c 		j += desc->length;
desc              134 drivers/firewire/core-card.c 	list_for_each_entry (desc, &descriptor_list, link) {
desc              135 drivers/firewire/core-card.c 		for (k = 0; k < desc->length; k++)
desc              136 drivers/firewire/core-card.c 			config_rom[i + k] = cpu_to_be32(desc->data[k]);
desc              137 drivers/firewire/core-card.c 		i += desc->length;
desc              161 drivers/firewire/core-card.c static size_t required_space(struct fw_descriptor *desc)
desc              164 drivers/firewire/core-card.c 	return desc->length + 1 + (desc->immediate > 0 ? 1 : 0);
desc              167 drivers/firewire/core-card.c int fw_core_add_descriptor(struct fw_descriptor *desc)
desc              178 drivers/firewire/core-card.c 	while (i < desc->length)
desc              179 drivers/firewire/core-card.c 		i += (desc->data[i] >> 16) + 1;
desc              181 drivers/firewire/core-card.c 	if (i != desc->length)
desc              186 drivers/firewire/core-card.c 	if (config_rom_length + required_space(desc) > 256) {
desc              189 drivers/firewire/core-card.c 		list_add_tail(&desc->link, &descriptor_list);
desc              190 drivers/firewire/core-card.c 		config_rom_length += required_space(desc);
desc              192 drivers/firewire/core-card.c 		if (desc->immediate > 0)
desc              204 drivers/firewire/core-card.c void fw_core_remove_descriptor(struct fw_descriptor *desc)
desc              208 drivers/firewire/core-card.c 	list_del(&desc->link);
desc              209 drivers/firewire/core-card.c 	config_rom_length -= required_space(desc);
desc              211 drivers/firewire/core-card.c 	if (desc->immediate > 0)
desc             1058 drivers/firewire/ohci.c 	struct descriptor_buffer *desc;
desc             1060 drivers/firewire/ohci.c 	desc = list_entry(ctx->buffer_list.next,
desc             1064 drivers/firewire/ohci.c 		struct descriptor_buffer *old_desc = desc;
desc             1072 drivers/firewire/ohci.c 		if (address < desc->buffer_bus ||
desc             1073 drivers/firewire/ohci.c 				address >= desc->buffer_bus + desc->used)
desc             1074 drivers/firewire/ohci.c 			desc = list_entry(desc->list.next,
desc             1076 drivers/firewire/ohci.c 		d = desc->buffer + (address - desc->buffer_bus) / sizeof(*d);
desc             1082 drivers/firewire/ohci.c 		if (old_desc != desc) {
desc             1101 drivers/firewire/ohci.c 	struct descriptor_buffer *desc;
desc             1112 drivers/firewire/ohci.c 	desc = dma_alloc_coherent(ctx->ohci->card.device, PAGE_SIZE,
desc             1114 drivers/firewire/ohci.c 	if (!desc)
desc             1117 drivers/firewire/ohci.c 	offset = (void *)&desc->buffer - (void *)desc;
desc             1124 drivers/firewire/ohci.c 	desc->buffer_size = PAGE_SIZE - offset - 0x10;
desc             1125 drivers/firewire/ohci.c 	desc->buffer_bus = bus_addr + offset;
desc             1126 drivers/firewire/ohci.c 	desc->used = 0;
desc             1128 drivers/firewire/ohci.c 	list_add_tail(&desc->list, &ctx->buffer_list);
desc             1170 drivers/firewire/ohci.c 	struct descriptor_buffer *desc, *tmp;
desc             1172 drivers/firewire/ohci.c 	list_for_each_entry_safe(desc, tmp, &ctx->buffer_list, list)
desc             1173 drivers/firewire/ohci.c 		dma_free_coherent(card->device, PAGE_SIZE, desc,
desc             1174 drivers/firewire/ohci.c 			desc->buffer_bus -
desc             1175 drivers/firewire/ohci.c 			((void *)&desc->buffer - (void *)desc));
desc             1183 drivers/firewire/ohci.c 	struct descriptor_buffer *desc = ctx->buffer_tail;
desc             1185 drivers/firewire/ohci.c 	if (z * sizeof(*d) > desc->buffer_size)
desc             1188 drivers/firewire/ohci.c 	if (z * sizeof(*d) > desc->buffer_size - desc->used) {
desc             1192 drivers/firewire/ohci.c 		if (desc->list.next == &ctx->buffer_list) {
desc             1198 drivers/firewire/ohci.c 		desc = list_entry(desc->list.next,
desc             1200 drivers/firewire/ohci.c 		ctx->buffer_tail = desc;
desc             1203 drivers/firewire/ohci.c 	d = desc->buffer + desc->used / sizeof(*d);
desc             1205 drivers/firewire/ohci.c 	*d_bus = desc->buffer_bus + desc->used;
desc             1226 drivers/firewire/ohci.c 	struct descriptor_buffer *desc = ctx->buffer_tail;
desc             1229 drivers/firewire/ohci.c 	d_bus = desc->buffer_bus + (d - desc->buffer) * sizeof(*d);
desc             1231 drivers/firewire/ohci.c 	desc->used += (z + extra) * sizeof(*d);
desc              130 drivers/firmware/arm_scmi/driver.c 	const struct scmi_desc *desc;
desc              294 drivers/firmware/arm_scmi/driver.c 				      info->desc->max_msg);
desc              295 drivers/firmware/arm_scmi/driver.c 	if (bit_pos == info->desc->max_msg) {
desc              462 drivers/firmware/arm_scmi/driver.c 		timeout = msecs_to_jiffies(info->desc->max_rx_timeout_ms);
desc              538 drivers/firmware/arm_scmi/driver.c 	if (rx_size > info->desc->max_msg_size ||
desc              539 drivers/firmware/arm_scmi/driver.c 	    tx_size > info->desc->max_msg_size)
desc              550 drivers/firmware/arm_scmi/driver.c 	xfer->rx.len = rx_size ? : info->desc->max_msg_size;
desc              680 drivers/firmware/arm_scmi/driver.c 	const struct scmi_desc *desc = sinfo->desc;
desc              684 drivers/firmware/arm_scmi/driver.c 	if (WARN_ON(desc->max_msg >= MSG_TOKEN_MAX)) {
desc              686 drivers/firmware/arm_scmi/driver.c 			desc->max_msg, MSG_TOKEN_MAX);
desc              690 drivers/firmware/arm_scmi/driver.c 	info->xfer_block = devm_kcalloc(dev, desc->max_msg,
desc              695 drivers/firmware/arm_scmi/driver.c 	info->xfer_alloc_table = devm_kcalloc(dev, BITS_TO_LONGS(desc->max_msg),
desc              701 drivers/firmware/arm_scmi/driver.c 	for (i = 0, xfer = info->xfer_block; i < desc->max_msg; i++, xfer++) {
desc              702 drivers/firmware/arm_scmi/driver.c 		xfer->rx.buf = devm_kcalloc(dev, sizeof(u8), desc->max_msg_size,
desc              732 drivers/firmware/arm_scmi/driver.c 	const char *desc = tx ? "Tx" : "Rx";
desc              762 drivers/firmware/arm_scmi/driver.c 		dev_err(dev, "failed to get SCMI %s payload memory\n", desc);
desc              769 drivers/firmware/arm_scmi/driver.c 		dev_err(dev, "failed to ioremap SCMI %s payload\n", desc);
desc              778 drivers/firmware/arm_scmi/driver.c 				desc);
desc              831 drivers/firmware/arm_scmi/driver.c 	const struct scmi_desc *desc;
desc              842 drivers/firmware/arm_scmi/driver.c 	desc = of_device_get_match_data(dev);
desc              843 drivers/firmware/arm_scmi/driver.c 	if (!desc)
desc              851 drivers/firmware/arm_scmi/driver.c 	info->desc = desc;
desc               42 drivers/firmware/arm_scmi/sensors.c 	} desc[0];
desc              142 drivers/firmware/arm_scmi/sensors.c 			attrl = le32_to_cpu(buf->desc[cnt].attributes_low);
desc              143 drivers/firmware/arm_scmi/sensors.c 			attrh = le32_to_cpu(buf->desc[cnt].attributes_high);
desc              145 drivers/firmware/arm_scmi/sensors.c 			s->id = le32_to_cpu(buf->desc[cnt].id);
desc              153 drivers/firmware/arm_scmi/sensors.c 			strlcpy(s->name, buf->desc[cnt].name, SCMI_MAX_STR_SIZE);
desc              130 drivers/firmware/efi/libstub/arm32-stub.c 		efi_memory_desc_t *desc;
desc              133 drivers/firmware/efi/libstub/arm32-stub.c 		desc = (void *)memory_map + l;
desc              134 drivers/firmware/efi/libstub/arm32-stub.c 		start = desc->phys_addr;
desc              135 drivers/firmware/efi/libstub/arm32-stub.c 		end = start + desc->num_pages * EFI_PAGE_SIZE;
desc              142 drivers/firmware/efi/libstub/arm32-stub.c 		switch (desc->type) {
desc              206 drivers/firmware/efi/libstub/efi-stub-helper.c 		efi_memory_desc_t *desc;
desc              210 drivers/firmware/efi/libstub/efi-stub-helper.c 		desc = efi_early_memdesc_ptr(m, desc_size, i);
desc              211 drivers/firmware/efi/libstub/efi-stub-helper.c 		if (desc->type != EFI_CONVENTIONAL_MEMORY)
desc              214 drivers/firmware/efi/libstub/efi-stub-helper.c 		if (desc->num_pages < nr_pages)
desc              217 drivers/firmware/efi/libstub/efi-stub-helper.c 		start = desc->phys_addr;
desc              218 drivers/firmware/efi/libstub/efi-stub-helper.c 		end = start + desc->num_pages * EFI_PAGE_SIZE;
desc              299 drivers/firmware/efi/libstub/efi-stub-helper.c 		efi_memory_desc_t *desc;
desc              303 drivers/firmware/efi/libstub/efi-stub-helper.c 		desc = efi_early_memdesc_ptr(m, desc_size, i);
desc              305 drivers/firmware/efi/libstub/efi-stub-helper.c 		if (desc->type != EFI_CONVENTIONAL_MEMORY)
desc              308 drivers/firmware/efi/libstub/efi-stub-helper.c 		if (desc->num_pages < nr_pages)
desc              311 drivers/firmware/efi/libstub/efi-stub-helper.c 		start = desc->phys_addr;
desc              312 drivers/firmware/efi/libstub/efi-stub-helper.c 		end = start + desc->num_pages * EFI_PAGE_SIZE;
desc               76 drivers/firmware/qcom_scm-64.c 			 const struct qcom_scm_desc *desc,
desc               79 drivers/firmware/qcom_scm-64.c 	int arglen = desc->arginfo & 0xf;
desc               82 drivers/firmware/qcom_scm-64.c 	u64 cmd, x5 = desc->args[FIRST_EXT_ARG_IDX];
desc               99 drivers/firmware/qcom_scm-64.c 				args[i] = cpu_to_le32(desc->args[i +
desc              105 drivers/firmware/qcom_scm-64.c 				args[i] = cpu_to_le64(desc->args[i +
desc              130 drivers/firmware/qcom_scm-64.c 			arm_smccc_smc_quirk(cmd, desc->arginfo, desc->args[0],
desc              131 drivers/firmware/qcom_scm-64.c 				      desc->args[1], desc->args[2], x5,
desc              202 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              205 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              206 drivers/firmware/qcom_scm-64.c 	desc.args[0] = QCOM_SCM_FNID(svc_id, cmd_id) |
desc              210 drivers/firmware/qcom_scm-64.c 			    &desc, &res);
desc              219 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              225 drivers/firmware/qcom_scm-64.c 	desc.args[0] = req[0].addr;
desc              226 drivers/firmware/qcom_scm-64.c 	desc.args[1] = req[0].val;
desc              227 drivers/firmware/qcom_scm-64.c 	desc.args[2] = req[1].addr;
desc              228 drivers/firmware/qcom_scm-64.c 	desc.args[3] = req[1].val;
desc              229 drivers/firmware/qcom_scm-64.c 	desc.args[4] = req[2].addr;
desc              230 drivers/firmware/qcom_scm-64.c 	desc.args[5] = req[2].val;
desc              231 drivers/firmware/qcom_scm-64.c 	desc.args[6] = req[3].addr;
desc              232 drivers/firmware/qcom_scm-64.c 	desc.args[7] = req[3].val;
desc              233 drivers/firmware/qcom_scm-64.c 	desc.args[8] = req[4].addr;
desc              234 drivers/firmware/qcom_scm-64.c 	desc.args[9] = req[4].val;
desc              235 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(10);
desc              237 drivers/firmware/qcom_scm-64.c 	ret = qcom_scm_call(dev, QCOM_SCM_SVC_HDCP, QCOM_SCM_CMD_HDCP, &desc,
desc              266 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              269 drivers/firmware/qcom_scm-64.c 	desc.args[0] = peripheral;
desc              270 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              274 drivers/firmware/qcom_scm-64.c 				&desc, &res);
desc              283 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              286 drivers/firmware/qcom_scm-64.c 	desc.args[0] = peripheral;
desc              287 drivers/firmware/qcom_scm-64.c 	desc.args[1] = metadata_phys;
desc              288 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2, QCOM_SCM_VAL, QCOM_SCM_RW);
desc              291 drivers/firmware/qcom_scm-64.c 				&desc, &res);
desc              300 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              303 drivers/firmware/qcom_scm-64.c 	desc.args[0] = peripheral;
desc              304 drivers/firmware/qcom_scm-64.c 	desc.args[1] = addr;
desc              305 drivers/firmware/qcom_scm-64.c 	desc.args[2] = size;
desc              306 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(3);
desc              309 drivers/firmware/qcom_scm-64.c 				&desc, &res);
desc              317 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              320 drivers/firmware/qcom_scm-64.c 	desc.args[0] = peripheral;
desc              321 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              325 drivers/firmware/qcom_scm-64.c 				&desc, &res);
desc              333 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              336 drivers/firmware/qcom_scm-64.c 	desc.args[0] = peripheral;
desc              337 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              340 drivers/firmware/qcom_scm-64.c 			&desc, &res);
desc              347 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              351 drivers/firmware/qcom_scm-64.c 	desc.args[0] = reset;
desc              352 drivers/firmware/qcom_scm-64.c 	desc.args[1] = 0;
desc              353 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2);
desc              355 drivers/firmware/qcom_scm-64.c 	ret = qcom_scm_call(dev, QCOM_SCM_SVC_PIL, QCOM_SCM_PAS_MSS_RESET, &desc,
desc              363 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              367 drivers/firmware/qcom_scm-64.c 	desc.args[0] = state;
desc              368 drivers/firmware/qcom_scm-64.c 	desc.args[1] = id;
desc              369 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2);
desc              372 drivers/firmware/qcom_scm-64.c 			    &desc, &res);
desc              382 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              385 drivers/firmware/qcom_scm-64.c 	desc.args[0] = mem_region;
desc              386 drivers/firmware/qcom_scm-64.c 	desc.args[1] = mem_sz;
desc              387 drivers/firmware/qcom_scm-64.c 	desc.args[2] = src;
desc              388 drivers/firmware/qcom_scm-64.c 	desc.args[3] = src_sz;
desc              389 drivers/firmware/qcom_scm-64.c 	desc.args[4] = dest;
desc              390 drivers/firmware/qcom_scm-64.c 	desc.args[5] = dest_sz;
desc              391 drivers/firmware/qcom_scm-64.c 	desc.args[6] = 0;
desc              393 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(7, QCOM_SCM_RO, QCOM_SCM_VAL,
desc              399 drivers/firmware/qcom_scm-64.c 			    &desc, &res);
desc              406 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              410 drivers/firmware/qcom_scm-64.c 	desc.args[0] = device_id;
desc              411 drivers/firmware/qcom_scm-64.c 	desc.args[1] = spare;
desc              412 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2);
desc              415 drivers/firmware/qcom_scm-64.c 			    &desc, &res);
desc              423 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              427 drivers/firmware/qcom_scm-64.c 	desc.args[0] = spare;
desc              428 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              431 drivers/firmware/qcom_scm-64.c 			    QCOM_SCM_IOMMU_SECURE_PTBL_SIZE, &desc, &res);
desc              442 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              446 drivers/firmware/qcom_scm-64.c 	desc.args[0] = addr;
desc              447 drivers/firmware/qcom_scm-64.c 	desc.args[1] = size;
desc              448 drivers/firmware/qcom_scm-64.c 	desc.args[2] = spare;
desc              449 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(3, QCOM_SCM_RW, QCOM_SCM_VAL,
desc              453 drivers/firmware/qcom_scm-64.c 			    QCOM_SCM_IOMMU_SECURE_PTBL_INIT, &desc, &res);
desc              464 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              467 drivers/firmware/qcom_scm-64.c 	desc.args[0] = QCOM_SCM_SET_DLOAD_MODE;
desc              468 drivers/firmware/qcom_scm-64.c 	desc.args[1] = enable ? QCOM_SCM_SET_DLOAD_MODE : 0;
desc              469 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2);
desc              472 drivers/firmware/qcom_scm-64.c 			     &desc, &res);
desc              478 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              482 drivers/firmware/qcom_scm-64.c 	desc.args[0] = addr;
desc              483 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(1);
desc              486 drivers/firmware/qcom_scm-64.c 			    &desc, &res);
desc              495 drivers/firmware/qcom_scm-64.c 	struct qcom_scm_desc desc = {0};
desc              498 drivers/firmware/qcom_scm-64.c 	desc.args[0] = addr;
desc              499 drivers/firmware/qcom_scm-64.c 	desc.args[1] = val;
desc              500 drivers/firmware/qcom_scm-64.c 	desc.arginfo = QCOM_SCM_ARGS(2);
desc              503 drivers/firmware/qcom_scm-64.c 			     &desc, &res);
desc              121 drivers/firmware/ti_sci.c 	const struct ti_sci_desc *desc;
desc              284 drivers/firmware/ti_sci.c 	if (mbox_msg->len > info->desc->max_msg_size) {
desc              286 drivers/firmware/ti_sci.c 			mbox_msg->len, info->desc->max_msg_size);
desc              335 drivers/firmware/ti_sci.c 	if (rx_message_size > info->desc->max_msg_size ||
desc              336 drivers/firmware/ti_sci.c 	    tx_message_size > info->desc->max_msg_size ||
desc              345 drivers/firmware/ti_sci.c 	timeout = msecs_to_jiffies(info->desc->max_rx_timeout_ms) * 5;
desc              353 drivers/firmware/ti_sci.c 				      info->desc->max_msgs);
desc              435 drivers/firmware/ti_sci.c 	timeout = msecs_to_jiffies(info->desc->max_rx_timeout_ms);
desc             1716 drivers/firmware/ti_sci.c 	struct ti_sci_rm_type_map *rm_type_map = info->desc->rm_type_map;
desc             3210 drivers/firmware/ti_sci.c 		free_bit = find_first_zero_bit(res->desc[set].res_map,
desc             3211 drivers/firmware/ti_sci.c 					       res->desc[set].num);
desc             3212 drivers/firmware/ti_sci.c 		if (free_bit != res->desc[set].num) {
desc             3213 drivers/firmware/ti_sci.c 			set_bit(free_bit, res->desc[set].res_map);
desc             3215 drivers/firmware/ti_sci.c 			return res->desc[set].start + free_bit;
desc             3236 drivers/firmware/ti_sci.c 		if (res->desc[set].start <= id &&
desc             3237 drivers/firmware/ti_sci.c 		    (res->desc[set].num + res->desc[set].start) > id)
desc             3238 drivers/firmware/ti_sci.c 			clear_bit(id - res->desc[set].start,
desc             3239 drivers/firmware/ti_sci.c 				  res->desc[set].res_map);
desc             3256 drivers/firmware/ti_sci.c 		count += res->desc[set].num;
desc             3293 drivers/firmware/ti_sci.c 	res->desc = devm_kcalloc(dev, res->sets, sizeof(*res->desc),
desc             3295 drivers/firmware/ti_sci.c 	if (!res->desc)
desc             3306 drivers/firmware/ti_sci.c 							&res->desc[i].start,
desc             3307 drivers/firmware/ti_sci.c 							&res->desc[i].num);
desc             3311 drivers/firmware/ti_sci.c 			res->desc[i].start = 0;
desc             3312 drivers/firmware/ti_sci.c 			res->desc[i].num = 0;
desc             3317 drivers/firmware/ti_sci.c 			dev_id, resource_subtype, res->desc[i].start,
desc             3318 drivers/firmware/ti_sci.c 			res->desc[i].num);
desc             3321 drivers/firmware/ti_sci.c 		res->desc[i].res_map =
desc             3322 drivers/firmware/ti_sci.c 			devm_kzalloc(dev, BITS_TO_LONGS(res->desc[i].num) *
desc             3323 drivers/firmware/ti_sci.c 				     sizeof(*res->desc[i].res_map), GFP_KERNEL);
desc             3324 drivers/firmware/ti_sci.c 		if (!res->desc[i].res_map)
desc             3390 drivers/firmware/ti_sci.c 	const struct ti_sci_desc *desc;
desc             3405 drivers/firmware/ti_sci.c 	desc = of_id->data;
desc             3412 drivers/firmware/ti_sci.c 	info->desc = desc;
desc             3416 drivers/firmware/ti_sci.c 		info->host_id = info->desc->default_host_id;
desc             3420 drivers/firmware/ti_sci.c 			info->host_id = info->desc->default_host_id;
desc             3436 drivers/firmware/ti_sci.c 	if (WARN_ON(desc->max_msgs >=
desc             3441 drivers/firmware/ti_sci.c 					 desc->max_msgs,
desc             3448 drivers/firmware/ti_sci.c 					       BITS_TO_LONGS(desc->max_msgs),
desc             3453 drivers/firmware/ti_sci.c 	bitmap_zero(minfo->xfer_alloc_table, desc->max_msgs);
desc             3456 drivers/firmware/ti_sci.c 	for (i = 0, xfer = minfo->xfer_block; i < desc->max_msgs; i++, xfer++) {
desc             3457 drivers/firmware/ti_sci.c 		xfer->xfer_buf = devm_kcalloc(dev, 1, desc->max_msg_size,
desc             3479 drivers/firmware/ti_sci.c 	sema_init(&minfo->sem_xfer_count, desc->max_msgs);
desc              183 drivers/gpio/gpio-altera.c static void altera_gpio_irq_edge_handler(struct irq_desc *desc)
desc              192 drivers/gpio/gpio-altera.c 	altera_gc = gpiochip_get_data(irq_desc_get_handler_data(desc));
desc              193 drivers/gpio/gpio-altera.c 	chip = irq_desc_get_chip(desc);
desc              197 drivers/gpio/gpio-altera.c 	chained_irq_enter(chip, desc);
desc              208 drivers/gpio/gpio-altera.c 	chained_irq_exit(chip, desc);
desc              211 drivers/gpio/gpio-altera.c static void altera_gpio_irq_leveL_high_handler(struct irq_desc *desc)
desc              220 drivers/gpio/gpio-altera.c 	altera_gc = gpiochip_get_data(irq_desc_get_handler_data(desc));
desc              221 drivers/gpio/gpio-altera.c 	chip = irq_desc_get_chip(desc);
desc              225 drivers/gpio/gpio-altera.c 	chained_irq_enter(chip, desc);
desc              233 drivers/gpio/gpio-altera.c 	chained_irq_exit(chip, desc);
desc              660 drivers/gpio/gpio-aspeed.c static void aspeed_gpio_irq_handler(struct irq_desc *desc)
desc              662 drivers/gpio/gpio-aspeed.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              663 drivers/gpio/gpio-aspeed.c 	struct irq_chip *ic = irq_desc_get_chip(desc);
desc              669 drivers/gpio/gpio-aspeed.c 	chained_irq_enter(ic, desc);
desc              684 drivers/gpio/gpio-aspeed.c 	chained_irq_exit(ic, desc);
desc             1005 drivers/gpio/gpio-aspeed.c int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
desc             1008 drivers/gpio/gpio-aspeed.c 	struct gpio_chip *chip = gpiod_to_chip(desc);
desc             1010 drivers/gpio/gpio-aspeed.c 	int rc = 0, bindex, offset = gpio_chip_hwgpio(desc);
desc             1052 drivers/gpio/gpio-aspeed.c int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc)
desc             1054 drivers/gpio/gpio-aspeed.c 	struct gpio_chip *chip = gpiod_to_chip(desc);
desc             1056 drivers/gpio/gpio-aspeed.c 	int rc = 0, bindex, offset = gpio_chip_hwgpio(desc);
desc              180 drivers/gpio/gpio-ath79.c static void ath79_gpio_irq_handler(struct irq_desc *desc)
desc              182 drivers/gpio/gpio-ath79.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              183 drivers/gpio/gpio-ath79.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              190 drivers/gpio/gpio-ath79.c 	chained_irq_enter(irqchip, desc);
desc              212 drivers/gpio/gpio-ath79.c 	chained_irq_exit(irqchip, desc);
desc              448 drivers/gpio/gpio-bcm-kona.c static void bcm_kona_gpio_irq_handler(struct irq_desc *desc)
desc              453 drivers/gpio/gpio-bcm-kona.c 	struct bcm_kona_gpio_bank *bank = irq_desc_get_handler_data(desc);
desc              454 drivers/gpio/gpio-bcm-kona.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              456 drivers/gpio/gpio-bcm-kona.c 	chained_irq_enter(chip, desc);
desc              484 drivers/gpio/gpio-bcm-kona.c 	chained_irq_exit(chip, desc);
desc              294 drivers/gpio/gpio-brcmstb.c static void brcmstb_gpio_irq_handler(struct irq_desc *desc)
desc              296 drivers/gpio/gpio-brcmstb.c 	struct brcmstb_gpio_priv *priv = irq_desc_get_handler_data(desc);
desc              297 drivers/gpio/gpio-brcmstb.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              303 drivers/gpio/gpio-brcmstb.c 	chained_irq_enter(chip, desc);
desc              306 drivers/gpio/gpio-brcmstb.c 	chained_irq_exit(chip, desc);
desc              122 drivers/gpio/gpio-cadence.c static void cdns_gpio_irq_handler(struct irq_desc *desc)
desc              124 drivers/gpio/gpio-cadence.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              126 drivers/gpio/gpio-cadence.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              130 drivers/gpio/gpio-cadence.c 	chained_irq_enter(irqchip, desc);
desc              138 drivers/gpio/gpio-cadence.c 	chained_irq_exit(irqchip, desc);
desc              339 drivers/gpio/gpio-davinci.c static void gpio_irq_handler(struct irq_desc *desc)
desc              347 drivers/gpio/gpio-davinci.c 	irqdata = (struct davinci_gpio_irq_data *)irq_desc_get_handler_data(desc);
desc              357 drivers/gpio/gpio-davinci.c 	chained_irq_enter(irq_desc_get_chip(desc), desc);
desc              383 drivers/gpio/gpio-davinci.c 	chained_irq_exit(irq_desc_get_chip(desc), desc);
desc              210 drivers/gpio/gpio-dwapb.c static void dwapb_irq_handler(struct irq_desc *desc)
desc              212 drivers/gpio/gpio-dwapb.c 	struct dwapb_gpio *gpio = irq_desc_get_handler_data(desc);
desc              213 drivers/gpio/gpio-dwapb.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              218 drivers/gpio/gpio-dwapb.c 		chip->irq_eoi(irq_desc_get_irq_data(desc));
desc              543 drivers/gpio/gpio-eic-sprd.c static void sprd_eic_irq_handler(struct irq_desc *desc)
desc              545 drivers/gpio/gpio-eic-sprd.c 	struct irq_chip *ic = irq_desc_get_chip(desc);
desc              549 drivers/gpio/gpio-eic-sprd.c 	chained_irq_enter(ic, desc);
desc              564 drivers/gpio/gpio-eic-sprd.c 	chained_irq_exit(ic, desc);
desc              107 drivers/gpio/gpio-ep93xx.c static void ep93xx_gpio_ab_irq_handler(struct irq_desc *desc)
desc              109 drivers/gpio/gpio-ep93xx.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              111 drivers/gpio/gpio-ep93xx.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              115 drivers/gpio/gpio-ep93xx.c 	chained_irq_enter(irqchip, desc);
desc              133 drivers/gpio/gpio-ep93xx.c 	chained_irq_exit(irqchip, desc);
desc              136 drivers/gpio/gpio-ep93xx.c static void ep93xx_gpio_f_irq_handler(struct irq_desc *desc)
desc              143 drivers/gpio/gpio-ep93xx.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              144 drivers/gpio/gpio-ep93xx.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              148 drivers/gpio/gpio-ep93xx.c 	chained_irq_enter(irqchip, desc);
desc              150 drivers/gpio/gpio-ep93xx.c 	chained_irq_exit(irqchip, desc);
desc              139 drivers/gpio/gpio-ftgpio010.c static void ftgpio_gpio_irq_handler(struct irq_desc *desc)
desc              141 drivers/gpio/gpio-ftgpio010.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              143 drivers/gpio/gpio-ftgpio010.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              147 drivers/gpio/gpio-ftgpio010.c 	chained_irq_enter(irqchip, desc);
desc              155 drivers/gpio/gpio-ftgpio010.c 	chained_irq_exit(irqchip, desc);
desc               58 drivers/gpio/gpio-hlwd.c static void hlwd_gpio_irqhandler(struct irq_desc *desc)
desc               61 drivers/gpio/gpio-hlwd.c 		gpiochip_get_data(irq_desc_get_handler_data(desc));
desc               62 drivers/gpio/gpio-hlwd.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               98 drivers/gpio/gpio-hlwd.c 	chained_irq_enter(chip, desc);
desc              106 drivers/gpio/gpio-hlwd.c 	chained_irq_exit(chip, desc);
desc              102 drivers/gpio/gpio-htc-egpio.c static void egpio_handler(struct irq_desc *desc)
desc              104 drivers/gpio/gpio-htc-egpio.c 	struct egpio_info *ei = irq_desc_get_handler_data(desc);
desc               93 drivers/gpio/gpio-ich.c 	struct ichx_desc *desc;	/* Pointer to chipset-specific description */
desc              112 drivers/gpio/gpio-ich.c 	if (reg == GPIO_LVL && ichx_priv.desc->use_outlvl_cache)
desc              115 drivers/gpio/gpio-ich.c 		data = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
desc              122 drivers/gpio/gpio-ich.c 	ICHX_WRITE(data, ichx_priv.desc->regs[reg][reg_nr],
desc              124 drivers/gpio/gpio-ich.c 	if (reg == GPIO_LVL && ichx_priv.desc->use_outlvl_cache)
desc              127 drivers/gpio/gpio-ich.c 	tmp = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
desc              144 drivers/gpio/gpio-ich.c 	data = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr],
desc              147 drivers/gpio/gpio-ich.c 	if (reg == GPIO_LVL && ichx_priv.desc->use_outlvl_cache)
desc              178 drivers/gpio/gpio-ich.c 	if (nr < 32 && ichx_priv.desc->have_blink)
desc              234 drivers/gpio/gpio-ich.c 	if (ichx_priv.desc->use_sel_ignore[nr / 32] & BIT(nr & 0x1f))
desc              266 drivers/gpio/gpio-ich.c 	chip->request = ichx_priv.desc->request ?
desc              267 drivers/gpio/gpio-ich.c 		ichx_priv.desc->request : ichx_gpio_request;
desc              268 drivers/gpio/gpio-ich.c 	chip->get = ichx_priv.desc->get ?
desc              269 drivers/gpio/gpio-ich.c 		ichx_priv.desc->get : ichx_gpio_get;
desc              276 drivers/gpio/gpio-ich.c 	chip->ngpio = ichx_priv.desc->ngpio;
desc              373 drivers/gpio/gpio-ich.c 	for (i = 0; i < ARRAY_SIZE(ichx_priv.desc->regs[0]); i++) {
desc              377 drivers/gpio/gpio-ich.c 				res_base->start + ichx_priv.desc->regs[0][i],
desc              378 drivers/gpio/gpio-ich.c 				ichx_priv.desc->reglen[i], name))
desc              396 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &i3100_desc;
desc              399 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &intel5_desc;
desc              402 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &ich6_desc;
desc              405 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &ich7_desc;
desc              408 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &ich9_desc;
desc              411 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &ich10_corp_desc;
desc              414 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &ich10_cons_desc;
desc              417 drivers/gpio/gpio-ich.c 		ichx_priv.desc = &avoton_desc;
desc              440 drivers/gpio/gpio-ich.c 	if (!ichx_priv.desc->uses_gpe0)
desc              270 drivers/gpio/gpio-intel-mid.c static void intel_mid_irq_handler(struct irq_desc *desc)
desc              272 drivers/gpio/gpio-intel-mid.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              274 drivers/gpio/gpio-intel-mid.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              229 drivers/gpio/gpio-lynxpoint.c static void lp_gpio_irq_handler(struct irq_desc *desc)
desc              231 drivers/gpio/gpio-lynxpoint.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              232 drivers/gpio/gpio-lynxpoint.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              171 drivers/gpio/gpio-max3191x.c 					? max3191x->fault_pins->desc[0]
desc              172 drivers/gpio/gpio-max3191x.c 					: max3191x->fault_pins->desc[i];
desc              305 drivers/gpio/gpio-max3191x.c 	gpiod_set_value_cansleep(max3191x->db0_pins->desc[chipnum], db0_val);
desc              306 drivers/gpio/gpio-max3191x.c 	gpiod_set_value_cansleep(max3191x->db1_pins->desc[chipnum], db1_val);
desc              312 drivers/gpio/gpio-max3191x.c 						  struct gpio_desc **desc,
desc              327 drivers/gpio/gpio-max3191x.c 	gpiod_set_array_value_cansleep(ndescs, desc, info, values);
desc              400 drivers/gpio/gpio-max3191x.c 				 max3191x->modesel_pins->desc,
desc              333 drivers/gpio/gpio-merrifield.c static void mrfld_irq_handler(struct irq_desc *desc)
desc              335 drivers/gpio/gpio-merrifield.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              337 drivers/gpio/gpio-merrifield.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              340 drivers/gpio/gpio-merrifield.c 	chained_irq_enter(irqchip, desc);
desc              362 drivers/gpio/gpio-merrifield.c 	chained_irq_exit(irqchip, desc);
desc               63 drivers/gpio/gpio-mockup.c 	struct gpio_desc *desc;
desc              232 drivers/gpio/gpio-mockup.c 	struct gpio_desc *desc;
desc              249 drivers/gpio/gpio-mockup.c 	desc = &gc->gpiodev->descs[priv->offset];
desc              254 drivers/gpio/gpio-mockup.c 	if (test_bit(FLAG_REQUESTED, &desc->flags) &&
desc              255 drivers/gpio/gpio-mockup.c 	    !test_bit(FLAG_IS_OUT, &desc->flags)) {
desc              269 drivers/gpio/gpio-mockup.c 	if (!test_bit(FLAG_REQUESTED, &desc->flags) ||
desc              270 drivers/gpio/gpio-mockup.c 	    !test_bit(FLAG_IS_OUT, &desc->flags))
desc              340 drivers/gpio/gpio-mockup.c 		priv->desc = &gc->gpiodev->descs[i];
desc               31 drivers/gpio/gpio-moxtet.c 	const struct moxtet_gpio_desc	*desc;
desc               39 drivers/gpio/gpio-moxtet.c 	if (chip->desc->in_mask & BIT(offset)) {
desc               41 drivers/gpio/gpio-moxtet.c 	} else if (chip->desc->out_mask & BIT(offset)) {
desc               80 drivers/gpio/gpio-moxtet.c 	if (chip->desc->in_mask & BIT(offset))
desc               82 drivers/gpio/gpio-moxtet.c 	else if (chip->desc->out_mask & BIT(offset))
desc               93 drivers/gpio/gpio-moxtet.c 	if (chip->desc->in_mask & BIT(offset))
desc               95 drivers/gpio/gpio-moxtet.c 	else if (chip->desc->out_mask & BIT(offset))
desc              106 drivers/gpio/gpio-moxtet.c 	if (chip->desc->out_mask & BIT(offset))
desc              108 drivers/gpio/gpio-moxtet.c 	else if (chip->desc->in_mask & BIT(offset))
desc              136 drivers/gpio/gpio-moxtet.c 	chip->desc = &descs[id];
desc              130 drivers/gpio/gpio-mpc8xxx.c static void mpc8xxx_gpio_irq_cascade(struct irq_desc *desc)
desc              132 drivers/gpio/gpio-mpc8xxx.c 	struct mpc8xxx_gpio_chip *mpc8xxx_gc = irq_desc_get_handler_data(desc);
desc              133 drivers/gpio/gpio-mpc8xxx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              143 drivers/gpio/gpio-mpc8xxx.c 		chip->irq_eoi(&desc->irq_data);
desc              221 drivers/gpio/gpio-msic.c static void msic_gpio_irq_handler(struct irq_desc *desc)
desc              223 drivers/gpio/gpio-msic.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              553 drivers/gpio/gpio-mvebu.c static void mvebu_gpio_irq_handler(struct irq_desc *desc)
desc              555 drivers/gpio/gpio-mvebu.c 	struct mvebu_gpio_chip *mvchip = irq_desc_get_handler_data(desc);
desc              556 drivers/gpio/gpio-mvebu.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              563 drivers/gpio/gpio-mvebu.c 	chained_irq_enter(chip, desc);
desc              597 drivers/gpio/gpio-mvebu.c 	chained_irq_exit(chip, desc);
desc              612 drivers/gpio/gpio-mvebu.c 	struct gpio_desc *desc;
desc              621 drivers/gpio/gpio-mvebu.c 		desc = gpiochip_request_own_desc(&mvchip->chip,
desc              625 drivers/gpio/gpio-mvebu.c 		if (IS_ERR(desc)) {
desc              626 drivers/gpio/gpio-mvebu.c 			ret = PTR_ERR(desc);
desc              630 drivers/gpio/gpio-mvebu.c 		mvpwm->gpiod = desc;
desc              276 drivers/gpio/gpio-mxc.c static void mx3_gpio_irq_handler(struct irq_desc *desc)
desc              279 drivers/gpio/gpio-mxc.c 	struct mxc_gpio_port *port = irq_desc_get_handler_data(desc);
desc              280 drivers/gpio/gpio-mxc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              282 drivers/gpio/gpio-mxc.c 	chained_irq_enter(chip, desc);
desc              288 drivers/gpio/gpio-mxc.c 	chained_irq_exit(chip, desc);
desc              292 drivers/gpio/gpio-mxc.c static void mx2_gpio_irq_handler(struct irq_desc *desc)
desc              296 drivers/gpio/gpio-mxc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              298 drivers/gpio/gpio-mxc.c 	chained_irq_enter(chip, desc);
desc              310 drivers/gpio/gpio-mxc.c 	chained_irq_exit(chip, desc);
desc              150 drivers/gpio/gpio-mxs.c static void mxs_gpio_irq_handler(struct irq_desc *desc)
desc              153 drivers/gpio/gpio-mxs.c 	struct mxs_gpio_port *port = irq_desc_get_handler_data(desc);
desc              155 drivers/gpio/gpio-mxs.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              209 drivers/gpio/gpio-pl061.c static void pl061_irq_handler(struct irq_desc *desc)
desc              213 drivers/gpio/gpio-pl061.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              215 drivers/gpio/gpio-pl061.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              217 drivers/gpio/gpio-pl061.c 	chained_irq_enter(irqchip, desc);
desc              226 drivers/gpio/gpio-pl061.c 	chained_irq_exit(irqchip, desc);
desc              226 drivers/gpio/gpio-sa1100.c static void sa1100_gpio_handler(struct irq_desc *desc)
desc              228 drivers/gpio/gpio-sa1100.c 	struct sa1100_gpio_chip *sgc = irq_desc_get_handler_data(desc);
desc              184 drivers/gpio/gpio-sprd.c static void sprd_gpio_irq_handler(struct irq_desc *desc)
desc              186 drivers/gpio/gpio-sprd.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              187 drivers/gpio/gpio-sprd.c 	struct irq_chip *ic = irq_desc_get_chip(desc);
desc              191 drivers/gpio/gpio-sprd.c 	chained_irq_enter(ic, desc);
desc              206 drivers/gpio/gpio-sprd.c 	chained_irq_exit(ic, desc);
desc              372 drivers/gpio/gpio-tegra.c static void tegra_gpio_irq_handler(struct irq_desc *desc)
desc              378 drivers/gpio/gpio-tegra.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              379 drivers/gpio/gpio-tegra.c 	struct tegra_gpio_bank *bank = irq_desc_get_handler_data(desc);
desc              382 drivers/gpio/gpio-tegra.c 	chained_irq_enter(chip, desc);
desc              400 drivers/gpio/gpio-tegra.c 				chained_irq_exit(chip, desc);
desc              409 drivers/gpio/gpio-tegra.c 		chained_irq_exit(chip, desc);
desc              333 drivers/gpio/gpio-tegra186.c static void tegra186_gpio_irq(struct irq_desc *desc)
desc              335 drivers/gpio/gpio-tegra186.c 	struct tegra_gpio *gpio = irq_desc_get_handler_data(desc);
desc              337 drivers/gpio/gpio-tegra186.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              338 drivers/gpio/gpio-tegra186.c 	unsigned int parent = irq_desc_get_irq(desc);
desc              341 drivers/gpio/gpio-tegra186.c 	chained_irq_enter(chip, desc);
desc              367 drivers/gpio/gpio-tegra186.c 	chained_irq_exit(chip, desc);
desc              184 drivers/gpio/gpio-timberdale.c static void timbgpio_irq(struct irq_desc *desc)
desc              186 drivers/gpio/gpio-timberdale.c 	struct timbgpio *tgpio = irq_desc_get_handler_data(desc);
desc              187 drivers/gpio/gpio-timberdale.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              177 drivers/gpio/gpio-tqmx86.c static void tqmx86_gpio_irq_handler(struct irq_desc *desc)
desc              179 drivers/gpio/gpio-tqmx86.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              181 drivers/gpio/gpio-tqmx86.c 	struct irq_chip *irq_chip = irq_desc_get_chip(desc);
desc              186 drivers/gpio/gpio-tqmx86.c 	chained_irq_enter(irq_chip, desc);
desc              198 drivers/gpio/gpio-tqmx86.c 	chained_irq_exit(irq_chip, desc);
desc              137 drivers/gpio/gpio-vf610.c static void vf610_gpio_irq_handler(struct irq_desc *desc)
desc              140 drivers/gpio/gpio-vf610.c 		gpiochip_get_data(irq_desc_get_handler_data(desc));
desc              141 drivers/gpio/gpio-vf610.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              145 drivers/gpio/gpio-vf610.c 	chained_irq_enter(chip, desc);
desc              155 drivers/gpio/gpio-vf610.c 	chained_irq_exit(chip, desc);
desc              201 drivers/gpio/gpio-xlp.c static void xlp_gpio_generic_handler(struct irq_desc *desc)
desc              203 drivers/gpio/gpio-xlp.c 	struct xlp_gpio_priv *priv = irq_desc_get_handler_data(desc);
desc              204 drivers/gpio/gpio-xlp.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              211 drivers/gpio/gpio-xlp.c 	chained_irq_enter(irqchip, desc);
desc              222 drivers/gpio/gpio-xlp.c 	chained_irq_exit(irqchip, desc);
desc              156 drivers/gpio/gpio-zx.c static void zx_irq_handler(struct irq_desc *desc)
desc              160 drivers/gpio/gpio-zx.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              162 drivers/gpio/gpio-zx.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              164 drivers/gpio/gpio-zx.c 	chained_irq_enter(irqchip, desc);
desc              174 drivers/gpio/gpio-zx.c 	chained_irq_exit(irqchip, desc);
desc              631 drivers/gpio/gpio-zynq.c static void zynq_gpio_irqhandler(struct irq_desc *desc)
desc              636 drivers/gpio/gpio-zynq.c 		gpiochip_get_data(irq_desc_get_handler_data(desc));
desc              637 drivers/gpio/gpio-zynq.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              639 drivers/gpio/gpio-zynq.c 	chained_irq_enter(irqchip, desc);
desc              649 drivers/gpio/gpio-zynq.c 	chained_irq_exit(irqchip, desc);
desc               62 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc               68 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc              193 drivers/gpio/gpiolib-acpi.c 		value = gpiod_get_raw_value_cansleep(event->desc);
desc              268 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc              292 drivers/gpio/gpiolib-acpi.c 	desc = gpiochip_request_own_desc(chip, pin, "ACPI:Event",
desc              294 drivers/gpio/gpiolib-acpi.c 	if (IS_ERR(desc)) {
desc              305 drivers/gpio/gpiolib-acpi.c 	irq = gpiod_to_irq(desc);
desc              341 drivers/gpio/gpiolib-acpi.c 	event->desc = desc;
desc              350 drivers/gpio/gpiolib-acpi.c 	gpiochip_free_own_desc(desc);
desc              439 drivers/gpio/gpiolib-acpi.c 		gpiochip_free_own_desc(event->desc);
desc              631 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc              642 drivers/gpio/gpiolib-acpi.c 	if (!lookup->desc) {
desc              657 drivers/gpio/gpiolib-acpi.c 		lookup->desc = acpi_get_gpiod(agpio->resource_source.string_ptr,
desc              699 drivers/gpio/gpiolib-acpi.c 	if (!lookup->desc)
desc              799 drivers/gpio/gpiolib-acpi.c 	return ret ? ERR_PTR(ret) : lookup.desc;
desc              820 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc              834 drivers/gpio/gpiolib-acpi.c 		desc = acpi_get_gpiod_by_index(adev, propname, idx, &info);
desc              835 drivers/gpio/gpiolib-acpi.c 		if (!IS_ERR(desc))
desc              837 drivers/gpio/gpiolib-acpi.c 		if (PTR_ERR(desc) == -EPROBE_DEFER)
desc              838 drivers/gpio/gpiolib-acpi.c 			return ERR_CAST(desc);
desc              842 drivers/gpio/gpiolib-acpi.c 	if (IS_ERR(desc)) {
desc              846 drivers/gpio/gpiolib-acpi.c 		desc = acpi_get_gpiod_by_index(adev, NULL, idx, &info);
desc              847 drivers/gpio/gpiolib-acpi.c 		if (IS_ERR(desc))
desc              848 drivers/gpio/gpiolib-acpi.c 			return desc;
desc              859 drivers/gpio/gpiolib-acpi.c 	return desc;
desc              903 drivers/gpio/gpiolib-acpi.c 	return ret ? ERR_PTR(ret) : lookup.desc;
desc              928 drivers/gpio/gpiolib-acpi.c 		struct gpio_desc *desc;
desc              930 drivers/gpio/gpiolib-acpi.c 		desc = acpi_get_gpiod_by_index(adev, NULL, i, &info);
desc              933 drivers/gpio/gpiolib-acpi.c 		if (IS_ERR(desc) && PTR_ERR(desc) != -EPROBE_DEFER)
desc              934 drivers/gpio/gpiolib-acpi.c 			return PTR_ERR(desc);
desc              941 drivers/gpio/gpiolib-acpi.c 			if (IS_ERR(desc))
desc              942 drivers/gpio/gpiolib-acpi.c 				return PTR_ERR(desc);
desc              944 drivers/gpio/gpiolib-acpi.c 			irq = gpiod_to_irq(desc);
desc              949 drivers/gpio/gpiolib-acpi.c 			ret = gpiod_configure_flags(desc, label, lflags, info.flags);
desc             1005 drivers/gpio/gpiolib-acpi.c 		struct gpio_desc *desc;
desc             1014 drivers/gpio/gpiolib-acpi.c 				desc = conn->desc;
desc             1030 drivers/gpio/gpiolib-acpi.c 					desc = event->desc;
desc             1041 drivers/gpio/gpiolib-acpi.c 			desc = gpiochip_request_own_desc(chip, pin, label,
desc             1044 drivers/gpio/gpiolib-acpi.c 			if (IS_ERR(desc)) {
desc             1053 drivers/gpio/gpiolib-acpi.c 				gpiochip_free_own_desc(desc);
desc             1059 drivers/gpio/gpiolib-acpi.c 			conn->desc = desc;
desc             1066 drivers/gpio/gpiolib-acpi.c 			gpiod_set_raw_value_cansleep(desc,
desc             1069 drivers/gpio/gpiolib-acpi.c 			*value |= (u64)gpiod_get_raw_value_cansleep(desc) << i;
desc             1109 drivers/gpio/gpiolib-acpi.c 		gpiochip_free_own_desc(conn->desc);
desc             1123 drivers/gpio/gpiolib-acpi.c 	struct gpio_desc *desc;
desc             1136 drivers/gpio/gpiolib-acpi.c 	desc = gpiochip_get_desc(chip, gpios[0]);
desc             1137 drivers/gpio/gpiolib-acpi.c 	if (IS_ERR(desc))
desc             1138 drivers/gpio/gpiolib-acpi.c 		return desc;
desc             1154 drivers/gpio/gpiolib-acpi.c 	return desc;
desc             1165 drivers/gpio/gpiolib-acpi.c 		struct gpio_desc *desc;
desc             1172 drivers/gpio/gpiolib-acpi.c 		desc = acpi_gpiochip_parse_own_gpio(achip, fwnode, &name,
desc             1174 drivers/gpio/gpiolib-acpi.c 		if (IS_ERR(desc))
desc             1177 drivers/gpio/gpiolib-acpi.c 		ret = gpiod_hog(desc, name, lflags, dflags);
desc               20 drivers/gpio/gpiolib-devres.c 	struct gpio_desc **desc = res;
desc               22 drivers/gpio/gpiolib-devres.c 	gpiod_put(*desc);
desc               99 drivers/gpio/gpiolib-devres.c 	struct gpio_desc *desc;
desc              101 drivers/gpio/gpiolib-devres.c 	desc = gpiod_get_index(dev, con_id, idx, flags);
desc              102 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(desc))
desc              103 drivers/gpio/gpiolib-devres.c 		return desc;
desc              113 drivers/gpio/gpiolib-devres.c 				   devm_gpiod_match, &desc);
desc              115 drivers/gpio/gpiolib-devres.c 			return desc;
desc              121 drivers/gpio/gpiolib-devres.c 		gpiod_put(desc);
desc              125 drivers/gpio/gpiolib-devres.c 	*dr = desc;
desc              128 drivers/gpio/gpiolib-devres.c 	return desc;
desc              154 drivers/gpio/gpiolib-devres.c 	struct gpio_desc *desc;
desc              156 drivers/gpio/gpiolib-devres.c 	desc = gpiod_get_from_of_node(node, propname, index, dflags, label);
desc              157 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(desc))
desc              158 drivers/gpio/gpiolib-devres.c 		return desc;
desc              168 drivers/gpio/gpiolib-devres.c 				   devm_gpiod_match, &desc);
desc              170 drivers/gpio/gpiolib-devres.c 			return desc;
desc              176 drivers/gpio/gpiolib-devres.c 		gpiod_put(desc);
desc              180 drivers/gpio/gpiolib-devres.c 	*dr = desc;
desc              183 drivers/gpio/gpiolib-devres.c 	return desc;
desc              211 drivers/gpio/gpiolib-devres.c 	struct gpio_desc *desc;
desc              227 drivers/gpio/gpiolib-devres.c 		desc = fwnode_get_named_gpiod(child, prop_name, index, flags,
desc              229 drivers/gpio/gpiolib-devres.c 		if (!IS_ERR(desc) || (PTR_ERR(desc) != -ENOENT))
desc              232 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(desc)) {
desc              234 drivers/gpio/gpiolib-devres.c 		return desc;
desc              237 drivers/gpio/gpiolib-devres.c 	*dr = desc;
desc              240 drivers/gpio/gpiolib-devres.c 	return desc;
desc              261 drivers/gpio/gpiolib-devres.c 	struct gpio_desc *desc;
desc              263 drivers/gpio/gpiolib-devres.c 	desc = devm_gpiod_get_index(dev, con_id, index, flags);
desc              264 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(desc)) {
desc              265 drivers/gpio/gpiolib-devres.c 		if (PTR_ERR(desc) == -ENOENT)
desc              269 drivers/gpio/gpiolib-devres.c 	return desc;
desc              342 drivers/gpio/gpiolib-devres.c void devm_gpiod_put(struct device *dev, struct gpio_desc *desc)
desc              345 drivers/gpio/gpiolib-devres.c 		&desc));
desc              359 drivers/gpio/gpiolib-devres.c void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc)
desc              363 drivers/gpio/gpiolib-devres.c 	if (IS_ERR_OR_NULL(desc))
desc              366 drivers/gpio/gpiolib-devres.c 			     devm_gpiod_match, &desc);
desc               23 drivers/gpio/gpiolib-legacy.c 	struct gpio_desc *desc;
desc               26 drivers/gpio/gpiolib-legacy.c 	desc = gpio_to_desc(gpio);
desc               29 drivers/gpio/gpiolib-legacy.c 	if (!desc && gpio_is_valid(gpio))
desc               32 drivers/gpio/gpiolib-legacy.c 	err = gpiod_request(desc, label);
desc               37 drivers/gpio/gpiolib-legacy.c 		set_bit(FLAG_OPEN_DRAIN, &desc->flags);
desc               40 drivers/gpio/gpiolib-legacy.c 		set_bit(FLAG_OPEN_SOURCE, &desc->flags);
desc               43 drivers/gpio/gpiolib-legacy.c 		set_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc               46 drivers/gpio/gpiolib-legacy.c 		err = gpiod_direction_input(desc);
desc               48 drivers/gpio/gpiolib-legacy.c 		err = gpiod_direction_output_raw(desc,
desc               55 drivers/gpio/gpiolib-legacy.c 		err = gpiod_export(desc, flags & GPIOF_EXPORT_CHANGEABLE);
desc               63 drivers/gpio/gpiolib-legacy.c 	gpiod_free(desc);
desc               70 drivers/gpio/gpiolib-legacy.c 	struct gpio_desc *desc = gpio_to_desc(gpio);
desc               73 drivers/gpio/gpiolib-legacy.c 	if (!desc && gpio_is_valid(gpio))
desc               76 drivers/gpio/gpiolib-legacy.c 	return gpiod_request(desc, label);
desc              254 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              267 drivers/gpio/gpiolib-of.c 		desc = ERR_PTR(-EPROBE_DEFER);
desc              271 drivers/gpio/gpiolib-of.c 	desc = of_xlate_and_get_gpiod_flags(chip, &gpiospec, flags);
desc              272 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc))
desc              280 drivers/gpio/gpiolib-of.c 		 PTR_ERR_OR_ZERO(desc));
desc              285 drivers/gpio/gpiolib-of.c 	return desc;
desc              291 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              293 drivers/gpio/gpiolib-of.c 	desc = of_get_named_gpiod_flags(np, list_name, index, flags);
desc              295 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc))
desc              296 drivers/gpio/gpiolib-of.c 		return PTR_ERR(desc);
desc              298 drivers/gpio/gpiolib-of.c 		return desc_to_gpio(desc);
desc              322 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              330 drivers/gpio/gpiolib-of.c 	desc = of_get_named_gpiod_flags(node, propname,
desc              333 drivers/gpio/gpiolib-of.c 	if (!desc || IS_ERR(desc)) {
desc              334 drivers/gpio/gpiolib-of.c 		return desc;
desc              342 drivers/gpio/gpiolib-of.c 	ret = gpiod_request(desc, label);
desc              344 drivers/gpio/gpiolib-of.c 		return desc;
desc              361 drivers/gpio/gpiolib-of.c 	ret = gpiod_configure_flags(desc, propname, lflags, dflags);
desc              363 drivers/gpio/gpiolib-of.c 		gpiod_put(desc);
desc              367 drivers/gpio/gpiolib-of.c 	return desc;
desc              381 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              397 drivers/gpio/gpiolib-of.c 	desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags);
desc              398 drivers/gpio/gpiolib-of.c 	return desc;
desc              447 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              460 drivers/gpio/gpiolib-of.c 	desc = of_get_named_gpiod_flags(np, con_id, 0, of_flags);
desc              461 drivers/gpio/gpiolib-of.c 	return desc;
desc              482 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              494 drivers/gpio/gpiolib-of.c 		desc = of_get_named_gpiod_flags(dev->of_node, prop_name, idx,
desc              497 drivers/gpio/gpiolib-of.c 		if (!IS_ERR(desc) || PTR_ERR(desc) != -ENOENT)
desc              501 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc) && PTR_ERR(desc) == -ENOENT) {
desc              503 drivers/gpio/gpiolib-of.c 		desc = of_find_spi_gpio(dev, con_id, &of_flags);
desc              506 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc) && PTR_ERR(desc) == -ENOENT) {
desc              508 drivers/gpio/gpiolib-of.c 		desc = of_find_spi_cs_gpio(dev, con_id, idx, flags);
desc              509 drivers/gpio/gpiolib-of.c 		if (!IS_ERR(desc))
desc              510 drivers/gpio/gpiolib-of.c 			return desc;
desc              513 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc) && PTR_ERR(desc) == -ENOENT) {
desc              515 drivers/gpio/gpiolib-of.c 		desc = of_find_regulator_gpio(dev, con_id, &of_flags);
desc              518 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc) && PTR_ERR(desc) == -ENOENT)
desc              519 drivers/gpio/gpiolib-of.c 		desc = of_find_arizona_gpio(dev, con_id, &of_flags);
desc              521 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc))
desc              522 drivers/gpio/gpiolib-of.c 		return desc;
desc              542 drivers/gpio/gpiolib-of.c 	return desc;
desc              567 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc;
desc              594 drivers/gpio/gpiolib-of.c 	desc = of_xlate_and_get_gpiod_flags(chip, &gpiospec, &xlate_flags);
desc              595 drivers/gpio/gpiolib-of.c 	if (IS_ERR(desc))
desc              596 drivers/gpio/gpiolib-of.c 		return desc;
desc              611 drivers/gpio/gpiolib-of.c 			desc_to_gpio(desc), np);
desc              618 drivers/gpio/gpiolib-of.c 	return desc;
desc              631 drivers/gpio/gpiolib-of.c 	struct gpio_desc *desc = NULL;
desc              644 drivers/gpio/gpiolib-of.c 			desc = of_parse_own_gpio(np, chip, i, &name, &lflags,
desc              646 drivers/gpio/gpiolib-of.c 			if (IS_ERR(desc))
desc              649 drivers/gpio/gpiolib-of.c 			ret = gpiod_hog(desc, name, lflags, dflags);
desc               21 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc;
desc               62 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc               67 drivers/gpio/gpiolib-sysfs.c 	gpiod_get_direction(desc);
desc               69 drivers/gpio/gpiolib-sysfs.c 			test_bit(FLAG_IS_OUT, &desc->flags)
desc               81 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc               87 drivers/gpio/gpiolib-sysfs.c 		status = gpiod_direction_output_raw(desc, 1);
desc               89 drivers/gpio/gpiolib-sysfs.c 		status = gpiod_direction_output_raw(desc, 0);
desc               91 drivers/gpio/gpiolib-sysfs.c 		status = gpiod_direction_input(desc);
desc              105 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc              110 drivers/gpio/gpiolib-sysfs.c 	status = gpiod_get_value_cansleep(desc);
desc              127 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc              132 drivers/gpio/gpiolib-sysfs.c 	if (!test_bit(FLAG_IS_OUT, &desc->flags)) {
desc              143 drivers/gpio/gpiolib-sysfs.c 			gpiod_set_value_cansleep(desc, value);
desc              167 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc	*desc = data->desc;
desc              171 drivers/gpio/gpiolib-sysfs.c 	data->irq = gpiod_to_irq(desc);
desc              181 drivers/gpio/gpiolib-sysfs.c 		irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ?
desc              184 drivers/gpio/gpiolib-sysfs.c 		irq_flags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ?
desc              195 drivers/gpio/gpiolib-sysfs.c 	ret = gpiochip_lock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc));
desc              209 drivers/gpio/gpiolib-sysfs.c 	gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc));
desc              223 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc              227 drivers/gpio/gpiolib-sysfs.c 	gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc));
desc              307 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc	*desc = data->desc;
desc              311 drivers/gpio/gpiolib-sysfs.c 	if (!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) == !!value)
desc              315 drivers/gpio/gpiolib-sysfs.c 		set_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc              317 drivers/gpio/gpiolib-sysfs.c 		clear_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc              333 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc              339 drivers/gpio/gpiolib-sysfs.c 				!!test_bit(FLAG_ACTIVE_LOW, &desc->flags));
desc              370 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc = data->desc;
desc              378 drivers/gpio/gpiolib-sysfs.c 		if (gpiod_to_irq(desc) < 0)
desc              380 drivers/gpio/gpiolib-sysfs.c 		if (!show_direction && test_bit(FLAG_IS_OUT, &desc->flags))
desc              458 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc	*desc;
desc              465 drivers/gpio/gpiolib-sysfs.c 	desc = gpio_to_desc(gpio);
desc              467 drivers/gpio/gpiolib-sysfs.c 	if (!desc) {
desc              477 drivers/gpio/gpiolib-sysfs.c 	status = gpiod_request(desc, "sysfs");
desc              484 drivers/gpio/gpiolib-sysfs.c 	status = gpiod_set_transitory(desc, false);
desc              486 drivers/gpio/gpiolib-sysfs.c 		status = gpiod_export(desc, true);
desc              488 drivers/gpio/gpiolib-sysfs.c 			gpiod_free(desc);
desc              490 drivers/gpio/gpiolib-sysfs.c 			set_bit(FLAG_SYSFS, &desc->flags);
desc              505 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc	*desc;
desc              512 drivers/gpio/gpiolib-sysfs.c 	desc = gpio_to_desc(gpio);
desc              514 drivers/gpio/gpiolib-sysfs.c 	if (!desc) {
desc              525 drivers/gpio/gpiolib-sysfs.c 	if (test_and_clear_bit(FLAG_SYSFS, &desc->flags)) {
desc              527 drivers/gpio/gpiolib-sysfs.c 		gpiod_free(desc);
desc              566 drivers/gpio/gpiolib-sysfs.c int gpiod_export(struct gpio_desc *desc, bool direction_may_change)
desc              583 drivers/gpio/gpiolib-sysfs.c 	if (!desc) {
desc              588 drivers/gpio/gpiolib-sysfs.c 	gdev = desc->gdev;
desc              600 drivers/gpio/gpiolib-sysfs.c 	if (!test_bit(FLAG_REQUESTED, &desc->flags) ||
desc              601 drivers/gpio/gpiolib-sysfs.c 	     test_bit(FLAG_EXPORT, &desc->flags)) {
desc              603 drivers/gpio/gpiolib-sysfs.c 		gpiod_dbg(desc, "%s: unavailable (requested=%d, exported=%d)\n",
desc              605 drivers/gpio/gpiolib-sysfs.c 				test_bit(FLAG_REQUESTED, &desc->flags),
desc              606 drivers/gpio/gpiolib-sysfs.c 				test_bit(FLAG_EXPORT, &desc->flags));
desc              618 drivers/gpio/gpiolib-sysfs.c 	data->desc = desc;
desc              625 drivers/gpio/gpiolib-sysfs.c 	offset = gpio_chip_hwgpio(desc);
desc              632 drivers/gpio/gpiolib-sysfs.c 					desc_to_gpio(desc));
desc              638 drivers/gpio/gpiolib-sysfs.c 	set_bit(FLAG_EXPORT, &desc->flags);
desc              646 drivers/gpio/gpiolib-sysfs.c 	gpiod_dbg(desc, "%s: status %d\n", __func__, status);
desc              651 drivers/gpio/gpiolib-sysfs.c static int match_export(struct device *dev, const void *desc)
desc              655 drivers/gpio/gpiolib-sysfs.c 	return data->desc == desc;
desc              670 drivers/gpio/gpiolib-sysfs.c 		      struct gpio_desc *desc)
desc              675 drivers/gpio/gpiolib-sysfs.c 	if (!desc) {
desc              680 drivers/gpio/gpiolib-sysfs.c 	cdev = class_find_device(&gpio_class, NULL, desc, match_export);
desc              697 drivers/gpio/gpiolib-sysfs.c void gpiod_unexport(struct gpio_desc *desc)
desc              702 drivers/gpio/gpiolib-sysfs.c 	if (!desc) {
desc              709 drivers/gpio/gpiolib-sysfs.c 	if (!test_bit(FLAG_EXPORT, &desc->flags))
desc              712 drivers/gpio/gpiolib-sysfs.c 	dev = class_find_device(&gpio_class, NULL, desc, match_export);
desc              718 drivers/gpio/gpiolib-sysfs.c 	clear_bit(FLAG_EXPORT, &desc->flags);
desc              781 drivers/gpio/gpiolib-sysfs.c 	struct gpio_desc *desc;
desc              797 drivers/gpio/gpiolib-sysfs.c 		desc = &gdev->descs[i];
desc              798 drivers/gpio/gpiolib-sysfs.c 		if (test_and_clear_bit(FLAG_SYSFS, &desc->flags))
desc              799 drivers/gpio/gpiolib-sysfs.c 			gpiod_free(desc);
desc              163 drivers/gpio/gpiolib.c int desc_to_gpio(const struct gpio_desc *desc)
desc              165 drivers/gpio/gpiolib.c 	return desc->gdev->base + (desc - &desc->gdev->descs[0]);
desc              174 drivers/gpio/gpiolib.c struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc)
desc              176 drivers/gpio/gpiolib.c 	if (!desc || !desc->gdev)
desc              178 drivers/gpio/gpiolib.c 	return desc->gdev->chip;
desc              214 drivers/gpio/gpiolib.c int gpiod_get_direction(struct gpio_desc *desc)
desc              220 drivers/gpio/gpiolib.c 	chip = gpiod_to_chip(desc);
desc              221 drivers/gpio/gpiolib.c 	offset = gpio_chip_hwgpio(desc);
desc              227 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) &&
desc              228 drivers/gpio/gpiolib.c 	    test_bit(FLAG_IS_OUT, &desc->flags))
desc              238 drivers/gpio/gpiolib.c 		clear_bit(FLAG_IS_OUT, &desc->flags);
desc              242 drivers/gpio/gpiolib.c 		set_bit(FLAG_IS_OUT, &desc->flags);
desc              310 drivers/gpio/gpiolib.c 			struct gpio_desc *desc = &gdev->descs[i];
desc              312 drivers/gpio/gpiolib.c 			if (!desc->name || !name)
desc              315 drivers/gpio/gpiolib.c 			if (!strcmp(desc->name, name)) {
desc              317 drivers/gpio/gpiolib.c 				return desc;
desc              584 drivers/gpio/gpiolib.c 		struct gpio_desc *desc;
desc              591 drivers/gpio/gpiolib.c 		desc = &gdev->descs[offset];
desc              592 drivers/gpio/gpiolib.c 		ret = gpiod_request(desc, lh->label);
desc              595 drivers/gpio/gpiolib.c 		lh->descs[i] = desc;
desc              599 drivers/gpio/gpiolib.c 			set_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc              601 drivers/gpio/gpiolib.c 			set_bit(FLAG_OPEN_DRAIN, &desc->flags);
desc              603 drivers/gpio/gpiolib.c 			set_bit(FLAG_OPEN_SOURCE, &desc->flags);
desc              605 drivers/gpio/gpiolib.c 		ret = gpiod_set_transitory(desc, false);
desc              616 drivers/gpio/gpiolib.c 			ret = gpiod_direction_output(desc, val);
desc              620 drivers/gpio/gpiolib.c 			ret = gpiod_direction_input(desc);
desc              698 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc              777 drivers/gpio/gpiolib.c 	gpiod_free(le->desc);
desc              800 drivers/gpio/gpiolib.c 		val = gpiod_get_value_cansleep(le->desc);
desc              853 drivers/gpio/gpiolib.c 		int level = gpiod_get_value_cansleep(le->desc);
desc              894 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc              947 drivers/gpio/gpiolib.c 	desc = &gdev->descs[offset];
desc              948 drivers/gpio/gpiolib.c 	ret = gpiod_request(desc, le->label);
desc              951 drivers/gpio/gpiolib.c 	le->desc = desc;
desc              955 drivers/gpio/gpiolib.c 		set_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc              957 drivers/gpio/gpiolib.c 	ret = gpiod_direction_input(desc);
desc              961 drivers/gpio/gpiolib.c 	le->irq = gpiod_to_irq(desc);
desc              968 drivers/gpio/gpiolib.c 		irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ?
desc              971 drivers/gpio/gpiolib.c 		irqflags |= test_bit(FLAG_ACTIVE_LOW, &desc->flags) ?
desc             1024 drivers/gpio/gpiolib.c 	gpiod_free(le->desc);
desc             1064 drivers/gpio/gpiolib.c 		struct gpio_desc *desc;
desc             1071 drivers/gpio/gpiolib.c 		desc = &gdev->descs[lineinfo.line_offset];
desc             1072 drivers/gpio/gpiolib.c 		if (desc->name) {
desc             1073 drivers/gpio/gpiolib.c 			strncpy(lineinfo.name, desc->name,
desc             1079 drivers/gpio/gpiolib.c 		if (desc->label) {
desc             1080 drivers/gpio/gpiolib.c 			strncpy(lineinfo.consumer, desc->label,
desc             1092 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_REQUESTED, &desc->flags) ||
desc             1093 drivers/gpio/gpiolib.c 		    test_bit(FLAG_IS_HOGGED, &desc->flags) ||
desc             1094 drivers/gpio/gpiolib.c 		    test_bit(FLAG_USED_AS_IRQ, &desc->flags) ||
desc             1095 drivers/gpio/gpiolib.c 		    test_bit(FLAG_EXPORT, &desc->flags) ||
desc             1096 drivers/gpio/gpiolib.c 		    test_bit(FLAG_SYSFS, &desc->flags) ||
desc             1099 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_IS_OUT, &desc->flags))
desc             1101 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             1103 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_OPEN_DRAIN, &desc->flags))
desc             1106 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_OPEN_SOURCE, &desc->flags))
desc             1221 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             1224 drivers/gpio/gpiolib.c 	desc = gpiochip_get_desc(chip, hog->chip_hwnum);
desc             1225 drivers/gpio/gpiolib.c 	if (IS_ERR(desc)) {
desc             1227 drivers/gpio/gpiolib.c 		       __func__, PTR_ERR(desc));
desc             1231 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_IS_HOGGED, &desc->flags))
desc             1234 drivers/gpio/gpiolib.c 	rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags);
desc             1399 drivers/gpio/gpiolib.c 		struct gpio_desc *desc = &gdev->descs[i];
desc             1403 drivers/gpio/gpiolib.c 				set_bit(FLAG_IS_OUT, &desc->flags);
desc             1405 drivers/gpio/gpiolib.c 				clear_bit(FLAG_IS_OUT, &desc->flags);
desc             1408 drivers/gpio/gpiolib.c 				set_bit(FLAG_IS_OUT, &desc->flags);
desc             1410 drivers/gpio/gpiolib.c 				clear_bit(FLAG_IS_OUT, &desc->flags);
desc             1499 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             1522 drivers/gpio/gpiolib.c 		desc = &gdev->descs[i];
desc             1523 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_REQUESTED, &desc->flags))
desc             2668 drivers/gpio/gpiolib.c static int gpiod_request_commit(struct gpio_desc *desc, const char *label)
desc             2670 drivers/gpio/gpiolib.c 	struct gpio_chip	*chip = desc->gdev->chip;
desc             2687 drivers/gpio/gpiolib.c 	if (test_and_set_bit(FLAG_REQUESTED, &desc->flags) == 0) {
desc             2688 drivers/gpio/gpiolib.c 		desc_set_label(desc, label ? : "?");
desc             2699 drivers/gpio/gpiolib.c 		offset = gpio_chip_hwgpio(desc);
desc             2707 drivers/gpio/gpiolib.c 			desc_set_label(desc, NULL);
desc             2709 drivers/gpio/gpiolib.c 			clear_bit(FLAG_REQUESTED, &desc->flags);
desc             2716 drivers/gpio/gpiolib.c 		gpiod_get_direction(desc);
desc             2730 drivers/gpio/gpiolib.c static int validate_desc(const struct gpio_desc *desc, const char *func)
desc             2732 drivers/gpio/gpiolib.c 	if (!desc)
desc             2734 drivers/gpio/gpiolib.c 	if (IS_ERR(desc)) {
desc             2736 drivers/gpio/gpiolib.c 		return PTR_ERR(desc);
desc             2738 drivers/gpio/gpiolib.c 	if (!desc->gdev) {
desc             2742 drivers/gpio/gpiolib.c 	if (!desc->gdev->chip) {
desc             2743 drivers/gpio/gpiolib.c 		dev_warn(&desc->gdev->dev,
desc             2750 drivers/gpio/gpiolib.c #define VALIDATE_DESC(desc) do { \
desc             2751 drivers/gpio/gpiolib.c 	int __valid = validate_desc(desc, __func__); \
desc             2756 drivers/gpio/gpiolib.c #define VALIDATE_DESC_VOID(desc) do { \
desc             2757 drivers/gpio/gpiolib.c 	int __valid = validate_desc(desc, __func__); \
desc             2762 drivers/gpio/gpiolib.c int gpiod_request(struct gpio_desc *desc, const char *label)
desc             2767 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             2768 drivers/gpio/gpiolib.c 	gdev = desc->gdev;
desc             2771 drivers/gpio/gpiolib.c 		ret = gpiod_request_commit(desc, label);
desc             2779 drivers/gpio/gpiolib.c 		gpiod_dbg(desc, "%s: status %d\n", __func__, ret);
desc             2784 drivers/gpio/gpiolib.c static bool gpiod_free_commit(struct gpio_desc *desc)
desc             2792 drivers/gpio/gpiolib.c 	gpiod_unexport(desc);
desc             2796 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             2797 drivers/gpio/gpiolib.c 	if (chip && test_bit(FLAG_REQUESTED, &desc->flags)) {
desc             2801 drivers/gpio/gpiolib.c 			chip->free(chip, gpio_chip_hwgpio(desc));
desc             2804 drivers/gpio/gpiolib.c 		kfree_const(desc->label);
desc             2805 drivers/gpio/gpiolib.c 		desc_set_label(desc, NULL);
desc             2806 drivers/gpio/gpiolib.c 		clear_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc             2807 drivers/gpio/gpiolib.c 		clear_bit(FLAG_REQUESTED, &desc->flags);
desc             2808 drivers/gpio/gpiolib.c 		clear_bit(FLAG_OPEN_DRAIN, &desc->flags);
desc             2809 drivers/gpio/gpiolib.c 		clear_bit(FLAG_OPEN_SOURCE, &desc->flags);
desc             2810 drivers/gpio/gpiolib.c 		clear_bit(FLAG_IS_HOGGED, &desc->flags);
desc             2818 drivers/gpio/gpiolib.c void gpiod_free(struct gpio_desc *desc)
desc             2820 drivers/gpio/gpiolib.c 	if (desc && desc->gdev && gpiod_free_commit(desc)) {
desc             2821 drivers/gpio/gpiolib.c 		module_put(desc->gdev->owner);
desc             2822 drivers/gpio/gpiolib.c 		put_device(&desc->gdev->dev);
desc             2843 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             2848 drivers/gpio/gpiolib.c 	desc = &chip->gpiodev->descs[offset];
desc             2850 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_REQUESTED, &desc->flags) == 0)
desc             2852 drivers/gpio/gpiolib.c 	return desc->label;
desc             2882 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = gpiochip_get_desc(chip, hwnum);
desc             2885 drivers/gpio/gpiolib.c 	if (IS_ERR(desc)) {
desc             2887 drivers/gpio/gpiolib.c 		return desc;
desc             2890 drivers/gpio/gpiolib.c 	ret = gpiod_request_commit(desc, label);
desc             2894 drivers/gpio/gpiolib.c 	ret = gpiod_configure_flags(desc, label, lflags, dflags);
desc             2897 drivers/gpio/gpiolib.c 		gpiod_free_commit(desc);
desc             2901 drivers/gpio/gpiolib.c 	return desc;
desc             2912 drivers/gpio/gpiolib.c void gpiochip_free_own_desc(struct gpio_desc *desc)
desc             2914 drivers/gpio/gpiolib.c 	if (desc)
desc             2915 drivers/gpio/gpiolib.c 		gpiod_free_commit(desc);
desc             2958 drivers/gpio/gpiolib.c int gpiod_direction_input(struct gpio_desc *desc)
desc             2963 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             2964 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             2972 drivers/gpio/gpiolib.c 		gpiod_warn(desc,
desc             2985 drivers/gpio/gpiolib.c 		ret = chip->direction_input(chip, gpio_chip_hwgpio(desc));
desc             2987 drivers/gpio/gpiolib.c 		  (chip->get_direction(chip, gpio_chip_hwgpio(desc)) != 1)) {
desc             2988 drivers/gpio/gpiolib.c 		gpiod_warn(desc,
desc             2994 drivers/gpio/gpiolib.c 		clear_bit(FLAG_IS_OUT, &desc->flags);
desc             2996 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_PULL_UP, &desc->flags))
desc             2997 drivers/gpio/gpiolib.c 		gpio_set_config(chip, gpio_chip_hwgpio(desc),
desc             2999 drivers/gpio/gpiolib.c 	else if (test_bit(FLAG_PULL_DOWN, &desc->flags))
desc             3000 drivers/gpio/gpiolib.c 		gpio_set_config(chip, gpio_chip_hwgpio(desc),
desc             3003 drivers/gpio/gpiolib.c 	trace_gpio_direction(desc_to_gpio(desc), 1, ret);
desc             3009 drivers/gpio/gpiolib.c static int gpiod_direction_output_raw_commit(struct gpio_desc *desc, int value)
desc             3011 drivers/gpio/gpiolib.c 	struct gpio_chip *gc = desc->gdev->chip;
desc             3021 drivers/gpio/gpiolib.c 		gpiod_warn(desc,
desc             3028 drivers/gpio/gpiolib.c 		ret = gc->direction_output(gc, gpio_chip_hwgpio(desc), val);
desc             3032 drivers/gpio/gpiolib.c 		    gc->get_direction(gc, gpio_chip_hwgpio(desc))) {
desc             3033 drivers/gpio/gpiolib.c 			gpiod_warn(desc,
desc             3042 drivers/gpio/gpiolib.c 		gc->set(gc, gpio_chip_hwgpio(desc), val);
desc             3046 drivers/gpio/gpiolib.c 		set_bit(FLAG_IS_OUT, &desc->flags);
desc             3047 drivers/gpio/gpiolib.c 	trace_gpio_value(desc_to_gpio(desc), 0, val);
desc             3048 drivers/gpio/gpiolib.c 	trace_gpio_direction(desc_to_gpio(desc), 0, ret);
desc             3063 drivers/gpio/gpiolib.c int gpiod_direction_output_raw(struct gpio_desc *desc, int value)
desc             3065 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3066 drivers/gpio/gpiolib.c 	return gpiod_direction_output_raw_commit(desc, value);
desc             3082 drivers/gpio/gpiolib.c int gpiod_direction_output(struct gpio_desc *desc, int value)
desc             3087 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3088 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             3094 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_USED_AS_IRQ, &desc->flags) &&
desc             3095 drivers/gpio/gpiolib.c 	    test_bit(FLAG_IRQ_IS_ENABLED, &desc->flags)) {
desc             3096 drivers/gpio/gpiolib.c 		gpiod_err(desc,
desc             3102 drivers/gpio/gpiolib.c 	gc = desc->gdev->chip;
desc             3103 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_OPEN_DRAIN, &desc->flags)) {
desc             3105 drivers/gpio/gpiolib.c 		ret = gpio_set_config(gc, gpio_chip_hwgpio(desc),
desc             3111 drivers/gpio/gpiolib.c 			ret = gpiod_direction_input(desc);
desc             3115 drivers/gpio/gpiolib.c 	else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags)) {
desc             3116 drivers/gpio/gpiolib.c 		ret = gpio_set_config(gc, gpio_chip_hwgpio(desc),
desc             3122 drivers/gpio/gpiolib.c 			ret = gpiod_direction_input(desc);
desc             3126 drivers/gpio/gpiolib.c 		gpio_set_config(gc, gpio_chip_hwgpio(desc),
desc             3131 drivers/gpio/gpiolib.c 	return gpiod_direction_output_raw_commit(desc, value);
desc             3141 drivers/gpio/gpiolib.c 		set_bit(FLAG_IS_OUT, &desc->flags);
desc             3155 drivers/gpio/gpiolib.c int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce)
desc             3160 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3161 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             3163 drivers/gpio/gpiolib.c 		gpiod_dbg(desc,
desc             3170 drivers/gpio/gpiolib.c 	return chip->set_config(chip, gpio_chip_hwgpio(desc), config);
desc             3182 drivers/gpio/gpiolib.c int gpiod_set_transitory(struct gpio_desc *desc, bool transitory)
desc             3189 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3195 drivers/gpio/gpiolib.c 		set_bit(FLAG_TRANSITORY, &desc->flags);
desc             3197 drivers/gpio/gpiolib.c 		clear_bit(FLAG_TRANSITORY, &desc->flags);
desc             3200 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             3206 drivers/gpio/gpiolib.c 	gpio = gpio_chip_hwgpio(desc);
desc             3209 drivers/gpio/gpiolib.c 		dev_dbg(&desc->gdev->dev, "Persistence not supported for GPIO %d\n",
desc             3224 drivers/gpio/gpiolib.c int gpiod_is_active_low(const struct gpio_desc *desc)
desc             3226 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3227 drivers/gpio/gpiolib.c 	return test_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc             3235 drivers/gpio/gpiolib.c void gpiod_toggle_active_low(struct gpio_desc *desc)
desc             3237 drivers/gpio/gpiolib.c 	VALIDATE_DESC_VOID(desc);
desc             3238 drivers/gpio/gpiolib.c 	change_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc             3264 drivers/gpio/gpiolib.c static int gpiod_get_raw_value_commit(const struct gpio_desc *desc)
desc             3270 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             3271 drivers/gpio/gpiolib.c 	offset = gpio_chip_hwgpio(desc);
desc             3274 drivers/gpio/gpiolib.c 	trace_gpio_value(desc_to_gpio(desc), 1, value);
desc             3310 drivers/gpio/gpiolib.c 	if (array_info && array_info->desc == desc_array &&
desc             3359 drivers/gpio/gpiolib.c 			const struct gpio_desc *desc = desc_array[i];
desc             3360 drivers/gpio/gpiolib.c 			int hwgpio = gpio_chip_hwgpio(desc);
desc             3379 drivers/gpio/gpiolib.c 			const struct gpio_desc *desc = desc_array[j];
desc             3380 drivers/gpio/gpiolib.c 			int hwgpio = gpio_chip_hwgpio(desc);
desc             3383 drivers/gpio/gpiolib.c 			if (!raw && test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             3386 drivers/gpio/gpiolib.c 			trace_gpio_value(desc_to_gpio(desc), 1, value);
desc             3410 drivers/gpio/gpiolib.c int gpiod_get_raw_value(const struct gpio_desc *desc)
desc             3412 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3414 drivers/gpio/gpiolib.c 	WARN_ON(desc->gdev->chip->can_sleep);
desc             3415 drivers/gpio/gpiolib.c 	return gpiod_get_raw_value_commit(desc);
desc             3429 drivers/gpio/gpiolib.c int gpiod_get_value(const struct gpio_desc *desc)
desc             3433 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3435 drivers/gpio/gpiolib.c 	WARN_ON(desc->gdev->chip->can_sleep);
desc             3437 drivers/gpio/gpiolib.c 	value = gpiod_get_raw_value_commit(desc);
desc             3441 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             3506 drivers/gpio/gpiolib.c static void gpio_set_open_drain_value_commit(struct gpio_desc *desc, bool value)
desc             3509 drivers/gpio/gpiolib.c 	struct gpio_chip *chip = desc->gdev->chip;
desc             3510 drivers/gpio/gpiolib.c 	int offset = gpio_chip_hwgpio(desc);
desc             3517 drivers/gpio/gpiolib.c 			set_bit(FLAG_IS_OUT, &desc->flags);
desc             3519 drivers/gpio/gpiolib.c 	trace_gpio_direction(desc_to_gpio(desc), value, ret);
desc             3521 drivers/gpio/gpiolib.c 		gpiod_err(desc,
desc             3531 drivers/gpio/gpiolib.c static void gpio_set_open_source_value_commit(struct gpio_desc *desc, bool value)
desc             3534 drivers/gpio/gpiolib.c 	struct gpio_chip *chip = desc->gdev->chip;
desc             3535 drivers/gpio/gpiolib.c 	int offset = gpio_chip_hwgpio(desc);
desc             3540 drivers/gpio/gpiolib.c 			set_bit(FLAG_IS_OUT, &desc->flags);
desc             3544 drivers/gpio/gpiolib.c 	trace_gpio_direction(desc_to_gpio(desc), !value, ret);
desc             3546 drivers/gpio/gpiolib.c 		gpiod_err(desc,
desc             3551 drivers/gpio/gpiolib.c static void gpiod_set_raw_value_commit(struct gpio_desc *desc, bool value)
desc             3555 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             3556 drivers/gpio/gpiolib.c 	trace_gpio_value(desc_to_gpio(desc), 0, value);
desc             3557 drivers/gpio/gpiolib.c 	chip->set(chip, gpio_chip_hwgpio(desc), value);
desc             3596 drivers/gpio/gpiolib.c 	if (array_info && array_info->desc == desc_array &&
desc             3640 drivers/gpio/gpiolib.c 			struct gpio_desc *desc = desc_array[i];
desc             3641 drivers/gpio/gpiolib.c 			int hwgpio = gpio_chip_hwgpio(desc);
desc             3651 drivers/gpio/gpiolib.c 			    test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             3653 drivers/gpio/gpiolib.c 			trace_gpio_value(desc_to_gpio(desc), 0, value);
desc             3658 drivers/gpio/gpiolib.c 			if (test_bit(FLAG_OPEN_DRAIN, &desc->flags) && !raw) {
desc             3659 drivers/gpio/gpiolib.c 				gpio_set_open_drain_value_commit(desc, value);
desc             3660 drivers/gpio/gpiolib.c 			} else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags) && !raw) {
desc             3661 drivers/gpio/gpiolib.c 				gpio_set_open_source_value_commit(desc, value);
desc             3698 drivers/gpio/gpiolib.c void gpiod_set_raw_value(struct gpio_desc *desc, int value)
desc             3700 drivers/gpio/gpiolib.c 	VALIDATE_DESC_VOID(desc);
desc             3702 drivers/gpio/gpiolib.c 	WARN_ON(desc->gdev->chip->can_sleep);
desc             3703 drivers/gpio/gpiolib.c 	gpiod_set_raw_value_commit(desc, value);
desc             3716 drivers/gpio/gpiolib.c static void gpiod_set_value_nocheck(struct gpio_desc *desc, int value)
desc             3718 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             3720 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_OPEN_DRAIN, &desc->flags))
desc             3721 drivers/gpio/gpiolib.c 		gpio_set_open_drain_value_commit(desc, value);
desc             3722 drivers/gpio/gpiolib.c 	else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags))
desc             3723 drivers/gpio/gpiolib.c 		gpio_set_open_source_value_commit(desc, value);
desc             3725 drivers/gpio/gpiolib.c 		gpiod_set_raw_value_commit(desc, value);
desc             3739 drivers/gpio/gpiolib.c void gpiod_set_value(struct gpio_desc *desc, int value)
desc             3741 drivers/gpio/gpiolib.c 	VALIDATE_DESC_VOID(desc);
desc             3743 drivers/gpio/gpiolib.c 	WARN_ON(desc->gdev->chip->can_sleep);
desc             3744 drivers/gpio/gpiolib.c 	gpiod_set_value_nocheck(desc, value);
desc             3804 drivers/gpio/gpiolib.c int gpiod_cansleep(const struct gpio_desc *desc)
desc             3806 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3807 drivers/gpio/gpiolib.c 	return desc->gdev->chip->can_sleep;
desc             3816 drivers/gpio/gpiolib.c int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name)
desc             3818 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             3825 drivers/gpio/gpiolib.c 	kfree_const(desc->label);
desc             3826 drivers/gpio/gpiolib.c 	desc_set_label(desc, name);
desc             3839 drivers/gpio/gpiolib.c int gpiod_to_irq(const struct gpio_desc *desc)
desc             3849 drivers/gpio/gpiolib.c 	if (!desc || IS_ERR(desc) || !desc->gdev || !desc->gdev->chip)
desc             3852 drivers/gpio/gpiolib.c 	chip = desc->gdev->chip;
desc             3853 drivers/gpio/gpiolib.c 	offset = gpio_chip_hwgpio(desc);
desc             3877 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             3879 drivers/gpio/gpiolib.c 	desc = gpiochip_get_desc(chip, offset);
desc             3880 drivers/gpio/gpiolib.c 	if (IS_ERR(desc))
desc             3881 drivers/gpio/gpiolib.c 		return PTR_ERR(desc);
desc             3888 drivers/gpio/gpiolib.c 		int dir = gpiod_get_direction(desc);
desc             3898 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_IS_OUT, &desc->flags) &&
desc             3899 drivers/gpio/gpiolib.c 	    !test_bit(FLAG_OPEN_DRAIN, &desc->flags)) {
desc             3906 drivers/gpio/gpiolib.c 	set_bit(FLAG_USED_AS_IRQ, &desc->flags);
desc             3907 drivers/gpio/gpiolib.c 	set_bit(FLAG_IRQ_IS_ENABLED, &desc->flags);
desc             3914 drivers/gpio/gpiolib.c 	if (!desc->label)
desc             3915 drivers/gpio/gpiolib.c 		desc_set_label(desc, "interrupt");
desc             3931 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             3933 drivers/gpio/gpiolib.c 	desc = gpiochip_get_desc(chip, offset);
desc             3934 drivers/gpio/gpiolib.c 	if (IS_ERR(desc))
desc             3937 drivers/gpio/gpiolib.c 	clear_bit(FLAG_USED_AS_IRQ, &desc->flags);
desc             3938 drivers/gpio/gpiolib.c 	clear_bit(FLAG_IRQ_IS_ENABLED, &desc->flags);
desc             3941 drivers/gpio/gpiolib.c 	if (desc->label && !strcmp(desc->label, "interrupt"))
desc             3942 drivers/gpio/gpiolib.c 		desc_set_label(desc, NULL);
desc             3948 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = gpiochip_get_desc(chip, offset);
desc             3950 drivers/gpio/gpiolib.c 	if (!IS_ERR(desc) &&
desc             3951 drivers/gpio/gpiolib.c 	    !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags)))
desc             3952 drivers/gpio/gpiolib.c 		clear_bit(FLAG_IRQ_IS_ENABLED, &desc->flags);
desc             3958 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = gpiochip_get_desc(chip, offset);
desc             3960 drivers/gpio/gpiolib.c 	if (!IS_ERR(desc) &&
desc             3961 drivers/gpio/gpiolib.c 	    !WARN_ON(!test_bit(FLAG_USED_AS_IRQ, &desc->flags))) {
desc             3966 drivers/gpio/gpiolib.c 		WARN_ON(test_bit(FLAG_IS_OUT, &desc->flags) &&
desc             3967 drivers/gpio/gpiolib.c 			!test_bit(FLAG_OPEN_DRAIN, &desc->flags));
desc             3968 drivers/gpio/gpiolib.c 		set_bit(FLAG_IRQ_IS_ENABLED, &desc->flags);
desc             4042 drivers/gpio/gpiolib.c int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc)
desc             4045 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             4046 drivers/gpio/gpiolib.c 	return gpiod_get_raw_value_commit(desc);
desc             4059 drivers/gpio/gpiolib.c int gpiod_get_value_cansleep(const struct gpio_desc *desc)
desc             4064 drivers/gpio/gpiolib.c 	VALIDATE_DESC(desc);
desc             4065 drivers/gpio/gpiolib.c 	value = gpiod_get_raw_value_commit(desc);
desc             4069 drivers/gpio/gpiolib.c 	if (test_bit(FLAG_ACTIVE_LOW, &desc->flags))
desc             4139 drivers/gpio/gpiolib.c void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value)
desc             4142 drivers/gpio/gpiolib.c 	VALIDATE_DESC_VOID(desc);
desc             4143 drivers/gpio/gpiolib.c 	gpiod_set_raw_value_commit(desc, value);
desc             4157 drivers/gpio/gpiolib.c void gpiod_set_value_cansleep(struct gpio_desc *desc, int value)
desc             4160 drivers/gpio/gpiolib.c 	VALIDATE_DESC_VOID(desc);
desc             4161 drivers/gpio/gpiolib.c 	gpiod_set_value_nocheck(desc, value);
desc             4322 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = ERR_PTR(-ENOENT);
desc             4328 drivers/gpio/gpiolib.c 		return desc;
desc             4364 drivers/gpio/gpiolib.c 		desc = gpiochip_get_desc(chip, p->chip_hwnum);
desc             4367 drivers/gpio/gpiolib.c 		return desc;
desc             4370 drivers/gpio/gpiolib.c 	return desc;
desc             4464 drivers/gpio/gpiolib.c int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
desc             4470 drivers/gpio/gpiolib.c 		set_bit(FLAG_ACTIVE_LOW, &desc->flags);
desc             4473 drivers/gpio/gpiolib.c 		set_bit(FLAG_OPEN_DRAIN, &desc->flags);
desc             4481 drivers/gpio/gpiolib.c 		set_bit(FLAG_OPEN_DRAIN, &desc->flags);
desc             4482 drivers/gpio/gpiolib.c 		gpiod_warn(desc,
desc             4487 drivers/gpio/gpiolib.c 		set_bit(FLAG_OPEN_SOURCE, &desc->flags);
desc             4490 drivers/gpio/gpiolib.c 		gpiod_err(desc,
desc             4496 drivers/gpio/gpiolib.c 		set_bit(FLAG_PULL_UP, &desc->flags);
desc             4498 drivers/gpio/gpiolib.c 		set_bit(FLAG_PULL_DOWN, &desc->flags);
desc             4500 drivers/gpio/gpiolib.c 	ret = gpiod_set_transitory(desc, (lflags & GPIO_TRANSITORY));
desc             4512 drivers/gpio/gpiolib.c 		ret = gpiod_direction_output(desc,
desc             4515 drivers/gpio/gpiolib.c 		ret = gpiod_direction_input(desc);
desc             4540 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = NULL;
desc             4551 drivers/gpio/gpiolib.c 			desc = of_find_gpio(dev, con_id, idx, &lookupflags);
desc             4554 drivers/gpio/gpiolib.c 			desc = acpi_find_gpio(dev, con_id, idx, &flags, &lookupflags);
desc             4562 drivers/gpio/gpiolib.c 	if (!desc || desc == ERR_PTR(-ENOENT)) {
desc             4564 drivers/gpio/gpiolib.c 		desc = gpiod_find(dev, con_id, idx, &lookupflags);
desc             4567 drivers/gpio/gpiolib.c 	if (IS_ERR(desc)) {
desc             4569 drivers/gpio/gpiolib.c 		return desc;
desc             4576 drivers/gpio/gpiolib.c 	ret = gpiod_request(desc, con_id ? con_id : devname);
desc             4589 drivers/gpio/gpiolib.c 			return desc;
desc             4595 drivers/gpio/gpiolib.c 	ret = gpiod_configure_flags(desc, con_id, lookupflags, flags);
desc             4598 drivers/gpio/gpiolib.c 		gpiod_put(desc);
desc             4602 drivers/gpio/gpiolib.c 	return desc;
desc             4633 drivers/gpio/gpiolib.c 	struct gpio_desc *desc = ERR_PTR(-ENODEV);
desc             4640 drivers/gpio/gpiolib.c 		desc = gpiod_get_from_of_node(to_of_node(fwnode),
desc             4644 drivers/gpio/gpiolib.c 		return desc;
desc             4648 drivers/gpio/gpiolib.c 		desc = acpi_node_get_gpiod(fwnode, propname, index, &info);
desc             4649 drivers/gpio/gpiolib.c 		if (IS_ERR(desc))
desc             4650 drivers/gpio/gpiolib.c 			return desc;
desc             4657 drivers/gpio/gpiolib.c 	ret = gpiod_request(desc, label);
desc             4661 drivers/gpio/gpiolib.c 	ret = gpiod_configure_flags(desc, propname, lflags, dflags);
desc             4663 drivers/gpio/gpiolib.c 		gpiod_put(desc);
desc             4667 drivers/gpio/gpiolib.c 	return desc;
desc             4688 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             4690 drivers/gpio/gpiolib.c 	desc = gpiod_get_index(dev, con_id, index, flags);
desc             4691 drivers/gpio/gpiolib.c 	if (IS_ERR(desc)) {
desc             4692 drivers/gpio/gpiolib.c 		if (PTR_ERR(desc) == -ENOENT)
desc             4696 drivers/gpio/gpiolib.c 	return desc;
desc             4708 drivers/gpio/gpiolib.c int gpiod_hog(struct gpio_desc *desc, const char *name,
desc             4716 drivers/gpio/gpiolib.c 	chip = gpiod_to_chip(desc);
desc             4717 drivers/gpio/gpiolib.c 	hwnum = gpio_chip_hwgpio(desc);
desc             4729 drivers/gpio/gpiolib.c 	set_bit(FLAG_IS_HOGGED, &desc->flags);
desc             4732 drivers/gpio/gpiolib.c 		desc_to_gpio(desc), name,
desc             4770 drivers/gpio/gpiolib.c 	struct gpio_desc *desc;
desc             4780 drivers/gpio/gpiolib.c 	descs = kzalloc(struct_size(descs, desc, count), GFP_KERNEL);
desc             4785 drivers/gpio/gpiolib.c 		desc = gpiod_get_index(dev, con_id, descs->ndescs, flags);
desc             4786 drivers/gpio/gpiolib.c 		if (IS_ERR(desc)) {
desc             4788 drivers/gpio/gpiolib.c 			return ERR_CAST(desc);
desc             4791 drivers/gpio/gpiolib.c 		descs->desc[descs->ndescs] = desc;
desc             4793 drivers/gpio/gpiolib.c 		chip = gpiod_to_chip(desc);
desc             4798 drivers/gpio/gpiolib.c 		if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) {
desc             4804 drivers/gpio/gpiolib.c 			array = kzalloc(struct_size(descs, desc, count) +
desc             4813 drivers/gpio/gpiolib.c 			       struct_size(descs, desc, descs->ndescs + 1));
desc             4817 drivers/gpio/gpiolib.c 			array_info = (void *)(descs->desc + count);
desc             4823 drivers/gpio/gpiolib.c 			array_info->desc = descs->desc;
desc             4842 drivers/gpio/gpiolib.c 			   gpio_chip_hwgpio(desc) != descs->ndescs) {
desc             4863 drivers/gpio/gpiolib.c 			if (gpiod_is_active_low(desc))
desc             4910 drivers/gpio/gpiolib.c void gpiod_put(struct gpio_desc *desc)
desc             4912 drivers/gpio/gpiolib.c 	if (desc)
desc             4913 drivers/gpio/gpiolib.c 		gpiod_free(desc);
desc             4926 drivers/gpio/gpiolib.c 		gpiod_put(descs->desc[i]);
desc               73 drivers/gpio/gpiolib.h 	struct gpio_desc	**desc;
desc              120 drivers/gpio/gpiolib.h int gpiod_request(struct gpio_desc *desc, const char *label);
desc              121 drivers/gpio/gpiolib.h void gpiod_free(struct gpio_desc *desc);
desc              122 drivers/gpio/gpiolib.h int gpiod_configure_flags(struct gpio_desc *desc, const char *con_id,
desc              124 drivers/gpio/gpiolib.h int gpiod_hog(struct gpio_desc *desc, const char *name,
desc              130 drivers/gpio/gpiolib.h static inline int gpio_chip_hwgpio(const struct gpio_desc *desc)
desc              132 drivers/gpio/gpiolib.h 	return desc - &desc->gdev->descs[0];
desc              137 drivers/gpio/gpiolib.h #define gpiod_emerg(desc, fmt, ...)					       \
desc              138 drivers/gpio/gpiolib.h 	pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
desc              140 drivers/gpio/gpiolib.h #define gpiod_crit(desc, fmt, ...)					       \
desc              141 drivers/gpio/gpiolib.h 	pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
desc              143 drivers/gpio/gpiolib.h #define gpiod_err(desc, fmt, ...)					       \
desc              144 drivers/gpio/gpiolib.h 	pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",  \
desc              146 drivers/gpio/gpiolib.h #define gpiod_warn(desc, fmt, ...)					       \
desc              147 drivers/gpio/gpiolib.h 	pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
desc              149 drivers/gpio/gpiolib.h #define gpiod_info(desc, fmt, ...)					       \
desc              150 drivers/gpio/gpiolib.h 	pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
desc              152 drivers/gpio/gpiolib.h #define gpiod_dbg(desc, fmt, ...)					       \
desc              153 drivers/gpio/gpiolib.h 	pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
desc              348 drivers/gpio/sgpio-aspeed.c static void aspeed_sgpio_irq_handler(struct irq_desc *desc)
desc              350 drivers/gpio/sgpio-aspeed.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              351 drivers/gpio/sgpio-aspeed.c 	struct irq_chip *ic = irq_desc_get_chip(desc);
desc              356 drivers/gpio/sgpio-aspeed.c 	chained_irq_enter(ic, desc);
desc              370 drivers/gpio/sgpio-aspeed.c 	chained_irq_exit(ic, desc);
desc             1457 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 	.desc = DRIVER_DESC,
desc              140 drivers/gpu/drm/arc/arcpgu_drv.c 	.desc = "ARC PGU Controller",
desc               73 drivers/gpu/drm/arm/display/komeda/komeda_kms.c 	.desc = "Arm Komeda Display Processor driver",
desc              258 drivers/gpu/drm/arm/hdlcd_drv.c 	.desc = "ARM HDLCD Controller DRM",
desc              582 drivers/gpu/drm/arm/malidp_drv.c 	.desc = "ARM Mali Display Processor driver",
desc               49 drivers/gpu/drm/armada/armada_drv.c 	.desc			= "Armada SoC DRM",
desc              206 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c 	.desc = "ASPEED GFX DRM",
desc              217 drivers/gpu/drm/ast/ast_drv.c 	.desc = DRIVER_DESC,
desc              104 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 	if (!crtc->dc->desc->fixed_clksrc) {
desc              312 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 		if (crtc->dc->desc->conflicting_output_formats)
desc              498 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 		switch (dc->layers[i]->desc->type) {
desc              524 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c 		    dc->layers[i]->desc->type == ATMEL_HLCDC_OVERLAY_LAYER) {
desc              505 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (hsync_len > dc->desc->max_spw + 1 || hsync_len < 1)
desc              508 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (vsync_len > dc->desc->max_spw + 1 || vsync_len < 1)
desc              511 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (hfront_porch > dc->desc->max_hpw + 1 || hfront_porch < 1 ||
desc              512 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	    hback_porch > dc->desc->max_hpw + 1 || hback_porch < 1 ||
desc              516 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (vfront_porch > dc->desc->max_vpw + 1 || vfront_porch < 1 ||
desc              517 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	    vback_porch > dc->desc->max_vpw || vback_porch < 0 ||
desc              529 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (layer->desc->type == ATMEL_HLCDC_BASE_LAYER ||
desc              530 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	    layer->desc->type == ATMEL_HLCDC_OVERLAY_LAYER ||
desc              531 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	    layer->desc->type == ATMEL_HLCDC_CURSOR_LAYER)
desc              690 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	dev->mode_config.min_width = dc->desc->min_width;
desc              691 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	dev->mode_config.min_height = dc->desc->min_height;
desc              692 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	dev->mode_config.max_width = dc->desc->max_width;
desc              693 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	dev->mode_config.max_height = dc->desc->max_height;
desc              726 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	dc->desc = match->data;
desc              730 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (dc->desc->fixed_clksrc) {
desc              778 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (dc->desc->fixed_clksrc)
desc              804 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (dc->desc->fixed_clksrc)
desc              855 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	.desc = "Atmel HLCD Controller DRM",
desc              919 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (dc->desc->fixed_clksrc)
desc              930 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c 	if (dc->desc->fixed_clksrc)
desc              263 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 	const struct atmel_hlcdc_layer_desc *desc;
desc              339 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 	const struct atmel_hlcdc_dc_desc *desc;
desc              361 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 	regmap_write(layer->regmap, layer->desc->regs_offset + reg, val);
desc              369 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 	regmap_read(layer->regmap, layer->desc->regs_offset + reg, &val);
desc              378 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 				    layer->desc->cfgs_offset +
desc              386 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 					  layer->desc->cfgs_offset +
desc              394 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 		     layer->desc->clut_offset + c * sizeof(u32),
desc              399 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 				const struct atmel_hlcdc_layer_desc *desc,
desc              402 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h 	layer->desc = desc;
desc              286 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              289 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (!desc->layout.scaler_config)
desc              294 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 					    desc->layout.scaler_config, 0);
desc              298 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.phicoeffs.x) {
desc              312 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 				desc->layout.phicoeffs.x);
desc              319 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 				desc->layout.phicoeffs.y);
desc              325 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config,
desc              335 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              337 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.size)
desc              338 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.size,
desc              342 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.memsize)
desc              344 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 					desc->layout.memsize,
desc              348 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.pos)
desc              349 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.pos,
desc              361 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              390 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.general_config,
desc              441 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              469 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		if (desc->layout.xstride[i])
desc              471 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 						    desc->layout.xstride[i],
desc              474 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		if (desc->layout.pstride[i])
desc              476 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 						    desc->layout.pstride[i],
desc              527 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	layout = &primary->layer.desc->layout;
desc              581 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	layout = &plane->layer.desc->layout;
desc              600 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              702 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (!desc->layout.size &&
desc              708 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	    (!desc->layout.memsize ||
desc              773 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              775 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->type == ATMEL_HLCDC_OVERLAY_LAYER ||
desc              776 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	    desc->type == ATMEL_HLCDC_CURSOR_LAYER) {
desc              784 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.xstride[0] && desc->layout.pstride[0]) {
desc              797 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->layout.csc) {
desc              803 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 					    desc->layout.csc,
desc              806 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 					    desc->layout.csc + 1,
desc              809 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 					    desc->layout.csc + 2,
desc              818 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc;
desc              832 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 			desc->name);
desc              951 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 				    const struct atmel_hlcdc_layer_desc *desc)
desc              962 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	atmel_hlcdc_layer_init(&plane->layer, desc, dc->hlcdc->regmap);
desc              964 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (desc->type == ATMEL_HLCDC_BASE_LAYER)
desc              966 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	else if (desc->type == ATMEL_HLCDC_CURSOR_LAYER)
desc              973 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 				       desc->formats->formats,
desc              974 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 				       desc->formats->nformats,
desc              987 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	dc->layers[desc->id] = &plane->layer;
desc              995 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *descs = dc->desc->layers;
desc              996 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	int nlayers = dc->desc->nlayers;
desc               70 drivers/gpu/drm/bochs/bochs_drv.c 	.desc			= "bochs dispi vga interface (qemu stdvga)",
desc              729 drivers/gpu/drm/bridge/sil-sii8620.c 	const int size = sizeof(*d) + sizeof(d->desc[0]);
desc              737 drivers/gpu/drm/bridge/sil-sii8620.c 	d->desc[0].stream_id = 0;
desc              738 drivers/gpu/drm/bridge/sil-sii8620.c 	d->desc[0].pixel_format = fmt;
desc              519 drivers/gpu/drm/cirrus/cirrus.c 	.desc		 = DRIVER_DESC,
desc              157 drivers/gpu/drm/drm_dp_cec.c 	struct drm_dp_desc desc;
desc              158 drivers/gpu/drm/drm_dp_cec.c 	struct drm_dp_dpcd_ident *id = &desc.ident;
desc              160 drivers/gpu/drm/drm_dp_cec.c 	if (drm_dp_read_desc(aux, &desc, true))
desc             1316 drivers/gpu/drm/drm_dp_helper.c int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc,
desc             1319 drivers/gpu/drm/drm_dp_helper.c 	struct drm_dp_dpcd_ident *ident = &desc->ident;
desc             1327 drivers/gpu/drm/drm_dp_helper.c 	desc->quirks = drm_dp_get_quirks(ident, is_branch);
desc             1337 drivers/gpu/drm/drm_dp_helper.c 		      desc->quirks);
desc               89 drivers/gpu/drm/drm_ioc32.c 	u32 desc;		  /* User-space buffer to hold desc */
desc              108 drivers/gpu/drm/drm_ioc32.c 		.desc = compat_ptr(v32.desc),
desc              324 drivers/gpu/drm/drm_ioc32.c 	struct drm_buf_desc desc;
desc              330 drivers/gpu/drm/drm_ioc32.c 	desc = (struct drm_buf_desc){
desc              335 drivers/gpu/drm/drm_ioc32.c 	err = drm_ioctl_kernel(file, drm_legacy_addbufs, &desc,
desc              341 drivers/gpu/drm/drm_ioc32.c 		desc.count, desc.size, desc.low_mark, desc.high_mark,
desc              342 drivers/gpu/drm/drm_ioc32.c 		desc.flags, desc.agp_start
desc              519 drivers/gpu/drm/drm_ioctl.c 		err = drm_copy_field(version->desc, &version->desc_len,
desc              520 drivers/gpu/drm/drm_ioctl.c 				dev->driver->desc);
desc              525 drivers/gpu/drm/etnaviv/etnaviv_drv.c 	.desc               = "etnaviv DRM",
desc              143 drivers/gpu/drm/exynos/exynos_drm_drv.c 	.desc	= DRIVER_DESC,
desc              156 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c 	.desc			= "Freescale DCU DRM",
desc              489 drivers/gpu/drm/gma500/psb_drv.c 	.desc = DRIVER_DESC,
desc               58 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c 	.desc			= "hibmc drm driver",
desc              936 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c 	.desc = "Hisilicon Kirin620 SoC DRM Driver",
desc               68 drivers/gpu/drm/i810/i810_drv.c 	.desc = DRIVER_DESC,
desc              179 drivers/gpu/drm/i915/display/intel_display_power.c 	DRM_DEBUG_KMS("enabling %s\n", power_well->desc->name);
desc              180 drivers/gpu/drm/i915/display/intel_display_power.c 	power_well->desc->ops->enable(dev_priv, power_well);
desc              187 drivers/gpu/drm/i915/display/intel_display_power.c 	DRM_DEBUG_KMS("disabling %s\n", power_well->desc->name);
desc              189 drivers/gpu/drm/i915/display/intel_display_power.c 	power_well->desc->ops->disable(dev_priv, power_well);
desc              203 drivers/gpu/drm/i915/display/intel_display_power.c 	     power_well->desc->name);
desc              233 drivers/gpu/drm/i915/display/intel_display_power.c 		if (power_well->desc->always_on)
desc              318 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              319 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              325 drivers/gpu/drm/i915/display/intel_display_power.c 			      power_well->desc->name);
desc              328 drivers/gpu/drm/i915/display/intel_display_power.c 		WARN_ON(!power_well->desc->hsw.is_tc_tbt);
desc              351 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              352 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              372 drivers/gpu/drm/i915/display/intel_display_power.c 		      power_well->desc->name,
desc              387 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              388 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              389 drivers/gpu/drm/i915/display/intel_display_power.c 	bool wait_fuses = power_well->desc->hsw.has_fuses;
desc              424 drivers/gpu/drm/i915/display/intel_display_power.c 				   power_well->desc->hsw.irq_pipe_mask,
desc              425 drivers/gpu/drm/i915/display/intel_display_power.c 				   power_well->desc->hsw.has_vga);
desc              431 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              432 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              436 drivers/gpu/drm/i915/display/intel_display_power.c 				   power_well->desc->hsw.irq_pipe_mask);
desc              449 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              450 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              484 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              485 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              509 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              511 drivers/gpu/drm/i915/display/intel_display_power.c 	return power_well->desc->hsw.is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) :
desc              522 drivers/gpu/drm/i915/display/intel_display_power.c 	int refs = hweight64(power_well->desc->domains &
desc              592 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->desc->hsw.is_tc_tbt)
desc              616 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              617 drivers/gpu/drm/i915/display/intel_display_power.c 	enum i915_power_well_id id = power_well->desc->id;
desc              618 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              828 drivers/gpu/drm/i915/display/intel_display_power.c 		if (power_well->desc->id == power_well_id)
desc              897 drivers/gpu/drm/i915/display/intel_display_power.c 	const struct i915_power_well_regs *regs = power_well->desc->hsw.regs;
desc              898 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->hsw.idx;
desc              915 drivers/gpu/drm/i915/display/intel_display_power.c 	bxt_ddi_phy_init(dev_priv, power_well->desc->bxt.phy);
desc              921 drivers/gpu/drm/i915/display/intel_display_power.c 	bxt_ddi_phy_uninit(dev_priv, power_well->desc->bxt.phy);
desc              927 drivers/gpu/drm/i915/display/intel_display_power.c 	return bxt_ddi_phy_is_enabled(dev_priv, power_well->desc->bxt.phy);
desc              936 drivers/gpu/drm/i915/display/intel_display_power.c 		bxt_ddi_phy_verify_state(dev_priv, power_well->desc->bxt.phy);
desc              940 drivers/gpu/drm/i915/display/intel_display_power.c 		bxt_ddi_phy_verify_state(dev_priv, power_well->desc->bxt.phy);
desc              947 drivers/gpu/drm/i915/display/intel_display_power.c 						 power_well->desc->bxt.phy);
desc             1059 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->vlv.idx;
desc             1107 drivers/gpu/drm/i915/display/intel_display_power.c 	int pw_idx = power_well->desc->vlv.idx;
desc             1318 drivers/gpu/drm/i915/display/intel_display_power.c 	if (cmn_bc->desc->ops->is_enabled(dev_priv, cmn_bc)) {
desc             1359 drivers/gpu/drm/i915/display/intel_display_power.c 	if (cmn_d->desc->ops->is_enabled(dev_priv, cmn_d)) {
desc             1400 drivers/gpu/drm/i915/display/intel_display_power.c 	WARN_ON_ONCE(power_well->desc->id != VLV_DISP_PW_DPIO_CMN_BC &&
desc             1401 drivers/gpu/drm/i915/display/intel_display_power.c 		     power_well->desc->id != CHV_DISP_PW_DPIO_CMN_D);
desc             1403 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->desc->id == VLV_DISP_PW_DPIO_CMN_BC) {
desc             1428 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->desc->id == VLV_DISP_PW_DPIO_CMN_BC) {
desc             1459 drivers/gpu/drm/i915/display/intel_display_power.c 	WARN_ON_ONCE(power_well->desc->id != VLV_DISP_PW_DPIO_CMN_BC &&
desc             1460 drivers/gpu/drm/i915/display/intel_display_power.c 		     power_well->desc->id != CHV_DISP_PW_DPIO_CMN_D);
desc             1462 drivers/gpu/drm/i915/display/intel_display_power.c 	if (power_well->desc->id == VLV_DISP_PW_DPIO_CMN_BC) {
desc             2899 drivers/gpu/drm/i915/display/intel_display_power.c 	ret = power_well->desc->ops->is_enabled(dev_priv, power_well);
desc             3998 drivers/gpu/drm/i915/display/intel_display_power.c 		power_domains->power_wells[i].desc = &power_well_descs[i];
desc             4100 drivers/gpu/drm/i915/display/intel_display_power.c 		power_well->desc->ops->sync_hw(dev_priv, power_well);
desc             4102 drivers/gpu/drm/i915/display/intel_display_power.c 			power_well->desc->ops->is_enabled(dev_priv, power_well);
desc             4764 drivers/gpu/drm/i915/display/intel_display_power.c 	if (cmn_bc->desc->ops->is_enabled(dev_priv, cmn_bc)) {
desc             4795 drivers/gpu/drm/i915/display/intel_display_power.c 	if (cmn_d->desc->ops->is_enabled(dev_priv, cmn_d)) {
desc             4831 drivers/gpu/drm/i915/display/intel_display_power.c 	if (cmn->desc->ops->is_enabled(dev_priv, cmn) &&
desc             4832 drivers/gpu/drm/i915/display/intel_display_power.c 	    disp2d->desc->ops->is_enabled(dev_priv, disp2d) &&
desc             4839 drivers/gpu/drm/i915/display/intel_display_power.c 	disp2d->desc->ops->enable(dev_priv, disp2d);
desc             4848 drivers/gpu/drm/i915/display/intel_display_power.c 	cmn->desc->ops->disable(dev_priv, cmn);
desc             5112 drivers/gpu/drm/i915/display/intel_display_power.c 				 power_well->desc->name, power_well->count);
desc             5114 drivers/gpu/drm/i915/display/intel_display_power.c 		for_each_power_domain(domain, power_well->desc->domains)
desc             5148 drivers/gpu/drm/i915/display/intel_display_power.c 		enabled = power_well->desc->ops->is_enabled(i915, power_well);
desc             5149 drivers/gpu/drm/i915/display/intel_display_power.c 		if ((power_well->count || power_well->desc->always_on) !=
desc             5152 drivers/gpu/drm/i915/display/intel_display_power.c 				  power_well->desc->name,
desc             5156 drivers/gpu/drm/i915/display/intel_display_power.c 		for_each_power_domain(domain, power_well->desc->domains)
desc             5162 drivers/gpu/drm/i915/display/intel_display_power.c 				  power_well->desc->name, power_well->count,
desc              204 drivers/gpu/drm/i915/display/intel_display_power.h 	const struct i915_power_well_desc *desc;
desc              250 drivers/gpu/drm/i915/display/intel_display_power.h 		for_each_if((__power_well)->desc->domains & (__domain_mask))
desc              254 drivers/gpu/drm/i915/display/intel_display_power.h 		for_each_if((__power_well)->desc->domains & (__domain_mask))
desc             1178 drivers/gpu/drm/i915/display/intel_display_types.h 	struct drm_dp_desc desc;
desc             2254 drivers/gpu/drm/i915/display/intel_dp.c 	bool constant_n = drm_dp_has_quirk(&intel_dp->desc,
desc             4239 drivers/gpu/drm/i915/display/intel_dp.c 	drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc,
desc             4318 drivers/gpu/drm/i915/display/intel_dp.c 		drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc,
desc             4330 drivers/gpu/drm/i915/display/intel_dp.c 	    !drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_NO_SINK_COUNT)) {
desc               53 drivers/gpu/drm/i915/display/intel_dp_mst.c 	bool constant_n = drm_dp_has_quirk(&intel_dp->desc,
desc              169 drivers/gpu/drm/i915/display/intel_hdcp.c 		if (power_well->desc->id == id) {
desc              170 drivers/gpu/drm/i915/display/intel_hdcp.c 			enabled = power_well->desc->ops->is_enabled(dev_priv,
desc              293 drivers/gpu/drm/i915/display/intel_lpe_audio.c 	struct irq_desc *desc;
desc              298 drivers/gpu/drm/i915/display/intel_lpe_audio.c 	desc = irq_to_desc(dev_priv->lpe_audio.irq);
desc               79 drivers/gpu/drm/i915/display/intel_lspcon.c 	if (drm_dp_read_desc(&dp->aux, &dp->desc, drm_dp_is_branch(dp->dpcd))) {
desc               84 drivers/gpu/drm/i915/display/intel_lspcon.c 	ident = &dp->desc.ident;
desc              294 drivers/gpu/drm/i915/display/intel_psr.c 	if (drm_dp_has_quirk(&intel_dp->desc, DP_DPCD_QUIRK_NO_PSR)) {
desc              433 drivers/gpu/drm/i915/gt/intel_lrc.c 	u64 desc;
desc              438 drivers/gpu/drm/i915/gt/intel_lrc.c 	desc = INTEL_LEGACY_32B_CONTEXT;
desc              440 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc = INTEL_LEGACY_64B_CONTEXT;
desc              441 drivers/gpu/drm/i915/gt/intel_lrc.c 	desc <<= GEN8_CTX_ADDRESSING_MODE_SHIFT;
desc              443 drivers/gpu/drm/i915/gt/intel_lrc.c 	desc |= GEN8_CTX_VALID | GEN8_CTX_PRIVILEGE;
desc              445 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= GEN8_CTX_L3LLC_COHERENT;
desc              447 drivers/gpu/drm/i915/gt/intel_lrc.c 	desc |= i915_ggtt_offset(ce->state) + LRC_HEADER_PAGES * PAGE_SIZE;
desc              456 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= (u64)ctx->hw_id << GEN11_SW_CTX_ID_SHIFT;
desc              459 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= (u64)engine->instance << GEN11_ENGINE_INSTANCE_SHIFT;
desc              464 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= (u64)engine->class << GEN11_ENGINE_CLASS_SHIFT;
desc              468 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= (u64)ctx->hw_id << GEN8_CTX_ID_SHIFT;	/* bits 32-52 */
desc              471 drivers/gpu/drm/i915/gt/intel_lrc.c 	return desc;
desc              649 drivers/gpu/drm/i915/gt/intel_lrc.c 	u64 desc = ce->lrc_desc;
desc              672 drivers/gpu/drm/i915/gt/intel_lrc.c 		desc |= CTX_DESC_FORCE_RESTORE;
desc              695 drivers/gpu/drm/i915/gt/intel_lrc.c 	return desc;
desc              698 drivers/gpu/drm/i915/gt/intel_lrc.c static inline void write_desc(struct intel_engine_execlists *execlists, u64 desc, u32 port)
desc              701 drivers/gpu/drm/i915/gt/intel_lrc.c 		writel(lower_32_bits(desc), execlists->submit_reg + port * 2);
desc              702 drivers/gpu/drm/i915/gt/intel_lrc.c 		writel(upper_32_bits(desc), execlists->submit_reg + port * 2 + 1);
desc              704 drivers/gpu/drm/i915/gt/intel_lrc.c 		writel(upper_32_bits(desc), execlists->submit_reg);
desc              705 drivers/gpu/drm/i915/gt/intel_lrc.c 		writel(lower_32_bits(desc), execlists->submit_reg);
desc               66 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c static void guc_ct_buffer_desc_init(struct guc_ct_buffer_desc *desc,
desc               70 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 			desc, cmds_addr, size, owner);
desc               71 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	memset(desc, 0, sizeof(*desc));
desc               72 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->addr = cmds_addr;
desc               73 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->size = size;
desc               74 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->owner = owner;
desc               77 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c static void guc_ct_buffer_desc_reset(struct guc_ct_buffer_desc *desc)
desc               80 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 			desc, desc->head, desc->tail);
desc               81 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->head = 0;
desc               82 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->tail = 0;
desc               83 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->is_in_error = 0;
desc              177 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 		ctch->ctbs[i].desc = blob + PAGE_SIZE/4 * i;
desc              218 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 		guc_ct_buffer_desc_init(ctch->ctbs[i].desc,
desc              297 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	struct guc_ct_buffer_desc *desc = ctb->desc;
desc              298 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 head = desc->head / 4;	/* in dwords */
desc              299 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 tail = desc->tail / 4;	/* in dwords */
desc              300 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 size = desc->size / 4;	/* in dwords */
desc              306 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->size % 4);
desc              307 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->head % 4);
desc              308 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->tail % 4);
desc              351 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->tail = tail * 4;
desc              352 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->tail > desc->size);
desc              373 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c static int wait_for_ctb_desc_update(struct guc_ct_buffer_desc *desc,
desc              384 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c #define done (READ_ONCE(desc->fence) == fence)
desc              392 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 			  fence, desc->fence);
desc              394 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 		if (WARN_ON(desc->is_in_error)) {
desc              398 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 			guc_ct_buffer_desc_reset(desc);
desc              403 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	*status = desc->status;
desc              452 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	struct guc_ct_buffer_desc *desc = ctb->desc;
desc              482 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 		err = wait_for_ctb_desc_update(desc, fence, status);
desc              555 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	struct guc_ct_buffer_desc *desc = ctb->desc;
desc              556 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 head = desc->head / 4;	/* in dwords */
desc              557 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 tail = desc->tail / 4;	/* in dwords */
desc              558 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	u32 size = desc->size / 4;	/* in dwords */
desc              564 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->size % 4);
desc              565 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->head % 4);
desc              566 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	GEM_BUG_ON(desc->tail % 4);
desc              602 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 	desc->head = head * 4;
desc              811 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c 		ctb->desc->is_in_error = 1;
desc               34 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h 	struct guc_ct_buffer_desc *desc;
desc              378 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h 	struct guc_ct_buffer_desc desc;
desc              174 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_stage_desc *desc;
desc              177 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
desc              178 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_id = new_id;
desc              284 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_process_desc *desc;
desc              286 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = memset(__get_process_desc(client), 0, sizeof(*desc));
desc              294 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->wq_base_addr = 0;
desc              295 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_base_addr = 0;
desc              297 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->stage_id = client->stage_id;
desc              298 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->wq_size_bytes = GUC_WQ_SIZE;
desc              299 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->wq_status = WQ_STATUS_ACTIVE;
desc              300 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->priority = client->priority;
desc              305 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_process_desc *desc;
desc              307 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_process_desc(client);
desc              308 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	memset(desc, 0, sizeof(*desc));
desc              351 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_stage_desc *desc;
desc              354 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
desc              355 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	memset(desc, 0, sizeof(*desc));
desc              357 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->attribute = GUC_STAGE_DESC_ATTR_ACTIVE |
desc              360 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 		desc->attribute |= GUC_STAGE_DESC_ATTR_PREEMPT;
desc              361 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->stage_id = client->stage_id;
desc              362 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->priority = client->priority;
desc              363 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_id = client->doorbell_id;
desc              370 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_phy = sg_dma_address(client->vma->pages->sgl) +
desc              372 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_cpu = ptr_to_u64(__get_doorbell(client));
desc              373 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->db_trigger_uk = gfx_addr + client->doorbell_offset;
desc              374 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->process_desc = gfx_addr + client->proc_desc_offset;
desc              375 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->wq_addr = gfx_addr + GUC_DB_SIZE;
desc              376 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->wq_size = GUC_WQ_SIZE;
desc              378 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc->desc_private = ptr_to_u64(client);
desc              383 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_stage_desc *desc;
desc              385 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	desc = __get_stage_desc(client);
desc              386 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	memset(desc, 0, sizeof(*desc));
desc              397 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	struct guc_process_desc *desc = __get_process_desc(client);
desc              413 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	GEM_BUG_ON(desc->wq_status != WQ_STATUS_ACTIVE);
desc              416 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	wq_off = READ_ONCE(desc->tail);
desc              417 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	GEM_BUG_ON(CIRC_SPACE(wq_off, READ_ONCE(desc->head),
desc              439 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 	WRITE_ONCE(desc->tail, (wq_off + wqi_size) & (GUC_WQ_SIZE - 1));
desc               52 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	struct guc_process_desc *desc = __get_process_desc(client);
desc               69 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	err = wait_for(READ_ONCE(desc->head) == READ_ONCE(desc->tail), 10);
desc               75 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 	if (desc->wq_status != WQ_STATUS_ACTIVE) {
desc               77 drivers/gpu/drm/i915/gt/uc/selftest_guc.c 		       client->doorbell_id, desc->wq_status);
desc               93 drivers/gpu/drm/i915/gvt/execlist.c 	struct execlist_ctx_descriptor_format *desc = execlist->running_context;
desc              116 drivers/gpu/drm/i915/gvt/execlist.c 	status.context_id = desc ? desc->context_id : 0;
desc              440 drivers/gpu/drm/i915/gvt/execlist.c 		struct execlist_ctx_descriptor_format *desc,
desc              446 drivers/gpu/drm/i915/gvt/execlist.c 	workload = intel_vgpu_create_workload(vgpu, ring_id, desc);
desc              468 drivers/gpu/drm/i915/gvt/execlist.c 	struct execlist_ctx_descriptor_format *desc[2];
desc              471 drivers/gpu/drm/i915/gvt/execlist.c 	desc[0] = get_desc_from_elsp_dwords(&execlist->elsp_dwords, 0);
desc              472 drivers/gpu/drm/i915/gvt/execlist.c 	desc[1] = get_desc_from_elsp_dwords(&execlist->elsp_dwords, 1);
desc              474 drivers/gpu/drm/i915/gvt/execlist.c 	if (!desc[0]->valid) {
desc              479 drivers/gpu/drm/i915/gvt/execlist.c 	for (i = 0; i < ARRAY_SIZE(desc); i++) {
desc              480 drivers/gpu/drm/i915/gvt/execlist.c 		if (!desc[i]->valid)
desc              482 drivers/gpu/drm/i915/gvt/execlist.c 		if (!desc[i]->privilege_access) {
desc              489 drivers/gpu/drm/i915/gvt/execlist.c 	for (i = 0; i < ARRAY_SIZE(desc); i++) {
desc              490 drivers/gpu/drm/i915/gvt/execlist.c 		if (!desc[i]->valid)
desc              492 drivers/gpu/drm/i915/gvt/execlist.c 		ret = submit_context(vgpu, ring_id, desc[i], i == 0);
desc              503 drivers/gpu/drm/i915/gvt/execlist.c 		     desc[0]->udw, desc[0]->ldw, desc[1]->udw, desc[1]->ldw);
desc               45 drivers/gpu/drm/i915/gvt/fb_decoder.c 	char	*desc;		/* The description */
desc              285 drivers/gpu/drm/i915/gvt/fb_decoder.c 	char	*desc;		/* The description */
desc              288 drivers/gpu/drm/i915/gvt/scheduler.c 	u64 desc = ce->lrc_desc;
desc              294 drivers/gpu/drm/i915/gvt/scheduler.c 	desc &= ~(0x3 << GEN8_CTX_ADDRESSING_MODE_SHIFT);
desc              295 drivers/gpu/drm/i915/gvt/scheduler.c 	desc |= workload->ctx_desc.addressing_mode <<
desc              298 drivers/gpu/drm/i915/gvt/scheduler.c 	ce->lrc_desc = desc;
desc             1431 drivers/gpu/drm/i915/gvt/scheduler.c 	struct execlist_ctx_descriptor_format *desc = &workload->ctx_desc;
desc             1437 drivers/gpu/drm/i915/gvt/scheduler.c 	switch (desc->addressing_mode) {
desc             1477 drivers/gpu/drm/i915/gvt/scheduler.c 			   struct execlist_ctx_descriptor_format *desc)
desc             1490 drivers/gpu/drm/i915/gvt/scheduler.c 			(u32)((desc->lrca + 1) << I915_GTT_PAGE_SHIFT));
desc             1492 drivers/gpu/drm/i915/gvt/scheduler.c 		gvt_vgpu_err("invalid guest context LRCA: %x\n", desc->lrca);
desc             1509 drivers/gpu/drm/i915/gvt/scheduler.c 		if (same_context(&last_workload->ctx_desc, desc)) {
desc             1544 drivers/gpu/drm/i915/gvt/scheduler.c 	workload->ctx_desc = *desc;
desc              159 drivers/gpu/drm/i915/gvt/scheduler.h 			   struct execlist_ctx_descriptor_format *desc);
desc              801 drivers/gpu/drm/i915/i915_cmd_parser.c 			const struct drm_i915_cmd_descriptor *desc =
desc              803 drivers/gpu/drm/i915/i915_cmd_parser.c 			u32 curr = desc->cmd.value & desc->cmd.mask;
desc              860 drivers/gpu/drm/i915/i915_cmd_parser.c 	const struct drm_i915_cmd_descriptor *desc;
desc              899 drivers/gpu/drm/i915/i915_cmd_parser.c 			const struct drm_i915_cmd_descriptor *desc =
desc              907 drivers/gpu/drm/i915/i915_cmd_parser.c 			desc_node->desc = desc;
desc              909 drivers/gpu/drm/i915/i915_cmd_parser.c 				 cmd_header_key(desc->cmd.value));
desc             1055 drivers/gpu/drm/i915/i915_cmd_parser.c 		const struct drm_i915_cmd_descriptor *desc = desc_node->desc;
desc             1056 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0)
desc             1057 drivers/gpu/drm/i915/i915_cmd_parser.c 			return desc;
desc             1074 drivers/gpu/drm/i915/i915_cmd_parser.c 	 const struct drm_i915_cmd_descriptor *desc,
desc             1079 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0)
desc             1080 drivers/gpu/drm/i915/i915_cmd_parser.c 		return desc;
desc             1082 drivers/gpu/drm/i915/i915_cmd_parser.c 	desc = find_cmd_in_table(engine, cmd_header);
desc             1083 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (desc)
desc             1084 drivers/gpu/drm/i915/i915_cmd_parser.c 		return desc;
desc             1207 drivers/gpu/drm/i915/i915_cmd_parser.c 		      const struct drm_i915_cmd_descriptor *desc,
desc             1210 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (desc->flags & CMD_DESC_SKIP)
desc             1213 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (desc->flags & CMD_DESC_REJECT) {
desc             1218 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (desc->flags & CMD_DESC_REGISTER) {
desc             1224 drivers/gpu/drm/i915/i915_cmd_parser.c 		const u32 step = desc->reg.step ? desc->reg.step : length;
desc             1227 drivers/gpu/drm/i915/i915_cmd_parser.c 		for (offset = desc->reg.offset; offset < length;
desc             1229 drivers/gpu/drm/i915/i915_cmd_parser.c 			const u32 reg_addr = cmd[offset] & desc->reg.mask;
desc             1244 drivers/gpu/drm/i915/i915_cmd_parser.c 				if (desc->cmd.value == MI_LOAD_REGISTER_MEM) {
desc             1250 drivers/gpu/drm/i915/i915_cmd_parser.c 				if (desc->cmd.value == MI_LOAD_REGISTER_REG) {
desc             1256 drivers/gpu/drm/i915/i915_cmd_parser.c 				if (desc->cmd.value == MI_LOAD_REGISTER_IMM(1) &&
desc             1267 drivers/gpu/drm/i915/i915_cmd_parser.c 	if (desc->flags & CMD_DESC_BITMASK) {
desc             1273 drivers/gpu/drm/i915/i915_cmd_parser.c 			if (desc->bits[i].mask == 0)
desc             1276 drivers/gpu/drm/i915/i915_cmd_parser.c 			if (desc->bits[i].condition_mask != 0) {
desc             1278 drivers/gpu/drm/i915/i915_cmd_parser.c 					desc->bits[i].condition_offset;
desc             1280 drivers/gpu/drm/i915/i915_cmd_parser.c 					desc->bits[i].condition_mask;
desc             1286 drivers/gpu/drm/i915/i915_cmd_parser.c 			if (desc->bits[i].offset >= length) {
desc             1292 drivers/gpu/drm/i915/i915_cmd_parser.c 			dword = cmd[desc->bits[i].offset] &
desc             1293 drivers/gpu/drm/i915/i915_cmd_parser.c 				desc->bits[i].mask;
desc             1295 drivers/gpu/drm/i915/i915_cmd_parser.c 			if (dword != desc->bits[i].expected) {
desc             1298 drivers/gpu/drm/i915/i915_cmd_parser.c 						 desc->bits[i].mask,
desc             1299 drivers/gpu/drm/i915/i915_cmd_parser.c 						 desc->bits[i].expected,
desc             1434 drivers/gpu/drm/i915/i915_cmd_parser.c 	const struct drm_i915_cmd_descriptor *desc = &default_desc;
desc             1460 drivers/gpu/drm/i915/i915_cmd_parser.c 		desc = find_cmd(engine, *cmd, desc, &default_desc);
desc             1461 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (!desc) {
desc             1468 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (desc->flags & CMD_DESC_FIXED)
desc             1469 drivers/gpu/drm/i915/i915_cmd_parser.c 			length = desc->length.fixed;
desc             1471 drivers/gpu/drm/i915/i915_cmd_parser.c 			length = ((*cmd & desc->length.mask) + LENGTH_BIAS);
desc             1482 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (!check_cmd(engine, desc, cmd, length)) {
desc             1487 drivers/gpu/drm/i915/i915_cmd_parser.c 		if (desc->cmd.value == MI_BATCH_BUFFER_START) {
desc             1917 drivers/gpu/drm/i915/i915_debugfs.c 	struct guc_stage_desc *desc = guc->stage_desc_pool_vaddr;
desc             1923 drivers/gpu/drm/i915/i915_debugfs.c 	for (index = 0; index < GUC_MAX_STAGE_DESCRIPTORS; index++, desc++) {
desc             1926 drivers/gpu/drm/i915/i915_debugfs.c 		if (!(desc->attribute & GUC_STAGE_DESC_ATTR_ACTIVE))
desc             1930 drivers/gpu/drm/i915/i915_debugfs.c 		seq_printf(m, "\tIndex: %u\n", desc->stage_id);
desc             1931 drivers/gpu/drm/i915/i915_debugfs.c 		seq_printf(m, "\tAttribute: 0x%x\n", desc->attribute);
desc             1932 drivers/gpu/drm/i915/i915_debugfs.c 		seq_printf(m, "\tPriority: %d\n", desc->priority);
desc             1933 drivers/gpu/drm/i915/i915_debugfs.c 		seq_printf(m, "\tDoorbell id: %d\n", desc->db_id);
desc             1935 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->engines_used);
desc             1937 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->db_trigger_phy,
desc             1938 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->db_trigger_cpu,
desc             1939 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->db_trigger_uk);
desc             1941 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->process_desc);
desc             1943 drivers/gpu/drm/i915/i915_debugfs.c 			   desc->wq_addr, desc->wq_size);
desc             1949 drivers/gpu/drm/i915/i915_debugfs.c 						&desc->lrc[guc_engine_id];
desc             2358 drivers/gpu/drm/i915/i915_debugfs.c 		seq_printf(m, "%-25s %d\n", power_well->desc->name,
desc             2361 drivers/gpu/drm/i915/i915_debugfs.c 		for_each_power_domain(power_domain, power_well->desc->domains)
desc             2890 drivers/gpu/drm/i915/i915_drv.c 	.desc = DRIVER_DESC,
desc               30 drivers/gpu/drm/i915/i915_params.c #define i915_param_named(name, T, perm, desc) \
desc               32 drivers/gpu/drm/i915/i915_params.c 	MODULE_PARM_DESC(name, desc)
desc               33 drivers/gpu/drm/i915/i915_params.c #define i915_param_named_unsafe(name, T, perm, desc) \
desc               35 drivers/gpu/drm/i915/i915_params.c 	MODULE_PARM_DESC(name, desc)
desc              286 drivers/gpu/drm/i915/i915_pmu.c 	struct irq_desc *desc = irq_to_desc(i915->drm.pdev->irq);
desc              290 drivers/gpu/drm/i915/i915_pmu.c 	if (!desc || !desc->kstat_irqs)
desc              294 drivers/gpu/drm/i915/i915_pmu.c 		sum += *per_cpu_ptr(desc->kstat_irqs, cpu);
desc              170 drivers/gpu/drm/imx/imx-drm-core.c 	.desc			= "i.MX DRM graphics",
desc              515 drivers/gpu/drm/ingenic/ingenic-drm.c 	.desc			= "DRM module for Ingenic SoCs",
desc              173 drivers/gpu/drm/lima/lima_device.c 	struct lima_ip_desc *desc = lima_ip_desc + index;
desc              175 drivers/gpu/drm/lima/lima_device.c 	int offset = desc->offset[dev->id];
desc              176 drivers/gpu/drm/lima/lima_device.c 	bool must = desc->must_have[dev->id];
desc              185 drivers/gpu/drm/lima/lima_device.c 	if (desc->irq_name) {
desc              186 drivers/gpu/drm/lima/lima_device.c 		err = platform_get_irq_byname(dev->pdev, desc->irq_name);
desc              192 drivers/gpu/drm/lima/lima_device.c 	err = desc->init(ip);
desc              204 drivers/gpu/drm/lima/lima_device.c 	struct lima_ip_desc *desc = lima_ip_desc + index;
desc              208 drivers/gpu/drm/lima/lima_device.c 		desc->fini(ip);
desc              266 drivers/gpu/drm/lima/lima_drv.c 	.desc               = "lima DRM",
desc              246 drivers/gpu/drm/mcde/mcde_drv.c 	.desc = DRIVER_DESC,
desc              379 drivers/gpu/drm/mediatek/mtk_drm_drv.c 	.desc = DRIVER_DESC,
desc              113 drivers/gpu/drm/meson/meson_drv.c 	.desc			= DRIVER_DESC,
desc               76 drivers/gpu/drm/mga/mga_drv.c 	.desc = DRIVER_DESC,
desc              102 drivers/gpu/drm/mgag200/mgag200_drv.c 	.desc = DRIVER_DESC,
desc               65 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c static void dpu_mdss_irq(struct irq_desc *desc)
desc               67 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	struct dpu_mdss *dpu_mdss = irq_desc_get_handler_data(desc);
desc               68 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               71 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	chained_irq_enter(chip, desc);
desc               97 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c 	chained_irq_exit(chip, desc);
desc             1029 drivers/gpu/drm/msm/msm_drv.c 	.desc               = "MSM Snapdragon DRM",
desc              335 drivers/gpu/drm/mxsfb/mxsfb_drv.c 	.desc	= "MXSFB Controller DRM",
desc             1213 drivers/gpu/drm/nouveau/nouveau_drm.c 	.desc = DRIVER_DESC,
desc              100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	static const char * const desc[] = {
desc              104 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c 	return desc[(state >> 29) & 0x7];
desc               40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_pt_new(const struct nvkm_vmm_desc *desc, bool sparse,
desc               43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const u32 pten = 1 << desc->bits;
desc               47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type > PGT) {
desc               48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (desc->type == SPT) {
desc               49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			const struct nvkm_vmm_desc *pair = page[-1].desc;
desc               50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			lpte = pten >> (desc->bits - pair->bits);
desc               61 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == PGD) {
desc               74 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc;
desc               85 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_desc_type(const struct nvkm_vmm_desc *desc)
desc               87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	switch (desc->type) {
desc              140 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = it->desc;
desc              141 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc[it->lvl].type == SPT;
desc              151 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		const struct nvkm_vmm_desc_func *func = desc[it->lvl].func;
desc              153 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		TRA(it, "PDE unmap %s", nvkm_vmm_desc_type(&desc[it->lvl - 1]));
desc              189 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	TRA(it, "PDE free %s", nvkm_vmm_desc_type(&desc[it->lvl - 1]));
desc              198 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		     const struct nvkm_vmm_desc *desc, u32 ptei, u32 ptes)
desc              200 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *pair = it->page[-1].desc;
desc              201 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const u32 sptb = desc->bits - pair->bits;
desc              260 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = it->desc;
desc              261 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc->type == SPT;
desc              267 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		dma = desc->func->pfn_clear(it->vmm, pgt->pt[type], ptei, ptes);
desc              272 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			desc->func->pfn_unmap(it->vmm, pgt->pt[type], ptei, ptes);
desc              280 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == SPT && (pgt->refs[0] || pgt->refs[1]))
desc              281 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		nvkm_vmm_unref_sptes(it, pgt, desc, ptei, ptes);
desc              286 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		TRA(it, "%s empty", nvkm_vmm_desc_type(desc));
desc              297 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		   const struct nvkm_vmm_desc *desc, u32 ptei, u32 ptes)
desc              299 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *pair = it->page[-1].desc;
desc              300 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const u32 sptb = desc->bits - pair->bits;
desc              348 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			desc->func->sparse(vmm, pgt->pt[1], spti, sptc);
desc              366 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = it->desc;
desc              367 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc->type == SPT;
desc              374 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == SPT)
desc              375 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		nvkm_vmm_ref_sptes(it, pgt, desc, ptei, ptes);
desc              381 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_sparse_ptes(const struct nvkm_vmm_desc *desc,
desc              384 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == PGD) {
desc              388 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == LPT) {
desc              397 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (it->desc->type == PGD)
desc              400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (it->desc->type == LPT)
desc              408 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	nvkm_vmm_sparse_ptes(it->desc, it->pt[0], ptei, ptes);
desc              415 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1];
desc              416 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc->type == SPT;
desc              418 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const bool zero = !pgt->sparse && !desc->func->invalid;
desc              422 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	u32 pten = 1 << desc->bits;
desc              424 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	u32 size = desc->size * pten;
desc              428 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	pgt->pt[type] = nvkm_mmu_ptc_get(mmu, size, desc->align, zero);
desc              440 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->type == LPT && pgt->refs[1]) {
desc              457 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 					desc->func->sparse(vmm, pt, pteb, ptes);
desc              459 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 					desc->func->invalid(vmm, pt, pteb, ptes);
desc              462 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 				desc->func->unmap(vmm, pt, pteb, ptes);
desc              469 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			nvkm_vmm_sparse_ptes(desc, pgt, 0, pten);
desc              470 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			desc->func->sparse(vmm, pt, 0, pten);
desc              472 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			desc->func->invalid(vmm, pt, 0, pten);
desc              477 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	TRA(it, "PDE write %s", nvkm_vmm_desc_type(desc));
desc              478 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it->desc[it->lvl].func->pde(it->vmm, pgd, pdei);
desc              486 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = &it->desc[it->lvl - 1];
desc              489 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	pgt = nvkm_vmm_pt_new(desc, NVKM_VMM_PDE_SPARSED(pgt), it->page);
desc              507 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = page->desc;
desc              512 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	it.desc = desc;
desc              518 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	for (it.lvl = 0; desc[it.lvl].bits; it.lvl++) {
desc              519 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		it.pte[it.lvl] = bits & ((1 << desc[it.lvl].bits) - 1);
desc              520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		bits >>= desc[it.lvl].bits;
desc              533 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		const int type = desc->type == SPT;
desc              534 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		const u32 pten = 1 << desc->bits;
desc              556 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			if (ref && !pgt->refs[desc[it.lvl - 1].type == SPT]) {
desc              578 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			while (it.pte[it.lvl] == (1 << desc[it.lvl].bits)) {
desc              594 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		addr  = addr << desc[it.max].bits;
desc              607 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		      page->desc->func->invalid ?
desc              608 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		      page->desc->func->invalid : page->desc->func->unmap);
desc              618 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 					 NULL, NULL, page->desc->func->sparse);
desc              683 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc_func *func = page->desc->func;
desc              709 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc_func *func = page->desc->func;
desc             1041 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc;
desc             1063 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	for (levels = 0, desc = page->desc; desc->bits; desc++, levels++)
desc             1064 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		bits += desc->bits;
desc             1066 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	desc--;
desc             1072 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	vmm->pd = nvkm_vmm_pt_new(desc, false, NULL);
desc             1081 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	if (desc->size) {
desc             1082 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		const u32 size = pd_header + desc->size * (1 << desc->bits);
desc             1083 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		vmm->pd->pt[0] = nvkm_mmu_ptc_get(mmu, size, desc->align, true);
desc             1224 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	       page->desc->func->pfn == NULL)
desc             1299 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 							    desc->func->pfn);
desc             1302 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 						  page->desc->func->pfn);
desc             1474 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		func = map->page->desc->func->mem;
desc             1483 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		func = map->page->desc->func->sgl;
desc             1487 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		func = map->page->desc->func->dma;
desc             1808 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const struct nvkm_vmm_desc *desc = it->desc;
desc             1809 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 	const int type = desc->type == SPT;
desc              120 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 	const struct nvkm_vmm_desc *desc;
desc              243 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c 	const bool gm20x = page->desc->func->sparse != NULL;
desc              101 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	u8 *desc = mxms + mxms_headerlen(mxm);
desc              102 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	u8 *fini = desc + mxms_structlen(mxm) - 1;
desc              103 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	while (desc < fini) {
desc              104 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 		u8 type = desc[0] & 0x0f;
desc              124 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			entries   = (ROM32(desc[0]) & 0x01f00000) >> 20;
desc              133 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 				entries   = (desc[1] & 0xf0) >> 4;
desc              141 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			entries   = desc[1] & 0x07;
desc              153 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			u8 *dump = desc;
desc              170 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 			if (!exec(mxm, desc, info))
desc              174 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 		desc += headerlen + (entries * recordlen);
desc              181 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c mxms_output_device(struct nvkm_mxm *mxm, u8 *pdata, struct mxms_odev *desc)
desc              187 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	desc->outp_type = (data & 0x00000000000000f0ULL) >> 4;
desc              188 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	desc->ddc_port  = (data & 0x0000000000000f00ULL) >> 8;
desc              189 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	desc->conn_type = (data & 0x000000000001f000ULL) >> 12;
desc              190 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/mxms.c 	desc->dig_conn  = (data & 0x0000000000780000ULL) >> 19;
desc               33 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct mxms_odev desc;
desc               40 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	struct mxms_odev desc;
desc               42 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	mxms_output_device(mxm, data, &desc);
desc               43 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	if (desc.outp_type == 2 &&
desc               44 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	    desc.dig_conn == ctx->desc.dig_conn)
desc               54 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	u64 desc = *(u64 *)data;
desc               56 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	mxms_output_device(mxm, data, &ctx->desc);
desc               59 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	if ((ctx->outp[0] & 0x0000000f) != ctx->desc.outp_type)
desc               66 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	if ((desc & 0x00000000000000f0) >= 0x20) {
desc               68 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		u8 link = mxm_sor_map(bios, ctx->desc.dig_conn);
desc               84 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	if (ctx->desc.outp_type == 6 && ctx->desc.conn_type == 6 &&
desc              116 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	i2cidx = mxm_ddc_map(bios, ctx.desc.ddc_port);
desc              128 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	switch (ctx.desc.outp_type) {
desc              133 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		link = mxm_sor_map(bios, ctx.desc.dig_conn) & 0x30;
desc              149 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	switch (ctx.desc.conn_type) {
desc              181 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	u64 desc = *(u64 *)data;
desc              182 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 	if ((desc & 0xf0) != 0xf0)
desc              183 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c 		nvkm_info(subdev, "unmatched output device %016llx\n", desc);
desc               80 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct acr_r352_flcn_bl_desc *desc = _desc;
desc               88 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->ctx_dma = FALCON_DMAIDX_UCODE;
desc               89 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_dma_base = lower_32_bits(addr_code);
desc               90 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_dma_base1 = upper_32_bits(addr_code);
desc               91 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->non_sec_code_off = pdesc->app_resident_code_offset;
desc               92 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->non_sec_code_size = pdesc->app_resident_code_size;
desc               93 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc               94 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_dma_base = lower_32_bits(addr_data);
desc               95 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_dma_base1 = upper_32_bits(addr_data);
desc               96 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_size = pdesc->app_resident_data_size;
desc              308 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct ls_ucode_img_desc *desc = &_img->ucode_desc;
desc              341 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->bl_code_size = ALIGN(desc->bootloader_size,
desc              343 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->ucode_size = ALIGN(desc->app_resident_data_offset,
desc              345 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) +
desc              352 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->bl_imem_off = desc->bootloader_imem_offset;
desc              353 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->app_code_off = desc->app_start_offset +
desc              354 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 			     desc->app_resident_code_offset;
desc              355 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->app_code_size = desc->app_resident_code_size;
desc              356 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->app_data_off = desc->app_start_offset +
desc              357 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 			     desc->app_resident_data_offset;
desc              358 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	lhdr->app_data_size = desc->app_resident_data_size;
desc              600 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct hsflcn_acr_desc *desc = _desc;
desc              608 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->wpr_region_id = 1;
desc              609 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.no_regions = 2;
desc              610 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].start_addr = wpr_start >> 8;
desc              611 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].end_addr = wpr_end >> 8;
desc              612 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].region_id = 1;
desc              613 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].read_mask = 0xf;
desc              614 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].write_mask = 0xc;
desc              615 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->regions.region_props[0].client_mask = 0x2;
desc              617 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->ucode_blob_base = ls_blob->addr;
desc              618 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc->ucode_blob_size = ls_blob->size;
desc              676 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		struct hsflcn_acr_desc *desc;
desc              678 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		desc = acr_data + load_hdr->data_dma_base;
desc              679 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 		acr->func->fixup_hs_desc(acr, sb, desc);
desc             1144 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	struct acr_r352_pmu_bl_desc *desc = _desc;
desc             1156 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->dma_idx = FALCON_DMAIDX_UCODE;
desc             1157 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_dma_base = lower_32_bits(addr_code);
desc             1158 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_dma_base1 = upper_32_bits(addr_code);
desc             1159 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_size_total = pdesc->app_size;
desc             1160 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_size_to_load = pdesc->app_resident_code_size;
desc             1161 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc             1162 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_dma_base = lower_32_bits(addr_data);
desc             1163 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_dma_base1 = upper_32_bits(addr_data);
desc             1164 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->data_size = pdesc->app_resident_data_size;
desc             1165 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->overlay_dma_base = lower_32_bits(addr_code);
desc             1166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->overlay_dma_base1 = upper_32_bits(addr_code);
desc             1167 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->argc = 1;
desc             1168 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c 	desc->argv = addr_args;
desc               35 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	struct acr_r361_flcn_bl_desc *desc = _desc;
desc               43 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->ctx_dma = FALCON_DMAIDX_UCODE;
desc               44 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc               45 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->non_sec_code_off = pdesc->app_resident_code_offset;
desc               46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->non_sec_code_size = pdesc->app_resident_code_size;
desc               47 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc               48 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc               49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_size = pdesc->app_resident_data_size;
desc              122 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	struct acr_r361_pmu_bl_desc *desc = _desc;
desc              132 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->dma_idx = FALCON_DMAIDX_UCODE;
desc              133 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc              134 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->total_code_size = pdesc->app_size;
desc              135 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_size_to_load = pdesc->app_resident_code_size;
desc              136 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc              137 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc              138 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_size = pdesc->app_resident_data_size;
desc              139 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->overlay_dma_base = u64_to_flcn64(addr_code);
desc              140 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->argc = 1;
desc              141 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->argv = addr_args;
desc              167 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	struct acr_r361_pmu_bl_desc *desc = _desc;
desc              178 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->dma_idx = FALCON_SEC2_DMAIDX_UCODE;
desc              179 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc              180 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->total_code_size = pdesc->app_size;
desc              181 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_size_to_load = pdesc->app_resident_code_size;
desc              182 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc              183 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc              184 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->data_size = pdesc->app_resident_data_size;
desc              185 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->overlay_dma_base = u64_to_flcn64(addr_code);
desc              186 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->argc = 1;
desc              188 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	desc->argv = 0x01000000;
desc               66 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 	struct acr_r364_hsflcn_desc *desc = _desc;
desc               77 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->wpr_region_id = 1;
desc               78 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.no_regions = 2;
desc               79 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].start_addr = wpr_start >> 8;
desc               80 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].end_addr = wpr_end >> 8;
desc               81 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].region_id = 1;
desc               82 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].read_mask = 0xf;
desc               83 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].write_mask = 0xc;
desc               84 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->regions.region_props[0].client_mask = 0x2;
desc               86 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 			desc->regions.region_props[0].shadow_mem_start_addr =
desc               89 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 			desc->regions.region_props[0].shadow_mem_start_addr = 0;
desc               91 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->ucode_blob_base = ls_blob->addr;
desc               92 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c 		desc->ucode_blob_size = ls_blob->size;
desc              166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	struct ls_ucode_img_desc *desc = &_img->ucode_desc;
desc              200 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->bl_code_size = ALIGN(desc->bootloader_size,
desc              202 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->ucode_size = ALIGN(desc->app_resident_data_offset,
desc              204 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->data_size = ALIGN(desc->app_size, LSF_BL_CODE_SIZE_ALIGN) +
desc              211 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->bl_imem_off = desc->bootloader_imem_offset;
desc              212 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->app_code_off = desc->app_start_offset +
desc              213 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 			     desc->app_resident_code_offset;
desc              214 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->app_code_size = desc->app_resident_code_size;
desc              215 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->app_data_off = desc->app_start_offset +
desc              216 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 			     desc->app_resident_data_offset;
desc              217 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	lhdr->app_data_size = desc->app_resident_data_size;
desc              355 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 	struct acr_r367_hsflcn_desc *desc = _desc;
desc              366 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->wpr_region_id = 1;
desc              367 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.no_regions = 2;
desc              368 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].start_addr = wpr_start >> 8;
desc              369 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].end_addr = wpr_end >> 8;
desc              370 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].region_id = 1;
desc              371 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].read_mask = 0xf;
desc              372 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].write_mask = 0xc;
desc              373 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->regions.region_props[0].client_mask = 0x2;
desc              375 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 			desc->regions.region_props[0].shadow_mem_start_addr =
desc              378 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 			desc->regions.region_props[0].shadow_mem_start_addr = 0;
desc              380 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->ucode_blob_base = ls_blob->addr;
desc              381 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c 		desc->ucode_blob_size = ls_blob->size;
desc               35 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	struct acr_r370_flcn_bl_desc *desc = _desc;
desc               43 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->ctx_dma = FALCON_DMAIDX_UCODE;
desc               44 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc               45 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->non_sec_code_off = pdesc->app_resident_code_offset;
desc               46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->non_sec_code_size = pdesc->app_resident_code_size;
desc               47 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc               48 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc               49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->data_size = pdesc->app_resident_data_size;
desc               91 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	struct acr_r370_flcn_bl_desc *desc = _desc;
desc              102 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->ctx_dma = FALCON_SEC2_DMAIDX_UCODE;
desc              103 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc              104 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->non_sec_code_off = pdesc->app_resident_code_offset;
desc              105 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->non_sec_code_size = pdesc->app_resident_code_size;
desc              106 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc              107 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc              108 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->data_size = pdesc->app_resident_data_size;
desc              109 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->argc = 1;
desc              111 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	desc->argv = 0x01000000;
desc               36 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	struct acr_r370_flcn_bl_desc *desc = _desc;
desc               46 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->ctx_dma = FALCON_DMAIDX_UCODE;
desc               47 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->code_dma_base = u64_to_flcn64(addr_code);
desc               48 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->non_sec_code_off = pdesc->app_resident_code_offset;
desc               49 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->non_sec_code_size = pdesc->app_resident_code_size;
desc               50 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->code_entry_point = pdesc->app_imem_entry;
desc               51 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->data_dma_base = u64_to_flcn64(addr_data);
desc               52 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->data_size = pdesc->app_resident_data_size;
desc               53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->argc = 1;
desc               54 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r375.c 	desc->argv = addr_args;
desc               43 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 		   const struct firmware *data, struct ls_ucode_img_desc *desc)
desc               51 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->bootloader_start_offset = pos;
desc               52 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->bootloader_size = ALIGN(bl_desc->code_size, sizeof(u32));
desc               53 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->bootloader_imem_offset = bl_desc->start_tag * 256;
desc               54 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->bootloader_entry_point = bl_desc->start_tag * 256;
desc               56 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	pos = ALIGN(pos + desc->bootloader_size, BL_DESC_BLK_SIZE);
desc               57 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_start_offset = pos;
desc               58 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_size = ALIGN(code->size, BL_DESC_BLK_SIZE) +
desc               60 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_imem_offset = 0;
desc               61 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_imem_entry = 0;
desc               62 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_dmem_offset = 0;
desc               63 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_resident_code_offset = 0;
desc               64 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_resident_code_size = ALIGN(code->size, BL_DESC_BLK_SIZE);
desc               66 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	pos = ALIGN(pos + desc->app_resident_code_size, BL_DESC_BLK_SIZE);
desc               67 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_resident_data_offset = pos - desc->app_start_offset;
desc               68 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->app_resident_data_size = ALIGN(data->size, BL_DESC_BLK_SIZE);
desc               70 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	desc->image_size = ALIGN(bl_desc->code_size, BL_DESC_BLK_SIZE) +
desc               71 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 			   desc->app_size;
desc               73 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	image = kzalloc(desc->image_size, GFP_KERNEL);
desc               77 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	memcpy(image + desc->bootloader_start_offset, bl_data,
desc               79 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	memcpy(image + desc->app_start_offset, code->data, code->size);
desc               80 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_gr.c 	memcpy(image + desc->app_start_offset + desc->app_resident_data_offset,
desc               44 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	const struct firmware *image, *desc, *sig;
desc               58 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = nvkm_firmware_get_version(subdev, f, ver, ver, &desc);
desc               61 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	memcpy(&img->ucode_desc, desc->data, sizeof(img->ucode_desc));
desc               63 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	nvkm_firmware_put(desc);
desc              541 drivers/gpu/drm/omapdrm/omap_drv.c 	.desc = DRIVER_DESC,
desc               53 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	const struct panel_desc *desc;
desc              102 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	if (innolux->desc->sleep_mode_delay)
desc              103 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		msleep(innolux->desc->sleep_mode_delay);
desc              107 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	if (innolux->desc->power_down_delay)
desc              108 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		msleep(innolux->desc->power_down_delay);
desc              110 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	err = regulator_bulk_disable(innolux->desc->num_supplies,
desc              130 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	err = regulator_bulk_enable(innolux->desc->num_supplies,
desc              143 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	if (innolux->desc->init_cmds) {
desc              145 drivers/gpu/drm/panel/panel-innolux-p079zca.c 					innolux->desc->init_cmds;
desc              199 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	regulator_bulk_disable(innolux->desc->num_supplies, innolux->supplies);
desc              409 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	const struct drm_display_mode *m = innolux->desc->mode;
desc              424 drivers/gpu/drm/panel/panel-innolux-p079zca.c 			innolux->desc->size.width;
desc              426 drivers/gpu/drm/panel/panel-innolux-p079zca.c 			innolux->desc->size.height;
desc              427 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	panel->connector->display_info.bpc = innolux->desc->bpc;
desc              452 drivers/gpu/drm/panel/panel-innolux-p079zca.c 			     const struct panel_desc *desc)
desc              462 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	innolux->desc = desc;
desc              464 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	innolux->supplies = devm_kcalloc(dev, desc->num_supplies,
desc              470 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	for (i = 0; i < desc->num_supplies; i++)
desc              471 drivers/gpu/drm/panel/panel-innolux-p079zca.c 		innolux->supplies[i].supply = desc->supply_names[i];
desc              473 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	err = devm_regulator_bulk_get(dev, desc->num_supplies,
desc              511 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	const struct panel_desc *desc;
desc              514 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	desc = of_device_get_match_data(&dsi->dev);
desc              515 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	dsi->mode_flags = desc->flags;
desc              516 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	dsi->format = desc->format;
desc              517 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	dsi->lanes = desc->lanes;
desc              519 drivers/gpu/drm/panel/panel-innolux-p079zca.c 	err = innolux_panel_add(dsi, desc);
desc              242 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	const struct s6e3ha2_panel_desc *desc;
desc              300 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	if (ctx->desc->type == HF2_TYPE)
desc              306 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	if (ctx->desc->type == HA2_TYPE)
desc              654 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	mode = drm_mode_duplicate(panel->drm, ctx->desc->mode);
desc              657 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 			ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay,
desc              658 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 			ctx->desc->mode->vrefresh);
desc              694 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c 	ctx->desc = of_device_get_match_data(dev);
desc               48 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	const struct seiko_panel_desc *desc;
desc               66 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (!panel->desc)
desc               69 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	for (i = 0; i < panel->desc->num_timings; i++) {
desc               70 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		const struct display_timing *dt = &panel->desc->timings[i];
desc               85 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (panel->desc->num_timings == 1)
desc               92 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	for (i = 0; i < panel->desc->num_modes; i++) {
desc               93 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		const struct drm_display_mode *m = &panel->desc->modes[i];
desc              104 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		if (panel->desc->num_modes == 1)
desc              113 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.bpc = panel->desc->bpc;
desc              114 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.width_mm = panel->desc->size.width;
desc              115 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.height_mm = panel->desc->size.height;
desc              116 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (panel->desc->bus_format)
desc              118 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 						 &panel->desc->bus_format, 1);
desc              119 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	connector->display_info.bus_flags = panel->desc->bus_flags;
desc              226 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	if (p->desc->num_timings < num_timings)
desc              227 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 		num_timings = p->desc->num_timings;
desc              231 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 			timings[i] = p->desc->timings[i];
desc              233 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	return p->desc->num_timings;
desc              246 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 					const struct seiko_panel_desc *desc)
desc              258 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c 	panel->desc = desc;
desc              105 drivers/gpu/drm/panel/panel-simple.c 	const struct panel_desc *desc;
desc              128 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_timings; i++) {
desc              129 drivers/gpu/drm/panel/panel-simple.c 		const struct display_timing *dt = &panel->desc->timings[i];
desc              144 drivers/gpu/drm/panel/panel-simple.c 		if (panel->desc->num_timings == 1)
desc              161 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_modes; i++) {
desc              162 drivers/gpu/drm/panel/panel-simple.c 		const struct drm_display_mode *m = &panel->desc->modes[i];
desc              173 drivers/gpu/drm/panel/panel-simple.c 		if (panel->desc->num_modes == 1)
desc              193 drivers/gpu/drm/panel/panel-simple.c 	if (!panel->desc)
desc              207 drivers/gpu/drm/panel/panel-simple.c 	if (num == 0 && panel->desc->num_timings)
desc              216 drivers/gpu/drm/panel/panel-simple.c 	WARN_ON(panel->desc->num_timings && panel->desc->num_modes);
desc              220 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.bpc = panel->desc->bpc;
desc              221 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.width_mm = panel->desc->size.width;
desc              222 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.height_mm = panel->desc->size.height;
desc              223 drivers/gpu/drm/panel/panel-simple.c 	if (panel->desc->bus_format)
desc              225 drivers/gpu/drm/panel/panel-simple.c 						 &panel->desc->bus_format, 1);
desc              226 drivers/gpu/drm/panel/panel-simple.c 	connector->display_info.bus_flags = panel->desc->bus_flags;
desc              244 drivers/gpu/drm/panel/panel-simple.c 	if (p->desc->delay.disable)
desc              245 drivers/gpu/drm/panel/panel-simple.c 		msleep(p->desc->delay.disable);
desc              263 drivers/gpu/drm/panel/panel-simple.c 	if (p->desc->delay.unprepare)
desc              264 drivers/gpu/drm/panel/panel-simple.c 		msleep(p->desc->delay.unprepare);
desc              288 drivers/gpu/drm/panel/panel-simple.c 	delay = p->desc->delay.prepare;
desc              290 drivers/gpu/drm/panel/panel-simple.c 		delay += p->desc->delay.hpd_absent_delay;
desc              306 drivers/gpu/drm/panel/panel-simple.c 	if (p->desc->delay.enable)
desc              307 drivers/gpu/drm/panel/panel-simple.c 		msleep(p->desc->delay.enable);
desc              348 drivers/gpu/drm/panel/panel-simple.c 	if (p->desc->num_timings < num_timings)
desc              349 drivers/gpu/drm/panel/panel-simple.c 		num_timings = p->desc->num_timings;
desc              353 drivers/gpu/drm/panel/panel-simple.c 			timings[i] = p->desc->timings[i];
desc              355 drivers/gpu/drm/panel/panel-simple.c 	return p->desc->num_timings;
desc              374 drivers/gpu/drm/panel/panel-simple.c 	const struct panel_desc *desc = panel->desc;
desc              378 drivers/gpu/drm/panel/panel-simple.c 	if (WARN_ON(desc->num_modes)) {
desc              382 drivers/gpu/drm/panel/panel-simple.c 	if (WARN_ON(!desc->num_timings)) {
desc              387 drivers/gpu/drm/panel/panel-simple.c 	for (i = 0; i < panel->desc->num_timings; i++) {
desc              388 drivers/gpu/drm/panel/panel-simple.c 		const struct display_timing *dt = &panel->desc->timings[i];
desc              414 drivers/gpu/drm/panel/panel-simple.c static int panel_simple_probe(struct device *dev, const struct panel_desc *desc)
desc              427 drivers/gpu/drm/panel/panel-simple.c 	panel->desc = desc;
desc             3477 drivers/gpu/drm/panel/panel-simple.c 	struct panel_desc desc;
desc             3498 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3527 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3556 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3584 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3612 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3641 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3670 drivers/gpu/drm/panel/panel-simple.c 	.desc = {
desc             3716 drivers/gpu/drm/panel/panel-simple.c 	const struct panel_desc_dsi *desc;
desc             3724 drivers/gpu/drm/panel/panel-simple.c 	desc = id->data;
desc             3726 drivers/gpu/drm/panel/panel-simple.c 	err = panel_simple_probe(&dsi->dev, &desc->desc);
desc             3730 drivers/gpu/drm/panel/panel-simple.c 	dsi->mode_flags = desc->flags;
desc             3731 drivers/gpu/drm/panel/panel-simple.c 	dsi->format = desc->format;
desc             3732 drivers/gpu/drm/panel/panel-simple.c 	dsi->lanes = desc->lanes;
desc              104 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	const struct st7701_panel_desc *desc;
desc              131 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	const struct drm_display_mode *mode = st7701->desc->mode;
desc              207 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	ret = regulator_bulk_enable(st7701->desc->num_supplies,
desc              262 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	regulator_bulk_disable(st7701->desc->num_supplies, st7701->supplies);
desc              270 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	const struct drm_display_mode *desc_mode = st7701->desc->mode;
desc              335 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	const struct st7701_panel_desc *desc;
desc              343 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	desc = of_device_get_match_data(&dsi->dev);
desc              344 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	dsi->mode_flags = desc->flags;
desc              345 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	dsi->format = desc->format;
desc              346 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	dsi->lanes = desc->lanes;
desc              348 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->supplies = devm_kcalloc(&dsi->dev, desc->num_supplies,
desc              354 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	for (i = 0; i < desc->num_supplies; i++)
desc              355 drivers/gpu/drm/panel/panel-sitronix-st7701.c 		st7701->supplies[i].supply = desc->supply_names[i];
desc              357 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	ret = devm_regulator_bulk_get(&dsi->dev, desc->num_supplies,
desc              383 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->sleep_delay = 120 + desc->panel_sleep_delay;
desc              393 drivers/gpu/drm/panel/panel-sitronix-st7701.c 	st7701->desc = desc;
desc              564 drivers/gpu/drm/panfrost/panfrost_drv.c 	.desc			= "panfrost DRM",
desc              232 drivers/gpu/drm/pl111/pl111_drv.c 	.desc = DRIVER_DESC,
desc              293 drivers/gpu/drm/qxl/qxl_drv.c 	.desc = DRIVER_DESC,
desc               79 drivers/gpu/drm/r128/r128_drv.c 	.desc = DRIVER_DESC,
desc              654 drivers/gpu/drm/radeon/radeon_drv.c 	.desc = DRIVER_DESC,
desc              457 drivers/gpu/drm/rcar-du/rcar_du_drv.c 	.desc			= "Renesas R-Car Display Unit",
desc              231 drivers/gpu/drm/rockchip/rockchip_drm_drv.c 	.desc	= DRIVER_DESC,
desc               63 drivers/gpu/drm/savage/savage_drv.c 	.desc = DRIVER_DESC,
desc              146 drivers/gpu/drm/shmobile/shmob_drm_drv.c 	.desc			= "Renesas SH Mobile DRM",
desc              114 drivers/gpu/drm/sis/sis_drv.c 	.desc = DRIVER_DESC,
desc               71 drivers/gpu/drm/sti/sti_compositor.c 	struct sti_compositor_subdev_descriptor *desc = compo->data.subdev_desc;
desc               78 drivers/gpu/drm/sti/sti_compositor.c 		switch (desc[i].type) {
desc               81 drivers/gpu/drm/sti/sti_compositor.c 			    sti_vid_create(compo->dev, drm_dev, desc[i].id,
desc               82 drivers/gpu/drm/sti/sti_compositor.c 					   compo->regs + desc[i].offset);
desc               87 drivers/gpu/drm/sti/sti_compositor.c 			    sti_mixer_create(compo->dev, drm_dev, desc[i].id,
desc               88 drivers/gpu/drm/sti/sti_compositor.c 					     compo->regs + desc[i].offset);
desc              107 drivers/gpu/drm/sti/sti_compositor.c 		switch (desc[i].type) {
desc              115 drivers/gpu/drm/sti/sti_compositor.c 						   desc[i].id,
desc              116 drivers/gpu/drm/sti/sti_compositor.c 						   compo->regs + desc[i].offset,
desc              125 drivers/gpu/drm/sti/sti_compositor.c 						 desc[i].id,
desc              126 drivers/gpu/drm/sti/sti_compositor.c 						 compo->regs + desc[i].offset,
desc              174 drivers/gpu/drm/sti/sti_crtc.c 			if (plane->desc == STI_HQVDP_0)
desc              191 drivers/gpu/drm/sti/sti_crtc.c 			if (plane->desc == STI_CURSOR)
desc              199 drivers/gpu/drm/sti/sti_crtc.c 			if (plane->desc == STI_HQVDP_0)
desc              272 drivers/gpu/drm/sti/sti_crtc.c 			if ((plane->desc & STI_PLANE_TYPE_MASK) <= STI_VDP)
desc              359 drivers/gpu/drm/sti/sti_cursor.c 				    struct device *dev, int desc,
desc              385 drivers/gpu/drm/sti/sti_cursor.c 	cursor->plane.desc = desc;
desc               14 drivers/gpu/drm/sti/sti_cursor.h 				    struct device *dev, int desc,
desc              163 drivers/gpu/drm/sti/sti_drv.c 	.desc = DRIVER_DESC,
desc              322 drivers/gpu/drm/sti/sti_gdp.c 	switch (gdp->plane.desc) {
desc              559 drivers/gpu/drm/sti/sti_gdp.c 		switch (gdp->plane.desc) {
desc              912 drivers/gpu/drm/sti/sti_gdp.c 				 struct device *dev, int desc,
desc              928 drivers/gpu/drm/sti/sti_gdp.c 	gdp->plane.desc = desc;
desc               20 drivers/gpu/drm/sti/sti_gdp.h 				 struct device *dev, int desc,
desc             1291 drivers/gpu/drm/sti/sti_hqvdp.c 					  struct device *dev, int desc)
desc             1296 drivers/gpu/drm/sti/sti_hqvdp.c 	hqvdp->plane.desc = desc;
desc              243 drivers/gpu/drm/sti/sti_mixer.c 	switch (plane->desc) {
desc              263 drivers/gpu/drm/sti/sti_mixer.c 		DRM_ERROR("Unknown plane %d\n", plane->desc);
desc              316 drivers/gpu/drm/sti/sti_mixer.c 	switch (plane->desc) {
desc               21 drivers/gpu/drm/sti/sti_plane.c 	switch (plane->desc) {
desc               72 drivers/gpu/drm/sti/sti_plane.h 	enum sti_plane_desc desc;
desc               59 drivers/gpu/drm/stm/drv.c 	.desc = "STMicroelectronics SoC DRM",
desc               49 drivers/gpu/drm/sun4i/sun4i_drv.c 	.desc			= "Allwinner sun4i Display Engine",
desc               63 drivers/gpu/drm/tdfx/tdfx_drv.c 	.desc = DRIVER_DESC,
desc               53 drivers/gpu/drm/tegra/dpaux.c 	struct pinctrl_desc desc;
desc              532 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.name = dev_name(&pdev->dev);
desc              533 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.pins = tegra_dpaux_pins;
desc              534 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.npins = ARRAY_SIZE(tegra_dpaux_pins);
desc              535 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.pctlops = &tegra_dpaux_pinctrl_ops;
desc              536 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.pmxops = &tegra_dpaux_pinmux_ops;
desc              537 drivers/gpu/drm/tegra/dpaux.c 	dpaux->desc.owner = THIS_MODULE;
desc              539 drivers/gpu/drm/tegra/dpaux.c 	dpaux->pinctrl = devm_pinctrl_register(&pdev->dev, &dpaux->desc, dpaux);
desc             1042 drivers/gpu/drm/tegra/drm.c 	.desc = DRIVER_DESC,
desc              533 drivers/gpu/drm/tilcdc/tilcdc_drv.c 	.desc               = "TI LCD Controller DRM",
desc              658 drivers/gpu/drm/tiny/gm12u320.c 	.desc		 = DRIVER_DESC,
desc              685 drivers/gpu/drm/tiny/gm12u320.c 	if (interface->cur_altsetting->desc.bInterfaceNumber != 0)
desc              202 drivers/gpu/drm/tiny/hx8357d.c 	.desc			= "HX8357D",
desc              360 drivers/gpu/drm/tiny/ili9225.c 	.desc			= "Ilitek ILI9225",
desc              158 drivers/gpu/drm/tiny/ili9341.c 	.desc			= "Ilitek ILI9341",
desc              162 drivers/gpu/drm/tiny/mi0283qt.c 	.desc			= "Multi-Inno MI0283QT",
desc              970 drivers/gpu/drm/tiny/repaper.c 	.desc			= "Pervasive Displays RePaper e-ink panels",
desc              300 drivers/gpu/drm/tiny/st7586.c 	.desc			= "Sitronix ST7586",
desc              132 drivers/gpu/drm/tiny/st7735r.c 	.desc			= "Sitronix ST7735R",
desc              145 drivers/gpu/drm/tve200/tve200_drv.c 	.desc = DRIVER_DESC,
desc               79 drivers/gpu/drm/udl/udl_drv.c 	.desc = DRIVER_DESC,
desc               33 drivers/gpu/drm/udl/udl_main.c 	char *desc;
desc               42 drivers/gpu/drm/udl/udl_main.c 	desc = buf;
desc               45 drivers/gpu/drm/udl/udl_main.c 				    0, desc, MAX_VENDOR_DESCRIPTOR_SIZE);
desc               48 drivers/gpu/drm/udl/udl_main.c 			total_len, desc);
desc               50 drivers/gpu/drm/udl/udl_main.c 		if ((desc[0] != total_len) || /* descriptor length */
desc               51 drivers/gpu/drm/udl/udl_main.c 		    (desc[1] != 0x5f) ||   /* vendor descriptor type */
desc               52 drivers/gpu/drm/udl/udl_main.c 		    (desc[2] != 0x01) ||   /* version (2 bytes) */
desc               53 drivers/gpu/drm/udl/udl_main.c 		    (desc[3] != 0x00) ||
desc               54 drivers/gpu/drm/udl/udl_main.c 		    (desc[4] != total_len - 2)) /* length after type */
desc               57 drivers/gpu/drm/udl/udl_main.c 		desc_end = desc + total_len;
desc               58 drivers/gpu/drm/udl/udl_main.c 		desc += 5; /* the fixed header we've already parsed */
desc               60 drivers/gpu/drm/udl/udl_main.c 		while (desc < desc_end) {
desc               64 drivers/gpu/drm/udl/udl_main.c 			key = le16_to_cpu(*((u16 *) desc));
desc               65 drivers/gpu/drm/udl/udl_main.c 			desc += sizeof(u16);
desc               66 drivers/gpu/drm/udl/udl_main.c 			length = *desc;
desc               67 drivers/gpu/drm/udl/udl_main.c 			desc++;
desc               72 drivers/gpu/drm/udl/udl_main.c 				max_area = le32_to_cpu(*((u32 *)desc));
desc               81 drivers/gpu/drm/udl/udl_main.c 			desc += length;
desc              214 drivers/gpu/drm/v3d/v3d_drv.c 	.desc = DRIVER_DESC,
desc              206 drivers/gpu/drm/vboxvideo/vbox_drv.c 	.desc = DRIVER_DESC,
desc              220 drivers/gpu/drm/vc4/vc4_drv.c 	.desc = DRIVER_DESC,
desc              465 drivers/gpu/drm/vgem/vgem_drv.c 	.desc	= DRIVER_DESC,
desc               95 drivers/gpu/drm/via/via_drv.c 	.desc = DRIVER_DESC,
desc              228 drivers/gpu/drm/virtio/virtgpu_drv.c 	.desc = DRIVER_DESC,
desc              108 drivers/gpu/drm/vkms/vkms_drv.c 	.desc			= DRIVER_DESC,
desc              942 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dShaderResourceViewDesc desc;
desc              957 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dShaderResourceViewDesc desc;
desc             1002 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dRenderTargetViewDesc desc;
desc             1017 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dRenderTargetViewDesc desc;
desc             1102 drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h    SVGA3dInputElementDesc desc[32];
desc             1145 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_size_in_blocks(const struct svga3d_surface_desc *desc,
desc             1150 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 						  desc->block_size.width);
desc             1152 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 						   desc->block_size.height);
desc             1154 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 						  desc->block_size.depth);
desc             1158 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_is_planar_surface(const struct svga3d_surface_desc *desc)
desc             1160 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	return (desc->block_desc & SVGA3DBLOCKDESC_PLANAR_YUV) != 0;
desc             1164 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_calculate_pitch(const struct svga3d_surface_desc *desc,
desc             1170 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	svga3dsurface_get_size_in_blocks(desc, size, &blocks);
desc             1172 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	pitch = blocks.width * desc->pitch_bytes_per_block;
desc             1189 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h svga3dsurface_get_image_buffer_size(const struct svga3d_surface_desc *desc,
desc             1196 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	svga3dsurface_get_size_in_blocks(desc, size, &image_blocks);
desc             1198 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	if (svga3dsurface_is_planar_surface(desc)) {
desc             1202 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 		total_size = clamped_umul32(total_size, desc->bytes_per_block);
desc             1207 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 		pitch = svga3dsurface_calculate_pitch(desc, size);
desc             1224 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format);
desc             1231 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 		total_size += svga3dsurface_get_image_buffer_size(desc,
desc             1271 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const struct svga3d_surface_desc *desc = svga3dsurface_get_desc(format);
desc             1272 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const u32 bw = desc->block_size.width, bh = desc->block_size.height;
desc             1273 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const u32 bd = desc->block_size.depth;
desc             1275 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 			      desc->bytes_per_block;
desc             1279 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 			    x / bw * desc->bytes_per_block);
desc             1296 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	const struct svga3d_surface_desc *desc;
desc             1300 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 	desc = svga3dsurface_get_desc(format);
desc             1306 drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h 		bytes = svga3dsurface_get_image_buffer_size(desc, &mipSize, 0);
desc             1411 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c 	.desc = VMWGFX_DRIVER_DESC,
desc              281 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	const struct svga3d_surface_desc *desc =
desc              297 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		body->guest.pitch = svga3dsurface_calculate_pitch(desc,
desc              316 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 			svga3dsurface_get_image_buffer_size(desc, cur_size,
desc              724 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	const struct svga3d_surface_desc *desc;
desc              745 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	desc = svga3dsurface_get_desc(req->format);
desc              746 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 	if (unlikely(desc->block_desc == SVGA3DBLOCKDESC_NONE)) {
desc              809 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 				(desc, cur_size);
desc              815 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 				(desc, cur_size, stride);
desc             1397 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		const struct svga3d_surface_desc *desc;
desc             1399 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		desc = svga3dsurface_get_desc(format);
desc             1400 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c 		if (unlikely(desc->block_desc == SVGA3DBLOCKDESC_NONE)) {
desc              507 drivers/gpu/drm/xen/xen_drm_front.c 	.desc                      = "Xen PV DRM Display Unit",
desc              521 drivers/gpu/drm/xen/xen_drm_front.c 	DRM_INFO("Creating %s\n", xen_drm_driver.desc);
desc               51 drivers/gpu/drm/zte/zx_drm_drv.c 	.desc = "ZTE VOU Controller DRM",
desc             1087 drivers/gpu/ipu-v3/ipu-common.c static void ipu_irq_handler(struct irq_desc *desc)
desc             1089 drivers/gpu/ipu-v3/ipu-common.c 	struct ipu_soc *ipu = irq_desc_get_handler_data(desc);
desc             1090 drivers/gpu/ipu-v3/ipu-common.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1093 drivers/gpu/ipu-v3/ipu-common.c 	chained_irq_enter(chip, desc);
desc             1097 drivers/gpu/ipu-v3/ipu-common.c 	chained_irq_exit(chip, desc);
desc             1100 drivers/gpu/ipu-v3/ipu-common.c static void ipu_err_irq_handler(struct irq_desc *desc)
desc             1102 drivers/gpu/ipu-v3/ipu-common.c 	struct ipu_soc *ipu = irq_desc_get_handler_data(desc);
desc             1103 drivers/gpu/ipu-v3/ipu-common.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1106 drivers/gpu/ipu-v3/ipu-common.c 	chained_irq_enter(chip, desc);
desc             1110 drivers/gpu/ipu-v3/ipu-common.c 	chained_irq_exit(chip, desc);
desc             1303 drivers/greybus/es2.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1304 drivers/greybus/es2.c 		endpoint = &iface_desc->endpoint[i].desc;
desc               62 drivers/greybus/manifest.c 	struct manifest_desc *desc, *tmp;
desc               65 drivers/greybus/manifest.c 	list_for_each_entry_safe(desc, tmp, head, links) {
desc               66 drivers/greybus/manifest.c 		desc_cport = desc->data;
desc               68 drivers/greybus/manifest.c 		if (desc->type != GREYBUS_TYPE_CPORT)
desc               72 drivers/greybus/manifest.c 			release_manifest_descriptor(desc);
desc               99 drivers/greybus/manifest.c 			       struct greybus_descriptor *desc, size_t size)
desc              101 drivers/greybus/manifest.c 	struct greybus_descriptor_header *desc_header = &desc->header;
desc              125 drivers/greybus/manifest.c 		expected_size += desc->string.length;
desc              165 drivers/greybus/manifest.c 	descriptor->data = (char *)desc + sizeof(*desc_header);
desc              232 drivers/greybus/manifest.c 	struct manifest_desc *desc, *next, *tmp;
desc              240 drivers/greybus/manifest.c 	list_for_each_entry_safe(desc, next, &intf->manifest_descs, links) {
desc              241 drivers/greybus/manifest.c 		if (desc->type != GREYBUS_TYPE_CPORT)
desc              244 drivers/greybus/manifest.c 		desc_cport = desc->data;
desc              271 drivers/greybus/manifest.c 		list_move_tail(&desc->links, &list);
desc              286 drivers/greybus/manifest.c 	list_for_each_entry_safe(desc, next, &list, links) {
desc              287 drivers/greybus/manifest.c 		desc_cport = desc->data;
desc              292 drivers/greybus/manifest.c 		release_manifest_descriptor(desc);
desc              314 drivers/greybus/manifest.c 	struct manifest_desc *desc;
desc              321 drivers/greybus/manifest.c 	while ((desc = get_next_bundle_desc(intf))) {
desc              325 drivers/greybus/manifest.c 		desc_bundle = desc->data;
desc              330 drivers/greybus/manifest.c 		release_manifest_descriptor(desc);
desc              456 drivers/greybus/manifest.c 	struct greybus_descriptor *desc;
desc              493 drivers/greybus/manifest.c 	desc = manifest->descriptors;
desc              498 drivers/greybus/manifest.c 		desc_size = identify_descriptor(intf, desc, size);
desc              503 drivers/greybus/manifest.c 		desc = (struct greybus_descriptor *)((char *)desc + desc_size);
desc              681 drivers/greybus/svc.c 	int ret, desc;
desc              694 drivers/greybus/svc.c 	desc = scnprintf(buff, sizeof(buff), "%u\n", value);
desc              696 drivers/greybus/svc.c 	return simple_read_from_buffer(buf, len, offset, buff, desc);
desc              705 drivers/greybus/svc.c 	int ret, desc;
desc              718 drivers/greybus/svc.c 	desc = scnprintf(buff, sizeof(buff), "%u\n", value);
desc              720 drivers/greybus/svc.c 	return simple_read_from_buffer(buf, len, offset, buff, desc);
desc              729 drivers/greybus/svc.c 	int ret, desc;
desc              741 drivers/greybus/svc.c 	desc = scnprintf(buff, sizeof(buff), "%u\n", value);
desc              743 drivers/greybus/svc.c 	return simple_read_from_buffer(buf, len, offset, buff, desc);
desc              855 drivers/hid/hid-asus.c 		if (intf->altsetting->desc.bInterfaceNumber == T100_TPAD_INTF) {
desc               63 drivers/hid/hid-chicony.c 	if (intf->cur_altsetting->desc.bInterfaceNumber == 1) {
desc              576 drivers/hid/hid-corsair.c 	if (usbif->cur_altsetting->desc.bInterfaceNumber == 0) {
desc              693 drivers/hid/hid-corsair.c 	if (intf->cur_altsetting->desc.bInterfaceNumber == 1) {
desc              167 drivers/hid/hid-cp2112.c 	struct gpio_desc *desc[8];
desc             1193 drivers/hid/hid-cp2112.c 	if (dev->desc[pin])
desc             1196 drivers/hid/hid-cp2112.c 	dev->desc[pin] = gpiochip_request_own_desc(&dev->gc, pin,
desc             1200 drivers/hid/hid-cp2112.c 	if (IS_ERR(dev->desc[pin])) {
desc             1202 drivers/hid/hid-cp2112.c 		return PTR_ERR(dev->desc[pin]);
desc             1217 drivers/hid/hid-cp2112.c 	ret = gpiod_to_irq(dev->desc[pin]);
desc             1228 drivers/hid/hid-cp2112.c 	gpiochip_free_own_desc(dev->desc[pin]);
desc             1229 drivers/hid/hid-cp2112.c 	dev->desc[pin] = NULL;
desc             1393 drivers/hid/hid-cp2112.c 	for (i = 0; i < ARRAY_SIZE(dev->desc); i++) {
desc             1395 drivers/hid/hid-cp2112.c 		gpiochip_free_own_desc(dev->desc[i]);
desc               56 drivers/hid/hid-elan.c 		return (intf->altsetting->desc.bInterfaceNumber !=
desc              110 drivers/hid/hid-holtek-kbd.c 	if (intf->cur_altsetting->desc.bInterfaceNumber == 1) {
desc              149 drivers/hid/hid-holtek-kbd.c 	if (!ret && intf->cur_altsetting->desc.bInterfaceNumber == 1) {
desc               37 drivers/hid/hid-holtek-mouse.c 	if (intf->cur_altsetting->desc.bInterfaceNumber == 1) {
desc              185 drivers/hid/hid-hyperv.c 	struct hid_descriptor *desc;
desc              191 drivers/hid/hid-hyperv.c 	desc = &device_info->hid_descriptor;
desc              192 drivers/hid/hid-hyperv.c 	if (desc->bLength == 0)
desc              195 drivers/hid/hid-hyperv.c 	input_device->hid_desc = kmemdup(desc, desc->bLength, GFP_ATOMIC);
desc              200 drivers/hid/hid-hyperv.c 	input_device->report_desc_size = desc->desc[0].wDescriptorLength;
desc              215 drivers/hid/hid-hyperv.c 	       ((unsigned char *)desc) + desc->bLength,
desc              216 drivers/hid/hid-hyperv.c 	       desc->desc[0].wDescriptorLength);
desc              318 drivers/hid/hid-hyperv.c 	struct vmpacket_descriptor *desc;
desc              320 drivers/hid/hid-hyperv.c 	foreach_vmbus_pkt(desc, device->channel) {
desc              321 drivers/hid/hid-hyperv.c 		switch (desc->type) {
desc              326 drivers/hid/hid-hyperv.c 			mousevsc_on_receive(device, desc);
desc              331 drivers/hid/hid-hyperv.c 			       desc->type, desc->trans_id, desc->len8 * 8);
desc              517 drivers/hid/hid-input.c 	psy_desc = dev->battery->desc;
desc              773 drivers/hid/hid-lg.c 	__u8 iface_num = iface->cur_altsetting->desc.bInterfaceNumber;
desc             1665 drivers/hid/hid-logitech-dj.c 		if (intf && intf->altsetting->desc.bInterfaceNumber >=
desc              138 drivers/hid/hid-logitech-hidpp.c 	struct power_supply_desc desc;
desc             3218 drivers/hid/hid-logitech-hidpp.c 	struct power_supply_desc *desc = &hidpp->battery.desc;
desc             3273 drivers/hid/hid-logitech-hidpp.c 	desc->properties = battery_props;
desc             3274 drivers/hid/hid-logitech-hidpp.c 	desc->num_properties = num_battery_props;
desc             3275 drivers/hid/hid-logitech-hidpp.c 	desc->get_property = hidpp_battery_get_property;
desc             3277 drivers/hid/hid-logitech-hidpp.c 	desc->name = battery->name;
desc             3278 drivers/hid/hid-logitech-hidpp.c 	desc->type = POWER_SUPPLY_TYPE_BATTERY;
desc             3279 drivers/hid/hid-logitech-hidpp.c 	desc->use_for_apm = 0;
desc             3282 drivers/hid/hid-logitech-hidpp.c 						 &battery->desc,
desc              802 drivers/hid/hid-prodikeys.c 	unsigned short ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc              293 drivers/hid/hid-roccat-arvo.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              332 drivers/hid/hid-roccat-arvo.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              273 drivers/hid/hid-roccat-isku.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              312 drivers/hid/hid-roccat-isku.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              401 drivers/hid/hid-roccat-isku.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              692 drivers/hid/hid-roccat-kone.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              730 drivers/hid/hid-roccat-kone.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              381 drivers/hid/hid-roccat-koneplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              420 drivers/hid/hid-roccat-koneplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              513 drivers/hid/hid-roccat-koneplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc               82 drivers/hid/hid-roccat-konepure.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              121 drivers/hid/hid-roccat-konepure.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              174 drivers/hid/hid-roccat-konepure.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              450 drivers/hid/hid-roccat-kovaplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              490 drivers/hid/hid-roccat-kovaplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              604 drivers/hid/hid-roccat-kovaplus.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              400 drivers/hid/hid-roccat-pyra.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              439 drivers/hid/hid-roccat-pyra.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              547 drivers/hid/hid-roccat-pyra.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc               90 drivers/hid/hid-roccat-ryos.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              129 drivers/hid/hid-roccat-ryos.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              182 drivers/hid/hid-roccat-ryos.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc               62 drivers/hid/hid-roccat-savu.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              101 drivers/hid/hid-roccat-savu.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              172 drivers/hid/hid-roccat-savu.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol
desc              100 drivers/hid/hid-samsung.c 	unsigned short ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc               75 drivers/hid/hid-sensor-custom.c 	char *desc;
desc              372 drivers/hid/hid-sensor-custom.c 					usage_desc->desc);
desc              277 drivers/hid/hid-u2fzero.c 		ep->desc.bInterval);
desc              544 drivers/hid/hid-uclogic-params.c 	__u8 *desc = NULL;
desc              566 drivers/hid/hid-uclogic-params.c 		desc = kmalloc(size, GFP_KERNEL);
desc              567 drivers/hid/hid-uclogic-params.c 		if (desc == NULL)
desc              569 drivers/hid/hid-uclogic-params.c 		p = desc;
desc              587 drivers/hid/hid-uclogic-params.c 		WARN_ON(p != desc + size);
desc              592 drivers/hid/hid-uclogic-params.c 	*pdesc = desc;
desc              710 drivers/hid/hid-uclogic-params.c 	__u8 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber;
desc              836 drivers/hid/hid-uclogic-params.c 	__u8  bNumInterfaces = udev->config->desc.bNumInterfaces;
desc              838 drivers/hid/hid-uclogic-params.c 	__u8 bInterfaceNumber = iface->cur_altsetting->desc.bInterfaceNumber;
desc              895 drivers/hid/usbhid/hid-core.c 		interface->desc.bInterfaceNumber, buf, count,
desc              932 drivers/hid/usbhid/hid-core.c 			interface->desc.bInterfaceNumber, buf, count,
desc              992 drivers/hid/usbhid/hid-core.c 	size_t offset = offsetof(struct hid_descriptor, desc);
desc             1001 drivers/hid/usbhid/hid-core.c 	if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT) {
desc             1002 drivers/hid/usbhid/hid-core.c 		if (interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_KEYBOARD ||
desc             1003 drivers/hid/usbhid/hid-core.c 			interface->desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_MOUSE)
desc             1008 drivers/hid/usbhid/hid-core.c 	    (!interface->desc.bNumEndpoints ||
desc             1026 drivers/hid/usbhid/hid-core.c 		if (hdesc->desc[n].bDescriptorType == HID_DT_REPORT)
desc             1027 drivers/hid/usbhid/hid-core.c 			rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength);
desc             1038 drivers/hid/usbhid/hid-core.c 	hid_set_idle(dev, interface->desc.bInterfaceNumber, 0, 0);
desc             1040 drivers/hid/usbhid/hid-core.c 	ret = hid_get_class_descriptor(dev, interface->desc.bInterfaceNumber,
desc             1093 drivers/hid/usbhid/hid-core.c 	for (n = 0; n < interface->desc.bNumEndpoints; n++) {
desc             1098 drivers/hid/usbhid/hid-core.c 		endpoint = &interface->endpoint[n].desc;
desc             1187 drivers/hid/usbhid/hid-core.c 	if (interface->desc.bInterfaceSubClass == USB_INTERFACE_SUBCLASS_BOOT &&
desc             1188 drivers/hid/usbhid/hid-core.c 			interface->desc.bInterfaceProtocol ==
desc             1297 drivers/hid/usbhid/hid-core.c 	int ifnum = interface->desc.bInterfaceNumber;
desc             1331 drivers/hid/usbhid/hid-core.c 			intf->altsetting->desc.bInterfaceNumber);
desc             1333 drivers/hid/usbhid/hid-core.c 	for (n = 0; n < interface->desc.bNumEndpoints; n++)
desc             1334 drivers/hid/usbhid/hid-core.c 		if (usb_endpoint_is_int_in(&interface->endpoint[n].desc))
desc             1360 drivers/hid/usbhid/hid-core.c 	if (intf->cur_altsetting->desc.bInterfaceProtocol ==
desc             1363 drivers/hid/usbhid/hid-core.c 	else if (intf->cur_altsetting->desc.bInterfaceProtocol == 0)
desc             1385 drivers/hid/usbhid/hid-core.c 			 "%d", intf->altsetting[0].desc.bInterfaceNumber);
desc             1399 drivers/hid/usbhid/hid-core.c 	usbhid->ifnum = interface->desc.bInterfaceNumber;
desc             1517 drivers/hid/usbhid/hid-core.c 				interface->desc.bInterfaceNumber,
desc             1536 drivers/hid/usbhid/hid-core.c 	hid_set_idle(dev, intf->cur_altsetting->desc.bInterfaceNumber, 0, 0);
desc              274 drivers/hid/usbhid/usbkbd.c 	if (interface->desc.bNumEndpoints != 1)
desc              277 drivers/hid/usbhid/usbkbd.c 	endpoint = &interface->endpoint[0].desc;
desc              344 drivers/hid/usbhid/usbkbd.c 	kbd->cr->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber);
desc              118 drivers/hid/usbhid/usbmouse.c 	if (interface->desc.bNumEndpoints != 1)
desc              121 drivers/hid/usbhid/usbmouse.c 	endpoint = &interface->endpoint[0].desc;
desc              730 drivers/hid/wacom_sys.c 		if (intf->cur_altsetting->desc.bInterfaceNumber == 0)
desc              751 drivers/hv/channel.c 	struct vmpacket_descriptor desc;
desc              760 drivers/hv/channel.c 	desc.type = type; /* VmbusPacketTypeDataInBand; */
desc              761 drivers/hv/channel.c 	desc.flags = flags; /* VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED; */
desc              763 drivers/hv/channel.c 	desc.offset8 = sizeof(struct vmpacket_descriptor) >> 3;
desc              764 drivers/hv/channel.c 	desc.len8 = (u16)(packetlen_aligned >> 3);
desc              765 drivers/hv/channel.c 	desc.trans_id = requestid;
desc              767 drivers/hv/channel.c 	bufferlist[0].iov_base = &desc;
desc              791 drivers/hv/channel.c 	struct vmbus_channel_packet_page_buffer desc;
desc              812 drivers/hv/channel.c 	desc.type = VM_PKT_DATA_USING_GPA_DIRECT;
desc              813 drivers/hv/channel.c 	desc.flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED;
desc              814 drivers/hv/channel.c 	desc.dataoffset8 = descsize >> 3; /* in 8-bytes granularity */
desc              815 drivers/hv/channel.c 	desc.length8 = (u16)(packetlen_aligned >> 3);
desc              816 drivers/hv/channel.c 	desc.transactionid = requestid;
desc              817 drivers/hv/channel.c 	desc.reserved = 0;
desc              818 drivers/hv/channel.c 	desc.rangecount = pagecount;
desc              821 drivers/hv/channel.c 		desc.range[i].len = pagebuffers[i].len;
desc              822 drivers/hv/channel.c 		desc.range[i].offset = pagebuffers[i].offset;
desc              823 drivers/hv/channel.c 		desc.range[i].pfn	 = pagebuffers[i].pfn;
desc              826 drivers/hv/channel.c 	bufferlist[0].iov_base = &desc;
desc              843 drivers/hv/channel.c 			      struct vmbus_packet_mpb_array *desc,
desc              856 drivers/hv/channel.c 	desc->type = VM_PKT_DATA_USING_GPA_DIRECT;
desc              857 drivers/hv/channel.c 	desc->flags = VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED;
desc              858 drivers/hv/channel.c 	desc->dataoffset8 = desc_size >> 3; /* in 8-bytes granularity */
desc              859 drivers/hv/channel.c 	desc->length8 = (u16)(packetlen_aligned >> 3);
desc              860 drivers/hv/channel.c 	desc->transactionid = requestid;
desc              861 drivers/hv/channel.c 	desc->reserved = 0;
desc              862 drivers/hv/channel.c 	desc->rangecount = 1;
desc              864 drivers/hv/channel.c 	bufferlist[0].iov_base = desc;
desc              332 drivers/hv/ring_buffer.c 	struct vmpacket_descriptor *desc;
desc              342 drivers/hv/ring_buffer.c 	desc = hv_pkt_iter_first(channel);
desc              343 drivers/hv/ring_buffer.c 	if (desc == NULL) {
desc              351 drivers/hv/ring_buffer.c 	offset = raw ? 0 : (desc->offset8 << 3);
desc              352 drivers/hv/ring_buffer.c 	packetlen = (desc->len8 << 3) - offset;
desc              354 drivers/hv/ring_buffer.c 	*requestid = desc->trans_id;
desc              360 drivers/hv/ring_buffer.c 	memcpy(buffer, (const char *)desc + offset, packetlen);
desc              363 drivers/hv/ring_buffer.c 	__hv_pkt_iter_next(channel, desc);
desc              397 drivers/hv/ring_buffer.c 	struct vmpacket_descriptor *desc;
desc              402 drivers/hv/ring_buffer.c 	desc = hv_get_ring_buffer(rbi) + rbi->priv_read_index;
desc              403 drivers/hv/ring_buffer.c 	if (desc)
desc              404 drivers/hv/ring_buffer.c 		prefetch((char *)desc + (desc->len8 << 3));
desc              406 drivers/hv/ring_buffer.c 	return desc;
desc              418 drivers/hv/ring_buffer.c 		   const struct vmpacket_descriptor *desc)
desc              421 drivers/hv/ring_buffer.c 	u32 packetlen = desc->len8 << 3;
desc              734 drivers/hwtracing/coresight/coresight-etb10.c 	struct coresight_desc desc = { 0 };
desc              736 drivers/hwtracing/coresight/coresight-etb10.c 	desc.name = coresight_alloc_device_name(&etb_devs, dev);
desc              737 drivers/hwtracing/coresight/coresight-etb10.c 	if (!desc.name)
desc              779 drivers/hwtracing/coresight/coresight-etb10.c 	desc.type = CORESIGHT_DEV_TYPE_SINK;
desc              780 drivers/hwtracing/coresight/coresight-etb10.c 	desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER;
desc              781 drivers/hwtracing/coresight/coresight-etb10.c 	desc.ops = &etb_cs_ops;
desc              782 drivers/hwtracing/coresight/coresight-etb10.c 	desc.pdata = pdata;
desc              783 drivers/hwtracing/coresight/coresight-etb10.c 	desc.dev = dev;
desc              784 drivers/hwtracing/coresight/coresight-etb10.c 	desc.groups = coresight_etb_groups;
desc              785 drivers/hwtracing/coresight/coresight-etb10.c 	drvdata->csdev = coresight_register(&desc);
desc              789 drivers/hwtracing/coresight/coresight-etb10.c 	drvdata->miscdev.name = desc.name;
desc              793 drivers/hwtracing/coresight/coresight-etm3x.c 	struct coresight_desc desc = { 0 };
desc              822 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.name  = devm_kasprintf(dev, GFP_KERNEL, "etm%d", drvdata->cpu);
desc              823 drivers/hwtracing/coresight/coresight-etm3x.c 	if (!desc.name)
desc              861 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.type = CORESIGHT_DEV_TYPE_SOURCE;
desc              862 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.subtype.source_subtype = CORESIGHT_DEV_SUBTYPE_SOURCE_PROC;
desc              863 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.ops = &etm_cs_ops;
desc              864 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.pdata = pdata;
desc              865 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.dev = dev;
desc              866 drivers/hwtracing/coresight/coresight-etm3x.c 	desc.groups = coresight_etm_groups;
desc              867 drivers/hwtracing/coresight/coresight-etm3x.c 	drvdata->csdev = coresight_register(&desc);
desc             1096 drivers/hwtracing/coresight/coresight-etm4x.c 	struct coresight_desc desc = { 0 };
desc             1117 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.name = devm_kasprintf(dev, GFP_KERNEL, "etm%d", drvdata->cpu);
desc             1118 drivers/hwtracing/coresight/coresight-etm4x.c 	if (!desc.name)
desc             1157 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.type = CORESIGHT_DEV_TYPE_SOURCE;
desc             1158 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.subtype.source_subtype = CORESIGHT_DEV_SUBTYPE_SOURCE_PROC;
desc             1159 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.ops = &etm4_cs_ops;
desc             1160 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.pdata = pdata;
desc             1161 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.dev = dev;
desc             1162 drivers/hwtracing/coresight/coresight-etm4x.c 	desc.groups = coresight_etmv4_groups;
desc             1163 drivers/hwtracing/coresight/coresight-etm4x.c 	drvdata->csdev = coresight_register(&desc);
desc              212 drivers/hwtracing/coresight/coresight-funnel.c 	struct coresight_desc desc = { 0 };
desc              218 drivers/hwtracing/coresight/coresight-funnel.c 	desc.name = coresight_alloc_device_name(&funnel_devs, dev);
desc              219 drivers/hwtracing/coresight/coresight-funnel.c 	if (!desc.name)
desc              244 drivers/hwtracing/coresight/coresight-funnel.c 		desc.groups = coresight_funnel_groups;
desc              256 drivers/hwtracing/coresight/coresight-funnel.c 	desc.type = CORESIGHT_DEV_TYPE_LINK;
desc              257 drivers/hwtracing/coresight/coresight-funnel.c 	desc.subtype.link_subtype = CORESIGHT_DEV_SUBTYPE_LINK_MERG;
desc              258 drivers/hwtracing/coresight/coresight-funnel.c 	desc.ops = &funnel_cs_ops;
desc              259 drivers/hwtracing/coresight/coresight-funnel.c 	desc.pdata = pdata;
desc              260 drivers/hwtracing/coresight/coresight-funnel.c 	desc.dev = dev;
desc              261 drivers/hwtracing/coresight/coresight-funnel.c 	drvdata->csdev = coresight_register(&desc);
desc              205 drivers/hwtracing/coresight/coresight-replicator.c 	struct coresight_desc desc = { 0 };
desc              213 drivers/hwtracing/coresight/coresight-replicator.c 	desc.name = coresight_alloc_device_name(&replicator_devs, dev);
desc              214 drivers/hwtracing/coresight/coresight-replicator.c 	if (!desc.name)
desc              239 drivers/hwtracing/coresight/coresight-replicator.c 		desc.groups = replicator_groups;
desc              251 drivers/hwtracing/coresight/coresight-replicator.c 	desc.type = CORESIGHT_DEV_TYPE_LINK;
desc              252 drivers/hwtracing/coresight/coresight-replicator.c 	desc.subtype.link_subtype = CORESIGHT_DEV_SUBTYPE_LINK_SPLIT;
desc              253 drivers/hwtracing/coresight/coresight-replicator.c 	desc.ops = &replicator_cs_ops;
desc              254 drivers/hwtracing/coresight/coresight-replicator.c 	desc.pdata = dev->platform_data;
desc              255 drivers/hwtracing/coresight/coresight-replicator.c 	desc.dev = dev;
desc              257 drivers/hwtracing/coresight/coresight-replicator.c 	drvdata->csdev = coresight_register(&desc);
desc              864 drivers/hwtracing/coresight/coresight-stm.c 	struct coresight_desc desc = { 0 };
desc              866 drivers/hwtracing/coresight/coresight-stm.c 	desc.name = coresight_alloc_device_name(&stm_devs, dev);
desc              867 drivers/hwtracing/coresight/coresight-stm.c 	if (!desc.name)
desc              914 drivers/hwtracing/coresight/coresight-stm.c 	stm_init_generic_data(drvdata, desc.name);
desc              919 drivers/hwtracing/coresight/coresight-stm.c 			 desc.name);
desc              930 drivers/hwtracing/coresight/coresight-stm.c 	desc.type = CORESIGHT_DEV_TYPE_SOURCE;
desc              931 drivers/hwtracing/coresight/coresight-stm.c 	desc.subtype.source_subtype = CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE;
desc              932 drivers/hwtracing/coresight/coresight-stm.c 	desc.ops = &stm_cs_ops;
desc              933 drivers/hwtracing/coresight/coresight-stm.c 	desc.pdata = pdata;
desc              934 drivers/hwtracing/coresight/coresight-stm.c 	desc.dev = dev;
desc              935 drivers/hwtracing/coresight/coresight-stm.c 	desc.groups = coresight_stm_groups;
desc              936 drivers/hwtracing/coresight/coresight-stm.c 	drvdata->csdev = coresight_register(&desc);
desc              443 drivers/hwtracing/coresight/coresight-tmc.c 	struct coresight_desc desc = { 0 };
desc              475 drivers/hwtracing/coresight/coresight-tmc.c 	desc.dev = dev;
desc              476 drivers/hwtracing/coresight/coresight-tmc.c 	desc.groups = coresight_tmc_groups;
desc              480 drivers/hwtracing/coresight/coresight-tmc.c 		desc.type = CORESIGHT_DEV_TYPE_SINK;
desc              481 drivers/hwtracing/coresight/coresight-tmc.c 		desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER;
desc              482 drivers/hwtracing/coresight/coresight-tmc.c 		desc.ops = &tmc_etb_cs_ops;
desc              486 drivers/hwtracing/coresight/coresight-tmc.c 		desc.type = CORESIGHT_DEV_TYPE_SINK;
desc              487 drivers/hwtracing/coresight/coresight-tmc.c 		desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER;
desc              488 drivers/hwtracing/coresight/coresight-tmc.c 		desc.ops = &tmc_etr_cs_ops;
desc              498 drivers/hwtracing/coresight/coresight-tmc.c 		desc.type = CORESIGHT_DEV_TYPE_LINKSINK;
desc              499 drivers/hwtracing/coresight/coresight-tmc.c 		desc.subtype.link_subtype = CORESIGHT_DEV_SUBTYPE_LINK_FIFO;
desc              500 drivers/hwtracing/coresight/coresight-tmc.c 		desc.ops = &tmc_etf_cs_ops;
desc              504 drivers/hwtracing/coresight/coresight-tmc.c 		pr_err("%s: Unsupported TMC config\n", desc.name);
desc              509 drivers/hwtracing/coresight/coresight-tmc.c 	desc.name = coresight_alloc_device_name(dev_list, dev);
desc              510 drivers/hwtracing/coresight/coresight-tmc.c 	if (!desc.name) {
desc              521 drivers/hwtracing/coresight/coresight-tmc.c 	desc.pdata = pdata;
desc              523 drivers/hwtracing/coresight/coresight-tmc.c 	drvdata->csdev = coresight_register(&desc);
desc              529 drivers/hwtracing/coresight/coresight-tmc.c 	drvdata->miscdev.name = desc.name;
desc              128 drivers/hwtracing/coresight/coresight-tpiu.c 	struct coresight_desc desc = { 0 };
desc              130 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.name = coresight_alloc_device_name(&tpiu_devs, dev);
desc              131 drivers/hwtracing/coresight/coresight-tpiu.c 	if (!desc.name)
desc              161 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.type = CORESIGHT_DEV_TYPE_SINK;
desc              162 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_PORT;
desc              163 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.ops = &tpiu_cs_ops;
desc              164 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.pdata = pdata;
desc              165 drivers/hwtracing/coresight/coresight-tpiu.c 	desc.dev = dev;
desc              166 drivers/hwtracing/coresight/coresight-tpiu.c 	drvdata->csdev = coresight_register(&desc);
desc             1171 drivers/hwtracing/coresight/coresight.c struct coresight_device *coresight_register(struct coresight_desc *desc)
desc             1185 drivers/hwtracing/coresight/coresight.c 	if (desc->type == CORESIGHT_DEV_TYPE_LINK ||
desc             1186 drivers/hwtracing/coresight/coresight.c 	    desc->type == CORESIGHT_DEV_TYPE_LINKSINK) {
desc             1187 drivers/hwtracing/coresight/coresight.c 		link_subtype = desc->subtype.link_subtype;
desc             1190 drivers/hwtracing/coresight/coresight.c 			nr_refcnts = desc->pdata->nr_inport;
desc             1192 drivers/hwtracing/coresight/coresight.c 			nr_refcnts = desc->pdata->nr_outport;
desc             1203 drivers/hwtracing/coresight/coresight.c 	csdev->pdata = desc->pdata;
desc             1205 drivers/hwtracing/coresight/coresight.c 	csdev->type = desc->type;
desc             1206 drivers/hwtracing/coresight/coresight.c 	csdev->subtype = desc->subtype;
desc             1207 drivers/hwtracing/coresight/coresight.c 	csdev->ops = desc->ops;
desc             1210 drivers/hwtracing/coresight/coresight.c 	csdev->dev.type = &coresight_dev_type[desc->type];
desc             1211 drivers/hwtracing/coresight/coresight.c 	csdev->dev.groups = desc->groups;
desc             1212 drivers/hwtracing/coresight/coresight.c 	csdev->dev.parent = desc->dev;
desc             1219 drivers/hwtracing/coresight/coresight.c 	csdev->dev.fwnode = fwnode_handle_get(dev_fwnode(desc->dev));
desc             1220 drivers/hwtracing/coresight/coresight.c 	dev_set_name(&csdev->dev, "%s", desc->name);
desc             1261 drivers/hwtracing/coresight/coresight.c 	coresight_release_platform_data(desc->pdata);
desc              445 drivers/i2c/busses/i2c-diolan-u2c.c 	if (hostif->desc.bInterfaceNumber != 0
desc              446 drivers/i2c/busses/i2c-diolan-u2c.c 	    || hostif->desc.bNumEndpoints < 2)
desc              455 drivers/i2c/busses/i2c-diolan-u2c.c 	dev->ep_out = hostif->endpoint[0].desc.bEndpointAddress;
desc              456 drivers/i2c/busses/i2c-diolan-u2c.c 	dev->ep_in = hostif->endpoint[1].desc.bEndpointAddress;
desc              201 drivers/i2c/busses/i2c-ismt.c static void __ismt_desc_dump(struct device *dev, const struct ismt_desc *desc)
desc              204 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "Descriptor struct:  %p\n", desc);
desc              205 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\ttgtaddr_rw=0x%02X\n", desc->tgtaddr_rw);
desc              206 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\twr_len_cmd=0x%02X\n", desc->wr_len_cmd);
desc              207 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\trd_len=    0x%02X\n", desc->rd_len);
desc              208 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\tcontrol=   0x%02X\n", desc->control);
desc              209 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\tstatus=    0x%02X\n", desc->status);
desc              210 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\tretry=     0x%02X\n", desc->retry);
desc              211 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\trxbytes=   0x%02X\n", desc->rxbytes);
desc              212 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\ttxbytes=   0x%02X\n", desc->txbytes);
desc              213 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\tdptr_low=  0x%08X\n", desc->dptr_low);
desc              214 drivers/i2c/busses/i2c-ismt.c 	dev_dbg(dev, "\tdptr_high= 0x%08X\n", desc->dptr_high);
desc              223 drivers/i2c/busses/i2c-ismt.c 	struct ismt_desc *desc = &priv->hw[priv->head];
desc              226 drivers/i2c/busses/i2c-ismt.c 	__ismt_desc_dump(dev, desc);
desc              320 drivers/i2c/busses/i2c-ismt.c static int ismt_process_desc(const struct ismt_desc *desc,
desc              328 drivers/i2c/busses/i2c-ismt.c 	__ismt_desc_dump(&priv->pci_dev->dev, desc);
desc              332 drivers/i2c/busses/i2c-ismt.c 	if (desc->status & ISMT_DESC_SCS) {
desc              347 drivers/i2c/busses/i2c-ismt.c 			if (desc->rxbytes != dma_buffer[0] + 1)
desc              350 drivers/i2c/busses/i2c-ismt.c 			memcpy(data->block, dma_buffer, desc->rxbytes);
desc              353 drivers/i2c/busses/i2c-ismt.c 			memcpy(&data->block[1], dma_buffer, desc->rxbytes);
desc              354 drivers/i2c/busses/i2c-ismt.c 			data->block[0] = desc->rxbytes;
desc              360 drivers/i2c/busses/i2c-ismt.c 	if (likely(desc->status & ISMT_DESC_NAK))
desc              363 drivers/i2c/busses/i2c-ismt.c 	if (desc->status & ISMT_DESC_CRC)
desc              366 drivers/i2c/busses/i2c-ismt.c 	if (desc->status & ISMT_DESC_COL)
desc              369 drivers/i2c/busses/i2c-ismt.c 	if (desc->status & ISMT_DESC_LPR)
desc              372 drivers/i2c/busses/i2c-ismt.c 	if (desc->status & (ISMT_DESC_DLTO | ISMT_DESC_CLTO))
desc              397 drivers/i2c/busses/i2c-ismt.c 	struct ismt_desc *desc;
desc              402 drivers/i2c/busses/i2c-ismt.c 	desc = &priv->hw[priv->head];
desc              408 drivers/i2c/busses/i2c-ismt.c 	memset(desc, 0, sizeof(struct ismt_desc));
desc              409 drivers/i2c/busses/i2c-ismt.c 	desc->tgtaddr_rw = ISMT_DESC_ADDR_RW(addr, read_write);
desc              413 drivers/i2c/busses/i2c-ismt.c 		desc->control = ISMT_DESC_INT | ISMT_DESC_FAIR;
desc              415 drivers/i2c/busses/i2c-ismt.c 		desc->control = ISMT_DESC_FAIR;
desc              419 drivers/i2c/busses/i2c-ismt.c 		desc->control |= ISMT_DESC_PEC;
desc              433 drivers/i2c/busses/i2c-ismt.c 			desc->control |= ISMT_DESC_CWRL;
desc              434 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = command;
desc              440 drivers/i2c/busses/i2c-ismt.c 			desc->rd_len = 1;
desc              451 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = 2;
desc              459 drivers/i2c/busses/i2c-ismt.c 			desc->control |= ISMT_DESC_CWRL;
desc              460 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = command;
desc              461 drivers/i2c/busses/i2c-ismt.c 			desc->rd_len = 1;
desc              471 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = 3;
desc              480 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = command;
desc              481 drivers/i2c/busses/i2c-ismt.c 			desc->control |= ISMT_DESC_CWRL;
desc              482 drivers/i2c/busses/i2c-ismt.c 			desc->rd_len = 2;
desc              490 drivers/i2c/busses/i2c-ismt.c 		desc->wr_len_cmd = 3;
desc              491 drivers/i2c/busses/i2c-ismt.c 		desc->rd_len = 2;
desc              505 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = dma_size;
desc              506 drivers/i2c/busses/i2c-ismt.c 			desc->control |= ISMT_DESC_BLK;
desc              514 drivers/i2c/busses/i2c-ismt.c 			desc->rd_len = dma_size;
desc              515 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = command;
desc              516 drivers/i2c/busses/i2c-ismt.c 			desc->control |= (ISMT_DESC_BLK | ISMT_DESC_CWRL);
desc              533 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = dma_size;
desc              534 drivers/i2c/busses/i2c-ismt.c 			desc->control |= ISMT_DESC_I2C;
desc              542 drivers/i2c/busses/i2c-ismt.c 			desc->rd_len = dma_size;
desc              543 drivers/i2c/busses/i2c-ismt.c 			desc->wr_len_cmd = command;
desc              544 drivers/i2c/busses/i2c-ismt.c 			desc->control |= (ISMT_DESC_I2C | ISMT_DESC_CWRL);
desc              551 drivers/i2c/busses/i2c-ismt.c 			desc->tgtaddr_rw = ISMT_DESC_ADDR_RW(addr, 0);
desc              582 drivers/i2c/busses/i2c-ismt.c 		desc->dptr_low = lower_32_bits(dma_addr);
desc              583 drivers/i2c/busses/i2c-ismt.c 		desc->dptr_high = upper_32_bits(dma_addr);
desc              605 drivers/i2c/busses/i2c-ismt.c 	ret = ismt_process_desc(desc, data, priv, size, read_write);
desc              175 drivers/i2c/busses/i2c-mxs.c 	struct dma_async_tx_descriptor *desc;
desc              189 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach,
desc              192 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              201 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[0], 1,
desc              204 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              217 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach,
desc              220 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              229 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach, &i2c->sg_io[1], 1,
desc              232 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              247 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach,
desc              250 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              261 drivers/i2c/busses/i2c-mxs.c 		desc = dmaengine_prep_slave_sg(i2c->dmach, i2c->sg_io, 2,
desc              264 drivers/i2c/busses/i2c-mxs.c 		if (!desc) {
desc              275 drivers/i2c/busses/i2c-mxs.c 	desc->callback = mxs_i2c_dma_irq_callback;
desc              276 drivers/i2c/busses/i2c-mxs.c 	desc->callback_param = i2c;
desc              279 drivers/i2c/busses/i2c-mxs.c 	dmaengine_submit(desc);
desc               46 drivers/i3c/device.c 	ret = i3c_dev_do_priv_xfers_locked(dev->desc, xfers, nxfers);
desc               68 drivers/i3c/device.c 	if (dev->desc)
desc               69 drivers/i3c/device.c 		*info = dev->desc->info;
desc               88 drivers/i3c/device.c 	if (dev->desc) {
desc               89 drivers/i3c/device.c 		mutex_lock(&dev->desc->ibi_lock);
desc               90 drivers/i3c/device.c 		ret = i3c_dev_disable_ibi_locked(dev->desc);
desc               91 drivers/i3c/device.c 		mutex_unlock(&dev->desc->ibi_lock);
desc              117 drivers/i3c/device.c 	if (dev->desc) {
desc              118 drivers/i3c/device.c 		mutex_lock(&dev->desc->ibi_lock);
desc              119 drivers/i3c/device.c 		ret = i3c_dev_enable_ibi_locked(dev->desc);
desc              120 drivers/i3c/device.c 		mutex_unlock(&dev->desc->ibi_lock);
desc              148 drivers/i3c/device.c 	if (dev->desc) {
desc              149 drivers/i3c/device.c 		mutex_lock(&dev->desc->ibi_lock);
desc              150 drivers/i3c/device.c 		ret = i3c_dev_request_ibi_locked(dev->desc, req);
desc              151 drivers/i3c/device.c 		mutex_unlock(&dev->desc->ibi_lock);
desc              170 drivers/i3c/device.c 	if (dev->desc) {
desc              171 drivers/i3c/device.c 		mutex_lock(&dev->desc->ibi_lock);
desc              172 drivers/i3c/device.c 		i3c_dev_free_ibi_locked(dev->desc);
desc              173 drivers/i3c/device.c 		mutex_unlock(&dev->desc->ibi_lock);
desc              124 drivers/i3c/master.c 		return dev_to_i3cdev(dev)->desc;
desc              136 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc              140 drivers/i3c/master.c 	desc = dev_to_i3cdesc(dev);
desc              141 drivers/i3c/master.c 	ret = sprintf(buf, "%x\n", desc->info.bcr);
desc              153 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc              157 drivers/i3c/master.c 	desc = dev_to_i3cdesc(dev);
desc              158 drivers/i3c/master.c 	ret = sprintf(buf, "%x\n", desc->info.dcr);
desc              170 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc              174 drivers/i3c/master.c 	desc = dev_to_i3cdesc(dev);
desc              175 drivers/i3c/master.c 	ret = sprintf(buf, "%llx\n", desc->info.pid);
desc              187 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc              191 drivers/i3c/master.c 	desc = dev_to_i3cdesc(dev);
desc              192 drivers/i3c/master.c 	ret = sprintf(buf, "%02x\n", desc->info.dyn_addr);
desc              208 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc              214 drivers/i3c/master.c 	desc = dev_to_i3cdesc(dev);
desc              215 drivers/i3c/master.c 	caps = desc->info.hdr_cap;
desc              706 drivers/i3c/master.c 	WARN_ON(i3cdev->desc);
desc              878 drivers/i3c/master.c 	struct i3c_ccc_dev_desc *desc;
desc              921 drivers/i3c/master.c 	desc = defslvs->slaves;
desc              923 drivers/i3c/master.c 		desc->lvr = i2cdev->lvr;
desc              924 drivers/i3c/master.c 		desc->static_addr = i2cdev->addr << 1;
desc              925 drivers/i3c/master.c 		desc++;
desc              933 drivers/i3c/master.c 		desc->bcr = i3cdev->info.bcr;
desc              934 drivers/i3c/master.c 		desc->dcr = i3cdev->info.dcr;
desc              935 drivers/i3c/master.c 		desc->dyn_addr = i3cdev->info.dyn_addr << 1;
desc              936 drivers/i3c/master.c 		desc->static_addr = i3cdev->info.static_addr << 1;
desc              937 drivers/i3c/master.c 		desc++;
desc             1445 drivers/i3c/master.c 	struct i3c_dev_desc *desc;
desc             1451 drivers/i3c/master.c 	i3c_bus_for_each_i3cdev(&master->bus, desc) {
desc             1452 drivers/i3c/master.c 		if (desc->dev || !desc->info.dyn_addr || desc == master->this)
desc             1455 drivers/i3c/master.c 		desc->dev = kzalloc(sizeof(*desc->dev), GFP_KERNEL);
desc             1456 drivers/i3c/master.c 		if (!desc->dev)
desc             1459 drivers/i3c/master.c 		desc->dev->bus = &master->bus;
desc             1460 drivers/i3c/master.c 		desc->dev->desc = desc;
desc             1461 drivers/i3c/master.c 		desc->dev->dev.parent = &master->dev;
desc             1462 drivers/i3c/master.c 		desc->dev->dev.type = &i3c_device_type;
desc             1463 drivers/i3c/master.c 		desc->dev->dev.bus = &i3c_bus_type;
desc             1464 drivers/i3c/master.c 		desc->dev->dev.release = i3c_device_release;
desc             1465 drivers/i3c/master.c 		dev_set_name(&desc->dev->dev, "%d-%llx", master->bus.id,
desc             1466 drivers/i3c/master.c 			     desc->info.pid);
desc             1468 drivers/i3c/master.c 		if (desc->boardinfo)
desc             1469 drivers/i3c/master.c 			desc->dev->dev.of_node = desc->boardinfo->of_node;
desc             1471 drivers/i3c/master.c 		ret = device_register(&desc->dev->dev);
desc             1824 drivers/i3c/master.c 			newdev->dev->desc = newdev;
desc             1920 drivers/i3c/master.c 	if (newdev->dev && newdev->dev->desc)
desc             1921 drivers/i3c/master.c 		newdev->dev->desc = NULL;
desc             2164 drivers/i3c/master.c 		i3cdev->dev->desc = NULL;
desc              118 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              126 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              134 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              142 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              155 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              163 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              171 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              179 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              187 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x30",
desc              200 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              208 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x58",
desc              216 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x52",
desc              224 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              232 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x64",
desc              245 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              253 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x58",
desc              261 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x52",
desc              269 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              277 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x64",
desc              290 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              298 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              306 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              314 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              322 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x30",
desc              335 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              343 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              351 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              359 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              372 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              380 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              388 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              396 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              409 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              417 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              425 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              433 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              446 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              454 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              462 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              470 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              478 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x32",
desc              486 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x40",
desc              494 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x50",
desc              502 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              514 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              522 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              530 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              538 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              546 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x32",
desc              554 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x40",
desc              562 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x50",
desc              570 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              583 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              591 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              599 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              607 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              615 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x33",
desc              623 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x40",
desc              631 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x50",
desc              639 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              652 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              660 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              668 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              681 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              689 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              697 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x30",
desc              705 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x52",
desc              717 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              725 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x30",
desc              733 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x52",
desc              741 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              749 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x64",
desc              761 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              769 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x51",
desc              781 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              789 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x10",
desc              802 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              810 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              818 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              826 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x31",
desc              834 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x40",
desc              842 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x50",
desc              850 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x60",
desc              863 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x00",
desc              871 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x01",
desc              879 drivers/idle/intel_idle.c 		.desc = "MWAIT 0x20",
desc              243 drivers/iio/adc/ad7606.c 	gpiod_set_array_value(ARRAY_SIZE(values), st->gpio_os->desc,
desc              262 drivers/iio/adc/ad7606_spi.c 				      st->gpio_os->desc, st->gpio_os->info, os);
desc              826 drivers/iio/adc/at91-sama5d2_adc.c 	struct dma_async_tx_descriptor *desc;
desc              856 drivers/iio/adc/at91-sama5d2_adc.c 	desc = dmaengine_prep_dma_cyclic(st->dma_st.dma_chan,
desc              862 drivers/iio/adc/at91-sama5d2_adc.c 	if (!desc) {
desc              867 drivers/iio/adc/at91-sama5d2_adc.c 	desc->callback = at91_dma_buffer_done;
desc              868 drivers/iio/adc/at91-sama5d2_adc.c 	desc->callback_param = indio_dev;
desc              870 drivers/iio/adc/at91-sama5d2_adc.c 	cookie = dmaengine_submit(desc);
desc              314 drivers/iio/adc/stm32-adc-core.c static void stm32_adc_irq_handler(struct irq_desc *desc)
desc              316 drivers/iio/adc/stm32-adc-core.c 	struct stm32_adc_priv *priv = irq_desc_get_handler_data(desc);
desc              317 drivers/iio/adc/stm32-adc-core.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              320 drivers/iio/adc/stm32-adc-core.c 	chained_irq_enter(chip, desc);
desc              347 drivers/iio/adc/stm32-adc-core.c 	chained_irq_exit(chip, desc);
desc             1399 drivers/iio/adc/stm32-adc.c 	struct dma_async_tx_descriptor *desc;
desc             1410 drivers/iio/adc/stm32-adc.c 	desc = dmaengine_prep_dma_cyclic(adc->dma_chan,
desc             1415 drivers/iio/adc/stm32-adc.c 	if (!desc)
desc             1418 drivers/iio/adc/stm32-adc.c 	desc->callback = stm32_adc_dma_buffer_done;
desc             1419 drivers/iio/adc/stm32-adc.c 	desc->callback_param = indio_dev;
desc             1421 drivers/iio/adc/stm32-adc.c 	cookie = dmaengine_submit(desc);
desc              908 drivers/iio/adc/stm32-dfsdm-adc.c 	struct dma_async_tx_descriptor *desc;
desc              927 drivers/iio/adc/stm32-dfsdm-adc.c 	desc = dmaengine_prep_dma_cyclic(adc->dma_chan,
desc              932 drivers/iio/adc/stm32-dfsdm-adc.c 	if (!desc)
desc              935 drivers/iio/adc/stm32-dfsdm-adc.c 	desc->callback = stm32_dfsdm_dma_buffer_done;
desc              936 drivers/iio/adc/stm32-dfsdm-adc.c 	desc->callback_param = indio_dev;
desc              938 drivers/iio/adc/stm32-dfsdm-adc.c 	cookie = dmaengine_submit(desc);
desc              254 drivers/iio/adc/ti_am335x_adc.c 	struct dma_async_tx_descriptor *desc;
desc              273 drivers/iio/adc/ti_am335x_adc.c 	desc = dmaengine_prep_dma_cyclic(dma->chan, dma->addr,
desc              277 drivers/iio/adc/ti_am335x_adc.c 	if (!desc)
desc              280 drivers/iio/adc/ti_am335x_adc.c 	desc->callback = tiadc_dma_rx_complete;
desc              281 drivers/iio/adc/ti_am335x_adc.c 	desc->callback_param = indio_dev;
desc              283 drivers/iio/adc/ti_am335x_adc.c 	dma->cookie = dmaengine_submit(desc);
desc               62 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	struct dma_async_tx_descriptor *desc;
desc               69 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	desc = dmaengine_prep_slave_single(dmaengine_buffer->chan,
desc               72 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	if (!desc)
desc               75 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	desc->callback = iio_dmaengine_buffer_block_done;
desc               76 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	desc->callback_param = block;
desc               78 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	cookie = dmaengine_submit(desc);
desc             1044 drivers/iio/imu/adis16480.c 	struct irq_data *desc;
desc             1050 drivers/iio/imu/adis16480.c 	desc = irq_get_irq_data(st->adis.spi->irq);
desc             1051 drivers/iio/imu/adis16480.c 	if (!desc) {
desc             1083 drivers/iio/imu/adis16480.c 	irq_type = irqd_get_trigger_type(desc);
desc              687 drivers/iio/imu/bmi160/bmi160_core.c 	struct irq_data *desc;
desc              691 drivers/iio/imu/bmi160/bmi160_core.c 	desc = irq_get_irq_data(irq);
desc              692 drivers/iio/imu/bmi160/bmi160_core.c 	if (!desc) {
desc              697 drivers/iio/imu/bmi160/bmi160_core.c 	irq_type = irqd_get_trigger_type(desc);
desc             1079 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	struct irq_data *desc;
desc             1112 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	desc = irq_get_irq_data(irq);
desc             1113 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	if (!desc) {
desc             1118 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	irq_type = irqd_get_trigger_type(desc);
desc               62 drivers/infiniband/core/packer.c void ib_pack(const struct ib_field        *desc,
desc               70 drivers/infiniband/core/packer.c 		if (desc[i].size_bits <= 32) {
desc               76 drivers/infiniband/core/packer.c 			shift = 32 - desc[i].offset_bits - desc[i].size_bits;
desc               77 drivers/infiniband/core/packer.c 			if (desc[i].struct_size_bytes)
desc               78 drivers/infiniband/core/packer.c 				val = value_read(desc[i].struct_offset_bytes,
desc               79 drivers/infiniband/core/packer.c 						 desc[i].struct_size_bytes,
desc               84 drivers/infiniband/core/packer.c 			mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift);
desc               85 drivers/infiniband/core/packer.c 			addr = (__be32 *) buf + desc[i].offset_words;
desc               87 drivers/infiniband/core/packer.c 		} else if (desc[i].size_bits <= 64) {
desc               93 drivers/infiniband/core/packer.c 			shift = 64 - desc[i].offset_bits - desc[i].size_bits;
desc               94 drivers/infiniband/core/packer.c 			if (desc[i].struct_size_bytes)
desc               95 drivers/infiniband/core/packer.c 				val = value_read(desc[i].struct_offset_bytes,
desc               96 drivers/infiniband/core/packer.c 						 desc[i].struct_size_bytes,
desc              101 drivers/infiniband/core/packer.c 			mask = cpu_to_be64((~0ull >> (64 - desc[i].size_bits)) << shift);
desc              102 drivers/infiniband/core/packer.c 			addr = (__be64 *) ((__be32 *) buf + desc[i].offset_words);
desc              105 drivers/infiniband/core/packer.c 			if (desc[i].offset_bits % 8 ||
desc              106 drivers/infiniband/core/packer.c 			    desc[i].size_bits   % 8) {
desc              108 drivers/infiniband/core/packer.c 					desc[i].field_name, desc[i].size_bits);
desc              111 drivers/infiniband/core/packer.c 			if (desc[i].struct_size_bytes)
desc              112 drivers/infiniband/core/packer.c 				memcpy(buf + desc[i].offset_words * 4 +
desc              113 drivers/infiniband/core/packer.c 				       desc[i].offset_bits / 8,
desc              114 drivers/infiniband/core/packer.c 				       structure + desc[i].struct_offset_bytes,
desc              115 drivers/infiniband/core/packer.c 				       desc[i].size_bits / 8);
desc              117 drivers/infiniband/core/packer.c 				memset(buf + desc[i].offset_words * 4 +
desc              118 drivers/infiniband/core/packer.c 				       desc[i].offset_bits / 8,
desc              120 drivers/infiniband/core/packer.c 				       desc[i].size_bits / 8);
desc              148 drivers/infiniband/core/packer.c void ib_unpack(const struct ib_field        *desc,
desc              156 drivers/infiniband/core/packer.c 		if (!desc[i].struct_size_bytes)
desc              159 drivers/infiniband/core/packer.c 		if (desc[i].size_bits <= 32) {
desc              165 drivers/infiniband/core/packer.c 			shift = 32 - desc[i].offset_bits - desc[i].size_bits;
desc              166 drivers/infiniband/core/packer.c 			mask = ((1ull << desc[i].size_bits) - 1) << shift;
desc              167 drivers/infiniband/core/packer.c 			addr = (__be32 *) buf + desc[i].offset_words;
desc              169 drivers/infiniband/core/packer.c 			value_write(desc[i].struct_offset_bytes,
desc              170 drivers/infiniband/core/packer.c 				    desc[i].struct_size_bytes,
desc              173 drivers/infiniband/core/packer.c 		} else if (desc[i].size_bits <= 64) {
desc              179 drivers/infiniband/core/packer.c 			shift = 64 - desc[i].offset_bits - desc[i].size_bits;
desc              180 drivers/infiniband/core/packer.c 			mask = (~0ull >> (64 - desc[i].size_bits)) << shift;
desc              181 drivers/infiniband/core/packer.c 			addr = (__be64 *) buf + desc[i].offset_words;
desc              183 drivers/infiniband/core/packer.c 			value_write(desc[i].struct_offset_bytes,
desc              184 drivers/infiniband/core/packer.c 				    desc[i].struct_size_bytes,
desc              188 drivers/infiniband/core/packer.c 			if (desc[i].offset_bits % 8 ||
desc              189 drivers/infiniband/core/packer.c 			    desc[i].size_bits   % 8) {
desc              191 drivers/infiniband/core/packer.c 					desc[i].field_name, desc[i].size_bits);
desc              194 drivers/infiniband/core/packer.c 			memcpy(structure + desc[i].struct_offset_bytes,
desc              195 drivers/infiniband/core/packer.c 			       buf + desc[i].offset_words * 4 +
desc              196 drivers/infiniband/core/packer.c 			       desc[i].offset_bits / 8,
desc              197 drivers/infiniband/core/packer.c 			       desc[i].size_bits / 8);
desc             1267 drivers/infiniband/core/sysfs.c 	struct ib_device_modify desc = {};
desc             1273 drivers/infiniband/core/sysfs.c 	memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX));
desc             1274 drivers/infiniband/core/sysfs.c 	ret = ib_modify_device(dev, IB_DEVICE_MODIFY_NODE_DESC, &desc);
desc              172 drivers/infiniband/core/uverbs.h 	}					desc;
desc              441 drivers/infiniband/core/uverbs_main.c 	entry->desc.comp.cq_handle = cq->uobject->user_handle;
desc              472 drivers/infiniband/core/uverbs_main.c 	entry->desc.async.element    = element;
desc              473 drivers/infiniband/core/uverbs_main.c 	entry->desc.async.event_type = event;
desc              474 drivers/infiniband/core/uverbs_main.c 	entry->desc.async.reserved   = 0;
desc             1100 drivers/infiniband/hw/hfi1/chip.c 	const char *desc;
desc             1111 drivers/infiniband/hw/hfi1/chip.c #define EE(reg, handler, desc) \
desc             1113 drivers/infiniband/hw/hfi1/chip.c 		handler, desc }
desc             1114 drivers/infiniband/hw/hfi1/chip.c #define DC_EE1(reg, handler, desc) \
desc             1115 drivers/infiniband/hw/hfi1/chip.c 	{ reg##_FLG, reg##_FLG_CLR, reg##_FLG_EN, handler, desc }
desc             1116 drivers/infiniband/hw/hfi1/chip.c #define DC_EE2(reg, handler, desc) \
desc             1117 drivers/infiniband/hw/hfi1/chip.c 	{ reg##_FLG, reg##_CLR, reg##_EN, handler, desc }
desc             5924 drivers/infiniband/hw/hfi1/chip.c 				   eri->desc, reg);
desc             2146 drivers/infiniband/hw/hfi1/sdma.c 	u64 desc[2];
desc             2166 drivers/infiniband/hw/hfi1/sdma.c 		desc[0] = le64_to_cpu(descqp->qw[0]);
desc             2167 drivers/infiniband/hw/hfi1/sdma.c 		desc[1] = le64_to_cpu(descqp->qw[1]);
desc             2168 drivers/infiniband/hw/hfi1/sdma.c 		flags[0] = (desc[1] & SDMA_DESC1_INT_REQ_FLAG) ? 'I' : '-';
desc             2169 drivers/infiniband/hw/hfi1/sdma.c 		flags[1] = (desc[1] & SDMA_DESC1_HEAD_TO_HOST_FLAG) ?
desc             2171 drivers/infiniband/hw/hfi1/sdma.c 		flags[2] = (desc[0] & SDMA_DESC0_FIRST_DESC_FLAG) ? 'F' : '-';
desc             2172 drivers/infiniband/hw/hfi1/sdma.c 		flags[3] = (desc[0] & SDMA_DESC0_LAST_DESC_FLAG) ? 'L' : '-';
desc             2173 drivers/infiniband/hw/hfi1/sdma.c 		addr = (desc[0] >> SDMA_DESC0_PHY_ADDR_SHIFT)
desc             2175 drivers/infiniband/hw/hfi1/sdma.c 		gen = (desc[1] >> SDMA_DESC1_GENERATION_SHIFT)
desc             2177 drivers/infiniband/hw/hfi1/sdma.c 		len = (desc[0] >> SDMA_DESC0_BYTE_COUNT_SHIFT)
desc             2184 drivers/infiniband/hw/hfi1/sdma.c 			   desc[0], desc[1]);
desc             2185 drivers/infiniband/hw/hfi1/sdma.c 		if (desc[0] & SDMA_DESC0_FIRST_DESC_FLAG)
desc             2188 drivers/infiniband/hw/hfi1/sdma.c 				   (u8)((desc[1] &
desc             2191 drivers/infiniband/hw/hfi1/sdma.c 				   (u8)((desc[1] &
desc             2194 drivers/infiniband/hw/hfi1/sdma.c 				   (u8)((desc[1] &
desc             2215 drivers/infiniband/hw/hfi1/sdma.c 	u64 desc[2];
desc             2249 drivers/infiniband/hw/hfi1/sdma.c 		desc[0] = le64_to_cpu(descqp->qw[0]);
desc             2250 drivers/infiniband/hw/hfi1/sdma.c 		desc[1] = le64_to_cpu(descqp->qw[1]);
desc             2251 drivers/infiniband/hw/hfi1/sdma.c 		flags[0] = (desc[1] & SDMA_DESC1_INT_REQ_FLAG) ? 'I' : '-';
desc             2252 drivers/infiniband/hw/hfi1/sdma.c 		flags[1] = (desc[1] & SDMA_DESC1_HEAD_TO_HOST_FLAG) ?
desc             2254 drivers/infiniband/hw/hfi1/sdma.c 		flags[2] = (desc[0] & SDMA_DESC0_FIRST_DESC_FLAG) ? 'F' : '-';
desc             2255 drivers/infiniband/hw/hfi1/sdma.c 		flags[3] = (desc[0] & SDMA_DESC0_LAST_DESC_FLAG) ? 'L' : '-';
desc             2256 drivers/infiniband/hw/hfi1/sdma.c 		addr = (desc[0] >> SDMA_DESC0_PHY_ADDR_SHIFT)
desc             2258 drivers/infiniband/hw/hfi1/sdma.c 		gen = (desc[1] >> SDMA_DESC1_GENERATION_SHIFT)
desc             2260 drivers/infiniband/hw/hfi1/sdma.c 		len = (desc[0] >> SDMA_DESC0_BYTE_COUNT_SHIFT)
desc             2265 drivers/infiniband/hw/hfi1/sdma.c 		if (desc[0] & SDMA_DESC0_FIRST_DESC_FLAG)
desc             2267 drivers/infiniband/hw/hfi1/sdma.c 				   (u8)((desc[1] &
desc             2270 drivers/infiniband/hw/hfi1/sdma.c 				   (u8)((desc[1] &
desc             3237 drivers/infiniband/hw/hfi1/sdma.c 	u32 i, shift = 0, desc = 0;
desc             3274 drivers/infiniband/hw/hfi1/sdma.c 			desc++;
desc             3275 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[desc].qw[!!(i & 2)] |=
desc              641 drivers/infiniband/hw/hfi1/sdma.h 	struct sdma_desc *desc = &tx->descp[tx->num_desc];
desc              645 drivers/infiniband/hw/hfi1/sdma.h 		desc->qw[1] |= ((u64)type & SDMA_DESC1_GENERATION_MASK)
desc              648 drivers/infiniband/hw/hfi1/sdma.h 		desc->qw[0] = 0;
desc              649 drivers/infiniband/hw/hfi1/sdma.h 		desc->qw[1] = ((u64)type & SDMA_DESC1_GENERATION_MASK)
desc              652 drivers/infiniband/hw/hfi1/sdma.h 	desc->qw[0] |= (((u64)addr & SDMA_DESC0_PHY_ADDR_MASK)
desc              838 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ring->desc = kzalloc(size, GFP_KERNEL);
desc              839 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (!ring->desc)
desc              842 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ring->desc_dma_addr = dma_map_single(hr_dev->dev, ring->desc, size,
desc              846 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		kfree(ring->desc);
desc              847 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		ring->desc = NULL;
desc              862 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	kfree(ring->desc);
desc              956 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_cmq_setup_basic_desc(struct hns_roce_cmq_desc *desc,
desc              960 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	memset((void *)desc, 0, sizeof(struct hns_roce_cmq_desc));
desc              961 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	desc->opcode = cpu_to_le16(opcode);
desc              962 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	desc->flag =
desc              965 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		desc->flag |= cpu_to_le16(HNS_ROCE_CMD_FLAG_WR);
desc              967 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		desc->flag &= cpu_to_le16(~HNS_ROCE_CMD_FLAG_WR);
desc              982 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc *desc;
desc              987 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	desc = &csq->desc[ntc];
desc              990 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		memset(desc, 0, sizeof(*desc));
desc              994 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		desc = &csq->desc[ntc];
desc             1003 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			       struct hns_roce_cmq_desc *desc, int num)
desc             1029 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		desc_to_use = &csq->desc[csq->next_to_use];
desc             1030 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		*desc_to_use = desc[handle];
desc             1045 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (le16_to_cpu(desc->flag) & HNS_ROCE_CMD_FLAG_NO_INTR) {
desc             1059 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc_to_use = &csq->desc[ntc];
desc             1060 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[handle] = *desc_to_use;
desc             1062 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc_ret = le16_to_cpu(desc[handle].retval);
desc             1090 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			     struct hns_roce_cmq_desc *desc, int num)
desc             1101 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = __hns_roce_cmq_send(hr_dev, desc, num);
desc             1116 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1119 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_QUERY_HW_VER, true);
desc             1120 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1124 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	resp = (struct hns_roce_query_version *)desc.data;
desc             1220 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1227 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_FUNC_CLEAR, false);
desc             1228 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	resp = (struct hns_roce_func_clear *)desc.data;
desc             1230 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1246 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_FUNC_CLEAR,
desc             1249 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1267 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1270 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_QUERY_FW_VER, true);
desc             1271 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1275 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	resp = (struct hns_roce_query_fw_info *)desc.data;
desc             1284 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1286 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_CFG_GLOBAL_PARAM,
desc             1289 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req = (struct hns_roce_cfg_global_param *)desc.data;
desc             1298 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1303 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc[2];
desc             1310 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc[i],
desc             1314 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag |= cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1316 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag &= ~cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1319 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, desc, 2);
desc             1323 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req_a = (struct hns_roce_pf_res_a *)desc[0].data;
desc             1324 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req_b = (struct hns_roce_pf_res_b *)desc[1].data;
desc             1352 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc[2];
desc             1356 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc[i],
desc             1361 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag |= cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1363 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag &= ~cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1366 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, desc, 2);
desc             1370 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req_a = (struct hns_roce_pf_timer_res_a *)desc[0].data;
desc             1387 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1391 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	swt = (struct hns_roce_vf_switch *)desc.data;
desc             1392 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_SWITCH_PARAMETER_CFG, true);
desc             1398 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1401 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	desc.flag =
desc             1403 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	desc.flag &= cpu_to_le16(~HNS_ROCE_CMD_FLAG_WR);
desc             1408 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1413 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc[2];
desc             1418 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req_a = (struct hns_roce_vf_res_a *)desc[0].data;
desc             1419 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req_b = (struct hns_roce_vf_res_b *)desc[1].data;
desc             1423 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc[i],
desc             1427 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag |= cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1429 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag &= ~cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1506 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, desc, 2);
desc             1517 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             1519 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_CFG_BT_ATTR, false);
desc             1520 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	req = (struct hns_roce_cfg_bt_attr *)desc.data;
desc             1577 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1780 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc[2];
desc             1782 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				(struct hns_roce_cfg_llm_a *)desc[0].data;
desc             1784 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				(struct hns_roce_cfg_llm_b *)desc[1].data;
desc             1811 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc[i], opcode, false);
desc             1814 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag |= cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1816 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			desc[i].flag &= ~cpu_to_le16(HNS_ROCE_CMD_FLAG_NEXT);
desc             1856 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, desc, 2);
desc             2035 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             2037 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				       (struct hns_roce_mbox_status *)desc.data;
desc             2040 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_QUERY_MB_ST, true);
desc             2042 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	status = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             2067 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             2068 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_post_mbox *mb = (struct hns_roce_post_mbox *)desc.data;
desc             2070 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_POST_MB, false);
desc             2079 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             2140 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             2142 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				    (struct hns_roce_cfg_sgid_tb *)desc.data;
desc             2145 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_CFG_SGID_TB, false);
desc             2166 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             2199 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             2201 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				    (struct hns_roce_cfg_smac_tb *)desc.data;
desc             2205 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_CFG_SMAC_TB, false);
desc             2219 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	return hns_roce_cmq_send(hr_dev, &desc, 1);
desc             4745 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	struct hns_roce_cmq_desc desc;
desc             4751 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_RESET_SCCC, false);
desc             4752 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret =  hns_roce_cmq_send(hr_dev, &desc, 1);
desc             4759 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_CLR_SCCC, false);
desc             4760 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	clr = (struct hns_roce_sccc_clr *)desc.data;
desc             4762 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret =  hns_roce_cmq_send(hr_dev, &desc, 1);
desc             4769 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	resp = (struct hns_roce_sccc_clr_done *)desc.data;
desc             4771 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hns_roce_cmq_setup_basic_desc(&desc,
desc             4773 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		ret = hns_roce_cmq_send(hr_dev, &desc, 1);
desc             1587 drivers/infiniband/hw/hns/hns_roce_hw_v2.h 	struct hns_roce_cmq_desc *desc;
desc              176 drivers/infiniband/hw/i40iw/i40iw_osdep.h enum i40iw_status_code i40iw_ieq_check_mpacrc(struct shash_desc *desc, void *addr,
desc               47 drivers/infiniband/hw/i40iw/i40iw_p.h 		     char *desc, u64 *buf, u32 size);
desc              176 drivers/infiniband/hw/i40iw/i40iw_puda.h enum i40iw_status_code i40iw_ieq_check_mpacrc(struct shash_desc *desc,
desc              178 drivers/infiniband/hw/i40iw/i40iw_puda.h enum i40iw_status_code i40iw_init_hash_desc(struct shash_desc **desc);
desc              180 drivers/infiniband/hw/i40iw/i40iw_puda.h void i40iw_free_hash_desc(struct shash_desc *desc);
desc              701 drivers/infiniband/hw/i40iw/i40iw_utils.c 		     char *desc,
desc              709 drivers/infiniband/hw/i40iw/i40iw_utils.c 	i40iw_debug(dev, mask, "%s\n", desc);
desc             1313 drivers/infiniband/hw/i40iw/i40iw_utils.c enum i40iw_status_code i40iw_init_hash_desc(struct shash_desc **desc)
desc             1329 drivers/infiniband/hw/i40iw/i40iw_utils.c 	*desc = tdesc;
desc             1338 drivers/infiniband/hw/i40iw/i40iw_utils.c void i40iw_free_hash_desc(struct shash_desc *desc)
desc             1340 drivers/infiniband/hw/i40iw/i40iw_utils.c 	if (desc) {
desc             1341 drivers/infiniband/hw/i40iw/i40iw_utils.c 		crypto_free_shash(desc->tfm);
desc             1342 drivers/infiniband/hw/i40iw/i40iw_utils.c 		kfree(desc);
desc             1370 drivers/infiniband/hw/i40iw/i40iw_utils.c enum i40iw_status_code i40iw_ieq_check_mpacrc(struct shash_desc *desc,
desc             1379 drivers/infiniband/hw/i40iw/i40iw_utils.c 	crypto_shash_init(desc);
desc             1380 drivers/infiniband/hw/i40iw/i40iw_utils.c 	ret = crypto_shash_update(desc, addr, length);
desc             1382 drivers/infiniband/hw/i40iw/i40iw_utils.c 		crypto_shash_final(desc, (u8 *)&crc);
desc              811 drivers/infiniband/hw/mlx5/main.c 	u8	desc[IB_DEVICE_NODE_DESC_MAX];
desc             6077 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_flow_counters_desc *desc;
desc             6102 drivers/infiniband/hw/mlx5/main.c 	desc = mcounters->counters_data;
desc             6104 drivers/infiniband/hw/mlx5/main.c 		read_attr->counters_buff[desc[i].index] += mread_attr.out[desc[i].description];
desc              232 drivers/infiniband/hw/qib/qib_sdma.c 	u64 desc[2];
desc              236 drivers/infiniband/hw/qib/qib_sdma.c 	desc[0] = le64_to_cpu(descqp[0]);
desc              237 drivers/infiniband/hw/qib/qib_sdma.c 	desc[1] = le64_to_cpu(descqp[1]);
desc              239 drivers/infiniband/hw/qib/qib_sdma.c 	addr = (desc[1] << 32) | (desc[0] >> 32);
desc              240 drivers/infiniband/hw/qib/qib_sdma.c 	len = (desc[0] >> 14) & (0x7ffULL << 2);
desc              685 drivers/infiniband/hw/qib/qib_sdma.c 	u64 desc[2];
desc              707 drivers/infiniband/hw/qib/qib_sdma.c 		desc[0] = le64_to_cpu(descqp[0]);
desc              708 drivers/infiniband/hw/qib/qib_sdma.c 		desc[1] = le64_to_cpu(descqp[1]);
desc              709 drivers/infiniband/hw/qib/qib_sdma.c 		flags[0] = (desc[0] & 1<<15) ? 'I' : '-';
desc              710 drivers/infiniband/hw/qib/qib_sdma.c 		flags[1] = (desc[0] & 1<<14) ? 'L' : 'S';
desc              711 drivers/infiniband/hw/qib/qib_sdma.c 		flags[2] = (desc[0] & 1<<13) ? 'H' : '-';
desc              712 drivers/infiniband/hw/qib/qib_sdma.c 		flags[3] = (desc[0] & 1<<12) ? 'F' : '-';
desc              713 drivers/infiniband/hw/qib/qib_sdma.c 		flags[4] = (desc[0] & 1<<11) ? 'L' : '-';
desc              714 drivers/infiniband/hw/qib/qib_sdma.c 		addr = (desc[1] << 32) | ((desc[0] >> 32) & 0xfffffffcULL);
desc              715 drivers/infiniband/hw/qib/qib_sdma.c 		gen = (desc[0] >> 30) & 3ULL;
desc              716 drivers/infiniband/hw/qib/qib_sdma.c 		dwlen = (desc[0] >> 14) & (0x7ffULL << 2);
desc              717 drivers/infiniband/hw/qib/qib_sdma.c 		dwoffset = (desc[0] & 0x7ffULL) << 2;
desc               51 drivers/infiniband/hw/usnic/usnic_vnic.c #define DEFINE_USNIC_VNIC_RES_AT(usnic_vnic_res_t, vnic_res_type, desc, val) \
desc               53 drivers/infiniband/hw/usnic/usnic_vnic.c #define DEFINE_USNIC_VNIC_RES(usnic_vnic_res_t, vnic_res_type, desc) \
desc               68 drivers/infiniband/hw/usnic/usnic_vnic.c #define DEFINE_USNIC_VNIC_RES_AT(usnic_vnic_res_t, vnic_res_type, desc, val) \
desc               69 drivers/infiniband/hw/usnic/usnic_vnic.c 		desc,
desc               70 drivers/infiniband/hw/usnic/usnic_vnic.c #define DEFINE_USNIC_VNIC_RES(usnic_vnic_res_t, vnic_res_type, desc) \
desc               71 drivers/infiniband/hw/usnic/usnic_vnic.c 		desc,
desc               50 drivers/infiniband/hw/usnic/usnic_vnic.h #define DEFINE_USNIC_VNIC_RES_AT(usnic_vnic_res_t, vnic_res_type, desc, val) \
desc               52 drivers/infiniband/hw/usnic/usnic_vnic.h #define DEFINE_USNIC_VNIC_RES(usnic_vnic_res_t, vnic_res_type, desc) \
desc              165 drivers/infiniband/ulp/iser/iscsi_iser.c 	task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header;
desc              166 drivers/infiniband/ulp/iser/iscsi_iser.c 	task->hdr_max = sizeof(iser_task->desc.iscsi_header);
desc              239 drivers/infiniband/ulp/iser/iscsi_iser.c 	ret = iser_initialize_task_headers(task, &iser_task->desc);
desc              370 drivers/infiniband/ulp/iser/iscsi_iser.c 	struct iser_tx_desc *tx_desc = &iser_task->desc;
desc              341 drivers/infiniband/ulp/iser/iscsi_iser.h 				       struct iser_fr_desc *desc);
desc              510 drivers/infiniband/ulp/iser/iscsi_iser.h 	struct iser_tx_desc          desc;
desc              642 drivers/infiniband/ulp/iser/iscsi_iser.h 		     struct iser_fr_desc *desc);
desc              647 drivers/infiniband/ulp/iser/iscsi_iser.h 		      struct iser_fr_desc *desc);
desc               54 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_ctrl *hdr = &iser_task->desc.iser_header;
desc              107 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_ctrl *hdr = &iser_task->desc.iser_header;
desc              109 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_sge *tx_dsg = &iser_task->desc.tx_sg[1];
desc              156 drivers/infiniband/ulp/iser/iser_initiator.c 		iser_task->desc.num_sge = 2;
desc              179 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_login_desc *desc = &iser_conn->login_desc;
desc              181 drivers/infiniband/ulp/iser/iser_initiator.c 	if (!desc->req)
desc              184 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_unmap_single(device->ib_device, desc->req_dma,
desc              187 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_unmap_single(device->ib_device, desc->rsp_dma,
desc              190 drivers/infiniband/ulp/iser/iser_initiator.c 	kfree(desc->req);
desc              191 drivers/infiniband/ulp/iser/iser_initiator.c 	kfree(desc->rsp);
desc              194 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->req = NULL;
desc              195 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->rsp = NULL;
desc              201 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_login_desc *desc = &iser_conn->login_desc;
desc              203 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->req = kmalloc(ISCSI_DEF_MAX_RECV_SEG_LEN, GFP_KERNEL);
desc              204 drivers/infiniband/ulp/iser/iser_initiator.c 	if (!desc->req)
desc              207 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->req_dma = ib_dma_map_single(device->ib_device, desc->req,
desc              211 drivers/infiniband/ulp/iser/iser_initiator.c 				desc->req_dma))
desc              214 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->rsp = kmalloc(ISER_RX_LOGIN_SIZE, GFP_KERNEL);
desc              215 drivers/infiniband/ulp/iser/iser_initiator.c 	if (!desc->rsp)
desc              218 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->rsp_dma = ib_dma_map_single(device->ib_device, desc->rsp,
desc              222 drivers/infiniband/ulp/iser/iser_initiator.c 				desc->rsp_dma))
desc              228 drivers/infiniband/ulp/iser/iser_initiator.c 	kfree(desc->rsp);
desc              230 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_unmap_single(device->ib_device, desc->req_dma,
desc              234 drivers/infiniband/ulp/iser/iser_initiator.c 	kfree(desc->req);
desc              372 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_tx_desc *tx_desc = &iser_task->desc;
desc              501 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_tx_desc *mdesc = &iser_task->desc;
desc              516 drivers/infiniband/ulp/iser/iser_initiator.c 		struct iser_login_desc *desc = &iser_conn->login_desc;
desc              524 drivers/infiniband/ulp/iser/iser_initiator.c 		ib_dma_sync_single_for_cpu(device->ib_device, desc->req_dma,
desc              527 drivers/infiniband/ulp/iser/iser_initiator.c 		memcpy(desc->req, task->data, task->data_count);
desc              529 drivers/infiniband/ulp/iser/iser_initiator.c 		ib_dma_sync_single_for_device(device->ib_device, desc->req_dma,
desc              532 drivers/infiniband/ulp/iser/iser_initiator.c 		tx_dsg->addr = desc->req_dma;
desc              562 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_login_desc *desc = iser_login(wc->wr_cqe);
desc              573 drivers/infiniband/ulp/iser/iser_initiator.c 				   desc->rsp_dma, ISER_RX_LOGIN_SIZE,
desc              576 drivers/infiniband/ulp/iser/iser_initiator.c 	hdr = desc->rsp + sizeof(struct iser_ctrl);
desc              577 drivers/infiniband/ulp/iser/iser_initiator.c 	data = desc->rsp + ISER_HEADERS_LEN;
desc              586 drivers/infiniband/ulp/iser/iser_initiator.c 				      desc->rsp_dma, ISER_RX_LOGIN_SIZE,
desc              593 drivers/infiniband/ulp/iser/iser_initiator.c iser_inv_desc(struct iser_fr_desc *desc, u32 rkey)
desc              595 drivers/infiniband/ulp/iser/iser_initiator.c 	if (unlikely((!desc->sig_protected && rkey != desc->rsc.mr->rkey) ||
desc              596 drivers/infiniband/ulp/iser/iser_initiator.c 		     (desc->sig_protected && rkey != desc->rsc.sig_mr->rkey))) {
desc              601 drivers/infiniband/ulp/iser/iser_initiator.c 	desc->rsc.mr_valid = 0;
desc              627 drivers/infiniband/ulp/iser/iser_initiator.c 			struct iser_fr_desc *desc;
desc              630 drivers/infiniband/ulp/iser/iser_initiator.c 				desc = iser_task->rdma_reg[ISER_DIR_IN].mem_h;
desc              631 drivers/infiniband/ulp/iser/iser_initiator.c 				if (unlikely(iser_inv_desc(desc, rkey)))
desc              636 drivers/infiniband/ulp/iser/iser_initiator.c 				desc = iser_task->rdma_reg[ISER_DIR_OUT].mem_h;
desc              637 drivers/infiniband/ulp/iser/iser_initiator.c 				if (unlikely(iser_inv_desc(desc, rkey)))
desc              654 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_rx_desc *desc = iser_rx(wc->wr_cqe);
desc              665 drivers/infiniband/ulp/iser/iser_initiator.c 				   desc->dma_addr, ISER_RX_PAYLOAD_SIZE,
desc              668 drivers/infiniband/ulp/iser/iser_initiator.c 	hdr = &desc->iscsi_header;
desc              680 drivers/infiniband/ulp/iser/iser_initiator.c 	iscsi_iser_recv(iser_conn->iscsi_conn, hdr, desc->data, length);
desc              683 drivers/infiniband/ulp/iser/iser_initiator.c 				      desc->dma_addr, ISER_RX_PAYLOAD_SIZE,
desc              710 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_tx_desc *desc = iser_tx(wc->wr_cqe);
desc              719 drivers/infiniband/ulp/iser/iser_initiator.c 	task = (void *)desc - sizeof(struct iscsi_task);
desc              726 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_tx_desc *desc = iser_tx(wc->wr_cqe);
desc              733 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_unmap_single(device->ib_device, desc->dma_addr,
desc              735 drivers/infiniband/ulp/iser/iser_initiator.c 	kmem_cache_free(ig.desc_cache, desc);
desc              100 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_fr_desc *desc;
desc              104 drivers/infiniband/ulp/iser/iser_memory.c 	desc = list_first_entry(&fr_pool->list,
desc              106 drivers/infiniband/ulp/iser/iser_memory.c 	list_del(&desc->list);
desc              109 drivers/infiniband/ulp/iser/iser_memory.c 	return desc;
desc              114 drivers/infiniband/ulp/iser/iser_memory.c 		     struct iser_fr_desc *desc)
desc              120 drivers/infiniband/ulp/iser/iser_memory.c 	list_add(&desc->list, &fr_pool->list);
desc              135 drivers/infiniband/ulp/iser/iser_memory.c 		      struct iser_fr_desc *desc)
desc              386 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_tx_desc *tx_desc = &iser_task->desc;
desc              443 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_tx_desc *tx_desc = &iser_task->desc;
desc              488 drivers/infiniband/ulp/iser/iser_memory.c 		 struct iser_fr_desc *desc,
desc              497 drivers/infiniband/ulp/iser/iser_memory.c 	return device->reg_ops->reg_mem(task, mem, &desc->rsc, reg);
desc              508 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_fr_desc *desc = NULL;
desc              516 drivers/infiniband/ulp/iser/iser_memory.c 		desc = device->reg_ops->reg_desc_get(ib_conn);
desc              517 drivers/infiniband/ulp/iser/iser_memory.c 		reg->mem_h = desc;
desc              521 drivers/infiniband/ulp/iser/iser_memory.c 		err = iser_reg_data_sg(task, mem, desc, use_dma_key, reg);
desc              526 drivers/infiniband/ulp/iser/iser_memory.c 				      &desc->rsc, reg);
desc              530 drivers/infiniband/ulp/iser/iser_memory.c 		desc->sig_protected = 1;
desc              536 drivers/infiniband/ulp/iser/iser_memory.c 	if (desc)
desc              537 drivers/infiniband/ulp/iser/iser_memory.c 		device->reg_ops->reg_desc_put(ib_conn, desc);
desc              162 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc;
desc              170 drivers/infiniband/ulp/iser/iser_verbs.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              171 drivers/infiniband/ulp/iser/iser_verbs.c 	if (!desc)
desc              202 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->rsc.page_vec = page_vec;
desc              203 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->rsc.fmr_pool = fmr_pool;
desc              204 drivers/infiniband/ulp/iser/iser_verbs.c 	list_add(&desc->list, &fr_pool->list);
desc              211 drivers/infiniband/ulp/iser/iser_verbs.c 	kfree(desc);
desc              222 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc;
desc              224 drivers/infiniband/ulp/iser/iser_verbs.c 	desc = list_first_entry(&fr_pool->list,
desc              226 drivers/infiniband/ulp/iser/iser_verbs.c 	list_del(&desc->list);
desc              229 drivers/infiniband/ulp/iser/iser_verbs.c 		  ib_conn, desc->rsc.fmr_pool);
desc              231 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_destroy_fmr_pool(desc->rsc.fmr_pool);
desc              232 drivers/infiniband/ulp/iser/iser_verbs.c 	kfree(desc->rsc.page_vec);
desc              233 drivers/infiniband/ulp/iser/iser_verbs.c 	kfree(desc);
desc              242 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc;
desc              247 drivers/infiniband/ulp/iser/iser_verbs.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              248 drivers/infiniband/ulp/iser/iser_verbs.c 	if (!desc)
desc              256 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->rsc.mr = ib_alloc_mr(pd, mr_type, size);
desc              257 drivers/infiniband/ulp/iser/iser_verbs.c 	if (IS_ERR(desc->rsc.mr)) {
desc              258 drivers/infiniband/ulp/iser/iser_verbs.c 		ret = PTR_ERR(desc->rsc.mr);
desc              264 drivers/infiniband/ulp/iser/iser_verbs.c 		desc->rsc.sig_mr = ib_alloc_mr_integrity(pd, size, size);
desc              265 drivers/infiniband/ulp/iser/iser_verbs.c 		if (IS_ERR(desc->rsc.sig_mr)) {
desc              266 drivers/infiniband/ulp/iser/iser_verbs.c 			ret = PTR_ERR(desc->rsc.sig_mr);
desc              271 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->rsc.mr_valid = 0;
desc              273 drivers/infiniband/ulp/iser/iser_verbs.c 	return desc;
desc              276 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_dereg_mr(desc->rsc.mr);
desc              278 drivers/infiniband/ulp/iser/iser_verbs.c 	kfree(desc);
desc              283 drivers/infiniband/ulp/iser/iser_verbs.c static void iser_destroy_fastreg_desc(struct iser_fr_desc *desc)
desc              285 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_reg_resources *res = &desc->rsc;
desc              292 drivers/infiniband/ulp/iser/iser_verbs.c 	kfree(desc);
desc              306 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc;
desc              314 drivers/infiniband/ulp/iser/iser_verbs.c 		desc = iser_create_fastreg_desc(device, device->pd,
desc              316 drivers/infiniband/ulp/iser/iser_verbs.c 		if (IS_ERR(desc)) {
desc              317 drivers/infiniband/ulp/iser/iser_verbs.c 			ret = PTR_ERR(desc);
desc              321 drivers/infiniband/ulp/iser/iser_verbs.c 		list_add_tail(&desc->list, &fr_pool->list);
desc              322 drivers/infiniband/ulp/iser/iser_verbs.c 		list_add_tail(&desc->all_list, &fr_pool->all_list);
desc              339 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc, *tmp;
desc              347 drivers/infiniband/ulp/iser/iser_verbs.c 	list_for_each_entry_safe(desc, tmp, &fr_pool->all_list, all_list) {
desc              348 drivers/infiniband/ulp/iser/iser_verbs.c 		list_del(&desc->all_list);
desc              349 drivers/infiniband/ulp/iser/iser_verbs.c 		iser_destroy_fastreg_desc(desc);
desc              975 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_login_desc *desc = &iser_conn->login_desc;
desc              979 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->sge.addr = desc->rsp_dma;
desc              980 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->sge.length = ISER_RX_LOGIN_SIZE;
desc              981 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->sge.lkey = ib_conn->device->pd->local_dma_lkey;
desc              983 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->cqe.done = iser_login_rsp;
desc              984 drivers/infiniband/ulp/iser/iser_verbs.c 	wr.wr_cqe = &desc->cqe;
desc              985 drivers/infiniband/ulp/iser/iser_verbs.c 	wr.sg_list = &desc->sge;
desc             1074 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_desc *desc = reg->mem_h;
desc             1079 drivers/infiniband/ulp/iser/iser_verbs.c 	if (desc && desc->sig_protected) {
desc             1080 drivers/infiniband/ulp/iser/iser_verbs.c 		desc->sig_protected = 0;
desc             1081 drivers/infiniband/ulp/iser/iser_verbs.c 		ret = ib_check_mr_status(desc->rsc.sig_mr,
desc             1657 drivers/infiniband/ulp/isert/ib_isert.c 	struct iser_tx_desc *desc = cqe_to_tx_desc(wc->wr_cqe);
desc             1658 drivers/infiniband/ulp/isert/ib_isert.c 	struct isert_cmd *isert_cmd = tx_desc_to_cmd(desc);
desc             1666 drivers/infiniband/ulp/isert/ib_isert.c 		isert_completion_put(desc, isert_cmd, device->ib_device, true);
desc             1699 drivers/infiniband/ulp/isert/ib_isert.c 	struct iser_tx_desc *desc = cqe_to_tx_desc(wc->wr_cqe);
desc             1700 drivers/infiniband/ulp/isert/ib_isert.c 	struct isert_cmd *isert_cmd = tx_desc_to_cmd(desc);
desc             1709 drivers/infiniband/ulp/isert/ib_isert.c 		isert_completion_put(desc, isert_cmd, device->ib_device, true);
desc              132 drivers/infiniband/ulp/isert/ib_isert.h static inline struct isert_cmd *tx_desc_to_cmd(struct iser_tx_desc *desc)
desc              134 drivers/infiniband/ulp/isert/ib_isert.h 	return container_of(desc, struct isert_cmd, tx_desc);
desc              421 drivers/infiniband/ulp/srp/ib_srp.c 	for (i = 0, d = &pool->desc[0]; i < pool->size; i++, d++) {
desc              448 drivers/infiniband/ulp/srp/ib_srp.c 	pool = kzalloc(struct_size(pool, desc, pool_size), GFP_KERNEL);
desc              461 drivers/infiniband/ulp/srp/ib_srp.c 	for (i = 0, d = &pool->desc[0]; i < pool->size; i++, d++) {
desc              513 drivers/infiniband/ulp/srp/ib_srp.c static void srp_fr_pool_put(struct srp_fr_pool *pool, struct srp_fr_desc **desc,
desc              521 drivers/infiniband/ulp/srp/ib_srp.c 		list_add(&desc[i]->entry, &pool->free_list);
desc             1452 drivers/infiniband/ulp/srp/ib_srp.c 	struct srp_direct_buf *desc = state->desc;
desc             1456 drivers/infiniband/ulp/srp/ib_srp.c 	desc->va = cpu_to_be64(dma_addr);
desc             1457 drivers/infiniband/ulp/srp/ib_srp.c 	desc->key = cpu_to_be32(rkey);
desc             1458 drivers/infiniband/ulp/srp/ib_srp.c 	desc->len = cpu_to_be32(dma_len);
desc             1461 drivers/infiniband/ulp/srp/ib_srp.c 	state->desc++;
desc             1528 drivers/infiniband/ulp/srp/ib_srp.c 	struct srp_fr_desc *desc;
desc             1552 drivers/infiniband/ulp/srp/ib_srp.c 	desc = srp_fr_pool_get(ch->fr_pool);
desc             1553 drivers/infiniband/ulp/srp/ib_srp.c 	if (!desc)
desc             1556 drivers/infiniband/ulp/srp/ib_srp.c 	rkey = ib_inc_rkey(desc->mr->rkey);
desc             1557 drivers/infiniband/ulp/srp/ib_srp.c 	ib_update_fast_reg_key(desc->mr, rkey);
desc             1559 drivers/infiniband/ulp/srp/ib_srp.c 	n = ib_map_mr_sg(desc->mr, state->sg, sg_nents, sg_offset_p,
desc             1562 drivers/infiniband/ulp/srp/ib_srp.c 		srp_fr_pool_put(ch->fr_pool, &desc, 1);
desc             1569 drivers/infiniband/ulp/srp/ib_srp.c 	WARN_ON_ONCE(desc->mr->length == 0);
desc             1578 drivers/infiniband/ulp/srp/ib_srp.c 	wr.mr = desc->mr;
desc             1579 drivers/infiniband/ulp/srp/ib_srp.c 	wr.key = desc->mr->rkey;
desc             1584 drivers/infiniband/ulp/srp/ib_srp.c 	*state->fr.next++ = desc;
desc             1587 drivers/infiniband/ulp/srp/ib_srp.c 	srp_map_desc(state, desc->mr->iova,
desc             1588 drivers/infiniband/ulp/srp/ib_srp.c 		     desc->mr->length, desc->mr->rkey);
desc             1734 drivers/infiniband/ulp/srp/ib_srp.c 	state.desc = &idb_desc;
desc             1894 drivers/infiniband/ulp/srp/ib_srp.c 	state.desc = req->indirect_desc;
desc              308 drivers/infiniband/ulp/srp/ib_srp.h 	struct srp_fr_desc	desc[0];
desc              340 drivers/infiniband/ulp/srp/ib_srp.h 	struct srp_direct_buf  *desc;
desc              200 drivers/input/joystick/iforce/iforce-usb.c 	if (interface->desc.bNumEndpoints < 2)
desc              203 drivers/input/joystick/iforce/iforce-usb.c 	epirq = &interface->endpoint[0].desc;
desc              207 drivers/input/joystick/iforce/iforce-usb.c 	epout = &interface->endpoint[1].desc;
desc             1720 drivers/input/joystick/xpad.c 	if (intf->cur_altsetting->desc.bNumEndpoints != 2)
desc             1757 drivers/input/joystick/xpad.c 		if (intf->cur_altsetting->desc.bInterfaceClass == USB_CLASS_VENDOR_SPEC) {
desc             1758 drivers/input/joystick/xpad.c 			if (intf->cur_altsetting->desc.bInterfaceProtocol == 129)
desc             1760 drivers/input/joystick/xpad.c 			else if (intf->cur_altsetting->desc.bInterfaceProtocol == 208)
desc             1777 drivers/input/joystick/xpad.c 	    intf->cur_altsetting->desc.bInterfaceNumber != 0) {
desc             1791 drivers/input/joystick/xpad.c 				&intf->cur_altsetting->endpoint[i].desc;
desc               22 drivers/input/keyboard/clps711x-keypad.c 	struct gpio_desc *desc;
desc               53 drivers/input/keyboard/clps711x-keypad.c 				state = gpiod_get_value_cansleep(data->desc);
desc               55 drivers/input/keyboard/clps711x-keypad.c 				state1 = gpiod_get_value_cansleep(data->desc);
desc              119 drivers/input/keyboard/clps711x-keypad.c 		data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN);
desc              120 drivers/input/keyboard/clps711x-keypad.c 		if (IS_ERR(data->desc))
desc              121 drivers/input/keyboard/clps711x-keypad.c 			return PTR_ERR(data->desc);
desc              484 drivers/input/keyboard/gpio_keys.c 	const char *desc = button->desc ? button->desc : "gpio_keys";
desc              500 drivers/input/keyboard/gpio_keys.c 								desc);
desc              526 drivers/input/keyboard/gpio_keys.c 		error = devm_gpio_request_one(dev, button->gpio, flags, desc);
desc              635 drivers/input/keyboard/gpio_keys.c 					     desc, bdata);
desc              731 drivers/input/keyboard/gpio_keys.c 		fwnode_property_read_string(child, "label", &button->desc);
desc              178 drivers/input/keyboard/gpio_keys_polled.c 		fwnode_property_read_string(child, "label", &button->desc);
desc              306 drivers/input/keyboard/gpio_keys_polled.c 								button->desc);
desc              327 drivers/input/keyboard/gpio_keys_polled.c 					flags, button->desc ? : DRV_NAME);
desc              806 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              816 drivers/input/misc/ati_remote2.c 	if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) {
desc              823 drivers/input/misc/ati_remote2.c 	ar2->ep[0] = &alt->endpoint[0].desc;
desc              827 drivers/input/misc/ati_remote2.c 	if ((udev->actconfig->desc.bNumInterfaces < 2) || !ar2->intf[1]) {
desc              829 drivers/input/misc/ati_remote2.c 			__func__, udev->actconfig->desc.bNumInterfaces);
desc              840 drivers/input/misc/ati_remote2.c 	if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) {
desc              846 drivers/input/misc/ati_remote2.c 	ar2->ep[1] = &alt->endpoint[0].desc;
desc              895 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              918 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              943 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              969 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              999 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc             1020 drivers/input/misc/ati_remote2.c 	if (alt->desc.bInterfaceNumber)
desc              701 drivers/input/misc/cm109.c 	if (interface->desc.bNumEndpoints < 1)
desc              704 drivers/input/misc/cm109.c 	endpoint = &interface->endpoint[0].desc;
desc              767 drivers/input/misc/cm109.c 	dev->ctl_req->wIndex = cpu_to_le16(interface->desc.bInterfaceNumber);
desc               19 drivers/input/misc/gpio-beeper.c 	struct gpio_desc	*desc;
desc               25 drivers/input/misc/gpio-beeper.c 	gpiod_set_value_cansleep(beep->desc, on);
desc               70 drivers/input/misc/gpio-beeper.c 	beep->desc = devm_gpiod_get(&pdev->dev, NULL, GPIOD_OUT_LOW);
desc               71 drivers/input/misc/gpio-beeper.c 	if (IS_ERR(beep->desc))
desc               72 drivers/input/misc/gpio-beeper.c 		return PTR_ERR(beep->desc);
desc               41 drivers/input/misc/gpio_decoder.c 		val = gpiod_get_value_cansleep(gpios->desc[i]);
desc               45 drivers/input/misc/gpio_decoder.c 				desc_to_gpio(gpios->desc[i]), val);
desc             1669 drivers/input/misc/ims-pcu.c 	if (alt->desc.bNumEndpoints < 1)
desc             1672 drivers/input/misc/ims-pcu.c 	pcu->ep_ctrl = &alt->endpoint[0].desc;
desc             1681 drivers/input/misc/ims-pcu.c 	if (alt->desc.bNumEndpoints != 2) {
desc             1684 drivers/input/misc/ims-pcu.c 			alt->desc.bNumEndpoints);
desc             1688 drivers/input/misc/ims-pcu.c 	pcu->ep_out = &alt->endpoint[0].desc;
desc             1703 drivers/input/misc/ims-pcu.c 	pcu->ep_in = &alt->endpoint[1].desc;
desc             1764 drivers/input/misc/ims-pcu.c 				0, interface->desc.bInterfaceNumber,
desc             1776 drivers/input/misc/ims-pcu.c 				0x03, interface->desc.bInterfaceNumber,
desc             2071 drivers/input/misc/ims-pcu.c 	if (alt->desc.bInterfaceClass != USB_CLASS_COMM)
desc             2094 drivers/input/misc/ims-pcu.c 	if (alt->desc.bInterfaceClass == USB_CLASS_COMM)
desc             2106 drivers/input/misc/ims-pcu.c 	if (alt->desc.bInterfaceClass == USB_CLASS_COMM) {
desc              429 drivers/input/misc/keyspan_remote.c 	for (i = 0; i < iface->desc.bNumEndpoints; ++i) {
desc              430 drivers/input/misc/keyspan_remote.c 		endpoint = &iface->endpoint[i].desc;
desc              311 drivers/input/misc/powermate.c 	if (interface->desc.bNumEndpoints < 1)
desc              314 drivers/input/misc/powermate.c 	endpoint = &interface->endpoint[0].desc;
desc              320 drivers/input/misc/powermate.c 		0, interface->desc.bInterfaceNumber, NULL, 0,
desc               62 drivers/input/misc/rotary_encoder.c 		int val = gpiod_get_value_cansleep(encoder->gpios->desc[i]);
desc              292 drivers/input/misc/rotary_encoder.c 		encoder->irq[i] = gpiod_to_irq(encoder->gpios->desc[i]);
desc               49 drivers/input/misc/soc_button_array.c 	struct gpio_desc *desc;
desc               52 drivers/input/misc/soc_button_array.c 	desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS);
desc               53 drivers/input/misc/soc_button_array.c 	if (IS_ERR(desc))
desc               54 drivers/input/misc/soc_button_array.c 		return PTR_ERR(desc);
desc               56 drivers/input/misc/soc_button_array.c 	gpio = desc_to_gpio(desc);
desc               58 drivers/input/misc/soc_button_array.c 	gpiod_put(desc);
desc              114 drivers/input/misc/soc_button_array.c 		gpio_keys[n_buttons].desc = info->name;
desc              158 drivers/input/misc/soc_button_array.c 				     const union acpi_object *desc,
desc              164 drivers/input/misc/soc_button_array.c 	if (desc->type != ACPI_TYPE_PACKAGE ||
desc              165 drivers/input/misc/soc_button_array.c 	    desc->package.count != 5 ||
desc              167 drivers/input/misc/soc_button_array.c 	    soc_button_get_acpi_object_int(&desc->package.elements[0]) != 1 ||
desc              169 drivers/input/misc/soc_button_array.c 	    soc_button_get_acpi_object_int(&desc->package.elements[2]) !=
desc              177 drivers/input/misc/soc_button_array.c 		soc_button_get_acpi_object_int(&desc->package.elements[1]);
desc              178 drivers/input/misc/soc_button_array.c 	upage = soc_button_get_acpi_object_int(&desc->package.elements[3]);
desc              179 drivers/input/misc/soc_button_array.c 	usage = soc_button_get_acpi_object_int(&desc->package.elements[4]);
desc              231 drivers/input/misc/soc_button_array.c 	const union acpi_object *desc, *el0, *uuid, *btns_desc = NULL;
desc              244 drivers/input/misc/soc_button_array.c 	desc = buf.pointer;
desc              245 drivers/input/misc/soc_button_array.c 	for (i = 0; (i + 1) < desc->package.count; i += 2) {
desc              246 drivers/input/misc/soc_button_array.c 		uuid = &desc->package.elements[i];
desc              250 drivers/input/misc/soc_button_array.c 		    desc->package.elements[i + 1].type != ACPI_TYPE_PACKAGE) {
desc              255 drivers/input/misc/soc_button_array.c 			btns_desc = &desc->package.elements[i + 1];
desc              864 drivers/input/misc/yealink.c 	if (interface->desc.bNumEndpoints < 1)
desc              867 drivers/input/misc/yealink.c 	endpoint = &interface->endpoint[0].desc;
desc              927 drivers/input/misc/yealink.c 	yld->ctl_req->wIndex	= cpu_to_le16(interface->desc.bInterfaceNumber);
desc              844 drivers/input/mouse/appletouch.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc              845 drivers/input/mouse/appletouch.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              230 drivers/input/mouse/synaptics_usb.c 	for (i = 0; i < iface->desc.bNumEndpoints; ++i) {
desc              231 drivers/input/mouse/synaptics_usb.c 		endpoint = &iface->endpoint[i].desc;
desc              298 drivers/input/mouse/synaptics_usb.c 	unsigned int intf_num = intf->cur_altsetting->desc.bInterfaceNumber;
desc              183 drivers/input/serio/hyperv-keyboard.c 					  struct vmpacket_descriptor *desc,
desc              190 drivers/input/serio/hyperv-keyboard.c 	switch (desc->type) {
desc              214 drivers/input/serio/hyperv-keyboard.c 		msg_sz = bytes_recvd - (desc->offset8 << 3);
desc              222 drivers/input/serio/hyperv-keyboard.c 				desc->type, req_id, msg_sz);
desc              226 drivers/input/serio/hyperv-keyboard.c 		msg = (void *)desc + (desc->offset8 << 3);
desc              233 drivers/input/serio/hyperv-keyboard.c 			desc->type, req_id, bytes_recvd);
desc              240 drivers/input/serio/hyperv-keyboard.c 	struct vmpacket_descriptor *desc;
desc              245 drivers/input/serio/hyperv-keyboard.c 	foreach_vmbus_pkt(desc, hv_dev->channel) {
desc              246 drivers/input/serio/hyperv-keyboard.c 		bytes_recvd = desc->len8 * 8;
desc              247 drivers/input/serio/hyperv-keyboard.c 		req_id = desc->trans_id;
desc              249 drivers/input/serio/hyperv-keyboard.c 		hv_kbd_handle_received_packet(hv_dev, desc, bytes_recvd,
desc              124 drivers/input/tablet/acecad.c 	if (interface->desc.bNumEndpoints != 1)
desc              127 drivers/input/tablet/acecad.c 	endpoint = &interface->endpoint[0].desc;
desc             1716 drivers/input/tablet/aiptek.c 	aiptek->ifnum = intf->altsetting[0].desc.bInterfaceNumber;
desc             1805 drivers/input/tablet/aiptek.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1) {
desc             1808 drivers/input/tablet/aiptek.c 			intf->cur_altsetting->desc.bNumEndpoints);
desc             1812 drivers/input/tablet/aiptek.c 	endpoint = &intf->cur_altsetting->endpoint[0].desc;
desc              878 drivers/input/tablet/gtco.c 	if (usbinterface->cur_altsetting->desc.bNumEndpoints < 1) {
desc              885 drivers/input/tablet/gtco.c 	endpoint = &usbinterface->cur_altsetting->endpoint[0].desc;
desc              889 drivers/input/tablet/gtco.c 	dev_dbg(&usbinterface->dev, "num endpoints:     %d\n", usbinterface->cur_altsetting->desc.bNumEndpoints);
desc              890 drivers/input/tablet/gtco.c 	dev_dbg(&usbinterface->dev, "interface class:   %d\n", usbinterface->cur_altsetting->desc.bInterfaceClass);
desc              972 drivers/input/tablet/gtco.c 	endpoint = &usbinterface->cur_altsetting->endpoint[0].desc;
desc              325 drivers/input/tablet/hanwang.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1)
desc              393 drivers/input/tablet/hanwang.c 	endpoint = &intf->cur_altsetting->endpoint[0].desc;
desc              117 drivers/input/tablet/kbtab.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1)
desc              120 drivers/input/tablet/kbtab.c 	endpoint = &intf->cur_altsetting->endpoint[0].desc;
desc              274 drivers/input/tablet/pegasus_notetaker.c 	if (intf->cur_altsetting->desc.bInterfaceNumber >= 1)
desc              278 drivers/input/tablet/pegasus_notetaker.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1) {
desc              283 drivers/input/tablet/pegasus_notetaker.c 	endpoint = &intf->cur_altsetting->endpoint[0].desc;
desc              465 drivers/input/tablet/wacom_serial4.c 			       const u8 *cmd, const char *desc)
desc              657 drivers/input/touchscreen/sur40.c 	if (iface_desc->desc.bInterfaceClass != 0xFF)
desc              660 drivers/input/touchscreen/sur40.c 	if (iface_desc->desc.bNumEndpoints < 5)
desc              664 drivers/input/touchscreen/sur40.c 	endpoint = &iface_desc->endpoint[4].desc;
desc              967 drivers/input/touchscreen/usbtouchscreen.c 	for (i = 0; i < interface->desc.bNumEndpoints; i++) {
desc              969 drivers/input/touchscreen/usbtouchscreen.c 		    usb_endpoint_dir_in(&interface->endpoint[i].desc))
desc              970 drivers/input/touchscreen/usbtouchscreen.c 			input_ep = interface->endpoint[i].desc.bEndpointAddress;
desc              972 drivers/input/touchscreen/usbtouchscreen.c 		    usb_endpoint_dir_out(&interface->endpoint[i].desc))
desc              973 drivers/input/touchscreen/usbtouchscreen.c 			output_ep = interface->endpoint[i].desc.bEndpointAddress;
desc             1633 drivers/input/touchscreen/usbtouchscreen.c 	for (i = 0; i < interface->desc.bNumEndpoints; i++)
desc             1634 drivers/input/touchscreen/usbtouchscreen.c 		if (usb_endpoint_dir_in(&interface->endpoint[i].desc))
desc             1635 drivers/input/touchscreen/usbtouchscreen.c 			return &interface->endpoint[i].desc;
desc              412 drivers/interconnect/qcom/qcs404.c 	const struct qcom_icc_desc *desc;
desc              425 drivers/interconnect/qcom/qcs404.c 	desc = of_device_get_match_data(dev);
desc              426 drivers/interconnect/qcom/qcs404.c 	if (!desc)
desc              429 drivers/interconnect/qcom/qcs404.c 	qnodes = desc->nodes;
desc              430 drivers/interconnect/qcom/qcs404.c 	num_nodes = desc->num_nodes;
desc              773 drivers/interconnect/qcom/sdm845.c 	const struct qcom_icc_desc *desc;
desc              782 drivers/interconnect/qcom/sdm845.c 	desc = of_device_get_match_data(&pdev->dev);
desc              783 drivers/interconnect/qcom/sdm845.c 	if (!desc)
desc              786 drivers/interconnect/qcom/sdm845.c 	qnodes = desc->nodes;
desc              787 drivers/interconnect/qcom/sdm845.c 	num_nodes = desc->num_nodes;
desc              808 drivers/interconnect/qcom/sdm845.c 	qp->bcms = desc->bcms;
desc              809 drivers/interconnect/qcom/sdm845.c 	qp->num_bcms = desc->num_bcms;
desc             1495 drivers/iommu/arm-smmu-v3.c arm_smmu_write_strtab_l1_desc(__le64 *dst, struct arm_smmu_strtab_l1_desc *desc)
desc             1499 drivers/iommu/arm-smmu-v3.c 	val |= FIELD_PREP(STRTAB_L1_DESC_SPAN, desc->span);
desc             1500 drivers/iommu/arm-smmu-v3.c 	val |= desc->l2ptr_dma & STRTAB_L1_DESC_L2PTR_MASK;
desc             1670 drivers/iommu/arm-smmu-v3.c 	struct arm_smmu_strtab_l1_desc *desc = &cfg->l1_desc[sid >> STRTAB_SPLIT];
desc             1672 drivers/iommu/arm-smmu-v3.c 	if (desc->l2ptr)
desc             1678 drivers/iommu/arm-smmu-v3.c 	desc->span = STRTAB_SPLIT + 1;
desc             1679 drivers/iommu/arm-smmu-v3.c 	desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma,
desc             1681 drivers/iommu/arm-smmu-v3.c 	if (!desc->l2ptr) {
desc             1688 drivers/iommu/arm-smmu-v3.c 	arm_smmu_init_bypass_stes(desc->l2ptr, 1 << STRTAB_SPLIT);
desc             1689 drivers/iommu/arm-smmu-v3.c 	arm_smmu_write_strtab_l1_desc(strtab, desc);
desc             3006 drivers/iommu/arm-smmu-v3.c static void arm_smmu_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
desc             3009 drivers/iommu/arm-smmu-v3.c 	struct device *dev = msi_desc_to_dev(desc);
desc             3011 drivers/iommu/arm-smmu-v3.c 	phys_addr_t *cfg = arm_smmu_msi_cfg[desc->platform.msi_index];
desc             3023 drivers/iommu/arm-smmu-v3.c 	struct msi_desc *desc;
desc             3051 drivers/iommu/arm-smmu-v3.c 	for_each_msi_entry(desc, dev) {
desc             3052 drivers/iommu/arm-smmu-v3.c 		switch (desc->platform.msi_index) {
desc             3054 drivers/iommu/arm-smmu-v3.c 			smmu->evtq.q.irq = desc->irq;
desc             3057 drivers/iommu/arm-smmu-v3.c 			smmu->gerr_irq = desc->irq;
desc             3060 drivers/iommu/arm-smmu-v3.c 			smmu->priq.q.irq = desc->irq;
desc             1176 drivers/iommu/dma-iommu.c int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr)
desc             1178 drivers/iommu/dma-iommu.c 	struct device *dev = msi_desc_to_dev(desc);
desc             1184 drivers/iommu/dma-iommu.c 		desc->iommu_cookie = NULL;
desc             1197 drivers/iommu/dma-iommu.c 	msi_desc_set_iommu_cookie(desc, msi_page);
desc             1204 drivers/iommu/dma-iommu.c void iommu_dma_compose_msi_msg(struct msi_desc *desc,
desc             1207 drivers/iommu/dma-iommu.c 	struct device *dev = msi_desc_to_dev(desc);
desc             1211 drivers/iommu/dma-iommu.c 	msi_page = msi_desc_get_iommu_cookie(desc);
desc             1131 drivers/iommu/dmar.c 		free_page((unsigned long)iommu->qi->desc);
desc             1177 drivers/iommu/dmar.c 			struct qi_desc *desc = qi->desc + head;
desc             1185 drivers/iommu/dmar.c 			       (unsigned long long)desc->qw0,
desc             1186 drivers/iommu/dmar.c 			       (unsigned long long)desc->qw1);
desc             1187 drivers/iommu/dmar.c 			memcpy(desc, qi->desc + (wait_index << shift),
desc             1227 drivers/iommu/dmar.c int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu)
desc             1257 drivers/iommu/dmar.c 	memcpy(qi->desc + offset, desc, length);
desc             1265 drivers/iommu/dmar.c 	memcpy(qi->desc + offset, &wait_desc, length);
desc             1309 drivers/iommu/dmar.c 	struct qi_desc desc;
desc             1311 drivers/iommu/dmar.c 	desc.qw0 = QI_IEC_TYPE;
desc             1312 drivers/iommu/dmar.c 	desc.qw1 = 0;
desc             1313 drivers/iommu/dmar.c 	desc.qw2 = 0;
desc             1314 drivers/iommu/dmar.c 	desc.qw3 = 0;
desc             1317 drivers/iommu/dmar.c 	qi_submit_sync(&desc, iommu);
desc             1323 drivers/iommu/dmar.c 	struct qi_desc desc;
desc             1325 drivers/iommu/dmar.c 	desc.qw0 = QI_CC_FM(fm) | QI_CC_SID(sid) | QI_CC_DID(did)
desc             1327 drivers/iommu/dmar.c 	desc.qw1 = 0;
desc             1328 drivers/iommu/dmar.c 	desc.qw2 = 0;
desc             1329 drivers/iommu/dmar.c 	desc.qw3 = 0;
desc             1331 drivers/iommu/dmar.c 	qi_submit_sync(&desc, iommu);
desc             1339 drivers/iommu/dmar.c 	struct qi_desc desc;
desc             1348 drivers/iommu/dmar.c 	desc.qw0 = QI_IOTLB_DID(did) | QI_IOTLB_DR(dr) | QI_IOTLB_DW(dw)
desc             1350 drivers/iommu/dmar.c 	desc.qw1 = QI_IOTLB_ADDR(addr) | QI_IOTLB_IH(ih)
desc             1352 drivers/iommu/dmar.c 	desc.qw2 = 0;
desc             1353 drivers/iommu/dmar.c 	desc.qw3 = 0;
desc             1355 drivers/iommu/dmar.c 	qi_submit_sync(&desc, iommu);
desc             1361 drivers/iommu/dmar.c 	struct qi_desc desc;
desc             1365 drivers/iommu/dmar.c 		desc.qw1 = QI_DEV_IOTLB_ADDR(addr) | QI_DEV_IOTLB_SIZE;
desc             1367 drivers/iommu/dmar.c 		desc.qw1 = QI_DEV_IOTLB_ADDR(addr);
desc             1372 drivers/iommu/dmar.c 	desc.qw0 = QI_DEV_IOTLB_SID(sid) | QI_DEV_IOTLB_QDEP(qdep) |
desc             1374 drivers/iommu/dmar.c 	desc.qw2 = 0;
desc             1375 drivers/iommu/dmar.c 	desc.qw3 = 0;
desc             1377 drivers/iommu/dmar.c 	qi_submit_sync(&desc, iommu);
desc             1423 drivers/iommu/dmar.c 	u64 val = virt_to_phys(qi->desc);
desc             1488 drivers/iommu/dmar.c 	qi->desc = page_address(desc_page);
desc             1492 drivers/iommu/dmar.c 		free_page((unsigned long) qi->desc);
desc               74 drivers/iommu/hyperv-iommu.c 	struct irq_desc *desc;
desc              110 drivers/iommu/hyperv-iommu.c 	desc = irq_data_to_desc(irq_data);
desc              111 drivers/iommu/hyperv-iommu.c 	cpumask_copy(desc->irq_common_data.affinity, &ioapic_max_cpumask);
desc              402 drivers/iommu/intel-pasid.c 	struct qi_desc desc;
desc              404 drivers/iommu/intel-pasid.c 	desc.qw0 = QI_PC_DID(did) | QI_PC_PASID_SEL | QI_PC_PASID(pasid);
desc              405 drivers/iommu/intel-pasid.c 	desc.qw1 = 0;
desc              406 drivers/iommu/intel-pasid.c 	desc.qw2 = 0;
desc              407 drivers/iommu/intel-pasid.c 	desc.qw3 = 0;
desc              409 drivers/iommu/intel-pasid.c 	qi_submit_sync(&desc, iommu);
desc              415 drivers/iommu/intel-pasid.c 	struct qi_desc desc;
desc              417 drivers/iommu/intel-pasid.c 	desc.qw0 = QI_EIOTLB_PASID(pasid) | QI_EIOTLB_DID(did) |
desc              419 drivers/iommu/intel-pasid.c 	desc.qw1 = 0;
desc              420 drivers/iommu/intel-pasid.c 	desc.qw2 = 0;
desc              421 drivers/iommu/intel-pasid.c 	desc.qw3 = 0;
desc              423 drivers/iommu/intel-pasid.c 	qi_submit_sync(&desc, iommu);
desc              105 drivers/iommu/intel-svm.c 	struct qi_desc desc;
desc              108 drivers/iommu/intel-svm.c 		desc.qw0 = QI_EIOTLB_PASID(svm->pasid) |
desc              112 drivers/iommu/intel-svm.c 		desc.qw1 = 0;
desc              116 drivers/iommu/intel-svm.c 		desc.qw0 = QI_EIOTLB_PASID(svm->pasid) |
desc              120 drivers/iommu/intel-svm.c 		desc.qw1 = QI_EIOTLB_ADDR(address) |
desc              124 drivers/iommu/intel-svm.c 	desc.qw2 = 0;
desc              125 drivers/iommu/intel-svm.c 	desc.qw3 = 0;
desc              126 drivers/iommu/intel-svm.c 	qi_submit_sync(&desc, svm->iommu);
desc              129 drivers/iommu/intel-svm.c 		desc.qw0 = QI_DEV_EIOTLB_PASID(svm->pasid) |
desc              134 drivers/iommu/intel-svm.c 			desc.qw1 = QI_DEV_EIOTLB_ADDR(-1ULL >> 1) |
desc              143 drivers/iommu/intel-svm.c 			desc.qw1 = QI_DEV_EIOTLB_ADDR((address & ~mask) |
desc              146 drivers/iommu/intel-svm.c 			desc.qw1 = QI_DEV_EIOTLB_ADDR(address);
desc              148 drivers/iommu/intel-svm.c 		desc.qw2 = 0;
desc              149 drivers/iommu/intel-svm.c 		desc.qw3 = 0;
desc              150 drivers/iommu/intel-svm.c 		qi_submit_sync(&desc, svm->iommu);
desc              146 drivers/iommu/intel_irq_remapping.c 	struct qi_desc desc;
desc              148 drivers/iommu/intel_irq_remapping.c 	desc.qw0 = QI_IEC_IIDEX(index) | QI_IEC_TYPE | QI_IEC_IM(mask)
desc              150 drivers/iommu/intel_irq_remapping.c 	desc.qw1 = 0;
desc              151 drivers/iommu/intel_irq_remapping.c 	desc.qw2 = 0;
desc              152 drivers/iommu/intel_irq_remapping.c 	desc.qw3 = 0;
desc              154 drivers/iommu/intel_irq_remapping.c 	return qi_submit_sync(&desc, iommu);
desc               65 drivers/irqchip/exynos-combiner.c static void combiner_handle_cascade_irq(struct irq_desc *desc)
desc               67 drivers/irqchip/exynos-combiner.c 	struct combiner_chip_data *chip_data = irq_desc_get_handler_data(desc);
desc               68 drivers/irqchip/exynos-combiner.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               72 drivers/irqchip/exynos-combiner.c 	chained_irq_enter(chip, desc);
desc               86 drivers/irqchip/exynos-combiner.c 		handle_bad_irq(desc);
desc               91 drivers/irqchip/exynos-combiner.c 	chained_irq_exit(chip, desc);
desc              107 drivers/irqchip/irq-al-fic.c static void al_fic_irq_handler(struct irq_desc *desc)
desc              109 drivers/irqchip/irq-al-fic.c 	struct al_fic *fic = irq_desc_get_handler_data(desc);
desc              111 drivers/irqchip/irq-al-fic.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              117 drivers/irqchip/irq-al-fic.c 	chained_irq_enter(irqchip, desc);
desc              127 drivers/irqchip/irq-al-fic.c 	chained_irq_exit(irqchip, desc);
desc              506 drivers/irqchip/irq-armada-370-xp.c static void armada_370_xp_mpic_handle_cascade_irq(struct irq_desc *desc)
desc              508 drivers/irqchip/irq-armada-370-xp.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              512 drivers/irqchip/irq-armada-370-xp.c 	chained_irq_enter(chip, desc);
desc              536 drivers/irqchip/irq-armada-370-xp.c 	chained_irq_exit(chip, desc);
desc               32 drivers/irqchip/irq-aspeed-i2c-ic.c static void aspeed_i2c_ic_irq_handler(struct irq_desc *desc)
desc               34 drivers/irqchip/irq-aspeed-i2c-ic.c 	struct aspeed_i2c_ic *i2c_ic = irq_desc_get_handler_data(desc);
desc               35 drivers/irqchip/irq-aspeed-i2c-ic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               39 drivers/irqchip/irq-aspeed-i2c-ic.c 	chained_irq_enter(chip, desc);
desc               45 drivers/irqchip/irq-aspeed-i2c-ic.c 	chained_irq_exit(chip, desc);
desc               32 drivers/irqchip/irq-ath79-misc.c static void ath79_misc_irq_handler(struct irq_desc *desc)
desc               34 drivers/irqchip/irq-ath79-misc.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc               35 drivers/irqchip/irq-ath79-misc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               39 drivers/irqchip/irq-ath79-misc.c 	chained_irq_enter(chip, desc);
desc               46 drivers/irqchip/irq-ath79-misc.c 		chained_irq_exit(chip, desc);
desc               57 drivers/irqchip/irq-ath79-misc.c 	chained_irq_exit(chip, desc);
desc               89 drivers/irqchip/irq-bcm2835.c static void bcm2836_chained_handle_irq(struct irq_desc *desc);
desc              237 drivers/irqchip/irq-bcm2835.c static void bcm2836_chained_handle_irq(struct irq_desc *desc)
desc              116 drivers/irqchip/irq-bcm6345-l1.c static void bcm6345_l1_irq_handle(struct irq_desc *desc)
desc              118 drivers/irqchip/irq-bcm6345-l1.c 	struct bcm6345_l1_chip *intc = irq_desc_get_handler_data(desc);
desc              120 drivers/irqchip/irq-bcm6345-l1.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              129 drivers/irqchip/irq-bcm6345-l1.c 	chained_irq_enter(chip, desc);
desc              149 drivers/irqchip/irq-bcm6345-l1.c 	chained_irq_exit(chip, desc);
desc              114 drivers/irqchip/irq-bcm7038-l1.c static void bcm7038_l1_irq_handle(struct irq_desc *desc)
desc              116 drivers/irqchip/irq-bcm7038-l1.c 	struct bcm7038_l1_chip *intc = irq_desc_get_handler_data(desc);
desc              118 drivers/irqchip/irq-bcm7038-l1.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              127 drivers/irqchip/irq-bcm7038-l1.c 	chained_irq_enter(chip, desc);
desc              145 drivers/irqchip/irq-bcm7038-l1.c 	chained_irq_exit(chip, desc);
desc               55 drivers/irqchip/irq-bcm7120-l2.c static void bcm7120_l2_intc_irq_handle(struct irq_desc *desc)
desc               57 drivers/irqchip/irq-bcm7120-l2.c 	struct bcm7120_l1_intc_data *data = irq_desc_get_handler_data(desc);
desc               59 drivers/irqchip/irq-bcm7120-l2.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               62 drivers/irqchip/irq-bcm7120-l2.c 	chained_irq_enter(chip, desc);
desc               83 drivers/irqchip/irq-bcm7120-l2.c 	chained_irq_exit(chip, desc);
desc               91 drivers/irqchip/irq-brcmstb-l2.c static void brcmstb_l2_intc_irq_handle(struct irq_desc *desc)
desc               93 drivers/irqchip/irq-brcmstb-l2.c 	struct brcmstb_l2_intc_data *b = irq_desc_get_handler_data(desc);
desc               94 drivers/irqchip/irq-brcmstb-l2.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               98 drivers/irqchip/irq-brcmstb-l2.c 	chained_irq_enter(chip, desc);
desc              104 drivers/irqchip/irq-brcmstb-l2.c 		raw_spin_lock(&desc->lock);
desc              105 drivers/irqchip/irq-brcmstb-l2.c 		handle_bad_irq(desc);
desc              106 drivers/irqchip/irq-brcmstb-l2.c 		raw_spin_unlock(&desc->lock);
desc              116 drivers/irqchip/irq-brcmstb-l2.c 	chained_irq_exit(chip, desc);
desc               29 drivers/irqchip/irq-dw-apb-ictl.c static void dw_apb_ictl_handler(struct irq_desc *desc)
desc               31 drivers/irqchip/irq-dw-apb-ictl.c 	struct irq_domain *d = irq_desc_get_handler_data(desc);
desc               32 drivers/irqchip/irq-dw-apb-ictl.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               35 drivers/irqchip/irq-dw-apb-ictl.c 	chained_irq_enter(chip, desc);
desc               50 drivers/irqchip/irq-dw-apb-ictl.c 	chained_irq_exit(chip, desc);
desc               31 drivers/irqchip/irq-gic-common.c 	for (; quirks->desc; quirks++) {
desc               36 drivers/irqchip/irq-gic-common.c 				quirks->desc);
desc               43 drivers/irqchip/irq-gic-common.c 	for (; quirks->desc; quirks++) {
desc               50 drivers/irqchip/irq-gic-common.c 				quirks->desc);
desc               14 drivers/irqchip/irq-gic-common.h 	const char *desc;
desc              199 drivers/irqchip/irq-gic-v2m.c 	err = iommu_dma_prepare_msi(info->desc,
desc              425 drivers/irqchip/irq-gic-v3-its.c 						 struct its_cmd_desc *desc)
desc              428 drivers/irqchip/irq-gic-v3-its.c 	u8 size = ilog2(desc->its_mapd_cmd.dev->nr_ites);
desc              430 drivers/irqchip/irq-gic-v3-its.c 	itt_addr = virt_to_phys(desc->its_mapd_cmd.dev->itt);
desc              434 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_mapd_cmd.dev->device_id);
desc              437 drivers/irqchip/irq-gic-v3-its.c 	its_encode_valid(cmd, desc->its_mapd_cmd.valid);
desc              446 drivers/irqchip/irq-gic-v3-its.c 						 struct its_cmd_desc *desc)
desc              449 drivers/irqchip/irq-gic-v3-its.c 	its_encode_collection(cmd, desc->its_mapc_cmd.col->col_id);
desc              450 drivers/irqchip/irq-gic-v3-its.c 	its_encode_target(cmd, desc->its_mapc_cmd.col->target_address);
desc              451 drivers/irqchip/irq-gic-v3-its.c 	its_encode_valid(cmd, desc->its_mapc_cmd.valid);
desc              455 drivers/irqchip/irq-gic-v3-its.c 	return desc->its_mapc_cmd.col;
desc              460 drivers/irqchip/irq-gic-v3-its.c 						  struct its_cmd_desc *desc)
desc              464 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_mapti_cmd.dev,
desc              465 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_mapti_cmd.event_id);
desc              468 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_mapti_cmd.dev->device_id);
desc              469 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_mapti_cmd.event_id);
desc              470 drivers/irqchip/irq-gic-v3-its.c 	its_encode_phys_id(cmd, desc->its_mapti_cmd.phys_id);
desc              480 drivers/irqchip/irq-gic-v3-its.c 						 struct its_cmd_desc *desc)
desc              484 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_movi_cmd.dev,
desc              485 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_movi_cmd.event_id);
desc              488 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_movi_cmd.dev->device_id);
desc              489 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_movi_cmd.event_id);
desc              490 drivers/irqchip/irq-gic-v3-its.c 	its_encode_collection(cmd, desc->its_movi_cmd.col->col_id);
desc              499 drivers/irqchip/irq-gic-v3-its.c 						    struct its_cmd_desc *desc)
desc              503 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_discard_cmd.dev,
desc              504 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_discard_cmd.event_id);
desc              507 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_discard_cmd.dev->device_id);
desc              508 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_discard_cmd.event_id);
desc              517 drivers/irqchip/irq-gic-v3-its.c 						struct its_cmd_desc *desc)
desc              521 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_inv_cmd.dev,
desc              522 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_inv_cmd.event_id);
desc              525 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_inv_cmd.dev->device_id);
desc              526 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_inv_cmd.event_id);
desc              535 drivers/irqchip/irq-gic-v3-its.c 						struct its_cmd_desc *desc)
desc              539 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_int_cmd.dev,
desc              540 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_int_cmd.event_id);
desc              543 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_int_cmd.dev->device_id);
desc              544 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_int_cmd.event_id);
desc              553 drivers/irqchip/irq-gic-v3-its.c 						  struct its_cmd_desc *desc)
desc              557 drivers/irqchip/irq-gic-v3-its.c 	col = dev_event_to_col(desc->its_clear_cmd.dev,
desc              558 drivers/irqchip/irq-gic-v3-its.c 			       desc->its_clear_cmd.event_id);
desc              561 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_clear_cmd.dev->device_id);
desc              562 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_clear_cmd.event_id);
desc              571 drivers/irqchip/irq-gic-v3-its.c 						   struct its_cmd_desc *desc)
desc              574 drivers/irqchip/irq-gic-v3-its.c 	its_encode_collection(cmd, desc->its_invall_cmd.col->col_id);
desc              583 drivers/irqchip/irq-gic-v3-its.c 					     struct its_cmd_desc *desc)
desc              586 drivers/irqchip/irq-gic-v3-its.c 	its_encode_vpeid(cmd, desc->its_vinvall_cmd.vpe->vpe_id);
desc              590 drivers/irqchip/irq-gic-v3-its.c 	return valid_vpe(its, desc->its_vinvall_cmd.vpe);
desc              595 drivers/irqchip/irq-gic-v3-its.c 					   struct its_cmd_desc *desc)
desc              600 drivers/irqchip/irq-gic-v3-its.c 	vpt_addr = virt_to_phys(page_address(desc->its_vmapp_cmd.vpe->vpt_page));
desc              601 drivers/irqchip/irq-gic-v3-its.c 	target = desc->its_vmapp_cmd.col->target_address + its->vlpi_redist_offset;
desc              604 drivers/irqchip/irq-gic-v3-its.c 	its_encode_vpeid(cmd, desc->its_vmapp_cmd.vpe->vpe_id);
desc              605 drivers/irqchip/irq-gic-v3-its.c 	its_encode_valid(cmd, desc->its_vmapp_cmd.valid);
desc              612 drivers/irqchip/irq-gic-v3-its.c 	return valid_vpe(its, desc->its_vmapp_cmd.vpe);
desc              617 drivers/irqchip/irq-gic-v3-its.c 					    struct its_cmd_desc *desc)
desc              621 drivers/irqchip/irq-gic-v3-its.c 	if (desc->its_vmapti_cmd.db_enabled)
desc              622 drivers/irqchip/irq-gic-v3-its.c 		db = desc->its_vmapti_cmd.vpe->vpe_db_lpi;
desc              627 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_vmapti_cmd.dev->device_id);
desc              628 drivers/irqchip/irq-gic-v3-its.c 	its_encode_vpeid(cmd, desc->its_vmapti_cmd.vpe->vpe_id);
desc              629 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_vmapti_cmd.event_id);
desc              631 drivers/irqchip/irq-gic-v3-its.c 	its_encode_virt_id(cmd, desc->its_vmapti_cmd.virt_id);
desc              635 drivers/irqchip/irq-gic-v3-its.c 	return valid_vpe(its, desc->its_vmapti_cmd.vpe);
desc              640 drivers/irqchip/irq-gic-v3-its.c 					   struct its_cmd_desc *desc)
desc              644 drivers/irqchip/irq-gic-v3-its.c 	if (desc->its_vmovi_cmd.db_enabled)
desc              645 drivers/irqchip/irq-gic-v3-its.c 		db = desc->its_vmovi_cmd.vpe->vpe_db_lpi;
desc              650 drivers/irqchip/irq-gic-v3-its.c 	its_encode_devid(cmd, desc->its_vmovi_cmd.dev->device_id);
desc              651 drivers/irqchip/irq-gic-v3-its.c 	its_encode_vpeid(cmd, desc->its_vmovi_cmd.vpe->vpe_id);
desc              652 drivers/irqchip/irq-gic-v3-its.c 	its_encode_event_id(cmd, desc->its_vmovi_cmd.event_id);
desc              658 drivers/irqchip/irq-gic-v3-its.c 	return valid_vpe(its, desc->its_vmovi_cmd.vpe);
desc              663 drivers/irqchip/irq-gic-v3-its.c 					   struct its_cmd_desc *desc)
desc              667 drivers/irqchip/irq-gic-v3-its.c 	target = desc->its_vmovp_cmd.col->target_address + its->vlpi_redist_offset;
desc              669 drivers/irqchip/irq-gic-v3-its.c 	its_encode_seq_num(cmd, desc->its_vmovp_cmd.seq_num);
desc              670 drivers/irqchip/irq-gic-v3-its.c 	its_encode_its_list(cmd, desc->its_vmovp_cmd.its_list);
desc              671 drivers/irqchip/irq-gic-v3-its.c 	its_encode_vpeid(cmd, desc->its_vmovp_cmd.vpe->vpe_id);
desc              676 drivers/irqchip/irq-gic-v3-its.c 	return valid_vpe(its, desc->its_vmovp_cmd.vpe);
desc              800 drivers/irqchip/irq-gic-v3-its.c 	  struct its_cmd_desc *desc)					\
desc              814 drivers/irqchip/irq-gic-v3-its.c 	sync_obj = builder(its, cmd, desc);				\
desc              863 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              865 drivers/irqchip/irq-gic-v3-its.c 	desc.its_int_cmd.dev = dev;
desc              866 drivers/irqchip/irq-gic-v3-its.c 	desc.its_int_cmd.event_id = event_id;
desc              868 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_int_cmd, &desc);
desc              873 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              875 drivers/irqchip/irq-gic-v3-its.c 	desc.its_clear_cmd.dev = dev;
desc              876 drivers/irqchip/irq-gic-v3-its.c 	desc.its_clear_cmd.event_id = event_id;
desc              878 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_clear_cmd, &desc);
desc              883 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              885 drivers/irqchip/irq-gic-v3-its.c 	desc.its_inv_cmd.dev = dev;
desc              886 drivers/irqchip/irq-gic-v3-its.c 	desc.its_inv_cmd.event_id = event_id;
desc              888 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_inv_cmd, &desc);
desc              893 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              895 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapd_cmd.dev = dev;
desc              896 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapd_cmd.valid = !!valid;
desc              898 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_mapd_cmd, &desc);
desc              904 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              906 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapc_cmd.col = col;
desc              907 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapc_cmd.valid = !!valid;
desc              909 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(its, its_build_mapc_cmd, &desc);
desc              914 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              916 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapti_cmd.dev = dev;
desc              917 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapti_cmd.phys_id = irq_id;
desc              918 drivers/irqchip/irq-gic-v3-its.c 	desc.its_mapti_cmd.event_id = id;
desc              920 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_mapti_cmd, &desc);
desc              926 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              928 drivers/irqchip/irq-gic-v3-its.c 	desc.its_movi_cmd.dev = dev;
desc              929 drivers/irqchip/irq-gic-v3-its.c 	desc.its_movi_cmd.col = col;
desc              930 drivers/irqchip/irq-gic-v3-its.c 	desc.its_movi_cmd.event_id = id;
desc              932 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_movi_cmd, &desc);
desc              937 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              939 drivers/irqchip/irq-gic-v3-its.c 	desc.its_discard_cmd.dev = dev;
desc              940 drivers/irqchip/irq-gic-v3-its.c 	desc.its_discard_cmd.event_id = id;
desc              942 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(dev->its, its_build_discard_cmd, &desc);
desc              947 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              949 drivers/irqchip/irq-gic-v3-its.c 	desc.its_invall_cmd.col = col;
desc              951 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_command(its, its_build_invall_cmd, &desc);
desc              957 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              959 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapti_cmd.vpe = map->vpe;
desc              960 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapti_cmd.dev = dev;
desc              961 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapti_cmd.virt_id = map->vintid;
desc              962 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapti_cmd.event_id = id;
desc              963 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapti_cmd.db_enabled = map->db_enabled;
desc              965 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_vcommand(dev->its, its_build_vmapti_cmd, &desc);
desc              971 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              973 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovi_cmd.vpe = map->vpe;
desc              974 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovi_cmd.dev = dev;
desc              975 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovi_cmd.event_id = id;
desc              976 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovi_cmd.db_enabled = map->db_enabled;
desc              978 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_vcommand(dev->its, its_build_vmovi_cmd, &desc);
desc              984 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc              986 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapp_cmd.vpe = vpe;
desc              987 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapp_cmd.valid = valid;
desc              988 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmapp_cmd.col = &its->collections[vpe->col_idx];
desc              990 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_vcommand(its, its_build_vmapp_cmd, &desc);
desc              995 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc = {};
desc             1000 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovp_cmd.vpe = vpe;
desc             1004 drivers/irqchip/irq-gic-v3-its.c 		desc.its_vmovp_cmd.col = &its->collections[col_id];
desc             1005 drivers/irqchip/irq-gic-v3-its.c 		its_send_single_vcommand(its, its_build_vmovp_cmd, &desc);
desc             1019 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovp_cmd.seq_num = vmovp_seq_num++;
desc             1020 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vmovp_cmd.its_list = get_its_list(vpe->its_vm);
desc             1030 drivers/irqchip/irq-gic-v3-its.c 		desc.its_vmovp_cmd.col = &its->collections[col_id];
desc             1031 drivers/irqchip/irq-gic-v3-its.c 		its_send_single_vcommand(its, its_build_vmovp_cmd, &desc);
desc             1039 drivers/irqchip/irq-gic-v3-its.c 	struct its_cmd_desc desc;
desc             1041 drivers/irqchip/irq-gic-v3-its.c 	desc.its_vinvall_cmd.vpe = vpe;
desc             1042 drivers/irqchip/irq-gic-v3-its.c 	its_send_single_vcommand(its, its_build_vinvall_cmd, &desc);
desc             2592 drivers/irqchip/irq-gic-v3-its.c 	err = iommu_dma_prepare_msi(info->desc, its->get_msi_base(its_dev));
desc             3304 drivers/irqchip/irq-gic-v3-its.c 		.desc	= "ITS: Cavium errata 22375, 24313",
desc             3312 drivers/irqchip/irq-gic-v3-its.c 		.desc	= "ITS: Cavium erratum 23144",
desc             3320 drivers/irqchip/irq-gic-v3-its.c 		.desc	= "ITS: QDF2400 erratum 0065",
desc             3333 drivers/irqchip/irq-gic-v3-its.c 		.desc	= "ITS: Socionext Synquacer pre-ITS",
desc             3341 drivers/irqchip/irq-gic-v3-its.c 		.desc	= "ITS: Hip07 erratum 161600802",
desc              108 drivers/irqchip/irq-gic-v3-mbi.c 	err = iommu_dma_prepare_msi(info->desc,
desc              439 drivers/irqchip/irq-gic-v3.c 	struct irq_desc *desc = irq_to_desc(d->irq);
desc              463 drivers/irqchip/irq-gic-v3.c 			desc->handle_irq = handle_percpu_devid_fasteoi_nmi;
desc              466 drivers/irqchip/irq-gic-v3.c 		desc->handle_irq = handle_fasteoi_nmi;
desc              476 drivers/irqchip/irq-gic-v3.c 	struct irq_desc *desc = irq_to_desc(d->irq);
desc              499 drivers/irqchip/irq-gic-v3.c 			desc->handle_irq = handle_percpu_devid_irq;
desc              501 drivers/irqchip/irq-gic-v3.c 		desc->handle_irq = handle_fasteoi_irq;
desc             1466 drivers/irqchip/irq-gic-v3.c 		.desc	= "GICv3: Qualcomm MSM8996 broken firmware",
desc             1471 drivers/irqchip/irq-gic-v3.c 		.desc	= "GICv3: HIP06 erratum 161010803",
desc             1477 drivers/irqchip/irq-gic-v3.c 		.desc	= "GICv3: HIP07 erratum 161010803",
desc             1674 drivers/irqchip/irq-gic-v3.c 		struct partition_desc *desc;
desc             1688 drivers/irqchip/irq-gic-v3.c 		desc = partition_create_desc(gic_data.fwnode, parts, nr_parts,
desc             1690 drivers/irqchip/irq-gic-v3.c 		if (WARN_ON(!desc))
desc             1693 drivers/irqchip/irq-gic-v3.c 		gic_data.ppi_descs[i] = desc;
desc              396 drivers/irqchip/irq-gic.c static void gic_handle_cascade_irq(struct irq_desc *desc)
desc              398 drivers/irqchip/irq-gic.c 	struct gic_chip_data *chip_data = irq_desc_get_handler_data(desc);
desc              399 drivers/irqchip/irq-gic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              403 drivers/irqchip/irq-gic.c 	chained_irq_enter(chip, desc);
desc              413 drivers/irqchip/irq-gic.c 		handle_bad_irq(desc);
desc              420 drivers/irqchip/irq-gic.c 	chained_irq_exit(chip, desc);
desc               33 drivers/irqchip/irq-goldfish-pic.c static void goldfish_pic_cascade(struct irq_desc *desc)
desc               35 drivers/irqchip/irq-goldfish-pic.c 	struct goldfish_pic_data *gfpic = irq_desc_get_handler_data(desc);
desc               36 drivers/irqchip/irq-goldfish-pic.c 	struct irq_chip *host_chip = irq_desc_get_chip(desc);
desc               39 drivers/irqchip/irq-goldfish-pic.c 	chained_irq_enter(host_chip, desc);
desc               49 drivers/irqchip/irq-goldfish-pic.c 	chained_irq_exit(host_chip, desc);
desc              336 drivers/irqchip/irq-i8259.c static void i8259_irq_dispatch(struct irq_desc *desc)
desc              338 drivers/irqchip/irq-i8259.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc              222 drivers/irqchip/irq-imgpdc.c static void pdc_intc_perip_isr(struct irq_desc *desc)
desc              224 drivers/irqchip/irq-imgpdc.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              228 drivers/irqchip/irq-imgpdc.c 	priv = (struct pdc_intc_priv *)irq_desc_get_handler_data(desc);
desc              244 drivers/irqchip/irq-imgpdc.c static void pdc_intc_syswake_isr(struct irq_desc *desc)
desc              250 drivers/irqchip/irq-imgpdc.c 	priv = (struct pdc_intc_priv *)irq_desc_get_handler_data(desc);
desc              106 drivers/irqchip/irq-imx-irqsteer.c static void imx_irqsteer_irq_handler(struct irq_desc *desc)
desc              108 drivers/irqchip/irq-imx-irqsteer.c 	struct irqsteer_data *data = irq_desc_get_handler_data(desc);
desc              112 drivers/irqchip/irq-imx-irqsteer.c 	chained_irq_enter(irq_desc_get_chip(desc), desc);
desc              114 drivers/irqchip/irq-imx-irqsteer.c 	irq = irq_desc_get_irq(desc);
desc              140 drivers/irqchip/irq-imx-irqsteer.c 	chained_irq_exit(irq_desc_get_chip(desc), desc);
desc               24 drivers/irqchip/irq-ingenic-tcu.c static void ingenic_tcu_intc_cascade(struct irq_desc *desc)
desc               26 drivers/irqchip/irq-ingenic-tcu.c 	struct irq_chip *irq_chip = irq_data_get_irq_chip(&desc->irq_data);
desc               27 drivers/irqchip/irq-ingenic-tcu.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc               36 drivers/irqchip/irq-ingenic-tcu.c 	chained_irq_enter(irq_chip, desc);
desc               43 drivers/irqchip/irq-ingenic-tcu.c 	chained_irq_exit(irq_chip, desc);
desc               38 drivers/irqchip/irq-jcore-aic.c static void handle_jcore_irq(struct irq_desc *desc)
desc               40 drivers/irqchip/irq-jcore-aic.c 	if (irqd_is_per_cpu(irq_desc_get_irq_data(desc)))
desc               41 drivers/irqchip/irq-jcore-aic.c 		handle_percpu_irq(desc);
desc               43 drivers/irqchip/irq-jcore-aic.c 		handle_simple_irq(desc);
desc              133 drivers/irqchip/irq-lpc32xx.c static void lpc32xx_sic_handler(struct irq_desc *desc)
desc              135 drivers/irqchip/irq-lpc32xx.c 	struct lpc32xx_irq_chip *ic = irq_desc_get_handler_data(desc);
desc              136 drivers/irqchip/irq-lpc32xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              139 drivers/irqchip/irq-lpc32xx.c 	chained_irq_enter(chip, desc);
desc              147 drivers/irqchip/irq-lpc32xx.c 	chained_irq_exit(chip, desc);
desc              158 drivers/irqchip/irq-ls-scfg-msi.c 	err = iommu_dma_prepare_msi(info->desc, msi_data->msiir_addr);
desc              192 drivers/irqchip/irq-ls-scfg-msi.c static void ls_scfg_msi_irq_handler(struct irq_desc *desc)
desc              194 drivers/irqchip/irq-ls-scfg-msi.c 	struct ls_scfg_msir *msir = irq_desc_get_handler_data(desc);
desc              199 drivers/irqchip/irq-ls-scfg-msi.c 	chained_irq_enter(irq_desc_get_chip(desc), desc);
desc              214 drivers/irqchip/irq-ls-scfg-msi.c 	chained_irq_exit(irq_desc_get_chip(desc), desc);
desc               37 drivers/irqchip/irq-ls1x.c static void ls1x_chained_handle_irq(struct irq_desc *desc)
desc               39 drivers/irqchip/irq-ls1x.c 	struct ls1x_intc_priv *priv = irq_desc_get_handler_data(desc);
desc               40 drivers/irqchip/irq-ls1x.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               43 drivers/irqchip/irq-ls1x.c 	chained_irq_enter(chip, desc);
desc               57 drivers/irqchip/irq-ls1x.c 	chained_irq_exit(chip, desc);
desc              147 drivers/irqchip/irq-mbigen.c static void mbigen_write_msg(struct msi_desc *desc, struct msi_msg *msg)
desc              149 drivers/irqchip/irq-mbigen.c 	struct irq_data *d = irq_get_irq_data(desc->irq);
desc              409 drivers/irqchip/irq-mips-gic.c static void gic_irq_dispatch(struct irq_desc *desc)
desc              146 drivers/irqchip/irq-mmp.c static void icu_mux_irq_demux(struct irq_desc *desc)
desc              148 drivers/irqchip/irq-mmp.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              149 drivers/irqchip/irq-mmp.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              155 drivers/irqchip/irq-mmp.c 	chained_irq_enter(chip, desc);
desc              180 drivers/irqchip/irq-mmp.c 	chained_irq_exit(chip, desc);
desc               42 drivers/irqchip/irq-mscc-ocelot.c static void ocelot_irq_handler(struct irq_desc *desc)
desc               44 drivers/irqchip/irq-mscc-ocelot.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               45 drivers/irqchip/irq-mscc-ocelot.c 	struct irq_domain *d = irq_desc_get_handler_data(desc);
desc               49 drivers/irqchip/irq-mscc-ocelot.c 	chained_irq_enter(chip, desc);
desc               58 drivers/irqchip/irq-mscc-ocelot.c 	chained_irq_exit(chip, desc);
desc               92 drivers/irqchip/irq-mvebu-icu.c static void mvebu_icu_write_msg(struct msi_desc *desc, struct msi_msg *msg)
desc               94 drivers/irqchip/irq-mvebu-icu.c 	struct irq_data *d = irq_get_irq_data(desc->irq);
desc               89 drivers/irqchip/irq-mvebu-pic.c static void mvebu_pic_handle_cascade_irq(struct irq_desc *desc)
desc               91 drivers/irqchip/irq-mvebu-pic.c 	struct mvebu_pic *pic = irq_desc_get_handler_data(desc);
desc               92 drivers/irqchip/irq-mvebu-pic.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               97 drivers/irqchip/irq-mvebu-pic.c 	chained_irq_enter(chip, desc);
desc              104 drivers/irqchip/irq-mvebu-pic.c 	chained_irq_exit(chip, desc);
desc              325 drivers/irqchip/irq-mvebu-sei.c static void mvebu_sei_handle_cascade_irq(struct irq_desc *desc)
desc              327 drivers/irqchip/irq-mvebu-sei.c 	struct mvebu_sei *sei = irq_desc_get_handler_data(desc);
desc              328 drivers/irqchip/irq-mvebu-sei.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              331 drivers/irqchip/irq-mvebu-sei.c 	chained_irq_enter(chip, desc);
desc              354 drivers/irqchip/irq-mvebu-sei.c 	chained_irq_exit(chip, desc);
desc              109 drivers/irqchip/irq-orion.c static void orion_bridge_irq_handler(struct irq_desc *desc)
desc              111 drivers/irqchip/irq-orion.c 	struct irq_domain *d = irq_desc_get_handler_data(desc);
desc              113 drivers/irqchip/irq-partition-percpu.c static void partition_handle_irq(struct irq_desc *desc)
desc              115 drivers/irqchip/irq-partition-percpu.c 	struct partition_desc *part = irq_desc_get_handler_data(desc);
desc              116 drivers/irqchip/irq-partition-percpu.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              120 drivers/irqchip/irq-partition-percpu.c 	chained_irq_enter(chip, desc);
desc              128 drivers/irqchip/irq-partition-percpu.c 		handle_bad_irq(desc);
desc              135 drivers/irqchip/irq-partition-percpu.c 	chained_irq_exit(chip, desc);
desc              177 drivers/irqchip/irq-partition-percpu.c int partition_translate_id(struct partition_desc *desc, void *partition_id)
desc              182 drivers/irqchip/irq-partition-percpu.c 	for (i = 0; i < desc->nr_parts; i++) {
desc              183 drivers/irqchip/irq-partition-percpu.c 		if (desc->parts[i].partition_id == partition_id) {
desc              184 drivers/irqchip/irq-partition-percpu.c 			part = &desc->parts[i];
desc              203 drivers/irqchip/irq-partition-percpu.c 	struct partition_desc *desc;
desc              208 drivers/irqchip/irq-partition-percpu.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              209 drivers/irqchip/irq-partition-percpu.c 	if (!desc)
desc              212 drivers/irqchip/irq-partition-percpu.c 	desc->ops = *ops;
desc              213 drivers/irqchip/irq-partition-percpu.c 	desc->ops.free = partition_domain_free;
desc              214 drivers/irqchip/irq-partition-percpu.c 	desc->ops.alloc = partition_domain_alloc;
desc              216 drivers/irqchip/irq-partition-percpu.c 	d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc);
desc              219 drivers/irqchip/irq-partition-percpu.c 	desc->domain = d;
desc              221 drivers/irqchip/irq-partition-percpu.c 	desc->bitmap = kcalloc(BITS_TO_LONGS(nr_parts), sizeof(long),
desc              223 drivers/irqchip/irq-partition-percpu.c 	if (WARN_ON(!desc->bitmap))
desc              226 drivers/irqchip/irq-partition-percpu.c 	desc->chained_desc = irq_to_desc(chained_irq);
desc              227 drivers/irqchip/irq-partition-percpu.c 	desc->nr_parts = nr_parts;
desc              228 drivers/irqchip/irq-partition-percpu.c 	desc->parts = parts;
desc              230 drivers/irqchip/irq-partition-percpu.c 	return desc;
desc              234 drivers/irqchip/irq-partition-percpu.c 	kfree(desc);
desc              292 drivers/irqchip/irq-s3c24xx.c static void s3c_irq_demux(struct irq_desc *desc)
desc              294 drivers/irqchip/irq-s3c24xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              295 drivers/irqchip/irq-s3c24xx.c 	struct s3c_irq_data *irq_data = irq_desc_get_chip_data(desc);
desc              307 drivers/irqchip/irq-s3c24xx.c 	chained_irq_enter(chip, desc);
desc              322 drivers/irqchip/irq-s3c24xx.c 	chained_irq_exit(chip, desc);
desc              230 drivers/irqchip/irq-stm32-exti.c static void stm32_irq_handler(struct irq_desc *desc)
desc              232 drivers/irqchip/irq-stm32-exti.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc              233 drivers/irqchip/irq-stm32-exti.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              239 drivers/irqchip/irq-stm32-exti.c 	chained_irq_enter(chip, desc);
desc              252 drivers/irqchip/irq-stm32-exti.c 	chained_irq_exit(chip, desc);
desc               99 drivers/irqchip/irq-sunxi-nmi.c static void sunxi_sc_nmi_handle_irq(struct irq_desc *desc)
desc              101 drivers/irqchip/irq-sunxi-nmi.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc              102 drivers/irqchip/irq-sunxi-nmi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              105 drivers/irqchip/irq-sunxi-nmi.c 	chained_irq_enter(chip, desc);
desc              107 drivers/irqchip/irq-sunxi-nmi.c 	chained_irq_exit(chip, desc);
desc               70 drivers/irqchip/irq-tango.c static void tangox_irq_handler(struct irq_desc *desc)
desc               72 drivers/irqchip/irq-tango.c 	struct irq_domain *dom = irq_desc_get_handler_data(desc);
desc               73 drivers/irqchip/irq-tango.c 	struct irq_chip *host_chip = irq_desc_get_chip(desc);
desc               77 drivers/irqchip/irq-tango.c 	chained_irq_enter(host_chip, desc);
desc               85 drivers/irqchip/irq-tango.c 	chained_irq_exit(host_chip, desc);
desc               88 drivers/irqchip/irq-tb10x.c static void tb10x_irq_cascade(struct irq_desc *desc)
desc               90 drivers/irqchip/irq-tb10x.c 	struct irq_domain *domain = irq_desc_get_handler_data(desc);
desc               91 drivers/irqchip/irq-tb10x.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              105 drivers/irqchip/irq-ti-sci-inta.c static void ti_sci_inta_irq_handler(struct irq_desc *desc)
desc              113 drivers/irqchip/irq-ti-sci-inta.c 	vint_desc = irq_desc_get_handler_data(desc);
desc              117 drivers/irqchip/irq-ti-sci-inta.c 	chained_irq_enter(irq_desc_get_chip(desc), desc);
desc              128 drivers/irqchip/irq-ti-sci-inta.c 	chained_irq_exit(irq_desc_get_chip(desc), desc);
desc              498 drivers/irqchip/irq-ti-sci-inta.c 				     struct msi_desc *desc)
desc              500 drivers/irqchip/irq-ti-sci-inta.c 	struct platform_device *pdev = to_platform_device(desc->dev);
desc              502 drivers/irqchip/irq-ti-sci-inta.c 	arg->desc = desc;
desc              503 drivers/irqchip/irq-ti-sci-inta.c 	arg->hwirq = TO_HWIRQ(pdev->id, desc->inta.dev_index);
desc               67 drivers/irqchip/irq-ts4800.c static void ts4800_ic_chained_handle_irq(struct irq_desc *desc)
desc               69 drivers/irqchip/irq-ts4800.c 	struct ts4800_irq_data *data = irq_desc_get_handler_data(desc);
desc               70 drivers/irqchip/irq-ts4800.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               73 drivers/irqchip/irq-ts4800.c 	chained_irq_enter(chip, desc);
desc               76 drivers/irqchip/irq-ts4800.c 		handle_bad_irq(desc);
desc               89 drivers/irqchip/irq-ts4800.c 	chained_irq_exit(chip, desc);
desc               70 drivers/irqchip/irq-versatile-fpga.c static void fpga_irq_handle(struct irq_desc *desc)
desc               72 drivers/irqchip/irq-versatile-fpga.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               73 drivers/irqchip/irq-versatile-fpga.c 	struct fpga_irq_data *f = irq_desc_get_handler_data(desc);
desc               76 drivers/irqchip/irq-versatile-fpga.c 	chained_irq_enter(chip, desc);
desc               80 drivers/irqchip/irq-versatile-fpga.c 		do_bad_IRQ(desc);
desc               92 drivers/irqchip/irq-versatile-fpga.c 	chained_irq_exit(chip, desc);
desc              215 drivers/irqchip/irq-vic.c static void vic_handle_irq_cascaded(struct irq_desc *desc)
desc              218 drivers/irqchip/irq-vic.c 	struct irq_chip *host_chip = irq_desc_get_chip(desc);
desc              219 drivers/irqchip/irq-vic.c 	struct vic_device *vic = irq_desc_get_handler_data(desc);
desc              221 drivers/irqchip/irq-vic.c 	chained_irq_enter(host_chip, desc);
desc              228 drivers/irqchip/irq-vic.c 	chained_irq_exit(host_chip, desc);
desc              138 drivers/irqchip/irq-xilinx-intc.c static void xil_intc_irq_handler(struct irq_desc *desc)
desc              140 drivers/irqchip/irq-xilinx-intc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              143 drivers/irqchip/irq-xilinx-intc.c 	chained_irq_enter(chip, desc);
desc              150 drivers/irqchip/irq-xilinx-intc.c 	chained_irq_exit(chip, desc);
desc               47 drivers/irqchip/qcom-irq-combiner.c static void combiner_handle_irq(struct irq_desc *desc)
desc               49 drivers/irqchip/qcom-irq-combiner.c 	struct combiner *combiner = irq_desc_get_handler_data(desc);
desc               50 drivers/irqchip/qcom-irq-combiner.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               53 drivers/irqchip/qcom-irq-combiner.c 	chained_irq_enter(chip, desc);
desc               80 drivers/irqchip/qcom-irq-combiner.c 	chained_irq_exit(chip, desc);
desc              185 drivers/irqchip/spear-shirq.c static void shirq_handler(struct irq_desc *desc)
desc              187 drivers/irqchip/spear-shirq.c 	struct spear_shirq *shirq = irq_desc_get_handler_data(desc);
desc             1917 drivers/isdn/hardware/mISDN/hfcsusb.c 	int ifnum = iface->desc.bInterfaceNumber, i, idx, alt_idx,
desc             1935 drivers/isdn/hardware/mISDN/hfcsusb.c 	       __func__, ifnum, iface->desc.bAlternateSetting,
desc             1954 drivers/isdn/hardware/mISDN/hfcsusb.c 		probe_alt_setting = iface->desc.bAlternateSetting;
desc             1964 drivers/isdn/hardware/mISDN/hfcsusb.c 			for (i = 0; i < iface->desc.bNumEndpoints; i++) {
desc             1965 drivers/isdn/hardware/mISDN/hfcsusb.c 				ep_addr = ep->desc.bEndpointAddress;
desc             1974 drivers/isdn/hardware/mISDN/hfcsusb.c 				attr = ep->desc.bmAttributes;
desc             1990 drivers/isdn/hardware/mISDN/hfcsusb.c 					    ep->desc.bInterval < vcf[17]) {
desc             2026 drivers/isdn/hardware/mISDN/hfcsusb.c 	for (i = 0; i < iface->desc.bNumEndpoints; i++) {
desc             2029 drivers/isdn/hardware/mISDN/hfcsusb.c 		ep_addr = ep->desc.bEndpointAddress;
desc             2041 drivers/isdn/hardware/mISDN/hfcsusb.c 		switch (ep->desc.bmAttributes) {
desc             2044 drivers/isdn/hardware/mISDN/hfcsusb.c 						 ep->desc.bEndpointAddress);
desc             2046 drivers/isdn/hardware/mISDN/hfcsusb.c 			packet_size = le16_to_cpu(ep->desc.wMaxPacketSize);
desc             2051 drivers/isdn/hardware/mISDN/hfcsusb.c 							  ep->desc.bEndpointAddress);
desc             2054 drivers/isdn/hardware/mISDN/hfcsusb.c 							  ep->desc.bEndpointAddress);
desc             2056 drivers/isdn/hardware/mISDN/hfcsusb.c 			packet_size = le16_to_cpu(ep->desc.wMaxPacketSize);
desc             2061 drivers/isdn/hardware/mISDN/hfcsusb.c 							  ep->desc.bEndpointAddress);
desc             2064 drivers/isdn/hardware/mISDN/hfcsusb.c 							  ep->desc.bEndpointAddress);
desc             2066 drivers/isdn/hardware/mISDN/hfcsusb.c 			iso_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize);
desc             2076 drivers/isdn/hardware/mISDN/hfcsusb.c 				le16_to_cpu(ep->desc.wMaxPacketSize);
desc             2077 drivers/isdn/hardware/mISDN/hfcsusb.c 			f->intervall = ep->desc.bInterval;
desc               53 drivers/isdn/mISDN/dsp_pipeline.c 			     elem->args[i].desc);
desc               23 drivers/leds/leds-powernv.c 	const char	*desc;
desc               65 drivers/leds/leds-powernv.c 		if (!strcmp(led_type_map[i].desc, led_type_desc))
desc             1000 drivers/macintosh/adbhid.c 		char *desc = "standard";
desc             1031 drivers/macintosh/adbhid.c 			desc = "Microspeed/MacPoint or compatible";
desc             1034 drivers/macintosh/adbhid.c 			desc = "Mouse Systems A3 Mouse or compatible";
desc             1037 drivers/macintosh/adbhid.c 			desc = "extended";
desc             1051 drivers/macintosh/adbhid.c 				desc = "trackman/mouseman";
desc             1058 drivers/macintosh/adbhid.c 				desc = "trackpad";
desc             1065 drivers/macintosh/adbhid.c 				desc = "TurboMouse 5";
desc             1073 drivers/macintosh/adbhid.c 					desc = "MacAlly 2-button";
desc             1080 drivers/macintosh/adbhid.c 		       desc, id, cur_handler_id);
desc              309 drivers/mailbox/bcm-flexrm-mailbox.c static void flexrm_write_desc(void *desc_ptr, u64 desc)
desc              311 drivers/mailbox/bcm-flexrm-mailbox.c 	*((u64 *)desc_ptr) = cpu_to_le64(desc);
desc              339 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = flexrm_read_desc(desc_ptr);
desc              340 drivers/mailbox/bcm-flexrm-mailbox.c 	u32 type = DESC_DEC(desc, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              347 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              349 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, NPTR_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              350 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, toggle, NPTR_TOGGLE_SHIFT, NPTR_TOGGLE_MASK);
desc              351 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, next_addr, NPTR_ADDR_SHIFT, NPTR_ADDR_MASK);
desc              353 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              358 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              360 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, NULL_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              361 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, toggle, NULL_TOGGLE_SHIFT, NULL_TOGGLE_MASK);
desc              363 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              378 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = flexrm_read_desc(desc_ptr);
desc              380 drivers/mailbox/bcm-flexrm-mailbox.c 	if (desc & ((u64)0x1 << HEADER_TOGGLE_SHIFT))
desc              381 drivers/mailbox/bcm-flexrm-mailbox.c 		desc &= ~((u64)0x1 << HEADER_TOGGLE_SHIFT);
desc              383 drivers/mailbox/bcm-flexrm-mailbox.c 		desc |= ((u64)0x1 << HEADER_TOGGLE_SHIFT);
desc              385 drivers/mailbox/bcm-flexrm-mailbox.c 	flexrm_write_desc(desc_ptr, desc);
desc              391 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              393 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, HEADER_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              394 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, toggle, HEADER_TOGGLE_SHIFT, HEADER_TOGGLE_MASK);
desc              395 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, startpkt, HEADER_STARTPKT_SHIFT, HEADER_STARTPKT_MASK);
desc              396 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, endpkt, HEADER_ENDPKT_SHIFT, HEADER_ENDPKT_MASK);
desc              397 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, bdcount, HEADER_BDCOUNT_SHIFT, HEADER_BDCOUNT_MASK);
desc              398 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, flags, HEADER_FLAGS_SHIFT, HEADER_FLAGS_MASK);
desc              399 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, opaque, HEADER_OPAQUE_SHIFT, HEADER_OPAQUE_MASK);
desc              401 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              405 drivers/mailbox/bcm-flexrm-mailbox.c 				 u64 desc, void **desc_ptr, u32 *toggle,
desc              458 drivers/mailbox/bcm-flexrm-mailbox.c 		*desc_ptr += sizeof(desc);
desc              465 drivers/mailbox/bcm-flexrm-mailbox.c 			*desc_ptr += sizeof(desc);
desc              472 drivers/mailbox/bcm-flexrm-mailbox.c 	flexrm_write_desc(*desc_ptr, desc);
desc              475 drivers/mailbox/bcm-flexrm-mailbox.c 	*desc_ptr += sizeof(desc);
desc              482 drivers/mailbox/bcm-flexrm-mailbox.c 		*desc_ptr += sizeof(desc);
desc              490 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              492 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, SRC_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              493 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length, SRC_LENGTH_SHIFT, SRC_LENGTH_MASK);
desc              494 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, SRC_ADDR_SHIFT, SRC_ADDR_MASK);
desc              496 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              501 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              503 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, MSRC_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              504 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length_div_16, MSRC_LENGTH_SHIFT, MSRC_LENGTH_MASK);
desc              505 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, MSRC_ADDR_SHIFT, MSRC_ADDR_MASK);
desc              507 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              512 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              514 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, DST_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              515 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length, DST_LENGTH_SHIFT, DST_LENGTH_MASK);
desc              516 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, DST_ADDR_SHIFT, DST_ADDR_MASK);
desc              518 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              523 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              525 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, MDST_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              526 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length_div_16, MDST_LENGTH_SHIFT, MDST_LENGTH_MASK);
desc              527 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, MDST_ADDR_SHIFT, MDST_ADDR_MASK);
desc              529 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              534 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              536 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, IMM_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              537 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, data, IMM_DATA_SHIFT, IMM_DATA_MASK);
desc              539 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              544 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              546 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, SRCT_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              547 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length, SRCT_LENGTH_SHIFT, SRCT_LENGTH_MASK);
desc              548 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, SRCT_ADDR_SHIFT, SRCT_ADDR_MASK);
desc              550 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              555 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              557 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, DSTT_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              558 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, length, DSTT_LENGTH_SHIFT, DSTT_LENGTH_MASK);
desc              559 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, addr, DSTT_ADDR_SHIFT, DSTT_ADDR_MASK);
desc              561 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc              566 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc = 0;
desc              568 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, IMMT_TYPE, DESC_TYPE_SHIFT, DESC_TYPE_MASK);
desc              569 drivers/mailbox/bcm-flexrm-mailbox.c 	DESC_ENC(desc, data, IMMT_DATA_SHIFT, IMMT_DATA_MASK);
desc              571 drivers/mailbox/bcm-flexrm-mailbox.c 	return desc;
desc             1086 drivers/mailbox/bcm-flexrm-mailbox.c 	u64 desc;
desc             1114 drivers/mailbox/bcm-flexrm-mailbox.c 		desc = *((u64 *)(ring->cmpl_base + cmpl_read_offset));
desc             1122 drivers/mailbox/bcm-flexrm-mailbox.c 		err = flexrm_cmpl_desc_to_error(desc);
desc             1126 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num, (unsigned long)desc, err);
desc             1130 drivers/mailbox/bcm-flexrm-mailbox.c 		reqid = flexrm_cmpl_desc_to_reqid(desc);
desc             1137 drivers/mailbox/bcm-flexrm-mailbox.c 			ring->num, (unsigned long)desc);
desc             1483 drivers/mailbox/bcm-flexrm-mailbox.c static void flexrm_mbox_msi_write(struct msi_desc *desc, struct msi_msg *msg)
desc             1485 drivers/mailbox/bcm-flexrm-mailbox.c 	struct device *dev = msi_desc_to_dev(desc);
desc             1487 drivers/mailbox/bcm-flexrm-mailbox.c 	struct flexrm_ring *ring = &mbox->rings[desc->platform.msi_index];
desc             1500 drivers/mailbox/bcm-flexrm-mailbox.c 	struct msi_desc *desc;
desc             1611 drivers/mailbox/bcm-flexrm-mailbox.c 	for_each_msi_entry(desc, dev) {
desc             1612 drivers/mailbox/bcm-flexrm-mailbox.c 		ring = &mbox->rings[desc->platform.msi_index];
desc             1613 drivers/mailbox/bcm-flexrm-mailbox.c 		ring->irq = desc->irq;
desc              134 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc;
desc              208 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc;
desc              226 drivers/mailbox/ti-msgmgr.c 	desc = inst->desc;
desc              227 drivers/mailbox/ti-msgmgr.c 	if (ti_msgmgr_queue_is_error(desc, qinst)) {
desc              233 drivers/mailbox/ti-msgmgr.c 	msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst);
desc              246 drivers/mailbox/ti-msgmgr.c 	message.len = desc->max_message_size;
desc              264 drivers/mailbox/ti-msgmgr.c 	     num_words = (desc->max_message_size / sizeof(u32));
desc              290 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc = inst->desc;
desc              296 drivers/mailbox/ti-msgmgr.c 	if (ti_msgmgr_queue_is_error(desc, qinst)) {
desc              301 drivers/mailbox/ti-msgmgr.c 	msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst);
desc              317 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc = inst->desc;
desc              323 drivers/mailbox/ti-msgmgr.c 	if (ti_msgmgr_queue_is_error(desc, qinst)) {
desc              328 drivers/mailbox/ti-msgmgr.c 	msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst);
desc              330 drivers/mailbox/ti-msgmgr.c 	if (desc->is_sproxy) {
desc              350 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc;
desc              361 drivers/mailbox/ti-msgmgr.c 	desc = inst->desc;
desc              363 drivers/mailbox/ti-msgmgr.c 	if (ti_msgmgr_queue_is_error(desc, qinst)) {
desc              368 drivers/mailbox/ti-msgmgr.c 	if (desc->max_message_size < message->len) {
desc              370 drivers/mailbox/ti-msgmgr.c 			qinst->name, message->len, desc->max_message_size);
desc              458 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *d = inst->desc;
desc              530 drivers/mailbox/ti-msgmgr.c 	d = inst->desc;
desc              712 drivers/mailbox/ti-msgmgr.c 	const struct ti_msgmgr_desc *desc;
desc              733 drivers/mailbox/ti-msgmgr.c 	desc = of_id->data;
desc              740 drivers/mailbox/ti-msgmgr.c 	inst->desc = desc;
desc              743 drivers/mailbox/ti-msgmgr.c 					   desc->data_region_name);
desc              749 drivers/mailbox/ti-msgmgr.c 					   desc->status_region_name);
desc              754 drivers/mailbox/ti-msgmgr.c 	if (desc->is_sproxy) {
desc              756 drivers/mailbox/ti-msgmgr.c 						   desc->ctrl_region_name);
desc              765 drivers/mailbox/ti-msgmgr.c 	queue_count = desc->num_valid_queues;
desc              766 drivers/mailbox/ti-msgmgr.c 	if (!queue_count || queue_count > desc->queue_count) {
desc              768 drivers/mailbox/ti-msgmgr.c 			 queue_count, desc->queue_count);
desc              783 drivers/mailbox/ti-msgmgr.c 	if (desc->is_sproxy) {
desc              791 drivers/mailbox/ti-msgmgr.c 						    desc, &sproxy_desc, qinst,
desc              798 drivers/mailbox/ti-msgmgr.c 		for (i = 0, queue_desc = desc->valid_queues;
desc              801 drivers/mailbox/ti-msgmgr.c 						    desc, queue_desc, qinst,
desc              814 drivers/mailbox/ti-msgmgr.c 	mbox->txdone_poll = desc->tx_polled;
desc              815 drivers/mailbox/ti-msgmgr.c 	if (desc->tx_polled)
desc              816 drivers/mailbox/ti-msgmgr.c 		mbox->txpoll_period = desc->tx_poll_timeout_ms;
desc              458 drivers/md/dm-crypt.c 	SHASH_DESC_ON_STACK(desc, lmk->hash_tfm);
desc              463 drivers/md/dm-crypt.c 	desc->tfm = lmk->hash_tfm;
desc              465 drivers/md/dm-crypt.c 	r = crypto_shash_init(desc);
desc              470 drivers/md/dm-crypt.c 		r = crypto_shash_update(desc, lmk->seed, LMK_SEED_SIZE);
desc              476 drivers/md/dm-crypt.c 	r = crypto_shash_update(desc, data + 16, 16 * 31);
desc              485 drivers/md/dm-crypt.c 	r = crypto_shash_update(desc, (u8 *)buf, sizeof(buf));
desc              490 drivers/md/dm-crypt.c 	r = crypto_shash_export(desc, &md5state);
desc              616 drivers/md/dm-crypt.c 	SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm);
desc              624 drivers/md/dm-crypt.c 	desc->tfm = tcw->crc32_tfm;
desc              626 drivers/md/dm-crypt.c 		r = crypto_shash_init(desc);
desc              629 drivers/md/dm-crypt.c 		r = crypto_shash_update(desc, &buf[i * 4], 4);
desc              632 drivers/md/dm-crypt.c 		r = crypto_shash_final(desc, &buf[i * 4]);
desc              702 drivers/md/dm-integrity.c 	SHASH_DESC_ON_STACK(desc, ic->journal_mac);
desc              706 drivers/md/dm-integrity.c 	desc->tfm = ic->journal_mac;
desc              708 drivers/md/dm-integrity.c 	r = crypto_shash_init(desc);
desc              716 drivers/md/dm-integrity.c 		r = crypto_shash_update(desc, (__u8 *)&je->u.sector, sizeof je->u.sector);
desc              726 drivers/md/dm-integrity.c 		r = crypto_shash_final(desc, result);
desc              739 drivers/md/dm-integrity.c 		r = crypto_shash_final(desc, digest);
desc             1214 drivers/md/md.c 	mdp_disk_t *desc;
desc             1311 drivers/md/md.c 		desc = sb->disks + rdev->desc_nr;
desc             1313 drivers/md/md.c 		if (desc->state & (1<<MD_DISK_FAULTY))
desc             1315 drivers/md/md.c 		else if (desc->state & (1<<MD_DISK_SYNC) /* &&
desc             1318 drivers/md/md.c 			rdev->raid_disk = desc->raid_disk;
desc             1319 drivers/md/md.c 			rdev->saved_raid_disk = desc->raid_disk;
desc             1320 drivers/md/md.c 		} else if (desc->state & (1<<MD_DISK_ACTIVE)) {
desc             1326 drivers/md/md.c 				rdev->raid_disk = desc->raid_disk;
desc             1329 drivers/md/md.c 		if (desc->state & (1<<MD_DISK_WRITEMOSTLY))
desc             1331 drivers/md/md.c 		if (desc->state & (1<<MD_DISK_FAILFAST))
desc             8415 drivers/md/md.c 	char *desc, *action = NULL;
desc             8444 drivers/md/md.c 			desc = "data-check";
desc             8447 drivers/md/md.c 			desc = "requested-resync";
desc             8450 drivers/md/md.c 			desc = "resync";
desc             8452 drivers/md/md.c 		desc = "reshape";
desc             8454 drivers/md/md.c 		desc = "recovery";
desc             8456 drivers/md/md.c 	mddev->last_sync_action = action ?: desc;
desc             8508 drivers/md/md.c 							desc, mdname(mddev),
desc             8574 drivers/md/md.c 	pr_info("md: %s of RAID array %s\n", desc, mdname(mddev));
desc             8577 drivers/md/md.c 		 speed_max(mddev), desc);
desc             8602 drivers/md/md.c 			 desc, mdname(mddev));
desc             8729 drivers/md/md.c 	pr_info("md: %s: %s %s.\n",mdname(mddev), desc,
desc             8752 drivers/md/md.c 						 desc, mdname(mddev));
desc              600 drivers/media/dvb-frontends/dvb-pll.c 	const struct dvb_pll_desc *desc = priv->pll_desc;
desc              604 drivers/media/dvb-frontends/dvb-pll.c 	for (i = 0; i < desc->count; i++) {
desc              605 drivers/media/dvb-frontends/dvb-pll.c 		if (frequency > desc->entries[i].limit)
desc              611 drivers/media/dvb-frontends/dvb-pll.c 		dprintk("pll: %s: freq=%d | i=%d/%d\n", desc->name,
desc              612 drivers/media/dvb-frontends/dvb-pll.c 		       frequency, i, desc->count);
desc              613 drivers/media/dvb-frontends/dvb-pll.c 	if (i == desc->count)
desc              616 drivers/media/dvb-frontends/dvb-pll.c 	div = (frequency + desc->iffreq +
desc              617 drivers/media/dvb-frontends/dvb-pll.c 	       desc->entries[i].stepsize/2) / desc->entries[i].stepsize;
desc              620 drivers/media/dvb-frontends/dvb-pll.c 	buf[2] = desc->entries[i].config;
desc              621 drivers/media/dvb-frontends/dvb-pll.c 	buf[3] = desc->entries[i].cb;
desc              623 drivers/media/dvb-frontends/dvb-pll.c 	if (desc->set)
desc              624 drivers/media/dvb-frontends/dvb-pll.c 		desc->set(fe, buf);
desc              628 drivers/media/dvb-frontends/dvb-pll.c 		       desc->name, div, buf[0], buf[1], buf[2], buf[3]);
desc              631 drivers/media/dvb-frontends/dvb-pll.c 	return (div * desc->entries[i].stepsize) - desc->iffreq;
desc              789 drivers/media/dvb-frontends/dvb-pll.c 	const struct dvb_pll_desc *desc;
desc              810 drivers/media/dvb-frontends/dvb-pll.c 	desc = pll_list[pll_desc_id];
desc              829 drivers/media/dvb-frontends/dvb-pll.c 	priv->pll_desc = desc;
desc              835 drivers/media/dvb-frontends/dvb-pll.c 	strscpy(fe->ops.tuner_ops.info.name, desc->name,
desc              838 drivers/media/dvb-frontends/dvb-pll.c 	fe->ops.tuner_ops.info.frequency_min_hz = desc->min;
desc              839 drivers/media/dvb-frontends/dvb-pll.c 	fe->ops.tuner_ops.info.frequency_max_hz = desc->max;
desc              842 drivers/media/dvb-frontends/dvb-pll.c 		desc->name, desc->min, desc->max);
desc              844 drivers/media/dvb-frontends/dvb-pll.c 	if (!desc->initdata)
desc              846 drivers/media/dvb-frontends/dvb-pll.c 	if (!desc->sleepdata)
desc              855 drivers/media/dvb-frontends/dvb-pll.c 		pr_cont(": id# %d (%s) attached, %s\n", pll_desc_id, desc->name,
desc              506 drivers/media/i2c/adv7511-v4l2.c 	const char *desc;
desc              535 drivers/media/i2c/adv7511-v4l2.c 		v4l2_info(sd, "%s infoframe not transmitted\n", cri->desc);
desc              544 drivers/media/i2c/adv7511-v4l2.c 		v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len);
desc              559 drivers/media/i2c/adv7511-v4l2.c 		v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc);
desc               96 drivers/media/i2c/adv7604.c 	const char *desc;
desc             2427 drivers/media/i2c/adv7604.c 			  adv76xx_cri[index].desc);
desc             2439 drivers/media/i2c/adv7604.c 			 adv76xx_cri[index].desc, len);
desc             2449 drivers/media/i2c/adv7604.c 			 adv76xx_cri[index].desc);
desc             2544 drivers/media/i2c/adv7842.c 	const char *desc;
desc             2560 drivers/media/i2c/adv7842.c 		v4l2_info(sd, "%s infoframe not received\n", cri->desc);
desc             2570 drivers/media/i2c/adv7842.c 		v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len);
desc             2578 drivers/media/i2c/adv7842.c 		v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc);
desc             3379 drivers/media/i2c/adv7842.c static struct i2c_client *adv7842_dummy_client(struct v4l2_subdev *sd, const char *desc,
desc             3388 drivers/media/i2c/adv7842.c 		v4l2_err(sd, "no %s i2c addr configured\n", desc);
desc             3395 drivers/media/i2c/adv7842.c 			 desc, addr, PTR_ERR(cp));
desc               92 drivers/media/i2c/smiapp/smiapp-core.c 		u32 desc;
desc              101 drivers/media/i2c/smiapp/smiapp-core.c 			rval = smiapp_read(sensor, reg,	&desc);
desc              106 drivers/media/i2c/smiapp/smiapp-core.c 				(desc
desc              109 drivers/media/i2c/smiapp/smiapp-core.c 			pixels = desc & SMIAPP_FRAME_FORMAT_DESC_2_PIXELS_MASK;
desc              113 drivers/media/i2c/smiapp/smiapp-core.c 			rval = smiapp_read(sensor, reg, &desc);
desc              118 drivers/media/i2c/smiapp/smiapp-core.c 				(desc
desc              121 drivers/media/i2c/smiapp/smiapp-core.c 			pixels = desc & SMIAPP_FRAME_FORMAT_DESC_4_PIXELS_MASK;
desc              123 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc;
desc              328 drivers/media/i2c/tvaudio.c 	struct CHIPDESC  *desc = chip->desc;
desc              349 drivers/media/i2c/tvaudio.c 		mode = desc->getrxsubchans(chip);
desc              383 drivers/media/i2c/tvaudio.c 		desc->setaudmode(chip, selected);
desc             1747 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1753 drivers/media/i2c/tvaudio.c 			chip_write_masked(chip,desc->inputreg,desc->inputmute,desc->inputmask);
desc             1755 drivers/media/i2c/tvaudio.c 			chip_write_masked(chip,desc->inputreg,
desc             1756 drivers/media/i2c/tvaudio.c 					desc->inputmap[chip->input],desc->inputmask);
desc             1767 drivers/media/i2c/tvaudio.c 		chip_write(chip, desc->leftreg, desc->volfunc(left));
desc             1768 drivers/media/i2c/tvaudio.c 		chip_write(chip, desc->rightreg, desc->volfunc(right));
desc             1772 drivers/media/i2c/tvaudio.c 		chip_write(chip, desc->bassreg, desc->bassfunc(ctrl->val));
desc             1775 drivers/media/i2c/tvaudio.c 		chip_write(chip, desc->treblereg, desc->treblefunc(ctrl->val));
desc             1798 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1800 drivers/media/i2c/tvaudio.c 	if (!(desc->flags & CHIP_HAS_INPUTSEL))
desc             1808 drivers/media/i2c/tvaudio.c 	chip_write_masked(chip, desc->inputreg,
desc             1809 drivers/media/i2c/tvaudio.c 			desc->inputmap[chip->input], desc->inputmask);
desc             1816 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1818 drivers/media/i2c/tvaudio.c 	if (!desc->setaudmode)
desc             1838 drivers/media/i2c/tvaudio.c 		desc->setaudmode(chip, vt->audmode);
desc             1846 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1848 drivers/media/i2c/tvaudio.c 	if (!desc->getrxsubchans)
desc             1854 drivers/media/i2c/tvaudio.c 	vt->rxsubchans = desc->getrxsubchans(chip);
desc             1872 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1883 drivers/media/i2c/tvaudio.c 		desc->setaudmode(chip, V4L2_TUNER_MODE_MONO);
desc             1893 drivers/media/i2c/tvaudio.c 	struct CHIPDESC *desc = chip->desc;
desc             1895 drivers/media/i2c/tvaudio.c 	v4l2_info(sd, "Chip: %s\n", desc->name);
desc             1940 drivers/media/i2c/tvaudio.c 	struct CHIPDESC  *desc;
desc             1946 drivers/media/i2c/tvaudio.c 		for (desc = chiplist; desc->name != NULL; desc++)
desc             1948 drivers/media/i2c/tvaudio.c 			       (desc == chiplist) ? "" : ", ", desc->name);
desc             1960 drivers/media/i2c/tvaudio.c 	for (desc = chiplist; desc->name != NULL; desc++) {
desc             1961 drivers/media/i2c/tvaudio.c 		if (0 == *(desc->insmodopt))
desc             1963 drivers/media/i2c/tvaudio.c 		if (client->addr < desc->addr_lo ||
desc             1964 drivers/media/i2c/tvaudio.c 		    client->addr > desc->addr_hi)
desc             1966 drivers/media/i2c/tvaudio.c 		if (desc->checkit && !desc->checkit(chip))
desc             1970 drivers/media/i2c/tvaudio.c 	if (desc->name == NULL) {
desc             1974 drivers/media/i2c/tvaudio.c 	v4l2_info(sd, "%s found @ 0x%x (%s)\n", desc->name, client->addr<<1, client->adapter->name);
desc             1975 drivers/media/i2c/tvaudio.c 	if (desc->flags) {
desc             1977 drivers/media/i2c/tvaudio.c 			(desc->flags & CHIP_HAS_VOLUME)     ? " volume"      : "",
desc             1978 drivers/media/i2c/tvaudio.c 			(desc->flags & CHIP_HAS_BASSTREBLE) ? " bass/treble" : "",
desc             1979 drivers/media/i2c/tvaudio.c 			(desc->flags & CHIP_HAS_INPUTSEL)   ? " audiomux"    : "");
desc             1984 drivers/media/i2c/tvaudio.c 		strscpy(client->name, desc->name, I2C_NAME_SIZE);
desc             1985 drivers/media/i2c/tvaudio.c 	chip->desc = desc;
desc             1986 drivers/media/i2c/tvaudio.c 	chip->shadow.count = desc->registers+1;
desc             1991 drivers/media/i2c/tvaudio.c 	if (desc->initialize != NULL)
desc             1992 drivers/media/i2c/tvaudio.c 		desc->initialize(chip);
desc             1994 drivers/media/i2c/tvaudio.c 		chip_cmd(chip, "init", &desc->init);
desc             1997 drivers/media/i2c/tvaudio.c 	if (desc->flags & CHIP_HAS_INPUTSEL)
desc             2000 drivers/media/i2c/tvaudio.c 	if (desc->flags & CHIP_HAS_VOLUME) {
desc             2001 drivers/media/i2c/tvaudio.c 		if (!desc->volfunc) {
desc             2006 drivers/media/i2c/tvaudio.c 			desc->flags &= ~CHIP_HAS_VOLUME;
desc             2011 drivers/media/i2c/tvaudio.c 				desc->volinit ? desc->volinit : 65535);
desc             2018 drivers/media/i2c/tvaudio.c 	if (desc->flags & CHIP_HAS_BASSTREBLE) {
desc             2019 drivers/media/i2c/tvaudio.c 		if (!desc->bassfunc || !desc->treblefunc) {
desc             2024 drivers/media/i2c/tvaudio.c 			desc->flags &= ~CHIP_HAS_BASSTREBLE;
desc             2029 drivers/media/i2c/tvaudio.c 				desc->bassinit ? desc->bassinit : 32768);
desc             2033 drivers/media/i2c/tvaudio.c 				desc->trebleinit ? desc->trebleinit : 32768);
desc             2049 drivers/media/i2c/tvaudio.c 	if (desc->flags & CHIP_NEED_CHECKMODE) {
desc             2050 drivers/media/i2c/tvaudio.c 		if (!desc->getrxsubchans || !desc->setaudmode) {
desc              587 drivers/media/i2c/tw9910.c static void tw9910_set_gpio_value(struct gpio_desc *desc, int value)
desc              589 drivers/media/i2c/tw9910.c 	if (desc) {
desc              590 drivers/media/i2c/tw9910.c 		gpiod_set_value(desc, value);
desc               96 drivers/media/pci/cobalt/cobalt-omnitek.c void omni_sg_dma_start(struct cobalt_stream *s, struct sg_dma_desc_info *desc)
desc              100 drivers/media/pci/cobalt/cobalt-omnitek.c 	iowrite32((u32)((u64)desc->bus >> 32), DESCRIPTOR(s->dma_channel) + 4);
desc              101 drivers/media/pci/cobalt/cobalt-omnitek.c 	iowrite32((u32)desc->bus & NEXT_ADRS_MSK, DESCRIPTOR(s->dma_channel));
desc              152 drivers/media/pci/cobalt/cobalt-omnitek.c 		struct sg_dma_desc_info *desc)
desc              154 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = (struct sg_dma_descriptor *)desc->virt;
desc              155 drivers/media/pci/cobalt/cobalt-omnitek.c 	dma_addr_t next = desc->bus;
desc              256 drivers/media/pci/cobalt/cobalt-omnitek.c 			d->next_h = (u32)((u64)desc->bus >> 32);
desc              257 drivers/media/pci/cobalt/cobalt-omnitek.c 			d->next_l = (u32)desc->bus |
desc              261 drivers/media/pci/cobalt/cobalt-omnitek.c 			desc->last_desc_virt = d;
desc              286 drivers/media/pci/cobalt/cobalt-omnitek.c void *descriptor_list_allocate(struct sg_dma_desc_info *desc, size_t bytes)
desc              288 drivers/media/pci/cobalt/cobalt-omnitek.c 	desc->size = bytes;
desc              289 drivers/media/pci/cobalt/cobalt-omnitek.c 	desc->virt = dma_alloc_coherent(desc->dev, bytes,
desc              290 drivers/media/pci/cobalt/cobalt-omnitek.c 					&desc->bus, GFP_KERNEL);
desc              291 drivers/media/pci/cobalt/cobalt-omnitek.c 	return desc->virt;
desc              294 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_free(struct sg_dma_desc_info *desc)
desc              296 drivers/media/pci/cobalt/cobalt-omnitek.c 	if (desc->virt)
desc              297 drivers/media/pci/cobalt/cobalt-omnitek.c 		dma_free_coherent(desc->dev, desc->size,
desc              298 drivers/media/pci/cobalt/cobalt-omnitek.c 				  desc->virt, desc->bus);
desc              299 drivers/media/pci/cobalt/cobalt-omnitek.c 	desc->virt = NULL;
desc              302 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_interrupt_enable(struct sg_dma_desc_info *desc)
desc              304 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = desc->last_desc_virt;
desc              309 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_interrupt_disable(struct sg_dma_desc_info *desc)
desc              311 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = desc->last_desc_virt;
desc              316 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_loopback(struct sg_dma_desc_info *desc)
desc              318 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = desc->last_desc_virt;
desc              320 drivers/media/pci/cobalt/cobalt-omnitek.c 	d->next_h = (u32)((u64)desc->bus >> 32);
desc              321 drivers/media/pci/cobalt/cobalt-omnitek.c 	d->next_l = (u32)desc->bus | (d->next_l & DESCRIPTOR_FLAG_MSK);
desc              324 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_end_of_chain(struct sg_dma_desc_info *desc)
desc              326 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = desc->last_desc_virt;
desc               31 drivers/media/pci/cobalt/cobalt-omnitek.h void omni_sg_dma_start(struct cobalt_stream *s, struct sg_dma_desc_info *desc);
desc               37 drivers/media/pci/cobalt/cobalt-omnitek.h 	struct sg_dma_desc_info *desc);
desc               41 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_loopback(struct sg_dma_desc_info *desc);
desc               42 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_end_of_chain(struct sg_dma_desc_info *desc);
desc               44 drivers/media/pci/cobalt/cobalt-omnitek.h void *descriptor_list_allocate(struct sg_dma_desc_info *desc, size_t bytes);
desc               45 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_free(struct sg_dma_desc_info *desc);
desc               47 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_interrupt_enable(struct sg_dma_desc_info *desc);
desc               48 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_interrupt_disable(struct sg_dma_desc_info *desc);
desc               61 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index];
desc               73 drivers/media/pci/cobalt/cobalt-v4l2.c 	if (desc->virt == NULL) {
desc               74 drivers/media/pci/cobalt/cobalt-v4l2.c 		desc->dev = &cobalt->pci_dev->dev;
desc               75 drivers/media/pci/cobalt/cobalt-v4l2.c 		descriptor_list_allocate(desc,
desc               77 drivers/media/pci/cobalt/cobalt-v4l2.c 		if (desc->virt == NULL)
desc               82 drivers/media/pci/cobalt/cobalt-v4l2.c 			s->width * s->bpp, s->stride, desc);
desc               84 drivers/media/pci/cobalt/cobalt-v4l2.c 		descriptor_list_free(desc);
desc               91 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index];
desc               93 drivers/media/pci/cobalt/cobalt-v4l2.c 	descriptor_list_free(desc);
desc              108 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct sg_dma_desc_info *desc[NR_BUFS];
desc              115 drivers/media/pci/cobalt/cobalt-v4l2.c 		desc[i] = &s->dma_desc_info[cb->vb.vb2_buf.index];
desc              117 drivers/media/pci/cobalt/cobalt-v4l2.c 			descriptor_list_chain(desc[i-1], desc[i]);
desc              128 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index];
desc              132 drivers/media/pci/cobalt/cobalt-v4l2.c 	descriptor_list_loopback(desc);
desc              133 drivers/media/pci/cobalt/cobalt-v4l2.c 	descriptor_list_interrupt_disable(desc);
desc              349 drivers/media/pci/cobalt/cobalt-v4l2.c 	struct sg_dma_desc_info *desc;
desc              372 drivers/media/pci/cobalt/cobalt-v4l2.c 		desc = &s->dma_desc_info[cb->vb.vb2_buf.index];
desc              374 drivers/media/pci/cobalt/cobalt-v4l2.c 		descriptor_list_end_of_chain(desc);
desc               56 drivers/media/pci/solo6x10/solo6x10-p2m.c 		      struct solo_p2m_desc *desc, dma_addr_t desc_dma,
desc               90 drivers/media/pci/solo6x10/solo6x10-p2m.c 		p2m_dev->descs = desc;
desc               93 drivers/media/pci/solo6x10/solo6x10-p2m.c 			       desc[1].dma_addr);
desc               95 drivers/media/pci/solo6x10/solo6x10-p2m.c 			       desc[1].ext_addr);
desc               97 drivers/media/pci/solo6x10/solo6x10-p2m.c 			       desc[1].cfg);
desc               99 drivers/media/pci/solo6x10/solo6x10-p2m.c 			       desc[1].ctrl);
desc              124 drivers/media/pci/solo6x10/solo6x10-p2m.c void solo_p2m_fill_desc(struct solo_p2m_desc *desc, int wr,
desc              131 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc->cfg = SOLO_P2M_COPY_SIZE(size >> 2);
desc              132 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc->ctrl = SOLO_P2M_BURST_SIZE(SOLO_P2M_BURST_256) |
desc              136 drivers/media/pci/solo6x10/solo6x10-p2m.c 		desc->cfg |= SOLO_P2M_EXT_INC(ext_size >> 2);
desc              137 drivers/media/pci/solo6x10/solo6x10-p2m.c 		desc->ctrl |=  SOLO_P2M_PCI_INC(size >> 2) |
desc              141 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc->dma_addr = dma_addr;
desc              142 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc->ext_addr = ext_addr;
desc              149 drivers/media/pci/solo6x10/solo6x10-p2m.c 	struct solo_p2m_desc desc[2];
desc              151 drivers/media/pci/solo6x10/solo6x10-p2m.c 	solo_p2m_fill_desc(&desc[1], wr, dma_addr, ext_addr, size, repeat,
desc              155 drivers/media/pci/solo6x10/solo6x10-p2m.c 	return solo_p2m_dma_desc(solo_dev, desc, 0, 1);
desc              161 drivers/media/pci/solo6x10/solo6x10-p2m.c 	struct solo_p2m_desc *desc;
desc              170 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc = &p2m_dev->descs[p2m_dev->desc_idx];
desc              173 drivers/media/pci/solo6x10/solo6x10-p2m.c 	solo_reg_write(solo_dev, SOLO_P2M_TAR_ADR(id), desc->dma_addr);
desc              174 drivers/media/pci/solo6x10/solo6x10-p2m.c 	solo_reg_write(solo_dev, SOLO_P2M_EXT_ADR(id), desc->ext_addr);
desc              175 drivers/media/pci/solo6x10/solo6x10-p2m.c 	solo_reg_write(solo_dev, SOLO_P2M_EXT_CFG(id), desc->cfg);
desc              176 drivers/media/pci/solo6x10/solo6x10-p2m.c 	solo_reg_write(solo_dev, SOLO_P2M_CONTROL(id), desc->ctrl);
desc              323 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		struct solo_p2m_desc *desc;
desc              328 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 		desc = &solo_enc->desc_items[solo_enc->desc_count++];
desc              345 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 			solo_p2m_fill_desc(desc, 0, dma, base + off,
desc              347 drivers/media/pci/solo6x10/solo6x10.h void solo_p2m_fill_desc(struct solo_p2m_desc *desc, int wr,
desc              351 drivers/media/pci/solo6x10/solo6x10.h 		      struct solo_p2m_desc *desc, dma_addr_t desc_dma,
desc               41 drivers/media/pci/tw686x/tw686x-audio.c 		struct tw686x_dma_desc *desc;
desc               68 drivers/media/pci/tw686x/tw686x-audio.c 		desc = &ac->dma_descs[pb];
desc               69 drivers/media/pci/tw686x/tw686x-audio.c 		if (desc->virt) {
desc               70 drivers/media/pci/tw686x/tw686x-audio.c 			memcpy(done->virt, desc->virt,
desc               52 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
desc               65 drivers/media/pci/tw686x/tw686x-video.c 			memcpy(vb2_plane_vaddr(vb2_buf, 0), desc->virt,
desc               66 drivers/media/pci/tw686x/tw686x-video.c 			       desc->size);
desc               80 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
desc               94 drivers/media/pci/tw686x/tw686x-video.c 	if (desc->virt) {
desc               95 drivers/media/pci/tw686x/tw686x-video.c 		pci_free_consistent(dev->pci_dev, desc->size,
desc               96 drivers/media/pci/tw686x/tw686x-video.c 				    desc->virt, desc->phys);
desc               97 drivers/media/pci/tw686x/tw686x-video.c 		desc->virt = NULL;
desc              257 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
desc              260 drivers/media/pci/tw686x/tw686x-video.c 	if (desc->size) {
desc              261 drivers/media/pci/tw686x/tw686x-video.c 		pci_free_consistent(dev->pci_dev, desc->size,
desc              262 drivers/media/pci/tw686x/tw686x-video.c 				    desc->virt, desc->phys);
desc              263 drivers/media/pci/tw686x/tw686x-video.c 		desc->virt = NULL;
desc              272 drivers/media/pci/tw686x/tw686x-video.c 	struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
desc              278 drivers/media/pci/tw686x/tw686x-video.c 	if (desc->size) {
desc              280 drivers/media/pci/tw686x/tw686x-video.c 		virt = pci_alloc_consistent(dev->pci_dev, desc->size,
desc              281 drivers/media/pci/tw686x/tw686x-video.c 					    &desc->phys);
desc              288 drivers/media/pci/tw686x/tw686x-video.c 		desc->virt = virt;
desc              289 drivers/media/pci/tw686x/tw686x-video.c 		reg_write(dev, reg, desc->phys);
desc              312 drivers/media/platform/atmel/atmel-isi.c 	struct isi_dma_desc *desc;
desc              330 drivers/media/platform/atmel/atmel-isi.c 			desc = list_entry(isi->dma_desc_head.next,
desc              333 drivers/media/platform/atmel/atmel-isi.c 			list_del_init(&desc->list);
desc              336 drivers/media/platform/atmel/atmel-isi.c 			desc->p_fbd->fb_address =
desc              338 drivers/media/platform/atmel/atmel-isi.c 			desc->p_fbd->next_fbd_address = 0;
desc              339 drivers/media/platform/atmel/atmel-isi.c 			set_dma_ctrl(desc->p_fbd, ISI_DMA_CTRL_WB);
desc              341 drivers/media/platform/atmel/atmel-isi.c 			buf->p_dma_desc = desc;
desc              134 drivers/media/platform/coda/coda-jpeg.c 				const struct coda_memcpy_desc *desc)
desc              136 drivers/media/platform/coda/coda-jpeg.c 	u32 *dst = parabuf + desc->offset;
desc              137 drivers/media/platform/coda/coda-jpeg.c 	const u32 *src = desc->src;
desc              138 drivers/media/platform/coda/coda-jpeg.c 	int len = desc->len / 4;
desc             1256 drivers/media/platform/marvell-ccic/mcam-core.c 	struct mcam_dma_desc *desc = mvb->dma_desc;
desc             1261 drivers/media/platform/marvell-ccic/mcam-core.c 		desc->dma_addr = sg_dma_address(sg);
desc             1262 drivers/media/platform/marvell-ccic/mcam-core.c 		desc->segment_len = sg_dma_len(sg);
desc             1263 drivers/media/platform/marvell-ccic/mcam-core.c 		desc++;
desc              325 drivers/media/platform/qcom/venus/hfi_venus.c static int venus_alloc(struct venus_hfi_device *hdev, struct mem_desc *desc,
desc              330 drivers/media/platform/qcom/venus/hfi_venus.c 	desc->attrs = DMA_ATTR_WRITE_COMBINE;
desc              331 drivers/media/platform/qcom/venus/hfi_venus.c 	desc->size = ALIGN(size, SZ_4K);
desc              333 drivers/media/platform/qcom/venus/hfi_venus.c 	desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL,
desc              334 drivers/media/platform/qcom/venus/hfi_venus.c 				    desc->attrs);
desc              335 drivers/media/platform/qcom/venus/hfi_venus.c 	if (!desc->kva)
desc              708 drivers/media/platform/qcom/venus/hfi_venus.c 	struct mem_desc desc = {0};
desc              713 drivers/media/platform/qcom/venus/hfi_venus.c 	ret = venus_alloc(hdev, &desc, ALIGNED_QUEUE_SIZE);
desc              717 drivers/media/platform/qcom/venus/hfi_venus.c 	hdev->ifaceq_table = desc;
desc              722 drivers/media/platform/qcom/venus/hfi_venus.c 		queue->qmem.da = desc.da + offset;
desc              723 drivers/media/platform/qcom/venus/hfi_venus.c 		queue->qmem.kva = desc.kva + offset;
desc              756 drivers/media/platform/qcom/venus/hfi_venus.c 	ret = venus_alloc(hdev, &desc, ALIGNED_SFR_SIZE);
desc              760 drivers/media/platform/qcom/venus/hfi_venus.c 		hdev->sfr = desc;
desc              307 drivers/media/platform/stm32/stm32-dcmi.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              334 drivers/media/platform/stm32/stm32-dcmi.c 	desc = dmaengine_prep_slave_single(dcmi->dma_chan, buf->paddr,
desc              338 drivers/media/platform/stm32/stm32-dcmi.c 	if (!desc) {
desc              346 drivers/media/platform/stm32/stm32-dcmi.c 	desc->callback = dcmi_dma_callback;
desc              347 drivers/media/platform/stm32/stm32-dcmi.c 	desc->callback_param = dcmi;
desc              350 drivers/media/platform/stm32/stm32-dcmi.c 	dcmi->dma_cookie = dmaengine_submit(desc);
desc              348 drivers/media/platform/xilinx/xilinx-dma.c 	struct dma_async_tx_descriptor *desc;
desc              371 drivers/media/platform/xilinx/xilinx-dma.c 	desc = dmaengine_prep_interleaved_dma(dma->dma, &dma->xt, flags);
desc              372 drivers/media/platform/xilinx/xilinx-dma.c 	if (!desc) {
desc              377 drivers/media/platform/xilinx/xilinx-dma.c 	desc->callback = xvip_dma_complete;
desc              378 drivers/media/platform/xilinx/xilinx-dma.c 	desc->callback_param = buf;
desc              384 drivers/media/platform/xilinx/xilinx-dma.c 	dmaengine_submit(desc);
desc              598 drivers/media/radio/si470x/radio-si470x-usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              599 drivers/media/radio/si470x/radio-si470x-usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              158 drivers/media/rc/ati_remote.c 		if (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP) {
desc              822 drivers/media/rc/ati_remote.c 	if (iface_host->desc.bNumEndpoints != 2) {
desc              827 drivers/media/rc/ati_remote.c 	endpoint_in = &iface_host->endpoint[0].desc;
desc              828 drivers/media/rc/ati_remote.c 	endpoint_out = &iface_host->endpoint[1].desc;
desc              151 drivers/media/rc/igorplugusb.c 	if (idesc->desc.bNumEndpoints != 1) {
desc              156 drivers/media/rc/igorplugusb.c 	ep = &idesc->endpoint[0].desc;
desc              417 drivers/media/rc/iguanair.c 	if (idesc->desc.bNumEndpoints < 2)
desc              435 drivers/media/rc/iguanair.c 	    !usb_endpoint_is_int_in(&idesc->endpoint[0].desc) ||
desc              436 drivers/media/rc/iguanair.c 	    !usb_endpoint_is_int_out(&idesc->endpoint[1].desc)) {
desc              448 drivers/media/rc/iguanair.c 				idesc->endpoint[1].desc.bEndpointAddress);
desc              454 drivers/media/rc/iguanair.c 	pipein = usb_rcvintpipe(udev, idesc->endpoint[0].desc.bEndpointAddress);
desc             2082 drivers/media/rc/imon.c 	int ifnum = iface_desc->desc.bInterfaceNumber;
desc             2083 drivers/media/rc/imon.c 	int num_endpts = iface_desc->desc.bNumEndpoints;
desc             2095 drivers/media/rc/imon.c 		ep = &iface_desc->endpoint[i].desc;
desc             2372 drivers/media/rc/imon.c 	ifnum      = iface_desc->desc.bInterfaceNumber;
desc             2466 drivers/media/rc/imon.c 	ifnum = interface->cur_altsetting->desc.bInterfaceNumber;
desc             2517 drivers/media/rc/imon.c 	int ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc             2531 drivers/media/rc/imon.c 	int ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc              132 drivers/media/rc/imon_raw.c 	for (i = 0; i < idesc->desc.bNumEndpoints; i++) {
desc              133 drivers/media/rc/imon_raw.c 		struct usb_endpoint_descriptor *ep = &idesc->endpoint[i].desc;
desc             1684 drivers/media/rc/mceusb.c 	if (idesc->desc.bInterfaceNumber != ir_intfnum)
desc             1688 drivers/media/rc/mceusb.c 	for (i = 0; i < idesc->desc.bNumEndpoints; ++i) {
desc             1689 drivers/media/rc/mceusb.c 		ep = &idesc->endpoint[i].desc;
desc              992 drivers/media/rc/redrat3.c 	for (i = 0; i < uhi->desc.bNumEndpoints; ++i) {
desc              993 drivers/media/rc/redrat3.c 		ep = &uhi->endpoint[i].desc;
desc              343 drivers/media/rc/streamzap.c 	if (iface_host->desc.bNumEndpoints != 1) {
desc              345 drivers/media/rc/streamzap.c 			__func__, iface_host->desc.bNumEndpoints);
desc              350 drivers/media/rc/streamzap.c 	sz->endpoint = &(iface_host->endpoint[0].desc);
desc              187 drivers/media/rc/ttusbir.c 	struct usb_endpoint_descriptor *desc;
desc              203 drivers/media/rc/ttusbir.c 		idesc = &intf->altsetting[i].desc;
desc              206 drivers/media/rc/ttusbir.c 			desc = &intf->altsetting[i].endpoint[j].desc;
desc              207 drivers/media/rc/ttusbir.c 			max_packet = le16_to_cpu(desc->wMaxPacketSize);
desc              208 drivers/media/rc/ttusbir.c 			if (usb_endpoint_dir_in(desc) &&
desc              209 drivers/media/rc/ttusbir.c 					usb_endpoint_xfer_isoc(desc) &&
desc              212 drivers/media/rc/ttusbir.c 			else if (usb_endpoint_dir_out(desc) &&
desc              213 drivers/media/rc/ttusbir.c 					usb_endpoint_xfer_bulk(desc) &&
desc              198 drivers/media/rc/xbox_remote.c 	if (iface_host->desc.bNumEndpoints == 0)
desc              201 drivers/media/rc/xbox_remote.c 	if (iface_host->desc.bNumEndpoints != 1) {
desc              203 drivers/media/rc/xbox_remote.c 		       __func__, iface_host->desc.bNumEndpoints);
desc              207 drivers/media/rc/xbox_remote.c 	endpoint_in = &iface_host->endpoint[0].desc;
desc              657 drivers/media/usb/au0828/au0828-core.c 	ifnum = interface->altsetting->desc.bInterfaceNumber;
desc              756 drivers/media/usb/au0828/au0828-video.c 	if (iface && iface->cur_altsetting->desc.bAlternateSetting != 5) {
desc             1911 drivers/media/usb/au0828/au0828-video.c 		interface->cur_altsetting->desc.bInterfaceNumber);
desc             1919 drivers/media/usb/au0828/au0828-video.c 			interface->cur_altsetting->desc.bInterfaceNumber, 5);
desc             1927 drivers/media/usb/au0828/au0828-video.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc             1928 drivers/media/usb/au0828/au0828-video.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              431 drivers/media/usb/b2c2/flexcop-usb.c 		fc_usb->uintf->cur_altsetting->endpoint[0].desc.wMaxPacketSize);
desc              514 drivers/media/usb/b2c2/flexcop-usb.c 	if (fc_usb->uintf->cur_altsetting->desc.bNumEndpoints < 1)
desc              832 drivers/media/usb/cpia2/cpia2_usb.c 	interface = &intf->cur_altsetting->desc;
desc              692 drivers/media/usb/cx231xx/cx231xx-audio.c 	if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) {
desc              698 drivers/media/usb/cx231xx/cx231xx-audio.c 	    uif->altsetting[0].endpoint[isoc_pipe].desc.
desc              714 drivers/media/usb/cx231xx/cx231xx-audio.c 		if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) {
desc              719 drivers/media/usb/cx231xx/cx231xx-audio.c 		tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc.
desc             1569 drivers/media/usb/cx231xx/cx231xx-cards.c 	if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1)
desc             1572 drivers/media/usb/cx231xx/cx231xx-cards.c 	dev->video_mode.end_point_addr = uif->altsetting[0].endpoint[isoc_pipe].desc.bEndpointAddress;
desc             1587 drivers/media/usb/cx231xx/cx231xx-cards.c 		if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1)
desc             1590 drivers/media/usb/cx231xx/cx231xx-cards.c 		tmp = le16_to_cpu(uif->altsetting[i].endpoint[isoc_pipe].desc.wMaxPacketSize);
desc             1607 drivers/media/usb/cx231xx/cx231xx-cards.c 	if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1)
desc             1611 drivers/media/usb/cx231xx/cx231xx-cards.c 	    uif->altsetting[0].endpoint[isoc_pipe].desc.
desc             1628 drivers/media/usb/cx231xx/cx231xx-cards.c 		if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1)
desc             1632 drivers/media/usb/cx231xx/cx231xx-cards.c 				desc.wMaxPacketSize);
desc             1651 drivers/media/usb/cx231xx/cx231xx-cards.c 	if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1)
desc             1655 drivers/media/usb/cx231xx/cx231xx-cards.c 	    uif->altsetting[0].endpoint[isoc_pipe].desc.
desc             1670 drivers/media/usb/cx231xx/cx231xx-cards.c 		if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1)
desc             1674 drivers/media/usb/cx231xx/cx231xx-cards.c 				desc.wMaxPacketSize);
desc             1703 drivers/media/usb/cx231xx/cx231xx-cards.c 	ifnum = interface->altsetting[0].desc.bInterfaceNumber;
desc             1754 drivers/media/usb/cx231xx/cx231xx-cards.c 	dev->max_iad_interface_count = udev->config->desc.bNumInterfaces;
desc             1842 drivers/media/usb/cx231xx/cx231xx-cards.c 		if (uif->altsetting[0].desc.bNumEndpoints < isoc_pipe + 1) {
desc             1849 drivers/media/usb/cx231xx/cx231xx-cards.c 				desc.bEndpointAddress;
desc             1866 drivers/media/usb/cx231xx/cx231xx-cards.c 			if (uif->altsetting[i].desc.bNumEndpoints < isoc_pipe + 1) {
desc             1872 drivers/media/usb/cx231xx/cx231xx-cards.c 						endpoint[isoc_pipe].desc.
desc              898 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 			intf->cur_altsetting->desc.bInterfaceNumber);
desc              919 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 	if (intf->cur_altsetting->desc.bInterfaceNumber !=
desc             1012 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c 			intf->cur_altsetting->desc.bInterfaceNumber);
desc              393 drivers/media/usb/dvb-usb-v2/lmedm04.c 	if (usb_endpoint_type(&ep->desc) == USB_ENDPOINT_XFER_BULK)
desc              954 drivers/media/usb/dvb-usb-v2/lmedm04.c 	const char *desc = d->name;
desc              960 drivers/media/usb/dvb-usb-v2/lmedm04.c 	strscpy(name, desc, 128);
desc               31 drivers/media/usb/dvb-usb/a800.c 	struct dvb_usb_device_description **desc, int *cold)
desc              959 drivers/media/usb/dvb-usb/af9005.c 				 struct dvb_usb_device_description **desc,
desc             1055 drivers/media/usb/dvb-usb/az6027.c 				 struct dvb_usb_device_description **desc,
desc             1365 drivers/media/usb/dvb-usb/cxusb.c 				       struct dvb_usb_device_description **desc,
desc             1375 drivers/media/usb/dvb-usb/cxusb.c 		*desc = NULL;
desc             1559 drivers/media/usb/dvb-usb/cxusb.c 	for (ctr = 0; ctr < as->desc.bNumEndpoints; ctr++) {
desc             1560 drivers/media/usb/dvb-usb/cxusb.c 		if ((as->endpoint[ctr].desc.bEndpointAddress &
desc             1564 drivers/media/usb/dvb-usb/cxusb.c 		if (as->endpoint[ctr].desc.bEndpointAddress & USB_DIR_IN &&
desc             1565 drivers/media/usb/dvb-usb/cxusb.c 		    ((as->endpoint[ctr].desc.bmAttributes &
desc             1586 drivers/media/usb/dvb-usb/cxusb.c 		if (intf->altsetting[ctr].desc.bAlternateSetting != 1)
desc               65 drivers/media/usb/dvb-usb/dib0700.h 			struct dvb_usb_device_description **desc, int *cold);
desc              376 drivers/media/usb/dvb-usb/dib0700_core.c 			struct dvb_usb_device_description **desc, int *cold)
desc              821 drivers/media/usb/dvb-usb/dib0700_core.c 	if (intf->cur_altsetting->desc.bNumEndpoints < rc_ep + 1)
desc              841 drivers/media/usb/dvb-usb/dib0700_core.c 	e = &intf->cur_altsetting->endpoint[rc_ep].desc;
desc              456 drivers/media/usb/dvb-usb/dib0700_devices.c 	struct usb_device_descriptor *desc = &adap->dev->udev->descriptor;
desc              462 drivers/media/usb/dvb-usb/dib0700_devices.c 	if (desc->idVendor  == cpu_to_le16(USB_VID_PINNACLE) &&
desc              463 drivers/media/usb/dvb-usb/dib0700_devices.c 	    desc->idProduct == cpu_to_le16(USB_PID_PINNACLE_EXPRESSCARD_320CX))
desc              139 drivers/media/usb/dvb-usb/dibusb-mc-common.c 		u8 desc;
desc              140 drivers/media/usb/dvb-usb/dibusb-mc-common.c 		dibusb_read_eeprom_byte(adap->dev, 7, &desc);
desc              141 drivers/media/usb/dvb-usb/dibusb-mc-common.c 		if (desc == 2) {
desc              144 drivers/media/usb/dvb-usb/dibusb-mc-common.c 				dibusb_read_eeprom_byte(adap->dev, a, &desc);
desc              146 drivers/media/usb/dvb-usb/dibusb-mc-common.c 			} while (a > 7 && (desc == 0xff || desc == 0x00));
desc              147 drivers/media/usb/dvb-usb/dibusb-mc-common.c 			if (desc & 0x80)
desc              148 drivers/media/usb/dvb-usb/dibusb-mc-common.c 				if1 -= (0xff - desc);
desc              150 drivers/media/usb/dvb-usb/dibusb-mc-common.c 				if1 += desc;
desc               94 drivers/media/usb/dvb-usb/digitv.c 		dvb_usb_device_properties *props, struct dvb_usb_device_description **desc,
desc              110 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	media_device_usb_init(mdev, udev, d->desc->name);
desc              148 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 	int ret = dvb_register_adapter(&adap->dvb_adap, adap->dev->desc->name,
desc              285 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 			    adap->dev->desc->name, adap->id, i);
desc              295 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 					adap->dev->desc->name);
desc               23 drivers/media/usb/dvb-usb/dvb-usb-i2c.c 	strscpy(d->i2c_adap.name, d->desc->name, sizeof(d->i2c_adap.name));
desc              190 drivers/media/usb/dvb-usb/dvb-usb-init.c 	struct dvb_usb_device_description *desc = NULL;
desc              201 drivers/media/usb/dvb-usb/dvb-usb-init.c 				desc = &props->devices[i];
desc              206 drivers/media/usb/dvb-usb/dvb-usb-init.c 		if (desc != NULL)
desc              214 drivers/media/usb/dvb-usb/dvb-usb-init.c 				desc = &props->devices[i];
desc              220 drivers/media/usb/dvb-usb/dvb-usb-init.c 	if (desc != NULL && props->identify_state != NULL)
desc              221 drivers/media/usb/dvb-usb/dvb-usb-init.c 		props->identify_state(udev, props, &desc, cold);
desc              223 drivers/media/usb/dvb-usb/dvb-usb-init.c 	return desc;
desc              251 drivers/media/usb/dvb-usb/dvb-usb-init.c 	struct dvb_usb_device_description *desc = NULL;
desc              258 drivers/media/usb/dvb-usb/dvb-usb-init.c 	if ((desc = dvb_usb_find_device(udev, props, &cold)) == NULL) {
desc              264 drivers/media/usb/dvb-usb/dvb-usb-init.c 		info("found a '%s' in cold state, will try to load a firmware", desc->name);
desc              270 drivers/media/usb/dvb-usb/dvb-usb-init.c 	info("found a '%s' in warm state.", desc->name);
desc              279 drivers/media/usb/dvb-usb/dvb-usb-init.c 	d->desc = desc;
desc              290 drivers/media/usb/dvb-usb/dvb-usb-init.c 		info("%s successfully initialized and connected.", desc->name);
desc              292 drivers/media/usb/dvb-usb/dvb-usb-init.c 		info("%s error while loading driver (%d)", desc->name, ret);
desc              304 drivers/media/usb/dvb-usb/dvb-usb-init.c 	if (d != NULL && d->desc != NULL) {
desc              305 drivers/media/usb/dvb-usb/dvb-usb-init.c 		strscpy(name, d->desc->name, sizeof(name));
desc              283 drivers/media/usb/dvb-usb/dvb-usb-remote.c 	dev->device_name = d->desc->name;
desc              439 drivers/media/usb/dvb-usb/dvb-usb.h 	struct dvb_usb_device_description *desc;
desc              959 drivers/media/usb/dvb-usb/dw2102.c 				 struct dvb_usb_device_description **desc,
desc              133 drivers/media/usb/dvb-usb/m920x.c 	return usb_set_interface(udev, alt->desc.bInterfaceNumber,
desc              134 drivers/media/usb/dvb-usb/m920x.c 				 alt->desc.bAlternateSetting);
desc              463 drivers/media/usb/dvb-usb/m920x.c 				struct dvb_usb_device_description **desc,
desc              818 drivers/media/usb/dvb-usb/m920x.c 	int bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber;
desc              916 drivers/media/usb/dvb-usb/pctv452e.c 	id = a->dev->desc->warm_ids[0];
desc              334 drivers/media/usb/dvb-usb/technisat-usb2.c 		struct dvb_usb_device_description **desc, int *cold)
desc              570 drivers/media/usb/dvb-usb/technisat-usb2.c 				a->dev->desc->name,
desc              471 drivers/media/usb/dvb-usb/ttusb2.c 		dvb_usb_device_properties *props, struct dvb_usb_device_description **desc,
desc              777 drivers/media/usb/em28xx/em28xx-audio.c 	for (i = 0; i < intf->altsetting[alt].desc.bNumEndpoints; i++) {
desc              778 drivers/media/usb/em28xx/em28xx-audio.c 		e = &intf->altsetting[alt].endpoint[i].desc;
desc             3633 drivers/media/usb/em28xx/em28xx-cards.c 	e = &intf->altsetting[alt].endpoint[ep].desc;
desc             3713 drivers/media/usb/em28xx/em28xx-cards.c 	const int ifnum = intf->altsetting[0].desc.bInterfaceNumber;
desc             3732 drivers/media/usb/em28xx/em28xx-cards.c 	if (intf->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) {
desc             3738 drivers/media/usb/em28xx/em28xx-cards.c 			intf->altsetting[0].desc.bInterfaceClass);
desc             3766 drivers/media/usb/em28xx/em28xx-cards.c 		     ep < intf->altsetting[i].desc.bNumEndpoints;
desc             3803 drivers/media/usb/em28xx/em28xx-cards.c 		intf->altsetting->desc.bInterfaceNumber);
desc             3835 drivers/media/usb/em28xx/em28xx-cards.c 	for (i = 0; i < udev->config->desc.bNumInterfaces; i++) {
desc             3838 drivers/media/usb/em28xx/em28xx-cards.c 		if (uif->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) {
desc              218 drivers/media/usb/gspca/gspca.c 		for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) {
desc              219 drivers/media/usb/gspca/gspca.c 			ep = &intf_desc->endpoint[i].desc;
desc              516 drivers/media/usb/gspca/gspca.c 	for (i = 0; i < alt->desc.bNumEndpoints; i++) {
desc              518 drivers/media/usb/gspca/gspca.c 		attr = ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc              520 drivers/media/usb/gspca/gspca.c 		    && ep->desc.wMaxPacketSize != 0
desc              521 drivers/media/usb/gspca/gspca.c 		    && usb_endpoint_dir_in(&ep->desc)
desc              522 drivers/media/usb/gspca/gspca.c 		    && (xfer_ep < 0 || ep->desc.bEndpointAddress == xfer_ep))
desc              599 drivers/media/usb/gspca/gspca.c 			if (ep->desc.bInterval == 0) {
desc              603 drivers/media/usb/gspca/gspca.c 			psize = le16_to_cpu(ep->desc.wMaxPacketSize);
desc              609 drivers/media/usb/gspca/gspca.c 			bandwidth /= 1 << (ep->desc.bInterval - 1);
desc              666 drivers/media/usb/gspca/gspca.c 	psize = le16_to_cpu(ep->desc.wMaxPacketSize);
desc              714 drivers/media/usb/gspca/gspca.c 						    ep->desc.bEndpointAddress);
desc              717 drivers/media/usb/gspca/gspca.c 			urb->interval = 1 << (ep->desc.bInterval - 1);
desc              726 drivers/media/usb/gspca/gspca.c 						ep->desc.bEndpointAddress);
desc             1471 drivers/media/usb/gspca/gspca.c 	gspca_dev->iface = intf->cur_altsetting->desc.bInterfaceNumber;
desc             1475 drivers/media/usb/gspca/gspca.c 	if (dev->actconfig->desc.bNumInterfaces != 1) {
desc             1479 drivers/media/usb/gspca/gspca.c 		for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) {
desc             1483 drivers/media/usb/gspca/gspca.c 			 && intf2->altsetting->desc.bInterfaceClass ==
desc             1601 drivers/media/usb/gspca/gspca.c 	if (dev->actconfig->desc.bNumInterfaces != 1
desc             1602 drivers/media/usb/gspca/gspca.c 	 && intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc              183 drivers/media/usb/gspca/konica.c 	if (alt->desc.bNumEndpoints < 2)
desc              186 drivers/media/usb/gspca/konica.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc              204 drivers/media/usb/gspca/konica.c 			le16_to_cpu(alt->endpoint[i].desc.wMaxPacketSize);
desc             3480 drivers/media/usb/gspca/ov519.c 	if (alt->desc.bNumEndpoints < 1) {
desc             3485 drivers/media/usb/gspca/ov519.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc             3611 drivers/media/usb/gspca/ov519.c 	if (alt->desc.bNumEndpoints < 1) {
desc             3616 drivers/media/usb/gspca/ov519.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc              419 drivers/media/usb/gspca/spca1528.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 1)
desc              285 drivers/media/usb/gspca/stv06xx/stv06xx.c 	if (alt->desc.bNumEndpoints < 1)
desc              288 drivers/media/usb/gspca/stv06xx/stv06xx.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc              323 drivers/media/usb/gspca/stv06xx/stv06xx.c 	if (alt->desc.bNumEndpoints < 1)
desc              327 drivers/media/usb/gspca/stv06xx/stv06xx.c 	alt->endpoint[0].desc.wMaxPacketSize =
desc              344 drivers/media/usb/gspca/stv06xx/stv06xx.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc              352 drivers/media/usb/gspca/stv06xx/stv06xx.c 	alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size);
desc              189 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 	if (alt->desc.bNumEndpoints < 1)
desc              192 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc             1445 drivers/media/usb/gspca/xirlink_cit.c 	if (alt->desc.bNumEndpoints < 1)
desc             1448 drivers/media/usb/gspca/xirlink_cit.c 	return le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc             2655 drivers/media/usb/gspca/xirlink_cit.c 	if (alt->desc.bNumEndpoints < 1)
desc             2659 drivers/media/usb/gspca/xirlink_cit.c 	alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size);
desc             2685 drivers/media/usb/gspca/xirlink_cit.c 	packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
desc             2692 drivers/media/usb/gspca/xirlink_cit.c 	alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size);
desc             3111 drivers/media/usb/gspca/xirlink_cit.c 	const struct sd_desc *desc = &sd_desc;
desc             3116 drivers/media/usb/gspca/xirlink_cit.c 		if (intf->cur_altsetting->desc.bInterfaceNumber != 2)
desc             3121 drivers/media/usb/gspca/xirlink_cit.c 		if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc             3125 drivers/media/usb/gspca/xirlink_cit.c 		if (intf->cur_altsetting->desc.bInterfaceNumber != 0)
desc             3130 drivers/media/usb/gspca/xirlink_cit.c 			desc = &sd_desc_isoc_nego;
desc             3134 drivers/media/usb/gspca/xirlink_cit.c 	return gspca_dev_probe2(intf, id, desc, sizeof(struct sd), THIS_MODULE);
desc              325 drivers/media/usb/hdpvr/hdpvr-core.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              326 drivers/media/usb/hdpvr/hdpvr-core.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              178 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c 	return cptr->info->desc;
desc               67 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h 	const char *desc;
desc              119 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h 	char desc[PVR2_CTLD_INFO_DESC_SIZE];
desc              280 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	unsigned char *desc;
desc              993 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Brightness",
desc             1000 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Contrast",
desc             1007 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Saturation",
desc             1014 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Hue",
desc             1021 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Volume",
desc             1028 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Balance",
desc             1035 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Bass",
desc             1042 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Treble",
desc             1049 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Mute",
desc             1055 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture crop left margin",
desc             1065 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture crop top margin",
desc             1075 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture crop width",
desc             1084 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture crop height",
desc             1093 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability pixel aspect numerator",
desc             1098 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability pixel aspect denominator",
desc             1103 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability bounds top",
desc             1108 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability bounds left",
desc             1113 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability bounds width",
desc             1118 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Capture capability bounds height",
desc             1123 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Video Source",
desc             1131 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Audio Mode",
desc             1138 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Horizontal capture resolution",
desc             1145 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Vertical capture resolution",
desc             1158 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Audio Sampling Frequency",
desc             1163 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Tuner Frequency (Hz)",
desc             1177 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Channel",
desc             1183 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Channel Program Frequency",
desc             1193 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Channel Program ID",
desc             1199 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Streaming Enabled",
desc             1204 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "USB Speed",
desc             1209 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Master State",
desc             1214 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Signal Present",
desc             1219 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Audio Modes Present",
desc             1232 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Video Standards Available Mask",
desc             1242 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Video Standards In Use Mask",
desc             1254 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		.desc = "Video Standards Detected Mask",
desc             2093 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 				(hdw->usb_intf->cur_altsetting->desc.bNumEndpoints
desc             2461 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		ciptr->desc = hdw->mpeg_ctrl_info[idx].desc;
desc             2474 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 		strscpy(hdw->mpeg_ctrl_info[idx].desc, qctrl.name,
desc             2475 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			sizeof(hdw->mpeg_ctrl_info[idx].desc));
desc             2597 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	ifnum = hdw->usb_intf->cur_altsetting->desc.bInterfaceNumber;
desc             3848 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 						 pvr2_fx2cmd_desc[idx].desc);
desc              419 drivers/media/usb/pwc/pwc-if.c 	for (i = 0; i < idesc->desc.bNumEndpoints; i++) {
desc              420 drivers/media/usb/pwc/pwc-if.c 		if ((idesc->endpoint[i].desc.bEndpointAddress & 0xF) == pdev->vendpoint) {
desc              421 drivers/media/usb/pwc/pwc-if.c 			pdev->vmax_packet_size = le16_to_cpu(idesc->endpoint[i].desc.wMaxPacketSize);
desc              779 drivers/media/usb/pwc/pwc-if.c 		intf->altsetting->desc.bInterfaceNumber);
desc              785 drivers/media/usb/pwc/pwc-if.c 	if (intf->altsetting->desc.bInterfaceNumber > 0)
desc             2245 drivers/media/usb/s2255/s2255drv.c 		iface_desc->desc.bNumEndpoints);
desc             2246 drivers/media/usb/s2255/s2255drv.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             2247 drivers/media/usb/s2255/s2255drv.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              404 drivers/media/usb/siano/smsusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc              405 drivers/media/usb/siano/smsusb.c 		struct usb_endpoint_descriptor *desc =
desc              406 drivers/media/usb/siano/smsusb.c 				&intf->cur_altsetting->endpoint[i].desc;
desc              408 drivers/media/usb/siano/smsusb.c 		if (desc->bEndpointAddress & USB_DIR_IN) {
desc              409 drivers/media/usb/siano/smsusb.c 			dev->in_ep = desc->bEndpointAddress;
desc              410 drivers/media/usb/siano/smsusb.c 			align = usb_endpoint_maxp(desc) - sizeof(struct sms_msg_hdr);
desc              412 drivers/media/usb/siano/smsusb.c 			dev->out_ep = desc->bEndpointAddress;
desc              505 drivers/media/usb/siano/smsusb.c 		 intf->cur_altsetting->desc.bInterfaceNumber);
desc              508 drivers/media/usb/siano/smsusb.c 	    intf->cur_altsetting->desc.bInterfaceNumber) {
desc              510 drivers/media/usb/siano/smsusb.c 			intf->cur_altsetting->desc.bInterfaceNumber,
desc              517 drivers/media/usb/siano/smsusb.c 				       intf->cur_altsetting->desc.bInterfaceNumber,
desc              526 drivers/media/usb/siano/smsusb.c 	       intf->cur_altsetting->desc.bInterfaceNumber);
desc              527 drivers/media/usb/siano/smsusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc              529 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.bEndpointAddress,
desc              530 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.bmAttributes,
desc              531 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.wMaxPacketSize);
desc              532 drivers/media/usb/siano/smsusb.c 		if (intf->cur_altsetting->endpoint[i].desc.bEndpointAddress &
desc              535 drivers/media/usb/siano/smsusb.c 				intf->cur_altsetting->endpoint[i].desc.bEndpointAddress));
desc              538 drivers/media/usb/siano/smsusb.c 				intf->cur_altsetting->endpoint[i].desc.bEndpointAddress));
desc              540 drivers/media/usb/siano/smsusb.c 	if ((udev->actconfig->desc.bNumInterfaces == 2) &&
desc              541 drivers/media/usb/siano/smsusb.c 	    (intf->cur_altsetting->desc.bInterfaceNumber == 0)) {
desc              599 drivers/media/usb/siano/smsusb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++)
desc              601 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.bEndpointAddress,
desc              602 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.bmAttributes,
desc              603 drivers/media/usb/siano/smsusb.c 		       intf->cur_altsetting->endpoint[i].desc.wMaxPacketSize);
desc              607 drivers/media/usb/siano/smsusb.c 				       intf->cur_altsetting->desc.
desc              178 drivers/media/usb/stk1160/stk1160-core.c 	const struct usb_endpoint_descriptor *desc;
desc              183 drivers/media/usb/stk1160/stk1160-core.c 	ifnum = intf->altsetting[0].desc.bInterfaceNumber;
desc              188 drivers/media/usb/stk1160/stk1160-core.c 		for (e = 0; e < intf->altsetting[i].desc.bNumEndpoints; e++) {
desc              191 drivers/media/usb/stk1160/stk1160-core.c 			desc = &intf->altsetting[i].endpoint[e].desc;
desc              192 drivers/media/usb/stk1160/stk1160-core.c 			sizedescr = le16_to_cpu(desc->wMaxPacketSize);
desc              198 drivers/media/usb/stk1160/stk1160-core.c 			if (usb_endpoint_xfer_isoc(desc) &&
desc              199 drivers/media/usb/stk1160/stk1160-core.c 			    usb_endpoint_dir_in(desc)) {
desc              200 drivers/media/usb/stk1160/stk1160-core.c 				switch (desc->bEndpointAddress) {
desc              240 drivers/media/usb/stk1160/stk1160-core.c 		intf->altsetting->desc.bInterfaceNumber);
desc              279 drivers/media/usb/stk1160/stk1160-core.c 	if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO)
desc             1336 drivers/media/usb/stkwebcam/stk-webcam.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1337 drivers/media/usb/stkwebcam/stk-webcam.c 		endpoint = &iface_desc->endpoint[i].desc;
desc             1150 drivers/media/usb/tm6000/tm6000-cards.c 	u16 tmp = le16_to_cpu(curr_e->desc.wMaxPacketSize);
desc             1159 drivers/media/usb/tm6000/tm6000-cards.c 		tm_ep->bInterfaceNumber = alt->desc.bInterfaceNumber;
desc             1160 drivers/media/usb/tm6000/tm6000-cards.c 		tm_ep->bAlternateSetting = alt->desc.bAlternateSetting;
desc             1163 drivers/media/usb/tm6000/tm6000-cards.c 					msgtype, curr_e->desc.bEndpointAddress,
desc             1235 drivers/media/usb/tm6000/tm6000-cards.c 		for (ep = 0; ep < interface->altsetting[i].desc.bNumEndpoints; ep++) {
desc             1241 drivers/media/usb/tm6000/tm6000-cards.c 			dir_out = ((e->desc.bEndpointAddress &
desc             1246 drivers/media/usb/tm6000/tm6000-cards.c 			       interface->altsetting[i].desc.bInterfaceNumber,
desc             1247 drivers/media/usb/tm6000/tm6000-cards.c 			       interface->altsetting[i].desc.bInterfaceClass);
desc             1249 drivers/media/usb/tm6000/tm6000-cards.c 			switch (e->desc.bmAttributes) {
desc             1298 drivers/media/usb/tm6000/tm6000-cards.c 		interface->altsetting->desc.bInterfaceNumber);
desc              122 drivers/media/usb/tm6000/tm6000-dvb.c 	pipe = usb_rcvbulkpipe(dev->udev, dev->bulk_in.endp->desc.bEndpointAddress
desc              340 drivers/media/usb/tm6000/tm6000-input.c 		dev->int_in.endp->desc.bEndpointAddress
desc              351 drivers/media/usb/tm6000/tm6000-input.c 	dprintk(1, "int interval: %d\n", dev->int_in.endp->desc.bInterval);
desc              356 drivers/media/usb/tm6000/tm6000-input.c 		dev->int_in.endp->desc.bInterval);
desc              569 drivers/media/usb/tm6000/tm6000-video.c 			       dev->isoc_in.endp->desc.bEndpointAddress &
desc              629 drivers/media/usb/tm6000/tm6000-video.c 		urb->interval = dev->isoc_in.endp->desc.bInterval;
desc             1644 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c 	if (intf->altsetting->desc.bInterfaceNumber != 1) return -ENODEV;
desc               79 drivers/media/usb/usbtv/usbtv-core.c 	if (intf->altsetting[1].desc.bNumEndpoints != 4)
desc               86 drivers/media/usb/usbtv/usbtv-core.c 	size = usb_endpoint_maxp(&ep->desc);
desc               87 drivers/media/usb/usbtv/usbtv-core.c 	size = size * usb_endpoint_maxp_mult(&ep->desc);
desc             1416 drivers/media/usb/usbvision/usbvision-video.c 	__u8 ifnum = intf->altsetting->desc.bInterfaceNumber;
desc             1437 drivers/media/usb/usbvision/usbvision-video.c 	else if (ifnum < dev->actconfig->desc.bNumInterfaces)
desc             1441 drivers/media/usb/usbvision/usbvision-video.c 		    ifnum, dev->actconfig->desc.bNumInterfaces - 1);
desc             1446 drivers/media/usb/usbvision/usbvision-video.c 	if (interface->desc.bNumEndpoints < 2) {
desc             1448 drivers/media/usb/usbvision/usbvision-video.c 			ifnum, interface->desc.bNumEndpoints);
desc             1452 drivers/media/usb/usbvision/usbvision-video.c 	endpoint = &interface->endpoint[1].desc;
desc             1499 drivers/media/usb/usbvision/usbvision-video.c 		if (uif->altsetting[i].desc.bNumEndpoints < 2) {
desc             1504 drivers/media/usb/usbvision/usbvision-video.c 		tmp = le16_to_cpu(uif->altsetting[i].endpoint[1].desc.
desc             1313 drivers/media/usb/uvc/uvc_ctrl.c 	w->urb->interval = dev->int_ep->desc.bInterval;
desc              229 drivers/media/usb/uvc/uvc_driver.c 	for (i = 0; i < alts->desc.bNumEndpoints; ++i) {
desc              231 drivers/media/usb/uvc/uvc_driver.c 		if (ep->desc.bEndpointAddress == epaddr)
desc              424 drivers/media/usb/uvc/uvc_driver.c 	stream->intfnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc              466 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber);
desc              530 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber);
desc              546 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber);
desc              564 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber, buffer[8]);
desc              592 drivers/media/usb/uvc/uvc_driver.c 		       dev->udev->devnum, alts->desc.bInterfaceNumber,
desc              618 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber);
desc              702 drivers/media/usb/uvc/uvc_driver.c 			       alts->desc.bInterfaceNumber);
desc              730 drivers/media/usb/uvc/uvc_driver.c 	if (intf->cur_altsetting->desc.bInterfaceSubClass
desc              734 drivers/media/usb/uvc/uvc_driver.c 			intf->altsetting[0].desc.bInterfaceNumber);
desc              741 drivers/media/usb/uvc/uvc_driver.c 			intf->altsetting[0].desc.bInterfaceNumber);
desc              755 drivers/media/usb/uvc/uvc_driver.c 		for (i = 0; i < alts->desc.bNumEndpoints; ++i) {
desc              799 drivers/media/usb/uvc/uvc_driver.c 			alts->desc.bInterfaceNumber);
desc              809 drivers/media/usb/uvc/uvc_driver.c 			dev->udev->devnum, alts->desc.bInterfaceNumber);
desc              862 drivers/media/usb/uvc/uvc_driver.c 				alts->desc.bInterfaceNumber, _buffer[2]);
desc              886 drivers/media/usb/uvc/uvc_driver.c 			dev->udev->devnum, alts->desc.bInterfaceNumber);
desc              935 drivers/media/usb/uvc/uvc_driver.c 			dev->udev->devnum, alts->desc.bInterfaceNumber, buflen);
desc              946 drivers/media/usb/uvc/uvc_driver.c 		psize = le16_to_cpu(ep->desc.wMaxPacketSize);
desc             1042 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1091 drivers/media/usb/uvc/uvc_driver.c 				alts->desc.bInterfaceNumber);
desc             1116 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1136 drivers/media/usb/uvc/uvc_driver.c 				alts->desc.bInterfaceNumber,
desc             1158 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1205 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1217 drivers/media/usb/uvc/uvc_driver.c 				alts->desc.bInterfaceNumber, buffer[3], type);
desc             1243 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1269 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1302 drivers/media/usb/uvc/uvc_driver.c 				udev->devnum, alts->desc.bInterfaceNumber);
desc             1365 drivers/media/usb/uvc/uvc_driver.c 	if (alts->desc.bNumEndpoints == 1 &&
desc             1368 drivers/media/usb/uvc/uvc_driver.c 		struct usb_endpoint_descriptor *desc = &ep->desc;
desc             1370 drivers/media/usb/uvc/uvc_driver.c 		if (usb_endpoint_is_int_in(desc) &&
desc             1371 drivers/media/usb/uvc/uvc_driver.c 		    le16_to_cpu(desc->wMaxPacketSize) >= 8 &&
desc             1372 drivers/media/usb/uvc/uvc_driver.c 		    desc->bInterval != 0) {
desc             1374 drivers/media/usb/uvc/uvc_driver.c 				"(addr %02x).\n", desc->bEndpointAddress);
desc             2151 drivers/media/usb/uvc/uvc_driver.c 	dev->intfnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc             2172 drivers/media/usb/uvc/uvc_driver.c 		function = intf->cur_altsetting->desc.iInterface;
desc             2266 drivers/media/usb/uvc/uvc_driver.c 	if (intf->cur_altsetting->desc.bInterfaceSubClass ==
desc             2280 drivers/media/usb/uvc/uvc_driver.c 		intf->cur_altsetting->desc.bInterfaceNumber);
desc             2283 drivers/media/usb/uvc/uvc_driver.c 	if (intf->cur_altsetting->desc.bInterfaceSubClass ==
desc             2309 drivers/media/usb/uvc/uvc_driver.c 		intf->cur_altsetting->desc.bInterfaceNumber);
desc             2311 drivers/media/usb/uvc/uvc_driver.c 	if (intf->cur_altsetting->desc.bInterfaceSubClass ==
desc              245 drivers/media/usb/uvc/uvc_status.c 	urb->interval = dev->int_ep->desc.bInterval;
desc              273 drivers/media/usb/uvc/uvc_status.c 	pipe = usb_rcvintpipe(dev->udev, ep->desc.bEndpointAddress);
desc              278 drivers/media/usb/uvc/uvc_status.c 	interval = ep->desc.bInterval;
desc             1686 drivers/media/usb/uvc/uvc_video.c 		psize = usb_endpoint_maxp(&ep->desc);
desc             1687 drivers/media/usb/uvc/uvc_video.c 		mult = usb_endpoint_maxp_mult(&ep->desc);
desc             1690 drivers/media/usb/uvc/uvc_video.c 		psize = usb_endpoint_maxp(&ep->desc);
desc             1693 drivers/media/usb/uvc/uvc_video.c 		psize = usb_endpoint_maxp(&ep->desc);
desc             1730 drivers/media/usb/uvc/uvc_video.c 				ep->desc.bEndpointAddress);
desc             1737 drivers/media/usb/uvc/uvc_video.c 		urb->interval = ep->desc.bInterval;
desc             1767 drivers/media/usb/uvc/uvc_video.c 	psize = usb_endpoint_maxp(&ep->desc);
desc             1777 drivers/media/usb/uvc/uvc_video.c 	if (usb_endpoint_dir_in(&ep->desc))
desc             1779 drivers/media/usb/uvc/uvc_video.c 				       ep->desc.bEndpointAddress);
desc             1782 drivers/media/usb/uvc/uvc_video.c 				       ep->desc.bEndpointAddress);
desc             1859 drivers/media/usb/uvc/uvc_video.c 				altsetting = alts->desc.bAlternateSetting;
desc             1484 drivers/media/usb/zr364xx/zr364xx.c 	DBG("num endpoints %d\n", iface_desc->desc.bNumEndpoints);
desc             1485 drivers/media/usb/zr364xx/zr364xx.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1486 drivers/media/usb/zr364xx/zr364xx.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              491 drivers/memory/omap-gpmc.c static void gpmc_show_regs(int cs, const char *desc)
desc              493 drivers/memory/omap-gpmc.c 	pr_info("gpmc cs%i %s:\n", cs, desc);
desc              506 drivers/memory/omap-gpmc.c static void gpmc_cs_show_timings(int cs, const char *desc)
desc              508 drivers/memory/omap-gpmc.c 	gpmc_show_regs(cs, desc);
desc              582 drivers/memory/omap-gpmc.c static inline void gpmc_cs_show_timings(int cs, const char *desc)
desc              467 drivers/memory/tegra/mc.c 		const char *client = "unknown", *desc;
desc              506 drivers/memory/tegra/mc.c 		desc = error_names[type];
desc              542 drivers/memory/tegra/mc.c 				    desc, perm);
desc              565 drivers/memory/tegra/mc.c 		const char *client, *desc;
desc              576 drivers/memory/tegra/mc.c 			desc = error_names[2];
desc              587 drivers/memory/tegra/mc.c 			desc = error_names[2];
desc              599 drivers/memory/tegra/mc.c 			desc = error_names[type];
desc              615 drivers/memory/tegra/mc.c 				    desc);
desc             7807 drivers/message/fusion/mptbase.c 	char *desc = "unknown";
desc             7811 drivers/message/fusion/mptbase.c 		desc = "FCP Initiator";
desc             7814 drivers/message/fusion/mptbase.c 		desc = "FCP Target";
desc             7817 drivers/message/fusion/mptbase.c 		desc = "LAN";
desc             7820 drivers/message/fusion/mptbase.c 		desc = "MPI Message Layer";
desc             7823 drivers/message/fusion/mptbase.c 		desc = "FC Link";
desc             7826 drivers/message/fusion/mptbase.c 		desc = "Context Manager";
desc             7829 drivers/message/fusion/mptbase.c 		desc = "Invalid Field Offset";
desc             7832 drivers/message/fusion/mptbase.c 		desc = "State Change Info";
desc             7837 drivers/message/fusion/mptbase.c 			ioc->name, log_info, desc, (log_info & 0xFFFFFF));
desc             7852 drivers/message/fusion/mptbase.c 	char *desc = "unknown";
desc             7856 drivers/message/fusion/mptbase.c 		desc = "bug! MID not found";
desc             7860 drivers/message/fusion/mptbase.c 		desc = "Parity Error";
desc             7864 drivers/message/fusion/mptbase.c 		desc = "ASYNC Outbound Overrun";
desc             7868 drivers/message/fusion/mptbase.c 		desc = "SYNC Offset Error";
desc             7872 drivers/message/fusion/mptbase.c 		desc = "BM Change";
desc             7876 drivers/message/fusion/mptbase.c 		desc = "Msg In Overflow";
desc             7880 drivers/message/fusion/mptbase.c 		desc = "DMA Error";
desc             7884 drivers/message/fusion/mptbase.c 		desc = "Outbound DMA Overrun";
desc             7888 drivers/message/fusion/mptbase.c 		desc = "Task Management";
desc             7892 drivers/message/fusion/mptbase.c 		desc = "Device Problem";
desc             7896 drivers/message/fusion/mptbase.c 		desc = "Invalid Phase Change";
desc             7900 drivers/message/fusion/mptbase.c 		desc = "Untagged Table Size";
desc             7905 drivers/message/fusion/mptbase.c 	printk(MYIOC_s_INFO_FMT "LogInfo(0x%08x): F/W: %s\n", ioc->name, log_info, desc);
desc             8147 drivers/message/fusion/mptbase.c 	char *desc = NULL;
desc             8181 drivers/message/fusion/mptbase.c 		desc = "Config Page Invalid Action";
desc             8185 drivers/message/fusion/mptbase.c 		desc = "Config Page Invalid Type";
desc             8189 drivers/message/fusion/mptbase.c 		desc = "Config Page Invalid Page";
desc             8193 drivers/message/fusion/mptbase.c 		desc = "Config Page Invalid Data";
desc             8197 drivers/message/fusion/mptbase.c 		desc = "Config Page No Defaults";
desc             8201 drivers/message/fusion/mptbase.c 		desc = "Config Page Can't Commit";
desc             8205 drivers/message/fusion/mptbase.c 	if (!desc)
desc             8209 drivers/message/fusion/mptbase.c 	    ioc->name, ioc_status, desc, extend_desc));
desc             8224 drivers/message/fusion/mptbase.c 	char *desc = NULL;
desc             8233 drivers/message/fusion/mptbase.c 		desc = "Invalid Function";
desc             8237 drivers/message/fusion/mptbase.c 		desc = "Busy";
desc             8241 drivers/message/fusion/mptbase.c 		desc = "Invalid SGL";
desc             8245 drivers/message/fusion/mptbase.c 		desc = "Internal Error";
desc             8249 drivers/message/fusion/mptbase.c 		desc = "Reserved";
desc             8253 drivers/message/fusion/mptbase.c 		desc = "Insufficient Resources";
desc             8257 drivers/message/fusion/mptbase.c 		desc = "Invalid Field";
desc             8261 drivers/message/fusion/mptbase.c 		desc = "Invalid State";
desc             8304 drivers/message/fusion/mptbase.c 		desc = "Target: Priority IO";
desc             8308 drivers/message/fusion/mptbase.c 		desc = "Target: Invalid Port";
desc             8312 drivers/message/fusion/mptbase.c 		desc = "Target Invalid IO Index:";
desc             8316 drivers/message/fusion/mptbase.c 		desc = "Target: Aborted";
desc             8320 drivers/message/fusion/mptbase.c 		desc = "Target: No Conn Retryable";
desc             8324 drivers/message/fusion/mptbase.c 		desc = "Target: No Connection";
desc             8328 drivers/message/fusion/mptbase.c 		desc = "Target: Transfer Count Mismatch";
desc             8332 drivers/message/fusion/mptbase.c 		desc = "Target: STS Data not Sent";
desc             8336 drivers/message/fusion/mptbase.c 		desc = "Target: Data Offset Error";
desc             8340 drivers/message/fusion/mptbase.c 		desc = "Target: Too Much Write Data";
desc             8344 drivers/message/fusion/mptbase.c 		desc = "Target: IU Too Short";
desc             8348 drivers/message/fusion/mptbase.c 		desc = "Target: ACK NAK Timeout";
desc             8352 drivers/message/fusion/mptbase.c 		desc = "Target: Nak Received";
desc             8360 drivers/message/fusion/mptbase.c 		desc = "FC: Aborted";
desc             8364 drivers/message/fusion/mptbase.c 		desc = "FC: RX ID Invalid";
desc             8368 drivers/message/fusion/mptbase.c 		desc = "FC: DID Invalid";
desc             8372 drivers/message/fusion/mptbase.c 		desc = "FC: Node Logged Out";
desc             8376 drivers/message/fusion/mptbase.c 		desc = "FC: Exchange Canceled";
desc             8384 drivers/message/fusion/mptbase.c 		desc = "LAN: Device not Found";
desc             8388 drivers/message/fusion/mptbase.c 		desc = "LAN: Device Failure";
desc             8392 drivers/message/fusion/mptbase.c 		desc = "LAN: Transmit Error";
desc             8396 drivers/message/fusion/mptbase.c 		desc = "LAN: Transmit Aborted";
desc             8400 drivers/message/fusion/mptbase.c 		desc = "LAN: Receive Error";
desc             8404 drivers/message/fusion/mptbase.c 		desc = "LAN: Receive Aborted";
desc             8408 drivers/message/fusion/mptbase.c 		desc = "LAN: Partial Packet";
desc             8412 drivers/message/fusion/mptbase.c 		desc = "LAN: Canceled";
desc             8420 drivers/message/fusion/mptbase.c 		desc = "SAS: SMP Request Failed";
desc             8424 drivers/message/fusion/mptbase.c 		desc = "SAS: SMP Data Overrun";
desc             8428 drivers/message/fusion/mptbase.c 		desc = "Others";
desc             8432 drivers/message/fusion/mptbase.c 	if (!desc)
desc             8436 drivers/message/fusion/mptbase.c 	    ioc->name, status, desc));
desc              438 drivers/message/fusion/mptscsih.c 	char	*desc = NULL;
desc              448 drivers/message/fusion/mptscsih.c 		desc = "success";
desc              451 drivers/message/fusion/mptscsih.c 		desc = "invalid bus";
desc              454 drivers/message/fusion/mptscsih.c 		desc = "invalid target_id";
desc              457 drivers/message/fusion/mptscsih.c 		desc = "device not there";
desc              460 drivers/message/fusion/mptscsih.c 		desc = "data overrun";
desc              463 drivers/message/fusion/mptscsih.c 		desc = "data underrun";
desc              466 drivers/message/fusion/mptscsih.c 		desc = "I/O data error";
desc              469 drivers/message/fusion/mptscsih.c 		desc = "protocol error";
desc              472 drivers/message/fusion/mptscsih.c 		desc = "task terminated";
desc              475 drivers/message/fusion/mptscsih.c 		desc = "residual mismatch";
desc              478 drivers/message/fusion/mptscsih.c 		desc = "task management failed";
desc              481 drivers/message/fusion/mptscsih.c 		desc = "IOC terminated";
desc              484 drivers/message/fusion/mptscsih.c 		desc = "ext terminated";
desc              487 drivers/message/fusion/mptscsih.c 		desc = "";
desc              550 drivers/message/fusion/mptscsih.c 	    ioc->name, desc, ioc_status, desc1, pScsiReply->SCSIStatus,
desc             2006 drivers/message/fusion/mptscsih.c 	char *desc;
desc             2010 drivers/message/fusion/mptscsih.c 		desc = "The task completed.";
desc             2013 drivers/message/fusion/mptscsih.c 		desc = "The IOC received an invalid frame status.";
desc             2016 drivers/message/fusion/mptscsih.c 		desc = "The task type is not supported.";
desc             2019 drivers/message/fusion/mptscsih.c 		desc = "The requested task failed.";
desc             2022 drivers/message/fusion/mptscsih.c 		desc = "The task completed successfully.";
desc             2025 drivers/message/fusion/mptscsih.c 		desc = "The LUN request is invalid.";
desc             2028 drivers/message/fusion/mptscsih.c 		desc = "The task is in the IOC queue and has not been sent to target.";
desc             2031 drivers/message/fusion/mptscsih.c 		desc = "unknown";
desc             2035 drivers/message/fusion/mptscsih.c 		ioc->name, response_code, desc);
desc             1526 drivers/mfd/ab8500-debugfs.c 		struct irq_desc *desc = irq_to_desc(line + irq_first);
desc             1533 drivers/mfd/ab8500-debugfs.c 		if (desc && desc->name)
desc             1534 drivers/mfd/ab8500-debugfs.c 			seq_printf(s, "-%-8s", desc->name);
desc             1535 drivers/mfd/ab8500-debugfs.c 		if (desc && desc->action) {
desc             1536 drivers/mfd/ab8500-debugfs.c 			struct irqaction *action = desc->action;
desc              139 drivers/mfd/asic3.c static void asic3_irq_demux(struct irq_desc *desc)
desc              141 drivers/mfd/asic3.c 	struct asic3 *asic = irq_desc_get_handler_data(desc);
desc              142 drivers/mfd/asic3.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc               35 drivers/mfd/cros_ec_dev.c 	const char *desc;
desc               54 drivers/mfd/cros_ec_dev.c 		.desc	= "Fingerprint",
desc               59 drivers/mfd/cros_ec_dev.c 		.desc	= "Integrated Sensor Hub",
desc               64 drivers/mfd/cros_ec_dev.c 		.desc	= "System Control Processor",
desc               69 drivers/mfd/cros_ec_dev.c 		.desc	= "Touchpad",
desc              365 drivers/mfd/cros_ec_dev.c 				 cros_mcu_devices[i].desc);
desc              737 drivers/mfd/dln2.c 	if (hostif->desc.bInterfaceNumber != 0 ||
desc              738 drivers/mfd/dln2.c 	    hostif->desc.bNumEndpoints < 2)
desc              741 drivers/mfd/dln2.c 	epout = &hostif->endpoint[DLN2_EP_OUT].desc;
desc              744 drivers/mfd/dln2.c 	epin = &hostif->endpoint[DLN2_EP_IN].desc;
desc              207 drivers/mfd/ezx-pcap.c static void pcap_irq_handler(struct irq_desc *desc)
desc              209 drivers/mfd/ezx-pcap.c 	struct pcap_chip *pcap = irq_desc_get_handler_data(desc);
desc              211 drivers/mfd/ezx-pcap.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc               27 drivers/mfd/fsl-imx25-tsadc.c static void mx25_tsadc_irq_handler(struct irq_desc *desc)
desc               29 drivers/mfd/fsl-imx25-tsadc.c 	struct mx25_tsadc *tsadc = irq_desc_get_handler_data(desc);
desc               30 drivers/mfd/fsl-imx25-tsadc.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               33 drivers/mfd/fsl-imx25-tsadc.c 	chained_irq_enter(chip, desc);
desc               43 drivers/mfd/fsl-imx25-tsadc.c 	chained_irq_exit(chip, desc);
desc               68 drivers/mfd/qcom-pm8xxx.c 	void (*irq_handler)(struct irq_desc *desc);
desc              173 drivers/mfd/qcom-pm8xxx.c static void pm8xxx_irq_handler(struct irq_desc *desc)
desc              175 drivers/mfd/qcom-pm8xxx.c 	struct pm_irq_chip *chip = irq_desc_get_handler_data(desc);
desc              176 drivers/mfd/qcom-pm8xxx.c 	struct irq_chip *irq_chip = irq_desc_get_chip(desc);
desc              180 drivers/mfd/qcom-pm8xxx.c 	chained_irq_enter(irq_chip, desc);
desc              196 drivers/mfd/qcom-pm8xxx.c 	chained_irq_exit(irq_chip, desc);
desc              235 drivers/mfd/qcom-pm8xxx.c static void pm8821_irq_handler(struct irq_desc *desc)
desc              237 drivers/mfd/qcom-pm8xxx.c 	struct pm_irq_chip *chip = irq_desc_get_handler_data(desc);
desc              238 drivers/mfd/qcom-pm8xxx.c 	struct irq_chip *irq_chip = irq_desc_get_chip(desc);
desc              242 drivers/mfd/qcom-pm8xxx.c 	chained_irq_enter(irq_chip, desc);
desc              268 drivers/mfd/qcom-pm8xxx.c 	chained_irq_exit(irq_chip, desc);
desc               59 drivers/mfd/stm32-timers.c 	struct dma_async_tx_descriptor *desc;
desc               95 drivers/mfd/stm32-timers.c 	desc = dmaengine_prep_slave_single(dma->chan, dma_buf, len,
desc               97 drivers/mfd/stm32-timers.c 	if (!desc) {
desc              102 drivers/mfd/stm32-timers.c 	desc->callback = stm32_timers_dma_done;
desc              103 drivers/mfd/stm32-timers.c 	desc->callback_param = dma;
desc              104 drivers/mfd/stm32-timers.c 	cookie = dmaengine_submit(desc);
desc              184 drivers/mfd/t7l66xb.c static void t7l66xb_irq(struct irq_desc *desc)
desc              186 drivers/mfd/t7l66xb.c 	struct t7l66xb *t7l66xb = irq_desc_get_handler_data(desc);
desc              515 drivers/mfd/tc6393xb.c static void tc6393xb_irq(struct irq_desc *desc)
desc              517 drivers/mfd/tc6393xb.c 	struct tc6393xb *tc6393xb = irq_desc_get_handler_data(desc);
desc              282 drivers/mfd/ucb1x00-core.c static void ucb1x00_irq(struct irq_desc *desc)
desc              284 drivers/mfd/ucb1x00-core.c 	struct ucb1x00 *ucb = irq_desc_get_handler_data(desc);
desc              565 drivers/misc/cxl/file.c 			   struct device **chardev, char *postfix, char *desc,
desc              573 drivers/misc/cxl/file.c 		dev_err(&afu->dev, "Unable to add %s chardev: %i\n", desc, rc);
desc              580 drivers/misc/cxl/file.c 		dev_err(&afu->dev, "Unable to create %s chardev in sysfs: %i\n", desc, rc);
desc             4281 drivers/misc/habanalabs/goya/goya.c static void goya_get_event_desc(u16 event_type, char *desc, size_t size)
desc             4295 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4299 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4303 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4314 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4325 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4329 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4333 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4337 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4341 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4352 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4356 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type), index);
desc             4359 drivers/misc/habanalabs/goya/goya.c 		snprintf(desc, size, _goya_get_event_desc(event_type));
desc             4411 drivers/misc/habanalabs/goya/goya.c 	char desc[20] = "";
desc             4413 drivers/misc/habanalabs/goya/goya.c 	goya_get_event_desc(event_type, desc, sizeof(desc));
desc             4415 drivers/misc/habanalabs/goya/goya.c 		event_type, desc);
desc              147 drivers/misc/hpilo.c 	char *fifobar, *desc;
desc              153 drivers/misc/hpilo.c 		desc = ccb->ccb_u2.send_desc;
desc              156 drivers/misc/hpilo.c 		desc = ccb->ccb_u4.recv_desc;
desc              167 drivers/misc/hpilo.c 			*pkt = (void *)(desc + desc_mem_sz(pkt_id));
desc              112 drivers/misc/mic/vop/vop_debugfs.c 			struct vring_desc *desc;
desc              121 drivers/misc/mic/vop/vop_debugfs.c 			desc = vrh->vring.desc;
desc              133 drivers/misc/mic/vop/vop_debugfs.c 					   j, desc->addr, desc->len);
desc              135 drivers/misc/mic/vop/vop_debugfs.c 					   desc->flags, desc->next);
desc              136 drivers/misc/mic/vop/vop_debugfs.c 				desc++;
desc               46 drivers/misc/mic/vop/vop_main.c 	struct mic_device_desc __iomem *desc;
desc               70 drivers/misc/mic/vop/vop_main.c static inline unsigned _vop_desc_size(struct mic_device_desc __iomem *desc)
desc               72 drivers/misc/mic/vop/vop_main.c 	return sizeof(*desc)
desc               73 drivers/misc/mic/vop/vop_main.c 		+ ioread8(&desc->num_vq) * sizeof(struct mic_vqconfig)
desc               74 drivers/misc/mic/vop/vop_main.c 		+ ioread8(&desc->feature_len) * 2
desc               75 drivers/misc/mic/vop/vop_main.c 		+ ioread8(&desc->config_len);
desc               79 drivers/misc/mic/vop/vop_main.c _vop_vq_config(struct mic_device_desc __iomem *desc)
desc               81 drivers/misc/mic/vop/vop_main.c 	return (struct mic_vqconfig __iomem *)(desc + 1);
desc               85 drivers/misc/mic/vop/vop_main.c _vop_vq_features(struct mic_device_desc __iomem *desc)
desc               87 drivers/misc/mic/vop/vop_main.c 	return (u8 __iomem *)(_vop_vq_config(desc) + ioread8(&desc->num_vq));
desc               91 drivers/misc/mic/vop/vop_main.c _vop_vq_configspace(struct mic_device_desc __iomem *desc)
desc               93 drivers/misc/mic/vop/vop_main.c 	return _vop_vq_features(desc) + ioread8(&desc->feature_len) * 2;
desc               97 drivers/misc/mic/vop/vop_main.c _vop_total_desc_size(struct mic_device_desc __iomem *desc)
desc               99 drivers/misc/mic/vop/vop_main.c 	return _vop_aligned_desc_size(desc) + sizeof(struct mic_device_ctrl);
desc              107 drivers/misc/mic/vop/vop_main.c 	struct mic_device_desc __iomem *desc = to_vopvdev(vdev)->desc;
desc              108 drivers/misc/mic/vop/vop_main.c 	u8 __iomem *in_features = _vop_vq_features(desc);
desc              109 drivers/misc/mic/vop/vop_main.c 	int feature_len = ioread8(&desc->feature_len);
desc              132 drivers/misc/mic/vop/vop_main.c 	struct mic_device_desc __iomem *desc = to_vopvdev(vdev)->desc;
desc              133 drivers/misc/mic/vop/vop_main.c 	u8 feature_len = ioread8(&desc->feature_len);
desc              136 drivers/misc/mic/vop/vop_main.c 		_vop_vq_features(desc) + feature_len;
desc              161 drivers/misc/mic/vop/vop_main.c 	struct mic_device_desc __iomem *desc = to_vopvdev(vdev)->desc;
desc              163 drivers/misc/mic/vop/vop_main.c 	if (offset + len > ioread8(&desc->config_len))
desc              165 drivers/misc/mic/vop/vop_main.c 	memcpy_fromio(buf, _vop_vq_configspace(desc) + offset, len);
desc              171 drivers/misc/mic/vop/vop_main.c 	struct mic_device_desc __iomem *desc = to_vopvdev(vdev)->desc;
desc              173 drivers/misc/mic/vop/vop_main.c 	if (offset + len > ioread8(&desc->config_len))
desc              175 drivers/misc/mic/vop/vop_main.c 	memcpy_toio(_vop_vq_configspace(desc) + offset, buf, len);
desc              185 drivers/misc/mic/vop/vop_main.c 	return ioread8(&to_vopvdev(vdev)->desc->status);
desc              195 drivers/misc/mic/vop/vop_main.c 	iowrite8(status, &vdev->desc->status);
desc              221 drivers/misc/mic/vop/vop_main.c 	iowrite8(0, &vdev->desc->status);
desc              312 drivers/misc/mic/vop/vop_main.c 	u8 type = ioread8(&vdev->desc->type);
desc              314 drivers/misc/mic/vop/vop_main.c 	if (index >= ioread8(&vdev->desc->num_vq))
desc              321 drivers/misc/mic/vop/vop_main.c 	vqconfig = _vop_vq_config(vdev->desc) + index;
desc              387 drivers/misc/mic/vop/vop_main.c 			struct irq_affinity *desc)
desc              395 drivers/misc/mic/vop/vop_main.c 	if (nvqs > ioread8(&vdev->desc->num_vq))
desc              497 drivers/misc/mic/vop/vop_main.c 	vdev->desc = d;
desc              546 drivers/misc/mic/vop/vop_main.c 	return vdev->desc == (void __iomem *)data;
desc              327 drivers/misc/mic/vop/vop_vringh.c 				       num, false, vr->vr.desc, vr->vr.avail,
desc               54 drivers/mmc/core/pwrseq_simple.c 		gpiod_set_array_value_cansleep(nvalues, reset_gpios->desc,
desc              184 drivers/mmc/core/slot-gpio.c 	struct gpio_desc *desc;
desc              187 drivers/mmc/core/slot-gpio.c 	desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
desc              188 drivers/mmc/core/slot-gpio.c 	if (IS_ERR(desc))
desc              189 drivers/mmc/core/slot-gpio.c 		return PTR_ERR(desc);
desc              192 drivers/mmc/core/slot-gpio.c 		ret = gpiod_set_debounce(desc, debounce);
desc              198 drivers/mmc/core/slot-gpio.c 		*gpio_invert = !gpiod_is_active_low(desc);
desc              201 drivers/mmc/core/slot-gpio.c 	ctx->cd_gpio = desc;
desc              231 drivers/mmc/core/slot-gpio.c 	struct gpio_desc *desc;
desc              234 drivers/mmc/core/slot-gpio.c 	desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
desc              235 drivers/mmc/core/slot-gpio.c 	if (IS_ERR(desc))
desc              236 drivers/mmc/core/slot-gpio.c 		return PTR_ERR(desc);
desc              239 drivers/mmc/core/slot-gpio.c 		ret = gpiod_set_debounce(desc, debounce);
desc              245 drivers/mmc/core/slot-gpio.c 		gpiod_toggle_active_low(desc);
desc              248 drivers/mmc/core/slot-gpio.c 		*gpio_invert = !gpiod_is_active_low(desc);
desc              250 drivers/mmc/core/slot-gpio.c 	ctx->ro_gpio = desc;
desc             1085 drivers/mmc/host/atmel-mci.c 	struct dma_async_tx_descriptor	*desc;
desc             1142 drivers/mmc/host/atmel-mci.c 	desc = dmaengine_prep_slave_sg(chan,
desc             1145 drivers/mmc/host/atmel-mci.c 	if (!desc)
desc             1148 drivers/mmc/host/atmel-mci.c 	host->dma.data_desc = desc;
desc             1149 drivers/mmc/host/atmel-mci.c 	desc->callback = atmci_dma_complete;
desc             1150 drivers/mmc/host/atmel-mci.c 	desc->callback_param = host;
desc             1181 drivers/mmc/host/atmel-mci.c 	struct dma_async_tx_descriptor	*desc = host->dma.data_desc;
desc             1184 drivers/mmc/host/atmel-mci.c 		dmaengine_submit(desc);
desc              456 drivers/mmc/host/bcm2835.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              506 drivers/mmc/host/bcm2835.c 	desc = dmaengine_prep_slave_sg(dma_chan, data->sg, sg_len, dir_slave,
desc              509 drivers/mmc/host/bcm2835.c 	if (!desc) {
desc              514 drivers/mmc/host/bcm2835.c 	desc->callback = bcm2835_dma_complete;
desc              515 drivers/mmc/host/bcm2835.c 	desc->callback_param = host;
desc              516 drivers/mmc/host/bcm2835.c 	host->dma_desc = desc;
desc               42 drivers/mmc/host/cqhci.c 	u8 *desc = get_desc(cq_host, tag);
desc               44 drivers/mmc/host/cqhci.c 	return desc + cq_host->task_desc_len;
desc              443 drivers/mmc/host/cqhci.c static void cqhci_set_tran_desc(u8 *desc, dma_addr_t addr, int len, bool end,
desc              446 drivers/mmc/host/cqhci.c 	__le32 *attr = (__le32 __force *)desc;
desc              455 drivers/mmc/host/cqhci.c 		__le64 *dataddr = (__le64 __force *)(desc + 4);
desc              459 drivers/mmc/host/cqhci.c 		__le32 *dataddr = (__le32 __force *)(desc + 4);
desc              473 drivers/mmc/host/cqhci.c 	u8 *desc;
desc              483 drivers/mmc/host/cqhci.c 	desc = get_trans_desc(cq_host, tag);
desc              491 drivers/mmc/host/cqhci.c 		cqhci_set_tran_desc(desc, addr, len, end, dma64);
desc              492 drivers/mmc/host/cqhci.c 		desc += cq_host->trans_desc_len;
desc              504 drivers/mmc/host/cqhci.c 	u8 *desc;
desc              534 drivers/mmc/host/cqhci.c 	desc = (u8 *)task_desc;
desc              537 drivers/mmc/host/cqhci.c 	dataddr = (__le64 __force *)(desc + 4);
desc              404 drivers/mmc/host/davinci_mmc.c 	struct dma_async_tx_descriptor *desc;
desc              418 drivers/mmc/host/davinci_mmc.c 		desc = dmaengine_prep_slave_sg(host->dma_tx,
desc              423 drivers/mmc/host/davinci_mmc.c 		if (!desc) {
desc              440 drivers/mmc/host/davinci_mmc.c 		desc = dmaengine_prep_slave_sg(host->dma_rx,
desc              445 drivers/mmc/host/davinci_mmc.c 		if (!desc) {
desc              453 drivers/mmc/host/davinci_mmc.c 	dmaengine_submit(desc);
desc              579 drivers/mmc/host/dw_mmc.c 	struct idmac_desc_64addr *desc_first, *desc_last, *desc;
desc              583 drivers/mmc/host/dw_mmc.c 	desc_first = desc_last = desc = host->sg_cpu;
desc              590 drivers/mmc/host/dw_mmc.c 		for ( ; length ; desc++) {
desc              602 drivers/mmc/host/dw_mmc.c 			if (readl_poll_timeout_atomic(&desc->des0, val,
desc              611 drivers/mmc/host/dw_mmc.c 			desc->des0 = IDMAC_DES0_OWN | IDMAC_DES0_DIC |
desc              615 drivers/mmc/host/dw_mmc.c 			IDMAC_64ADDR_SET_BUFFER1_SIZE(desc, desc_len);
desc              618 drivers/mmc/host/dw_mmc.c 			desc->des4 = mem_addr & 0xffffffff;
desc              619 drivers/mmc/host/dw_mmc.c 			desc->des5 = mem_addr >> 32;
desc              625 drivers/mmc/host/dw_mmc.c 			desc_last = desc;
desc              651 drivers/mmc/host/dw_mmc.c 	struct idmac_desc *desc_first, *desc_last, *desc;
desc              655 drivers/mmc/host/dw_mmc.c 	desc_first = desc_last = desc = host->sg_cpu;
desc              662 drivers/mmc/host/dw_mmc.c 		for ( ; length ; desc++) {
desc              674 drivers/mmc/host/dw_mmc.c 			if (readl_poll_timeout_atomic(&desc->des0, val,
desc              684 drivers/mmc/host/dw_mmc.c 			desc->des0 = cpu_to_le32(IDMAC_DES0_OWN |
desc              689 drivers/mmc/host/dw_mmc.c 			IDMAC_SET_BUFFER1_SIZE(desc, desc_len);
desc              692 drivers/mmc/host/dw_mmc.c 			desc->des2 = cpu_to_le32(mem_addr);
desc              698 drivers/mmc/host/dw_mmc.c 			desc_last = desc;
desc              776 drivers/mmc/host/dw_mmc.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              806 drivers/mmc/host/dw_mmc.c 	desc = dmaengine_prep_slave_sg(host->dms->ch, sgl,
desc              809 drivers/mmc/host/dw_mmc.c 	if (!desc) {
desc              815 drivers/mmc/host/dw_mmc.c 	desc->callback = dw_mci_dmac_complete_dma;
desc              816 drivers/mmc/host/dw_mmc.c 	desc->callback_param = (void *)host;
desc              817 drivers/mmc/host/dw_mmc.c 	dmaengine_submit(desc);
desc              281 drivers/mmc/host/jz4740_mmc.c 	struct dma_async_tx_descriptor *desc;
desc              303 drivers/mmc/host/jz4740_mmc.c 	desc = dmaengine_prep_slave_sg(chan, data->sg, sg_count,
desc              306 drivers/mmc/host/jz4740_mmc.c 	if (!desc) {
desc              313 drivers/mmc/host/jz4740_mmc.c 	dmaengine_submit(desc);
desc              705 drivers/mmc/host/meson-gx-mmc.c 	struct sd_emmc_desc *desc = host->descs;
desc              725 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_cfg = cmd_cfg;
desc              726 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_cfg |= FIELD_PREP(CMD_CFG_LENGTH_MASK, len);
desc              728 drivers/mmc/host/meson-gx-mmc.c 			desc[i].cmd_cfg |= CMD_CFG_NO_CMD;
desc              729 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_arg = host->cmd->arg;
desc              730 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_resp = 0;
desc              731 drivers/mmc/host/meson-gx-mmc.c 		desc[i].cmd_data = sg_dma_address(sg);
desc              733 drivers/mmc/host/meson-gx-mmc.c 	desc[data->sg_count - 1].cmd_cfg |= CMD_CFG_END_OF_CHAIN;
desc              620 drivers/mmc/host/mmci.c 	struct dma_async_tx_descriptor *desc;
desc              805 drivers/mmc/host/mmci.c 	struct dma_async_tx_descriptor *desc;
desc              835 drivers/mmc/host/mmci.c 	desc = dmaengine_prep_slave_sg(chan, data->sg, nr_sg,
desc              837 drivers/mmc/host/mmci.c 	if (!desc)
desc              841 drivers/mmc/host/mmci.c 	*dma_desc = desc;
desc              862 drivers/mmc/host/mmci.c 		return _mmci_dmae_prep_data(host, data, &nd->chan, &nd->desc);
desc              893 drivers/mmc/host/mmci.c 	WARN_ON(!data->host_cookie && (next->desc || next->chan));
desc              895 drivers/mmc/host/mmci.c 	dmae->desc_current = next->desc;
desc              897 drivers/mmc/host/mmci.c 	next->desc = NULL;
desc              921 drivers/mmc/host/mmci.c 		if (dmae->desc_current == next->desc)
desc              929 drivers/mmc/host/mmci.c 		next->desc = NULL;
desc              127 drivers/mmc/host/mmci_stm32_sdmmc.c 	struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu;
desc              141 drivers/mmc/host/mmci_stm32_sdmmc.c 		desc[i].idmalar = (i + 1) * sizeof(struct sdmmc_lli_desc);
desc              142 drivers/mmc/host/mmci_stm32_sdmmc.c 		desc[i].idmalar |= MMCI_STM32_ULA | MMCI_STM32_ULS
desc              144 drivers/mmc/host/mmci_stm32_sdmmc.c 		desc[i].idmabase = sg_dma_address(sg);
desc              145 drivers/mmc/host/mmci_stm32_sdmmc.c 		desc[i].idmasize = sg_dma_len(sg);
desc              149 drivers/mmc/host/mmci_stm32_sdmmc.c 	desc[data->sg_len - 1].idmalar &= ~MMCI_STM32_ULA;
desc              153 drivers/mmc/host/mmci_stm32_sdmmc.c 	writel_relaxed(desc[0].idmalar, host->base + MMCI_STM32_IDMALAR);
desc              154 drivers/mmc/host/mmci_stm32_sdmmc.c 	writel_relaxed(desc[0].idmabase, host->base + MMCI_STM32_IDMABASE0R);
desc              155 drivers/mmc/host/mmci_stm32_sdmmc.c 	writel_relaxed(desc[0].idmasize, host->base + MMCI_STM32_IDMABSIZER);
desc              261 drivers/mmc/host/moxart-mmc.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              279 drivers/mmc/host/moxart-mmc.c 		desc = dmaengine_prep_slave_sg(dma_chan, data->sg,
desc              287 drivers/mmc/host/moxart-mmc.c 	if (desc) {
desc              288 drivers/mmc/host/moxart-mmc.c 		host->tx_desc = desc;
desc              289 drivers/mmc/host/moxart-mmc.c 		desc->callback = moxart_dma_complete;
desc              290 drivers/mmc/host/moxart-mmc.c 		desc->callback_param = host;
desc              291 drivers/mmc/host/moxart-mmc.c 		dmaengine_submit(desc);
desc              126 drivers/mmc/host/mxcmmc.c 	struct dma_async_tx_descriptor *desc;
desc              337 drivers/mmc/host/mxcmmc.c 	host->desc = dmaengine_prep_slave_sg(host->dma,
desc              341 drivers/mmc/host/mxcmmc.c 	if (!host->desc) {
desc              349 drivers/mmc/host/mxcmmc.c 	dmaengine_submit(host->desc);
desc              407 drivers/mmc/host/mxcmmc.c 			host->desc->callback = mxcmci_dma_callback;
desc              408 drivers/mmc/host/mxcmmc.c 			host->desc->callback_param = host;
desc              218 drivers/mmc/host/mxs-mmc.c 	struct dma_async_tx_descriptor *desc;
desc              235 drivers/mmc/host/mxs-mmc.c 	desc = dmaengine_prep_slave_sg(ssp->dmach,
desc              237 drivers/mmc/host/mxs-mmc.c 	if (desc) {
desc              238 drivers/mmc/host/mxs-mmc.c 		desc->callback = mxs_mmc_dma_irq_callback;
desc              239 drivers/mmc/host/mxs-mmc.c 		desc->callback_param = host;
desc              246 drivers/mmc/host/mxs-mmc.c 	return desc;
desc              253 drivers/mmc/host/mxs-mmc.c 	struct dma_async_tx_descriptor *desc;
desc              270 drivers/mmc/host/mxs-mmc.c 	desc = mxs_mmc_prep_dma(host, MXS_DMA_CTRL_WAIT4END);
desc              271 drivers/mmc/host/mxs-mmc.c 	if (!desc)
desc              274 drivers/mmc/host/mxs-mmc.c 	dmaengine_submit(desc);
desc              287 drivers/mmc/host/mxs-mmc.c 	struct dma_async_tx_descriptor *desc;
desc              315 drivers/mmc/host/mxs-mmc.c 	desc = mxs_mmc_prep_dma(host, MXS_DMA_CTRL_WAIT4END);
desc              316 drivers/mmc/host/mxs-mmc.c 	if (!desc)
desc              319 drivers/mmc/host/mxs-mmc.c 	dmaengine_submit(desc);
desc              348 drivers/mmc/host/mxs-mmc.c 	struct dma_async_tx_descriptor *desc;
desc              436 drivers/mmc/host/mxs-mmc.c 	desc = mxs_mmc_prep_dma(host, 0);
desc              437 drivers/mmc/host/mxs-mmc.c 	if (!desc)
desc              445 drivers/mmc/host/mxs-mmc.c 	desc = mxs_mmc_prep_dma(host, DMA_PREP_INTERRUPT | MXS_DMA_CTRL_WAIT4END);
desc              446 drivers/mmc/host/mxs-mmc.c 	if (!desc)
desc              449 drivers/mmc/host/mxs-mmc.c 	dmaengine_submit(desc);
desc              156 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              190 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc = dmaengine_prep_slave_sg(chan, sg, ret, DMA_DEV_TO_MEM,
desc              193 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	if (desc) {
desc              195 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc->callback = renesas_sdhi_sys_dmac_dma_callback;
desc              196 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc->callback_param = host;
desc              198 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		cookie = dmaengine_submit(desc);
desc              200 drivers/mmc/host/renesas_sdhi_sys_dmac.c 			desc = NULL;
desc              206 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	if (!desc) {
desc              228 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              267 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc = dmaengine_prep_slave_sg(chan, sg, ret, DMA_MEM_TO_DEV,
desc              270 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	if (desc) {
desc              272 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc->callback = renesas_sdhi_sys_dmac_dma_callback;
desc              273 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		desc->callback_param = host;
desc              275 drivers/mmc/host/renesas_sdhi_sys_dmac.c 		cookie = dmaengine_submit(desc);
desc              277 drivers/mmc/host/renesas_sdhi_sys_dmac.c 			desc = NULL;
desc              283 drivers/mmc/host/renesas_sdhi_sys_dmac.c 	if (!desc) {
desc             1073 drivers/mmc/host/s3cmci.c 	struct dma_async_tx_descriptor *desc;
desc             1095 drivers/mmc/host/s3cmci.c 	desc = dmaengine_prep_slave_sg(host->dma, data->sg, data->sg_len,
desc             1098 drivers/mmc/host/s3cmci.c 	if (!desc)
desc             1100 drivers/mmc/host/s3cmci.c 	desc->callback = s3cmci_dma_done_callback;
desc             1101 drivers/mmc/host/s3cmci.c 	desc->callback_param = host;
desc             1102 drivers/mmc/host/s3cmci.c 	dmaengine_submit(desc);
desc               30 drivers/mmc/host/sdhci-of-dwcmshc.c static void dwcmshc_adma_write_desc(struct sdhci_host *host, void **desc,
desc               36 drivers/mmc/host/sdhci-of-dwcmshc.c 		sdhci_adma_write_desc(host, desc, addr, len, cmd);
desc               42 drivers/mmc/host/sdhci-of-dwcmshc.c 	sdhci_adma_write_desc(host, desc, addr, tmplen, cmd);
desc               46 drivers/mmc/host/sdhci-of-dwcmshc.c 	sdhci_adma_write_desc(host, desc, addr, len, cmd);
desc              663 drivers/mmc/host/sdhci.c void sdhci_adma_write_desc(struct sdhci_host *host, void **desc,
desc              666 drivers/mmc/host/sdhci.c 	struct sdhci_adma2_64_desc *dma_desc = *desc;
desc              676 drivers/mmc/host/sdhci.c 	*desc += host->desc_sz;
desc              681 drivers/mmc/host/sdhci.c 					   void **desc, dma_addr_t addr,
desc              685 drivers/mmc/host/sdhci.c 		host->ops->adma_write_desc(host, desc, addr, len, cmd);
desc              687 drivers/mmc/host/sdhci.c 		sdhci_adma_write_desc(host, desc, addr, len, cmd);
desc              690 drivers/mmc/host/sdhci.c static void sdhci_adma_mark_end(void *desc)
desc              692 drivers/mmc/host/sdhci.c 	struct sdhci_adma2_64_desc *dma_desc = desc;
desc              704 drivers/mmc/host/sdhci.c 	void *desc, *align;
desc              715 drivers/mmc/host/sdhci.c 	desc = host->adma_table;
desc              740 drivers/mmc/host/sdhci.c 			__sdhci_adma_write_desc(host, &desc, align_addr,
desc              756 drivers/mmc/host/sdhci.c 			__sdhci_adma_write_desc(host, &desc, addr, len,
desc              763 drivers/mmc/host/sdhci.c 		WARN_ON((desc - host->adma_table) >= host->adma_table_sz);
desc              768 drivers/mmc/host/sdhci.c 		if (desc != host->adma_table) {
desc              769 drivers/mmc/host/sdhci.c 			desc -= host->desc_sz;
desc              770 drivers/mmc/host/sdhci.c 			sdhci_adma_mark_end(desc);
desc              774 drivers/mmc/host/sdhci.c 		__sdhci_adma_write_desc(host, &desc, 0, 0, ADMA2_NOP_END_VALID);
desc             2877 drivers/mmc/host/sdhci.c 	void *desc = host->adma_table;
desc             2883 drivers/mmc/host/sdhci.c 		struct sdhci_adma2_64_desc *dma_desc = desc;
desc             2899 drivers/mmc/host/sdhci.c 		desc += host->desc_sz;
desc              647 drivers/mmc/host/sdhci.h 	void	(*adma_write_desc)(struct sdhci_host *host, void **desc,
desc              775 drivers/mmc/host/sdhci.h void sdhci_adma_write_desc(struct sdhci_host *host, void **desc,
desc              291 drivers/mmc/host/sh_mmcif.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              301 drivers/mmc/host/sh_mmcif.c 		desc = dmaengine_prep_slave_sg(chan, sg, ret,
desc              305 drivers/mmc/host/sh_mmcif.c 	if (desc) {
desc              306 drivers/mmc/host/sh_mmcif.c 		desc->callback = sh_mmcif_dma_complete;
desc              307 drivers/mmc/host/sh_mmcif.c 		desc->callback_param = host;
desc              308 drivers/mmc/host/sh_mmcif.c 		cookie = dmaengine_submit(desc);
desc              315 drivers/mmc/host/sh_mmcif.c 	if (!desc) {
desc              334 drivers/mmc/host/sh_mmcif.c 		desc, cookie, data->sg_len);
desc              341 drivers/mmc/host/sh_mmcif.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              351 drivers/mmc/host/sh_mmcif.c 		desc = dmaengine_prep_slave_sg(chan, sg, ret,
desc              355 drivers/mmc/host/sh_mmcif.c 	if (desc) {
desc              356 drivers/mmc/host/sh_mmcif.c 		desc->callback = sh_mmcif_dma_complete;
desc              357 drivers/mmc/host/sh_mmcif.c 		desc->callback_param = host;
desc              358 drivers/mmc/host/sh_mmcif.c 		cookie = dmaengine_submit(desc);
desc              365 drivers/mmc/host/sh_mmcif.c 	if (!desc) {
desc              384 drivers/mmc/host/sh_mmcif.c 		desc, cookie);
desc              128 drivers/mmc/host/uniphier-sd.c 	struct dma_async_tx_descriptor *desc;
desc              148 drivers/mmc/host/uniphier-sd.c 	desc = dmaengine_prep_slave_sg(priv->chan, host->sg_ptr, sg_len,
desc              150 drivers/mmc/host/uniphier-sd.c 	if (!desc)
desc              153 drivers/mmc/host/uniphier-sd.c 	desc->callback_result = uniphier_sd_external_dma_callback;
desc              154 drivers/mmc/host/uniphier-sd.c 	desc->callback_param = host;
desc              156 drivers/mmc/host/uniphier-sd.c 	cookie = dmaengine_submit(desc);
desc              570 drivers/mmc/host/usdhi6rol0.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              589 drivers/mmc/host/usdhi6rol0.c 		desc = dmaengine_prep_slave_sg(chan, sg, ret, dir,
desc              593 drivers/mmc/host/usdhi6rol0.c 	if (desc) {
desc              594 drivers/mmc/host/usdhi6rol0.c 		desc->callback = usdhi6_dma_complete;
desc              595 drivers/mmc/host/usdhi6rol0.c 		desc->callback_param = host;
desc              596 drivers/mmc/host/usdhi6rol0.c 		cookie = dmaengine_submit(desc);
desc              600 drivers/mmc/host/usdhi6rol0.c 		__func__, data->sg_len, ret, cookie, desc);
desc              425 drivers/mmc/host/ushc.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1)
desc              474 drivers/mmc/host/ushc.c 					intf->cur_altsetting->endpoint[0].desc.bEndpointAddress),
desc              477 drivers/mmc/host/ushc.c 			 intf->cur_altsetting->endpoint[0].desc.bInterval);
desc              283 drivers/mmc/host/vub300.c 	return interface->cur_altsetting->desc.bInterfaceNumber;
desc             2225 drivers/mmc/host/vub300.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             2227 drivers/mmc/host/vub300.c 			&iface_desc->endpoint[i].desc;
desc              515 drivers/mmc/host/wmt-sdmmc.c static void wmt_dma_init_descriptor(struct wmt_dma_descriptor *desc,
desc              518 drivers/mmc/host/wmt-sdmmc.c 	desc->flags = 0x40000000 | req_count;
desc              520 drivers/mmc/host/wmt-sdmmc.c 		desc->flags |= 0x80000000;
desc              521 drivers/mmc/host/wmt-sdmmc.c 	desc->data_buffer_addr = buffer_addr;
desc              522 drivers/mmc/host/wmt-sdmmc.c 	desc->branch_addr = branch_addr;
desc              562 drivers/mmc/host/wmt-sdmmc.c 	struct wmt_dma_descriptor *desc;
desc              617 drivers/mmc/host/wmt-sdmmc.c 		desc = (struct wmt_dma_descriptor *)priv->dma_desc_buffer;
desc              639 drivers/mmc/host/wmt-sdmmc.c 				wmt_dma_init_descriptor(desc, req->data->blksz,
desc              642 drivers/mmc/host/wmt-sdmmc.c 				desc++;
desc              650 drivers/mmc/host/wmt-sdmmc.c 		desc--;
desc              651 drivers/mmc/host/wmt-sdmmc.c 		desc->flags |= 0x80000000;
desc              133 drivers/mtd/maps/physmap-core.c 		gpiod_set_value(info->gpios->desc[i], !!(BIT(i) & ofs));
desc               81 drivers/mtd/nand/raw/ams-delta.c 	gpiod_set_raw_array_value(data_gpiods->ndescs, data_gpiods->desc,
desc               94 drivers/mtd/nand/raw/ams-delta.c 		gpiod_direction_output_raw(data_gpiods->desc[i],
desc              111 drivers/mtd/nand/raw/ams-delta.c 	gpiod_get_raw_array_value(data_gpiods->ndescs, data_gpiods->desc,
desc              126 drivers/mtd/nand/raw/ams-delta.c 		gpiod_direction_input(data_gpiods->desc[i]);
desc             1640 drivers/mtd/nand/raw/brcmnand/brcmnand.c 				  struct brcm_nand_dma_desc *desc, u64 addr,
desc             1645 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	memset(desc, 0, sizeof(*desc));
desc             1647 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->next_desc = lower_32_bits(next_desc);
desc             1648 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->next_desc_ext = upper_32_bits(next_desc);
desc             1649 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->cmd_irq = (dma_cmd << 24) |
desc             1653 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->cmd_irq |= 0x01 << 12;
desc             1655 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->dram_addr = lower_32_bits(buf);
desc             1656 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->dram_addr_ext = upper_32_bits(buf);
desc             1657 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->tfr_len = len;
desc             1658 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->total_len = len;
desc             1659 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->flash_addr = lower_32_bits(addr);
desc             1660 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->flash_addr_ext = upper_32_bits(addr);
desc             1661 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->cs = host->cs;
desc             1662 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	desc->status_valid = 0x01;
desc             1669 drivers/mtd/nand/raw/brcmnand/brcmnand.c static void brcmnand_dma_run(struct brcmnand_host *host, dma_addr_t desc)
desc             1674 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	flash_dma_writel(ctrl, FLASH_DMA_FIRST_DESC, lower_32_bits(desc));
desc             1676 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	flash_dma_writel(ctrl, FLASH_DMA_FIRST_DESC_EXT, upper_32_bits(desc));
desc             2245 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_async_tx_descriptor *desc;
desc             2260 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio),
desc             2262 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!desc)
desc             2278 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	desc = dmaengine_prep_slave_sg(channel, &transfer->sgl, 1, DMA_MEM_TO_DEV,
desc             2280 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return desc;
desc             2304 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_async_tx_descriptor *desc;
desc             2335 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio),
desc             2337 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!desc)
desc             2341 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		desc = dmaengine_prep_slave_sg(channel, &transfer->sgl, 1,
desc             2345 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return desc;
desc             2352 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_async_tx_descriptor *desc;
desc             2381 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	desc = mxs_dmaengine_prep_pio(channel, pio, ARRAY_SIZE(pio),
desc             2384 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!desc)
desc             2388 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		desc = dmaengine_prep_slave_sg(channel, &transfer->sgl, 1,
desc             2392 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return desc;
desc             2401 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_async_tx_descriptor *desc = NULL;
desc             2438 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_wait_ready(this);
desc             2451 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_command(this, cmd, NULL, 0);
desc             2455 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_command(this, cmd, instr->ctx.addr.addrs,
desc             2463 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_data_write(this, buf_write, buf_len);
desc             2473 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_data_read(this, buf_read, buf_len,
desc             2478 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		if (!desc) {
desc             2504 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		desc->callback = dma_irq_callback;
desc             2505 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		desc->callback_param = this;
desc             2511 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dmaengine_submit(desc);
desc              397 drivers/mtd/nand/raw/lpc32xx_mlc.c 	struct dma_async_tx_descriptor *desc;
desc              409 drivers/mtd/nand/raw/lpc32xx_mlc.c 	desc = dmaengine_prep_slave_sg(host->dma_chan, &host->sgl, 1, dir,
desc              411 drivers/mtd/nand/raw/lpc32xx_mlc.c 	if (!desc) {
desc              417 drivers/mtd/nand/raw/lpc32xx_mlc.c 	desc->callback = lpc32xx_dma_complete_func;
desc              418 drivers/mtd/nand/raw/lpc32xx_mlc.c 	desc->callback_param = &host->comp_dma;
desc              420 drivers/mtd/nand/raw/lpc32xx_mlc.c 	dmaengine_submit(desc);
desc              432 drivers/mtd/nand/raw/lpc32xx_slc.c 	struct dma_async_tx_descriptor *desc;
desc              458 drivers/mtd/nand/raw/lpc32xx_slc.c 	desc = dmaengine_prep_slave_sg(host->dma_chan, &host->sgl, 1, dir,
desc              460 drivers/mtd/nand/raw/lpc32xx_slc.c 	if (!desc) {
desc              466 drivers/mtd/nand/raw/lpc32xx_slc.c 	desc->callback = lpc32xx_dma_complete_func;
desc              467 drivers/mtd/nand/raw/lpc32xx_slc.c 	desc->callback_param = &host->comp;
desc              469 drivers/mtd/nand/raw/lpc32xx_slc.c 	dmaengine_submit(desc);
desc             4596 drivers/mtd/nand/raw/nand_base.c 	if (chip->manufacturer.desc && chip->manufacturer.desc->ops &&
desc             4597 drivers/mtd/nand/raw/nand_base.c 	    chip->manufacturer.desc->ops->detect) {
desc             4604 drivers/mtd/nand/raw/nand_base.c 		chip->manufacturer.desc->ops->detect(chip);
desc             4618 drivers/mtd/nand/raw/nand_base.c 	if (!chip->manufacturer.desc || !chip->manufacturer.desc->ops ||
desc             4619 drivers/mtd/nand/raw/nand_base.c 	    !chip->manufacturer.desc->ops->init)
desc             4622 drivers/mtd/nand/raw/nand_base.c 	return chip->manufacturer.desc->ops->init(chip);
desc             4634 drivers/mtd/nand/raw/nand_base.c 	if (chip->manufacturer.desc && chip->manufacturer.desc->ops &&
desc             4635 drivers/mtd/nand/raw/nand_base.c 	    chip->manufacturer.desc->ops->cleanup)
desc             4636 drivers/mtd/nand/raw/nand_base.c 		chip->manufacturer.desc->ops->cleanup(chip);
desc             4708 drivers/mtd/nand/raw/nand_base.c 	chip->manufacturer.desc = manufacturer;
desc              197 drivers/mtd/nand/raw/nand_onfi.c 	if (chip->manufacturer.desc && chip->manufacturer.desc->ops &&
desc              198 drivers/mtd/nand/raw/nand_onfi.c 	    chip->manufacturer.desc->ops->fixup_onfi_param_page)
desc              199 drivers/mtd/nand/raw/nand_onfi.c 		chip->manufacturer.desc->ops->fixup_onfi_param_page(chip, p);
desc              731 drivers/mtd/nand/raw/qcom_nandc.c 	struct desc_info *desc;
desc              739 drivers/mtd/nand/raw/qcom_nandc.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              740 drivers/mtd/nand/raw/qcom_nandc.c 	if (!desc)
desc              748 drivers/mtd/nand/raw/qcom_nandc.c 		desc->dir = DMA_TO_DEVICE;
desc              754 drivers/mtd/nand/raw/qcom_nandc.c 		desc->dir = DMA_TO_DEVICE;
desc              760 drivers/mtd/nand/raw/qcom_nandc.c 		desc->dir = DMA_FROM_DEVICE;
desc              764 drivers/mtd/nand/raw/qcom_nandc.c 	ret = dma_map_sg(nandc->dev, sgl, sgl_cnt, desc->dir);
desc              767 drivers/mtd/nand/raw/qcom_nandc.c 		kfree(desc);
desc              771 drivers/mtd/nand/raw/qcom_nandc.c 	desc->sgl_cnt = sgl_cnt;
desc              772 drivers/mtd/nand/raw/qcom_nandc.c 	desc->bam_sgl = sgl;
desc              779 drivers/mtd/nand/raw/qcom_nandc.c 		dma_unmap_sg(nandc->dev, sgl, sgl_cnt, desc->dir);
desc              780 drivers/mtd/nand/raw/qcom_nandc.c 		kfree(desc);
desc              784 drivers/mtd/nand/raw/qcom_nandc.c 	desc->dma_desc = dma_desc;
desc              792 drivers/mtd/nand/raw/qcom_nandc.c 	list_add_tail(&desc->node, &nandc->desc_list);
desc              896 drivers/mtd/nand/raw/qcom_nandc.c 	struct desc_info *desc;
desc              903 drivers/mtd/nand/raw/qcom_nandc.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              904 drivers/mtd/nand/raw/qcom_nandc.c 	if (!desc)
desc              907 drivers/mtd/nand/raw/qcom_nandc.c 	sgl = &desc->adm_sgl;
desc              913 drivers/mtd/nand/raw/qcom_nandc.c 		desc->dir = DMA_FROM_DEVICE;
desc              916 drivers/mtd/nand/raw/qcom_nandc.c 		desc->dir = DMA_TO_DEVICE;
desc              919 drivers/mtd/nand/raw/qcom_nandc.c 	ret = dma_map_sg(nandc->dev, sgl, 1, desc->dir);
desc              951 drivers/mtd/nand/raw/qcom_nandc.c 	desc->dma_desc = dma_desc;
desc              953 drivers/mtd/nand/raw/qcom_nandc.c 	list_add_tail(&desc->node, &nandc->desc_list);
desc              957 drivers/mtd/nand/raw/qcom_nandc.c 	kfree(desc);
desc             1285 drivers/mtd/nand/raw/qcom_nandc.c 	struct desc_info *desc;
desc             1312 drivers/mtd/nand/raw/qcom_nandc.c 	list_for_each_entry(desc, &nandc->desc_list, node)
desc             1313 drivers/mtd/nand/raw/qcom_nandc.c 		cookie = dmaengine_submit(desc->dma_desc);
desc             1341 drivers/mtd/nand/raw/qcom_nandc.c 	struct desc_info *desc, *n;
desc             1343 drivers/mtd/nand/raw/qcom_nandc.c 	list_for_each_entry_safe(desc, n, &nandc->desc_list, node) {
desc             1344 drivers/mtd/nand/raw/qcom_nandc.c 		list_del(&desc->node);
desc             1347 drivers/mtd/nand/raw/qcom_nandc.c 			dma_unmap_sg(nandc->dev, desc->bam_sgl,
desc             1348 drivers/mtd/nand/raw/qcom_nandc.c 				     desc->sgl_cnt, desc->dir);
desc             1350 drivers/mtd/nand/raw/qcom_nandc.c 			dma_unmap_sg(nandc->dev, &desc->adm_sgl, 1,
desc             1351 drivers/mtd/nand/raw/qcom_nandc.c 				     desc->dir);
desc             1353 drivers/mtd/nand/raw/qcom_nandc.c 		kfree(desc);
desc              381 drivers/mtd/nand/raw/sh_flctl.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              400 drivers/mtd/nand/raw/sh_flctl.c 		desc = dmaengine_prep_slave_single(chan, dma_addr, len,
desc              403 drivers/mtd/nand/raw/sh_flctl.c 	if (desc) {
desc              408 drivers/mtd/nand/raw/sh_flctl.c 		desc->callback = flctl_dma_complete;
desc              409 drivers/mtd/nand/raw/sh_flctl.c 		desc->callback_param = flctl;
desc              410 drivers/mtd/nand/raw/sh_flctl.c 		cookie = dmaengine_submit(desc);
desc              234 drivers/mtd/nand/raw/tango_nand.c 	struct dma_async_tx_descriptor *desc;
desc              246 drivers/mtd/nand/raw/tango_nand.c 	desc = dmaengine_prep_slave_sg(chan, &sg, 1, tdir, DMA_PREP_INTERRUPT);
desc              247 drivers/mtd/nand/raw/tango_nand.c 	if (!desc)
desc              250 drivers/mtd/nand/raw/tango_nand.c 	desc->callback = tango_dma_callback;
desc              251 drivers/mtd/nand/raw/tango_nand.c 	desc->callback_param = &tx_done;
desc              260 drivers/mtd/nand/raw/tango_nand.c 	dmaengine_submit(desc);
desc              703 drivers/mtd/nand/spi/core.c 	struct spi_mem_dirmap_desc *desc;
desc              709 drivers/mtd/nand/spi/core.c 	desc = devm_spi_mem_dirmap_create(&spinand->spimem->spi->dev,
desc              711 drivers/mtd/nand/spi/core.c 	if (IS_ERR(desc))
desc              712 drivers/mtd/nand/spi/core.c 		return PTR_ERR(desc);
desc              714 drivers/mtd/nand/spi/core.c 	spinand->dirmaps[plane].wdesc = desc;
desc              717 drivers/mtd/nand/spi/core.c 	desc = devm_spi_mem_dirmap_create(&spinand->spimem->spi->dev,
desc              719 drivers/mtd/nand/spi/core.c 	if (IS_ERR(desc))
desc              720 drivers/mtd/nand/spi/core.c 		return PTR_ERR(desc);
desc              722 drivers/mtd/nand/spi/core.c 	spinand->dirmaps[plane].rdesc = desc;
desc               76 drivers/mtd/ubi/block.c 	struct ubi_volume_desc *desc;
desc              207 drivers/mtd/ubi/block.c 		ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read);
desc              243 drivers/mtd/ubi/block.c 	dev->desc = ubi_open_volume(dev->ubi_num, dev->vol_id, UBI_READONLY);
desc              244 drivers/mtd/ubi/block.c 	if (IS_ERR(dev->desc)) {
desc              247 drivers/mtd/ubi/block.c 		ret = PTR_ERR(dev->desc);
desc              248 drivers/mtd/ubi/block.c 		dev->desc = NULL;
desc              269 drivers/mtd/ubi/block.c 		ubi_close_volume(dev->desc);
desc              270 drivers/mtd/ubi/block.c 		dev->desc = NULL;
desc              622 drivers/mtd/ubi/block.c 	struct ubi_volume_desc *desc;
desc              634 drivers/mtd/ubi/block.c 		desc = open_volume_desc(p->name, p->ubi_num, p->vol_id);
desc              635 drivers/mtd/ubi/block.c 		if (IS_ERR(desc)) {
desc              638 drivers/mtd/ubi/block.c 			       p->ubi_num, p->vol_id, PTR_ERR(desc));
desc              642 drivers/mtd/ubi/block.c 		ubi_get_volume_info(desc, &vi);
desc              643 drivers/mtd/ubi/block.c 		ubi_close_volume(desc);
desc              663 drivers/mtd/ubi/block.c 		WARN_ON(dev->desc);
desc              743 drivers/mtd/ubi/build.c 	struct ubi_volume_desc desc;
desc              772 drivers/mtd/ubi/build.c 		desc.vol = vol;
desc              773 drivers/mtd/ubi/build.c 		err = ubi_resize_volume(&desc,
desc               44 drivers/mtd/ubi/cdev.c static int get_exclusive(struct ubi_volume_desc *desc)
desc               47 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc               58 drivers/mtd/ubi/cdev.c 		err = desc->mode;
desc               59 drivers/mtd/ubi/cdev.c 		desc->mode = UBI_EXCLUSIVE;
desc               71 drivers/mtd/ubi/cdev.c static void revoke_exclusive(struct ubi_volume_desc *desc, int mode)
desc               73 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc               77 drivers/mtd/ubi/cdev.c 	ubi_assert(vol->exclusive == 1 && desc->mode == UBI_EXCLUSIVE);
desc               89 drivers/mtd/ubi/cdev.c 	desc->mode = mode;
desc               94 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc;
desc              109 drivers/mtd/ubi/cdev.c 	desc = ubi_open_volume(ubi_num, vol_id, mode);
desc              110 drivers/mtd/ubi/cdev.c 	if (IS_ERR(desc))
desc              111 drivers/mtd/ubi/cdev.c 		return PTR_ERR(desc);
desc              113 drivers/mtd/ubi/cdev.c 	file->private_data = desc;
desc              119 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              120 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              123 drivers/mtd/ubi/cdev.c 		vol->ubi->ubi_num, vol->vol_id, desc->mode);
desc              139 drivers/mtd/ubi/cdev.c 	ubi_close_volume(desc);
desc              145 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              146 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              160 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              161 drivers/mtd/ubi/cdev.c 	struct ubi_device *ubi = desc->vol->ubi;
desc              174 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              175 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              251 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              252 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              327 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              328 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              353 drivers/mtd/ubi/cdev.c 			revoke_exclusive(desc, UBI_READWRITE);
desc              372 drivers/mtd/ubi/cdev.c 		revoke_exclusive(desc, UBI_READWRITE);
desc              382 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc = file->private_data;
desc              383 drivers/mtd/ubi/cdev.c 	struct ubi_volume *vol = desc->vol;
desc              404 drivers/mtd/ubi/cdev.c 		if (desc->mode == UBI_READONLY) {
desc              416 drivers/mtd/ubi/cdev.c 		err = get_exclusive(desc);
desc              423 drivers/mtd/ubi/cdev.c 			revoke_exclusive(desc, UBI_READWRITE);
desc              440 drivers/mtd/ubi/cdev.c 		if (desc->mode == UBI_READONLY ||
desc              452 drivers/mtd/ubi/cdev.c 		err = get_exclusive(desc);
desc              458 drivers/mtd/ubi/cdev.c 			revoke_exclusive(desc, UBI_READWRITE);
desc              473 drivers/mtd/ubi/cdev.c 		if (desc->mode == UBI_READONLY ||
desc              503 drivers/mtd/ubi/cdev.c 		err = ubi_leb_map(desc, req.lnum);
desc              517 drivers/mtd/ubi/cdev.c 		err = ubi_leb_unmap(desc, lnum);
desc              531 drivers/mtd/ubi/cdev.c 		err = ubi_is_mapped(desc, lnum);
desc              549 drivers/mtd/ubi/cdev.c 			desc->vol->direct_writes = !!req.value;
desc              564 drivers/mtd/ubi/cdev.c 		ubi_get_volume_info(desc, &vi);
desc              574 drivers/mtd/ubi/cdev.c 		ubi_get_volume_info(desc, &vi);
desc              736 drivers/mtd/ubi/cdev.c 		re->desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_METAONLY);
desc              737 drivers/mtd/ubi/cdev.c 		if (IS_ERR(re->desc)) {
desc              738 drivers/mtd/ubi/cdev.c 			err = PTR_ERR(re->desc);
desc              746 drivers/mtd/ubi/cdev.c 		if (re->desc->vol->name_len == name_len &&
desc              747 drivers/mtd/ubi/cdev.c 		    !memcmp(re->desc->vol->name, name, name_len)) {
desc              748 drivers/mtd/ubi/cdev.c 			ubi_close_volume(re->desc);
desc              757 drivers/mtd/ubi/cdev.c 			vol_id, re->desc->vol->name, name);
desc              765 drivers/mtd/ubi/cdev.c 		struct ubi_volume_desc *desc;
desc              775 drivers/mtd/ubi/cdev.c 			if (re->new_name_len == re1->desc->vol->name_len &&
desc              776 drivers/mtd/ubi/cdev.c 			    !memcmp(re->new_name, re1->desc->vol->name,
desc              777 drivers/mtd/ubi/cdev.c 				    re1->desc->vol->name_len)) {
desc              790 drivers/mtd/ubi/cdev.c 		desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name,
desc              792 drivers/mtd/ubi/cdev.c 		if (IS_ERR(desc)) {
desc              793 drivers/mtd/ubi/cdev.c 			err = PTR_ERR(desc);
desc              807 drivers/mtd/ubi/cdev.c 			ubi_close_volume(desc);
desc              812 drivers/mtd/ubi/cdev.c 		re1->desc = desc;
desc              815 drivers/mtd/ubi/cdev.c 			re1->desc->vol->vol_id, re1->desc->vol->name);
desc              824 drivers/mtd/ubi/cdev.c 		ubi_close_volume(re->desc);
desc              836 drivers/mtd/ubi/cdev.c 	struct ubi_volume_desc *desc;
desc              888 drivers/mtd/ubi/cdev.c 		desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_EXCLUSIVE);
desc              889 drivers/mtd/ubi/cdev.c 		if (IS_ERR(desc)) {
desc              890 drivers/mtd/ubi/cdev.c 			err = PTR_ERR(desc);
desc              895 drivers/mtd/ubi/cdev.c 		err = ubi_remove_volume(desc, 0);
desc              903 drivers/mtd/ubi/cdev.c 		ubi_close_volume(desc);
desc              924 drivers/mtd/ubi/cdev.c 		desc = ubi_open_volume(ubi->ubi_num, req.vol_id, UBI_EXCLUSIVE);
desc              925 drivers/mtd/ubi/cdev.c 		if (IS_ERR(desc)) {
desc              926 drivers/mtd/ubi/cdev.c 			err = PTR_ERR(desc);
desc              930 drivers/mtd/ubi/cdev.c 		pebs = div_u64(req.bytes + desc->vol->usable_leb_size - 1,
desc              931 drivers/mtd/ubi/cdev.c 			       desc->vol->usable_leb_size);
desc              934 drivers/mtd/ubi/cdev.c 		err = ubi_resize_volume(desc, pebs);
desc              936 drivers/mtd/ubi/cdev.c 		ubi_close_volume(desc);
desc               46 drivers/mtd/ubi/gluebi.c 	struct ubi_volume_desc *desc;
desc              112 drivers/mtd/ubi/gluebi.c 	gluebi->desc = ubi_open_volume(gluebi->ubi_num, gluebi->vol_id,
desc              114 drivers/mtd/ubi/gluebi.c 	if (IS_ERR(gluebi->desc)) {
desc              116 drivers/mtd/ubi/gluebi.c 		return PTR_ERR(gluebi->desc);
desc              138 drivers/mtd/ubi/gluebi.c 		ubi_close_volume(gluebi->desc);
desc              168 drivers/mtd/ubi/gluebi.c 		err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
desc              212 drivers/mtd/ubi/gluebi.c 		err = ubi_leb_write(gluebi->desc, lnum, buf, offs, to_write);
desc              247 drivers/mtd/ubi/gluebi.c 		err = ubi_leb_unmap(gluebi->desc, lnum + i);
desc              258 drivers/mtd/ubi/gluebi.c 	err = ubi_leb_erase(gluebi->desc, lnum + i);
desc               89 drivers/mtd/ubi/kapi.c void ubi_get_volume_info(struct ubi_volume_desc *desc,
desc               92 drivers/mtd/ubi/kapi.c 	ubi_do_get_volume_info(desc->vol->ubi, desc->vol, vi);
desc              117 drivers/mtd/ubi/kapi.c 	struct ubi_volume_desc *desc;
desc              142 drivers/mtd/ubi/kapi.c 	desc = kmalloc(sizeof(struct ubi_volume_desc), GFP_KERNEL);
desc              143 drivers/mtd/ubi/kapi.c 	if (!desc) {
desc              188 drivers/mtd/ubi/kapi.c 	desc->vol = vol;
desc              189 drivers/mtd/ubi/kapi.c 	desc->mode = mode;
desc              197 drivers/mtd/ubi/kapi.c 			ubi_close_volume(desc);
desc              209 drivers/mtd/ubi/kapi.c 	return desc;
desc              215 drivers/mtd/ubi/kapi.c 	kfree(desc);
desc              325 drivers/mtd/ubi/kapi.c void ubi_close_volume(struct ubi_volume_desc *desc)
desc              327 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              331 drivers/mtd/ubi/kapi.c 		ubi->ubi_num, vol->vol_id, desc->mode);
desc              334 drivers/mtd/ubi/kapi.c 	switch (desc->mode) {
desc              351 drivers/mtd/ubi/kapi.c 	kfree(desc);
desc              368 drivers/mtd/ubi/kapi.c static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum,
desc              371 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              422 drivers/mtd/ubi/kapi.c int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
desc              425 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              431 drivers/mtd/ubi/kapi.c 	err = leb_read_sanity_check(desc, lnum, offset, len);
desc              462 drivers/mtd/ubi/kapi.c int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
desc              465 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              471 drivers/mtd/ubi/kapi.c 	err = leb_read_sanity_check(desc, lnum, offset, len);
desc              513 drivers/mtd/ubi/kapi.c int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
desc              516 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              525 drivers/mtd/ubi/kapi.c 	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
desc              558 drivers/mtd/ubi/kapi.c int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
desc              561 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              570 drivers/mtd/ubi/kapi.c 	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
desc              599 drivers/mtd/ubi/kapi.c int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum)
desc              601 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              607 drivers/mtd/ubi/kapi.c 	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
desc              660 drivers/mtd/ubi/kapi.c int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum)
desc              662 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              667 drivers/mtd/ubi/kapi.c 	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
desc              696 drivers/mtd/ubi/kapi.c int ubi_leb_map(struct ubi_volume_desc *desc, int lnum)
desc              698 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              703 drivers/mtd/ubi/kapi.c 	if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
desc              735 drivers/mtd/ubi/kapi.c int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum)
desc              737 drivers/mtd/ubi/kapi.c 	struct ubi_volume *vol = desc->vol;
desc              226 drivers/mtd/ubi/ubi.h 	struct ubi_volume_desc *desc;
desc              845 drivers/mtd/ubi/ubi.h int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl);
desc              846 drivers/mtd/ubi/ubi.h int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs);
desc              340 drivers/mtd/ubi/vmt.c int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl)
desc              342 drivers/mtd/ubi/vmt.c 	struct ubi_volume *vol = desc->vol;
desc              347 drivers/mtd/ubi/vmt.c 	ubi_assert(desc->mode == UBI_EXCLUSIVE);
desc              411 drivers/mtd/ubi/vmt.c int ubi_resize_volume(struct ubi_volume_desc *desc, int reserved_pebs)
desc              414 drivers/mtd/ubi/vmt.c 	struct ubi_volume *vol = desc->vol;
desc              547 drivers/mtd/ubi/vmt.c 			err = ubi_remove_volume(re->desc, 1);
desc              551 drivers/mtd/ubi/vmt.c 			struct ubi_volume *vol = re->desc->vol;
desc              128 drivers/mtd/ubi/vtbl.c 		struct ubi_volume *vol = re->desc->vol;
desc               30 drivers/mux/gpio.c 				       mux_gpio->gpios->desc,
desc              343 drivers/net/arcnet/arcdevice.h void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc);
desc              346 drivers/net/arcnet/arcdevice.h void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc)
desc              147 drivers/net/arcnet/arcnet.c 		     struct sk_buff *skb, char *desc)
desc              152 drivers/net/arcnet/arcnet.c 	snprintf(hdr, sizeof(hdr), "%6s:%s skb->data:", dev->name, desc);
desc              162 drivers/net/arcnet/arcnet.c 			       char *desc, int take_arcnet_lock)
desc              184 drivers/net/arcnet/arcnet.c 	snprintf(hdr, sizeof(hdr), "%6s:%s packet dump:", dev->name, desc);
desc              191 drivers/net/arcnet/arcnet.c #define arcnet_dump_packet(dev, bufnum, desc, take_arcnet_lock) do { } while (0)
desc              211 drivers/net/bonding/bond_options.c 		.desc = "bond device mode",
desc              219 drivers/net/bonding/bond_options.c 		.desc = "Packets to send per slave in RR mode",
desc              227 drivers/net/bonding/bond_options.c 		.desc = "balance-xor, 802.3ad, and tlb hashing method",
desc              234 drivers/net/bonding/bond_options.c 		.desc = "validate src/dst of ARP probes",
desc              243 drivers/net/bonding/bond_options.c 		.desc = "fail on any/all arp targets timeout",
desc              250 drivers/net/bonding/bond_options.c 		.desc = "For active-backup, do not set all slaves to the same MAC",
desc              258 drivers/net/bonding/bond_options.c 		.desc = "arp interval in milliseconds",
desc              267 drivers/net/bonding/bond_options.c 		.desc = "arp targets in n.n.n.n form",
desc              274 drivers/net/bonding/bond_options.c 		.desc = "Delay before considering link down, in milliseconds",
desc              281 drivers/net/bonding/bond_options.c 		.desc = "Delay before considering link up, in milliseconds",
desc              288 drivers/net/bonding/bond_options.c 		.desc = "LACPDU tx rate to request from 802.3ad partner",
desc              297 drivers/net/bonding/bond_options.c 		.desc = "Minimum number of available links before turning on carrier",
desc              304 drivers/net/bonding/bond_options.c 		.desc = "803.ad aggregation selection logic",
desc              312 drivers/net/bonding/bond_options.c 		.desc = "Number of peer notifications to send on failover event",
desc              319 drivers/net/bonding/bond_options.c 		.desc = "Link check interval in milliseconds",
desc              326 drivers/net/bonding/bond_options.c 		.desc = "Primary network device to use",
desc              336 drivers/net/bonding/bond_options.c 		.desc = "Reselect primary slave once it comes up",
desc              343 drivers/net/bonding/bond_options.c 		.desc = "Use netif_carrier_ok (vs MII ioctls) in miimon",
desc              350 drivers/net/bonding/bond_options.c 		.desc = "Currently active slave",
desc              360 drivers/net/bonding/bond_options.c 		.desc = "Set queue id of a slave",
desc              367 drivers/net/bonding/bond_options.c 		.desc = "Keep all frames received on an interface by setting active flag for all slaves",
desc              374 drivers/net/bonding/bond_options.c 		.desc = "Number of IGMP membership reports to send on link failure",
desc              381 drivers/net/bonding/bond_options.c 		.desc = "The number of seconds between instances where the bonding driver sends learning packets to each slave's peer switch",
desc              388 drivers/net/bonding/bond_options.c 		.desc = "Slave membership management",
desc              395 drivers/net/bonding/bond_options.c 		.desc = "Enable dynamic flow shuffling",
desc              426 drivers/net/bonding/bond_options.c 		.desc = "Number of peer notifications to send on failover event",
desc              433 drivers/net/bonding/bond_options.c 		.desc = "Delay between each peer notification on failover event, in milliseconds",
desc              217 drivers/net/caif/caif_hsi.c static int cfhsi_tx_frm(struct cfhsi_desc *desc, struct cfhsi *cfhsi)
desc              222 drivers/net/caif/caif_hsi.c 	u8 *pfrm = desc->emb_frm + CFHSI_MAX_EMB_FRM_SZ;
desc              229 drivers/net/caif/caif_hsi.c 	desc->offset = 0;
desc              245 drivers/net/caif/caif_hsi.c 			u8 *pemb = desc->emb_frm;
desc              246 drivers/net/caif/caif_hsi.c 			desc->offset = CFHSI_DESC_SHORT_SZ;
desc              285 drivers/net/caif/caif_hsi.c 		desc->cffrm_len[nfrms] = hpad + skb->len + tpad;
desc              302 drivers/net/caif/caif_hsi.c 		pld_len += desc->cffrm_len[nfrms];
desc              317 drivers/net/caif/caif_hsi.c 		desc->cffrm_len[nfrms] = 0x0000;
desc              323 drivers/net/caif/caif_hsi.c 		desc->header |= CFHSI_PIGGY_DESC;
desc              325 drivers/net/caif/caif_hsi.c 		desc->header &= ~CFHSI_PIGGY_DESC;
desc              332 drivers/net/caif/caif_hsi.c 	struct cfhsi_desc *desc = (struct cfhsi_desc *)cfhsi->tx_buf;
desc              342 drivers/net/caif/caif_hsi.c 		len = cfhsi_tx_frm(desc, cfhsi);
desc              411 drivers/net/caif/caif_hsi.c static int cfhsi_rx_desc(struct cfhsi_desc *desc, struct cfhsi *cfhsi)
desc              418 drivers/net/caif/caif_hsi.c 	if ((desc->header & ~CFHSI_PIGGY_DESC) ||
desc              419 drivers/net/caif/caif_hsi.c 			(desc->offset > CFHSI_MAX_EMB_FRM_SZ)) {
desc              426 drivers/net/caif/caif_hsi.c 	if (desc->offset) {
desc              429 drivers/net/caif/caif_hsi.c 		pfrm = ((u8 *)desc) + desc->offset;
desc              477 drivers/net/caif/caif_hsi.c 	plen = desc->cffrm_len;
desc              485 drivers/net/caif/caif_hsi.c 	if (desc->header & CFHSI_PIGGY_DESC)
desc              497 drivers/net/caif/caif_hsi.c static int cfhsi_rx_desc_len(struct cfhsi_desc *desc)
desc              503 drivers/net/caif/caif_hsi.c 	if ((desc->header & ~CFHSI_PIGGY_DESC) ||
desc              504 drivers/net/caif/caif_hsi.c 			(desc->offset > CFHSI_MAX_EMB_FRM_SZ)) {
desc              506 drivers/net/caif/caif_hsi.c 		pr_err("Invalid descriptor. %x %x\n", desc->header,
desc              507 drivers/net/caif/caif_hsi.c 				desc->offset);
desc              512 drivers/net/caif/caif_hsi.c 	plen = desc->cffrm_len;
desc              526 drivers/net/caif/caif_hsi.c static int cfhsi_rx_pld(struct cfhsi_desc *desc, struct cfhsi *cfhsi)
desc              534 drivers/net/caif/caif_hsi.c 	if (WARN_ON((desc->header & ~CFHSI_PIGGY_DESC) ||
desc              535 drivers/net/caif/caif_hsi.c 			(desc->offset > CFHSI_MAX_EMB_FRM_SZ))) {
desc              542 drivers/net/caif/caif_hsi.c 	pfrm = desc->emb_frm + CFHSI_MAX_EMB_FRM_SZ;
desc              543 drivers/net/caif/caif_hsi.c 	plen = desc->cffrm_len;
desc              616 drivers/net/caif/caif_hsi.c 	struct cfhsi_desc *desc = NULL;
desc              620 drivers/net/caif/caif_hsi.c 	desc = (struct cfhsi_desc *)cfhsi->rx_buf;
desc              634 drivers/net/caif/caif_hsi.c 		desc_pld_len = cfhsi_rx_desc_len(desc);
desc              641 drivers/net/caif/caif_hsi.c 		if (desc_pld_len > 0 && (desc->header & CFHSI_PIGGY_DESC))
desc              650 drivers/net/caif/caif_hsi.c 				(desc->header & CFHSI_PIGGY_DESC)) {
desc              653 drivers/net/caif/caif_hsi.c 				(desc->emb_frm + CFHSI_MAX_EMB_FRM_SZ +
desc              705 drivers/net/caif/caif_hsi.c 		if (cfhsi_rx_desc(desc, cfhsi) < 0)
desc              709 drivers/net/caif/caif_hsi.c 		if (cfhsi_rx_pld(desc, cfhsi) < 0)
desc              726 drivers/net/caif/caif_hsi.c 	cfhsi->rx_state.piggy_desc = desc->header & CFHSI_PIGGY_DESC;
desc             1084 drivers/net/caif/caif_hsi.c 		struct cfhsi_desc *desc = (struct cfhsi_desc *)cfhsi->tx_buf;
desc             1089 drivers/net/caif/caif_hsi.c 		len = cfhsi_tx_frm(desc, cfhsi);
desc             1469 drivers/net/can/grcan.c #define GRCAN_MODULE_PARAM(name, mtype, valcheckf, desc)		\
desc             1484 drivers/net/can/grcan.c 	MODULE_PARM_DESC(name, desc)
desc             1486 drivers/net/can/grcan.c #define GRCAN_CONFIG_ATTR(name, desc)					\
desc             1515 drivers/net/can/grcan.c 	GRCAN_MODULE_PARAM(name, ushort, GRCAN_NOT_BOOL, desc)
desc              392 drivers/net/can/janz-ican3.c 	struct ican3_new_desc desc;
desc              409 drivers/net/can/janz-ican3.c 		desc.control = DESC_INTERRUPT | DESC_LEN(1); /* I L=1 */
desc              410 drivers/net/can/janz-ican3.c 		desc.pointer = mod->free_page;
desc              414 drivers/net/can/janz-ican3.c 			desc.control |= DESC_WRAP;
desc              416 drivers/net/can/janz-ican3.c 		memcpy_toio(dst, &desc, sizeof(desc));
desc              417 drivers/net/can/janz-ican3.c 		dst += sizeof(desc);
desc              430 drivers/net/can/janz-ican3.c 		desc.control = DESC_VALID | DESC_LEN(1); /* V L=1 */
desc              431 drivers/net/can/janz-ican3.c 		desc.pointer = mod->free_page;
desc              435 drivers/net/can/janz-ican3.c 			desc.control |= DESC_WRAP;
desc              437 drivers/net/can/janz-ican3.c 		memcpy_toio(dst, &desc, sizeof(desc));
desc              438 drivers/net/can/janz-ican3.c 		dst += sizeof(desc);
desc              447 drivers/net/can/janz-ican3.c 	desc.control = DESC_VALID | DESC_WRAP | DESC_LEN(1); /* VW L=1 */
desc              448 drivers/net/can/janz-ican3.c 	desc.pointer = mod->free_page;
desc              449 drivers/net/can/janz-ican3.c 	memcpy_toio(dst, &desc, sizeof(desc));
desc              457 drivers/net/can/janz-ican3.c 	desc.control = DESC_VALID | DESC_WRAP | DESC_LEN(1); /* VW L=1 */
desc              458 drivers/net/can/janz-ican3.c 	desc.pointer = mod->free_page;
desc              459 drivers/net/can/janz-ican3.c 	memcpy_toio(dst, &desc, sizeof(desc));
desc              471 drivers/net/can/janz-ican3.c 	struct ican3_fast_desc desc;
desc              484 drivers/net/can/janz-ican3.c 	memset(&desc, 0, sizeof(desc));
desc              485 drivers/net/can/janz-ican3.c 	desc.control = 0x00;
desc              486 drivers/net/can/janz-ican3.c 	desc.command = 1;
desc              494 drivers/net/can/janz-ican3.c 			desc.control |= DESC_WRAP;
desc              501 drivers/net/can/janz-ican3.c 		memcpy_toio(dst, &desc, sizeof(desc));
desc              502 drivers/net/can/janz-ican3.c 		addr += sizeof(desc);
desc              520 drivers/net/can/janz-ican3.c 	memset(&desc, 0, sizeof(desc));
desc              521 drivers/net/can/janz-ican3.c 	desc.control = DESC_VALID;
desc              522 drivers/net/can/janz-ican3.c 	desc.command = 1;
desc              530 drivers/net/can/janz-ican3.c 			desc.control |= DESC_WRAP;
desc              537 drivers/net/can/janz-ican3.c 		memcpy_toio(dst, &desc, sizeof(desc));
desc              538 drivers/net/can/janz-ican3.c 		addr += sizeof(desc);
desc              559 drivers/net/can/janz-ican3.c 	struct ican3_new_desc desc;
desc              560 drivers/net/can/janz-ican3.c 	void __iomem *desc_addr = mod->dpm + (mod->tx_num * sizeof(desc));
desc              564 drivers/net/can/janz-ican3.c 	memcpy_fromio(&desc, desc_addr, sizeof(desc));
desc              566 drivers/net/can/janz-ican3.c 	if (!(desc.control & DESC_VALID)) {
desc              572 drivers/net/can/janz-ican3.c 	ican3_set_page(mod, desc.pointer);
desc              577 drivers/net/can/janz-ican3.c 	desc.control ^= DESC_VALID;
desc              578 drivers/net/can/janz-ican3.c 	memcpy_toio(desc_addr, &desc, sizeof(desc));
desc              581 drivers/net/can/janz-ican3.c 	mod->tx_num = (desc.control & DESC_WRAP) ? 0 : (mod->tx_num + 1);
desc              590 drivers/net/can/janz-ican3.c 	struct ican3_new_desc desc;
desc              591 drivers/net/can/janz-ican3.c 	void __iomem *desc_addr = mod->dpm + (mod->rx_num * sizeof(desc));
desc              595 drivers/net/can/janz-ican3.c 	memcpy_fromio(&desc, desc_addr, sizeof(desc));
desc              597 drivers/net/can/janz-ican3.c 	if (!(desc.control & DESC_VALID)) {
desc              603 drivers/net/can/janz-ican3.c 	ican3_set_page(mod, desc.pointer);
desc              608 drivers/net/can/janz-ican3.c 	desc.control ^= DESC_VALID;
desc              609 drivers/net/can/janz-ican3.c 	memcpy_toio(desc_addr, &desc, sizeof(desc));
desc              612 drivers/net/can/janz-ican3.c 	mod->rx_num = (desc.control & DESC_WRAP) ? 0 : (mod->rx_num + 1);
desc              910 drivers/net/can/janz-ican3.c 			       struct ican3_fast_desc *desc,
desc              913 drivers/net/can/janz-ican3.c 	if ((desc->command & ICAN3_CAN_TYPE_MASK) == ICAN3_CAN_TYPE_SFF) {
desc              914 drivers/net/can/janz-ican3.c 		if (desc->data[1] & ICAN3_SFF_RTR)
desc              917 drivers/net/can/janz-ican3.c 		cf->can_id |= desc->data[0] << 3;
desc              918 drivers/net/can/janz-ican3.c 		cf->can_id |= (desc->data[1] & 0xe0) >> 5;
desc              919 drivers/net/can/janz-ican3.c 		cf->can_dlc = get_can_dlc(desc->data[1] & ICAN3_CAN_DLC_MASK);
desc              920 drivers/net/can/janz-ican3.c 		memcpy(cf->data, &desc->data[2], cf->can_dlc);
desc              922 drivers/net/can/janz-ican3.c 		cf->can_dlc = get_can_dlc(desc->data[0] & ICAN3_CAN_DLC_MASK);
desc              923 drivers/net/can/janz-ican3.c 		if (desc->data[0] & ICAN3_EFF_RTR)
desc              926 drivers/net/can/janz-ican3.c 		if (desc->data[0] & ICAN3_EFF) {
desc              928 drivers/net/can/janz-ican3.c 			cf->can_id |= desc->data[2] << 21; /* 28-21 */
desc              929 drivers/net/can/janz-ican3.c 			cf->can_id |= desc->data[3] << 13; /* 20-13 */
desc              930 drivers/net/can/janz-ican3.c 			cf->can_id |= desc->data[4] << 5;  /* 12-5  */
desc              931 drivers/net/can/janz-ican3.c 			cf->can_id |= (desc->data[5] & 0xf8) >> 3;
desc              933 drivers/net/can/janz-ican3.c 			cf->can_id |= desc->data[2] << 3;  /* 10-3  */
desc              934 drivers/net/can/janz-ican3.c 			cf->can_id |= desc->data[3] >> 5;  /* 2-0   */
desc              937 drivers/net/can/janz-ican3.c 		memcpy(cf->data, &desc->data[6], cf->can_dlc);
desc              943 drivers/net/can/janz-ican3.c 			       struct ican3_fast_desc *desc)
desc              946 drivers/net/can/janz-ican3.c 	memset(desc->data, 0, sizeof(desc->data));
desc              949 drivers/net/can/janz-ican3.c 	desc->command = ICAN3_CAN_TYPE_EFF;
desc              950 drivers/net/can/janz-ican3.c 	desc->data[0] |= cf->can_dlc;
desc              951 drivers/net/can/janz-ican3.c 	desc->data[1] |= ICAN3_ECHO;
desc              955 drivers/net/can/janz-ican3.c 		desc->data[1] |= ICAN3_SNGL;
desc              958 drivers/net/can/janz-ican3.c 		desc->data[0] |= ICAN3_EFF_RTR;
desc              962 drivers/net/can/janz-ican3.c 		desc->data[0] |= ICAN3_EFF;
desc              963 drivers/net/can/janz-ican3.c 		desc->data[2] = (cf->can_id & 0x1fe00000) >> 21; /* 28-21 */
desc              964 drivers/net/can/janz-ican3.c 		desc->data[3] = (cf->can_id & 0x001fe000) >> 13; /* 20-13 */
desc              965 drivers/net/can/janz-ican3.c 		desc->data[4] = (cf->can_id & 0x00001fe0) >> 5;  /* 12-5  */
desc              966 drivers/net/can/janz-ican3.c 		desc->data[5] = (cf->can_id & 0x0000001f) << 3;  /* 4-0   */
desc              968 drivers/net/can/janz-ican3.c 		desc->data[2] = (cf->can_id & 0x7F8) >> 3; /* bits 10-3 */
desc              969 drivers/net/can/janz-ican3.c 		desc->data[3] = (cf->can_id & 0x007) << 5; /* bits 2-0  */
desc              973 drivers/net/can/janz-ican3.c 	memcpy(&desc->data[6], cf->data, cf->can_dlc);
desc             1348 drivers/net/can/janz-ican3.c 	struct ican3_fast_desc __iomem *desc;
desc             1357 drivers/net/can/janz-ican3.c 	desc = mod->dpm + ((mod->fasttx_num % 16) * sizeof(*desc));
desc             1358 drivers/net/can/janz-ican3.c 	control = ioread8(&desc->control);
desc             1376 drivers/net/can/janz-ican3.c 	struct ican3_fast_desc desc;
desc             1386 drivers/net/can/janz-ican3.c 	desc_addr = mod->dpm + ((mod->fastrx_num % 16) * sizeof(desc));
desc             1387 drivers/net/can/janz-ican3.c 	memcpy_fromio(&desc, desc_addr, sizeof(desc));
desc             1392 drivers/net/can/janz-ican3.c 	if (!(desc.control & DESC_VALID))
desc             1403 drivers/net/can/janz-ican3.c 	ican3_to_can_frame(mod, &desc, cf);
desc             1429 drivers/net/can/janz-ican3.c 	desc.control ^= DESC_VALID;
desc             1434 drivers/net/can/janz-ican3.c 	memcpy_toio(desc_addr, &desc, 1);
desc             1437 drivers/net/can/janz-ican3.c 	mod->fastrx_num = (desc.control & DESC_WRAP) ? 0
desc             1687 drivers/net/can/janz-ican3.c 	struct ican3_fast_desc desc;
desc             1705 drivers/net/can/janz-ican3.c 	desc_addr = mod->dpm + ((mod->fasttx_num % 16) * sizeof(desc));
desc             1706 drivers/net/can/janz-ican3.c 	memset(&desc, 0, sizeof(desc));
desc             1707 drivers/net/can/janz-ican3.c 	memcpy_fromio(&desc, desc_addr, 1);
desc             1710 drivers/net/can/janz-ican3.c 	can_frame_to_ican3(mod, cf, &desc);
desc             1725 drivers/net/can/janz-ican3.c 	desc.control |= DESC_IVALID;
desc             1726 drivers/net/can/janz-ican3.c 	memcpy_toio(desc_addr, &desc, sizeof(desc));
desc             1731 drivers/net/can/janz-ican3.c 	desc.control ^= DESC_VALID;
desc             1732 drivers/net/can/janz-ican3.c 	memcpy_toio(desc_addr, &desc, sizeof(desc));
desc             1735 drivers/net/can/janz-ican3.c 	mod->fasttx_num = (desc.control & DESC_WRAP) ? 0
desc              921 drivers/net/can/usb/gs_usb.c 			     intf->cur_altsetting->desc.bInterfaceNumber,
desc              944 drivers/net/can/usb/gs_usb.c 			     intf->cur_altsetting->desc.bInterfaceNumber,
desc             1595 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1596 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		ep = &iface_desc->endpoint[i].desc;
desc             1315 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1316 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              840 drivers/net/can/usb/peak_usb/pcan_usb.c 	for (i = 0; i < if_desc->desc.bNumEndpoints; i++) {
desc              841 drivers/net/can/usb/peak_usb/pcan_usb.c 		struct usb_endpoint_descriptor *ep = &if_desc->endpoint[i].desc;
desc              972 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	for (i = 0; i < if_desc->desc.bNumEndpoints; i++) {
desc              973 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 		struct usb_endpoint_descriptor *ep = &if_desc->endpoint[i].desc;
desc             1332 drivers/net/can/usb/ucan.c 		 iface_desc->desc.bInterfaceNumber);
desc             1335 drivers/net/can/usb/ucan.c 	if (iface_desc->desc.bNumEndpoints != 2) {
desc             1338 drivers/net/can/usb/ucan.c 			UCAN_DRIVER_NAME, iface_desc->desc.bNumEndpoints);
desc             1347 drivers/net/can/usb/ucan.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc             1348 drivers/net/can/usb/ucan.c 		ep = &iface_desc->endpoint[i].desc;
desc             1418 drivers/net/can/usb/ucan.c 			      iface_desc->desc.bInterfaceNumber,
desc             1457 drivers/net/can/usb/ucan.c 			      iface_desc->desc.bInterfaceNumber,
desc             1501 drivers/net/can/usb/ucan.c 	up->intf_index = iface_desc->desc.bInterfaceNumber;
desc             1449 drivers/net/ethernet/adaptec/starfire.c 		rx_done_desc *desc = &np->rx_done_q[np->rx_done];
desc             1506 drivers/net/ethernet/adaptec/starfire.c 			printk(KERN_DEBUG "  netdev_rx() status2 of %d was %#4.4x.\n", np->rx_done, le16_to_cpu(desc->status2));
desc             1508 drivers/net/ethernet/adaptec/starfire.c 		if (le16_to_cpu(desc->status2) & 0x0100) {
desc             1521 drivers/net/ethernet/adaptec/starfire.c 		else if (le16_to_cpu(desc->status2) & 0x0040) {
desc             1523 drivers/net/ethernet/adaptec/starfire.c 			skb->csum = le16_to_cpu(desc->csum);
desc             1524 drivers/net/ethernet/adaptec/starfire.c 			printk(KERN_DEBUG "%s: checksum_hw, status2 = %#x\n", dev->name, le16_to_cpu(desc->status2));
desc             1527 drivers/net/ethernet/adaptec/starfire.c 		if (le16_to_cpu(desc->status2) & 0x0200) {
desc             1528 drivers/net/ethernet/adaptec/starfire.c 			u16 vlid = le16_to_cpu(desc->vlanid);
desc             1542 drivers/net/ethernet/adaptec/starfire.c 		desc->status = 0;
desc             2424 drivers/net/ethernet/agere/et131x.c 	struct tx_desc desc[24];
desc             2442 drivers/net/ethernet/agere/et131x.c 	memset(desc, 0, sizeof(struct tx_desc) * (nr_frags + 1));
desc             2462 drivers/net/ethernet/agere/et131x.c 				desc[frag].len_vlan = skb_headlen(skb);
desc             2467 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_lo = lower_32_bits(dma_addr);
desc             2468 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_hi = upper_32_bits(dma_addr);
desc             2471 drivers/net/ethernet/agere/et131x.c 				desc[frag].len_vlan = skb_headlen(skb) / 2;
desc             2476 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_lo = lower_32_bits(dma_addr);
desc             2477 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_hi = upper_32_bits(dma_addr);
desc             2480 drivers/net/ethernet/agere/et131x.c 				desc[frag].len_vlan = skb_headlen(skb) / 2;
desc             2486 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_lo = lower_32_bits(dma_addr);
desc             2487 drivers/net/ethernet/agere/et131x.c 				desc[frag].addr_hi = upper_32_bits(dma_addr);
desc             2491 drivers/net/ethernet/agere/et131x.c 			desc[frag].len_vlan = skb_frag_size(&frags[i - 1]);
desc             2495 drivers/net/ethernet/agere/et131x.c 						    desc[frag].len_vlan,
desc             2497 drivers/net/ethernet/agere/et131x.c 			desc[frag].addr_lo = lower_32_bits(dma_addr);
desc             2498 drivers/net/ethernet/agere/et131x.c 			desc[frag].addr_hi = upper_32_bits(dma_addr);
desc             2506 drivers/net/ethernet/agere/et131x.c 			desc[frag - 1].flags =
desc             2510 drivers/net/ethernet/agere/et131x.c 			desc[frag - 1].flags = TXDESC_FLAG_LASTPKT;
desc             2513 drivers/net/ethernet/agere/et131x.c 		desc[frag - 1].flags =
desc             2517 drivers/net/ethernet/agere/et131x.c 	desc[0].flags |= TXDESC_FLAG_FIRSTPKT;
desc             2532 drivers/net/ethernet/agere/et131x.c 	       desc,
desc             2545 drivers/net/ethernet/agere/et131x.c 		       desc + thiscopy,
desc             2642 drivers/net/ethernet/agere/et131x.c 	struct tx_desc *desc = NULL;
desc             2655 drivers/net/ethernet/agere/et131x.c 			desc = tx_ring->tx_desc_ring +
desc             2658 drivers/net/ethernet/agere/et131x.c 			dma_addr = desc->addr_lo;
desc             2659 drivers/net/ethernet/agere/et131x.c 			dma_addr |= (u64)desc->addr_hi << 32;
desc             2663 drivers/net/ethernet/agere/et131x.c 					 desc->len_vlan, DMA_TO_DEVICE);
desc             2671 drivers/net/ethernet/agere/et131x.c 		} while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index));
desc              504 drivers/net/ethernet/alacritech/slic.h 	struct slic_tx_desc *desc;
desc              400 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_rx_desc *desc;
desc              427 drivers/net/ethernet/alacritech/slicoss.c 		desc = (struct slic_rx_desc *)skb->data;
desc              430 drivers/net/ethernet/alacritech/slicoss.c 					offset + sizeof(*desc),
desc              432 drivers/net/ethernet/alacritech/slicoss.c 		desc->status = 0;
desc              435 drivers/net/ethernet/alacritech/slicoss.c 					   offset + sizeof(*desc),
desc              553 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_rx_desc *desc;
desc              567 drivers/net/ethernet/alacritech/slicoss.c 		desc = (struct slic_rx_desc *)skb->data;
desc              571 drivers/net/ethernet/alacritech/slicoss.c 					buff->addr_offset + sizeof(*desc),
desc              574 drivers/net/ethernet/alacritech/slicoss.c 		status = le32_to_cpu(desc->status);
desc              580 drivers/net/ethernet/alacritech/slicoss.c 						   sizeof(*desc),
desc              604 drivers/net/ethernet/alacritech/slicoss.c 			len = le32_to_cpu(desc->length) & SLIC_IRHDDR_FLEN_MSK;
desc              841 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_tx_desc *desc;
desc              854 drivers/net/ethernet/alacritech/slicoss.c 					sizeof(*desc), SLIC_TX_DESC_ALIGN,
desc              864 drivers/net/ethernet/alacritech/slicoss.c 		desc = dma_pool_zalloc(txq->dma_pool, GFP_KERNEL,
desc              866 drivers/net/ethernet/alacritech/slicoss.c 		if (!desc) {
desc              873 drivers/net/ethernet/alacritech/slicoss.c 		desc->hnd = cpu_to_le32((u32)(i + 1));
desc              874 drivers/net/ethernet/alacritech/slicoss.c 		desc->cmd = SLIC_CMD_XMT_REQ;
desc              875 drivers/net/ethernet/alacritech/slicoss.c 		desc->flags = 0;
desc              876 drivers/net/ethernet/alacritech/slicoss.c 		desc->type = cpu_to_le32(SLIC_CMD_TYPE_DUMB);
desc              877 drivers/net/ethernet/alacritech/slicoss.c 		buff->desc = desc;
desc              885 drivers/net/ethernet/alacritech/slicoss.c 		dma_pool_free(txq->dma_pool, buff->desc, buff->desc_paddr);
desc              903 drivers/net/ethernet/alacritech/slicoss.c 		dma_pool_free(txq->dma_pool, buff->desc, buff->desc_paddr);
desc             1413 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_tx_desc *desc;
desc             1437 drivers/net/ethernet/alacritech/slicoss.c 	desc = buff->desc;
desc             1438 drivers/net/ethernet/alacritech/slicoss.c 	desc->totlen = cpu_to_le32(maplen);
desc             1439 drivers/net/ethernet/alacritech/slicoss.c 	desc->paddrl = cpu_to_le32(lower_32_bits(paddr));
desc             1440 drivers/net/ethernet/alacritech/slicoss.c 	desc->paddrh = cpu_to_le32(upper_32_bits(paddr));
desc             1441 drivers/net/ethernet/alacritech/slicoss.c 	desc->len = cpu_to_le32(maplen);
desc             2385 drivers/net/ethernet/alteon/acenic.c ace_load_tx_bd(struct ace_private *ap, struct tx_desc *desc, u64 addr,
desc             2393 drivers/net/ethernet/alteon/acenic.c 		struct tx_desc __iomem *io = (__force struct tx_desc __iomem *) desc;
desc             2399 drivers/net/ethernet/alteon/acenic.c 		desc->addr.addrhi = addr >> 32;
desc             2400 drivers/net/ethernet/alteon/acenic.c 		desc->addr.addrlo = addr;
desc             2401 drivers/net/ethernet/alteon/acenic.c 		desc->flagsize = flagsize;
desc             2402 drivers/net/ethernet/alteon/acenic.c 		desc->vlanres = vlan_tag;
desc             2412 drivers/net/ethernet/alteon/acenic.c 	struct tx_desc *desc;
desc             2434 drivers/net/ethernet/alteon/acenic.c 		desc = ap->tx_ring + idx;
desc             2441 drivers/net/ethernet/alteon/acenic.c 		ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag);
desc             2466 drivers/net/ethernet/alteon/acenic.c 			desc = ap->tx_ring + idx;
desc             2492 drivers/net/ethernet/alteon/acenic.c 			ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag);
desc               12 drivers/net/ethernet/altera/altera_sgdma.c static void sgdma_setup_descrip(struct sgdma_descrip __iomem *desc,
desc               23 drivers/net/ethernet/altera/altera_sgdma.c 			      struct sgdma_descrip __iomem *desc);
desc               29 drivers/net/ethernet/altera/altera_sgdma.c 		 struct sgdma_descrip __iomem *desc);
desc               33 drivers/net/ethernet/altera/altera_sgdma.c 		 struct sgdma_descrip __iomem *desc);
desc              232 drivers/net/ethernet/altera/altera_sgdma.c 	struct sgdma_descrip __iomem *desc = NULL;
desc              238 drivers/net/ethernet/altera/altera_sgdma.c 	desc = &base[0];
desc              247 drivers/net/ethernet/altera/altera_sgdma.c 		pktlength = csrrd16(desc, sgdma_descroffs(bytes_xferred));
desc              248 drivers/net/ethernet/altera/altera_sgdma.c 		pktstatus = csrrd8(desc, sgdma_descroffs(status));
desc              254 drivers/net/ethernet/altera/altera_sgdma.c 			csrwr8(0, desc, sgdma_descroffs(status));
desc              281 drivers/net/ethernet/altera/altera_sgdma.c 				   sts, csrrd8(desc, sgdma_descroffs(status)),
desc              293 drivers/net/ethernet/altera/altera_sgdma.c static void sgdma_setup_descrip(struct sgdma_descrip __iomem *desc,
desc              315 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(lower_32_bits(raddr), desc, sgdma_descroffs(raddr));
desc              316 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(lower_32_bits(waddr), desc, sgdma_descroffs(waddr));
desc              318 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(0, desc, sgdma_descroffs(pad1));
desc              319 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(0, desc, sgdma_descroffs(pad2));
desc              320 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(lower_32_bits(ndesc_phys), desc, sgdma_descroffs(next));
desc              322 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr8(ctrl, desc, sgdma_descroffs(control));
desc              323 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr8(0, desc, sgdma_descroffs(status));
desc              324 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr8(0, desc, sgdma_descroffs(wburst));
desc              325 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr8(0, desc, sgdma_descroffs(rburst));
desc              326 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr16(length, desc, sgdma_descroffs(bytes));
desc              327 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr16(0, desc, sgdma_descroffs(bytes_xferred));
desc              382 drivers/net/ethernet/altera/altera_sgdma.c 			     struct sgdma_descrip __iomem *desc)
desc              394 drivers/net/ethernet/altera/altera_sgdma.c 	csrwr32(lower_32_bits(sgdma_txphysaddr(priv, desc)),
desc              407 drivers/net/ethernet/altera/altera_sgdma.c 		 struct sgdma_descrip __iomem *desc)
desc              410 drivers/net/ethernet/altera/altera_sgdma.c 	uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->tx_dma_desc;
desc              416 drivers/net/ethernet/altera/altera_sgdma.c 		 struct sgdma_descrip __iomem *desc)
desc              419 drivers/net/ethernet/altera/altera_sgdma.c 	uintptr_t offs = (uintptr_t)desc - (uintptr_t)priv->rx_dma_desc;
desc              373 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	struct ena_eth_io_tx_desc *desc = NULL;
desc              420 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc = get_sq_desc(io_sq);
desc              421 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	if (unlikely(!desc))
desc              423 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	memset(desc, 0x0, sizeof(struct ena_eth_io_tx_desc));
desc              427 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->len_ctrl |= ENA_ETH_IO_TX_DESC_FIRST_MASK;
desc              429 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->buff_addr_hi_hdr_sz |= (header_len <<
desc              432 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->len_ctrl |= (io_sq->phase << ENA_ETH_IO_TX_DESC_PHASE_SHIFT) &
desc              435 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->len_ctrl |= ENA_ETH_IO_TX_DESC_COMP_REQ_MASK;
desc              438 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->meta_ctrl |= (ena_tx_ctx->req_id <<
desc              442 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->meta_ctrl |= (ena_tx_ctx->df <<
desc              447 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->len_ctrl |= ((ena_tx_ctx->req_id >> 10) <<
desc              452 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= (ena_tx_ctx->tso_enable <<
desc              455 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= ena_tx_ctx->l3_proto &
desc              457 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= (ena_tx_ctx->l4_proto <<
desc              460 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= (ena_tx_ctx->l3_csum_enable <<
desc              463 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= (ena_tx_ctx->l4_csum_enable <<
desc              466 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->meta_ctrl |= (ena_tx_ctx->l4_csum_partial <<
desc              478 drivers/net/ethernet/amazon/ena/ena_eth_com.c 			desc = get_sq_desc(io_sq);
desc              479 drivers/net/ethernet/amazon/ena/ena_eth_com.c 			if (unlikely(!desc))
desc              482 drivers/net/ethernet/amazon/ena/ena_eth_com.c 			memset(desc, 0x0, sizeof(struct ena_eth_io_tx_desc));
desc              484 drivers/net/ethernet/amazon/ena/ena_eth_com.c 			desc->len_ctrl |= (io_sq->phase <<
desc              489 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->len_ctrl |= ena_bufs->len &
desc              495 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->buff_addr_lo = (u32)ena_bufs->paddr;
desc              496 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		desc->buff_addr_hi_hdr_sz |= addr_hi &
desc              502 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->len_ctrl |= ENA_ETH_IO_TX_DESC_LAST_MASK;
desc              566 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	struct ena_eth_io_rx_desc *desc;
desc              573 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc = get_sq_desc(io_sq);
desc              574 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	if (unlikely(!desc))
desc              577 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	memset(desc, 0x0, sizeof(struct ena_eth_io_rx_desc));
desc              579 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->length = ena_buf->len;
desc              581 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->ctrl = ENA_ETH_IO_RX_DESC_FIRST_MASK;
desc              582 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->ctrl |= ENA_ETH_IO_RX_DESC_LAST_MASK;
desc              583 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->ctrl |= io_sq->phase & ENA_ETH_IO_RX_DESC_PHASE_MASK;
desc              584 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->ctrl |= ENA_ETH_IO_RX_DESC_COMP_REQ_MASK;
desc              586 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->req_id = req_id;
desc              588 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->buff_addr_lo = (u32)ena_buf->paddr;
desc              589 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	desc->buff_addr_hi =
desc             3841 drivers/net/ethernet/amazon/ena/ena_netdev.c 	struct ena_admin_aenq_keep_alive_desc *desc;
desc             3844 drivers/net/ethernet/amazon/ena/ena_netdev.c 	desc = (struct ena_admin_aenq_keep_alive_desc *)aenq_e;
desc             3847 drivers/net/ethernet/amazon/ena/ena_netdev.c 	rx_drops = ((u64)desc->rx_drops_high << 32) | desc->rx_drops_low;
desc             1035 drivers/net/ethernet/amd/declance.c 	const char *desc;
desc             1221 drivers/net/ethernet/amd/declance.c 		desc = "IOASIC onboard LANCE";
desc             1224 drivers/net/ethernet/amd/declance.c 		desc = "PMAD-AA";
desc             1227 drivers/net/ethernet/amd/declance.c 		desc = "PMAX onboard LANCE";
desc             1234 drivers/net/ethernet/amd/declance.c 	       name, desc, dev->dev_addr, dev->irq);
desc              384 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_set_addr_len(__le64 *desc, u32 idx, dma_addr_t addr, u32 len)
desc              386 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	desc[idx ^ 1] = cpu_to_le64(SET_VAL(DATAADDR, addr) |
desc              612 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	__le64 *desc = (void *)exp_desc;
desc              629 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		frag_size = xgene_enet_get_data_len(le64_to_cpu(desc[i ^ 1]));
desc              633 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		dma_addr = GET_VAL(DATAADDR, le64_to_cpu(desc[i ^ 1]));
desc              682 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	__le64 *desc;
desc              729 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	desc = (void *)exp_desc;
desc              732 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		frag_size = xgene_enet_get_data_len(le64_to_cpu(desc[i ^ 1]));
desc              736 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		dma_addr = GET_VAL(DATAADDR, le64_to_cpu(desc[i ^ 1]));
desc              332 drivers/net/ethernet/atheros/ag71xx.c static int ag71xx_desc_empty(struct ag71xx_desc *desc)
desc              334 drivers/net/ethernet/atheros/ag71xx.c 	return (desc->ctrl & DESC_EMPTY) != 0;
desc              643 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc;
desc              648 drivers/net/ethernet/atheros/ag71xx.c 		desc = ag71xx_ring_desc(ring, i);
desc              651 drivers/net/ethernet/atheros/ag71xx.c 		if (!flush && !ag71xx_desc_empty(desc)) {
desc              662 drivers/net/ethernet/atheros/ag71xx.c 			desc->ctrl |= DESC_EMPTY;
desc              963 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc;
desc              966 drivers/net/ethernet/atheros/ag71xx.c 		desc = ag71xx_ring_desc(ring, i);
desc              967 drivers/net/ethernet/atheros/ag71xx.c 		if (!ag71xx_desc_empty(desc)) {
desc              968 drivers/net/ethernet/atheros/ag71xx.c 			desc->ctrl = 0;
desc              995 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc = ag71xx_ring_desc(ring, i);
desc              997 drivers/net/ethernet/atheros/ag71xx.c 		desc->next = (u32)(ring->descs_dma +
desc             1000 drivers/net/ethernet/atheros/ag71xx.c 		desc->ctrl = DESC_EMPTY;
desc             1041 drivers/net/ethernet/atheros/ag71xx.c 	struct ag71xx_desc *desc;
desc             1044 drivers/net/ethernet/atheros/ag71xx.c 	desc = ag71xx_ring_desc(ring, buf - &ring->buf[0]);
desc             1053 drivers/net/ethernet/atheros/ag71xx.c 	desc->data = (u32)buf->rx.dma_addr + offset;
desc             1068 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc = ag71xx_ring_desc(ring, i);
desc             1070 drivers/net/ethernet/atheros/ag71xx.c 		desc->next = (u32)(ring->descs_dma +
desc             1074 drivers/net/ethernet/atheros/ag71xx.c 			  desc, desc->next);
desc             1078 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc = ag71xx_ring_desc(ring, i);
desc             1086 drivers/net/ethernet/atheros/ag71xx.c 		desc->ctrl = DESC_EMPTY;
desc             1107 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc;
desc             1111 drivers/net/ethernet/atheros/ag71xx.c 		desc = ag71xx_ring_desc(ring, i);
desc             1118 drivers/net/ethernet/atheros/ag71xx.c 		desc->ctrl = DESC_EMPTY;
desc             1281 drivers/net/ethernet/atheros/ag71xx.c 	struct ag71xx_desc *desc;
desc             1294 drivers/net/ethernet/atheros/ag71xx.c 		desc = ag71xx_ring_desc(ring, i);
desc             1296 drivers/net/ethernet/atheros/ag71xx.c 		if (!ag71xx_desc_empty(desc))
desc             1309 drivers/net/ethernet/atheros/ag71xx.c 		desc->data = addr;
desc             1320 drivers/net/ethernet/atheros/ag71xx.c 		desc->ctrl = cur_len;
desc             1333 drivers/net/ethernet/atheros/ag71xx.c 	struct ag71xx_desc *desc;
desc             1349 drivers/net/ethernet/atheros/ag71xx.c 	desc = ag71xx_ring_desc(ring, i);
desc             1365 drivers/net/ethernet/atheros/ag71xx.c 	desc->ctrl &= ~DESC_EMPTY;
desc             1457 drivers/net/ethernet/atheros/ag71xx.c 		struct ag71xx_desc *desc = ag71xx_ring_desc(ring, i);
desc             1461 drivers/net/ethernet/atheros/ag71xx.c 		if (ag71xx_desc_empty(desc))
desc             1471 drivers/net/ethernet/atheros/ag71xx.c 		pktlen = desc->ctrl & pktlen_mask;
desc               90 drivers/net/ethernet/atheros/atl1c/atl1c.h #define ATL1C_GET_DESC(R, i, type)	(&(((type *)((R)->desc))[i]))
desc              433 drivers/net/ethernet/atheros/atl1c/atl1c.h 	void *desc;		/* virtual address */
desc              474 drivers/net/ethernet/atheros/atl1c/atl1c.h 	void *desc;		/* descriptor ring virtual address */
desc              485 drivers/net/ethernet/atheros/atl1c/atl1c.h 	void *desc;		/* descriptor ring virtual address */
desc              496 drivers/net/ethernet/atheros/atl1c/atl1c.h 	void *desc;		/* descriptor ring virtual address */
desc              870 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	memset(tpd_ring->desc, 0, sizeof(struct atl1c_tpd_desc) *
desc              893 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	memset(rfd_ring->desc, 0, rfd_ring->size);
desc              940 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 					adapter->ring_header.desc,
desc              942 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	adapter->ring_header.desc = NULL;
desc             1009 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	ring_header->desc = dma_alloc_coherent(&pdev->dev, ring_header->size,
desc             1011 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	if (unlikely(!ring_header->desc)) {
desc             1021 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 		tpd_ring[i].desc = (u8 *) ring_header->desc + offset;
desc             1028 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	rfd_ring->desc = (u8 *) ring_header->desc + offset;
desc             1034 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	rrd_ring->desc = (u8 *) ring_header->desc + offset;
desc             1948 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 			(struct atl1c_tpd_desc *)tpd_ring->desc];
desc             2078 drivers/net/ethernet/atheros/atl1c/atl1c_main.c 	first_index = first_tpd - (struct atl1c_tpd_desc *)tpd_ring->desc;
desc              397 drivers/net/ethernet/atheros/atl1e/atl1e.h 	struct atl1e_tpd_desc *desc;  /* descriptor ring virtual address  */
desc              410 drivers/net/ethernet/atheros/atl1e/atl1e.h 	void        	*desc;
desc              652 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	if (tx_ring->desc == NULL || tx_ring->tx_buffer == NULL)
desc              678 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	memset(tx_ring->desc, 0, sizeof(struct atl1e_tpd_desc) *
desc              736 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	adapter->rx_ring.desc = NULL;
desc              830 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	tx_ring->desc = adapter->ring_vir_addr + offset;
desc             1580 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	memset(&tx_ring->desc[next_to_use], 0, sizeof(struct atl1e_tpd_desc));
desc             1581 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	return &tx_ring->desc[next_to_use];
desc             1589 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	return &tx_ring->tx_buffer[tpd - tx_ring->desc];
desc               29 drivers/net/ethernet/atheros/atl1e/atl1e_param.c #define ATL1E_PARAM(x, desc) \
desc               33 drivers/net/ethernet/atheros/atl1e/atl1e_param.c 	MODULE_PARM_DESC(x, desc);
desc             1055 drivers/net/ethernet/atheros/atlx/atl1.c 	ring_header->desc = pci_alloc_consistent(pdev, ring_header->size,
desc             1057 drivers/net/ethernet/atheros/atlx/atl1.c 	if (unlikely(!ring_header->desc)) {
desc             1067 drivers/net/ethernet/atheros/atlx/atl1.c 	tpd_ring->desc = (u8 *) ring_header->desc + offset;
desc             1074 drivers/net/ethernet/atheros/atlx/atl1.c 	rfd_ring->desc = (u8 *) tpd_ring->desc + (tpd_ring->size + offset);
desc             1082 drivers/net/ethernet/atheros/atlx/atl1.c 	rrd_ring->desc = (u8 *) rfd_ring->desc + (rfd_ring->size + offset);
desc             1091 drivers/net/ethernet/atheros/atlx/atl1.c 		((u8 *) rrd_ring->desc + (rrd_ring->size + offset));
desc             1155 drivers/net/ethernet/atheros/atlx/atl1.c 	memset(rfd_ring->desc, 0, rfd_ring->size);
desc             1198 drivers/net/ethernet/atheros/atlx/atl1.c 	memset(tpd_ring->desc, 0, tpd_ring->size);
desc             1222 drivers/net/ethernet/atheros/atlx/atl1.c 	pci_free_consistent(pdev, ring_header->size, ring_header->desc,
desc             1226 drivers/net/ethernet/atheros/atlx/atl1.c 	tpd_ring->desc = NULL;
desc             1230 drivers/net/ethernet/atheros/atlx/atl1.c 	rfd_ring->desc = NULL;
desc             1233 drivers/net/ethernet/atheros/atlx/atl1.c 	rrd_ring->desc = NULL;
desc              573 drivers/net/ethernet/atheros/atlx/atl1.h #define ATL1_GET_DESC(R, i, type)	(&(((type *)((R)->desc))[i]))
desc              584 drivers/net/ethernet/atheros/atlx/atl1.h 	void *desc;		/* virtual address */
desc              602 drivers/net/ethernet/atheros/atlx/atl1.h 	void *desc;		/* descriptor ring virtual address */
desc              614 drivers/net/ethernet/atheros/atlx/atl1.h 	void *desc;		/* descriptor ring virtual address */
desc              625 drivers/net/ethernet/atheros/atlx/atl1.h 	void *desc;		/* descriptor ring virtual address */
desc             2809 drivers/net/ethernet/atheros/atlx/atl2.c #define ATL2_PARAM(X, desc) \
desc             2812 drivers/net/ethernet/atheros/atlx/atl2.c     MODULE_PARM_DESC(X, desc);
desc             2814 drivers/net/ethernet/atheros/atlx/atl2.c #define ATL2_PARAM(X, desc) \
desc             2818 drivers/net/ethernet/atheros/atlx/atl2.c     MODULE_PARM_DESC(X, desc);
desc              427 drivers/net/ethernet/atheros/atlx/atl2.h     void *desc;
desc              215 drivers/net/ethernet/aurora/nb8800.c 	rxd->desc.s_addr = dma_addr;
desc              228 drivers/net/ethernet/aurora/nb8800.c 	dma_addr_t dma = rxd->desc.s_addr;
desc              325 drivers/net/ethernet/aurora/nb8800.c 		priv->rx_descs[last].desc.config |= DESC_EOC;
desc              327 drivers/net/ethernet/aurora/nb8800.c 		priv->rx_descs[priv->rx_eoc].desc.config &= ~DESC_EOC;
desc              392 drivers/net/ethernet/aurora/nb8800.c 	struct nb8800_dma_desc *desc;
desc              426 drivers/net/ethernet/aurora/nb8800.c 	desc = &txd->desc[0];
desc              433 drivers/net/ethernet/aurora/nb8800.c 		desc->s_addr =
desc              435 drivers/net/ethernet/aurora/nb8800.c 		desc->n_addr = txb->dma_desc + sizeof(txd->desc[0]);
desc              436 drivers/net/ethernet/aurora/nb8800.c 		desc->config = DESC_BTS(2) | DESC_DS | align;
desc              438 drivers/net/ethernet/aurora/nb8800.c 		desc++;
desc              441 drivers/net/ethernet/aurora/nb8800.c 	desc->s_addr = dma_addr;
desc              442 drivers/net/ethernet/aurora/nb8800.c 	desc->n_addr = priv->tx_bufs[next].dma_desc;
desc              443 drivers/net/ethernet/aurora/nb8800.c 	desc->config = DESC_BTS(2) | DESC_DS | DESC_EOF | dma_len;
desc              446 drivers/net/ethernet/aurora/nb8800.c 		desc->config |= DESC_EOC;
desc              792 drivers/net/ethernet/aurora/nb8800.c 		rxd->desc.n_addr = rx_dma + sizeof(*rxd);
desc              793 drivers/net/ethernet/aurora/nb8800.c 		rxd->desc.r_addr =
desc              795 drivers/net/ethernet/aurora/nb8800.c 		rxd->desc.config = priv->rx_dma_config;
desc              799 drivers/net/ethernet/aurora/nb8800.c 	rxd->desc.n_addr = priv->rx_desc_dma;
desc              800 drivers/net/ethernet/aurora/nb8800.c 	rxd->desc.config |= DESC_EOC;
desc              810 drivers/net/ethernet/aurora/nb8800.c 		txd->desc[0].r_addr = r_dma;
desc              811 drivers/net/ethernet/aurora/nb8800.c 		txd->desc[1].r_addr = r_dma;
desc              899 drivers/net/ethernet/aurora/nb8800.c 		priv->rx_descs[i].desc.config |= DESC_EOC;
desc              901 drivers/net/ethernet/aurora/nb8800.c 	txd->desc[0].s_addr =
desc              903 drivers/net/ethernet/aurora/nb8800.c 	txd->desc[0].config = DESC_BTS(2) | DESC_DS | DESC_EOF | DESC_EOC | 8;
desc              188 drivers/net/ethernet/aurora/nb8800.h 	struct nb8800_dma_desc		desc;
desc              207 drivers/net/ethernet/aurora/nb8800.h 	struct nb8800_dma_desc		desc[2];
desc              231 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc              238 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[desc_idx];
desc              248 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			desc->address = p;
desc              260 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc->len_stat = len_stat;
desc              314 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc              321 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[desc_idx];
desc              327 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		len_stat = desc->len_stat;
desc              379 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			dma_sync_single_for_cpu(kdev, desc->address,
desc              382 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			dma_sync_single_for_device(kdev, desc->address,
desc              386 drivers/net/ethernet/broadcom/bcm63xx_enet.c 			dma_unmap_single(&priv->pdev->dev, desc->address,
desc              423 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc              430 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->tx_desc_cpu[priv->tx_dirty_desc];
desc              432 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		if (!force && (desc->len_stat & DMADESC_OWNER_MASK)) {
desc              443 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		dma_unmap_single(&priv->pdev->dev, desc->address, skb->len,
desc              453 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		if (desc->len_stat & DMADESC_UNDER_MASK)
desc              562 drivers/net/ethernet/broadcom/bcm63xx_enet.c 	struct bcm_enet_desc *desc;
desc              601 drivers/net/ethernet/broadcom/bcm63xx_enet.c 	desc = &priv->tx_desc_cpu[priv->tx_curr_desc];
desc              605 drivers/net/ethernet/broadcom/bcm63xx_enet.c 	desc->address = dma_map_single(&priv->pdev->dev, skb->data, skb->len,
desc              623 drivers/net/ethernet/broadcom/bcm63xx_enet.c 	desc->len_stat = len_stat;
desc             1074 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc             1079 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[i];
desc             1080 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		dma_unmap_single(kdev, desc->address, priv->rx_skb_size,
desc             1192 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc             1197 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[i];
desc             1198 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		dma_unmap_single(kdev, desc->address, priv->rx_skb_size,
desc             2296 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc             2301 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[i];
desc             2302 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		dma_unmap_single(kdev, desc->address, priv->rx_skb_size,
desc             2358 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		struct bcm_enet_desc *desc;
desc             2363 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		desc = &priv->rx_desc_cpu[i];
desc             2364 drivers/net/ethernet/broadcom/bcm63xx_enet.c 		dma_unmap_single(kdev, desc->address, priv->rx_skb_size,
desc             6683 drivers/net/ethernet/broadcom/tg3.c 	struct tg3_rx_buffer_desc *desc;
desc             6692 drivers/net/ethernet/broadcom/tg3.c 		desc = &tpr->rx_std[dest_idx];
desc             6699 drivers/net/ethernet/broadcom/tg3.c 		desc = &tpr->rx_jmb[dest_idx].std;
desc             6738 drivers/net/ethernet/broadcom/tg3.c 	desc->addr_hi = ((u64)mapping >> 32);
desc             6739 drivers/net/ethernet/broadcom/tg3.c 	desc->addr_lo = ((u64)mapping & 0xffffffff);
desc             6840 drivers/net/ethernet/broadcom/tg3.c 		struct tg3_rx_buffer_desc *desc = &tnapi->rx_rcb[sw_idx];
desc             6848 drivers/net/ethernet/broadcom/tg3.c 		desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK;
desc             6849 drivers/net/ethernet/broadcom/tg3.c 		opaque_key = desc->opaque & RXD_OPAQUE_RING_MASK;
desc             6866 drivers/net/ethernet/broadcom/tg3.c 		if (desc->err_vlan & RXD_ERR_MASK) {
desc             6877 drivers/net/ethernet/broadcom/tg3.c 		len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT) -
desc             6880 drivers/net/ethernet/broadcom/tg3.c 		if ((desc->type_flags & RXD_FLAG_PTPSTAT_MASK) ==
desc             6882 drivers/net/ethernet/broadcom/tg3.c 		    (desc->type_flags & RXD_FLAG_PTPSTAT_MASK) ==
desc             6936 drivers/net/ethernet/broadcom/tg3.c 		    (desc->type_flags & RXD_FLAG_TCPUDP_CSUM) &&
desc             6937 drivers/net/ethernet/broadcom/tg3.c 		    (((desc->ip_tcp_csum & RXD_TCPCSUM_MASK)
desc             6952 drivers/net/ethernet/broadcom/tg3.c 		if (desc->type_flags & RXD_FLAG_VLAN &&
desc             6955 drivers/net/ethernet/broadcom/tg3.c 					       desc->err_vlan & RXD_VLAN_MASK);
desc             13435 drivers/net/ethernet/broadcom/tg3.c 	struct tg3_rx_buffer_desc *desc;
desc             13578 drivers/net/ethernet/broadcom/tg3.c 		desc = &rnapi->rx_rcb[rx_start_idx++];
desc             13579 drivers/net/ethernet/broadcom/tg3.c 		desc_idx = desc->opaque & RXD_OPAQUE_INDEX_MASK;
desc             13580 drivers/net/ethernet/broadcom/tg3.c 		opaque_key = desc->opaque & RXD_OPAQUE_RING_MASK;
desc             13582 drivers/net/ethernet/broadcom/tg3.c 		if ((desc->err_vlan & RXD_ERR_MASK) != 0 &&
desc             13583 drivers/net/ethernet/broadcom/tg3.c 		    (desc->err_vlan != RXD_ERR_ODD_NIBBLE_RCVD_MII))
desc             13586 drivers/net/ethernet/broadcom/tg3.c 		rx_len = ((desc->idx_len & RXD_LEN_MASK) >> RXD_LEN_SHIFT)
desc             13600 drivers/net/ethernet/broadcom/tg3.c 		} else if ((desc->type_flags & RXD_FLAG_TCPUDP_CSUM) &&
desc             13601 drivers/net/ethernet/broadcom/tg3.c 			   (desc->ip_tcp_csum & RXD_TCPCSUM_MASK)
desc             1252 drivers/net/ethernet/cadence/macb.h void gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc);
desc             1253 drivers/net/ethernet/cadence/macb.h static inline int gem_ptp_do_txstamp(struct macb_queue *queue, struct sk_buff *skb, struct macb_dma_desc *desc)
desc             1258 drivers/net/ethernet/cadence/macb.h 	return gem_ptp_txstamp(queue, skb, desc);
desc             1261 drivers/net/ethernet/cadence/macb.h static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc)
desc             1266 drivers/net/ethernet/cadence/macb.h 	gem_ptp_rxstamp(bp, skb, desc);
desc             1274 drivers/net/ethernet/cadence/macb.h static inline int gem_ptp_do_txstamp(struct macb_queue *queue, struct sk_buff *skb, struct macb_dma_desc *desc)
desc             1279 drivers/net/ethernet/cadence/macb.h static inline void gem_ptp_do_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) { }
desc              170 drivers/net/ethernet/cadence/macb_main.c static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc)
desc              172 drivers/net/ethernet/cadence/macb_main.c 	return (struct macb_dma_desc_64 *)((void *)desc
desc              692 drivers/net/ethernet/cadence/macb_main.c static void macb_set_addr(struct macb *bp, struct macb_dma_desc *desc, dma_addr_t addr)
desc              698 drivers/net/ethernet/cadence/macb_main.c 		desc_64 = macb_64b_desc(bp, desc);
desc              707 drivers/net/ethernet/cadence/macb_main.c 	desc->addr = lower_32_bits(addr);
desc              710 drivers/net/ethernet/cadence/macb_main.c static dma_addr_t macb_get_addr(struct macb *bp, struct macb_dma_desc *desc)
desc              717 drivers/net/ethernet/cadence/macb_main.c 		desc_64 = macb_64b_desc(bp, desc);
desc              721 drivers/net/ethernet/cadence/macb_main.c 	addr |= MACB_BF(RX_WADDR, MACB_BFEXT(RX_WADDR, desc->addr));
desc              731 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc	*desc;
desc              765 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_tx_desc(queue, tail);
desc              766 drivers/net/ethernet/cadence/macb_main.c 		ctrl = desc->ctrl;
desc              800 drivers/net/ethernet/cadence/macb_main.c 			desc->ctrl = ctrl | MACB_BIT(TX_USED);
desc              807 drivers/net/ethernet/cadence/macb_main.c 	desc = macb_tx_desc(queue, 0);
desc              808 drivers/net/ethernet/cadence/macb_main.c 	macb_set_addr(bp, desc, 0);
desc              809 drivers/net/ethernet/cadence/macb_main.c 	desc->ctrl = MACB_BIT(TX_USED);
desc              856 drivers/net/ethernet/cadence/macb_main.c 		struct macb_dma_desc	*desc;
desc              859 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_tx_desc(queue, tail);
desc              864 drivers/net/ethernet/cadence/macb_main.c 		ctrl = desc->ctrl;
desc              881 drivers/net/ethernet/cadence/macb_main.c 				    gem_ptp_do_txstamp(queue, skb, desc) == 0) {
desc              921 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc;
desc              931 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(queue, entry);
desc              955 drivers/net/ethernet/cadence/macb_main.c 			desc->ctrl = 0;
desc              960 drivers/net/ethernet/cadence/macb_main.c 			macb_set_addr(bp, desc, paddr);
desc              965 drivers/net/ethernet/cadence/macb_main.c 			desc->ctrl = 0;
desc              967 drivers/net/ethernet/cadence/macb_main.c 			desc->addr &= ~MACB_BIT(RX_USED);
desc              985 drivers/net/ethernet/cadence/macb_main.c 		struct macb_dma_desc *desc = macb_rx_desc(queue, frag);
desc              987 drivers/net/ethernet/cadence/macb_main.c 		desc->addr &= ~MACB_BIT(RX_USED);
desc             1006 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc	*desc;
desc             1015 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(queue, entry);
desc             1020 drivers/net/ethernet/cadence/macb_main.c 		rxused = (desc->addr & MACB_BIT(RX_USED)) ? true : false;
desc             1021 drivers/net/ethernet/cadence/macb_main.c 		addr = macb_get_addr(bp, desc);
desc             1029 drivers/net/ethernet/cadence/macb_main.c 		ctrl = desc->ctrl;
desc             1071 drivers/net/ethernet/cadence/macb_main.c 		gem_ptp_do_rxstamp(bp, skb, desc);
desc             1097 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc;
desc             1100 drivers/net/ethernet/cadence/macb_main.c 	desc = macb_rx_desc(queue, last_frag);
desc             1101 drivers/net/ethernet/cadence/macb_main.c 	len = desc->ctrl & bp->rx_frm_len_mask;
desc             1119 drivers/net/ethernet/cadence/macb_main.c 			desc = macb_rx_desc(queue, frag);
desc             1120 drivers/net/ethernet/cadence/macb_main.c 			desc->addr &= ~MACB_BIT(RX_USED);
desc             1150 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(queue, frag);
desc             1151 drivers/net/ethernet/cadence/macb_main.c 		desc->addr &= ~MACB_BIT(RX_USED);
desc             1176 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc = NULL;
desc             1181 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(queue, i);
desc             1182 drivers/net/ethernet/cadence/macb_main.c 		macb_set_addr(bp, desc, addr);
desc             1183 drivers/net/ethernet/cadence/macb_main.c 		desc->ctrl = 0;
desc             1186 drivers/net/ethernet/cadence/macb_main.c 	desc->addr |= MACB_BIT(RX_WRAP);
desc             1200 drivers/net/ethernet/cadence/macb_main.c 		struct macb_dma_desc *desc = macb_rx_desc(queue, tail);
desc             1206 drivers/net/ethernet/cadence/macb_main.c 		if (!(desc->addr & MACB_BIT(RX_USED)))
desc             1212 drivers/net/ethernet/cadence/macb_main.c 		ctrl = desc->ctrl;
desc             1501 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc;
desc             1596 drivers/net/ethernet/cadence/macb_main.c 	desc = macb_tx_desc(queue, entry);
desc             1597 drivers/net/ethernet/cadence/macb_main.c 	desc->ctrl = ctrl;
desc             1618 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_tx_desc(queue, entry);
desc             1642 drivers/net/ethernet/cadence/macb_main.c 		macb_set_addr(bp, desc, tx_skb->mapping);
desc             1647 drivers/net/ethernet/cadence/macb_main.c 		desc->ctrl = ctrl;
desc             1896 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc	*desc;
desc             1912 drivers/net/ethernet/cadence/macb_main.c 			desc = macb_rx_desc(queue, i);
desc             1913 drivers/net/ethernet/cadence/macb_main.c 			addr = macb_get_addr(bp, desc);
desc             2045 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc = NULL;
desc             2051 drivers/net/ethernet/cadence/macb_main.c 			desc = macb_tx_desc(queue, i);
desc             2052 drivers/net/ethernet/cadence/macb_main.c 			macb_set_addr(bp, desc, 0);
desc             2053 drivers/net/ethernet/cadence/macb_main.c 			desc->ctrl = MACB_BIT(TX_USED);
desc             2055 drivers/net/ethernet/cadence/macb_main.c 		desc->ctrl |= MACB_BIT(TX_WRAP);
desc             2070 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc = NULL;
desc             2075 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_tx_desc(&bp->queues[0], i);
desc             2076 drivers/net/ethernet/cadence/macb_main.c 		macb_set_addr(bp, desc, 0);
desc             2077 drivers/net/ethernet/cadence/macb_main.c 		desc->ctrl = MACB_BIT(TX_USED);
desc             2081 drivers/net/ethernet/cadence/macb_main.c 	desc->ctrl |= MACB_BIT(TX_WRAP);
desc             3641 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc;
desc             3668 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(q, i);
desc             3669 drivers/net/ethernet/cadence/macb_main.c 		macb_set_addr(lp, desc, addr);
desc             3670 drivers/net/ethernet/cadence/macb_main.c 		desc->ctrl = 0;
desc             3675 drivers/net/ethernet/cadence/macb_main.c 	desc->addr |= MACB_BIT(RX_WRAP);
desc             3807 drivers/net/ethernet/cadence/macb_main.c 	struct macb_dma_desc *desc;
desc             3812 drivers/net/ethernet/cadence/macb_main.c 	desc = macb_rx_desc(q, q->rx_tail);
desc             3813 drivers/net/ethernet/cadence/macb_main.c 	while (desc->addr & MACB_BIT(RX_USED)) {
desc             3815 drivers/net/ethernet/cadence/macb_main.c 		pktlen = MACB_BF(RX_FRMLEN, desc->ctrl);
desc             3829 drivers/net/ethernet/cadence/macb_main.c 		if (desc->ctrl & MACB_BIT(RX_MHASH_MATCH))
desc             3833 drivers/net/ethernet/cadence/macb_main.c 		desc->addr &= ~MACB_BIT(RX_USED);
desc             3841 drivers/net/ethernet/cadence/macb_main.c 		desc = macb_rx_desc(q, q->rx_tail);
desc               29 drivers/net/ethernet/cadence/macb_ptp.c 					       struct macb_dma_desc *desc)
desc               33 drivers/net/ethernet/cadence/macb_ptp.c 				((u8 *)desc + sizeof(struct macb_dma_desc));
desc               36 drivers/net/ethernet/cadence/macb_ptp.c 				((u8 *)desc + sizeof(struct macb_dma_desc)
desc              270 drivers/net/ethernet/cadence/macb_ptp.c 		     struct macb_dma_desc *desc)
desc              276 drivers/net/ethernet/cadence/macb_ptp.c 	if (GEM_BFEXT(DMA_RXVALID, desc->addr)) {
desc              277 drivers/net/ethernet/cadence/macb_ptp.c 		desc_ptp = macb_ptp_desc(bp, desc);
desc              297 drivers/net/ethernet/cadence/macb_ptp.c 		    struct macb_dma_desc *desc)
desc              304 drivers/net/ethernet/cadence/macb_ptp.c 	if (!GEM_BFEXT(DMA_TXVALID, desc->ctrl))
desc              311 drivers/net/ethernet/cadence/macb_ptp.c 	desc_ptp = macb_ptp_desc(queue->bp, desc);
desc             1081 drivers/net/ethernet/calxeda/xgmac.c 	struct xgmac_dma_desc *desc, *first;
desc             1092 drivers/net/ethernet/calxeda/xgmac.c 	desc = priv->dma_tx + entry;
desc             1093 drivers/net/ethernet/calxeda/xgmac.c 	first = desc;
desc             1102 drivers/net/ethernet/calxeda/xgmac.c 	desc_set_buf_addr_and_size(desc, paddr, len);
desc             1115 drivers/net/ethernet/calxeda/xgmac.c 		desc = priv->dma_tx + entry;
desc             1118 drivers/net/ethernet/calxeda/xgmac.c 		desc_set_buf_addr_and_size(desc, paddr, len);
desc             1120 drivers/net/ethernet/calxeda/xgmac.c 			desc_set_tx_owner(desc, desc_flags);
desc             1124 drivers/net/ethernet/calxeda/xgmac.c 	if (desc != first)
desc             1125 drivers/net/ethernet/calxeda/xgmac.c 		desc_set_tx_owner(desc, desc_flags |
desc             1153 drivers/net/ethernet/calxeda/xgmac.c 		desc = priv->dma_tx + entry;
desc             1155 drivers/net/ethernet/calxeda/xgmac.c 		dma_unmap_page(priv->device, desc_get_buf_addr(desc),
desc             1156 drivers/net/ethernet/calxeda/xgmac.c 			       desc_get_buf_len(desc), DMA_TO_DEVICE);
desc             1157 drivers/net/ethernet/calxeda/xgmac.c 		desc_clear_tx_owner(desc);
desc             1159 drivers/net/ethernet/calxeda/xgmac.c 	desc = first;
desc             1160 drivers/net/ethernet/calxeda/xgmac.c 	dma_unmap_single(priv->device, desc_get_buf_addr(desc),
desc             1161 drivers/net/ethernet/calxeda/xgmac.c 			 desc_get_buf_len(desc), DMA_TO_DEVICE);
desc               49 drivers/net/ethernet/cavium/liquidio/liquidio_image.h 	struct octeon_firmware_desc desc[LIO_MAX_IMAGES];
desc              231 drivers/net/ethernet/cavium/liquidio/octeon_console.c 	struct cvmx_bootmem_named_block_desc *desc =
desc              236 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		desc->base_addr = __cvmx_bootmem_desc_get(
desc              243 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		desc->size = __cvmx_bootmem_desc_get(oct, named_addr,
desc              250 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		strncpy(desc->name, name, sizeof(desc->name));
desc              251 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		desc->name[sizeof(desc->name) - 1] = 0;
desc              873 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		load_addr = be64_to_cpu(h->desc[i].addr);
desc              874 drivers/net/ethernet/cavium/liquidio/octeon_console.c 		image_len = be32_to_cpu(h->desc[i].len);
desc              257 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	struct rbdr_entry_t *desc;
desc              266 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	rbdr->desc = rbdr->dmem.base;
desc              308 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		desc = GET_RBDR_DESC(rbdr, idx);
desc              309 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1);
desc              323 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	struct rbdr_entry_t *desc;
desc              337 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		desc = GET_RBDR_DESC(rbdr, head);
desc              338 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		buf_addr = desc->buf_addr;
desc              348 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	desc = GET_RBDR_DESC(rbdr, tail);
desc              349 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	buf_addr = desc->buf_addr;
desc              386 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	struct rbdr_entry_t *desc;
desc              420 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		desc = GET_RBDR_DESC(rbdr, tail);
desc              421 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1);
desc              485 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	cq->desc = cq->dmem.base;
desc              513 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	sq->desc = sq->dmem.base;
desc              226 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 	void		*desc;
desc              259 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 	void		*desc;
desc              273 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 	void		*desc;
desc              306 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 		(&(((struct rbdr_entry_t *)((RING)->desc))[idx]))
desc              308 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 		(&(((struct sq_hdr_subdesc *)((RING)->desc))[idx]))
desc              310 drivers/net/ethernet/cavium/thunder/nicvf_queues.h 		(&(((union cq_desc_t *)((RING)->desc))[idx]))
desc              292 drivers/net/ethernet/chelsio/cxgb/common.h 	const char             *desc;
desc             1160 drivers/net/ethernet/chelsio/cxgb/cxgb2.c 		adapter->name, bi->desc, adapter->params.chip_revision,
desc              411 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio T110 1x10GBase-CX4 TOE",
desc              431 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio N110 1x10GBaseX NIC",
desc              451 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio N210 1x10GBaseX NIC",
desc              473 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio T210 1x10GBaseX TOE",
desc              495 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio T210 1x10GBase-CX4 TOE",
desc              519 drivers/net/ethernet/chelsio/cxgb/subr.c 		.desc		= "Chelsio N204 4x100/1000BaseT NIC",
desc              114 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	struct rx_desc *desc;       /* address of HW Rx descriptor ring */
desc              140 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	struct rsp_desc *desc;	/* address of HW response ring */
desc              175 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	struct tx_desc *desc;	/* address of HW Tx descriptor ring */
desc              240 drivers/net/ethernet/chelsio/cxgb3/adapter.h 		char desc[22];
desc              172 drivers/net/ethernet/chelsio/cxgb3/common.h 	const char *desc;	/* product description */
desc              553 drivers/net/ethernet/chelsio/cxgb3/common.h 	const char *desc;		/* PHY description */
desc              580 drivers/net/ethernet/chelsio/cxgb3/common.h 			      unsigned int caps, const char *desc)
desc              584 drivers/net/ethernet/chelsio/cxgb3/common.h 	phy->desc = desc;
desc              384 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	int i, j, msi_idx = 1, n = sizeof(adap->msix_info[0].desc) - 1;
desc              386 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	snprintf(adap->msix_info[0].desc, n, "%s", adap->name);
desc              387 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	adap->msix_info[0].desc[n] = 0;
desc              394 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 			snprintf(adap->msix_info[msi_idx].desc, n,
desc              396 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 			adap->msix_info[msi_idx].desc[n] = 0;
desc              413 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 					  adap->msix_info[qidx + 1].desc,
desc             1268 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 				  adap->msix_info[0].desc, adap);
desc             3164 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 			    ai->desc, pi->phy.desc,
desc              243 drivers/net/ethernet/chelsio/cxgb3/sge.c 	sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit];
desc              508 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct rx_desc *d = &q->desc[q->pidx];
desc              551 drivers/net/ethernet/chelsio/cxgb3/sge.c 			d = q->desc;
desc              581 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct rx_desc *from = &q->desc[idx];
desc              582 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct rx_desc *to = &q->desc[q->pidx];
desc              682 drivers/net/ethernet/chelsio/cxgb3/sge.c 		if (q->fl[i].desc) {
desc              690 drivers/net/ethernet/chelsio/cxgb3/sge.c 					  sizeof(struct rx_desc), q->fl[i].desc,
desc              695 drivers/net/ethernet/chelsio/cxgb3/sge.c 		if (q->txq[i].desc) {
desc              707 drivers/net/ethernet/chelsio/cxgb3/sge.c 					  q->txq[i].desc, q->txq[i].phys_addr);
desc              711 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (q->rspq.desc) {
desc              717 drivers/net/ethernet/chelsio/cxgb3/sge.c 				  q->rspq.desc, q->rspq.phys_addr);
desc             1143 drivers/net/ethernet/chelsio/cxgb3/sge.c 				d = q->desc;
desc             1187 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct tx_desc *d = &q->desc[pidx];
desc             1503 drivers/net/ethernet/chelsio/cxgb3/sge.c 	write_imm(&q->desc[q->pidx], skb, skb->len, q->gen);
desc             1535 drivers/net/ethernet/chelsio/cxgb3/sge.c 		write_imm(&q->desc[q->pidx], skb, skb->len, q->gen);
desc             1637 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct tx_desc *d = &q->desc[pidx];
desc             2324 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct rsp_desc *r = &q->desc[q->cidx];
desc             2416 drivers/net/ethernet/chelsio/cxgb3/sge.c 			r = q->desc;
desc             2540 drivers/net/ethernet/chelsio/cxgb3/sge.c 			r = q->desc;
desc             2587 drivers/net/ethernet/chelsio/cxgb3/sge.c 	struct rsp_desc *r = &q->desc[q->cidx];
desc             2679 drivers/net/ethernet/chelsio/cxgb3/sge.c 	    is_new_response(&q->desc[q->cidx], q)) {
desc             2740 drivers/net/ethernet/chelsio/cxgb3/sge.c 	w0 = is_new_response(&q0->desc[q0->cidx], q0);
desc             2742 drivers/net/ethernet/chelsio/cxgb3/sge.c 	    is_new_response(&q1->desc[q1->cidx], q1);
desc             3047 drivers/net/ethernet/chelsio/cxgb3/sge.c 	q->fl[0].desc = alloc_ring(adapter->pdev, p->fl_size,
desc             3051 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (!q->fl[0].desc)
desc             3054 drivers/net/ethernet/chelsio/cxgb3/sge.c 	q->fl[1].desc = alloc_ring(adapter->pdev, p->jumbo_size,
desc             3058 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (!q->fl[1].desc)
desc             3061 drivers/net/ethernet/chelsio/cxgb3/sge.c 	q->rspq.desc = alloc_ring(adapter->pdev, p->rspq_size,
desc             3064 drivers/net/ethernet/chelsio/cxgb3/sge.c 	if (!q->rspq.desc)
desc             3074 drivers/net/ethernet/chelsio/cxgb3/sge.c 		q->txq[i].desc = alloc_ring(adapter->pdev, p->txq_size[i],
desc             3078 drivers/net/ethernet/chelsio/cxgb3/sge.c 		if (!q->txq[i].desc)
desc              390 drivers/net/ethernet/chelsio/cxgb3/vsc8211.c 	phy->desc = "1000BASE-X";
desc             2990 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c #define QDESC_GET(q, desc, type, label) do { \
desc             2994 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	if (desc) { \
desc             3004 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	QDESC_GET(txq, txq->desc, type, label); \
desc             3009 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	QDESC_GET(rxq, rxq->desc, type, label); \
desc             3014 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 	QDESC_GET(flq, flq->desc, type, label); \
desc              246 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h 	memcpy(entry->data, txq->desc, entry->data_size);
desc              258 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h 	memcpy(entry->data, rxq->desc, entry->data_size);
desc              270 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h 	memcpy(entry->data, flq->desc, entry->data_size);
desc              647 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	__be64 *desc;               /* address of HW Rx descriptor ring */
desc              688 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	__be64 *desc;               /* address of HW response ring */
desc              745 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	struct tx_desc *desc;       /* address of HW Tx descriptor ring */
desc              882 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	char desc[IFNAMSIZ + 10];
desc              951 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 		char desc[IFNAMSIZ + 10];
desc             2583 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 	#define S(desc, fmt, var) \
desc             2585 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 			   desc " (" #var "):", pfres->var)
desc              691 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	int i, j, msi_idx = 2, n = sizeof(adap->msix_info[0].desc);
desc              694 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	snprintf(adap->msix_info[0].desc, n, "%s", adap->port[0]->name);
desc              697 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	snprintf(adap->msix_info[1].desc, n, "%s-FWeventq",
desc              706 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 			snprintf(adap->msix_info[msi_idx].desc, n, "%s-Rx%d",
desc              747 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 			  adap->msix_info[1].desc, &s->fw_evtq);
desc              755 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 				  minfo->desc,
desc             1161 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		if (q->desc && q->pktcnt_idx != new_idx) {
desc             2377 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 				  adap->msix_info[0].desc, adap);
desc              188 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 		if (q->rspq.desc)
desc              235 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 		if (q->rspq.desc)
desc              367 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 				  minfo->desc,
desc              408 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 	int n = sizeof(adap->msix_info_ulds[0].desc);
desc              414 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 		snprintf(adap->msix_info_ulds[bmap_idx].desc, n, "%s-%s%d",
desc              466 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 		if (txq && txq->q.desc) {
desc              328 drivers/net/ethernet/chelsio/cxgb4/sge.c 			p = (const struct ulptx_sge_pair *)q->desc;
desc              331 drivers/net/ethernet/chelsio/cxgb4/sge.c 			const __be64 *addr = (const __be64 *)q->desc;
desc              339 drivers/net/ethernet/chelsio/cxgb4/sge.c 			const __be64 *addr = (const __be64 *)q->desc;
desc              352 drivers/net/ethernet/chelsio/cxgb4/sge.c 			p = (const struct ulptx_sge_pair *)q->desc;
desc              354 drivers/net/ethernet/chelsio/cxgb4/sge.c 						       *(const __be64 *)q->desc;
desc              598 drivers/net/ethernet/chelsio/cxgb4/sge.c 	__be64 *d = &q->desc[q->pidx];
desc              641 drivers/net/ethernet/chelsio/cxgb4/sge.c 			d = q->desc;
desc              670 drivers/net/ethernet/chelsio/cxgb4/sge.c 			d = q->desc;
desc              928 drivers/net/ethernet/chelsio/cxgb4/sge.c 		memcpy(q->desc, (u8 *)buf + part0, part1);
desc              929 drivers/net/ethernet/chelsio/cxgb4/sge.c 		end = (void *)q->desc + part1;
desc             1004 drivers/net/ethernet/chelsio/cxgb4/sge.c 			u64 *wr = (u64 *)&q->desc[index];
desc             1054 drivers/net/ethernet/chelsio/cxgb4/sge.c 		skb_copy_bits(skb, left, q->desc, skb->len - left);
desc             1055 drivers/net/ethernet/chelsio/cxgb4/sge.c 		pos = (void *)q->desc + (skb->len - left);
desc             1077 drivers/net/ethernet/chelsio/cxgb4/sge.c 		memcpy(q->desc, skb->data + left, length - left);
desc             1078 drivers/net/ethernet/chelsio/cxgb4/sge.c 		pos = (void *)q->desc + (length - left);
desc             1481 drivers/net/ethernet/chelsio/cxgb4/sge.c 	wr = (void *)&q->q.desc[q->q.pidx];
desc             1553 drivers/net/ethernet/chelsio/cxgb4/sge.c 				end = (void *)q->q.desc + left;
desc             1554 drivers/net/ethernet/chelsio/cxgb4/sge.c 				sgl = (void *)q->q.desc;
desc             1801 drivers/net/ethernet/chelsio/cxgb4/sge.c 	wr = (void *)&txq->q.desc[txq->q.pidx];
desc             1951 drivers/net/ethernet/chelsio/cxgb4/sge.c 			sgl = (void *)tq->desc;
desc             1952 drivers/net/ethernet/chelsio/cxgb4/sge.c 			end = (void *)((void *)tq->desc +
desc             2072 drivers/net/ethernet/chelsio/cxgb4/sge.c 	wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
desc             2110 drivers/net/ethernet/chelsio/cxgb4/sge.c 		wr = (struct fw_wr_hdr *)&q->q.desc[q->q.pidx];
desc             2285 drivers/net/ethernet/chelsio/cxgb4/sge.c 		pos = (u64 *)&q->q.desc[q->q.pidx];
desc             2307 drivers/net/ethernet/chelsio/cxgb4/sge.c 				end = (void *)txq->desc + left;
desc             2316 drivers/net/ethernet/chelsio/cxgb4/sge.c 				end = (void *)txq->desc + left;
desc             2317 drivers/net/ethernet/chelsio/cxgb4/sge.c 				pos = (void *)txq->desc;
desc             2496 drivers/net/ethernet/chelsio/cxgb4/sge.c 		memcpy(q->desc, src + left, length - left);
desc             2497 drivers/net/ethernet/chelsio/cxgb4/sge.c 		pos = (void *)q->desc + (length - left);
desc             2543 drivers/net/ethernet/chelsio/cxgb4/sge.c 	pos = (u64 *)&q->q.desc[q->q.pidx];
desc             3117 drivers/net/ethernet/chelsio/cxgb4/sge.c 		q->cur_desc = q->desc;
desc             3525 drivers/net/ethernet/chelsio/cxgb4/sge.c 	iq->desc = alloc_ring(adap->pdev_dev, iq->size, iq->iqe_len, 0,
desc             3528 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (!iq->desc)
desc             3568 drivers/net/ethernet/chelsio/cxgb4/sge.c 		fl->desc = alloc_ring(adap->pdev_dev, fl->size, sizeof(__be64),
desc             3572 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (!fl->desc)
desc             3609 drivers/net/ethernet/chelsio/cxgb4/sge.c 	iq->cur_desc = iq->desc;
desc             3689 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (iq->desc) {
desc             3691 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  iq->desc, iq->phys_addr);
desc             3692 drivers/net/ethernet/chelsio/cxgb4/sge.c 		iq->desc = NULL;
desc             3694 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (fl && fl->desc) {
desc             3698 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  fl->desc, fl->addr);
desc             3699 drivers/net/ethernet/chelsio/cxgb4/sge.c 		fl->desc = NULL;
desc             3714 drivers/net/ethernet/chelsio/cxgb4/sge.c 	q->stat = (void *)&q->desc[q->size];
desc             3741 drivers/net/ethernet/chelsio/cxgb4/sge.c 	txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size,
desc             3745 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (!txq->q.desc)
desc             3798 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  txq->q.desc, txq->q.phys_addr);
desc             3799 drivers/net/ethernet/chelsio/cxgb4/sge.c 		txq->q.desc = NULL;
desc             3826 drivers/net/ethernet/chelsio/cxgb4/sge.c 	txq->q.desc = alloc_ring(adap->pdev_dev, nentries,
desc             3829 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (!txq->q.desc)
desc             3857 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  txq->q.desc, txq->q.phys_addr);
desc             3858 drivers/net/ethernet/chelsio/cxgb4/sge.c 		txq->q.desc = NULL;
desc             3897 drivers/net/ethernet/chelsio/cxgb4/sge.c 	txq->q.desc = alloc_ring(adap->pdev_dev, txq->q.size,
desc             3901 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (!txq->q.desc)
desc             3932 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  txq->q.desc, txq->q.phys_addr);
desc             3933 drivers/net/ethernet/chelsio/cxgb4/sge.c 		txq->q.desc = NULL;
desc             3953 drivers/net/ethernet/chelsio/cxgb4/sge.c 			  q->desc, q->phys_addr);
desc             3956 drivers/net/ethernet/chelsio/cxgb4/sge.c 	q->desc = NULL;
desc             3969 drivers/net/ethernet/chelsio/cxgb4/sge.c 			  rq->desc, rq->phys_addr);
desc             3973 drivers/net/ethernet/chelsio/cxgb4/sge.c 	rq->desc = NULL;
desc             3978 drivers/net/ethernet/chelsio/cxgb4/sge.c 				  fl->desc, fl->addr);
desc             3982 drivers/net/ethernet/chelsio/cxgb4/sge.c 		fl->desc = NULL;
desc             3997 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (q->rspq.desc)
desc             4017 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (eq->rspq.desc)
desc             4028 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (eq->rspq.desc)
desc             4033 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (etq->q.desc) {
desc             4048 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (cq->q.desc) {
desc             4057 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (adap->sge.fw_evtq.desc)
desc             4060 drivers/net/ethernet/chelsio/cxgb4/sge.c 	if (adap->sge.intrq.desc)
desc             4065 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (etq->q.desc) {
desc             4117 drivers/net/ethernet/chelsio/cxgb4/sge.c 				if (txq->q.desc)
desc             4131 drivers/net/ethernet/chelsio/cxgb4/sge.c 				if (txq->q.desc)
desc             4140 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (cq->q.desc)
desc              143 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	__be64 *desc;			/* address of HW RX descriptor ring */
desc              185 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	__be64 *desc;			/* address of hardware response ring */
desc              247 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	struct tx_desc *desc;		/* address of HW TX descriptor ring */
desc              381 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 		char desc[22];
desc              353 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	int namelen = sizeof(adapter->msix_info[0].desc) - 1;
desc              359 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	snprintf(adapter->msix_info[MSIX_FW].desc, namelen,
desc              361 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	adapter->msix_info[MSIX_FW].desc[namelen] = 0;
desc              372 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 			snprintf(adapter->msix_info[msi].desc, namelen,
desc              374 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 			adapter->msix_info[msi].desc[namelen] = 0;
desc              391 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 			  0, adapter->msix_info[MSIX_FW].desc, &s->fw_evtq);
desc              402 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 				  adapter->msix_info[msi].desc,
desc             1100 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 		if (rspq->desc && rspq->pktcnt_idx != pktcnt_idx) {
desc             2355 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	#define S(desc, fmt, var) \
desc             2357 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 			   desc " (" #var "):", vfres->var)
desc              334 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			p = (const struct ulptx_sge_pair *)tq->desc;
desc              337 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			const __be64 *addr = (const __be64 *)tq->desc;
desc              345 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			const __be64 *addr = (const __be64 *)tq->desc;
desc              358 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			p = (const struct ulptx_sge_pair *)tq->desc;
desc              361 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			: *(const __be64 *)tq->desc);
desc              611 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	__be64 *d = &fl->desc[fl->pidx];
desc              670 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			d = fl->desc;
desc              699 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			d = fl->desc;
desc              949 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		memcpy(tq->desc, (u8 *)buf + part0, part1);
desc              950 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		end = (void *)tq->desc + part1;
desc              999 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			__be64 *src = (__be64 *)&tq->desc[index];
desc             1066 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		skb_copy_bits(skb, left, tq->desc, skb->len - left);
desc             1067 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		pos = (void *)tq->desc + (skb->len - left);
desc             1266 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	wr = (void *)&txq->q.desc[txq->q.pidx];
desc             1431 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			sgl = (void *)tq->desc;
desc             1432 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			end = ((void *)tq->desc + ((void *)end - (void *)tq->stat));
desc             1740 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		rspq->cur_desc = rspq->desc;
desc             2236 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	rspq->desc = alloc_ring(adapter->pdev_dev, rspq->size, rspq->iqe_len,
desc             2238 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (!rspq->desc)
desc             2286 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		fl->desc = alloc_ring(adapter->pdev_dev, fl->size,
desc             2289 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		if (!fl->desc) {
desc             2343 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	rspq->cur_desc = rspq->desc;
desc             2389 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (rspq->desc) {
desc             2391 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				  rspq->desc, rspq->phys_addr);
desc             2392 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		rspq->desc = NULL;
desc             2394 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (fl && fl->desc) {
desc             2398 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				  fl->desc, fl->addr);
desc             2399 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		fl->desc = NULL;
desc             2432 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	txq->q.desc = alloc_ring(adapter->pdev_dev, txq->q.size,
desc             2436 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (!txq->q.desc)
desc             2484 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				  txq->q.desc, txq->q.phys_addr);
desc             2485 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		txq->q.desc = NULL;
desc             2492 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	txq->q.stat = (void *)&txq->q.desc[txq->q.size];
desc             2518 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			  tq->size * sizeof(*tq->desc) + s->stat_len,
desc             2519 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			  tq->desc, tq->phys_addr);
desc             2522 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	tq->desc = NULL;
desc             2538 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 			  rspq->desc, rspq->phys_addr);
desc             2543 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	rspq->desc = NULL;
desc             2548 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				  fl->size * sizeof(*fl->desc) + s->stat_len,
desc             2549 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 				  fl->desc, fl->addr);
desc             2553 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		fl->desc = NULL;
desc             2573 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		if (rxq->rspq.desc)
desc             2575 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 		if (txq->q.desc) {
desc             2582 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (evtq->desc)
desc             2584 drivers/net/ethernet/chelsio/cxgb4vf/sge.c 	if (intrq->desc)
desc               59 drivers/net/ethernet/cisco/enic/cq_desc.h 	const struct cq_desc *desc = desc_arg;
desc               60 drivers/net/ethernet/cisco/enic/cq_desc.h 	const u8 type_color = desc->type_color;
desc               75 drivers/net/ethernet/cisco/enic/cq_desc.h 	*q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK;
desc               76 drivers/net/ethernet/cisco/enic/cq_desc.h 	*completed_index = le16_to_cpu(desc->completed_index) &
desc               33 drivers/net/ethernet/cisco/enic/cq_enet_desc.h static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
desc               36 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	cq_desc_dec((struct cq_desc *)desc, type,
desc              104 drivers/net/ethernet/cisco/enic/cq_enet_desc.h static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc,
desc              117 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	cq_desc_dec((struct cq_desc *)desc, type,
desc              120 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	completed_index_flags = le16_to_cpu(desc->completed_index_flags);
desc              122 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		le16_to_cpu(desc->q_number_rss_type_flags);
desc              123 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
desc              139 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*rss_hash = le32_to_cpu(desc->rss_hash);
desc              151 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*vlan_tci = le16_to_cpu(desc->vlan);
desc              154 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		*fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) &
desc              156 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		*fcoe_fc_crc_ok = (desc->flags &
desc              158 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		*fcoe_enc_error = (desc->flags &
desc              160 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		*fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >>
desc              169 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		*checksum = le16_to_cpu(desc->checksum_fcoe);
desc              173 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0;
desc              174 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0;
desc              175 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0;
desc              177 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0;
desc              178 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0;
desc              179 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
desc              181 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT) ? 1 : 0;
desc              182 drivers/net/ethernet/cisco/enic/cq_enet_desc.h 	*fcs_ok = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_FCS_OK) ? 1 : 0;
desc               49 drivers/net/ethernet/cisco/enic/enic_res.h 	struct wq_enet_desc *desc = vnic_wq_next_desc(wq);
desc               54 drivers/net/ethernet/cisco/enic/enic_res.h 	wq_enet_desc_enc(desc,
desc              126 drivers/net/ethernet/cisco/enic/enic_res.h 	struct rq_enet_desc *desc = vnic_rq_next_desc(rq);
desc              131 drivers/net/ethernet/cisco/enic/enic_res.h 	rq_enet_desc_enc(desc,
desc               43 drivers/net/ethernet/cisco/enic/rq_enet_desc.h static inline void rq_enet_desc_enc(struct rq_enet_desc *desc,
desc               46 drivers/net/ethernet/cisco/enic/rq_enet_desc.h 	desc->address = cpu_to_le64(address);
desc               47 drivers/net/ethernet/cisco/enic/rq_enet_desc.h 	desc->length_type = cpu_to_le16((length & RQ_ENET_LEN_MASK) |
desc               51 drivers/net/ethernet/cisco/enic/rq_enet_desc.h static inline void rq_enet_desc_dec(struct rq_enet_desc *desc,
desc               54 drivers/net/ethernet/cisco/enic/rq_enet_desc.h 	*address = le64_to_cpu(desc->address);
desc               55 drivers/net/ethernet/cisco/enic/rq_enet_desc.h 	*length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK;
desc               56 drivers/net/ethernet/cisco/enic/rq_enet_desc.h 	*type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) &
desc               47 drivers/net/ethernet/cisco/enic/vnic_rq.c 			buf->desc = (u8 *)rq->ring.descs +
desc               75 drivers/net/ethernet/cisco/enic/vnic_rq.h 	void *desc;
desc              111 drivers/net/ethernet/cisco/enic/vnic_rq.h 	return rq->to_use->desc;
desc               47 drivers/net/ethernet/cisco/enic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
desc               60 drivers/net/ethernet/cisco/enic/vnic_wq.h 	void *desc;
desc              117 drivers/net/ethernet/cisco/enic/vnic_wq.h 	return wq->to_use->desc;
desc               53 drivers/net/ethernet/cisco/enic/wq_enet_desc.h static inline void wq_enet_desc_enc(struct wq_enet_desc *desc,
desc               58 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	desc->address = cpu_to_le64(address);
desc               59 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
desc               60 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
desc               62 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	desc->header_length_flags = cpu_to_le16(
desc               69 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	desc->vlan_tag = cpu_to_le16(vlan_tag);
desc               72 drivers/net/ethernet/cisco/enic/wq_enet_desc.h static inline void wq_enet_desc_dec(struct wq_enet_desc *desc,
desc               77 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*address = le64_to_cpu(desc->address);
desc               78 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
desc               79 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) &
desc               81 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*loopback = (u8)((le16_to_cpu(desc->mss_loopback) >>
desc               83 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*header_length = le16_to_cpu(desc->header_length_flags) &
desc               85 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               87 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*eop = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               89 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               91 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               93 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               95 drivers/net/ethernet/cisco/enic/wq_enet_desc.h 	*vlan_tag = le16_to_cpu(desc->vlan_tag);
desc             1138 drivers/net/ethernet/cortina/gemini.c 			    struct gmac_txq *txq, unsigned short *desc)
desc             1146 drivers/net/ethernet/cortina/gemini.c 	unsigned short w = *desc;
desc             1213 drivers/net/ethernet/cortina/gemini.c 	*desc = w;
desc             1217 drivers/net/ethernet/cortina/gemini.c 	while (w != *desc) {
desc             1188 drivers/net/ethernet/dec/tulip/winbond-840.c 		struct w840_rx_desc *desc = np->rx_head_desc;
desc             1189 drivers/net/ethernet/dec/tulip/winbond-840.c 		s32 status = desc->status;
desc              381 drivers/net/ethernet/dec/tulip/xircom_cb.c 	int desc;
desc              387 drivers/net/ethernet/dec/tulip/xircom_cb.c 	for (desc=0;desc<NUMDESCRIPTORS;desc++)
desc              388 drivers/net/ethernet/dec/tulip/xircom_cb.c 		investigate_write_descriptor(dev,card,desc,bufferoffsets[desc]);
desc              392 drivers/net/ethernet/dec/tulip/xircom_cb.c 	desc = card->transmit_used;
desc              395 drivers/net/ethernet/dec/tulip/xircom_cb.c 	if (card->tx_buffer[4*desc]==0) {
desc              399 drivers/net/ethernet/dec/tulip/xircom_cb.c 			memset(&card->tx_buffer[bufferoffsets[desc]/4],0,1536);
desc              401 drivers/net/ethernet/dec/tulip/xircom_cb.c 				  &(card->tx_buffer[bufferoffsets[desc] / 4]),
desc              406 drivers/net/ethernet/dec/tulip/xircom_cb.c 			card->tx_buffer[4*desc+1] = cpu_to_le32(skb->len);
desc              407 drivers/net/ethernet/dec/tulip/xircom_cb.c 			if (desc == NUMDESCRIPTORS - 1) /* bit 25: last descriptor of the ring */
desc              408 drivers/net/ethernet/dec/tulip/xircom_cb.c 				card->tx_buffer[4*desc+1] |= cpu_to_le32(1<<25);  
desc              410 drivers/net/ethernet/dec/tulip/xircom_cb.c 			card->tx_buffer[4*desc+1] |= cpu_to_le32(0xF0000000);
desc              412 drivers/net/ethernet/dec/tulip/xircom_cb.c 			card->tx_skb[desc] = skb;
desc              416 drivers/net/ethernet/dec/tulip/xircom_cb.c 			card->tx_buffer[4*desc] = cpu_to_le32(0x80000000);
desc              432 drivers/net/ethernet/dlink/dl2k.c static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
desc              434 drivers/net/ethernet/dlink/dl2k.c 	return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
desc              931 drivers/net/ethernet/dlink/dl2k.c 		struct netdev_desc *desc = &np->rx_ring[entry];
desc              935 drivers/net/ethernet/dlink/dl2k.c 		if (!(desc->status & cpu_to_le64(RFDDone)) ||
desc              936 drivers/net/ethernet/dlink/dl2k.c 		    !(desc->status & cpu_to_le64(FrameStart)) ||
desc              937 drivers/net/ethernet/dlink/dl2k.c 		    !(desc->status & cpu_to_le64(FrameEnd)))
desc              941 drivers/net/ethernet/dlink/dl2k.c 		frame_status = le64_to_cpu(desc->status);
desc              962 drivers/net/ethernet/dlink/dl2k.c 						  desc_to_dma(desc),
desc              969 drivers/net/ethernet/dlink/dl2k.c 							    desc_to_dma(desc),
desc              977 drivers/net/ethernet/dlink/dl2k.c 							       desc_to_dma(desc),
desc             1341 drivers/net/ethernet/dlink/sundance.c 		struct netdev_desc *desc = &(np->rx_ring[entry]);
desc             1342 drivers/net/ethernet/dlink/sundance.c 		u32 frame_status = le32_to_cpu(desc->status);
desc             1387 drivers/net/ethernet/dlink/sundance.c 						le32_to_cpu(desc->frag[0].addr),
desc             1391 drivers/net/ethernet/dlink/sundance.c 						le32_to_cpu(desc->frag[0].addr),
desc             1396 drivers/net/ethernet/dlink/sundance.c 					le32_to_cpu(desc->frag[0].addr),
desc              170 drivers/net/ethernet/ec_bhf.c static void ec_bhf_send_packet(struct ec_bhf_priv *priv, struct tx_desc *desc)
desc              172 drivers/net/ethernet/ec_bhf.c 	u32 len = le16_to_cpu(desc->header.len) + sizeof(desc->header);
desc              173 drivers/net/ethernet/ec_bhf.c 	u32 addr = (u8 *)desc - priv->tx_buf.buf;
desc              178 drivers/net/ethernet/ec_bhf.c static int ec_bhf_desc_sent(struct tx_desc *desc)
desc              180 drivers/net/ethernet/ec_bhf.c 	return le32_to_cpu(desc->header.sent) & TX_HDR_SENT;
desc              194 drivers/net/ethernet/ec_bhf.c static int ec_bhf_pkt_received(struct rx_desc *desc)
desc              196 drivers/net/ethernet/ec_bhf.c 	return le32_to_cpu(desc->header.recv) & RXHDR_NEXT_RECV_FLAG;
desc              199 drivers/net/ethernet/ec_bhf.c static void ec_bhf_add_rx_desc(struct ec_bhf_priv *priv, struct rx_desc *desc)
desc              201 drivers/net/ethernet/ec_bhf.c 	iowrite32(FIFO_RX_ADDR_VALID | ((u8 *)(desc) - priv->rx_buf.buf),
desc              207 drivers/net/ethernet/ec_bhf.c 	struct rx_desc *desc = &priv->rx_descs[priv->rx_dnext];
desc              209 drivers/net/ethernet/ec_bhf.c 	while (ec_bhf_pkt_received(desc)) {
desc              210 drivers/net/ethernet/ec_bhf.c 		int pkt_size = (le16_to_cpu(desc->header.len) &
desc              212 drivers/net/ethernet/ec_bhf.c 		u8 *data = desc->data;
desc              228 drivers/net/ethernet/ec_bhf.c 		desc->header.recv = 0;
desc              230 drivers/net/ethernet/ec_bhf.c 		ec_bhf_add_rx_desc(priv, desc);
desc              233 drivers/net/ethernet/ec_bhf.c 		desc = &priv->rx_descs[priv->rx_dnext];
desc              286 drivers/net/ethernet/ec_bhf.c 	struct tx_desc *desc;
desc              289 drivers/net/ethernet/ec_bhf.c 	desc = &priv->tx_descs[priv->tx_dnext];
desc              291 drivers/net/ethernet/ec_bhf.c 	skb_copy_and_csum_dev(skb, desc->data);
desc              294 drivers/net/ethernet/ec_bhf.c 	memset(&desc->header, 0, sizeof(desc->header));
desc              295 drivers/net/ethernet/ec_bhf.c 	desc->header.len = cpu_to_le16(len);
desc              296 drivers/net/ethernet/ec_bhf.c 	desc->header.port = TX_HDR_PORT_0;
desc              298 drivers/net/ethernet/ec_bhf.c 	ec_bhf_send_packet(priv, desc);
desc              378 drivers/net/ethernet/ec_bhf.c 		struct rx_desc *desc = &priv->rx_descs[i];
desc              382 drivers/net/ethernet/ec_bhf.c 			next = (u8 *)(desc + 1) - priv->rx_buf.buf;
desc              386 drivers/net/ethernet/ec_bhf.c 		desc->header.next = cpu_to_le32(next);
desc              387 drivers/net/ethernet/ec_bhf.c 		desc->header.recv = 0;
desc              388 drivers/net/ethernet/ec_bhf.c 		ec_bhf_add_rx_desc(priv, desc);
desc              184 drivers/net/ethernet/emulex/benet/be.h 	char desc[32];
desc             4321 drivers/net/ethernet/emulex/benet/be_cmds.c 			     struct be_nic_res_desc *desc)
desc             4323 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_uc_mac = le16_to_cpu(desc->unicast_mac_count);
desc             4324 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_vlans = le16_to_cpu(desc->vlan_count);
desc             4325 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_mcast_mac = le16_to_cpu(desc->mcast_mac_count);
desc             4326 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_tx_qs = le16_to_cpu(desc->txq_count);
desc             4327 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_rss_qs = le16_to_cpu(desc->rssq_count);
desc             4328 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_rx_qs = le16_to_cpu(desc->rq_count);
desc             4329 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_evt_qs = le16_to_cpu(desc->eq_count);
desc             4330 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_cq_count = le16_to_cpu(desc->cq_count);
desc             4331 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_iface_count = le16_to_cpu(desc->iface_count);
desc             4332 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->max_mcc_count = le16_to_cpu(desc->mcc_count);
desc             4334 drivers/net/ethernet/emulex/benet/be_cmds.c 	res->if_cap_flags = le32_to_cpu(desc->cap_flags) &
desc             4378 drivers/net/ethernet/emulex/benet/be_cmds.c 		struct be_nic_res_desc *desc;
desc             4384 drivers/net/ethernet/emulex/benet/be_cmds.c 		desc = be_get_func_nic_desc(resp->func_param, desc_count,
desc             4386 drivers/net/ethernet/emulex/benet/be_cmds.c 		if (!desc) {
desc             4392 drivers/net/ethernet/emulex/benet/be_cmds.c 		adapter->pf_num = desc->pf_num;
desc             4393 drivers/net/ethernet/emulex/benet/be_cmds.c 		adapter->vf_num = desc->vf_num;
desc             4396 drivers/net/ethernet/emulex/benet/be_cmds.c 			be_copy_nic_desc(res, desc);
desc             4526 drivers/net/ethernet/emulex/benet/be_cmds.c static int be_cmd_set_profile_config(struct be_adapter *adapter, void *desc,
desc             4548 drivers/net/ethernet/emulex/benet/be_cmds.c 	memcpy(req->desc, desc, size);
desc             4635 drivers/net/ethernet/emulex/benet/be_cmds.c 	} __packed desc;
desc             4638 drivers/net/ethernet/emulex/benet/be_cmds.c 	be_reset_pcie_desc(&desc.pcie);
desc             4639 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.hdr.desc_type = PCIE_RESOURCE_DESC_TYPE_V1;
desc             4640 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.hdr.desc_len = RESOURCE_DESC_SIZE_V1;
desc             4641 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.flags = BIT(IMM_SHIFT) | BIT(NOSV_SHIFT);
desc             4642 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.pf_num = adapter->pdev->devfn;
desc             4643 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.sriov_state = num_vfs ? 1 : 0;
desc             4644 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.pcie.num_vfs = cpu_to_le16(num_vfs);
desc             4647 drivers/net/ethernet/emulex/benet/be_cmds.c 	be_reset_nic_desc(&desc.nic_vft);
desc             4648 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1;
desc             4649 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.hdr.desc_len = RESOURCE_DESC_SIZE_V1;
desc             4650 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.flags = vft_res->flags | BIT(VFT_SHIFT) |
desc             4652 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.pf_num = adapter->pdev->devfn;
desc             4653 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.vf_num = 0;
desc             4654 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.cap_flags = cpu_to_le32(vft_res->vf_if_cap_flags);
desc             4655 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.rq_count = cpu_to_le16(vft_res->max_rx_qs);
desc             4656 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.txq_count = cpu_to_le16(vft_res->max_tx_qs);
desc             4657 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.rssq_count = cpu_to_le16(vft_res->max_rss_qs);
desc             4658 drivers/net/ethernet/emulex/benet/be_cmds.c 	desc.nic_vft.cq_count = cpu_to_le16(vft_res->max_cq_count);
desc             4661 drivers/net/ethernet/emulex/benet/be_cmds.c 		desc.nic_vft.unicast_mac_count =
desc             4664 drivers/net/ethernet/emulex/benet/be_cmds.c 		desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans);
desc             4666 drivers/net/ethernet/emulex/benet/be_cmds.c 		desc.nic_vft.iface_count =
desc             4669 drivers/net/ethernet/emulex/benet/be_cmds.c 		desc.nic_vft.mcc_count = cpu_to_le16(vft_res->max_mcc_count);
desc             4671 drivers/net/ethernet/emulex/benet/be_cmds.c 	return be_cmd_set_profile_config(adapter, &desc,
desc             2272 drivers/net/ethernet/emulex/benet/be_cmds.h 	u8 desc[2 * RESOURCE_DESC_SIZE_V1];
desc               19 drivers/net/ethernet/emulex/benet/be_ethtool.c 	char desc[ETH_GSTRING_LEN];
desc              435 drivers/net/ethernet/emulex/benet/be_ethtool.c 			memcpy(data, et_stats[i].desc, ETH_GSTRING_LEN);
desc              441 drivers/net/ethernet/emulex/benet/be_ethtool.c 					et_rx_stats[j].desc);
desc              448 drivers/net/ethernet/emulex/benet/be_ethtool.c 					et_tx_stats[j].desc);
desc             3489 drivers/net/ethernet/emulex/benet/be_main.c 		sprintf(eqo->desc, "%s-q%d", netdev->name, i);
desc             3491 drivers/net/ethernet/emulex/benet/be_main.c 		status = request_irq(vec, be_msix, 0, eqo->desc, eqo);
desc              228 drivers/net/ethernet/freescale/fec.h 	struct bufdesc desc;
desc              605 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc_ex *ebdp = container_of(bdp, struct bufdesc_ex, desc);
desc              665 drivers/net/ethernet/freescale/fec_main.c 	struct bufdesc_ex *ebdp = container_of(bdp, struct bufdesc_ex, desc);
desc               67 drivers/net/ethernet/google/gve/gve.h 	struct gve_rx_desc_queue desc;
desc              124 drivers/net/ethernet/google/gve/gve.h 	union gve_tx_desc *desc ____cacheline_aligned;
desc              225 drivers/net/ethernet/google/gve/gve_adminq.c 		.rx_desc_ring_addr = cpu_to_be64(rx->desc.bus),
desc              285 drivers/net/ethernet/google/gve/gve_adminq.c 	if (priv->tx_desc_cnt * sizeof(priv->tx->desc[0]) < PAGE_SIZE) {
desc              292 drivers/net/ethernet/google/gve/gve_adminq.c 	if (priv->rx_desc_cnt * sizeof(priv->rx->desc.desc_ring[0])
desc               29 drivers/net/ethernet/google/gve/gve_rx.c 	dma_free_coherent(dev, bytes, rx->desc.desc_ring, rx->desc.bus);
desc               30 drivers/net/ethernet/google/gve/gve_rx.c 	rx->desc.desc_ring = NULL;
desc              153 drivers/net/ethernet/google/gve/gve_rx.c 	rx->desc.desc_ring = dma_alloc_coherent(hdev, bytes, &rx->desc.bus,
desc              155 drivers/net/ethernet/google/gve/gve_rx.c 	if (!rx->desc.desc_ring) {
desc              161 drivers/net/ethernet/google/gve/gve_rx.c 	rx->desc.seqno = 1;
desc              367 drivers/net/ethernet/google/gve/gve_rx.c 	struct gve_rx_desc *desc;
desc              372 drivers/net/ethernet/google/gve/gve_rx.c 	desc = rx->desc.desc_ring + next_idx;
desc              374 drivers/net/ethernet/google/gve/gve_rx.c 	flags_seq = desc->flags_seq;
desc              378 drivers/net/ethernet/google/gve/gve_rx.c 	return (GVE_SEQNO(flags_seq) == rx->desc.seqno);
desc              385 drivers/net/ethernet/google/gve/gve_rx.c 	struct gve_rx_desc *desc;
desc              391 drivers/net/ethernet/google/gve/gve_rx.c 	desc = rx->desc.desc_ring + idx;
desc              392 drivers/net/ethernet/google/gve/gve_rx.c 	while ((GVE_SEQNO(desc->flags_seq) == rx->desc.seqno) &&
desc              396 drivers/net/ethernet/google/gve/gve_rx.c 			   rx->q_num, idx, desc, desc->flags_seq);
desc              399 drivers/net/ethernet/google/gve/gve_rx.c 			   rx->q_num, GVE_SEQNO(desc->flags_seq),
desc              400 drivers/net/ethernet/google/gve/gve_rx.c 			   rx->desc.seqno);
desc              401 drivers/net/ethernet/google/gve/gve_rx.c 		bytes += be16_to_cpu(desc->len) - GVE_RX_PAD;
desc              402 drivers/net/ethernet/google/gve/gve_rx.c 		if (!gve_rx(rx, desc, feat, idx))
desc              406 drivers/net/ethernet/google/gve/gve_rx.c 		desc = rx->desc.desc_ring + idx;
desc              407 drivers/net/ethernet/google/gve/gve_rx.c 		rx->desc.seqno = gve_next_seqno(rx->desc.seqno);
desc              165 drivers/net/ethernet/google/gve/gve_tx.c 	bytes = sizeof(*tx->desc) * slots;
desc              166 drivers/net/ethernet/google/gve/gve_tx.c 	dma_free_coherent(hdev, bytes, tx->desc, tx->bus);
desc              167 drivers/net/ethernet/google/gve/gve_tx.c 	tx->desc = NULL;
desc              204 drivers/net/ethernet/google/gve/gve_tx.c 	bytes = sizeof(*tx->desc) * slots;
desc              205 drivers/net/ethernet/google/gve/gve_tx.c 	tx->desc = dma_alloc_coherent(hdev, bytes, &tx->bus, GFP_KERNEL);
desc              206 drivers/net/ethernet/google/gve/gve_tx.c 	if (!tx->desc)
desc              233 drivers/net/ethernet/google/gve/gve_tx.c 	dma_free_coherent(hdev, bytes, tx->desc, tx->bus);
desc              234 drivers/net/ethernet/google/gve/gve_tx.c 	tx->desc = NULL;
desc              421 drivers/net/ethernet/google/gve/gve_tx.c 	pkt_desc = &tx->desc[idx];
desc              457 drivers/net/ethernet/google/gve/gve_tx.c 		seg_desc = &tx->desc[next_idx];
desc              451 drivers/net/ethernet/hisilicon/hip04_eth.c 	struct tx_desc *desc;
desc              461 drivers/net/ethernet/hisilicon/hip04_eth.c 		desc = &priv->tx_desc[tx_tail];
desc              462 drivers/net/ethernet/hisilicon/hip04_eth.c 		if (desc->send_addr != 0) {
desc              464 drivers/net/ethernet/hisilicon/hip04_eth.c 				desc->send_addr = 0;
desc              511 drivers/net/ethernet/hisilicon/hip04_eth.c 	struct tx_desc *desc = &priv->tx_desc[tx_head];
desc              530 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->send_size = (__force u32)cpu_to_be32(skb->len);
desc              532 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->cfg = (__force u32)cpu_to_be32(TX_CLEAR_WB | TX_FINISH_CACHE_INV
desc              534 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->data_offset = (__force u32)cpu_to_be32(phys & CACHE_LINE_MASK);
desc              535 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->send_addr =  (__force u32)cpu_to_be32(phys & ~CACHE_LINE_MASK);
desc              537 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->cfg = (__force u32)cpu_to_be32(TX_CLEAR_WB | TX_FINISH_CACHE_INV);
desc              538 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->send_addr = (__force u32)cpu_to_be32(phys);
desc              541 drivers/net/ethernet/hisilicon/hip04_eth.c 	desc->wb_addr = (__force u32)cpu_to_be32(phys +
desc              579 drivers/net/ethernet/hisilicon/hip04_eth.c 	struct rx_desc *desc;
desc              604 drivers/net/ethernet/hisilicon/hip04_eth.c 		desc = (struct rx_desc *)skb->data;
desc              605 drivers/net/ethernet/hisilicon/hip04_eth.c 		len = be16_to_cpu((__force __be16)desc->pkt_len);
desc              606 drivers/net/ethernet/hisilicon/hip04_eth.c 		err = be32_to_cpu((__force __be32)desc->pkt_err);
desc              212 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              219 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct sg_desc *desc;
desc              466 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              493 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc = priv->rx_fq.desc + pos;
desc              494 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc->buff_addr = cpu_to_le32(addr);
desc              496 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc->cmd = cpu_to_le32(DESC_VLD_FREE |
desc              512 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              534 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc = priv->rx_bq.desc + pos;
desc              535 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		len = (le32_to_cpu(desc->cmd) >> DESC_DATA_LEN_OFF) &
desc              537 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		addr = le32_to_cpu(desc->buff_addr);
desc              569 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct sg_desc *desc;
desc              574 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc = priv->tx_ring.desc + pos;
desc              576 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	addr = le32_to_cpu(desc->linear_addr);
desc              577 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	len = le32_to_cpu(desc->linear_len);
desc              581 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		addr = le32_to_cpu(desc->frags[i].addr);
desc              582 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		len = le32_to_cpu(desc->frags[i].size);
desc              590 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              613 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc = priv->tx_rq.desc + pos;
desc              618 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 			addr = le32_to_cpu(desc->buff_addr);
desc              705 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct sg_desc *desc;
desc              710 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc = priv->tx_ring.desc + pos;
desc              712 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc->total_len = cpu_to_le32(skb->len);
desc              717 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc->linear_addr = cpu_to_le32(addr);
desc              718 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc->linear_len = cpu_to_le32(skb_headlen(skb));
desc              728 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc->frags[i].addr = cpu_to_le32(addr);
desc              729 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc->frags[i].size = cpu_to_le32(len);
desc              738 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              753 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc = priv->tx_bq.desc + pos;
desc              756 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc->cmd = cpu_to_le32(cmd);
desc              775 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc->buff_addr = cpu_to_le32(addr);
desc              795 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct hix5hd2_desc *desc;
desc              804 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc = priv->rx_fq.desc + i;
desc              805 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		addr = le32_to_cpu(desc->buff_addr);
desc              817 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		desc = priv->tx_rq.desc + i;
desc              818 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		addr = le32_to_cpu(desc->buff_addr);
desc              982 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		if (priv->pool[i].desc) {
desc              984 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 					  priv->pool[i].desc,
desc              986 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 			priv->pool[i].desc = NULL;
desc             1011 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		priv->pool[i].desc = virt_addr;
desc             1024 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	struct sg_desc *desc;
desc             1027 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	desc = (struct sg_desc *)dma_alloc_coherent(priv->dev,
desc             1030 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	if (!desc)
desc             1033 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	priv->tx_ring.desc = desc;
desc             1041 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 	if (priv->tx_ring.desc) {
desc             1044 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 				  priv->tx_ring.desc, priv->tx_ring.phys_addr);
desc             1045 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c 		priv->tx_ring.desc = NULL;
desc              150 drivers/net/ethernet/hisilicon/hns/hnae.c 			 ring->desc_num * sizeof(ring->desc[0]),
desc              153 drivers/net/ethernet/hisilicon/hns/hnae.c 	kfree(ring->desc);
desc              154 drivers/net/ethernet/hisilicon/hns/hnae.c 	ring->desc = NULL;
desc              160 drivers/net/ethernet/hisilicon/hns/hnae.c 	int size = ring->desc_num * sizeof(ring->desc[0]);
desc              162 drivers/net/ethernet/hisilicon/hns/hnae.c 	ring->desc = kzalloc(size, GFP_KERNEL);
desc              163 drivers/net/ethernet/hisilicon/hns/hnae.c 	if (!ring->desc)
desc              167 drivers/net/ethernet/hisilicon/hns/hnae.c 		ring->desc, size, ring_to_dma_dir(ring));
desc              170 drivers/net/ethernet/hisilicon/hns/hnae.c 		kfree(ring->desc);
desc              171 drivers/net/ethernet/hisilicon/hns/hnae.c 		ring->desc = NULL;
desc              203 drivers/net/ethernet/hisilicon/hns/hnae.c 	assert(!ring->desc && !ring->desc_cb && !ring->desc_dma_addr);
desc              268 drivers/net/ethernet/hisilicon/hns/hnae.h 	struct hnae_desc *desc; /* dma map address space */
desc              621 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma);
desc              629 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].addr = 0;
desc              652 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma);
desc              653 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].rx.ipoff_bnum_pid_flag = 0;
desc              659 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma
desc              661 drivers/net/ethernet/hisilicon/hns/hnae.h 	ring->desc[i].rx.ipoff_bnum_pid_flag = 0;
desc              673 drivers/net/ethernet/hisilicon/hns/hnae.h 			ring->desc[j].addr = cpu_to_le64(ring->desc_cb[j].dma);
desc              689 drivers/net/ethernet/hisilicon/hns/hnae.h 			if (ring->desc[j].addr !=
desc              691 drivers/net/ethernet/hisilicon/hns/hnae.h 				ring->desc[j].addr =
desc              698 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c 			 g_gmac_stats_string[i].desc);
desc              408 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h 	const char desc[ETH_GSTRING_LEN];
desc              467 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c 	ring->desc = NULL;
desc              768 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c 		snprintf(buff, ETH_GSTRING_LEN, g_xgmac_stats_string[i].desc);
desc               40 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	struct hnae_desc *desc = &ring->desc[ring->next_to_use];
desc               59 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->addr = cpu_to_le64(dma);
desc               60 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.send_size = cpu_to_le16((u16)send_sz);
desc              113 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc->tx.ip_offset = ip_offset;
desc              114 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc->tx.tse_vlan_snap_v6_sctp_nth = tvsvsn;
desc              115 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc->tx.mss = cpu_to_le16(mss);
desc              116 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc->tx.l4_len = l4_len;
desc              117 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc->tx.paylen = cpu_to_le16(paylen);
desc              123 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.bn_pid = bn_pid;
desc              124 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.ra_ri_cs_fe_vld = rrcfv;
desc              148 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	struct hnae_desc *desc = &ring->desc[ring->next_to_use];
desc              161 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->addr = cpu_to_le64(dma);
desc              162 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.send_size = cpu_to_le16((u16)size);
desc              199 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.asid_bufnum_pid = cpu_to_le16(asid_bufnum_pid);
desc              200 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc->tx.flag_ipoffset = cpu_to_le32(flag_ipoffset);
desc              412 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	struct hnae_desc *desc;
desc              421 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc = &ring->desc[ring->next_to_clean];
desc              422 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	size = le16_to_cpu(desc->rx.size);
desc              545 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	struct hnae_desc *desc;
desc              552 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	desc = &ring->desc[ring->next_to_clean];
desc              555 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	prefetch(desc);
desc              573 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	length = le16_to_cpu(desc->rx.pkt_len);
desc              574 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	bnum_flag = le32_to_cpu(desc->rx.ipoff_bnum_pid_flag);
desc              608 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			desc = &ring->desc[ring->next_to_clean];
desc              623 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			   ((u64 *)desc)[0], ((u64 *)desc)[1]);
desc              629 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	bnum_flag = le32_to_cpu(desc->rx.ipoff_bnum_pid_flag);
desc              633 drivers/net/ethernet/hisilicon/hns/hns_enet.c 			   ((u64 *)desc)[0], ((u64 *)desc)[1]);
desc              639 drivers/net/ethernet/hisilicon/hns/hns_enet.c 	if (unlikely((!desc->rx.pkt_len) ||
desc              197 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	tx_desc = &ring->desc[tx_index];
desc              220 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c 	rx_desc	 = &ring->desc[rx_index];
desc             1032 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			      struct sk_buff *skb, struct hns3_desc *desc)
desc             1095 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.ol_type_vlan_len_msec =
desc             1097 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.type_cs_vlan_tso_len = cpu_to_le32(type_cs_vlan_tso);
desc             1098 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.paylen = cpu_to_le32(paylen);
desc             1099 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.mss = cpu_to_le16(mss);
desc             1100 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.vlan_tag = cpu_to_le16(inner_vtag);
desc             1101 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc->tx.outer_vlan_tag = cpu_to_le16(out_vtag);
desc             1111 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	struct hns3_desc *desc = &ring->desc[ring->next_to_use];
desc             1122 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ret = hns3_fill_skb_desc(ring, skb, desc);
desc             1147 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->addr = cpu_to_le64(dma);
desc             1148 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->tx.send_size = cpu_to_le16(size);
desc             1150 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->tx.bdtp_fe_sc_vld_ra_ri =
desc             1172 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->addr = cpu_to_le64(dma + HNS3_MAX_BD_SIZE * k);
desc             1173 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->tx.send_size = cpu_to_le16((k == frag_buf_num - 1) ?
desc             1178 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc->tx.bdtp_fe_sc_vld_ra_ri =
desc             1185 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc = &ring->desc[ring->next_to_use];
desc             2175 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].addr = 0;
desc             2200 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	int size = ring->desc_num * sizeof(ring->desc[0]);
desc             2204 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (ring->desc) {
desc             2206 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				  ring->desc, ring->desc_dma_addr);
desc             2207 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ring->desc = NULL;
desc             2213 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	int size = ring->desc_num * sizeof(ring->desc[0]);
desc             2215 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc = dma_alloc_coherent(ring_to_dev(ring), size,
desc             2217 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (!ring->desc)
desc             2251 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma);
desc             2281 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma);
desc             2282 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].rx.bd_base_info = 0;
desc             2288 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].addr = cpu_to_le64(ring->desc_cb[i].dma +
desc             2290 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc[i].rx.bd_base_info = 0;
desc             2436 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	struct hns3_desc *desc = &ring->desc[ring->next_to_clean];
desc             2437 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	int size = le16_to_cpu(desc->rx.size);
desc             2582 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				struct hns3_desc *desc, u32 l234info,
desc             2589 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		*vlan_tag = le16_to_cpu(desc->rx.ot_vlan_tag);
desc             2591 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			*vlan_tag = le16_to_cpu(desc->rx.vlan_tag);
desc             2611 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		*vlan_tag = le16_to_cpu(desc->rx.ot_vlan_tag);
desc             2618 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		*vlan_tag = le16_to_cpu(desc->rx.vlan_tag);
desc             2623 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			*vlan_tag = le16_to_cpu(desc->rx.ot_vlan_tag);
desc             2625 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			*vlan_tag = le16_to_cpu(desc->rx.vlan_tag);
desc             2683 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c static int hns3_add_frag(struct hns3_enet_ring *ring, struct hns3_desc *desc,
desc             2700 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		pre_desc = &ring->desc[pre_bd];
desc             2703 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		bd_base_info = le32_to_cpu(desc->rx.bd_base_info);
desc             2707 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		desc = &ring->desc[ring->next_to_clean];
desc             2709 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		bd_base_info = le32_to_cpu(desc->rx.bd_base_info);
desc             2736 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			head_skb->data_len += le16_to_cpu(desc->rx.size);
desc             2737 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			head_skb->len += le16_to_cpu(desc->rx.size);
desc             2798 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	struct hns3_desc *desc;
desc             2808 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc = &ring->desc[pre_ntc];
desc             2809 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	bd_base_info = le32_to_cpu(desc->rx.bd_base_info);
desc             2810 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	l234info = le32_to_cpu(desc->rx.l234_info);
desc             2811 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ol_info = le32_to_cpu(desc->rx.ol_info);
desc             2820 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		if (hns3_parse_vlan_tag(ring, desc, l234info, &vlan_tag))
desc             2825 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (unlikely(!desc->rx.pkt_len || (l234info & (BIT(HNS3_RXD_TRUNCAT_B) |
desc             2866 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	hns3_set_rx_skb_rss_type(ring, skb, le32_to_cpu(desc->rx.rss_hash));
desc             2875 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	struct hns3_desc *desc;
desc             2880 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	desc = &ring->desc[ring->next_to_clean];
desc             2883 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	prefetch(desc);
desc             2885 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	length = le16_to_cpu(desc->rx.size);
desc             2886 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	bd_base_info = le32_to_cpu(desc->rx.bd_base_info);
desc             2914 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 			ret = hns3_add_frag(ring, desc, &skb, false);
desc             2925 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ret = hns3_add_frag(ring, desc, &skb, true);
desc             3514 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring->desc = NULL;
desc             4089 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ring->desc[ring->next_to_clean].tx.bdtp_fe_sc_vld_ra_ri = 0;
desc              403 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 	struct hns3_desc *desc; /* dma map address space */
desc               42 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	ring->desc = dma_alloc_coherent(cmq_ring_to_dev(ring), size,
desc               44 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	if (!ring->desc)
desc               54 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	if (ring->desc) {
desc               56 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 				  ring->desc, ring->desc_dma_addr);
desc               57 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		ring->desc = NULL;
desc               81 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read)
desc               83 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	desc->flag = cpu_to_le16(HCLGE_CMD_FLAG_NO_INTR | HCLGE_CMD_FLAG_IN);
desc               85 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc->flag |= cpu_to_le16(HCLGE_CMD_FLAG_WR);
desc               87 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc->flag &= cpu_to_le16(~HCLGE_CMD_FLAG_WR);
desc               90 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c void hclge_cmd_setup_basic_desc(struct hclge_desc *desc,
desc               93 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	memset((void *)desc, 0, sizeof(struct hclge_desc));
desc               94 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	desc->opcode = cpu_to_le16(opcode);
desc               95 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	desc->flag = cpu_to_le16(HCLGE_CMD_FLAG_NO_INTR | HCLGE_CMD_FLAG_IN);
desc               98 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc->flag |= cpu_to_le16(HCLGE_CMD_FLAG_WR);
desc              226 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c static int hclge_cmd_check_retval(struct hclge_hw *hw, struct hclge_desc *desc,
desc              232 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	opcode = le16_to_cpu(desc[0].opcode);
desc              234 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc[handle] = hw->cmq.csq.desc[ntc];
desc              240 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc_ret = le16_to_cpu(desc[num - 1].retval);
desc              242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc_ret = le16_to_cpu(desc[0].retval);
desc              258 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num)
desc              291 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use];
desc              292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		*desc_to_use = desc[handle];
desc              306 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	if (HCLGE_SEND_SYNC(le16_to_cpu(desc->flag))) {
desc              320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 		retval = hclge_cmd_check_retval(hw, desc, num, ntc);
desc              340 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	struct hclge_desc desc;
desc              343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_FW_VER, 1);
desc              344 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	resp = (struct hclge_query_version_cmd *)desc.data;
desc              346 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	ret = hclge_cmd_send(hw, &desc, 1);
desc              392 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	struct hclge_desc desc;
desc              395 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_M7_COMPAT_CFG, false);
desc              397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	req = (struct hclge_firmware_compat_cmd *)desc.data;
desc              403 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc               26 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h 	struct hclge_desc *desc;
desc             1088 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
desc             1089 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h void hclge_cmd_setup_basic_desc(struct hclge_desc *desc,
desc             1091 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
desc             1097 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h 					   struct hclge_desc *desc);
desc             1099 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h 					  struct hclge_desc *desc);
desc               78 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc[HCLGE_GET_DFX_REG_TYPE_CNT];
desc               83 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_query_bd_num_cmd_send(hdev, desc);
desc               90 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	entries_per_desc = ARRAY_SIZE(desc[0].data);
desc               92 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	return (int)desc[offset / entries_per_desc].data[index];
desc              100 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc *desc = desc_src;
desc              103 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              104 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc->data[0] = cpu_to_le32(index);
desc              107 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		desc->flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              108 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		desc++;
desc              109 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              129 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc *desc;
desc              155 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc = desc_src;
desc              156 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret  = hclge_dbg_cmd_send(hdev, desc, index, bd_num, reg_msg->cmd);
desc              162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	entries_per_desc = ARRAY_SIZE(desc->data);
desc              165 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc = desc_src;
desc              168 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 			desc++;
desc              172 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 				 desc->data[i % entries_per_desc]);
desc              186 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc[2];
desc              198 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, qset_id, 1,
desc              203 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
desc              209 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, pri_id, 1, HCLGE_OPC_PRI_DFX_STS);
desc              213 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
desc              218 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, pg_id, 1, HCLGE_OPC_PG_DFX_STS);
desc              222 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
desc              227 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, port_id, 1,
desc              232 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bitmap = (struct hclge_dbg_bitmap_cmd *)&desc[0].data[1];
desc              236 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, nq_id, 1, HCLGE_OPC_SCH_NQ_CNT);
desc              240 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "sch_nq_cnt: 0x%x\n", desc[0].data[1]);
desc              242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, nq_id, 1, HCLGE_OPC_SCH_RQ_CNT);
desc              246 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "sch_rq_cnt: 0x%x\n", desc[0].data[1]);
desc              248 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, 0, 2, HCLGE_OPC_TM_INTERNAL_STS);
desc              252 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "pri_bp: 0x%x\n", desc[0].data[1]);
desc              253 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "fifo_dfx_info: 0x%x\n", desc[0].data[2]);
desc              254 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "sch_roce_fifo_afull_gap: 0x%x\n", desc[0].data[3]);
desc              255 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "tx_private_waterline: 0x%x\n", desc[0].data[4]);
desc              256 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "tm_bypass_en: 0x%x\n", desc[0].data[5]);
desc              257 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "SSU_TM_BYPASS_EN: 0x%x\n", desc[1].data[0]);
desc              258 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "SSU_RESERVE_CFG: 0x%x\n", desc[1].data[1]);
desc              260 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, port_id, 1,
desc              265 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "SCH_NIC_NUM: 0x%x\n", desc[0].data[1]);
desc              266 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "SCH_ROCE_NUM: 0x%x\n", desc[0].data[2]);
desc              268 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_dbg_cmd_send(hdev, desc, port_id, 1,
desc              273 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "TC_MAP_SEL: 0x%x\n", desc[0].data[1]);
desc              274 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "IGU_PFC_PRI_EN: 0x%x\n", desc[0].data[2]);
desc              275 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "MAC_PFC_PRI_EN: 0x%x\n", desc[0].data[3]);
desc              276 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "IGU_PRI_MAP_TC_CFG: 0x%x\n", desc[0].data[4]);
desc              277 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(dev, "IGU_TX_PRI_MAP_TC_CFG: 0x%x\n", desc[0].data[5]);
desc              321 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              330 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_ETS_TC_WEIGHT, true);
desc              332 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              338 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data;
desc              355 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              360 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              364 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pg_shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data;
desc              370 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              371 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              375 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pg_shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data;
desc              381 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              382 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              386 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	port_shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data;
desc              391 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              392 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              396 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(&hdev->pdev->dev, "PG_SCH pg_id: %u\n", desc.data[0]);
desc              399 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              400 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              404 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(&hdev->pdev->dev, "PRI_SCH pri_id: %u\n", desc.data[0]);
desc              407 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              408 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              412 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	dev_info(&hdev->pdev->dev, "QS_SCH qs_id: %u\n", desc.data[0]);
desc              421 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              422 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              426 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bp_to_qs_map_cmd = (struct hclge_bp_to_qs_map_cmd *)desc.data;
desc              450 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              454 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              455 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              459 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pg_to_pri_map = (struct hclge_pg_to_pri_link_cmd *)desc.data;
desc              467 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              472 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	qs_to_pri_map = (struct hclge_qs_to_pri_link_cmd *)desc.data;
desc              481 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              482 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              486 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	nq_to_qs_map = (struct hclge_nq_to_qs_link_cmd *)desc.data;
desc              492 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              493 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              497 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pg_weight = (struct hclge_pg_weight_cmd *)desc.data;
desc              502 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              503 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              507 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	qs_weight = (struct hclge_qs_weight_cmd *)desc.data;
desc              512 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              513 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              517 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	priority_weight = (struct hclge_priority_weight_cmd *)desc.data;
desc              522 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              523 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              527 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data;
desc              533 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data;
desc              560 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              571 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	nq_to_qs_map = (struct hclge_nq_to_qs_link_cmd *)desc.data;
desc              572 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              574 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              580 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	map = (struct hclge_qs_to_pri_link_cmd *)desc.data;
desc              581 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              583 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              589 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	tc = (struct hclge_tqp_tx_queue_tc_cmd *)desc.data;
desc              590 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              592 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              608 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	bp_to_qs_map_cmd = (struct hclge_bp_to_qs_map_cmd *)desc.data;
desc              610 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		hclge_cmd_setup_basic_desc(&desc, cmd, true);
desc              613 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              647 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, true);
desc              649 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              656 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data;
desc              667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              670 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PRI_TO_TC_MAPPING, true);
desc              672 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              679 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	pri_map = (struct hclge_qos_pri_map_cmd *)desc.data;
desc              701 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc[2];
desc              705 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              706 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              712 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	tx_buf_cmd = (struct hclge_tx_buff_alloc_cmd *)desc[0].data;
desc              718 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              719 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              724 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_buf_cmd = (struct hclge_rx_priv_buff_cmd *)desc[0].data;
desc              733 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              734 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              738 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_com_wl = (struct hclge_rx_com_wl *)desc[0].data;
desc              744 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc              745 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              749 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_packet_cnt = (struct hclge_rx_com_wl *)desc[0].data;
desc              761 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[0], cmd, true);
desc              762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              763 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[1], cmd, true);
desc              764 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 2);
desc              768 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_priv_wl = (struct hclge_rx_priv_wl_buf *)desc[0].data;
desc              774 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_priv_wl = (struct hclge_rx_priv_wl_buf *)desc[1].data;
desc              782 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[0], cmd, true);
desc              783 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              784 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[1], cmd, true);
desc              785 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 2);
desc              790 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_com_thrd = (struct hclge_rx_com_thrd *)desc[0].data;
desc              797 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	rx_com_thrd = (struct hclge_rx_com_thrd *)desc[1].data;
desc              815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              830 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		hclge_cmd_setup_basic_desc(&desc, HCLGE_MAC_ETHERTYPE_IDX_RD,
desc              832 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		req0 = (struct hclge_mac_ethertype_idx_rd_cmd *)&desc.data;
desc              835 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc[3];
desc              885 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_FD_TCAM_OP, true);
desc              886 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              887 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_OPC_FD_TCAM_OP, true);
desc              888 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              889 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc[2], HCLGE_OPC_FD_TCAM_OP, true);
desc              891 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	req1 = (struct hclge_fd_tcam_config_1_cmd *)desc[0].data;
desc              892 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	req2 = (struct hclge_fd_tcam_config_2_cmd *)desc[1].data;
desc              893 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	req3 = (struct hclge_fd_tcam_config_3_cmd *)desc[2].data;
desc              899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, desc, 3);
desc              970 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc;
desc              974 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_M7_STATS_BD, true);
desc              976 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	req = (struct hclge_get_m7_bd_cmd *)desc.data;
desc              977 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1024 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 					struct hclge_desc *desc, int *offset,
desc             1039 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 				 le32_to_cpu(desc[i].data[j]));
desc             1058 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 	struct hclge_desc desc[HCLGE_CMD_NCL_CONFIG_BD_NUM];
desc             1084 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		ret = hclge_dbg_cmd_send(hdev, desc, data0, bd_num,
desc             1089 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c 		hclge_ncl_config_data_print(hdev, desc, &offset, &length);
desc              659 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				 struct hclge_desc *desc, u32 cmd, u16 flag)
desc              665 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], cmd, true);
desc              667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].flag |= cpu_to_le16(flag);
desc              668 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		hclge_cmd_setup_basic_desc(&desc[1], cmd, true);
desc              672 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], desc_num);
desc              681 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              683 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CLEAR_MAC_TNL_INT, false);
desc              684 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[0] = cpu_to_le32(HCLGE_MAC_TNL_INT_CLR);
desc              686 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              692 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc              696 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_COMMON_ECC_INT_CFG, false);
desc              697 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              698 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_COMMON_ECC_INT_CFG, false);
desc              701 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[0] = cpu_to_le32(HCLGE_IMP_TCM_ECC_ERR_INT_EN);
desc              702 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[2] = cpu_to_le32(HCLGE_CMDQ_NIC_ECC_ERR_INT_EN |
desc              704 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[3] = cpu_to_le32(HCLGE_IMP_RD_POISON_ERR_INT_EN);
desc              705 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[4] = cpu_to_le32(HCLGE_TQP_ECC_ERR_INT_EN |
desc              707 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[5] = cpu_to_le32(HCLGE_IMP_ITCM4_ECC_ERR_INT_EN);
desc              710 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[0] = cpu_to_le32(HCLGE_IMP_TCM_ECC_ERR_INT_EN_MASK);
desc              711 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[2] = cpu_to_le32(HCLGE_CMDQ_NIC_ECC_ERR_INT_EN_MASK |
desc              713 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[3] = cpu_to_le32(HCLGE_IMP_RD_POISON_ERR_INT_EN_MASK);
desc              714 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[4] = cpu_to_le32(HCLGE_TQP_ECC_ERR_INT_EN_MASK |
desc              716 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[5] = cpu_to_le32(HCLGE_IMP_ITCM4_ECC_ERR_INT_EN_MASK);
desc              718 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 2);
desc              729 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              736 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_NCSI_INT_EN, false);
desc              738 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_NCSI_ERR_INT_EN);
desc              740 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              751 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              755 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_IGU_COMMON_INT_EN, false);
desc              757 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_IGU_ERR_INT_EN);
desc              759 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[1] = cpu_to_le32(HCLGE_IGU_ERR_INT_EN_MASK);
desc              761 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              768 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_IGU_EGU_TNL_INT_EN, false);
desc              770 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_IGU_TNL_ERR_INT_EN);
desc              772 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[1] = cpu_to_le32(HCLGE_IGU_TNL_ERR_INT_EN_MASK);
desc              774 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              790 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc              794 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], cmd, false);
desc              795 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              796 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[1], cmd, false);
desc              800 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc              802 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[1] =
desc              804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[4] = cpu_to_le32(HCLGE_PPP_PF_ERR_INT_EN);
desc              807 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[0] =
desc              809 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[1] =
desc              812 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[1].data[2] =
desc              816 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc              818 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[1] =
desc              822 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[0] =
desc              824 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[1] =
desc              828 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 2);
desc              853 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              857 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_TM_SCH_ECC_INT_EN, false);
desc              859 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_TM_SCH_ECC_ERR_INT_EN);
desc              861 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              868 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_query_error(hdev, &desc, HCLGE_TM_QCN_MEM_INT_CFG, 0);
desc              874 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_reuse_desc(&desc, false);
desc              876 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[1] = cpu_to_le32(HCLGE_TM_QCN_MEM_ERR_INT_EN);
desc              878 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              889 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              893 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_MAC_COMMON_INT_EN, false);
desc              895 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_MAC_COMMON_ERR_INT_EN);
desc              897 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[1] = cpu_to_le32(HCLGE_MAC_COMMON_ERR_INT_EN_MASK);
desc              899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              909 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc              911 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_TNL_INT_EN, false);
desc              913 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_MAC_TNL_INT_EN);
desc              915 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = 0;
desc              917 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[1] = cpu_to_le32(HCLGE_MAC_TNL_INT_EN_MASK);
desc              919 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              926 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc              932 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		hclge_cmd_setup_basic_desc(&desc[0], cmd, false);
desc              933 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              934 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		hclge_cmd_setup_basic_desc(&desc[1], cmd, false);
desc              936 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc              938 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[1] =
desc              940 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[1].data[3] =
desc              942 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[1].data[4] =
desc              946 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[0] =
desc              948 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[1] =
desc              950 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[2] =
desc              952 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[1].data[3] |=
desc              956 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		hclge_cmd_setup_basic_desc(&desc[0], cmd, false);
desc              958 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc              961 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[2] =
desc              964 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		hclge_cmd_setup_basic_desc(&desc[0], cmd, false);
desc              966 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc              969 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[2] =
desc              976 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], desc_num);
desc             1013 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc             1017 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_SSU_ECC_INT_CMD, false);
desc             1018 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             1019 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_SSU_ECC_INT_CMD, false);
desc             1021 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[0] = cpu_to_le32(HCLGE_SSU_1BIT_ECC_ERR_INT_EN);
desc             1022 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[1] =
desc             1024 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[4] = cpu_to_le32(HCLGE_SSU_BIT32_ECC_ERR_INT_EN);
desc             1027 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[0] = cpu_to_le32(HCLGE_SSU_1BIT_ECC_ERR_INT_EN_MASK);
desc             1028 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[1] = cpu_to_le32(HCLGE_SSU_MULTI_BIT_ECC_ERR_INT_EN_MASK);
desc             1029 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[2] = cpu_to_le32(HCLGE_SSU_BIT32_ECC_ERR_INT_EN_MASK);
desc             1031 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 2);
desc             1039 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_SSU_COMMON_INT_CMD, false);
desc             1040 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             1041 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_SSU_COMMON_INT_CMD, false);
desc             1045 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc             1048 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			desc[0].data[0] =
desc             1050 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[1] = cpu_to_le32(HCLGE_SSU_PORT_BASED_ERR_INT_EN);
desc             1051 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].data[2] =
desc             1055 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[0] = cpu_to_le32(HCLGE_SSU_COMMON_INT_EN_MASK |
desc             1057 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].data[1] = cpu_to_le32(HCLGE_SSU_FIFO_OVERFLOW_ERR_INT_EN_MASK);
desc             1059 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 2);
desc             1122 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				      struct hclge_desc *desc,
desc             1132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_QUERY_CLEAR_MPF_RAS_INT,
desc             1134 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
desc             1141 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[0]);
desc             1147 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[1]);
desc             1153 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if ((le32_to_cpu(desc[0].data[2])) & BIT(0))
desc             1156 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[3]);
desc             1162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[4]);
desc             1169 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[2];
desc             1190 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[3];
desc             1198 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[4];
desc             1212 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[5];
desc             1233 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[6];
desc             1241 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[7];
desc             1255 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[9];
desc             1263 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_reuse_desc(&desc[0], false);
desc             1264 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
desc             1280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				     struct hclge_desc *desc,
desc             1290 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_QUERY_CLEAR_PF_RAS_INT,
desc             1292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
desc             1299 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[0]);
desc             1305 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[1]);
desc             1311 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[2]);
desc             1318 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[1];
desc             1326 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[3];
desc             1336 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_reuse_desc(&desc[0], false);
desc             1337 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], num);
desc             1347 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc *desc;
desc             1356 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL);
desc             1357 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (!desc)
desc             1361 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_handle_mpf_ras_error(hdev, desc, mpf_bd_num);
desc             1363 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		kfree(desc);
desc             1366 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	memset(desc, 0, bd_num * sizeof(struct hclge_desc));
desc             1369 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_handle_pf_ras_error(hdev, desc, pf_bd_num);
desc             1370 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	kfree(desc);
desc             1378 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[3];
desc             1381 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_QUERY_ROCEE_AXI_RAS_INFO_CMD,
desc             1383 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_QUERY_ROCEE_AXI_RAS_INFO_CMD,
desc             1385 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[2], HCLGE_QUERY_ROCEE_AXI_RAS_INFO_CMD,
desc             1387 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             1388 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             1390 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 3);
desc             1397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[0]), le32_to_cpu(desc[0].data[1]),
desc             1398 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[2]), le32_to_cpu(desc[0].data[3]),
desc             1399 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[4]), le32_to_cpu(desc[0].data[5]));
desc             1401 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[1].data[0]), le32_to_cpu(desc[1].data[1]),
desc             1402 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[1].data[2]), le32_to_cpu(desc[1].data[3]),
desc             1403 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[1].data[4]), le32_to_cpu(desc[1].data[5]));
desc             1405 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[2].data[0]), le32_to_cpu(desc[2].data[1]),
desc             1406 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[2].data[2]), le32_to_cpu(desc[2].data[3]));
desc             1414 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc             1417 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_query_error(hdev, &desc[0],
desc             1426 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[0]), le32_to_cpu(desc[0].data[1]),
desc             1427 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[2]), le32_to_cpu(desc[0].data[3]),
desc             1428 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[0].data[4]), le32_to_cpu(desc[0].data[5]));
desc             1429 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	dev_err(dev, "ECC2: %08X %08X %08X\n", le32_to_cpu(desc[1].data[0]),
desc             1430 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		le32_to_cpu(desc[1].data[1]), le32_to_cpu(desc[1].data[2]));
desc             1438 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc             1442 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_query_error(hdev, &desc[0], HCLGE_ROCEE_PF_RAS_INT_CMD,
desc             1450 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (le32_to_cpu(desc[0].data[0]) & HCLGE_ROCEE_OVF_ERR_INT_MASK) {
desc             1456 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			  le32_to_cpu(desc[0].data[0]);
desc             1461 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 					le32_to_cpu(desc[0].data[0]));
desc             1468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (le32_to_cpu(desc[0].data[1]) & HCLGE_ROCEE_OVF_ERR_INT_MASK) {
desc             1470 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			le32_to_cpu(desc[0].data[1]));
desc             1473 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (le32_to_cpu(desc[0].data[2]) & HCLGE_ROCEE_OVF_ERR_INT_MASK) {
desc             1475 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 			le32_to_cpu(desc[0].data[2]));
desc             1486 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc[2];
desc             1491 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_query_error(hdev, &desc[0],
desc             1499 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[0]);
desc             1534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_reuse_desc(&desc[0], false);
desc             1535 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 1);
desc             1548 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc             1554 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_CONFIG_ROCEE_RAS_INT_EN, false);
desc             1557 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[0] = cpu_to_le32(HCLGE_ROCEE_RAS_NFE_INT_EN);
desc             1558 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc.data[1] = cpu_to_le32(HCLGE_ROCEE_RAS_CE_INT_EN);
desc             1562 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[2] = cpu_to_le32(HCLGE_ROCEE_RAS_NFE_INT_EN_MASK);
desc             1563 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc.data[3] = cpu_to_le32(HCLGE_ROCEE_RAS_CE_INT_EN_MASK);
desc             1565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1681 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				     struct hclge_desc *desc, bool is_mpf,
desc             1685 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].opcode =
desc             1688 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 		desc[0].opcode = cpu_to_le16(HCLGE_QUERY_CLEAR_ALL_PF_MSIX_INT);
desc             1690 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc[0].flag = cpu_to_le16(HCLGE_CMD_FLAG_NO_INTR | HCLGE_CMD_FLAG_IN);
desc             1692 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	return hclge_cmd_send(&hdev->hw, &desc[0], bd_num);
desc             1708 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc desc;
desc             1711 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PPU_PF_OTHER_INT_DFX, true);
desc             1712 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1716 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	req = (struct hclge_query_ppu_pf_other_int_dfx_cmd *)desc.data;
desc             1780 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				       struct hclge_desc *desc,
desc             1789 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_QUERY_CLEAR_ALL_MPF_MSIX_INT,
desc             1791 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], mpf_bd_num);
desc             1798 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[1];
desc             1806 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[5];
desc             1814 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_clear_hw_msix_error(hdev, desc, true, mpf_bd_num);
desc             1831 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 				      struct hclge_desc *desc,
desc             1841 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_QUERY_CLEAR_ALL_PF_MSIX_INT,
desc             1843 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], pf_bd_num);
desc             1850 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc[0].data[0]) & HCLGE_SSU_PORT_INT_MSIX_MASK;
desc             1857 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[2];
desc             1865 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc_data = (__le32 *)&desc[3];
desc             1877 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_clear_hw_msix_error(hdev, desc, false, pf_bd_num);
desc             1890 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc *desc;
desc             1900 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL);
desc             1901 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (!desc) {
desc             1906 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_handle_mpf_msix_error(hdev, desc, mpf_bd_num,
desc             1911 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	memset(desc, 0, bd_num * sizeof(struct hclge_desc));
desc             1912 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_handle_pf_msix_error(hdev, desc, pf_bd_num, reset_requests);
desc             1917 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_MAC_TNL_INT,
desc             1919 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_cmd_send(&hdev->hw, &desc[0], 1);
desc             1925 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	status = le32_to_cpu(desc->data[0]);
desc             1941 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	kfree(desc);
desc             1967 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	struct hclge_desc *desc;
desc             1980 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	desc = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL);
desc             1981 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	if (!desc)
desc             1985 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	memset(&desc[0].data[0], 0xFF, mpf_bd_num * sizeof(struct hclge_desc) -
desc             1987 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_clear_hw_msix_error(hdev, desc, true, mpf_bd_num);
desc             1994 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	memset(&desc[0].data[0], 0xFF, pf_bd_num * sizeof(struct hclge_desc) -
desc             1996 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	ret = hclge_clear_hw_msix_error(hdev, desc, false, pf_bd_num);
desc             2010 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c 	kfree(desc);
desc              419 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[HCLGE_MAC_CMD_NUM];
desc              424 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_STATS_MAC, true);
desc              425 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, HCLGE_MAC_CMD_NUM);
desc              436 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i].data[0]);
desc              439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i]);
desc              456 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc *desc;
desc              464 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC);
desc              465 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!desc)
desc              468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_STATS_MAC_ALL, true);
desc              469 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, desc_num);
desc              471 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		kfree(desc);
desc              478 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i].data[0]);
desc              481 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i]);
desc              492 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	kfree(desc);
desc              499 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc              504 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_MAC_REG_NUM, true);
desc              505 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              509 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc_data = (__le32 *)(&desc.data[0]);
desc              542 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[1];
desc              550 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_RX_STATUS,
desc              553 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff));
desc              554 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              562 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			le32_to_cpu(desc[0].data[1]);
desc              569 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[0],
desc              573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff));
desc              574 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc              582 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			le32_to_cpu(desc[0].data[1]);
desc              665 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		snprintf(buff, ETH_GSTRING_LEN, "%s", strs[i].desc);
desc              841 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc              845 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_FUNC_STATUS, true);
desc              846 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_func_status_cmd *)desc.data;
desc              849 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              870 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc              873 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_PF_RSRC, true);
desc              874 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_pf_res_cmd *)desc.data;
desc             1197 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *desc)
desc             1204 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_cfg_param_cmd *)desc[0].data;
desc             1243 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_cfg_param_cmd *)desc[1].data;
desc             1262 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[HCLGE_PF_CFG_DESC_NUM];
desc             1270 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		req = (struct hclge_cfg_param_cmd *)desc[i].data;
desc             1271 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_GET_CFG_PARAM,
desc             1281 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, HCLGE_PF_CFG_DESC_NUM);
desc             1287 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_parse_cfg(hcfg, desc);
desc             1405 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             1408 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TSO_GENERIC_CONFIG, false);
desc             1410 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_cfg_tso_status_cmd *)desc.data;
desc             1422 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1428 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             1434 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_GRO_GENERIC_CONFIG, false);
desc             1435 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_cfg_gro_status_cmd *)desc.data;
desc             1439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1480 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             1483 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_SET_TQP_MAP, false);
desc             1485 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_tqp_map_cmd *)desc.data;
desc             1493 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             1683 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             1687 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_tx_buff_alloc_cmd *)desc.data;
desc             1689 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TX_BUFF_ALLOC, 0);
desc             1698 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2068 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2072 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RX_PRIV_BUFF_ALLOC, false);
desc             2073 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rx_priv_buff_cmd *)desc.data;
desc             2089 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2102 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[2];
desc             2107 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_RX_PRIV_WL_ALLOC,
desc             2109 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		req = (struct hclge_rx_priv_wl_buf *)desc[i].data;
desc             2113 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[i].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             2115 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[i].flag &= ~cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             2133 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, 2);
desc             2146 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[2];
desc             2152 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[i],
desc             2154 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		req = (struct hclge_rx_com_thrd *)&desc[i].data;
desc             2158 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[i].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             2160 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[i].flag &= ~cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             2177 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, 2);
desc             2189 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2192 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RX_COM_WL_ALLOC, false);
desc             2194 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rx_com_wl *)desc.data;
desc             2201 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2357 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2360 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_config_mac_speed_dup_cmd *)desc.data;
desc             2362 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_SPEED_DUP, false);
desc             2408 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2450 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2454 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_AN_MODE, false);
desc             2456 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_config_auto_neg_cmd *)desc.data;
desc             2461 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2527 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2530 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_FEC_MODE, false);
desc             2532 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_config_fec_cmd *)desc.data;
desc             2542 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2671 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_LINK_STATUS, true);
desc             2672 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2679 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_link_status_cmd *)desc.data;
desc             2762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2765 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_GET_SFP_INFO, true);
desc             2766 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	resp = (struct hclge_sfp_info_cmd *)desc.data;
desc             2767 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             2785 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             2788 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_GET_SFP_INFO, true);
desc             2789 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	resp = (struct hclge_sfp_info_cmd *)desc.data;
desc             2793 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             3222 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             3224 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_vf_rst_cmd *)desc.data;
desc             3225 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_GBL_RST_STATUS, false);
desc             3231 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc             3271 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             3275 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_pf_rst_sync_cmd *)desc.data;
desc             3276 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_VF_RST_RDY, true);
desc             3279 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             3294 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_reuse_desc(&desc, true);
desc             3335 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             3336 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_reset_cmd *req = (struct hclge_reset_cmd *)desc.data;
desc             3339 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_RST_TRIGGER, false);
desc             3343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             3591 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             3594 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_pf_rst_done_cmd *)desc.data;
desc             3595 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PF_RST_DONE, false);
desc             3598 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4014 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4020 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rss_config_cmd *)desc.data;
desc             4023 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RSS_GENERIC_CONFIG,
desc             4035 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4049 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4053 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rss_indirection_table_cmd *)desc.data;
desc             4057 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			(&desc, HCLGE_OPC_RSS_INDIR_TABLE, false);
desc             4067 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4082 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4086 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RSS_TC_MODE, false);
desc             4087 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rss_tc_mode_cmd *)desc.data;
desc             4101 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4128 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4131 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RSS_INPUT_TUPLE, false);
desc             4133 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rss_input_tuple_cmd *)desc.data;
desc             4145 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4257 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4265 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_rss_input_tuple_cmd *)desc.data;
desc             4266 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RSS_INPUT_TUPLE, false);
desc             4311 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4495 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4497 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		(struct hclge_ctrl_vector_chain_cmd *)desc.data;
desc             4504 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, op, false);
desc             4525 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			hclge_cmd_setup_basic_desc(&desc,
desc             4544 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4602 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4605 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_PROMISC_MODE, false);
desc             4607 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_promisc_cfg_cmd *)desc.data;
desc             4618 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4665 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4668 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_FD_MODE_CTRL, true);
desc             4670 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_get_fd_mode_cmd *)desc.data;
desc             4672 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4690 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4693 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_FD_GET_ALLOCATION, true);
desc             4695 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_get_fd_allocation_cmd *)desc.data;
desc             4697 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4716 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4719 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_FD_KEY_CONFIG, false);
desc             4721 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_set_fd_key_config_cmd *)desc.data;
desc             4732 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             4810 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[3];
desc             4813 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_FD_TCAM_OP, false);
desc             4814 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             4815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_OPC_FD_TCAM_OP, false);
desc             4816 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             4817 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[2], HCLGE_OPC_FD_TCAM_OP, false);
desc             4819 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req1 = (struct hclge_fd_tcam_config_1_cmd *)desc[0].data;
desc             4820 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req2 = (struct hclge_fd_tcam_config_2_cmd *)desc[1].data;
desc             4821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req3 = (struct hclge_fd_tcam_config_3_cmd *)desc[2].data;
desc             4837 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, 3);
desc             4850 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             4854 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_FD_AD_OP, false);
desc             4856 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_fd_ad_config_cmd *)desc.data;
desc             4878 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6232 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6234 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		(struct hclge_config_mac_mode_cmd *)desc.data;
desc             6238 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_MAC_MODE, false);
desc             6255 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6265 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6270 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_mac_vlan_switch_cmd *)desc.data;
desc             6273 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_VLAN_SWITCH_PARAM,
desc             6278 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6286 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_reuse_desc(&desc, false);
desc             6290 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6363 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_config_mac_mode_cmd *)&desc.data[0];
desc             6365 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_MAC_MODE, true);
desc             6366 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6384 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_reuse_desc(&desc, false);
desc             6385 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6399 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6403 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_serdes_lb_cmd *)desc.data;
desc             6404 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_SERDES_LOOPBACK, false);
desc             6426 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6435 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_SERDES_LOOPBACK,
desc             6437 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6536 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		(struct hclge_cfg_com_tqp_queue_cmd *)desc.data;
desc             6541 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_COM_TQP_QUEUE, false);
desc             6547 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6799 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_update_desc_vfid(struct hclge_desc *desc, int vfid, bool clr)
desc             6813 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[1].data[word_num] &= cpu_to_le32(~(1 << bit_num));
desc             6815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[1].data[word_num] |= cpu_to_le32(1 << bit_num);
desc             6820 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[2].data[word_num] &= cpu_to_le32(~(1 << bit_num));
desc             6822 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc[2].data[word_num] |= cpu_to_le32(1 << bit_num);
desc             6828 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_is_all_function_id_zero(struct hclge_desc *desc)
desc             6836 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			if (desc[i].data[j])
desc             6864 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             6869 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_VLAN_REMOVE, false);
desc             6871 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	memcpy(desc.data, req, sizeof(struct hclge_mac_vlan_tbl_entry_cmd));
desc             6873 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6880 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	resp_code = (le32_to_cpu(desc.data[0]) >> 8) & 0xff;
desc             6881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	retval = le16_to_cpu(desc.retval);
desc             6889 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				     struct hclge_desc *desc,
desc             6897 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_MAC_VLAN_ADD, true);
desc             6899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             6900 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memcpy(desc[0].data,
desc             6903 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[1],
desc             6906 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             6907 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc[2],
desc             6910 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, desc, 3);
desc             6912 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memcpy(desc[0].data,
desc             6915 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, desc, 1);
desc             6923 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	resp_code = (le32_to_cpu(desc[0].data[0]) >> 8) & 0xff;
desc             6924 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	retval = le16_to_cpu(desc[0].retval);
desc             6941 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		struct hclge_desc desc;
desc             6943 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(&desc,
desc             6946 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memcpy(desc.data, req,
desc             6948 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             6949 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		resp_code = (le32_to_cpu(desc.data[0]) >> 8) & 0xff;
desc             6950 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		retval = le16_to_cpu(desc.retval);
desc             7031 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7034 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_umv_spc_alc_cmd *)desc.data;
desc             7035 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_VLAN_ALLOCATE, false);
desc             7041 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7050 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		*allocated_size = le32_to_cpu(desc.data[1]);
desc             7117 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7146 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_lookup_mac_vlan_tbl(vport, &req, &desc, false);
desc             7222 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[3];
desc             7235 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_lookup_mac_vlan_tbl(vport, &req, desc, true);
desc             7238 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memset(desc[0].data, 0, sizeof(desc[0].data));
desc             7239 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memset(desc[1].data, 0, sizeof(desc[0].data));
desc             7240 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		memset(desc[2].data, 0, sizeof(desc[0].data));
desc             7242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_update_desc_vfid(desc, vport->vport_id, false);
desc             7245 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_add_mac_vlan_tbl(vport, &req, desc);
desc             7267 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[3];
desc             7280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_lookup_mac_vlan_tbl(vport, &req, desc, true);
desc             7283 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		status = hclge_update_desc_vfid(desc, vport->vport_id, true);
desc             7287 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (hclge_is_all_function_id_zero(desc))
desc             7292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			status = hclge_add_mac_vlan_tbl(vport, &req, desc);
desc             7449 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7454 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_ETHTYPE_ADD, false);
desc             7455 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	memcpy(desc.data, req, sizeof(struct hclge_mac_mgr_tbl_entry_cmd));
desc             7457 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7465 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	resp_code = (le32_to_cpu(desc.data[0]) >> 8) & 0xff;
desc             7466 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	retval = le16_to_cpu(desc.retval);
desc             7563 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7566 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_VLAN_FILTER_CTRL, false);
desc             7568 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_vlan_filter_ctrl_cmd *)desc.data;
desc             7573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7621 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[2];
desc             7632 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0],
desc             7634 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[1],
desc             7637 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             7642 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req0 = (struct hclge_vlan_filter_vf_cfg_cmd *)desc[0].data;
desc             7643 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req1 = (struct hclge_vlan_filter_vf_cfg_cmd *)desc[1].data;
desc             7653 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, 2);
desc             7701 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7707 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_VLAN_FILTER_PF_CFG, false);
desc             7713 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_vlan_filter_pf_cfg_cmd *)desc.data;
desc             7718 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7779 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7783 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_VLAN_PORT_TX_CFG, false);
desc             7785 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_vport_vtag_tx_cfg_cmd *)desc.data;
desc             7808 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7822 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7826 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_VLAN_PORT_RX_CFG, false);
desc             7828 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_vport_vtag_rx_cfg_cmd *)desc.data;
desc             7844 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7903 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             7906 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_VLAN_TYPE_ID, false);
desc             7907 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	rx_req = (struct hclge_rx_vlan_type_cfg_cmd *)desc.data;
desc             7917 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             7925 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MAC_VLAN_INSERT, false);
desc             7927 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	tx_req = (struct hclge_tx_vlan_type_cfg_cmd *)desc.data;
desc             7931 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             8389 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             8391 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_MAX_FRM_SIZE, false);
desc             8393 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_config_max_frm_size_cmd *)desc.data;
desc             8397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc             8463 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             8466 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RESET_TQP_QUEUE, false);
desc             8468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_reset_tqp_queue_cmd *)desc.data;
desc             8473 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             8486 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             8489 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_RESET_TQP_QUEUE, true);
desc             8491 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_reset_tqp_queue_cmd *)desc.data;
desc             8494 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             9624 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             9628 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_REG_NUM, true);
desc             9629 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc             9636 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	*regs_num_32_bit = le32_to_cpu(desc.data[0]);
desc             9637 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	*regs_num_64_bit = le32_to_cpu(desc.data[1]);
desc             9652 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc *desc;
desc             9666 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL);
desc             9667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!desc)
desc             9670 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_32_BIT_REG, true);
desc             9671 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, cmd_num);
desc             9675 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		kfree(desc);
desc             9681 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le32 *)(&desc[i].data[0]);
desc             9684 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le32 *)(&desc[i]);
desc             9696 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	kfree(desc);
desc             9706 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc *desc;
desc             9720 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL);
desc             9721 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (!desc)
desc             9724 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_64_BIT_REG, true);
desc             9725 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, cmd_num);
desc             9729 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		kfree(desc);
desc             9735 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i].data[0]);
desc             9738 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 			desc_data = (__le64 *)(&desc[i]);
desc             9750 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	kfree(desc);
desc             9762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc)
desc             9765 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_DFX_BD_NUM, true);
desc             9766 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[0].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             9767 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[1], HCLGE_OPC_DFX_BD_NUM, true);
desc             9768 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[1].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             9769 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[2], HCLGE_OPC_DFX_BD_NUM, true);
desc             9770 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc[2].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             9771 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc[3], HCLGE_OPC_DFX_BD_NUM, true);
desc             9773 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	return hclge_cmd_send(&hdev->hw, desc, 4);
desc             9783 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc[HCLGE_DFX_REG_BD_NUM];
desc             9786 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_query_bd_num_cmd_send(hdev, desc);
desc             9793 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	entries_per_desc = ARRAY_SIZE(desc[0].data);
desc             9798 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]);
desc             9808 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc *desc = desc_src;
desc             9811 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(desc, cmd, true);
desc             9813 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc->flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc             9814 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		desc++;
desc             9815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		hclge_cmd_setup_basic_desc(desc, cmd, true);
desc             9818 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	desc = desc_src;
desc             9819 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, desc, bd_num);
desc             9832 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc *desc = desc_src;
desc             9835 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	entries_per_desc = ARRAY_SIZE(desc->data);
desc             9841 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		*reg++ = le32_to_cpu(desc[desc_index].data[index]);
desc             10068 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	struct hclge_desc desc;
desc             10071 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_LED_STATUS_CFG, false);
desc             10073 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	req = (struct hclge_set_led_state_cmd *)desc.data;
desc             10077 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              363 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h 	char desc[ETH_GSTRING_LEN];
desc              994 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h 				struct hclge_desc *desc);
desc               23 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	struct hclge_desc desc;
desc               25 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	resp_pf_to_vf = (struct hclge_mbx_pf_to_vf_cmd *)desc.data;
desc               38 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	hclge_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_PF_TO_VF, false);
desc               51 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc               65 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	struct hclge_desc desc;
desc               67 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	resp_pf_to_vf = (struct hclge_mbx_pf_to_vf_cmd *)desc.data;
desc               69 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	hclge_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_PF_TO_VF, false);
desc               77 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	status = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              599 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 	struct hclge_desc *desc;
desc              611 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		desc = &crq->desc[crq->next_to_use];
desc              612 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		req = (struct hclge_mbx_vf_to_pf_cmd *)desc->data;
desc              614 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		flag = le16_to_cpu(crq->desc[crq->next_to_use].flag);
desc              621 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 			crq->desc[crq->next_to_use].flag = 0;
desc              761 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		crq->desc[crq->next_to_use].flag = 0;
desc               47 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	struct hclge_desc desc;
desc               53 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, false);
desc               55 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data;
desc               70 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc               85 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	struct hclge_desc desc;
desc               91 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, true);
desc               93 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	mdio_cmd = (struct hclge_mdio_cfg_cmd *)desc.data;
desc              107 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              118 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc[HCLGE_TM_PFC_PKT_GET_CMD_NUM];
desc              126 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		hclge_cmd_setup_basic_desc(&desc[i], opcode, true);
desc              127 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc[i].flag |= cpu_to_le16(HCLGE_CMD_FLAG_NEXT);
desc              130 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc[i], opcode, true);
desc              132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	ret = hclge_cmd_send(&hdev->hw, desc, HCLGE_TM_PFC_PKT_GET_CMD_NUM);
desc              138 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 				(struct hclge_pfc_stats_cmd *)desc[i].data;
desc              163 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              165 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PAUSE_EN, false);
desc              167 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	desc.data[0] = cpu_to_le32((tx ? HCLGE_TX_MAC_PAUSE_EN_MSK : 0) |
desc              170 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              176 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              177 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_pfc_en_cmd *pfc = (struct hclge_pfc_en_cmd *)desc.data;
desc              179 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_PFC_PAUSE_EN, false);
desc              184 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              191 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              193 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data;
desc              195 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, false);
desc              202 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              208 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              213 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data;
desc              215 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, true);
desc              217 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	ret = hclge_cmd_send(&hdev->hw, &desc, 1);
desc              252 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              253 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	u8 *pri = (u8 *)desc.data;
desc              257 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PRI_TO_TC_MAPPING, false);
desc              265 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              272 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              274 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PG_TO_PRI_LINK, false);
desc              276 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	map = (struct hclge_pg_to_pri_link_cmd *)desc.data;
desc              281 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              288 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              290 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_QS_TO_PRI_LINK, false);
desc              292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	map = (struct hclge_qs_to_pri_link_cmd *)desc.data;
desc              298 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              305 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              307 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_NQ_TO_QS_LINK, false);
desc              309 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	map = (struct hclge_nq_to_qs_link_cmd *)desc.data;
desc              314 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              321 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              323 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PG_WEIGHT, false);
desc              325 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	weight = (struct hclge_pg_weight_cmd *)desc.data;
desc              330 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              337 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              339 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PRI_WEIGHT, false);
desc              341 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	weight = (struct hclge_priority_weight_cmd *)desc.data;
desc              346 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              353 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              355 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_QS_WEIGHT, false);
desc              357 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	weight = (struct hclge_qs_weight_cmd *)desc.data;
desc              362 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              385 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              389 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, opcode, false);
desc              391 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data;
desc              397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              403 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              414 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PORT_SHAPPING, false);
desc              415 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data;
desc              423 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              432 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              437 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, opcode, false);
desc              439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data;
desc              445 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              450 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              452 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PG_SCH_MODE_CFG, false);
desc              455 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = cpu_to_le32(HCLGE_TM_TX_SCHD_DWRR_MSK);
desc              457 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = 0;
desc              459 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	desc.data[0] = cpu_to_le32(pg_id);
desc              461 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              466 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              468 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PRI_SCH_MODE_CFG, false);
desc              471 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = cpu_to_le32(HCLGE_TM_TX_SCHD_DWRR_MSK);
desc              473 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = 0;
desc              475 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	desc.data[0] = cpu_to_le32(pri_id);
desc              477 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              482 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              484 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_QS_SCH_MODE_CFG, false);
desc              487 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = cpu_to_le32(HCLGE_TM_TX_SCHD_DWRR_MSK);
desc              489 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 		desc.data[1] = 0;
desc              491 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	desc.data[0] = cpu_to_le32(qs_id);
desc              493 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              500 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              502 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_BP_TO_QSET_MAPPING,
desc              505 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	bp_to_qs_map_cmd = (struct hclge_bp_to_qs_map_cmd *)desc.data;
desc              511 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              979 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	struct hclge_desc desc;
desc              982 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_ETS_TC_WEIGHT, false);
desc              983 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data;
desc             1000 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c 	return hclge_cmd_send(&hdev->hw, &desc, 1);
desc              131 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	ring->desc = dma_alloc_coherent(cmq_ring_to_dev(ring), size,
desc              133 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	if (!ring->desc)
desc              143 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	if (ring->desc) {
desc              145 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 				  ring->desc, ring->desc_dma_addr);
desc              146 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		ring->desc = NULL;
desc              169 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c void hclgevf_cmd_setup_basic_desc(struct hclgevf_desc *desc,
desc              172 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	memset(desc, 0, sizeof(struct hclgevf_desc));
desc              173 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	desc->opcode = cpu_to_le16(opcode);
desc              174 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	desc->flag = cpu_to_le16(HCLGEVF_CMD_FLAG_NO_INTR |
desc              177 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		desc->flag |= cpu_to_le16(HCLGEVF_CMD_FLAG_WR);
desc              179 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		desc->flag &= cpu_to_le16(~HCLGEVF_CMD_FLAG_WR);
desc              222 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclgevf_desc *desc, int num)
desc              256 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	opcode = le16_to_cpu(desc[0].opcode);
desc              258 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use];
desc              259 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 		*desc_to_use = desc[handle];
desc              273 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	if (HCLGEVF_SEND_SYNC(le16_to_cpu(desc->flag))) {
desc              288 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 			desc_to_use = &hw->cmq.csq.desc[ntc];
desc              289 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 			desc[handle] = *desc_to_use;
desc              292 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 				retval = le16_to_cpu(desc[handle].retval);
desc              294 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 				retval = le16_to_cpu(desc[0].retval);
desc              323 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	struct hclgevf_desc desc;
desc              326 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	resp = (struct hclgevf_query_version_cmd *)desc.data;
desc              328 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_QUERY_FW_VER, 1);
desc              329 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c 	status = hclgevf_cmd_send(hw, &desc, 1);
desc               33 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h 	struct hclgevf_desc *desc;
desc              280 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclgevf_desc *desc, int num);
desc              281 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h void hclgevf_cmd_setup_basic_desc(struct hclgevf_desc *desc,
desc              102 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              109 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hclgevf_cmd_setup_basic_desc(&desc,
desc              113 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		desc.data[0] = cpu_to_le32(tqp->index & 0x1ff);
desc              114 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              122 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			le32_to_cpu(desc.data[1]);
desc              124 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_QUERY_TX_STATUS,
desc              127 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		desc.data[0] = cpu_to_le32(tqp->index & 0x1ff);
desc              128 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              136 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			le32_to_cpu(desc.data[1]);
desc              554 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              560 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_rss_config_cmd *)desc.data;
desc              563 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hclgevf_cmd_setup_basic_desc(&desc,
desc              577 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              603 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              607 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_rss_indirection_table_cmd *)desc.data;
desc              610 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_RSS_INDIR_TABLE,
desc              618 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 		status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              636 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              641 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_rss_tc_mode_cmd *)desc.data;
desc              652 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_RSS_TC_MODE, false);
desc              661 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              828 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              839 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_rss_input_tuple_cmd *)desc.data;
desc              840 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_RSS_INPUT_TUPLE, false);
desc              885 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              961 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc              964 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_RSS_INPUT_TUPLE, false);
desc              966 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_rss_input_tuple_cmd *)desc.data;
desc              977 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              999 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc             1004 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclge_mbx_vf_to_pf_cmd *)desc.data;
desc             1013 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			hclgevf_cmd_setup_basic_desc(&desc,
desc             1034 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc             1042 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 			hclgevf_cmd_setup_basic_desc(&desc,
desc             1119 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc             1122 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclge_mbx_vf_to_pf_cmd *)desc.data;
desc             1124 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_VF_TO_PF, false);
desc             1128 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc             1145 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc             1148 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_cfg_com_tqp_queue_cmd *)desc.data;
desc             1150 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_CFG_COM_TQP_QUEUE,
desc             1157 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc             2048 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc             2054 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_GRO_GENERIC_CONFIG,
desc             2056 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_cfg_gro_status_cmd *)desc.data;
desc             2060 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc             2533 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	struct hclgevf_desc desc;
desc             2536 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_QUERY_VF_RSRC, true);
desc             2537 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	ret = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc             2544 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	req = (struct hclgevf_query_res_cmd *)desc.data;
desc               87 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 	struct hclgevf_desc desc;
desc               90 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 	req = (struct hclge_mbx_vf_to_pf_cmd *)desc.data;
desc              100 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 	hclgevf_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_VF_TO_PF, false);
desc              112 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              126 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		status = hclgevf_cmd_send(&hdev->hw, &desc, 1);
desc              150 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 	struct hclgevf_desc *desc;
desc              165 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		desc = &crq->desc[crq->next_to_use];
desc              166 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		req = (struct hclge_mbx_pf_to_vf_cmd *)desc->data;
desc              168 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		flag = le16_to_cpu(crq->desc[crq->next_to_use].flag);
desc              175 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 			crq->desc[crq->next_to_use].flag = 0;
desc              242 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c 		crq->desc[crq->next_to_use].flag = 0;
desc              213 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c 		cell->desc = HINIC_API_CMD_DESC_SET(SGE_DATA, API_TYPE)   |
desc              223 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c 	cell->desc |= HINIC_API_CMD_DESC_SET(dest, DEST)        |
desc              226 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c 	cell->desc |= HINIC_API_CMD_DESC_SET(xor_chksum_set(&cell->desc),
desc              230 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c 	cell->desc = cpu_to_be64(cell->desc);
desc              145 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h 	u64 desc;
desc              232 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c 		aeqe_desc = be32_to_cpu(aeqe_curr->desc);
desc              538 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c 		aeqe->desc = cpu_to_be32(init_val);
desc              164 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h 	u32     desc;
desc              220 drivers/net/ethernet/ibm/ibmveth.c 		union ibmveth_buf_desc desc;
desc              253 drivers/net/ethernet/ibm/ibmveth.c 		desc.fields.flags_len = IBMVETH_BUF_VALID | pool->buff_size;
desc              254 drivers/net/ethernet/ibm/ibmveth.c 		desc.fields.address = dma_addr;
desc              263 drivers/net/ethernet/ibm/ibmveth.c 						   desc.desc);
desc              414 drivers/net/ethernet/ibm/ibmveth.c 	union ibmveth_buf_desc desc;
desc              427 drivers/net/ethernet/ibm/ibmveth.c 	desc.fields.flags_len = IBMVETH_BUF_VALID |
desc              429 drivers/net/ethernet/ibm/ibmveth.c 	desc.fields.address = adapter->rx_buff_pool[pool].dma_addr[index];
desc              431 drivers/net/ethernet/ibm/ibmveth.c 	lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc);
desc              471 drivers/net/ethernet/ibm/ibmveth.c 				    adapter->buffer_list_dma, rxq_desc.desc,
desc              577 drivers/net/ethernet/ibm/ibmveth.c 				     rxq_desc.desc,
desc              998 drivers/net/ethernet/ibm/ibmveth.c 					     descs[0].desc, descs[1].desc,
desc              999 drivers/net/ethernet/ibm/ibmveth.c 					     descs[2].desc, descs[3].desc,
desc             1000 drivers/net/ethernet/ibm/ibmveth.c 					     descs[4].desc, descs[5].desc,
desc              191 drivers/net/ethernet/ibm/ibmveth.h     u64 desc;
desc              146 drivers/net/ethernet/intel/e1000/e1000.h 	void *desc;
desc              167 drivers/net/ethernet/intel/e1000/e1000.h 	void *desc;
desc              197 drivers/net/ethernet/intel/e1000/e1000.h 	(&(((union e1000_rx_desc_extended *)((R).desc))[i]))
desc              198 drivers/net/ethernet/intel/e1000/e1000.h #define E1000_GET_DESC(R, i, type)	(&(((struct type *)((R).desc))[i]))
desc              932 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (txdr->desc && txdr->buffer_info) {
desc              943 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (rxdr->desc && rxdr->buffer_info) {
desc              954 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (txdr->desc) {
desc              955 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		dma_free_coherent(&pdev->dev, txdr->size, txdr->desc,
desc              957 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		txdr->desc = NULL;
desc              959 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (rxdr->desc) {
desc              960 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		dma_free_coherent(&pdev->dev, rxdr->size, rxdr->desc,
desc              962 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		rxdr->desc = NULL;
desc              994 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma,
desc              996 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (!txdr->desc) {
desc             1052 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	rxdr->desc = dma_alloc_coherent(&pdev->dev, rxdr->size, &rxdr->dma,
desc             1054 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (!rxdr->desc) {
desc             1508 drivers/net/ethernet/intel/e1000/e1000_main.c 	txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma,
desc             1510 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (!txdr->desc) {
desc             1517 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (!e1000_check_64k_bound(adapter, txdr->desc, txdr->size)) {
desc             1518 drivers/net/ethernet/intel/e1000/e1000_main.c 		void *olddesc = txdr->desc;
desc             1521 drivers/net/ethernet/intel/e1000/e1000_main.c 		      txdr->size, txdr->desc);
desc             1523 drivers/net/ethernet/intel/e1000/e1000_main.c 		txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size,
desc             1526 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (!txdr->desc) {
desc             1532 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (!e1000_check_64k_bound(adapter, txdr->desc, txdr->size)) {
desc             1534 drivers/net/ethernet/intel/e1000/e1000_main.c 			dma_free_coherent(&pdev->dev, txdr->size, txdr->desc,
desc             1548 drivers/net/ethernet/intel/e1000/e1000_main.c 	memset(txdr->desc, 0, txdr->size);
desc             1700 drivers/net/ethernet/intel/e1000/e1000_main.c 	rxdr->desc = dma_alloc_coherent(&pdev->dev, rxdr->size, &rxdr->dma,
desc             1702 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (!rxdr->desc) {
desc             1709 drivers/net/ethernet/intel/e1000/e1000_main.c 	if (!e1000_check_64k_bound(adapter, rxdr->desc, rxdr->size)) {
desc             1710 drivers/net/ethernet/intel/e1000/e1000_main.c 		void *olddesc = rxdr->desc;
desc             1713 drivers/net/ethernet/intel/e1000/e1000_main.c 		      rxdr->size, rxdr->desc);
desc             1715 drivers/net/ethernet/intel/e1000/e1000_main.c 		rxdr->desc = dma_alloc_coherent(&pdev->dev, rxdr->size,
desc             1718 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (!rxdr->desc) {
desc             1724 drivers/net/ethernet/intel/e1000/e1000_main.c 		if (!e1000_check_64k_bound(adapter, rxdr->desc, rxdr->size)) {
desc             1726 drivers/net/ethernet/intel/e1000/e1000_main.c 			dma_free_coherent(&pdev->dev, rxdr->size, rxdr->desc,
desc             1739 drivers/net/ethernet/intel/e1000/e1000_main.c 	memset(rxdr->desc, 0, rxdr->size);
desc             1928 drivers/net/ethernet/intel/e1000/e1000_main.c 	dma_free_coherent(&pdev->dev, tx_ring->size, tx_ring->desc,
desc             1931 drivers/net/ethernet/intel/e1000/e1000_main.c 	tx_ring->desc = NULL;
desc             1996 drivers/net/ethernet/intel/e1000/e1000_main.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc             2035 drivers/net/ethernet/intel/e1000/e1000_main.c 	dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
desc             2038 drivers/net/ethernet/intel/e1000/e1000_main.c 	rx_ring->desc = NULL;
desc             2120 drivers/net/ethernet/intel/e1000/e1000_main.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc             3401 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
desc             3443 drivers/net/ethernet/intel/e1000/e1000_main.c 	for (i = 0; rx_ring->desc && (i < rx_ring->count); i++) {
desc               22 drivers/net/ethernet/intel/e1000/e1000_param.c #define E1000_PARAM(X, desc) \
desc               26 drivers/net/ethernet/intel/e1000/e1000_param.c 	MODULE_PARM_DESC(X, desc);
desc              151 drivers/net/ethernet/intel/e1000e/e1000.h 	void *desc;			/* pointer to ring memory  */
desc              441 drivers/net/ethernet/intel/e1000e/e1000.h 	(&(((union e1000_rx_desc_packet_split *)((R).desc))[i]))
desc              443 drivers/net/ethernet/intel/e1000e/e1000.h 	(&(((union e1000_rx_desc_extended *)((R).desc))[i]))
desc              444 drivers/net/ethernet/intel/e1000e/e1000.h #define E1000_GET_DESC(R, i, type)	(&(((struct type *)((R).desc))[i]))
desc             1120 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (tx_ring->desc && tx_ring->buffer_info) {
desc             1133 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (rx_ring->desc && rx_ring->buffer_info) {
desc             1145 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (tx_ring->desc) {
desc             1146 drivers/net/ethernet/intel/e1000e/ethtool.c 		dma_free_coherent(&pdev->dev, tx_ring->size, tx_ring->desc,
desc             1148 drivers/net/ethernet/intel/e1000e/ethtool.c 		tx_ring->desc = NULL;
desc             1150 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (rx_ring->desc) {
desc             1151 drivers/net/ethernet/intel/e1000e/ethtool.c 		dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
desc             1153 drivers/net/ethernet/intel/e1000e/ethtool.c 		rx_ring->desc = NULL;
desc             1186 drivers/net/ethernet/intel/e1000e/ethtool.c 	tx_ring->desc = dma_alloc_coherent(&pdev->dev, tx_ring->size,
desc             1188 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (!tx_ring->desc) {
desc             1246 drivers/net/ethernet/intel/e1000e/ethtool.c 	rx_ring->desc = dma_alloc_coherent(&pdev->dev, rx_ring->size,
desc             1248 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (!rx_ring->desc) {
desc              289 drivers/net/ethernet/intel/e1000e/netdev.c 	for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
desc             1728 drivers/net/ethernet/intel/e1000e/netdev.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc             2308 drivers/net/ethernet/intel/e1000e/netdev.c 	ring->desc = dma_alloc_coherent(&pdev->dev, ring->size, &ring->dma,
desc             2310 drivers/net/ethernet/intel/e1000e/netdev.c 	if (!ring->desc)
desc             2423 drivers/net/ethernet/intel/e1000e/netdev.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc             2445 drivers/net/ethernet/intel/e1000e/netdev.c 	dma_free_coherent(&pdev->dev, tx_ring->size, tx_ring->desc,
desc             2447 drivers/net/ethernet/intel/e1000e/netdev.c 	tx_ring->desc = NULL;
desc             2470 drivers/net/ethernet/intel/e1000e/netdev.c 	dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
desc             2472 drivers/net/ethernet/intel/e1000e/netdev.c 	rx_ring->desc = NULL;
desc               30 drivers/net/ethernet/intel/e1000e/param.c #define E1000_PARAM(X, desc)					\
desc               34 drivers/net/ethernet/intel/e1000e/param.c 	MODULE_PARM_DESC(X, desc);
desc              108 drivers/net/ethernet/intel/fm10k/fm10k.h 	void *desc;			/* descriptor ring memory */
desc              430 drivers/net/ethernet/intel/fm10k/fm10k.h 	(&(((struct fm10k_tx_desc *)((R)->desc))[i]))
desc              432 drivers/net/ethernet/intel/fm10k/fm10k.h 	 (&(((union fm10k_rx_desc *)((R)->desc))[i]))
desc               57 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	if (!ring->desc) {
desc               84 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	if (!ring->desc) {
desc               32 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc               34 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	if (!tx_ring->desc)
desc              100 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc              102 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	if (!rx_ring->desc)
desc              193 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc              210 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	if (!tx_ring->desc)
desc              214 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 			  tx_ring->desc, tx_ring->dma);
desc              215 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	tx_ring->desc = NULL;
desc              277 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc              298 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	if (!rx_ring->desc)
desc              302 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 			  rx_ring->desc, rx_ring->dma);
desc              304 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 	rx_ring->desc = NULL;
desc              100 drivers/net/ethernet/intel/i40e/i40e.h 	(&(((union i40e_32byte_rx_desc *)((R)->desc))[i]))
desc              102 drivers/net/ethernet/intel/i40e/i40e.h 	(&(((struct i40e_tx_desc *)((R)->desc))[i]))
desc              104 drivers/net/ethernet/intel/i40e/i40e.h 	(&(((struct i40e_tx_context_desc *)((R)->desc))[i]))
desc              106 drivers/net/ethernet/intel/i40e/i40e.h 	(&(((struct i40e_filter_program_desc *)((R)->desc))[i]))
desc              121 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	struct i40e_aq_desc *desc;
desc              147 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc = I40E_ADMINQ_DESC(hw->aq.arq, i);
desc              149 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->flags = cpu_to_le16(I40E_AQ_FLAG_BUF);
desc              151 drivers/net/ethernet/intel/i40e/i40e_adminq.c 			desc->flags |= cpu_to_le16(I40E_AQ_FLAG_LB);
desc              152 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->opcode = 0;
desc              156 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->datalen = cpu_to_le16((u16)bi->size);
desc              157 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->retval = 0;
desc              158 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->cookie_high = 0;
desc              159 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->cookie_low = 0;
desc              160 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->params.external.addr_high =
desc              162 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->params.external.addr_low =
desc              164 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->params.external.param0 = 0;
desc              165 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->params.external.param1 = 0;
desc              675 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	struct i40e_aq_desc *desc;
desc              677 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc = I40E_ADMINQ_DESC(*asq, ntc);
desc              686 drivers/net/ethernet/intel/i40e/i40e_adminq.c 			desc_cb = *desc;
desc              689 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		memset(desc, 0, sizeof(*desc));
desc              694 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc = I40E_ADMINQ_DESC(*asq, ntc);
desc              731 drivers/net/ethernet/intel/i40e/i40e_adminq.c 				struct i40e_aq_desc *desc,
desc              772 drivers/net/ethernet/intel/i40e/i40e_adminq.c 			desc->cookie_high =
desc              774 drivers/net/ethernet/intel/i40e/i40e_adminq.c 			desc->cookie_low =
desc              782 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->flags &= ~cpu_to_le16(details->flags_dis);
desc              783 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->flags |= cpu_to_le16(details->flags_ena);
desc              821 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	*desc_on_ring = *desc;
desc              868 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		*desc = *desc_on_ring;
desc              871 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		retval = le16_to_cpu(desc->retval);
desc              893 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size);
desc              925 drivers/net/ethernet/intel/i40e/i40e_adminq.c void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
desc              929 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	memset((void *)desc, 0, sizeof(struct i40e_aq_desc));
desc              930 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->opcode = cpu_to_le16(opcode);
desc              931 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->flags = cpu_to_le16(I40E_AQ_FLAG_SI);
desc              950 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	struct i40e_aq_desc *desc;
desc              958 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	memset(&e->desc, 0, sizeof(e->desc));
desc              979 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc);
desc              983 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		(enum i40e_admin_queue_err)le16_to_cpu(desc->retval);
desc              984 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	flags = le16_to_cpu(desc->flags);
desc              993 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	e->desc = *desc;
desc              994 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	datalen = le16_to_cpu(desc->datalen);
desc             1001 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf,
desc             1009 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	memset((void *)desc, 0, sizeof(struct i40e_aq_desc));
desc             1011 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->flags = cpu_to_le16(I40E_AQ_FLAG_BUF);
desc             1013 drivers/net/ethernet/intel/i40e/i40e_adminq.c 		desc->flags |= cpu_to_le16(I40E_AQ_FLAG_LB);
desc             1014 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->datalen = cpu_to_le16((u16)bi->size);
desc             1015 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->params.external.addr_high = cpu_to_le32(upper_32_bits(bi->pa));
desc             1016 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	desc->params.external.addr_low = cpu_to_le32(lower_32_bits(bi->pa));
desc             1027 drivers/net/ethernet/intel/i40e/i40e_adminq.c 	i40e_nvmupd_check_wait_event(hw, le16_to_cpu(e->desc.opcode), &e->desc);
desc               57 drivers/net/ethernet/intel/i40e/i40e_adminq.h 	struct i40e_aq_desc desc;
desc              133 drivers/net/ethernet/intel/i40e/i40e_adminq.h void i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc,
desc              281 drivers/net/ethernet/intel/i40e/i40e_common.c void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc,
desc              284 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc *aq_desc = (struct i40e_aq_desc *)desc;
desc              290 drivers/net/ethernet/intel/i40e/i40e_common.c 	if (!effective_mask || !desc)
desc              357 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc              359 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_queue_shutdown *)&desc.params.raw;
desc              362 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc              367 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, NULL);
desc              389 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc              391 drivers/net/ethernet/intel/i40e/i40e_common.c 		   (struct i40e_aqc_get_set_rss_lut *)&desc.params.raw;
desc              394 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc              397 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc              401 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc              402 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_RD);
desc              421 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, lut, lut_size, NULL);
desc              474 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc              476 drivers/net/ethernet/intel/i40e/i40e_common.c 			(struct i40e_aqc_get_set_rss_key *)&desc.params.raw;
desc              480 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc              483 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc              487 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc              488 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_RD);
desc              496 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, key, key_size, NULL);
desc              956 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc              958 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_mac_address_read *)&desc.params.raw;
desc              961 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_mac_address_read);
desc              962 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16(I40E_AQ_FLAG_BUF);
desc              964 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, addrs,
desc              982 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc              984 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_mac_address_write *)&desc.params.raw;
desc              987 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc              996 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1554 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1563 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc             1566 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             1568 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             1571 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.params.external.param0 |=
desc             1575 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.params.external.param0 |=
desc             1578 drivers/net/ethernet/intel/i40e/i40e_common.c 		status = i40e_asq_send_command(hw, &desc, abilities,
desc             1632 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1634 drivers/net/ethernet/intel/i40e/i40e_common.c 			(struct i40e_aq_set_phy_config *)&desc.params.raw;
desc             1640 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1645 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1755 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1757 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_clear_pxe *)&desc.params.raw;
desc             1759 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1764 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1783 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1785 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_link_restart_an *)&desc.params.raw;
desc             1788 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1797 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1815 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1817 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_get_link_status *)&desc.params.raw;
desc             1823 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_get_link_status);
desc             1831 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1911 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1913 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_phy_int_mask *)&desc.params.raw;
desc             1916 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1921 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1937 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1939 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_phy_debug *)&desc.params.raw;
desc             1942 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1947 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             1964 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             1966 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_get_update_vsi *)&desc.params.raw;
desc             1969 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             1972 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             1980 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             1982 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info,
desc             2007 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2010 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             2013 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2020 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2035 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2038 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             2041 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2048 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2066 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2068 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2072 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2091 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2106 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2108 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2112 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2123 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2141 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2143 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2147 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2158 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2176 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2178 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2182 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2193 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2210 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2212 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2216 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2227 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2245 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2247 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2250 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2262 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2278 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2280 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_vsi_promiscuous_modes *)&desc.params.raw;
desc             2284 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2293 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2308 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2310 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_get_update_vsi *)&desc.params.raw;
desc             2313 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             2316 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2321 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             2323 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info,
desc             2350 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2352 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_get_update_vsi *)&desc.params.raw;
desc             2355 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             2358 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2362 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             2364 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info,
desc             2388 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2390 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_switch_seid *)&desc.params.raw;
desc             2393 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2395 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             2397 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             2400 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buf, buf_size, cmd_details);
desc             2422 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2424 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_switch_config *)&desc.params.raw;
desc             2427 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2437 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2460 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2462 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_get_version *)&desc.params.raw;
desc             2465 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_get_version);
desc             2467 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2497 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2499 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_driver_version *)&desc.params.raw;
desc             2506 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_driver_version);
desc             2508 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD);
desc             2519 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, dv->driver_string,
desc             2612 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2614 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_veb *)&desc.params.raw;
desc             2616 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_veb_completion *)&desc.params.raw;
desc             2624 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_add_veb);
desc             2642 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2670 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2673 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             2679 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             2683 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             2722 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2724 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_macvlan *)&desc.params.raw;
desc             2735 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_add_macvlan);
desc             2746 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             2748 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             2750 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, mv_list, buf_size,
desc             2770 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2772 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_macvlan *)&desc.params.raw;
desc             2782 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_remove_macvlan);
desc             2788 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             2790 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             2792 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, mv_list, buf_size,
desc             2821 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2823 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_delete_mirror_rule *)&desc.params.raw;
desc             2825 drivers/net/ethernet/intel/i40e/i40e_common.c 	(struct i40e_aqc_add_delete_mirror_rule_completion *)&desc.params.raw;
desc             2832 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, opcode);
desc             2840 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF |
desc             2843 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             2846 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, mr_list, buf_size,
desc             2942 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2944 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_pf_vf_message *)&desc.params.raw;
desc             2947 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_send_msg_to_vf);
desc             2949 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.cookie_high = cpu_to_le32(v_opcode);
desc             2950 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.cookie_low = cpu_to_le32(v_retval);
desc             2951 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_SI);
desc             2953 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF |
desc             2956 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             2957 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.datalen = cpu_to_le16(msglen);
desc             2959 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, msg, msglen, cmd_details);
desc             2977 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             2979 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_debug_reg_read_write *)&desc.params.raw;
desc             2985 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_debug_read_reg);
desc             2989 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3012 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3014 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_debug_reg_read_write *)&desc.params.raw;
desc             3017 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_debug_write_reg);
desc             3023 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3045 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3047 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_request_resource *)&desc.params.raw;
desc             3050 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_request_resource);
desc             3056 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3083 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3085 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_request_resource *)&desc.params.raw;
desc             3088 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_release_resource);
desc             3093 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3115 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3117 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_nvm_update *)&desc.params.raw;
desc             3126 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_nvm_read);
desc             3135 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3137 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             3139 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, data, length, cmd_details);
desc             3160 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3162 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_nvm_update *)&desc.params.raw;
desc             3171 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_nvm_erase);
desc             3180 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3452 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3455 drivers/net/ethernet/intel/i40e/i40e_common.c 	cmd = (struct i40e_aqc_list_capabilites *)&desc.params.raw;
desc             3463 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, list_type_opc);
desc             3465 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3467 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             3469 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             3470 drivers/net/ethernet/intel/i40e/i40e_common.c 	*data_size = le16_to_cpu(desc.datalen);
desc             3500 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3502 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_nvm_update *)&desc.params.raw;
desc             3511 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_nvm_update);
desc             3530 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             3532 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             3534 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, data, length, cmd_details);
desc             3554 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3556 drivers/net/ethernet/intel/i40e/i40e_common.c 	cmd = (struct i40e_aqc_nvm_update *)&desc.params.raw;
desc             3558 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_nvm_update);
desc             3569 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3593 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3595 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_get_mib *)&desc.params.raw;
desc             3597 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_get_mib *)&desc.params.raw;
desc             3603 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_lldp_get_mib);
desc             3605 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3611 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_size);
desc             3613 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3615 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             3617 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             3641 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3643 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_update_mib *)&desc.params.raw;
desc             3646 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_lldp_update_mib);
desc             3651 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3670 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3672 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_restore *)&desc.params.raw;
desc             3681 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_lldp_restore);
desc             3686 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3707 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3709 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_stop *)&desc.params.raw;
desc             3712 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_lldp_stop);
desc             3725 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3743 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3745 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_lldp_start *)&desc.params.raw;
desc             3748 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_lldp_start);
desc             3760 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3776 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3778 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_set_dcb_parameters *)&desc.params.raw;
desc             3784 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             3791 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3809 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3815 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_get_cee_dcb_cfg);
desc             3817 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3818 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, (void *)buff, buff_size,
desc             3841 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3843 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_add_udp_tunnel *)&desc.params.raw;
desc             3845 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_del_udp_tunnel_completion *)&desc.params.raw;
desc             3848 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_add_udp_tunnel);
desc             3853 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3870 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3872 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_remove_udp_tunnel *)&desc.params.raw;
desc             3875 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_del_udp_tunnel);
desc             3879 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3895 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3897 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_switch_seid *)&desc.params.raw;
desc             3903 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_delete_element);
desc             3907 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3924 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3927 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_dcb_updated);
desc             3929 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             3950 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             3952 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_tx_sched_ind *)&desc.params.raw;
desc             3977 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, opcode);
desc             3980 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             3982 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_RD);
desc             3984 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             3986 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_size);
desc             3990 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             4007 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4009 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_configure_vsi_bw_limit *)&desc.params.raw;
desc             4012 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             4019 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             4345 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4348 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             4351 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             4358 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc             4362 drivers/net/ethernet/intel/i40e/i40e_common.c 		i40e_fill_default_direct_cmd_desc(&desc,
desc             4373 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             4424 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4426 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_alternate_write *)&desc.params.raw;
desc             4432 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_alternate_read);
desc             4436 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, NULL);
desc             4458 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4461 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_resume_port_tx);
desc             4463 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             4535 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4537 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_debug_dump_internals *)&desc.params.raw;
desc             4539 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_debug_dump_internals *)&desc.params.raw;
desc             4545 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             4548 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             4550 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             4556 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_size);
desc             4558 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             4561 drivers/net/ethernet/intel/i40e/i40e_common.c 			*ret_buff_size = le16_to_cpu(desc.datalen);
desc             4626 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             4629 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             4633 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             4634 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_RD);
desc             4637 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             4639 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(bwd_size);
desc             4641 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, bw_data, bwd_size,
desc             5218 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5220 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_rx_ctl_reg_read_write *)&desc.params.raw;
desc             5226 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_rx_ctl_reg_read);
desc             5230 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             5284 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5286 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_rx_ctl_reg_read_write *)&desc.params.raw;
desc             5289 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, i40e_aqc_opc_rx_ctl_reg_write);
desc             5294 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             5346 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5348 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_phy_register_access *)&desc.params.raw;
desc             5351 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5359 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             5380 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5382 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_phy_register_access *)&desc.params.raw;
desc             5385 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5392 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
desc             5415 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5418 drivers/net/ethernet/intel/i40e/i40e_common.c 		&desc.params.raw;
desc             5422 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5425 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD);
desc             5427 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             5429 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_size);
desc             5433 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             5435 drivers/net/ethernet/intel/i40e/i40e_common.c 		resp = (struct i40e_aqc_write_ddp_resp *)&desc.params.raw;
desc             5458 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5460 drivers/net/ethernet/intel/i40e/i40e_common.c 		(struct i40e_aqc_get_applied_profiles *)&desc.params.raw;
desc             5463 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5466 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             5468 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             5469 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_size);
desc             5473 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details);
desc             5565 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5569 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc, aq->opcode);
desc             5570 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16(aq->flags);
desc             5571 drivers/net/ethernet/intel/i40e/i40e_common.c 	memcpy(desc.params.raw, aq->param, sizeof(desc.params.raw));
desc             5575 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF |
desc             5578 drivers/net/ethernet/intel/i40e/i40e_common.c 			desc.flags |= cpu_to_le16((u16)I40E_AQ_FLAG_LB);
desc             5579 drivers/net/ethernet/intel/i40e/i40e_common.c 		desc.datalen = cpu_to_le16(msglen);
desc             5583 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, msg, msglen, NULL);
desc             5593 drivers/net/ethernet/intel/i40e/i40e_common.c 	memcpy(aq->param, desc.params.raw, sizeof(desc.params.raw));
desc             5834 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5836 drivers/net/ethernet/intel/i40e/i40e_common.c 	(struct i40e_aqc_add_remove_cloud_filters *)&desc.params.raw;
desc             5840 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5844 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_len);
desc             5845 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             5849 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL);
desc             5871 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5873 drivers/net/ethernet/intel/i40e/i40e_common.c 	(struct i40e_aqc_add_remove_cloud_filters *)&desc.params.raw;
desc             5878 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5882 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_len);
desc             5883 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             5906 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL);
desc             5928 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5930 drivers/net/ethernet/intel/i40e/i40e_common.c 	(struct i40e_aqc_add_remove_cloud_filters *)&desc.params.raw;
desc             5934 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5938 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_len);
desc             5939 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             5943 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL);
desc             5965 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_aq_desc desc;
desc             5967 drivers/net/ethernet/intel/i40e/i40e_common.c 	(struct i40e_aqc_add_remove_cloud_filters *)&desc.params.raw;
desc             5972 drivers/net/ethernet/intel/i40e/i40e_common.c 	i40e_fill_default_direct_cmd_desc(&desc,
desc             5976 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.datalen = cpu_to_le16(buff_len);
desc             5977 drivers/net/ethernet/intel/i40e/i40e_common.c 	desc.flags |= cpu_to_le16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
desc             6000 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_asq_send_command(hw, &desc, filters, buff_len, NULL);
desc              512 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 	if (!vsi->tx_rings || !vsi->tx_rings[0]->desc) {
desc             1203 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		struct i40e_aq_desc *desc;
desc             1206 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		desc = kzalloc(sizeof(struct i40e_aq_desc), GFP_KERNEL);
desc             1207 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		if (!desc)
desc             1211 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->flags,
desc             1212 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->opcode, &desc->datalen, &desc->retval,
desc             1213 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->cookie_high, &desc->cookie_low,
desc             1214 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param0,
desc             1215 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param1,
desc             1216 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param2,
desc             1217 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param3);
desc             1222 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			kfree(desc);
desc             1223 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			desc = NULL;
desc             1226 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		ret = i40e_asq_send_command(&pf->hw, desc, NULL, 0, NULL);
desc             1232 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				 desc->opcode, pf->hw.aq.asq_last_status);
desc             1236 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				 desc->opcode, ret);
desc             1240 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->flags, desc->opcode, desc->datalen, desc->retval,
desc             1241 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->cookie_high, desc->cookie_low,
desc             1242 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param0,
desc             1243 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param1,
desc             1244 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param2,
desc             1245 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param3);
desc             1246 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		kfree(desc);
desc             1247 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		desc = NULL;
desc             1249 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		struct i40e_aq_desc *desc;
desc             1254 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		desc = kzalloc(sizeof(struct i40e_aq_desc), GFP_KERNEL);
desc             1255 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		if (!desc)
desc             1259 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->flags,
desc             1260 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->opcode, &desc->datalen, &desc->retval,
desc             1261 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->cookie_high, &desc->cookie_low,
desc             1262 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param0,
desc             1263 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param1,
desc             1264 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param2,
desc             1265 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			     &desc->params.internal.param3,
desc             1271 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			kfree(desc);
desc             1272 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			desc = NULL;
desc             1281 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			kfree(desc);
desc             1282 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			desc = NULL;
desc             1285 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		desc->flags |= cpu_to_le16((u16)I40E_AQ_FLAG_BUF);
desc             1286 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		ret = i40e_asq_send_command(&pf->hw, desc, buff,
desc             1293 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				 desc->opcode, pf->hw.aq.asq_last_status);
desc             1297 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 				 desc->opcode, ret);
desc             1301 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->flags, desc->opcode, desc->datalen, desc->retval,
desc             1302 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->cookie_high, desc->cookie_low,
desc             1303 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param0,
desc             1304 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param1,
desc             1305 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param2,
desc             1306 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 			 desc->params.internal.param3);
desc             1312 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		kfree(desc);
desc             1313 drivers/net/ethernet/intel/i40e/i40e_debugfs.c 		desc = NULL;
desc             2025 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			tx_rings[i].desc = NULL;
desc             2064 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 			rx_rings[i].desc = NULL;
desc              335 drivers/net/ethernet/intel/i40e/i40e_main.c 			if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) {
desc             3034 drivers/net/ethernet/intel/i40e/i40e_main.c 			if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc)
desc             3040 drivers/net/ethernet/intel/i40e/i40e_main.c 			if (vsi->xdp_rings[i] && vsi->xdp_rings[i]->desc)
desc             3078 drivers/net/ethernet/intel/i40e/i40e_main.c 		if (vsi->rx_rings[i] && vsi->rx_rings[i]->desc)
desc             8570 drivers/net/ethernet/intel/i40e/i40e_main.c 		(struct i40e_aqc_lldp_get_mib *)&e->desc.params.raw;
desc             8692 drivers/net/ethernet/intel/i40e/i40e_main.c 		(struct i40e_aqc_lan_overflow *)&e->desc.params.raw;
desc             9181 drivers/net/ethernet/intel/i40e/i40e_main.c 		(struct i40e_aqc_get_link_status *)&e->desc.params.raw;
desc             9287 drivers/net/ethernet/intel/i40e/i40e_main.c 		opcode = le16_to_cpu(event.desc.opcode);
desc             9295 drivers/net/ethernet/intel/i40e/i40e_main.c 					le16_to_cpu(event.desc.retval),
desc             9296 drivers/net/ethernet/intel/i40e/i40e_main.c 					le32_to_cpu(event.desc.cookie_high),
desc             9297 drivers/net/ethernet/intel/i40e/i40e_main.c 					le32_to_cpu(event.desc.cookie_low),
desc             1255 drivers/net/ethernet/intel/i40e/i40e_nvm.c 				  struct i40e_aq_desc *desc)
desc             1260 drivers/net/ethernet/intel/i40e/i40e_nvm.c 		memcpy(&hw->nvm_aq_event_desc, desc, aq_desc_len);
desc               26 drivers/net/ethernet/intel/i40e/i40e_prototype.h 				struct i40e_aq_desc *desc,
desc               33 drivers/net/ethernet/intel/i40e/i40e_prototype.h 		   void *desc, void *buffer, u16 buf_len);
desc              331 drivers/net/ethernet/intel/i40e/i40e_prototype.h 				  struct i40e_aq_desc *desc);
desc               63 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 struct i40e_tx_desc *desc,
desc               66 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, buf),
desc               77 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__field(void*, desc)
desc               84 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__entry->desc = desc;
desc               92 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__entry->desc, __entry->buf)
desc               98 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 struct i40e_tx_desc *desc,
desc              101 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, buf));
desc              106 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 struct i40e_tx_desc *desc,
desc              109 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, buf));
desc              115 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 union i40e_32byte_rx_desc *desc,
desc              118 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, skb),
desc              122 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__field(void*, desc)
desc              129 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__entry->desc = desc;
desc              137 drivers/net/ethernet/intel/i40e/i40e_trace.h 		__entry->desc, __entry->skb)
desc              143 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 union i40e_32byte_rx_desc *desc,
desc              146 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, skb));
desc              151 drivers/net/ethernet/intel/i40e/i40e_trace.h 		 union i40e_32byte_rx_desc *desc,
desc              154 drivers/net/ethernet/intel/i40e/i40e_trace.h 	TP_ARGS(ring, desc, skb));
desc              655 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc              679 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (tx_ring->desc) {
desc              681 drivers/net/ethernet/intel/i40e/i40e_txrx.c 				  tx_ring->desc, tx_ring->dma);
desc              682 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		tx_ring->desc = NULL;
desc              742 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		if (tx_ring && tx_ring->desc) {
desc             1320 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc             1322 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (!tx_ring->desc) {
desc             1395 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc             1417 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (rx_ring->desc) {
desc             1419 drivers/net/ethernet/intel/i40e/i40e_txrx.c 				  rx_ring->desc, rx_ring->dma);
desc             1420 drivers/net/ethernet/intel/i40e/i40e_txrx.c 		rx_ring->desc = NULL;
desc             1448 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc             1451 drivers/net/ethernet/intel/i40e/i40e_txrx.c 	if (!rx_ring->desc) {
desc              354 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	void *desc;			/* Descriptor ring memory */
desc              508 drivers/net/ethernet/intel/i40e/i40e_txrx.h 	void *head = (struct i40e_tx_desc *)tx_ring->desc + tx_ring->count;
desc              652 drivers/net/ethernet/intel/i40e/i40e_xsk.c 	struct xdp_desc desc;
desc              662 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		if (!xsk_umem_consume_tx(xdp_ring->xsk_umem, &desc))
desc              665 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		dma = xdp_umem_get_dma(xdp_ring->xsk_umem, desc.addr);
desc              667 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		dma_sync_single_for_device(xdp_ring->dev, dma, desc.len,
desc              671 drivers/net/ethernet/intel/i40e/i40e_xsk.c 		tx_bi->bytecount = desc.len;
desc              678 drivers/net/ethernet/intel/i40e/i40e_xsk.c 				   0, desc.len, 0);
desc               80 drivers/net/ethernet/intel/iavf/iavf.h #define IAVF_RX_DESC(R, i) (&(((union iavf_32byte_rx_desc *)((R)->desc))[i]))
desc               81 drivers/net/ethernet/intel/iavf/iavf.h #define IAVF_TX_DESC(R, i) (&(((struct iavf_tx_desc *)((R)->desc))[i]))
desc               83 drivers/net/ethernet/intel/iavf/iavf.h 	(&(((struct iavf_tx_context_desc *)((R)->desc))[i]))
desc              105 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	struct iavf_aq_desc *desc;
desc              133 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc = IAVF_ADMINQ_DESC(hw->aq.arq, i);
desc              135 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->flags = cpu_to_le16(IAVF_AQ_FLAG_BUF);
desc              137 drivers/net/ethernet/intel/iavf/iavf_adminq.c 			desc->flags |= cpu_to_le16(IAVF_AQ_FLAG_LB);
desc              138 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->opcode = 0;
desc              142 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->datalen = cpu_to_le16((u16)bi->size);
desc              143 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->retval = 0;
desc              144 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->cookie_high = 0;
desc              145 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->cookie_low = 0;
desc              146 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->params.external.addr_high =
desc              148 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->params.external.addr_low =
desc              150 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->params.external.param0 = 0;
desc              151 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->params.external.param1 = 0;
desc              577 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	struct iavf_aq_desc *desc;
desc              579 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc = IAVF_ADMINQ_DESC(*asq, ntc);
desc              588 drivers/net/ethernet/intel/iavf/iavf_adminq.c 			desc_cb = *desc;
desc              591 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		memset((void *)desc, 0, sizeof(struct iavf_aq_desc));
desc              597 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc = IAVF_ADMINQ_DESC(*asq, ntc);
desc              633 drivers/net/ethernet/intel/iavf/iavf_adminq.c 				       struct iavf_aq_desc *desc,
desc              674 drivers/net/ethernet/intel/iavf/iavf_adminq.c 			desc->cookie_high =
desc              676 drivers/net/ethernet/intel/iavf/iavf_adminq.c 			desc->cookie_low =
desc              684 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->flags &= ~cpu_to_le16(details->flags_dis);
desc              685 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->flags |= cpu_to_le16(details->flags_ena);
desc              723 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	*desc_on_ring = *desc;
desc              770 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		*desc = *desc_on_ring;
desc              773 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		retval = le16_to_cpu(desc->retval);
desc              795 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size);
desc              827 drivers/net/ethernet/intel/iavf/iavf_adminq.c void iavf_fill_default_direct_cmd_desc(struct iavf_aq_desc *desc, u16 opcode)
desc              830 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	memset((void *)desc, 0, sizeof(struct iavf_aq_desc));
desc              831 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->opcode = cpu_to_le16(opcode);
desc              832 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->flags = cpu_to_le16(IAVF_AQ_FLAG_SI);
desc              850 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	struct iavf_aq_desc *desc;
desc              859 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	memset(&e->desc, 0, sizeof(e->desc));
desc              880 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc = IAVF_ADMINQ_DESC(hw->aq.arq, ntc);
desc              884 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		(enum iavf_admin_queue_err)le16_to_cpu(desc->retval);
desc              885 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	flags = le16_to_cpu(desc->flags);
desc              894 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	e->desc = *desc;
desc              895 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	datalen = le16_to_cpu(desc->datalen);
desc              902 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf,
desc              910 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	memset((void *)desc, 0, sizeof(struct iavf_aq_desc));
desc              912 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->flags = cpu_to_le16(IAVF_AQ_FLAG_BUF);
desc              914 drivers/net/ethernet/intel/iavf/iavf_adminq.c 		desc->flags |= cpu_to_le16(IAVF_AQ_FLAG_LB);
desc              915 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->datalen = cpu_to_le16((u16)bi->size);
desc              916 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->params.external.addr_high = cpu_to_le32(upper_32_bits(bi->pa));
desc              917 drivers/net/ethernet/intel/iavf/iavf_adminq.c 	desc->params.external.addr_low = cpu_to_le32(lower_32_bits(bi->pa));
desc               57 drivers/net/ethernet/intel/iavf/iavf_adminq.h 	struct iavf_aq_desc desc;
desc              133 drivers/net/ethernet/intel/iavf/iavf_adminq.h void iavf_fill_default_direct_cmd_desc(struct iavf_aq_desc *desc, u16 opcode);
desc              260 drivers/net/ethernet/intel/iavf/iavf_common.c void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void *desc,
desc              263 drivers/net/ethernet/intel/iavf/iavf_common.c 	struct iavf_aq_desc *aq_desc = (struct iavf_aq_desc *)desc;
desc              266 drivers/net/ethernet/intel/iavf/iavf_common.c 	if ((!(mask & hw->debug_mask)) || !desc)
desc              332 drivers/net/ethernet/intel/iavf/iavf_common.c 	struct iavf_aq_desc desc;
desc              334 drivers/net/ethernet/intel/iavf/iavf_common.c 		(struct iavf_aqc_queue_shutdown *)&desc.params.raw;
desc              337 drivers/net/ethernet/intel/iavf/iavf_common.c 	iavf_fill_default_direct_cmd_desc(&desc, iavf_aqc_opc_queue_shutdown);
desc              341 drivers/net/ethernet/intel/iavf/iavf_common.c 	status = iavf_asq_send_command(hw, &desc, NULL, 0, NULL);
desc              363 drivers/net/ethernet/intel/iavf/iavf_common.c 	struct iavf_aq_desc desc;
desc              365 drivers/net/ethernet/intel/iavf/iavf_common.c 		   (struct iavf_aqc_get_set_rss_lut *)&desc.params.raw;
desc              368 drivers/net/ethernet/intel/iavf/iavf_common.c 		iavf_fill_default_direct_cmd_desc(&desc,
desc              371 drivers/net/ethernet/intel/iavf/iavf_common.c 		iavf_fill_default_direct_cmd_desc(&desc,
desc              375 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_BUF);
desc              376 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_RD);
desc              395 drivers/net/ethernet/intel/iavf/iavf_common.c 	status = iavf_asq_send_command(hw, &desc, lut, lut_size, NULL);
desc              448 drivers/net/ethernet/intel/iavf/iavf_common.c 	struct iavf_aq_desc desc;
desc              450 drivers/net/ethernet/intel/iavf/iavf_common.c 			(struct iavf_aqc_get_set_rss_key *)&desc.params.raw;
desc              454 drivers/net/ethernet/intel/iavf/iavf_common.c 		iavf_fill_default_direct_cmd_desc(&desc,
desc              457 drivers/net/ethernet/intel/iavf/iavf_common.c 		iavf_fill_default_direct_cmd_desc(&desc,
desc              461 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_BUF);
desc              462 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_RD);
desc              470 drivers/net/ethernet/intel/iavf/iavf_common.c 	status = iavf_asq_send_command(hw, &desc, key, key_size, NULL);
desc              887 drivers/net/ethernet/intel/iavf/iavf_common.c 	struct iavf_aq_desc desc;
desc              890 drivers/net/ethernet/intel/iavf/iavf_common.c 	iavf_fill_default_direct_cmd_desc(&desc, iavf_aqc_opc_send_msg_to_pf);
desc              891 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_SI);
desc              892 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.cookie_high = cpu_to_le32(v_opcode);
desc              893 drivers/net/ethernet/intel/iavf/iavf_common.c 	desc.cookie_low = cpu_to_le32(v_retval);
desc              895 drivers/net/ethernet/intel/iavf/iavf_common.c 		desc.flags |= cpu_to_le16((u16)(IAVF_AQ_FLAG_BUF
desc              898 drivers/net/ethernet/intel/iavf/iavf_common.c 			desc.flags |= cpu_to_le16((u16)IAVF_AQ_FLAG_LB);
desc              899 drivers/net/ethernet/intel/iavf/iavf_common.c 		desc.datalen = cpu_to_le16(msglen);
desc              906 drivers/net/ethernet/intel/iavf/iavf_common.c 	status = iavf_asq_send_command(hw, &desc, msg, msglen, cmd_details);
desc             2288 drivers/net/ethernet/intel/iavf/iavf_main.c 		v_op = (enum virtchnl_ops)le32_to_cpu(event.desc.cookie_high);
desc             2289 drivers/net/ethernet/intel/iavf/iavf_main.c 		v_ret = (enum iavf_status)le32_to_cpu(event.desc.cookie_low);
desc             2405 drivers/net/ethernet/intel/iavf/iavf_main.c 		if (adapter->tx_rings[i].desc)
desc             2476 drivers/net/ethernet/intel/iavf/iavf_main.c 		if (adapter->rx_rings[i].desc)
desc               26 drivers/net/ethernet/intel/iavf/iavf_prototype.h 				       struct iavf_aq_desc *desc,
desc               34 drivers/net/ethernet/intel/iavf/iavf_prototype.h 		   void *desc, void *buffer, u16 buf_len);
desc               63 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 struct iavf_tx_desc *desc,
desc               66 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, buf),
desc               77 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__field(void*, desc)
desc               84 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__entry->desc = desc;
desc               92 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__entry->desc, __entry->buf)
desc               98 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 struct iavf_tx_desc *desc,
desc              101 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, buf));
desc              106 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 struct iavf_tx_desc *desc,
desc              109 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, buf));
desc              115 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 union iavf_32byte_rx_desc *desc,
desc              118 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, skb),
desc              122 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__field(void*, desc)
desc              129 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__entry->desc = desc;
desc              137 drivers/net/ethernet/intel/iavf/iavf_trace.h 		__entry->desc, __entry->skb)
desc              143 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 union iavf_32byte_rx_desc *desc,
desc              146 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, skb));
desc              151 drivers/net/ethernet/intel/iavf/iavf_trace.h 		 union iavf_32byte_rx_desc *desc,
desc              154 drivers/net/ethernet/intel/iavf/iavf_trace.h 	TP_ARGS(ring, desc, skb));
desc               74 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc               98 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (tx_ring->desc) {
desc              100 drivers/net/ethernet/intel/iavf/iavf_txrx.c 				  tx_ring->desc, tx_ring->dma);
desc              101 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		tx_ring->desc = NULL;
desc              156 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		if (tx_ring && tx_ring->desc) {
desc              632 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc              634 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (!tx_ring->desc) {
desc              701 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc              720 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (rx_ring->desc) {
desc              722 drivers/net/ethernet/intel/iavf/iavf_txrx.c 				  rx_ring->desc, rx_ring->dma);
desc              723 drivers/net/ethernet/intel/iavf/iavf_txrx.c 		rx_ring->desc = NULL;
desc              750 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc              753 drivers/net/ethernet/intel/iavf/iavf_txrx.c 	if (!rx_ring->desc) {
desc              328 drivers/net/ethernet/intel/iavf/iavf_txrx.h 	void *desc;			/* Descriptor ring memory */
desc               89 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		    (enum virtchnl_ops)le32_to_cpu(event.desc.cookie_high);
desc               95 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	err = (enum iavf_status)le32_to_cpu(event.desc.cookie_low);
desc              214 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 		    (enum virtchnl_ops)le32_to_cpu(event.desc.cookie_high);
desc              219 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c 	err = (enum iavf_status)le32_to_cpu(event.desc.cookie_low);
desc               88 drivers/net/ethernet/intel/ice/ice.h #define ICE_TX_DESC(R, i) (&(((struct ice_tx_desc *)((R)->desc))[i]))
desc               89 drivers/net/ethernet/intel/ice/ice.h #define ICE_RX_DESC(R, i) (&(((union ice_32b_rx_flex_desc *)((R)->desc))[i]))
desc               90 drivers/net/ethernet/intel/ice/ice.h #define ICE_TX_CTX_DESC(R, i) (&(((struct ice_tx_ctx_desc *)((R)->desc))[i]))
desc               68 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc               70 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_clear_pf_cfg);
desc               72 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
desc               95 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc              100 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.mac_read;
desc              105 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_manage_mac_read);
desc              107 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              149 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc              152 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.get_phy;
desc              157 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_phy_caps);
desc              163 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(pi->hw, &desc, pcaps, pcaps_size, cd);
desc              272 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc              285 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_link_status);
desc              287 drivers/net/ethernet/intel/ice/ice_common.c 	resp = &desc.params.get_link_status;
desc              291 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, &link_data, sizeof(link_data), cd);
desc              498 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc              507 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_fw_logging_info);
desc              509 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_BUF);
desc              510 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              512 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, config, size, NULL);
desc              576 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc              593 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_fw_logging);
desc              594 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.fw_logging;
desc              646 drivers/net/ethernet/intel/ice/ice_common.c 			desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              650 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, buf, len, NULL);
desc              696 drivers/net/ethernet/intel/ice/ice_common.c void ice_output_fw_log(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf)
desc              700 drivers/net/ethernet/intel/ice/ice_common.c 			le16_to_cpu(desc->datalen));
desc             1203 drivers/net/ethernet/intel/ice/ice_common.c ice_debug_cq(struct ice_hw *hw, u32 __maybe_unused mask, void *desc, void *buf,
desc             1206 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc *cq_desc = (struct ice_aq_desc *)desc;
desc             1214 drivers/net/ethernet/intel/ice/ice_common.c 	if (!desc)
desc             1261 drivers/net/ethernet/intel/ice/ice_common.c ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf,
desc             1264 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aqc_req_res *cmd = &desc->params.res_owner;
desc             1276 drivers/net/ethernet/intel/ice/ice_common.c 	switch (le16_to_cpu(desc->opcode)) {
desc             1291 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_sq_send_cmd(hw, &hw->adminq, desc, buf, buf_size, cd);
desc             1308 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1311 drivers/net/ethernet/intel/ice/ice_common.c 	resp = &desc.params.get_ver;
desc             1313 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_ver);
desc             1315 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             1345 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1348 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.driver_ver;
desc             1353 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_driver_ver);
desc             1355 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             1366 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, dv->driver_string, len, cd);
desc             1380 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1382 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.q_shutdown;
desc             1384 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_q_shutdown);
desc             1389 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
desc             1424 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1427 drivers/net/ethernet/intel/ice/ice_common.c 	cmd_resp = &desc.params.res_owner;
desc             1429 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_req_res);
desc             1437 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             1492 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1494 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.res_owner;
desc             1496 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_release_res);
desc             1501 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             1789 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1792 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.get_cap;
desc             1798 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, opc);
desc             1800 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc             1954 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1956 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.mac_write;
desc             1957 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_manage_mac_write);
desc             1965 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             1976 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             1978 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_clear_pxe_mode);
desc             1979 drivers/net/ethernet/intel/ice/ice_common.c 	desc.params.clear_pxe.rx_cnt = ICE_AQC_CLEAR_PXE_RX_CNT;
desc             1981 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
desc             2189 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2203 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_phy_cfg);
desc             2204 drivers/net/ethernet/intel/ice/ice_common.c 	desc.params.set_phy.lport_num = lport;
desc             2205 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             2218 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, cfg, sizeof(*cfg), cd);
desc             2472 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2474 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.restart_an;
desc             2476 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_restart_an);
desc             2485 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(pi->hw, &desc, NULL, 0, cd);
desc             2502 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2504 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.set_event_mask;
desc             2506 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_event_mask);
desc             2511 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             2526 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2528 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.set_mac_lb;
desc             2530 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_mac_lb);
desc             2534 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             2551 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2553 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.set_port_id_led;
desc             2555 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_port_id_led);
desc             2562 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc             2582 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2586 drivers/net/ethernet/intel/ice/ice_common.c 	cmd_resp = &desc.params.get_set_rss_lut;
desc             2589 drivers/net/ethernet/intel/ice/ice_common.c 		ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_rss_lut);
desc             2590 drivers/net/ethernet/intel/ice/ice_common.c 		desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             2592 drivers/net/ethernet/intel/ice/ice_common.c 		ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_rss_lut);
desc             2649 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, lut, lut_size, NULL);
desc             2713 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2715 drivers/net/ethernet/intel/ice/ice_common.c 	cmd_resp = &desc.params.get_set_rss_key;
desc             2718 drivers/net/ethernet/intel/ice/ice_common.c 		ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_rss_key);
desc             2719 drivers/net/ethernet/intel/ice/ice_common.c 		desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             2721 drivers/net/ethernet/intel/ice/ice_common.c 		ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_rss_key);
desc             2729 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, key, key_size, NULL);
desc             2799 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2801 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.add_txqs;
desc             2803 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_add_txqs);
desc             2825 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             2829 drivers/net/ethernet/intel/ice/ice_common.c 	return ice_aq_send_cmd(hw, &desc, qg_list, buf_size, cd);
desc             2851 drivers/net/ethernet/intel/ice/ice_common.c 	struct ice_aq_desc desc;
desc             2855 drivers/net/ethernet/intel/ice/ice_common.c 	cmd = &desc.params.dis_txqs;
desc             2856 drivers/net/ethernet/intel/ice/ice_common.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_dis_txqs);
desc             2897 drivers/net/ethernet/intel/ice/ice_common.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc             2915 drivers/net/ethernet/intel/ice/ice_common.c 	status = ice_aq_send_cmd(hw, &desc, qg_list, buf_size, cd);
desc               16 drivers/net/ethernet/intel/ice/ice_common.h ice_debug_cq(struct ice_hw *hw, u32 mask, void *desc, void *buf, u16 buf_len);
desc               40 drivers/net/ethernet/intel/ice/ice_common.h 		struct ice_aq_desc *desc, void *buf, u16 buf_size,
desc               68 drivers/net/ethernet/intel/ice/ice_common.h void ice_fill_dflt_direct_cmd_desc(struct ice_aq_desc *desc, u16 opcode);
desc               76 drivers/net/ethernet/intel/ice/ice_common.h ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc,
desc              135 drivers/net/ethernet/intel/ice/ice_common.h void ice_output_fw_log(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf);
desc              158 drivers/net/ethernet/intel/ice/ice_controlq.c 		struct ice_aq_desc *desc;
desc              170 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc = ICE_CTL_Q_DESC(cq->rq, i);
desc              172 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->flags = cpu_to_le16(ICE_AQ_FLAG_BUF);
desc              174 drivers/net/ethernet/intel/ice/ice_controlq.c 			desc->flags |= cpu_to_le16(ICE_AQ_FLAG_LB);
desc              175 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->opcode = 0;
desc              179 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->datalen = cpu_to_le16(bi->size);
desc              180 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->retval = 0;
desc              181 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->cookie_high = 0;
desc              182 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->cookie_low = 0;
desc              183 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->params.generic.addr_high =
desc              185 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->params.generic.addr_low =
desc              187 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->params.generic.param0 = 0;
desc              188 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->params.generic.param1 = 0;
desc              790 drivers/net/ethernet/intel/ice/ice_controlq.c 	struct ice_aq_desc *desc;
desc              792 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc = ICE_CTL_Q_DESC(*sq, ntc);
desc              798 drivers/net/ethernet/intel/ice/ice_controlq.c 		memset(desc, 0, sizeof(*desc));
desc              803 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc = ICE_CTL_Q_DESC(*sq, ntc);
desc              842 drivers/net/ethernet/intel/ice/ice_controlq.c 		struct ice_aq_desc *desc, void *buf, u16 buf_size,
desc              882 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->flags |= cpu_to_le16(ICE_AQ_FLAG_BUF);
desc              884 drivers/net/ethernet/intel/ice/ice_controlq.c 			desc->flags |= cpu_to_le16(ICE_AQ_FLAG_LB);
desc              918 drivers/net/ethernet/intel/ice/ice_controlq.c 	memcpy(desc_on_ring, desc, sizeof(*desc_on_ring));
desc              957 drivers/net/ethernet/intel/ice/ice_controlq.c 		memcpy(desc, desc_on_ring, sizeof(*desc));
desc              960 drivers/net/ethernet/intel/ice/ice_controlq.c 			u16 copy_size = le16_to_cpu(desc->datalen);
desc              971 drivers/net/ethernet/intel/ice/ice_controlq.c 		retval = le16_to_cpu(desc->retval);
desc              989 drivers/net/ethernet/intel/ice/ice_controlq.c 	ice_debug_cq(hw, ICE_DBG_AQ_CMD, (void *)desc, buf, buf_size);
desc             1015 drivers/net/ethernet/intel/ice/ice_controlq.c void ice_fill_dflt_direct_cmd_desc(struct ice_aq_desc *desc, u16 opcode)
desc             1018 drivers/net/ethernet/intel/ice/ice_controlq.c 	memset(desc, 0, sizeof(*desc));
desc             1019 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->opcode = cpu_to_le16(opcode);
desc             1020 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->flags = cpu_to_le16(ICE_AQ_FLAG_SI);
desc             1040 drivers/net/ethernet/intel/ice/ice_controlq.c 	struct ice_aq_desc *desc;
desc             1048 drivers/net/ethernet/intel/ice/ice_controlq.c 	memset(&e->desc, 0, sizeof(e->desc));
desc             1070 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc = ICE_CTL_Q_DESC(cq->rq, ntc);
desc             1073 drivers/net/ethernet/intel/ice/ice_controlq.c 	cq->rq_last_status = (enum ice_aq_err)le16_to_cpu(desc->retval);
desc             1074 drivers/net/ethernet/intel/ice/ice_controlq.c 	flags = le16_to_cpu(desc->flags);
desc             1081 drivers/net/ethernet/intel/ice/ice_controlq.c 	memcpy(&e->desc, desc, sizeof(e->desc));
desc             1082 drivers/net/ethernet/intel/ice/ice_controlq.c 	datalen = le16_to_cpu(desc->datalen);
desc             1089 drivers/net/ethernet/intel/ice/ice_controlq.c 	ice_debug_cq(hw, ICE_DBG_AQ_CMD, (void *)desc, e->msg_buf,
desc             1096 drivers/net/ethernet/intel/ice/ice_controlq.c 	memset(desc, 0, sizeof(*desc));
desc             1098 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->flags = cpu_to_le16(ICE_AQ_FLAG_BUF);
desc             1100 drivers/net/ethernet/intel/ice/ice_controlq.c 		desc->flags |= cpu_to_le16(ICE_AQ_FLAG_LB);
desc             1101 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->datalen = cpu_to_le16(bi->size);
desc             1102 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->params.generic.addr_high = cpu_to_le32(upper_32_bits(bi->pa));
desc             1103 drivers/net/ethernet/intel/ice/ice_controlq.c 	desc->params.generic.addr_low = cpu_to_le32(lower_32_bits(bi->pa));
desc               74 drivers/net/ethernet/intel/ice/ice_controlq.h 	struct ice_aq_desc desc;
desc               27 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc               30 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_get_mib;
desc               35 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_get_mib);
desc               41 drivers/net/ethernet/intel/ice/ice_dcb.c 	desc.datalen = cpu_to_le16(buf_size);
desc               43 drivers/net/ethernet/intel/ice/ice_dcb.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc               68 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc               70 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_set_event;
desc               72 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_set_mib_change);
desc               77 drivers/net/ethernet/intel/ice/ice_dcb.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc               96 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc               98 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_stop;
desc              100 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_stop);
desc              108 drivers/net/ethernet/intel/ice/ice_dcb.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc              123 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc              125 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_start;
desc              127 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_start);
desc              134 drivers/net/ethernet/intel/ice/ice_dcb.c 	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc              152 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc              154 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_set_mib;
desc              159 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_set_local_mib);
desc              161 drivers/net/ethernet/intel/ice/ice_dcb.c 	desc.flags |= cpu_to_le16((u16)ICE_AQ_FLAG_RD);
desc              162 drivers/net/ethernet/intel/ice/ice_dcb.c 	desc.datalen = cpu_to_le16(buf_size);
desc              167 drivers/net/ethernet/intel/ice/ice_dcb.c 	return ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              728 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc              731 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.lldp_agent_ctrl;
desc              735 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, opcode);
desc              740 drivers/net/ethernet/intel/ice/ice_dcb.c 	status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc              764 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc              766 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_cee_dcb_cfg);
desc              768 drivers/net/ethernet/intel/ice/ice_dcb.c 	return ice_aq_send_cmd(hw, &desc, (void *)buff, sizeof(*buff), cd);
desc             1340 drivers/net/ethernet/intel/ice/ice_dcb.c 	struct ice_aq_desc desc;
desc             1345 drivers/net/ethernet/intel/ice/ice_dcb.c 	cmd = &desc.params.port_ets;
desc             1346 drivers/net/ethernet/intel/ice/ice_dcb.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_query_port_ets);
desc             1349 drivers/net/ethernet/intel/ice/ice_dcb.c 	status = ice_aq_send_cmd(pi->hw, &desc, buf, buf_size, cd);
desc              644 drivers/net/ethernet/intel/ice/ice_dcb_lib.c 	mib = (struct ice_aqc_lldp_get_mib *)&event->desc.params.raw;
desc             2649 drivers/net/ethernet/intel/ice/ice_ethtool.c 		tx_rings[i].desc = NULL;
desc             2681 drivers/net/ethernet/intel/ice/ice_ethtool.c 		rx_rings[i].desc = NULL;
desc              225 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	struct ice_aq_desc desc;
desc              233 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	cmd = &desc.params.download_pkg;
desc              234 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_download_pkg);
desc              235 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              240 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	status = ice_aq_send_cmd(hw, &desc, pkg_buf, buf_size, cd);
desc              386 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	struct ice_aq_desc desc;
desc              388 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_pkg_info_list);
desc              390 drivers/net/ethernet/intel/ice/ice_flex_pipe.c 	return ice_aq_send_cmd(hw, &desc, pkg_info, buf_size, cd);
desc             2758 drivers/net/ethernet/intel/ice/ice_lib.c 		if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc)
desc             2774 drivers/net/ethernet/intel/ice/ice_lib.c 		if (vsi->rx_rings[i] && vsi->rx_rings[i]->desc)
desc               96 drivers/net/ethernet/intel/ice/ice_main.c 		if (tx_ring && tx_ring->desc) {
desc             1056 drivers/net/ethernet/intel/ice/ice_main.c 		opcode = le16_to_cpu(event.desc.opcode);
desc             1068 drivers/net/ethernet/intel/ice/ice_main.c 			ice_output_fw_log(hw, &event.desc, event.msg_buf);
desc             4671 drivers/net/ethernet/intel/ice/ice_main.c 			if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc)
desc               22 drivers/net/ethernet/intel/ice/ice_nvm.c 	struct ice_aq_desc desc;
desc               25 drivers/net/ethernet/intel/ice/ice_nvm.c 	cmd = &desc.params.nvm;
desc               31 drivers/net/ethernet/intel/ice/ice_nvm.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_nvm_read);
desc               41 drivers/net/ethernet/intel/ice/ice_nvm.c 	return ice_aq_send_cmd(hw, &desc, data, length, cd);
desc              329 drivers/net/ethernet/intel/ice/ice_nvm.c 	struct ice_aq_desc desc;
desc              336 drivers/net/ethernet/intel/ice/ice_nvm.c 	cmd = &desc.params.nvm_checksum;
desc              338 drivers/net/ethernet/intel/ice/ice_nvm.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_nvm_checksum);
desc              341 drivers/net/ethernet/intel/ice/ice_nvm.c 	status = ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
desc              105 drivers/net/ethernet/intel/ice/ice_sched.c 	struct ice_aq_desc desc;
desc              108 drivers/net/ethernet/intel/ice/ice_sched.c 	cmd = &desc.params.sched_elem_cmd;
desc              109 drivers/net/ethernet/intel/ice/ice_sched.c 	ice_fill_dflt_direct_cmd_desc(&desc, cmd_opc);
desc              111 drivers/net/ethernet/intel/ice/ice_sched.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              112 drivers/net/ethernet/intel/ice/ice_sched.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              379 drivers/net/ethernet/intel/ice/ice_sched.c 	struct ice_aq_desc desc;
desc              382 drivers/net/ethernet/intel/ice/ice_sched.c 	cmd = &desc.params.get_topo;
desc              383 drivers/net/ethernet/intel/ice/ice_sched.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_dflt_topo);
desc              385 drivers/net/ethernet/intel/ice/ice_sched.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              469 drivers/net/ethernet/intel/ice/ice_sched.c 	struct ice_aq_desc desc;
desc              471 drivers/net/ethernet/intel/ice/ice_sched.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_query_sched_res);
desc              472 drivers/net/ethernet/intel/ice/ice_sched.c 	return ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc               27 drivers/net/ethernet/intel/ice/ice_sriov.c 	struct ice_aq_desc desc;
desc               29 drivers/net/ethernet/intel/ice/ice_sriov.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_mbx_opc_send_msg_to_vf);
desc               31 drivers/net/ethernet/intel/ice/ice_sriov.c 	cmd = &desc.params.virt;
desc               34 drivers/net/ethernet/intel/ice/ice_sriov.c 	desc.cookie_high = cpu_to_le32(v_opcode);
desc               35 drivers/net/ethernet/intel/ice/ice_sriov.c 	desc.cookie_low = cpu_to_le32(v_retval);
desc               38 drivers/net/ethernet/intel/ice/ice_sriov.c 		desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc               40 drivers/net/ethernet/intel/ice/ice_sriov.c 	return ice_sq_send_cmd(hw, &hw->mailboxq, &desc, msg, msglen, cd);
desc               69 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc               71 drivers/net/ethernet/intel/ice/ice_switch.c 	cmd = &desc.params.sw_res_ctrl;
desc               79 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, opc);
desc               81 drivers/net/ethernet/intel/ice/ice_switch.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc               85 drivers/net/ethernet/intel/ice/ice_switch.c 	return ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              149 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc              151 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_sw_cfg);
desc              152 drivers/net/ethernet/intel/ice/ice_switch.c 	cmd = &desc.params.get_sw_conf;
desc              155 drivers/net/ethernet/intel/ice/ice_switch.c 	status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
desc              178 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc              181 drivers/net/ethernet/intel/ice/ice_switch.c 	cmd = &desc.params.vsi_cmd;
desc              182 drivers/net/ethernet/intel/ice/ice_switch.c 	res = &desc.params.add_update_free_vsi_res;
desc              184 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_add_vsi);
desc              193 drivers/net/ethernet/intel/ice/ice_switch.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              195 drivers/net/ethernet/intel/ice/ice_switch.c 	status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info,
desc              222 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc              225 drivers/net/ethernet/intel/ice/ice_switch.c 	cmd = &desc.params.vsi_cmd;
desc              226 drivers/net/ethernet/intel/ice/ice_switch.c 	resp = &desc.params.add_update_free_vsi_res;
desc              228 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_free_vsi);
desc              234 drivers/net/ethernet/intel/ice/ice_switch.c 	status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
desc              257 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc              260 drivers/net/ethernet/intel/ice/ice_switch.c 	cmd = &desc.params.vsi_cmd;
desc              261 drivers/net/ethernet/intel/ice/ice_switch.c 	resp = &desc.params.add_update_free_vsi_res;
desc              263 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_update_vsi);
desc              267 drivers/net/ethernet/intel/ice/ice_switch.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              269 drivers/net/ethernet/intel/ice/ice_switch.c 	status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info,
desc              542 drivers/net/ethernet/intel/ice/ice_switch.c 	struct ice_aq_desc desc;
desc              549 drivers/net/ethernet/intel/ice/ice_switch.c 	ice_fill_dflt_direct_cmd_desc(&desc, opc);
desc              551 drivers/net/ethernet/intel/ice/ice_switch.c 	desc.flags |= cpu_to_le16(ICE_AQ_FLAG_RD);
desc              552 drivers/net/ethernet/intel/ice/ice_switch.c 	desc.params.sw_rules.num_rules_fltr_entry_index =
desc              554 drivers/net/ethernet/intel/ice/ice_switch.c 	return ice_aq_send_cmd(hw, &desc, rule_list, rule_list_sz, cd);
desc               65 drivers/net/ethernet/intel/ice/ice_txrx.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc               89 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (tx_ring->desc) {
desc               91 drivers/net/ethernet/intel/ice/ice_txrx.c 				   tx_ring->desc, tx_ring->dma);
desc               92 drivers/net/ethernet/intel/ice/ice_txrx.c 		tx_ring->desc = NULL;
desc              244 drivers/net/ethernet/intel/ice/ice_txrx.c 	tx_ring->desc = dmam_alloc_coherent(dev, tx_ring->size, &tx_ring->dma,
desc              246 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (!tx_ring->desc) {
desc              306 drivers/net/ethernet/intel/ice/ice_txrx.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc              325 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (rx_ring->desc) {
desc              327 drivers/net/ethernet/intel/ice/ice_txrx.c 				   rx_ring->desc, rx_ring->dma);
desc              328 drivers/net/ethernet/intel/ice/ice_txrx.c 		rx_ring->desc = NULL;
desc              356 drivers/net/ethernet/intel/ice/ice_txrx.c 	rx_ring->desc = dmam_alloc_coherent(dev, rx_ring->size, &rx_ring->dma,
desc              358 drivers/net/ethernet/intel/ice/ice_txrx.c 	if (!rx_ring->desc) {
desc              168 drivers/net/ethernet/intel/ice/ice_txrx.h 	void *desc;			/* Descriptor ring memory */
desc             2904 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c 	u32 v_opcode = le32_to_cpu(event->desc.cookie_high);
desc             2905 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c 	s16 vf_id = le16_to_cpu(event->desc.retval);
desc              256 drivers/net/ethernet/intel/igb/igb.h 	void *desc;			/* descriptor ring memory */
desc              361 drivers/net/ethernet/intel/igb/igb.h 	(&(((union e1000_adv_rx_desc *)((R)->desc))[i]))
desc              363 drivers/net/ethernet/intel/igb/igb.h 	(&(((union e1000_adv_tx_desc *)((R)->desc))[i]))
desc              365 drivers/net/ethernet/intel/igb/igb.h 	(&(((struct e1000_adv_tx_context_desc *)((R)->desc))[i]))
desc              432 drivers/net/ethernet/intel/igb/igb_main.c 		for (i = 0; tx_ring->desc && (i < tx_ring->count); i++) {
desc             4053 drivers/net/ethernet/intel/igb/igb_main.c 	tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc             4055 drivers/net/ethernet/intel/igb/igb_main.c 	if (!tx_ring->desc)
desc             4202 drivers/net/ethernet/intel/igb/igb_main.c 	rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc             4204 drivers/net/ethernet/intel/igb/igb_main.c 	if (!rx_ring->desc)
desc             4592 drivers/net/ethernet/intel/igb/igb_main.c 	if (!tx_ring->desc)
desc             4596 drivers/net/ethernet/intel/igb/igb_main.c 			  tx_ring->desc, tx_ring->dma);
desc             4598 drivers/net/ethernet/intel/igb/igb_main.c 	tx_ring->desc = NULL;
desc             4704 drivers/net/ethernet/intel/igb/igb_main.c 	if (!rx_ring->desc)
desc             4708 drivers/net/ethernet/intel/igb/igb_main.c 			  rx_ring->desc, rx_ring->dma);
desc             4710 drivers/net/ethernet/intel/igb/igb_main.c 	rx_ring->desc = NULL;
desc              127 drivers/net/ethernet/intel/igbvf/igbvf.h 	union igbvf_desc *desc;	/* pointer to ring memory  */
desc              271 drivers/net/ethernet/intel/igbvf/igbvf.h 	(&((((R).desc))[i].rx_desc))
desc              273 drivers/net/ethernet/intel/igbvf/igbvf.h 	(&((((R).desc))[i].tx_desc))
desc              275 drivers/net/ethernet/intel/igbvf/igbvf.h 	(&((((R).desc))[i].tx_context_desc))
desc              429 drivers/net/ethernet/intel/igbvf/netdev.c 	tx_ring->desc = dma_alloc_coherent(&pdev->dev, tx_ring->size,
desc              431 drivers/net/ethernet/intel/igbvf/netdev.c 	if (!tx_ring->desc)
desc              469 drivers/net/ethernet/intel/igbvf/netdev.c 	rx_ring->desc = dma_alloc_coherent(&pdev->dev, rx_ring->size,
desc              471 drivers/net/ethernet/intel/igbvf/netdev.c 	if (!rx_ring->desc)
desc              513 drivers/net/ethernet/intel/igbvf/netdev.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc              537 drivers/net/ethernet/intel/igbvf/netdev.c 	dma_free_coherent(&pdev->dev, tx_ring->size, tx_ring->desc,
desc              540 drivers/net/ethernet/intel/igbvf/netdev.c 	tx_ring->desc = NULL;
desc              596 drivers/net/ethernet/intel/igbvf/netdev.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc              621 drivers/net/ethernet/intel/igbvf/netdev.c 	dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
desc              623 drivers/net/ethernet/intel/igbvf/netdev.c 	rx_ring->desc = NULL;
desc              251 drivers/net/ethernet/intel/igc/igc.h 	void *desc;                     /* descriptor ring memory */
desc              522 drivers/net/ethernet/intel/igc/igc.h 	(&(((union igc_adv_rx_desc *)((R)->desc))[i]))
desc              524 drivers/net/ethernet/intel/igc/igc.h 	(&(((union igc_adv_tx_desc *)((R)->desc))[i]))
desc              526 drivers/net/ethernet/intel/igc/igc.h 	(&(((struct igc_adv_tx_context_desc *)((R)->desc))[i]))
desc              192 drivers/net/ethernet/intel/igc/igc_main.c 	if (!tx_ring->desc)
desc              196 drivers/net/ethernet/intel/igc/igc_main.c 			  tx_ring->desc, tx_ring->dma);
desc              198 drivers/net/ethernet/intel/igc/igc_main.c 	tx_ring->desc = NULL;
desc              309 drivers/net/ethernet/intel/igc/igc_main.c 	tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc              312 drivers/net/ethernet/intel/igc/igc_main.c 	if (!tx_ring->desc)
desc              422 drivers/net/ethernet/intel/igc/igc_main.c 	if (!rx_ring->desc)
desc              426 drivers/net/ethernet/intel/igc/igc_main.c 			  rx_ring->desc, rx_ring->dma);
desc              428 drivers/net/ethernet/intel/igc/igc_main.c 	rx_ring->desc = NULL;
desc              467 drivers/net/ethernet/intel/igc/igc_main.c 	rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc              470 drivers/net/ethernet/intel/igc/igc_main.c 	if (!rx_ring->desc)
desc               86 drivers/net/ethernet/intel/ixgb/ixgb.h 	void *desc;
desc              105 drivers/net/ethernet/intel/ixgb/ixgb.h #define IXGB_GET_DESC(R, i, type)	(&(((struct type *)((R).desc))[i]))
desc              683 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma,
desc              685 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	if (!txdr->desc) {
desc              766 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	rxdr->desc = dma_alloc_coherent(&pdev->dev, rxdr->size, &rxdr->dma,
desc              769 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	if (!rxdr->desc) {
desc              886 drivers/net/ethernet/intel/ixgb/ixgb_main.c 			  adapter->tx_ring.desc, adapter->tx_ring.dma);
desc              888 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	adapter->tx_ring.desc = NULL;
desc              940 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc              967 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	dma_free_coherent(&pdev->dev, rx_ring->size, rx_ring->desc,
desc              970 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	rx_ring->desc = NULL;
desc             1011 drivers/net/ethernet/intel/ixgb/ixgb_main.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc               24 drivers/net/ethernet/intel/ixgb/ixgb_param.c #define IXGB_PARAM(X, desc)					\
desc               29 drivers/net/ethernet/intel/ixgb/ixgb_param.c 	MODULE_PARM_DESC(X, desc);
desc              314 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	void *desc;			/* descriptor ring memory */
desc              516 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	(&(((union ixgbe_adv_rx_desc *)((R)->desc))[i]))
desc              518 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	(&(((union ixgbe_adv_tx_desc *)((R)->desc))[i]))
desc              520 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	(&(((struct ixgbe_adv_tx_context_desc *)((R)->desc))[i]))
desc              935 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	xs->props.ealgo = algo->desc.sadb_alg_id;
desc              672 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		for (i = 0; ring->desc && (i < ring->count); i++) {
desc             6466 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	tx_ring->desc = dma_alloc_coherent(dev,
desc             6471 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!tx_ring->desc)
desc             6472 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		tx_ring->desc = dma_alloc_coherent(dev, tx_ring->size,
desc             6474 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!tx_ring->desc)
desc             6560 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	rx_ring->desc = dma_alloc_coherent(dev,
desc             6565 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!rx_ring->desc)
desc             6566 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		rx_ring->desc = dma_alloc_coherent(dev, rx_ring->size,
desc             6568 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!rx_ring->desc)
desc             6638 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!tx_ring->desc)
desc             6642 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			  tx_ring->desc, tx_ring->dma);
desc             6644 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	tx_ring->desc = NULL;
desc             6658 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (adapter->tx_ring[i]->desc)
desc             6661 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (adapter->xdp_ring[i]->desc)
desc             6681 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	if (!rx_ring->desc)
desc             6685 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			  rx_ring->desc, rx_ring->dma);
desc             6687 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	rx_ring->desc = NULL;
desc             6705 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		if (adapter->rx_ring[i]->desc)
desc              581 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 	struct xdp_desc desc;
desc              592 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		if (!xsk_umem_consume_tx(xdp_ring->xsk_umem, &desc))
desc              595 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		dma = xdp_umem_get_dma(xdp_ring->xsk_umem, desc.addr);
desc              597 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		dma_sync_single_for_device(xdp_ring->dev, dma, desc.len,
desc              601 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		tx_bi->bytecount = desc.len;
desc              612 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 		cmd_type |= desc.len | IXGBE_TXD_CMD;
desc              615 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c 			cpu_to_le32(desc.len << IXGBE_ADVTXD_PAYLEN_SHIFT);
desc               96 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	void *desc;			/* descriptor ring memory */
desc              300 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	(&(((union ixgbe_adv_rx_desc *)((R)->desc))[i]))
desc              302 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	(&(((union ixgbe_adv_tx_desc *)((R)->desc))[i]))
desc              304 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h 	(&(((struct ixgbe_adv_tx_context_desc *)((R)->desc))[i]))
desc             3350 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (!tx_ring->desc)
desc             3353 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	dma_free_coherent(tx_ring->dev, tx_ring->size, tx_ring->desc,
desc             3356 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	tx_ring->desc = NULL;
desc             3370 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (adapter->tx_ring[i]->desc)
desc             3373 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (adapter->xdp_ring[i]->desc)
desc             3399 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	tx_ring->desc = dma_alloc_coherent(tx_ring->dev, tx_ring->size,
desc             3401 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (!tx_ring->desc)
desc             3477 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	rx_ring->desc = dma_alloc_coherent(rx_ring->dev, rx_ring->size,
desc             3480 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	if (!rx_ring->desc)
desc             3543 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	dma_free_coherent(rx_ring->dev, rx_ring->size, rx_ring->desc,
desc             3546 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 	rx_ring->desc = NULL;
desc             3560 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 		if (adapter->rx_ring[i]->desc)
desc              571 drivers/net/ethernet/jme.c 	txring->desc		= (void *)ALIGN((unsigned long)(txring->alloc),
desc              593 drivers/net/ethernet/jme.c 	txring->desc = NULL;
desc              630 drivers/net/ethernet/jme.c 		txring->desc		= NULL;
desc              707 drivers/net/ethernet/jme.c 	register struct rxdesc *rxdesc = rxring->desc;
desc              792 drivers/net/ethernet/jme.c 		rxring->desc     = NULL;
desc              817 drivers/net/ethernet/jme.c 	rxring->desc		= (void *)ALIGN((unsigned long)(rxring->alloc),
desc              849 drivers/net/ethernet/jme.c 	rxring->desc = NULL;
desc              999 drivers/net/ethernet/jme.c 	struct rxdesc *rxdesc = rxring->desc;
desc             1071 drivers/net/ethernet/jme.c 		rxdesc = rxring->desc;
desc             1424 drivers/net/ethernet/jme.c 	struct txdesc *txdesc = txring->desc;
desc             2027 drivers/net/ethernet/jme.c 	struct txdesc *txdesc = txring->desc, *ctxdesc;
desc             2144 drivers/net/ethernet/jme.c 	txdesc = (struct txdesc *)txring->desc + idx;
desc              365 drivers/net/ethernet/jme.h 	void *desc;		/* pointer to ring memory  */
desc              107 drivers/net/ethernet/lantiq_etop.c 	ch->skb[ch->dma.desc] = netdev_alloc_skb(ch->netdev, MAX_DMA_DATA_LEN);
desc              108 drivers/net/ethernet/lantiq_etop.c 	if (!ch->skb[ch->dma.desc])
desc              110 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(&priv->pdev->dev,
desc              111 drivers/net/ethernet/lantiq_etop.c 		ch->skb[ch->dma.desc]->data, MAX_DMA_DATA_LEN,
desc              113 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc_base[ch->dma.desc].addr =
desc              114 drivers/net/ethernet/lantiq_etop.c 		CPHYSADDR(ch->skb[ch->dma.desc]->data);
desc              115 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc_base[ch->dma.desc].ctl =
desc              118 drivers/net/ethernet/lantiq_etop.c 	skb_reserve(ch->skb[ch->dma.desc], NET_IP_ALIGN);
desc              126 drivers/net/ethernet/lantiq_etop.c 	struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              127 drivers/net/ethernet/lantiq_etop.c 	struct sk_buff *skb = ch->skb[ch->dma.desc];
desc              128 drivers/net/ethernet/lantiq_etop.c 	int len = (desc->ctl & LTQ_DMA_SIZE_MASK) - MAX_DMA_CRC_LEN;
desc              137 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc++;
desc              138 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc %= LTQ_DESC_NUM;
desc              154 drivers/net/ethernet/lantiq_etop.c 		struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              156 drivers/net/ethernet/lantiq_etop.c 		if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) != LTQ_DMA_C)
desc              216 drivers/net/ethernet/lantiq_etop.c 		int desc;
desc              217 drivers/net/ethernet/lantiq_etop.c 		for (desc = 0; desc < LTQ_DESC_NUM; desc++)
desc              218 drivers/net/ethernet/lantiq_etop.c 			dev_kfree_skb_any(ch->skb[ch->dma.desc]);
desc              276 drivers/net/ethernet/lantiq_etop.c 			for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM;
desc              277 drivers/net/ethernet/lantiq_etop.c 					ch->dma.desc++)
desc              280 drivers/net/ethernet/lantiq_etop.c 			ch->dma.desc = 0;
desc              461 drivers/net/ethernet/lantiq_etop.c 	struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              468 drivers/net/ethernet/lantiq_etop.c 	if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) {
desc              477 drivers/net/ethernet/lantiq_etop.c 	ch->skb[ch->dma.desc] = skb;
desc              482 drivers/net/ethernet/lantiq_etop.c 	desc->addr = ((unsigned int) dma_map_single(&priv->pdev->dev, skb->data, len,
desc              485 drivers/net/ethernet/lantiq_etop.c 	desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP |
desc              487 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc++;
desc              488 drivers/net/ethernet/lantiq_etop.c 	ch->dma.desc %= LTQ_DESC_NUM;
desc              491 drivers/net/ethernet/lantiq_etop.c 	if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN)
desc              103 drivers/net/ethernet/lantiq_xrx200.c 		struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              105 drivers/net/ethernet/lantiq_xrx200.c 		if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) != LTQ_DMA_C)
desc              108 drivers/net/ethernet/lantiq_xrx200.c 		desc->ctl = LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) |
desc              110 drivers/net/ethernet/lantiq_xrx200.c 		ch->dma.desc++;
desc              111 drivers/net/ethernet/lantiq_xrx200.c 		ch->dma.desc %= LTQ_DESC_NUM;
desc              159 drivers/net/ethernet/lantiq_xrx200.c 	ch->skb[ch->dma.desc] = netdev_alloc_skb_ip_align(ch->priv->net_dev,
desc              161 drivers/net/ethernet/lantiq_xrx200.c 	if (!ch->skb[ch->dma.desc]) {
desc              166 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(ch->priv->dev,
desc              167 drivers/net/ethernet/lantiq_xrx200.c 			ch->skb[ch->dma.desc]->data, XRX200_DMA_DATA_LEN,
desc              170 drivers/net/ethernet/lantiq_xrx200.c 				       ch->dma.desc_base[ch->dma.desc].addr))) {
desc              171 drivers/net/ethernet/lantiq_xrx200.c 		dev_kfree_skb_any(ch->skb[ch->dma.desc]);
desc              177 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc_base[ch->dma.desc].ctl =
desc              187 drivers/net/ethernet/lantiq_xrx200.c 	struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              188 drivers/net/ethernet/lantiq_xrx200.c 	struct sk_buff *skb = ch->skb[ch->dma.desc];
desc              189 drivers/net/ethernet/lantiq_xrx200.c 	int len = (desc->ctl & LTQ_DMA_SIZE_MASK);
desc              195 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc++;
desc              196 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc %= LTQ_DESC_NUM;
desc              220 drivers/net/ethernet/lantiq_xrx200.c 		struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              222 drivers/net/ethernet/lantiq_xrx200.c 		if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) == LTQ_DMA_C) {
desc              249 drivers/net/ethernet/lantiq_xrx200.c 		struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free];
desc              251 drivers/net/ethernet/lantiq_xrx200.c 		if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) == LTQ_DMA_C) {
desc              283 drivers/net/ethernet/lantiq_xrx200.c 	struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc];
desc              296 drivers/net/ethernet/lantiq_xrx200.c 	if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) {
desc              302 drivers/net/ethernet/lantiq_xrx200.c 	ch->skb[ch->dma.desc] = skb;
desc              311 drivers/net/ethernet/lantiq_xrx200.c 	desc->addr = mapping - byte_offset;
desc              314 drivers/net/ethernet/lantiq_xrx200.c 	desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP |
desc              316 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc++;
desc              317 drivers/net/ethernet/lantiq_xrx200.c 	ch->dma.desc %= LTQ_DESC_NUM;
desc              318 drivers/net/ethernet/lantiq_xrx200.c 	if (ch->dma.desc == ch->tx_free)
desc              366 drivers/net/ethernet/lantiq_xrx200.c 	for (ch_rx->dma.desc = 0; ch_rx->dma.desc < LTQ_DESC_NUM;
desc              367 drivers/net/ethernet/lantiq_xrx200.c 	     ch_rx->dma.desc++) {
desc              372 drivers/net/ethernet/lantiq_xrx200.c 	ch_rx->dma.desc = 0;
desc              736 drivers/net/ethernet/marvell/mv643xx_eth.c 	struct tx_desc *desc;
desc              741 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc = &txq->tx_desc_area[tx_index];
desc              744 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->l4i_chk = 0;
desc              745 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->byte_cnt = length;
desc              751 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->buf_ptr = txq->tso_hdrs_dma
desc              756 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->buf_ptr = dma_map_single(dev->dev.parent, data,
desc              759 drivers/net/ethernet/marvell/mv643xx_eth.c 					       desc->buf_ptr))) {
desc              773 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->cmd_sts = cmd_sts;
desc              784 drivers/net/ethernet/marvell/mv643xx_eth.c 	struct tx_desc *desc;
desc              791 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc = &txq->tx_desc_area[tx_index];
desc              799 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->l4i_chk = 0;
desc              801 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->byte_cnt = hdr_len;
desc              802 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->buf_ptr = txq->tso_hdrs_dma +
desc              813 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->cmd_sts = cmd_sts;
desc              903 drivers/net/ethernet/marvell/mv643xx_eth.c 		struct tx_desc *desc;
desc              909 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc = &txq->tx_desc_area[tx_index];
desc              917 drivers/net/ethernet/marvell/mv643xx_eth.c 			desc->cmd_sts = BUFFER_OWNED_BY_DMA |
desc              921 drivers/net/ethernet/marvell/mv643xx_eth.c 			desc->cmd_sts = BUFFER_OWNED_BY_DMA;
desc              924 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->l4i_chk = 0;
desc              925 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->byte_cnt = skb_frag_size(this_frag);
desc              926 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc->buf_ptr = skb_frag_dma_map(mp->dev->dev.parent,
desc              927 drivers/net/ethernet/marvell/mv643xx_eth.c 						 this_frag, 0, desc->byte_cnt,
desc              938 drivers/net/ethernet/marvell/mv643xx_eth.c 	struct tx_desc *desc;
desc              960 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc = &txq->tx_desc_area[tx_index];
desc              971 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->l4i_chk = l4i_chk;
desc              972 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->byte_cnt = length;
desc              973 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->buf_ptr = dma_map_single(mp->dev->dev.parent, skb->data,
desc              982 drivers/net/ethernet/marvell/mv643xx_eth.c 	desc->cmd_sts = cmd_sts;
desc             1071 drivers/net/ethernet/marvell/mv643xx_eth.c 		struct tx_desc *desc;
desc             1076 drivers/net/ethernet/marvell/mv643xx_eth.c 		desc = &txq->tx_desc_area[tx_index];
desc             1079 drivers/net/ethernet/marvell/mv643xx_eth.c 		cmd_sts = desc->cmd_sts;
desc             1084 drivers/net/ethernet/marvell/mv643xx_eth.c 			desc->cmd_sts = cmd_sts & ~BUFFER_OWNED_BY_DMA;
desc             1094 drivers/net/ethernet/marvell/mv643xx_eth.c 		if (!IS_TSO_HEADER(txq, desc->buf_ptr)) {
desc             1098 drivers/net/ethernet/marvell/mv643xx_eth.c 					       desc->buf_ptr,
desc             1099 drivers/net/ethernet/marvell/mv643xx_eth.c 					       desc->byte_cnt,
desc             1103 drivers/net/ethernet/marvell/mv643xx_eth.c 						 desc->buf_ptr,
desc             1104 drivers/net/ethernet/marvell/mv643xx_eth.c 						 desc->byte_cnt,
desc              181 drivers/net/ethernet/marvell/mvpp2/mvpp2.h #define     MVPP2_PREF_BUF_PTR(desc)		((desc) & 0xfff)
desc             2458 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	int desc, desc_per_txq, tx_port_num;
desc             2492 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	desc = (port->id * MVPP2_MAX_TXQ * desc_per_txq) +
desc             2496 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			   MVPP2_PREF_BUF_PTR(desc) | MVPP2_PREF_BUF_SIZE_16 |
desc             3018 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		  struct mvpp2_tx_desc *desc)
desc             3024 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		mvpp2_txdesc_dma_addr_get(port, desc);
desc             3026 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		mvpp2_txdesc_size_get(port, desc);
desc              699 drivers/net/ethernet/marvell/pxa168_eth.c 	struct tx_desc *desc;
desc              712 drivers/net/ethernet/marvell/pxa168_eth.c 		desc = &pep->p_tx_desc_area[tx_index];
desc              713 drivers/net/ethernet/marvell/pxa168_eth.c 		cmd_sts = desc->cmd_sts;
desc              724 drivers/net/ethernet/marvell/pxa168_eth.c 		addr = desc->buf_ptr;
desc              725 drivers/net/ethernet/marvell/pxa168_eth.c 		count = desc->byte_cnt;
desc             1257 drivers/net/ethernet/marvell/pxa168_eth.c 	struct tx_desc *desc;
desc             1262 drivers/net/ethernet/marvell/pxa168_eth.c 	desc = &pep->p_tx_desc_area[tx_index];
desc             1265 drivers/net/ethernet/marvell/pxa168_eth.c 	desc->byte_cnt = length;
desc             1266 drivers/net/ethernet/marvell/pxa168_eth.c 	desc->buf_ptr = dma_map_single(&pep->pdev->dev, skb->data, length,
desc             1272 drivers/net/ethernet/marvell/pxa168_eth.c 	desc->cmd_sts = BUF_OWNED_BY_DMA | TX_GEN_CRC | TX_FIRST_DESC |
desc              920 drivers/net/ethernet/marvell/skge.c 		e->desc = d;
desc              938 drivers/net/ethernet/marvell/skge.c 	struct skge_rx_desc *rd = e->desc;
desc              969 drivers/net/ethernet/marvell/skge.c 	struct skge_rx_desc *rd = e->desc;
desc              989 drivers/net/ethernet/marvell/skge.c 		struct skge_rx_desc *rd = e->desc;
desc             2514 drivers/net/ethernet/marvell/skge.c 	u64 base = skge->dma + (e->desc - skge->mem);
desc             2747 drivers/net/ethernet/marvell/skge.c 	td = e->desc;
desc             2795 drivers/net/ethernet/marvell/skge.c 			tf = e->desc;
desc             2874 drivers/net/ethernet/marvell/skge.c 		struct skge_tx_desc *td = e->desc;
desc             3156 drivers/net/ethernet/marvell/skge.c 		u32 control = ((const struct skge_tx_desc *) e->desc)->control;
desc             3206 drivers/net/ethernet/marvell/skge.c 		struct skge_rx_desc *rd = e->desc;
desc             3703 drivers/net/ethernet/marvell/skge.c 		const struct skge_tx_desc *t = e->desc;
desc             3711 drivers/net/ethernet/marvell/skge.c 		const struct skge_rx_desc *r = e->desc;
desc             2396 drivers/net/ethernet/marvell/skge.h 	void			*desc;
desc              821 drivers/net/ethernet/mediatek/mtk_eth_soc.c static inline void *mtk_qdma_phys_to_virt(struct mtk_tx_ring *ring, u32 desc)
desc              825 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	return ret + (desc - ring->phys);
desc             1345 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_tx_dma *desc;
desc             1353 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	desc = mtk_qdma_phys_to_virt(ring, cpu);
desc             1356 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		u32 next_cpu = desc->txd2;
desc             1359 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		desc = mtk_qdma_phys_to_virt(ring, desc->txd2);
desc             1360 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		if ((desc->txd3 & TX_DMA_OWNER_CPU) == 0)
desc             1363 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		tx_buf = mtk_desc_to_tx_buf(ring, desc);
desc             1378 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		ring->last_free = desc;
desc             1393 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	struct mtk_tx_dma *desc;
desc             1415 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		desc = &ring->dma[cpu];
desc             1416 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		ring->last_free = desc;
desc               55 drivers/net/ethernet/mellanox/mlx4/en_main.c #define MLX4_EN_PARM_INT(X, def_val, desc) \
desc               58 drivers/net/ethernet/mellanox/mlx4/en_main.c 	MODULE_PARM_DESC(X, desc);
desc              374 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	struct mlx5_field_desc *desc;
desc              381 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	desc = filp->private_data;
desc              382 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	d = (void *)(desc - desc->i) - sizeof(*d);
desc              385 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 		field = qp_read_field(d->dev, d->object, desc->i, &is_str);
desc              389 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 		field = eq_read_field(d->dev, d->object, desc->i);
desc              393 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 		field = cq_read_field(d->dev, d->object, desc->i);
desc               79 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c 		struct xdp_desc desc;
desc               86 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c 		if (!xsk_umem_consume_tx(umem, &desc)) {
desc               95 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c 		xdptxd.dma_addr = xdp_umem_get_dma(umem, desc.addr);
desc               96 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c 		xdptxd.data = xdp_umem_get_data(umem, desc.addr);
desc               97 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c 		xdptxd.len = desc.len;
desc              984 drivers/net/ethernet/micrel/ksz884x.c #define DMA_BUFFER(desc)  ((struct ksz_dma_buf *)(&(desc)->dma_buf))
desc             1590 drivers/net/ethernet/micrel/ksz884x.c static inline void reset_desc(struct ksz_desc *desc, union desc_stat status)
desc             1593 drivers/net/ethernet/micrel/ksz884x.c 	desc->phw->ctrl.data = cpu_to_le32(status.data);
desc             1596 drivers/net/ethernet/micrel/ksz884x.c static inline void release_desc(struct ksz_desc *desc)
desc             1598 drivers/net/ethernet/micrel/ksz884x.c 	desc->sw.ctrl.tx.hw_owned = 1;
desc             1599 drivers/net/ethernet/micrel/ksz884x.c 	if (desc->sw.buf_size != desc->sw.buf.data) {
desc             1600 drivers/net/ethernet/micrel/ksz884x.c 		desc->sw.buf_size = desc->sw.buf.data;
desc             1601 drivers/net/ethernet/micrel/ksz884x.c 		desc->phw->buf.data = cpu_to_le32(desc->sw.buf.data);
desc             1603 drivers/net/ethernet/micrel/ksz884x.c 	desc->phw->ctrl.data = cpu_to_le32(desc->sw.ctrl.data);
desc             1606 drivers/net/ethernet/micrel/ksz884x.c static void get_rx_pkt(struct ksz_desc_info *info, struct ksz_desc **desc)
desc             1608 drivers/net/ethernet/micrel/ksz884x.c 	*desc = &info->ring[info->last];
desc             1612 drivers/net/ethernet/micrel/ksz884x.c 	(*desc)->sw.buf.data &= ~KS_DESC_RX_MASK;
desc             1615 drivers/net/ethernet/micrel/ksz884x.c static inline void set_rx_buf(struct ksz_desc *desc, u32 addr)
desc             1617 drivers/net/ethernet/micrel/ksz884x.c 	desc->phw->addr = cpu_to_le32(addr);
desc             1620 drivers/net/ethernet/micrel/ksz884x.c static inline void set_rx_len(struct ksz_desc *desc, u32 len)
desc             1622 drivers/net/ethernet/micrel/ksz884x.c 	desc->sw.buf.rx.buf_size = len;
desc             1626 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc **desc)
desc             1628 drivers/net/ethernet/micrel/ksz884x.c 	*desc = &info->ring[info->next];
desc             1632 drivers/net/ethernet/micrel/ksz884x.c 	(*desc)->sw.buf.data &= ~KS_DESC_TX_MASK;
desc             1635 drivers/net/ethernet/micrel/ksz884x.c static inline void set_tx_buf(struct ksz_desc *desc, u32 addr)
desc             1637 drivers/net/ethernet/micrel/ksz884x.c 	desc->phw->addr = cpu_to_le32(addr);
desc             1640 drivers/net/ethernet/micrel/ksz884x.c static inline void set_tx_len(struct ksz_desc *desc, u32 len)
desc             1642 drivers/net/ethernet/micrel/ksz884x.c 	desc->sw.buf.tx.buf_size = len;
desc             3830 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_hw_desc *desc = desc_info->ring_virt;
desc             3835 drivers/net/ethernet/micrel/ksz884x.c 		cur->phw = desc++;
desc             4449 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             4455 drivers/net/ethernet/micrel/ksz884x.c 		get_rx_pkt(info, &desc);
desc             4457 drivers/net/ethernet/micrel/ksz884x.c 		dma_buf = DMA_BUFFER(desc);
desc             4471 drivers/net/ethernet/micrel/ksz884x.c 		set_rx_buf(desc, dma_buf->dma);
desc             4472 drivers/net/ethernet/micrel/ksz884x.c 		set_rx_len(desc, dma_buf->len);
desc             4473 drivers/net/ethernet/micrel/ksz884x.c 		release_desc(desc);
desc             4574 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc = desc_info->ring;
desc             4577 drivers/net/ethernet/micrel/ksz884x.c 		dma_buf = DMA_BUFFER(desc);
desc             4580 drivers/net/ethernet/micrel/ksz884x.c 		desc++;
desc             4629 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             4651 drivers/net/ethernet/micrel/ksz884x.c 	desc = first;
desc             4653 drivers/net/ethernet/micrel/ksz884x.c 	dma_buf = DMA_BUFFER(desc);
desc             4663 drivers/net/ethernet/micrel/ksz884x.c 		set_tx_buf(desc, dma_buf->dma);
desc             4664 drivers/net/ethernet/micrel/ksz884x.c 		set_tx_len(desc, dma_buf->len);
desc             4671 drivers/net/ethernet/micrel/ksz884x.c 			get_tx_pkt(info, &desc);
desc             4676 drivers/net/ethernet/micrel/ksz884x.c 			dma_buf = DMA_BUFFER(desc);
desc             4684 drivers/net/ethernet/micrel/ksz884x.c 			set_tx_buf(desc, dma_buf->dma);
desc             4685 drivers/net/ethernet/micrel/ksz884x.c 			set_tx_len(desc, dma_buf->len);
desc             4692 drivers/net/ethernet/micrel/ksz884x.c 			release_desc(desc);
desc             4696 drivers/net/ethernet/micrel/ksz884x.c 		info->cur = desc;
desc             4706 drivers/net/ethernet/micrel/ksz884x.c 		set_tx_buf(desc, dma_buf->dma);
desc             4707 drivers/net/ethernet/micrel/ksz884x.c 		set_tx_len(desc, dma_buf->len);
desc             4711 drivers/net/ethernet/micrel/ksz884x.c 		(desc)->sw.buf.tx.csum_gen_tcp = 1;
desc             4712 drivers/net/ethernet/micrel/ksz884x.c 		(desc)->sw.buf.tx.csum_gen_udp = 1;
desc             4740 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             4749 drivers/net/ethernet/micrel/ksz884x.c 		desc = &info->ring[last];
desc             4750 drivers/net/ethernet/micrel/ksz884x.c 		status.data = le32_to_cpu(desc->phw->ctrl.data);
desc             4755 drivers/net/ethernet/micrel/ksz884x.c 				reset_desc(desc, status);
desc             4758 drivers/net/ethernet/micrel/ksz884x.c 		dma_buf = DMA_BUFFER(desc);
desc             4981 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc, union desc_stat status)
desc             4993 drivers/net/ethernet/micrel/ksz884x.c 	dma_buf = DMA_BUFFER(desc);
desc             5038 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             5044 drivers/net/ethernet/micrel/ksz884x.c 		desc = &info->ring[next];
desc             5045 drivers/net/ethernet/micrel/ksz884x.c 		status.data = le32_to_cpu(desc->phw->ctrl.data);
desc             5051 drivers/net/ethernet/micrel/ksz884x.c 			if (rx_proc(dev, hw, desc, status))
desc             5057 drivers/net/ethernet/micrel/ksz884x.c 		release_desc(desc);
desc             5074 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             5080 drivers/net/ethernet/micrel/ksz884x.c 		desc = &info->ring[next];
desc             5081 drivers/net/ethernet/micrel/ksz884x.c 		status.data = le32_to_cpu(desc->phw->ctrl.data);
desc             5096 drivers/net/ethernet/micrel/ksz884x.c 			if (rx_proc(dev, hw, desc, status))
desc             5102 drivers/net/ethernet/micrel/ksz884x.c 		release_desc(desc);
desc             5119 drivers/net/ethernet/micrel/ksz884x.c 	struct ksz_desc *desc;
desc             5125 drivers/net/ethernet/micrel/ksz884x.c 		desc = &info->ring[next];
desc             5126 drivers/net/ethernet/micrel/ksz884x.c 		status.data = le32_to_cpu(desc->phw->ctrl.data);
desc             5149 drivers/net/ethernet/micrel/ksz884x.c 				if (rx_proc(dev, hw, desc, status))
desc             5161 drivers/net/ethernet/micrel/ksz884x.c 		release_desc(desc);
desc               32 drivers/net/ethernet/moxa/moxart_ether.c static inline void moxart_desc_write(u32 data, u32 *desc)
desc               34 drivers/net/ethernet/moxa/moxart_ether.c 	*desc = cpu_to_le32(data);
desc               37 drivers/net/ethernet/moxa/moxart_ether.c static inline u32 moxart_desc_read(u32 *desc)
desc               39 drivers/net/ethernet/moxa/moxart_ether.c 	return le32_to_cpu(*desc);
desc              128 drivers/net/ethernet/moxa/moxart_ether.c 	void *desc;
desc              132 drivers/net/ethernet/moxa/moxart_ether.c 		desc = priv->tx_desc_base + i * TX_REG_DESC_SIZE;
desc              133 drivers/net/ethernet/moxa/moxart_ether.c 		memset(desc, 0, TX_REG_DESC_SIZE);
desc              137 drivers/net/ethernet/moxa/moxart_ether.c 	moxart_desc_write(TX_DESC1_END, desc + TX_REG_OFFSET_DESC1);
desc              143 drivers/net/ethernet/moxa/moxart_ether.c 		desc = priv->rx_desc_base + i * RX_REG_DESC_SIZE;
desc              144 drivers/net/ethernet/moxa/moxart_ether.c 		memset(desc, 0, RX_REG_DESC_SIZE);
desc              145 drivers/net/ethernet/moxa/moxart_ether.c 		moxart_desc_write(RX_DESC0_DMA_OWN, desc + RX_REG_OFFSET_DESC0);
desc              147 drivers/net/ethernet/moxa/moxart_ether.c 		       desc + RX_REG_OFFSET_DESC1);
desc              158 drivers/net/ethernet/moxa/moxart_ether.c 		       desc + RX_REG_OFFSET_DESC2 + RX_DESC2_ADDRESS_PHYS);
desc              160 drivers/net/ethernet/moxa/moxart_ether.c 		       desc + RX_REG_OFFSET_DESC2 + RX_DESC2_ADDRESS_VIRT);
desc              162 drivers/net/ethernet/moxa/moxart_ether.c 	moxart_desc_write(RX_DESC1_END, desc + RX_REG_OFFSET_DESC1);
desc              217 drivers/net/ethernet/moxa/moxart_ether.c 	void *desc;
desc              223 drivers/net/ethernet/moxa/moxart_ether.c 		desc = priv->rx_desc_base + (RX_REG_DESC_SIZE * rx_head);
desc              224 drivers/net/ethernet/moxa/moxart_ether.c 		desc0 = moxart_desc_read(desc + RX_REG_OFFSET_DESC0);
desc              268 drivers/net/ethernet/moxa/moxart_ether.c 		moxart_desc_write(RX_DESC0_DMA_OWN, desc + RX_REG_OFFSET_DESC0);
desc              337 drivers/net/ethernet/moxa/moxart_ether.c 	void *desc;
desc              346 drivers/net/ethernet/moxa/moxart_ether.c 	desc = priv->tx_desc_base + (TX_REG_DESC_SIZE * tx_head);
desc              351 drivers/net/ethernet/moxa/moxart_ether.c 	if (moxart_desc_read(desc + TX_REG_OFFSET_DESC0) & TX_DESC0_DMA_OWN) {
desc              371 drivers/net/ethernet/moxa/moxart_ether.c 	       desc + TX_REG_OFFSET_DESC2 + TX_DESC2_ADDRESS_PHYS);
desc              373 drivers/net/ethernet/moxa/moxart_ether.c 	       desc + TX_REG_OFFSET_DESC2 + TX_DESC2_ADDRESS_VIRT);
desc              387 drivers/net/ethernet/moxa/moxart_ether.c 	moxart_desc_write(txdes1, desc + TX_REG_OFFSET_DESC1);
desc              389 drivers/net/ethernet/moxa/moxart_ether.c 	moxart_desc_write(TX_DESC0_DMA_OWN, desc + TX_REG_OFFSET_DESC0);
desc              367 drivers/net/ethernet/natsemi/ns83820.c #define desc_addr_set(desc, addr)				\
desc              369 drivers/net/ethernet/natsemi/ns83820.c 		((desc)[0] = cpu_to_le32(addr));		\
desc              371 drivers/net/ethernet/natsemi/ns83820.c 			(desc)[1] = cpu_to_le32(((u64)addr) >> 32);	\
desc              373 drivers/net/ethernet/natsemi/ns83820.c #define desc_addr_get(desc)					\
desc              374 drivers/net/ethernet/natsemi/ns83820.c 	(le32_to_cpu((desc)[0]) | \
desc              375 drivers/net/ethernet/natsemi/ns83820.c 	(HW_ADDR_LEN == 8 ? ((dma_addr_t)le32_to_cpu((desc)[1]))<<32 : 0))
desc              490 drivers/net/ethernet/natsemi/ns83820.c static inline void build_rx_desc(struct ns83820 *dev, __le32 *desc, dma_addr_t link, dma_addr_t buf, u32 cmdsts, u32 extsts)
desc              492 drivers/net/ethernet/natsemi/ns83820.c 	desc_addr_set(desc + DESC_LINK, link);
desc              493 drivers/net/ethernet/natsemi/ns83820.c 	desc_addr_set(desc + DESC_BUFPTR, buf);
desc              494 drivers/net/ethernet/natsemi/ns83820.c 	desc[DESC_EXTSTS] = cpu_to_le32(extsts);
desc              496 drivers/net/ethernet/natsemi/ns83820.c 	desc[DESC_CMDSTS] = cpu_to_le32(cmdsts);
desc              823 drivers/net/ethernet/natsemi/ns83820.c 	__le32 *desc;
desc              843 drivers/net/ethernet/natsemi/ns83820.c 	desc = info->next_rx_desc;
desc              844 drivers/net/ethernet/natsemi/ns83820.c 	while ((CMDSTS_OWN & (cmdsts = le32_to_cpu(desc[DESC_CMDSTS]))) &&
desc              847 drivers/net/ethernet/natsemi/ns83820.c 		u32 extsts = le32_to_cpu(desc[DESC_EXTSTS]);
desc              848 drivers/net/ethernet/natsemi/ns83820.c 		dma_addr_t bufptr = desc_addr_get(desc + DESC_BUFPTR);
desc              851 drivers/net/ethernet/natsemi/ns83820.c 		dprintk("link: %08x\n", cpu_to_le32(desc[DESC_LINK]));
desc              913 drivers/net/ethernet/natsemi/ns83820.c 		desc = info->descs + (DESC_SIZE * next_rx);
desc              958 drivers/net/ethernet/natsemi/ns83820.c 	__le32 *desc;
desc              962 drivers/net/ethernet/natsemi/ns83820.c 	desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
desc              965 drivers/net/ethernet/natsemi/ns83820.c 		tx_done_idx, dev->tx_free_idx, le32_to_cpu(desc[DESC_CMDSTS]));
desc              967 drivers/net/ethernet/natsemi/ns83820.c 	       !(CMDSTS_OWN & (cmdsts = le32_to_cpu(desc[DESC_CMDSTS]))) ) {
desc              986 drivers/net/ethernet/natsemi/ns83820.c 		addr = desc_addr_get(desc + DESC_BUFPTR);
desc             1002 drivers/net/ethernet/natsemi/ns83820.c 		desc[DESC_CMDSTS] = cpu_to_le32(0);
desc             1004 drivers/net/ethernet/natsemi/ns83820.c 		desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
desc             1025 drivers/net/ethernet/natsemi/ns83820.c 			__le32 *desc = dev->tx_descs + (i * DESC_SIZE);
desc             1027 drivers/net/ethernet/natsemi/ns83820.c 					desc_addr_get(desc + DESC_BUFPTR),
desc             1028 drivers/net/ethernet/natsemi/ns83820.c 					le32_to_cpu(desc[DESC_CMDSTS]) & CMDSTS_LEN_MASK,
desc             1129 drivers/net/ethernet/natsemi/ns83820.c 		volatile __le32 *desc = dev->tx_descs + (free_idx * DESC_SIZE);
desc             1135 drivers/net/ethernet/natsemi/ns83820.c 		desc[DESC_LINK] = cpu_to_le32(dev->tx_phy_descs + (free_idx * DESC_SIZE * 4));
desc             1136 drivers/net/ethernet/natsemi/ns83820.c 		desc_addr_set(desc + DESC_BUFPTR, buf);
desc             1137 drivers/net/ethernet/natsemi/ns83820.c 		desc[DESC_EXTSTS] = cpu_to_le32(extsts);
desc             1140 drivers/net/ethernet/natsemi/ns83820.c 		cmdsts |= (desc == first_desc) ? 0 : CMDSTS_OWN;
desc             1142 drivers/net/ethernet/natsemi/ns83820.c 		desc[DESC_CMDSTS] = cpu_to_le32(cmdsts);
desc             1556 drivers/net/ethernet/natsemi/ns83820.c 	__le32 *desc;
desc             1562 drivers/net/ethernet/natsemi/ns83820.c 	desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
desc             1566 drivers/net/ethernet/natsemi/ns83820.c 		tx_done_idx, dev->tx_free_idx, le32_to_cpu(desc[DESC_CMDSTS]));
desc             1580 drivers/net/ethernet/natsemi/ns83820.c 	desc = dev->tx_descs + (tx_done_idx * DESC_SIZE);
desc             1584 drivers/net/ethernet/natsemi/ns83820.c 		tx_done_idx, dev->tx_free_idx, le32_to_cpu(desc[DESC_CMDSTS]));
desc             1616 drivers/net/ethernet/natsemi/ns83820.c 	u32 desc;
desc             1637 drivers/net/ethernet/natsemi/ns83820.c 	desc = dev->tx_phy_descs;
desc             1639 drivers/net/ethernet/natsemi/ns83820.c 	writel(desc, dev->base + TXDP);
desc             6934 drivers/net/ethernet/neterion/s2io.c 					snprintf(sp->desc[i],
desc             6935 drivers/net/ethernet/neterion/s2io.c 						sizeof(sp->desc[i]),
desc             6941 drivers/net/ethernet/neterion/s2io.c 							  sp->desc[i],
desc             6945 drivers/net/ethernet/neterion/s2io.c 					snprintf(sp->desc[i],
desc             6946 drivers/net/ethernet/neterion/s2io.c 						sizeof(sp->desc[i]),
desc             6952 drivers/net/ethernet/neterion/s2io.c 							  sp->desc[i],
desc             6961 drivers/net/ethernet/neterion/s2io.c 						  sp->desc[i],
desc              950 drivers/net/ethernet/neterion/s2io.h 	char desc[MAX_REQUESTED_MSI_X][25];
desc             2471 drivers/net/ethernet/neterion/vxge/vxge-main.c 				snprintf(vdev->desc[intr_cnt], VXGE_INTR_STRLEN,
desc             2479 drivers/net/ethernet/neterion/vxge/vxge-main.c 					vdev->desc[intr_cnt],
desc             2486 drivers/net/ethernet/neterion/vxge/vxge-main.c 				snprintf(vdev->desc[intr_cnt], VXGE_INTR_STRLEN,
desc             2494 drivers/net/ethernet/neterion/vxge/vxge-main.c 					vdev->desc[intr_cnt],
desc             2532 drivers/net/ethernet/neterion/vxge/vxge-main.c 		snprintf(vdev->desc[intr_cnt], VXGE_INTR_STRLEN,
desc             2540 drivers/net/ethernet/neterion/vxge/vxge-main.c 					vdev->desc[intr_cnt],
desc             2564 drivers/net/ethernet/neterion/vxge/vxge-main.c 		snprintf(vdev->desc[0], VXGE_INTR_STRLEN,
desc             2573 drivers/net/ethernet/neterion/vxge/vxge-main.c 			IRQF_SHARED, vdev->desc[0], vdev);
desc              368 drivers/net/ethernet/neterion/vxge/vxge-main.h 	char desc[VXGE_MAX_REQUESTED_MSIX][VXGE_INTR_STRLEN];
desc              116 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nfp_desc_set_dma_addr(desc, dma_addr)				\
desc              118 drivers/net/ethernet/netronome/nfp/nfp_net.h 		__typeof(desc) __d = (desc);				\
desc              499 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	struct nfp_nsp_dma_buf *desc;
desc              565 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	desc_sz = struct_size(desc, descs, nseg);
desc              566 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	desc = kmalloc(desc_sz, GFP_KERNEL);
desc              567 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (!desc) {
desc              572 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	desc->chunk_cnt = cpu_to_le32(nseg);
desc              574 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		desc->descs[i].size = cpu_to_le32(chunks[i].len);
desc              575 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		desc->descs[i].addr = cpu_to_le64(chunks[i].dma_addr);
desc              578 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	dma_desc = dma_map_single(dev, desc, desc_sz, DMA_TO_DEVICE);
desc              603 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	kfree(desc);
desc              443 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h 	struct pch_gbe_tx_desc *desc;
desc              463 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h 	struct pch_gbe_rx_desc *desc;
desc               52 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c #define PCH_GBE_GET_DESC(R, i, type)    (&(((struct type *)((R).desc))[i]))
desc              945 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	memset(tx_ring->desc, 0, tx_ring->size);
desc              977 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	memset(rx_ring->desc, 0, rx_ring->size);
desc             1744 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	tx_ring->desc = dma_alloc_coherent(&pdev->dev, tx_ring->size,
desc             1746 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	if (!tx_ring->desc) {
desc             1760 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 		   tx_ring->desc, (unsigned long long)tx_ring->dma,
desc             1787 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	rx_ring->desc =	dma_alloc_coherent(&pdev->dev, rx_ring->size,
desc             1789 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	if (!rx_ring->desc) {
desc             1801 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 		   rx_ring->desc, (unsigned long long)rx_ring->dma,
desc             1819 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	pci_free_consistent(pdev, tx_ring->size, tx_ring->desc, tx_ring->dma);
desc             1820 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	tx_ring->desc = NULL;
desc             1836 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	pci_free_consistent(pdev, rx_ring->size, rx_ring->desc, rx_ring->dma);
desc             1837 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c 	rx_ring->desc = NULL;
desc             1408 drivers/net/ethernet/packetengines/hamachi.c 		struct hamachi_desc *desc = &(hmp->rx_ring[entry]);
desc             1409 drivers/net/ethernet/packetengines/hamachi.c 		u32 desc_status = le32_to_cpu(desc->status_n_length);
desc             1417 drivers/net/ethernet/packetengines/hamachi.c 					    leXX_to_cpu(desc->addr),
desc             1432 drivers/net/ethernet/packetengines/hamachi.c 				   dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]);
desc             1497 drivers/net/ethernet/packetengines/hamachi.c 					     + entry*sizeof(*desc), pkt_len);
desc             1578 drivers/net/ethernet/packetengines/hamachi.c 		struct hamachi_desc *desc;
desc             1581 drivers/net/ethernet/packetengines/hamachi.c 		desc = &(hmp->rx_ring[entry]);
desc             1589 drivers/net/ethernet/packetengines/hamachi.c                 	desc->addr = cpu_to_leXX(pci_map_single(hmp->pci_dev,
desc             1592 drivers/net/ethernet/packetengines/hamachi.c 		desc->status_n_length = cpu_to_le32(hmp->rx_buf_sz);
desc             1594 drivers/net/ethernet/packetengines/hamachi.c 			desc->status_n_length |= cpu_to_le32(DescOwn |
desc             1597 drivers/net/ethernet/packetengines/hamachi.c 			desc->status_n_length |= cpu_to_le32(DescOwn |
desc             1049 drivers/net/ethernet/packetengines/yellowfin.c 		struct yellowfin_desc *desc = &yp->rx_ring[entry];
desc             1056 drivers/net/ethernet/packetengines/yellowfin.c 		if(!desc->result_status)
desc             1058 drivers/net/ethernet/packetengines/yellowfin.c 		pci_dma_sync_single_for_cpu(yp->pci_dev, le32_to_cpu(desc->addr),
desc             1060 drivers/net/ethernet/packetengines/yellowfin.c 		desc_status = le32_to_cpu(desc->result_status) >> 16;
desc             1062 drivers/net/ethernet/packetengines/yellowfin.c 		data_size = (le32_to_cpu(desc->dbdma_cmd) -
desc             1063 drivers/net/ethernet/packetengines/yellowfin.c 			le32_to_cpu(desc->result_status)) & 0xffff;
desc             1137 drivers/net/ethernet/packetengines/yellowfin.c 								le32_to_cpu(desc->addr),
desc              425 drivers/net/ethernet/pensando/ionic/ionic_dev.c 		cur->desc = base + (i * q->desc_size);
desc              155 drivers/net/ethernet/pensando/ionic/ionic_dev.h 	void *desc;
desc              247 drivers/net/ethernet/pensando/ionic/ionic_lif.h 					struct ionic_txq_desc *desc, bool dbell)
desc              249 drivers/net/ethernet/pensando/ionic/ionic_lif.h 	u8 num_sg_elems = ((le64_to_cpu(desc->cmd) >> IONIC_TXQ_DESC_NSGE_SHIFT)
desc              180 drivers/net/ethernet/pensando/ionic/ionic_main.c 		memset(adminq->tail->desc, 0, sizeof(union ionic_adminq_cmd));
desc              250 drivers/net/ethernet/pensando/ionic/ionic_main.c 	memcpy(adminq->head->desc, &ctx->cmd, sizeof(ctx->cmd));
desc               19 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	DEBUG_STATS_TXQ_POST(q_to_qcq(q), q->head->desc, ring_dbell);
desc               40 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *old = desc_info->desc;
desc               41 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *new = q->head->desc;
desc               53 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *desc = desc_info->desc;
desc               60 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	dlen = le16_to_cpu(desc->len);
desc               62 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		dma_unmap_single(dev, (dma_addr_t)le64_to_cpu(desc->addr),
desc               69 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		dma_unmap_single(dev, (dma_addr_t)le64_to_cpu(desc->addr),
desc               74 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	dma_sync_single_for_cpu(dev, (dma_addr_t)le64_to_cpu(desc->addr),
desc              253 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *desc;
desc              267 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc = q->head->desc;
desc              268 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc->addr = cpu_to_le64(dma_addr);
desc              269 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc->len = cpu_to_le16(len);
desc              270 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc->opcode = IONIC_RXQ_DESC_OPCODE_SIMPLE;
desc              288 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_rxq_desc *desc;
desc              291 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc = cur->desc;
desc              292 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		dma_unmap_single(dev, le64_to_cpu(desc->addr),
desc              293 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				 le16_to_cpu(desc->len), DMA_FROM_DEVICE);
desc              375 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_txq_desc *desc = desc_info->desc;
desc              382 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	decode_txq_desc_cmd(le64_to_cpu(desc->cmd),
desc              391 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				 le16_to_cpu(desc->len), DMA_TO_DEVICE);
desc              394 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 			       le16_to_cpu(desc->len), DMA_TO_DEVICE);
desc              503 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static void ionic_tx_tso_post(struct ionic_queue *q, struct ionic_txq_desc *desc,
desc              520 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->cmd = cpu_to_le64(cmd);
desc              521 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->len = cpu_to_le16(len);
desc              522 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->vlan_tci = cpu_to_le16(vlan_tci);
desc              523 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->hdr_len = cpu_to_le16(hdrlen);
desc              524 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->mss = cpu_to_le16(mss);
desc              539 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_txq_desc *desc = q->head->desc;
desc              542 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	return desc;
desc              552 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_txq_desc *desc;
desc              605 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc = ionic_tx_tso_next(q, &elem);
desc              623 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		ionic_tx_tso_post(q, desc, skb,
desc              631 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 		desc = ionic_tx_tso_next(q, &elem);
desc              662 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				ionic_tx_tso_post(q, desc, skb, desc_addr,
desc              669 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				desc = ionic_tx_tso_next(q, &elem);
desc              685 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				ionic_tx_tso_post(q, desc, skb, desc_addr,
desc              692 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 				desc = ionic_tx_tso_next(q, &elem);
desc              705 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	while (rewind->desc != q->head->desc) {
desc              717 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_txq_desc *desc = q->head->desc;
desc              737 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->cmd = cpu_to_le64(cmd);
desc              738 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->len = cpu_to_le16(skb_headlen(skb));
desc              739 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->vlan_tci = cpu_to_le16(skb_vlan_tag_get(skb));
desc              740 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->csum_start = cpu_to_le16(skb_checksum_start_offset(skb));
desc              741 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->csum_offset = cpu_to_le16(skb->csum_offset);
desc              754 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	struct ionic_txq_desc *desc = q->head->desc;
desc              774 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->cmd = cpu_to_le64(cmd);
desc              775 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->len = cpu_to_le16(skb_headlen(skb));
desc              776 drivers/net/ethernet/pensando/ionic/ionic_txrx.c 	desc->vlan_tci = cpu_to_le16(skb_vlan_tag_get(skb));
desc             1430 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	struct status_desc *desc;
desc             1434 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		desc = &sds_ring->desc_head[index];
desc             1435 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		msg.words[i++] = le64_to_cpu(desc->status_desc_data[0]);
desc             1436 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		msg.words[i++] = le64_to_cpu(desc->status_desc_data[1]);
desc             1653 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 	struct status_desc *desc;
desc             1663 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		desc = &sds_ring->desc_head[consumer];
desc             1664 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 		sts_data0 = le64_to_cpu(desc->status_desc_data[0]);
desc             1683 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 			sts_data1 = le64_to_cpu(desc->status_desc_data[1]);
desc             1700 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 			desc = &sds_ring->desc_head[consumer];
desc             1701 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c 			desc->status_desc_data[0] =
desc             2029 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_clear_cmddesc(u64 *desc)
desc             2031 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	desc[0] = 0ULL;
desc             2032 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	desc[2] = 0ULL;
desc             5753 drivers/net/ethernet/qlogic/qed/qed_debug.c 	char *desc;
desc             7183 drivers/net/ethernet/qlogic/qed/qed_debug.c 				   : found_addr->desc,
desc              642 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static inline void qlcnic_clear_cmddesc(u64 *desc)
desc              644 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc[0] = 0ULL;
desc              645 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc[2] = 0ULL;
desc              646 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc[7] = 0ULL;
desc             1086 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct status_desc *desc;
desc             1092 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc = &sds_ring->desc_head[index];
desc             1093 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		msg.words[i++] = le64_to_cpu(desc->status_desc_data[0]);
desc             1094 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		msg.words[i++] = le64_to_cpu(desc->status_desc_data[1]);
desc             1362 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct status_desc *desc;
desc             1370 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc = &sds_ring->desc_head[consumer];
desc             1371 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		sts_data0 = le64_to_cpu(desc->status_desc_data[0]);
desc             1388 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 			sts_data1 = le64_to_cpu(desc->status_desc_data[1]);
desc             1405 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 			desc = &sds_ring->desc_head[consumer];
desc             1406 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 			desc->status_desc_data[0] = QLCNIC_DESC_OWNER_FW;
desc             1539 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct status_desc *desc;
desc             1545 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc = &sds_ring->desc_head[consumer];
desc             1546 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	sts_data0 = le64_to_cpu(desc->status_desc_data[0]);
desc             1564 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc = &sds_ring->desc_head[consumer];
desc             1565 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc->status_desc_data[0] = cpu_to_le64(STATUS_OWNER_PHANTOM);
desc             1886 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct status_desc *desc;
desc             1894 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc = &sds_ring->desc_head[consumer];
desc             1895 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		sts_data[1] = le64_to_cpu(desc->status_desc_data[1]);
desc             1899 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		sts_data[0] = le64_to_cpu(desc->status_desc_data[0]);
desc             1922 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc = &sds_ring->desc_head[consumer];
desc             1924 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		desc->status_desc_data[1] = 0;
desc             2213 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct status_desc *desc;
desc             2218 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc = &sds_ring->desc_head[consumer];
desc             2219 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	sts_data[0] = le64_to_cpu(desc->status_desc_data[0]);
desc             2220 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	sts_data[1] = le64_to_cpu(desc->status_desc_data[1]);
desc             2227 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc = &sds_ring->desc_head[consumer];
desc             2228 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	desc->status_desc_data[0] = cpu_to_le64(STATUS_OWNER_PHANTOM);
desc              295 drivers/net/ethernet/rdc/r6040.c 	struct r6040_descriptor *desc = desc_ring;
desc              299 drivers/net/ethernet/rdc/r6040.c 		mapping += sizeof(*desc);
desc              300 drivers/net/ethernet/rdc/r6040.c 		desc->ndesc = cpu_to_le32(mapping);
desc              301 drivers/net/ethernet/rdc/r6040.c 		desc->vndescp = desc + 1;
desc              302 drivers/net/ethernet/rdc/r6040.c 		desc++;
desc              304 drivers/net/ethernet/rdc/r6040.c 	desc--;
desc              305 drivers/net/ethernet/rdc/r6040.c 	desc->ndesc = cpu_to_le32(desc_dma);
desc              306 drivers/net/ethernet/rdc/r6040.c 	desc->vndescp = desc_ring;
desc              322 drivers/net/ethernet/rdc/r6040.c 	struct r6040_descriptor *desc;
desc              330 drivers/net/ethernet/rdc/r6040.c 	desc = lp->rx_ring;
desc              337 drivers/net/ethernet/rdc/r6040.c 		desc->skb_ptr = skb;
desc              338 drivers/net/ethernet/rdc/r6040.c 		desc->buf = cpu_to_le32(pci_map_single(lp->pdev,
desc              339 drivers/net/ethernet/rdc/r6040.c 					desc->skb_ptr->data,
desc              341 drivers/net/ethernet/rdc/r6040.c 		desc->status = DSC_OWNER_MAC;
desc              342 drivers/net/ethernet/rdc/r6040.c 		desc = desc->vndescp;
desc              343 drivers/net/ethernet/rdc/r6040.c 	} while (desc != lp->rx_ring);
desc              419 drivers/net/ethernet/realtek/8139cp.c 			      struct cp_desc *desc)
desc              421 drivers/net/ethernet/realtek/8139cp.c 	u32 opts2 = le32_to_cpu(desc->opts2);
desc              476 drivers/net/ethernet/realtek/8139cp.c 		struct cp_desc *desc;
desc              482 drivers/net/ethernet/realtek/8139cp.c 		desc = &cp->rx_ring[rx_tail];
desc              483 drivers/net/ethernet/realtek/8139cp.c 		status = le32_to_cpu(desc->opts1);
desc              488 drivers/net/ethernet/realtek/8139cp.c 		mapping = le64_to_cpu(desc->addr);
desc              537 drivers/net/ethernet/realtek/8139cp.c 		cp_rx_skb(cp, skb, desc);
desc              545 drivers/net/ethernet/realtek/8139cp.c 			desc->opts1 = cpu_to_le32(DescOwn | RingEnd |
desc              548 drivers/net/ethernet/realtek/8139cp.c 			desc->opts1 = cpu_to_le32(DescOwn | cp->rx_buf_sz);
desc             1135 drivers/net/ethernet/realtek/8139cp.c 	struct cp_desc *desc;
desc             1140 drivers/net/ethernet/realtek/8139cp.c 			desc = cp->rx_ring + i;
desc             1141 drivers/net/ethernet/realtek/8139cp.c 			dma_unmap_single(&cp->pdev->dev,le64_to_cpu(desc->addr),
desc             1151 drivers/net/ethernet/realtek/8139cp.c 			desc = cp->tx_ring + i;
desc             1152 drivers/net/ethernet/realtek/8139cp.c 			dma_unmap_single(&cp->pdev->dev,le64_to_cpu(desc->addr),
desc             1153 drivers/net/ethernet/realtek/8139cp.c 					 le32_to_cpu(desc->opts1) & 0xffff,
desc             1155 drivers/net/ethernet/realtek/8139cp.c 			if (le32_to_cpu(desc->opts1) & LastFrag)
desc             1630 drivers/net/ethernet/realtek/r8169_main.c static void rtl8169_rx_vlan_tag(struct RxDesc *desc, struct sk_buff *skb)
desc             1632 drivers/net/ethernet/realtek/r8169_main.c 	u32 opts2 = le32_to_cpu(desc->opts2);
desc             5520 drivers/net/ethernet/realtek/r8169_main.c static inline void rtl8169_make_unusable_by_asic(struct RxDesc *desc)
desc             5522 drivers/net/ethernet/realtek/r8169_main.c 	desc->addr = cpu_to_le64(0x0badbadbadbadbadull);
desc             5523 drivers/net/ethernet/realtek/r8169_main.c 	desc->opts1 &= ~cpu_to_le32(DescOwn | RsvdMask);
desc             5526 drivers/net/ethernet/realtek/r8169_main.c static inline void rtl8169_mark_to_asic(struct RxDesc *desc)
desc             5528 drivers/net/ethernet/realtek/r8169_main.c 	u32 eor = le32_to_cpu(desc->opts1) & RingEnd;
desc             5533 drivers/net/ethernet/realtek/r8169_main.c 	desc->opts1 = cpu_to_le32(DescOwn | eor | R8169_RX_BUF_SIZE);
desc             5537 drivers/net/ethernet/realtek/r8169_main.c 					  struct RxDesc *desc)
desc             5556 drivers/net/ethernet/realtek/r8169_main.c 	desc->addr = cpu_to_le64(mapping);
desc             5557 drivers/net/ethernet/realtek/r8169_main.c 	rtl8169_mark_to_asic(desc);
desc             5576 drivers/net/ethernet/realtek/r8169_main.c static inline void rtl8169_mark_as_last_descriptor(struct RxDesc *desc)
desc             5578 drivers/net/ethernet/realtek/r8169_main.c 	desc->opts1 |= cpu_to_le32(RingEnd);
desc             5615 drivers/net/ethernet/realtek/r8169_main.c 				 struct TxDesc *desc)
desc             5619 drivers/net/ethernet/realtek/r8169_main.c 	dma_unmap_single(d, le64_to_cpu(desc->addr), len, DMA_TO_DEVICE);
desc             5621 drivers/net/ethernet/realtek/r8169_main.c 	desc->opts1 = 0x00;
desc             5622 drivers/net/ethernet/realtek/r8169_main.c 	desc->opts2 = 0x00;
desc             5623 drivers/net/ethernet/realtek/r8169_main.c 	desc->addr = 0x00;
desc             6151 drivers/net/ethernet/realtek/r8169_main.c 		struct RxDesc *desc = tp->RxDescArray + entry;
desc             6154 drivers/net/ethernet/realtek/r8169_main.c 		status = le32_to_cpu(desc->opts1);
desc             6202 drivers/net/ethernet/realtek/r8169_main.c 						le64_to_cpu(desc->addr),
desc             6210 drivers/net/ethernet/realtek/r8169_main.c 						   le64_to_cpu(desc->addr),
desc             6216 drivers/net/ethernet/realtek/r8169_main.c 			rtl8169_rx_vlan_tag(desc, skb);
desc             6229 drivers/net/ethernet/realtek/r8169_main.c 		desc->opts2 = 0;
desc             6230 drivers/net/ethernet/realtek/r8169_main.c 		rtl8169_mark_to_asic(desc);
desc              179 drivers/net/ethernet/renesas/ravb_main.c 	struct ravb_tx_desc *desc;
desc              189 drivers/net/ethernet/renesas/ravb_main.c 		desc = &priv->tx_ring[q][entry];
desc              190 drivers/net/ethernet/renesas/ravb_main.c 		txed = desc->die_dt == DT_FEMPTY;
desc              195 drivers/net/ethernet/renesas/ravb_main.c 		size = le16_to_cpu(desc->ds_tagl) & TX_DS;
desc              198 drivers/net/ethernet/renesas/ravb_main.c 			dma_unmap_single(ndev->dev.parent, le32_to_cpu(desc->dptr),
desc              212 drivers/net/ethernet/renesas/ravb_main.c 		desc->die_dt = DT_EEMPTY;
desc              227 drivers/net/ethernet/renesas/ravb_main.c 			struct ravb_ex_rx_desc *desc = &priv->rx_ring[q][i];
desc              230 drivers/net/ethernet/renesas/ravb_main.c 					       le32_to_cpu(desc->dptr)))
desc              232 drivers/net/ethernet/renesas/ravb_main.c 						 le32_to_cpu(desc->dptr),
desc              279 drivers/net/ethernet/renesas/ravb_main.c 	struct ravb_desc *desc;
desc              326 drivers/net/ethernet/renesas/ravb_main.c 	desc = &priv->desc_bat[RX_QUEUE_OFFSET + q];
desc              327 drivers/net/ethernet/renesas/ravb_main.c 	desc->die_dt = DT_LINKFIX; /* type */
desc              328 drivers/net/ethernet/renesas/ravb_main.c 	desc->dptr = cpu_to_le32((u32)priv->rx_desc_dma[q]);
desc              331 drivers/net/ethernet/renesas/ravb_main.c 	desc = &priv->desc_bat[q];
desc              332 drivers/net/ethernet/renesas/ravb_main.c 	desc->die_dt = DT_LINKFIX; /* type */
desc              333 drivers/net/ethernet/renesas/ravb_main.c 	desc->dptr = cpu_to_le32((u32)priv->tx_desc_dma[q]);
desc              540 drivers/net/ethernet/renesas/ravb_main.c 	struct ravb_ex_rx_desc *desc;
desc              550 drivers/net/ethernet/renesas/ravb_main.c 	desc = &priv->rx_ring[q][entry];
desc              551 drivers/net/ethernet/renesas/ravb_main.c 	while (desc->die_dt != DT_FEMPTY) {
desc              554 drivers/net/ethernet/renesas/ravb_main.c 		desc_status = desc->msc;
desc              555 drivers/net/ethernet/renesas/ravb_main.c 		pkt_len = le16_to_cpu(desc->ds_cc) & RX_DS;
desc              583 drivers/net/ethernet/renesas/ravb_main.c 			dma_unmap_single(ndev->dev.parent, le32_to_cpu(desc->dptr),
desc              594 drivers/net/ethernet/renesas/ravb_main.c 				ts.tv_sec = ((u64) le16_to_cpu(desc->ts_sh) <<
desc              595 drivers/net/ethernet/renesas/ravb_main.c 					     32) | le32_to_cpu(desc->ts_sl);
desc              596 drivers/net/ethernet/renesas/ravb_main.c 				ts.tv_nsec = le32_to_cpu(desc->ts_n);
desc              610 drivers/net/ethernet/renesas/ravb_main.c 		desc = &priv->rx_ring[q][entry];
desc              616 drivers/net/ethernet/renesas/ravb_main.c 		desc = &priv->rx_ring[q][entry];
desc              617 drivers/net/ethernet/renesas/ravb_main.c 		desc->ds_cc = cpu_to_le16(RX_BUF_SZ);
desc              627 drivers/net/ethernet/renesas/ravb_main.c 						  le16_to_cpu(desc->ds_cc),
desc              634 drivers/net/ethernet/renesas/ravb_main.c 				desc->ds_cc = cpu_to_le16(0);
desc              635 drivers/net/ethernet/renesas/ravb_main.c 			desc->dptr = cpu_to_le32(dma_addr);
desc              640 drivers/net/ethernet/renesas/ravb_main.c 		desc->die_dt = DT_FEMPTY;
desc             1478 drivers/net/ethernet/renesas/ravb_main.c 	struct ravb_tx_desc *desc;
desc             1527 drivers/net/ethernet/renesas/ravb_main.c 		desc = &priv->tx_ring[q][entry];
desc             1528 drivers/net/ethernet/renesas/ravb_main.c 		desc->ds_tagl = cpu_to_le16(len);
desc             1529 drivers/net/ethernet/renesas/ravb_main.c 		desc->dptr = cpu_to_le32(dma_addr);
desc             1538 drivers/net/ethernet/renesas/ravb_main.c 		desc++;
desc             1540 drivers/net/ethernet/renesas/ravb_main.c 		desc = &priv->tx_ring[q][entry];
desc             1547 drivers/net/ethernet/renesas/ravb_main.c 	desc->ds_tagl = cpu_to_le16(len);
desc             1548 drivers/net/ethernet/renesas/ravb_main.c 	desc->dptr = cpu_to_le32(dma_addr);
desc             1555 drivers/net/ethernet/renesas/ravb_main.c 				desc--;
desc             1568 drivers/net/ethernet/renesas/ravb_main.c 		desc->tagh_tsr = (ts_skb->tag >> 4) | TX_TSR;
desc             1569 drivers/net/ethernet/renesas/ravb_main.c 		desc->ds_tagl |= cpu_to_le16(ts_skb->tag << 12);
desc             1576 drivers/net/ethernet/renesas/ravb_main.c 		desc->die_dt = DT_FEND;
desc             1577 drivers/net/ethernet/renesas/ravb_main.c 		desc--;
desc             1578 drivers/net/ethernet/renesas/ravb_main.c 		desc->die_dt = DT_FSTART;
desc             1580 drivers/net/ethernet/renesas/ravb_main.c 		desc->die_dt = DT_FSINGLE;
desc             1595 drivers/net/ethernet/renesas/ravb_main.c 	dma_unmap_single(ndev->dev.parent, le32_to_cpu(desc->dptr),
desc             1596 drivers/net/ethernet/renesas/ravb_main.c 			 le16_to_cpu(desc->ds_tagl), DMA_TO_DEVICE);
desc               24 drivers/net/ethernet/rocker/rocker.h 	struct rocker_desc *desc;
desc               32 drivers/net/ethernet/rocker/rocker.h 	struct rocker_desc *desc; /* mapped */
desc              317 drivers/net/ethernet/rocker/rocker_main.c 	int err = desc_info->desc->comp_err & ~ROCKER_DMA_DESC_COMP_ERR_GEN;
desc              345 drivers/net/ethernet/rocker/rocker_main.c 	desc_info->desc->comp_err &= ~ROCKER_DMA_DESC_COMP_ERR_GEN;
desc              350 drivers/net/ethernet/rocker/rocker_main.c 	u32 comp_err = desc_info->desc->comp_err;
desc              358 drivers/net/ethernet/rocker/rocker_main.c 	return (void *)(uintptr_t)desc_info->desc->cookie;
desc              364 drivers/net/ethernet/rocker/rocker_main.c 	desc_info->desc->cookie = (uintptr_t) ptr;
desc              382 drivers/net/ethernet/rocker/rocker_main.c 	desc_info->desc->buf_size = desc_info->data_size;
desc              383 drivers/net/ethernet/rocker/rocker_main.c 	desc_info->desc->tlv_size = desc_info->tlv_size;
desc              409 drivers/net/ethernet/rocker/rocker_main.c 	desc_info->tlv_size = desc_info->desc->tlv_size;
desc              444 drivers/net/ethernet/rocker/rocker_main.c 	info->desc = pci_alloc_consistent(rocker->pdev,
desc              445 drivers/net/ethernet/rocker/rocker_main.c 					  info->size * sizeof(*info->desc),
desc              447 drivers/net/ethernet/rocker/rocker_main.c 	if (!info->desc) {
desc              453 drivers/net/ethernet/rocker/rocker_main.c 		info->desc_info[i].desc = &info->desc[i];
desc              470 drivers/net/ethernet/rocker/rocker_main.c 			    info->desc, info->mapaddr);
desc              499 drivers/net/ethernet/rocker/rocker_main.c 		struct rocker_desc *desc = &info->desc[i];
desc              520 drivers/net/ethernet/rocker/rocker_main.c 		desc->buf_addr = dma_handle;
desc              521 drivers/net/ethernet/rocker/rocker_main.c 		desc->buf_size = buf_size;
desc              545 drivers/net/ethernet/rocker/rocker_main.c 		struct rocker_desc *desc = &info->desc[i];
desc              547 drivers/net/ethernet/rocker/rocker_main.c 		desc->buf_addr = 0;
desc              548 drivers/net/ethernet/rocker/rocker_main.c 		desc->buf_size = 0;
desc              125 drivers/net/ethernet/rocker/rocker_tlv.h 			 desc_info->desc->tlv_size);
desc              366 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h 	const struct sxgbe_desc_ops *desc;
desc              326 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 			priv->hw->desc->init_rx_desc(&priv->rxq[j]->dma_rx[i],
desc              333 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 			priv->hw->desc->init_tx_desc(&priv->txq[j]->dma_tx[i]);
desc              620 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 					 priv->hw->desc->get_tx_len(tdesc),
desc              750 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		if (priv->hw->desc->get_tx_owner(p))
desc              760 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 					 priv->hw->desc->get_tx_len(p),
desc              770 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->release_tx_desc(p);
desc             1253 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	priv->hw->desc->tx_desc_enable_tse(first_desc, 1, total_hdr_len,
desc             1320 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				priv->hw->desc->tx_ctxt_desc_set_mss(
desc             1322 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				priv->hw->desc->tx_ctxt_desc_set_tcmssv(
desc             1324 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				priv->hw->desc->tx_ctxt_desc_reset_ostc(
desc             1326 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				priv->hw->desc->tx_ctxt_desc_set_ctxt(
desc             1328 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 				priv->hw->desc->tx_ctxt_desc_set_owner(
desc             1344 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 			priv->hw->desc->prepare_tx_desc(tx_desc, 1, no_pagedlen,
desc             1362 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->prepare_tx_desc(tx_desc, 0, len,
desc             1368 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->set_tx_owner(tx_desc);
desc             1372 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	priv->hw->desc->close_tx_desc(tx_desc);
desc             1379 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->clear_tx_ic(tx_desc);
desc             1388 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	priv->hw->desc->set_tx_owner(first_desc);
desc             1413 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->tx_enable_tstamp(first_desc);
desc             1461 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->set_rx_owner(p);
desc             1462 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		priv->hw->desc->set_rx_int_on_com(p);
desc             1492 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		if (priv->hw->desc->get_rx_owner(p))
desc             1504 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		status = priv->hw->desc->rx_wbstatus(p, &priv->xstats,
desc             1521 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		frame_len = priv->hw->desc->get_rx_frame_len(p);
desc             1973 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	ops_ptr->desc		= sxgbe_get_desc_ops();
desc              446 drivers/net/ethernet/sfc/falcon/nic.c size_t ef4_nic_describe_stats(const struct ef4_hw_stat_desc *desc, size_t count,
desc              453 drivers/net/ethernet/sfc/falcon/nic.c 		if (desc[index].name) {
desc              455 drivers/net/ethernet/sfc/falcon/nic.c 				strlcpy(names, desc[index].name,
desc              480 drivers/net/ethernet/sfc/falcon/nic.c void ef4_nic_update_stats(const struct ef4_hw_stat_desc *desc, size_t count,
desc              487 drivers/net/ethernet/sfc/falcon/nic.c 		if (desc[index].dma_width) {
desc              488 drivers/net/ethernet/sfc/falcon/nic.c 			const void *addr = dma_buf + desc[index].offset;
desc              491 drivers/net/ethernet/sfc/falcon/nic.c 			switch (desc[index].dma_width) {
desc              500 drivers/net/ethernet/sfc/falcon/nic.h size_t ef4_nic_describe_stats(const struct ef4_hw_stat_desc *desc, size_t count,
desc              502 drivers/net/ethernet/sfc/falcon/nic.h void ef4_nic_update_stats(const struct ef4_hw_stat_desc *desc, size_t count,
desc              453 drivers/net/ethernet/sfc/nic.c size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
desc              460 drivers/net/ethernet/sfc/nic.c 		if (desc[index].name) {
desc              462 drivers/net/ethernet/sfc/nic.c 				strlcpy(names, desc[index].name,
desc              487 drivers/net/ethernet/sfc/nic.c void efx_nic_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
desc              494 drivers/net/ethernet/sfc/nic.c 		if (desc[index].dma_width) {
desc              495 drivers/net/ethernet/sfc/nic.c 			const void *addr = dma_buf + desc[index].offset;
desc              498 drivers/net/ethernet/sfc/nic.c 			switch (desc[index].dma_width) {
desc              681 drivers/net/ethernet/sfc/nic.h size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
desc              683 drivers/net/ethernet/sfc/nic.h void efx_nic_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
desc              804 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_etxd *desc;
desc              807 drivers/net/ethernet/sgi/ioc3-eth.c 	desc = &ip->txr[entry];
desc              808 drivers/net/ethernet/sgi/ioc3-eth.c 	cmd = be32_to_cpu(desc->cmd);
desc              809 drivers/net/ethernet/sgi/ioc3-eth.c 	bufcnt = be32_to_cpu(desc->bufcnt);
desc              812 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_unmap_single(ip->dma_dev, be64_to_cpu(desc->p1),
desc              817 drivers/net/ethernet/sgi/ioc3-eth.c 		dma_unmap_single(ip->dma_dev, be64_to_cpu(desc->p2),
desc             1370 drivers/net/ethernet/sgi/ioc3-eth.c 	struct ioc3_etxd *desc;
desc             1427 drivers/net/ethernet/sgi/ioc3-eth.c 	desc = &ip->txr[produce];
desc             1431 drivers/net/ethernet/sgi/ioc3-eth.c 		skb_copy_from_linear_data(skb, desc->data, skb->len);
desc             1434 drivers/net/ethernet/sgi/ioc3-eth.c 			memset(desc->data + len, 0, ETH_ZLEN - len);
desc             1437 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->cmd = cpu_to_be32(len | ETXD_INTWHENDONE | ETXD_D0V | w0);
desc             1438 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->bufcnt = cpu_to_be32(len);
desc             1445 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->cmd    = cpu_to_be32(len | ETXD_INTWHENDONE |
desc             1447 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->bufcnt = cpu_to_be32((s1 << ETXD_B1CNT_SHIFT) |
desc             1457 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->p1     = cpu_to_be64(ioc3_map(d1, PCI64_ATTR_PREF));
desc             1458 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->p2     = cpu_to_be64(ioc3_map(d2, PCI64_ATTR_PREF));
desc             1463 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->cmd = cpu_to_be32(len | ETXD_INTWHENDONE | ETXD_B1V | w0);
desc             1464 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->bufcnt = cpu_to_be32(len << ETXD_B1CNT_SHIFT);
desc             1468 drivers/net/ethernet/sgi/ioc3-eth.c 		desc->p1     = cpu_to_be64(ioc3_map(d, PCI64_ATTR_PREF));
desc              610 drivers/net/ethernet/sgi/meth.c 	tx_packet *desc = &priv->tx_ring[priv->tx_write];
desc              613 drivers/net/ethernet/sgi/meth.c 	desc->header.raw = METH_TX_CMD_INT_EN | (len-1) | ((128-len) << 16);
desc              615 drivers/net/ethernet/sgi/meth.c 	skb_copy_from_linear_data(skb, desc->data.dt + (120 - len), skb->len);
desc              617 drivers/net/ethernet/sgi/meth.c 		memset(desc->data.dt + 120 - len + skb->len, 0, len-skb->len);
desc              623 drivers/net/ethernet/sgi/meth.c 	tx_packet *desc = &priv->tx_ring[priv->tx_write];
desc              629 drivers/net/ethernet/sgi/meth.c 	desc->header.raw = METH_TX_CMD_INT_EN | TX_CATBUF1 | (skb->len - 1);
desc              633 drivers/net/ethernet/sgi/meth.c 		skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len),
desc              635 drivers/net/ethernet/sgi/meth.c 		desc->header.raw |= (128 - unaligned_len) << 16;
desc              641 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[0].form.start_addr = catbuf >> 3;
desc              642 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[0].form.len = buffer_len - 1;
desc              648 drivers/net/ethernet/sgi/meth.c 	tx_packet *desc = &priv->tx_ring[priv->tx_write];
desc              656 drivers/net/ethernet/sgi/meth.c 	desc->header.raw = METH_TX_CMD_INT_EN | TX_CATBUF1 | TX_CATBUF2| (skb->len - 1);
desc              659 drivers/net/ethernet/sgi/meth.c 		skb_copy_from_linear_data(skb, desc->data.dt + (120 - unaligned_len),
desc              661 drivers/net/ethernet/sgi/meth.c 		desc->header.raw |= (128 - unaligned_len) << 16;
desc              667 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[0].form.start_addr = catbuf1 >> 3;
desc              668 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[0].form.len = buffer1_len - 1;
desc              672 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[1].form.start_addr = catbuf2 >> 3;
desc              673 drivers/net/ethernet/sgi/meth.c 	desc->data.cat_buf[1].form.len = buffer2_len - 1;
desc              456 drivers/net/ethernet/sis/sis190.c static void sis190_mark_as_last_descriptor(struct RxDesc *desc)
desc              458 drivers/net/ethernet/sis/sis190.c 	desc->size |= cpu_to_le32(RingEnd);
desc              461 drivers/net/ethernet/sis/sis190.c static inline void sis190_give_to_asic(struct RxDesc *desc, u32 rx_buf_sz)
desc              463 drivers/net/ethernet/sis/sis190.c 	u32 eor = le32_to_cpu(desc->size) & RingEnd;
desc              465 drivers/net/ethernet/sis/sis190.c 	desc->PSize = 0x0;
desc              466 drivers/net/ethernet/sis/sis190.c 	desc->size = cpu_to_le32((rx_buf_sz & RX_BUF_MASK) | eor);
desc              468 drivers/net/ethernet/sis/sis190.c 	desc->status = cpu_to_le32(OWNbit | INTbit);
desc              471 drivers/net/ethernet/sis/sis190.c static inline void sis190_map_to_asic(struct RxDesc *desc, dma_addr_t mapping,
desc              474 drivers/net/ethernet/sis/sis190.c 	desc->addr = cpu_to_le32(mapping);
desc              475 drivers/net/ethernet/sis/sis190.c 	sis190_give_to_asic(desc, rx_buf_sz);
desc              478 drivers/net/ethernet/sis/sis190.c static inline void sis190_make_unusable_by_asic(struct RxDesc *desc)
desc              480 drivers/net/ethernet/sis/sis190.c 	desc->PSize = 0x0;
desc              481 drivers/net/ethernet/sis/sis190.c 	desc->addr = cpu_to_le32(0xdeadbeef);
desc              482 drivers/net/ethernet/sis/sis190.c 	desc->size &= cpu_to_le32(RingEnd);
desc              484 drivers/net/ethernet/sis/sis190.c 	desc->status = 0x0;
desc              488 drivers/net/ethernet/sis/sis190.c 					   struct RxDesc *desc)
desc              501 drivers/net/ethernet/sis/sis190.c 	sis190_map_to_asic(desc, mapping, rx_buf_sz);
desc              508 drivers/net/ethernet/sis/sis190.c 	sis190_make_unusable_by_asic(desc);
desc              586 drivers/net/ethernet/sis/sis190.c 		struct RxDesc *desc = tp->RxDescRing + entry;
desc              589 drivers/net/ethernet/sis/sis190.c 		if (le32_to_cpu(desc->status) & OWNbit)
desc              592 drivers/net/ethernet/sis/sis190.c 		status = le32_to_cpu(desc->PSize);
desc              597 drivers/net/ethernet/sis/sis190.c 			sis190_give_to_asic(desc, tp->rx_buf_sz);
desc              600 drivers/net/ethernet/sis/sis190.c 			dma_addr_t addr = le32_to_cpu(desc->addr);
desc              609 drivers/net/ethernet/sis/sis190.c 				sis190_give_to_asic(desc, tp->rx_buf_sz);
desc              617 drivers/net/ethernet/sis/sis190.c 				sis190_give_to_asic(desc, tp->rx_buf_sz);
desc              622 drivers/net/ethernet/sis/sis190.c 				sis190_make_unusable_by_asic(desc);
desc              651 drivers/net/ethernet/sis/sis190.c 				struct TxDesc *desc)
desc              657 drivers/net/ethernet/sis/sis190.c 	pci_unmap_single(pdev, le32_to_cpu(desc->addr), len, PCI_DMA_TODEVICE);
desc              659 drivers/net/ethernet/sis/sis190.c 	memset(desc, 0x00, sizeof(*desc));
desc              784 drivers/net/ethernet/sis/sis190.c 			       struct sk_buff **sk_buff, struct RxDesc *desc)
desc              788 drivers/net/ethernet/sis/sis190.c 	pci_unmap_single(pdev, le32_to_cpu(desc->addr), tp->rx_buf_sz,
desc              792 drivers/net/ethernet/sis/sis190.c 	sis190_make_unusable_by_asic(desc);
desc             1177 drivers/net/ethernet/sis/sis190.c 	struct TxDesc *desc;
desc             1191 drivers/net/ethernet/sis/sis190.c 	desc = tp->TxDescRing + entry;
desc             1193 drivers/net/ethernet/sis/sis190.c 	if (unlikely(le32_to_cpu(desc->status) & OWNbit)) {
desc             1209 drivers/net/ethernet/sis/sis190.c 	desc->PSize = cpu_to_le32(len);
desc             1210 drivers/net/ethernet/sis/sis190.c 	desc->addr = cpu_to_le32(mapping);
desc             1212 drivers/net/ethernet/sis/sis190.c 	desc->size = cpu_to_le32(len);
desc             1214 drivers/net/ethernet/sis/sis190.c 		desc->size |= cpu_to_le32(RingEnd);
desc             1218 drivers/net/ethernet/sis/sis190.c 	desc->status = cpu_to_le32(OWNbit | INTbit | DEFbit | CRCbit | PADbit);
desc             1221 drivers/net/ethernet/sis/sis190.c 		desc->status |= cpu_to_le32(COLEN | CRSEN | BKFEN);
desc             1223 drivers/net/ethernet/sis/sis190.c 			desc->status |= cpu_to_le32(EXTEN | BSTEN); /* gigabit HD */
desc             2197 drivers/net/ethernet/smsc/smc91x.c 				   struct gpio_desc **desc,
desc             2201 drivers/net/ethernet/smsc/smc91x.c 	struct gpio_desc *gpio = *desc;
desc             2213 drivers/net/ethernet/smsc/smc91x.c 	*desc = gpio;
desc              281 drivers/net/ethernet/socionext/netsec.c 	struct netsec_desc *desc;
desc              607 drivers/net/ethernet/socionext/netsec.c 			     const struct netsec_desc *desc)
desc              617 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_up = upper_32_bits(desc->dma_addr);
desc              618 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_lw = lower_32_bits(desc->dma_addr);
desc              619 drivers/net/ethernet/socionext/netsec.c 	de->buf_len_info = desc->len;
desc              623 drivers/net/ethernet/socionext/netsec.c 	dring->desc[idx].dma_addr = desc->dma_addr;
desc              624 drivers/net/ethernet/socionext/netsec.c 	dring->desc[idx].addr = desc->addr;
desc              625 drivers/net/ethernet/socionext/netsec.c 	dring->desc[idx].len = desc->len;
desc              643 drivers/net/ethernet/socionext/netsec.c 		struct netsec_desc *desc;
desc              646 drivers/net/ethernet/socionext/netsec.c 		desc = &dring->desc[tail];
desc              653 drivers/net/ethernet/socionext/netsec.c 		if (desc->buf_type != TYPE_NETSEC_XDP_TX)
desc              654 drivers/net/ethernet/socionext/netsec.c 			dma_unmap_single(priv->dev, desc->dma_addr, desc->len,
desc              660 drivers/net/ethernet/socionext/netsec.c 		if (desc->buf_type == TYPE_NETSEC_SKB) {
desc              661 drivers/net/ethernet/socionext/netsec.c 			bytes += desc->skb->len;
desc              662 drivers/net/ethernet/socionext/netsec.c 			dev_kfree_skb(desc->skb);
desc              664 drivers/net/ethernet/socionext/netsec.c 			xdp_return_frame(desc->xdpf);
desc              670 drivers/net/ethernet/socionext/netsec.c 		*desc = (struct netsec_desc){};
desc              750 drivers/net/ethernet/socionext/netsec.c 		netsec_set_rx_de(priv, dring, idx, &dring->desc[idx]);
desc              777 drivers/net/ethernet/socionext/netsec.c 			     const struct netsec_desc *desc, void *buf)
desc              796 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_up = upper_32_bits(desc->dma_addr);
desc              797 drivers/net/ethernet/socionext/netsec.c 	de->data_buf_addr_lw = lower_32_bits(desc->dma_addr);
desc              798 drivers/net/ethernet/socionext/netsec.c 	de->buf_len_info = (tx_ctrl->tcp_seg_len << 16) | desc->len;
desc              801 drivers/net/ethernet/socionext/netsec.c 	dring->desc[idx] = *desc;
desc              802 drivers/net/ethernet/socionext/netsec.c 	if (desc->buf_type == TYPE_NETSEC_SKB)
desc              803 drivers/net/ethernet/socionext/netsec.c 		dring->desc[idx].skb = buf;
desc              804 drivers/net/ethernet/socionext/netsec.c 	else if (desc->buf_type == TYPE_NETSEC_XDP_TX ||
desc              805 drivers/net/ethernet/socionext/netsec.c 		 desc->buf_type == TYPE_NETSEC_XDP_NDO)
desc              806 drivers/net/ethernet/socionext/netsec.c 		dring->desc[idx].xdpf = buf;
desc              942 drivers/net/ethernet/socionext/netsec.c 		struct netsec_desc *desc = &dring->desc[idx];
desc              943 drivers/net/ethernet/socionext/netsec.c 		struct page *page = virt_to_page(desc->addr);
desc              989 drivers/net/ethernet/socionext/netsec.c 		dma_sync_single_for_cpu(priv->dev, desc->dma_addr, pkt_len,
desc              991 drivers/net/ethernet/socionext/netsec.c 		prefetch(desc->addr);
desc              993 drivers/net/ethernet/socionext/netsec.c 		xdp.data_hard_start = desc->addr;
desc              994 drivers/net/ethernet/socionext/netsec.c 		xdp.data = desc->addr + NETSEC_RXBUF_HEADROOM;
desc             1008 drivers/net/ethernet/socionext/netsec.c 		skb = build_skb(desc->addr, desc->len + NETSEC_RX_BUF_NON_DATA);
desc             1039 drivers/net/ethernet/socionext/netsec.c 		desc->len = desc_len;
desc             1040 drivers/net/ethernet/socionext/netsec.c 		desc->dma_addr = dma_handle;
desc             1041 drivers/net/ethernet/socionext/netsec.c 		desc->addr = buf_addr;
desc             1181 drivers/net/ethernet/socionext/netsec.c 	struct netsec_desc *desc;
desc             1184 drivers/net/ethernet/socionext/netsec.c 	if (!dring->vaddr || !dring->desc)
desc             1187 drivers/net/ethernet/socionext/netsec.c 		desc = &dring->desc[idx];
desc             1188 drivers/net/ethernet/socionext/netsec.c 		if (!desc->addr)
desc             1192 drivers/net/ethernet/socionext/netsec.c 			struct page *page = virt_to_page(desc->addr);
desc             1196 drivers/net/ethernet/socionext/netsec.c 			dma_unmap_single(priv->dev, desc->dma_addr, desc->len,
desc             1198 drivers/net/ethernet/socionext/netsec.c 			dev_kfree_skb(desc->skb);
desc             1209 drivers/net/ethernet/socionext/netsec.c 	memset(dring->desc, 0, sizeof(struct netsec_desc) * DESC_NUM);
desc             1229 drivers/net/ethernet/socionext/netsec.c 	kfree(dring->desc);
desc             1230 drivers/net/ethernet/socionext/netsec.c 	dring->desc = NULL;
desc             1242 drivers/net/ethernet/socionext/netsec.c 	dring->desc = kcalloc(DESC_NUM, sizeof(*dring->desc), GFP_KERNEL);
desc             1243 drivers/net/ethernet/socionext/netsec.c 	if (!dring->desc)
desc             1302 drivers/net/ethernet/socionext/netsec.c 		struct netsec_desc *desc = &dring->desc[i];
desc             1313 drivers/net/ethernet/socionext/netsec.c 		desc->dma_addr = dma_handle;
desc             1314 drivers/net/ethernet/socionext/netsec.c 		desc->addr = buf;
desc             1315 drivers/net/ethernet/socionext/netsec.c 		desc->len = len;
desc              236 drivers/net/ethernet/socionext/sni_ave.c 	struct ave_desc *desc;	/* skb info related descriptor */
desc              549 drivers/net/ethernet/socionext/sni_ave.c static int ave_dma_map(struct net_device *ndev, struct ave_desc *desc,
desc              559 drivers/net/ethernet/socionext/sni_ave.c 	desc->skbs_dma = map_addr;
desc              560 drivers/net/ethernet/socionext/sni_ave.c 	desc->skbs_dmalen = len;
desc              566 drivers/net/ethernet/socionext/sni_ave.c static void ave_dma_unmap(struct net_device *ndev, struct ave_desc *desc,
desc              569 drivers/net/ethernet/socionext/sni_ave.c 	if (!desc->skbs_dma)
desc              573 drivers/net/ethernet/socionext/sni_ave.c 			 desc->skbs_dma, desc->skbs_dmalen, dir);
desc              574 drivers/net/ethernet/socionext/sni_ave.c 	desc->skbs_dma = 0;
desc              585 drivers/net/ethernet/socionext/sni_ave.c 	skb = priv->rx.desc[entry].skbs;
desc              609 drivers/net/ethernet/socionext/sni_ave.c 	ret = ave_dma_map(ndev, &priv->rx.desc[entry],
desc              618 drivers/net/ethernet/socionext/sni_ave.c 	priv->rx.desc[entry].skbs = skb;
desc              715 drivers/net/ethernet/socionext/sni_ave.c 		if (priv->tx.desc[done_idx].skbs) {
desc              716 drivers/net/ethernet/socionext/sni_ave.c 			ave_dma_unmap(ndev, &priv->tx.desc[done_idx],
desc              718 drivers/net/ethernet/socionext/sni_ave.c 			dev_consume_skb_any(priv->tx.desc[done_idx].skbs);
desc              719 drivers/net/ethernet/socionext/sni_ave.c 			priv->tx.desc[done_idx].skbs = NULL;
desc              776 drivers/net/ethernet/socionext/sni_ave.c 		skb = priv->rx.desc[proc_idx].skbs;
desc              777 drivers/net/ethernet/socionext/sni_ave.c 		priv->rx.desc[proc_idx].skbs = NULL;
desc              779 drivers/net/ethernet/socionext/sni_ave.c 		ave_dma_unmap(ndev, &priv->rx.desc[proc_idx], DMA_FROM_DEVICE);
desc             1275 drivers/net/ethernet/socionext/sni_ave.c 	priv->tx.desc = kcalloc(priv->tx.ndesc, sizeof(*priv->tx.desc),
desc             1277 drivers/net/ethernet/socionext/sni_ave.c 	if (!priv->tx.desc) {
desc             1282 drivers/net/ethernet/socionext/sni_ave.c 	priv->rx.desc = kcalloc(priv->rx.ndesc, sizeof(*priv->rx.desc),
desc             1284 drivers/net/ethernet/socionext/sni_ave.c 	if (!priv->rx.desc) {
desc             1285 drivers/net/ethernet/socionext/sni_ave.c 		kfree(priv->tx.desc);
desc             1369 drivers/net/ethernet/socionext/sni_ave.c 		if (!priv->tx.desc[entry].skbs)
desc             1372 drivers/net/ethernet/socionext/sni_ave.c 		ave_dma_unmap(ndev, &priv->tx.desc[entry], DMA_TO_DEVICE);
desc             1373 drivers/net/ethernet/socionext/sni_ave.c 		dev_kfree_skb_any(priv->tx.desc[entry].skbs);
desc             1374 drivers/net/ethernet/socionext/sni_ave.c 		priv->tx.desc[entry].skbs = NULL;
desc             1381 drivers/net/ethernet/socionext/sni_ave.c 		if (!priv->rx.desc[entry].skbs)
desc             1384 drivers/net/ethernet/socionext/sni_ave.c 		ave_dma_unmap(ndev, &priv->rx.desc[entry], DMA_FROM_DEVICE);
desc             1385 drivers/net/ethernet/socionext/sni_ave.c 		dev_kfree_skb_any(priv->rx.desc[entry].skbs);
desc             1386 drivers/net/ethernet/socionext/sni_ave.c 		priv->rx.desc[entry].skbs = NULL;
desc             1391 drivers/net/ethernet/socionext/sni_ave.c 	kfree(priv->tx.desc);
desc             1392 drivers/net/ethernet/socionext/sni_ave.c 	kfree(priv->rx.desc);
desc             1424 drivers/net/ethernet/socionext/sni_ave.c 	ret = ave_dma_map(ndev, &priv->tx.desc[proc_idx],
desc             1432 drivers/net/ethernet/socionext/sni_ave.c 	priv->tx.desc[proc_idx].skbs = skb;
desc               25 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 	struct dma_desc *desc;
desc               27 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 	desc = tx_q->dma_tx + entry;
desc               38 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 	desc->des2 = cpu_to_le32(des2);
desc               44 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 	stmmac_prepare_tx_desc(priv, desc, 1, bmax, csum, STMMAC_CHAIN_MODE,
desc               50 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 		desc = tx_q->dma_tx + entry;
desc               56 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 			desc->des2 = cpu_to_le32(des2);
desc               61 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 			stmmac_prepare_tx_desc(priv, desc, 0, bmax, csum,
desc               69 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 			desc->des2 = cpu_to_le32(des2);
desc               75 drivers/net/ethernet/stmicro/stmmac/chain_mode.c 			stmmac_prepare_tx_desc(priv, desc, 0, len, csum,
desc              436 drivers/net/ethernet/stmicro/stmmac/common.h 	const struct stmmac_desc_ops *desc;
desc              226 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c static inline void dwmac4_get_timestamp(void *desc, u32 ats, u64 *ts)
desc              228 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc              238 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c static int dwmac4_rx_check_timestamp(void *desc)
desc              240 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc              264 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c static int dwmac4_wrback_get_rx_timestamp_status(void *desc, void *next_desc,
desc              267 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc               15 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	const char *desc;
desc               22 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 		const char *module_name, const struct dwmac5_error_desc *desc,
desc               35 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 				desc[loc].desc, desc[loc].detailed_desc);
desc              281 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	const struct dwmac5_error_desc *desc;
desc              289 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 			int index, unsigned long *count, const char **desc)
desc              296 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	if (!dwmac5_all_errors[module].desc[offset].valid)
desc              300 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	if (desc)
desc              301 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 		*desc = dwmac5_all_errors[module].desc[offset].desc;
desc               80 drivers/net/ethernet/stmicro/stmmac/dwmac5.h 			int index, unsigned long *count, const char **desc);
desc              600 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	const char *desc;
desc              608 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 			       const struct dwxgmac3_error_desc *desc,
desc              622 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 				desc[loc].desc, desc[loc].detailed_desc);
desc              851 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	const struct dwxgmac3_error_desc *desc;
desc              860 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 				     const char **desc)
desc              867 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	if (!dwxgmac3_all_errors[module].desc[offset].valid)
desc              871 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	if (desc)
desc              872 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 		*desc = dwxgmac3_all_errors[module].desc[offset].desc;
desc               85 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c static inline void dwxgmac2_get_timestamp(void *desc, u32 ats, u64 *ts)
desc               87 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc               96 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c static int dwxgmac2_rx_check_timestamp(void *desc)
desc               98 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc              116 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c static int dwxgmac2_get_rx_timestamp_status(void *desc, void *next_desc,
desc              119 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc              385 drivers/net/ethernet/stmicro/stmmac/enh_desc.c static void enh_desc_get_timestamp(void *desc, u32 ats, u64 *ts)
desc              390 drivers/net/ethernet/stmicro/stmmac/enh_desc.c 		struct dma_extended_desc *p = (struct dma_extended_desc *)desc;
desc              395 drivers/net/ethernet/stmicro/stmmac/enh_desc.c 		struct dma_desc *p = (struct dma_desc *)desc;
desc              403 drivers/net/ethernet/stmicro/stmmac/enh_desc.c static int enh_desc_get_rx_timestamp_status(void *desc, void *next_desc,
desc              407 drivers/net/ethernet/stmicro/stmmac/enh_desc.c 		struct dma_extended_desc *p = (struct dma_extended_desc *)desc;
desc              410 drivers/net/ethernet/stmicro/stmmac/enh_desc.c 		struct dma_desc *p = (struct dma_desc *)desc;
desc               56 drivers/net/ethernet/stmicro/stmmac/hwif.c 		mac->desc = &enh_desc_ops;
desc               59 drivers/net/ethernet/stmicro/stmmac/hwif.c 		mac->desc = &ndesc_ops;
desc               78 drivers/net/ethernet/stmicro/stmmac/hwif.c 	const void *desc;
desc               98 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = NULL,
desc              116 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = NULL,
desc              134 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = &dwmac4_desc_ops,
desc              152 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = &dwmac4_desc_ops,
desc              170 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = &dwmac4_desc_ops,
desc              188 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = &dwmac4_desc_ops,
desc              206 drivers/net/ethernet/stmicro/stmmac/hwif.c 		.desc = &dwxgmac210_desc_ops,
desc              272 drivers/net/ethernet/stmicro/stmmac/hwif.c 		mac->desc = mac->desc ? : entry->desc;
desc               76 drivers/net/ethernet/stmicro/stmmac/hwif.h 	void (*get_timestamp)(void *desc, u32 ats, u64 *ts);
desc               78 drivers/net/ethernet/stmicro/stmmac/hwif.h 	int (*get_rx_timestamp_status)(void *desc, void *next_desc, u32 ats);
desc              101 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, init_rx_desc, __args)
desc              103 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, init_tx_desc, __args)
desc              105 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, prepare_tx_desc, __args)
desc              107 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, prepare_tso_tx_desc, __args)
desc              109 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_tx_owner, __args)
desc              111 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_tx_owner, __args)
desc              113 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, release_tx_desc, __args)
desc              115 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_tx_ic, __args)
desc              117 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_tx_ls, __args)
desc              119 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, tx_status, __args)
desc              121 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_tx_len, __args)
desc              123 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_rx_owner, __args)
desc              125 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_rx_frame_len, __args)
desc              127 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, rx_status, __args)
desc              129 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, rx_extended_status, __args)
desc              131 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, enable_tx_timestamp, __args)
desc              133 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_tx_timestamp_status, __args)
desc              135 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, get_timestamp, __args)
desc              137 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_rx_timestamp_status, __args)
desc              139 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, display_ring, __args)
desc              141 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_mss, __args)
desc              143 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, get_addr, __args)
desc              145 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_addr, __args)
desc              147 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, clear, __args)
desc              149 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_rx_hash, __args)
desc              151 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_callback(__priv, desc, get_rx_header_len, __args)
desc              153 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_sec_addr, __args)
desc              155 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_sarc, __args)
desc              157 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_vlan_tag, __args)
desc              159 drivers/net/ethernet/stmicro/stmmac/hwif.h 	stmmac_do_void_callback(__priv, desc, set_vlan, __args)
desc              345 drivers/net/ethernet/stmicro/stmmac/hwif.h 			int index, unsigned long *count, const char **desc);
desc              248 drivers/net/ethernet/stmicro/stmmac/norm_desc.c static void ndesc_get_timestamp(void *desc, u32 ats, u64 *ts)
desc              250 drivers/net/ethernet/stmicro/stmmac/norm_desc.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc              260 drivers/net/ethernet/stmicro/stmmac/norm_desc.c static int ndesc_get_rx_timestamp_status(void *desc, void *next_desc, u32 ats)
desc              262 drivers/net/ethernet/stmicro/stmmac/norm_desc.c 	struct dma_desc *p = (struct dma_desc *)desc;
desc               24 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 	struct dma_desc *desc;
desc               27 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc = (struct dma_desc *)(tx_q->dma_etx + entry);
desc               29 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc = tx_q->dma_tx + entry;
desc               42 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des2 = cpu_to_le32(des2);
desc               50 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
desc               51 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		stmmac_prepare_tx_desc(priv, desc, 1, bmax, csum,
desc               57 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 			desc = (struct dma_desc *)(tx_q->dma_etx + entry);
desc               59 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 			desc = tx_q->dma_tx + entry;
desc               63 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des2 = cpu_to_le32(des2);
desc               70 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
desc               71 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		stmmac_prepare_tx_desc(priv, desc, 0, len, csum,
desc               77 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des2 = cpu_to_le32(des2);
desc               83 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		desc->des3 = cpu_to_le32(des2 + BUF_SIZE_4KiB);
desc               84 drivers/net/ethernet/stmicro/stmmac/ring_mode.c 		stmmac_prepare_tx_desc(priv, desc, 1, nopaged_len, csum,
desc              568 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 				const char *desc;
desc              571 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 							NULL, &desc)) {
desc              572 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 					memcpy(p, desc, ETH_GSTRING_LEN);
desc              477 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct dma_desc *desc = p;
desc              484 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		desc = np;
desc              488 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_get_timestamp(priv, desc, priv->adv_ts, &ns);
desc             2853 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct dma_desc *desc;
desc             2864 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		desc = tx_q->dma_tx + tx_q->cur_tx;
desc             2868 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			desc->des0 = cpu_to_le32(curr_addr);
desc             2870 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			stmmac_set_desc_addr(priv, desc, curr_addr);
desc             2875 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_prepare_tso_tx_desc(priv, desc, 0, buff_size,
desc             2913 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct dma_desc *desc, *first, *mss_desc = NULL;
desc             2971 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	desc = tx_q->dma_tx + first_entry;
desc             2972 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	first = desc;
desc             3034 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		desc = &tx_q->dma_tx[tx_q->cur_tx];
desc             3036 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_set_tx_ic(priv, desc);
desc             3106 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	tx_q->tx_tail_addr = tx_q->dma_tx_phy + (tx_q->cur_tx * sizeof(*desc));
desc             3134 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct dma_desc *desc, *first;
desc             3175 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		desc = (struct dma_desc *)(tx_q->dma_etx + entry);
desc             3177 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		desc = tx_q->dma_tx + entry;
desc             3179 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	first = desc;
desc             3204 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			desc = (struct dma_desc *)(tx_q->dma_etx + entry);
desc             3206 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			desc = tx_q->dma_tx + entry;
desc             3215 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_set_desc_addr(priv, desc, des);
desc             3222 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_prepare_tx_desc(priv, desc, 0, len, csum_insertion,
desc             3241 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			desc = &tx_q->dma_etx[entry].basic;
desc             3243 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 			desc = &tx_q->dma_tx[entry];
desc             3246 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_set_tx_ic(priv, desc);
desc             3334 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	tx_q->tx_tail_addr = tx_q->dma_tx_phy + (tx_q->cur_tx * sizeof(*desc));
desc             6534 drivers/net/ethernet/sun/niu.c 	__le64 *desc = &rp->descr[index];
desc             6536 drivers/net/ethernet/sun/niu.c 	*desc = cpu_to_le64(mark |
desc              373 drivers/net/ethernet/sun/sunvnet_common.c static int vnet_rx_one(struct vnet_port *port, struct vio_net_desc *desc)
desc              376 drivers/net/ethernet/sun/sunvnet_common.c 	unsigned int len = desc->size;
desc              403 drivers/net/ethernet/sun/sunvnet_common.c 		       desc->cookies, desc->ncookies);
desc              414 drivers/net/ethernet/sun/sunvnet_common.c 		struct vio_net_dext *dext = vio_net_ext(desc);
desc              522 drivers/net/ethernet/sun/sunvnet_common.c 	struct vio_net_desc *desc = port->vio.desc_buf;
desc              525 drivers/net/ethernet/sun/sunvnet_common.c 	err = ldc_get_dring_entry(port->vio.lp, desc, dr->entry_size,
desc              531 drivers/net/ethernet/sun/sunvnet_common.c 	return desc;
desc              536 drivers/net/ethernet/sun/sunvnet_common.c 		       struct vio_net_desc *desc,
desc              541 drivers/net/ethernet/sun/sunvnet_common.c 	err = ldc_put_dring_entry(port->vio.lp, desc, dr->entry_size,
desc              554 drivers/net/ethernet/sun/sunvnet_common.c 	struct vio_net_desc *desc = get_rx_desc(port, dr, index);
desc              558 drivers/net/ethernet/sun/sunvnet_common.c 	BUG_ON(!desc);
desc              559 drivers/net/ethernet/sun/sunvnet_common.c 	if (IS_ERR(desc))
desc              560 drivers/net/ethernet/sun/sunvnet_common.c 		return PTR_ERR(desc);
desc              562 drivers/net/ethernet/sun/sunvnet_common.c 	if (desc->hdr.state != VIO_DESC_READY)
desc              568 drivers/net/ethernet/sun/sunvnet_common.c 	       desc->hdr.state, desc->hdr.ack,
desc              569 drivers/net/ethernet/sun/sunvnet_common.c 	       desc->size, desc->ncookies,
desc              570 drivers/net/ethernet/sun/sunvnet_common.c 	       desc->cookies[0].cookie_addr,
desc              571 drivers/net/ethernet/sun/sunvnet_common.c 	       desc->cookies[0].cookie_size);
desc              573 drivers/net/ethernet/sun/sunvnet_common.c 	err = vnet_rx_one(port, desc);
desc              577 drivers/net/ethernet/sun/sunvnet_common.c 			  index, desc->hdr.ack);
desc              578 drivers/net/ethernet/sun/sunvnet_common.c 	desc->hdr.state = VIO_DESC_DONE;
desc              579 drivers/net/ethernet/sun/sunvnet_common.c 	err = put_rx_desc(port, dr, desc, index);
desc              582 drivers/net/ethernet/sun/sunvnet_common.c 	*needs_ack = desc->hdr.ack;
desc              691 drivers/net/ethernet/sun/sunvnet_common.c 	struct vio_net_desc *desc;
desc              711 drivers/net/ethernet/sun/sunvnet_common.c 	desc = vio_dring_entry(dr, dr->cons);
desc              712 drivers/net/ethernet/sun/sunvnet_common.c 	if (desc->hdr.state == VIO_DESC_READY && !port->start_cons) {
desc              228 drivers/net/ethernet/ti/cpmac.c static void cpmac_dump_desc(struct net_device *dev, struct cpmac_desc *desc)
desc              232 drivers/net/ethernet/ti/cpmac.c 	printk("%s: desc[%p]:", dev->name, desc);
desc              233 drivers/net/ethernet/ti/cpmac.c 	for (i = 0; i < sizeof(*desc) / 4; i++)
desc              234 drivers/net/ethernet/ti/cpmac.c 		printk(" %08x", ((u32 *)desc)[i]);
desc              354 drivers/net/ethernet/ti/cpmac.c 				    struct cpmac_desc *desc)
desc              359 drivers/net/ethernet/ti/cpmac.c 		cpmac_dump_desc(priv->dev, desc);
desc              360 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_RX_ACK(0), (u32)desc->mapping);
desc              361 drivers/net/ethernet/ti/cpmac.c 	if (unlikely(!desc->datalen)) {
desc              370 drivers/net/ethernet/ti/cpmac.c 		skb_put(desc->skb, desc->datalen);
desc              371 drivers/net/ethernet/ti/cpmac.c 		desc->skb->protocol = eth_type_trans(desc->skb, priv->dev);
desc              372 drivers/net/ethernet/ti/cpmac.c 		skb_checksum_none_assert(desc->skb);
desc              374 drivers/net/ethernet/ti/cpmac.c 		priv->dev->stats.rx_bytes += desc->datalen;
desc              375 drivers/net/ethernet/ti/cpmac.c 		result = desc->skb;
desc              376 drivers/net/ethernet/ti/cpmac.c 		dma_unmap_single(&priv->dev->dev, desc->data_mapping,
desc              378 drivers/net/ethernet/ti/cpmac.c 		desc->skb = skb;
desc              379 drivers/net/ethernet/ti/cpmac.c 		desc->data_mapping = dma_map_single(&priv->dev->dev, skb->data,
desc              382 drivers/net/ethernet/ti/cpmac.c 		desc->hw_data = (u32)desc->data_mapping;
desc              395 drivers/net/ethernet/ti/cpmac.c 	desc->buflen = CPMAC_SKB_SIZE;
desc              396 drivers/net/ethernet/ti/cpmac.c 	desc->dataflags = CPMAC_OWN;
desc              404 drivers/net/ethernet/ti/cpmac.c 	struct cpmac_desc *desc, *restart;
desc              418 drivers/net/ethernet/ti/cpmac.c 	desc = priv->rx_head;
desc              420 drivers/net/ethernet/ti/cpmac.c 	while (((desc->dataflags & CPMAC_OWN) == 0) && (received < budget)) {
desc              423 drivers/net/ethernet/ti/cpmac.c 		if ((desc->dataflags & CPMAC_EOQ) != 0) {
desc              433 drivers/net/ethernet/ti/cpmac.c 						   restart, desc);
desc              437 drivers/net/ethernet/ti/cpmac.c 			restart = desc->next;
desc              440 drivers/net/ethernet/ti/cpmac.c 		skb = cpmac_rx_one(priv, desc);
desc              445 drivers/net/ethernet/ti/cpmac.c 		desc = desc->next;
desc              448 drivers/net/ethernet/ti/cpmac.c 	if (desc != priv->rx_head) {
desc              452 drivers/net/ethernet/ti/cpmac.c 		desc->prev->hw_next = (u32)0;
desc              492 drivers/net/ethernet/ti/cpmac.c 	priv->rx_head = desc;
desc              539 drivers/net/ethernet/ti/cpmac.c 	struct cpmac_desc *desc;
desc              552 drivers/net/ethernet/ti/cpmac.c 	desc = &priv->desc_ring[queue];
desc              553 drivers/net/ethernet/ti/cpmac.c 	if (unlikely(desc->dataflags & CPMAC_OWN)) {
desc              562 drivers/net/ethernet/ti/cpmac.c 	desc->dataflags = CPMAC_SOP | CPMAC_EOP | CPMAC_OWN;
desc              563 drivers/net/ethernet/ti/cpmac.c 	desc->skb = skb;
desc              564 drivers/net/ethernet/ti/cpmac.c 	desc->data_mapping = dma_map_single(&dev->dev, skb->data, len,
desc              566 drivers/net/ethernet/ti/cpmac.c 	desc->hw_data = (u32)desc->data_mapping;
desc              567 drivers/net/ethernet/ti/cpmac.c 	desc->datalen = len;
desc              568 drivers/net/ethernet/ti/cpmac.c 	desc->buflen = len;
desc              572 drivers/net/ethernet/ti/cpmac.c 		cpmac_dump_desc(dev, desc);
desc              575 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_PTR(queue), (u32)desc->mapping);
desc              582 drivers/net/ethernet/ti/cpmac.c 	struct cpmac_desc *desc;
desc              585 drivers/net/ethernet/ti/cpmac.c 	desc = &priv->desc_ring[queue];
desc              586 drivers/net/ethernet/ti/cpmac.c 	cpmac_write(priv->regs, CPMAC_TX_ACK(queue), (u32)desc->mapping);
desc              587 drivers/net/ethernet/ti/cpmac.c 	if (likely(desc->skb)) {
desc              590 drivers/net/ethernet/ti/cpmac.c 		dev->stats.tx_bytes += desc->skb->len;
desc              592 drivers/net/ethernet/ti/cpmac.c 		dma_unmap_single(&dev->dev, desc->data_mapping, desc->skb->len,
desc              597 drivers/net/ethernet/ti/cpmac.c 				   desc->skb, desc->skb->len);
desc              599 drivers/net/ethernet/ti/cpmac.c 		dev_consume_skb_irq(desc->skb);
desc              600 drivers/net/ethernet/ti/cpmac.c 		desc->skb = NULL;
desc              678 drivers/net/ethernet/ti/cpmac.c 	struct cpmac_desc *desc;
desc              683 drivers/net/ethernet/ti/cpmac.c 	desc = priv->rx_head;
desc              685 drivers/net/ethernet/ti/cpmac.c 		if ((desc->dataflags & CPMAC_OWN) == 0) {
desc              689 drivers/net/ethernet/ti/cpmac.c 				cpmac_dump_desc(dev, desc);
desc              690 drivers/net/ethernet/ti/cpmac.c 			desc->dataflags = CPMAC_OWN;
desc              693 drivers/net/ethernet/ti/cpmac.c 		desc->hw_next = desc->next->mapping;
desc              694 drivers/net/ethernet/ti/cpmac.c 		desc = desc->next;
desc              914 drivers/net/ethernet/ti/cpmac.c 	struct cpmac_desc *desc;
desc              946 drivers/net/ethernet/ti/cpmac.c 		priv->desc_ring[i].mapping = priv->dma_ring + sizeof(*desc) * i;
desc              949 drivers/net/ethernet/ti/cpmac.c 	for (i = 0, desc = priv->rx_head; i < priv->ring_size; i++, desc++) {
desc              955 drivers/net/ethernet/ti/cpmac.c 		desc->skb = skb;
desc              956 drivers/net/ethernet/ti/cpmac.c 		desc->data_mapping = dma_map_single(&dev->dev, skb->data,
desc              959 drivers/net/ethernet/ti/cpmac.c 		desc->hw_data = (u32)desc->data_mapping;
desc              960 drivers/net/ethernet/ti/cpmac.c 		desc->buflen = CPMAC_SKB_SIZE;
desc              961 drivers/net/ethernet/ti/cpmac.c 		desc->dataflags = CPMAC_OWN;
desc              962 drivers/net/ethernet/ti/cpmac.c 		desc->next = &priv->rx_head[(i + 1) % priv->ring_size];
desc              963 drivers/net/ethernet/ti/cpmac.c 		desc->next->prev = desc;
desc              964 drivers/net/ethernet/ti/cpmac.c 		desc->hw_next = (u32)desc->next->mapping;
desc              175 drivers/net/ethernet/ti/davinci_cpdma.c #define desc_read(desc, fld)		readl(&(desc)->fld)
desc              178 drivers/net/ethernet/ti/davinci_cpdma.c #define desc_write(desc, fld, v)	writel((u32)(v), &(desc)->fld)
desc              280 drivers/net/ethernet/ti/davinci_cpdma.c 		  struct cpdma_desc __iomem *desc)
desc              282 drivers/net/ethernet/ti/davinci_cpdma.c 	if (!desc)
desc              284 drivers/net/ethernet/ti/davinci_cpdma.c 	return pool->hw_addr + (__force long)desc - (__force long)pool->iomap;
desc              301 drivers/net/ethernet/ti/davinci_cpdma.c 			    struct cpdma_desc __iomem *desc, int num_desc)
desc              303 drivers/net/ethernet/ti/davinci_cpdma.c 	gen_pool_free(pool->gen_pool, (unsigned long)desc, pool->desc_size);
desc              981 drivers/net/ethernet/ti/davinci_cpdma.c 				struct cpdma_desc __iomem *desc)
desc              989 drivers/net/ethernet/ti/davinci_cpdma.c 	desc_dma = desc_phys(pool, desc);
desc              994 drivers/net/ethernet/ti/davinci_cpdma.c 		chan->head = desc;
desc              995 drivers/net/ethernet/ti/davinci_cpdma.c 		chan->tail = desc;
desc             1003 drivers/net/ethernet/ti/davinci_cpdma.c 	chan->tail = desc;
desc             1021 drivers/net/ethernet/ti/davinci_cpdma.c 	struct cpdma_desc __iomem	*desc;
desc             1031 drivers/net/ethernet/ti/davinci_cpdma.c 	desc = cpdma_desc_alloc(ctlr->pool);
desc             1032 drivers/net/ethernet/ti/davinci_cpdma.c 	if (!desc) {
desc             1052 drivers/net/ethernet/ti/davinci_cpdma.c 			cpdma_desc_free(ctlr->pool, desc, 1);
desc             1060 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed(0, &desc->hw_next);
desc             1061 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed(buffer, &desc->hw_buffer);
desc             1062 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed(len, &desc->hw_len);
desc             1063 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed(mode | len, &desc->hw_mode);
desc             1064 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed((uintptr_t)si->token, &desc->sw_token);
desc             1065 drivers/net/ethernet/ti/davinci_cpdma.c 	writel_relaxed(buffer, &desc->sw_buffer);
desc             1067 drivers/net/ethernet/ti/davinci_cpdma.c 		       &desc->sw_len);
desc             1068 drivers/net/ethernet/ti/davinci_cpdma.c 	desc_read(desc, sw_len);
desc             1070 drivers/net/ethernet/ti/davinci_cpdma.c 	__cpdma_chan_submit(chan, desc);
desc             1194 drivers/net/ethernet/ti/davinci_cpdma.c 			      struct cpdma_desc __iomem *desc,
desc             1203 drivers/net/ethernet/ti/davinci_cpdma.c 	token      = desc_read(desc, sw_token);
desc             1204 drivers/net/ethernet/ti/davinci_cpdma.c 	origlen    = desc_read(desc, sw_len);
desc             1206 drivers/net/ethernet/ti/davinci_cpdma.c 	buff_dma   = desc_read(desc, sw_buffer);
desc             1215 drivers/net/ethernet/ti/davinci_cpdma.c 	cpdma_desc_free(pool, desc, 1);
desc             1222 drivers/net/ethernet/ti/davinci_cpdma.c 	struct cpdma_desc __iomem	*desc;
desc             1231 drivers/net/ethernet/ti/davinci_cpdma.c 	desc = chan->head;
desc             1232 drivers/net/ethernet/ti/davinci_cpdma.c 	if (!desc) {
desc             1237 drivers/net/ethernet/ti/davinci_cpdma.c 	desc_dma = desc_phys(pool, desc);
desc             1239 drivers/net/ethernet/ti/davinci_cpdma.c 	status	= desc_read(desc, hw_mode);
desc             1253 drivers/net/ethernet/ti/davinci_cpdma.c 	chan->head = desc_from_phys(pool, desc_read(desc, hw_next));
desc             1269 drivers/net/ethernet/ti/davinci_cpdma.c 	__cpdma_chan_free(chan, desc, outlen, cb_status);
desc             1355 drivers/net/ethernet/ti/davinci_cpdma.c 		struct cpdma_desc __iomem *desc = chan->head;
desc             1358 drivers/net/ethernet/ti/davinci_cpdma.c 		next_dma = desc_read(desc, hw_next);
desc             1365 drivers/net/ethernet/ti/davinci_cpdma.c 		__cpdma_chan_free(chan, desc, 0, -ENOSYS);
desc              110 drivers/net/ethernet/ti/netcp_core.c 			 struct knav_dma_desc *desc)
desc              112 drivers/net/ethernet/ti/netcp_core.c 	*buff_len = le32_to_cpu(desc->buff_len);
desc              113 drivers/net/ethernet/ti/netcp_core.c 	*buff = le32_to_cpu(desc->buff);
desc              114 drivers/net/ethernet/ti/netcp_core.c 	*ndesc = le32_to_cpu(desc->next_desc);
desc              118 drivers/net/ethernet/ti/netcp_core.c 			  struct knav_dma_desc *desc)
desc              120 drivers/net/ethernet/ti/netcp_core.c 	*desc_info = le32_to_cpu(desc->desc_info);
desc              121 drivers/net/ethernet/ti/netcp_core.c 	*pkt_info = le32_to_cpu(desc->packet_info);
desc              124 drivers/net/ethernet/ti/netcp_core.c static u32 get_sw_data(int index, struct knav_dma_desc *desc)
desc              127 drivers/net/ethernet/ti/netcp_core.c 	return desc->sw_data[index];
desc              131 drivers/net/ethernet/ti/netcp_core.c #define GET_SW_DATA0(desc) get_sw_data(0, desc)
desc              132 drivers/net/ethernet/ti/netcp_core.c #define GET_SW_DATA1(desc) get_sw_data(1, desc)
desc              133 drivers/net/ethernet/ti/netcp_core.c #define GET_SW_DATA2(desc) get_sw_data(2, desc)
desc              134 drivers/net/ethernet/ti/netcp_core.c #define GET_SW_DATA3(desc) get_sw_data(3, desc)
desc              137 drivers/net/ethernet/ti/netcp_core.c 			     struct knav_dma_desc *desc)
desc              139 drivers/net/ethernet/ti/netcp_core.c 	*buff = le32_to_cpu(desc->orig_buff);
desc              140 drivers/net/ethernet/ti/netcp_core.c 	*buff_len = le32_to_cpu(desc->orig_len);
desc              143 drivers/net/ethernet/ti/netcp_core.c static void get_words(dma_addr_t *words, int num_words, __le32 *desc)
desc              148 drivers/net/ethernet/ti/netcp_core.c 		words[i] = le32_to_cpu(desc[i]);
desc              152 drivers/net/ethernet/ti/netcp_core.c 			 struct knav_dma_desc *desc)
desc              154 drivers/net/ethernet/ti/netcp_core.c 	desc->buff_len = cpu_to_le32(buff_len);
desc              155 drivers/net/ethernet/ti/netcp_core.c 	desc->buff = cpu_to_le32(buff);
desc              156 drivers/net/ethernet/ti/netcp_core.c 	desc->next_desc = cpu_to_le32(ndesc);
desc              160 drivers/net/ethernet/ti/netcp_core.c 			  struct knav_dma_desc *desc)
desc              162 drivers/net/ethernet/ti/netcp_core.c 	desc->desc_info = cpu_to_le32(desc_info);
desc              163 drivers/net/ethernet/ti/netcp_core.c 	desc->packet_info = cpu_to_le32(pkt_info);
desc              166 drivers/net/ethernet/ti/netcp_core.c static void set_sw_data(int index, u32 data, struct knav_dma_desc *desc)
desc              169 drivers/net/ethernet/ti/netcp_core.c 	desc->sw_data[index] = data;
desc              173 drivers/net/ethernet/ti/netcp_core.c #define SET_SW_DATA0(data, desc) set_sw_data(0, data, desc)
desc              174 drivers/net/ethernet/ti/netcp_core.c #define SET_SW_DATA1(data, desc) set_sw_data(1, data, desc)
desc              175 drivers/net/ethernet/ti/netcp_core.c #define SET_SW_DATA2(data, desc) set_sw_data(2, data, desc)
desc              176 drivers/net/ethernet/ti/netcp_core.c #define SET_SW_DATA3(data, desc) set_sw_data(3, data, desc)
desc              179 drivers/net/ethernet/ti/netcp_core.c 			     struct knav_dma_desc *desc)
desc              181 drivers/net/ethernet/ti/netcp_core.c 	desc->orig_buff = cpu_to_le32(buff);
desc              182 drivers/net/ethernet/ti/netcp_core.c 	desc->orig_len = cpu_to_le32(buff_len);
desc              185 drivers/net/ethernet/ti/netcp_core.c static void set_words(u32 *words, int num_words, __le32 *desc)
desc              190 drivers/net/ethernet/ti/netcp_core.c 		desc[i] = cpu_to_le32(words[i]);
desc              579 drivers/net/ethernet/ti/netcp_core.c 				     struct knav_dma_desc *desc)
desc              587 drivers/net/ethernet/ti/netcp_core.c 	get_words(&dma_desc, 1, &desc->next_desc);
desc              600 drivers/net/ethernet/ti/netcp_core.c 		buf_len = (int)GET_SW_DATA1(desc);
desc              603 drivers/net/ethernet/ti/netcp_core.c 		knav_pool_desc_put(netcp->rx_pool, desc);
desc              608 drivers/net/ethernet/ti/netcp_core.c 	buf_ptr = (void *)GET_SW_DATA0(desc);
desc              609 drivers/net/ethernet/ti/netcp_core.c 	buf_len = (int)GET_SW_DATA1(desc);
desc              613 drivers/net/ethernet/ti/netcp_core.c 	knav_pool_desc_put(netcp->rx_pool, desc);
desc              619 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc;
desc              628 drivers/net/ethernet/ti/netcp_core.c 		desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz);
desc              629 drivers/net/ethernet/ti/netcp_core.c 		if (unlikely(!desc)) {
desc              635 drivers/net/ethernet/ti/netcp_core.c 		netcp_free_rx_desc_chain(netcp, desc);
desc              644 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc, *ndesc;
desc              657 drivers/net/ethernet/ti/netcp_core.c 	desc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz);
desc              658 drivers/net/ethernet/ti/netcp_core.c 	if (unlikely(!desc)) {
desc              663 drivers/net/ethernet/ti/netcp_core.c 	get_pkt_info(&dma_buff, &buf_len, &dma_desc, desc);
desc              667 drivers/net/ethernet/ti/netcp_core.c 	org_buf_ptr = (void *)GET_SW_DATA0(desc);
desc              668 drivers/net/ethernet/ti/netcp_core.c 	org_buf_len = (int)GET_SW_DATA1(desc);
desc              739 drivers/net/ethernet/ti/netcp_core.c 	get_desc_info(&tmp, &p_info.eflags, desc);
desc              740 drivers/net/ethernet/ti/netcp_core.c 	p_info.epib = desc->epib;
desc              741 drivers/net/ethernet/ti/netcp_core.c 	p_info.psdata = (u32 __force *)desc->psdata;
desc              754 drivers/net/ethernet/ti/netcp_core.c 			knav_pool_desc_put(netcp->rx_pool, desc);
desc              760 drivers/net/ethernet/ti/netcp_core.c 	knav_pool_desc_put(netcp->rx_pool, desc);
desc              773 drivers/net/ethernet/ti/netcp_core.c 	netcp_free_rx_desc_chain(netcp, desc);
desc              791 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc;
desc              798 drivers/net/ethernet/ti/netcp_core.c 		desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz);
desc              799 drivers/net/ethernet/ti/netcp_core.c 		if (unlikely(!desc)) {
desc              804 drivers/net/ethernet/ti/netcp_core.c 		get_org_pkt_info(&dma, &buf_len, desc);
desc              808 drivers/net/ethernet/ti/netcp_core.c 		buf_ptr = (void *)GET_SW_DATA0(desc);
desc              812 drivers/net/ethernet/ti/netcp_core.c 			knav_pool_desc_put(netcp->rx_pool, desc);
desc              818 drivers/net/ethernet/ti/netcp_core.c 			knav_pool_desc_put(netcp->rx_pool, desc);
desc              832 drivers/net/ethernet/ti/netcp_core.c 		knav_pool_desc_put(netcp->rx_pool, desc);
desc              974 drivers/net/ethernet/ti/netcp_core.c 				     struct knav_dma_desc *desc,
desc              977 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *ndesc = desc;
desc             1006 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc;
desc             1017 drivers/net/ethernet/ti/netcp_core.c 		desc = knav_pool_desc_unmap(netcp->tx_pool, dma, dma_sz);
desc             1018 drivers/net/ethernet/ti/netcp_core.c 		if (unlikely(!desc)) {
desc             1027 drivers/net/ethernet/ti/netcp_core.c 		skb = (struct sk_buff *)GET_SW_DATA0(desc);
desc             1028 drivers/net/ethernet/ti/netcp_core.c 		netcp_free_tx_desc_chain(netcp, desc, dma_sz);
desc             1084 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc, *ndesc, *pdesc;
desc             1098 drivers/net/ethernet/ti/netcp_core.c 	desc = knav_pool_desc_get(netcp->tx_pool);
desc             1099 drivers/net/ethernet/ti/netcp_core.c 	if (IS_ERR_OR_NULL(desc)) {
desc             1105 drivers/net/ethernet/ti/netcp_core.c 	set_pkt_info(dma_addr, pkt_len, 0, desc);
desc             1109 drivers/net/ethernet/ti/netcp_core.c 		desc->next_desc = 0;
desc             1113 drivers/net/ethernet/ti/netcp_core.c 	pdesc = desc;
desc             1143 drivers/net/ethernet/ti/netcp_core.c 		if (pdesc != desc)
desc             1148 drivers/net/ethernet/ti/netcp_core.c 	if (pdesc != desc)
desc             1162 drivers/net/ethernet/ti/netcp_core.c 	set_words(&pkt_len, 1, &desc->desc_info);
desc             1163 drivers/net/ethernet/ti/netcp_core.c 	return desc;
desc             1166 drivers/net/ethernet/ti/netcp_core.c 	netcp_free_tx_desc_chain(netcp, desc, sizeof(*desc));
desc             1172 drivers/net/ethernet/ti/netcp_core.c 			       struct knav_dma_desc *desc)
desc             1189 drivers/net/ethernet/ti/netcp_core.c 	p_info.epib = desc->epib;
desc             1190 drivers/net/ethernet/ti/netcp_core.c 	p_info.psdata = (u32 __force *)desc->psdata;
desc             1238 drivers/net/ethernet/ti/netcp_core.c 	set_words(&tmp, 1, &desc->packet_info);
desc             1242 drivers/net/ethernet/ti/netcp_core.c 	SET_SW_DATA0((u32)skb, desc);
desc             1246 drivers/net/ethernet/ti/netcp_core.c 		set_words(&tmp, 1, &desc->tag_info);
desc             1250 drivers/net/ethernet/ti/netcp_core.c 	ret = knav_pool_desc_map(netcp->tx_pool, desc, sizeof(*desc), &dma,
desc             1270 drivers/net/ethernet/ti/netcp_core.c 	struct knav_dma_desc *desc;
desc             1290 drivers/net/ethernet/ti/netcp_core.c 	desc = netcp_tx_map_skb(skb, netcp);
desc             1291 drivers/net/ethernet/ti/netcp_core.c 	if (unlikely(!desc)) {
desc             1297 drivers/net/ethernet/ti/netcp_core.c 	ret = netcp_tx_submit_skb(netcp, skb, desc);
desc             1311 drivers/net/ethernet/ti/netcp_core.c 	if (desc)
desc             1312 drivers/net/ethernet/ti/netcp_core.c 		netcp_free_tx_desc_chain(netcp, desc, sizeof(*desc));
desc              777 drivers/net/ethernet/ti/netcp_ethss.c 	char desc[ETH_GSTRING_LEN];
desc             1786 drivers/net/ethernet/ti/netcp_ethss.c 			memcpy(data, gbe_dev->et_stats[i].desc,
desc             2028 drivers/net/ethernet/via/via-rhine.c static inline void rhine_rx_vlan_tag(struct sk_buff *skb, struct rx_desc *desc,
desc             2032 drivers/net/ethernet/via/via-rhine.c 	if (unlikely(desc->desc_length & cpu_to_le32(DescTag))) {
desc             2053 drivers/net/ethernet/via/via-rhine.c 		struct rx_desc *desc = rp->rx_ring + entry;
desc             2054 drivers/net/ethernet/via/via-rhine.c 		u32 desc_status = le32_to_cpu(desc->rx_status);
desc             2132 drivers/net/ethernet/via/via-rhine.c 			rhine_rx_vlan_tag(skb, desc, data_size);
desc             2144 drivers/net/ethernet/via/via-rhine.c 		desc->rx_status = cpu_to_le32(DescOwn);
desc               55 drivers/net/ethernet/xscale/ixp4xx_eth.c #define POOL_ALLOC_SIZE		(sizeof(struct desc) * (RX_DESCS + TX_DESCS))
desc              173 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct desc *desc_tab;	/* coherent */
desc              232 drivers/net/ethernet/xscale/ixp4xx_eth.c 				 (n) * sizeof(struct desc))
desc              236 drivers/net/ethernet/xscale/ixp4xx_eth.c 				 ((n) + RX_DESCS) * sizeof(struct desc))
desc              597 drivers/net/ethernet/xscale/ixp4xx_eth.c static inline void debug_desc(u32 phys, struct desc *desc)
desc              602 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       phys, desc->next, desc->buf_len, desc->pkt_len,
desc              603 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->data, desc->dest_id, desc->src_id, desc->flags,
desc              604 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->qos, desc->padlen, desc->vlan_tci,
desc              605 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->dst_mac_0, desc->dst_mac_1, desc->dst_mac_2,
desc              606 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->dst_mac_3, desc->dst_mac_4, desc->dst_mac_5,
desc              607 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->src_mac_0, desc->src_mac_1, desc->src_mac_2,
desc              608 drivers/net/ethernet/xscale/ixp4xx_eth.c 	       desc->src_mac_3, desc->src_mac_4, desc->src_mac_5);
desc              616 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct desc *tab;
desc              624 drivers/net/ethernet/xscale/ixp4xx_eth.c 	n_desc = (phys - tab_phys) / sizeof(struct desc);
desc              632 drivers/net/ethernet/xscale/ixp4xx_eth.c 				  struct desc *desc)
desc              634 drivers/net/ethernet/xscale/ixp4xx_eth.c 	debug_desc(phys, desc);
desc              642 drivers/net/ethernet/xscale/ixp4xx_eth.c static inline void dma_unmap_tx(struct port *port, struct desc *desc)
desc              645 drivers/net/ethernet/xscale/ixp4xx_eth.c 	dma_unmap_single(&port->netdev->dev, desc->data,
desc              646 drivers/net/ethernet/xscale/ixp4xx_eth.c 			 desc->buf_len, DMA_TO_DEVICE);
desc              648 drivers/net/ethernet/xscale/ixp4xx_eth.c 	dma_unmap_single(&port->netdev->dev, desc->data & ~3,
desc              649 drivers/net/ethernet/xscale/ixp4xx_eth.c 			 ALIGN((desc->data & 3) + desc->buf_len, 4),
desc              680 drivers/net/ethernet/xscale/ixp4xx_eth.c 		struct desc *desc;
desc              710 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc = rx_desc_ptr(port, n);
desc              723 drivers/net/ethernet/xscale/ixp4xx_eth.c 				       ALIGN(NET_IP_ALIGN + desc->pkt_len, 4));
desc              729 drivers/net/ethernet/xscale/ixp4xx_eth.c 			desc->buf_len = MAX_MRU;
desc              730 drivers/net/ethernet/xscale/ixp4xx_eth.c 			desc->pkt_len = 0;
desc              731 drivers/net/ethernet/xscale/ixp4xx_eth.c 			queue_put_desc(rxfreeq, rx_desc_phys(port, n), desc);
desc              739 drivers/net/ethernet/xscale/ixp4xx_eth.c 		dma_unmap_single(&dev->dev, desc->data - NET_IP_ALIGN,
desc              742 drivers/net/ethernet/xscale/ixp4xx_eth.c 		dma_sync_single_for_cpu(&dev->dev, desc->data - NET_IP_ALIGN,
desc              745 drivers/net/ethernet/xscale/ixp4xx_eth.c 			      ALIGN(NET_IP_ALIGN + desc->pkt_len, 4) / 4);
desc              748 drivers/net/ethernet/xscale/ixp4xx_eth.c 		skb_put(skb, desc->pkt_len);
desc              761 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->data = phys + NET_IP_ALIGN;
desc              763 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->buf_len = MAX_MRU;
desc              764 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->pkt_len = 0;
desc              765 drivers/net/ethernet/xscale/ixp4xx_eth.c 		queue_put_desc(rxfreeq, rx_desc_phys(port, n), desc);
desc              786 drivers/net/ethernet/xscale/ixp4xx_eth.c 		struct desc *desc;
desc              794 drivers/net/ethernet/xscale/ixp4xx_eth.c 		n_desc = (phys - tx_desc_phys(port, 0)) / sizeof(struct desc);
desc              796 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc = tx_desc_ptr(port, n_desc);
desc              797 drivers/net/ethernet/xscale/ixp4xx_eth.c 		debug_desc(phys, desc);
desc              801 drivers/net/ethernet/xscale/ixp4xx_eth.c 			port->netdev->stats.tx_bytes += desc->pkt_len;
desc              803 drivers/net/ethernet/xscale/ixp4xx_eth.c 			dma_unmap_tx(port, desc);
desc              813 drivers/net/ethernet/xscale/ixp4xx_eth.c 		queue_put_desc(port->plat->txreadyq, phys, desc);
desc              831 drivers/net/ethernet/xscale/ixp4xx_eth.c 	struct desc *desc;
desc              873 drivers/net/ethernet/xscale/ixp4xx_eth.c 	desc = tx_desc_ptr(port, n);
desc              880 drivers/net/ethernet/xscale/ixp4xx_eth.c 	desc->data = phys + offset;
desc              881 drivers/net/ethernet/xscale/ixp4xx_eth.c 	desc->buf_len = desc->pkt_len = len;
desc              885 drivers/net/ethernet/xscale/ixp4xx_eth.c 	queue_put_desc(TX_QUEUE(port->id), tx_desc_phys(port, n), desc);
desc             1106 drivers/net/ethernet/xscale/ixp4xx_eth.c 		struct desc *desc = rx_desc_ptr(port, i);
desc             1118 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->buf_len = MAX_MRU;
desc             1119 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->data = dma_map_single(&port->netdev->dev, data,
desc             1121 drivers/net/ethernet/xscale/ixp4xx_eth.c 		if (dma_mapping_error(&port->netdev->dev, desc->data)) {
desc             1125 drivers/net/ethernet/xscale/ixp4xx_eth.c 		desc->data += NET_IP_ALIGN;
desc             1138 drivers/net/ethernet/xscale/ixp4xx_eth.c 			struct desc *desc = rx_desc_ptr(port, i);
desc             1142 drivers/net/ethernet/xscale/ixp4xx_eth.c 						 desc->data - NET_IP_ALIGN,
desc             1148 drivers/net/ethernet/xscale/ixp4xx_eth.c 			struct desc *desc = tx_desc_ptr(port, i);
desc             1151 drivers/net/ethernet/xscale/ixp4xx_eth.c 				dma_unmap_tx(port, desc);
desc             1301 drivers/net/ethernet/xscale/ixp4xx_eth.c 			struct desc *desc;
desc             1305 drivers/net/ethernet/xscale/ixp4xx_eth.c 			desc = tx_desc_ptr(port, n);
desc             1307 drivers/net/ethernet/xscale/ixp4xx_eth.c 			desc->buf_len = desc->pkt_len = 1;
desc             1309 drivers/net/ethernet/xscale/ixp4xx_eth.c 			queue_put_desc(TX_QUEUE(port->id), phys, desc);
desc               30 drivers/net/fddi/skfp/h/hwmtm.h #define DRV_BUF_FLUSH(desc,flag)
desc              930 drivers/net/hippi/rrunner.c 		struct rx_desc *desc;
desc              933 drivers/net/hippi/rrunner.c 		desc = &(rrpriv->rx_ring[index]);
desc              934 drivers/net/hippi/rrunner.c 		pkt_len = desc->size;
desc              937 drivers/net/hippi/rrunner.c 		printk("len %x, mode %x\n", pkt_len, desc->mode);
desc              957 drivers/net/hippi/rrunner.c 								    desc->addr.addrlo,
desc              965 drivers/net/hippi/rrunner.c 								       desc->addr.addrlo,
desc              978 drivers/net/hippi/rrunner.c 						desc->addr.addrlo, dev->mtu +
desc              987 drivers/net/hippi/rrunner.c 					set_rraddr(&desc->addr, addr);
desc             1003 drivers/net/hippi/rrunner.c 		desc->mode = 0;
desc             1004 drivers/net/hippi/rrunner.c 		desc->size = dev->mtu + HIPPI_HLEN;
desc             1062 drivers/net/hippi/rrunner.c 				struct tx_desc *desc;
desc             1065 drivers/net/hippi/rrunner.c 				desc = &(rrpriv->tx_ring[txcon]);
desc             1072 drivers/net/hippi/rrunner.c 						 desc->addr.addrlo, skb->len,
desc             1077 drivers/net/hippi/rrunner.c 				desc->size = 0;
desc             1079 drivers/net/hippi/rrunner.c 				desc->mode = 0;
desc             1111 drivers/net/hippi/rrunner.c 			struct tx_desc *desc = &(rrpriv->tx_ring[i]);
desc             1113 drivers/net/hippi/rrunner.c 	        	pci_unmap_single(rrpriv->pci_dev, desc->addr.addrlo,
desc             1115 drivers/net/hippi/rrunner.c 			desc->size = 0;
desc             1116 drivers/net/hippi/rrunner.c 			set_rraddr(&desc->addr, 0);
desc             1133 drivers/net/hippi/rrunner.c 			struct rx_desc *desc = &(rrpriv->rx_ring[i]);
desc             1135 drivers/net/hippi/rrunner.c 	        	pci_unmap_single(rrpriv->pci_dev, desc->addr.addrlo,
desc             1137 drivers/net/hippi/rrunner.c 			desc->size = 0;
desc             1138 drivers/net/hippi/rrunner.c 			set_rraddr(&desc->addr, 0);
desc              963 drivers/net/hyperv/hyperv_net.h 	const struct vmpacket_descriptor *desc;
desc              674 drivers/net/hyperv/netvsc.c 				    const struct vmpacket_descriptor *desc,
desc              677 drivers/net/hyperv/netvsc.c 	struct sk_buff *skb = (struct sk_buff *)(unsigned long)desc->trans_id;
desc              724 drivers/net/hyperv/netvsc.c 				   const struct vmpacket_descriptor *desc,
desc              727 drivers/net/hyperv/netvsc.c 	const struct nvsp_message *nvsp_packet = hv_pkt_data(desc);
desc              742 drivers/net/hyperv/netvsc.c 					desc, budget);
desc             1112 drivers/net/hyperv/netvsc.c 			  const struct vmpacket_descriptor *desc,
desc             1118 drivers/net/hyperv/netvsc.c 		= container_of(desc, const struct vmtransfer_page_packet_header, d);
desc             1251 drivers/net/hyperv/netvsc.c 				  const struct vmpacket_descriptor *desc,
desc             1255 drivers/net/hyperv/netvsc.c 	const struct nvsp_message *nvmsg = hv_pkt_data(desc);
desc             1256 drivers/net/hyperv/netvsc.c 	u32 msglen = hv_pkt_datalen(desc);
desc             1260 drivers/net/hyperv/netvsc.c 	switch (desc->type) {
desc             1263 drivers/net/hyperv/netvsc.c 				       desc, budget);
desc             1268 drivers/net/hyperv/netvsc.c 				      desc, nvmsg);
desc             1277 drivers/net/hyperv/netvsc.c 			   desc->type, desc->trans_id);
desc             1307 drivers/net/hyperv/netvsc.c 	if (!nvchan->desc)
desc             1308 drivers/net/hyperv/netvsc.c 		nvchan->desc = hv_pkt_iter_first(channel);
desc             1310 drivers/net/hyperv/netvsc.c 	while (nvchan->desc && work_done < budget) {
desc             1312 drivers/net/hyperv/netvsc.c 						    ndev, nvchan->desc, budget);
desc             1313 drivers/net/hyperv/netvsc.c 		nvchan->desc = hv_pkt_iter_next(channel, nvchan->desc);
desc               33 drivers/net/phy/mdio-mux-gpio.c 	gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc,
desc              165 drivers/net/phy/phylink.c 	struct gpio_desc *desc;
desc              187 drivers/net/phy/phylink.c 			desc = fwnode_get_named_gpiod(fixed_node, "link-gpios",
desc              190 drivers/net/phy/phylink.c 			if (!IS_ERR(desc))
desc              191 drivers/net/phy/phylink.c 				pl->link_gpio = desc;
desc              192 drivers/net/phy/phylink.c 			else if (desc == ERR_PTR(-EPROBE_DEFER))
desc              692 drivers/net/usb/aqc111.c 	if (udev->actconfig->desc.bConfigurationValue != 1) {
desc              776 drivers/net/usb/catc.c 			intf->altsetting->desc.bInterfaceNumber, 1)) {
desc              214 drivers/net/usb/cdc-phonet.c 	unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber;
desc              239 drivers/net/usb/cdc-phonet.c 	unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber;
desc              341 drivers/net/usb/cdc-phonet.c 	if (data_intf->altsetting[0].desc.bNumEndpoints == 0 &&
desc              342 drivers/net/usb/cdc-phonet.c 	    data_intf->altsetting[1].desc.bNumEndpoints == 2)
desc              345 drivers/net/usb/cdc-phonet.c 	if (data_intf->altsetting[0].desc.bNumEndpoints == 2 &&
desc              346 drivers/net/usb/cdc-phonet.c 	    data_intf->altsetting[1].desc.bNumEndpoints == 0)
desc              366 drivers/net/usb/cdc-phonet.c 	if (usb_pipein(data_desc->endpoint[0].desc.bEndpointAddress)) {
desc              368 drivers/net/usb/cdc-phonet.c 			data_desc->endpoint[0].desc.bEndpointAddress);
desc              370 drivers/net/usb/cdc-phonet.c 			data_desc->endpoint[1].desc.bEndpointAddress);
desc              373 drivers/net/usb/cdc-phonet.c 			data_desc->endpoint[1].desc.bEndpointAddress);
desc              375 drivers/net/usb/cdc-phonet.c 			data_desc->endpoint[0].desc.bEndpointAddress);
desc               24 drivers/net/usb/cdc_ether.c static int is_rndis(struct usb_interface_descriptor *desc)
desc               26 drivers/net/usb/cdc_ether.c 	return (desc->bInterfaceClass == USB_CLASS_COMM &&
desc               27 drivers/net/usb/cdc_ether.c 		desc->bInterfaceSubClass == 2 &&
desc               28 drivers/net/usb/cdc_ether.c 		desc->bInterfaceProtocol == 0xff);
desc               31 drivers/net/usb/cdc_ether.c static int is_activesync(struct usb_interface_descriptor *desc)
desc               33 drivers/net/usb/cdc_ether.c 	return (desc->bInterfaceClass == USB_CLASS_MISC &&
desc               34 drivers/net/usb/cdc_ether.c 		desc->bInterfaceSubClass == 1 &&
desc               35 drivers/net/usb/cdc_ether.c 		desc->bInterfaceProtocol == 1);
desc               38 drivers/net/usb/cdc_ether.c static int is_wireless_rndis(struct usb_interface_descriptor *desc)
desc               40 drivers/net/usb/cdc_ether.c 	return (desc->bInterfaceClass == USB_CLASS_WIRELESS_CONTROLLER &&
desc               41 drivers/net/usb/cdc_ether.c 		desc->bInterfaceSubClass == 1 &&
desc               42 drivers/net/usb/cdc_ether.c 		desc->bInterfaceProtocol == 3);
desc               45 drivers/net/usb/cdc_ether.c static int is_novatel_rndis(struct usb_interface_descriptor *desc)
desc               47 drivers/net/usb/cdc_ether.c 	return (desc->bInterfaceClass == USB_CLASS_MISC &&
desc               48 drivers/net/usb/cdc_ether.c 		desc->bInterfaceSubClass == 4 &&
desc               49 drivers/net/usb/cdc_ether.c 		desc->bInterfaceProtocol == 1);
desc               54 drivers/net/usb/cdc_ether.c #define is_rndis(desc)		0
desc               55 drivers/net/usb/cdc_ether.c #define is_activesync(desc)	0
desc               56 drivers/net/usb/cdc_ether.c #define is_wireless_rndis(desc)	0
desc               57 drivers/net/usb/cdc_ether.c #define is_novatel_rndis(desc)	0
desc               89 drivers/net/usb/cdc_ether.c 			intf->cur_altsetting->desc.bInterfaceNumber,
desc              147 drivers/net/usb/cdc_ether.c 	rndis = (is_rndis(&intf->cur_altsetting->desc) ||
desc              148 drivers/net/usb/cdc_ether.c 		 is_activesync(&intf->cur_altsetting->desc) ||
desc              149 drivers/net/usb/cdc_ether.c 		 is_wireless_rndis(&intf->cur_altsetting->desc) ||
desc              150 drivers/net/usb/cdc_ether.c 		 is_novatel_rndis(&intf->cur_altsetting->desc));
desc              203 drivers/net/usb/cdc_ether.c 	d = &info->data->cur_altsetting->desc;
desc              216 drivers/net/usb/cdc_ether.c 	if (rndis && is_rndis(&intf->cur_altsetting->desc) &&
desc              294 drivers/net/usb/cdc_ether.c 	if (info->control->cur_altsetting->desc.bNumEndpoints == 1) {
desc              295 drivers/net/usb/cdc_ether.c 		struct usb_endpoint_descriptor	*desc;
desc              298 drivers/net/usb/cdc_ether.c 		desc = &dev->status->desc;
desc              299 drivers/net/usb/cdc_ether.c 		if (!usb_endpoint_is_int_in(desc) ||
desc              300 drivers/net/usb/cdc_ether.c 		    (le16_to_cpu(desc->wMaxPacketSize)
desc              302 drivers/net/usb/cdc_ether.c 		    !desc->bInterval) {
desc              121 drivers/net/usb/cdc_mbim.c 				intf->cur_altsetting->desc.bInterfaceNumber,
desc              169 drivers/net/usb/cdc_mbim.c 						 &dev->status->desc,
desc              379 drivers/net/usb/cdc_ncm.c 	u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber;
desc              490 drivers/net/usb/cdc_ncm.c 	u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber;
desc              564 drivers/net/usb/cdc_ncm.c 	u8 iface_no = ctx->control->cur_altsetting->desc.bInterfaceNumber;
desc              683 drivers/net/usb/cdc_ncm.c 	for (ep = 0; ep < intf->cur_altsetting->desc.bNumEndpoints; ep++) {
desc              687 drivers/net/usb/cdc_ncm.c 		if (!usb_endpoint_maxp(&e->desc))
desc              690 drivers/net/usb/cdc_ncm.c 		switch (e->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
desc              692 drivers/net/usb/cdc_ncm.c 			if (usb_endpoint_dir_in(&e->desc)) {
desc              699 drivers/net/usb/cdc_ncm.c 			if (usb_endpoint_dir_in(&e->desc)) {
desc              714 drivers/net/usb/cdc_ncm.c 					  in->desc.bEndpointAddress &
desc              718 drivers/net/usb/cdc_ncm.c 					   out->desc.bEndpointAddress &
desc              814 drivers/net/usb/cdc_ncm.c 		ctx->data = usb_ifnum_to_if(dev->udev, intf->cur_altsetting->desc.bInterfaceNumber + 1);
desc              844 drivers/net/usb/cdc_ncm.c 	iface_no = ctx->data->cur_altsetting->desc.bInterfaceNumber;
desc             1021 drivers/net/usb/cdc_ncm.c 		return intf->cur_altsetting->desc.bAlternateSetting;
desc             1477 drivers/net/usb/hso.c 	if_num = interface->cur_altsetting->desc.bInterfaceNumber;
desc             1671 drivers/net/usb/hso.c 	if_num = interface->cur_altsetting->desc.bInterfaceNumber;
desc             2793 drivers/net/usb/hso.c 	u32 if_num = interface->cur_altsetting->desc.bInterfaceNumber;
desc             2872 drivers/net/usb/hso.c 	if (interface->cur_altsetting->desc.bInterfaceClass != 0xFF) {
desc             2877 drivers/net/usb/hso.c 	if_num = interface->cur_altsetting->desc.bInterfaceNumber;
desc             3146 drivers/net/usb/hso.c 	for (i = 0; i < iface->desc.bNumEndpoints; i++) {
desc             3147 drivers/net/usb/hso.c 		endp = &iface->endpoint[i].desc;
desc             3167 drivers/net/usb/hso.c 	for (i = 0; i < iface->desc.bNumEndpoints; i++) {
desc               97 drivers/net/usb/huawei_cdc_ncm.c 						 &usbnet_dev->status->desc,
desc              461 drivers/net/usb/ipheth.c 	for (i = 0; i < hintf->desc.bNumEndpoints; i++) {
desc              462 drivers/net/usb/ipheth.c 		endp = &hintf->endpoint[i].desc;
desc              137 drivers/net/usb/kalmia.c 	if (intf->cur_altsetting->desc.bInterfaceClass != USB_CLASS_VENDOR_SPEC)
desc             2887 drivers/net/usb/lan78xx.c 		for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) {
desc             2892 drivers/net/usb/lan78xx.c 			switch (e->desc.bmAttributes) {
desc             2894 drivers/net/usb/lan78xx.c 				if (!usb_endpoint_dir_in(&e->desc))
desc             2903 drivers/net/usb/lan78xx.c 			if (usb_endpoint_dir_in(&e->desc)) {
desc             2920 drivers/net/usb/lan78xx.c 				       in->desc.bEndpointAddress &
desc             2923 drivers/net/usb/lan78xx.c 					out->desc.bEndpointAddress &
desc             3778 drivers/net/usb/lan78xx.c 					dev->ep_intr->desc.bEndpointAddress &
desc             3780 drivers/net/usb/lan78xx.c 	period = dev->ep_intr->desc.bInterval;
desc              688 drivers/net/usb/qmi_wwan.c 	subdriver = usb_cdc_wdm_register(info->control, &dev->status->desc,
desc              713 drivers/net/usb/qmi_wwan.c 	u8 intf = dev->intf->cur_altsetting->desc.bInterfaceNumber;
desc              725 drivers/net/usb/qmi_wwan.c 	struct usb_interface_descriptor *desc = &intf->cur_altsetting->desc;
desc              748 drivers/net/usb/qmi_wwan.c 		if (desc->bInterfaceNumber != cdc_union->bMasterInterface0 ||
desc             1446 drivers/net/usb/qmi_wwan.c 	    dev->actconfig->desc.bNumInterfaces == 5)
desc             1456 drivers/net/usb/qmi_wwan.c 	struct usb_interface_descriptor *desc = &intf->cur_altsetting->desc;
desc             1473 drivers/net/usb/qmi_wwan.c 	    desc->bInterfaceClass != USB_CLASS_VENDOR_SPEC) {
desc             1476 drivers/net/usb/qmi_wwan.c 			desc->bInterfaceClass);
desc             1481 drivers/net/usb/qmi_wwan.c 	if (quectel_ec20_detected(intf) && desc->bInterfaceNumber == 0) {
desc             1492 drivers/net/usb/qmi_wwan.c 	if (desc->bNumEndpoints == 2)
desc             1671 drivers/net/usb/r8152.c 	tp->intr_interval = (int)ep_intr->desc.bInterval;
desc             1770 drivers/net/usb/r8152.c static inline void rtl_tx_vlan_tag(struct tx_desc *desc, struct sk_buff *skb)
desc             1776 drivers/net/usb/r8152.c 		desc->opts2 |= cpu_to_le32(opts2);
desc             1780 drivers/net/usb/r8152.c static inline void rtl_rx_vlan_tag(struct rx_desc *desc, struct sk_buff *skb)
desc             1782 drivers/net/usb/r8152.c 	u32 opts2 = le32_to_cpu(desc->opts2);
desc             1789 drivers/net/usb/r8152.c static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc,
desc             1866 drivers/net/usb/r8152.c 	desc->opts2 = cpu_to_le32(opts2);
desc             1867 drivers/net/usb/r8152.c 	desc->opts1 = cpu_to_le32(opts1);
desc             3124 drivers/net/usb/r8152.c 	return (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP);
desc             5658 drivers/net/usb/r8152.c 	if (udev->actconfig->desc.bConfigurationValue != 1) {
desc             5663 drivers/net/usb/r8152.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 3)
desc              115 drivers/net/usb/rndis_host.c 	master_ifnum = info->control->cur_altsetting->desc.bInterfaceNumber;
desc              132 drivers/net/usb/rndis_host.c 				       dev->status->desc.bEndpointAddress),
desc              680 drivers/net/usb/sierra_net.c 	ifacenum = intf->cur_altsetting->desc.bInterfaceNumber;
desc              681 drivers/net/usb/sierra_net.c 	numendpoints = intf->cur_altsetting->desc.bNumEndpoints;
desc               98 drivers/net/usb/usbnet.c 		for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) {
desc              105 drivers/net/usb/usbnet.c 			if (!usb_endpoint_maxp(&e->desc))
desc              108 drivers/net/usb/usbnet.c 			switch (e->desc.bmAttributes) {
desc              110 drivers/net/usb/usbnet.c 				if (!usb_endpoint_dir_in(&e->desc))
desc              119 drivers/net/usb/usbnet.c 			if (usb_endpoint_dir_in(&e->desc)) {
desc              135 drivers/net/usb/usbnet.c 	if (alt->desc.bAlternateSetting != 0 ||
desc              137 drivers/net/usb/usbnet.c 		tmp = usb_set_interface (dev->udev, alt->desc.bInterfaceNumber,
desc              138 drivers/net/usb/usbnet.c 				alt->desc.bAlternateSetting);
desc              144 drivers/net/usb/usbnet.c 			in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK);
desc              146 drivers/net/usb/usbnet.c 			out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK);
desc              214 drivers/net/usb/usbnet.c 			dev->status->desc.bEndpointAddress
desc              219 drivers/net/usb/usbnet.c 	period = max ((int) dev->status->desc.bInterval,
desc             1762 drivers/net/usb/usbnet.c 				interface->desc.bInterfaceNumber,
desc             1763 drivers/net/usb/usbnet.c 				interface->desc.bAlternateSetting);
desc              140 drivers/net/usb/zaurus.c 	struct usb_cdc_mdlm_desc	*desc = NULL;
desc              152 drivers/net/usb/zaurus.c 			if (desc) {
desc              156 drivers/net/usb/zaurus.c 			desc = (void *) buf;
desc              157 drivers/net/usb/zaurus.c 			if (desc->bLength != sizeof *desc) {
desc              159 drivers/net/usb/zaurus.c 					desc->bLength);
desc              163 drivers/net/usb/zaurus.c 			if (memcmp(&desc->bGUID, blan_guid, 16) &&
desc              164 drivers/net/usb/zaurus.c 			    memcmp(&desc->bGUID, safe_guid, 16)) {
desc              226 drivers/net/usb/zaurus.c 	if (!desc || !detail) {
desc              228 drivers/net/usb/zaurus.c 			desc ? "" : "func ",
desc               79 drivers/net/veth.c 	char	desc[ETH_GSTRING_LEN];
desc              128 drivers/net/veth.c 					 i, veth_rq_stats_desc[j].desc);
desc               67 drivers/net/virtio_net.c 	char desc[ETH_GSTRING_LEN];
desc             2092 drivers/net/virtio_net.c 					 i, virtnet_rq_stats_desc[j].desc);
desc             2100 drivers/net/virtio_net.c 					 i, virtnet_sq_stats_desc[j].desc);
desc               31 drivers/net/vmxnet3/vmxnet3_ethtool.c 	char desc[ETH_GSTRING_LEN];
desc              226 drivers/net/vmxnet3/vmxnet3_ethtool.c 				memcpy(buf, vmxnet3_tq_dev_stats[i].desc,
desc              232 drivers/net/vmxnet3/vmxnet3_ethtool.c 				memcpy(buf, vmxnet3_tq_driver_stats[i].desc,
desc              240 drivers/net/vmxnet3/vmxnet3_ethtool.c 				memcpy(buf, vmxnet3_rq_dev_stats[i].desc,
desc              246 drivers/net/vmxnet3/vmxnet3_ethtool.c 				memcpy(buf, vmxnet3_rq_driver_stats[i].desc,
desc              253 drivers/net/vmxnet3/vmxnet3_ethtool.c 			memcpy(buf, vmxnet3_global_stats[i].desc,
desc               84 drivers/net/wan/hd64570.c static inline u16 next_desc(port_t *port, u16 desc, int transmit)
desc               86 drivers/net/wan/hd64570.c 	return (desc + 1) % (transmit ? port_to_card(port)->tx_ring_buffers
desc               91 drivers/net/wan/hd64570.c static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
desc               96 drivers/net/wan/hd64570.c 	desc %= (transmit ? tx_buffs : rx_buffs); // called with "X + 1" etc.
desc               98 drivers/net/wan/hd64570.c 		transmit * rx_buffs + desc;
desc              102 drivers/net/wan/hd64570.c static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
desc              105 drivers/net/wan/hd64570.c 	return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc);
desc              109 drivers/net/wan/hd64570.c static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc,
desc              114 drivers/net/wan/hd64570.c 				    + desc_offset(port, desc, transmit));
desc              117 drivers/net/wan/hd64570.c 				    + desc_offset(port, desc, transmit));
desc              122 drivers/net/wan/hd64570.c static inline u32 buffer_offset(port_t *port, u16 desc, int transmit)
desc              125 drivers/net/wan/hd64570.c 		desc_abs_number(port, desc, transmit) * (u32)HDLC_MAX_MRU;
desc              166 drivers/net/wan/hd64570.c 			pkt_desc __iomem *desc = desc_address(port, i, transmit);
desc              170 drivers/net/wan/hd64570.c 			writew(chain_off, &desc->cp);
desc              171 drivers/net/wan/hd64570.c 			writel(buff_off, &desc->bp);
desc              172 drivers/net/wan/hd64570.c 			writew(0, &desc->len);
desc              173 drivers/net/wan/hd64570.c 			writeb(0, &desc->stat);
desc              240 drivers/net/wan/hd64570.c static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc,
desc              250 drivers/net/wan/hd64570.c 	len = readw(&desc->len);
desc              304 drivers/net/wan/hd64570.c 		pkt_desc __iomem *desc;
desc              310 drivers/net/wan/hd64570.c 		desc = desc_address(port, port->rxin, 0);
desc              311 drivers/net/wan/hd64570.c 		stat = readb(&desc->stat);
desc              326 drivers/net/wan/hd64570.c 			sca_rx(card, port, desc, port->rxin);
desc              355 drivers/net/wan/hd64570.c 		pkt_desc __iomem *desc;
desc              362 drivers/net/wan/hd64570.c 		desc = desc_address(port, port->txlast, 1);
desc              364 drivers/net/wan/hd64570.c 		dev->stats.tx_bytes += readw(&desc->len);
desc              365 drivers/net/wan/hd64570.c 		writeb(0, &desc->stat);	/* Free descriptor */
desc              621 drivers/net/wan/hd64570.c 	pkt_desc __iomem *desc;
desc              628 drivers/net/wan/hd64570.c 	desc = desc_address(port, port->txin + 1, 1);
desc              629 drivers/net/wan/hd64570.c 	BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */
desc              636 drivers/net/wan/hd64570.c 	desc = desc_address(port, port->txin, 1);
desc              654 drivers/net/wan/hd64570.c 	writew(len, &desc->len);
desc              655 drivers/net/wan/hd64570.c 	writeb(ST_TX_EOM, &desc->stat);
desc              663 drivers/net/wan/hd64570.c 	desc = desc_address(port, port->txin + 1, 1);
desc              664 drivers/net/wan/hd64570.c 	if (readb(&desc->stat)) /* allow 1 packet gap */
desc               75 drivers/net/wan/hd64572.c static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
desc               80 drivers/net/wan/hd64572.c 	desc %= (transmit ? tx_buffs : rx_buffs); // called with "X + 1" etc.
desc               81 drivers/net/wan/hd64572.c 	return port->chan * (rx_buffs + tx_buffs) + transmit * rx_buffs + desc;
desc               85 drivers/net/wan/hd64572.c static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
desc               88 drivers/net/wan/hd64572.c 	return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc);
desc               92 drivers/net/wan/hd64572.c static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc,
desc               96 drivers/net/wan/hd64572.c 				    desc_offset(port, desc, transmit));
desc              100 drivers/net/wan/hd64572.c static inline u32 buffer_offset(port_t *port, u16 desc, int transmit)
desc              103 drivers/net/wan/hd64572.c 		desc_abs_number(port, desc, transmit) * (u32)HDLC_MAX_MRU;
desc              140 drivers/net/wan/hd64572.c 			pkt_desc __iomem *desc = desc_address(port, i, transmit);
desc              144 drivers/net/wan/hd64572.c 			writel(chain_off, &desc->cp);
desc              145 drivers/net/wan/hd64572.c 			writel(buff_off, &desc->bp);
desc              146 drivers/net/wan/hd64572.c 			writew(0, &desc->len);
desc              147 drivers/net/wan/hd64572.c 			writeb(0, &desc->stat);
desc              199 drivers/net/wan/hd64572.c static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc,
desc              207 drivers/net/wan/hd64572.c 	len = readw(&desc->len);
desc              248 drivers/net/wan/hd64572.c 		pkt_desc __iomem *desc;
desc              254 drivers/net/wan/hd64572.c 		desc = desc_address(port, port->rxin, 0);
desc              255 drivers/net/wan/hd64572.c 		stat = readb(&desc->stat);
desc              270 drivers/net/wan/hd64572.c 			sca_rx(card, port, desc, port->rxin);
desc              302 drivers/net/wan/hd64572.c 		pkt_desc __iomem *desc = desc_address(port, port->txlast, 1);
desc              303 drivers/net/wan/hd64572.c 		u8 stat = readb(&desc->stat);
desc              312 drivers/net/wan/hd64572.c 			dev->stats.tx_bytes += readw(&desc->len);
desc              314 drivers/net/wan/hd64572.c 		writeb(0, &desc->stat);	/* Free descriptor */
desc              566 drivers/net/wan/hd64572.c 	pkt_desc __iomem *desc;
desc              571 drivers/net/wan/hd64572.c 	desc = desc_address(port, port->txin + 1, 1);
desc              572 drivers/net/wan/hd64572.c 	BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */
desc              579 drivers/net/wan/hd64572.c 	desc = desc_address(port, port->txin, 1);
desc              584 drivers/net/wan/hd64572.c 	writew(len, &desc->len);
desc              585 drivers/net/wan/hd64572.c 	writeb(ST_TX_EOM, &desc->stat);
desc              593 drivers/net/wan/hd64572.c 	desc = desc_address(port, port->txin + 1, 1);
desc              594 drivers/net/wan/hd64572.c 	if (readb(&desc->stat)) /* allow 1 packet gap */
desc               40 drivers/net/wan/ixp4xx_hss.c #define POOL_ALLOC_SIZE		(sizeof(struct desc) * (RX_DESCS + TX_DESCS))
desc              260 drivers/net/wan/ixp4xx_hss.c 	struct desc *desc_tab;	/* coherent */
desc              312 drivers/net/wan/ixp4xx_hss.c 				 (n) * sizeof(struct desc))
desc              316 drivers/net/wan/ixp4xx_hss.c 				 ((n) + RX_DESCS) * sizeof(struct desc))
desc              570 drivers/net/wan/ixp4xx_hss.c static inline void debug_desc(u32 phys, struct desc *desc)
desc              574 drivers/net/wan/ixp4xx_hss.c 	       phys, desc->next, desc->buf_len, desc->pkt_len,
desc              575 drivers/net/wan/ixp4xx_hss.c 	       desc->data, desc->status, desc->error_count);
desc              583 drivers/net/wan/ixp4xx_hss.c 	struct desc *tab;
desc              591 drivers/net/wan/ixp4xx_hss.c 	n_desc = (phys - tab_phys) / sizeof(struct desc);
desc              599 drivers/net/wan/ixp4xx_hss.c 				  struct desc *desc)
desc              601 drivers/net/wan/ixp4xx_hss.c 	debug_desc(phys, desc);
desc              609 drivers/net/wan/ixp4xx_hss.c static inline void dma_unmap_tx(struct port *port, struct desc *desc)
desc              612 drivers/net/wan/ixp4xx_hss.c 	dma_unmap_single(&port->netdev->dev, desc->data,
desc              613 drivers/net/wan/ixp4xx_hss.c 			 desc->buf_len, DMA_TO_DEVICE);
desc              615 drivers/net/wan/ixp4xx_hss.c 	dma_unmap_single(&port->netdev->dev, desc->data & ~3,
desc              616 drivers/net/wan/ixp4xx_hss.c 			 ALIGN((desc->data & 3) + desc->buf_len, 4),
desc              665 drivers/net/wan/ixp4xx_hss.c 		struct desc *desc;
desc              696 drivers/net/wan/ixp4xx_hss.c 		desc = rx_desc_ptr(port, n);
desc              698 drivers/net/wan/ixp4xx_hss.c 		if (desc->error_count)
desc              700 drivers/net/wan/ixp4xx_hss.c 			       " errors %u\n", dev->name, desc->status,
desc              701 drivers/net/wan/ixp4xx_hss.c 			       desc->error_count);
desc              704 drivers/net/wan/ixp4xx_hss.c 		switch (desc->status) {
desc              717 drivers/net/wan/ixp4xx_hss.c 			skb = netdev_alloc_skb(dev, desc->pkt_len);
desc              737 drivers/net/wan/ixp4xx_hss.c 				   desc->status, desc->error_count);
desc              743 drivers/net/wan/ixp4xx_hss.c 			desc->buf_len = RX_SIZE;
desc              744 drivers/net/wan/ixp4xx_hss.c 			desc->pkt_len = desc->status = 0;
desc              745 drivers/net/wan/ixp4xx_hss.c 			queue_put_desc(rxfreeq, rx_desc_phys(port, n), desc);
desc              753 drivers/net/wan/ixp4xx_hss.c 		dma_unmap_single(&dev->dev, desc->data,
desc              756 drivers/net/wan/ixp4xx_hss.c 		dma_sync_single_for_cpu(&dev->dev, desc->data,
desc              759 drivers/net/wan/ixp4xx_hss.c 			      ALIGN(desc->pkt_len, 4) / 4);
desc              761 drivers/net/wan/ixp4xx_hss.c 		skb_put(skb, desc->pkt_len);
desc              773 drivers/net/wan/ixp4xx_hss.c 		desc->data = phys;
desc              775 drivers/net/wan/ixp4xx_hss.c 		desc->buf_len = RX_SIZE;
desc              776 drivers/net/wan/ixp4xx_hss.c 		desc->pkt_len = 0;
desc              777 drivers/net/wan/ixp4xx_hss.c 		queue_put_desc(rxfreeq, rx_desc_phys(port, n), desc);
desc              798 drivers/net/wan/ixp4xx_hss.c 		struct desc *desc;
desc              801 drivers/net/wan/ixp4xx_hss.c 		desc = tx_desc_ptr(port, n_desc);
desc              804 drivers/net/wan/ixp4xx_hss.c 		dev->stats.tx_bytes += desc->pkt_len;
desc              806 drivers/net/wan/ixp4xx_hss.c 		dma_unmap_tx(port, desc);
desc              816 drivers/net/wan/ixp4xx_hss.c 			       tx_desc_phys(port, n_desc), desc);
desc              834 drivers/net/wan/ixp4xx_hss.c 	struct desc *desc;
desc              878 drivers/net/wan/ixp4xx_hss.c 	desc = tx_desc_ptr(port, n);
desc              885 drivers/net/wan/ixp4xx_hss.c 	desc->data = phys + offset;
desc              886 drivers/net/wan/ixp4xx_hss.c 	desc->buf_len = desc->pkt_len = len;
desc              889 drivers/net/wan/ixp4xx_hss.c 	queue_put_desc(queue_ids[port->id].tx, tx_desc_phys(port, n), desc);
desc              985 drivers/net/wan/ixp4xx_hss.c 		struct desc *desc = rx_desc_ptr(port, i);
desc              997 drivers/net/wan/ixp4xx_hss.c 		desc->buf_len = RX_SIZE;
desc              998 drivers/net/wan/ixp4xx_hss.c 		desc->data = dma_map_single(&port->netdev->dev, data,
desc             1000 drivers/net/wan/ixp4xx_hss.c 		if (dma_mapping_error(&port->netdev->dev, desc->data)) {
desc             1016 drivers/net/wan/ixp4xx_hss.c 			struct desc *desc = rx_desc_ptr(port, i);
desc             1020 drivers/net/wan/ixp4xx_hss.c 						 desc->data, RX_SIZE,
desc             1026 drivers/net/wan/ixp4xx_hss.c 			struct desc *desc = tx_desc_ptr(port, i);
desc             1029 drivers/net/wan/ixp4xx_hss.c 				dma_unmap_tx(port, desc);
desc              164 drivers/net/wan/wanxl.c                 desc_t *desc = &get_status(port)->tx_descs[port->tx_in];
desc              167 drivers/net/wan/wanxl.c 		switch (desc->stat) {
desc              182 drivers/net/wan/wanxl.c                 desc->stat = PACKET_EMPTY; /* Free descriptor */
desc              183 drivers/net/wan/wanxl.c 		pci_unmap_single(port->card->pdev, desc->address, skb->len,
desc              195 drivers/net/wan/wanxl.c 	desc_t *desc;
desc              196 drivers/net/wan/wanxl.c 	while (desc = &card->status->rx_descs[card->rx_in],
desc              197 drivers/net/wan/wanxl.c 	       desc->stat != PACKET_EMPTY) {
desc              198 drivers/net/wan/wanxl.c 		if ((desc->stat & PACKET_PORT_MASK) > card->n_ports)
desc              203 drivers/net/wan/wanxl.c 			struct port *port = &card->ports[desc->stat &
desc              210 drivers/net/wan/wanxl.c 				pci_unmap_single(card->pdev, desc->address,
desc              213 drivers/net/wan/wanxl.c 				skb_put(skb, desc->length);
desc              229 drivers/net/wan/wanxl.c 				desc->address = skb ?
desc              236 drivers/net/wan/wanxl.c 		desc->stat = PACKET_EMPTY; /* Free descriptor */
desc              273 drivers/net/wan/wanxl.c 	desc_t *desc;
desc              277 drivers/net/wan/wanxl.c 	desc = &get_status(port)->tx_descs[port->tx_out];
desc              278 drivers/net/wan/wanxl.c         if (desc->stat != PACKET_EMPTY) {
desc              294 drivers/net/wan/wanxl.c 	desc->address = pci_map_single(port->card->pdev, skb->data, skb->len,
desc              296 drivers/net/wan/wanxl.c 	desc->length = skb->len;
desc              297 drivers/net/wan/wanxl.c 	desc->stat = PACKET_FULL;
desc              450 drivers/net/wan/wanxl.c 		desc_t *desc = &get_status(port)->tx_descs[i];
desc              452 drivers/net/wan/wanxl.c 		if (desc->stat != PACKET_EMPTY) {
desc              453 drivers/net/wan/wanxl.c 			desc->stat = PACKET_EMPTY;
desc              454 drivers/net/wan/wanxl.c 			pci_unmap_single(port->card->pdev, desc->address,
desc              916 drivers/net/wimax/i2400m/i2400m.h 	return &iface->cur_altsetting->endpoint[ep].desc;
desc              420 drivers/net/wimax/i2400m/usb.c 	if (iface->cur_altsetting->desc.bNumEndpoints < 4)
desc             1430 drivers/net/wireless/admtek/adm8211.c 	struct adm8211_desc *desc = NULL;
desc             1436 drivers/net/wireless/admtek/adm8211.c 		desc = &priv->rx_ring[i];
desc             1437 drivers/net/wireless/admtek/adm8211.c 		desc->status = 0;
desc             1438 drivers/net/wireless/admtek/adm8211.c 		desc->length = cpu_to_le32(RX_PKT_SIZE);
desc             1443 drivers/net/wireless/admtek/adm8211.c 	desc->length |= cpu_to_le32(RDES1_CONTROL_RER);
desc             1446 drivers/net/wireless/admtek/adm8211.c 		desc = &priv->rx_ring[i];
desc             1462 drivers/net/wireless/admtek/adm8211.c 		desc->buffer1 = cpu_to_le32(rx_info->mapping);
desc             1463 drivers/net/wireless/admtek/adm8211.c 		desc->status = cpu_to_le32(RDES0_STATUS_OWN | RDES0_STATUS_SQL);
desc             1468 drivers/net/wireless/admtek/adm8211.c 		desc = &priv->tx_ring[i];
desc             1473 drivers/net/wireless/admtek/adm8211.c 		desc->status = 0;
desc             1475 drivers/net/wireless/admtek/adm8211.c 	desc->length = cpu_to_le32(TDES1_CONTROL_TER);
desc              528 drivers/net/wireless/ath/ar5523/ar5523.c 	struct ar5523_rx_desc *desc;
desc              561 drivers/net/wireless/ath/ar5523/ar5523.c 	desc = (struct ar5523_rx_desc *)
desc              564 drivers/net/wireless/ath/ar5523/ar5523.c 	rxlen = be32_to_cpu(desc->len);
desc              567 drivers/net/wireless/ath/ar5523/ar5523.c 			   be32_to_cpu(desc->len));
desc              576 drivers/net/wireless/ath/ar5523/ar5523.c 	if (be32_to_cpu(desc->status) != 0) {
desc              578 drivers/net/wireless/ath/ar5523/ar5523.c 			   be32_to_cpu(desc->status), be32_to_cpu(desc->len));
desc              596 drivers/net/wireless/ath/ar5523/ar5523.c 	rx_status->freq = be32_to_cpu(desc->channel);
desc              598 drivers/net/wireless/ath/ar5523/ar5523.c 	rx_status->signal = -95 + be32_to_cpu(desc->rssi);
desc              791 drivers/net/wireless/ath/ar5523/ar5523.c 	struct ar5523_tx_desc *desc;
desc              833 drivers/net/wireless/ath/ar5523/ar5523.c 		desc = skb_push(skb, sizeof(*desc));
desc              840 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->msglen = cpu_to_be32(skb->len);
desc              841 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->msgid  = AR5523_DATA_ID;
desc              842 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->buflen = cpu_to_be32(paylen);
desc              843 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->type   = cpu_to_be32(WDCMSG_SEND);
desc              844 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->flags  = cpu_to_be32(UATH_TX_NOTIFY);
desc              847 drivers/net/wireless/ath/ar5523/ar5523.c 			desc->connid = cpu_to_be32(AR5523_ID_BSS);
desc              849 drivers/net/wireless/ath/ar5523/ar5523.c 			desc->connid = cpu_to_be32(AR5523_ID_BROADCAST);
desc              854 drivers/net/wireless/ath/ar5523/ar5523.c 		desc->txqid = cpu_to_be32(txqid);
desc              497 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc *desc, sdesc;
desc              515 drivers/net/wireless/ath/ath10k/ce.c 	desc = CE_SRC_RING_TO_DESC(src_ring->base_addr_owner_space,
desc              529 drivers/net/wireless/ath/ath10k/ce.c 	*desc = sdesc;
desc              554 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc_64 *desc, sdesc;
desc              581 drivers/net/wireless/ath/ath10k/ce.c 	desc = CE_SRC_RING_TO_DESC_64(src_ring->base_addr_owner_space,
desc              605 drivers/net/wireless/ath/ath10k/ce.c 	*desc = sdesc;
desc              727 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc *desc = CE_DEST_RING_TO_DESC(base, write_index);
desc              736 drivers/net/wireless/ath/ath10k/ce.c 	desc->addr = __cpu_to_le32(paddr);
desc              737 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc              758 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc_64 *desc =
desc              767 drivers/net/wireless/ath/ath10k/ce.c 	desc->addr = __cpu_to_le64(paddr);
desc              768 drivers/net/wireless/ath/ath10k/ce.c 	desc->addr &= __cpu_to_le64(CE_DESC_ADDR_MASK);
desc              770 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc              830 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc *desc = CE_DEST_RING_TO_DESC(base, sw_index);
desc              835 drivers/net/wireless/ath/ath10k/ce.c 	sdesc = *desc;
desc              848 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc              879 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc_64 *desc =
desc              885 drivers/net/wireless/ath/ath10k/ce.c 	sdesc = *desc;
desc              897 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc              975 drivers/net/wireless/ath/ath10k/ce.c 		struct ce_desc *desc = CE_DEST_RING_TO_DESC(base, sw_index);
desc              978 drivers/net/wireless/ath/ath10k/ce.c 		*bufferp = __le32_to_cpu(desc->addr);
desc              986 drivers/net/wireless/ath/ath10k/ce.c 		desc->nbytes = 0;
desc             1028 drivers/net/wireless/ath/ath10k/ce.c 		struct ce_desc_64 *desc =
desc             1032 drivers/net/wireless/ath/ath10k/ce.c 		*bufferp = __le64_to_cpu(desc->addr);
desc             1040 drivers/net/wireless/ath/ath10k/ce.c 		desc->nbytes = 0;
desc             1078 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc *desc;
desc             1111 drivers/net/wireless/ath/ath10k/ce.c 	desc = CE_SRC_RING_TO_DESC(src_ring->base_addr_owner_space,
desc             1113 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc             1131 drivers/net/wireless/ath/ath10k/ce.c 	struct ce_desc_64 *desc;
desc             1164 drivers/net/wireless/ath/ath10k/ce.c 	desc = CE_SRC_RING_TO_DESC_64(src_ring->base_addr_owner_space,
desc             1166 drivers/net/wireless/ath/ath10k/ce.c 	desc->nbytes = 0;
desc             1191 drivers/net/wireless/ath/ath10k/ce.c 		struct ce_desc *desc = CE_SRC_RING_TO_DESC(base, sw_index);
desc             1194 drivers/net/wireless/ath/ath10k/ce.c 		*bufferp = __le32_to_cpu(desc->addr);
desc             1195 drivers/net/wireless/ath/ath10k/ce.c 		*nbytesp = __le16_to_cpu(desc->nbytes);
desc             1196 drivers/net/wireless/ath/ath10k/ce.c 		*transfer_idp = MS(__le16_to_cpu(desc->flags),
desc             1208 drivers/net/wireless/ath/ath10k/ce.c 		struct ce_desc_64 *desc =
desc             1212 drivers/net/wireless/ath/ath10k/ce.c 		*bufferp = __le64_to_cpu(desc->addr);
desc             1213 drivers/net/wireless/ath/ath10k/ce.c 		*nbytesp = __le16_to_cpu(desc->nbytes);
desc             1214 drivers/net/wireless/ath/ath10k/ce.c 		*transfer_idp = MS(__le16_to_cpu(desc->flags),
desc               42 drivers/net/wireless/ath/ath10k/p2p.c 		noa_attr->desc[i].count =
desc               44 drivers/net/wireless/ath/ath10k/p2p.c 		noa_attr->desc[i].duration = noa->descriptors[i].duration;
desc               45 drivers/net/wireless/ath/ath10k/p2p.c 		noa_attr->desc[i].interval = noa->descriptors[i].interval;
desc               46 drivers/net/wireless/ath/ath10k/p2p.c 		noa_attr->desc[i].start_time = noa->descriptors[i].start_time;
desc              840 drivers/net/wireless/ath/ath10k/usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              841 drivers/net/wireless/ath/ath10k/usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc             1279 drivers/net/wireless/ath/ath5k/ath5k.h 	struct ath5k_desc	*desc;		/* TX/RX descriptors */
desc             1580 drivers/net/wireless/ath/ath5k/ath5k.h int ath5k_hw_setup_rx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc,
desc             1582 drivers/net/wireless/ath/ath5k/ath5k.h int ath5k_hw_setup_mrr_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc,
desc              657 drivers/net/wireless/ath/ath5k/base.c 	ds = bf->desc;
desc              736 drivers/net/wireless/ath/ath5k/base.c 	struct ath5k_desc *ds = bf->desc;
desc              865 drivers/net/wireless/ath/ath5k/base.c 	ah->desc = dma_alloc_coherent(ah->dev, ah->desc_len,
desc              867 drivers/net/wireless/ath/ath5k/base.c 	if (ah->desc == NULL) {
desc              872 drivers/net/wireless/ath/ath5k/base.c 	ds = ah->desc;
desc              888 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
desc              896 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
desc              904 drivers/net/wireless/ath/ath5k/base.c 		bf->desc = ds;
desc              911 drivers/net/wireless/ath/ath5k/base.c 	dma_free_coherent(ah->dev, ah->desc_len, ah->desc, ah->desc_daddr);
desc              913 drivers/net/wireless/ath/ath5k/base.c 	ah->desc = NULL;
desc              928 drivers/net/wireless/ath/ath5k/base.c 	bf->desc->ds_data = 0;
desc              944 drivers/net/wireless/ath/ath5k/base.c 	bf->desc->ds_data = 0;
desc              960 drivers/net/wireless/ath/ath5k/base.c 	dma_free_coherent(ah->dev, ah->desc_len, ah->desc, ah->desc_daddr);
desc              961 drivers/net/wireless/ath/ath5k/base.c 	ah->desc = NULL;
desc             1559 drivers/net/wireless/ath/ath5k/base.c 		ds = bf->desc;
desc             1747 drivers/net/wireless/ath/ath5k/base.c 			ds = bf->desc;
desc             1832 drivers/net/wireless/ath/ath5k/base.c 	ds = bf->desc;
desc             2014 drivers/net/wireless/ath/ath5k/base.c 		ah->bhalq, (unsigned long long)bf->daddr, bf->desc);
desc               66 drivers/net/wireless/ath/ath5k/base.h 	struct ath5k_desc		*desc;		/* virtual addr of desc */
desc              298 drivers/net/wireless/ath/ath5k/debug.c 	const char *desc;
desc              330 drivers/net/wireless/ath/ath5k/debug.c 			dbg_info[i].level, dbg_info[i].desc);
desc              335 drivers/net/wireless/ath/ath5k/debug.c 		dbg_info[i].level, dbg_info[i].desc);
desc             1070 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_desc *ds = bf->desc;
desc             1097 drivers/net/wireless/ath/ath5k/debug.c 		ds = bf->desc;
desc             1108 drivers/net/wireless/ath/ath5k/debug.c 	struct ath5k_desc *ds = bf->desc;
desc             1116 drivers/net/wireless/ath/ath5k/debug.c 	done = ah->ah_proc_tx_desc(ah, bf->desc, &ts);
desc               76 drivers/net/wireless/ath/ath5k/desc.c 			struct ath5k_desc *desc,
desc               91 drivers/net/wireless/ath/ath5k/desc.c 	tx_ctl = &desc->ud.ds_tx5210.tx_ctl;
desc              111 drivers/net/wireless/ath/ath5k/desc.c 	memset(&desc->ud.ds_tx5210, 0, sizeof(struct ath5k_hw_5210_tx_desc));
desc              242 drivers/net/wireless/ath/ath5k/desc.c 			struct ath5k_desc *desc,
desc              262 drivers/net/wireless/ath/ath5k/desc.c 	tx_ctl = &desc->ud.ds_tx5212.tx_ctl;
desc              286 drivers/net/wireless/ath/ath5k/desc.c 	memset(&desc->ud.ds_tx5212.tx_stat, 0,
desc              287 drivers/net/wireless/ath/ath5k/desc.c 	       sizeof(desc->ud.ds_tx5212.tx_stat));
desc              380 drivers/net/wireless/ath/ath5k/desc.c 			struct ath5k_desc *desc,
desc              406 drivers/net/wireless/ath/ath5k/desc.c 		tx_ctl = &desc->ud.ds_tx5212.tx_ctl;
desc              443 drivers/net/wireless/ath/ath5k/desc.c 				struct ath5k_desc *desc,
desc              448 drivers/net/wireless/ath/ath5k/desc.c 	tx_status = &desc->ud.ds_tx5210.tx_stat;
desc              495 drivers/net/wireless/ath/ath5k/desc.c 				struct ath5k_desc *desc,
desc              501 drivers/net/wireless/ath/ath5k/desc.c 	tx_status = &desc->ud.ds_tx5212.tx_stat;
desc              560 drivers/net/wireless/ath/ath5k/desc.c 			struct ath5k_desc *desc,
desc              565 drivers/net/wireless/ath/ath5k/desc.c 	rx_ctl = &desc->ud.ds_rx.rx_ctl;
desc              574 drivers/net/wireless/ath/ath5k/desc.c 	memset(&desc->ud.ds_rx, 0, sizeof(struct ath5k_hw_all_rx_desc));
desc              602 drivers/net/wireless/ath/ath5k/desc.c 				struct ath5k_desc *desc,
desc              607 drivers/net/wireless/ath/ath5k/desc.c 	rx_status = &desc->ud.ds_rx.rx_stat;
desc              696 drivers/net/wireless/ath/ath5k/desc.c 				struct ath5k_desc *desc,
desc              702 drivers/net/wireless/ath/ath5k/desc.c 	rx_status = &desc->ud.ds_rx.rx_stat;
desc              284 drivers/net/wireless/ath/ath6kl/init.c 				 char *desc)
desc              294 drivers/net/wireless/ath/ath6kl/init.c 			   desc, status);
desc              315 drivers/net/wireless/ath/ath6kl/usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              316 drivers/net/wireless/ath/ath6kl/usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc             1125 drivers/net/wireless/ath/ath6kl/usb.c 			   interface->cur_altsetting->desc.bInterfaceNumber);
desc             1537 drivers/net/wireless/ath/ath9k/channel.c 			noa->desc[i].count = 255;
desc             1538 drivers/net/wireless/ath/ath9k/channel.c 			noa->desc[i].interval = cpu_to_le32(interval);
desc             1540 drivers/net/wireless/ath/ath9k/channel.c 			noa->desc[i].count = 1;
desc             1543 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].start_time = cpu_to_le32(avp->noa_start);
desc             1544 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].duration = cpu_to_le32(avp->noa_duration);
desc             1549 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].count = 1;
desc             1550 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].start_time = cpu_to_le32(avp->offchannel_start);
desc             1551 drivers/net/wireless/ath/ath9k/channel.c 		noa->desc[i].duration = cpu_to_le32(avp->offchannel_duration);
desc             1256 drivers/net/wireless/ath/ath9k/hif_usb.c 	if (iface_desc->desc.bNumEndpoints < 2)
desc             1261 drivers/net/wireless/ath/ath9k/hif_usb.c 		endpoint = &iface_desc->endpoint[r].desc;
desc              265 drivers/net/wireless/ath/carl9170/carl9170.h 		const struct carl9170fw_desc_head *desc;
desc               25 drivers/net/wireless/ath/carl9170/fw.c 	carl9170fw_for_each_hdr(iter, ar->fw.desc) {
desc              421 drivers/net/wireless/ath/carl9170/fw.c 	ar->fw.desc = fw_desc;
desc              136 drivers/net/wireless/ath/carl9170/fwdesc.h 	char desc[CARL9170FW_MOTD_STRING_LEN];
desc              235 drivers/net/wireless/ath/carl9170/fwdesc.h #define carl9170fw_for_each_hdr(desc, fw_desc)				\
desc              236 drivers/net/wireless/ath/carl9170/fwdesc.h 	for (desc = fw_desc;						\
desc              237 drivers/net/wireless/ath/carl9170/fwdesc.h 	     memcmp(desc->magic, LAST_MAGIC, CARL9170FW_MAGIC_SIZE) &&	\
desc              238 drivers/net/wireless/ath/carl9170/fwdesc.h 	     le16_to_cpu(desc->length) >= CARL9170FW_DESC_HEAD_SIZE &&	\
desc              239 drivers/net/wireless/ath/carl9170/fwdesc.h 	     le16_to_cpu(desc->length) < CARL9170FW_DESC_MAX_LENGTH;	\
desc              240 drivers/net/wireless/ath/carl9170/fwdesc.h 	     desc = (void *)((unsigned long)desc + le16_to_cpu(desc->length)))
desc             1063 drivers/net/wireless/ath/carl9170/usb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; ++i) {
desc             1064 drivers/net/wireless/ath/carl9170/usb.c 		ep = &intf->cur_altsetting->endpoint[i].desc;
desc              186 drivers/net/wireless/ath/wcn36xx/dxe.c 		cur_ctl->desc = cur_dxe;
desc              279 drivers/net/wireless/ath/wcn36xx/dxe.c 	struct wcn36xx_dxe_desc *dxe = ctl->desc;
desc              369 drivers/net/wireless/ath/wcn36xx/dxe.c 		if (READ_ONCE(ctl->desc->ctrl) & WCN36xx_DXE_CTRL_VLD)
desc              373 drivers/net/wireless/ath/wcn36xx/dxe.c 		    READ_ONCE(ctl->desc->ctrl) & WCN36xx_DXE_CTRL_EOP) {
desc              374 drivers/net/wireless/ath/wcn36xx/dxe.c 			dma_unmap_single(wcn->dev, ctl->desc->src_addr_l,
desc              563 drivers/net/wireless/ath/wcn36xx/dxe.c 	dxe = ctl->desc;
desc              580 drivers/net/wireless/ath/wcn36xx/dxe.c 		dxe = ctl->desc;
desc              712 drivers/net/wireless/ath/wcn36xx/dxe.c 	desc_bd = ctl_bd->desc;
desc              713 drivers/net/wireless/ath/wcn36xx/dxe.c 	desc_skb = ctl_skb->desc;
desc              871 drivers/net/wireless/ath/wcn36xx/dxe.c 		wcn->dxe_rx_l_ch.head_blk_ctl->desc->phy_next_l);
desc              905 drivers/net/wireless/ath/wcn36xx/dxe.c 		 wcn->dxe_rx_h_ch.head_blk_ctl->desc->phy_next_l);
desc              421 drivers/net/wireless/ath/wcn36xx/dxe.h 	struct wcn36xx_dxe_desc	*desc;
desc              181 drivers/net/wireless/ath/wil6210/txrx.c static void wil_txdesc_unmap(struct device *dev, union wil_tx_desc *desc,
desc              184 drivers/net/wireless/ath/wil6210/txrx.c 	struct vring_tx_desc *d = &desc->legacy;
desc             1126 drivers/net/wireless/ath/wil6210/txrx.c static int wil_tx_desc_map(union wil_tx_desc *desc, dma_addr_t pa,
desc             1129 drivers/net/wireless/ath/wil6210/txrx.c 	struct vring_tx_desc *d = &desc->legacy;
desc               39 drivers/net/wireless/ath/wil6210/txrx_edma.c 				   union wil_tx_desc *desc,
desc               42 drivers/net/wireless/ath/wil6210/txrx_edma.c 	struct wil_tx_enhanced_desc *d = (struct wil_tx_enhanced_desc *)desc;
desc             1119 drivers/net/wireless/ath/wil6210/txrx_edma.c static int wil_tx_desc_map_edma(union wil_tx_desc *desc,
desc             1125 drivers/net/wireless/ath/wil6210/txrx_edma.c 		(struct wil_tx_enhanced_desc *)&desc->enhanced;
desc              611 drivers/net/wireless/ath/wil6210/wil6210.h 	int (*tx_desc_map)(union wil_tx_desc *desc, dma_addr_t pa,
desc              614 drivers/net/wireless/ath/wil6210/wil6210.h 			      union wil_tx_desc *desc,
desc             2239 drivers/net/wireless/atmel/at76c50x-usb.c 		 interface->altsetting[0].desc.bNumEndpoints);
desc             2244 drivers/net/wireless/atmel/at76c50x-usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc             2245 drivers/net/wireless/atmel/at76c50x-usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc             2326 drivers/net/wireless/atmel/at76c50x-usb.c 		 interface->cur_altsetting->desc.bNumEndpoints);
desc              626 drivers/net/wireless/atmel/atmel.c static inline u16 atmel_rx(struct atmel_private *priv, u16 offset, u16 desc)
desc              628 drivers/net/wireless/atmel/atmel.c 	return priv->host_info.rx_desc_pos + (sizeof(struct rx_desc) * desc) + offset;
desc              631 drivers/net/wireless/atmel/atmel.c static inline u16 atmel_tx(struct atmel_private *priv, u16 offset, u16 desc)
desc              633 drivers/net/wireless/atmel/atmel.c 	return priv->host_info.tx_desc_pos + (sizeof(struct tx_desc) * desc) + offset;
desc               76 drivers/net/wireless/broadcom/b43/dma.c 	struct b43_dmadesc32 *desc;
desc               79 drivers/net/wireless/broadcom/b43/dma.c 	desc = ring->descbase;
desc               80 drivers/net/wireless/broadcom/b43/dma.c 	desc = &(desc[slot]);
desc               82 drivers/net/wireless/broadcom/b43/dma.c 	return (struct b43_dmadesc_generic *)desc;
desc               86 drivers/net/wireless/broadcom/b43/dma.c 				 struct b43_dmadesc_generic *desc,
desc               96 drivers/net/wireless/broadcom/b43/dma.c 	slot = (int)(&(desc->dma32) - descbase);
desc              114 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma32.control = cpu_to_le32(ctl);
desc              115 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma32.address = cpu_to_le32(addr);
desc              168 drivers/net/wireless/broadcom/b43/dma.c 	struct b43_dmadesc64 *desc;
desc              171 drivers/net/wireless/broadcom/b43/dma.c 	desc = ring->descbase;
desc              172 drivers/net/wireless/broadcom/b43/dma.c 	desc = &(desc[slot]);
desc              174 drivers/net/wireless/broadcom/b43/dma.c 	return (struct b43_dmadesc_generic *)desc;
desc              178 drivers/net/wireless/broadcom/b43/dma.c 				 struct b43_dmadesc_generic *desc,
desc              188 drivers/net/wireless/broadcom/b43/dma.c 	slot = (int)(&(desc->dma64) - descbase);
desc              207 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma64.control0 = cpu_to_le32(ctl0);
desc              208 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma64.control1 = cpu_to_le32(ctl1);
desc              209 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma64.address_low = cpu_to_le32(addrlo);
desc              210 drivers/net/wireless/broadcom/b43/dma.c 	desc->dma64.address_high = cpu_to_le32(addrhi);
desc              593 drivers/net/wireless/broadcom/b43/dma.c 			       struct b43_dmadesc_generic *desc,
desc              627 drivers/net/wireless/broadcom/b43/dma.c 	ring->ops->fill_descriptor(ring, desc, dmaaddr,
desc              639 drivers/net/wireless/broadcom/b43/dma.c 	struct b43_dmadesc_generic *desc;
desc              643 drivers/net/wireless/broadcom/b43/dma.c 		desc = ring->ops->idx2desc(ring, i, &meta);
desc              645 drivers/net/wireless/broadcom/b43/dma.c 		err = setup_rx_descbuffer(ring, desc, meta, GFP_KERNEL);
desc              660 drivers/net/wireless/broadcom/b43/dma.c 		desc = ring->ops->idx2desc(ring, i, &meta);
desc             1198 drivers/net/wireless/broadcom/b43/dma.c 	struct b43_dmadesc_generic *desc;
desc             1214 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, slot, &meta_hdr);
desc             1234 drivers/net/wireless/broadcom/b43/dma.c 	ops->fill_descriptor(ring, desc, meta_hdr->dmaaddr,
desc             1239 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, slot, &meta);
desc             1269 drivers/net/wireless/broadcom/b43/dma.c 	ops->fill_descriptor(ring, desc, meta->dmaaddr, skb->len, 0, 1, 1);
desc             1585 drivers/net/wireless/broadcom/b43/dma.c 	struct b43_dmadesc_generic *desc;
desc             1593 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, *slot, &meta);
desc             1630 drivers/net/wireless/broadcom/b43/dma.c 			desc = ops->idx2desc(ring, *slot, &meta);
desc             1648 drivers/net/wireless/broadcom/b43/dma.c 	err = setup_rx_descbuffer(ring, desc, meta, GFP_ATOMIC);
desc              204 drivers/net/wireless/broadcom/b43/dma.h 				 struct b43_dmadesc_generic * desc,
desc               36 drivers/net/wireless/broadcom/b43legacy/dma.c 	struct b43legacy_dmadesc32 *desc;
desc               39 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = ring->descbase;
desc               40 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = &(desc[slot]);
desc               42 drivers/net/wireless/broadcom/b43legacy/dma.c 	return desc;
desc               46 drivers/net/wireless/broadcom/b43legacy/dma.c 				 struct b43legacy_dmadesc32 *desc,
desc               56 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = (int)(desc - descbase);
desc               76 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc->control = cpu_to_le32(ctl);
desc               77 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc->address = cpu_to_le32(addr);
desc              441 drivers/net/wireless/broadcom/b43legacy/dma.c 			       struct b43legacy_dmadesc32 *desc,
desc              477 drivers/net/wireless/broadcom/b43legacy/dma.c 	op32_fill_descriptor(ring, desc, dmaaddr, ring->rx_buffersize, 0, 0, 0);
desc              494 drivers/net/wireless/broadcom/b43legacy/dma.c 	struct b43legacy_dmadesc32 *desc;
desc              498 drivers/net/wireless/broadcom/b43legacy/dma.c 		desc = op32_idx2desc(ring, i, &meta);
desc              500 drivers/net/wireless/broadcom/b43legacy/dma.c 		err = setup_rx_descbuffer(ring, desc, meta, GFP_KERNEL);
desc              515 drivers/net/wireless/broadcom/b43legacy/dma.c 		desc = op32_idx2desc(ring, i, &meta);
desc              954 drivers/net/wireless/broadcom/b43legacy/dma.c 	struct b43legacy_dmadesc32 *desc;
desc              967 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, slot, &meta_hdr);
desc              989 drivers/net/wireless/broadcom/b43legacy/dma.c 	op32_fill_descriptor(ring, desc, meta_hdr->dmaaddr,
desc              994 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, slot, &meta);
desc             1030 drivers/net/wireless/broadcom/b43legacy/dma.c 	op32_fill_descriptor(ring, desc, meta->dmaaddr,
desc             1244 drivers/net/wireless/broadcom/b43legacy/dma.c 	struct b43legacy_dmadesc32 *desc;
desc             1252 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, *slot, &meta);
desc             1304 drivers/net/wireless/broadcom/b43legacy/dma.c 			desc = op32_idx2desc(ring, *slot, &meta);
desc             1321 drivers/net/wireless/broadcom/b43legacy/dma.c 	err = setup_rx_descbuffer(ring, desc, meta, GFP_ATOMIC);
desc              779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	u8 desc;
desc              787 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	val = brcmf_chip_dmp_get_desc(ci, eromaddr, &desc);
desc              788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	if (desc == DMP_DESC_MASTER_PORT) {
desc              791 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	} else if (desc == DMP_DESC_ADDRESS) {
desc              803 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 			val = brcmf_chip_dmp_get_desc(ci, eromaddr, &desc);
desc              805 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 			if (desc == DMP_DESC_EOT) {
desc              809 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		} while (desc != DMP_DESC_ADDRESS &&
desc              810 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 			 desc != DMP_DESC_COMPONENT);
desc              813 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		if (desc == DMP_DESC_COMPONENT) {
desc              498 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	struct brcmf_fws_macdesc_table desc;
desc              706 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 				       struct brcmf_fws_mac_descriptor *desc)
desc              708 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	if (desc == &fws->desc.other)
desc              709 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		strlcpy(desc->name, "MAC-OTHER", sizeof(desc->name));
desc              710 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	else if (desc->mac_handle)
desc              711 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		scnprintf(desc->name, sizeof(desc->name), "MAC-%d:%d",
desc              712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 			  desc->mac_handle, desc->interface_id);
desc              714 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		scnprintf(desc->name, sizeof(desc->name), "MACIF:%d",
desc              715 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 			  desc->interface_id);
desc              718 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c static void brcmf_fws_macdesc_init(struct brcmf_fws_mac_descriptor *desc,
desc              722 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		  "enter: desc %p ea=%pM, ifidx=%u\n", desc, addr, ifidx);
desc              723 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->occupied = 1;
desc              724 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->state = BRCMF_FWS_STATE_OPEN;
desc              725 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->requested_credit = 0;
desc              726 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->requested_packet = 0;
desc              728 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->interface_id = ifidx;
desc              729 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->ac_bitmap = 0xff; /* update this when handling APSD */
desc              731 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		memcpy(&desc->ea[0], addr, ETH_ALEN);
desc              735 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c void brcmf_fws_macdesc_deinit(struct brcmf_fws_mac_descriptor *desc)
desc              738 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		  "enter: ea=%pM, ifidx=%u\n", desc->ea, desc->interface_id);
desc              739 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->occupied = 0;
desc              740 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->state = BRCMF_FWS_STATE_CLOSE;
desc              741 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->requested_credit = 0;
desc              742 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	desc->requested_packet = 0;
desc              754 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.nodes[0];
desc              755 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	for (i = 0; i < ARRAY_SIZE(fws->desc.nodes); i++) {
desc              767 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	struct brcmf_fws_mac_descriptor *entry = &fws->desc.other;
desc              800 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 		if_entry = &fws->desc.iface[entry->interface_id];
desc              866 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	table = &fws->desc.nodes[0];
desc              867 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	for (i = 0; i < ARRAY_SIZE(fws->desc.nodes); i++)
desc              870 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmf_fws_macdesc_cleanup(fws, &fws->desc.other, ifidx);
desc             1015 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.nodes[mac_handle & 0x1F];
desc             1072 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.nodes[mac_handle & 0x1F];
desc             1110 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.iface[ifidx];
desc             1146 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.nodes[data[1] & 0x1F];
desc             1353 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	table = (struct brcmf_fws_mac_descriptor *)&fws->desc;
desc             1354 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	num_nodes = sizeof(fws->desc) / sizeof(struct brcmf_fws_mac_descriptor);
desc             2176 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	entry = &fws->desc.iface[ifp->ifidx];
desc             2196 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmf_fws_macdesc_cleanup(fws, &fws->desc.iface[ifp->ifidx],
desc             2424 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmf_fws_macdesc_init(&fws->desc.other, NULL, 0);
desc             2425 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmf_fws_macdesc_set_name(fws, &fws->desc.other);
desc             2426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmf_dbg(INFO, "added %s\n", fws->desc.other.name);
desc             2427 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c 	brcmu_pktq_init(&fws->desc.other.psq, BRCMF_FWS_PSQ_PREC_COUNT,
desc             1314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	struct usb_interface_descriptor	*desc;
desc             1352 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	desc = &intf->cur_altsetting->desc;
desc             1353 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	if ((desc->bInterfaceClass != USB_CLASS_VENDOR_SPEC) ||
desc             1354 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	    (desc->bInterfaceSubClass != 2) ||
desc             1355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	    (desc->bInterfaceProtocol != 0xff)) {
desc             1357 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 			  desc->bInterfaceNumber, desc->bInterfaceClass,
desc             1358 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 			  desc->bInterfaceSubClass, desc->bInterfaceProtocol);
desc             1363 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	num_of_eps = desc->bNumEndpoints;
desc             1365 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 		endpoint = &intf->cur_altsetting->endpoint[ep].desc;
desc             1390 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c 	devinfo->ifnum = desc->bInterfaceNumber;
desc             3579 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	const char *desc;
desc             3973 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				       ord_data[loop].desc);
desc             3977 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				       ord_data[loop].desc);
desc              659 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			  ipw_error_desc(error->elem[i].desc),
desc             1310 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				priv->error->elem[i].desc,
desc             1088 drivers/net/wireless/intel/ipw2x00/ipw2200.h 	u32 desc;
desc             1342 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	u32 desc, time, count, base, data1;
desc             1364 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		desc = il_read_targ_mem(il, base + i);
desc             1373 drivers/net/wireless/intel/iwlegacy/3945-mac.c 		       il3945_desc_lookup(desc), desc, time, blink1, blink2,
desc              808 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	int desc = 0;
desc              817 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	desc +=
desc              818 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	    sprintf(buff + desc,
desc              824 drivers/net/wireless/intel/iwlegacy/3945-rs.c 		desc +=
desc              825 drivers/net/wireless/intel/iwlegacy/3945-rs.c 		    sprintf(buff + desc, "counter=%d success=%d %%=%d\n",
desc              830 drivers/net/wireless/intel/iwlegacy/3945-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             5082 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	u32 desc, time, count, base, data1;
desc             5104 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	desc = il_read_targ_mem(il, base + 1 * sizeof(u32));
desc             5105 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	il->isr_stats.err_code = desc;
desc             5120 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	       il4965_desc_lookup(desc), desc, time, data1, data2, line);
desc             2571 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	int desc = 0;
desc             2585 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc += sprintf(buff + desc, "sta_id %d\n", lq_sta->lq.sta_id);
desc             2586 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2587 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc, "failed=%d success=%d rate=0%X\n",
desc             2590 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2591 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc, "fixed rate 0x%X\n", lq_sta->dbg_fixed_rate);
desc             2592 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2593 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc, "valid_tx_ant %s%s%s\n",
desc             2597 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2598 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc, "lq type %s\n",
desc             2601 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2602 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc, " %s",
desc             2604 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2605 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc, " %s",
desc             2607 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2608 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc, " %s %s %s\n",
desc             2613 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2614 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc, "last tx rate=0x%X\n",
desc             2616 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2617 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc,
desc             2624 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2625 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc,
desc             2632 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	desc +=
desc             2633 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	    sprintf(buff + desc,
desc             2646 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			desc +=
desc             2647 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    sprintf(buff + desc, " rate[%d] 0x%X %smbps\n", i,
desc             2652 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			desc +=
desc             2653 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    sprintf(buff + desc, " rate[%d] 0x%X %smbps (%s)\n",
desc             2662 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             2679 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	int desc = 0;
desc             2690 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2691 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc,
desc             2700 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			desc +=
desc             2701 drivers/net/wireless/intel/iwlegacy/4965-rs.c 			    sprintf(buff + desc,
desc             2708 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             2725 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	int desc = 0;
desc             2730 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2731 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc, "Bit Rate= %d Mb/s\n",
desc             2734 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		desc +=
desc             2735 drivers/net/wireless/intel/iwlegacy/4965-rs.c 		    sprintf(buff + desc, "Bit Rate= %d Mb/s\n",
desc             2738 drivers/net/wireless/intel/iwlegacy/4965-rs.c 	return simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             2214 drivers/net/wireless/intel/iwlegacy/common.h il_free_fw_desc(struct pci_dev *pci_dev, struct fw_desc *desc)
desc             2216 drivers/net/wireless/intel/iwlegacy/common.h 	if (desc->v_addr)
desc             2217 drivers/net/wireless/intel/iwlegacy/common.h 		dma_free_coherent(&pci_dev->dev, desc->len, desc->v_addr,
desc             2218 drivers/net/wireless/intel/iwlegacy/common.h 				  desc->p_addr);
desc             2219 drivers/net/wireless/intel/iwlegacy/common.h 	desc->v_addr = NULL;
desc             2220 drivers/net/wireless/intel/iwlegacy/common.h 	desc->len = 0;
desc             2224 drivers/net/wireless/intel/iwlegacy/common.h il_alloc_fw_desc(struct pci_dev *pci_dev, struct fw_desc *desc)
desc             2226 drivers/net/wireless/intel/iwlegacy/common.h 	if (!desc->len) {
desc             2227 drivers/net/wireless/intel/iwlegacy/common.h 		desc->v_addr = NULL;
desc             2231 drivers/net/wireless/intel/iwlegacy/common.h 	desc->v_addr = dma_alloc_coherent(&pci_dev->dev, desc->len,
desc             2232 drivers/net/wireless/intel/iwlegacy/common.h 					  &desc->p_addr, GFP_KERNEL);
desc             2233 drivers/net/wireless/intel/iwlegacy/common.h 	return (desc->v_addr != NULL) ? 0 : -ENOMEM;
desc             3101 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	int desc = 0;
desc             3115 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "sta_id %d\n", lq_sta->lq.sta_id);
desc             3116 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "failed=%d success=%d rate=0%X\n",
desc             3119 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "fixed rate 0x%X\n",
desc             3121 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "valid_tx_ant %s%s%s\n",
desc             3125 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "lq type %s\n",
desc             3128 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff + desc, " %s",
desc             3131 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff + desc, " %s",
desc             3133 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff + desc, " %s %s %s\n",
desc             3138 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "last tx rate=0x%X\n",
desc             3140 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "general:"
desc             3147 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc, "agg:"
desc             3153 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	desc += sprintf(buff+desc,
desc             3164 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			desc += sprintf(buff+desc, " rate[%d] 0x%X %smbps\n",
desc             3168 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			desc += sprintf(buff+desc, " rate[%d] 0x%X %smbps (%s)\n",
desc             3174 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             3189 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	int desc = 0;
desc             3200 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff+desc,
desc             3211 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 			desc += sprintf(buff+desc,
desc             3218 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             3235 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	int desc = 0;
desc             3238 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff+desc,
desc             3242 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 		desc += sprintf(buff+desc,
desc             3246 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 	return simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc              154 drivers/net/wireless/intel/iwlwifi/fw/api/dbg-tlv.h 	__le32 desc;
desc              110 drivers/net/wireless/intel/iwlwifi/fw/api/mac-cfg.h 	struct ieee80211_p2p_noa_desc desc[IWL_P2P_NOA_DESC_COUNT];
desc              909 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	    fwrt->dump.desc)
desc              911 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 			    fwrt->dump.desc->len;
desc              987 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	    fwrt->dump.desc) {
desc              990 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 					     fwrt->dump.desc->len);
desc              992 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		memcpy(dump_trig, &fwrt->dump.desc->trig_desc,
desc              993 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		       sizeof(*dump_trig) + fwrt->dump.desc->len);
desc             2033 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 			    const struct iwl_fw_dump_desc *desc,
desc             2037 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	u32 trig_type = le32_to_cpu(desc->trig_desc.type);
desc             2054 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	if (WARN_ON(fwrt->dump.desc))
desc             2058 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		 le32_to_cpu(desc->trig_desc.type));
desc             2060 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	fwrt->dump.desc = desc;
desc             2100 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	struct iwl_fw_dump_desc *desc;
desc             2124 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	desc = kzalloc(sizeof(*desc) + len, GFP_ATOMIC);
desc             2125 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	if (!desc)
desc             2129 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	desc->len = len;
desc             2130 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	desc->trig_desc.type = cpu_to_le32(trig);
desc             2131 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	memcpy(desc->trig_desc.data, str, len);
desc             2133 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 	return iwl_fw_dbg_collect_desc(fwrt, desc, monitor_only, delay);
desc              103 drivers/net/wireless/intel/iwlwifi/fw/dbg.h 	if (fwrt->dump.desc != &iwl_dump_desc_assert)
desc              104 drivers/net/wireless/intel/iwlwifi/fw/dbg.h 		kfree(fwrt->dump.desc);
desc              105 drivers/net/wireless/intel/iwlwifi/fw/dbg.h 	fwrt->dump.desc = NULL;
desc              113 drivers/net/wireless/intel/iwlwifi/fw/dbg.h 			    const struct iwl_fw_dump_desc *desc,
desc              142 drivers/net/wireless/intel/iwlwifi/fw/runtime.h 		const struct iwl_fw_dump_desc *desc;
desc              156 drivers/net/wireless/intel/iwlwifi/iwl-drv.c static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc)
desc              158 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	vfree(desc->data);
desc              159 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->data = NULL;
desc              160 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->len = 0;
desc              188 drivers/net/wireless/intel/iwlwifi/iwl-drv.c static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc,
desc              193 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->data = NULL;
desc              202 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->len = sec->size;
desc              203 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->offset = sec->offset;
desc              204 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	memcpy(data, sec->data, desc->len);
desc              205 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->data = data;
desc              435 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	int desc = 0;
desc              444 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += scnprintf(buff + desc, bufsz - desc, "sta_id %d\n",
desc              446 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc              449 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc              452 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc              457 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc              461 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc += rs_pretty_print_rate(buff + desc, bufsz - desc,
desc              465 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             1173 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct iwl_rx_mpdu_desc *desc;
desc             1207 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	desc = (void *)pkt->data;
desc             1208 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	if (le16_to_cpu(desc->mpdu_len) !=
desc             3801 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	int desc = 0;
desc             3819 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3821 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3825 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc, "fixed rate 0x%X\n",
desc             3827 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc, "valid_tx_ant %s%s%s\n",
desc             3831 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc, "lq type %s\n",
desc             3835 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += scnprintf(buff + desc, bufsz - desc, " %s",
desc             3837 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += scnprintf(buff + desc, bufsz - desc, " %s",
desc             3842 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += scnprintf(buff + desc, bufsz - desc, " %s %s %s %s\n",
desc             3848 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc, "last tx rate=0x%X\n",
desc             3850 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3857 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3863 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc, "reduced tpc=%d\n",
desc             3866 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3876 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	desc += scnprintf(buff + desc, bufsz - desc,
desc             3886 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += scnprintf(buff + desc, bufsz - desc,
desc             3888 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += rs_pretty_print_rate(buff + desc, bufsz - desc, r);
desc             3891 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc             3906 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	int desc = 0;
desc             3920 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 		desc += sprintf(buff+desc,
desc             3932 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 			desc += sprintf(buff+desc,
desc             3939 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 	ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc);
desc              177 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct iwl_rx_mpdu_desc *desc = (void *)pkt->data;
desc              181 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (desc->mac_flags2 & IWL_RX_MPDU_MFLG2_PAD) {
desc              308 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			     struct iwl_rx_mpdu_desc *desc,
desc              311 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u16 status = le16_to_cpu(desc->status);
desc              398 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			    struct iwl_rx_mpdu_desc *desc)
desc              402 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u16 flags = le16_to_cpu(desc->l3l4_flags);
desc              421 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			   struct iwl_rx_mpdu_desc *desc)
desc              451 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	sub_frame_idx = desc->amsdu_info &
desc              462 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	    desc->mac_flags2 & IWL_RX_MPDU_MFLG2_AMSDU)
desc              853 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			    struct iwl_rx_mpdu_desc *desc)
desc              861 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 reorder = le32_to_cpu(desc->reorder_data);
desc              862 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	bool amsdu = desc->mac_flags2 & IWL_RX_MPDU_MFLG2_AMSDU;
desc              864 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		desc->amsdu_info & IWL_RX_MPDU_AMSDU_LAST_SUBFRAME;
desc              866 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u8 sub_frame_idx = desc->amsdu_info &
desc             1553 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct iwl_rx_mpdu_desc *desc = (void *)pkt->data;
desc             1555 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 len = le16_to_cpu(desc->mpdu_len);
desc             1557 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u16 phy_info = le16_to_cpu(desc->phy_info);
desc             1563 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		.d4 = desc->phy_data4,
desc             1572 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rate_n_flags = le32_to_cpu(desc->v3.rate_n_flags);
desc             1573 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		channel = desc->v3.channel;
desc             1574 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		gp2_on_air_rise = le32_to_cpu(desc->v3.gp2_on_air_rise);
desc             1575 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		energy_a = desc->v3.energy_a;
desc             1576 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		energy_b = desc->v3.energy_b;
desc             1577 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		desc_size = sizeof(*desc);
desc             1579 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d0 = desc->v3.phy_data0;
desc             1580 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d1 = desc->v3.phy_data1;
desc             1581 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d2 = desc->v3.phy_data2;
desc             1582 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d3 = desc->v3.phy_data3;
desc             1584 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		rate_n_flags = le32_to_cpu(desc->v1.rate_n_flags);
desc             1585 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		channel = desc->v1.channel;
desc             1586 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		gp2_on_air_rise = le32_to_cpu(desc->v1.gp2_on_air_rise);
desc             1587 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		energy_a = desc->v1.energy_a;
desc             1588 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		energy_b = desc->v1.energy_b;
desc             1591 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d0 = desc->v1.phy_data0;
desc             1592 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d1 = desc->v1.phy_data1;
desc             1593 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d2 = desc->v1.phy_data2;
desc             1594 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		phy_data.d3 = desc->v1.phy_data3;
desc             1612 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (desc->mac_flags2 & IWL_RX_MPDU_MFLG2_PAD) {
desc             1647 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (iwl_mvm_rx_crypto(mvm, hdr, rx_status, phy_info, desc,
desc             1658 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (!(desc->status & cpu_to_le16(IWL_RX_MPDU_STATUS_CRC_OK)) ||
desc             1659 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	    !(desc->status & cpu_to_le16(IWL_RX_MPDU_STATUS_OVERRUN_OK))) {
desc             1661 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			     le16_to_cpu(desc->status));
desc             1674 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			tsf_on_air_rise = le64_to_cpu(desc->v3.tsf_on_air_rise);
desc             1676 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			tsf_on_air_rise = le64_to_cpu(desc->v1.tsf_on_air_rise);
desc             1715 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (desc->status & cpu_to_le16(IWL_RX_MPDU_STATUS_SRC_STA_FOUND)) {
desc             1716 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		u8 id = desc->sta_id_flags & IWL_RX_MPDU_SIF_STA_ID_MASK;
desc             1735 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		u8 baid = (u8)((le32_to_cpu(desc->reorder_data) &
desc             1780 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			iwl_mvm_rx_csum(sta, skb, desc);
desc             1782 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		if (iwl_mvm_is_dup(sta, queue, rx_status, hdr, desc)) {
desc             1793 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		if ((desc->mac_flags2 & IWL_RX_MPDU_MFLG2_AMSDU) &&
desc             1808 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			u32 reorder_data = le32_to_cpu(desc->reorder_data);
desc             1869 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	if (!iwl_mvm_reorder(mvm, napi, queue, sta, skb, desc))
desc             1881 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	struct iwl_rx_no_data *desc = (void *)pkt->data;
desc             1882 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 rate_n_flags = le32_to_cpu(desc->rate);
desc             1883 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 gp2_on_air_rise = le32_to_cpu(desc->on_air_rise_time);
desc             1884 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 rssi = le32_to_cpu(desc->rssi);
desc             1885 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 	u32 info_type = le32_to_cpu(desc->info) & RX_NO_DATA_INFO_TYPE_MSK;
desc             1891 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		.d0 = desc->phy_info[0],
desc             1903 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 		le32_get_bits(desc->phy_info[1],
desc             1994 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			le32_get_bits(desc->rx_vec[0],
desc             1998 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c 			le32_get_bits(desc->rx_vec[0],
desc              171 drivers/net/wireless/intersil/orinoco/main.c 	struct hermes_tx_descriptor desc;
desc              202 drivers/net/wireless/intersil/orinoco/main.c 	struct hermes_rx_descriptor *desc;
desc              478 drivers/net/wireless/intersil/orinoco/main.c 		char desc[HERMES_802_3_OFFSET];
desc              479 drivers/net/wireless/intersil/orinoco/main.c 		__le16 *txcntl = (__le16 *) &desc[HERMES_TXCNTL2_OFFSET];
desc              481 drivers/net/wireless/intersil/orinoco/main.c 		memset(&desc, 0, sizeof(desc));
desc              484 drivers/net/wireless/intersil/orinoco/main.c 		err = hw->ops->bap_pwrite(hw, USER_BAP, &desc, sizeof(desc),
desc              493 drivers/net/wireless/intersil/orinoco/main.c 		struct hermes_tx_descriptor desc;
desc              495 drivers/net/wireless/intersil/orinoco/main.c 		memset(&desc, 0, sizeof(desc));
desc              497 drivers/net/wireless/intersil/orinoco/main.c 		desc.tx_control = cpu_to_le16(tx_control);
desc              498 drivers/net/wireless/intersil/orinoco/main.c 		err = hw->ops->bap_pwrite(hw, USER_BAP, &desc, sizeof(desc),
desc              628 drivers/net/wireless/intersil/orinoco/main.c 	status = le16_to_cpu(hdr.desc.status);
desc              700 drivers/net/wireless/intersil/orinoco/main.c 				struct hermes_rx_descriptor *desc)
desc              716 drivers/net/wireless/intersil/orinoco/main.c 				   desc->signal, desc->silence);
desc              731 drivers/net/wireless/intersil/orinoco/main.c 			       struct hermes_rx_descriptor *desc)
desc              743 drivers/net/wireless/intersil/orinoco/main.c 	len = le16_to_cpu(desc->data_len);
desc              746 drivers/net/wireless/intersil/orinoco/main.c 	fc = le16_to_cpu(desc->frame_ctl);
desc              795 drivers/net/wireless/intersil/orinoco/main.c 	skb_put_data(skb, &(desc->frame_ctl), hdrlen);
desc              836 drivers/net/wireless/intersil/orinoco/main.c 	struct hermes_rx_descriptor *desc;
desc              840 drivers/net/wireless/intersil/orinoco/main.c 	desc = kmalloc(sizeof(*desc), GFP_ATOMIC);
desc              841 drivers/net/wireless/intersil/orinoco/main.c 	if (!desc)
desc              846 drivers/net/wireless/intersil/orinoco/main.c 	err = hw->ops->bap_pread(hw, IRQ_BAP, desc, sizeof(*desc),
desc              854 drivers/net/wireless/intersil/orinoco/main.c 	status = le16_to_cpu(desc->status);
desc              865 drivers/net/wireless/intersil/orinoco/main.c 		orinoco_rx_monitor(dev, rxfid, desc);
desc              876 drivers/net/wireless/intersil/orinoco/main.c 	length = le16_to_cpu(desc->data_len);
desc              928 drivers/net/wireless/intersil/orinoco/main.c 	rx_data->desc = desc;
desc              941 drivers/net/wireless/intersil/orinoco/main.c 	kfree(desc);
desc              946 drivers/net/wireless/intersil/orinoco/main.c 		       struct hermes_rx_descriptor *desc,
desc              955 drivers/net/wireless/intersil/orinoco/main.c 	status = le16_to_cpu(desc->status);
desc              956 drivers/net/wireless/intersil/orinoco/main.c 	length = le16_to_cpu(desc->data_len);
desc              957 drivers/net/wireless/intersil/orinoco/main.c 	fc = le16_to_cpu(desc->frame_ctl);
desc              967 drivers/net/wireless/intersil/orinoco/main.c 			desc->addr3 : desc->addr2;
desc              984 drivers/net/wireless/intersil/orinoco/main.c 		orinoco_mic(priv->rx_tfm_mic, key->rx_mic, desc->addr1, src,
desc             1003 drivers/net/wireless/intersil/orinoco/main.c 			wxmic.flags |= (desc->addr1[0] & 1) ?
desc             1038 drivers/net/wireless/intersil/orinoco/main.c 	memcpy(hdr->h_dest, desc->addr1, ETH_ALEN);
desc             1040 drivers/net/wireless/intersil/orinoco/main.c 		memcpy(hdr->h_source, desc->addr3, ETH_ALEN);
desc             1042 drivers/net/wireless/intersil/orinoco/main.c 		memcpy(hdr->h_source, desc->addr2, ETH_ALEN);
desc             1050 drivers/net/wireless/intersil/orinoco/main.c 	orinoco_stat_gather(dev, skb, desc);
desc             1070 drivers/net/wireless/intersil/orinoco/main.c 	struct hermes_rx_descriptor *desc;
desc             1085 drivers/net/wireless/intersil/orinoco/main.c 		desc = rx_data->desc;
desc             1090 drivers/net/wireless/intersil/orinoco/main.c 		orinoco_rx(dev, desc, skb);
desc             1092 drivers/net/wireless/intersil/orinoco/main.c 		kfree(desc);
desc             2320 drivers/net/wireless/intersil/orinoco/main.c 		kfree(rx_data->desc);
desc               50 drivers/net/wireless/intersil/orinoco/mic.c 	SHASH_DESC_ON_STACK(desc, tfm_michael);
desc               67 drivers/net/wireless/intersil/orinoco/mic.c 	desc->tfm = tfm_michael;
desc               73 drivers/net/wireless/intersil/orinoco/mic.c 	err = crypto_shash_init(desc);
desc               77 drivers/net/wireless/intersil/orinoco/mic.c 	err = crypto_shash_update(desc, hdr, sizeof(hdr));
desc               81 drivers/net/wireless/intersil/orinoco/mic.c 	err = crypto_shash_update(desc, data, data_len);
desc               85 drivers/net/wireless/intersil/orinoco/mic.c 	err = crypto_shash_final(desc, mic);
desc               86 drivers/net/wireless/intersil/orinoco/mic.c 	shash_desc_zero(desc);
desc             1612 drivers/net/wireless/intersil/orinoco/orinoco_usb.c 	iface_desc = &interface->cur_altsetting->desc;
desc             1614 drivers/net/wireless/intersil/orinoco/orinoco_usb.c 		ep = &interface->cur_altsetting->endpoint[i].desc;
desc               80 drivers/net/wireless/intersil/p54/fwio.c 			struct bootrec_desc *desc =
desc               82 drivers/net/wireless/intersil/p54/fwio.c 			priv->rx_start = le32_to_cpu(desc->rx_start);
desc               84 drivers/net/wireless/intersil/p54/fwio.c 			priv->rx_end = le32_to_cpu(desc->rx_end) - 0x3500;
desc               85 drivers/net/wireless/intersil/p54/fwio.c 			priv->headroom = desc->headroom;
desc               86 drivers/net/wireless/intersil/p54/fwio.c 			priv->tailroom = desc->tailroom;
desc               87 drivers/net/wireless/intersil/p54/fwio.c 			priv->privacy_caps = desc->privacy_caps;
desc               88 drivers/net/wireless/intersil/p54/fwio.c 			priv->rx_keycache_size = desc->rx_keycache_size;
desc               90 drivers/net/wireless/intersil/p54/fwio.c 				priv->rx_mtu = le16_to_cpu(desc->rx_mtu);
desc              147 drivers/net/wireless/intersil/p54/p54pci.c 		struct p54p_desc *desc = &ring[i];
desc              149 drivers/net/wireless/intersil/p54/p54pci.c 		if (!desc->host_addr) {
desc              168 drivers/net/wireless/intersil/p54/p54pci.c 			desc->host_addr = cpu_to_le32(mapping);
desc              169 drivers/net/wireless/intersil/p54/p54pci.c 			desc->device_addr = 0;	// FIXME: necessary?
desc              170 drivers/net/wireless/intersil/p54/p54pci.c 			desc->len = cpu_to_le16(priv->common.rx_mtu + 32);
desc              171 drivers/net/wireless/intersil/p54/p54pci.c 			desc->flags = 0;
desc              190 drivers/net/wireless/intersil/p54/p54pci.c 	struct p54p_desc *desc;
desc              200 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring[i];
desc              201 drivers/net/wireless/intersil/p54/p54pci.c 		len = le16_to_cpu(desc->len);
desc              217 drivers/net/wireless/intersil/p54/p54pci.c 		dma_addr = le32_to_cpu(desc->host_addr);
desc              226 drivers/net/wireless/intersil/p54/p54pci.c 			desc->host_addr = cpu_to_le32(0);
desc              231 drivers/net/wireless/intersil/p54/p54pci.c 			desc->len = cpu_to_le16(priv->common.rx_mtu + 32);
desc              247 drivers/net/wireless/intersil/p54/p54pci.c 	struct p54p_desc *desc;
desc              256 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring[i];
desc              261 drivers/net/wireless/intersil/p54/p54pci.c 		pci_unmap_single(priv->pdev, le32_to_cpu(desc->host_addr),
desc              262 drivers/net/wireless/intersil/p54/p54pci.c 				 le16_to_cpu(desc->len), PCI_DMA_TODEVICE);
desc              264 drivers/net/wireless/intersil/p54/p54pci.c 		desc->host_addr = 0;
desc              265 drivers/net/wireless/intersil/p54/p54pci.c 		desc->device_addr = 0;
desc              266 drivers/net/wireless/intersil/p54/p54pci.c 		desc->len = 0;
desc              267 drivers/net/wireless/intersil/p54/p54pci.c 		desc->flags = 0;
desc              329 drivers/net/wireless/intersil/p54/p54pci.c 	struct p54p_desc *desc;
desc              347 drivers/net/wireless/intersil/p54/p54pci.c 	desc = &ring_control->tx_data[i];
desc              348 drivers/net/wireless/intersil/p54/p54pci.c 	desc->host_addr = cpu_to_le32(mapping);
desc              349 drivers/net/wireless/intersil/p54/p54pci.c 	desc->device_addr = ((struct p54_hdr *)skb->data)->req_id;
desc              350 drivers/net/wireless/intersil/p54/p54pci.c 	desc->len = cpu_to_le16(skb->len);
desc              351 drivers/net/wireless/intersil/p54/p54pci.c 	desc->flags = 0;
desc              366 drivers/net/wireless/intersil/p54/p54pci.c 	struct p54p_desc *desc;
desc              379 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring_control->rx_data[i];
desc              380 drivers/net/wireless/intersil/p54/p54pci.c 		if (desc->host_addr)
desc              382 drivers/net/wireless/intersil/p54/p54pci.c 					 le32_to_cpu(desc->host_addr),
desc              390 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring_control->rx_mgmt[i];
desc              391 drivers/net/wireless/intersil/p54/p54pci.c 		if (desc->host_addr)
desc              393 drivers/net/wireless/intersil/p54/p54pci.c 					 le32_to_cpu(desc->host_addr),
desc              401 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring_control->tx_data[i];
desc              402 drivers/net/wireless/intersil/p54/p54pci.c 		if (desc->host_addr)
desc              404 drivers/net/wireless/intersil/p54/p54pci.c 					 le32_to_cpu(desc->host_addr),
desc              405 drivers/net/wireless/intersil/p54/p54pci.c 					 le16_to_cpu(desc->len),
desc              413 drivers/net/wireless/intersil/p54/p54pci.c 		desc = &ring_control->tx_mgmt[i];
desc              414 drivers/net/wireless/intersil/p54/p54pci.c 		if (desc->host_addr)
desc              416 drivers/net/wireless/intersil/p54/p54pci.c 					 le32_to_cpu(desc->host_addr),
desc              417 drivers/net/wireless/intersil/p54/p54pci.c 					 le16_to_cpu(desc->len),
desc             1012 drivers/net/wireless/intersil/p54/p54usb.c 	i = intf->altsetting->desc.bNumEndpoints;
desc             1015 drivers/net/wireless/intersil/p54/p54usb.c 		switch (intf->altsetting->endpoint[i].desc.bEndpointAddress) {
desc              224 drivers/net/wireless/marvell/libertas/if_usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              225 drivers/net/wireless/marvell/libertas/if_usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              174 drivers/net/wireless/marvell/libertas_tf/if_usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              175 drivers/net/wireless/marvell/libertas_tf/if_usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              584 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc              597 drivers/net/wireless/marvell/mwifiex/pcie.c 					     (sizeof(*desc) * i);
desc              598 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->txbd_ring[i];
desc              599 drivers/net/wireless/marvell/mwifiex/pcie.c 			memset(desc, 0, sizeof(*desc));
desc              615 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc              655 drivers/net/wireless/marvell/mwifiex/pcie.c 					     (sizeof(*desc) * i));
desc              656 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->rxbd_ring[i];
desc              657 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->paddr = buf_pa;
desc              658 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->len = (u16)skb->len;
desc              659 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->flags = 0;
desc              673 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_evt_buf_desc *desc;
desc              705 drivers/net/wireless/marvell/mwifiex/pcie.c 				      (sizeof(*desc) * i));
desc              706 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc = card->evtbd_ring[i];
desc              707 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->paddr = buf_pa;
desc              708 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->len = (u16)skb->len;
desc              709 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->flags = 0;
desc              723 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc              738 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->txbd_ring[i];
desc              745 drivers/net/wireless/marvell/mwifiex/pcie.c 			memset(desc, 0, sizeof(*desc));
desc              761 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc              777 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->rxbd_ring[i];
desc              784 drivers/net/wireless/marvell/mwifiex/pcie.c 			memset(desc, 0, sizeof(*desc));
desc              798 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_evt_buf_desc *desc;
desc              803 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc = card->evtbd_ring[i];
desc              811 drivers/net/wireless/marvell/mwifiex/pcie.c 		memset(desc, 0, sizeof(*desc));
desc             1151 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc             1204 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->txbd_ring[wrdoneidx];
desc             1205 drivers/net/wireless/marvell/mwifiex/pcie.c 			memset(desc, 0, sizeof(*desc));
desc             1253 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc = NULL;
desc             1296 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->txbd_ring[wrindx];
desc             1297 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->paddr = buf_pa;
desc             1298 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->len = (u16)skb->len;
desc             1299 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->flags = MWIFIEX_BD_FLAG_FIRST_DESC |
desc             1367 drivers/net/wireless/marvell/mwifiex/pcie.c 		memset(desc, 0, sizeof(*desc));
desc             1384 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_pcie_buf_desc *desc;
desc             1471 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc = card->rxbd_ring[rd_index];
desc             1472 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->paddr = buf_pa;
desc             1473 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->len = skb_tmp->len;
desc             1474 drivers/net/wireless/marvell/mwifiex/pcie.c 			desc->flags = 0;
desc             1840 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_evt_buf_desc *desc;
desc             1884 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc = card->evtbd_ring[rdptr];
desc             1885 drivers/net/wireless/marvell/mwifiex/pcie.c 		memset(desc, 0, sizeof(*desc));
desc             1935 drivers/net/wireless/marvell/mwifiex/pcie.c 	struct mwifiex_evt_buf_desc *desc;
desc             1962 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc = card->evtbd_ring[rdptr];
desc             1963 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->paddr = MWIFIEX_SKB_DMA_ADDR(skb);
desc             1964 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->len = (u16)skb->len;
desc             1965 drivers/net/wireless/marvell/mwifiex/pcie.c 		desc->flags = 0;
desc               80 drivers/net/wireless/marvell/mwifiex/scan.c _dbg_security_flags(int log_level, const char *func, const char *desc,
desc               86 drivers/net/wireless/marvell/mwifiex/scan.c 		     func, desc,
desc               97 drivers/net/wireless/marvell/mwifiex/scan.c #define dbg_security_flags(mask, desc, priv, bss_desc) \
desc               98 drivers/net/wireless/marvell/mwifiex/scan.c 	_dbg_security_flags(MWIFIEX_DBG_##mask, desc, __func__, priv, bss_desc)
desc              447 drivers/net/wireless/marvell/mwifiex/usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              448 drivers/net/wireless/marvell/mwifiex/usb.c 		epd = &iface_desc->endpoint[i].desc;
desc             1509 drivers/net/wireless/marvell/mwl8k.c 		int desc;
desc             1511 drivers/net/wireless/marvell/mwl8k.c 		for (desc = 0; desc < MWL8K_TX_DESCS; desc++) {
desc             1512 drivers/net/wireless/marvell/mwl8k.c 			struct mwl8k_tx_desc *tx_desc = txq->txd + desc;
desc               26 drivers/net/wireless/mediatek/mt76/dma.c 	q->desc = dmam_alloc_coherent(dev->dev, size, &q->desc_dma, GFP_KERNEL);
desc               27 drivers/net/wireless/mediatek/mt76/dma.c 	if (!q->desc)
desc               37 drivers/net/wireless/mediatek/mt76/dma.c 		q->desc[i].ctrl = cpu_to_le32(MT_DMA_CTL_DMA_DONE);
desc               52 drivers/net/wireless/mediatek/mt76/dma.c 	struct mt76_desc *desc;
desc               78 drivers/net/wireless/mediatek/mt76/dma.c 		desc = &q->desc[idx];
desc               80 drivers/net/wireless/mediatek/mt76/dma.c 		WRITE_ONCE(desc->buf0, cpu_to_le32(buf0));
desc               81 drivers/net/wireless/mediatek/mt76/dma.c 		WRITE_ONCE(desc->buf1, cpu_to_le32(buf1));
desc               82 drivers/net/wireless/mediatek/mt76/dma.c 		WRITE_ONCE(desc->info, cpu_to_le32(info));
desc               83 drivers/net/wireless/mediatek/mt76/dma.c 		WRITE_ONCE(desc->ctrl, cpu_to_le32(ctrl));
desc               99 drivers/net/wireless/mediatek/mt76/dma.c 	__le32 __ctrl = READ_ONCE(q->desc[idx].ctrl);
desc              103 drivers/net/wireless/mediatek/mt76/dma.c 		__le32 addr = READ_ONCE(q->desc[idx].buf0);
desc              111 drivers/net/wireless/mediatek/mt76/dma.c 		__le32 addr = READ_ONCE(q->desc[idx].buf1);
desc              210 drivers/net/wireless/mediatek/mt76/dma.c 	struct mt76_desc *desc = &q->desc[idx];
desc              215 drivers/net/wireless/mediatek/mt76/dma.c 	buf_addr = le32_to_cpu(READ_ONCE(desc->buf0));
desc              217 drivers/net/wireless/mediatek/mt76/dma.c 		u32 ctl = le32_to_cpu(READ_ONCE(desc->ctrl));
desc              223 drivers/net/wireless/mediatek/mt76/dma.c 		*info = le32_to_cpu(desc->info);
desc              241 drivers/net/wireless/mediatek/mt76/dma.c 	if (!flush && !(q->desc[idx].ctrl & cpu_to_le32(MT_DMA_CTL_DMA_DONE)))
desc              431 drivers/net/wireless/mediatek/mt76/dma.c 		q->desc[i].ctrl &= ~cpu_to_le32(MT_DMA_CTL_DMA_DONE);
desc              113 drivers/net/wireless/mediatek/mt76/mt76.h 	struct mt76_desc *desc;
desc               24 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	u32 desc[5] = {
desc               33 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	for (i = 0; i < ARRAY_SIZE(desc); i++)
desc               34 drivers/net/wireless/mediatek/mt76/mt7603/init.c 		mt76_wr(dev, addr + 4 * i, desc[i]);
desc              255 drivers/net/wireless/mediatek/mt76/usb.c 	for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) {
desc              256 drivers/net/wireless/mediatek/mt76/usb.c 		ep_desc = &intf_desc->endpoint[i].desc;
desc              237 drivers/net/wireless/mediatek/mt7601u/usb.c 	for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) {
desc              238 drivers/net/wireless/mediatek/mt7601u/usb.c 		ep_desc = &intf_desc->endpoint[i].desc;
desc              720 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              724 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              738 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 2);
desc              740 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		rt2x00_desc_write(entry_priv->desc, 2, word);
desc              742 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              744 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		rt2x00_desc_write(entry_priv->desc, 1, word);
desc              746 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              748 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc              750 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              753 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc             1099 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	__le32 *txd = entry_priv->desc;
desc             1158 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	skbdesc->desc = txd;
desc             1220 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	word0 = rt2x00_desc_read(entry_priv->desc, 0);
desc             1221 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	word2 = rt2x00_desc_read(entry_priv->desc, 2);
desc             1222 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	word3 = rt2x00_desc_read(entry_priv->desc, 3);
desc             1223 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	word4 = rt2x00_desc_read(entry_priv->desc, 4);
desc             1277 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              809 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              813 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              827 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              829 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		rt2x00_desc_write(entry_priv->desc, 1, word);
desc              831 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              833 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc              835 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              838 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc             1252 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	__le32 *txd = entry_priv->desc;
desc             1310 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	skbdesc->desc = txd;
desc             1363 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	word0 = rt2x00_desc_read(entry_priv->desc, 0);
desc             1364 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	word2 = rt2x00_desc_read(entry_priv->desc, 2);
desc             1405 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1109 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 	skbdesc->desc = txd;
desc             1233 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 	memcpy(skbdesc->desc, rxd, skbdesc->desc_len);
desc             1234 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 	rxd = (__le32 *)skbdesc->desc;
desc             1347 drivers/net/wireless/ralink/rt2x00/rt2800lib.c 	skbdesc->desc = entry->skb->data;
desc               72 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 	__le32 *txd = entry_priv->desc;
desc              116 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 	skbdesc->desc = txd;
desc              128 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 	__le32 *rxd = entry_priv->desc;
desc              613 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              617 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              632 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc              634 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc              636 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              638 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		rt2x00_desc_write(entry_priv->desc, 1, word);
desc              647 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		word = rt2x00_desc_read(entry_priv->desc, 1);
desc              649 drivers/net/wireless/ralink/rt2x00/rt2800mmio.c 		rt2x00_desc_write(entry_priv->desc, 1, word);
desc              433 drivers/net/wireless/ralink/rt2x00/rt2800usb.c 	skbdesc->desc = txi;
desc              494 drivers/net/wireless/ralink/rt2x00/rt2800usb.c 	memcpy(skbdesc->desc, rxi, skbdesc->desc_len);
desc              178 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 		skb_put_data(skbcopy, skbdesc->desc, skbdesc->desc_len);
desc               68 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c 		skbdesc->desc = entry_priv->desc;
desc              122 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c 		entry_priv->desc = addr + i * queue->desc_size;
desc              135 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c 	if (entry_priv->desc)
desc              138 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c 				  entry_priv->desc, entry_priv->desc_dma);
desc              139 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c 	entry_priv->desc = NULL;
desc               74 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h 	__le32 *desc;
desc              103 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	void *desc;
desc              638 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h static inline __le32 _rt2x00_desc_read(__le32 *desc, const u8 word)
desc              640 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	return desc[word];
desc              649 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h static inline u32 rt2x00_desc_read(__le32 *desc, const u8 word)
desc              651 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	return le32_to_cpu(_rt2x00_desc_read(desc, word));
desc              661 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h static inline void _rt2x00_desc_write(__le32 *desc, const u8 word, __le32 value)
desc              663 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	desc[word] = value;
desc              672 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h static inline void rt2x00_desc_write(__le32 *desc, const u8 word, u32 value)
desc              674 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 	_rt2x00_desc_write(desc, word, cpu_to_le32(value));
desc              359 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c 		skbdesc->desc = rxd;
desc              611 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c 	for (i = 0; i < intf_desc->desc.bNumEndpoints; i++) {
desc              612 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c 		ep_desc = &intf_desc->endpoint[i].desc;
desc             1293 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1297 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1311 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 5);
desc             1314 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rt2x00_desc_write(entry_priv->desc, 5, word);
desc             1316 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1318 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc             1320 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1323 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rt2x00_desc_write(entry_priv->desc, 0, word);
desc             1780 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	__le32 *txd = entry_priv->desc;
desc             1864 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	skbdesc->desc = txd;
desc             1914 drivers/net/wireless/ralink/rt2x00/rt61pci.c 				       entry_priv->desc, TXINFO_SIZE);
desc             2002 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	word0 = rt2x00_desc_read(entry_priv->desc, 0);
desc             2003 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	word1 = rt2x00_desc_read(entry_priv->desc, 1);
desc             2012 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rxdesc->iv[0] = _rt2x00_desc_read(entry_priv->desc, 2);
desc             2013 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rxdesc->iv[1] = _rt2x00_desc_read(entry_priv->desc, 3);
desc             2016 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		rxdesc->icv = _rt2x00_desc_read(entry_priv->desc, 4);
desc             2105 drivers/net/wireless/ralink/rt2x00/rt61pci.c 		word = rt2x00_desc_read(entry_priv->desc, 0);
desc             1514 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	skbdesc->desc = txd;
desc             1680 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	memcpy(skbdesc->desc, rxd, skbdesc->desc_len);
desc             1681 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	rxd = (__le32 *)skbdesc->desc;
desc              227 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			struct rtl8187se_rx_desc *desc = entry;
desc              229 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			flags = le32_to_cpu(desc->flags);
desc              236 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			flags3 = le32_to_cpu(desc->flags3);
desc              237 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			flags2 = le32_to_cpu(desc->flags2);
desc              238 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			tsft = le64_to_cpu(desc->tsft);
desc              240 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			struct rtl8180_rx_desc *desc = entry;
desc              242 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			flags = le32_to_cpu(desc->flags);
desc              245 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			flags2 = le32_to_cpu(desc->flags2);
desc              246 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			tsft = le64_to_cpu(desc->tsft);
desc              348 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 		struct rtl8180_tx_desc *entry = &ring->desc[ring->idx];
desc              545 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	entry = &ring->desc[idx];
desc             1084 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	priv->tx_ring[prio].desc = ring;
desc             1103 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 		struct rtl8180_tx_desc *entry = &ring->desc[ring->idx];
desc             1112 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	pci_free_consistent(priv->pdev, sizeof(*ring->desc)*ring->entries,
desc             1113 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 			    ring->desc, ring->dma);
desc             1114 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 	ring->desc = NULL;
desc             1238 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c 		if (priv->tx_ring[i].desc)
desc               89 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h 	struct rtl8180_tx_desc *desc;
desc             5919 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 	interface_desc = &host_interface->desc;
desc             5923 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 		endpoint = &host_interface->endpoint[i].desc;
desc             1863 drivers/net/wireless/realtek/rtlwifi/core.c 	pdesc = &ring->desc[0];
desc              543 drivers/net/wireless/realtek/rtlwifi/pci.c 			entry = (u8 *)(&ring->desc[ring->idx]);
desc              762 drivers/net/wireless/realtek/rtlwifi/pci.c 			pdesc = &rtlpci->rx_ring[rxring_idx].desc[
desc             1093 drivers/net/wireless/realtek/rtlwifi/pci.c 		entry = (u8 *)(&ring->desc[ring->idx]);
desc             1108 drivers/net/wireless/realtek/rtlwifi/pci.c 	pdesc = &ring->desc[0];
desc             1213 drivers/net/wireless/realtek/rtlwifi/pci.c 	struct rtl_tx_desc *desc;
desc             1239 drivers/net/wireless/realtek/rtlwifi/pci.c 	desc = pci_zalloc_consistent(rtlpci->pdev,
desc             1240 drivers/net/wireless/realtek/rtlwifi/pci.c 				     sizeof(*desc) * entries, &desc_dma);
desc             1242 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (!desc || (unsigned long)desc & 0xFF) {
desc             1247 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpci->tx_ring[prio].desc = desc;
desc             1255 drivers/net/wireless/realtek/rtlwifi/pci.c 		 prio, desc);
desc             1262 drivers/net/wireless/realtek/rtlwifi/pci.c 					  sizeof(*desc);
desc             1264 drivers/net/wireless/realtek/rtlwifi/pci.c 			rtlpriv->cfg->ops->set_desc(hw, (u8 *)&desc[i],
desc             1306 drivers/net/wireless/realtek/rtlwifi/pci.c 		rtlpci->rx_ring[rxring_idx].desc =
desc             1309 drivers/net/wireless/realtek/rtlwifi/pci.c 					  desc) * rtlpci->rxringcount,
desc             1311 drivers/net/wireless/realtek/rtlwifi/pci.c 		if (!rtlpci->rx_ring[rxring_idx].desc ||
desc             1312 drivers/net/wireless/realtek/rtlwifi/pci.c 		    (unsigned long)rtlpci->rx_ring[rxring_idx].desc & 0xFF) {
desc             1321 drivers/net/wireless/realtek/rtlwifi/pci.c 			entry = &rtlpci->rx_ring[rxring_idx].desc[i];
desc             1348 drivers/net/wireless/realtek/rtlwifi/pci.c 			entry = (u8 *)(&ring->desc[ring->idx]);
desc             1361 drivers/net/wireless/realtek/rtlwifi/pci.c 			    sizeof(*ring->desc) * ring->entries,
desc             1362 drivers/net/wireless/realtek/rtlwifi/pci.c 			    ring->desc, ring->dma);
desc             1363 drivers/net/wireless/realtek/rtlwifi/pci.c 	ring->desc = NULL;
desc             1399 drivers/net/wireless/realtek/rtlwifi/pci.c 				    sizeof(*rtlpci->rx_ring[rxring_idx].desc) *
desc             1401 drivers/net/wireless/realtek/rtlwifi/pci.c 				    rtlpci->rx_ring[rxring_idx].desc,
desc             1403 drivers/net/wireless/realtek/rtlwifi/pci.c 		rtlpci->rx_ring[rxring_idx].desc = NULL;
desc             1435 drivers/net/wireless/realtek/rtlwifi/pci.c 		if (rtlpci->tx_ring[i].desc ||
desc             1473 drivers/net/wireless/realtek/rtlwifi/pci.c 		    rtlpci->rx_ring[rxring_idx].desc) {
desc             1478 drivers/net/wireless/realtek/rtlwifi/pci.c 				entry = &rtlpci->rx_ring[rxring_idx].desc[i];
desc             1484 drivers/net/wireless/realtek/rtlwifi/pci.c 				       [rxring_idx].desc));/*clear one entry*/
desc             1516 drivers/net/wireless/realtek/rtlwifi/pci.c 		if (rtlpci->tx_ring[i].desc ||
desc             1528 drivers/net/wireless/realtek/rtlwifi/pci.c 					entry = (u8 *)(&ring->desc[ring->idx]);
desc             1644 drivers/net/wireless/realtek/rtlwifi/pci.c 	pdesc = &ring->desc[idx];
desc              146 drivers/net/wireless/realtek/rtlwifi/pci.h 	struct rtl_tx_desc *desc;
desc              159 drivers/net/wireless/realtek/rtlwifi/pci.h 	struct rtl_rx_desc *desc;
desc               75 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		struct rtl_tx_desc *entry = &ring->desc[ring->idx];
desc              814 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              712 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              469 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c 	pdesc = &ring->desc[idx];
desc              831 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              571 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	__le32 *desc = (__le32 *)desc8;
desc              611 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	clear_pci_tx_desc_content(desc, TX_DESC_SIZE);
desc              635 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	set_tx_desc_pkt_size(desc, (u16)(pkt_len));
desc              636 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c 	set_tx_desc_tx_buffer_size(desc, (u16)(pkt_len));
desc              724 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h 				 u8 *tx_bd_desc, u8 *desc, u8 queue_index,
desc              124 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c 	pdesc = &ring->desc[idx];
desc              219 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              592 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 		     u8 *desc, bool istx, u8 desc_name)
desc              599 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			ret = GET_TX_DESC_OWN(desc);
desc              602 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			ret = GET_TX_DESC_TX_BUFFER_ADDRESS(desc);
desc              612 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			ret = GET_RX_STATUS_DESC_OWN(desc);
desc              615 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			ret = GET_RX_STATUS_DESC_PKT_LEN(desc);
desc              618 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c 			ret = GET_RX_STATUS_DESC_BUFF_ADDR(desc);
desc               21 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.h 		     u8 *desc, bool istx, u8 desc_name);
desc              673 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc               37 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		struct rtl_tx_desc *entry = &ring->desc[ring->idx];
desc              726 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              235 drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c 	pdesc = &ring->desc[0];
desc               33 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		struct rtl_tx_desc *entry = &ring->desc[ring->idx];
desc              966 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c 	u8 *entry = (u8 *)(&ring->desc[ring->idx]);
desc              327 drivers/net/wireless/realtek/rtlwifi/usb.c 	u8 epnums = usb_intf->cur_altsetting->desc.bNumEndpoints;
desc              333 drivers/net/wireless/realtek/rtlwifi/usb.c 		pep_desc = &usb_intf->cur_altsetting->endpoint[epidx].desc;
desc             2249 drivers/net/wireless/realtek/rtlwifi/wifi.h 				    u8 *desc, u8 queue_index,
desc              347 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	struct rsi_cmd_desc *desc;
desc              353 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	desc = (struct rsi_cmd_desc *)skb->data;
desc              354 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	desc->desc_dword0.len_qno |= cpu_to_le16(DESC_IMMEDIATE_WAKEUP);
desc              579 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	rsi_set_len_qno(&peer_notify->desc.desc_dword0.len_qno,
desc              582 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	peer_notify->desc.desc_dword0.frame_type = PEER_NOTIFY;
desc              583 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	peer_notify->desc.desc_dword3.qid_tid = sta_id;
desc              584 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	peer_notify->desc.desc_dword3.sta_id = vap_id;
desc             1339 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	auto_rate->desc.desc_dword0.frame_type = AUTO_RATE_IND;
desc             1342 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		auto_rate->desc.desc_dword3.qid_tid = BW_40MHZ;
desc             1343 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	auto_rate->desc.desc_dword3.sta_id = sta_id;
desc             1428 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	rsi_set_len_qno(&auto_rate->desc.desc_dword0.len_qno,
desc             1630 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	rsi_set_len_qno(&ps->desc.desc_dword0.len_qno,
desc             1632 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	ps->desc.desc_dword0.frame_type = WAKEUP_SLEEP_REQUEST;
desc             1635 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		ps->desc.desc_dword3.token = cpu_to_le16(RSI_SLEEP_REQUEST);
desc             1638 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		ps->desc.desc_dword0.len_qno |= cpu_to_le16(RSI_PS_DISABLE_IND);
desc             1639 drivers/net/wireless/rsi/rsi_91x_mgmt.c 		ps->desc.desc_dword3.token = cpu_to_le16(RSI_WAKEUP_REQUEST);
desc             1701 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	rsi_set_len_qno(&w9116_features->desc.desc_dword0.len_qno,
desc             1703 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	w9116_features->desc.desc_dword0.frame_type = FEATURES_ENABLE;
desc             1786 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	rsi_set_len_qno(&cmd_frame->desc.desc_dword0.len_qno,
desc             1789 drivers/net/wireless/rsi/rsi_91x_mgmt.c 	cmd_frame->desc.desc_dword0.frame_type = WOWLAN_CONFIG_PARAMS;
desc              123 drivers/net/wireless/rsi/rsi_91x_usb.c 	for (ii = 0; ii < iface_desc->desc.bNumEndpoints; ++ii) {
desc              124 drivers/net/wireless/rsi/rsi_91x_usb.c 		endpoint = &(iface_desc->endpoint[ii].desc);
desc              365 drivers/net/wireless/rsi/rsi_mgmt.h 	struct rsi_cmd_desc desc;
desc              482 drivers/net/wireless/rsi/rsi_mgmt.h 	struct rsi_cmd_desc desc;
desc              621 drivers/net/wireless/rsi/rsi_mgmt.h 	struct rsi_cmd_desc desc;
desc              633 drivers/net/wireless/rsi/rsi_mgmt.h 	struct rsi_cmd_desc desc;
desc              672 drivers/net/wireless/rsi/rsi_mgmt.h 	struct rsi_cmd_desc desc;
desc               21 drivers/net/wireless/ti/wl1251/rx.c 			     struct wl1251_rx_descriptor *desc)
desc               29 drivers/net/wireless/ti/wl1251/rx.c 	wl1251_mem_read(wl, rx_packet_ring_addr, desc, sizeof(*desc));
desc               33 drivers/net/wireless/ti/wl1251/rx.c 			     struct wl1251_rx_descriptor *desc,
desc               43 drivers/net/wireless/ti/wl1251/rx.c 	status->mactime = desc->timestamp;
desc               59 drivers/net/wireless/ti/wl1251/rx.c 	status->signal = desc->rssi;
desc               65 drivers/net/wireless/ti/wl1251/rx.c 	wl->noise = desc->rssi - desc->snr / 2;
desc               67 drivers/net/wireless/ti/wl1251/rx.c 	status->freq = ieee80211_channel_to_frequency(desc->channel,
desc               72 drivers/net/wireless/ti/wl1251/rx.c 	if (!wl->monitor_present && (desc->flags & RX_DESC_ENCRYPTION_MASK)) {
desc               75 drivers/net/wireless/ti/wl1251/rx.c 		if (likely(!(desc->flags & RX_DESC_DECRYPT_FAIL)))
desc               78 drivers/net/wireless/ti/wl1251/rx.c 		if (unlikely(desc->flags & RX_DESC_MIC_FAIL))
desc               82 drivers/net/wireless/ti/wl1251/rx.c 	if (unlikely(!(desc->flags & RX_DESC_VALID_FCS)))
desc               85 drivers/net/wireless/ti/wl1251/rx.c 	switch (desc->rate) {
desc              120 drivers/net/wireless/ti/wl1251/rx.c 	if (desc->rate == RATE_1MBPS) {
desc              121 drivers/net/wireless/ti/wl1251/rx.c 		if (!(desc->mod_pre & OFDM_RATE_BIT))
desc              129 drivers/net/wireless/ti/wl1251/rx.c 	if (desc->mod_pre & SHORT_PREAMBLE_BIT)
desc              134 drivers/net/wireless/ti/wl1251/rx.c 			   struct wl1251_rx_descriptor *desc)
desc              142 drivers/net/wireless/ti/wl1251/rx.c 	length = WL1251_RX_ALIGN(desc->length  - PLCP_HEADER_LENGTH);
desc              143 drivers/net/wireless/ti/wl1251/rx.c 	curr_id = (desc->flags & RX_DESC_SEQNUM_MASK) >> RX_DESC_PACKETID_SHIFT;
desc              169 drivers/net/wireless/ti/wl1251/rx.c 	skb_trim(skb, desc->length - PLCP_HEADER_LENGTH);
desc              176 drivers/net/wireless/ti/wl1251/rx.c 	wl1251_rx_status(wl, desc, &status, beacon);
desc             1298 drivers/net/wireless/ti/wl12xx/main.c wl12xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc,
desc             1302 drivers/net/wireless/ti/wl12xx/main.c 		desc->wl128x_mem.total_mem_blocks = blks;
desc             1304 drivers/net/wireless/ti/wl12xx/main.c 		desc->wl127x_mem.extra_blocks = spare_blks;
desc             1305 drivers/net/wireless/ti/wl12xx/main.c 		desc->wl127x_mem.total_mem_blocks = blks;
desc             1310 drivers/net/wireless/ti/wl12xx/main.c wl12xx_set_tx_desc_data_len(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc,
desc             1316 drivers/net/wireless/ti/wl12xx/main.c 		desc->wl128x_mem.extra_bytes = aligned_len - skb->len;
desc             1317 drivers/net/wireless/ti/wl12xx/main.c 		desc->length = cpu_to_le16(aligned_len >> 2);
desc             1321 drivers/net/wireless/ti/wl12xx/main.c 			     desc->hlid,
desc             1322 drivers/net/wireless/ti/wl12xx/main.c 			     le16_to_cpu(desc->length),
desc             1323 drivers/net/wireless/ti/wl12xx/main.c 			     le16_to_cpu(desc->life_time),
desc             1324 drivers/net/wireless/ti/wl12xx/main.c 			     desc->wl128x_mem.total_mem_blocks,
desc             1325 drivers/net/wireless/ti/wl12xx/main.c 			     desc->wl128x_mem.extra_bytes);
desc             1329 drivers/net/wireless/ti/wl12xx/main.c 		desc->tx_attr |=
desc             1333 drivers/net/wireless/ti/wl12xx/main.c 		desc->length = cpu_to_le16(aligned_len >> 2);
desc             1337 drivers/net/wireless/ti/wl12xx/main.c 			     pad, desc->hlid,
desc             1338 drivers/net/wireless/ti/wl12xx/main.c 			     le16_to_cpu(desc->length),
desc             1339 drivers/net/wireless/ti/wl12xx/main.c 			     le16_to_cpu(desc->life_time),
desc             1340 drivers/net/wireless/ti/wl12xx/main.c 			     desc->wl127x_mem.total_mem_blocks);
desc             1356 drivers/net/wireless/ti/wl12xx/main.c 	struct wl1271_rx_descriptor *desc = rx_data;
desc             1359 drivers/net/wireless/ti/wl12xx/main.c 	if (data_len < sizeof(*desc) ||
desc             1360 drivers/net/wireless/ti/wl12xx/main.c 	    data_len < sizeof(*desc) + desc->pad_len)
desc             1363 drivers/net/wireless/ti/wl12xx/main.c 	return data_len - sizeof(*desc) - desc->pad_len;
desc             1559 drivers/net/wireless/ti/wl12xx/main.c 				    struct wl1271_tx_hw_descr *desc,
desc             1562 drivers/net/wireless/ti/wl12xx/main.c 	desc->wl12xx_reserved = 0;
desc             1073 drivers/net/wireless/ti/wl18xx/main.c wl18xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc,
desc             1076 drivers/net/wireless/ti/wl18xx/main.c 	desc->wl18xx_mem.total_mem_blocks = blks;
desc             1080 drivers/net/wireless/ti/wl18xx/main.c wl18xx_set_tx_desc_data_len(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc,
desc             1083 drivers/net/wireless/ti/wl18xx/main.c 	desc->length = cpu_to_le16(skb->len);
desc             1087 drivers/net/wireless/ti/wl18xx/main.c 		desc->wl18xx_mem.ctrl = WL18XX_TX_CTRL_NOT_PADDED;
desc             1089 drivers/net/wireless/ti/wl18xx/main.c 		desc->wl18xx_mem.ctrl = 0;
desc             1092 drivers/net/wireless/ti/wl18xx/main.c 		     "len: %d life: %d mem: %d", desc->hlid,
desc             1093 drivers/net/wireless/ti/wl18xx/main.c 		     le16_to_cpu(desc->length),
desc             1094 drivers/net/wireless/ti/wl18xx/main.c 		     le16_to_cpu(desc->life_time),
desc             1095 drivers/net/wireless/ti/wl18xx/main.c 		     desc->wl18xx_mem.total_mem_blocks);
desc             1110 drivers/net/wireless/ti/wl18xx/main.c 	struct wl1271_rx_descriptor *desc = rx_data;
desc             1113 drivers/net/wireless/ti/wl18xx/main.c 	if (data_len < sizeof(*desc))
desc             1116 drivers/net/wireless/ti/wl18xx/main.c 	return data_len - sizeof(*desc);
desc             1218 drivers/net/wireless/ti/wl18xx/main.c 				    struct wl1271_tx_hw_descr *desc,
desc             1225 drivers/net/wireless/ti/wl18xx/main.c 		desc->wl18xx_checksum_data = 0;
desc             1230 drivers/net/wireless/ti/wl18xx/main.c 		desc->wl18xx_checksum_data = 0;
desc             1236 drivers/net/wireless/ti/wl18xx/main.c 		desc->wl18xx_checksum_data = 0;
desc             1240 drivers/net/wireless/ti/wl18xx/main.c 	desc->wl18xx_checksum_data = ip_hdr_offset << 1;
desc             1244 drivers/net/wireless/ti/wl18xx/main.c 	desc->wl18xx_checksum_data |= (ip_hdr->protocol & 0x01);
desc             1248 drivers/net/wireless/ti/wl18xx/main.c 			       struct wl1271_rx_descriptor *desc,
desc             1251 drivers/net/wireless/ti/wl18xx/main.c 	if (desc->status & WL18XX_RX_CHECKSUM_MASK)
desc               24 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc,
desc               30 drivers/net/wireless/ti/wlcore/hw_ops.h 	return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks);
desc               35 drivers/net/wireless/ti/wlcore/hw_ops.h 			       struct wl1271_tx_hw_descr *desc,
desc               41 drivers/net/wireless/ti/wlcore/hw_ops.h 	wl->ops->set_tx_desc_data_len(wl, desc, skb);
desc              123 drivers/net/wireless/ti/wlcore/hw_ops.h 			   struct wl1271_tx_hw_descr *desc,
desc              129 drivers/net/wireless/ti/wlcore/hw_ops.h 	wl->ops->set_tx_desc_csum(wl, desc, skb);
desc              134 drivers/net/wireless/ti/wlcore/hw_ops.h 		      struct wl1271_rx_descriptor *desc,
desc              138 drivers/net/wireless/ti/wlcore/hw_ops.h 		wl->ops->set_rx_csum(wl, desc, skb);
desc               46 drivers/net/wireless/ti/wlcore/rx.c 			     struct wl1271_rx_descriptor *desc,
desc               52 drivers/net/wireless/ti/wlcore/rx.c 	if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG)
desc               57 drivers/net/wireless/ti/wlcore/rx.c 	status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band);
desc               60 drivers/net/wireless/ti/wlcore/rx.c 	if (desc->rate <= wl->hw_min_ht_rate)
desc               69 drivers/net/wireless/ti/wlcore/rx.c 	status->signal = ((desc->rssi & RSSI_LEVEL_BITMASK) | BIT(7));
desc               70 drivers/net/wireless/ti/wlcore/rx.c 	status->antenna = ((desc->rssi & ANT_DIVERSITY_BITMASK) >> 7);
desc               77 drivers/net/wireless/ti/wlcore/rx.c 	wl->noise = desc->rssi - (desc->snr >> 1);
desc               79 drivers/net/wireless/ti/wlcore/rx.c 	status->freq = ieee80211_channel_to_frequency(desc->channel,
desc               82 drivers/net/wireless/ti/wlcore/rx.c 	if (desc->flags & WL1271_RX_DESC_ENCRYPT_MASK) {
desc               83 drivers/net/wireless/ti/wlcore/rx.c 		u8 desc_err_code = desc->status & WL1271_RX_DESC_STATUS_MASK;
desc               99 drivers/net/wireless/ti/wlcore/rx.c 		wlcore_set_pending_regdomain_ch(wl, (u16)desc->channel,
desc              106 drivers/net/wireless/ti/wlcore/rx.c 	struct wl1271_rx_descriptor *desc;
desc              135 drivers/net/wireless/ti/wlcore/rx.c 	desc = (struct wl1271_rx_descriptor *) data;
desc              137 drivers/net/wireless/ti/wlcore/rx.c 	if (desc->packet_class == WL12XX_RX_CLASS_LOGGER) {
desc              138 drivers/net/wireless/ti/wlcore/rx.c 		size_t len = length - sizeof(*desc);
desc              139 drivers/net/wireless/ti/wlcore/rx.c 		wl12xx_copy_fwlog(wl, data + sizeof(*desc), len);
desc              144 drivers/net/wireless/ti/wlcore/rx.c 	if (desc->status & WL1271_RX_DESC_DECRYPT_FAIL) {
desc              145 drivers/net/wireless/ti/wlcore/rx.c 		hdr = (void *)(data + sizeof(*desc) + offset_to_data);
desc              147 drivers/net/wireless/ti/wlcore/rx.c 			       desc->status & WL1271_RX_DESC_STATUS_MASK,
desc              149 drivers/net/wireless/ti/wlcore/rx.c 		wl1271_dump((DEBUG_RX|DEBUG_CMD), "PKT: ", data + sizeof(*desc),
desc              171 drivers/net/wireless/ti/wlcore/rx.c 	skb_put_data(skb, data + sizeof(*desc), pkt_data_len);
desc              175 drivers/net/wireless/ti/wlcore/rx.c 	*hlid = desc->hlid;
desc              183 drivers/net/wireless/ti/wlcore/rx.c 	wl1271_rx_status(wl, desc, IEEE80211_SKB_RXCB(skb), beacon,
desc              185 drivers/net/wireless/ti/wlcore/rx.c 	wlcore_hw_set_rx_csum(wl, desc, skb);
desc              189 drivers/net/wireless/ti/wlcore/rx.c 		     skb->len - desc->pad_len,
desc              194 drivers/net/wireless/ti/wlcore/tx.c 	struct wl1271_tx_hw_descr *desc;
desc              213 drivers/net/wireless/ti/wlcore/tx.c 		desc = skb_push(skb, total_len - skb->len);
desc              215 drivers/net/wireless/ti/wlcore/tx.c 		wlcore_hw_set_tx_desc_blocks(wl, desc, total_blocks,
desc              218 drivers/net/wireless/ti/wlcore/tx.c 		desc->id = id;
desc              254 drivers/net/wireless/ti/wlcore/tx.c 	struct wl1271_tx_hw_descr *desc;
desc              263 drivers/net/wireless/ti/wlcore/tx.c 	desc = (struct wl1271_tx_hw_descr *) skb->data;
desc              264 drivers/net/wireless/ti/wlcore/tx.c 	frame_start = (u8 *)(desc + 1);
desc              277 drivers/net/wireless/ti/wlcore/tx.c 	desc->start_time = cpu_to_le32(hosttime - wl->time_offset);
desc              281 drivers/net/wireless/ti/wlcore/tx.c 		desc->life_time = cpu_to_le16(TX_HW_MGMT_PKT_LIFETIME_TU);
desc              283 drivers/net/wireless/ti/wlcore/tx.c 		desc->life_time = cpu_to_le16(TX_HW_AP_MODE_PKT_LIFETIME_TU);
desc              287 drivers/net/wireless/ti/wlcore/tx.c 	desc->tid = skb->priority;
desc              310 drivers/net/wireless/ti/wlcore/tx.c 	desc->hlid = hlid;
desc              353 drivers/net/wireless/ti/wlcore/tx.c 	desc->tx_attr = cpu_to_le16(tx_attr);
desc              355 drivers/net/wireless/ti/wlcore/tx.c 	wlcore_hw_set_tx_desc_csum(wl, desc, skb);
desc              356 drivers/net/wireless/ti/wlcore/tx.c 	wlcore_hw_set_tx_desc_data_len(wl, desc, skb);
desc              752 drivers/net/wireless/ti/wlcore/tx.c 	struct wl1271_tx_hw_descr *desc;
desc              817 drivers/net/wireless/ti/wlcore/tx.c 			desc = (struct wl1271_tx_hw_descr *) skb->data;
desc              818 drivers/net/wireless/ti/wlcore/tx.c 			__set_bit(desc->hlid, active_hlids);
desc               51 drivers/net/wireless/ti/wlcore/wlcore.h 				   struct wl1271_tx_hw_descr *desc,
desc               54 drivers/net/wireless/ti/wlcore/wlcore.h 				     struct wl1271_tx_hw_descr *desc,
desc               72 drivers/net/wireless/ti/wlcore/wlcore.h 				 struct wl1271_tx_hw_descr *desc,
desc               75 drivers/net/wireless/ti/wlcore/wlcore.h 			    struct wl1271_rx_descriptor *desc,
desc             1272 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (iface_desc->desc.bNumEndpoints < 2)
desc             1277 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 		endpoint = &iface_desc->endpoint[r].desc;
desc             1590 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (usb_endpoint_xfer_int(&ep->desc)) {
desc             1920 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 	if (usb_endpoint_xfer_int(&ep->desc))
desc             1923 drivers/net/wireless/zydas/zd1211rw/zd_usb.c 				 ep->desc.bInterval);
desc              563 drivers/net/xen-netback/interface.c 			      .desc = i } } };
desc              129 drivers/net/xen-netback/netback.c 	u16 pending_idx = ubuf->desc;
desc             1231 drivers/net/xen-netback/netback.c 		u16 pending_idx = ubuf->desc;
desc              316 drivers/nfc/nfcmrvl/usb.c 	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc              317 drivers/nfc/nfcmrvl/usb.c 		ep_desc = &intf->cur_altsetting->endpoint[i].desc;
desc              473 drivers/nfc/pn533/usb.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              474 drivers/nfc/pn533/usb.c 		endpoint = &iface_desc->endpoint[i].desc;
desc             1510 drivers/nfc/port100.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1511 drivers/nfc/port100.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              438 drivers/nfc/s3fwrn5/firmware.c 		SHASH_DESC_ON_STACK(desc, tfm);
desc              440 drivers/nfc/s3fwrn5/firmware.c 		desc->tfm = tfm;
desc              442 drivers/nfc/s3fwrn5/firmware.c 		ret = crypto_shash_digest(desc, fw->image, image_size,
desc              444 drivers/nfc/s3fwrn5/firmware.c 		shash_desc_zero(desc);
desc               99 drivers/ntb/msi.c 	struct msi_desc *desc;
desc              111 drivers/ntb/msi.c 	desc = first_msi_entry(&ntb->pdev->dev);
desc              112 drivers/ntb/msi.c 	addr = desc->msg.address_lo + ((uint64_t)desc->msg.address_hi << 32);
desc              285 drivers/ntb/msi.c 	struct irq_desc *desc;
desc              292 drivers/ntb/msi.c 		desc = irq_to_desc(entry->irq);
desc              293 drivers/ntb/msi.c 		if (desc->action)
desc              364 drivers/ntb/msi.c 			 struct ntb_msi_desc *desc)
desc              371 drivers/ntb/msi.c 	idx = desc->addr_offset / sizeof(*ntb->msi->peer_mws[peer]);
desc              373 drivers/ntb/msi.c 	iowrite32(desc->data, &ntb->msi->peer_mws[peer][idx]);
desc              394 drivers/ntb/msi.c 		      struct ntb_msi_desc *desc,
desc              406 drivers/ntb/msi.c 		*msi_addr = mw_phys_addr + desc->addr_offset;
desc               29 drivers/ntb/test/ntb_msi_test.c 		struct ntb_msi_desc desc;
desc               80 drivers/ntb/test/ntb_msi_test.c 						   &nm->isr_ctx[i].desc);
desc               88 drivers/ntb/test/ntb_msi_test.c 				     nm->isr_ctx[i].desc.addr_offset);
desc               93 drivers/ntb/test/ntb_msi_test.c 				     nm->isr_ctx[i].desc.data);
desc              113 drivers/ntb/test/ntb_msi_test.c 			       nm->isr_ctx[i].desc.addr_offset);
desc              115 drivers/ntb/test/ntb_msi_test.c 			       nm->isr_ctx[i].desc.data);
desc              134 drivers/ntb/test/ntb_msi_test.c 	struct ntb_msi_desc *desc = nm->peers[peer].msi_desc;
desc              138 drivers/ntb/test/ntb_msi_test.c 		desc[i].addr_offset = ntb_peer_spad_read(nm->ntb, peer,
desc              140 drivers/ntb/test/ntb_msi_test.c 		desc[i].data = ntb_peer_spad_read(nm->ntb, peer, 2 * i + 2);
desc              152 drivers/ntb/test/ntb_msi_test.c 	struct ntb_msi_desc *desc;
desc              167 drivers/ntb/test/ntb_msi_test.c 		desc = kcalloc(irq_count, sizeof(*desc), GFP_ATOMIC);
desc              168 drivers/ntb/test/ntb_msi_test.c 		if (!desc)
desc              172 drivers/ntb/test/ntb_msi_test.c 		nm->peers[peer].msi_desc = desc;
desc              819 drivers/nvdimm/bus.c 		const struct nd_cmd_desc *desc, int idx, void *buf)
desc              821 drivers/nvdimm/bus.c 	if (idx >= desc->in_num)
desc              824 drivers/nvdimm/bus.c 	if (desc->in_sizes[idx] < UINT_MAX)
desc              825 drivers/nvdimm/bus.c 		return desc->in_sizes[idx];
desc              846 drivers/nvdimm/bus.c 		const struct nd_cmd_desc *desc, int idx, const u32 *in_field,
desc              849 drivers/nvdimm/bus.c 	if (idx >= desc->out_num)
desc              852 drivers/nvdimm/bus.c 	if (desc->out_sizes[idx] < UINT_MAX)
desc              853 drivers/nvdimm/bus.c 		return desc->out_sizes[idx];
desc              982 drivers/nvdimm/bus.c 	const struct nd_cmd_desc *desc = NULL;
desc              997 drivers/nvdimm/bus.c 		desc = nd_cmd_dimm_desc(cmd);
desc             1002 drivers/nvdimm/bus.c 		desc = nd_cmd_bus_desc(cmd);
desc             1013 drivers/nvdimm/bus.c 	if (!desc ||
desc             1014 drivers/nvdimm/bus.c 	    (desc->out_num + desc->in_num == 0) ||
desc             1039 drivers/nvdimm/bus.c 	for (i = 0; i < desc->in_num; i++) {
desc             1042 drivers/nvdimm/bus.c 		in_size = nd_cmd_in_size(nvdimm, cmd, desc, i, in_env);
desc             1074 drivers/nvdimm/bus.c 	for (i = 0; i < desc->out_num; i++) {
desc             1075 drivers/nvdimm/bus.c 		u32 out_size = nd_cmd_out_size(nvdimm, cmd, desc, i,
desc               54 drivers/nvdimm/security.c 	char desc[NVDIMM_KEY_DESC_LEN + sizeof(NVDIMM_PREFIX)];
desc               57 drivers/nvdimm/security.c 	sprintf(desc, "%s%s", NVDIMM_PREFIX, nvdimm->dimm_id);
desc               58 drivers/nvdimm/security.c 	key = request_key(&key_type_encrypted, desc, "");
desc              449 drivers/nvme/host/multipath.c 		struct nvme_ana_group_desc *desc = base + offset;
desc              450 drivers/nvme/host/multipath.c 		u32 nr_nsids = le32_to_cpu(desc->nnsids);
desc              453 drivers/nvme/host/multipath.c 		if (WARN_ON_ONCE(desc->grpid == 0))
desc              455 drivers/nvme/host/multipath.c 		if (WARN_ON_ONCE(le32_to_cpu(desc->grpid) > ctrl->anagrpmax))
desc              457 drivers/nvme/host/multipath.c 		if (WARN_ON_ONCE(desc->state == 0))
desc              459 drivers/nvme/host/multipath.c 		if (WARN_ON_ONCE(desc->state > NVME_ANA_CHANGE))
desc              462 drivers/nvme/host/multipath.c 		offset += sizeof(*desc);
desc              466 drivers/nvme/host/multipath.c 		error = cb(ctrl, desc, data);
desc              471 drivers/nvme/host/multipath.c 		if (WARN_ON_ONCE(offset > ctrl->ana_log_size - sizeof(*desc)))
desc              483 drivers/nvme/host/multipath.c static void nvme_update_ns_ana_state(struct nvme_ana_group_desc *desc,
desc              487 drivers/nvme/host/multipath.c 	ns->ana_grpid = le32_to_cpu(desc->grpid);
desc              488 drivers/nvme/host/multipath.c 	ns->ana_state = desc->state;
desc              497 drivers/nvme/host/multipath.c 		struct nvme_ana_group_desc *desc, void *data)
desc              499 drivers/nvme/host/multipath.c 	u32 nr_nsids = le32_to_cpu(desc->nnsids), n = 0;
desc              504 drivers/nvme/host/multipath.c 			le32_to_cpu(desc->grpid),
desc              505 drivers/nvme/host/multipath.c 			nvme_ana_state_names[desc->state]);
desc              507 drivers/nvme/host/multipath.c 	if (desc->state == NVME_ANA_CHANGE)
desc              515 drivers/nvme/host/multipath.c 		unsigned nsid = le32_to_cpu(desc->nsids[n]);
desc              520 drivers/nvme/host/multipath.c 			nvme_update_ns_ana_state(desc, ns);
desc              644 drivers/nvme/host/multipath.c 		struct nvme_ana_group_desc *desc, void *data)
desc              648 drivers/nvme/host/multipath.c 	if (ns->ana_grpid == le32_to_cpu(desc->grpid)) {
desc              649 drivers/nvme/host/multipath.c 		nvme_update_ns_ana_state(desc, ns);
desc             1878 drivers/nvme/host/pci.c 		struct nvme_host_mem_buf_desc *desc = &dev->host_mem_descs[i];
desc             1879 drivers/nvme/host/pci.c 		size_t size = le32_to_cpu(desc->size) * dev->ctrl.page_size;
desc             1882 drivers/nvme/host/pci.c 			       le64_to_cpu(desc->addr),
desc              750 drivers/nvme/host/tcp.c static int nvme_tcp_recv_skb(read_descriptor_t *desc, struct sk_buff *skb,
desc              753 drivers/nvme/host/tcp.c 	struct nvme_tcp_queue *queue = desc->arg.data;
desc              218 drivers/nvme/target/admin-cmd.c 		struct nvme_ana_group_desc *desc)
desc              228 drivers/nvme/target/admin-cmd.c 				desc->nsids[count++] = cpu_to_le32(ns->nsid);
desc              232 drivers/nvme/target/admin-cmd.c 	desc->grpid = cpu_to_le32(grpid);
desc              233 drivers/nvme/target/admin-cmd.c 	desc->nnsids = cpu_to_le32(count);
desc              234 drivers/nvme/target/admin-cmd.c 	desc->chgcnt = cpu_to_le64(nvmet_ana_chgcnt);
desc              235 drivers/nvme/target/admin-cmd.c 	desc->state = req->port->ana_state[grpid];
desc              236 drivers/nvme/target/admin-cmd.c 	memset(desc->rsvd17, 0, sizeof(desc->rsvd17));
desc              243 drivers/nvme/target/admin-cmd.c 	struct nvme_ana_group_desc *desc;
desc              251 drivers/nvme/target/admin-cmd.c 	desc = kmalloc(sizeof(struct nvme_ana_group_desc) +
desc              253 drivers/nvme/target/admin-cmd.c 	if (!desc)
desc              260 drivers/nvme/target/admin-cmd.c 		len = nvmet_format_ana_group(req, grpid, desc);
desc              261 drivers/nvme/target/admin-cmd.c 		status = nvmet_copy_to_sgl(req, offset, desc, len);
desc              277 drivers/nvme/target/admin-cmd.c 	kfree(desc);
desc              512 drivers/nvme/target/admin-cmd.c 	struct nvme_ns_id_desc desc = {
desc              518 drivers/nvme/target/admin-cmd.c 	status = nvmet_copy_to_sgl(req, *off, &desc, sizeof(desc));
desc              521 drivers/nvme/target/admin-cmd.c 	*off += sizeof(desc);
desc              483 drivers/of/irq.c 	struct of_intc_desc *desc, *temp_desc;
desc              502 drivers/of/irq.c 		desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              503 drivers/of/irq.c 		if (!desc) {
desc              508 drivers/of/irq.c 		desc->irq_init_cb = match->data;
desc              509 drivers/of/irq.c 		desc->dev = of_node_get(np);
desc              510 drivers/of/irq.c 		desc->interrupt_parent = of_irq_find_parent(np);
desc              511 drivers/of/irq.c 		if (desc->interrupt_parent == np)
desc              512 drivers/of/irq.c 			desc->interrupt_parent = NULL;
desc              513 drivers/of/irq.c 		list_add_tail(&desc->list, &intc_desc_list);
desc              527 drivers/of/irq.c 		list_for_each_entry_safe(desc, temp_desc, &intc_desc_list, list) {
desc              530 drivers/of/irq.c 			if (desc->interrupt_parent != parent)
desc              533 drivers/of/irq.c 			list_del(&desc->list);
desc              535 drivers/of/irq.c 			of_node_set_flag(desc->dev, OF_POPULATED);
desc              538 drivers/of/irq.c 				 desc->dev,
desc              539 drivers/of/irq.c 				 desc->dev, desc->interrupt_parent);
desc              540 drivers/of/irq.c 			ret = desc->irq_init_cb(desc->dev,
desc              541 drivers/of/irq.c 						desc->interrupt_parent);
desc              543 drivers/of/irq.c 				of_node_clear_flag(desc->dev, OF_POPULATED);
desc              544 drivers/of/irq.c 				kfree(desc);
desc              552 drivers/of/irq.c 			list_add_tail(&desc->list, &intc_parent_list);
desc              556 drivers/of/irq.c 		desc = list_first_entry_or_null(&intc_parent_list,
desc              557 drivers/of/irq.c 						typeof(*desc), list);
desc              558 drivers/of/irq.c 		if (!desc) {
desc              562 drivers/of/irq.c 		list_del(&desc->list);
desc              563 drivers/of/irq.c 		parent = desc->dev;
desc              564 drivers/of/irq.c 		kfree(desc);
desc              567 drivers/of/irq.c 	list_for_each_entry_safe(desc, temp_desc, &intc_parent_list, list) {
desc              568 drivers/of/irq.c 		list_del(&desc->list);
desc              569 drivers/of/irq.c 		kfree(desc);
desc              572 drivers/of/irq.c 	list_for_each_entry_safe(desc, temp_desc, &intc_desc_list, list) {
desc              573 drivers/of/irq.c 		list_del(&desc->list);
desc              574 drivers/of/irq.c 		of_node_put(desc->dev);
desc              575 drivers/of/irq.c 		kfree(desc);
desc              577 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_msi_irq_handler(struct irq_desc *desc)
desc              579 drivers/pci/controller/dwc/pci-keystone.c 	unsigned int irq = desc->irq_data.hwirq;
desc              580 drivers/pci/controller/dwc/pci-keystone.c 	struct keystone_pcie *ks_pcie = irq_desc_get_handler_data(desc);
desc              585 drivers/pci/controller/dwc/pci-keystone.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              595 drivers/pci/controller/dwc/pci-keystone.c 	chained_irq_enter(chip, desc);
desc              613 drivers/pci/controller/dwc/pci-keystone.c 	chained_irq_exit(chip, desc);
desc              624 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_legacy_irq_handler(struct irq_desc *desc)
desc              626 drivers/pci/controller/dwc/pci-keystone.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              627 drivers/pci/controller/dwc/pci-keystone.c 	struct keystone_pcie *ks_pcie = irq_desc_get_handler_data(desc);
desc              631 drivers/pci/controller/dwc/pci-keystone.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              640 drivers/pci/controller/dwc/pci-keystone.c 	chained_irq_enter(chip, desc);
desc              642 drivers/pci/controller/dwc/pci-keystone.c 	chained_irq_exit(chip, desc);
desc              111 drivers/pci/controller/dwc/pcie-designware-host.c static void dw_chained_msi_isr(struct irq_desc *desc)
desc              113 drivers/pci/controller/dwc/pcie-designware-host.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              116 drivers/pci/controller/dwc/pcie-designware-host.c 	chained_irq_enter(chip, desc);
desc              118 drivers/pci/controller/dwc/pcie-designware-host.c 	pp = irq_desc_get_handler_data(desc);
desc              121 drivers/pci/controller/dwc/pcie-designware-host.c 	chained_irq_exit(chip, desc);
desc              230 drivers/pci/controller/dwc/pcie-uniphier.c static void uniphier_pcie_irq_handler(struct irq_desc *desc)
desc              232 drivers/pci/controller/dwc/pcie-uniphier.c 	struct pcie_port *pp = irq_desc_get_handler_data(desc);
desc              235 drivers/pci/controller/dwc/pcie-uniphier.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              254 drivers/pci/controller/dwc/pcie-uniphier.c 	chained_irq_enter(chip, desc);
desc              264 drivers/pci/controller/dwc/pcie-uniphier.c 	chained_irq_exit(chip, desc);
desc              303 drivers/pci/controller/pci-ftpci100.c static void faraday_pci_irq_handler(struct irq_desc *desc)
desc              305 drivers/pci/controller/pci-ftpci100.c 	struct faraday_pci *p = irq_desc_get_handler_data(desc);
desc              306 drivers/pci/controller/pci-ftpci100.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              312 drivers/pci/controller/pci-ftpci100.c 	chained_irq_enter(irqchip, desc);
desc              320 drivers/pci/controller/pci-ftpci100.c 	chained_irq_exit(irqchip, desc);
desc              530 drivers/pci/controller/pci-hyperv.c 	struct pci_function_description desc;
desc              672 drivers/pci/controller/pci-hyperv.c 		memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size);
desc              675 drivers/pci/controller/pci-hyperv.c 		memcpy(val, ((u8 *)&hpdev->desc.rev) + where -
desc              679 drivers/pci/controller/pci-hyperv.c 		memcpy(val, (u8 *)&hpdev->desc.subsystem_id + where -
desc              696 drivers/pci/controller/pci-hyperv.c 		writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
desc              733 drivers/pci/controller/pci-hyperv.c 	writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
desc              767 drivers/pci/controller/pci-hyperv.c 		writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
desc             1117 drivers/pci/controller/pci-hyperv.c 	int_pkt->wslot.slot = hpdev->desc.win_slot.slot;
desc             1401 drivers/pci/controller/pci-hyperv.c 					hpdev->desc.win_slot.slot,
desc             1408 drivers/pci/controller/pci-hyperv.c 					hpdev->desc.win_slot.slot,
desc             1761 drivers/pci/controller/pci-hyperv.c 		slot_nr = PCI_SLOT(wslot_to_devfn(hpdev->desc.win_slot.slot));
desc             1762 drivers/pci/controller/pci-hyperv.c 		snprintf(name, SLOT_NAME_SIZE, "%u", hpdev->desc.ser);
desc             1865 drivers/pci/controller/pci-hyperv.c 		struct pci_function_description *desc)
desc             1890 drivers/pci/controller/pci-hyperv.c 	res_req->wslot.slot = desc->win_slot.slot;
desc             1903 drivers/pci/controller/pci-hyperv.c 	hpdev->desc = *desc;
desc             1938 drivers/pci/controller/pci-hyperv.c 		if (iter->desc.win_slot.slot == wslot) {
desc             2024 drivers/pci/controller/pci-hyperv.c 			if ((hpdev->desc.win_slot.slot == new_desc->win_slot.slot) &&
desc             2025 drivers/pci/controller/pci-hyperv.c 			    (hpdev->desc.v_id == new_desc->v_id) &&
desc             2026 drivers/pci/controller/pci-hyperv.c 			    (hpdev->desc.d_id == new_desc->d_id) &&
desc             2027 drivers/pci/controller/pci-hyperv.c 			    (hpdev->desc.ser == new_desc->ser)) {
desc             2182 drivers/pci/controller/pci-hyperv.c 	wslot = wslot_to_devfn(hpdev->desc.win_slot.slot);
desc             2201 drivers/pci/controller/pci-hyperv.c 	ejct_pkt->wslot.slot = hpdev->desc.win_slot.slot;
desc             2247 drivers/pci/controller/pci-hyperv.c 	struct vmpacket_descriptor *desc;
desc             2286 drivers/pci/controller/pci-hyperv.c 		desc = (struct vmpacket_descriptor *)buffer;
desc             2288 drivers/pci/controller/pci-hyperv.c 		switch (desc->type) {
desc             2358 drivers/pci/controller/pci-hyperv.c 				desc->type, req_id, bytes_recvd);
desc             2734 drivers/pci/controller/pci-hyperv.c 			res_assigned->wslot.slot = hpdev->desc.win_slot.slot;
desc             2740 drivers/pci/controller/pci-hyperv.c 			res_assigned2->wslot.slot = hpdev->desc.win_slot.slot;
desc             2788 drivers/pci/controller/pci-hyperv.c 		pkt.wslot.slot = hpdev->desc.win_slot.slot;
desc             1686 drivers/pci/controller/pci-tegra.c 			       struct pci_dev *pdev, struct msi_desc *desc)
desc             1703 drivers/pci/controller/pci-tegra.c 	irq_set_msi_desc(irq, desc);
desc              289 drivers/pci/controller/pci-xgene-msi.c static void xgene_msi_isr(struct irq_desc *desc)
desc              291 drivers/pci/controller/pci-xgene-msi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              298 drivers/pci/controller/pci-xgene-msi.c 	chained_irq_enter(chip, desc);
desc              300 drivers/pci/controller/pci-xgene-msi.c 	msi_groups = irq_desc_get_handler_data(desc);
desc              351 drivers/pci/controller/pci-xgene-msi.c 	chained_irq_exit(chip, desc);
desc               52 drivers/pci/controller/pcie-altera-msi.c static void altera_msi_isr(struct irq_desc *desc)
desc               54 drivers/pci/controller/pcie-altera-msi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               60 drivers/pci/controller/pcie-altera-msi.c 	chained_irq_enter(chip, desc);
desc               61 drivers/pci/controller/pcie-altera-msi.c 	msi = irq_desc_get_handler_data(desc);
desc               76 drivers/pci/controller/pcie-altera-msi.c 	chained_irq_exit(chip, desc);
desc              643 drivers/pci/controller/pcie-altera.c static void altera_pcie_isr(struct irq_desc *desc)
desc              645 drivers/pci/controller/pcie-altera.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              652 drivers/pci/controller/pcie-altera.c 	chained_irq_enter(chip, desc);
desc              653 drivers/pci/controller/pcie-altera.c 	pcie = irq_desc_get_handler_data(desc);
desc              670 drivers/pci/controller/pcie-altera.c 	chained_irq_exit(chip, desc);
desc              312 drivers/pci/controller/pcie-iproc-msi.c static void iproc_msi_handler(struct irq_desc *desc)
desc              314 drivers/pci/controller/pcie-iproc-msi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              321 drivers/pci/controller/pcie-iproc-msi.c 	chained_irq_enter(chip, desc);
desc              323 drivers/pci/controller/pcie-iproc-msi.c 	grp = irq_desc_get_handler_data(desc);
desc              374 drivers/pci/controller/pcie-iproc-msi.c 	chained_irq_exit(chip, desc);
desc              601 drivers/pci/controller/pcie-mediatek.c static void mtk_pcie_intr_handler(struct irq_desc *desc)
desc              603 drivers/pci/controller/pcie-mediatek.c 	struct mtk_pcie_port *port = irq_desc_get_handler_data(desc);
desc              604 drivers/pci/controller/pcie-mediatek.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              609 drivers/pci/controller/pcie-mediatek.c 	chained_irq_enter(irqchip, desc);
desc              637 drivers/pci/controller/pcie-mediatek.c 	chained_irq_exit(irqchip, desc);
desc              338 drivers/pci/controller/pcie-mobiveil.c static void mobiveil_pcie_isr(struct irq_desc *desc)
desc              340 drivers/pci/controller/pcie-mobiveil.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              341 drivers/pci/controller/pcie-mobiveil.c 	struct mobiveil_pcie *pcie = irq_desc_get_handler_data(desc);
desc              354 drivers/pci/controller/pcie-mobiveil.c 	chained_irq_enter(chip, desc);
desc              420 drivers/pci/controller/pcie-mobiveil.c 	chained_irq_exit(chip, desc);
desc              668 drivers/pci/controller/pcie-mobiveil.c 	struct irq_desc *desc = irq_to_desc(data->irq);
desc              673 drivers/pci/controller/pcie-mobiveil.c 	pcie = irq_desc_get_chip_data(desc);
desc              684 drivers/pci/controller/pcie-mobiveil.c 	struct irq_desc *desc = irq_to_desc(data->irq);
desc              689 drivers/pci/controller/pcie-mobiveil.c 	pcie = irq_desc_get_chip_data(desc);
desc              772 drivers/pci/controller/pcie-rcar.c 			      struct msi_desc *desc)
desc              790 drivers/pci/controller/pcie-rcar.c 	irq_set_msi_desc(irq, desc);
desc              806 drivers/pci/controller/pcie-rcar.c 	struct msi_desc *desc;
desc              817 drivers/pci/controller/pcie-rcar.c 	desc = list_entry(pdev->dev.msi_list.next, struct msi_desc, list);
desc              835 drivers/pci/controller/pcie-rcar.c 		if (irq_set_msi_desc_off(irq, i, desc)) {
desc              841 drivers/pci/controller/pcie-rcar.c 	desc->nvec_used = nvec;
desc              842 drivers/pci/controller/pcie-rcar.c 	desc->msi_attrib.multiple = order_base_2(nvec);
desc              517 drivers/pci/controller/pcie-rockchip-host.c static void rockchip_pcie_legacy_int_handler(struct irq_desc *desc)
desc              519 drivers/pci/controller/pcie-rockchip-host.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              520 drivers/pci/controller/pcie-rockchip-host.c 	struct rockchip_pcie *rockchip = irq_desc_get_handler_data(desc);
desc              526 drivers/pci/controller/pcie-rockchip-host.c 	chained_irq_enter(chip, desc);
desc              542 drivers/pci/controller/pcie-rockchip-host.c 	chained_irq_exit(chip, desc);
desc               25 drivers/pci/controller/pcie-tango.c static void tango_msi_isr(struct irq_desc *desc)
desc               27 drivers/pci/controller/pcie-tango.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc               28 drivers/pci/controller/pcie-tango.c 	struct tango_pcie *pcie = irq_desc_get_handler_data(desc);
desc               31 drivers/pci/controller/pcie-tango.c 	chained_irq_enter(chip, desc);
desc               45 drivers/pci/controller/pcie-tango.c 	chained_irq_exit(chip, desc);
desc              321 drivers/pci/controller/pcie-xilinx-nwl.c static void nwl_pcie_leg_handler(struct irq_desc *desc)
desc              323 drivers/pci/controller/pcie-xilinx-nwl.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              329 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_enter(chip, desc);
desc              330 drivers/pci/controller/pcie-xilinx-nwl.c 	pcie = irq_desc_get_handler_data(desc);
desc              341 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_exit(chip, desc);
desc              363 drivers/pci/controller/pcie-xilinx-nwl.c static void nwl_pcie_msi_handler_high(struct irq_desc *desc)
desc              365 drivers/pci/controller/pcie-xilinx-nwl.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              366 drivers/pci/controller/pcie-xilinx-nwl.c 	struct nwl_pcie *pcie = irq_desc_get_handler_data(desc);
desc              368 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_enter(chip, desc);
desc              370 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_exit(chip, desc);
desc              373 drivers/pci/controller/pcie-xilinx-nwl.c static void nwl_pcie_msi_handler_low(struct irq_desc *desc)
desc              375 drivers/pci/controller/pcie-xilinx-nwl.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              376 drivers/pci/controller/pcie-xilinx-nwl.c 	struct nwl_pcie *pcie = irq_desc_get_handler_data(desc);
desc              378 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_enter(chip, desc);
desc              380 drivers/pci/controller/pcie-xilinx-nwl.c 	chained_irq_exit(chip, desc);
desc              385 drivers/pci/controller/pcie-xilinx-nwl.c 	struct irq_desc *desc = irq_to_desc(data->irq);
desc              391 drivers/pci/controller/pcie-xilinx-nwl.c 	pcie = irq_desc_get_chip_data(desc);
desc              401 drivers/pci/controller/pcie-xilinx-nwl.c 	struct irq_desc *desc = irq_to_desc(data->irq);
desc              407 drivers/pci/controller/pcie-xilinx-nwl.c 	pcie = irq_desc_get_chip_data(desc);
desc              269 drivers/pci/controller/pcie-xilinx.c 				     struct msi_desc *desc)
desc              285 drivers/pci/controller/pcie-xilinx.c 	irq_set_msi_desc(irq, desc);
desc              197 drivers/pci/controller/vmd.c static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc)
desc              209 drivers/pci/controller/vmd.c 	switch (msi_desc_to_pci_dev(desc)->class) {
desc              230 drivers/pci/controller/vmd.c 	struct msi_desc *desc = arg->desc;
desc              231 drivers/pci/controller/vmd.c 	struct vmd_dev *vmd = vmd_from_bus(msi_desc_to_pci_dev(desc)->bus);
desc              239 drivers/pci/controller/vmd.c 	vmdirq->irq = vmd_next_irq(vmd, desc);
desc              278 drivers/pci/controller/vmd.c static void vmd_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc)
desc              280 drivers/pci/controller/vmd.c 	arg->desc = desc;
desc               63 drivers/pci/msi.c int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc)
desc               71 drivers/pci/msi.c 	err = chip->setup_irq(chip, dev, desc);
desc               75 drivers/pci/msi.c 	irq_set_chip_data(desc->irq, chip);
desc              173 drivers/pci/msi.c u32 __pci_msi_desc_mask_irq(struct msi_desc *desc, u32 mask, u32 flag)
desc              175 drivers/pci/msi.c 	u32 mask_bits = desc->masked;
desc              177 drivers/pci/msi.c 	if (pci_msi_ignore_mask || !desc->msi_attrib.maskbit)
desc              182 drivers/pci/msi.c 	pci_write_config_dword(msi_desc_to_pci_dev(desc), desc->mask_pos,
desc              188 drivers/pci/msi.c static void msi_mask_irq(struct msi_desc *desc, u32 mask, u32 flag)
desc              190 drivers/pci/msi.c 	desc->masked = __pci_msi_desc_mask_irq(desc, mask, flag);
desc              193 drivers/pci/msi.c static void __iomem *pci_msix_desc_addr(struct msi_desc *desc)
desc              195 drivers/pci/msi.c 	if (desc->msi_attrib.is_virtual)
desc              198 drivers/pci/msi.c 	return desc->mask_base +
desc              199 drivers/pci/msi.c 		desc->msi_attrib.entry_nr * PCI_MSIX_ENTRY_SIZE;
desc              209 drivers/pci/msi.c u32 __pci_msix_desc_mask_irq(struct msi_desc *desc, u32 flag)
desc              211 drivers/pci/msi.c 	u32 mask_bits = desc->masked;
desc              217 drivers/pci/msi.c 	desc_addr = pci_msix_desc_addr(desc);
desc              230 drivers/pci/msi.c static void msix_mask_irq(struct msi_desc *desc, u32 flag)
desc              232 drivers/pci/msi.c 	desc->masked = __pci_msix_desc_mask_irq(desc, flag);
desc              237 drivers/pci/msi.c 	struct msi_desc *desc = irq_data_get_msi_desc(data);
desc              239 drivers/pci/msi.c 	if (desc->msi_attrib.is_msix) {
desc              240 drivers/pci/msi.c 		msix_mask_irq(desc, flag);
desc              241 drivers/pci/msi.c 		readl(desc->mask_base);		/* Flush write to device */
desc              243 drivers/pci/msi.c 		unsigned offset = data->irq - desc->irq;
desc              244 drivers/pci/msi.c 		msi_mask_irq(desc, 1 << offset, flag << offset);
desc              917 drivers/pci/msi.c 	struct msi_desc *desc;
desc              924 drivers/pci/msi.c 	desc = first_pci_msi_entry(dev);
desc              931 drivers/pci/msi.c 	mask = msi_mask(desc->msi_attrib.multi_cap);
desc              933 drivers/pci/msi.c 	__pci_msi_desc_mask_irq(desc, mask, ~mask);
desc              936 drivers/pci/msi.c 	dev->irq = desc->msi_attrib.default_irq;
desc             1335 drivers/pci/msi.c struct pci_dev *msi_desc_to_pci_dev(struct msi_desc *desc)
desc             1337 drivers/pci/msi.c 	return to_pci_dev(desc->dev);
desc             1341 drivers/pci/msi.c void *msi_desc_to_pci_sysdata(struct msi_desc *desc)
desc             1343 drivers/pci/msi.c 	struct pci_dev *dev = msi_desc_to_pci_dev(desc);
desc             1357 drivers/pci/msi.c 	struct msi_desc *desc = irq_data_get_msi_desc(irq_data);
desc             1363 drivers/pci/msi.c 	if (desc->irq == irq_data->irq)
desc             1364 drivers/pci/msi.c 		__pci_write_msi_msg(desc, msg);
desc             1375 drivers/pci/msi.c 					  struct msi_desc *desc)
desc             1377 drivers/pci/msi.c 	return (irq_hw_number_t)desc->msi_attrib.entry_nr |
desc             1382 drivers/pci/msi.c static inline bool pci_msi_desc_is_multi_msi(struct msi_desc *desc)
desc             1384 drivers/pci/msi.c 	return !desc->msi_attrib.is_msix && desc->nvec_used > 1;
desc             1402 drivers/pci/msi.c 	struct msi_desc *desc = first_pci_msi_entry(to_pci_dev(dev));
desc             1405 drivers/pci/msi.c 	if (pci_msi_desc_is_multi_msi(desc) &&
desc             1408 drivers/pci/msi.c 	else if (desc->msi_attrib.is_msix && !(info->flags & MSI_FLAG_PCI_MSIX))
desc             1415 drivers/pci/msi.c 				       struct msi_desc *desc, int error)
desc             1418 drivers/pci/msi.c 	if (pci_msi_desc_is_multi_msi(desc) && error == -ENOSPC)
desc             1426 drivers/pci/msi.c 				    struct msi_desc *desc)
desc             1428 drivers/pci/msi.c 	arg->desc = desc;
desc             1429 drivers/pci/msi.c 	arg->hwirq = pci_msi_domain_calc_hwirq(msi_desc_to_pci_dev(desc),
desc             1430 drivers/pci/msi.c 					       desc);
desc             1259 drivers/pcmcia/cistpl.c 		org->desc[i] = *p;
desc               77 drivers/pcmcia/sa1100_generic.c 		skt->stat[i].desc = devm_gpiod_get_optional(dev,
desc               79 drivers/pcmcia/sa1100_generic.c 		if (IS_ERR(skt->stat[i].desc))
desc               80 drivers/pcmcia/sa1100_generic.c 			return PTR_ERR(skt->stat[i].desc);
desc              169 drivers/pcmcia/soc_common.c 	struct gpio_desc *desc;
desc              176 drivers/pcmcia/soc_common.c 		desc = devm_gpiod_get(dev, skt->stat[i].name, GPIOD_IN);
desc              177 drivers/pcmcia/soc_common.c 		if (IS_ERR(desc)) {
desc              179 drivers/pcmcia/soc_common.c 				skt->stat[i].name, PTR_ERR(desc));
desc              180 drivers/pcmcia/soc_common.c 			return PTR_ERR(desc);
desc              183 drivers/pcmcia/soc_common.c 		skt->stat[i].desc = desc;
desc              222 drivers/pcmcia/soc_common.c 			skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio);
desc              225 drivers/pcmcia/soc_common.c 		if (i < SOC_STAT_VS1 && skt->stat[i].desc) {
desc              226 drivers/pcmcia/soc_common.c 			int irq = gpiod_to_irq(skt->stat[i].desc);
desc              294 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_CD].desc)
desc              295 drivers/pcmcia/soc_common.c 		state.detect = !!gpiod_get_value(skt->stat[SOC_STAT_CD].desc);
desc              296 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_RDY].desc)
desc              297 drivers/pcmcia/soc_common.c 		state.ready = !!gpiod_get_value(skt->stat[SOC_STAT_RDY].desc);
desc              298 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_BVD1].desc)
desc              299 drivers/pcmcia/soc_common.c 		state.bvd1 = !!gpiod_get_value(skt->stat[SOC_STAT_BVD1].desc);
desc              300 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_BVD2].desc)
desc              301 drivers/pcmcia/soc_common.c 		state.bvd2 = !!gpiod_get_value(skt->stat[SOC_STAT_BVD2].desc);
desc              302 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_VS1].desc)
desc              303 drivers/pcmcia/soc_common.c 		state.vs_3v = !!gpiod_get_value(skt->stat[SOC_STAT_VS1].desc);
desc              304 drivers/pcmcia/soc_common.c 	if (skt->stat[SOC_STAT_VS2].desc)
desc              305 drivers/pcmcia/soc_common.c 		state.vs_Xv = !!gpiod_get_value(skt->stat[SOC_STAT_VS2].desc);
desc               63 drivers/pcmcia/soc_common.h 		struct gpio_desc *desc;
desc              640 drivers/perf/arm_smmuv3_pmu.c static void smmu_pmu_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg)
desc              643 drivers/perf/arm_smmuv3_pmu.c 	struct device *dev = msi_desc_to_dev(desc);
desc              657 drivers/perf/arm_smmuv3_pmu.c 	struct msi_desc *desc;
desc              674 drivers/perf/arm_smmuv3_pmu.c 	desc = first_msi_entry(dev);
desc              675 drivers/perf/arm_smmuv3_pmu.c 	if (desc)
desc              676 drivers/perf/arm_smmuv3_pmu.c 		pmu->irq = desc->irq;
desc               82 drivers/phy/marvell/phy-berlin-sata.c 	struct phy_berlin_desc *desc = phy_get_drvdata(phy);
desc               84 drivers/phy/marvell/phy-berlin-sata.c 	void __iomem *ctrl_reg = priv->base + 0x60 + (desc->index * 0x80);
desc               94 drivers/phy/marvell/phy-berlin-sata.c 	regval &= ~desc->power_bit;
desc              135 drivers/phy/marvell/phy-berlin-sata.c 	struct phy_berlin_desc *desc = phy_get_drvdata(phy);
desc              146 drivers/phy/marvell/phy-berlin-sata.c 	regval |= desc->power_bit;
desc              191 drivers/phy/motorola/phy-mapphone-mdm6600.c 				       ddata->cmd_gpios->desc,
desc              210 drivers/phy/motorola/phy-mapphone-mdm6600.c 					       ddata->status_gpios->desc,
desc              249 drivers/phy/motorola/phy-mapphone-mdm6600.c 	mode_gpio1 = ddata->mode_gpios->desc[PHY_MDM6600_MODE1];
desc              280 drivers/phy/motorola/phy-mapphone-mdm6600.c 		struct gpio_desc *gpio = ddata->status_gpios->desc[i];
desc              379 drivers/phy/motorola/phy-mapphone-mdm6600.c 	mode_gpio0 = ddata->mode_gpios->desc[PHY_MDM6600_MODE0];
desc              380 drivers/phy/motorola/phy-mapphone-mdm6600.c 	mode_gpio1 = ddata->mode_gpios->desc[PHY_MDM6600_MODE1];
desc              498 drivers/phy/motorola/phy-mapphone-mdm6600.c 	mode_gpio0 = ddata->mode_gpios->desc[PHY_MDM6600_MODE0];
desc              258 drivers/phy/samsung/phy-exynos-mipi-video.c #define to_mipi_video_phy(desc) \
desc              259 drivers/phy/samsung/phy-exynos-mipi-video.c 	container_of((desc), struct exynos_mipi_video_phy, phys[(desc)->index])
desc              825 drivers/pinctrl/actions/pinctrl-owl.c static void owl_gpio_irq_handler(struct irq_desc *desc)
desc              827 drivers/pinctrl/actions/pinctrl-owl.c 	struct owl_pinctrl *pctrl = irq_desc_get_handler_data(desc);
desc              828 drivers/pinctrl/actions/pinctrl-owl.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              830 drivers/pinctrl/actions/pinctrl-owl.c 	unsigned int parent = irq_desc_get_irq(desc);
desc              836 drivers/pinctrl/actions/pinctrl-owl.c 	chained_irq_enter(chip, desc);
desc              860 drivers/pinctrl/actions/pinctrl-owl.c 	chained_irq_exit(chip, desc);
desc             2552 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
desc             2553 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		u32 pattern = enable ? desc->enable : desc->disable;
desc             2554 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		u32 val = (pattern << __ffs(desc->mask));
desc             2556 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (!ctx->maps[desc->ip])
desc             2573 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1 &&
desc             2574 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		    !(desc->mask & (BIT(21) | BIT(22))))
desc             2577 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP2)
desc             2580 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
desc             2581 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 					 desc->mask, val);
desc             2680 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
desc             2683 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		map = aspeed_g5_acquire_regmap(ctx, desc->ip);
desc             2687 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				desc->ip);
desc             2691 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]);
desc             2720 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
desc             2721 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		u32 pattern = enable ? desc->enable : desc->disable;
desc             2722 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		u32 val = (pattern << __ffs(desc->mask));
desc             2725 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		map = aspeed_g5_acquire_regmap(ctx, desc->ip);
desc             2729 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				desc->ip);
desc             2747 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1 &&
desc             2748 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		    !(desc->mask & (BIT(21) | BIT(22))))
desc             2751 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP2)
desc             2755 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1) {
desc             2756 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 			u32 value = ~val & desc->mask;
desc             2759 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 				ret = regmap_write(ctx->maps[desc->ip],
desc             2766 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
desc             2767 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 					 desc->mask, val);
desc             2254 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
desc             2255 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		u32 pattern = enable ? desc->enable : desc->disable;
desc             2256 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		u32 val = (pattern << __ffs(desc->mask));
desc             2259 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		if (!ctx->maps[desc->ip])
desc             2262 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		WARN_ON(desc->ip != ASPEED_IP_SCU);
desc             2263 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		is_strap = desc->reg == SCU500 || desc->reg == SCU510;
desc             2276 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 			u32 clear = ~val & desc->mask;
desc             2277 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 			u32 w1c = desc->reg + 4;
desc             2280 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 				ret = regmap_update_bits(ctx->maps[desc->ip],
desc             2281 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 							 w1c, desc->mask,
desc             2285 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		ret = regmap_update_bits(ctx->maps[desc->ip], desc->reg,
desc             2286 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 					 desc->mask, val);
desc               15 drivers/pinctrl/aspeed/pinmux-aspeed.c 		const struct aspeed_sig_desc *desc, bool enable, u32 rv)
desc               18 drivers/pinctrl/aspeed/pinmux-aspeed.c 			aspeed_pinmux_ips[desc->ip], desc->reg,
desc               19 drivers/pinctrl/aspeed/pinmux-aspeed.c 			desc->mask, enable ? desc->enable : desc->disable,
desc               20 drivers/pinctrl/aspeed/pinmux-aspeed.c 			(rv & desc->mask) >> __ffs(desc->mask), rv);
desc               40 drivers/pinctrl/aspeed/pinmux-aspeed.c int aspeed_sig_desc_eval(const struct aspeed_sig_desc *desc,
desc               50 drivers/pinctrl/aspeed/pinmux-aspeed.c 	ret = regmap_read(map, desc->reg, &raw);
desc               54 drivers/pinctrl/aspeed/pinmux-aspeed.c 	aspeed_sig_desc_print_val(desc, enabled, raw);
desc               55 drivers/pinctrl/aspeed/pinmux-aspeed.c 	want = enabled ? desc->enable : desc->disable;
desc               57 drivers/pinctrl/aspeed/pinmux-aspeed.c 	return ((raw & desc->mask) >> __ffs(desc->mask)) == want;
desc               91 drivers/pinctrl/aspeed/pinmux-aspeed.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
desc               93 drivers/pinctrl/aspeed/pinmux-aspeed.c 		ret = aspeed_sig_desc_eval(desc, enabled, ctx->maps[desc->ip]);
desc              798 drivers/pinctrl/aspeed/pinmux-aspeed.h int aspeed_sig_desc_eval(const struct aspeed_sig_desc *desc, bool enabled,
desc              375 drivers/pinctrl/bcm/pinctrl-bcm2835.c static void bcm2835_gpio_irq_handler(struct irq_desc *desc)
desc              377 drivers/pinctrl/bcm/pinctrl-bcm2835.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              379 drivers/pinctrl/bcm/pinctrl-bcm2835.c 	struct irq_chip *host_chip = irq_desc_get_chip(desc);
desc              380 drivers/pinctrl/bcm/pinctrl-bcm2835.c 	int irq = irq_desc_get_irq(desc);
desc              394 drivers/pinctrl/bcm/pinctrl-bcm2835.c 	chained_irq_enter(host_chip, desc);
desc              409 drivers/pinctrl/bcm/pinctrl-bcm2835.c 	chained_irq_exit(host_chip, desc);
desc              852 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	const struct cygnus_gpio_mux *mux = pctrl_dev->desc->pins[pin].drv_data;
desc              880 drivers/pinctrl/bcm/pinctrl-cygnus-mux.c 	struct cygnus_gpio_mux *mux = pctrl_dev->desc->pins[pin].drv_data;
desc              163 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c static void iproc_gpio_irq_handler(struct irq_desc *desc)
desc              165 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              167 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	struct irq_chip *irq_chip = irq_desc_get_chip(desc);
desc              170 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	chained_irq_enter(irq_chip, desc);
desc              192 drivers/pinctrl/bcm/pinctrl-iproc-gpio.c 	chained_irq_exit(irq_chip, desc);
desc              663 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              686 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              709 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              733 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              750 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              777 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              799 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              825 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              844 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctldev->desc->pins[pin].drv_data;
desc              904 drivers/pinctrl/bcm/pinctrl-ns2-mux.c 	struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data;
desc              485 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	u32 *gpio_select = pctrl_dev->desc->pins[pin].drv_data;
desc              506 drivers/pinctrl/bcm/pinctrl-nsp-mux.c 	u32 *gpio_select = pctrl_dev->desc->pins[pin].drv_data;
desc               29 drivers/pinctrl/berlin/berlin.c 	const struct berlin_pinctrl_desc *desc;
desc               39 drivers/pinctrl/berlin/berlin.c 	return pctrl->desc->ngroups;
desc               47 drivers/pinctrl/berlin/berlin.c 	return pctrl->desc->groups[group].name;
desc              155 drivers/pinctrl/berlin/berlin.c 	const struct berlin_desc_group *group_desc = pctrl->desc->groups + group;
desc              210 drivers/pinctrl/berlin/berlin.c 	for (i = 0; i < pctrl->desc->ngroups; i++) {
desc              211 drivers/pinctrl/berlin/berlin.c 		desc_group = pctrl->desc->groups + i;
desc              223 drivers/pinctrl/berlin/berlin.c 	for (i = 0; i < pctrl->desc->ngroups; i++) {
desc              224 drivers/pinctrl/berlin/berlin.c 		desc_group = pctrl->desc->groups + i;
desc              238 drivers/pinctrl/berlin/berlin.c 	for (i = 0; i < pctrl->desc->ngroups; i++) {
desc              239 drivers/pinctrl/berlin/berlin.c 		desc_group = pctrl->desc->groups + i;
desc              295 drivers/pinctrl/berlin/berlin.c 				const struct berlin_pinctrl_desc *desc,
desc              310 drivers/pinctrl/berlin/berlin.c 	pctrl->desc = desc;
desc              329 drivers/pinctrl/berlin/berlin.c 			 const struct berlin_pinctrl_desc *desc)
desc              339 drivers/pinctrl/berlin/berlin.c 	return berlin_pinctrl_probe_regmap(pdev, desc, regmap);
desc               56 drivers/pinctrl/berlin/berlin.h 			 const struct berlin_pinctrl_desc *desc);
desc               59 drivers/pinctrl/berlin/berlin.h 				const struct berlin_pinctrl_desc *desc,
desc             1138 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	struct pinctrl_desc *desc;
desc             1150 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL);
desc             1151 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	if (!desc)
desc             1154 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	*desc = lochnagar_pin_desc;
desc             1198 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	desc->pins = priv->pins;
desc             1199 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	desc->npins = priv->npins;
desc             1201 drivers/pinctrl/cirrus/pinctrl-lochnagar.c 	pctl = devm_pinctrl_register(dev, desc, priv);
desc               76 drivers/pinctrl/core.c 	return pctldev->desc->name;
desc              148 drivers/pinctrl/core.c 	for (i = 0; i < pctldev->desc->npins; i++) {
desc              149 drivers/pinctrl/core.c 		struct pin_desc *desc;
desc              151 drivers/pinctrl/core.c 		pin = pctldev->desc->pins[i].number;
desc              152 drivers/pinctrl/core.c 		desc = pin_desc_get(pctldev, pin);
desc              154 drivers/pinctrl/core.c 		if (desc && !strcmp(name, desc->name))
desc              168 drivers/pinctrl/core.c 	const struct pin_desc *desc;
desc              170 drivers/pinctrl/core.c 	desc = pin_desc_get(pctldev, pin);
desc              171 drivers/pinctrl/core.c 	if (!desc) {
desc              177 drivers/pinctrl/core.c 	return desc->name;
desc              237 drivers/pinctrl/core.c 		 pin->number, pindesc->name, pctldev->desc->name);
desc              445 drivers/pinctrl/core.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              598 drivers/pinctrl/core.c 	const struct pinctrl_ops *ops = pctldev->desc->pctlops;
desc              715 drivers/pinctrl/core.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc             1226 drivers/pinctrl/core.c 	if (pctldev->desc->link_consumers)
desc             1605 drivers/pinctrl/core.c 	const struct pinctrl_ops *ops = pctldev->desc->pctlops;
desc             1608 drivers/pinctrl/core.c 	seq_printf(s, "registered pins: %d\n", pctldev->desc->npins);
desc             1613 drivers/pinctrl/core.c 	for (i = 0; i < pctldev->desc->npins; i++) {
desc             1614 drivers/pinctrl/core.c 		struct pin_desc *desc;
desc             1616 drivers/pinctrl/core.c 		pin = pctldev->desc->pins[i].number;
desc             1617 drivers/pinctrl/core.c 		desc = pin_desc_get(pctldev, pin);
desc             1619 drivers/pinctrl/core.c 		if (!desc)
desc             1622 drivers/pinctrl/core.c 		seq_printf(s, "pin %d (%s) ", pin, desc->name);
desc             1640 drivers/pinctrl/core.c 	const struct pinctrl_ops *ops = pctldev->desc->pctlops;
desc             1726 drivers/pinctrl/core.c 		seq_printf(s, "%s ", pctldev->desc->name);
desc             1727 drivers/pinctrl/core.c 		if (pctldev->desc->pmxops)
desc             1731 drivers/pinctrl/core.c 		if (pctldev->desc->confops)
desc             1851 drivers/pinctrl/core.c 	if (pctldev->desc->name &&
desc             1852 drivers/pinctrl/core.c 			strcmp(dev_name(pctldev->dev), pctldev->desc->name)) {
desc             1855 drivers/pinctrl/core.c 				pctldev->desc->name);
desc             1879 drivers/pinctrl/core.c 	if (pctldev->desc->pmxops)
desc             1881 drivers/pinctrl/core.c 	if (pctldev->desc->confops)
desc             1925 drivers/pinctrl/core.c 	const struct pinctrl_ops *ops = pctldev->desc->pctlops;
desc             1959 drivers/pinctrl/core.c 	pctldev->desc = pctldesc;
desc             2163 drivers/pinctrl/core.c 	pinctrl_free_pindescs(pctldev, pctldev->desc->pins,
desc             2164 drivers/pinctrl/core.c 			      pctldev->desc->npins);
desc               44 drivers/pinctrl/core.h 	struct pinctrl_desc *desc;
desc               40 drivers/pinctrl/devicetree.c 		const struct pinctrl_ops *ops = pctldev->desc->pctlops;
desc              156 drivers/pinctrl/devicetree.c 	ops = pctldev->desc->pctlops;
desc             1414 drivers/pinctrl/intel/pinctrl-baytrail.c static void byt_gpio_irq_handler(struct irq_desc *desc)
desc             1416 drivers/pinctrl/intel/pinctrl-baytrail.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc             1418 drivers/pinctrl/intel/pinctrl-baytrail.c 				irq_desc_get_handler_data(desc));
desc             1471 drivers/pinctrl/intel/pinctrl-cherryview.c static void chv_gpio_irq_handler(struct irq_desc *desc)
desc             1473 drivers/pinctrl/intel/pinctrl-cherryview.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             1475 drivers/pinctrl/intel/pinctrl-cherryview.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1480 drivers/pinctrl/intel/pinctrl-cherryview.c 	chained_irq_enter(chip, desc);
desc             1494 drivers/pinctrl/intel/pinctrl-cherryview.c 	chained_irq_exit(chip, desc);
desc             1548 drivers/pinctrl/intel/pinctrl-cherryview.c 		const struct pinctrl_pin_desc *desc;
desc             1551 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &community->pins[i];
desc             1553 drivers/pinctrl/intel/pinctrl-cherryview.c 		intsel = readl(chv_padreg(pctrl, desc->number, CHV_PADCTRL0));
desc             1558 drivers/pinctrl/intel/pinctrl-cherryview.c 			clear_bit(desc->number, valid_mask);
desc             1768 drivers/pinctrl/intel/pinctrl-cherryview.c 		const struct pinctrl_pin_desc *desc;
desc             1772 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &pctrl->community->pins[i];
desc             1773 drivers/pinctrl/intel/pinctrl-cherryview.c 		if (chv_pad_locked(pctrl, desc->number))
desc             1778 drivers/pinctrl/intel/pinctrl-cherryview.c 		reg = chv_padreg(pctrl, desc->number, CHV_PADCTRL0);
desc             1781 drivers/pinctrl/intel/pinctrl-cherryview.c 		reg = chv_padreg(pctrl, desc->number, CHV_PADCTRL1);
desc             1806 drivers/pinctrl/intel/pinctrl-cherryview.c 		const struct pinctrl_pin_desc *desc;
desc             1811 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &pctrl->community->pins[i];
desc             1812 drivers/pinctrl/intel/pinctrl-cherryview.c 		if (chv_pad_locked(pctrl, desc->number))
desc             1818 drivers/pinctrl/intel/pinctrl-cherryview.c 		reg = chv_padreg(pctrl, desc->number, CHV_PADCTRL0);
desc             1823 drivers/pinctrl/intel/pinctrl-cherryview.c 				desc->number, readl(reg));
desc             1826 drivers/pinctrl/intel/pinctrl-cherryview.c 		reg = chv_padreg(pctrl, desc->number, CHV_PADCTRL1);
desc             1831 drivers/pinctrl/intel/pinctrl-cherryview.c 				desc->number, readl(reg));
desc             1529 drivers/pinctrl/intel/pinctrl-intel.c 		const struct pinctrl_pin_desc *desc = &pctrl->soc->pins[i];
desc             1533 drivers/pinctrl/intel/pinctrl-intel.c 		if (!intel_pinctrl_should_save(pctrl, desc->number))
desc             1536 drivers/pinctrl/intel/pinctrl-intel.c 		val = readl(intel_get_padcfg(pctrl, desc->number, PADCFG0));
desc             1538 drivers/pinctrl/intel/pinctrl-intel.c 		val = readl(intel_get_padcfg(pctrl, desc->number, PADCFG1));
desc             1541 drivers/pinctrl/intel/pinctrl-intel.c 		padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG2);
desc             1622 drivers/pinctrl/intel/pinctrl-intel.c 		const struct pinctrl_pin_desc *desc = &pctrl->soc->pins[i];
desc             1626 drivers/pinctrl/intel/pinctrl-intel.c 		if (!intel_pinctrl_should_save(pctrl, desc->number))
desc             1629 drivers/pinctrl/intel/pinctrl-intel.c 		padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG0);
desc             1634 drivers/pinctrl/intel/pinctrl-intel.c 				desc->number, readl(padcfg));
desc             1637 drivers/pinctrl/intel/pinctrl-intel.c 		padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG1);
desc             1642 drivers/pinctrl/intel/pinctrl-intel.c 				desc->number, readl(padcfg));
desc             1645 drivers/pinctrl/intel/pinctrl-intel.c 		padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG2);
desc             1651 drivers/pinctrl/intel/pinctrl-intel.c 					desc->number, readl(padcfg));
desc              307 drivers/pinctrl/mediatek/mtk-eint.c static void mtk_eint_irq_handler(struct irq_desc *desc)
desc              309 drivers/pinctrl/mediatek/mtk-eint.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              310 drivers/pinctrl/mediatek/mtk-eint.c 	struct mtk_eint *eint = irq_desc_get_handler_data(desc);
desc              316 drivers/pinctrl/mediatek/mtk-eint.c 	chained_irq_enter(chip, desc);
desc              373 drivers/pinctrl/mediatek/mtk-eint.c 	chained_irq_exit(chip, desc);
desc               58 drivers/pinctrl/mediatek/pinctrl-moore.c 		const struct mtk_pin_desc *desc;
desc               62 drivers/pinctrl/mediatek/pinctrl-moore.c 		desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               64 drivers/pinctrl/mediatek/pinctrl-moore.c 		mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE,
desc               76 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc               78 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               80 drivers/pinctrl/mediatek/pinctrl-moore.c 	return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE,
desc               89 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc               91 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               94 drivers/pinctrl/mediatek/pinctrl-moore.c 	return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input);
desc              103 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              105 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc              110 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = hw->soc->bias_disable_get(hw, desc, &ret);
desc              119 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = hw->soc->bias_get(hw, desc, 1, &ret);
desc              128 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = hw->soc->bias_get(hw, desc, 0, &ret);
desc              136 drivers/pinctrl/mediatek/pinctrl-moore.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SR, &val);
desc              146 drivers/pinctrl/mediatek/pinctrl-moore.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val);
desc              157 drivers/pinctrl/mediatek/pinctrl-moore.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val);
desc              161 drivers/pinctrl/mediatek/pinctrl-moore.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SMT, &val2);
desc              171 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = hw->soc->drive_get(hw, desc, &ret);
desc              183 drivers/pinctrl/mediatek/pinctrl-moore.c 		err = mtk_hw_get_value(hw, desc, reg, &val);
desc              196 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = hw->soc->adv_pull_get(hw, desc, pullup, &ret);
desc              216 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              220 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc              229 drivers/pinctrl/mediatek/pinctrl-moore.c 				err = hw->soc->bias_disable_set(hw, desc);
desc              238 drivers/pinctrl/mediatek/pinctrl-moore.c 				err = hw->soc->bias_set(hw, desc, 1);
desc              247 drivers/pinctrl/mediatek/pinctrl-moore.c 				err = hw->soc->bias_set(hw, desc, 0);
desc              255 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT,
desc              260 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              268 drivers/pinctrl/mediatek/pinctrl-moore.c 				mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES,
desc              272 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              278 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR,
desc              285 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              290 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO,
desc              300 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              305 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT,
desc              312 drivers/pinctrl/mediatek/pinctrl-moore.c 				err = hw->soc->drive_set(hw, desc, arg);
desc              324 drivers/pinctrl/mediatek/pinctrl-moore.c 			err = mtk_hw_set_value(hw, desc, reg, arg);
desc              334 drivers/pinctrl/mediatek/pinctrl-moore.c 				err = hw->soc->adv_pull_set(hw, desc, pullup,
desc              434 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              437 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio];
desc              439 drivers/pinctrl/mediatek/pinctrl-moore.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value);
desc              449 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              451 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio];
desc              453 drivers/pinctrl/mediatek/pinctrl-moore.c 	mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, !!value);
desc              472 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              477 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset];
desc              479 drivers/pinctrl/mediatek/pinctrl-moore.c 	if (desc->eint.eint_n == (u16)EINT_NA)
desc              482 drivers/pinctrl/mediatek/pinctrl-moore.c 	return mtk_eint_find_irq(hw->eint, desc->eint.eint_n);
desc              489 drivers/pinctrl/mediatek/pinctrl-moore.c 	const struct mtk_pin_desc *desc;
desc              492 drivers/pinctrl/mediatek/pinctrl-moore.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset];
desc              496 drivers/pinctrl/mediatek/pinctrl-moore.c 	    desc->eint.eint_n == (u16)EINT_NA)
desc              501 drivers/pinctrl/mediatek/pinctrl-moore.c 	return mtk_eint_set_debounce(hw->eint, desc->eint.eint_n, debounce);
desc               66 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				   const struct mtk_pin_desc *desc,
desc               78 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			field, desc->number, desc->name);
desc               86 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 		if (desc->number >= c->s_pin && desc->number <= c->e_pin)
desc               93 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			field, desc->number, desc->name);
desc              100 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			field, desc->number, desc->name);
desc              109 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	       (desc->number - c->s_pin) * (c->x_bits);
desc              129 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				const struct mtk_pin_desc *desc,
desc              137 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	return mtk_hw_pin_field_lookup(hw, desc, field, pfd);
desc              175 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
desc              181 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_pin_field_get(hw, desc, field, &pf);
desc              194 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
desc              200 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_pin_field_get(hw, desc, field, &pf);
desc              215 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	const struct mtk_pin_desc *desc;
desc              218 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	desc = (const struct mtk_pin_desc *)hw->soc->pins;
desc              221 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 		if (desc[i].eint.eint_n == eint_n)
desc              222 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			return desc[i].number;
desc              234 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	const struct mtk_pin_desc *desc;
desc              236 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	desc = (const struct mtk_pin_desc *)hw->soc->pins;
desc              240 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	if (desc[eint_n].eint.eint_n == eint_n)
desc              251 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	const struct mtk_pin_desc *desc;
desc              260 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio_n];
desc              262 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value);
desc              272 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	const struct mtk_pin_desc *desc;
desc              281 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio_n];
desc              283 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE,
desc              284 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			       desc->eint.eint_m);
desc              288 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, MTK_INPUT);
desc              292 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT, MTK_ENABLE);
desc              353 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				 const struct mtk_pin_desc *desc)
desc              357 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU,
desc              362 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD,
desc              371 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				 const struct mtk_pin_desc *desc, int *res)
desc              376 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &v);
desc              380 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PD, &v2);
desc              393 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			 const struct mtk_pin_desc *desc, bool pullup)
desc              399 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, arg & 1);
desc              403 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PD,
desc              412 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			 const struct mtk_pin_desc *desc, bool pullup, int *res)
desc              418 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, reg, &v);
desc              432 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				      const struct mtk_pin_desc *desc)
desc              436 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN,
desc              445 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 				      const struct mtk_pin_desc *desc, int *res)
desc              449 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v);
desc              462 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			      const struct mtk_pin_desc *desc, bool pullup)
desc              468 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLEN,
desc              473 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, arg);
desc              481 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			      const struct mtk_pin_desc *desc, bool pullup,
desc              486 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLEN, &v);
desc              493 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, &v);
desc              507 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			  const struct mtk_pin_desc *desc, u32 arg)
desc              512 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	tb = &mtk_drive[desc->drv_n];
desc              520 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_E4,
desc              525 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_E8,
desc              535 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			  const struct mtk_pin_desc *desc, int *val)
desc              540 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	tb = &mtk_drive[desc->drv_n];
desc              542 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E4, &val1);
desc              546 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_E8, &val2);
desc              560 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			       const struct mtk_pin_desc *desc, u32 arg)
desc              565 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	tb = &mtk_drive[desc->drv_n];
desc              570 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV,
desc              580 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			       const struct mtk_pin_desc *desc, int *val)
desc              585 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	tb = &mtk_drive[desc->drv_n];
desc              587 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV, &val1);
desc              597 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			     const struct mtk_pin_desc *desc, bool pullup,
desc              607 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R0, arg & 1);
desc              611 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_R1,
desc              618 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PUPD, arg);
desc              625 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			err = hw->soc->bias_set(hw, desc, pullup);
desc              637 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			     const struct mtk_pin_desc *desc, bool pullup,
desc              643 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PUPD, &t);
desc              650 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			err = hw->soc->bias_get(hw, desc, pullup, val);
desc              665 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R0, &t);
desc              669 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_R1, &t2);
desc              679 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			      const struct mtk_pin_desc *desc, u32 arg)
desc              686 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, en);
desc              693 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, e0);
desc              697 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, e1);
desc              705 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 			      const struct mtk_pin_desc *desc, u32 *val)
desc              710 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_EN, &en);
desc              714 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E0, &e0);
desc              718 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DRV_E1, &e1);
desc              211 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				const struct mtk_pin_desc *desc);
desc              213 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				const struct mtk_pin_desc *desc, int *res);
desc              215 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			const struct mtk_pin_desc *desc, bool pullup);
desc              217 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			const struct mtk_pin_desc *desc, bool pullup, int *res);
desc              220 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			 const struct mtk_pin_desc *desc, u32 arg);
desc              222 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			 const struct mtk_pin_desc *desc, int *val);
desc              225 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			    const struct mtk_pin_desc *desc, bool pullup,
desc              228 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			    const struct mtk_pin_desc *desc, bool pullup,
desc              231 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			     const struct mtk_pin_desc *desc, u32 arg);
desc              233 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			     const struct mtk_pin_desc *desc, u32 *val);
desc              253 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
desc              255 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
desc              261 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				 const struct mtk_pin_desc *desc);
desc              263 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				 const struct mtk_pin_desc *desc, int *res);
desc              265 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			 const struct mtk_pin_desc *desc, bool pullup);
desc              267 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			 const struct mtk_pin_desc *desc, bool pullup,
desc              271 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				      const struct mtk_pin_desc *desc);
desc              273 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 				      const struct mtk_pin_desc *desc,
desc              276 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			      const struct mtk_pin_desc *desc, bool pullup);
desc              278 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			      const struct mtk_pin_desc *desc, bool pullup,
desc              282 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			  const struct mtk_pin_desc *desc, u32 arg);
desc              284 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			  const struct mtk_pin_desc *desc, int *val);
desc              287 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			       const struct mtk_pin_desc *desc, u32 arg);
desc              289 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			       const struct mtk_pin_desc *desc, int *val);
desc              292 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			     const struct mtk_pin_desc *desc, bool pullup,
desc              295 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			     const struct mtk_pin_desc *desc, bool pullup,
desc              298 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			      const struct mtk_pin_desc *desc, u32 arg);
desc              300 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h 			      const struct mtk_pin_desc *desc, u32 *val);
desc              717 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	const struct mtk_desc_function *desc;
desc              728 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	desc = mtk_pctrl_find_function_by_pin(pctl, g->pin, function);
desc              729 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	if (!desc)
desc              731 drivers/pinctrl/mediatek/pinctrl-mtk-common.c 	mtk_pmx_set_mode(pctldev, g->pin, desc->muxval);
desc               55 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc               57 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               59 drivers/pinctrl/mediatek/pinctrl-paris.c 	return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE,
desc               68 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc               70 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               73 drivers/pinctrl/mediatek/pinctrl-paris.c 	return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input);
desc               82 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc               84 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc               89 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_disable_get(hw, desc, &ret);
desc               98 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_get(hw, desc, 1, &ret);
desc              107 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_get(hw, desc, 0, &ret);
desc              115 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SR, &val);
desc              125 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val);
desc              136 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &val);
desc              140 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_SMT, &val2);
desc              150 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->drive_get(hw, desc, &ret);
desc              162 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_get_value(hw, desc, reg, &val);
desc              175 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->adv_pull_get(hw, desc, pullup, &ret);
desc              184 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->adv_drive_get(hw, desc, &ret);
desc              205 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              209 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
desc              214 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_disable_set(hw, desc);
desc              223 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_set(hw, desc, 1);
desc              232 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->bias_set(hw, desc, 0);
desc              240 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT,
desc              245 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              252 drivers/pinctrl/mediatek/pinctrl-paris.c 			mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_IES,
desc              256 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              262 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SR,
desc              269 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              274 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO,
desc              284 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR,
desc              289 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_SMT,
desc              296 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->drive_set(hw, desc, arg);
desc              308 drivers/pinctrl/mediatek/pinctrl-paris.c 		err = mtk_hw_set_value(hw, desc, reg, arg);
desc              318 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->adv_pull_set(hw, desc, pullup,
desc              328 drivers/pinctrl/mediatek/pinctrl-paris.c 			err = hw->soc->adv_drive_set(hw, desc, arg);
desc              617 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              631 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin];
desc              632 drivers/pinctrl/mediatek/pinctrl-paris.c 	mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_MODE, desc_func->muxval);
desc              693 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              696 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio];
desc              698 drivers/pinctrl/mediatek/pinctrl-paris.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DIR, &value);
desc              708 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              711 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio];
desc              713 drivers/pinctrl/mediatek/pinctrl-paris.c 	err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_DI, &value);
desc              723 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              725 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio];
desc              727 drivers/pinctrl/mediatek/pinctrl-paris.c 	mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DO, !!value);
desc              746 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              751 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset];
desc              753 drivers/pinctrl/mediatek/pinctrl-paris.c 	if (desc->eint.eint_n == EINT_NA)
desc              756 drivers/pinctrl/mediatek/pinctrl-paris.c 	return mtk_eint_find_irq(hw->eint, desc->eint.eint_n);
desc              763 drivers/pinctrl/mediatek/pinctrl-paris.c 	const struct mtk_pin_desc *desc;
desc              766 drivers/pinctrl/mediatek/pinctrl-paris.c 	desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset];
desc              770 drivers/pinctrl/mediatek/pinctrl-paris.c 	    desc->eint.eint_n == EINT_NA)
desc              775 drivers/pinctrl/mediatek/pinctrl-paris.c 	return mtk_eint_set_debounce(hw->eint, desc->eint.eint_n, debounce);
desc               97 drivers/pinctrl/meson/pinctrl-meson.c 	struct meson_reg_desc *desc = &bank->regs[reg_type];
desc               99 drivers/pinctrl/meson/pinctrl-meson.c 	*reg = desc->reg * 4;
desc              100 drivers/pinctrl/meson/pinctrl-meson.c 	*bit = desc->bit + pin - bank->first;
desc              716 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.name		= "pinctrl-meson";
desc              717 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.owner		= THIS_MODULE;
desc              718 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.pctlops	= &meson_pctrl_ops;
desc              719 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.pmxops		= pc->data->pmx_ops;
desc              720 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.confops	= &meson_pinconf_ops;
desc              721 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.pins		= pc->data->pins;
desc              722 drivers/pinctrl/meson/pinctrl-meson.c 	pc->desc.npins		= pc->data->num_pins;
desc              724 drivers/pinctrl/meson/pinctrl-meson.c 	pc->pcdev = devm_pinctrl_register(pc->dev, &pc->desc, pc);
desc              122 drivers/pinctrl/meson/pinctrl-meson.h 	struct pinctrl_desc desc;
desc              649 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static void armada_37xx_irq_handler(struct irq_desc *desc)
desc              651 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              652 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              657 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	chained_irq_enter(chip, desc);
desc              701 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	chained_irq_exit(chip, desc);
desc               50 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	struct pinctrl_desc desc;
desc              495 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	int num = 0, funcsize = pctl->desc.npins;
desc              522 drivers/pinctrl/mvebu/pinctrl-mvebu.c 					pctl->desc.npins);
desc              589 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.name = dev_name(&pdev->dev);
desc              590 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.owner = THIS_MODULE;
desc              591 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.pctlops = &mvebu_pinctrl_ops;
desc              592 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.pmxops = &mvebu_pinmux_ops;
desc              593 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.confops = &mvebu_pinconf_ops;
desc              601 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.npins = 0;
desc              605 drivers/pinctrl/mvebu/pinctrl-mvebu.c 		pctl->desc.npins += ctrl->npins;
desc              624 drivers/pinctrl/mvebu/pinctrl-mvebu.c 			     pctl->desc.npins,
desc              630 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	for (n = 0; n < pctl->desc.npins; n++)
desc              632 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->desc.pins = pdesc;
desc              736 drivers/pinctrl/mvebu/pinctrl-mvebu.c 	pctl->pctldev = devm_pinctrl_register(&pdev->dev, &pctl->desc, pctl);
desc              805 drivers/pinctrl/nomadik/pinctrl-nomadik.c static void __nmk_gpio_irq_handler(struct irq_desc *desc, u32 status)
desc              807 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	struct irq_chip *host_chip = irq_desc_get_chip(desc);
desc              808 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              810 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	chained_irq_enter(host_chip, desc);
desc              819 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	chained_irq_exit(host_chip, desc);
desc              822 drivers/pinctrl/nomadik/pinctrl-nomadik.c static void nmk_gpio_irq_handler(struct irq_desc *desc)
desc              824 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              832 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	__nmk_gpio_irq_handler(desc, status);
desc              835 drivers/pinctrl/nomadik/pinctrl-nomadik.c static void nmk_gpio_latent_irq_handler(struct irq_desc *desc)
desc              837 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              841 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	__nmk_gpio_irq_handler(desc, status);
desc              972 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		struct irq_desc	*desc = irq_to_desc(irq);
desc              992 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		if (irq > 0 && desc && desc->action) {
desc             1004 drivers/pinctrl/nomadik/pinctrl-nomadik.c 				   irqd_is_wakeup_set(&desc->irq_data)
desc              215 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c static void npcmgpio_irq_handler(struct irq_desc *desc)
desc              222 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	gc = irq_desc_get_handler_data(desc);
desc              224 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	chip = irq_desc_get_chip(desc);
desc              226 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	chained_irq_enter(chip, desc);
desc              235 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	chained_irq_exit(chip, desc);
desc              112 drivers/pinctrl/pinconf-generic.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc              122 drivers/pinctrl/pinconf-generic.c 	if (pctldev->desc->num_custom_params &&
desc              123 drivers/pinctrl/pinconf-generic.c 	    pctldev->desc->custom_conf_items)
desc              125 drivers/pinctrl/pinconf-generic.c 					 pctldev->desc->custom_conf_items,
desc              126 drivers/pinctrl/pinconf-generic.c 					 pctldev->desc->num_custom_params,
desc              142 drivers/pinctrl/pinconf-generic.c 	if (!pctldev->desc->num_custom_params ||
desc              143 drivers/pinctrl/pinconf-generic.c 	    !pctldev->desc->custom_conf_items)
desc              146 drivers/pinctrl/pinconf-generic.c 	for (i = 0; i < pctldev->desc->num_custom_params; i++) {
desc              148 drivers/pinctrl/pinconf-generic.c 		    pctldev->desc->custom_conf_items[i].param)
desc              151 drivers/pinctrl/pinconf-generic.c 				pctldev->desc->custom_conf_items[i].display,
desc              253 drivers/pinctrl/pinconf-generic.c 		max_cfg += pctldev->desc->num_custom_params;
desc              259 drivers/pinctrl/pinconf-generic.c 	if (pctldev && pctldev->desc->num_custom_params &&
desc              260 drivers/pinctrl/pinconf-generic.c 		pctldev->desc->custom_params)
desc              261 drivers/pinctrl/pinconf-generic.c 		parse_dt_cfg(np, pctldev->desc->custom_params,
desc              262 drivers/pinctrl/pinconf-generic.c 			     pctldev->desc->num_custom_params, cfg, &ncfg);
desc               27 drivers/pinctrl/pinconf.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc               59 drivers/pinctrl/pinconf.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc               85 drivers/pinctrl/pinconf.c 	ops = pctldev->desc->confops;
desc              151 drivers/pinctrl/pinconf.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc              205 drivers/pinctrl/pinconf.c 	ops = pctldev->desc->confops;
desc              221 drivers/pinctrl/pinconf.c 		confops = pctldev->desc->confops;
desc              263 drivers/pinctrl/pinconf.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              264 drivers/pinctrl/pinconf.c 	struct pin_desc *desc;
desc              268 drivers/pinctrl/pinconf.c 		desc = pin_desc_get(setting->pctldev,
desc              270 drivers/pinctrl/pinconf.c 		seq_printf(s, "pin %s (%d)", desc->name,
desc              294 drivers/pinctrl/pinconf.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc              313 drivers/pinctrl/pinconf.c 	for (i = 0; i < pctldev->desc->npins; i++) {
desc              314 drivers/pinctrl/pinconf.c 		struct pin_desc *desc;
desc              316 drivers/pinctrl/pinconf.c 		pin = pctldev->desc->pins[i].number;
desc              317 drivers/pinctrl/pinconf.c 		desc = pin_desc_get(pctldev, pin);
desc              319 drivers/pinctrl/pinconf.c 		if (!desc)
desc              322 drivers/pinctrl/pinconf.c 		seq_printf(s, "pin %d (%s): ", pin, desc->name);
desc              337 drivers/pinctrl/pinconf.c 	const struct pinconf_ops *ops = pctldev->desc->confops;
desc              348 drivers/pinctrl/pinconf.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              802 drivers/pinctrl/pinctrl-amd.c 	struct pinctrl_desc *desc = gpio_dev->pctrl->desc;
desc              805 drivers/pinctrl/pinctrl-amd.c 	for (i = 0; i < desc->npins; i++) {
desc              806 drivers/pinctrl/pinctrl-amd.c 		int pin = desc->pins[i].number;
desc              820 drivers/pinctrl/pinctrl-amd.c 	struct pinctrl_desc *desc = gpio_dev->pctrl->desc;
desc              823 drivers/pinctrl/pinctrl-amd.c 	for (i = 0; i < desc->npins; i++) {
desc              824 drivers/pinctrl/pinctrl-amd.c 		int pin = desc->pins[i].number;
desc              264 drivers/pinctrl/pinctrl-at91-pio4.c static void atmel_gpio_irq_handler(struct irq_desc *desc)
desc              266 drivers/pinctrl/pinctrl-at91-pio4.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              267 drivers/pinctrl/pinctrl-at91-pio4.c 	struct atmel_pioctrl *atmel_pioctrl = irq_desc_get_handler_data(desc);
desc              268 drivers/pinctrl/pinctrl-at91-pio4.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              286 drivers/pinctrl/pinctrl-at91-pio4.c 	chained_irq_enter(chip, desc);
desc              302 drivers/pinctrl/pinctrl-at91-pio4.c 	chained_irq_exit(chip, desc);
desc             1685 drivers/pinctrl/pinctrl-at91.c static void gpio_irq_handler(struct irq_desc *desc)
desc             1687 drivers/pinctrl/pinctrl-at91.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1688 drivers/pinctrl/pinctrl-at91.c 	struct gpio_chip *gpio_chip = irq_desc_get_handler_data(desc);
desc             1694 drivers/pinctrl/pinctrl-at91.c 	chained_irq_enter(chip, desc);
desc             1715 drivers/pinctrl/pinctrl-at91.c 	chained_irq_exit(chip, desc);
desc               66 drivers/pinctrl/pinctrl-axp209.c 	const struct axp20x_pctrl_desc		*desc;
desc              128 drivers/pinctrl/pinctrl-axp209.c 	return !!(val & BIT(offset + pctl->desc->gpio_status_offset));
desc              239 drivers/pinctrl/pinctrl-axp209.c 		mask = pctl->desc->ldo_mask;
desc              241 drivers/pinctrl/pinctrl-axp209.c 		mask = pctl->desc->adc_mask;
desc              285 drivers/pinctrl/pinctrl-axp209.c 	return pctl->desc->npins;
desc              293 drivers/pinctrl/pinctrl-axp209.c 	*pins = (unsigned int *)&pctl->desc->pins[selector];
desc              304 drivers/pinctrl/pinctrl-axp209.c 	return pctl->desc->pins[selector].name;
desc              345 drivers/pinctrl/pinctrl-axp209.c 	int i, ret, pin, npins = pctl->desc->npins;
desc              357 drivers/pinctrl/pinctrl-axp209.c 	pctl->funcs[AXP20X_FUNC_ADC].muxval = pctl->desc->adc_mux;
desc              368 drivers/pinctrl/pinctrl-axp209.c 			pctl->funcs[i].groups[pin] = pctl->desc->pins[pin].name;
desc              371 drivers/pinctrl/pinctrl-axp209.c 	ret = axp20x_funcs_groups_from_mask(&pdev->dev, pctl->desc->ldo_mask,
desc              373 drivers/pinctrl/pinctrl-axp209.c 				      pctl->desc->pins);
desc              377 drivers/pinctrl/pinctrl-axp209.c 	ret = axp20x_funcs_groups_from_mask(&pdev->dev, pctl->desc->adc_mask,
desc              379 drivers/pinctrl/pinctrl-axp209.c 				      pctl->desc->pins);
desc              426 drivers/pinctrl/pinctrl-axp209.c 	pctl->desc = of_device_get_match_data(dev);
desc              428 drivers/pinctrl/pinctrl-axp209.c 	pctl->chip.ngpio		= pctl->desc->npins;
desc              447 drivers/pinctrl/pinctrl-axp209.c 	pctrl_desc->pins = pctl->desc->pins;
desc              448 drivers/pinctrl/pinctrl-axp209.c 	pctrl_desc->npins = pctl->desc->npins;
desc              465 drivers/pinctrl/pinctrl-axp209.c 				     pctl->desc->pins->number,
desc              466 drivers/pinctrl/pinctrl-axp209.c 				     pctl->desc->pins->number,
desc              467 drivers/pinctrl/pinctrl-axp209.c 				     pctl->desc->npins);
desc              495 drivers/pinctrl/pinctrl-coh901.c static void u300_gpio_irq_handler(struct irq_desc *desc)
desc              497 drivers/pinctrl/pinctrl-coh901.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              498 drivers/pinctrl/pinctrl-coh901.c 	struct irq_chip *parent_chip = irq_desc_get_chip(desc);
desc              499 drivers/pinctrl/pinctrl-coh901.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              505 drivers/pinctrl/pinctrl-coh901.c 	chained_irq_enter(parent_chip, desc);
desc              534 drivers/pinctrl/pinctrl-coh901.c 	chained_irq_exit(parent_chip, desc);
desc               24 drivers/pinctrl/pinctrl-da850-pupd.c 	struct pinctrl_desc desc;
desc              162 drivers/pinctrl/pinctrl-da850-pupd.c 	data->desc.name = dev_name(dev);
desc              163 drivers/pinctrl/pinctrl-da850-pupd.c 	data->desc.pctlops = &da850_pupd_pctlops;
desc              164 drivers/pinctrl/pinctrl-da850-pupd.c 	data->desc.confops = &da850_pupd_confops;
desc              165 drivers/pinctrl/pinctrl-da850-pupd.c 	data->desc.owner = THIS_MODULE;
desc              167 drivers/pinctrl/pinctrl-da850-pupd.c 	data->pinctrl = devm_pinctrl_register(dev, &data->desc, data);
desc               44 drivers/pinctrl/pinctrl-digicolor.c 	struct pinctrl_desc	*desc;
desc               62 drivers/pinctrl/pinctrl-digicolor.c 	return pmap->desc->pins[selector].name;
desc               71 drivers/pinctrl/pinctrl-digicolor.c 	*pins = &pmap->desc->pins[selector].number;
desc              321 drivers/pinctrl/pinctrl-digicolor.c 	pmap->desc = pctl_desc;
desc              325 drivers/pinctrl/pinctrl-falcon.c 	struct pin_desc *desc;
desc              348 drivers/pinctrl/pinctrl-falcon.c 	desc = pin_desc_get(pctrldev, offset);
desc              349 drivers/pinctrl/pinctrl-falcon.c 	if (desc) {
desc              350 drivers/pinctrl/pinctrl-falcon.c 		if (desc->gpio_owner)
desc              351 drivers/pinctrl/pinctrl-falcon.c 			seq_printf(s, " owner: %s", desc->gpio_owner);
desc              398 drivers/pinctrl/pinctrl-falcon.c 	.desc		= &falcon_pctrl_desc,
desc             1556 drivers/pinctrl/pinctrl-ingenic.c static void ingenic_gpio_irq_handler(struct irq_desc *desc)
desc             1558 drivers/pinctrl/pinctrl-ingenic.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             1560 drivers/pinctrl/pinctrl-ingenic.c 	struct irq_chip *irq_chip = irq_data_get_irq_chip(&desc->irq_data);
desc             1563 drivers/pinctrl/pinctrl-ingenic.c 	chained_irq_enter(irq_chip, desc);
desc             1572 drivers/pinctrl/pinctrl-ingenic.c 	chained_irq_exit(irq_chip, desc);
desc              328 drivers/pinctrl/pinctrl-lantiq.c 	struct pinctrl_desc *desc;
desc              332 drivers/pinctrl/pinctrl-lantiq.c 	desc = info->desc;
desc              333 drivers/pinctrl/pinctrl-lantiq.c 	desc->pctlops = &ltq_pctrl_ops;
desc              334 drivers/pinctrl/pinctrl-lantiq.c 	desc->pmxops = &ltq_pmx_ops;
desc              337 drivers/pinctrl/pinctrl-lantiq.c 	info->pctrl = devm_pinctrl_register(&pdev->dev, desc, info);
desc               70 drivers/pinctrl/pinctrl-lantiq.h 	struct pinctrl_desc *desc;
desc              148 drivers/pinctrl/pinctrl-ocelot.c 	struct pinctrl_desc *desc;
desc              388 drivers/pinctrl/pinctrl-ocelot.c 	struct ocelot_pin_caps *p = info->desc->pins[pin].drv_data;
desc              405 drivers/pinctrl/pinctrl-ocelot.c 	struct ocelot_pin_caps *pin = info->desc->pins[group].drv_data;
desc              471 drivers/pinctrl/pinctrl-ocelot.c 	return info->desc->npins;
desc              479 drivers/pinctrl/pinctrl-ocelot.c 	return info->desc->pins[group].name;
desc              489 drivers/pinctrl/pinctrl-ocelot.c 	*pins = &info->desc->pins[group].number;
desc              525 drivers/pinctrl/pinctrl-ocelot.c 	u8 *pins = kcalloc(info->desc->npins, sizeof(u8), GFP_KERNEL);
desc              531 drivers/pinctrl/pinctrl-ocelot.c 		for (npins = 0, i = 0; i < info->desc->npins; i++) {
desc              548 drivers/pinctrl/pinctrl-ocelot.c 			info->func[f].groups[i] = info->desc->pins[pins[i]].name;
desc              567 drivers/pinctrl/pinctrl-ocelot.c 	info->pctl = devm_pinctrl_register(&pdev->dev, info->desc, info);
desc              709 drivers/pinctrl/pinctrl-ocelot.c static void ocelot_irq_handler(struct irq_desc *desc)
desc              711 drivers/pinctrl/pinctrl-ocelot.c 	struct irq_chip *parent_chip = irq_desc_get_chip(desc);
desc              712 drivers/pinctrl/pinctrl-ocelot.c 	struct gpio_chip *chip = irq_desc_get_handler_data(desc);
desc              722 drivers/pinctrl/pinctrl-ocelot.c 		chained_irq_enter(parent_chip, desc);
desc              727 drivers/pinctrl/pinctrl-ocelot.c 				 min(32U, info->desc->npins - 32 * i))
desc              731 drivers/pinctrl/pinctrl-ocelot.c 		chained_irq_exit(parent_chip, desc);
desc              744 drivers/pinctrl/pinctrl-ocelot.c 	gc->ngpio = info->desc->npins;
desc              791 drivers/pinctrl/pinctrl-ocelot.c 	info->desc = (struct pinctrl_desc *)device_get_match_data(dev);
desc              800 drivers/pinctrl/pinctrl-ocelot.c 	info->stride = 1 + (info->desc->npins - 1) / 32;
desc              100 drivers/pinctrl/pinctrl-oxnas.c 	struct pinctrl_desc *desc;
desc             1042 drivers/pinctrl/pinctrl-oxnas.c static void oxnas_gpio_irq_handler(struct irq_desc *desc)
desc             1044 drivers/pinctrl/pinctrl-oxnas.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             1046 drivers/pinctrl/pinctrl-oxnas.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1050 drivers/pinctrl/pinctrl-oxnas.c 	chained_irq_enter(chip, desc);
desc             1057 drivers/pinctrl/pinctrl-oxnas.c 	chained_irq_exit(chip, desc);
desc             1130 drivers/pinctrl/pinctrl-oxnas.c 	.desc = &oxnas_ox810se_pinctrl_desc,
desc             1135 drivers/pinctrl/pinctrl-oxnas.c 	.desc = &oxnas_ox820_pinctrl_desc,
desc             1160 drivers/pinctrl/pinctrl-oxnas.c 	if (!data || !data->pctl || !data->desc)
desc             1183 drivers/pinctrl/pinctrl-oxnas.c 	pctl->pctldev = pinctrl_register(data->desc, &pdev->dev, pctl);
desc             2086 drivers/pinctrl/pinctrl-pic32.c static void pic32_gpio_irq_handler(struct irq_desc *desc)
desc             2088 drivers/pinctrl/pinctrl-pic32.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             2090 drivers/pinctrl/pinctrl-pic32.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             2095 drivers/pinctrl/pinctrl-pic32.c 	chained_irq_enter(chip, desc);
desc             2103 drivers/pinctrl/pinctrl-pic32.c 	chained_irq_exit(chip, desc);
desc             1294 drivers/pinctrl/pinctrl-pistachio.c static void pistachio_gpio_irq_handler(struct irq_desc *desc)
desc             1296 drivers/pinctrl/pinctrl-pistachio.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             1298 drivers/pinctrl/pinctrl-pistachio.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1302 drivers/pinctrl/pinctrl-pistachio.c 	chained_irq_enter(chip, desc);
desc             1307 drivers/pinctrl/pinctrl-pistachio.c 	chained_irq_exit(chip, desc);
desc             2835 drivers/pinctrl/pinctrl-rockchip.c static void rockchip_irq_demux(struct irq_desc *desc)
desc             2837 drivers/pinctrl/pinctrl-rockchip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             2838 drivers/pinctrl/pinctrl-rockchip.c 	struct rockchip_pin_bank *bank = irq_desc_get_handler_data(desc);
desc             2843 drivers/pinctrl/pinctrl-rockchip.c 	chained_irq_enter(chip, desc);
desc             2893 drivers/pinctrl/pinctrl-rockchip.c 	chained_irq_exit(chip, desc);
desc              493 drivers/pinctrl/pinctrl-rza1.c 	struct pinctrl_desc desc;
desc             1313 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.pins	= pins;
desc             1314 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.npins	= RZA1_NPINS;
desc             1341 drivers/pinctrl/pinctrl-rza1.c 	ret = devm_pinctrl_register_and_init(rza1_pctl->dev, &rza1_pctl->desc,
desc             1384 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.name	= DRIVER_NAME;
desc             1385 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.pctlops	= &rza1_pinctrl_ops;
desc             1386 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.pmxops	= &rza1_pinmux_ops;
desc             1387 drivers/pinctrl/pinctrl-rza1.c 	rza1_pctl->desc.owner	= THIS_MODULE;
desc               45 drivers/pinctrl/pinctrl-rza2.c 	struct pinctrl_desc desc;
desc              290 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.pins = pins;
desc              291 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.npins = priv->npins;
desc              298 drivers/pinctrl/pinctrl-rza2.c 	ret = devm_pinctrl_register_and_init(priv->dev, &priv->desc, priv,
desc              484 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.name		= DRIVER_NAME;
desc              485 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.pctlops	= &rza2_pinctrl_ops;
desc              486 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.pmxops	= &rza2_pinmux_ops;
desc              487 drivers/pinctrl/pinctrl-rza2.c 	priv->desc.owner	= THIS_MODULE;
desc              494 drivers/pinctrl/pinctrl-rza2.c 		 port_names[priv->desc.npins / RZA2_PINS_PER_PORT - 1]);
desc              202 drivers/pinctrl/pinctrl-single.c 	struct pinctrl_desc desc;
desc              665 drivers/pinctrl/pinctrl-single.c 	if (i >= pcs->desc.npins) {
desc              667 drivers/pinctrl/pinctrl-single.c 			pcs->desc.npins);
desc              721 drivers/pinctrl/pinctrl-single.c 	pcs->desc.pins = pcs->pins.pa;
desc              722 drivers/pinctrl/pinctrl-single.c 	pcs->desc.npins = nr_pins;
desc              724 drivers/pinctrl/pinctrl-single.c 	for (i = 0; i < pcs->desc.npins; i++) {
desc             1495 drivers/pinctrl/pinctrl-single.c static void pcs_irq_chain_handler(struct irq_desc *desc)
desc             1497 drivers/pinctrl/pinctrl-single.c 	struct pcs_soc_data *pcs_soc = irq_desc_get_handler_data(desc);
desc             1500 drivers/pinctrl/pinctrl-single.c 	chip = irq_desc_get_chip(desc);
desc             1501 drivers/pinctrl/pinctrl-single.c 	chained_irq_enter(chip, desc);
desc             1504 drivers/pinctrl/pinctrl-single.c 	chained_irq_exit(chip, desc);
desc             1850 drivers/pinctrl/pinctrl-single.c 	pcs->desc.name = DRIVER_NAME;
desc             1851 drivers/pinctrl/pinctrl-single.c 	pcs->desc.pctlops = &pcs_pinctrl_ops;
desc             1852 drivers/pinctrl/pinctrl-single.c 	pcs->desc.pmxops = &pcs_pinmux_ops;
desc             1854 drivers/pinctrl/pinctrl-single.c 		pcs->desc.confops = &pcs_pinconf_ops;
desc             1855 drivers/pinctrl/pinctrl-single.c 	pcs->desc.owner = THIS_MODULE;
desc             1861 drivers/pinctrl/pinctrl-single.c 	ret = pinctrl_register_and_init(&pcs->desc, pcs->dev, pcs, &pcs->pctl);
desc             1892 drivers/pinctrl/pinctrl-single.c 	dev_info(pcs->dev, "%i pins, size %u\n", pcs->desc.npins, pcs->size);
desc             1421 drivers/pinctrl/pinctrl-st.c static void st_gpio_irq_handler(struct irq_desc *desc)
desc             1424 drivers/pinctrl/pinctrl-st.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1425 drivers/pinctrl/pinctrl-st.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             1428 drivers/pinctrl/pinctrl-st.c 	chained_irq_enter(chip, desc);
desc             1430 drivers/pinctrl/pinctrl-st.c 	chained_irq_exit(chip, desc);
desc             1433 drivers/pinctrl/pinctrl-st.c static void st_gpio_irqmux_handler(struct irq_desc *desc)
desc             1435 drivers/pinctrl/pinctrl-st.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1436 drivers/pinctrl/pinctrl-st.c 	struct st_pinctrl *info = irq_desc_get_handler_data(desc);
desc             1440 drivers/pinctrl/pinctrl-st.c 	chained_irq_enter(chip, desc);
desc             1447 drivers/pinctrl/pinctrl-st.c 	chained_irq_exit(chip, desc);
desc             1526 drivers/pinctrl/pinctrl-xway.c 	.desc		= &xway_pctrl_desc,
desc               33 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc               84 drivers/pinctrl/pinmux.c 	struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc               85 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc               88 drivers/pinctrl/pinmux.c 	if (!desc || !ops)
desc               91 drivers/pinctrl/pinmux.c 	if (ops->strict && desc->mux_usecount)
desc               94 drivers/pinctrl/pinmux.c 	return !(ops->strict && !!desc->gpio_owner);
desc              109 drivers/pinctrl/pinmux.c 	struct pin_desc *desc;
desc              110 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc              113 drivers/pinctrl/pinmux.c 	desc = pin_desc_get(pctldev, pin);
desc              114 drivers/pinctrl/pinmux.c 	if (desc == NULL) {
desc              122 drivers/pinctrl/pinmux.c 		pin, desc->name, owner);
desc              125 drivers/pinctrl/pinmux.c 	    desc->mux_usecount && strcmp(desc->mux_owner, owner)) {
desc              128 drivers/pinctrl/pinmux.c 			desc->name, desc->mux_owner, owner);
desc              132 drivers/pinctrl/pinmux.c 	if ((gpio_range || ops->strict) && desc->gpio_owner) {
desc              135 drivers/pinctrl/pinmux.c 			desc->name, desc->gpio_owner, owner);
desc              140 drivers/pinctrl/pinmux.c 		desc->gpio_owner = owner;
desc              142 drivers/pinctrl/pinmux.c 		desc->mux_usecount++;
desc              143 drivers/pinctrl/pinmux.c 		if (desc->mux_usecount > 1)
desc              146 drivers/pinctrl/pinmux.c 		desc->mux_owner = owner;
desc              178 drivers/pinctrl/pinmux.c 			desc->gpio_owner = NULL;
desc              180 drivers/pinctrl/pinmux.c 			desc->mux_usecount--;
desc              181 drivers/pinctrl/pinmux.c 			if (!desc->mux_usecount)
desc              182 drivers/pinctrl/pinmux.c 				desc->mux_owner = NULL;
desc              207 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc              208 drivers/pinctrl/pinmux.c 	struct pin_desc *desc;
desc              211 drivers/pinctrl/pinmux.c 	desc = pin_desc_get(pctldev, pin);
desc              212 drivers/pinctrl/pinmux.c 	if (desc == NULL) {
desc              222 drivers/pinctrl/pinmux.c 		if (WARN_ON(!desc->mux_usecount))
desc              224 drivers/pinctrl/pinmux.c 		desc->mux_usecount--;
desc              225 drivers/pinctrl/pinmux.c 		if (desc->mux_usecount)
desc              239 drivers/pinctrl/pinmux.c 		owner = desc->gpio_owner;
desc              240 drivers/pinctrl/pinmux.c 		desc->gpio_owner = NULL;
desc              242 drivers/pinctrl/pinmux.c 		owner = desc->mux_owner;
desc              243 drivers/pinctrl/pinmux.c 		desc->mux_owner = NULL;
desc              244 drivers/pinctrl/pinmux.c 		desc->mux_setting = NULL;
desc              306 drivers/pinctrl/pinmux.c 	ops = pctldev->desc->pmxops;
desc              319 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc              340 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *pmxops = pctldev->desc->pmxops;
desc              404 drivers/pinctrl/pinmux.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              405 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *ops = pctldev->desc->pmxops;
desc              410 drivers/pinctrl/pinmux.c 	struct pin_desc *desc;
desc              435 drivers/pinctrl/pinmux.c 			desc = pin_desc_get(pctldev, pins[i]);
desc              436 drivers/pinctrl/pinmux.c 			pname = desc ? desc->name : "non-existing";
desc              450 drivers/pinctrl/pinmux.c 		desc = pin_desc_get(pctldev, pins[i]);
desc              451 drivers/pinctrl/pinmux.c 		if (desc == NULL) {
desc              457 drivers/pinctrl/pinmux.c 		desc->mux_setting = &(setting->data.mux);
desc              470 drivers/pinctrl/pinmux.c 		desc = pin_desc_get(pctldev, pins[i]);
desc              471 drivers/pinctrl/pinmux.c 		if (desc)
desc              472 drivers/pinctrl/pinmux.c 			desc->mux_setting = NULL;
desc              485 drivers/pinctrl/pinmux.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              490 drivers/pinctrl/pinmux.c 	struct pin_desc *desc;
desc              509 drivers/pinctrl/pinmux.c 		desc = pin_desc_get(pctldev, pins[i]);
desc              510 drivers/pinctrl/pinmux.c 		if (desc == NULL) {
desc              516 drivers/pinctrl/pinmux.c 		if (desc->mux_setting == &(setting->data.mux)) {
desc              527 drivers/pinctrl/pinmux.c 				 pins[i], desc->name, gname);
desc              538 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *pmxops = pctldev->desc->pmxops;
desc              580 drivers/pinctrl/pinmux.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              581 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *pmxops = pctldev->desc->pmxops;
desc              598 drivers/pinctrl/pinmux.c 	for (i = 0; i < pctldev->desc->npins; i++) {
desc              599 drivers/pinctrl/pinmux.c 		struct pin_desc *desc;
desc              602 drivers/pinctrl/pinmux.c 		pin = pctldev->desc->pins[i].number;
desc              603 drivers/pinctrl/pinmux.c 		desc = pin_desc_get(pctldev, pin);
desc              605 drivers/pinctrl/pinmux.c 		if (desc == NULL)
desc              608 drivers/pinctrl/pinmux.c 		if (desc->mux_owner &&
desc              609 drivers/pinctrl/pinmux.c 		    !strcmp(desc->mux_owner, pinctrl_dev_get_name(pctldev)))
desc              613 drivers/pinctrl/pinmux.c 			if (desc->mux_owner)
desc              615 drivers/pinctrl/pinmux.c 					   pin, desc->name, desc->mux_owner,
desc              617 drivers/pinctrl/pinmux.c 			else if (desc->gpio_owner)
desc              619 drivers/pinctrl/pinmux.c 					   pin, desc->name, desc->gpio_owner);
desc              622 drivers/pinctrl/pinmux.c 					   pin, desc->name);
desc              625 drivers/pinctrl/pinmux.c 			seq_printf(s, "pin %d (%s): %s %s%s", pin, desc->name,
desc              626 drivers/pinctrl/pinmux.c 				   desc->mux_owner ? desc->mux_owner
desc              628 drivers/pinctrl/pinmux.c 				   desc->gpio_owner ? desc->gpio_owner
desc              634 drivers/pinctrl/pinmux.c 		if (desc->mux_setting)
desc              637 drivers/pinctrl/pinmux.c 					desc->mux_setting->func),
desc              639 drivers/pinctrl/pinmux.c 					desc->mux_setting->group));
desc              660 drivers/pinctrl/pinmux.c 	const struct pinmux_ops *pmxops = pctldev->desc->pmxops;
desc              661 drivers/pinctrl/pinmux.c 	const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
desc              342 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->desc.npins = npins;
desc              347 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->desc.pins = pins;
desc              400 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->desc = pxa2xx_pinctrl_desc;
desc              401 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->desc.name = dev_name(&pdev->dev);
desc              402 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->desc.owner = THIS_MODULE;
desc              415 drivers/pinctrl/pxa/pinctrl-pxa2xx.c 	pctl->pctl_dev = devm_pinctrl_register(&pdev->dev, &pctl->desc, pctl);
desc               72 drivers/pinctrl/pxa/pinctrl-pxa2xx.h 	struct pinctrl_desc		desc;
desc               54 drivers/pinctrl/qcom/pinctrl-msm.c 	struct pinctrl_desc desc;
desc              959 drivers/pinctrl/qcom/pinctrl-msm.c static void msm_gpio_irq_handler(struct irq_desc *desc)
desc              961 drivers/pinctrl/qcom/pinctrl-msm.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              964 drivers/pinctrl/qcom/pinctrl-msm.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              970 drivers/pinctrl/qcom/pinctrl-msm.c 	chained_irq_enter(chip, desc);
desc              988 drivers/pinctrl/qcom/pinctrl-msm.c 		handle_bad_irq(desc);
desc              990 drivers/pinctrl/qcom/pinctrl-msm.c 	chained_irq_exit(chip, desc);
desc             1165 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.owner = THIS_MODULE;
desc             1166 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.pctlops = &msm_pinctrl_ops;
desc             1167 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.pmxops = &msm_pinmux_ops;
desc             1168 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.confops = &msm_pinconf_ops;
desc             1169 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.name = dev_name(&pdev->dev);
desc             1170 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.pins = pctrl->soc->pins;
desc             1171 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->desc.npins = pctrl->soc->npins;
desc             1173 drivers/pinctrl/qcom/pinctrl-msm.c 	pctrl->pctrl = devm_pinctrl_register(&pdev->dev, &pctrl->desc, pctrl);
desc              245 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	return pctldev->desc->npins;
desc              251 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	return pctldev->desc->pins[pin].name;
desc              257 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	*pins = &pctldev->desc->pins[pin].number;
desc              287 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	*num_qgroups = pctldev->desc->npins;
desc              304 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              380 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              461 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              636 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              713 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c 	pad = state->ctrl->desc->pins[pin].drv_data;
desc              207 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	return pctldev->desc->npins;
desc              213 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	return pctldev->desc->pins[pin].name;
desc              220 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	*pins = &pctldev->desc->pins[pin].number;
desc              250 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	*num_qgroups = pctldev->desc->npins;
desc              309 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              336 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              410 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              524 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = pctldev->desc->pins[pin].drv_data;
desc              589 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = state->ctrl->desc->pins[pin].drv_data;
desc              630 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c 	pad = state->ctrl->desc->pins[pin].drv_data;
desc               94 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pinctrl_desc desc;
desc              189 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	*pins = &pctrl->desc.pins[group].number;
desc              231 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[group].drv_data;
desc              254 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              324 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              459 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              475 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              493 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              512 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              541 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              564 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              579 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              784 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc = pm8xxx_pinctrl_desc;
desc              785 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc.npins = pctrl->npins;
desc              788 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 			    pctrl->desc.npins,
desc              795 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 				pctrl->desc.npins,
desc              801 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	for (i = 0; i < pctrl->desc.npins; i++) {
desc              813 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc.pins = pins;
desc              815 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc.num_custom_params = ARRAY_SIZE(pm8xxx_gpio_bindings);
desc              816 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc.custom_params = pm8xxx_gpio_bindings;
desc              818 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->desc.custom_conf_items = pm8xxx_conf_items;
desc              821 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c 	pctrl->pctrl = devm_pinctrl_register(&pdev->dev, &pctrl->desc, pctrl);
desc              130 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pinctrl_desc desc;
desc              261 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	*pins = &pctrl->desc.pins[group].number;
desc              303 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[group].drv_data;
desc              323 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              373 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              445 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              469 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              493 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              510 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              534 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              549 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data;
desc              774 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc = pm8xxx_pinctrl_desc;
desc              775 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc.npins = pctrl->npins;
desc              778 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 			    pctrl->desc.npins,
desc              785 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 				pctrl->desc.npins,
desc              791 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	for (i = 0; i < pctrl->desc.npins; i++) {
desc              805 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc.pins = pins;
desc              807 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc.num_custom_params = ARRAY_SIZE(pm8xxx_mpp_bindings);
desc              808 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc.custom_params = pm8xxx_mpp_bindings;
desc              810 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->desc.custom_conf_items = pm8xxx_conf_items;
desc              813 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c 	pctrl->pctrl = devm_pinctrl_register(&pdev->dev, &pctrl->desc, pctrl);
desc              415 drivers/pinctrl/samsung/pinctrl-exynos.c static void exynos_irq_eint0_15(struct irq_desc *desc)
desc              417 drivers/pinctrl/samsung/pinctrl-exynos.c 	struct exynos_weint_data *eintd = irq_desc_get_handler_data(desc);
desc              419 drivers/pinctrl/samsung/pinctrl-exynos.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              422 drivers/pinctrl/samsung/pinctrl-exynos.c 	chained_irq_enter(chip, desc);
desc              427 drivers/pinctrl/samsung/pinctrl-exynos.c 	chained_irq_exit(chip, desc);
desc              443 drivers/pinctrl/samsung/pinctrl-exynos.c static void exynos_irq_demux_eint16_31(struct irq_desc *desc)
desc              445 drivers/pinctrl/samsung/pinctrl-exynos.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              446 drivers/pinctrl/samsung/pinctrl-exynos.c 	struct exynos_muxed_weint_data *eintd = irq_desc_get_handler_data(desc);
desc              451 drivers/pinctrl/samsung/pinctrl-exynos.c 	chained_irq_enter(chip, desc);
desc              462 drivers/pinctrl/samsung/pinctrl-exynos.c 	chained_irq_exit(chip, desc);
desc              238 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static void s3c2410_demux_eint0_3(struct irq_desc *desc)
desc              240 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              241 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct s3c24xx_eint_data *eint_data = irq_desc_get_handler_data(desc);
desc              293 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static void s3c2412_demux_eint0_3(struct irq_desc *desc)
desc              295 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct s3c24xx_eint_data *eint_data = irq_desc_get_handler_data(desc);
desc              296 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              300 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	chained_irq_enter(chip, desc);
desc              309 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	chained_irq_exit(chip, desc);
desc              355 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static inline void s3c24xx_demux_eint(struct irq_desc *desc,
desc              358 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct s3c24xx_eint_data *data = irq_desc_get_handler_data(desc);
desc              359 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              363 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	chained_irq_enter(chip, desc);
desc              383 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	chained_irq_exit(chip, desc);
desc              386 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static void s3c24xx_demux_eint4_7(struct irq_desc *desc)
desc              388 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	s3c24xx_demux_eint(desc, 0, 0xf0);
desc              391 drivers/pinctrl/samsung/pinctrl-s3c24xx.c static void s3c24xx_demux_eint8_23(struct irq_desc *desc)
desc              393 drivers/pinctrl/samsung/pinctrl-s3c24xx.c 	s3c24xx_demux_eint(desc, 8, 0xffff00);
desc              405 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static void s3c64xx_eint_gpio_irq(struct irq_desc *desc)
desc              407 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              408 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	struct s3c64xx_eint_gpio_data *data = irq_desc_get_handler_data(desc);
desc              411 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	chained_irq_enter(chip, desc);
desc              444 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	chained_irq_exit(chip, desc);
desc              594 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static inline void s3c64xx_irq_demux_eint(struct irq_desc *desc, u32 range)
desc              596 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              597 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	struct s3c64xx_eint0_data *data = irq_desc_get_handler_data(desc);
desc              601 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	chained_irq_enter(chip, desc);
desc              624 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	chained_irq_exit(chip, desc);
desc              627 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static void s3c64xx_demux_eint0_3(struct irq_desc *desc)
desc              629 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_demux_eint(desc, 0xf);
desc              632 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static void s3c64xx_demux_eint4_11(struct irq_desc *desc)
desc              634 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_demux_eint(desc, 0xff0);
desc              637 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static void s3c64xx_demux_eint12_19(struct irq_desc *desc)
desc              639 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_demux_eint(desc, 0xff000);
desc              642 drivers/pinctrl/samsung/pinctrl-s3c64xx.c static void s3c64xx_demux_eint20_27(struct irq_desc *desc)
desc              644 drivers/pinctrl/samsung/pinctrl-s3c64xx.c 	s3c64xx_irq_demux_eint(desc, 0xff00000);
desc             5778 drivers/pinctrl/sirf/pinctrl-atlas7.c static void atlas7_gpio_handle_irq(struct irq_desc *desc)
desc             5780 drivers/pinctrl/sirf/pinctrl-atlas7.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc             5785 drivers/pinctrl/sirf/pinctrl-atlas7.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             5786 drivers/pinctrl/sirf/pinctrl-atlas7.c 	unsigned int irq = irq_desc_get_irq(desc);
desc             5795 drivers/pinctrl/sirf/pinctrl-atlas7.c 	chained_irq_enter(chip, desc);
desc             5801 drivers/pinctrl/sirf/pinctrl-atlas7.c 		handle_bad_irq(desc);
desc             5827 drivers/pinctrl/sirf/pinctrl-atlas7.c 	chained_irq_exit(chip, desc);
desc              550 drivers/pinctrl/sirf/pinctrl-sirf.c static void sirfsoc_gpio_handle_irq(struct irq_desc *desc)
desc              552 drivers/pinctrl/sirf/pinctrl-sirf.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              553 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              558 drivers/pinctrl/sirf/pinctrl-sirf.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              568 drivers/pinctrl/sirf/pinctrl-sirf.c 	chained_irq_enter(chip, desc);
desc              575 drivers/pinctrl/sirf/pinctrl-sirf.c 		handle_bad_irq(desc);
desc              597 drivers/pinctrl/sirf/pinctrl-sirf.c 	chained_irq_exit(chip, desc);
desc              359 drivers/pinctrl/spear/pinctrl-plgpio.c static void plgpio_irq_handler(struct irq_desc *desc)
desc              361 drivers/pinctrl/spear/pinctrl-plgpio.c 	struct gpio_chip *gc = irq_desc_get_handler_data(desc);
desc              363 drivers/pinctrl/spear/pinctrl-plgpio.c 	struct irq_chip *irqchip = irq_desc_get_chip(desc);
desc              370 drivers/pinctrl/spear/pinctrl-plgpio.c 	chained_irq_enter(irqchip, desc);
desc              407 drivers/pinctrl/spear/pinctrl-plgpio.c 	chained_irq_exit(irqchip, desc);
desc             1489 drivers/pinctrl/stm32/pinctrl-stm32.c 	const struct pin_desc *desc = pin_desc_get(pctl->pctl_dev, pin);
desc             1502 drivers/pinctrl/stm32/pinctrl-stm32.c 	if (!desc || (!pin_is_irq && !desc->gpio_owner))
desc               81 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc               82 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc              108 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc              109 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc              480 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pin -= pctl->desc->pin_base;
desc              622 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (!pctl->desc->io_bias_cfg_variant)
desc              633 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	switch (pctl->desc->io_bias_cfg_variant) {
desc              650 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		pin -= pctl->desc->pin_base;
desc              708 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pin -= pctl->desc->pin_base;
desc              724 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct sunxi_desc_function *desc =
desc              729 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (!desc)
desc              732 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	sunxi_pmx_set(pctldev, g->pin, desc->muxval);
desc              744 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct sunxi_desc_function *desc;
desc              752 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	desc = sunxi_pinctrl_desc_find_function_by_pin(pctl, offset, func);
desc              753 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (!desc)
desc              756 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	sunxi_pmx_set(pctldev, offset, desc->muxval);
desc              765 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned short bank_offset = bank - pctl->desc->pin_base /
desc              809 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned short bank_offset = bank - pctl->desc->pin_base /
desc              845 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	bool set_mux = pctl->desc->irq_read_needs_mux &&
desc              912 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct sunxi_desc_function *desc;
desc              913 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned pinnum = pctl->desc->pin_base + offset;
desc              919 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	desc = sunxi_pinctrl_desc_find_function_by_pin(pctl, pinnum, "irq");
desc              920 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (!desc)
desc              923 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	irqnum = desc->irqbank * IRQ_PER_BANK + desc->irqnum;
desc              943 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			pctl->irq_array[d->hwirq] - pctl->desc->pin_base);
desc              961 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			      pctl->irq_array[d->hwirq] - pctl->desc->pin_base);
desc              967 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_cfg_reg(pctl->desc, d->hwirq);
desc             1014 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 status_reg = sunxi_irq_status_reg(pctl->desc, d->hwirq);
desc             1024 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_ctrl_reg(pctl->desc, d->hwirq);
desc             1041 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	u32 reg = sunxi_irq_ctrl_reg(pctl->desc, d->hwirq);
desc             1096 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct sunxi_desc_function *desc;
desc             1103 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pin = pctl->desc->pin_base + base + intspec[1];
desc             1105 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	desc = sunxi_pinctrl_desc_find_function_by_pin(pctl, pin, "irq");
desc             1106 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (!desc)
desc             1109 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	*out_hwirq = desc->irqbank * PINS_PER_BANK + desc->irqnum;
desc             1119 drivers/pinctrl/sunxi/pinctrl-sunxi.c static void sunxi_pinctrl_irq_handler(struct irq_desc *desc)
desc             1121 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	unsigned int irq = irq_desc_get_irq(desc);
desc             1122 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc             1123 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	struct sunxi_pinctrl *pctl = irq_desc_get_handler_data(desc);
desc             1126 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (bank = 0; bank < pctl->desc->irq_banks; bank++)
desc             1130 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (bank == pctl->desc->irq_banks)
desc             1133 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	reg = sunxi_irq_status_reg_from_bank(pctl->desc, bank);
desc             1139 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		chained_irq_enter(chip, desc);
desc             1145 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		chained_irq_exit(chip, desc);
desc             1189 drivers/pinctrl/sunxi/pinctrl-sunxi.c 				    pctl->desc->npins, sizeof(*pctl->groups),
desc             1194 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc             1195 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc             1219 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc             1220 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc             1251 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc             1252 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc             1342 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->irq_banks; i++) {
desc             1373 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		       sunxi_irq_debounce_reg_from_bank(pctl->desc, i));
desc             1380 drivers/pinctrl/sunxi/pinctrl-sunxi.c 				    const struct sunxi_pinctrl_desc *desc,
desc             1405 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pctl->desc = desc;
desc             1409 drivers/pinctrl/sunxi/pinctrl-sunxi.c 				       IRQ_PER_BANK * pctl->desc->irq_banks,
desc             1422 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			    pctl->desc->npins, sizeof(*pins),
desc             1427 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0, pin_idx = 0; i < pctl->desc->npins; i++) {
desc             1428 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc             1454 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	if (desc->disable_strict_mode)
desc             1469 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	last_pin = pctl->desc->pins[pctl->desc->npins - 1].pin.number;
desc             1483 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			    pctl->desc->pin_base;
desc             1486 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	pctl->chip->base = pctl->desc->pin_base;
desc             1492 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->npins; i++) {
desc             1493 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		const struct sunxi_desc_pin *pin = pctl->desc->pins + i;
desc             1496 drivers/pinctrl/sunxi/pinctrl-sunxi.c 					     pin->pin.number - pctl->desc->pin_base,
desc             1514 drivers/pinctrl/sunxi/pinctrl-sunxi.c 				 pctl->desc->irq_banks,
desc             1522 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->irq_banks; i++) {
desc             1531 drivers/pinctrl/sunxi/pinctrl-sunxi.c 					     pctl->desc->irq_banks * IRQ_PER_BANK,
desc             1540 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < (pctl->desc->irq_banks * IRQ_PER_BANK); i++) {
desc             1548 drivers/pinctrl/sunxi/pinctrl-sunxi.c 	for (i = 0; i < pctl->desc->irq_banks; i++) {
desc             1551 drivers/pinctrl/sunxi/pinctrl-sunxi.c 			  sunxi_irq_ctrl_reg_from_bank(pctl->desc, i));
desc             1554 drivers/pinctrl/sunxi/pinctrl-sunxi.c 		       sunxi_irq_status_reg_from_bank(pctl->desc, i));
desc              160 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	const struct sunxi_pinctrl_desc	*desc;
desc              295 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_hw_bank_num(const struct sunxi_pinctrl_desc *desc, u8 bank)
desc              297 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	if (!desc->irq_bank_map)
desc              300 drivers/pinctrl/sunxi/pinctrl-sunxi.h 		return desc->irq_bank_map[bank];
desc              303 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_cfg_reg(const struct sunxi_pinctrl_desc *desc,
desc              310 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	       sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE + reg;
desc              319 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_ctrl_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank)
desc              321 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	return IRQ_CTRL_REG + sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE;
desc              324 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_ctrl_reg(const struct sunxi_pinctrl_desc *desc,
desc              329 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	return sunxi_irq_ctrl_reg_from_bank(desc, bank);
desc              338 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_debounce_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank)
desc              341 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	       sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE;
desc              344 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_status_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank)
desc              347 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	       sunxi_irq_hw_bank_num(desc, bank) * IRQ_MEM_SIZE;
desc              350 drivers/pinctrl/sunxi/pinctrl-sunxi.h static inline u32 sunxi_irq_status_reg(const struct sunxi_pinctrl_desc *desc,
desc              355 drivers/pinctrl/sunxi/pinctrl-sunxi.h 	return sunxi_irq_status_reg_from_bank(desc, bank);
desc              372 drivers/pinctrl/sunxi/pinctrl-sunxi.h 				    const struct sunxi_pinctrl_desc *desc,
desc               85 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct pinctrl_desc desc;
desc              129 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	*pins = &pinctrl->desc->pins[group].number;
desc              904 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	memset(&padctl->desc, 0, sizeof(padctl->desc));
desc              905 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.name = dev_name(padctl->dev);
desc              906 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pins = tegra124_pins;
desc              907 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.npins = ARRAY_SIZE(tegra124_pins);
desc              908 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pctlops = &tegra_xusb_padctl_pinctrl_ops;
desc              909 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pmxops = &tegra_xusb_padctl_pinmux_ops;
desc              910 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.confops = &tegra_xusb_padctl_pinconf_ops;
desc              911 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.owner = THIS_MODULE;
desc              913 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->pinctrl = devm_pinctrl_register(&pdev->dev, &padctl->desc,
desc              151 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	struct pinctrl_desc desc;
desc              756 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.pins = iod->pa;
desc              757 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.npins = nr_pins;
desc              878 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.pctlops = &ti_iodelay_pinctrl_ops;
desc              880 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.confops = &ti_iodelay_pinctrl_pinconf_ops;
desc              881 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.name = dev_name(dev);
desc              882 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	iod->desc.owner = THIS_MODULE;
desc              884 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	ret = pinctrl_register_and_init(&iod->desc, dev, iod, &iod->pctl);
desc               75 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, offset);
desc               78 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	switch (uniphier_pin_get_pull_dir(desc->drv_data)) {
desc               98 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	switch (uniphier_pin_get_drv_type(desc->drv_data)) {
desc              153 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              155 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				uniphier_pin_get_drv_type(desc->drv_data);
desc              194 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	drvctrl = uniphier_pin_get_drvctrl(desc->drv_data);
desc              209 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              211 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				uniphier_pin_get_pull_dir(desc->drv_data);
desc              241 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	pupdctrl = uniphier_pin_get_pupdctrl(desc->drv_data);
desc              285 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              286 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	unsigned int iectrl = uniphier_pin_get_iectrl(desc->drv_data);
desc              346 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              348 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				uniphier_pin_get_pull_dir(desc->drv_data);
desc              360 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				desc->name);
desc              371 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				desc->name);
desc              385 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				desc->name);
desc              397 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 				desc->name);
desc              408 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	pupdctrl = uniphier_pin_get_pupdctrl(desc->drv_data);
desc              420 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              429 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			desc->name);
desc              441 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 			strength, desc->name);
desc              458 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	const struct pin_desc *desc = pin_desc_get(pctldev, pin);
desc              459 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c 	unsigned int iectrl = uniphier_pin_get_iectrl(desc->drv_data);
desc               73 drivers/platform/mellanox/mlxbf-tmfifo.c 	struct vring_desc *desc;
desc              304 drivers/platform/mellanox/mlxbf-tmfifo.c 	return &vr->desc[head];
desc              309 drivers/platform/mellanox/mlxbf-tmfifo.c 				      struct vring_desc *desc, u32 len)
desc              317 drivers/platform/mellanox/mlxbf-tmfifo.c 	vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc);
desc              331 drivers/platform/mellanox/mlxbf-tmfifo.c 				    struct vring_desc *desc)
desc              337 drivers/platform/mellanox/mlxbf-tmfifo.c 	while (desc) {
desc              338 drivers/platform/mellanox/mlxbf-tmfifo.c 		len += virtio32_to_cpu(vdev, desc->len);
desc              339 drivers/platform/mellanox/mlxbf-tmfifo.c 		if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT))
desc              341 drivers/platform/mellanox/mlxbf-tmfifo.c 		idx = virtio16_to_cpu(vdev, desc->next);
desc              342 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = &vr->desc[idx];
desc              365 drivers/platform/mellanox/mlxbf-tmfifo.c 	vring->desc = NULL;
desc              370 drivers/platform/mellanox/mlxbf-tmfifo.c 				       struct vring_desc *desc, bool is_rx)
desc              375 drivers/platform/mellanox/mlxbf-tmfifo.c 	net_hdr = phys_to_virt(virtio64_to_cpu(vdev, desc->addr));
desc              383 drivers/platform/mellanox/mlxbf-tmfifo.c 	struct vring_desc *desc;
desc              385 drivers/platform/mellanox/mlxbf-tmfifo.c 	desc = mlxbf_tmfifo_get_next_desc(vring);
desc              386 drivers/platform/mellanox/mlxbf-tmfifo.c 	if (desc && is_rx && vring->vdev_id == VIRTIO_ID_NET)
desc              387 drivers/platform/mellanox/mlxbf-tmfifo.c 		mlxbf_tmfifo_init_net_desc(vring, desc, is_rx);
desc              389 drivers/platform/mellanox/mlxbf-tmfifo.c 	vring->desc_head = desc;
desc              390 drivers/platform/mellanox/mlxbf-tmfifo.c 	vring->desc = desc;
desc              392 drivers/platform/mellanox/mlxbf-tmfifo.c 	return desc;
desc              413 drivers/platform/mellanox/mlxbf-tmfifo.c 					    struct vring_desc *desc)
desc              420 drivers/platform/mellanox/mlxbf-tmfifo.c 	while (desc) {
desc              421 drivers/platform/mellanox/mlxbf-tmfifo.c 		addr = phys_to_virt(virtio64_to_cpu(vdev, desc->addr));
desc              422 drivers/platform/mellanox/mlxbf-tmfifo.c 		len = virtio32_to_cpu(vdev, desc->len);
desc              436 drivers/platform/mellanox/mlxbf-tmfifo.c 		if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT))
desc              438 drivers/platform/mellanox/mlxbf-tmfifo.c 		idx = virtio16_to_cpu(vdev, desc->next);
desc              439 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = &vr->desc[idx];
desc              447 drivers/platform/mellanox/mlxbf-tmfifo.c 	struct vring_desc *desc;
desc              450 drivers/platform/mellanox/mlxbf-tmfifo.c 	desc = mlxbf_tmfifo_get_next_desc(vring);
desc              451 drivers/platform/mellanox/mlxbf-tmfifo.c 	while (desc) {
desc              453 drivers/platform/mellanox/mlxbf-tmfifo.c 		len = mlxbf_tmfifo_get_pkt_len(vring, desc);
desc              457 drivers/platform/mellanox/mlxbf-tmfifo.c 			mlxbf_tmfifo_release_desc(vring, desc, len);
desc              461 drivers/platform/mellanox/mlxbf-tmfifo.c 		mlxbf_tmfifo_console_output_one(cons, vring, desc);
desc              462 drivers/platform/mellanox/mlxbf-tmfifo.c 		mlxbf_tmfifo_release_desc(vring, desc, len);
desc              463 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = mlxbf_tmfifo_get_next_desc(vring);
desc              560 drivers/platform/mellanox/mlxbf-tmfifo.c 				   struct vring_desc *desc,
desc              569 drivers/platform/mellanox/mlxbf-tmfifo.c 	addr = phys_to_virt(virtio64_to_cpu(vdev, desc->addr));
desc              606 drivers/platform/mellanox/mlxbf-tmfifo.c 				     struct vring_desc *desc,
desc              645 drivers/platform/mellanox/mlxbf-tmfifo.c 			vring->desc = desc;
desc              654 drivers/platform/mellanox/mlxbf-tmfifo.c 		vring->pkt_len = mlxbf_tmfifo_get_pkt_len(vring, desc);
desc              678 drivers/platform/mellanox/mlxbf-tmfifo.c 	struct vring_desc *desc;
desc              685 drivers/platform/mellanox/mlxbf-tmfifo.c 	if (!vring->desc) {
desc              686 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = mlxbf_tmfifo_get_next_pkt(vring, is_rx);
desc              687 drivers/platform/mellanox/mlxbf-tmfifo.c 		if (!desc)
desc              690 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = vring->desc;
desc              695 drivers/platform/mellanox/mlxbf-tmfifo.c 		mlxbf_tmfifo_rxtx_header(vring, desc, is_rx, &vring_change);
desc              705 drivers/platform/mellanox/mlxbf-tmfifo.c 	len = virtio32_to_cpu(vdev, desc->len);
desc              711 drivers/platform/mellanox/mlxbf-tmfifo.c 		mlxbf_tmfifo_rxtx_word(vring, desc, is_rx, len);
desc              722 drivers/platform/mellanox/mlxbf-tmfifo.c 		    (virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) {
desc              723 drivers/platform/mellanox/mlxbf-tmfifo.c 			idx = virtio16_to_cpu(vdev, desc->next);
desc              724 drivers/platform/mellanox/mlxbf-tmfifo.c 			desc = &vr->desc[idx];
desc              730 drivers/platform/mellanox/mlxbf-tmfifo.c 		desc = NULL;
desc              741 drivers/platform/mellanox/mlxbf-tmfifo.c 	vring->desc = desc;
desc              903 drivers/platform/mellanox/mlxbf-tmfifo.c 		if (vring->desc)
desc              920 drivers/platform/mellanox/mlxbf-tmfifo.c 					struct irq_affinity *desc)
desc               81 drivers/platform/olpc/olpc-ec.c 	struct ec_cmd_desc *desc = NULL;
desc               87 drivers/platform/olpc/olpc-ec.c 		desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node);
desc               88 drivers/platform/olpc/olpc-ec.c 		list_del(&desc->node);
desc               93 drivers/platform/olpc/olpc-ec.c 	if (!desc)
desc               98 drivers/platform/olpc/olpc-ec.c 	desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen,
desc               99 drivers/platform/olpc/olpc-ec.c 			desc->outbuf, desc->outlen, ec_cb_arg);
desc              103 drivers/platform/olpc/olpc-ec.c 	complete(&desc->finished);
desc              113 drivers/platform/olpc/olpc-ec.c static void queue_ec_descriptor(struct ec_cmd_desc *desc,
desc              118 drivers/platform/olpc/olpc-ec.c 	INIT_LIST_HEAD(&desc->node);
desc              121 drivers/platform/olpc/olpc-ec.c 	list_add_tail(&desc->node, &ec->cmd_q);
desc              130 drivers/platform/olpc/olpc-ec.c 	struct ec_cmd_desc desc;
desc              148 drivers/platform/olpc/olpc-ec.c 	desc.cmd = cmd;
desc              149 drivers/platform/olpc/olpc-ec.c 	desc.inbuf = inbuf;
desc              150 drivers/platform/olpc/olpc-ec.c 	desc.outbuf = outbuf;
desc              151 drivers/platform/olpc/olpc-ec.c 	desc.inlen = inlen;
desc              152 drivers/platform/olpc/olpc-ec.c 	desc.outlen = outlen;
desc              153 drivers/platform/olpc/olpc-ec.c 	desc.err = 0;
desc              154 drivers/platform/olpc/olpc-ec.c 	init_completion(&desc.finished);
desc              156 drivers/platform/olpc/olpc-ec.c 	queue_ec_descriptor(&desc, ec);
desc              159 drivers/platform/olpc/olpc-ec.c 	wait_for_completion(&desc.finished);
desc              162 drivers/platform/olpc/olpc-ec.c 	return desc.err;
desc              424 drivers/platform/x86/asus-wmi.c 	if (strcmp(battery->desc->name, "BAT0") != 0 &&
desc              425 drivers/platform/x86/asus-wmi.c 	    strcmp(battery->desc->name, "BATT") != 0)
desc              109 drivers/platform/x86/pcengines-apuv2.c 		.desc			= "front button",
desc               73 drivers/platform/x86/surface3_button.c 	struct gpio_desc *desc;
desc               76 drivers/platform/x86/surface3_button.c 	desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS);
desc               77 drivers/platform/x86/surface3_button.c 	if (IS_ERR(desc))
desc               78 drivers/platform/x86/surface3_button.c 		return PTR_ERR(desc);
desc               80 drivers/platform/x86/surface3_button.c 	gpio = desc_to_gpio(desc);
desc               82 drivers/platform/x86/surface3_button.c 	gpiod_put(desc);
desc              122 drivers/platform/x86/surface3_button.c 		gpio_keys[n_buttons].desc = info->name;
desc             9539 drivers/platform/x86/thinkpad_acpi.c 		battery = tpacpi_battery_get_id(supply->desc->name);
desc             9606 drivers/platform/x86/thinkpad_acpi.c 		battery = tpacpi_battery_get_id(supply->desc->name);
desc             9657 drivers/platform/x86/thinkpad_acpi.c 	int batteryid = tpacpi_battery_get_id(battery->desc->name);
desc              151 drivers/pnp/base.h void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc);
desc               79 drivers/pnp/support.c void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc)
desc               84 drivers/pnp/support.c 		pnp_dbg(&dev->dev, "%s: no current resources\n", desc);
desc               86 drivers/pnp/support.c 		pnp_dbg(&dev->dev, "%s: current resources:\n", desc);
desc              861 drivers/power/supply/ab8500_btemp.c 	j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
desc              866 drivers/power/supply/ab8500_btemp.c 	for (j = 0; j < ext->desc->num_properties; j++) {
desc              868 drivers/power/supply/ab8500_btemp.c 		prop = ext->desc->properties[j];
desc              875 drivers/power/supply/ab8500_btemp.c 			switch (ext->desc->type) {
desc             1810 drivers/power/supply/ab8500_charger.c 	if (charger->psy->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc             1812 drivers/power/supply/ab8500_charger.c 	else if (charger->psy->desc->type == POWER_SUPPLY_TYPE_USB)
desc             1838 drivers/power/supply/ab8500_charger.c 	if (charger->psy->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc             1840 drivers/power/supply/ab8500_charger.c 	else if (charger->psy->desc->type == POWER_SUPPLY_TYPE_USB)
desc             1880 drivers/power/supply/ab8500_charger.c 	j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
desc             1885 drivers/power/supply/ab8500_charger.c 	for (j = 0; j < ext->desc->num_properties; j++) {
desc             1887 drivers/power/supply/ab8500_charger.c 		prop = ext->desc->properties[j];
desc             1894 drivers/power/supply/ab8500_charger.c 			switch (ext->desc->type) {
desc             2177 drivers/power/supply/ab8500_fg.c 	j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
desc             2182 drivers/power/supply/ab8500_fg.c 	for (j = 0; j < ext->desc->num_properties; j++) {
desc             2184 drivers/power/supply/ab8500_fg.c 		prop = ext->desc->properties[j];
desc             2191 drivers/power/supply/ab8500_fg.c 			switch (ext->desc->type) {
desc             2230 drivers/power/supply/ab8500_fg.c 			switch (ext->desc->type) {
desc             2260 drivers/power/supply/ab8500_fg.c 			switch (ext->desc->type) {
desc              949 drivers/power/supply/abx500_chargalg.c 	j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
desc              964 drivers/power/supply/abx500_chargalg.c 	for (j = 0; j < ext->desc->num_properties; j++) {
desc              966 drivers/power/supply/abx500_chargalg.c 		prop = ext->desc->properties[j];
desc              972 drivers/power/supply/abx500_chargalg.c 			ext->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc              975 drivers/power/supply/abx500_chargalg.c 			ext->desc->type == POWER_SUPPLY_TYPE_USB)
desc              982 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1029 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1074 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1157 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1173 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1198 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1216 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc             1234 drivers/power/supply/abx500_chargalg.c 			switch (ext->desc->type) {
desc               77 drivers/power/supply/act8945a_charger.c 	struct power_supply_desc desc;
desc              438 drivers/power/supply/act8945a_charger.c 	act8945a_set_supply_type(charger, &charger->desc.type);
desc              608 drivers/power/supply/act8945a_charger.c 	charger->desc.name = "act8945a-charger";
desc              609 drivers/power/supply/act8945a_charger.c 	charger->desc.get_property = act8945a_charger_get_property;
desc              610 drivers/power/supply/act8945a_charger.c 	charger->desc.properties = act8945a_charger_props;
desc              611 drivers/power/supply/act8945a_charger.c 	charger->desc.num_properties = ARRAY_SIZE(act8945a_charger_props);
desc              613 drivers/power/supply/act8945a_charger.c 	ret = act8945a_set_supply_type(charger, &charger->desc.type);
desc              621 drivers/power/supply/act8945a_charger.c 						  &charger->desc,
desc               51 drivers/power/supply/apm_power.c 	if (bp->bat->desc->use_for_apm) {
desc              824 drivers/power/supply/bq2415x_charger.c 		if (strcmp(psy->desc->name, bq->init_data.notify_device) != 0)
desc               93 drivers/power/supply/charger-manager.c 	switch (cm->desc->battery_present) {
desc              100 drivers/power/supply/charger-manager.c 		psy = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              111 drivers/power/supply/charger-manager.c 		for (i = 0; cm->desc->psy_charger_stat[i]; i++) {
desc              113 drivers/power/supply/charger-manager.c 					cm->desc->psy_charger_stat[i]);
desc              116 drivers/power/supply/charger-manager.c 					cm->desc->psy_charger_stat[i]);
desc              150 drivers/power/supply/charger-manager.c 	for (i = 0; cm->desc->psy_charger_stat[i]; i++) {
desc              151 drivers/power/supply/charger-manager.c 		psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]);
desc              154 drivers/power/supply/charger-manager.c 					cm->desc->psy_charger_stat[i]);
desc              184 drivers/power/supply/charger-manager.c 	fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              214 drivers/power/supply/charger-manager.c 	for (i = 0; cm->desc->psy_charger_stat[i]; i++) {
desc              221 drivers/power/supply/charger-manager.c 		psy = power_supply_get_by_name(cm->desc->psy_charger_stat[i]);
desc              224 drivers/power/supply/charger-manager.c 					cm->desc->psy_charger_stat[i]);
desc              233 drivers/power/supply/charger-manager.c 				 cm->desc->psy_charger_stat[i]);
desc              251 drivers/power/supply/charger-manager.c 				 cm->desc->psy_charger_stat[i]);
desc              273 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              284 drivers/power/supply/charger-manager.c 	fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              288 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_full_capacity > 0) {
desc              294 drivers/power/supply/charger-manager.c 		if (!ret && val.intval > desc->fullbatt_full_capacity) {
desc              301 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_uV > 0) {
desc              303 drivers/power/supply/charger-manager.c 		if (!ret && uV >= desc->fullbatt_uV) {
desc              310 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_soc > 0) {
desc              315 drivers/power/supply/charger-manager.c 		if (!ret && val.intval >= desc->fullbatt_soc) {
desc              332 drivers/power/supply/charger-manager.c 	switch (cm->desc->polling_mode) {
desc              343 drivers/power/supply/charger-manager.c 			 cm->desc->polling_mode);
desc              362 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              379 drivers/power/supply/charger-manager.c 		for (i = 0 ; i < desc->num_charger_regulators ; i++) {
desc              380 drivers/power/supply/charger-manager.c 			if (desc->charger_regulators[i].externally_control)
desc              383 drivers/power/supply/charger-manager.c 			err = regulator_enable(desc->charger_regulators[i].consumer);
desc              386 drivers/power/supply/charger-manager.c 					 desc->charger_regulators[i].regulator_name);
desc              397 drivers/power/supply/charger-manager.c 		for (i = 0 ; i < desc->num_charger_regulators ; i++) {
desc              398 drivers/power/supply/charger-manager.c 			if (desc->charger_regulators[i].externally_control)
desc              401 drivers/power/supply/charger-manager.c 			err = regulator_disable(desc->charger_regulators[i].consumer);
desc              404 drivers/power/supply/charger-manager.c 					 desc->charger_regulators[i].regulator_name);
desc              412 drivers/power/supply/charger-manager.c 		for (i = 0; i < desc->num_charger_regulators; i++) {
desc              414 drivers/power/supply/charger-manager.c 				    desc->charger_regulators[i].consumer)) {
desc              416 drivers/power/supply/charger-manager.c 					desc->charger_regulators[i].consumer);
desc              418 drivers/power/supply/charger-manager.c 					 desc->charger_regulators[i].regulator_name);
desc              518 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              524 drivers/power/supply/charger-manager.c 	if (!desc->fullbatt_vchkdrop_uV || !desc->fullbatt_vchkdrop_ms)
desc              533 drivers/power/supply/charger-manager.c 	diff = desc->fullbatt_uV - batt_uV;
desc              539 drivers/power/supply/charger-manager.c 	if (diff > desc->fullbatt_vchkdrop_uV) {
desc              557 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              562 drivers/power/supply/charger-manager.c 	if (!desc->charging_max_duration_ms &&
desc              563 drivers/power/supply/charger-manager.c 			!desc->discharging_max_duration_ms)
desc              569 drivers/power/supply/charger-manager.c 		if (duration > desc->charging_max_duration_ms) {
desc              571 drivers/power/supply/charger-manager.c 				 desc->charging_max_duration_ms);
desc              579 drivers/power/supply/charger-manager.c 		if (duration > desc->discharging_max_duration_ms &&
desc              582 drivers/power/supply/charger-manager.c 				 desc->discharging_max_duration_ms);
desc              598 drivers/power/supply/charger-manager.c 	fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              615 drivers/power/supply/charger-manager.c 	if (!cm->desc->measure_battery_temp)
desc              636 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              651 drivers/power/supply/charger-manager.c 	upper_limit = desc->temp_max;
desc              652 drivers/power/supply/charger-manager.c 	lower_limit = desc->temp_min;
desc              655 drivers/power/supply/charger-manager.c 		upper_limit -= desc->temp_diff;
desc              656 drivers/power/supply/charger-manager.c 		lower_limit += desc->temp_diff;
desc              769 drivers/power/supply/charger-manager.c 		if (is_polling_required(cm) && cm->desc->polling_interval_ms) {
desc              772 drivers/power/supply/charger-manager.c 			if (min > cm->desc->polling_interval_ms)
desc              773 drivers/power/supply/charger-manager.c 				min = cm->desc->polling_interval_ms;
desc              828 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              830 drivers/power/supply/charger-manager.c 	if (!desc->fullbatt_vchkdrop_uV || !desc->fullbatt_vchkdrop_ms)
desc              837 drivers/power/supply/charger-manager.c 			 msecs_to_jiffies(desc->fullbatt_vchkdrop_ms));
desc              839 drivers/power/supply/charger-manager.c 				       desc->fullbatt_vchkdrop_ms);
desc              877 drivers/power/supply/charger-manager.c 	if (is_polling_required(cm) && cm->desc->polling_interval_ms)
desc              887 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc              919 drivers/power/supply/charger-manager.c 		fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              937 drivers/power/supply/charger-manager.c 		fuel_gauge = power_supply_get_by_name(cm->desc->psy_fuel_gauge);
desc              970 drivers/power/supply/charger-manager.c 		if (desc->fullbatt_uV > 0 && uV >= desc->fullbatt_uV &&
desc              993 drivers/power/supply/charger-manager.c 					cm->desc->psy_fuel_gauge);
desc             1091 drivers/power/supply/charger-manager.c 		if (cm->desc->polling_interval_ms == 0)
desc             1093 drivers/power/supply/charger-manager.c 		CM_MIN_VALID(wakeup_ms, cm->desc->polling_interval_ms);
desc             1230 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc             1236 drivers/power/supply/charger-manager.c 	for (i = 0; i < desc->num_charger_regulators; i++) {
desc             1237 drivers/power/supply/charger-manager.c 		charger = &desc->charger_regulators[i];
desc             1305 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc             1322 drivers/power/supply/charger-manager.c 	for (i = 0; i < desc->num_charger_regulators; i++) {
desc             1323 drivers/power/supply/charger-manager.c 		if (&desc->charger_regulators[i] != charger &&
desc             1324 drivers/power/supply/charger-manager.c 			!desc->charger_regulators[i].externally_control) {
desc             1366 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc             1373 drivers/power/supply/charger-manager.c 	for (i = 0; i < desc->num_charger_regulators; i++) {
desc             1374 drivers/power/supply/charger-manager.c 		charger = &desc->charger_regulators[i];
desc             1387 drivers/power/supply/charger-manager.c 		desc->sysfs_groups[i] = &charger->attr_grp;
desc             1408 drivers/power/supply/charger-manager.c 		if (!desc->charger_regulators[i].externally_control ||
desc             1427 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc             1439 drivers/power/supply/charger-manager.c 		cm->desc->measure_battery_temp = true;
desc             1442 drivers/power/supply/charger-manager.c 	if (ret && desc->thermal_zone) {
desc             1444 drivers/power/supply/charger-manager.c 			thermal_zone_get_zone_by_name(desc->thermal_zone);
desc             1452 drivers/power/supply/charger-manager.c 		cm->desc->measure_battery_temp = true;
desc             1456 drivers/power/supply/charger-manager.c 	if (cm->desc->measure_battery_temp) {
desc             1458 drivers/power/supply/charger-manager.c 		if (!desc->temp_max)
desc             1459 drivers/power/supply/charger-manager.c 			desc->temp_max = CM_DEFAULT_CHARGE_TEMP_MAX;
desc             1460 drivers/power/supply/charger-manager.c 		if (!desc->temp_diff)
desc             1461 drivers/power/supply/charger-manager.c 			desc->temp_diff = CM_DEFAULT_RECHARGE_TEMP_DIFF;
desc             1476 drivers/power/supply/charger-manager.c 	struct charger_desc *desc;
desc             1482 drivers/power/supply/charger-manager.c 	desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL);
desc             1483 drivers/power/supply/charger-manager.c 	if (!desc)
desc             1486 drivers/power/supply/charger-manager.c 	of_property_read_string(np, "cm-name", &desc->psy_name);
desc             1489 drivers/power/supply/charger-manager.c 	desc->polling_mode = poll_mode;
desc             1492 drivers/power/supply/charger-manager.c 				&desc->polling_interval_ms);
desc             1495 drivers/power/supply/charger-manager.c 					&desc->fullbatt_vchkdrop_ms);
desc             1497 drivers/power/supply/charger-manager.c 					&desc->fullbatt_vchkdrop_uV);
desc             1498 drivers/power/supply/charger-manager.c 	of_property_read_u32(np, "cm-fullbatt-voltage", &desc->fullbatt_uV);
desc             1499 drivers/power/supply/charger-manager.c 	of_property_read_u32(np, "cm-fullbatt-soc", &desc->fullbatt_soc);
desc             1501 drivers/power/supply/charger-manager.c 					&desc->fullbatt_full_capacity);
desc             1504 drivers/power/supply/charger-manager.c 	desc->battery_present = battery_stat;
desc             1512 drivers/power/supply/charger-manager.c 		desc->psy_charger_stat = devm_kcalloc(dev,
desc             1516 drivers/power/supply/charger-manager.c 		if (!desc->psy_charger_stat)
desc             1521 drivers/power/supply/charger-manager.c 						      i, &desc->psy_charger_stat[i]);
desc             1524 drivers/power/supply/charger-manager.c 	of_property_read_string(np, "cm-fuel-gauge", &desc->psy_fuel_gauge);
desc             1526 drivers/power/supply/charger-manager.c 	of_property_read_string(np, "cm-thermal-zone", &desc->thermal_zone);
desc             1528 drivers/power/supply/charger-manager.c 	of_property_read_u32(np, "cm-battery-cold", &desc->temp_min);
desc             1530 drivers/power/supply/charger-manager.c 		desc->temp_min *= -1;
desc             1531 drivers/power/supply/charger-manager.c 	of_property_read_u32(np, "cm-battery-hot", &desc->temp_max);
desc             1532 drivers/power/supply/charger-manager.c 	of_property_read_u32(np, "cm-battery-temp-diff", &desc->temp_diff);
desc             1535 drivers/power/supply/charger-manager.c 				&desc->charging_max_duration_ms);
desc             1537 drivers/power/supply/charger-manager.c 				&desc->discharging_max_duration_ms);
desc             1540 drivers/power/supply/charger-manager.c 	desc->num_charger_regulators = of_get_child_count(np);
desc             1541 drivers/power/supply/charger-manager.c 	if (desc->num_charger_regulators) {
desc             1546 drivers/power/supply/charger-manager.c 					desc->num_charger_regulators,
desc             1552 drivers/power/supply/charger-manager.c 		desc->charger_regulators = chg_regs;
desc             1554 drivers/power/supply/charger-manager.c 		desc->sysfs_groups = devm_kcalloc(dev,
desc             1555 drivers/power/supply/charger-manager.c 					desc->num_charger_regulators + 1,
desc             1556 drivers/power/supply/charger-manager.c 					sizeof(*desc->sysfs_groups),
desc             1558 drivers/power/supply/charger-manager.c 		if (!desc->sysfs_groups)
desc             1600 drivers/power/supply/charger-manager.c 	return desc;
desc             1618 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm_get_drv_data(pdev);
desc             1626 drivers/power/supply/charger-manager.c 	if (IS_ERR(desc)) {
desc             1628 drivers/power/supply/charger-manager.c 		return PTR_ERR(desc);
desc             1637 drivers/power/supply/charger-manager.c 	cm->desc = desc;
desc             1652 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_uV == 0) {
desc             1655 drivers/power/supply/charger-manager.c 	if (!desc->fullbatt_vchkdrop_ms || !desc->fullbatt_vchkdrop_uV) {
desc             1657 drivers/power/supply/charger-manager.c 		desc->fullbatt_vchkdrop_ms = 0;
desc             1658 drivers/power/supply/charger-manager.c 		desc->fullbatt_vchkdrop_uV = 0;
desc             1660 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_soc == 0) {
desc             1663 drivers/power/supply/charger-manager.c 	if (desc->fullbatt_full_capacity == 0) {
desc             1667 drivers/power/supply/charger-manager.c 	if (!desc->charger_regulators || desc->num_charger_regulators < 1) {
desc             1672 drivers/power/supply/charger-manager.c 	if (!desc->psy_charger_stat || !desc->psy_charger_stat[0]) {
desc             1677 drivers/power/supply/charger-manager.c 	if (!desc->psy_fuel_gauge) {
desc             1683 drivers/power/supply/charger-manager.c 	for (i = 0; desc->psy_charger_stat[i]; i++) {
desc             1686 drivers/power/supply/charger-manager.c 		psy = power_supply_get_by_name(desc->psy_charger_stat[i]);
desc             1689 drivers/power/supply/charger-manager.c 				desc->psy_charger_stat[i]);
desc             1695 drivers/power/supply/charger-manager.c 	if (cm->desc->polling_mode != CM_POLL_DISABLE &&
desc             1696 drivers/power/supply/charger-manager.c 	    (desc->polling_interval_ms == 0 ||
desc             1697 drivers/power/supply/charger-manager.c 	     msecs_to_jiffies(desc->polling_interval_ms) <= CM_JIFFIES_SMALL)) {
desc             1702 drivers/power/supply/charger-manager.c 	if (!desc->charging_max_duration_ms ||
desc             1703 drivers/power/supply/charger-manager.c 			!desc->discharging_max_duration_ms) {
desc             1705 drivers/power/supply/charger-manager.c 		desc->charging_max_duration_ms = 0;
desc             1706 drivers/power/supply/charger-manager.c 		desc->discharging_max_duration_ms = 0;
desc             1713 drivers/power/supply/charger-manager.c 	if (!desc->psy_name)
desc             1716 drivers/power/supply/charger-manager.c 		strncpy(cm->psy_name_buf, desc->psy_name, PSY_NAME_MAX);
desc             1734 drivers/power/supply/charger-manager.c 	fuel_gauge = power_supply_get_by_name(desc->psy_fuel_gauge);
desc             1737 drivers/power/supply/charger-manager.c 			desc->psy_fuel_gauge);
desc             1757 drivers/power/supply/charger-manager.c 		cm->desc->measure_battery_temp = false;
desc             1770 drivers/power/supply/charger-manager.c 	psy_cfg.attr_grp = desc->sysfs_groups;
desc             1812 drivers/power/supply/charger-manager.c 	for (i = 0; i < desc->num_charger_regulators; i++) {
desc             1815 drivers/power/supply/charger-manager.c 		charger = &desc->charger_regulators[i];
desc             1823 drivers/power/supply/charger-manager.c 		regulator_put(desc->charger_regulators[i].consumer);
desc             1834 drivers/power/supply/charger-manager.c 	struct charger_desc *desc = cm->desc;
desc             1846 drivers/power/supply/charger-manager.c 	for (i = 0 ; i < desc->num_charger_regulators ; i++) {
desc             1848 drivers/power/supply/charger-manager.c 				= &desc->charger_regulators[i];
desc             1855 drivers/power/supply/charger-manager.c 	for (i = 0 ; i < desc->num_charger_regulators ; i++)
desc             1856 drivers/power/supply/charger-manager.c 		regulator_put(desc->charger_regulators[i].consumer);
desc             2023 drivers/power/supply/charger-manager.c 		if (match_string(cm->desc->psy_charger_stat, -1,
desc             2024 drivers/power/supply/charger-manager.c 				 psy->desc->name) >= 0) {
desc              160 drivers/power/supply/collie_battery.c 		printk(KERN_NOTICE "%s not present\n", psy->desc->name);
desc               19 drivers/power/supply/ingenic-battery.c 	struct power_supply_desc desc;
desc              128 drivers/power/supply/ingenic-battery.c 	struct power_supply_desc *desc;
desc              140 drivers/power/supply/ingenic-battery.c 	desc = &bat->desc;
desc              141 drivers/power/supply/ingenic-battery.c 	desc->name = "jz-battery";
desc              142 drivers/power/supply/ingenic-battery.c 	desc->type = POWER_SUPPLY_TYPE_BATTERY;
desc              143 drivers/power/supply/ingenic-battery.c 	desc->properties = ingenic_battery_properties;
desc              144 drivers/power/supply/ingenic-battery.c 	desc->num_properties = ARRAY_SIZE(ingenic_battery_properties);
desc              145 drivers/power/supply/ingenic-battery.c 	desc->get_property = ingenic_battery_get_property;
desc              149 drivers/power/supply/ingenic-battery.c 	bat->battery = devm_power_supply_register(dev, desc, &psy_cfg);
desc              315 drivers/power/supply/lp8727_charger.c 	val->intval = lp8727_is_charger_attached(psy->desc->name, pchg->devid);
desc              343 drivers/power/supply/lp8727_charger.c 		if (!lp8727_is_charger_attached(psy->desc->name, pchg->devid)) {
desc              405 drivers/power/supply/lp8727_charger.c 	if (!lp8727_is_charger_attached(psy->desc->name, pchg->devid))
desc              601 drivers/power/supply/lp8788-charger.c 	static const char * const desc[LP8788_MAX_CHG_STATE] = {
desc              618 drivers/power/supply/lp8788-charger.c 	return scnprintf(buf, PAGE_SIZE, "%s\n", desc[state]);
desc             1091 drivers/power/supply/max17042_battery.c 						chip->battery->desc->name,
desc               59 drivers/power/supply/pda_power.c 		if (psy->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc              573 drivers/power/supply/pm2301_charger.c 	if (charger->psy->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc              827 drivers/power/supply/pm2301_charger.c 	if (charger->psy->desc->type == POWER_SUPPLY_TYPE_MAINS)
desc               47 drivers/power/supply/power_supply_core.c 		if (!supplier->desc->name)
desc               50 drivers/power/supply/power_supply_core.c 			if (!strcmp(supplier->desc->name, supply->supplied_from[i]))
desc               53 drivers/power/supply/power_supply_core.c 		if (!supply->desc->name)
desc               56 drivers/power/supply/power_supply_core.c 			if (!strcmp(supplier->supplied_to[i], supply->desc->name))
desc               69 drivers/power/supply/power_supply_core.c 		if (pst->desc->external_power_changed)
desc               70 drivers/power/supply/power_supply_core.c 			pst->desc->external_power_changed(pst);
desc              173 drivers/power/supply/power_supply_core.c 				psy->desc->name, epsy->desc->name);
desc              174 drivers/power/supply/power_supply_core.c 			psy->supplied_from[i-1] = (char *)epsy->desc->name;
desc              319 drivers/power/supply/power_supply_core.c 		if (!epsy->desc->get_property(epsy, POWER_SUPPLY_PROP_ONLINE,
desc              351 drivers/power/supply/power_supply_core.c 	if (psy->desc->type != POWER_SUPPLY_TYPE_BATTERY)
desc              352 drivers/power/supply/power_supply_core.c 		if (!psy->desc->get_property(psy, POWER_SUPPLY_PROP_ONLINE,
desc              386 drivers/power/supply/power_supply_core.c 		if (!epsy->desc->get_property(epsy,
desc              399 drivers/power/supply/power_supply_core.c 	if (!psy->desc->set_property)
desc              414 drivers/power/supply/power_supply_core.c 	return psy->desc->set_property(psy,
desc              422 drivers/power/supply/power_supply_core.c 			psy->desc->type == POWER_SUPPLY_TYPE_BATTERY &&
desc              423 drivers/power/supply/power_supply_core.c 			psy->desc->set_charged) {
desc              424 drivers/power/supply/power_supply_core.c 		psy->desc->set_charged(psy);
desc              437 drivers/power/supply/power_supply_core.c 	return strcmp(psy->desc->name, name) == 0;
desc              782 drivers/power/supply/power_supply_core.c 	return psy->desc->get_property(psy, psp, val);
desc              790 drivers/power/supply/power_supply_core.c 	if (atomic_read(&psy->use_cnt) <= 0 || !psy->desc->set_property)
desc              793 drivers/power/supply/power_supply_core.c 	return psy->desc->set_property(psy, psp, val);
desc              801 drivers/power/supply/power_supply_core.c 			!psy->desc->property_is_writeable)
desc              804 drivers/power/supply/power_supply_core.c 	return psy->desc->property_is_writeable(psy, psp);
desc              811 drivers/power/supply/power_supply_core.c 			!psy->desc->external_power_changed)
desc              814 drivers/power/supply/power_supply_core.c 	psy->desc->external_power_changed(psy);
desc              871 drivers/power/supply/power_supply_core.c 	if (psy->desc->no_thermal)
desc              875 drivers/power/supply/power_supply_core.c 	for (i = 0; i < psy->desc->num_properties; i++) {
desc              876 drivers/power/supply/power_supply_core.c 		if (psy->desc->properties[i] == POWER_SUPPLY_PROP_TEMP) {
desc              877 drivers/power/supply/power_supply_core.c 			psy->tzd = thermal_zone_device_register(psy->desc->name,
desc              938 drivers/power/supply/power_supply_core.c 	ret = psy->desc->set_property(psy,
desc              955 drivers/power/supply/power_supply_core.c 	for (i = 0; i < psy->desc->num_properties; i++) {
desc              956 drivers/power/supply/power_supply_core.c 		if (psy->desc->properties[i] ==
desc              959 drivers/power/supply/power_supply_core.c 							(char *)psy->desc->name,
desc              995 drivers/power/supply/power_supply_core.c 				   const struct power_supply_desc *desc,
desc             1005 drivers/power/supply/power_supply_core.c 			__func__, desc->name);
desc             1007 drivers/power/supply/power_supply_core.c 	if (!desc || !desc->name || !desc->properties || !desc->num_properties)
desc             1010 drivers/power/supply/power_supply_core.c 	for (i = 0; i < desc->num_properties; ++i) {
desc             1011 drivers/power/supply/power_supply_core.c 		if ((desc->properties[i] == POWER_SUPPLY_PROP_USB_TYPE) &&
desc             1012 drivers/power/supply/power_supply_core.c 		    (!desc->usb_types || !desc->num_usb_types))
desc             1029 drivers/power/supply/power_supply_core.c 	psy->desc = desc;
desc             1039 drivers/power/supply/power_supply_core.c 	rc = dev_set_name(dev, "%s", desc->name);
desc             1127 drivers/power/supply/power_supply_core.c 		const struct power_supply_desc *desc,
desc             1130 drivers/power/supply/power_supply_core.c 	return __power_supply_register(parent, desc, cfg, true);
desc             1150 drivers/power/supply/power_supply_core.c 		const struct power_supply_desc *desc,
desc             1153 drivers/power/supply/power_supply_core.c 	return __power_supply_register(parent, desc, cfg, false);
desc             1180 drivers/power/supply/power_supply_core.c 		const struct power_supply_desc *desc,
desc             1189 drivers/power/supply/power_supply_core.c 	psy = __power_supply_register(parent, desc, cfg, true);
desc             1216 drivers/power/supply/power_supply_core.c 		const struct power_supply_desc *desc,
desc             1225 drivers/power/supply/power_supply_core.c 	psy = __power_supply_register(parent, desc, cfg, false);
desc              282 drivers/power/supply/power_supply_hwmon.c 	const struct power_supply_desc *desc = psy->desc;
desc              312 drivers/power/supply/power_supply_hwmon.c 	for (i = 0; i < desc->num_properties; i++) {
desc              313 drivers/power/supply/power_supply_hwmon.c 		const enum power_supply_property prop = desc->properties[i];
desc              338 drivers/power/supply/power_supply_hwmon.c 	name = psy->desc->name;
desc               60 drivers/power/supply/power_supply_leds.c 					"%s-charging-or-full", psy->desc->name);
desc               65 drivers/power/supply/power_supply_leds.c 					"%s-charging", psy->desc->name);
desc               69 drivers/power/supply/power_supply_leds.c 	psy->full_trig_name = kasprintf(GFP_KERNEL, "%s-full", psy->desc->name);
desc               74 drivers/power/supply/power_supply_leds.c 		"%s-charging-blink-full-solid", psy->desc->name);
desc              131 drivers/power/supply/power_supply_leds.c 					  psy->desc->name);
desc              150 drivers/power/supply/power_supply_leds.c 	if (psy->desc->type == POWER_SUPPLY_TYPE_BATTERY)
desc              158 drivers/power/supply/power_supply_leds.c 	if (psy->desc->type == POWER_SUPPLY_TYPE_BATTERY)
desc              165 drivers/power/supply/power_supply_leds.c 	if (psy->desc->type == POWER_SUPPLY_TYPE_BATTERY)
desc              124 drivers/power/supply/power_supply_sysfs.c 		value.intval = psy->desc->type;
desc              166 drivers/power/supply/power_supply_sysfs.c 		ret = power_supply_show_usb_type(dev, psy->desc->usb_types,
desc              167 drivers/power/supply/power_supply_sysfs.c 						 psy->desc->num_usb_types,
desc              330 drivers/power/supply/power_supply_sysfs.c 	for (i = 0; i < psy->desc->num_properties; i++) {
desc              331 drivers/power/supply/power_supply_sysfs.c 		int property = psy->desc->properties[i];
desc              334 drivers/power/supply/power_supply_sysfs.c 			if (psy->desc->property_is_writeable &&
desc              335 drivers/power/supply/power_supply_sysfs.c 			    psy->desc->property_is_writeable(psy, property) > 0)
desc              389 drivers/power/supply/power_supply_sysfs.c 	if (!psy || !psy->desc) {
desc              394 drivers/power/supply/power_supply_sysfs.c 	ret = add_uevent_var(env, "POWER_SUPPLY_NAME=%s", psy->desc->name);
desc              402 drivers/power/supply/power_supply_sysfs.c 	for (j = 0; j < psy->desc->num_properties; j++) {
desc              406 drivers/power/supply/power_supply_sysfs.c 		attr = &power_supply_attrs[psy->desc->properties[j]];
desc              164 drivers/power/supply/tosa_battery.c 		printk(KERN_NOTICE "%s not present\n", psy->desc->name);
desc              802 drivers/power/supply/twl4030_charger.c 	if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
desc              811 drivers/power/supply/twl4030_charger.c 		if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
desc              831 drivers/power/supply/twl4030_charger.c 		if (psy->desc->type == POWER_SUPPLY_TYPE_USB) {
desc              861 drivers/power/supply/twl4030_charger.c 		if (psy->desc->type != POWER_SUPPLY_TYPE_USB) {
desc              896 drivers/power/supply/twl4030_charger.c 		if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
desc              110 drivers/power/supply/wm97xx_battery.c 		pr_debug("%s: %i -> %i\n", bat_ps->desc->name, old_status,
desc              105 drivers/power/supply/z2_battery.c 		pr_debug("%s: %i -> %i\n", charger->batt_ps->desc->name,
desc             1671 drivers/rapidio/devices/tsi721.c 	struct tsi721_omsg_desc *desc;
desc             1690 drivers/rapidio/devices/tsi721.c 	desc = priv->omsg_ring[mbox].omd_base;
desc             1691 drivers/rapidio/devices/tsi721.c 	desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid);
desc             1695 drivers/rapidio/devices/tsi721.c 		desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF);
desc             1697 drivers/rapidio/devices/tsi721.c 	desc[tx_slot].msg_info =
desc             1700 drivers/rapidio/devices/tsi721.c 	desc[tx_slot].bufptr_lo =
desc             1703 drivers/rapidio/devices/tsi721.c 	desc[tx_slot].bufptr_hi =
desc             2447 drivers/rapidio/devices/tsi721.c 	struct tsi721_imsg_desc *desc;
desc             2459 drivers/rapidio/devices/tsi721.c 	desc = priv->imsg_ring[mbox].imd_base;
desc             2460 drivers/rapidio/devices/tsi721.c 	desc += priv->imsg_ring[mbox].desc_rdptr;
desc             2462 drivers/rapidio/devices/tsi721.c 	if (!(le32_to_cpu(desc->msg_info) & TSI721_IMD_HO))
desc             2471 drivers/rapidio/devices/tsi721.c 	rx_phys = ((u64)le32_to_cpu(desc->bufptr_hi) << 32) |
desc             2472 drivers/rapidio/devices/tsi721.c 			le32_to_cpu(desc->bufptr_lo);
desc             2478 drivers/rapidio/devices/tsi721.c 	msg_size = le32_to_cpu(desc->msg_info) & TSI721_IMD_BCOUNT;
desc             2485 drivers/rapidio/devices/tsi721.c 	desc->msg_info &= cpu_to_le32(~TSI721_IMD_HO);
desc               30 drivers/rapidio/devices/tsi721_dma.c static int tsi721_submit_sg(struct tsi721_tx_desc *desc);
desc              331 drivers/rapidio/devices/tsi721_dma.c tsi721_desc_fill_init(struct tsi721_tx_desc *desc,
desc              342 drivers/rapidio/devices/tsi721_dma.c 				      (desc->rtype << 19) | desc->destid);
desc              343 drivers/rapidio/devices/tsi721_dma.c 	bd_ptr->bcount = cpu_to_le32(((desc->rio_addr & 0x3) << 30) |
desc              345 drivers/rapidio/devices/tsi721_dma.c 	rio_addr = (desc->rio_addr >> 2) |
desc              346 drivers/rapidio/devices/tsi721_dma.c 				((u64)(desc->rio_addr_u & 0x3) << 62);
desc              373 drivers/rapidio/devices/tsi721_dma.c 			      struct tsi721_tx_desc *desc)
desc              375 drivers/rapidio/devices/tsi721_dma.c 	struct dma_async_tx_descriptor *txd = &desc->txd;
desc              379 drivers/rapidio/devices/tsi721_dma.c 	list_move(&desc->desc_node, &bdma_chan->free_list);
desc              409 drivers/rapidio/devices/tsi721_dma.c static int tsi721_submit_sg(struct tsi721_tx_desc *desc)
desc              411 drivers/rapidio/devices/tsi721_dma.c 	struct dma_chan *dchan = desc->txd.chan;
desc              435 drivers/rapidio/devices/tsi721_dma.c 	rio_addr = desc->rio_addr;
desc              453 drivers/rapidio/devices/tsi721_dma.c 	for_each_sg(desc->sg, sg, desc->sg_len, i) {
desc              456 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->id, i, desc->sg_len,
desc              482 drivers/rapidio/devices/tsi721_dma.c 		desc->rio_addr = rio_addr;
desc              488 drivers/rapidio/devices/tsi721_dma.c 			desc->sg = sg;
desc              489 drivers/rapidio/devices/tsi721_dma.c 			desc->sg_len -= i;
desc              494 drivers/rapidio/devices/tsi721_dma.c 		err = tsi721_desc_fill_init(desc, bd_ptr, sg, sys_size);
desc              501 drivers/rapidio/devices/tsi721_dma.c 			  bdma_chan->id, bd_ptr, desc->destid, desc->rio_addr);
desc              519 drivers/rapidio/devices/tsi721_dma.c 			desc->sg_len = 0;
desc              533 drivers/rapidio/devices/tsi721_dma.c 				struct tsi721_tx_desc *desc)
desc              546 drivers/rapidio/devices/tsi721_dma.c 	if (!desc && !bdma_chan->active_tx && !list_empty(&bdma_chan->queue)) {
desc              547 drivers/rapidio/devices/tsi721_dma.c 		desc = list_first_entry(&bdma_chan->queue,
desc              549 drivers/rapidio/devices/tsi721_dma.c 		list_del_init((&desc->desc_node));
desc              550 drivers/rapidio/devices/tsi721_dma.c 		bdma_chan->active_tx = desc;
desc              553 drivers/rapidio/devices/tsi721_dma.c 	if (desc) {
desc              554 drivers/rapidio/devices/tsi721_dma.c 		err = tsi721_submit_sg(desc);
desc              558 drivers/rapidio/devices/tsi721_dma.c 			tsi721_dma_tx_err(bdma_chan, desc);
desc              582 drivers/rapidio/devices/tsi721_dma.c 		struct tsi721_tx_desc *desc;
desc              584 drivers/rapidio/devices/tsi721_dma.c 		desc = bdma_chan->active_tx;
desc              588 drivers/rapidio/devices/tsi721_dma.c 			bdma_chan->id, dmac_sts, desc->destid, desc->rio_addr);
desc              639 drivers/rapidio/devices/tsi721_dma.c 		desc = bdma_chan->active_tx;
desc              640 drivers/rapidio/devices/tsi721_dma.c 		desc->status = DMA_ERROR;
desc              641 drivers/rapidio/devices/tsi721_dma.c 		dma_cookie_complete(&desc->txd);
desc              642 drivers/rapidio/devices/tsi721_dma.c 		list_add(&desc->desc_node, &bdma_chan->free_list);
desc              656 drivers/rapidio/devices/tsi721_dma.c 		struct tsi721_tx_desc *desc;
desc              660 drivers/rapidio/devices/tsi721_dma.c 		desc = bdma_chan->active_tx;
desc              662 drivers/rapidio/devices/tsi721_dma.c 		if (desc->sg_len == 0) {
desc              666 drivers/rapidio/devices/tsi721_dma.c 			desc->status = DMA_COMPLETE;
desc              667 drivers/rapidio/devices/tsi721_dma.c 			dma_cookie_complete(&desc->txd);
desc              668 drivers/rapidio/devices/tsi721_dma.c 			if (desc->txd.flags & DMA_PREP_INTERRUPT) {
desc              669 drivers/rapidio/devices/tsi721_dma.c 				callback = desc->txd.callback;
desc              670 drivers/rapidio/devices/tsi721_dma.c 				param = desc->txd.callback_param;
desc              672 drivers/rapidio/devices/tsi721_dma.c 			list_add(&desc->desc_node, &bdma_chan->free_list);
desc              693 drivers/rapidio/devices/tsi721_dma.c 	struct tsi721_tx_desc *desc = to_tsi721_desc(txd);
desc              698 drivers/rapidio/devices/tsi721_dma.c 	if (!list_empty(&desc->desc_node)) {
desc              713 drivers/rapidio/devices/tsi721_dma.c 	desc->status = DMA_IN_PROGRESS;
desc              714 drivers/rapidio/devices/tsi721_dma.c 	list_add_tail(&desc->desc_node, &bdma_chan->queue);
desc              724 drivers/rapidio/devices/tsi721_dma.c 	struct tsi721_tx_desc *desc;
desc              740 drivers/rapidio/devices/tsi721_dma.c 	desc = kcalloc(dma_txqueue_sz, sizeof(struct tsi721_tx_desc),
desc              742 drivers/rapidio/devices/tsi721_dma.c 	if (!desc) {
desc              747 drivers/rapidio/devices/tsi721_dma.c 	bdma_chan->tx_desc = desc;
desc              750 drivers/rapidio/devices/tsi721_dma.c 		dma_async_tx_descriptor_init(&desc[i].txd, dchan);
desc              751 drivers/rapidio/devices/tsi721_dma.c 		desc[i].txd.tx_submit = tsi721_tx_submit;
desc              752 drivers/rapidio/devices/tsi721_dma.c 		desc[i].txd.flags = DMA_CTRL_ACK;
desc              753 drivers/rapidio/devices/tsi721_dma.c 		list_add(&desc[i].desc_node, &bdma_chan->free_list);
desc              830 drivers/rapidio/devices/tsi721_dma.c 	struct tsi721_tx_desc *desc;
desc              869 drivers/rapidio/devices/tsi721_dma.c 		desc = list_first_entry(&bdma_chan->free_list,
desc              871 drivers/rapidio/devices/tsi721_dma.c 		list_del_init(&desc->desc_node);
desc              872 drivers/rapidio/devices/tsi721_dma.c 		desc->destid = rext->destid;
desc              873 drivers/rapidio/devices/tsi721_dma.c 		desc->rio_addr = rext->rio_addr;
desc              874 drivers/rapidio/devices/tsi721_dma.c 		desc->rio_addr_u = 0;
desc              875 drivers/rapidio/devices/tsi721_dma.c 		desc->rtype = rtype;
desc              876 drivers/rapidio/devices/tsi721_dma.c 		desc->sg_len	= sg_len;
desc              877 drivers/rapidio/devices/tsi721_dma.c 		desc->sg	= sgl;
desc              878 drivers/rapidio/devices/tsi721_dma.c 		txd		= &desc->txd;
desc              896 drivers/rapidio/devices/tsi721_dma.c 	struct tsi721_tx_desc *desc, *_d;
desc              924 drivers/rapidio/devices/tsi721_dma.c 	list_for_each_entry_safe(desc, _d, &list, desc_node)
desc              925 drivers/rapidio/devices/tsi721_dma.c 		tsi721_dma_tx_err(bdma_chan, desc);
desc               73 drivers/regulator/88pm800-regulator.c 	struct regulator_desc desc;
desc               88 drivers/regulator/88pm800-regulator.c 	.desc	= {							\
desc              118 drivers/regulator/88pm800-regulator.c 	.desc	= {							\
desc              262 drivers/regulator/88pm800-regulator.c 				&pm800_regulator_info[i].desc, &config);
desc              266 drivers/regulator/88pm800-regulator.c 					pm800_regulator_info[i].desc.name);
desc               20 drivers/regulator/88pm8607.c 	struct regulator_desc	desc;
desc              233 drivers/regulator/88pm8607.c 	.desc	= {							\
desc              249 drivers/regulator/88pm8607.c 	.desc	= {							\
desc              272 drivers/regulator/88pm8607.c 	.desc	= {							\
desc              330 drivers/regulator/88pm8607.c 			if (info->desc.vsel_reg == res->start)
desc              360 drivers/regulator/88pm8607.c 	rdev = devm_regulator_register(&pdev->dev, &info->desc, &config);
desc              363 drivers/regulator/88pm8607.c 			info->desc.name);
desc               21 drivers/regulator/aat2870-regulator.c 	struct regulator_desc desc;
desc              106 drivers/regulator/aat2870-regulator.c 		.desc = {				\
desc              131 drivers/regulator/aat2870-regulator.c 		if (ri->desc.id == id)
desc              167 drivers/regulator/aat2870-regulator.c 	rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config);
desc              170 drivers/regulator/aat2870-regulator.c 			ri->desc.name);
desc              262 drivers/regulator/ab3100.c 	if (regval >= reg->desc->n_voltages) {
desc              269 drivers/regulator/ab3100.c 	return reg->desc->volt_table[regval];
desc              501 drivers/regulator/ab3100.c 	const struct regulator_desc *desc;
desc              508 drivers/regulator/ab3100.c 		desc = &ab3100_regulator_desc[i];
desc              509 drivers/regulator/ab3100.c 		if (desc->id == id)
desc              512 drivers/regulator/ab3100.c 	if (desc->id != id)
desc              536 drivers/regulator/ab3100.c 	rdev = devm_regulator_register(&pdev->dev, desc, &config);
desc              541 drivers/regulator/ab3100.c 			__func__, desc->name,
desc              690 drivers/regulator/ab3100.c 		const struct regulator_desc *desc = &ab3100_regulator_desc[i];
desc              693 drivers/regulator/ab3100.c 						desc->id);
desc              495 drivers/regulator/ab8500-ext.c 	struct regulator_desc desc;
desc              537 drivers/regulator/ab8500-ext.c 		info->desc.name, info->update_bank, info->update_reg,
desc              573 drivers/regulator/ab8500-ext.c 		info->desc.name, info->update_bank, info->update_reg,
desc              600 drivers/regulator/ab8500-ext.c 		info->desc.name, info->update_bank, info->update_reg,
desc              652 drivers/regulator/ab8500-ext.c 			info->desc.name, info->update_bank, info->update_reg,
desc              733 drivers/regulator/ab8500-ext.c 		.desc = {
desc              751 drivers/regulator/ab8500-ext.c 		.desc = {
desc              769 drivers/regulator/ab8500-ext.c 		.desc = {
desc              833 drivers/regulator/ab8500-ext.c 		rdev = devm_regulator_register(&pdev->dev, &info->desc,
desc              837 drivers/regulator/ab8500-ext.c 					info->desc.name);
desc              841 drivers/regulator/ab8500-ext.c 		dev_dbg(&pdev->dev, "%s-probed\n", info->desc.name);
desc               65 drivers/regulator/ab8500.c 	struct regulator_desc	desc;
desc              227 drivers/regulator/ab8500.c 		info->desc.name, info->update_bank, info->update_reg,
desc              254 drivers/regulator/ab8500.c 		info->desc.name, info->update_bank, info->update_reg,
desc              282 drivers/regulator/ab8500.c 		info->desc.name, info->update_bank, info->update_reg,
desc              384 drivers/regulator/ab8500.c 			info->desc.name, bank, reg,
desc              471 drivers/regulator/ab8500.c 		info->desc.name, info->voltage_bank,
desc              504 drivers/regulator/ab8500.c 		info->desc.name, info->voltage_bank, info->voltage_reg,
desc              567 drivers/regulator/ab8500.c 		.desc = {
desc              590 drivers/regulator/ab8500.c 		.desc = {
desc              613 drivers/regulator/ab8500.c 		.desc = {
desc              636 drivers/regulator/ab8500.c 		.desc = {
desc              664 drivers/regulator/ab8500.c 		.desc = {
desc              683 drivers/regulator/ab8500.c 		.desc = {
desc              699 drivers/regulator/ab8500.c 		.desc = {
desc              715 drivers/regulator/ab8500.c 		.desc = {
desc              731 drivers/regulator/ab8500.c 		.desc = {
desc              751 drivers/regulator/ab8500.c 		.desc = {
desc              781 drivers/regulator/ab8500.c 		.desc = {
desc              802 drivers/regulator/ab8500.c 		.desc = {
desc              823 drivers/regulator/ab8500.c 		.desc = {
desc              844 drivers/regulator/ab8500.c 		.desc = {
desc              867 drivers/regulator/ab8500.c 		.desc = {
desc              889 drivers/regulator/ab8500.c 		.desc = {
desc              911 drivers/regulator/ab8500.c 		.desc = {
desc              938 drivers/regulator/ab8500.c 		.desc = {
desc              957 drivers/regulator/ab8500.c 		.desc = {
desc              975 drivers/regulator/ab8500.c 		.desc = {
desc              996 drivers/regulator/ab8500.c 		.desc = {
desc             1017 drivers/regulator/ab8500.c 		.desc = {
desc             1035 drivers/regulator/ab8500.c 		.desc = {
desc             1596 drivers/regulator/ab8500.c 		if (info->desc.id == AB8500_LDO_AUX3) {
desc             1597 drivers/regulator/ab8500.c 			info->desc.n_voltages =
desc             1599 drivers/regulator/ab8500.c 			info->desc.volt_table = ldo_vauxn_voltages;
desc             1605 drivers/regulator/ab8500.c 	rdev = devm_regulator_register(&pdev->dev, &info->desc, &config);
desc             1608 drivers/regulator/ab8500.c 			info->desc.name);
desc              240 drivers/regulator/act8865-regulator.c 	int id = rdev->desc->id, reg, val;
desc              740 drivers/regulator/act8865-regulator.c 		const struct regulator_desc *desc = &regulators[i];
desc              751 drivers/regulator/act8865-regulator.c 			rdata = act8865_get_regulator_data(desc->id, pdata);
desc              758 drivers/regulator/act8865-regulator.c 		rdev = devm_regulator_register(dev, desc, &config);
desc              760 drivers/regulator/act8865-regulator.c 			dev_err(dev, "failed to register %s\n", desc->name);
desc               49 drivers/regulator/arizona-ldo1.c 	if (sel == rdev->desc->n_voltages - 1)
desc               76 drivers/regulator/arizona-ldo1.c 		return rdev->desc->n_voltages - 1;
desc              192 drivers/regulator/arizona-ldo1.c 				     const struct regulator_desc *desc,
desc              207 drivers/regulator/arizona-ldo1.c 						       desc);
desc              228 drivers/regulator/arizona-ldo1.c 				    const struct regulator_desc *desc,
desc              249 drivers/regulator/arizona-ldo1.c 							&config, desc,
desc              279 drivers/regulator/arizona-ldo1.c 	ldo1->regulator = devm_regulator_register(&pdev->dev, desc, &config);
desc              299 drivers/regulator/arizona-ldo1.c 	const struct regulator_desc *desc;
desc              319 drivers/regulator/arizona-ldo1.c 		desc = &arizona_ldo1_hc;
desc              324 drivers/regulator/arizona-ldo1.c 		desc = &arizona_ldo1;
desc              328 drivers/regulator/arizona-ldo1.c 		desc = &arizona_ldo1;
desc              333 drivers/regulator/arizona-ldo1.c 	ret = arizona_ldo1_common_init(pdev, ldo1, desc,
desc              230 drivers/regulator/arizona-micsupp.c 					const struct regulator_desc *desc)
desc              241 drivers/regulator/arizona-micsupp.c 		init_data = of_get_regulator_init_data(config->dev, np, desc);
desc              256 drivers/regulator/arizona-micsupp.c 				       const struct regulator_desc *desc,
desc              267 drivers/regulator/arizona-micsupp.c 	micsupp->enable_reg = desc->enable_reg;
desc              276 drivers/regulator/arizona-micsupp.c 							   desc);
desc              292 drivers/regulator/arizona-micsupp.c 						     desc,
desc              312 drivers/regulator/arizona-micsupp.c 	const struct regulator_desc *desc;
desc              331 drivers/regulator/arizona-micsupp.c 		desc = &arizona_micsupp_ext;
desc              335 drivers/regulator/arizona-micsupp.c 		desc = &arizona_micsupp;
desc              340 drivers/regulator/arizona-micsupp.c 	return arizona_micsupp_common_init(pdev, micsupp, desc,
desc               30 drivers/regulator/as3711-regulator.c 	unsigned int fast_bit = rdev->desc->enable_mask,
desc               54 drivers/regulator/as3711-regulator.c 	unsigned int fast_bit = rdev->desc->enable_mask,
desc               70 drivers/regulator/as3722-regulator.c 	struct regulator_desc desc[AS3722_REGULATOR_ID_MAX];
desc              663 drivers/regulator/as3722-regulator.c 		struct regulator_desc *desc;
desc              665 drivers/regulator/as3722-regulator.c 		desc = &as3722_regs->desc[id];
desc              668 drivers/regulator/as3722-regulator.c 		desc->name = as3722_reg_lookup[id].name;
desc              669 drivers/regulator/as3722-regulator.c 		desc->supply_name = as3722_reg_lookup[id].sname;
desc              670 drivers/regulator/as3722-regulator.c 		desc->id = as3722_reg_lookup[id].regulator_id;
desc              671 drivers/regulator/as3722-regulator.c 		desc->n_voltages = as3722_reg_lookup[id].n_voltages;
desc              672 drivers/regulator/as3722-regulator.c 		desc->type = REGULATOR_VOLTAGE;
desc              673 drivers/regulator/as3722-regulator.c 		desc->owner = THIS_MODULE;
desc              674 drivers/regulator/as3722-regulator.c 		desc->enable_reg = as3722_reg_lookup[id].enable_reg;
desc              675 drivers/regulator/as3722-regulator.c 		desc->enable_mask = as3722_reg_lookup[id].enable_mask;
desc              676 drivers/regulator/as3722-regulator.c 		desc->vsel_reg = as3722_reg_lookup[id].vsel_reg;
desc              677 drivers/regulator/as3722-regulator.c 		desc->vsel_mask = as3722_reg_lookup[id].vsel_mask;
desc              684 drivers/regulator/as3722-regulator.c 			desc->min_uV = 825000;
desc              685 drivers/regulator/as3722-regulator.c 			desc->uV_step = 25000;
desc              686 drivers/regulator/as3722-regulator.c 			desc->linear_min_sel = 1;
desc              687 drivers/regulator/as3722-regulator.c 			desc->enable_time = 500;
desc              688 drivers/regulator/as3722-regulator.c 			desc->curr_table = as3722_ldo_current;
desc              689 drivers/regulator/as3722-regulator.c 			desc->n_current_limits = ARRAY_SIZE(as3722_ldo_current);
desc              690 drivers/regulator/as3722-regulator.c 			desc->csel_reg = as3722_reg_lookup[id].vsel_reg;
desc              691 drivers/regulator/as3722-regulator.c 			desc->csel_mask = AS3722_LDO_ILIMIT_MASK;
desc              698 drivers/regulator/as3722-regulator.c 			desc->min_uV = 620000;
desc              699 drivers/regulator/as3722-regulator.c 			desc->uV_step = 20000;
desc              700 drivers/regulator/as3722-regulator.c 			desc->linear_min_sel = 1;
desc              701 drivers/regulator/as3722-regulator.c 			desc->enable_time = 500;
desc              718 drivers/regulator/as3722-regulator.c 			desc->enable_time = 500;
desc              719 drivers/regulator/as3722-regulator.c 			desc->bypass_reg = AS3722_LDO6_VOLTAGE_REG;
desc              720 drivers/regulator/as3722-regulator.c 			desc->bypass_mask = AS3722_LDO_VSEL_MASK;
desc              721 drivers/regulator/as3722-regulator.c 			desc->bypass_val_on = AS3722_LDO6_VSEL_BYPASS;
desc              722 drivers/regulator/as3722-regulator.c 			desc->bypass_val_off = AS3722_LDO6_VSEL_BYPASS;
desc              723 drivers/regulator/as3722-regulator.c 			desc->linear_ranges = as3722_ldo_ranges;
desc              724 drivers/regulator/as3722-regulator.c 			desc->n_linear_ranges = ARRAY_SIZE(as3722_ldo_ranges);
desc              725 drivers/regulator/as3722-regulator.c 			desc->curr_table = as3722_ldo_current;
desc              726 drivers/regulator/as3722-regulator.c 			desc->n_current_limits = ARRAY_SIZE(as3722_ldo_current);
desc              727 drivers/regulator/as3722-regulator.c 			desc->csel_reg = as3722_reg_lookup[id].vsel_reg;
desc              728 drivers/regulator/as3722-regulator.c 			desc->csel_mask = AS3722_LDO_ILIMIT_MASK;
desc              739 drivers/regulator/as3722-regulator.c 				as3722_regs->desc[id].n_voltages =
desc              741 drivers/regulator/as3722-regulator.c 				as3722_regs->desc[id].min_uV = 410000;
desc              743 drivers/regulator/as3722-regulator.c 				as3722_regs->desc[id].n_voltages =
desc              745 drivers/regulator/as3722-regulator.c 				as3722_regs->desc[id].min_uV = 610000;
desc              747 drivers/regulator/as3722-regulator.c 			desc->uV_step = 10000;
desc              748 drivers/regulator/as3722-regulator.c 			desc->linear_min_sel = 1;
desc              749 drivers/regulator/as3722-regulator.c 			desc->enable_time = 600;
desc              750 drivers/regulator/as3722-regulator.c 			desc->curr_table = as3722_sd016_current;
desc              751 drivers/regulator/as3722-regulator.c 			desc->n_current_limits =
desc              754 drivers/regulator/as3722-regulator.c 				desc->csel_reg = AS3722_OVCURRENT_REG;
desc              755 drivers/regulator/as3722-regulator.c 				desc->csel_mask =
desc              758 drivers/regulator/as3722-regulator.c 				desc->csel_reg = AS3722_OVCURRENT_REG;
desc              759 drivers/regulator/as3722-regulator.c 				desc->csel_mask =
desc              762 drivers/regulator/as3722-regulator.c 				desc->csel_reg = AS3722_OVCURRENT_DEB_REG;
desc              763 drivers/regulator/as3722-regulator.c 				desc->csel_mask =
desc              775 drivers/regulator/as3722-regulator.c 			desc->linear_ranges = as3722_sd2345_ranges;
desc              776 drivers/regulator/as3722-regulator.c 			desc->n_linear_ranges =
desc              784 drivers/regulator/as3722-regulator.c 			desc->enable_time = 500;
desc              785 drivers/regulator/as3722-regulator.c 			desc->linear_ranges = as3722_ldo_ranges;
desc              786 drivers/regulator/as3722-regulator.c 			desc->n_linear_ranges = ARRAY_SIZE(as3722_ldo_ranges);
desc              787 drivers/regulator/as3722-regulator.c 			desc->curr_table = as3722_ldo_current;
desc              788 drivers/regulator/as3722-regulator.c 			desc->n_current_limits = ARRAY_SIZE(as3722_ldo_current);
desc              789 drivers/regulator/as3722-regulator.c 			desc->csel_reg = as3722_reg_lookup[id].vsel_reg;
desc              790 drivers/regulator/as3722-regulator.c 			desc->csel_mask = AS3722_LDO_ILIMIT_MASK;
desc              793 drivers/regulator/as3722-regulator.c 		desc->ops = ops;
desc              796 drivers/regulator/as3722-regulator.c 		rdev = devm_regulator_register(&pdev->dev, desc, &config);
desc             1267 drivers/regulator/axp20x-regulator.c 		const struct regulator_desc *desc = &regulators[i];
desc             1294 drivers/regulator/axp20x-regulator.c 			new_desc = devm_kzalloc(&pdev->dev, sizeof(*desc),
desc             1301 drivers/regulator/axp20x-regulator.c 			desc = new_desc;
desc             1306 drivers/regulator/axp20x-regulator.c 			new_desc = devm_kzalloc(&pdev->dev, sizeof(*desc),
desc             1313 drivers/regulator/axp20x-regulator.c 			desc = new_desc;
desc             1316 drivers/regulator/axp20x-regulator.c 		rdev = devm_regulator_register(&pdev->dev, desc, &config);
desc             1330 drivers/regulator/axp20x-regulator.c 					rdev->desc->name);
desc              195 drivers/regulator/bcm590xx-regulator.c 	struct regulator_desc *desc;
desc              292 drivers/regulator/bcm590xx-regulator.c 	pmu->desc = devm_kcalloc(&pdev->dev,
desc              296 drivers/regulator/bcm590xx-regulator.c 	if (!pmu->desc)
desc              303 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].name = info->name;
desc              304 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].of_match = of_match_ptr(info->name);
desc              305 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].regulators_node = of_match_ptr("regulators");
desc              306 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].supply_name = info->vin_name;
desc              307 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].id = i;
desc              308 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].volt_table = info->volt_table;
desc              309 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].n_voltages = info->n_voltages;
desc              310 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].linear_ranges = info->linear_ranges;
desc              311 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].n_linear_ranges = info->n_linear_ranges;
desc              314 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].ops = &bcm590xx_ops_ldo;
desc              315 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].vsel_mask = BCM590XX_LDO_VSEL_MASK;
desc              317 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].ops = &bcm590xx_ops_vbus;
desc              319 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].ops = &bcm590xx_ops_dcdc;
desc              320 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].vsel_mask = BCM590XX_SR_VSEL_MASK;
desc              324 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].enable_mask = BCM590XX_VBUS_ENABLE;
desc              326 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].vsel_reg = bcm590xx_get_vsel_register(i);
desc              327 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].enable_is_inverted = true;
desc              328 drivers/regulator/bcm590xx-regulator.c 			pmu->desc[i].enable_mask = BCM590XX_REG_ENABLE;
desc              330 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].enable_reg = bcm590xx_get_enable_register(i);
desc              331 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].type = REGULATOR_VOLTAGE;
desc              332 drivers/regulator/bcm590xx-regulator.c 		pmu->desc[i].owner = THIS_MODULE;
desc              341 drivers/regulator/bcm590xx-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &pmu->desc[i],
desc               58 drivers/regulator/bd70528-regulator.c 		return regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg,
desc               63 drivers/regulator/bd70528-regulator.c 		rdev->desc->name, ramp_delay);
desc               51 drivers/regulator/bd718x7-regulator.c 			rdev->desc->name, ramp_delay);
desc              320 drivers/regulator/bd718x7-regulator.c 	struct regulator_desc desc;
desc              361 drivers/regulator/bd718x7-regulator.c 			  const struct regulator_desc *desc,
desc              374 drivers/regulator/bd718x7-regulator.c 	for (i = 0; i < desc->n_voltages; i++) {
desc              375 drivers/regulator/bd718x7-regulator.c 		ret = regulator_desc_list_voltage_linear_range(desc, i);
desc              379 drivers/regulator/bd718x7-regulator.c 			i <<= ffs(desc->vsel_mask) - 1;
desc              389 drivers/regulator/bd718x7-regulator.c 			    const struct regulator_desc *desc,
desc              401 drivers/regulator/bd718x7-regulator.c 		ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap);
desc              408 drivers/regulator/bd718x7-regulator.c 			    const struct regulator_desc *desc,
desc              420 drivers/regulator/bd718x7-regulator.c 		ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap);
desc              428 drivers/regulator/bd718x7-regulator.c 			    const struct regulator_desc *desc,
desc              446 drivers/regulator/bd718x7-regulator.c 		ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap);
desc              454 drivers/regulator/bd718x7-regulator.c 			    const struct regulator_desc *desc,
desc              474 drivers/regulator/bd718x7-regulator.c 		ret = set_dvs_levels(&dvs[i], np, desc, cfg->regmap);
desc              483 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              508 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              532 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              559 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              586 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              608 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              632 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              658 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              680 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              703 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              726 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              752 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              780 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              804 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              828 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              852 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              876 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              903 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              927 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              949 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              973 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc              999 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1021 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1044 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1067 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1094 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1121 drivers/regulator/bd718x7-regulator.c 		.desc = {
desc             1220 drivers/regulator/bd718x7-regulator.c 		const struct regulator_desc *desc;
desc             1225 drivers/regulator/bd718x7-regulator.c 		desc = &r->desc;
desc             1230 drivers/regulator/bd718x7-regulator.c 		rdev = devm_regulator_register(&pdev->dev, desc, &config);
desc             1234 drivers/regulator/bd718x7-regulator.c 				desc->name);
desc             1262 drivers/regulator/bd718x7-regulator.c 					desc->name);
desc             1274 drivers/regulator/bd718x7-regulator.c 					desc->name);
desc               73 drivers/regulator/bd9571mwv-regulator.c 				 rdev->desc->vsel_mask, sel);
desc               89 drivers/regulator/bd9571mwv-regulator.c 	val &= rdev->desc->vsel_mask;
desc               90 drivers/regulator/bd9571mwv-regulator.c 	val >>= ffs(rdev->desc->vsel_mask) - 1;
desc               99 drivers/regulator/bd9571mwv-regulator.c 				 rdev->desc->vsel_mask, sel);
desc              114 drivers/regulator/core.c 	else if (rdev->desc->name)
desc              115 drivers/regulator/core.c 		return rdev->desc->name;
desc              661 drivers/regulator/core.c 	status = rdev->desc->ops->get_status(rdev);
desc              779 drivers/regulator/core.c 	switch (rdev->desc->type) {
desc              893 drivers/regulator/core.c 	ret = rdev->desc->ops->get_bypass(rdev, &bypass);
desc              924 drivers/regulator/core.c 	if (!rdev->desc->ops->get_optimum_mode &&
desc              925 drivers/regulator/core.c 	    !rdev->desc->ops->set_load)
desc              928 drivers/regulator/core.c 	if (!rdev->desc->ops->set_mode &&
desc              929 drivers/regulator/core.c 	    !rdev->desc->ops->set_load)
desc              940 drivers/regulator/core.c 	if (rdev->desc->ops->set_load) {
desc              942 drivers/regulator/core.c 		err = rdev->desc->ops->set_load(rdev, current_uA);
desc              965 drivers/regulator/core.c 		mode = rdev->desc->ops->get_optimum_mode(rdev, input_uV,
desc              976 drivers/regulator/core.c 		err = rdev->desc->ops->set_mode(rdev, mode);
desc             1000 drivers/regulator/core.c 		if (rdev->desc->ops->set_suspend_voltage ||
desc             1001 drivers/regulator/core.c 		    rdev->desc->ops->set_suspend_mode)
desc             1007 drivers/regulator/core.c 		rdev->desc->ops->set_suspend_enable)
desc             1008 drivers/regulator/core.c 		ret = rdev->desc->ops->set_suspend_enable(rdev);
desc             1010 drivers/regulator/core.c 		rdev->desc->ops->set_suspend_disable)
desc             1011 drivers/regulator/core.c 		ret = rdev->desc->ops->set_suspend_disable(rdev);
desc             1020 drivers/regulator/core.c 	if (rdev->desc->ops->set_suspend_voltage && rstate->uV > 0) {
desc             1021 drivers/regulator/core.c 		ret = rdev->desc->ops->set_suspend_voltage(rdev, rstate->uV);
desc             1028 drivers/regulator/core.c 	if (rdev->desc->ops->set_suspend_mode && rstate->mode > 0) {
desc             1029 drivers/regulator/core.c 		ret = rdev->desc->ops->set_suspend_mode(rdev, rstate->mode);
desc             1112 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             1174 drivers/regulator/core.c 	if (ops->list_voltage && rdev->desc->n_voltages) {
desc             1175 drivers/regulator/core.c 		int	count = rdev->desc->n_voltages;
desc             1243 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             1287 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             1484 drivers/regulator/core.c 			 node->regulator->desc->name,
desc             1653 drivers/regulator/core.c 	if (rdev->desc->ops->enable_time)
desc             1654 drivers/regulator/core.c 		return rdev->desc->ops->enable_time(rdev);
desc             1655 drivers/regulator/core.c 	return rdev->desc->enable_time;
desc             1794 drivers/regulator/core.c 				rdev->supply_name, rdev->desc->name);
desc             2360 drivers/regulator/core.c 	if (rdev->desc->off_on_delay) {
desc             2367 drivers/regulator/core.c 		max_delay = usecs_to_jiffies(rdev->desc->off_on_delay);
desc             2392 drivers/regulator/core.c 	} else if (rdev->desc->ops->enable) {
desc             2393 drivers/regulator/core.c 		ret = rdev->desc->ops->enable(rdev);
desc             2572 drivers/regulator/core.c 	} else if (rdev->desc->ops->disable) {
desc             2573 drivers/regulator/core.c 		ret = rdev->desc->ops->disable(rdev);
desc             2581 drivers/regulator/core.c 	if (rdev->desc->off_on_delay)
desc             2808 drivers/regulator/core.c 	if (!rdev->desc->ops->is_enabled)
desc             2811 drivers/regulator/core.c 	return rdev->desc->ops->is_enabled(rdev);
desc             2817 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             2820 drivers/regulator/core.c 	if (rdev->desc->fixed_uV && rdev->desc->n_voltages == 1 && !selector)
desc             2821 drivers/regulator/core.c 		return rdev->desc->fixed_uV;
desc             2824 drivers/regulator/core.c 		if (selector >= rdev->desc->n_voltages)
desc             2887 drivers/regulator/core.c 	if (rdev->desc->n_voltages)
desc             2888 drivers/regulator/core.c 		return rdev->desc->n_voltages;
desc             2946 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             2951 drivers/regulator/core.c 	*vsel_reg = rdev->desc->vsel_reg;
desc             2952 drivers/regulator/core.c 	*vsel_mask = rdev->desc->vsel_mask;
desc             2973 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             2975 drivers/regulator/core.c 	if (selector >= rdev->desc->n_voltages)
desc             2995 drivers/regulator/core.c 	return rdev->desc->uV_step;
desc             3024 drivers/regulator/core.c 	if (rdev->desc->continuous_voltage_range)
desc             3047 drivers/regulator/core.c 	const struct regulator_desc *desc = rdev->desc;
desc             3049 drivers/regulator/core.c 	if (desc->ops->map_voltage)
desc             3050 drivers/regulator/core.c 		return desc->ops->map_voltage(rdev, min_uV, max_uV);
desc             3052 drivers/regulator/core.c 	if (desc->ops->list_voltage == regulator_list_voltage_linear)
desc             3055 drivers/regulator/core.c 	if (desc->ops->list_voltage == regulator_list_voltage_linear_range)
desc             3058 drivers/regulator/core.c 	if (desc->ops->list_voltage ==
desc             3081 drivers/regulator/core.c 	ret = rdev->desc->ops->set_voltage(rdev, min_uV, max_uV, selector);
desc             3105 drivers/regulator/core.c 	ret = rdev->desc->ops->set_voltage_sel(rdev, selector);
desc             3118 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             3138 drivers/regulator/core.c 		for (curr_sel = old_sel + rdev->desc->vsel_step;
desc             3140 drivers/regulator/core.c 		     curr_sel += rdev->desc->vsel_step) {
desc             3153 drivers/regulator/core.c 		for (curr_sel = old_sel - rdev->desc->vsel_step;
desc             3155 drivers/regulator/core.c 		     curr_sel -= rdev->desc->vsel_step) {
desc             3182 drivers/regulator/core.c 	else if (rdev->desc->ramp_delay)
desc             3183 drivers/regulator/core.c 		ramp_delay = rdev->desc->ramp_delay;
desc             3209 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             3248 drivers/regulator/core.c 				else if (rdev->desc->vsel_step)
desc             3330 drivers/regulator/core.c 	uV = rdev->desc->ops->list_voltage(rdev, sel);
desc             3368 drivers/regulator/core.c 	if (!rdev->desc->ops->set_voltage &&
desc             3369 drivers/regulator/core.c 	    !rdev->desc->ops->set_voltage_sel) {
desc             3406 drivers/regulator/core.c 	    (rdev->desc->min_dropout_uV || !(rdev->desc->ops->get_voltage ||
desc             3407 drivers/regulator/core.c 					   rdev->desc->ops->get_voltage_sel))) {
desc             3423 drivers/regulator/core.c 		best_supply_uV += rdev->desc->min_dropout_uV;
desc             3872 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             3884 drivers/regulator/core.c 	if (!ops->list_voltage || !rdev->desc->n_voltages)
desc             3887 drivers/regulator/core.c 	for (i = 0; i < rdev->desc->n_voltages; i++) {
desc             3926 drivers/regulator/core.c 	if (!rdev->desc->ops->list_voltage)
desc             3929 drivers/regulator/core.c 	old_volt = rdev->desc->ops->list_voltage(rdev, old_selector);
desc             3930 drivers/regulator/core.c 	new_volt = rdev->desc->ops->list_voltage(rdev, new_selector);
desc             3932 drivers/regulator/core.c 	if (rdev->desc->ops->set_voltage_time)
desc             3933 drivers/regulator/core.c 		return rdev->desc->ops->set_voltage_time(rdev, old_volt,
desc             3956 drivers/regulator/core.c 	if (!rdev->desc->ops->set_voltage &&
desc             3957 drivers/regulator/core.c 	    !rdev->desc->ops->set_voltage_sel) {
desc             3993 drivers/regulator/core.c 	if (rdev->desc->ops->get_bypass) {
desc             3994 drivers/regulator/core.c 		ret = rdev->desc->ops->get_bypass(rdev, &bypassed);
desc             4009 drivers/regulator/core.c 	if (rdev->desc->ops->get_voltage_sel) {
desc             4010 drivers/regulator/core.c 		sel = rdev->desc->ops->get_voltage_sel(rdev);
desc             4013 drivers/regulator/core.c 		ret = rdev->desc->ops->list_voltage(rdev, sel);
desc             4014 drivers/regulator/core.c 	} else if (rdev->desc->ops->get_voltage) {
desc             4015 drivers/regulator/core.c 		ret = rdev->desc->ops->get_voltage(rdev);
desc             4016 drivers/regulator/core.c 	} else if (rdev->desc->ops->list_voltage) {
desc             4017 drivers/regulator/core.c 		ret = rdev->desc->ops->list_voltage(rdev, 0);
desc             4018 drivers/regulator/core.c 	} else if (rdev->desc->fixed_uV && (rdev->desc->n_voltages == 1)) {
desc             4019 drivers/regulator/core.c 		ret = rdev->desc->fixed_uV;
desc             4079 drivers/regulator/core.c 	if (!rdev->desc->ops->set_current_limit) {
desc             4089 drivers/regulator/core.c 	ret = rdev->desc->ops->set_current_limit(rdev, min_uA, max_uA);
desc             4099 drivers/regulator/core.c 	if (!rdev->desc->ops->get_current_limit)
desc             4102 drivers/regulator/core.c 	return rdev->desc->ops->get_current_limit(rdev);
desc             4151 drivers/regulator/core.c 	if (!rdev->desc->ops->set_mode) {
desc             4157 drivers/regulator/core.c 	if (rdev->desc->ops->get_mode) {
desc             4158 drivers/regulator/core.c 		regulator_curr_mode = rdev->desc->ops->get_mode(rdev);
desc             4170 drivers/regulator/core.c 	ret = rdev->desc->ops->set_mode(rdev, mode);
desc             4180 drivers/regulator/core.c 	if (!rdev->desc->ops->get_mode)
desc             4183 drivers/regulator/core.c 	return rdev->desc->ops->get_mode(rdev);
desc             4217 drivers/regulator/core.c 	if (!rdev->desc->ops->get_error_flags) {
desc             4222 drivers/regulator/core.c 	ret = rdev->desc->ops->get_error_flags(rdev, flags);
desc             4312 drivers/regulator/core.c 	if (!rdev->desc->ops->set_bypass)
desc             4324 drivers/regulator/core.c 			ret = rdev->desc->ops->set_bypass(rdev, enable);
desc             4333 drivers/regulator/core.c 			ret = rdev->desc->ops->set_bypass(rdev, enable);
desc             4668 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc             4682 drivers/regulator/core.c 		    (rdev->desc->fixed_uV && rdev->desc->n_voltages == 1))
desc             4755 drivers/regulator/core.c 	if (parent && rname == rdev->desc->name) {
desc             5092 drivers/regulator/core.c 	rdev->desc = regulator_desc;
desc             5175 drivers/regulator/core.c 	if (!rdev->desc->ops->get_voltage &&
desc             5176 drivers/regulator/core.c 	    !rdev->desc->ops->list_voltage &&
desc             5177 drivers/regulator/core.c 	    !rdev->desc->fixed_uV)
desc             5292 drivers/regulator/core.c 	if (rdev->desc->ops->resume &&
desc             5295 drivers/regulator/core.c 		ret = rdev->desc->ops->resume(rdev);
desc             5383 drivers/regulator/core.c 	return rdev->desc->id;
desc             5467 drivers/regulator/core.c 		switch (rdev->desc->type) {
desc             5490 drivers/regulator/core.c 		switch (rdev->desc->type) {
desc             5674 drivers/regulator/core.c 	const struct regulator_ops *ops = rdev->desc->ops;
desc              178 drivers/regulator/cpcap-regulator.c 	if (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC) {
desc              198 drivers/regulator/cpcap-regulator.c 	if (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC) {
desc              206 drivers/regulator/cpcap-regulator.c 	if (error && (rdev->desc->enable_val & CPCAP_REG_OFF_MODE_SEC)) {
desc              231 drivers/regulator/cpcap-regulator.c 	regmap_read(rdev->regmap, rdev->desc->enable_reg, &value);
desc              255 drivers/regulator/cpcap-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               73 drivers/regulator/da903x.c 	struct regulator_desc desc;
desc               93 drivers/regulator/da903x.c 	if (min_uV < info->desc.min_uV || min_uV > info->max_uV)
desc              106 drivers/regulator/da903x.c 	if (rdev->desc->n_voltages == 1)
desc              122 drivers/regulator/da903x.c 	if (rdev->desc->n_voltages == 1)
desc              200 drivers/regulator/da903x.c 	thresh = (info->max_uV + info->desc.min_uV) / 2;
desc              202 drivers/regulator/da903x.c 		sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step);
desc              205 drivers/regulator/da903x.c 		sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step);
desc              218 drivers/regulator/da903x.c 		volt = rdev->desc->min_uV +
desc              219 drivers/regulator/da903x.c 		       rdev->desc->uV_step * (3 - (selector & ~0x4));
desc              221 drivers/regulator/da903x.c 		volt = (info->max_uV + rdev->desc->min_uV) / 2 +
desc              222 drivers/regulator/da903x.c 		       rdev->desc->uV_step * (selector & ~0x4);
desc              311 drivers/regulator/da903x.c 	.desc	= {							\
desc              331 drivers/regulator/da903x.c 	.desc	= {							\
desc              424 drivers/regulator/da903x.c 		if (ri->desc.id == id)
desc              443 drivers/regulator/da903x.c 	if (ri->desc.id == DA9034_ID_LDO12) {
desc              444 drivers/regulator/da903x.c 		ri->desc.ops = &da9034_regulator_ldo12_ops;
desc              445 drivers/regulator/da903x.c 		ri->desc.n_voltages = 16;
desc              446 drivers/regulator/da903x.c 		ri->desc.linear_ranges = da9034_ldo12_ranges;
desc              447 drivers/regulator/da903x.c 		ri->desc.n_linear_ranges = ARRAY_SIZE(da9034_ldo12_ranges);
desc              450 drivers/regulator/da903x.c 	if (ri->desc.id == DA9030_ID_LDO14)
desc              451 drivers/regulator/da903x.c 		ri->desc.ops = &da9030_regulator_ldo14_ops;
desc              453 drivers/regulator/da903x.c 	if (ri->desc.id == DA9030_ID_LDO1 || ri->desc.id == DA9030_ID_LDO15)
desc              454 drivers/regulator/da903x.c 		ri->desc.ops = &da9030_regulator_ldo1_15_ops;
desc              460 drivers/regulator/da903x.c 	rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config);
desc              463 drivers/regulator/da903x.c 				ri->desc.name);
desc              213 drivers/regulator/da9052-regulator.c 	ret = da9052_reg_update(regulator->da9052, rdev->desc->vsel_reg,
desc              214 drivers/regulator/da9052-regulator.c 				rdev->desc->vsel_mask, selector);
desc               46 drivers/regulator/da9062-regulator.c 	struct regulator_desc desc;
desc               59 drivers/regulator/da9062-regulator.c 	struct regulator_desc			desc;
desc              255 drivers/regulator/da9062-regulator.c 	sel <<= ffs(rdev->desc->vsel_mask) - 1;
desc              258 drivers/regulator/da9062-regulator.c 				 rdev->desc->vsel_mask, sel);
desc              357 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_BUCK1,
desc              358 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 BUCK1",
desc              359 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck1"),
desc              360 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              361 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              362 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (300) * 1000,
desc              363 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (10) * 1000,
desc              364 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((1570) - (300))/(10) + 1,
desc              365 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_a_limits,
desc              366 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
desc              367 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_C,
desc              368 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
desc              369 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK1_CONT,
desc              370 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK1_EN_MASK,
desc              371 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK1_A,
desc              372 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK1_A_MASK,
desc              373 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              393 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_BUCK2,
desc              394 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 BUCK2",
desc              395 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck2"),
desc              396 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              397 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              398 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (800) * 1000,
desc              399 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (20) * 1000,
desc              400 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3340) - (800))/(20) + 1,
desc              401 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_b_limits,
desc              402 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_b_limits),
desc              403 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_A,
desc              404 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
desc              405 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK3_CONT,
desc              406 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK3_EN_MASK,
desc              407 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK3_A,
desc              408 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK3_A_MASK,
desc              409 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              429 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_BUCK3,
desc              430 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 BUCK3",
desc              431 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck3"),
desc              432 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              433 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              434 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (530) * 1000,
desc              435 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (10) * 1000,
desc              436 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((1800) - (530))/(10) + 1,
desc              437 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_a_limits,
desc              438 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
desc              439 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_B,
desc              440 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
desc              441 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK4_CONT,
desc              442 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK4_EN_MASK,
desc              443 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK4_A,
desc              444 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK4_A_MASK,
desc              445 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              465 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_LDO1,
desc              466 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 LDO1",
desc              467 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo1"),
desc              468 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              469 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              470 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              471 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              472 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              474 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO1_CONT,
desc              475 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO1_EN_MASK,
desc              476 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO1_A,
desc              477 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO1_A_MASK,
desc              478 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              498 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_LDO2,
desc              499 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 LDO2",
desc              500 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo2"),
desc              501 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              502 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              503 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              504 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              505 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              507 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO2_CONT,
desc              508 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO2_EN_MASK,
desc              509 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO2_A,
desc              510 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO2_A_MASK,
desc              511 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              531 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_LDO3,
desc              532 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 LDO3",
desc              533 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo3"),
desc              534 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              535 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              536 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              537 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              538 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              540 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO3_CONT,
desc              541 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO3_EN_MASK,
desc              542 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO3_A,
desc              543 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO3_A_MASK,
desc              544 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              564 drivers/regulator/da9062-regulator.c 		.desc.id = DA9061_ID_LDO4,
desc              565 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9061 LDO4",
desc              566 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo4"),
desc              567 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              568 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              569 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              570 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              571 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              573 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO4_CONT,
desc              574 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO4_EN_MASK,
desc              575 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO4_A,
desc              576 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO4_A_MASK,
desc              577 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              601 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_BUCK1,
desc              602 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 BUCK1",
desc              603 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck1"),
desc              604 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              605 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              606 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (300) * 1000,
desc              607 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (10) * 1000,
desc              608 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((1570) - (300))/(10) + 1,
desc              609 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_a_limits,
desc              610 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
desc              611 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_C,
desc              612 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
desc              613 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK1_CONT,
desc              614 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK1_EN_MASK,
desc              615 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK1_A,
desc              616 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK1_A_MASK,
desc              617 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              637 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_BUCK2,
desc              638 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 BUCK2",
desc              639 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck2"),
desc              640 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              641 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              642 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (300) * 1000,
desc              643 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (10) * 1000,
desc              644 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((1570) - (300))/(10) + 1,
desc              645 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_a_limits,
desc              646 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
desc              647 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_C,
desc              648 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK2_ILIM_MASK,
desc              649 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK2_CONT,
desc              650 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK2_EN_MASK,
desc              651 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK2_A,
desc              652 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK2_A_MASK,
desc              653 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              673 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_BUCK3,
desc              674 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 BUCK3",
desc              675 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck3"),
desc              676 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              677 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              678 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (800) * 1000,
desc              679 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (20) * 1000,
desc              680 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3340) - (800))/(20) + 1,
desc              681 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_b_limits,
desc              682 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_b_limits),
desc              683 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_A,
desc              684 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
desc              685 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK3_CONT,
desc              686 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK3_EN_MASK,
desc              687 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK3_A,
desc              688 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK3_A_MASK,
desc              689 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              709 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_BUCK4,
desc              710 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 BUCK4",
desc              711 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("buck4"),
desc              712 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              713 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_buck_ops,
desc              714 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (530) * 1000,
desc              715 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (10) * 1000,
desc              716 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((1800) - (530))/(10) + 1,
desc              717 drivers/regulator/da9062-regulator.c 		.desc.curr_table = da9062_buck_a_limits,
desc              718 drivers/regulator/da9062-regulator.c 		.desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
desc              719 drivers/regulator/da9062-regulator.c 		.desc.csel_reg = DA9062AA_BUCK_ILIM_B,
desc              720 drivers/regulator/da9062-regulator.c 		.desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
desc              721 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_BUCK4_CONT,
desc              722 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_BUCK4_EN_MASK,
desc              723 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VBUCK4_A,
desc              724 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VBUCK4_A_MASK,
desc              725 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = 0,
desc              745 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_LDO1,
desc              746 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 LDO1",
desc              747 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo1"),
desc              748 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              749 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              750 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              751 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              752 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              754 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO1_CONT,
desc              755 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO1_EN_MASK,
desc              756 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO1_A,
desc              757 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO1_A_MASK,
desc              758 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              778 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_LDO2,
desc              779 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 LDO2",
desc              780 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo2"),
desc              781 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              782 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              783 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              784 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              785 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              787 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO2_CONT,
desc              788 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO2_EN_MASK,
desc              789 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO2_A,
desc              790 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO2_A_MASK,
desc              791 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              811 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_LDO3,
desc              812 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 LDO3",
desc              813 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo3"),
desc              814 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              815 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              816 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              817 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              818 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              820 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO3_CONT,
desc              821 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO3_EN_MASK,
desc              822 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO3_A,
desc              823 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO3_A_MASK,
desc              824 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              844 drivers/regulator/da9062-regulator.c 		.desc.id = DA9062_ID_LDO4,
desc              845 drivers/regulator/da9062-regulator.c 		.desc.name = "DA9062 LDO4",
desc              846 drivers/regulator/da9062-regulator.c 		.desc.of_match = of_match_ptr("ldo4"),
desc              847 drivers/regulator/da9062-regulator.c 		.desc.regulators_node = of_match_ptr("regulators"),
desc              848 drivers/regulator/da9062-regulator.c 		.desc.ops = &da9062_ldo_ops,
desc              849 drivers/regulator/da9062-regulator.c 		.desc.min_uV = (900) * 1000,
desc              850 drivers/regulator/da9062-regulator.c 		.desc.uV_step = (50) * 1000,
desc              851 drivers/regulator/da9062-regulator.c 		.desc.n_voltages = ((3600) - (900))/(50) + 1
desc              853 drivers/regulator/da9062-regulator.c 		.desc.enable_reg = DA9062AA_LDO4_CONT,
desc              854 drivers/regulator/da9062-regulator.c 		.desc.enable_mask = DA9062AA_LDO4_EN_MASK,
desc              855 drivers/regulator/da9062-regulator.c 		.desc.vsel_reg = DA9062AA_VLDO4_A,
desc              856 drivers/regulator/da9062-regulator.c 		.desc.vsel_mask = DA9062AA_VLDO4_A_MASK,
desc              857 drivers/regulator/da9062-regulator.c 		.desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
desc              951 drivers/regulator/da9062-regulator.c 		regl->desc = regl->info->desc;
desc              952 drivers/regulator/da9062-regulator.c 		regl->desc.type = REGULATOR_VOLTAGE;
desc              953 drivers/regulator/da9062-regulator.c 		regl->desc.owner = THIS_MODULE;
desc              997 drivers/regulator/da9062-regulator.c 		regl->rdev = devm_regulator_register(&pdev->dev, &regl->desc,
desc             1002 drivers/regulator/da9062-regulator.c 				regl->desc.name);
desc               75 drivers/regulator/da9063-regulator.c 	struct regulator_desc desc;
desc               90 drivers/regulator/da9063-regulator.c 	.desc.id = chip##_ID_##regl_name, \
desc               91 drivers/regulator/da9063-regulator.c 	.desc.name = __stringify(chip##_##regl_name), \
desc               92 drivers/regulator/da9063-regulator.c 	.desc.ops = &da9063_ldo_ops, \
desc               93 drivers/regulator/da9063-regulator.c 	.desc.min_uV = (min_mV) * 1000, \
desc               94 drivers/regulator/da9063-regulator.c 	.desc.uV_step = (step_mV) * 1000, \
desc               95 drivers/regulator/da9063-regulator.c 	.desc.n_voltages = (((max_mV) - (min_mV))/(step_mV) + 1 \
desc               97 drivers/regulator/da9063-regulator.c 	.desc.enable_reg = DA9063_REG_##regl_name##_CONT, \
desc               98 drivers/regulator/da9063-regulator.c 	.desc.enable_mask = DA9063_LDO_EN, \
desc               99 drivers/regulator/da9063-regulator.c 	.desc.vsel_reg = DA9063_REG_V##regl_name##_A, \
desc              100 drivers/regulator/da9063-regulator.c 	.desc.vsel_mask = DA9063_V##regl_name##_MASK, \
desc              101 drivers/regulator/da9063-regulator.c 	.desc.linear_min_sel = DA9063_V##regl_name##_BIAS, \
desc              109 drivers/regulator/da9063-regulator.c 	.desc.id = chip##_ID_##regl_name, \
desc              110 drivers/regulator/da9063-regulator.c 	.desc.name = __stringify(chip##_##regl_name), \
desc              111 drivers/regulator/da9063-regulator.c 	.desc.ops = &da9063_buck_ops, \
desc              112 drivers/regulator/da9063-regulator.c 	.desc.min_uV = (min_mV) * 1000, \
desc              113 drivers/regulator/da9063-regulator.c 	.desc.uV_step = (step_mV) * 1000, \
desc              114 drivers/regulator/da9063-regulator.c 	.desc.n_voltages = ((max_mV) - (min_mV))/(step_mV) + 1, \
desc              115 drivers/regulator/da9063-regulator.c 	.desc.csel_reg = (creg), \
desc              116 drivers/regulator/da9063-regulator.c 	.desc.csel_mask = (cmask), \
desc              117 drivers/regulator/da9063-regulator.c 	.desc.curr_table = limits_array, \
desc              118 drivers/regulator/da9063-regulator.c 	.desc.n_current_limits = ARRAY_SIZE(limits_array)
desc              121 drivers/regulator/da9063-regulator.c 	.desc.enable_reg = DA9063_REG_##regl_name##_CONT, \
desc              122 drivers/regulator/da9063-regulator.c 	.desc.enable_mask = DA9063_BUCK_EN, \
desc              123 drivers/regulator/da9063-regulator.c 	.desc.vsel_reg = DA9063_REG_V##regl_name##_A, \
desc              124 drivers/regulator/da9063-regulator.c 	.desc.vsel_mask = DA9063_VBUCK_MASK, \
desc              125 drivers/regulator/da9063-regulator.c 	.desc.linear_min_sel = DA9063_VBUCK_BIAS, \
desc              140 drivers/regulator/da9063-regulator.c 	struct regulator_desc			desc;
desc              367 drivers/regulator/da9063-regulator.c 	sel <<= ffs(rdev->desc->vsel_mask) - 1;
desc              370 drivers/regulator/da9063-regulator.c 				 rdev->desc->vsel_mask, sel);
desc              812 drivers/regulator/da9063-regulator.c 		regl->desc = regl->info->desc;
desc              813 drivers/regulator/da9063-regulator.c 		regl->desc.type = REGULATOR_VOLTAGE;
desc              814 drivers/regulator/da9063-regulator.c 		regl->desc.owner = THIS_MODULE;
desc              852 drivers/regulator/da9063-regulator.c 		regl->rdev = devm_regulator_register(&pdev->dev, &regl->desc,
desc              857 drivers/regulator/da9063-regulator.c 				regl->desc.name);
desc               33 drivers/regulator/db8500-prcmu.c 		info->desc.name);
desc               53 drivers/regulator/db8500-prcmu.c 		info->desc.name);
desc               72 drivers/regulator/db8500-prcmu.c 		" %i\n", info->desc.name, info->is_enabled);
desc              150 drivers/regulator/db8500-prcmu.c 		info->desc.name);
desc              156 drivers/regulator/db8500-prcmu.c 			info->desc.name);
desc              174 drivers/regulator/db8500-prcmu.c 		info->desc.name);
desc              180 drivers/regulator/db8500-prcmu.c 			info->desc.name);
desc              198 drivers/regulator/db8500-prcmu.c 		info->desc.name, info->is_enabled);
desc              215 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              225 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              235 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              245 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              255 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              265 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              278 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              288 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              298 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              309 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              321 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              332 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              343 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              355 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              366 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              377 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              388 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              400 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              412 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              424 drivers/regulator/db8500-prcmu.c 		.desc = {
desc              456 drivers/regulator/db8500-prcmu.c 		rdev = devm_regulator_register(&pdev->dev, &info->desc,
desc              461 drivers/regulator/db8500-prcmu.c 				info->desc.name, err);
desc              464 drivers/regulator/db8500-prcmu.c 		dev_dbg(&pdev->dev, "regulator-%s-probed\n", info->desc.name);
desc              103 drivers/regulator/dbx500-prcmu.c 			   info->desc.name,
desc               23 drivers/regulator/dbx500-prcmu.h 	struct regulator_desc desc;
desc               91 drivers/regulator/fan53555.c 	struct regulator_desc desc;
desc              121 drivers/regulator/fan53555.c 				 di->desc.vsel_mask, ret);
desc              390 drivers/regulator/fan53555.c 	struct regulator_desc *rdesc = &di->desc;
desc              406 drivers/regulator/fan53555.c 	rdev = devm_regulator_register(di->dev, &di->desc, config);
desc              417 drivers/regulator/fan53555.c 					      const struct regulator_desc *desc)
desc              427 drivers/regulator/fan53555.c 	pdata->regulator = of_get_regulator_init_data(dev, np, desc);
desc              473 drivers/regulator/fan53555.c 		pdata = fan53555_parse_dt(&client->dev, np, &di->desc);
desc               33 drivers/regulator/fixed.c 	struct regulator_desc desc;
desc               95 drivers/regulator/fixed.c 			    const struct regulator_desc *desc)
desc              106 drivers/regulator/fixed.c 	config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc);
desc              159 drivers/regulator/fixed.c 						     &drvdata->desc);
desc              169 drivers/regulator/fixed.c 	drvdata->desc.name = devm_kstrdup(&pdev->dev,
desc              172 drivers/regulator/fixed.c 	if (drvdata->desc.name == NULL) {
desc              176 drivers/regulator/fixed.c 	drvdata->desc.type = REGULATOR_VOLTAGE;
desc              177 drivers/regulator/fixed.c 	drvdata->desc.owner = THIS_MODULE;
desc              180 drivers/regulator/fixed.c 		drvdata->desc.ops = &fixed_voltage_clkenabled_ops;
desc              188 drivers/regulator/fixed.c 		drvdata->desc.ops = &fixed_voltage_ops;
desc              191 drivers/regulator/fixed.c 	drvdata->desc.enable_time = config->startup_delay;
desc              194 drivers/regulator/fixed.c 		drvdata->desc.supply_name = devm_kstrdup(&pdev->dev,
desc              197 drivers/regulator/fixed.c 		if (!drvdata->desc.supply_name) {
desc              205 drivers/regulator/fixed.c 		drvdata->desc.n_voltages = 1;
desc              207 drivers/regulator/fixed.c 	drvdata->desc.fixed_uV = config->microvolts;
desc              244 drivers/regulator/fixed.c 	drvdata->dev = devm_regulator_register(&pdev->dev, &drvdata->desc,
desc              254 drivers/regulator/fixed.c 	dev_dbg(&pdev->dev, "%s supplying %duV\n", drvdata->desc.name,
desc              255 drivers/regulator/fixed.c 		drvdata->desc.fixed_uV);
desc               34 drivers/regulator/gpio-regulator.c 	struct regulator_desc desc;
desc              131 drivers/regulator/gpio-regulator.c 			     const struct regulator_desc *desc)
desc              145 drivers/regulator/gpio-regulator.c 	config->init_data = of_get_regulator_init_data(dev, np, desc);
desc              242 drivers/regulator/gpio-regulator.c 						      &drvdata->desc);
desc              247 drivers/regulator/gpio-regulator.c 	drvdata->desc.name = devm_kstrdup(dev, config->supply_name, GFP_KERNEL);
desc              248 drivers/regulator/gpio-regulator.c 	if (drvdata->desc.name == NULL) {
desc              265 drivers/regulator/gpio-regulator.c 		gpiod_set_consumer_name(drvdata->gpiods[i], drvdata->desc.name);
desc              280 drivers/regulator/gpio-regulator.c 	drvdata->desc.owner = THIS_MODULE;
desc              281 drivers/regulator/gpio-regulator.c 	drvdata->desc.enable_time = config->startup_delay;
desc              286 drivers/regulator/gpio-regulator.c 		drvdata->desc.type = REGULATOR_VOLTAGE;
desc              287 drivers/regulator/gpio-regulator.c 		drvdata->desc.ops = &gpio_regulator_voltage_ops;
desc              288 drivers/regulator/gpio-regulator.c 		drvdata->desc.n_voltages = config->nr_states;
desc              291 drivers/regulator/gpio-regulator.c 		drvdata->desc.type = REGULATOR_CURRENT;
desc              292 drivers/regulator/gpio-regulator.c 		drvdata->desc.ops = &gpio_regulator_current_ops;
desc              325 drivers/regulator/gpio-regulator.c 	rdev = devm_regulator_register(dev, &drvdata->desc, &cfg);
desc               32 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val);
desc               36 drivers/regulator/helpers.c 	val &= rdev->desc->enable_mask;
desc               38 drivers/regulator/helpers.c 	if (rdev->desc->enable_is_inverted) {
desc               39 drivers/regulator/helpers.c 		if (rdev->desc->enable_val)
desc               40 drivers/regulator/helpers.c 			return val != rdev->desc->enable_val;
desc               43 drivers/regulator/helpers.c 		if (rdev->desc->enable_val)
desc               44 drivers/regulator/helpers.c 			return val == rdev->desc->enable_val;
desc               63 drivers/regulator/helpers.c 	if (rdev->desc->enable_is_inverted) {
desc               64 drivers/regulator/helpers.c 		val = rdev->desc->disable_val;
desc               66 drivers/regulator/helpers.c 		val = rdev->desc->enable_val;
desc               68 drivers/regulator/helpers.c 			val = rdev->desc->enable_mask;
desc               71 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               72 drivers/regulator/helpers.c 				  rdev->desc->enable_mask, val);
desc               89 drivers/regulator/helpers.c 	if (rdev->desc->enable_is_inverted) {
desc               90 drivers/regulator/helpers.c 		val = rdev->desc->enable_val;
desc               92 drivers/regulator/helpers.c 			val = rdev->desc->enable_mask;
desc               94 drivers/regulator/helpers.c 		val = rdev->desc->disable_val;
desc               97 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               98 drivers/regulator/helpers.c 				  rdev->desc->enable_mask, val);
desc              107 drivers/regulator/helpers.c 	if (!rdev->desc->linear_range_selectors)
desc              110 drivers/regulator/helpers.c 	rval &= rdev->desc->vsel_range_mask;
desc              112 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_linear_ranges; i++) {
desc              113 drivers/regulator/helpers.c 		if (rdev->desc->linear_range_selectors[i] == rval)
desc              137 drivers/regulator/helpers.c 	if (!rdev->desc->linear_ranges)
desc              140 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val);
desc              144 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->vsel_range_reg, &r_val);
desc              148 drivers/regulator/helpers.c 	val &= rdev->desc->vsel_mask;
desc              149 drivers/regulator/helpers.c 	val >>= ffs(rdev->desc->vsel_mask) - 1;
desc              156 drivers/regulator/helpers.c 		voltages_in_range += (rdev->desc->linear_ranges[i].max_sel -
desc              157 drivers/regulator/helpers.c 				     rdev->desc->linear_ranges[i].min_sel) + 1;
desc              181 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_linear_ranges; i++) {
desc              182 drivers/regulator/helpers.c 		voltages_in_range = (rdev->desc->linear_ranges[i].max_sel -
desc              183 drivers/regulator/helpers.c 				     rdev->desc->linear_ranges[i].min_sel) + 1;
desc              189 drivers/regulator/helpers.c 	if (i == rdev->desc->n_linear_ranges)
desc              192 drivers/regulator/helpers.c 	sel <<= ffs(rdev->desc->vsel_mask) - 1;
desc              193 drivers/regulator/helpers.c 	sel += rdev->desc->linear_ranges[i].min_sel;
desc              195 drivers/regulator/helpers.c 	range = rdev->desc->linear_range_selectors[i];
desc              197 drivers/regulator/helpers.c 	if (rdev->desc->vsel_reg == rdev->desc->vsel_range_reg) {
desc              199 drivers/regulator/helpers.c 					 rdev->desc->vsel_reg,
desc              200 drivers/regulator/helpers.c 					 rdev->desc->vsel_range_mask |
desc              201 drivers/regulator/helpers.c 					 rdev->desc->vsel_mask, sel | range);
desc              204 drivers/regulator/helpers.c 					 rdev->desc->vsel_range_reg,
desc              205 drivers/regulator/helpers.c 					 rdev->desc->vsel_range_mask, range);
desc              209 drivers/regulator/helpers.c 		ret = regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg,
desc              210 drivers/regulator/helpers.c 				  rdev->desc->vsel_mask, sel);
desc              216 drivers/regulator/helpers.c 	if (rdev->desc->apply_bit)
desc              217 drivers/regulator/helpers.c 		ret = regmap_update_bits(rdev->regmap, rdev->desc->apply_reg,
desc              218 drivers/regulator/helpers.c 					 rdev->desc->apply_bit,
desc              219 drivers/regulator/helpers.c 					 rdev->desc->apply_bit);
desc              238 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val);
desc              242 drivers/regulator/helpers.c 	val &= rdev->desc->vsel_mask;
desc              243 drivers/regulator/helpers.c 	val >>= ffs(rdev->desc->vsel_mask) - 1;
desc              263 drivers/regulator/helpers.c 	sel <<= ffs(rdev->desc->vsel_mask) - 1;
desc              265 drivers/regulator/helpers.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg,
desc              266 drivers/regulator/helpers.c 				  rdev->desc->vsel_mask, sel);
desc              270 drivers/regulator/helpers.c 	if (rdev->desc->apply_bit)
desc              271 drivers/regulator/helpers.c 		ret = regmap_update_bits(rdev->regmap, rdev->desc->apply_reg,
desc              272 drivers/regulator/helpers.c 					 rdev->desc->apply_bit,
desc              273 drivers/regulator/helpers.c 					 rdev->desc->apply_bit);
desc              300 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_voltages; i++) {
desc              301 drivers/regulator/helpers.c 		ret = rdev->desc->ops->list_voltage(rdev, i);
desc              333 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_voltages; i++) {
desc              334 drivers/regulator/helpers.c 		ret = rdev->desc->ops->list_voltage(rdev, i);
desc              365 drivers/regulator/helpers.c 	if (rdev->desc->n_voltages == 1 && rdev->desc->uV_step == 0) {
desc              366 drivers/regulator/helpers.c 		if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV)
desc              372 drivers/regulator/helpers.c 	if (!rdev->desc->uV_step) {
desc              373 drivers/regulator/helpers.c 		BUG_ON(!rdev->desc->uV_step);
desc              377 drivers/regulator/helpers.c 	if (min_uV < rdev->desc->min_uV)
desc              378 drivers/regulator/helpers.c 		min_uV = rdev->desc->min_uV;
desc              380 drivers/regulator/helpers.c 	ret = DIV_ROUND_UP(min_uV - rdev->desc->min_uV, rdev->desc->uV_step);
desc              384 drivers/regulator/helpers.c 	ret += rdev->desc->linear_min_sel;
desc              387 drivers/regulator/helpers.c 	voltage = rdev->desc->ops->list_voltage(rdev, ret);
desc              412 drivers/regulator/helpers.c 	if (!rdev->desc->n_linear_ranges) {
desc              413 drivers/regulator/helpers.c 		BUG_ON(!rdev->desc->n_linear_ranges);
desc              417 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_linear_ranges; i++) {
desc              420 drivers/regulator/helpers.c 		range = &rdev->desc->linear_ranges[i];
desc              446 drivers/regulator/helpers.c 		voltage = rdev->desc->ops->list_voltage(rdev, ret);
desc              451 drivers/regulator/helpers.c 	if (i == rdev->desc->n_linear_ranges)
desc              476 drivers/regulator/helpers.c 	if (!rdev->desc->n_linear_ranges) {
desc              477 drivers/regulator/helpers.c 		BUG_ON(!rdev->desc->n_linear_ranges);
desc              481 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_linear_ranges; i++) {
desc              484 drivers/regulator/helpers.c 		range = &rdev->desc->linear_ranges[i];
desc              508 drivers/regulator/helpers.c 		voltage = rdev->desc->ops->list_voltage(rdev, ret);
desc              521 drivers/regulator/helpers.c 	if (i == rdev->desc->n_linear_ranges)
desc              541 drivers/regulator/helpers.c 	if (selector >= rdev->desc->n_voltages)
desc              543 drivers/regulator/helpers.c 	if (selector < rdev->desc->linear_min_sel)
desc              546 drivers/regulator/helpers.c 	selector -= rdev->desc->linear_min_sel;
desc              548 drivers/regulator/helpers.c 	return rdev->desc->min_uV + (rdev->desc->uV_step * selector);
desc              568 drivers/regulator/helpers.c 	if (!rdev->desc->n_linear_ranges) {
desc              569 drivers/regulator/helpers.c 		BUG_ON(!rdev->desc->n_linear_ranges);
desc              573 drivers/regulator/helpers.c 	for (i = 0; i < rdev->desc->n_linear_ranges; i++) {
desc              576 drivers/regulator/helpers.c 		range = &rdev->desc->linear_ranges[i];
desc              604 drivers/regulator/helpers.c int regulator_desc_list_voltage_linear_range(const struct regulator_desc *desc,
desc              610 drivers/regulator/helpers.c 	if (!desc->n_linear_ranges) {
desc              611 drivers/regulator/helpers.c 		BUG_ON(!desc->n_linear_ranges);
desc              615 drivers/regulator/helpers.c 	for (i = 0; i < desc->n_linear_ranges; i++) {
desc              616 drivers/regulator/helpers.c 		range = &desc->linear_ranges[i];
desc              644 drivers/regulator/helpers.c 	return regulator_desc_list_voltage_linear_range(rdev->desc, selector);
desc              661 drivers/regulator/helpers.c 	if (!rdev->desc->volt_table) {
desc              662 drivers/regulator/helpers.c 		BUG_ON(!rdev->desc->volt_table);
desc              666 drivers/regulator/helpers.c 	if (selector >= rdev->desc->n_voltages)
desc              669 drivers/regulator/helpers.c 	return rdev->desc->volt_table[selector];
desc              684 drivers/regulator/helpers.c 		val = rdev->desc->bypass_val_on;
desc              686 drivers/regulator/helpers.c 			val = rdev->desc->bypass_mask;
desc              688 drivers/regulator/helpers.c 		val = rdev->desc->bypass_val_off;
desc              691 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->bypass_reg,
desc              692 drivers/regulator/helpers.c 				  rdev->desc->bypass_mask, val);
desc              705 drivers/regulator/helpers.c 	val = rdev->desc->soft_start_val_on;
desc              707 drivers/regulator/helpers.c 		val = rdev->desc->soft_start_mask;
desc              709 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->soft_start_reg,
desc              710 drivers/regulator/helpers.c 				  rdev->desc->soft_start_mask, val);
desc              723 drivers/regulator/helpers.c 	val = rdev->desc->pull_down_val_on;
desc              725 drivers/regulator/helpers.c 		val = rdev->desc->pull_down_mask;
desc              727 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->pull_down_reg,
desc              728 drivers/regulator/helpers.c 				  rdev->desc->pull_down_mask, val);
desc              741 drivers/regulator/helpers.c 	unsigned int val_on = rdev->desc->bypass_val_on;
desc              744 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->bypass_reg, &val);
desc              749 drivers/regulator/helpers.c 		val_on = rdev->desc->bypass_mask;
desc              751 drivers/regulator/helpers.c 	*enable = (val & rdev->desc->bypass_mask) == val_on;
desc              770 drivers/regulator/helpers.c 		val = rdev->desc->active_discharge_on;
desc              772 drivers/regulator/helpers.c 		val = rdev->desc->active_discharge_off;
desc              775 drivers/regulator/helpers.c 				  rdev->desc->active_discharge_reg,
desc              776 drivers/regulator/helpers.c 				  rdev->desc->active_discharge_mask, val);
desc              794 drivers/regulator/helpers.c 	unsigned int n_currents = rdev->desc->n_current_limits;
desc              800 drivers/regulator/helpers.c 	if (rdev->desc->curr_table) {
desc              801 drivers/regulator/helpers.c 		const unsigned int *curr_table = rdev->desc->curr_table;
desc              827 drivers/regulator/helpers.c 	sel <<= ffs(rdev->desc->csel_mask) - 1;
desc              829 drivers/regulator/helpers.c 	return regmap_update_bits(rdev->regmap, rdev->desc->csel_reg,
desc              830 drivers/regulator/helpers.c 				  rdev->desc->csel_mask, sel);
desc              848 drivers/regulator/helpers.c 	ret = regmap_read(rdev->regmap, rdev->desc->csel_reg, &val);
desc              852 drivers/regulator/helpers.c 	val &= rdev->desc->csel_mask;
desc              853 drivers/regulator/helpers.c 	val >>= ffs(rdev->desc->csel_mask) - 1;
desc              855 drivers/regulator/helpers.c 	if (rdev->desc->curr_table) {
desc              856 drivers/regulator/helpers.c 		if (val >= rdev->desc->n_current_limits)
desc              859 drivers/regulator/helpers.c 		return rdev->desc->curr_table[val];
desc               39 drivers/regulator/hi6421-regulator.c 	struct regulator_desc	desc;
desc              132 drivers/regulator/hi6421-regulator.c 		.desc = {						\
desc              171 drivers/regulator/hi6421-regulator.c 		.desc = {						\
desc              211 drivers/regulator/hi6421-regulator.c 		.desc = {						\
desc              248 drivers/regulator/hi6421-regulator.c 		.desc = {						\
desc              285 drivers/regulator/hi6421-regulator.c 		.desc = {						\
desc              391 drivers/regulator/hi6421-regulator.c 	regmap_read(rdev->regmap, rdev->desc->enable_reg, &reg_val);
desc              403 drivers/regulator/hi6421-regulator.c 	regmap_read(rdev->regmap, rdev->desc->enable_reg, &reg_val);
desc              428 drivers/regulator/hi6421-regulator.c 	regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              452 drivers/regulator/hi6421-regulator.c 	regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              556 drivers/regulator/hi6421-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &info->desc,
desc              560 drivers/regulator/hi6421-regulator.c 				info->desc.name);
desc              118 drivers/regulator/hi6421v530-regulator.c 	regmap_read(rdev->regmap, rdev->desc->enable_reg, &reg_val);
desc              144 drivers/regulator/hi6421v530-regulator.c 	regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               78 drivers/regulator/hi655x-regulator.c 	return (value & rdev->desc->enable_mask);
desc               86 drivers/regulator/hi655x-regulator.c 			    rdev->desc->enable_mask);
desc               59 drivers/regulator/internal.h 			         const struct regulator_desc *desc,
desc               79 drivers/regulator/internal.h 			   const struct regulator_desc *desc,
desc              112 drivers/regulator/lochnagar-regulator.c 				      const struct regulator_desc *desc,
desc              116 drivers/regulator/lochnagar-regulator.c 	int shift = (desc->id - LOCHNAGAR_MIC1VDD) *
desc              246 drivers/regulator/lochnagar-regulator.c 	const struct regulator_desc *desc;
desc              258 drivers/regulator/lochnagar-regulator.c 	desc = of_id->data;
desc              260 drivers/regulator/lochnagar-regulator.c 	rdev = devm_regulator_register(dev, desc, &config);
desc              264 drivers/regulator/lochnagar-regulator.c 			desc->name, ret);
desc              769 drivers/regulator/lp872x.c 	const struct regulator_desc *desc;
desc              775 drivers/regulator/lp872x.c 		desc = (lp->chipid == LP8720) ? &lp8720_regulator_desc[i] :
desc              779 drivers/regulator/lp872x.c 		cfg.init_data = lp872x_find_regulator_init_data(desc->id, lp);
desc              783 drivers/regulator/lp872x.c 		rdev = devm_regulator_register(lp->dev, desc, &cfg);
desc               25 drivers/regulator/lp873x-regulator.c 		.desc = {						\
desc               51 drivers/regulator/lp873x-regulator.c 	struct regulator_desc desc;
desc              177 drivers/regulator/lp873x-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &regulators[i].desc,
desc               17 drivers/regulator/lp87565-regulator.c 		.desc = {						\
desc               43 drivers/regulator/lp87565-regulator.c 	struct regulator_desc desc;
desc              190 drivers/regulator/lp87565-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &regulators[i].desc,
desc              112 drivers/regulator/lp8788-ldo.c 	struct regulator_desc *desc;
desc              100 drivers/regulator/ltc3589.c 	shift = ffs(rdev->desc->apply_bit) - 1;
desc              123 drivers/regulator/ltc3589.c 	return regmap_update_bits(ltc3589->regmap, rdev->desc->vsel_reg + 1,
desc              124 drivers/regulator/ltc3589.c 				  rdev->desc->vsel_mask, sel);
desc              134 drivers/regulator/ltc3589.c 	mask = rdev->desc->apply_bit << 1;
desc              139 drivers/regulator/ltc3589.c 	mask |= rdev->desc->apply_bit;
desc              140 drivers/regulator/ltc3589.c 	bit |= rdev->desc->apply_bit;
desc              192 drivers/regulator/ltc3589.c 			       const struct regulator_desc *desc,
desc              196 drivers/regulator/ltc3589.c 	struct regulator_desc *rdesc = &ltc3589->regulator_descs[desc->id];
desc              201 drivers/regulator/ltc3589.c 	if (desc->id >= LTC3589_LDO3)
desc              214 drivers/regulator/ltc3589.c 	rdesc->min_uV = ltc3589_scale(desc->min_uV, r[0], r[1]);
desc              215 drivers/regulator/ltc3589.c 	rdesc->uV_step = ltc3589_scale(desc->uV_step, r[0], r[1]);
desc              216 drivers/regulator/ltc3589.c 	rdesc->fixed_uV = ltc3589_scale(desc->fixed_uV, r[0], r[1]);
desc              422 drivers/regulator/ltc3589.c 		struct regulator_desc *desc = &ltc3589->regulator_descs[i];
desc              428 drivers/regulator/ltc3589.c 		ltc3589->regulators[i] = devm_regulator_register(dev, desc,
desc              433 drivers/regulator/ltc3589.c 				desc->name, ret);
desc               86 drivers/regulator/ltc3676.c 	return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg + 1,
desc               87 drivers/regulator/ltc3676.c 				  rdev->desc->vsel_mask, sel);
desc              110 drivers/regulator/ltc3676.c 			 rdev->desc->name, mode);
desc              114 drivers/regulator/ltc3676.c 	return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg,
desc              126 drivers/regulator/ltc3676.c 	ret = regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg + 1,
desc              146 drivers/regulator/ltc3676.c 			       const struct regulator_desc *desc,
desc              150 drivers/regulator/ltc3676.c 	struct regulator_desc *rdesc = &ltc3676->regulator_descs[desc->id];
desc              155 drivers/regulator/ltc3676.c 	if (desc->id == LTC3676_LDO3)
desc              165 drivers/regulator/ltc3676.c 	rdesc->min_uV = ltc3676_scale(desc->min_uV, r[0], r[1]);
desc              166 drivers/regulator/ltc3676.c 	rdesc->uV_step = ltc3676_scale(desc->uV_step, r[0], r[1]);
desc              167 drivers/regulator/ltc3676.c 	rdesc->fixed_uV = ltc3676_scale(desc->fixed_uV, r[0], r[1]);
desc              332 drivers/regulator/ltc3676.c 		struct regulator_desc *desc = &ltc3676->regulator_descs[i];
desc              341 drivers/regulator/ltc3676.c 		ltc3676->regulators[i] = devm_regulator_register(dev, desc,
desc              346 drivers/regulator/ltc3676.c 				desc->name, ret);
desc              100 drivers/regulator/max1586.c 		rdev->desc->volt_table[selector] / 1000);
desc               69 drivers/regulator/max77620-regulator.c 	struct regulator_desc desc;
desc              295 drivers/regulator/max77620-regulator.c 		rinfo->desc.ramp_delay = slew_rate;
desc              307 drivers/regulator/max77620-regulator.c 		rinfo->desc.ramp_delay = slew_rate;
desc              603 drivers/regulator/max77620-regulator.c 				const struct regulator_desc *desc,
desc              607 drivers/regulator/max77620-regulator.c 	struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[desc->id];
desc              641 drivers/regulator/max77620-regulator.c 	return max77620_init_pmic(pmic, desc->id);
desc              671 drivers/regulator/max77620-regulator.c 		.desc = {						\
desc              703 drivers/regulator/max77620-regulator.c 		.desc = {						\
desc              825 drivers/regulator/max77620-regulator.c 		rdesc = &rinfo[id].desc;
desc               41 drivers/regulator/max77650-regulator.c 	struct regulator_desc desc;
desc              149 drivers/regulator/max77650-regulator.c 	.desc = {
desc              175 drivers/regulator/max77650-regulator.c 	.desc = {
desc              205 drivers/regulator/max77650-regulator.c 	.desc = {
desc              235 drivers/regulator/max77650-regulator.c 	.desc = {
desc              268 drivers/regulator/max77650-regulator.c 	.desc = {
desc              298 drivers/regulator/max77650-regulator.c 	.desc = {
desc              381 drivers/regulator/max77650-regulator.c 		rdev = devm_regulator_register(dev, &rdesc->desc, &config);
desc              129 drivers/regulator/max77686-regulator.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              130 drivers/regulator/max77686-regulator.c 				 rdev->desc->enable_mask, val << shift);
desc              159 drivers/regulator/max77686-regulator.c 			rdev->desc->name, mode);
desc              163 drivers/regulator/max77686-regulator.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              164 drivers/regulator/max77686-regulator.c 				  rdev->desc->enable_mask,
desc              193 drivers/regulator/max77686-regulator.c 			rdev->desc->name, mode);
desc              197 drivers/regulator/max77686-regulator.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              198 drivers/regulator/max77686-regulator.c 				 rdev->desc->enable_mask,
desc              218 drivers/regulator/max77686-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              219 drivers/regulator/max77686-regulator.c 				  rdev->desc->enable_mask,
desc              241 drivers/regulator/max77686-regulator.c 			rdev->desc->name, ramp_delay);
desc              244 drivers/regulator/max77686-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              249 drivers/regulator/max77686-regulator.c 		const struct regulator_desc *desc,
desc              255 drivers/regulator/max77686-regulator.c 	switch (desc->id) {
desc              272 drivers/regulator/max77686-regulator.c 		set_bit(desc->id, max77686->gpio_enabled);
desc              274 drivers/regulator/max77686-regulator.c 		ret = regmap_update_bits(config->regmap, desc->enable_reg,
desc              275 drivers/regulator/max77686-regulator.c 					 desc->enable_mask,
desc              102 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              103 drivers/regulator/max77802-regulator.c 				  rdev->desc->enable_mask, val << shift);
desc              127 drivers/regulator/max77802-regulator.c 			 rdev->desc->name, mode);
desc              132 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              133 drivers/regulator/max77802-regulator.c 				  rdev->desc->enable_mask, val << shift);
desc              174 drivers/regulator/max77802-regulator.c 			 rdev->desc->name, mode);
desc              198 drivers/regulator/max77802-regulator.c 				 rdev->desc->name, mode);
desc              202 drivers/regulator/max77802-regulator.c 			 rdev->desc->name, mode);
desc              206 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              207 drivers/regulator/max77802-regulator.c 				  rdev->desc->enable_mask, val << shift);
desc              219 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              220 drivers/regulator/max77802-regulator.c 				  rdev->desc->enable_mask,
desc              237 drivers/regulator/max77802-regulator.c 		 rdev->desc->name, ramp_delay);
desc              251 drivers/regulator/max77802-regulator.c 			 rdev->desc->name);
desc              257 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              271 drivers/regulator/max77802-regulator.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               66 drivers/regulator/max8649.c 	ret = regmap_read(info->regmap, rdev->desc->vsel_reg, &val);
desc               88 drivers/regulator/max8649.c 		regmap_update_bits(info->regmap, rdev->desc->vsel_reg,
desc               92 drivers/regulator/max8649.c 		regmap_update_bits(info->regmap, rdev->desc->vsel_reg,
desc              107 drivers/regulator/max8649.c 	ret = regmap_read(info->regmap, rdev->desc->vsel_reg, &val);
desc               33 drivers/regulator/max8907-regulator.c 	struct regulator_desc desc[MAX8907_NUM_REGULATORS];
desc              296 drivers/regulator/max8907-regulator.c 	memcpy(pmic->desc, max8907_regulators, sizeof(pmic->desc));
desc              305 drivers/regulator/max8907-regulator.c 		pmic->desc[MAX8907_SD1].min_uV = 637500;
desc              306 drivers/regulator/max8907-regulator.c 		pmic->desc[MAX8907_SD1].uV_step = 12500;
desc              307 drivers/regulator/max8907-regulator.c 		pmic->desc[MAX8907_SD1].n_voltages =
desc              324 drivers/regulator/max8907-regulator.c 		switch (pmic->desc[i].id) {
desc              329 drivers/regulator/max8907-regulator.c 				mbatt_rail_name = pmic->desc[i].name;
desc              338 drivers/regulator/max8907-regulator.c 		if (pmic->desc[i].ops == &max8907_ldo_ops) {
desc              339 drivers/regulator/max8907-regulator.c 			ret = regmap_read(config.regmap, pmic->desc[i].enable_reg,
desc              346 drivers/regulator/max8907-regulator.c 				pmic->desc[i].ops = &max8907_ldo_hwctl_ops;
desc              347 drivers/regulator/max8907-regulator.c 		} else if (pmic->desc[i].ops == &max8907_out5v_ops) {
desc              348 drivers/regulator/max8907-regulator.c 			ret = regmap_read(config.regmap, pmic->desc[i].enable_reg,
desc              356 drivers/regulator/max8907-regulator.c 				pmic->desc[i].ops = &max8907_out5v_hwctl_ops;
desc              360 drivers/regulator/max8907-regulator.c 						&pmic->desc[i], &config);
desc              364 drivers/regulator/max8907-regulator.c 				pmic->desc[i].name);
desc               35 drivers/regulator/max8925-regulator.c 	struct regulator_desc	desc;
desc               46 drivers/regulator/max8925-regulator.c 	unsigned char mask = rdev->desc->n_voltages - 1;
desc               60 drivers/regulator/max8925-regulator.c 	mask = rdev->desc->n_voltages - 1;
desc              157 drivers/regulator/max8925-regulator.c 	.desc	= {						\
desc              175 drivers/regulator/max8925-regulator.c 	.desc	= {						\
desc              252 drivers/regulator/max8925-regulator.c 	rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config);
desc              255 drivers/regulator/max8925-regulator.c 				ri->desc.name);
desc              115 drivers/regulator/max8973-regulator.c 	struct regulator_desc desc;
desc              371 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 12000;
desc              374 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 25000;
desc              377 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 50000;
desc              380 drivers/regulator/max8973-regulator.c 		max->desc.ramp_delay = 200000;
desc              395 drivers/regulator/max8973-regulator.c 		max->desc.enable_time = 20;
desc              397 drivers/regulator/max8973-regulator.c 		max->desc.enable_time = 240;
desc              689 drivers/regulator/max8973-regulator.c 	max->desc.name = id->name;
desc              690 drivers/regulator/max8973-regulator.c 	max->desc.id = 0;
desc              691 drivers/regulator/max8973-regulator.c 	max->desc.ops = &max->ops;
desc              692 drivers/regulator/max8973-regulator.c 	max->desc.type = REGULATOR_VOLTAGE;
desc              693 drivers/regulator/max8973-regulator.c 	max->desc.owner = THIS_MODULE;
desc              694 drivers/regulator/max8973-regulator.c 	max->desc.min_uV = MAX8973_MIN_VOLATGE;
desc              695 drivers/regulator/max8973-regulator.c 	max->desc.uV_step = MAX8973_VOLATGE_STEP;
desc              696 drivers/regulator/max8973-regulator.c 	max->desc.n_voltages = MAX8973_BUCK_N_VOLTAGE;
desc              736 drivers/regulator/max8973-regulator.c 		max->desc.vsel_reg = max->curr_vout_reg;
desc              737 drivers/regulator/max8973-regulator.c 		max->desc.vsel_mask = MAX8973_VOUT_MASK;
desc              742 drivers/regulator/max8973-regulator.c 					client->dev.of_node, &max->desc);
desc              748 drivers/regulator/max8973-regulator.c 			max->desc.enable_reg = MAX8973_VOUT;
desc              749 drivers/regulator/max8973-regulator.c 			max->desc.enable_mask = MAX8973_VOUT_ENABLE;
desc              787 drivers/regulator/max8973-regulator.c 		max->desc.enable_reg = MAX8973_VOUT;
desc              788 drivers/regulator/max8973-regulator.c 		max->desc.enable_mask = MAX8973_VOUT_ENABLE;
desc              818 drivers/regulator/max8973-regulator.c 	rdev = devm_regulator_register(&client->dev, &max->desc, &config);
desc              150 drivers/regulator/max8997-regulator.c 	const struct voltage_map_desc *desc;
desc              157 drivers/regulator/max8997-regulator.c 	desc = reg_voltage_map[rid];
desc              158 drivers/regulator/max8997-regulator.c 	if (desc == NULL)
desc              161 drivers/regulator/max8997-regulator.c 	val = desc->min + desc->step * selector;
desc              162 drivers/regulator/max8997-regulator.c 	if (val > desc->max)
desc              374 drivers/regulator/max8997-regulator.c 		const struct voltage_map_desc *desc,
desc              379 drivers/regulator/max8997-regulator.c 	if (desc == NULL)
desc              382 drivers/regulator/max8997-regulator.c 	if (max_vol < desc->min || min_vol > desc->max)
desc              385 drivers/regulator/max8997-regulator.c 	if (min_vol < desc->min)
desc              386 drivers/regulator/max8997-regulator.c 		min_vol = desc->min;
desc              388 drivers/regulator/max8997-regulator.c 	i = DIV_ROUND_UP(min_vol - desc->min, desc->step);
desc              390 drivers/regulator/max8997-regulator.c 	if (desc->min + desc->step * i > max_vol)
desc              453 drivers/regulator/max8997-regulator.c 	const struct voltage_map_desc *desc;
desc              474 drivers/regulator/max8997-regulator.c 	desc = reg_voltage_map[rid];
desc              476 drivers/regulator/max8997-regulator.c 	i = max8997_get_voltage_proper_val(desc, min_uV, max_uV);
desc              496 drivers/regulator/max8997-regulator.c 	const struct voltage_map_desc *desc = reg_voltage_map[rid];
desc              523 drivers/regulator/max8997-regulator.c 		return DIV_ROUND_UP(desc->step * (new_selector - old_selector),
desc              620 drivers/regulator/max8997-regulator.c 	const struct voltage_map_desc *desc;
desc              646 drivers/regulator/max8997-regulator.c 	desc = reg_voltage_map[rid];
desc              647 drivers/regulator/max8997-regulator.c 	new_val = max8997_get_voltage_proper_val(desc, min_uV, max_uV);
desc              666 drivers/regulator/max8997-regulator.c 	} while (desc->min + desc->step * new_val <= desc->max);
desc              725 drivers/regulator/max8997-regulator.c 				rdev->desc->name);
desc              730 drivers/regulator/max8997-regulator.c 			rdev->desc->name, max8997->saved_states[rid] & mask,
desc             1165 drivers/regulator/max8997-regulator.c 		const struct voltage_map_desc *desc;
desc             1168 drivers/regulator/max8997-regulator.c 		desc = reg_voltage_map[id];
desc             1169 drivers/regulator/max8997-regulator.c 		if (desc) {
desc             1171 drivers/regulator/max8997-regulator.c 				(desc->max - desc->min) / desc->step + 1;
desc              354 drivers/regulator/max8998.c 	difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000;
desc              424 drivers/regulator/mc13783-regulator.c 		struct regulator_desc *desc;
desc              436 drivers/regulator/mc13783-regulator.c 		desc = &mc13783_regulators[id].desc;
desc              443 drivers/regulator/mc13783-regulator.c 		priv->regulators[i] = devm_regulator_register(&pdev->dev, desc,
desc              447 drivers/regulator/mc13783-regulator.c 				mc13783_regulators[i].desc.name);
desc              445 drivers/regulator/mc13892-regulator.c 	volt = rdev->desc->volt_table[selector];
desc              583 drivers/regulator/mc13892-regulator.c 	memcpy(&mc13892_vcam_ops, mc13892_regulators[MC13892_VCAM].desc.ops,
desc              587 drivers/regulator/mc13892-regulator.c 	mc13892_regulators[MC13892_VCAM].desc.ops = &mc13892_vcam_ops;
desc              594 drivers/regulator/mc13892-regulator.c 		struct regulator_desc *desc;
desc              606 drivers/regulator/mc13892-regulator.c 		desc = &mc13892_regulators[id].desc;
desc              613 drivers/regulator/mc13892-regulator.c 		priv->regulators[i] = devm_regulator_register(&pdev->dev, desc,
desc              617 drivers/regulator/mc13892-regulator.c 				mc13892_regulators[i].desc.name);
desc               97 drivers/regulator/mc13xxx-regulator-core.c 	BUG_ON(val >= mc13xxx_regulators[id].desc.n_voltages);
desc               99 drivers/regulator/mc13xxx-regulator-core.c 	return rdev->desc->volt_table[val];
desc              120 drivers/regulator/mc13xxx-regulator-core.c 	if (min_uV <= rdev->desc->volt_table[0] &&
desc              121 drivers/regulator/mc13xxx-regulator-core.c 	    rdev->desc->volt_table[0] <= max_uV) {
desc              187 drivers/regulator/mc13xxx-regulator-core.c 			if (!regulators[i].desc.name)
desc              190 drivers/regulator/mc13xxx-regulator-core.c 					 regulators[i].desc.name)) {
desc              194 drivers/regulator/mc13xxx-regulator-core.c 							&regulators[i].desc);
desc               14 drivers/regulator/mc13xxx.h 	struct regulator_desc desc;
desc               57 drivers/regulator/mc13xxx.h 		.desc = {						\
desc               75 drivers/regulator/mc13xxx.h 		.desc = {						\
desc               90 drivers/regulator/mc13xxx.h 		.desc = {						\
desc               30 drivers/regulator/mt6323-regulator.c 	struct regulator_desc desc;
desc               42 drivers/regulator/mt6323-regulator.c 	.desc = {							\
desc               66 drivers/regulator/mt6323-regulator.c 	.desc = {							\
desc               88 drivers/regulator/mt6323-regulator.c 	.desc = {							\
desc              163 drivers/regulator/mt6323-regulator.c 	ret = regmap_read(rdev->regmap, info->desc.enable_reg, &regval);
desc              179 drivers/regulator/mt6323-regulator.c 			info->desc.name);
desc              211 drivers/regulator/mt6323-regulator.c 			info->desc.name);
desc              360 drivers/regulator/mt6323-regulator.c 				mt6323_regulators[i].desc.vsel_reg =
desc              393 drivers/regulator/mt6323-regulator.c 				&mt6323_regulators[i].desc, &config);
desc              396 drivers/regulator/mt6323-regulator.c 				mt6323_regulators[i].desc.name);
desc               26 drivers/regulator/mt6358-regulator.c 	struct regulator_desc desc;
desc               44 drivers/regulator/mt6358-regulator.c 	.desc = {	\
desc               74 drivers/regulator/mt6358-regulator.c 	.desc = {	\
desc               99 drivers/regulator/mt6358-regulator.c 	.desc = {	\
desc              124 drivers/regulator/mt6358-regulator.c 	.desc = {	\
desc              263 drivers/regulator/mt6358-regulator.c 	ret = regmap_update_bits(rdev->regmap, info->desc.vsel_reg,
desc              264 drivers/regulator/mt6358-regulator.c 				 info->desc.vsel_mask,
desc              277 drivers/regulator/mt6358-regulator.c 	ret = regmap_read(rdev->regmap, info->desc.vsel_reg, &selector);
desc              281 drivers/regulator/mt6358-regulator.c 			 info->desc.name, ret);
desc              285 drivers/regulator/mt6358-regulator.c 	selector = (selector & info->desc.vsel_mask) >> info->vsel_shift;
desc              287 drivers/regulator/mt6358-regulator.c 	for (idx = 0; idx < info->desc.n_voltages; idx++) {
desc              304 drivers/regulator/mt6358-regulator.c 			info->desc.name, ret);
desc              519 drivers/regulator/mt6358-regulator.c 					       &mt6358_regulators[i].desc,
desc              523 drivers/regulator/mt6358-regulator.c 				mt6358_regulators[i].desc.name);
desc               85 drivers/regulator/mt6380-regulator.c 	struct regulator_desc desc;
desc               95 drivers/regulator/mt6380-regulator.c 	.desc = {							\
desc              118 drivers/regulator/mt6380-regulator.c 	.desc = {							\
desc              139 drivers/regulator/mt6380-regulator.c 	.desc = {							\
desc              307 drivers/regulator/mt6380-regulator.c 					       &mt6380_regulators[i].desc,
desc              311 drivers/regulator/mt6380-regulator.c 				mt6380_regulators[i].desc.name);
desc               30 drivers/regulator/mt6397-regulator.c 	struct regulator_desc desc;
desc               44 drivers/regulator/mt6397-regulator.c 	.desc = {							\
desc               71 drivers/regulator/mt6397-regulator.c 	.desc = {							\
desc               90 drivers/regulator/mt6397-regulator.c 	.desc = {							\
desc              212 drivers/regulator/mt6397-regulator.c 	ret = regmap_read(rdev->regmap, info->desc.enable_reg, &regval);
desc              328 drivers/regulator/mt6397-regulator.c 				mt6397_regulators[i].desc.vsel_reg =
desc              359 drivers/regulator/mt6397-regulator.c 		mt6397_regulators[MT6397_ID_VGP2].desc.volt_table =
desc              371 drivers/regulator/mt6397-regulator.c 				&mt6397_regulators[i].desc, &config);
desc              374 drivers/regulator/mt6397-regulator.c 				mt6397_regulators[i].desc.name);
desc               27 drivers/regulator/of_regulator.c 					const struct regulator_desc *desc)
desc              130 drivers/regulator/of_regulator.c 		if (desc && desc->of_map_mode) {
desc              131 drivers/regulator/of_regulator.c 			mode = desc->of_map_mode(pval);
desc              145 drivers/regulator/of_regulator.c 		if (desc && desc->of_map_mode) {
desc              154 drivers/regulator/of_regulator.c 				mode = desc->of_map_mode(pval);
desc              214 drivers/regulator/of_regulator.c 			if (desc && desc->of_map_mode) {
desc              215 drivers/regulator/of_regulator.c 				mode = desc->of_map_mode(pval);
desc              275 drivers/regulator/of_regulator.c 					  const struct regulator_desc *desc)
desc              286 drivers/regulator/of_regulator.c 	if (of_get_regulation_constraints(dev, node, &init_data, desc))
desc              370 drivers/regulator/of_regulator.c 							   match->desc);
desc              390 drivers/regulator/of_regulator.c 					const struct regulator_desc *desc)
desc              395 drivers/regulator/of_regulator.c 	if (!dev->of_node || !desc->of_match)
desc              398 drivers/regulator/of_regulator.c 	if (desc->regulators_node) {
desc              400 drivers/regulator/of_regulator.c 					      desc->regulators_node);
desc              404 drivers/regulator/of_regulator.c 		if (!strcmp(desc->of_match, search->name))
desc              410 drivers/regulator/of_regulator.c 			desc->regulators_node);
desc              419 drivers/regulator/of_regulator.c 		if (!strcmp(desc->of_match, name)) {
desc              431 drivers/regulator/of_regulator.c 					    const struct regulator_desc *desc,
desc              438 drivers/regulator/of_regulator.c 	child = regulator_of_get_init_node(dev, desc);
desc              442 drivers/regulator/of_regulator.c 	init_data = of_get_regulator_init_data(dev, child, desc);
desc              448 drivers/regulator/of_regulator.c 	if (desc->of_parse_cb) {
desc              451 drivers/regulator/of_regulator.c 		ret = desc->of_parse_cb(child, desc, config);
desc              476 drivers/regulator/palmas-regulator.c 	pmic->desc[id].enable_val = pmic->current_reg_mode[id];
desc              900 drivers/regulator/palmas-regulator.c 	struct regulator_desc *desc;
desc              914 drivers/regulator/palmas-regulator.c 		desc = &pmic->desc[id];
desc              915 drivers/regulator/palmas-regulator.c 		desc->name = rinfo->name;
desc              916 drivers/regulator/palmas-regulator.c 		desc->id = id;
desc              917 drivers/regulator/palmas-regulator.c 		desc->type = REGULATOR_VOLTAGE;
desc              918 drivers/regulator/palmas-regulator.c 		desc->owner = THIS_MODULE;
desc              921 drivers/regulator/palmas-regulator.c 			desc->n_voltages = PALMAS_LDO_NUM_VOLTAGES;
desc              923 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ext_control_ldo;
desc              925 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ldo;
desc              926 drivers/regulator/palmas-regulator.c 			desc->min_uV = 900000;
desc              927 drivers/regulator/palmas-regulator.c 			desc->uV_step = 50000;
desc              928 drivers/regulator/palmas-regulator.c 			desc->linear_min_sel = 1;
desc              929 drivers/regulator/palmas-regulator.c 			desc->enable_time = 500;
desc              930 drivers/regulator/palmas-regulator.c 			desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE,
desc              932 drivers/regulator/palmas-regulator.c 			desc->vsel_mask = PALMAS_LDO1_VOLTAGE_VSEL_MASK;
desc              933 drivers/regulator/palmas-regulator.c 			desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE,
desc              935 drivers/regulator/palmas-regulator.c 			desc->enable_mask = PALMAS_LDO1_CTRL_MODE_ACTIVE;
desc              941 drivers/regulator/palmas-regulator.c 				desc->min_uV = 450000;
desc              942 drivers/regulator/palmas-regulator.c 				desc->uV_step = 25000;
desc              948 drivers/regulator/palmas-regulator.c 				desc->enable_time = 2000;
desc              951 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ldo9;
desc              952 drivers/regulator/palmas-regulator.c 				desc->bypass_reg = desc->enable_reg;
desc              953 drivers/regulator/palmas-regulator.c 				desc->bypass_val_on =
desc              955 drivers/regulator/palmas-regulator.c 				desc->bypass_mask =
desc              962 drivers/regulator/palmas-regulator.c 			desc->n_voltages = 1;
desc              964 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ext_control_extreg;
desc              966 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_extreg;
desc              967 drivers/regulator/palmas-regulator.c 			desc->enable_reg =
desc              970 drivers/regulator/palmas-regulator.c 			desc->enable_mask = PALMAS_REGEN1_CTRL_MODE_ACTIVE;
desc              978 drivers/regulator/palmas-regulator.c 		desc->supply_name = rinfo->sname;
desc              981 drivers/regulator/palmas-regulator.c 		rdev = devm_regulator_register(pmic->dev, desc, &config);
desc             1018 drivers/regulator/palmas-regulator.c 	struct regulator_desc *desc;
desc             1032 drivers/regulator/palmas-regulator.c 		desc = &pmic->desc[id];
desc             1033 drivers/regulator/palmas-regulator.c 		desc->name = rinfo->name;
desc             1034 drivers/regulator/palmas-regulator.c 		desc->id = id;
desc             1035 drivers/regulator/palmas-regulator.c 		desc->type = REGULATOR_VOLTAGE;
desc             1036 drivers/regulator/palmas-regulator.c 		desc->owner = THIS_MODULE;
desc             1039 drivers/regulator/palmas-regulator.c 			desc->n_voltages = PALMAS_LDO_NUM_VOLTAGES;
desc             1041 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ext_control_ldo;
desc             1043 drivers/regulator/palmas-regulator.c 				desc->ops = &tps65917_ops_ldo;
desc             1044 drivers/regulator/palmas-regulator.c 			desc->min_uV = 900000;
desc             1045 drivers/regulator/palmas-regulator.c 			desc->uV_step = 50000;
desc             1046 drivers/regulator/palmas-regulator.c 			desc->linear_min_sel = 1;
desc             1047 drivers/regulator/palmas-regulator.c 			desc->enable_time = 500;
desc             1048 drivers/regulator/palmas-regulator.c 			desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE,
desc             1050 drivers/regulator/palmas-regulator.c 			desc->vsel_mask = PALMAS_LDO1_VOLTAGE_VSEL_MASK;
desc             1051 drivers/regulator/palmas-regulator.c 			desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_LDO_BASE,
desc             1053 drivers/regulator/palmas-regulator.c 			desc->enable_mask = PALMAS_LDO1_CTRL_MODE_ACTIVE;
desc             1058 drivers/regulator/palmas-regulator.c 			desc->ramp_delay = 2500;
desc             1061 drivers/regulator/palmas-regulator.c 				desc->ops = &tps65917_ops_ldo_1_2;
desc             1062 drivers/regulator/palmas-regulator.c 				desc->bypass_reg = desc->enable_reg;
desc             1063 drivers/regulator/palmas-regulator.c 				desc->bypass_val_on =
desc             1065 drivers/regulator/palmas-regulator.c 				desc->bypass_mask =
desc             1069 drivers/regulator/palmas-regulator.c 			desc->n_voltages = 1;
desc             1071 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ext_control_extreg;
desc             1073 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_extreg;
desc             1074 drivers/regulator/palmas-regulator.c 			desc->enable_reg =
desc             1077 drivers/regulator/palmas-regulator.c 			desc->enable_mask = PALMAS_REGEN1_CTRL_MODE_ACTIVE;
desc             1085 drivers/regulator/palmas-regulator.c 		desc->supply_name = rinfo->sname;
desc             1088 drivers/regulator/palmas-regulator.c 		rdev = devm_regulator_register(pmic->dev, desc, &config);
desc             1126 drivers/regulator/palmas-regulator.c 	struct regulator_desc *desc;
desc             1166 drivers/regulator/palmas-regulator.c 		desc = &pmic->desc[id];
desc             1179 drivers/regulator/palmas-regulator.c 			desc->ramp_delay = palmas_smps_ramp_delay[reg & 0x3];
desc             1180 drivers/regulator/palmas-regulator.c 			pmic->ramp_delay[id] = desc->ramp_delay;
desc             1194 drivers/regulator/palmas-regulator.c 		desc->name = rinfo->name;
desc             1195 drivers/regulator/palmas-regulator.c 		desc->id = id;
desc             1200 drivers/regulator/palmas-regulator.c 			desc->n_voltages = PALMAS_SMPS10_NUM_VOLTAGES;
desc             1201 drivers/regulator/palmas-regulator.c 			desc->ops = &palmas_ops_smps10;
desc             1202 drivers/regulator/palmas-regulator.c 			desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1204 drivers/regulator/palmas-regulator.c 			desc->vsel_mask = SMPS10_VSEL;
desc             1205 drivers/regulator/palmas-regulator.c 			desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1208 drivers/regulator/palmas-regulator.c 				desc->enable_mask = SMPS10_SWITCH_EN;
desc             1210 drivers/regulator/palmas-regulator.c 				desc->enable_mask = SMPS10_BOOST_EN;
desc             1211 drivers/regulator/palmas-regulator.c 			desc->bypass_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1213 drivers/regulator/palmas-regulator.c 			desc->bypass_val_on = SMPS10_BYPASS_EN;
desc             1214 drivers/regulator/palmas-regulator.c 			desc->bypass_mask = SMPS10_BYPASS_EN;
desc             1215 drivers/regulator/palmas-regulator.c 			desc->min_uV = 3750000;
desc             1216 drivers/regulator/palmas-regulator.c 			desc->uV_step = 1250000;
desc             1226 drivers/regulator/palmas-regulator.c 			desc->n_linear_ranges = 3;
desc             1234 drivers/regulator/palmas-regulator.c 				desc->linear_ranges = smps_high_ranges;
desc             1236 drivers/regulator/palmas-regulator.c 				desc->linear_ranges = smps_low_ranges;
desc             1239 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_ext_control_smps;
desc             1241 drivers/regulator/palmas-regulator.c 				desc->ops = &palmas_ops_smps;
desc             1242 drivers/regulator/palmas-regulator.c 			desc->n_voltages = PALMAS_SMPS_NUM_VOLTAGES;
desc             1243 drivers/regulator/palmas-regulator.c 			desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1245 drivers/regulator/palmas-regulator.c 			desc->vsel_mask = PALMAS_SMPS12_VOLTAGE_VSEL_MASK;
desc             1255 drivers/regulator/palmas-regulator.c 			desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1257 drivers/regulator/palmas-regulator.c 			desc->enable_mask = PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK;
desc             1259 drivers/regulator/palmas-regulator.c 			desc->enable_val = SMPS_CTRL_MODE_ON;
desc             1262 drivers/regulator/palmas-regulator.c 		desc->type = REGULATOR_VOLTAGE;
desc             1263 drivers/regulator/palmas-regulator.c 		desc->owner = THIS_MODULE;
desc             1270 drivers/regulator/palmas-regulator.c 		desc->supply_name = rinfo->sname;
desc             1273 drivers/regulator/palmas-regulator.c 		rdev = devm_regulator_register(pmic->dev, desc, &config);
desc             1296 drivers/regulator/palmas-regulator.c 	struct regulator_desc *desc;
desc             1303 drivers/regulator/palmas-regulator.c 		desc = &pmic->desc[id];
desc             1304 drivers/regulator/palmas-regulator.c 		desc->n_linear_ranges = 3;
desc             1321 drivers/regulator/palmas-regulator.c 		desc->name = rinfo->name;
desc             1322 drivers/regulator/palmas-regulator.c 		desc->id = id;
desc             1339 drivers/regulator/palmas-regulator.c 			desc->linear_ranges = smps_high_ranges;
desc             1341 drivers/regulator/palmas-regulator.c 			desc->linear_ranges = smps_low_ranges;
desc             1344 drivers/regulator/palmas-regulator.c 			desc->ops = &tps65917_ops_ext_control_smps;
desc             1346 drivers/regulator/palmas-regulator.c 			desc->ops = &tps65917_ops_smps;
desc             1347 drivers/regulator/palmas-regulator.c 		desc->n_voltages = PALMAS_SMPS_NUM_VOLTAGES;
desc             1348 drivers/regulator/palmas-regulator.c 		desc->vsel_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1350 drivers/regulator/palmas-regulator.c 		desc->vsel_mask = PALMAS_SMPS12_VOLTAGE_VSEL_MASK;
desc             1351 drivers/regulator/palmas-regulator.c 		desc->ramp_delay = 2500;
desc             1360 drivers/regulator/palmas-regulator.c 		desc->enable_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
desc             1362 drivers/regulator/palmas-regulator.c 		desc->enable_mask = PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK;
desc             1364 drivers/regulator/palmas-regulator.c 		desc->enable_val = SMPS_CTRL_MODE_ON;
desc             1366 drivers/regulator/palmas-regulator.c 		desc->type = REGULATOR_VOLTAGE;
desc             1367 drivers/regulator/palmas-regulator.c 		desc->owner = THIS_MODULE;
desc             1374 drivers/regulator/palmas-regulator.c 		desc->supply_name = rinfo->sname;
desc             1377 drivers/regulator/palmas-regulator.c 		rdev = devm_regulator_register(pmic->dev, desc, &config);
desc               42 drivers/regulator/pbias-regulator.c 	struct regulator_desc desc;
desc              214 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.name = info->name;
desc              215 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.owner = THIS_MODULE;
desc              216 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.type = REGULATOR_VOLTAGE;
desc              217 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.ops = &pbias_regulator_voltage_ops;
desc              218 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.volt_table = info->pbias_volt_table;
desc              219 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.n_voltages = info->n_voltages;
desc              220 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.enable_time = info->enable_time;
desc              221 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.vsel_reg = offset;
desc              222 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.vsel_mask = info->vmode;
desc              223 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.enable_reg = offset;
desc              224 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.enable_mask = info->enable_mask;
desc              225 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.enable_val = info->enable;
desc              226 drivers/regulator/pbias-regulator.c 		drvdata[data_idx].desc.disable_val = info->disable_val;
desc              233 drivers/regulator/pbias-regulator.c 					&drvdata[data_idx].desc, &cfg);
desc              152 drivers/regulator/pcap-regulator.c 	if (rdev->desc->n_voltages == 1)
desc              156 drivers/regulator/pcap-regulator.c 				 (rdev->desc->n_voltages - 1) << vreg->index,
desc              166 drivers/regulator/pcap-regulator.c 	if (rdev->desc->n_voltages == 1)
desc              170 drivers/regulator/pcap-regulator.c 	tmp = ((tmp >> vreg->index) & (rdev->desc->n_voltages - 1));
desc               65 drivers/regulator/pfuze100-regulator.c 	struct regulator_desc desc;
desc              155 drivers/regulator/pfuze100-regulator.c 					 rdev->desc->vsel_reg + 4,
desc              214 drivers/regulator/pfuze100-regulator.c 		.desc = {	\
desc              229 drivers/regulator/pfuze100-regulator.c 		.desc = {	\
desc              250 drivers/regulator/pfuze100-regulator.c 		.desc = {	\
desc              267 drivers/regulator/pfuze100-regulator.c 		.desc = {	\
desc              287 drivers/regulator/pfuze100-regulator.c 		.desc = {	\
desc              303 drivers/regulator/pfuze100-regulator.c 	.desc = {	\
desc              323 drivers/regulator/pfuze100-regulator.c 	.desc = {	\
desc              340 drivers/regulator/pfuze100-regulator.c 	.desc = {	\
desc              779 drivers/regulator/pfuze100-regulator.c 		struct regulator_desc *desc;
desc              782 drivers/regulator/pfuze100-regulator.c 		desc = &pfuze_chip->regulator_descs[i].desc;
desc              792 drivers/regulator/pfuze100-regulator.c 						desc->vsel_reg, &val);
desc              801 drivers/regulator/pfuze100-regulator.c 					desc->volt_table = pfuze3000_sw2hi;
desc              802 drivers/regulator/pfuze100-regulator.c 					desc->n_voltages = ARRAY_SIZE(pfuze3000_sw2hi);
desc              804 drivers/regulator/pfuze100-regulator.c 					desc->min_uV = 800000;
desc              805 drivers/regulator/pfuze100-regulator.c 					desc->uV_step = 50000;
desc              806 drivers/regulator/pfuze100-regulator.c 					desc->n_voltages = 51;
desc              819 drivers/regulator/pfuze100-regulator.c 				desc->ops = &pfuze100_sw_disable_regulator_ops;
desc              820 drivers/regulator/pfuze100-regulator.c 				desc->enable_val = 0x8;
desc              821 drivers/regulator/pfuze100-regulator.c 				desc->disable_val = 0x0;
desc              822 drivers/regulator/pfuze100-regulator.c 				desc->enable_time = 500;
desc              832 drivers/regulator/pfuze100-regulator.c 			devm_regulator_register(&client->dev, desc, &config);
desc              835 drivers/regulator/pfuze100-regulator.c 				pfuze_chip->pfuze_regulators[i].desc.name);
desc               45 drivers/regulator/pv88060-regulator.c 	struct regulator_desc desc;
desc              147 drivers/regulator/pv88060-regulator.c 	.desc	=	{\
desc              172 drivers/regulator/pv88060-regulator.c 	.desc	=	{\
desc              192 drivers/regulator/pv88060-regulator.c 	.desc	=	{\
desc              358 drivers/regulator/pv88060-regulator.c 			&pv88060_regulator_info[i].desc, &config);
desc               37 drivers/regulator/pv88080-regulator.c 	struct regulator_desc desc;
desc              284 drivers/regulator/pv88080-regulator.c 	.desc	=	{\
desc              302 drivers/regulator/pv88080-regulator.c 	.desc	=	{\
desc              479 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.csel_reg
desc              481 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.csel_mask
desc              489 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.enable_reg
desc              491 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.enable_mask
desc              493 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.vsel_reg
desc              495 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.vsel_mask
desc              512 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.min_uV =
desc              514 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.uV_step =
desc              516 drivers/regulator/pv88080-regulator.c 		pv88080_regulator_info[i].desc.n_voltages =
desc              518 drivers/regulator/pv88080-regulator.c 			- (pv88080_regulator_info[i].desc.min_uV))
desc              519 drivers/regulator/pv88080-regulator.c 			/(pv88080_regulator_info[i].desc.uV_step) + 1;
desc              523 drivers/regulator/pv88080-regulator.c 			&pv88080_regulator_info[i].desc, &config);
desc              531 drivers/regulator/pv88080-regulator.c 	pv88080_regulator_info[PV88080_ID_HVBUCK].desc.enable_reg
desc              533 drivers/regulator/pv88080-regulator.c 	pv88080_regulator_info[PV88080_ID_HVBUCK].desc.enable_mask
desc              535 drivers/regulator/pv88080-regulator.c 	pv88080_regulator_info[PV88080_ID_HVBUCK].desc.vsel_reg
desc              537 drivers/regulator/pv88080-regulator.c 	pv88080_regulator_info[PV88080_ID_HVBUCK].desc.vsel_mask
desc              546 drivers/regulator/pv88080-regulator.c 		&pv88080_regulator_info[PV88080_ID_HVBUCK].desc, &config);
desc               34 drivers/regulator/pv88090-regulator.c 	struct regulator_desc desc;
desc              163 drivers/regulator/pv88090-regulator.c 	.desc	=	{\
desc              189 drivers/regulator/pv88090-regulator.c 	.desc	=	{\
desc              367 drivers/regulator/pv88090-regulator.c 			pv88090_regulator_info[i].desc.min_uV
desc              369 drivers/regulator/pv88090-regulator.c 			pv88090_regulator_info[i].desc.uV_step
desc              371 drivers/regulator/pv88090-regulator.c 			pv88090_regulator_info[i].desc.n_voltages
desc              379 drivers/regulator/pv88090-regulator.c 			&pv88090_regulator_info[i].desc, &config);
desc               38 drivers/regulator/pwm-regulator.c 	struct regulator_desc desc;
desc               64 drivers/regulator/pwm-regulator.c 	for (i = 0; i < rdev->desc->n_voltages; i++) {
desc              109 drivers/regulator/pwm-regulator.c 	if (selector >= rdev->desc->n_voltages)
desc              284 drivers/regulator/pwm-regulator.c 	drvdata->desc.ops = &pwm_regulator_voltage_table_ops;
desc              285 drivers/regulator/pwm-regulator.c 	drvdata->desc.n_voltages	= length / sizeof(*duty_cycle_table);
desc              296 drivers/regulator/pwm-regulator.c 	drvdata->desc.ops = &pwm_regulator_voltage_continuous_ops;
desc              297 drivers/regulator/pwm-regulator.c 	drvdata->desc.continuous_voltage_range = true;
desc              335 drivers/regulator/pwm-regulator.c 	memcpy(&drvdata->desc, &pwm_regulator_desc, sizeof(drvdata->desc));
desc              345 drivers/regulator/pwm-regulator.c 					       &drvdata->desc);
desc              378 drivers/regulator/pwm-regulator.c 					    &drvdata->desc, &config);
desc              382 drivers/regulator/pwm-regulator.c 			drvdata->desc.name, ret);
desc               52 drivers/regulator/qcom_rpm-regulator.c 	struct regulator_desc desc;
desc              446 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = pldo_ranges,
desc              447 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(pldo_ranges),
desc              448 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 161,
desc              449 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              456 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = nldo_ranges,
desc              457 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(nldo_ranges),
desc              458 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 64,
desc              459 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              466 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = smps_ranges,
desc              467 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(smps_ranges),
desc              468 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 154,
desc              469 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              476 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &switch_ops,
desc              484 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = pldo_ranges,
desc              485 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(pldo_ranges),
desc              486 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 161,
desc              487 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              494 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = nldo_ranges,
desc              495 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(nldo_ranges),
desc              496 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 64,
desc              497 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              504 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = smps_ranges,
desc              505 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(smps_ranges),
desc              506 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 154,
desc              507 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              514 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = ncp_ranges,
desc              515 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(ncp_ranges),
desc              516 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 32,
desc              517 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              522 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &switch_ops,
desc              530 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = pldo_ranges,
desc              531 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(pldo_ranges),
desc              532 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 161,
desc              533 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              540 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = nldo_ranges,
desc              541 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(nldo_ranges),
desc              542 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 64,
desc              543 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              550 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = ftsmps_ranges,
desc              551 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(ftsmps_ranges),
desc              552 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 101,
desc              553 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &mV_ops,
desc              560 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &switch_ops,
desc              568 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = pldo_ranges,
desc              569 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(pldo_ranges),
desc              570 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 161,
desc              571 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              578 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = nldo_ranges,
desc              579 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(nldo_ranges),
desc              580 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 64,
desc              581 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              588 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = nldo1200_ranges,
desc              589 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(nldo1200_ranges),
desc              590 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 124,
desc              591 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              598 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = smps_ranges,
desc              599 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(smps_ranges),
desc              600 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 154,
desc              601 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              608 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = ftsmps_ranges,
desc              609 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(ftsmps_ranges),
desc              610 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 101,
desc              611 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              618 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = ncp_ranges,
desc              619 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(ncp_ranges),
desc              620 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 32,
desc              621 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              626 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &switch_ops,
desc              631 drivers/regulator/qcom_rpm-regulator.c 	.desc.linear_ranges = smb208_ranges,
desc              632 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_linear_ranges = ARRAY_SIZE(smb208_ranges),
desc              633 drivers/regulator/qcom_rpm-regulator.c 	.desc.n_voltages = 235,
desc              634 drivers/regulator/qcom_rpm-regulator.c 	.desc.ops = &uV_ops,
desc              687 drivers/regulator/qcom_rpm-regulator.c 			    const struct regulator_desc *desc,
desc              971 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.id = -1;
desc              972 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.owner = THIS_MODULE;
desc              973 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.type = REGULATOR_VOLTAGE;
desc              974 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.name = reg->name;
desc              975 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.supply_name = reg->supply;
desc              976 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.of_match = reg->name;
desc              977 drivers/regulator/qcom_rpm-regulator.c 		vreg->desc.of_parse_cb = rpm_reg_of_parse;
desc              981 drivers/regulator/qcom_rpm-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &vreg->desc, &config);
desc               22 drivers/regulator/qcom_smd-regulator.c 	struct regulator_desc desc;
desc              507 drivers/regulator/qcom_smd-regulator.c 	const struct regulator_desc *desc;
desc              810 drivers/regulator/qcom_smd-regulator.c 		memcpy(&vreg->desc, reg->desc, sizeof(vreg->desc));
desc              812 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.id = -1;
desc              813 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.owner = THIS_MODULE;
desc              814 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.type = REGULATOR_VOLTAGE;
desc              815 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.name = reg->name;
desc              816 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.supply_name = reg->supply;
desc              817 drivers/regulator/qcom_smd-regulator.c 		vreg->desc.of_match = reg->name;
desc              821 drivers/regulator/qcom_smd-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &vreg->desc, &config);
desc              360 drivers/regulator/qcom_spmi-regulator.c 	struct regulator_desc			desc;
desc             1530 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.name, type, subtype, dig_major_rev);
desc             1538 drivers/regulator/qcom_spmi-regulator.c 	vreg->desc.ops		= mapping->ops;
desc             1543 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.n_voltages = mapping->set_points->n_voltages;
desc             1732 drivers/regulator/qcom_spmi-regulator.c 			    const struct regulator_desc *desc,
desc             2019 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.id = -1;
desc             2020 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.owner = THIS_MODULE;
desc             2021 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.type = REGULATOR_VOLTAGE;
desc             2022 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.enable_reg = reg->base + SPMI_COMMON_REG_ENABLE;
desc             2023 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.enable_mask = SPMI_COMMON_ENABLE_MASK;
desc             2024 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.enable_val = SPMI_COMMON_ENABLE;
desc             2025 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.name = name = reg->name;
desc             2026 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.supply_name = reg->supply;
desc             2027 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.of_match = reg->name;
desc             2028 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.of_parse_cb = spmi_regulator_of_parse;
desc             2029 drivers/regulator/qcom_spmi-regulator.c 		vreg->desc.of_map_mode = spmi_regulator_of_map_mode;
desc             2041 drivers/regulator/qcom_spmi-regulator.c 				spmi_saw_ops = *(vreg->desc.ops);
desc             2044 drivers/regulator/qcom_spmi-regulator.c 				vreg->desc.ops = &spmi_saw_ops;
desc             2051 drivers/regulator/qcom_spmi-regulator.c 			vreg->desc.uV_step = range->step_uV;
desc             2057 drivers/regulator/qcom_spmi-regulator.c 		rdev = devm_regulator_register(dev, &vreg->desc, &config);
desc               34 drivers/regulator/rc5t583-regulator.c 	struct regulator_desc	desc;
desc               66 drivers/regulator/rc5t583-regulator.c 	.desc = {						\
desc              139 drivers/regulator/rc5t583-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config);
desc              142 drivers/regulator/rc5t583-regulator.c 						ri->desc.name);
desc              230 drivers/regulator/rk808-regulator.c 			  rdev->desc->vsel_reg + RK808_DVS_REG_OFFSET,
desc              235 drivers/regulator/rk808-regulator.c 	val &= rdev->desc->vsel_mask;
desc              236 drivers/regulator/rk808-regulator.c 	val >>= ffs(rdev->desc->vsel_mask) - 1;
desc              245 drivers/regulator/rk808-regulator.c 	unsigned int old_sel, tmp, val, mask = rdev->desc->vsel_mask;
desc              247 drivers/regulator/rk808-regulator.c 	ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val);
desc              272 drivers/regulator/rk808-regulator.c 		ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, val);
desc              278 drivers/regulator/rk808-regulator.c 	ret = regmap_write(rdev->regmap, rdev->desc->vsel_reg, val);
desc              296 drivers/regulator/rk808-regulator.c 	unsigned int reg = rdev->desc->vsel_reg;
desc              306 drivers/regulator/rk808-regulator.c 		ret = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &old_sel);
desc              316 drivers/regulator/rk808-regulator.c 	sel <<= ffs(rdev->desc->vsel_mask) - 1;
desc              317 drivers/regulator/rk808-regulator.c 	sel |= old_sel & ~rdev->desc->vsel_mask;
desc              362 drivers/regulator/rk808-regulator.c 			rdev->desc->name, ramp_delay);
desc              392 drivers/regulator/rk808-regulator.c 			 rdev->desc->name, ramp_delay);
desc              407 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET;
desc              410 drivers/regulator/rk808-regulator.c 				  rdev->desc->vsel_mask,
desc              422 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET;
desc              425 drivers/regulator/rk808-regulator.c 				  rdev->desc->vsel_mask,
desc              437 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET;
desc              440 drivers/regulator/rk808-regulator.c 				  rdev->desc->vsel_mask,
desc              448 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->enable_reg + RK808_SLP_SET_OFF_REG_OFFSET;
desc              451 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask,
desc              452 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask);
desc              459 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->enable_reg + RK808_SLP_SET_OFF_REG_OFFSET;
desc              462 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask,
desc              470 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->enable_reg + RK808_SLP_SET_OFF_REG_OFFSET;
desc              473 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask,
desc              481 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->enable_reg + RK808_SLP_SET_OFF_REG_OFFSET;
desc              484 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask,
desc              485 drivers/regulator/rk808-regulator.c 				  rdev->desc->enable_mask);
desc              529 drivers/regulator/rk808-regulator.c 	reg = rdev->desc->vsel_reg + RK808_SLP_REG_OFFSET;
desc              550 drivers/regulator/rk808-regulator.c 		return regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg,
desc              553 drivers/regulator/rk808-regulator.c 		return regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg,
desc              568 drivers/regulator/rk808-regulator.c 	err = regmap_read(rdev->regmap, rdev->desc->vsel_reg, &val);
desc              583 drivers/regulator/rk808-regulator.c 	ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val);
desc              588 drivers/regulator/rk808-regulator.c 	val |= (rdev->desc->enable_mask & 0xf0);
desc              589 drivers/regulator/rk808-regulator.c 	val &= rdev->desc->enable_mask;
desc              591 drivers/regulator/rk808-regulator.c 	if (rdev->desc->enable_is_inverted) {
desc              592 drivers/regulator/rk808-regulator.c 		if (rdev->desc->enable_val)
desc              593 drivers/regulator/rk808-regulator.c 			return val != rdev->desc->enable_val;
desc              596 drivers/regulator/rk808-regulator.c 	if (rdev->desc->enable_val)
desc              597 drivers/regulator/rk808-regulator.c 		return val == rdev->desc->enable_val;
desc               82 drivers/regulator/s2mpa01.c 		ramp_delay = rdev->desc->ramp_delay;
desc               84 drivers/regulator/s2mpa01.c 	old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector);
desc               85 drivers/regulator/s2mpa01.c 	new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector);
desc              102 drivers/regulator/s2mps11.c 		ramp_delay = rdev->desc->ramp_delay;
desc              104 drivers/regulator/s2mps11.c 	old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector);
desc              105 drivers/regulator/s2mps11.c 	new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector);
desc              239 drivers/regulator/s2mps11.c 			val = rdev->desc->enable_mask;
desc              248 drivers/regulator/s2mps11.c 			val = rdev->desc->enable_mask;
desc              254 drivers/regulator/s2mps11.c 			val = rdev->desc->enable_mask;
desc              260 drivers/regulator/s2mps11.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              261 drivers/regulator/s2mps11.c 			rdev->desc->enable_mask, val);
desc              313 drivers/regulator/s2mps11.c 	ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val);
desc              325 drivers/regulator/s2mps11.c 	if (!(val & rdev->desc->enable_mask))
desc              328 drivers/regulator/s2mps11.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              329 drivers/regulator/s2mps11.c 				  rdev->desc->enable_mask, state);
desc              829 drivers/regulator/s2mps11.c 	return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              830 drivers/regulator/s2mps11.c 			rdev->desc->enable_mask, S2MPS14_ENABLE_EXT_CONTROL);
desc             1235 drivers/regulator/s2mps11.c 						regulator->desc->name, ret);
desc              248 drivers/regulator/s5m8767.c static int s5m8767_convert_voltage_to_sel(const struct sec_voltage_desc *desc,
desc              253 drivers/regulator/s5m8767.c 	if (desc == NULL)
desc              256 drivers/regulator/s5m8767.c 	if (min_vol > desc->max)
desc              259 drivers/regulator/s5m8767.c 	if (min_vol < desc->min)
desc              260 drivers/regulator/s5m8767.c 		min_vol = desc->min;
desc              262 drivers/regulator/s5m8767.c 	selector = DIV_ROUND_UP(min_vol - desc->min, desc->step);
desc              264 drivers/regulator/s5m8767.c 	if (desc->min + desc->step * selector > desc->max)
desc              344 drivers/regulator/s5m8767.c 		return DIV_ROUND_UP(rdev->desc->uV_step * (new_sel - old_sel),
desc              922 drivers/regulator/s5m8767.c 		const struct sec_voltage_desc *desc;
desc              927 drivers/regulator/s5m8767.c 		desc = reg_voltage_map[id];
desc              928 drivers/regulator/s5m8767.c 		if (desc) {
desc              930 drivers/regulator/s5m8767.c 				(desc->max - desc->min) / desc->step + 1;
desc              931 drivers/regulator/s5m8767.c 			regulators[id].min_uV = desc->min;
desc              932 drivers/regulator/s5m8767.c 			regulators[id].uV_step = desc->step;
desc              982 drivers/regulator/s5m8767.c 						rdev->desc->name, ret);
desc              198 drivers/regulator/slg51000-regulator.c 				const struct regulator_desc *desc,
desc               77 drivers/regulator/stm32-booster.c 	const struct regulator_desc *desc;
desc               86 drivers/regulator/stm32-booster.c 	desc = (const struct regulator_desc *)
desc               92 drivers/regulator/stm32-booster.c 	config.init_data = of_get_regulator_init_data(dev, np, desc);
desc               94 drivers/regulator/stm32-booster.c 	rdev = devm_regulator_register(dev, desc, &config);
desc               63 drivers/regulator/stm32-pwr.c 	return (val & rdev->desc->enable_mask);
desc               73 drivers/regulator/stm32-pwr.c 	val |= rdev->desc->enable_mask;
desc               92 drivers/regulator/stm32-pwr.c 	val &= ~rdev->desc->enable_mask;
desc               26 drivers/regulator/stpmic1_regulator.c 	struct regulator_desc desc;
desc              352 drivers/regulator/stpmic1_regulator.c 		.desc = REG_BUCK(BUCK1, buck1),
desc              359 drivers/regulator/stpmic1_regulator.c 		.desc = REG_BUCK(BUCK2, buck2),
desc              366 drivers/regulator/stpmic1_regulator.c 		.desc = REG_BUCK(BUCK3, buck3),
desc              373 drivers/regulator/stpmic1_regulator.c 		.desc = REG_BUCK(BUCK4, buck4),
desc              380 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO(LDO1, ldo1),
desc              387 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO(LDO2, ldo2),
desc              394 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO3(LDO3, ldo3),
desc              401 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO4(LDO4, ldo4),
desc              408 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO(LDO5, ldo5),
desc              415 drivers/regulator/stpmic1_regulator.c 		.desc = REG_LDO(LDO6, ldo6),
desc              422 drivers/regulator/stpmic1_regulator.c 		.desc = REG_VREF_DDR(VREF_DDR, vref_ddr),
desc              427 drivers/regulator/stpmic1_regulator.c 		.desc = REG_BOOST(BOOST, boost),
desc              432 drivers/regulator/stpmic1_regulator.c 		.desc = REG_VBUS_OTG(VBUS_OTG, pwr_sw1),
desc              437 drivers/regulator/stpmic1_regulator.c 		.desc = REG_SW_OUT(SW_OUT, pwr_sw2),
desc              460 drivers/regulator/stpmic1_regulator.c 	regmap_read(regmap, rdev->desc->enable_reg, &value);
desc              484 drivers/regulator/stpmic1_regulator.c 	return regmap_update_bits(regmap, rdev->desc->enable_reg,
desc              517 drivers/regulator/stpmic1_regulator.c 		.desc = &stpmic1_regulator_cfgs[STPMIC1_##_id].desc, \
desc              553 drivers/regulator/stpmic1_regulator.c 	rdev = devm_regulator_register(&pdev->dev, &cfg->desc, &config);
desc              556 drivers/regulator/stpmic1_regulator.c 			cfg->desc.name);
desc               32 drivers/regulator/sy8824x.c 	struct regulator_desc desc;
desc               89 drivers/regulator/sy8824x.c 	struct regulator_desc *rdesc = &di->desc;
desc              106 drivers/regulator/sy8824x.c 	rdev = devm_regulator_register(di->dev, &di->desc, config);
desc              129 drivers/regulator/sy8824x.c 	di->regulator = of_get_regulator_init_data(dev, np, &di->desc);
desc              314 drivers/regulator/ti-abb-regulator.c 	const struct regulator_desc *desc = rdev->desc;
desc              326 drivers/regulator/ti-abb-regulator.c 	if (!desc->n_voltages || !abb->info) {
desc              333 drivers/regulator/ti-abb-regulator.c 	if (sel >= desc->n_voltages) {
desc              335 drivers/regulator/ti-abb-regulator.c 			sel, desc->n_voltages);
desc              362 drivers/regulator/ti-abb-regulator.c 				    __func__, desc->volt_table[sel], sel,
desc              375 drivers/regulator/ti-abb-regulator.c 	const struct regulator_desc *desc = rdev->desc;
desc              385 drivers/regulator/ti-abb-regulator.c 	if (!desc->n_voltages || !abb->info) {
desc              392 drivers/regulator/ti-abb-regulator.c 	if (abb->current_info_idx >= (int)desc->n_voltages) {
desc              394 drivers/regulator/ti-abb-regulator.c 			__func__, abb->current_info_idx, desc->n_voltages);
desc              694 drivers/regulator/ti-abb-regulator.c 	struct regulator_desc *desc;
desc              848 drivers/regulator/ti-abb-regulator.c 	desc = &abb->rdesc;
desc              849 drivers/regulator/ti-abb-regulator.c 	desc->name = dev_name(dev);
desc              850 drivers/regulator/ti-abb-regulator.c 	desc->owner = THIS_MODULE;
desc              851 drivers/regulator/ti-abb-regulator.c 	desc->type = REGULATOR_VOLTAGE;
desc              852 drivers/regulator/ti-abb-regulator.c 	desc->ops = &ti_abb_reg_ops;
desc              855 drivers/regulator/ti-abb-regulator.c 	if (desc->n_voltages > 1)
desc              864 drivers/regulator/ti-abb-regulator.c 	rdev = devm_regulator_register(dev, desc, &config);
desc               88 drivers/regulator/tps51632-regulator.c 	struct regulator_desc desc;
desc              228 drivers/regulator/tps51632-regulator.c 				      const struct regulator_desc *desc)
desc              238 drivers/regulator/tps51632-regulator.c 							  desc);
desc              257 drivers/regulator/tps51632-regulator.c 				      const struct regulator_desc *desc)
desc              287 drivers/regulator/tps51632-regulator.c 	tps->desc.name = client->name;
desc              288 drivers/regulator/tps51632-regulator.c 	tps->desc.id = 0;
desc              289 drivers/regulator/tps51632-regulator.c 	tps->desc.ramp_delay = TPS51632_DEFAULT_RAMP_DELAY;
desc              290 drivers/regulator/tps51632-regulator.c 	tps->desc.min_uV = TPS51632_MIN_VOLTAGE;
desc              291 drivers/regulator/tps51632-regulator.c 	tps->desc.uV_step = TPS51632_VOLTAGE_STEP_10mV;
desc              292 drivers/regulator/tps51632-regulator.c 	tps->desc.linear_min_sel = TPS51632_MIN_VSEL;
desc              293 drivers/regulator/tps51632-regulator.c 	tps->desc.n_voltages = TPS51632_MAX_VSEL + 1;
desc              294 drivers/regulator/tps51632-regulator.c 	tps->desc.ops = &tps51632_dcdc_ops;
desc              295 drivers/regulator/tps51632-regulator.c 	tps->desc.type = REGULATOR_VOLTAGE;
desc              296 drivers/regulator/tps51632-regulator.c 	tps->desc.owner = THIS_MODULE;
desc              300 drivers/regulator/tps51632-regulator.c 		pdata = of_get_tps51632_platform_data(&client->dev, &tps->desc);
desc              322 drivers/regulator/tps51632-regulator.c 		tps->desc.vsel_reg = TPS51632_VOLTAGE_BASE_REG;
desc              324 drivers/regulator/tps51632-regulator.c 		tps->desc.vsel_reg = TPS51632_VOLTAGE_SELECT_REG;
desc              325 drivers/regulator/tps51632-regulator.c 	tps->desc.vsel_mask = TPS51632_VOUT_MASK;
desc              348 drivers/regulator/tps51632-regulator.c 	rdev = devm_regulator_register(&client->dev, &tps->desc, &config);
desc               65 drivers/regulator/tps62360-regulator.c 	struct regulator_desc desc;
desc              284 drivers/regulator/tps62360-regulator.c 	tps->desc.ramp_delay = DIV_ROUND_UP(32000, BIT(ramp_ctrl));
desc              297 drivers/regulator/tps62360-regulator.c 				      const struct regulator_desc *desc)
desc              307 drivers/regulator/tps62360-regulator.c 							  desc);
desc              359 drivers/regulator/tps62360-regulator.c 	tps->desc.name = client->name;
desc              360 drivers/regulator/tps62360-regulator.c 	tps->desc.id = 0;
desc              361 drivers/regulator/tps62360-regulator.c 	tps->desc.ops = &tps62360_dcdc_ops;
desc              362 drivers/regulator/tps62360-regulator.c 	tps->desc.type = REGULATOR_VOLTAGE;
desc              363 drivers/regulator/tps62360-regulator.c 	tps->desc.owner = THIS_MODULE;
desc              364 drivers/regulator/tps62360-regulator.c 	tps->desc.uV_step = 10000;
desc              377 drivers/regulator/tps62360-regulator.c 							      &tps->desc);
desc              400 drivers/regulator/tps62360-regulator.c 		tps->desc.min_uV = TPS62360_BASE_VOLTAGE;
desc              402 drivers/regulator/tps62360-regulator.c 		tps->desc.n_voltages = TPS62360_N_VOLTAGES;
desc              406 drivers/regulator/tps62360-regulator.c 		tps->desc.min_uV = TPS62361_BASE_VOLTAGE;
desc              408 drivers/regulator/tps62360-regulator.c 		tps->desc.n_voltages = TPS62361_N_VOLTAGES;
desc              477 drivers/regulator/tps62360-regulator.c 	rdev = devm_regulator_register(&client->dev, &tps->desc, &config);
desc              172 drivers/regulator/tps65023-regulator.c 	const struct regulator_desc *desc;
desc              254 drivers/regulator/tps65023-regulator.c 	.desc = tps65020_regulators,
desc              259 drivers/regulator/tps65023-regulator.c 	.desc = tps65021_regulators,
desc              264 drivers/regulator/tps65023-regulator.c 	.desc = tps65023_regulators,
desc              302 drivers/regulator/tps65023-regulator.c 					&tps->driver_data->desc[i], &config);
desc              116 drivers/regulator/tps6507x-regulator.c 	struct regulator_desc desc[TPS6507X_NUM_REGULATOR];
desc              362 drivers/regulator/tps6507x-regulator.c 				     const struct regulator_desc *desc,
desc              366 drivers/regulator/tps6507x-regulator.c 	struct tps_info *info = tps->info[desc->id];
desc              415 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].name = info->name;
desc              416 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].of_match = of_match_ptr(info->name);
desc              417 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].regulators_node = of_match_ptr("regulators");
desc              418 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].of_parse_cb = tps6507x_pmic_of_parse_cb;
desc              419 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].id = i;
desc              420 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].n_voltages = info->table_len;
desc              421 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].volt_table = info->table;
desc              422 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].ops = &tps6507x_pmic_ops;
desc              423 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].type = REGULATOR_VOLTAGE;
desc              424 drivers/regulator/tps6507x-regulator.c 		tps->desc[i].owner = THIS_MODULE;
desc              430 drivers/regulator/tps6507x-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &tps->desc[i],
desc               30 drivers/regulator/tps65086-regulator.c 		.desc = {						\
desc               54 drivers/regulator/tps65086-regulator.c 		.desc = {						\
desc               69 drivers/regulator/tps65086-regulator.c 	struct regulator_desc desc;
desc              122 drivers/regulator/tps65086-regulator.c 				const struct regulator_desc *desc,
desc              166 drivers/regulator/tps65086-regulator.c 				const struct regulator_desc *desc,
desc              173 drivers/regulator/tps65086-regulator.c 		switch (desc->id) {
desc              177 drivers/regulator/tps65086-regulator.c 			regulators[desc->id].desc.linear_ranges =
desc              179 drivers/regulator/tps65086-regulator.c 			regulators[desc->id].desc.n_linear_ranges =
desc              185 drivers/regulator/tps65086-regulator.c 			regulators[desc->id].desc.linear_ranges =
desc              187 drivers/regulator/tps65086-regulator.c 			regulators[desc->id].desc.n_linear_ranges =
desc              196 drivers/regulator/tps65086-regulator.c 	if (desc->id <= BUCK6 && of_property_read_bool(node, "ti,regulator-decay")) {
desc              198 drivers/regulator/tps65086-regulator.c 					regulators[desc->id].decay_reg,
desc              199 drivers/regulator/tps65086-regulator.c 					regulators[desc->id].decay_mask,
desc              200 drivers/regulator/tps65086-regulator.c 					regulators[desc->id].decay_mask);
desc              225 drivers/regulator/tps65086-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &regulators[i].desc,
desc               44 drivers/regulator/tps65090-regulator.c 	struct regulator_desc	*desc;
desc               69 drivers/regulator/tps65090-regulator.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               74 drivers/regulator/tps65090-regulator.c 			rdev->desc->enable_reg);
desc               93 drivers/regulator/tps65090-regulator.c 	ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc               94 drivers/regulator/tps65090-regulator.c 				 rdev->desc->enable_mask,
desc               95 drivers/regulator/tps65090-regulator.c 				 rdev->desc->enable_mask);
desc               98 drivers/regulator/tps65090-regulator.c 			rdev->desc->enable_reg);
desc              103 drivers/regulator/tps65090-regulator.c 		ret = regmap_read(rdev->regmap, rdev->desc->enable_reg,
desc              150 drivers/regulator/tps65090-regulator.c 		ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg,
desc              151 drivers/regulator/tps65090-regulator.c 					 rdev->desc->enable_mask, 0);
desc              160 drivers/regulator/tps65090-regulator.c 			 rdev->desc->enable_reg, tries);
desc              164 drivers/regulator/tps65090-regulator.c 	dev_warn(&rdev->dev, "reg %#x enable failed\n", rdev->desc->enable_reg);
desc              259 drivers/regulator/tps65090-regulator.c 	unsigned int reg_en_reg = ri->desc->enable_reg;
desc              276 drivers/regulator/tps65090-regulator.c 	unsigned int reg_en_reg = ri->desc->enable_reg;
desc              436 drivers/regulator/tps65090-regulator.c 		ri->desc = &tps65090_regulator_desc[num];
desc              450 drivers/regulator/tps65090-regulator.c 				ri->desc->ops = &tps65090_ext_control_ops;
desc              480 drivers/regulator/tps65090-regulator.c 		rdev = devm_regulator_register(&pdev->dev, ri->desc, &config);
desc              483 drivers/regulator/tps65090-regulator.c 				ri->desc->name);
desc              132 drivers/regulator/tps65132-regulator.c 				const struct regulator_desc *desc,
desc              136 drivers/regulator/tps65132-regulator.c 	struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[desc->id];
desc               82 drivers/regulator/tps65217-regulator.c 				 dev->desc->enable_mask, dev->desc->enable_mask,
desc               96 drivers/regulator/tps65217-regulator.c 				   dev->desc->enable_mask, TPS65217_PROTECT_L1);
desc              107 drivers/regulator/tps65217-regulator.c 	ret = tps65217_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask,
desc              130 drivers/regulator/tps65217-regulator.c 	return tps65217_clear_bits(tps, dev->desc->bypass_reg,
desc              131 drivers/regulator/tps65217-regulator.c 				   dev->desc->bypass_mask,
desc              146 drivers/regulator/tps65217-regulator.c 	return tps65217_set_bits(tps, dev->desc->bypass_reg,
desc              147 drivers/regulator/tps65217-regulator.c 				 dev->desc->bypass_mask,
desc               82 drivers/regulator/tps65218-regulator.c 	ret = tps65218_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask,
desc              108 drivers/regulator/tps65218-regulator.c 	return tps65218_set_bits(tps, dev->desc->enable_reg,
desc              109 drivers/regulator/tps65218-regulator.c 				 dev->desc->enable_mask, dev->desc->enable_mask,
desc              122 drivers/regulator/tps65218-regulator.c 	return tps65218_clear_bits(tps, dev->desc->enable_reg,
desc              123 drivers/regulator/tps65218-regulator.c 				   dev->desc->enable_mask, TPS65218_PROTECT_L1);
desc              134 drivers/regulator/tps65218-regulator.c 	return tps65218_clear_bits(tps, dev->desc->bypass_reg,
desc              135 drivers/regulator/tps65218-regulator.c 				   dev->desc->bypass_mask,
desc              162 drivers/regulator/tps65218-regulator.c 	return tps65218_set_bits(tps, dev->desc->bypass_reg,
desc              163 drivers/regulator/tps65218-regulator.c 				 dev->desc->bypass_mask,
desc              209 drivers/regulator/tps65218-regulator.c 	return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask,
desc              210 drivers/regulator/tps65218-regulator.c 				 index << __builtin_ctz(dev->desc->csel_mask),
desc              229 drivers/regulator/tps65218-regulator.c 	return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask,
desc              230 drivers/regulator/tps65218-regulator.c 				 index << __builtin_ctz(dev->desc->csel_mask),
desc              139 drivers/regulator/tps6524x-regulator.c 	struct regulator_desc	desc[N_REGULATORS];
desc              464 drivers/regulator/tps6524x-regulator.c 	if (rdev->desc->n_voltages == 1)
desc              479 drivers/regulator/tps6524x-regulator.c 	if (rdev->desc->n_voltages == 1)
desc              607 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].name	= info->name;
desc              608 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].id		= i;
desc              609 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].n_voltages	= info->n_voltages;
desc              610 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].volt_table	= info->voltages;
desc              611 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].ops		= &regulator_ops;
desc              612 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].type	= REGULATOR_VOLTAGE;
desc              613 drivers/regulator/tps6524x-regulator.c 		hw->desc[i].owner	= THIS_MODULE;
desc              619 drivers/regulator/tps6524x-regulator.c 		rdev = devm_regulator_register(dev, &hw->desc[i], &config);
desc               57 drivers/regulator/tps6586x-regulator.c 	struct regulator_desc desc;
desc              111 drivers/regulator/tps6586x-regulator.c 	.desc	= {							\
desc              135 drivers/regulator/tps6586x-regulator.c 	.desc	= {							\
desc              190 drivers/regulator/tps6586x-regulator.c 	.desc	= {							\
desc              361 drivers/regulator/tps6586x-regulator.c 			if (ri->desc.id == id)
desc              368 drivers/regulator/tps6586x-regulator.c 		if (ri->desc.id == id)
desc              498 drivers/regulator/tps6586x-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &ri->desc, &config);
desc              501 drivers/regulator/tps6586x-regulator.c 					ri->desc.name);
desc              309 drivers/regulator/tps65910-regulator.c 	struct regulator_desc *desc;
desc              553 drivers/regulator/tps65910-regulator.c 	return dev->desc->volt_table[0];
desc             1131 drivers/regulator/tps65910-regulator.c 	pmic->desc = devm_kcalloc(&pdev->dev,
desc             1135 drivers/regulator/tps65910-regulator.c 	if (!pmic->desc)
desc             1156 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].name = info->name;
desc             1157 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].supply_name = info->vin_name;
desc             1158 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].id = i;
desc             1159 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].n_voltages = info->n_voltages;
desc             1160 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].enable_time = info->enable_time_us;
desc             1163 drivers/regulator/tps65910-regulator.c 			pmic->desc[i].ops = &tps65910_ops_dcdc;
desc             1164 drivers/regulator/tps65910-regulator.c 			pmic->desc[i].n_voltages = VDD1_2_NUM_VOLT_FINE *
desc             1166 drivers/regulator/tps65910-regulator.c 			pmic->desc[i].ramp_delay = 12500;
desc             1169 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].ops = &tps65910_ops_vdd3;
desc             1170 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].volt_table = info->voltage_table;
desc             1172 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].ops = &tps65910_ops_dcdc;
desc             1173 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].ramp_delay = 5000;
desc             1177 drivers/regulator/tps65910-regulator.c 			pmic->desc[i].ops = &tps65910_ops_vbb;
desc             1178 drivers/regulator/tps65910-regulator.c 			pmic->desc[i].volt_table = info->voltage_table;
desc             1181 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].ops = &tps65910_ops;
desc             1182 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].volt_table = info->voltage_table;
desc             1184 drivers/regulator/tps65910-regulator.c 				pmic->desc[i].ops = &tps65911_ops;
desc             1198 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].type = REGULATOR_VOLTAGE;
desc             1199 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].owner = THIS_MODULE;
desc             1200 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].enable_reg = pmic->get_ctrl_reg(i);
desc             1201 drivers/regulator/tps65910-regulator.c 		pmic->desc[i].enable_mask = TPS65910_SUPPLY_STATE_ENABLED;
desc             1211 drivers/regulator/tps65910-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &pmic->desc[i],
desc               68 drivers/regulator/tps80031-regulator.c 	struct regulator_desc	desc;
desc              233 drivers/regulator/tps80031-regulator.c 	if ((ri->rinfo->desc.id == TPS80031_REGULATOR_LDO2) &&
desc              257 drivers/regulator/tps80031-regulator.c 	if ((ri->rinfo->desc.id == TPS80031_REGULATOR_LDO2) &&
desc              353 drivers/regulator/tps80031-regulator.c 	mdelay(DIV_ROUND_UP(ri->rinfo->desc.enable_time, 1000));
desc              418 drivers/regulator/tps80031-regulator.c 	.desc = {						\
desc              436 drivers/regulator/tps80031-regulator.c 	.desc = {						\
desc              458 drivers/regulator/tps80031-regulator.c 	.desc = {						\
desc              529 drivers/regulator/tps80031-regulator.c 	switch (ri->rinfo->desc.id) {
desc              566 drivers/regulator/tps80031-regulator.c 			ri->rinfo->desc.ops = &tps80031_vbus_sw_ops;
desc              607 drivers/regulator/tps80031-regulator.c 	switch (ri->rinfo->desc.id) {
desc              627 drivers/regulator/tps80031-regulator.c 			ri->rinfo->desc.min_uV = 600000;
desc              628 drivers/regulator/tps80031-regulator.c 			ri->rinfo->desc.uV_step = 12500;
desc              629 drivers/regulator/tps80031-regulator.c 			ri->rinfo->desc.n_voltages = 57;
desc              630 drivers/regulator/tps80031-regulator.c 			ri->rinfo->desc.vsel_mask = LDO_TRACK_VSEL_MASK;
desc              641 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.min_uV = 607700;
desc              642 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.uV_step = 12660;
desc              645 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.min_uV = 700000;
desc              646 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.uV_step = 12500;
desc              649 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.min_uV = 1852000;
desc              650 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.uV_step = 38600;
desc              653 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.min_uV = 2161000;
desc              654 drivers/regulator/tps80031-regulator.c 		ri->rinfo->desc.uV_step = 38600;
desc              716 drivers/regulator/tps80031-regulator.c 		rdev = devm_regulator_register(&pdev->dev, &ri->rinfo->desc,
desc              721 drivers/regulator/tps80031-regulator.c 					ri->rinfo->desc.name);
desc               48 drivers/regulator/twl-regulator.c 	struct regulator_desc	desc;
desc              470 drivers/regulator/twl-regulator.c 	.desc = { \
desc              488 drivers/regulator/twl-regulator.c 	.desc = { \
desc              508 drivers/regulator/twl-regulator.c 	.desc = { \
desc              598 drivers/regulator/twl-regulator.c 	id = template->desc.id;
desc              600 drivers/regulator/twl-regulator.c 						&template->desc);
desc              635 drivers/regulator/twl-regulator.c 	rdev = devm_regulator_register(&pdev->dev, &info->desc, &config);
desc              638 drivers/regulator/twl-regulator.c 				info->desc.name, PTR_ERR(rdev));
desc               33 drivers/regulator/twl6030-regulator.c 	struct regulator_desc	desc;
desc              506 drivers/regulator/twl6030-regulator.c 	.desc = { \
desc              518 drivers/regulator/twl6030-regulator.c 	.desc = { \
desc              533 drivers/regulator/twl6030-regulator.c 	.desc = { \
desc              549 drivers/regulator/twl6030-regulator.c 	.desc = { \
desc              565 drivers/regulator/twl6030-regulator.c 	.desc = { \
desc              684 drivers/regulator/twl6030-regulator.c 	id = template->desc.id;
desc              685 drivers/regulator/twl6030-regulator.c 	initdata = of_get_regulator_init_data(&pdev->dev, np, &template->desc);
desc              731 drivers/regulator/twl6030-regulator.c 	rdev = devm_regulator_register(&pdev->dev, &info->desc, &config);
desc              734 drivers/regulator/twl6030-regulator.c 				info->desc.name, PTR_ERR(rdev));
desc               25 drivers/regulator/uniphier-regulator.c 	const struct regulator_desc *desc;
desc              100 drivers/regulator/uniphier-regulator.c 						      priv->data->desc);
desc              101 drivers/regulator/uniphier-regulator.c 	rdev = devm_regulator_register(dev, priv->data->desc, &config);
desc              165 drivers/regulator/uniphier-regulator.c 	.desc = &uniphier_usb3_regulator_desc,
desc              178 drivers/regulator/uniphier-regulator.c 	.desc = &uniphier_usb3_regulator_desc,
desc               39 drivers/regulator/vctrl-regulator.c 	struct regulator_desc desc;
desc              158 drivers/regulator/vctrl-regulator.c 	if (selector >= rdev->desc->n_voltages)
desc              223 drivers/regulator/vctrl-regulator.c 	if (selector >= rdev->desc->n_voltages)
desc              321 drivers/regulator/vctrl-regulator.c 	struct regulator_desc *rdesc = &vctrl->desc;
desc              466 drivers/regulator/vctrl-regulator.c 	rdesc = &vctrl->desc;
desc               42 drivers/regulator/vexpress-regulator.c 	struct regulator_desc *desc;
desc               48 drivers/regulator/vexpress-regulator.c 	desc = devm_kzalloc(&pdev->dev, sizeof(*desc), GFP_KERNEL);
desc               49 drivers/regulator/vexpress-regulator.c 	if (!desc)
desc               56 drivers/regulator/vexpress-regulator.c 	desc->name = dev_name(&pdev->dev);
desc               57 drivers/regulator/vexpress-regulator.c 	desc->type = REGULATOR_VOLTAGE;
desc               58 drivers/regulator/vexpress-regulator.c 	desc->owner = THIS_MODULE;
desc               59 drivers/regulator/vexpress-regulator.c 	desc->continuous_voltage_range = true;
desc               62 drivers/regulator/vexpress-regulator.c 					       desc);
desc               68 drivers/regulator/vexpress-regulator.c 		desc->ops = &vexpress_regulator_ops;
desc               70 drivers/regulator/vexpress-regulator.c 		desc->ops = &vexpress_regulator_ops_ro;
desc               77 drivers/regulator/vexpress-regulator.c 	rdev = devm_regulator_register(&pdev->dev, desc, &config);
desc               49 drivers/regulator/wm831x-dcdc.c 	struct regulator_desc desc;
desc              425 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.name = dcdc->name;
desc              429 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.supply_name = dcdc->supply_name;
desc              431 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.id = id;
desc              432 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.type = REGULATOR_VOLTAGE;
desc              433 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.n_voltages = WM831X_BUCKV_MAX_SELECTOR + 1;
desc              434 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.linear_ranges = wm831x_buckv_ranges;
desc              435 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.n_linear_ranges = ARRAY_SIZE(wm831x_buckv_ranges);
desc              436 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.ops = &wm831x_buckv_ops;
desc              437 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.owner = THIS_MODULE;
desc              438 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_reg = WM831X_DCDC_ENABLE;
desc              439 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_mask = 1 << id;
desc              440 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.csel_reg = dcdc->base + WM831X_DCDC_CONTROL_2;
desc              441 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.csel_mask = WM831X_DC1_HC_THR_MASK;
desc              442 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.n_current_limits = ARRAY_SIZE(wm831x_dcdc_ilim);
desc              443 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.curr_table = wm831x_dcdc_ilim;
desc              469 drivers/regulator/wm831x-dcdc.c 	dcdc->regulator = devm_regulator_register(&pdev->dev, &dcdc->desc,
desc              583 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.name = dcdc->name;
desc              587 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.supply_name = dcdc->supply_name;
desc              589 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.id = id;
desc              590 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.type = REGULATOR_VOLTAGE;
desc              591 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.n_voltages = WM831X_BUCKP_MAX_SELECTOR + 1;
desc              592 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.ops = &wm831x_buckp_ops;
desc              593 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.owner = THIS_MODULE;
desc              594 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.vsel_reg = dcdc->base + WM831X_DCDC_ON_CONFIG;
desc              595 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.vsel_mask = WM831X_DC3_ON_VSEL_MASK;
desc              596 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_reg = WM831X_DCDC_ENABLE;
desc              597 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_mask = 1 << id;
desc              598 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.min_uV = 850000;
desc              599 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.uV_step = 25000;
desc              607 drivers/regulator/wm831x-dcdc.c 	dcdc->regulator = devm_regulator_register(&pdev->dev, &dcdc->desc,
desc              710 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.name = dcdc->name;
desc              711 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.id = id;
desc              712 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.type = REGULATOR_VOLTAGE;
desc              713 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.ops = &wm831x_boostp_ops;
desc              714 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.owner = THIS_MODULE;
desc              715 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_reg = WM831X_DCDC_ENABLE;
desc              716 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_mask = 1 << id;
desc              724 drivers/regulator/wm831x-dcdc.c 	dcdc->regulator = devm_regulator_register(&pdev->dev, &dcdc->desc,
desc              794 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.name = dcdc->name;
desc              795 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.id = id + WM831X_EPE_BASE; /* Offset in DCDC registers */
desc              796 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.ops = &wm831x_epe_ops;
desc              797 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.type = REGULATOR_VOLTAGE;
desc              798 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.owner = THIS_MODULE;
desc              799 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_reg = WM831X_DCDC_ENABLE;
desc              800 drivers/regulator/wm831x-dcdc.c 	dcdc->desc.enable_mask = 1 << dcdc->desc.id;
desc              808 drivers/regulator/wm831x-dcdc.c 	dcdc->regulator = devm_regulator_register(&pdev->dev, &dcdc->desc,
desc               27 drivers/regulator/wm831x-isink.c 	struct regulator_desc desc;
desc              146 drivers/regulator/wm831x-isink.c 	isink->desc.name = isink->name;
desc              147 drivers/regulator/wm831x-isink.c 	isink->desc.id = id;
desc              148 drivers/regulator/wm831x-isink.c 	isink->desc.ops = &wm831x_isink_ops;
desc              149 drivers/regulator/wm831x-isink.c 	isink->desc.type = REGULATOR_CURRENT;
desc              150 drivers/regulator/wm831x-isink.c 	isink->desc.owner = THIS_MODULE;
desc              151 drivers/regulator/wm831x-isink.c 	isink->desc.curr_table = wm831x_isinkv_values,
desc              152 drivers/regulator/wm831x-isink.c 	isink->desc.n_current_limits = ARRAY_SIZE(wm831x_isinkv_values),
desc              153 drivers/regulator/wm831x-isink.c 	isink->desc.csel_reg = isink->reg,
desc              154 drivers/regulator/wm831x-isink.c 	isink->desc.csel_mask = WM831X_CS1_ISEL_MASK,
desc              161 drivers/regulator/wm831x-isink.c 	isink->regulator = devm_regulator_register(&pdev->dev, &isink->desc,
desc               35 drivers/regulator/wm831x-ldo.c 	struct regulator_desc desc;
desc              249 drivers/regulator/wm831x-ldo.c 	ldo->desc.name = ldo->name;
desc              253 drivers/regulator/wm831x-ldo.c 	ldo->desc.supply_name = ldo->supply_name;
desc              255 drivers/regulator/wm831x-ldo.c 	ldo->desc.id = id;
desc              256 drivers/regulator/wm831x-ldo.c 	ldo->desc.type = REGULATOR_VOLTAGE;
desc              257 drivers/regulator/wm831x-ldo.c 	ldo->desc.n_voltages = 32;
desc              258 drivers/regulator/wm831x-ldo.c 	ldo->desc.ops = &wm831x_gp_ldo_ops;
desc              259 drivers/regulator/wm831x-ldo.c 	ldo->desc.owner = THIS_MODULE;
desc              260 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_reg = ldo->base + WM831X_LDO_ON_CONTROL;
desc              261 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_mask = WM831X_LDO1_ON_VSEL_MASK;
desc              262 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_reg = WM831X_LDO_ENABLE;
desc              263 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_mask = 1 << id;
desc              264 drivers/regulator/wm831x-ldo.c 	ldo->desc.bypass_reg = ldo->base;
desc              265 drivers/regulator/wm831x-ldo.c 	ldo->desc.bypass_mask = WM831X_LDO1_SWI;
desc              266 drivers/regulator/wm831x-ldo.c 	ldo->desc.linear_ranges = wm831x_gp_ldo_ranges;
desc              267 drivers/regulator/wm831x-ldo.c 	ldo->desc.n_linear_ranges = ARRAY_SIZE(wm831x_gp_ldo_ranges);
desc              275 drivers/regulator/wm831x-ldo.c 	ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc,
desc              459 drivers/regulator/wm831x-ldo.c 	ldo->desc.name = ldo->name;
desc              463 drivers/regulator/wm831x-ldo.c 	ldo->desc.supply_name = ldo->supply_name;
desc              465 drivers/regulator/wm831x-ldo.c 	ldo->desc.id = id;
desc              466 drivers/regulator/wm831x-ldo.c 	ldo->desc.type = REGULATOR_VOLTAGE;
desc              467 drivers/regulator/wm831x-ldo.c 	ldo->desc.n_voltages = 32;
desc              468 drivers/regulator/wm831x-ldo.c 	ldo->desc.linear_ranges = wm831x_aldo_ranges;
desc              469 drivers/regulator/wm831x-ldo.c 	ldo->desc.n_linear_ranges = ARRAY_SIZE(wm831x_aldo_ranges);
desc              470 drivers/regulator/wm831x-ldo.c 	ldo->desc.ops = &wm831x_aldo_ops;
desc              471 drivers/regulator/wm831x-ldo.c 	ldo->desc.owner = THIS_MODULE;
desc              472 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_reg = ldo->base + WM831X_LDO_ON_CONTROL;
desc              473 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_mask = WM831X_LDO7_ON_VSEL_MASK;
desc              474 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_reg = WM831X_LDO_ENABLE;
desc              475 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_mask = 1 << id;
desc              476 drivers/regulator/wm831x-ldo.c 	ldo->desc.bypass_reg = ldo->base;
desc              477 drivers/regulator/wm831x-ldo.c 	ldo->desc.bypass_mask = WM831X_LDO7_SWI;
desc              485 drivers/regulator/wm831x-ldo.c 	ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc,
desc              604 drivers/regulator/wm831x-ldo.c 	ldo->desc.name = ldo->name;
desc              608 drivers/regulator/wm831x-ldo.c 	ldo->desc.supply_name = ldo->supply_name;
desc              610 drivers/regulator/wm831x-ldo.c 	ldo->desc.id = id;
desc              611 drivers/regulator/wm831x-ldo.c 	ldo->desc.type = REGULATOR_VOLTAGE;
desc              612 drivers/regulator/wm831x-ldo.c 	ldo->desc.n_voltages = WM831X_ALIVE_LDO_MAX_SELECTOR + 1;
desc              613 drivers/regulator/wm831x-ldo.c 	ldo->desc.ops = &wm831x_alive_ldo_ops;
desc              614 drivers/regulator/wm831x-ldo.c 	ldo->desc.owner = THIS_MODULE;
desc              615 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_reg = ldo->base + WM831X_ALIVE_LDO_ON_CONTROL;
desc              616 drivers/regulator/wm831x-ldo.c 	ldo->desc.vsel_mask = WM831X_LDO11_ON_VSEL_MASK;
desc              617 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_reg = WM831X_LDO_ENABLE;
desc              618 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_mask = 1 << id;
desc              619 drivers/regulator/wm831x-ldo.c 	ldo->desc.min_uV = 800000;
desc              620 drivers/regulator/wm831x-ldo.c 	ldo->desc.uV_step = 50000;
desc              621 drivers/regulator/wm831x-ldo.c 	ldo->desc.enable_time = 1000;
desc              629 drivers/regulator/wm831x-ldo.c 	ldo->regulator = devm_regulator_register(&pdev->dev, &ldo->desc,
desc              411 drivers/remoteproc/qcom_q6v5_adsp.c 	const struct adsp_pil_data *desc;
desc              416 drivers/remoteproc/qcom_q6v5_adsp.c 	desc = of_device_get_match_data(&pdev->dev);
desc              417 drivers/remoteproc/qcom_q6v5_adsp.c 	if (!desc)
desc              421 drivers/remoteproc/qcom_q6v5_adsp.c 			    desc->firmware_name, sizeof(*adsp));
desc              436 drivers/remoteproc/qcom_q6v5_adsp.c 	ret = adsp_init_clock(adsp, desc->clk_ids);
desc              450 drivers/remoteproc/qcom_q6v5_adsp.c 	ret = qcom_q6v5_init(&adsp->q6v5, pdev, rproc, desc->crash_reason_smem,
desc              456 drivers/remoteproc/qcom_q6v5_adsp.c 	qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name);
desc              458 drivers/remoteproc/qcom_q6v5_adsp.c 					      desc->sysmon_name,
desc              459 drivers/remoteproc/qcom_q6v5_adsp.c 					      desc->ssctl_id);
desc             1408 drivers/remoteproc/qcom_q6v5_mss.c 	const struct rproc_hexagon_res *desc;
desc             1414 drivers/remoteproc/qcom_q6v5_mss.c 	desc = of_device_get_match_data(&pdev->dev);
desc             1415 drivers/remoteproc/qcom_q6v5_mss.c 	if (!desc)
desc             1418 drivers/remoteproc/qcom_q6v5_mss.c 	if (desc->need_mem_protection && !qcom_scm_is_available())
desc             1421 drivers/remoteproc/qcom_q6v5_mss.c 	mba_image = desc->hexagon_mba_image;
desc             1456 drivers/remoteproc/qcom_q6v5_mss.c 			       desc->proxy_clk_names);
desc             1464 drivers/remoteproc/qcom_q6v5_mss.c 			       desc->reset_clk_names);
desc             1472 drivers/remoteproc/qcom_q6v5_mss.c 			       desc->active_clk_names);
desc             1480 drivers/remoteproc/qcom_q6v5_mss.c 				  desc->proxy_supply);
desc             1488 drivers/remoteproc/qcom_q6v5_mss.c 				  desc->active_supply);
desc             1496 drivers/remoteproc/qcom_q6v5_mss.c 			      desc->active_pd_names);
desc             1504 drivers/remoteproc/qcom_q6v5_mss.c 			      desc->proxy_pd_names);
desc             1511 drivers/remoteproc/qcom_q6v5_mss.c 	qproc->has_alt_reset = desc->has_alt_reset;
desc             1516 drivers/remoteproc/qcom_q6v5_mss.c 	qproc->version = desc->version;
desc             1517 drivers/remoteproc/qcom_q6v5_mss.c 	qproc->need_mem_protection = desc->need_mem_protection;
desc              250 drivers/remoteproc/qcom_q6v5_pas.c 	const struct adsp_data *desc;
desc              256 drivers/remoteproc/qcom_q6v5_pas.c 	desc = of_device_get_match_data(&pdev->dev);
desc              257 drivers/remoteproc/qcom_q6v5_pas.c 	if (!desc)
desc              263 drivers/remoteproc/qcom_q6v5_pas.c 	fw_name = desc->firmware_name;
desc              279 drivers/remoteproc/qcom_q6v5_pas.c 	adsp->pas_id = desc->pas_id;
desc              280 drivers/remoteproc/qcom_q6v5_pas.c 	adsp->has_aggre2_clk = desc->has_aggre2_clk;
desc              295 drivers/remoteproc/qcom_q6v5_pas.c 	ret = qcom_q6v5_init(&adsp->q6v5, pdev, rproc, desc->crash_reason_smem,
desc              302 drivers/remoteproc/qcom_q6v5_pas.c 	qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name);
desc              304 drivers/remoteproc/qcom_q6v5_pas.c 					      desc->sysmon_name,
desc              305 drivers/remoteproc/qcom_q6v5_pas.c 					      desc->ssctl_id);
desc              148 drivers/remoteproc/remoteproc_virtio.c 				 struct irq_affinity *desc)
desc               26 drivers/reset/reset-qcom-aoss.c 	const struct qcom_aoss_desc *desc;
desc               54 drivers/reset/reset-qcom-aoss.c 	const struct qcom_aoss_reset_map *map = &data->desc->resets[idx];
desc               66 drivers/reset/reset-qcom-aoss.c 	const struct qcom_aoss_reset_map *map = &data->desc->resets[idx];
desc               92 drivers/reset/reset-qcom-aoss.c 	const struct qcom_aoss_desc *desc;
desc               95 drivers/reset/reset-qcom-aoss.c 	desc = of_device_get_match_data(dev);
desc               96 drivers/reset/reset-qcom-aoss.c 	if (!desc)
desc              103 drivers/reset/reset-qcom-aoss.c 	data->desc = desc;
desc              111 drivers/reset/reset-qcom-aoss.c 	data->rcdev.nr_resets = desc->num_resets;
desc              318 drivers/s390/cio/chp.c 	type = chp->desc.desc;
desc              448 drivers/s390/cio/chp.c 	rc = chsc_determine_fmt0_channel_path_desc(chp->chpid, &chp->desc);
desc              497 drivers/s390/cio/chp.c 	if ((chp->desc.flags & 0x80) == 0) {
desc              538 drivers/s390/cio/chp.c 	struct channel_path_desc_fmt0 *desc;
desc              543 drivers/s390/cio/chp.c 	desc = kmalloc(sizeof(*desc), GFP_KERNEL);
desc              544 drivers/s390/cio/chp.c 	if (!desc)
desc              548 drivers/s390/cio/chp.c 	memcpy(desc, &chp->desc, sizeof(*desc));
desc              550 drivers/s390/cio/chp.c 	return desc;
desc               47 drivers/s390/cio/chp.h 	struct channel_path_desc_fmt0 desc;
desc              938 drivers/s390/cio/chsc.c 	struct chp_id chpid, struct channel_path_desc_fmt##FMT *desc)	\
desc              951 drivers/s390/cio/chsc.c 	memcpy(desc, scpd_area->data, sizeof(*desc));			\
desc               28 drivers/s390/cio/chsc.h 	u8 desc;
desc              156 drivers/s390/cio/chsc.h 					  struct channel_path_desc_fmt0 *desc);
desc              158 drivers/s390/cio/chsc.h 					  struct channel_path_desc_fmt1 *desc);
desc              160 drivers/s390/cio/chsc.h 					  struct channel_path_desc_fmt3 *desc);
desc             1264 drivers/s390/net/qeth_core_main.c 	card->info.func_level = 0x4100 + chp_dsc->desc;
desc               93 drivers/s390/virtio/virtio_ccw.c 	__u64 desc;
desc              467 drivers/s390/virtio/virtio_ccw.c 		info->info_block->s.desc = 0;
desc              566 drivers/s390/virtio/virtio_ccw.c 		info->info_block->s.desc = queue;
desc              657 drivers/s390/virtio/virtio_ccw.c 			       struct irq_affinity *desc)
desc              837 drivers/scsi/be2iscsi/be_iscsi.c 	strcpy(stats->custom[0].desc, "eh_abort_cnt");
desc             3570 drivers/scsi/be2iscsi/be_main.c 		struct irq_affinity desc = { .post_vectors = 1 };
desc             3573 drivers/scsi/be2iscsi/be_main.c 				PCI_IRQ_MSIX | PCI_IRQ_AFFINITY, &desc) < 0) {
desc             1651 drivers/scsi/bnx2i/bnx2i_iscsi.c 	strcpy(stats->custom[0].desc, "eh_abort_cnt");
desc              100 drivers/scsi/csiostor/csio_hw.h 	char		desc[24];	/* Description of this vector */
desc              357 drivers/scsi/csiostor/csio_isr.c 	int len = sizeof(entryp->desc) - 1;
desc              361 drivers/scsi/csiostor/csio_isr.c 	memset(entryp->desc, 0, len + 1);
desc              362 drivers/scsi/csiostor/csio_isr.c 	snprintf(entryp->desc, len, "csio-%02x:%02x:%x-nondata",
desc              366 drivers/scsi/csiostor/csio_isr.c 	memset(entryp->desc, 0, len + 1);
desc              367 drivers/scsi/csiostor/csio_isr.c 	snprintf(entryp->desc, len, "csio-%02x:%02x:%x-fwevt",
desc              373 drivers/scsi/csiostor/csio_isr.c 		memset(entryp->desc, 0, len + 1);
desc              374 drivers/scsi/csiostor/csio_isr.c 		snprintf(entryp->desc, len, "csio-%02x:%02x:%x-scsi%d",
desc              404 drivers/scsi/csiostor/csio_isr.c 			 entryp[k].desc, hw);
desc              414 drivers/scsi/csiostor/csio_isr.c 			 entryp[k].desc, hw);
desc              431 drivers/scsi/csiostor/csio_isr.c 					 entryp[k].desc, q);
desc              502 drivers/scsi/csiostor/csio_isr.c 	struct irq_affinity desc = {
desc              521 drivers/scsi/csiostor/csio_isr.c 			PCI_IRQ_MSIX | PCI_IRQ_AFFINITY, &desc);
desc             2195 drivers/scsi/cxgbi/libcxgbi.c 	strcpy(stats->custom[0].desc, "eh_abort_cnt");
desc             1586 drivers/scsi/cxlflash/main.c 			__func__, port, info->desc,
desc              121 drivers/scsi/cxlflash/main.h 	char *desc;
desc              510 drivers/scsi/device_handler/scsi_dh_alua.c 	unsigned char *desc, *buff;
desc              641 drivers/scsi/device_handler/scsi_dh_alua.c 	for (k = tpg_desc_tbl_off, desc = buff + tpg_desc_tbl_off;
desc              643 drivers/scsi/device_handler/scsi_dh_alua.c 	     k += off, desc += off) {
desc              644 drivers/scsi/device_handler/scsi_dh_alua.c 		u16 group_id = get_unaligned_be16(&desc[2]);
desc              656 drivers/scsi/device_handler/scsi_dh_alua.c 					tmp_pg->state = desc[0] & 0x0f;
desc              657 drivers/scsi/device_handler/scsi_dh_alua.c 					tmp_pg->pref = desc[0] >> 7;
desc              663 drivers/scsi/device_handler/scsi_dh_alua.c 						h->sdev->access_state = desc[0];
desc              668 drivers/scsi/device_handler/scsi_dh_alua.c 					tmp_pg->valid_states = desc[1];
desc              673 drivers/scsi/device_handler/scsi_dh_alua.c 		off = 8 + (desc[7] * 4);
desc              385 drivers/scsi/fcoe/fcoe_ctlr.c 		} __packed desc;
desc              403 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->fip.fip_dl_len = htons(sizeof(sol->desc) / FIP_BPW);
desc              408 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC;
desc              409 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.mac.fd_desc.fip_dlen = sizeof(sol->desc.mac) / FIP_BPW;
desc              410 drivers/scsi/fcoe/fcoe_ctlr.c 	memcpy(sol->desc.mac.fd_mac, fip->ctl_src_addr, ETH_ALEN);
desc              412 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME;
desc              413 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.wwnn.fd_desc.fip_dlen = sizeof(sol->desc.wwnn) / FIP_BPW;
desc              414 drivers/scsi/fcoe/fcoe_ctlr.c 	put_unaligned_be64(fip->lp->wwnn, &sol->desc.wwnn.fd_wwn);
desc              417 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.size.fd_desc.fip_dtype = FIP_DT_FCOE_SIZE;
desc              418 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.size.fd_desc.fip_dlen = sizeof(sol->desc.size) / FIP_BPW;
desc              419 drivers/scsi/fcoe/fcoe_ctlr.c 	sol->desc.size.fd_size = htons(fcoe_size);
desc              893 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fip_desc *desc = NULL;
desc              918 drivers/scsi/fcoe/fcoe_ctlr.c 	desc = (struct fip_desc *)(fiph + 1);
desc              920 drivers/scsi/fcoe/fcoe_ctlr.c 		dlen = desc->fip_dlen * FIP_BPW;
desc              921 drivers/scsi/fcoe/fcoe_ctlr.c 		if (dlen < sizeof(*desc) || dlen > rlen)
desc              924 drivers/scsi/fcoe/fcoe_ctlr.c 		if ((desc->fip_dtype < 32) &&
desc              925 drivers/scsi/fcoe/fcoe_ctlr.c 		    !(desc_mask & 1U << desc->fip_dtype)) {
desc              930 drivers/scsi/fcoe/fcoe_ctlr.c 		switch (desc->fip_dtype) {
desc              934 drivers/scsi/fcoe/fcoe_ctlr.c 			fcf->pri = ((struct fip_pri_desc *)desc)->fd_pri;
desc              941 drivers/scsi/fcoe/fcoe_ctlr.c 			       ((struct fip_mac_desc *)desc)->fd_mac,
desc              955 drivers/scsi/fcoe/fcoe_ctlr.c 			wwn = (struct fip_wwn_desc *)desc;
desc              962 drivers/scsi/fcoe/fcoe_ctlr.c 			fab = (struct fip_fab_desc *)desc;
desc              971 drivers/scsi/fcoe/fcoe_ctlr.c 			fka = (struct fip_fka_desc *)desc;
desc              987 drivers/scsi/fcoe/fcoe_ctlr.c 					"in FIP adv\n", desc->fip_dtype);
desc              989 drivers/scsi/fcoe/fcoe_ctlr.c 			if (desc->fip_dtype < FIP_DT_NON_CRITICAL)
desc              993 drivers/scsi/fcoe/fcoe_ctlr.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc             1009 drivers/scsi/fcoe/fcoe_ctlr.c 			desc->fip_dtype, dlen);
desc             1140 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fip_desc *desc;
desc             1163 drivers/scsi/fcoe/fcoe_ctlr.c 	desc = (struct fip_desc *)(fiph + 1);
desc             1166 drivers/scsi/fcoe/fcoe_ctlr.c 		dlen = desc->fip_dlen * FIP_BPW;
desc             1167 drivers/scsi/fcoe/fcoe_ctlr.c 		if (dlen < sizeof(*desc) || dlen > rlen)
desc             1170 drivers/scsi/fcoe/fcoe_ctlr.c 		if (desc->fip_dtype < 32) {
desc             1171 drivers/scsi/fcoe/fcoe_ctlr.c 			if ((desc->fip_dtype != FIP_DT_MAC) &&
desc             1172 drivers/scsi/fcoe/fcoe_ctlr.c 			    (desc_mask & 1U << desc->fip_dtype)) {
desc             1177 drivers/scsi/fcoe/fcoe_ctlr.c 			desc_mask |= (1 << desc->fip_dtype);
desc             1179 drivers/scsi/fcoe/fcoe_ctlr.c 		switch (desc->fip_dtype) {
desc             1197 drivers/scsi/fcoe/fcoe_ctlr.c 				       ((struct fip_mac_desc *)desc)->fd_mac,
desc             1205 drivers/scsi/fcoe/fcoe_ctlr.c 				       ((struct fip_mac_desc *)desc)->fd_mac,
desc             1222 drivers/scsi/fcoe/fcoe_ctlr.c 			els = (struct fip_encaps *)desc;
desc             1224 drivers/scsi/fcoe/fcoe_ctlr.c 			els_dtype = desc->fip_dtype;
desc             1228 drivers/scsi/fcoe/fcoe_ctlr.c 					"in FIP adv\n", desc->fip_dtype);
desc             1230 drivers/scsi/fcoe/fcoe_ctlr.c 			if (desc->fip_dtype < FIP_DT_NON_CRITICAL)
desc             1239 drivers/scsi/fcoe/fcoe_ctlr.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc             1297 drivers/scsi/fcoe/fcoe_ctlr.c 			desc->fip_dtype, dlen);
desc             1313 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fip_desc *desc;
desc             1375 drivers/scsi/fcoe/fcoe_ctlr.c 	desc = (struct fip_desc *)(fh + 1);
desc             1390 drivers/scsi/fcoe/fcoe_ctlr.c 	while (rlen >= sizeof(*desc)) {
desc             1391 drivers/scsi/fcoe/fcoe_ctlr.c 		dlen = desc->fip_dlen * FIP_BPW;
desc             1395 drivers/scsi/fcoe/fcoe_ctlr.c 		if ((desc->fip_dtype < 32) &&
desc             1396 drivers/scsi/fcoe/fcoe_ctlr.c 		    (desc->fip_dtype != FIP_DT_VN_ID) &&
desc             1397 drivers/scsi/fcoe/fcoe_ctlr.c 		    !(desc_mask & 1U << desc->fip_dtype)) {
desc             1402 drivers/scsi/fcoe/fcoe_ctlr.c 		switch (desc->fip_dtype) {
desc             1404 drivers/scsi/fcoe/fcoe_ctlr.c 			mp = (struct fip_mac_desc *)desc;
desc             1412 drivers/scsi/fcoe/fcoe_ctlr.c 			wp = (struct fip_wwn_desc *)desc;
desc             1420 drivers/scsi/fcoe/fcoe_ctlr.c 			vp = (struct fip_vn_desc *)desc;
desc             1437 drivers/scsi/fcoe/fcoe_ctlr.c 			if (desc->fip_dtype < FIP_DT_NON_CRITICAL)
desc             1441 drivers/scsi/fcoe/fcoe_ctlr.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc             2275 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fip_desc *desc = NULL;
desc             2312 drivers/scsi/fcoe/fcoe_ctlr.c 	desc = (struct fip_desc *)(fiph + 1);
desc             2314 drivers/scsi/fcoe/fcoe_ctlr.c 		dlen = desc->fip_dlen * FIP_BPW;
desc             2315 drivers/scsi/fcoe/fcoe_ctlr.c 		if (dlen < sizeof(*desc) || dlen > rlen)
desc             2318 drivers/scsi/fcoe/fcoe_ctlr.c 		dtype = desc->fip_dtype;
desc             2335 drivers/scsi/fcoe/fcoe_ctlr.c 			macd = (struct fip_mac_desc *)desc;
desc             2347 drivers/scsi/fcoe/fcoe_ctlr.c 			wwn = (struct fip_wwn_desc *)desc;
desc             2354 drivers/scsi/fcoe/fcoe_ctlr.c 			vn = (struct fip_vn_desc *)desc;
desc             2367 drivers/scsi/fcoe/fcoe_ctlr.c 			size = (struct fip_size_desc *)desc;
desc             2378 drivers/scsi/fcoe/fcoe_ctlr.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc             2806 drivers/scsi/fcoe/fcoe_ctlr.c 	struct fip_desc *desc = NULL;
desc             2832 drivers/scsi/fcoe/fcoe_ctlr.c 	desc = (struct fip_desc *)(fiph + 1);
desc             2834 drivers/scsi/fcoe/fcoe_ctlr.c 		dlen = desc->fip_dlen * FIP_BPW;
desc             2835 drivers/scsi/fcoe/fcoe_ctlr.c 		if (dlen < sizeof(*desc) || dlen > rlen)
desc             2838 drivers/scsi/fcoe/fcoe_ctlr.c 		dtype = desc->fip_dtype;
desc             2855 drivers/scsi/fcoe/fcoe_ctlr.c 			macd = (struct fip_mac_desc *)desc;
desc             2867 drivers/scsi/fcoe/fcoe_ctlr.c 			wwn = (struct fip_wwn_desc *)desc;
desc             2879 drivers/scsi/fcoe/fcoe_ctlr.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc               57 drivers/scsi/fnic/cq_desc.h 	const struct cq_desc *desc = desc_arg;
desc               58 drivers/scsi/fnic/cq_desc.h 	const u8 type_color = desc->type_color;
desc               73 drivers/scsi/fnic/cq_desc.h 	*q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK;
desc               74 drivers/scsi/fnic/cq_desc.h 	*completed_index = le16_to_cpu(desc->completed_index) &
desc               31 drivers/scsi/fnic/cq_enet_desc.h static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
desc               34 drivers/scsi/fnic/cq_enet_desc.h 	cq_desc_dec((struct cq_desc *)desc, type,
desc               93 drivers/scsi/fnic/cq_enet_desc.h static inline void cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc,
desc              102 drivers/scsi/fnic/cq_enet_desc.h 	u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags);
desc              104 drivers/scsi/fnic/cq_enet_desc.h 		le16_to_cpu(desc->q_number_rss_type_flags);
desc              105 drivers/scsi/fnic/cq_enet_desc.h 	u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags);
desc              107 drivers/scsi/fnic/cq_enet_desc.h 	cq_desc_dec((struct cq_desc *)desc, type,
desc              124 drivers/scsi/fnic/cq_enet_desc.h 	*rss_hash = le32_to_cpu(desc->rss_hash);
desc              133 drivers/scsi/fnic/cq_enet_desc.h 	*vlan = le16_to_cpu(desc->vlan);
desc              136 drivers/scsi/fnic/cq_enet_desc.h 		*fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) &
desc              138 drivers/scsi/fnic/cq_enet_desc.h 		*fcoe_fc_crc_ok = (desc->flags &
desc              140 drivers/scsi/fnic/cq_enet_desc.h 		*fcoe_enc_error = (desc->flags &
desc              142 drivers/scsi/fnic/cq_enet_desc.h 		*fcoe_eof = (u8)((desc->checksum_fcoe >>
desc              151 drivers/scsi/fnic/cq_enet_desc.h 		*checksum = le16_to_cpu(desc->checksum_fcoe);
desc              155 drivers/scsi/fnic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0;
desc              156 drivers/scsi/fnic/cq_enet_desc.h 	*udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0;
desc              157 drivers/scsi/fnic/cq_enet_desc.h 	*tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0;
desc              159 drivers/scsi/fnic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0;
desc              160 drivers/scsi/fnic/cq_enet_desc.h 	*ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0;
desc              161 drivers/scsi/fnic/cq_enet_desc.h 	*ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0;
desc              163 drivers/scsi/fnic/cq_enet_desc.h 		(desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_FRAGMENT) ? 1 : 0;
desc              164 drivers/scsi/fnic/cq_enet_desc.h 	*fcs_ok = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_FCS_OK) ? 1 : 0;
desc              358 drivers/scsi/fnic/fnic.h 				  struct fcpio_host_req *desc);
desc              310 drivers/scsi/fnic/fnic_fcs.c 	struct fip_desc *desc;
desc              341 drivers/scsi/fnic/fnic_fcs.c 	desc = (struct fip_desc *)(fiph + 1);
desc              342 drivers/scsi/fnic/fnic_fcs.c 	dlen = desc->fip_dlen * FIP_BPW;
desc              344 drivers/scsi/fnic/fnic_fcs.c 	if (desc->fip_dtype == FIP_DT_FLOGI) {
desc              350 drivers/scsi/fnic/fnic_fcs.c 		els = (struct fip_encaps *)desc;
desc              352 drivers/scsi/fnic/fnic_fcs.c 		els_dtype = desc->fip_dtype;
desc              406 drivers/scsi/fnic/fnic_fcs.c 	vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW);
desc              408 drivers/scsi/fnic/fnic_fcs.c 	vlan->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC;
desc              409 drivers/scsi/fnic/fnic_fcs.c 	vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW;
desc              410 drivers/scsi/fnic/fnic_fcs.c 	memcpy(&vlan->desc.mac.fd_mac, fip->ctl_src_addr, ETH_ALEN);
desc              412 drivers/scsi/fnic/fnic_fcs.c 	vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME;
desc              413 drivers/scsi/fnic/fnic_fcs.c 	vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW;
desc              414 drivers/scsi/fnic/fnic_fcs.c 	put_unaligned_be64(fip->lp->wwnn, &vlan->desc.wwnn.fd_wwn);
desc              432 drivers/scsi/fnic/fnic_fcs.c 	struct fip_desc *desc;
desc              453 drivers/scsi/fnic/fnic_fcs.c 	desc = (struct fip_desc *)(fiph + 1);
desc              455 drivers/scsi/fnic/fnic_fcs.c 		dlen = desc->fip_dlen * FIP_BPW;
desc              456 drivers/scsi/fnic/fnic_fcs.c 		switch (desc->fip_dtype) {
desc              458 drivers/scsi/fnic/fnic_fcs.c 			vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan);
desc              473 drivers/scsi/fnic/fnic_fcs.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc               57 drivers/scsi/fnic/fnic_fip.h 	} desc;
desc               37 drivers/scsi/fnic/fnic_res.h 	struct wq_enet_desc *desc = vnic_wq_next_desc(wq);
desc               39 drivers/scsi/fnic/fnic_res.h 	wq_enet_desc_enc(desc,
desc               61 drivers/scsi/fnic/fnic_res.h 	struct wq_enet_desc *desc = vnic_wq_next_desc(wq);
desc               63 drivers/scsi/fnic/fnic_res.h 	wq_enet_desc_enc(desc,
desc               91 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc               93 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_ICMND_16; /* enum fcpio_type */
desc               94 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;            /* header status entry */
desc               95 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;            /* reserved */
desc               96 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id; /* id for this request */
desc               98 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.lunmap_id = lunmap_id; /* index into lunmap table */
desc               99 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.special_req_flags = spl_flags; /* exch req flags */
desc              100 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16._resvd0[0] = 0;        /* reserved */
desc              101 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16._resvd0[1] = 0;        /* reserved */
desc              102 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16._resvd0[2] = 0;        /* reserved */
desc              103 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.sgl_cnt = sgl_cnt;     /* scatter-gather list count */
desc              104 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.sense_len = sense_len; /* sense buffer length */
desc              105 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.sgl_addr = sgl_addr;   /* scatter-gather list addr */
desc              106 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.sense_addr = sns_addr; /* sense buffer address */
desc              107 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.crn = crn;             /* SCSI Command Reference No.*/
desc              108 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.pri_ta = pri_ta; 	/* SCSI Pri & Task attribute */
desc              109 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16._resvd1 = 0;           /* reserved: should be 0 */
desc              110 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.flags = flags;         /* command flags */
desc              111 drivers/scsi/fnic/fnic_res.h 	memset(desc->u.icmnd_16.scsi_cdb, 0, CDB_16);
desc              112 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.icmnd_16.scsi_cdb, scsi_cdb, cdb_len);    /* SCSI CDB */
desc              113 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.data_len = data_len;   /* length of data expected */
desc              114 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.icmnd_16.lun, lun, LUN_ADDRESS);  /* LUN address */
desc              115 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16._resvd2 = 0;          	/* reserved */
desc              116 drivers/scsi/fnic/fnic_res.h 	hton24(desc->u.icmnd_16.d_id, d_id);	/* FC vNIC only: Target D_ID */
desc              117 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.mss = mss;            	/* FC vNIC only: max burst */
desc              118 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.r_a_tov = ratov; /*FC vNIC only: Res. Alloc Timeout */
desc              119 drivers/scsi/fnic/fnic_res.h 	desc->u.icmnd_16.e_d_tov = edtov; /*FC vNIC only: Err Detect Timeout */
desc              130 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc              132 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_ITMF;     /* enum fcpio_type */
desc              133 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;            /* header status entry */
desc              134 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;            /* reserved */
desc              135 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id; /* id for this request */
desc              137 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf.lunmap_id = lunmap_id; /* index into lunmap table */
desc              138 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf.tm_req = tm_req;       /* SCSI Task Management request */
desc              139 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf.t_tag = tm_id;         /* tag of fcpio to be aborted */
desc              140 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf._resvd = 0;
desc              141 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.itmf.lun, lun, LUN_ADDRESS);  /* LUN address */
desc              142 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf._resvd1 = 0;
desc              143 drivers/scsi/fnic/fnic_res.h 	hton24(desc->u.itmf.d_id, d_id);    /* FC vNIC only: Target D_ID */
desc              144 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf.r_a_tov = r_a_tov;     /* FC vNIC only: R_A_TOV in msec */
desc              145 drivers/scsi/fnic/fnic_res.h 	desc->u.itmf.e_d_tov = e_d_tov;     /* FC vNIC only: E_D_TOV in msec */
desc              154 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc              156 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_FLOGI_REG;     /* enum fcpio_type */
desc              157 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;                 /* header status entry */
desc              158 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;                 /* reserved */
desc              159 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id;      /* id for this request */
desc              161 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_reg.format = format;
desc              162 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_reg._resvd = 0;
desc              163 drivers/scsi/fnic/fnic_res.h 	hton24(desc->u.flogi_reg.s_id, s_id);
desc              164 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.flogi_reg.gateway_mac, gw_mac, ETH_ALEN);
desc              174 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc              176 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_FLOGI_FIP_REG; /* enum fcpio_type */
desc              177 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;                 /* header status entry */
desc              178 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;                 /* reserved */
desc              179 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id;      /* id for this request */
desc              181 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_fip_reg._resvd0 = 0;
desc              182 drivers/scsi/fnic/fnic_res.h 	hton24(desc->u.flogi_fip_reg.s_id, s_id);
desc              183 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.flogi_fip_reg.fcf_mac, fcf_mac, ETH_ALEN);
desc              184 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_fip_reg._resvd1 = 0;
desc              185 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_fip_reg.r_a_tov = r_a_tov;
desc              186 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_fip_reg.e_d_tov = e_d_tov;
desc              187 drivers/scsi/fnic/fnic_res.h 	memcpy(desc->u.flogi_fip_reg.ha_mac, ha_mac, ETH_ALEN);
desc              188 drivers/scsi/fnic/fnic_res.h 	desc->u.flogi_fip_reg._resvd2 = 0;
desc              196 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc              198 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_RESET;     /* enum fcpio_type */
desc              199 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;             /* header status entry */
desc              200 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;             /* reserved */
desc              201 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id;  /* id for this request */
desc              210 drivers/scsi/fnic/fnic_res.h 	struct fcpio_host_req *desc = vnic_wq_copy_next_desc(wq);
desc              212 drivers/scsi/fnic/fnic_res.h 	desc->hdr.type = FCPIO_LUNMAP_REQ;	/* enum fcpio_type */
desc              213 drivers/scsi/fnic/fnic_res.h 	desc->hdr.status = 0;			/* header status entry */
desc              214 drivers/scsi/fnic/fnic_res.h 	desc->hdr._resvd = 0;			/* reserved */
desc              215 drivers/scsi/fnic/fnic_res.h 	desc->hdr.tag.u.req_id = req_id;	/* id for this request */
desc              217 drivers/scsi/fnic/fnic_res.h 	desc->u.lunmap_req.addr = lunmap_addr;	/* address of the buffer */
desc              218 drivers/scsi/fnic/fnic_res.h 	desc->u.lunmap_req.len = lunmap_len;	/* len of the buffer */
desc              227 drivers/scsi/fnic/fnic_res.h 	struct rq_enet_desc *desc = vnic_rq_next_desc(rq);
desc              229 drivers/scsi/fnic/fnic_res.h 	rq_enet_desc_enc(desc,
desc              325 drivers/scsi/fnic/fnic_scsi.c 	struct host_sg_desc *desc;
desc              335 drivers/scsi/fnic/fnic_scsi.c 		desc = io_req->sgl_list;
desc              337 drivers/scsi/fnic/fnic_scsi.c 			desc->addr = cpu_to_le64(sg_dma_address(sg));
desc              338 drivers/scsi/fnic/fnic_scsi.c 			desc->len = cpu_to_le32(sg_dma_len(sg));
desc              339 drivers/scsi/fnic/fnic_scsi.c 			desc->_resvd = 0;
desc              340 drivers/scsi/fnic/fnic_scsi.c 			desc++;
desc              626 drivers/scsi/fnic/fnic_scsi.c 					    struct fcpio_fw_req *desc)
desc              635 drivers/scsi/fnic/fnic_scsi.c 	fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag);
desc              710 drivers/scsi/fnic/fnic_scsi.c 					     struct fcpio_fw_req *desc)
desc              718 drivers/scsi/fnic/fnic_scsi.c 	fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag);
desc              790 drivers/scsi/fnic/fnic_scsi.c 					  struct fcpio_fw_req *desc)
desc              793 drivers/scsi/fnic/fnic_scsi.c 	u16 request_out = desc->u.ack.request_out;
desc              795 drivers/scsi/fnic/fnic_scsi.c 	u64 *ox_id_tag = (u64 *)(void *)desc;
desc              820 drivers/scsi/fnic/fnic_scsi.c 					 struct fcpio_fw_req *desc)
desc              838 drivers/scsi/fnic/fnic_scsi.c 	fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag);
desc              840 drivers/scsi/fnic/fnic_scsi.c 	icmnd_cmpl = &desc->u.icmnd_cmpl;
desc              856 drivers/scsi/fnic/fnic_scsi.c 			  fnic_fcpio_status_to_str(hdr_status), id, desc);
desc              863 drivers/scsi/fnic/fnic_scsi.c 			  (u64)icmnd_cmpl->flags), desc,
desc              917 drivers/scsi/fnic/fnic_scsi.c 	icmnd_cmpl = &desc->u.icmnd_cmpl;
desc             1011 drivers/scsi/fnic/fnic_scsi.c 		  desc, cmd_trace,
desc             1060 drivers/scsi/fnic/fnic_scsi.c 					struct fcpio_fw_req *desc)
desc             1076 drivers/scsi/fnic/fnic_scsi.c 	fcpio_header_dec(&desc->hdr, &type, &hdr_status, &tag);
desc             1199 drivers/scsi/fnic/fnic_scsi.c 					desc,
desc             1225 drivers/scsi/fnic/fnic_scsi.c 				  desc, 0,
desc             1240 drivers/scsi/fnic/fnic_scsi.c 				  desc, 0,
desc             1274 drivers/scsi/fnic/fnic_scsi.c 				   struct fcpio_fw_req *desc)
desc             1278 drivers/scsi/fnic/fnic_scsi.c 	switch (desc->hdr.type) {
desc             1290 drivers/scsi/fnic/fnic_scsi.c 	switch (desc->hdr.type) {
desc             1292 drivers/scsi/fnic/fnic_scsi.c 		fnic_fcpio_ack_handler(fnic, cq_index, desc);
desc             1296 drivers/scsi/fnic/fnic_scsi.c 		fnic_fcpio_icmnd_cmpl_handler(fnic, desc);
desc             1300 drivers/scsi/fnic/fnic_scsi.c 		fnic_fcpio_itmf_cmpl_handler(fnic, desc);
desc             1305 drivers/scsi/fnic/fnic_scsi.c 		fnic_fcpio_flogi_reg_cmpl_handler(fnic, desc);
desc             1309 drivers/scsi/fnic/fnic_scsi.c 		fnic_fcpio_fw_reset_cmpl_handler(fnic, desc);
desc             1315 drivers/scsi/fnic/fnic_scsi.c 			      desc->hdr.type);
desc             1452 drivers/scsi/fnic/fnic_scsi.c 				  struct fcpio_host_req *desc)
desc             1463 drivers/scsi/fnic/fnic_scsi.c 	fcpio_tag_id_dec(&desc->hdr.tag, &id);
desc               41 drivers/scsi/fnic/rq_enet_desc.h static inline void rq_enet_desc_enc(struct rq_enet_desc *desc,
desc               44 drivers/scsi/fnic/rq_enet_desc.h 	desc->address = cpu_to_le64(address);
desc               45 drivers/scsi/fnic/rq_enet_desc.h 	desc->length_type = cpu_to_le16((length & RQ_ENET_LEN_MASK) |
desc               49 drivers/scsi/fnic/rq_enet_desc.h static inline void rq_enet_desc_dec(struct rq_enet_desc *desc,
desc               52 drivers/scsi/fnic/rq_enet_desc.h 	*address = le64_to_cpu(desc->address);
desc               53 drivers/scsi/fnic/rq_enet_desc.h 	*length = le16_to_cpu(desc->length_type) & RQ_ENET_LEN_MASK;
desc               54 drivers/scsi/fnic/rq_enet_desc.h 	*type = (u8)((le16_to_cpu(desc->length_type) >> RQ_ENET_LEN_BITS) &
desc               27 drivers/scsi/fnic/vnic_cq_copy.h 			 struct fcpio_fw_req *desc),
desc               31 drivers/scsi/fnic/vnic_cq_copy.h 	struct fcpio_fw_req *desc;
desc               35 drivers/scsi/fnic/vnic_cq_copy.h 	desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
desc               37 drivers/scsi/fnic/vnic_cq_copy.h 	fcpio_color_dec(desc, &color);
desc               41 drivers/scsi/fnic/vnic_cq_copy.h 		if ((*q_service)(cq->vdev, cq->index, desc))
desc               50 drivers/scsi/fnic/vnic_cq_copy.h 		desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
desc               52 drivers/scsi/fnic/vnic_cq_copy.h 		fcpio_color_dec(desc, &color);
desc               45 drivers/scsi/fnic/vnic_rq.c 			buf->desc = (u8 *)rq->ring.descs +
desc               89 drivers/scsi/fnic/vnic_rq.h 	void *desc;
desc              119 drivers/scsi/fnic/vnic_rq.h 	return rq->to_use->desc;
desc               65 drivers/scsi/fnic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
desc               76 drivers/scsi/fnic/vnic_wq.h 	void *desc;
desc              112 drivers/scsi/fnic/vnic_wq.h 	return wq->to_use->desc;
desc               48 drivers/scsi/fnic/vnic_wq_copy.h 	struct fcpio_host_req *desc = wq->ring.descs;
desc               49 drivers/scsi/fnic/vnic_wq_copy.h 	return &desc[wq->to_use_index];
desc               51 drivers/scsi/fnic/wq_enet_desc.h static inline void wq_enet_desc_enc(struct wq_enet_desc *desc,
desc               56 drivers/scsi/fnic/wq_enet_desc.h 	desc->address = cpu_to_le64(address);
desc               57 drivers/scsi/fnic/wq_enet_desc.h 	desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
desc               58 drivers/scsi/fnic/wq_enet_desc.h 	desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
desc               60 drivers/scsi/fnic/wq_enet_desc.h 	desc->header_length_flags = cpu_to_le16(
desc               67 drivers/scsi/fnic/wq_enet_desc.h 	desc->vlan_tag = cpu_to_le16(vlan_tag);
desc               70 drivers/scsi/fnic/wq_enet_desc.h static inline void wq_enet_desc_dec(struct wq_enet_desc *desc,
desc               75 drivers/scsi/fnic/wq_enet_desc.h 	*address = le64_to_cpu(desc->address);
desc               76 drivers/scsi/fnic/wq_enet_desc.h 	*length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
desc               77 drivers/scsi/fnic/wq_enet_desc.h 	*mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) &
desc               79 drivers/scsi/fnic/wq_enet_desc.h 	*loopback = (u8)((le16_to_cpu(desc->mss_loopback) >>
desc               81 drivers/scsi/fnic/wq_enet_desc.h 	*header_length = le16_to_cpu(desc->header_length_flags) &
desc               83 drivers/scsi/fnic/wq_enet_desc.h 	*offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               85 drivers/scsi/fnic/wq_enet_desc.h 	*eop = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               87 drivers/scsi/fnic/wq_enet_desc.h 	*cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               89 drivers/scsi/fnic/wq_enet_desc.h 	*fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               91 drivers/scsi/fnic/wq_enet_desc.h 	*vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               93 drivers/scsi/fnic/wq_enet_desc.h 	*vlan_tag = le16_to_cpu(desc->vlan_tag);
desc             2379 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct irq_affinity desc = {
desc             2394 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 							 &desc);
desc             4528 drivers/scsi/hpsa.c static void hpsa_set_sg_descriptor(struct SGDescriptor *desc,
desc             4534 drivers/scsi/hpsa.c 	desc->Addr = cpu_to_le64(addr64);
desc             4535 drivers/scsi/hpsa.c 	desc->Len = cpu_to_le32(len);
desc             4536 drivers/scsi/hpsa.c 	desc->Ext = 0;
desc             1959 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_reset_device(struct scsi_device *sdev, int type, char *desc)
desc             1997 drivers/scsi/ibmvscsi/ibmvfc.c 			    desc, rsp_rc);
desc             2001 drivers/scsi/ibmvscsi/ibmvfc.c 	sdev_printk(KERN_INFO, sdev, "Resetting %s\n", desc);
desc             2012 drivers/scsi/ibmvscsi/ibmvfc.c 			    "flags: %x fcp_rsp: %x, scsi_status: %x\n", desc,
desc             2018 drivers/scsi/ibmvscsi/ibmvfc.c 		sdev_printk(KERN_INFO, sdev, "%s reset successful\n", desc);
desc             2596 drivers/scsi/ibmvscsi/ibmvfc.c 	const char *desc;
desc             2615 drivers/scsi/ibmvscsi/ibmvfc.c 			return link_desc[i].desc;
desc             2629 drivers/scsi/ibmvscsi/ibmvfc.c 	const struct ibmvfc_async_desc *desc = ibmvfc_get_ae_desc(be64_to_cpu(crq->event));
desc             2632 drivers/scsi/ibmvscsi/ibmvfc.c 	ibmvfc_log(vhost, desc->log_level, "%s event received. scsi_id: %llx, wwpn: %llx,"
desc             2633 drivers/scsi/ibmvscsi/ibmvfc.c 		   " node_name: %llx%s\n", desc->desc, be64_to_cpu(crq->scsi_id),
desc              538 drivers/scsi/ibmvscsi/ibmvfc.h 	const char *desc;
desc             2010 drivers/scsi/ipr.c 	char *desc;
desc             2019 drivers/scsi/ipr.c 	char *desc;
desc             2053 drivers/scsi/ipr.c 					     path_active_desc[i].desc, path_state_desc[j].desc,
desc             2057 drivers/scsi/ipr.c 					     path_active_desc[i].desc, path_state_desc[j].desc,
desc             2061 drivers/scsi/ipr.c 					     path_active_desc[i].desc, path_state_desc[j].desc,
desc             2065 drivers/scsi/ipr.c 					     path_active_desc[i].desc, path_state_desc[j].desc,
desc             2102 drivers/scsi/ipr.c 				     path_active_desc[i].desc, path_state_desc[j].desc,
desc             2117 drivers/scsi/ipr.c 	char *desc;
desc             2127 drivers/scsi/ipr.c 	char *desc;
desc             2184 drivers/scsi/ipr.c 					     path_status_desc[j].desc, path_type_desc[i].desc,
desc             2190 drivers/scsi/ipr.c 						     path_status_desc[j].desc, path_type_desc[i].desc,
desc             2195 drivers/scsi/ipr.c 						     "WWN=%08X%08X\n", path_status_desc[j].desc,
desc             2196 drivers/scsi/ipr.c 						     path_type_desc[i].desc, cfg->phy,
desc             2201 drivers/scsi/ipr.c 						     "WWN=%08X%08X\n", path_status_desc[j].desc,
desc             2202 drivers/scsi/ipr.c 						     path_type_desc[i].desc, cfg->cascaded_expander,
desc             2207 drivers/scsi/ipr.c 						     "WWN=%08X%08X\n", path_status_desc[j].desc,
desc             2208 drivers/scsi/ipr.c 						     path_type_desc[i].desc, cfg->cascaded_expander, cfg->phy,
desc             2252 drivers/scsi/ipr.c 				     path_status_desc[j].desc, path_type_desc[i].desc,
desc             2291 drivers/scsi/ipr.c 		 offsetof(struct ipr_hostrcb_type_20_error, desc));
desc             2293 drivers/scsi/ipr.c 	for (i = 0, fabric = error->desc; i < error->num_entries; i++) {
desc             2385 drivers/scsi/ipr.c 		 offsetof(struct ipr_hostrcb_type_30_error, desc));
desc             2387 drivers/scsi/ipr.c 	for (i = 0, fabric = error->desc; i < error->num_entries; i++) {
desc             10026 drivers/scsi/ipr.c 	int vec_idx, n = sizeof(ioa_cfg->vectors_info[0].desc) - 1;
desc             10029 drivers/scsi/ipr.c 		snprintf(ioa_cfg->vectors_info[vec_idx].desc, n,
desc             10032 drivers/scsi/ipr.c 			desc[strlen(ioa_cfg->vectors_info[vec_idx].desc)] = 0;
desc             10045 drivers/scsi/ipr.c 			ioa_cfg->vectors_info[i].desc,
desc             10364 drivers/scsi/ipr.c 			ioa_cfg->vectors_info[0].desc,
desc             1115 drivers/scsi/ipr.h 	struct ipr_hostrcb_fabric_desc desc[1];
desc             1122 drivers/scsi/ipr.h 	struct ipr_hostrcb64_fabric_desc desc[1];
desc             1594 drivers/scsi/ipr.h 		char desc[22];
desc              515 drivers/scsi/ips.h    uint8_t  desc;
desc              824 drivers/scsi/iscsi_tcp.c 	strcpy(stats->custom[0].desc, "tx_sendpage_failures");
desc              826 drivers/scsi/iscsi_tcp.c 	strcpy(stats->custom[1].desc, "rx_discontiguous_hdr");
desc              828 drivers/scsi/iscsi_tcp.c 	strcpy(stats->custom[2].desc, "eh_abort_cnt");
desc               24 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_ATTR(name, defval, minval, maxval, desc) \
desc               27 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               30 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \
desc               33 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               38 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_ATTR_RW(name, defval, minval, maxval, desc) \
desc               41 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               49 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_BBCR_ATTR_RW(name, defval, minval, maxval, desc) \
desc               52 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               59 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_ATTR_HEX_R(name, defval, minval, maxval, desc) \
desc               62 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               67 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_ATTR_HEX_RW(name, defval, minval, maxval, desc) \
desc               70 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               78 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ATTR(name, defval, minval, maxval, desc) \
desc               81 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               84 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ATTR_R(name, defval, minval, maxval, desc) \
desc               87 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc               92 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ULL_ATTR_R(name, defval, minval, maxval, desc) \
desc               95 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc              100 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ATTR_RW(name, defval, minval, maxval, desc) \
desc              103 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc              111 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ATTR_HEX_R(name, defval, minval, maxval, desc) \
desc              114 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc              119 drivers/scsi/lpfc/lpfc_attr.h #define LPFC_VPORT_ATTR_HEX_RW(name, defval, minval, maxval, desc) \
desc              122 drivers/scsi/lpfc/lpfc_attr.h MODULE_PARM_DESC(lpfc_##name, desc);\
desc             5285 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_link_service(struct fc_rdp_link_service_desc *desc,
desc             5289 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_LINK_SERVICE_DESC_TAG);
desc             5290 drivers/scsi/lpfc/lpfc_els.c 	desc->payload.els_req = word0;
desc             5291 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->payload));
desc             5297 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_sfp_desc(struct fc_rdp_sfp_desc *desc,
desc             5310 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_SFP_DESC_TAG);
desc             5349 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.temperature = cpu_to_be16(temperature);
desc             5350 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.rx_power = cpu_to_be16(rx_power);
desc             5351 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.tx_bias = cpu_to_be16(tx_bias);
desc             5352 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.tx_power = cpu_to_be16(tx_power);
desc             5353 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.vcc = cpu_to_be16(vcc);
desc             5355 drivers/scsi/lpfc/lpfc_els.c 	desc->sfp_info.flags = cpu_to_be16(flag);
desc             5356 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->sfp_info));
desc             5362 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_link_error(struct fc_rdp_link_error_status_desc *desc,
desc             5367 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_LINK_ERROR_STATUS_DESC_TAG);
desc             5371 drivers/scsi/lpfc/lpfc_els.c 	desc->info.port_type = cpu_to_be32(type);
desc             5373 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.link_failure_cnt =
desc             5375 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.loss_of_synch_cnt =
desc             5377 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.loss_of_signal_cnt =
desc             5379 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.primitive_seq_proto_err =
desc             5381 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.invalid_trans_word =
desc             5383 drivers/scsi/lpfc/lpfc_els.c 	desc->info.link_status.invalid_crc_cnt = cpu_to_be32(stat->crcCnt);
desc             5385 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->info));
desc             5391 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_bbc_desc(struct fc_rdp_bbc_desc *desc, READ_LNK_VAR *stat,
desc             5396 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_BBC_DESC_TAG);
desc             5400 drivers/scsi/lpfc/lpfc_els.c 	desc->bbc_info.port_bbc = cpu_to_be32(bbCredit);
desc             5404 drivers/scsi/lpfc/lpfc_els.c 		desc->bbc_info.attached_port_bbc = cpu_to_be32(bbCredit);
desc             5406 drivers/scsi/lpfc/lpfc_els.c 		desc->bbc_info.attached_port_bbc = 0;
desc             5409 drivers/scsi/lpfc/lpfc_els.c 	desc->bbc_info.rtt = 0;
desc             5410 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->bbc_info));
desc             5417 drivers/scsi/lpfc/lpfc_els.c 			   struct fc_rdp_oed_sfp_desc *desc, uint8_t *page_a2)
desc             5421 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OED_DESC_TAG);
desc             5423 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_alarm = page_a2[SSF_TEMP_HIGH_ALARM];
desc             5424 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_alarm = page_a2[SSF_TEMP_LOW_ALARM];
desc             5425 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_warning = page_a2[SSF_TEMP_HIGH_WARNING];
desc             5426 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_warning = page_a2[SSF_TEMP_LOW_WARNING];
desc             5438 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.function_flags = cpu_to_be32(flags);
desc             5439 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->oed_info));
desc             5445 drivers/scsi/lpfc/lpfc_els.c 			      struct fc_rdp_oed_sfp_desc *desc,
desc             5450 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OED_DESC_TAG);
desc             5452 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_alarm = page_a2[SSF_VOLTAGE_HIGH_ALARM];
desc             5453 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_alarm = page_a2[SSF_VOLTAGE_LOW_ALARM];
desc             5454 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_warning = page_a2[SSF_VOLTAGE_HIGH_WARNING];
desc             5455 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_warning = page_a2[SSF_VOLTAGE_LOW_WARNING];
desc             5467 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.function_flags = cpu_to_be32(flags);
desc             5468 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->oed_info));
desc             5474 drivers/scsi/lpfc/lpfc_els.c 			     struct fc_rdp_oed_sfp_desc *desc,
desc             5479 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OED_DESC_TAG);
desc             5481 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_alarm = page_a2[SSF_BIAS_HIGH_ALARM];
desc             5482 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_alarm = page_a2[SSF_BIAS_LOW_ALARM];
desc             5483 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_warning = page_a2[SSF_BIAS_HIGH_WARNING];
desc             5484 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_warning = page_a2[SSF_BIAS_LOW_WARNING];
desc             5496 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.function_flags = cpu_to_be32(flags);
desc             5497 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->oed_info));
desc             5503 drivers/scsi/lpfc/lpfc_els.c 			      struct fc_rdp_oed_sfp_desc *desc,
desc             5508 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OED_DESC_TAG);
desc             5510 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_alarm = page_a2[SSF_TXPOWER_HIGH_ALARM];
desc             5511 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_alarm = page_a2[SSF_TXPOWER_LOW_ALARM];
desc             5512 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_warning = page_a2[SSF_TXPOWER_HIGH_WARNING];
desc             5513 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_warning = page_a2[SSF_TXPOWER_LOW_WARNING];
desc             5525 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.function_flags = cpu_to_be32(flags);
desc             5526 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->oed_info));
desc             5533 drivers/scsi/lpfc/lpfc_els.c 			      struct fc_rdp_oed_sfp_desc *desc,
desc             5538 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OED_DESC_TAG);
desc             5540 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_alarm = page_a2[SSF_RXPOWER_HIGH_ALARM];
desc             5541 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_alarm = page_a2[SSF_RXPOWER_LOW_ALARM];
desc             5542 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.hi_warning = page_a2[SSF_RXPOWER_HIGH_WARNING];
desc             5543 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.lo_warning = page_a2[SSF_RXPOWER_LOW_WARNING];
desc             5555 drivers/scsi/lpfc/lpfc_els.c 	desc->oed_info.function_flags = cpu_to_be32(flags);
desc             5556 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->oed_info));
desc             5561 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_opd_desc(struct fc_rdp_opd_sfp_desc *desc,
desc             5564 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_OPD_DESC_TAG);
desc             5565 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->opd_info.vendor_name, &page_a0[SSF_VENDOR_NAME], 16);
desc             5566 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->opd_info.model_number, &page_a0[SSF_VENDOR_PN], 16);
desc             5567 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->opd_info.serial_number, &page_a0[SSF_VENDOR_SN], 16);
desc             5568 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->opd_info.revision, &page_a0[SSF_VENDOR_REV], 4);
desc             5569 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->opd_info.date, &page_a0[SSF_DATE_CODE], 8);
desc             5570 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->opd_info));
desc             5575 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_fec_desc(struct fc_fec_rdp_desc *desc, READ_LNK_VAR *stat)
desc             5579 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_FEC_DESC_TAG);
desc             5581 drivers/scsi/lpfc/lpfc_els.c 	desc->info.CorrectedBlocks =
desc             5583 drivers/scsi/lpfc/lpfc_els.c 	desc->info.UncorrectableBlocks =
desc             5586 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->info));
desc             5592 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_speed(struct fc_rdp_port_speed_desc *desc, struct lpfc_hba *phba)
desc             5597 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_PORT_SPEED_DESC_TAG);
desc             5629 drivers/scsi/lpfc/lpfc_els.c 	desc->info.port_speed.speed = cpu_to_be16(rdp_speed);
desc             5655 drivers/scsi/lpfc/lpfc_els.c 	desc->info.port_speed.capabilities = cpu_to_be16(rdp_cap);
desc             5656 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->info));
desc             5661 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_diag_port_names(struct fc_rdp_port_name_desc *desc,
desc             5665 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_PORT_NAMES_DESC_TAG);
desc             5667 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->port_names.wwnn, &vport->fc_nodename,
desc             5668 drivers/scsi/lpfc/lpfc_els.c 			sizeof(desc->port_names.wwnn));
desc             5670 drivers/scsi/lpfc/lpfc_els.c 	memcpy(desc->port_names.wwpn, &vport->fc_portname,
desc             5671 drivers/scsi/lpfc/lpfc_els.c 			sizeof(desc->port_names.wwpn));
desc             5673 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->port_names));
desc             5678 drivers/scsi/lpfc/lpfc_els.c lpfc_rdp_res_attach_port_names(struct fc_rdp_port_name_desc *desc,
desc             5682 drivers/scsi/lpfc/lpfc_els.c 	desc->tag = cpu_to_be32(RDP_PORT_NAMES_DESC_TAG);
desc             5684 drivers/scsi/lpfc/lpfc_els.c 		memcpy(desc->port_names.wwnn, &vport->fabric_nodename,
desc             5685 drivers/scsi/lpfc/lpfc_els.c 		       sizeof(desc->port_names.wwnn));
desc             5687 drivers/scsi/lpfc/lpfc_els.c 		memcpy(desc->port_names.wwpn, &vport->fabric_portname,
desc             5688 drivers/scsi/lpfc/lpfc_els.c 		       sizeof(desc->port_names.wwpn));
desc             5690 drivers/scsi/lpfc/lpfc_els.c 		memcpy(desc->port_names.wwnn, &ndlp->nlp_nodename,
desc             5691 drivers/scsi/lpfc/lpfc_els.c 		       sizeof(desc->port_names.wwnn));
desc             5693 drivers/scsi/lpfc/lpfc_els.c 		memcpy(desc->port_names.wwpn, &ndlp->nlp_portname,
desc             5694 drivers/scsi/lpfc/lpfc_els.c 		       sizeof(desc->port_names.wwpn));
desc             5697 drivers/scsi/lpfc/lpfc_els.c 	desc->length = cpu_to_be32(sizeof(desc->port_names));
desc             3571 drivers/scsi/lpfc/lpfc_hw4.h 	uint32_t desc[LPFC_RSRC_DESC_WSIZE];
desc             3685 drivers/scsi/lpfc/lpfc_hw4.h 	struct lpfc_rscr_desc_generic desc[LPFC_RSRC_DESC_MAX_NUM];
desc             3699 drivers/scsi/lpfc/lpfc_hw4.h 	struct lpfc_rscr_desc_generic desc[LPFC_RSRC_DESC_MAX_NUM];
desc             8268 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_rsrc_desc_fcfcoe *desc;
desc             8513 drivers/scsi/lpfc/lpfc_init.c 	pdesc_0 = (char *)&get_func_cfg->func_cfg.desc[0];
desc             8514 drivers/scsi/lpfc/lpfc_init.c 	desc = (struct lpfc_rsrc_desc_fcfcoe *)pdesc_0;
desc             8515 drivers/scsi/lpfc/lpfc_init.c 	length = bf_get(lpfc_rsrc_desc_fcfcoe_length, desc);
desc             8522 drivers/scsi/lpfc/lpfc_init.c 		desc = (struct lpfc_rsrc_desc_fcfcoe *)(pdesc_0 + length * i);
desc             8524 drivers/scsi/lpfc/lpfc_init.c 		    bf_get(lpfc_rsrc_desc_fcfcoe_type, desc)) {
desc             8526 drivers/scsi/lpfc/lpfc_init.c 				bf_get(lpfc_rsrc_desc_fcfcoe_pfnum, desc);
desc             8528 drivers/scsi/lpfc/lpfc_init.c 				bf_get(lpfc_rsrc_desc_fcfcoe_vfnum, desc);
desc             5782 drivers/scsi/megaraid/megaraid_sas_base.c 	struct irq_affinity desc = { .pre_vectors = instance->low_latency_index_start };
desc             5783 drivers/scsi/megaraid/megaraid_sas_base.c 	struct irq_affinity *descp = &desc;
desc             3516 drivers/scsi/megaraid/megaraid_sas_fusion.c 	union MPI2_REPLY_DESCRIPTORS_UNION *desc;
desc             3537 drivers/scsi/megaraid/megaraid_sas_fusion.c 	desc = fusion->reply_frames_desc[MSIxIndex] +
desc             3540 drivers/scsi/megaraid/megaraid_sas_fusion.c 	reply_desc = (struct MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR *)desc;
desc             3542 drivers/scsi/megaraid/megaraid_sas_fusion.c 	d_val.word = desc->Words;
desc             3622 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc->Words = cpu_to_le64(ULLONG_MAX);
desc             3628 drivers/scsi/megaraid/megaraid_sas_fusion.c 			desc = fusion->reply_frames_desc[MSIxIndex];
desc             3630 drivers/scsi/megaraid/megaraid_sas_fusion.c 			desc++;
desc             3633 drivers/scsi/megaraid/megaraid_sas_fusion.c 		  (struct MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR *)desc;
desc             3635 drivers/scsi/megaraid/megaraid_sas_fusion.c 		d_val.word = desc->Words;
desc             4353 drivers/scsi/megaraid/megaraid_sas_fusion.c 	char *desc;
desc             4357 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "task management request completed";
desc             4360 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "invalid frame";
desc             4363 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "task management request not supported";
desc             4366 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "task management request failed";
desc             4369 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "task management request succeeded";
desc             4372 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "invalid lun";
desc             4375 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "overlapped tag attempted";
desc             4378 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "task queued, however not sent to target";
desc             4381 drivers/scsi/megaraid/megaraid_sas_fusion.c 		desc = "unknown";
desc             4385 drivers/scsi/megaraid/megaraid_sas_fusion.c 		mpi_reply->ResponseCode, desc);
desc              797 drivers/scsi/mpt3sas/mpt3sas_base.c 	char *desc = NULL;
desc              817 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "invalid function";
desc              820 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "busy";
desc              823 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "invalid sgl";
desc              826 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "internal error";
desc              829 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "invalid vpid";
desc              832 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "insufficient resources";
desc              835 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "insufficient power";
desc              838 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "invalid field";
desc              841 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "invalid state";
desc              844 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "op state not supported";
desc              852 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config invalid action";
desc              855 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config invalid type";
desc              858 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config invalid page";
desc              861 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config invalid data";
desc              864 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config no defaults";
desc              867 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "config cant commit";
desc              893 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "eedp guard error";
desc              896 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "eedp ref tag error";
desc              899 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "eedp app tag error";
desc              907 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target invalid io index";
desc              910 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target aborted";
desc              913 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target no conn retryable";
desc              916 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target no connection";
desc              919 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target xfer count mismatch";
desc              922 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target data offset error";
desc              925 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target too much write data";
desc              928 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target iu too short";
desc              931 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target ack nak timeout";
desc              934 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "target nak received";
desc              942 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "smp request failed";
desc              945 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "smp data overrun";
desc              953 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "diagnostic released";
desc              959 drivers/scsi/mpt3sas/mpt3sas_base.c 	if (!desc)
desc             1003 drivers/scsi/mpt3sas/mpt3sas_base.c 		 desc, ioc_status, request_hdr, func_str);
desc             1017 drivers/scsi/mpt3sas/mpt3sas_base.c 	char *desc = NULL;
desc             1027 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Log Data";
desc             1030 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Status Change";
desc             1033 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Hard Reset Received";
desc             1036 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Event Change";
desc             1039 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Device Status Change";
desc             1043 drivers/scsi/mpt3sas/mpt3sas_base.c 			desc = "IR Operation Status";
desc             1059 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Broadcast Primitive";
desc             1062 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Init Device Status Change";
desc             1065 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Init Table Overflow";
desc             1068 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Topology Change List";
desc             1071 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Enclosure Device Status Change";
desc             1075 drivers/scsi/mpt3sas/mpt3sas_base.c 			desc = "IR Volume";
desc             1079 drivers/scsi/mpt3sas/mpt3sas_base.c 			desc = "IR Physical Disk";
desc             1083 drivers/scsi/mpt3sas/mpt3sas_base.c 			desc = "IR Configuration Change List";
desc             1087 drivers/scsi/mpt3sas/mpt3sas_base.c 			desc = "Log Entry Added";
desc             1090 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Temperature Threshold";
desc             1093 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "Cable Event";
desc             1096 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "SAS Device Discovery Error";
desc             1099 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "PCIE Device Status Change";
desc             1115 drivers/scsi/mpt3sas/mpt3sas_base.c 		desc = "PCIE Topology Change List";
desc             1119 drivers/scsi/mpt3sas/mpt3sas_base.c 	if (!desc)
desc             1122 drivers/scsi/mpt3sas/mpt3sas_base.c 	ioc_info(ioc, "%s\n", desc);
desc             3038 drivers/scsi/mpt3sas/mpt3sas_base.c 	struct irq_affinity desc = { .pre_vectors = ioc->high_iops_queues };
desc             3039 drivers/scsi/mpt3sas/mpt3sas_base.c 	struct irq_affinity *descp = &desc;
desc             4335 drivers/scsi/mpt3sas/mpt3sas_base.c 	char desc[16];
desc             4340 drivers/scsi/mpt3sas/mpt3sas_base.c 	strncpy(desc, ioc->manu_pg0.ChipName, 16);
desc             4342 drivers/scsi/mpt3sas/mpt3sas_base.c 		 desc,
desc              102 drivers/scsi/mpt3sas/mpt3sas_config.c 	char *desc = NULL;
desc              110 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "io_unit";
desc              113 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "ioc";
desc              116 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "bios";
desc              119 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "raid_volume";
desc              122 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "manufacturing";
desc              125 drivers/scsi/mpt3sas/mpt3sas_config.c 		desc = "physdisk";
desc              130 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "sas_io_unit";
desc              133 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "sas_expander";
desc              136 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "sas_device";
desc              139 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "sas_phy";
desc              142 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "log";
desc              145 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "enclosure";
desc              148 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "raid_config";
desc              151 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "driver_mapping";
desc              154 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "sas_port";
desc              157 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "ext_manufacturing";
desc              160 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "pcie_io_unit";
desc              163 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "pcie_switch";
desc              166 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "pcie_device";
desc              169 drivers/scsi/mpt3sas/mpt3sas_config.c 			desc = "pcie_link";
desc              175 drivers/scsi/mpt3sas/mpt3sas_config.c 	if (!desc)
desc              179 drivers/scsi/mpt3sas/mpt3sas_config.c 		 calling_function_name, desc,
desc               97 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	char *desc = NULL;
desc              113 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = ioc->tmp_string;
desc              117 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "task_mgmt";
desc              120 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "ioc_init";
desc              123 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "ioc_facts";
desc              135 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = ioc->tmp_string;
desc              139 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "port_facts";
desc              142 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "port_enable";
desc              145 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "event_notification";
desc              148 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "fw_download";
desc              151 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "fw_upload";
desc              154 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "raid_action";
desc              165 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = ioc->tmp_string;
desc              169 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "sas_iounit_cntl";
desc              172 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "sata_pass";
desc              175 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "diag_buffer_post";
desc              178 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "diag_release";
desc              181 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "smp_passthrough";
desc              185 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	if (!desc)
desc              188 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	ioc_info(ioc, "%s: %s, smid(%d)\n", calling_function_name, desc, smid);
desc              573 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	char *desc = NULL;
desc              576 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "abort_task";
desc              578 drivers/scsi/mpt3sas/mpt3sas_ctl.c 		desc = "query_task";
desc              614 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				    desc, le16_to_cpu(tm_request->DevHandle),
desc              633 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			    desc, le16_to_cpu(tm_request->DevHandle), lun,
desc             2525 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	char *desc;
desc             2529 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "task management request completed";
desc             2532 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "invalid frame";
desc             2535 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "task management request not supported";
desc             2538 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "task management request failed";
desc             2541 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "task management request succeeded";
desc             2544 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "invalid lun";
desc             2547 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "overlapped tag attempted";
desc             2550 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "task queued, however not sent to target";
desc             2553 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "unknown";
desc             2556 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	ioc_warn(ioc, "response_code(0x%01x): %s\n", response_code, desc);
desc             5871 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	char *desc = NULL;
desc             5879 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "sata capability failed";
desc             5882 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "sata affiliation conflict";
desc             5885 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "route not addressable";
desc             5888 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "smp error not addressable";
desc             5891 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "device blocked";
desc             5905 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "sata initialization failed";
desc             5908 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "unknown";
desc             5916 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc, (u64)sas_address, handle);
desc             6570 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	char *desc = NULL;
desc             6578 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device capability failed";
desc             6581 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device blocked";
desc             6585 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    desc, (u64)wwid, handle);
desc             6589 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device mem space access failed";
desc             6592 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device unsupported";
desc             6595 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device MSIx Required";
desc             6598 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device init fail max";
desc             6601 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "PCIe device status unknown";
desc             6604 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme ready timeout";
desc             6607 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme device configuration unsupported";
desc             6610 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme identify failed";
desc             6613 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme qconfig failed";
desc             6616 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme qcreation failed";
desc             6619 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme eventcfg failed";
desc             6622 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme get feature stat failed";
desc             6625 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme idle timeout";
desc             6628 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		desc = "nvme failure status";
desc             6640 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		 desc, (u64)wwid, handle);
desc              550 drivers/scsi/qedf/qedf.h 	} desc;
desc               43 drivers/scsi/qedf/qedf_fip.c 	vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW);
desc               45 drivers/scsi/qedf/qedf_fip.c 	vlan->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC;
desc               46 drivers/scsi/qedf/qedf_fip.c 	vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW;
desc               47 drivers/scsi/qedf/qedf_fip.c 	ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac);
desc               49 drivers/scsi/qedf/qedf_fip.c 	vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME;
desc               50 drivers/scsi/qedf/qedf_fip.c 	vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW;
desc               51 drivers/scsi/qedf/qedf_fip.c 	put_unaligned_be64(qedf->lport->wwnn, &vlan->desc.wwnn.fd_wwn);
desc               83 drivers/scsi/qedf/qedf_fip.c 	struct fip_desc *desc;
desc               91 drivers/scsi/qedf/qedf_fip.c 	desc = (struct fip_desc *)(fiph + 1);
desc               93 drivers/scsi/qedf/qedf_fip.c 		dlen = desc->fip_dlen * FIP_BPW;
desc               94 drivers/scsi/qedf/qedf_fip.c 		switch (desc->fip_dtype) {
desc               96 drivers/scsi/qedf/qedf_fip.c 			vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan);
desc               99 drivers/scsi/qedf/qedf_fip.c 		desc = (struct fip_desc *)((char *)desc + dlen);
desc              172 drivers/scsi/qedf/qedf_fip.c 	struct fip_desc *desc;
desc              232 drivers/scsi/qedf/qedf_fip.c 		desc = (struct fip_desc *)(fiph + 1);
desc              233 drivers/scsi/qedf/qedf_fip.c 		while (rlen >= sizeof(*desc)) {
desc              234 drivers/scsi/qedf/qedf_fip.c 			dlen = desc->fip_dlen * FIP_BPW;
desc              235 drivers/scsi/qedf/qedf_fip.c 			switch (desc->fip_dtype) {
desc              237 drivers/scsi/qedf/qedf_fip.c 				mp = (struct fip_mac_desc *)desc;
desc              245 drivers/scsi/qedf/qedf_fip.c 				wp = (struct fip_wwn_desc *)desc;
desc              257 drivers/scsi/qedf/qedf_fip.c 				vp = (struct fip_vn_desc *)desc;
desc              279 drivers/scsi/qedf/qedf_fip.c 			desc = (struct fip_desc *)((char *)desc + dlen);
desc              694 drivers/scsi/qedi/qedi_iscsi.c 	strcpy(stats->custom[0].desc, "eh_abort_cnt");
desc              534 drivers/scsi/qla2xxx/qla_def.h 			void *desc;
desc             1876 drivers/scsi/qla2xxx/qla_isr.c 	fd = iocb->u.nvme.desc;
desc             3454 drivers/scsi/qla2xxx/qla_isr.c 	struct irq_affinity desc = {
desc             3460 drivers/scsi/qla2xxx/qla_isr.c 		desc.pre_vectors++;
desc             3471 drivers/scsi/qla2xxx/qla_isr.c 		    &desc);
desc             3498 drivers/scsi/qla2xxx/qla_isr.c 	vha->irq_offset = desc.pre_vectors;
desc              135 drivers/scsi/qla2xxx/qla_nvme.c 	fd = nvme->u.nvme.desc;
desc              304 drivers/scsi/qla2xxx/qla_nvme.c 	nvme->u.nvme.desc = fd;
desc              369 drivers/scsi/qla2xxx/qla_nvme.c 	struct nvmefc_fcp_req *fd = nvme->u.nvme.desc;
desc              572 drivers/scsi/qla2xxx/qla_nvme.c 	nvme->u.nvme.desc = fd;
desc              232 drivers/scsi/scsi_common.c void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq)
desc              234 drivers/scsi/scsi_common.c 	if (desc) {
desc             3474 drivers/scsi/scsi_debug.c 	struct unmap_block_desc *desc;
desc             3503 drivers/scsi/scsi_debug.c 	desc = (void *)&buf[8];
desc             3508 drivers/scsi/scsi_debug.c 		unsigned long long lba = get_unaligned_be64(&desc[i].lba);
desc             3509 drivers/scsi/scsi_debug.c 		unsigned int num = get_unaligned_be32(&desc[i].blocks);
desc             1267 drivers/scsi/scsi_transport_spi.c static void print_ptr(const unsigned char *msg, int msb, const char *desc)
desc             1271 drivers/scsi/scsi_transport_spi.c 	printk("%s = %d ", desc, ptr);
desc              135 drivers/scsi/ses.c 				      unsigned char *desc)
desc              152 drivers/scsi/ses.c 				memcpy(desc_ptr, desc, 4);
desc              196 drivers/scsi/ses.c 	unsigned char *desc;
desc              202 drivers/scsi/ses.c 	desc = ses_get_page2_descriptor(edev, ecomp);
desc              203 drivers/scsi/ses.c 	if (desc)
desc              204 drivers/scsi/ses.c 		ecomp->fault = (desc[3] & 0x60) >> 4;
desc              211 drivers/scsi/ses.c 	unsigned char desc[4];
desc              222 drivers/scsi/ses.c 	init_device_slot_control(desc, ecomp, desc_ptr);
desc              226 drivers/scsi/ses.c 		desc[3] &= 0xdf;
desc              229 drivers/scsi/ses.c 		desc[3] |= 0x20;
desc              236 drivers/scsi/ses.c 	return ses_set_page2_descriptor(edev, ecomp, desc);
desc              242 drivers/scsi/ses.c 	unsigned char *desc;
desc              248 drivers/scsi/ses.c 	desc = ses_get_page2_descriptor(edev, ecomp);
desc              249 drivers/scsi/ses.c 	if (desc)
desc              250 drivers/scsi/ses.c 		ecomp->status = (desc[0] & 0x0f);
desc              256 drivers/scsi/ses.c 	unsigned char *desc;
desc              262 drivers/scsi/ses.c 	desc = ses_get_page2_descriptor(edev, ecomp);
desc              263 drivers/scsi/ses.c 	if (desc)
desc              264 drivers/scsi/ses.c 		ecomp->locate = (desc[2] & 0x02) ? 1 : 0;
desc              271 drivers/scsi/ses.c 	unsigned char desc[4];
desc              282 drivers/scsi/ses.c 	init_device_slot_control(desc, ecomp, desc_ptr);
desc              286 drivers/scsi/ses.c 		desc[2] &= 0xfd;
desc              289 drivers/scsi/ses.c 		desc[2] |= 0x02;
desc              295 drivers/scsi/ses.c 	return ses_set_page2_descriptor(edev, ecomp, desc);
desc              302 drivers/scsi/ses.c 	unsigned char desc[4];
desc              313 drivers/scsi/ses.c 	init_device_slot_control(desc, ecomp, desc_ptr);
desc              317 drivers/scsi/ses.c 		desc[2] &= 0x7f;
desc              321 drivers/scsi/ses.c 		desc[2] |= 0x80;
desc              328 drivers/scsi/ses.c 	return ses_set_page2_descriptor(edev, ecomp, desc);
desc              342 drivers/scsi/ses.c 	unsigned char *desc;
desc              349 drivers/scsi/ses.c 	desc = ses_get_page2_descriptor(edev, ecomp);
desc              350 drivers/scsi/ses.c 	if (desc)
desc              351 drivers/scsi/ses.c 		ecomp->power_status = (desc[3] & 0x10) ? 0 : 1;
desc              358 drivers/scsi/ses.c 	unsigned char desc[4];
desc              369 drivers/scsi/ses.c 	init_device_slot_control(desc, ecomp, desc_ptr);
desc              374 drivers/scsi/ses.c 		desc[3] |= 0x10;
desc              377 drivers/scsi/ses.c 		desc[3] &= 0xef;
desc              383 drivers/scsi/ses.c 	return ses_set_page2_descriptor(edev, ecomp, desc);
desc              423 drivers/scsi/ses.c 				   unsigned char *desc)
desc              425 drivers/scsi/ses.c 	int eip = desc[0] & 0x10;
desc              426 drivers/scsi/ses.c 	int invalid = desc[0] & 0x80;
desc              427 drivers/scsi/ses.c 	enum scsi_protocol proto = desc[0] & 0x0f;
desc              439 drivers/scsi/ses.c 			d = desc + 4;
desc              445 drivers/scsi/ses.c 			d = desc + 4;
desc              447 drivers/scsi/ses.c 			d = desc + 8;
desc              449 drivers/scsi/ses.c 			d = desc + 4;
desc               44 drivers/scsi/sgiwd93.c 	struct hpc_dma_desc desc;
desc               84 drivers/scsi/sgiwd93.c 		hcp->desc.pbuf = physaddr;
desc               85 drivers/scsi/sgiwd93.c 		hcp->desc.cntinfo = count;
desc               96 drivers/scsi/sgiwd93.c 	hcp->desc.pbuf = 0;
desc               97 drivers/scsi/sgiwd93.c 	hcp->desc.cntinfo = HPCDMA_EOX;
desc              185 drivers/scsi/sgiwd93.c 		hcp->desc.pnext = (u32) (dma + sizeof(struct hpc_chunk));
desc              186 drivers/scsi/sgiwd93.c 		hcp->desc.cntinfo = HPCDMA_EOX;
desc              192 drivers/scsi/sgiwd93.c 	hcp->desc.pnext = hdata->dma;
desc               57 drivers/scsi/snic/cq_desc.h 	const struct cq_desc *desc = desc_arg;
desc               58 drivers/scsi/snic/cq_desc.h 	const u8 type_color = desc->type_color;
desc               72 drivers/scsi/snic/cq_desc.h 	*q_number = le16_to_cpu(desc->q_number) & CQ_DESC_Q_NUM_MASK;
desc               73 drivers/scsi/snic/cq_desc.h 	*completed_index = le16_to_cpu(desc->completed_index) &
desc               31 drivers/scsi/snic/cq_enet_desc.h static inline void cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc,
desc               34 drivers/scsi/snic/cq_enet_desc.h 	cq_desc_dec((struct cq_desc *)desc, type,
desc               71 drivers/scsi/snic/snic_res.h 	struct wq_enet_desc *desc = svnic_wq_next_desc(wq);
desc               73 drivers/scsi/snic/snic_res.h 	wq_enet_desc_enc(desc,
desc               27 drivers/scsi/snic/vnic_cq_fw.h 				    struct snic_fw_req *desc),
desc               31 drivers/scsi/snic/vnic_cq_fw.h 	struct snic_fw_req *desc;
desc               35 drivers/scsi/snic/vnic_cq_fw.h 	desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
desc               37 drivers/scsi/snic/vnic_cq_fw.h 	snic_color_dec(desc, &color);
desc               41 drivers/scsi/snic/vnic_cq_fw.h 		if ((*q_service)(cq->vdev, cq->index, desc))
desc               50 drivers/scsi/snic/vnic_cq_fw.h 		desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
desc               52 drivers/scsi/snic/vnic_cq_fw.h 		snic_color_dec(desc, &color);
desc               62 drivers/scsi/snic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
desc               57 drivers/scsi/snic/vnic_wq.h 	void *desc;
desc               99 drivers/scsi/snic/vnic_wq.h 	return wq->to_use->desc;
desc               51 drivers/scsi/snic/wq_enet_desc.h static inline void wq_enet_desc_enc(struct wq_enet_desc *desc,
desc               56 drivers/scsi/snic/wq_enet_desc.h 	desc->address = cpu_to_le64(address);
desc               57 drivers/scsi/snic/wq_enet_desc.h 	desc->length = cpu_to_le16(length & WQ_ENET_LEN_MASK);
desc               58 drivers/scsi/snic/wq_enet_desc.h 	desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) <<
desc               60 drivers/scsi/snic/wq_enet_desc.h 	desc->header_length_flags = cpu_to_le16(
desc               67 drivers/scsi/snic/wq_enet_desc.h 	desc->vlan_tag = cpu_to_le16(vlan_tag);
desc               70 drivers/scsi/snic/wq_enet_desc.h static inline void wq_enet_desc_dec(struct wq_enet_desc *desc,
desc               75 drivers/scsi/snic/wq_enet_desc.h 	*address = le64_to_cpu(desc->address);
desc               76 drivers/scsi/snic/wq_enet_desc.h 	*length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK;
desc               77 drivers/scsi/snic/wq_enet_desc.h 	*mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) &
desc               79 drivers/scsi/snic/wq_enet_desc.h 	*loopback = (u8)((le16_to_cpu(desc->mss_loopback) >>
desc               81 drivers/scsi/snic/wq_enet_desc.h 	*header_length = le16_to_cpu(desc->header_length_flags) &
desc               83 drivers/scsi/snic/wq_enet_desc.h 	*offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               85 drivers/scsi/snic/wq_enet_desc.h 	*eop = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               87 drivers/scsi/snic/wq_enet_desc.h 	*cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               89 drivers/scsi/snic/wq_enet_desc.h 	*fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               91 drivers/scsi/snic/wq_enet_desc.h 	*vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >>
desc               93 drivers/scsi/snic/wq_enet_desc.h 	*vlan_tag = le16_to_cpu(desc->vlan_tag);
desc             1153 drivers/scsi/storvsc_drv.c 	const struct vmpacket_descriptor *desc;
desc             1166 drivers/scsi/storvsc_drv.c 	foreach_vmbus_pkt(desc, channel) {
desc             1167 drivers/scsi/storvsc_drv.c 		void *packet = hv_pkt_data(desc);
desc             1171 drivers/scsi/storvsc_drv.c 			((unsigned long)desc->trans_id);
desc              784 drivers/scsi/virtio_scsi.c 	struct irq_affinity desc = { .pre_vectors = 2 };
desc              807 drivers/scsi/virtio_scsi.c 	err = virtio_find_vqs(vdev, num_vqs, vqs, callbacks, names, &desc);
desc              248 drivers/scsi/vmw_pvscsi.c 				  u32 cmd, const void *desc, size_t len)
desc              250 drivers/scsi/vmw_pvscsi.c 	const u32 *ptr = desc;
desc             1032 drivers/scsi/vmw_pvscsi.c 		struct PVSCSIMsgDescDevStatusChanged *desc;
desc             1033 drivers/scsi/vmw_pvscsi.c 		desc = (struct PVSCSIMsgDescDevStatusChanged *)e;
desc             1037 drivers/scsi/vmw_pvscsi.c 		       desc->bus, desc->target, desc->lun[1]);
desc             1042 drivers/scsi/vmw_pvscsi.c 		sdev = scsi_device_lookup(host, desc->bus, desc->target,
desc             1043 drivers/scsi/vmw_pvscsi.c 					  desc->lun[1]);
desc             1048 drivers/scsi/vmw_pvscsi.c 			scsi_add_device(adapter->host, desc->bus,
desc             1049 drivers/scsi/vmw_pvscsi.c 					desc->target, desc->lun[1]);
desc             1053 drivers/scsi/vmw_pvscsi.c 		struct PVSCSIMsgDescDevStatusChanged *desc;
desc             1054 drivers/scsi/vmw_pvscsi.c 		desc = (struct PVSCSIMsgDescDevStatusChanged *)e;
desc             1058 drivers/scsi/vmw_pvscsi.c 		       desc->bus, desc->target, desc->lun[1]);
desc             1063 drivers/scsi/vmw_pvscsi.c 		sdev = scsi_device_lookup(host, desc->bus, desc->target,
desc             1064 drivers/scsi/vmw_pvscsi.c 					  desc->lun[1]);
desc             1071 drivers/scsi/vmw_pvscsi.c 			       desc->bus, desc->target, desc->lun[1]);
desc               40 drivers/sh/intc/balancing.c static unsigned int intc_dist_data(struct intc_desc *desc,
desc               44 drivers/sh/intc/balancing.c 	struct intc_mask_reg *mr = desc->hw.mask_regs;
desc               48 drivers/sh/intc/balancing.c 	for (i = 0; mr && enum_id && i < desc->hw.nr_mask_regs; i++) {
desc               49 drivers/sh/intc/balancing.c 		mr = desc->hw.mask_regs + i;
desc               83 drivers/sh/intc/balancing.c void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
desc               91 drivers/sh/intc/balancing.c 	if (!desc->hw.mask_regs)
desc               95 drivers/sh/intc/balancing.c 	dist_handle[irq] = intc_dist_data(desc, d, id);
desc               68 drivers/sh/intc/core.c static void intc_redirect_irq(struct irq_desc *desc)
desc               70 drivers/sh/intc/core.c 	generic_handle_irq((unsigned int)irq_desc_get_handler_data(desc));
desc               73 drivers/sh/intc/core.c static void __init intc_register_irq(struct intc_desc *desc,
desc               95 drivers/sh/intc/core.c 	data[0] = intc_get_mask_handle(desc, d, enum_id, 0);
desc               96 drivers/sh/intc/core.c 	data[1] = intc_get_prio_handle(desc, d, enum_id, 0);
desc              106 drivers/sh/intc/core.c 	data[0] = data[0] ? data[0] : intc_get_mask_handle(desc, d, enum_id, 1);
desc              107 drivers/sh/intc/core.c 	data[1] = data[1] ? data[1] : intc_get_prio_handle(desc, d, enum_id, 1);
desc              148 drivers/sh/intc/core.c 	data[0] = intc_get_sense_handle(desc, d, enum_id);
desc              158 drivers/sh/intc/core.c 	intc_set_ack_handle(irq, desc, d, enum_id);
desc              159 drivers/sh/intc/core.c 	intc_set_dist_handle(irq, desc, d, enum_id);
desc              182 drivers/sh/intc/core.c int __init register_intc_controller(struct intc_desc *desc)
desc              185 drivers/sh/intc/core.c 	struct intc_hw_desc *hw = &desc->hw;
desc              190 drivers/sh/intc/core.c 		desc->name, hw->nr_vectors);
desc              204 drivers/sh/intc/core.c 	if (desc->num_resources) {
desc              205 drivers/sh/intc/core.c 		d->nr_windows = desc->num_resources;
desc              212 drivers/sh/intc/core.c 			res = desc->resource + k;
desc              290 drivers/sh/intc/core.c 	d->chip.name = desc->name;
desc              299 drivers/sh/intc/core.c 	if (desc->force_disable)
desc              300 drivers/sh/intc/core.c 		intc_enable_disable_enum(desc, d, desc->force_disable, 0);
desc              303 drivers/sh/intc/core.c 	if (desc->force_enable)
desc              304 drivers/sh/intc/core.c 		intc_enable_disable_enum(desc, d, desc->force_enable, 0);
desc              334 drivers/sh/intc/core.c 		intc_register_irq(desc, d, vect->enum_id, irq);
desc              375 drivers/sh/intc/core.c 	intc_subgroup_init(desc, d);
desc              378 drivers/sh/intc/core.c 	if (desc->force_enable)
desc              379 drivers/sh/intc/core.c 		intc_enable_disable_enum(desc, d, desc->force_enable, 1);
desc              381 drivers/sh/intc/core.c 	d->skip_suspend = desc->skip_syscore_suspend;
desc               18 drivers/sh/intc/handle.c static intc_enum __init intc_grp_id(struct intc_desc *desc,
desc               21 drivers/sh/intc/handle.c 	struct intc_group *g = desc->hw.groups;
desc               24 drivers/sh/intc/handle.c 	for (i = 0; g && enum_id && i < desc->hw.nr_groups; i++) {
desc               25 drivers/sh/intc/handle.c 		g = desc->hw.groups + i;
desc               38 drivers/sh/intc/handle.c static unsigned int __init _intc_mask_data(struct intc_desc *desc,
desc               44 drivers/sh/intc/handle.c 	struct intc_mask_reg *mr = desc->hw.mask_regs;
desc               48 drivers/sh/intc/handle.c 	while (mr && enum_id && *reg_idx < desc->hw.nr_mask_regs) {
desc               49 drivers/sh/intc/handle.c 		mr = desc->hw.mask_regs + *reg_idx;
desc               89 drivers/sh/intc/handle.c intc_get_mask_handle(struct intc_desc *desc, struct intc_desc_int *d,
desc               96 drivers/sh/intc/handle.c 	ret = _intc_mask_data(desc, d, enum_id, &i, &j);
desc              101 drivers/sh/intc/handle.c 		return intc_get_mask_handle(desc, d, intc_grp_id(desc, enum_id), 0);
desc              106 drivers/sh/intc/handle.c static unsigned int __init _intc_prio_data(struct intc_desc *desc,
desc              112 drivers/sh/intc/handle.c 	struct intc_prio_reg *pr = desc->hw.prio_regs;
desc              116 drivers/sh/intc/handle.c 	while (pr && enum_id && *reg_idx < desc->hw.nr_prio_regs) {
desc              117 drivers/sh/intc/handle.c 		pr = desc->hw.prio_regs + *reg_idx;
desc              158 drivers/sh/intc/handle.c intc_get_prio_handle(struct intc_desc *desc, struct intc_desc_int *d,
desc              165 drivers/sh/intc/handle.c 	ret = _intc_prio_data(desc, d, enum_id, &i, &j);
desc              170 drivers/sh/intc/handle.c 		return intc_get_prio_handle(desc, d, intc_grp_id(desc, enum_id), 0);
desc              175 drivers/sh/intc/handle.c static unsigned int intc_ack_data(struct intc_desc *desc,
desc              178 drivers/sh/intc/handle.c 	struct intc_mask_reg *mr = desc->hw.ack_regs;
desc              182 drivers/sh/intc/handle.c 	for (i = 0; mr && enum_id && i < desc->hw.nr_ack_regs; i++) {
desc              183 drivers/sh/intc/handle.c 		mr = desc->hw.ack_regs + i;
desc              231 drivers/sh/intc/handle.c void __init intc_enable_disable_enum(struct intc_desc *desc,
desc              240 drivers/sh/intc/handle.c 		data = _intc_mask_data(desc, d, enum_id, &i, &j);
desc              249 drivers/sh/intc/handle.c 		data = _intc_prio_data(desc, d, enum_id, &i, &j);
desc              258 drivers/sh/intc/handle.c intc_get_sense_handle(struct intc_desc *desc, struct intc_desc_int *d,
desc              261 drivers/sh/intc/handle.c 	struct intc_sense_reg *sr = desc->hw.sense_regs;
desc              264 drivers/sh/intc/handle.c 	for (i = 0; sr && enum_id && i < desc->hw.nr_sense_regs; i++) {
desc              265 drivers/sh/intc/handle.c 		sr = desc->hw.sense_regs + i;
desc              287 drivers/sh/intc/handle.c void intc_set_ack_handle(unsigned int irq, struct intc_desc *desc,
desc              295 drivers/sh/intc/handle.c 	if (!desc->hw.ack_regs)
desc              299 drivers/sh/intc/handle.c 	ack_handle[irq] = intc_ack_data(desc, d, id);
desc               45 drivers/sh/intc/internals.h 	struct intc_desc_int *desc;
desc              146 drivers/sh/intc/internals.h void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
desc              152 drivers/sh/intc/internals.h intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
desc              170 drivers/sh/intc/internals.h unsigned int intc_get_mask_handle(struct intc_desc *desc,
desc              173 drivers/sh/intc/internals.h unsigned int intc_get_prio_handle(struct intc_desc *desc,
desc              176 drivers/sh/intc/internals.h unsigned int intc_get_sense_handle(struct intc_desc *desc,
desc              179 drivers/sh/intc/internals.h void intc_set_ack_handle(unsigned int irq, struct intc_desc *desc,
desc              182 drivers/sh/intc/internals.h void intc_enable_disable_enum(struct intc_desc *desc, struct intc_desc_int *d,
desc              189 drivers/sh/intc/internals.h void intc_subgroup_init(struct intc_desc *desc, struct intc_desc_int *d);
desc               27 drivers/sh/intc/virq-debugfs.c 		struct intc_desc_int *desc = entry->desc;
desc               29 drivers/sh/intc/virq-debugfs.c 		if (!desc)
desc               34 drivers/sh/intc/virq-debugfs.c 		seq_printf(m, "%-15s\n", desc->chip.name);
desc               41 drivers/sh/intc/virq.c 	intc_irq_xlate[irq].desc = d;
desc              110 drivers/sh/intc/virq.c static void intc_virq_handler(struct irq_desc *desc)
desc              112 drivers/sh/intc/virq.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              113 drivers/sh/intc/virq.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              145 drivers/sh/intc/virq.c static void __init intc_subgroup_init_one(struct intc_desc *desc,
desc              190 drivers/sh/intc/virq.c void __init intc_subgroup_init(struct intc_desc *desc, struct intc_desc_int *d)
desc              194 drivers/sh/intc/virq.c 	if (!desc->hw.subgroups)
desc              197 drivers/sh/intc/virq.c 	for (i = 0; i < desc->hw.nr_subgroups; i++)
desc              198 drivers/sh/intc/virq.c 		intc_subgroup_init_one(desc, d, desc->hw.subgroups + i);
desc              131 drivers/slimbus/qcom-ngd-ctrl.c 	struct dma_async_tx_descriptor *desc;
desc              520 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_dma_desc *desc;
desc              529 drivers/slimbus/qcom-ngd-ctrl.c 	desc  = &ctrl->txdesc[ctrl->tx_tail];
desc              530 drivers/slimbus/qcom-ngd-ctrl.c 	desc->base = ctrl->tx_base + ctrl->tx_tail * SLIM_MSGQ_BUF_LEN;
desc              531 drivers/slimbus/qcom-ngd-ctrl.c 	desc->comp = comp;
desc              536 drivers/slimbus/qcom-ngd-ctrl.c 	return desc->base;
desc              541 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_dma_desc *desc = args;
desc              542 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_ctrl *ctrl = desc->ctrl;
desc              547 drivers/slimbus/qcom-ngd-ctrl.c 	if (desc->comp) {
desc              548 drivers/slimbus/qcom-ngd-ctrl.c 		complete(desc->comp);
desc              549 drivers/slimbus/qcom-ngd-ctrl.c 		desc->comp = NULL;
desc              559 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_dma_desc *desc;
desc              567 drivers/slimbus/qcom-ngd-ctrl.c 	desc = &ctrl->txdesc[index];
desc              568 drivers/slimbus/qcom-ngd-ctrl.c 	desc->phys = ctrl->tx_phys_base + offset;
desc              569 drivers/slimbus/qcom-ngd-ctrl.c 	desc->base = ctrl->tx_base + offset;
desc              570 drivers/slimbus/qcom-ngd-ctrl.c 	desc->ctrl = ctrl;
desc              573 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc = dmaengine_prep_slave_single(ctrl->dma_tx_channel,
desc              574 drivers/slimbus/qcom-ngd-ctrl.c 						desc->phys, len,
desc              577 drivers/slimbus/qcom-ngd-ctrl.c 	if (!desc->desc) {
desc              583 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->callback = qcom_slim_ngd_tx_msg_dma_cb;
desc              584 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->callback_param = desc;
desc              585 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->cookie = dmaengine_submit(desc->desc);
desc              616 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_dma_desc *desc = args;
desc              617 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_ctrl *ctrl = desc->ctrl;
desc              619 drivers/slimbus/qcom-ngd-ctrl.c 	qcom_slim_ngd_rx(ctrl, (u8 *)desc->base);
desc              621 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc = dmaengine_prep_slave_single(ctrl->dma_rx_channel,
desc              622 drivers/slimbus/qcom-ngd-ctrl.c 					desc->phys, SLIM_MSGQ_BUF_LEN,
desc              625 drivers/slimbus/qcom-ngd-ctrl.c 	if (!desc->desc) {
desc              630 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->callback = qcom_slim_ngd_rx_msgq_cb;
desc              631 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->callback_param = desc;
desc              632 drivers/slimbus/qcom-ngd-ctrl.c 	desc->desc->cookie = dmaengine_submit(desc->desc);
desc              638 drivers/slimbus/qcom-ngd-ctrl.c 	struct qcom_slim_ngd_dma_desc *desc;
desc              642 drivers/slimbus/qcom-ngd-ctrl.c 		desc = &ctrl->rx_desc[i];
desc              643 drivers/slimbus/qcom-ngd-ctrl.c 		desc->phys = ctrl->rx_phys_base + i * SLIM_MSGQ_BUF_LEN;
desc              644 drivers/slimbus/qcom-ngd-ctrl.c 		desc->ctrl = ctrl;
desc              645 drivers/slimbus/qcom-ngd-ctrl.c 		desc->base = ctrl->rx_base + i * SLIM_MSGQ_BUF_LEN;
desc              646 drivers/slimbus/qcom-ngd-ctrl.c 		desc->desc = dmaengine_prep_slave_single(ctrl->dma_rx_channel,
desc              647 drivers/slimbus/qcom-ngd-ctrl.c 						desc->phys, SLIM_MSGQ_BUF_LEN,
desc              650 drivers/slimbus/qcom-ngd-ctrl.c 		if (!desc->desc) {
desc              655 drivers/slimbus/qcom-ngd-ctrl.c 		desc->desc->callback = qcom_slim_ngd_rx_msgq_cb;
desc              656 drivers/slimbus/qcom-ngd-ctrl.c 		desc->desc->callback_param = desc;
desc              657 drivers/slimbus/qcom-ngd-ctrl.c 		desc->desc->cookie = dmaengine_submit(desc->desc);
desc              226 drivers/soc/amlogic/meson-ee-pwrc.c 	struct meson_ee_pwrc_domain_desc desc;
desc              245 drivers/soc/amlogic/meson-ee-pwrc.c 		    pwrc_domain->desc.top_pd->sleep_reg, &reg);
desc              247 drivers/soc/amlogic/meson-ee-pwrc.c 	return (reg & pwrc_domain->desc.top_pd->sleep_mask);
desc              256 drivers/soc/amlogic/meson-ee-pwrc.c 	if (pwrc_domain->desc.top_pd)
desc              258 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->sleep_reg,
desc              259 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->sleep_mask,
desc              260 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->sleep_mask);
desc              263 drivers/soc/amlogic/meson-ee-pwrc.c 	for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i)
desc              265 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.mem_pd[i].reg,
desc              266 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.mem_pd[i].mask,
desc              267 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.mem_pd[i].mask);
desc              271 drivers/soc/amlogic/meson-ee-pwrc.c 	if (pwrc_domain->desc.top_pd)
desc              273 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->iso_reg,
desc              274 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->iso_mask,
desc              275 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->iso_mask);
desc              292 drivers/soc/amlogic/meson-ee-pwrc.c 	if (pwrc_domain->desc.top_pd)
desc              294 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->sleep_reg,
desc              295 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->sleep_mask, 0);
desc              298 drivers/soc/amlogic/meson-ee-pwrc.c 	for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i)
desc              300 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.mem_pd[i].reg,
desc              301 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.mem_pd[i].mask, 0);
desc              309 drivers/soc/amlogic/meson-ee-pwrc.c 	if (pwrc_domain->desc.top_pd)
desc              311 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->iso_reg,
desc              312 drivers/soc/amlogic/meson-ee-pwrc.c 				   pwrc_domain->desc.top_pd->iso_mask, 0);
desc              329 drivers/soc/amlogic/meson-ee-pwrc.c 	dom->num_rstc = dom->desc.reset_names_count;
desc              330 drivers/soc/amlogic/meson-ee-pwrc.c 	dom->num_clks = dom->desc.clk_names_count;
desc              337 drivers/soc/amlogic/meson-ee-pwrc.c 				 count, dom->desc.name);
desc              352 drivers/soc/amlogic/meson-ee-pwrc.c 				 ret, dom->desc.name);
desc              357 drivers/soc/amlogic/meson-ee-pwrc.c 	dom->base.name = dom->desc.name;
desc              372 drivers/soc/amlogic/meson-ee-pwrc.c 	if (dom->num_clks && dom->desc.get_power && !dom->desc.get_power(dom)) {
desc              383 drivers/soc/amlogic/meson-ee-pwrc.c 				    (dom->desc.get_power ?
desc              384 drivers/soc/amlogic/meson-ee-pwrc.c 				     dom->desc.get_power(dom) : true));
desc              443 drivers/soc/amlogic/meson-ee-pwrc.c 		memcpy(&dom->desc, &match->domains[i], sizeof(dom->desc));
desc              463 drivers/soc/amlogic/meson-ee-pwrc.c 		if (dom->desc.get_power && !dom->desc.get_power(dom))
desc              226 drivers/soc/dove/pmu.c static void pmu_irq_handler(struct irq_desc *desc)
desc              228 drivers/soc/dove/pmu.c 	struct pmu_data *pmu = irq_desc_get_handler_data(desc);
desc              236 drivers/soc/dove/pmu.c 		handle_bad_irq(desc);
desc              128 drivers/soc/fsl/dpio/dpio-driver.c 	struct dpaa2_io_desc desc;
desc              167 drivers/soc/fsl/dpio/dpio-driver.c 	desc.qman_version = dpio_attrs.qbman_version;
desc              176 drivers/soc/fsl/dpio/dpio-driver.c 	desc.receives_notifications = dpio_attrs.num_priorities ? 1 : 0;
desc              177 drivers/soc/fsl/dpio/dpio-driver.c 	desc.has_8prio = dpio_attrs.num_priorities == 8 ? 1 : 0;
desc              178 drivers/soc/fsl/dpio/dpio-driver.c 	desc.dpio_id = dpio_dev->obj_desc.id;
desc              187 drivers/soc/fsl/dpio/dpio-driver.c 	desc.cpu = possible_next_cpu;
desc              190 drivers/soc/fsl/dpio/dpio-driver.c 	sdest = dpaa2_dpio_get_cluster_sdest(dpio_dev, desc.cpu);
desc              197 drivers/soc/fsl/dpio/dpio-driver.c 				desc.cpu);
desc              207 drivers/soc/fsl/dpio/dpio-driver.c 		desc.regs_cena = devm_memremap(dev, dpio_dev->regions[1].start,
desc              211 drivers/soc/fsl/dpio/dpio-driver.c 		desc.regs_cena = devm_memremap(dev, dpio_dev->regions[2].start,
desc              216 drivers/soc/fsl/dpio/dpio-driver.c 	if (IS_ERR(desc.regs_cena)) {
desc              218 drivers/soc/fsl/dpio/dpio-driver.c 		err = PTR_ERR(desc.regs_cena);
desc              222 drivers/soc/fsl/dpio/dpio-driver.c 	desc.regs_cinh = devm_ioremap(dev, dpio_dev->regions[1].start,
desc              224 drivers/soc/fsl/dpio/dpio-driver.c 	if (!desc.regs_cinh) {
desc              236 drivers/soc/fsl/dpio/dpio-driver.c 	priv->io = dpaa2_io_create(&desc, dev);
desc              243 drivers/soc/fsl/dpio/dpio-driver.c 	err = register_dpio_irq_handlers(dpio_dev, desc.cpu);
desc              249 drivers/soc/fsl/dpio/dpio-driver.c 		desc.receives_notifications);
desc              109 drivers/soc/fsl/dpio/dpio-service.c struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc,
desc              118 drivers/soc/fsl/dpio/dpio-service.c 	if (desc->cpu != DPAA2_IO_ANY_CPU && desc->cpu >= num_possible_cpus()) {
desc              123 drivers/soc/fsl/dpio/dpio-service.c 	obj->dpio_desc = *desc;
desc              148 drivers/soc/fsl/dpio/dpio-service.c 	if (desc->cpu >= 0 && !dpio_by_cpu[desc->cpu])
desc              149 drivers/soc/fsl/dpio/dpio-service.c 		dpio_by_cpu[desc->cpu] = obj;
desc              164 drivers/soc/fsl/dpio/qbman-portal.c 	p->desc = d;
desc              170 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) >= QMAN_REV_5000)
desc              178 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_4100) {
desc              189 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) >= QMAN_REV_5000)
desc              204 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) >= QMAN_REV_5000)
desc              217 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) >= QMAN_REV_5000) {
desc              315 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000)
desc              329 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000) {
desc              347 drivers/soc/fsl/dpio/qbman-portal.c 	if ((p->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000) {
desc              480 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000) {
desc              665 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000)
desc              675 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000) {
desc              743 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000)
desc              898 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000)
desc              907 drivers/soc/fsl/dpio/qbman-portal.c 	if ((s->desc->qman_version & QMAN_REV_MASK) < QMAN_REV_5000) {
desc              104 drivers/soc/fsl/dpio/qbman-portal.h 	const struct qbman_swp_desc *desc;
desc              317 drivers/soc/fsl/qe/qe_ic.c 		       void (*low_handler)(struct irq_desc *desc),
desc              318 drivers/soc/fsl/qe/qe_ic.c 		       void (*high_handler)(struct irq_desc *desc))
desc               68 drivers/soc/qcom/llcc-slice.c 	struct llcc_slice_desc *desc;
desc               84 drivers/soc/qcom/llcc-slice.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc               85 drivers/soc/qcom/llcc-slice.c 	if (!desc)
desc               88 drivers/soc/qcom/llcc-slice.c 	desc->slice_id = cfg->slice_id;
desc               89 drivers/soc/qcom/llcc-slice.c 	desc->slice_size = cfg->max_cap;
desc               91 drivers/soc/qcom/llcc-slice.c 	return desc;
desc               99 drivers/soc/qcom/llcc-slice.c void llcc_slice_putd(struct llcc_slice_desc *desc)
desc              101 drivers/soc/qcom/llcc-slice.c 	if (!IS_ERR_OR_NULL(desc))
desc              102 drivers/soc/qcom/llcc-slice.c 		kfree(desc);
desc              147 drivers/soc/qcom/llcc-slice.c int llcc_slice_activate(struct llcc_slice_desc *desc)
desc              155 drivers/soc/qcom/llcc-slice.c 	if (IS_ERR_OR_NULL(desc))
desc              159 drivers/soc/qcom/llcc-slice.c 	if (test_bit(desc->slice_id, drv_data->bitmap)) {
desc              166 drivers/soc/qcom/llcc-slice.c 	ret = llcc_update_act_ctrl(desc->slice_id, act_ctrl_val,
desc              173 drivers/soc/qcom/llcc-slice.c 	__set_bit(desc->slice_id, drv_data->bitmap);
desc              187 drivers/soc/qcom/llcc-slice.c int llcc_slice_deactivate(struct llcc_slice_desc *desc)
desc              195 drivers/soc/qcom/llcc-slice.c 	if (IS_ERR_OR_NULL(desc))
desc              199 drivers/soc/qcom/llcc-slice.c 	if (!test_bit(desc->slice_id, drv_data->bitmap)) {
desc              205 drivers/soc/qcom/llcc-slice.c 	ret = llcc_update_act_ctrl(desc->slice_id, act_ctrl_val,
desc              212 drivers/soc/qcom/llcc-slice.c 	__clear_bit(desc->slice_id, drv_data->bitmap);
desc              223 drivers/soc/qcom/llcc-slice.c int llcc_get_slice_id(struct llcc_slice_desc *desc)
desc              225 drivers/soc/qcom/llcc-slice.c 	if (IS_ERR_OR_NULL(desc))
desc              228 drivers/soc/qcom/llcc-slice.c 	return desc->slice_id;
desc              236 drivers/soc/qcom/llcc-slice.c size_t llcc_get_slice_size(struct llcc_slice_desc *desc)
desc              238 drivers/soc/qcom/llcc-slice.c 	if (IS_ERR_OR_NULL(desc))
desc              241 drivers/soc/qcom/llcc-slice.c 	return desc->slice_size;
desc              256 drivers/soc/qcom/llcc-slice.c 	struct llcc_slice_desc desc;
desc              297 drivers/soc/qcom/llcc-slice.c 			desc.slice_id = llcc_table[i].slice_id;
desc              298 drivers/soc/qcom/llcc-slice.c 			ret = llcc_slice_activate(&desc);
desc              330 drivers/soc/qcom/rpmhpd.c 	const struct rpmhpd_desc *desc;
desc              332 drivers/soc/qcom/rpmhpd.c 	desc = of_device_get_match_data(dev);
desc              333 drivers/soc/qcom/rpmhpd.c 	if (!desc)
desc              336 drivers/soc/qcom/rpmhpd.c 	rpmhpds = desc->rpmhpds;
desc              337 drivers/soc/qcom/rpmhpd.c 	num_pds = desc->num_pds;
desc              344 drivers/soc/qcom/rpmpd.c 	const struct rpmpd_desc *desc;
desc              352 drivers/soc/qcom/rpmpd.c 	desc = of_device_get_match_data(&pdev->dev);
desc              353 drivers/soc/qcom/rpmpd.c 	if (!desc)
desc              356 drivers/soc/qcom/rpmpd.c 	rpmpds = desc->rpmpds;
desc              357 drivers/soc/qcom/rpmpd.c 	num = desc->num_pds;
desc              375 drivers/soc/qcom/rpmpd.c 		rpmpds[i]->max_state = desc->max_state;
desc               18 drivers/soc/rockchip/grf.c 	const char *desc;
desc              166 drivers/soc/rockchip/grf.c 			val->desc, val->reg, val->val);
desc              717 drivers/soc/ti/knav_qmss_queue.c 	void *desc;
desc              727 drivers/soc/ti/knav_qmss_queue.c 		desc = knav_pool_desc_dma_to_virt(pool, dma);
desc              728 drivers/soc/ti/knav_qmss_queue.c 		if (!desc) {
desc              917 drivers/soc/ti/knav_qmss_queue.c void knav_pool_desc_put(void *ph, void *desc)
desc              921 drivers/soc/ti/knav_qmss_queue.c 	dma = knav_pool_desc_virt_to_dma(pool, desc);
desc              936 drivers/soc/ti/knav_qmss_queue.c int knav_pool_desc_map(void *ph, void *desc, unsigned size,
desc              940 drivers/soc/ti/knav_qmss_queue.c 	*dma = knav_pool_desc_virt_to_dma(pool, desc);
desc              966 drivers/soc/ti/knav_qmss_queue.c 	void *desc;
desc              969 drivers/soc/ti/knav_qmss_queue.c 	desc = knav_pool_desc_dma_to_virt(pool, dma);
desc              971 drivers/soc/ti/knav_qmss_queue.c 	prefetch(desc);
desc              972 drivers/soc/ti/knav_qmss_queue.c 	return desc;
desc               65 drivers/soc/ti/ti_sci_inta_msi.c 	struct msi_desc *desc, *tmp;
desc               67 drivers/soc/ti/ti_sci_inta_msi.c 	list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) {
desc               68 drivers/soc/ti/ti_sci_inta_msi.c 		list_del(&desc->list);
desc               69 drivers/soc/ti/ti_sci_inta_msi.c 		free_msi_entry(desc);
desc               80 drivers/soc/ti/ti_sci_inta_msi.c 		for (i = 0; i < res->desc[set].num; i++) {
desc               87 drivers/soc/ti/ti_sci_inta_msi.c 			msi_desc->inta.dev_index = res->desc[set].start + i;
desc              138 drivers/soc/ti/ti_sci_inta_msi.c 	struct msi_desc *desc;
desc              140 drivers/soc/ti/ti_sci_inta_msi.c 	for_each_msi_entry(desc, dev)
desc              141 drivers/soc/ti/ti_sci_inta_msi.c 		if (desc->inta.dev_index == dev_index)
desc              142 drivers/soc/ti/ti_sci_inta_msi.c 			return desc->irq;
desc              671 drivers/spi/spi-bcm2835.c 	struct dma_async_tx_descriptor *desc;
desc              688 drivers/spi/spi-bcm2835.c 	desc = dmaengine_prep_slave_sg(chan, sgl, nents, dir, flags);
desc              689 drivers/spi/spi-bcm2835.c 	if (!desc)
desc              697 drivers/spi/spi-bcm2835.c 		desc->callback = bcm2835_spi_dma_rx_done;
desc              698 drivers/spi/spi-bcm2835.c 		desc->callback_param = ctlr;
desc              700 drivers/spi/spi-bcm2835.c 		desc->callback = bcm2835_spi_dma_tx_done;
desc              701 drivers/spi/spi-bcm2835.c 		desc->callback_param = ctlr;
desc              706 drivers/spi/spi-bcm2835.c 	cookie = dmaengine_submit(desc);
desc               46 drivers/spi/spi-dw-pci.c 	struct spi_pci_desc *desc = (struct spi_pci_desc *)ent->driver_data;
desc               72 drivers/spi/spi-dw-pci.c 	if (desc) {
desc               73 drivers/spi/spi-dw-pci.c 		dws->num_cs = desc->num_cs;
desc               74 drivers/spi/spi-dw-pci.c 		dws->bus_num = desc->bus_num;
desc               75 drivers/spi/spi-dw-pci.c 		dws->max_freq = desc->max_freq;
desc               77 drivers/spi/spi-dw-pci.c 		if (desc->setup) {
desc               78 drivers/spi/spi-dw-pci.c 			ret = desc->setup(dws);
desc              442 drivers/spi/spi-mem.c static ssize_t spi_mem_no_dirmap_read(struct spi_mem_dirmap_desc *desc,
desc              445 drivers/spi/spi-mem.c 	struct spi_mem_op op = desc->info.op_tmpl;
desc              448 drivers/spi/spi-mem.c 	op.addr.val = desc->info.offset + offs;
desc              451 drivers/spi/spi-mem.c 	ret = spi_mem_adjust_op_size(desc->mem, &op);
desc              455 drivers/spi/spi-mem.c 	ret = spi_mem_exec_op(desc->mem, &op);
desc              462 drivers/spi/spi-mem.c static ssize_t spi_mem_no_dirmap_write(struct spi_mem_dirmap_desc *desc,
desc              465 drivers/spi/spi-mem.c 	struct spi_mem_op op = desc->info.op_tmpl;
desc              468 drivers/spi/spi-mem.c 	op.addr.val = desc->info.offset + offs;
desc              471 drivers/spi/spi-mem.c 	ret = spi_mem_adjust_op_size(desc->mem, &op);
desc              475 drivers/spi/spi-mem.c 	ret = spi_mem_exec_op(desc->mem, &op);
desc              500 drivers/spi/spi-mem.c 	struct spi_mem_dirmap_desc *desc;
desc              511 drivers/spi/spi-mem.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              512 drivers/spi/spi-mem.c 	if (!desc)
desc              515 drivers/spi/spi-mem.c 	desc->mem = mem;
desc              516 drivers/spi/spi-mem.c 	desc->info = *info;
desc              518 drivers/spi/spi-mem.c 		ret = ctlr->mem_ops->dirmap_create(desc);
desc              521 drivers/spi/spi-mem.c 		desc->nodirmap = true;
desc              522 drivers/spi/spi-mem.c 		if (!spi_mem_supports_op(desc->mem, &desc->info.op_tmpl))
desc              529 drivers/spi/spi-mem.c 		kfree(desc);
desc              533 drivers/spi/spi-mem.c 	return desc;
desc              544 drivers/spi/spi-mem.c void spi_mem_dirmap_destroy(struct spi_mem_dirmap_desc *desc)
desc              546 drivers/spi/spi-mem.c 	struct spi_controller *ctlr = desc->mem->spi->controller;
desc              548 drivers/spi/spi-mem.c 	if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy)
desc              549 drivers/spi/spi-mem.c 		ctlr->mem_ops->dirmap_destroy(desc);
desc              551 drivers/spi/spi-mem.c 	kfree(desc);
desc              557 drivers/spi/spi-mem.c 	struct spi_mem_dirmap_desc *desc = *(struct spi_mem_dirmap_desc **)res;
desc              559 drivers/spi/spi-mem.c 	spi_mem_dirmap_destroy(desc);
desc              578 drivers/spi/spi-mem.c 	struct spi_mem_dirmap_desc **ptr, *desc;
desc              585 drivers/spi/spi-mem.c 	desc = spi_mem_dirmap_create(mem, info);
desc              586 drivers/spi/spi-mem.c 	if (IS_ERR(desc)) {
desc              589 drivers/spi/spi-mem.c 		*ptr = desc;
desc              593 drivers/spi/spi-mem.c 	return desc;
desc              617 drivers/spi/spi-mem.c 				 struct spi_mem_dirmap_desc *desc)
desc              620 drivers/spi/spi-mem.c 		       devm_spi_mem_dirmap_match, desc);
desc              640 drivers/spi/spi-mem.c ssize_t spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc,
desc              643 drivers/spi/spi-mem.c 	struct spi_controller *ctlr = desc->mem->spi->controller;
desc              646 drivers/spi/spi-mem.c 	if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_IN)
desc              652 drivers/spi/spi-mem.c 	if (desc->nodirmap) {
desc              653 drivers/spi/spi-mem.c 		ret = spi_mem_no_dirmap_read(desc, offs, len, buf);
desc              655 drivers/spi/spi-mem.c 		ret = spi_mem_access_start(desc->mem);
desc              659 drivers/spi/spi-mem.c 		ret = ctlr->mem_ops->dirmap_read(desc, offs, len, buf);
desc              661 drivers/spi/spi-mem.c 		spi_mem_access_end(desc->mem);
desc              686 drivers/spi/spi-mem.c ssize_t spi_mem_dirmap_write(struct spi_mem_dirmap_desc *desc,
desc              689 drivers/spi/spi-mem.c 	struct spi_controller *ctlr = desc->mem->spi->controller;
desc              692 drivers/spi/spi-mem.c 	if (desc->info.op_tmpl.data.dir != SPI_MEM_DATA_OUT)
desc              698 drivers/spi/spi-mem.c 	if (desc->nodirmap) {
desc              699 drivers/spi/spi-mem.c 		ret = spi_mem_no_dirmap_write(desc, offs, len, buf);
desc              701 drivers/spi/spi-mem.c 		ret = spi_mem_access_start(desc->mem);
desc              705 drivers/spi/spi-mem.c 		ret = ctlr->mem_ops->dirmap_write(desc, offs, len, buf);
desc              707 drivers/spi/spi-mem.c 		spi_mem_access_end(desc->mem);
desc              169 drivers/spi/spi-mxs.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              241 drivers/spi/spi-mxs.c 		desc = dmaengine_prep_slave_sg(ssp->dmach,
desc              246 drivers/spi/spi-mxs.c 		if (!desc) {
desc              253 drivers/spi/spi-mxs.c 		desc = dmaengine_prep_slave_sg(ssp->dmach,
desc              258 drivers/spi/spi-mxs.c 		if (!desc) {
desc              270 drivers/spi/spi-mxs.c 	desc->callback = mxs_ssp_dma_irq_callback;
desc              271 drivers/spi/spi-mxs.c 	desc->callback_param = spi;
desc              274 drivers/spi/spi-mxs.c 	dmaengine_submit(desc);
desc              267 drivers/spi/spi-npcm-fiu.c static ssize_t npcm_fiu_direct_read(struct spi_mem_dirmap_desc *desc,
desc              271 drivers/spi/spi-npcm-fiu.c 		spi_controller_get_devdata(desc->mem->spi->master);
desc              272 drivers/spi/spi-npcm-fiu.c 	struct npcm_fiu_chip *chip = &fiu->chip[desc->mem->spi->chip_select];
desc              282 drivers/spi/spi-npcm-fiu.c 		if (desc->info.op_tmpl.addr.buswidth != fiu->drd_op.addr.buswidth ||
desc              283 drivers/spi/spi-npcm-fiu.c 		    desc->info.op_tmpl.dummy.nbytes != fiu->drd_op.dummy.nbytes ||
desc              284 drivers/spi/spi-npcm-fiu.c 		    desc->info.op_tmpl.cmd.opcode != fiu->drd_op.cmd.opcode ||
desc              285 drivers/spi/spi-npcm-fiu.c 		    desc->info.op_tmpl.addr.nbytes != fiu->drd_op.addr.nbytes)
desc              286 drivers/spi/spi-npcm-fiu.c 			npcm_fiu_set_drd(fiu, &desc->info.op_tmpl);
desc              294 drivers/spi/spi-npcm-fiu.c static ssize_t npcm_fiu_direct_write(struct spi_mem_dirmap_desc *desc,
desc              298 drivers/spi/spi-npcm-fiu.c 		spi_controller_get_devdata(desc->mem->spi->master);
desc              299 drivers/spi/spi-npcm-fiu.c 	struct npcm_fiu_chip *chip = &fiu->chip[desc->mem->spi->chip_select];
desc              585 drivers/spi/spi-npcm-fiu.c static int npcm_fiu_dirmap_create(struct spi_mem_dirmap_desc *desc)
desc              588 drivers/spi/spi-npcm-fiu.c 		spi_controller_get_devdata(desc->mem->spi->master);
desc              589 drivers/spi/spi-npcm-fiu.c 	struct npcm_fiu_chip *chip = &fiu->chip[desc->mem->spi->chip_select];
desc              594 drivers/spi/spi-npcm-fiu.c 		desc->nodirmap = true;
desc              599 drivers/spi/spi-npcm-fiu.c 	    desc->info.op_tmpl.data.dir == SPI_MEM_DATA_OUT) {
desc              600 drivers/spi/spi-npcm-fiu.c 		desc->nodirmap = true;
desc              608 drivers/spi/spi-npcm-fiu.c 						    desc->mem->spi->chip_select)),
desc              609 drivers/spi/spi-npcm-fiu.c 					     (u32)desc->info.length);
desc              612 drivers/spi/spi-npcm-fiu.c 			desc->nodirmap = true;
desc              622 drivers/spi/spi-npcm-fiu.c 			desc->nodirmap = true;
desc              630 drivers/spi/spi-npcm-fiu.c 	if (desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) {
desc              632 drivers/spi/spi-npcm-fiu.c 			npcm_fiu_set_drd(fiu, &desc->info.op_tmpl);
desc              395 drivers/spi/spi-qup.c 	struct dma_async_tx_descriptor *desc;
desc              404 drivers/spi/spi-qup.c 	desc = dmaengine_prep_slave_sg(chan, sgl, nents, dir, flags);
desc              405 drivers/spi/spi-qup.c 	if (IS_ERR_OR_NULL(desc))
desc              406 drivers/spi/spi-qup.c 		return desc ? PTR_ERR(desc) : -EINVAL;
desc              408 drivers/spi/spi-qup.c 	desc->callback = callback;
desc              409 drivers/spi/spi-qup.c 	desc->callback_param = qup;
desc              411 drivers/spi/spi-qup.c 	cookie = dmaengine_submit(desc);
desc              272 drivers/spi/spi-s3c64xx.c 	struct dma_async_tx_descriptor *desc;
desc              294 drivers/spi/spi-s3c64xx.c 	desc = dmaengine_prep_slave_sg(dma->ch, sgt->sgl, sgt->nents,
desc              297 drivers/spi/spi-s3c64xx.c 	desc->callback = s3c64xx_spi_dmacb;
desc              298 drivers/spi/spi-s3c64xx.c 	desc->callback_param = dma;
desc              300 drivers/spi/spi-s3c64xx.c 	dmaengine_submit(desc);
desc              493 drivers/spi/spi-sprd.c 	struct dma_async_tx_descriptor *desc;
desc              504 drivers/spi/spi-sprd.c 	desc = dmaengine_prep_slave_sg(dma_chan, sg->sgl, sg->nents, dir, flags);
desc              505 drivers/spi/spi-sprd.c 	if (!desc)
desc              508 drivers/spi/spi-sprd.c 	cookie = dmaengine_submit(desc);
desc              202 drivers/spi/spi-stm32-qspi.c 	struct dma_async_tx_descriptor *desc;
desc              226 drivers/spi/spi-stm32-qspi.c 	desc = dmaengine_prep_slave_sg(dma_ch, sgt.sgl, sgt.nents,
desc              228 drivers/spi/spi-stm32-qspi.c 	if (!desc) {
desc              236 drivers/spi/spi-stm32-qspi.c 	desc->callback = stm32_qspi_dma_callback;
desc              237 drivers/spi/spi-stm32-qspi.c 	desc->callback_param = &qspi->dma_completion;
desc              238 drivers/spi/spi-stm32-qspi.c 	cookie = dmaengine_submit(desc);
desc              527 drivers/spmi/spmi-pmic-arb.c static void pmic_arb_chained_irq(struct irq_desc *desc)
desc              529 drivers/spmi/spmi-pmic-arb.c 	struct spmi_pmic_arb *pmic_arb = irq_desc_get_handler_data(desc);
desc              531 drivers/spmi/spmi-pmic-arb.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              538 drivers/spmi/spmi-pmic-arb.c 	chained_irq_enter(chip, desc);
desc              554 drivers/spmi/spmi-pmic-arb.c 	chained_irq_exit(chip, desc);
desc               21 drivers/staging/comedi/drivers/comedi_isadma.c void comedi_isadma_program(struct comedi_isadma_desc *desc)
desc               26 drivers/staging/comedi/drivers/comedi_isadma.c 	clear_dma_ff(desc->chan);
desc               27 drivers/staging/comedi/drivers/comedi_isadma.c 	set_dma_mode(desc->chan, desc->mode);
desc               28 drivers/staging/comedi/drivers/comedi_isadma.c 	set_dma_addr(desc->chan, desc->hw_addr);
desc               29 drivers/staging/comedi/drivers/comedi_isadma.c 	set_dma_count(desc->chan, desc->size);
desc               30 drivers/staging/comedi/drivers/comedi_isadma.c 	enable_dma(desc->chan);
desc              102 drivers/staging/comedi/drivers/comedi_isadma.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              108 drivers/staging/comedi/drivers/comedi_isadma.c 	clear_dma_ff(desc->chan);
desc              110 drivers/staging/comedi/drivers/comedi_isadma.c 		disable_dma(desc->chan);
desc              111 drivers/staging/comedi/drivers/comedi_isadma.c 	result = get_dma_residue(desc->chan);
desc              117 drivers/staging/comedi/drivers/comedi_isadma.c 	result1 = get_dma_residue(desc->chan);
desc              119 drivers/staging/comedi/drivers/comedi_isadma.c 		enable_dma(desc->chan);
desc              124 drivers/staging/comedi/drivers/comedi_isadma.c 	if (result >= desc->size || result == 0)
desc              126 drivers/staging/comedi/drivers/comedi_isadma.c 	return desc->size - result;
desc              135 drivers/staging/comedi/drivers/comedi_isadma.c void comedi_isadma_set_mode(struct comedi_isadma_desc *desc, char dma_dir)
desc              137 drivers/staging/comedi/drivers/comedi_isadma.c 	desc->mode = (dma_dir == COMEDI_ISADMA_READ) ? DMA_MODE_READ
desc              159 drivers/staging/comedi/drivers/comedi_isadma.c 	struct comedi_isadma_desc *desc;
desc              170 drivers/staging/comedi/drivers/comedi_isadma.c 	desc = kcalloc(n_desc, sizeof(*desc), GFP_KERNEL);
desc              171 drivers/staging/comedi/drivers/comedi_isadma.c 	if (!desc)
desc              173 drivers/staging/comedi/drivers/comedi_isadma.c 	dma->desc = desc;
desc              205 drivers/staging/comedi/drivers/comedi_isadma.c 		desc = &dma->desc[i];
desc              206 drivers/staging/comedi/drivers/comedi_isadma.c 		desc->chan = dma_chans[i];
desc              207 drivers/staging/comedi/drivers/comedi_isadma.c 		desc->maxsize = maxsize;
desc              208 drivers/staging/comedi/drivers/comedi_isadma.c 		desc->virt_addr = dma_alloc_coherent(dma->dev, desc->maxsize,
desc              209 drivers/staging/comedi/drivers/comedi_isadma.c 						     &desc->hw_addr,
desc              211 drivers/staging/comedi/drivers/comedi_isadma.c 		if (!desc->virt_addr)
desc              213 drivers/staging/comedi/drivers/comedi_isadma.c 		comedi_isadma_set_mode(desc, dma_dir);
desc              230 drivers/staging/comedi/drivers/comedi_isadma.c 	struct comedi_isadma_desc *desc;
desc              236 drivers/staging/comedi/drivers/comedi_isadma.c 	if (dma->desc) {
desc              238 drivers/staging/comedi/drivers/comedi_isadma.c 			desc = &dma->desc[i];
desc              239 drivers/staging/comedi/drivers/comedi_isadma.c 			if (desc->virt_addr)
desc              240 drivers/staging/comedi/drivers/comedi_isadma.c 				dma_free_coherent(dma->dev, desc->maxsize,
desc              241 drivers/staging/comedi/drivers/comedi_isadma.c 						  desc->virt_addr,
desc              242 drivers/staging/comedi/drivers/comedi_isadma.c 						  desc->hw_addr);
desc              244 drivers/staging/comedi/drivers/comedi_isadma.c 		kfree(dma->desc);
desc               51 drivers/staging/comedi/drivers/comedi_isadma.h 	struct comedi_isadma_desc *desc;
desc               60 drivers/staging/comedi/drivers/comedi_isadma.h void comedi_isadma_program(struct comedi_isadma_desc *desc);
desc               65 drivers/staging/comedi/drivers/comedi_isadma.h void comedi_isadma_set_mode(struct comedi_isadma_desc *desc, char dma_dir);
desc               75 drivers/staging/comedi/drivers/comedi_isadma.h static inline void comedi_isadma_program(struct comedi_isadma_desc *desc)
desc               95 drivers/staging/comedi/drivers/comedi_isadma.h static inline void comedi_isadma_set_mode(struct comedi_isadma_desc *desc,
desc              451 drivers/staging/comedi/drivers/das16.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              452 drivers/staging/comedi/drivers/das16.c 	unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize);
desc              462 drivers/staging/comedi/drivers/das16.c 		desc->size = comedi_samples_to_bytes(s, nsamples);
desc              463 drivers/staging/comedi/drivers/das16.c 		comedi_isadma_program(desc);
desc              474 drivers/staging/comedi/drivers/das16.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              491 drivers/staging/comedi/drivers/das16.c 	residue = comedi_isadma_disable_on_sample(desc->chan,
desc              495 drivers/staging/comedi/drivers/das16.c 	if (residue > desc->size) {
desc              500 drivers/staging/comedi/drivers/das16.c 		nbytes = desc->size - residue;
desc              512 drivers/staging/comedi/drivers/das16.c 	comedi_buf_write_samples(s, desc->virt_addr, nsamples);
desc              367 drivers/staging/comedi/drivers/das1800.c 				      struct comedi_isadma_desc *desc)
desc              369 drivers/staging/comedi/drivers/das1800.c 	unsigned int residue = comedi_isadma_disable(desc->chan);
desc              370 drivers/staging/comedi/drivers/das1800.c 	unsigned int nbytes = desc->size - residue;
desc              377 drivers/staging/comedi/drivers/das1800.c 	comedi_buf_write_samples(s, desc->virt_addr, nsamples);
desc              385 drivers/staging/comedi/drivers/das1800.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              388 drivers/staging/comedi/drivers/das1800.c 	das1800_flush_dma_channel(dev, s, desc);
desc              393 drivers/staging/comedi/drivers/das1800.c 		desc = &dma->desc[dma->cur_dma];
desc              394 drivers/staging/comedi/drivers/das1800.c 		das1800_flush_dma_channel(dev, s, desc);
desc              406 drivers/staging/comedi/drivers/das1800.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              409 drivers/staging/comedi/drivers/das1800.c 	das1800_flush_dma_channel(dev, s, desc);
desc              412 drivers/staging/comedi/drivers/das1800.c 	comedi_isadma_program(desc);
desc              428 drivers/staging/comedi/drivers/das1800.c 	struct comedi_isadma_desc *desc;
desc              438 drivers/staging/comedi/drivers/das1800.c 			desc = &dma->desc[i];
desc              439 drivers/staging/comedi/drivers/das1800.c 			if (desc->chan)
desc              440 drivers/staging/comedi/drivers/das1800.c 				comedi_isadma_disable(desc->chan);
desc              783 drivers/staging/comedi/drivers/das1800.c 	struct comedi_isadma_desc *desc;
desc              790 drivers/staging/comedi/drivers/das1800.c 	desc = &dma->desc[0];
desc              793 drivers/staging/comedi/drivers/das1800.c 	bytes = das1800_ai_transfer_size(dev, s, desc->maxsize, 300000000);
desc              795 drivers/staging/comedi/drivers/das1800.c 	desc->size = bytes;
desc              796 drivers/staging/comedi/drivers/das1800.c 	comedi_isadma_program(desc);
desc              800 drivers/staging/comedi/drivers/das1800.c 		desc = &dma->desc[1];
desc              801 drivers/staging/comedi/drivers/das1800.c 		desc->size = bytes;
desc              802 drivers/staging/comedi/drivers/das1800.c 		comedi_isadma_program(desc);
desc              320 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc = &dma->desc[dma_index];
desc              326 drivers/staging/comedi/drivers/dt282x.c 		n = desc->maxsize;
desc              331 drivers/staging/comedi/drivers/dt282x.c 	desc->size = n;
desc              332 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_set_mode(desc, devpriv->dma_dir);
desc              334 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_program(desc);
desc              343 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc = &dma->desc[dma_index];
desc              345 drivers/staging/comedi/drivers/dt282x.c 	desc->size = n;
desc              346 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_set_mode(desc, devpriv->dma_dir);
desc              348 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_program(desc);
desc              357 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc;
desc              361 drivers/staging/comedi/drivers/dt282x.c 		desc = &dma->desc[i];
desc              362 drivers/staging/comedi/drivers/dt282x.c 		comedi_isadma_disable(desc->chan);
desc              428 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc = &dma->desc[cur_dma];
desc              429 drivers/staging/comedi/drivers/dt282x.c 	unsigned int nsamples = comedi_bytes_to_samples(s, desc->maxsize);
desc              432 drivers/staging/comedi/drivers/dt282x.c 	nbytes = comedi_buf_read_samples(s, desc->virt_addr, nsamples);
desc              446 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              451 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_disable(desc->chan);
desc              464 drivers/staging/comedi/drivers/dt282x.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              465 drivers/staging/comedi/drivers/dt282x.c 	unsigned int nsamples = comedi_bytes_to_samples(s, desc->size);
desc              471 drivers/staging/comedi/drivers/dt282x.c 	comedi_isadma_disable(desc->chan);
desc              473 drivers/staging/comedi/drivers/dt282x.c 	dt282x_munge(dev, s, desc->virt_addr, desc->size);
desc              474 drivers/staging/comedi/drivers/dt282x.c 	ret = comedi_buf_write_samples(s, desc->virt_addr, nsamples);
desc              475 drivers/staging/comedi/drivers/dt282x.c 	if (ret != desc->size)
desc              637 drivers/staging/comedi/drivers/dt9812.c 	if (host->desc.bNumEndpoints != 5) {
desc              642 drivers/staging/comedi/drivers/dt9812.c 	for (i = 0; i < host->desc.bNumEndpoints; ++i) {
desc              645 drivers/staging/comedi/drivers/dt9812.c 		ep = &host->endpoint[i].desc;
desc              148 drivers/staging/comedi/drivers/gsc_hpdi.c 	unsigned int desc;
desc              157 drivers/staging/comedi/drivers/gsc_hpdi.c 	for (desc = 0; (next < start || next >= start + devpriv->block_size) &&
desc              158 drivers/staging/comedi/drivers/gsc_hpdi.c 	     desc < devpriv->num_dma_descriptors; desc++) {
desc              655 drivers/staging/comedi/drivers/mite.c 	struct mite_dma_desc *desc = NULL;
desc              671 drivers/staging/comedi/drivers/mite.c 		desc = &ring->descs[i];
desc              672 drivers/staging/comedi/drivers/mite.c 		desc->count = cpu_to_le32(PAGE_SIZE);
desc              673 drivers/staging/comedi/drivers/mite.c 		desc->addr = cpu_to_le32(async->buf_map->page_list[i].dma_addr);
desc              674 drivers/staging/comedi/drivers/mite.c 		desc->next = cpu_to_le32(ring->dma_addr +
desc              675 drivers/staging/comedi/drivers/mite.c 					 (i + 1) * sizeof(*desc));
desc              680 drivers/staging/comedi/drivers/mite.c 		desc = &ring->descs[i];
desc              682 drivers/staging/comedi/drivers/mite.c 		desc->count = cpu_to_le32(remainder);
desc              683 drivers/staging/comedi/drivers/mite.c 		desc->addr = cpu_to_le32(async->buf_map->page_list[i].dma_addr);
desc              687 drivers/staging/comedi/drivers/mite.c 	desc->next = cpu_to_le32(ring->dma_addr);
desc              137 drivers/staging/comedi/drivers/ni_at_a2150.c 	struct comedi_isadma_desc *desc = &dma->desc[0];
desc              141 drivers/staging/comedi/drivers/ni_at_a2150.c 	unsigned short *buf = desc->virt_addr;
desc              170 drivers/staging/comedi/drivers/ni_at_a2150.c 	residue = comedi_isadma_disable(desc->chan);
desc              173 drivers/staging/comedi/drivers/ni_at_a2150.c 	max_points = comedi_bytes_to_samples(s, desc->size);
desc              181 drivers/staging/comedi/drivers/ni_at_a2150.c 		leftover = comedi_bytes_to_samples(s, desc->size);
desc              210 drivers/staging/comedi/drivers/ni_at_a2150.c 		desc->size = comedi_samples_to_bytes(s, leftover);
desc              211 drivers/staging/comedi/drivers/ni_at_a2150.c 		comedi_isadma_program(desc);
desc              226 drivers/staging/comedi/drivers/ni_at_a2150.c 	struct comedi_isadma_desc *desc = &dma->desc[0];
desc              233 drivers/staging/comedi/drivers/ni_at_a2150.c 	comedi_isadma_disable(desc->chan);
desc              468 drivers/staging/comedi/drivers/ni_at_a2150.c 	struct comedi_isadma_desc *desc = &dma->desc[0];
desc              506 drivers/staging/comedi/drivers/ni_at_a2150.c 	comedi_isadma_disable(desc->chan);
desc              510 drivers/staging/comedi/drivers/ni_at_a2150.c 	desc->size = comedi_bytes_per_sample(s) * cmd->chanlist_len *
desc              512 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (desc->size > desc->maxsize)
desc              513 drivers/staging/comedi/drivers/ni_at_a2150.c 		desc->size = desc->maxsize;
desc              514 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (desc->size < comedi_bytes_per_sample(s))
desc              515 drivers/staging/comedi/drivers/ni_at_a2150.c 		desc->size = comedi_bytes_per_sample(s);
desc              516 drivers/staging/comedi/drivers/ni_at_a2150.c 	desc->size -= desc->size % comedi_bytes_per_sample(s);
desc              518 drivers/staging/comedi/drivers/ni_at_a2150.c 	comedi_isadma_program(desc);
desc               55 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	struct comedi_isadma_desc *desc = &devpriv->dma->desc[0];
desc               60 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	desc->size = labpc_suggest_transfer_size(dev, s, desc->maxsize);
desc               62 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	    devpriv->count * sample_size < desc->size)
desc               63 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		desc->size = devpriv->count * sample_size;
desc               65 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	comedi_isadma_program(desc);
desc               75 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	struct comedi_isadma_desc *desc = &devpriv->dma->desc[0];
desc               79 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	unsigned int max_samples = comedi_bytes_to_samples(s, desc->size);
desc               89 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	residue = comedi_isadma_disable(desc->chan);
desc              109 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	desc->size = comedi_samples_to_bytes(s, leftover);
desc              111 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	comedi_buf_write_samples(s, desc->virt_addr, nsamples);
desc              118 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	struct comedi_isadma_desc *desc = &devpriv->dma->desc[0];
desc              122 drivers/staging/comedi/drivers/ni_labpc_isadma.c 	if (desc->size)
desc              123 drivers/staging/comedi/drivers/ni_labpc_isadma.c 		comedi_isadma_program(desc);
desc              480 drivers/staging/comedi/drivers/ni_usb6501.c 	if (iface_desc->desc.bNumEndpoints != 2) {
desc              485 drivers/staging/comedi/drivers/ni_usb6501.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc              486 drivers/staging/comedi/drivers/ni_usb6501.c 		ep_desc = &iface_desc->endpoint[i].desc;
desc              531 drivers/staging/comedi/drivers/pcl812.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              539 drivers/staging/comedi/drivers/pcl812.c 	bytes = devpriv->ai_eos ? comedi_bytes_per_scan(s) : desc->maxsize;
desc              549 drivers/staging/comedi/drivers/pcl812.c 		desc->size = comedi_samples_to_bytes(s, nsamples);
desc              550 drivers/staging/comedi/drivers/pcl812.c 		comedi_isadma_program(desc);
desc              820 drivers/staging/comedi/drivers/pcl812.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              824 drivers/staging/comedi/drivers/pcl812.c 	nsamples = comedi_bytes_to_samples(s, desc->size) -
desc              833 drivers/staging/comedi/drivers/pcl812.c 	transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples);
desc              862 drivers/staging/comedi/drivers/pcl812.c 	struct comedi_isadma_desc *desc;
desc              876 drivers/staging/comedi/drivers/pcl812.c 		desc = &dma->desc[dma->cur_dma];
desc              877 drivers/staging/comedi/drivers/pcl812.c 		transfer_from_dma_buf(dev, s, desc->virt_addr,
desc              118 drivers/staging/comedi/drivers/pcl816.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              119 drivers/staging/comedi/drivers/pcl816.c 	unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize);
desc              131 drivers/staging/comedi/drivers/pcl816.c 		desc->size = comedi_samples_to_bytes(s, nsamples);
desc              132 drivers/staging/comedi/drivers/pcl816.c 		comedi_isadma_program(desc);
desc              247 drivers/staging/comedi/drivers/pcl816.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              262 drivers/staging/comedi/drivers/pcl816.c 	nsamples = comedi_bytes_to_samples(s, desc->size) -
desc              271 drivers/staging/comedi/drivers/pcl816.c 	transfer_from_dma_buf(dev, s, desc->virt_addr, bufptr, nsamples);
desc              454 drivers/staging/comedi/drivers/pcl816.c 	struct comedi_isadma_desc *desc;
desc              464 drivers/staging/comedi/drivers/pcl816.c 		desc = &dma->desc[dma->cur_dma];
desc              465 drivers/staging/comedi/drivers/pcl816.c 		transfer_from_dma_buf(dev, s, desc->virt_addr,
desc              307 drivers/staging/comedi/drivers/pcl818.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              308 drivers/staging/comedi/drivers/pcl818.c 	unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize);
desc              320 drivers/staging/comedi/drivers/pcl818.c 		desc->size = comedi_samples_to_bytes(s, nsamples);
desc              321 drivers/staging/comedi/drivers/pcl818.c 		comedi_isadma_program(desc);
desc              479 drivers/staging/comedi/drivers/pcl818.c 	struct comedi_isadma_desc *desc = &dma->desc[dma->cur_dma];
desc              480 drivers/staging/comedi/drivers/pcl818.c 	unsigned short *ptr = desc->virt_addr;
desc              481 drivers/staging/comedi/drivers/pcl818.c 	unsigned int nsamples = comedi_bytes_to_samples(s, desc->size);
desc             1588 drivers/staging/comedi/drivers/usbdux.c 	ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber,
desc              939 drivers/staging/comedi/drivers/usbduxfast.c 				intf->altsetting->desc.bInterfaceNumber, 1);
desc             1475 drivers/staging/comedi/drivers/usbduxsigma.c 	ret = usb_set_interface(usb, intf->altsetting->desc.bInterfaceNumber,
desc              646 drivers/staging/comedi/drivers/vmk80xx.c 	if (iface_desc->desc.bNumEndpoints != 2)
desc              649 drivers/staging/comedi/drivers/vmk80xx.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; i++) {
desc              650 drivers/staging/comedi/drivers/vmk80xx.c 		ep_desc = &iface_desc->endpoint[i].desc;
desc             2417 drivers/staging/emxx_udc/emxx_udc.c 			    const struct usb_endpoint_descriptor *desc)
desc             2425 drivers/staging/emxx_udc/emxx_udc.c 	if (!_ep || !desc) {
desc             2436 drivers/staging/emxx_udc/emxx_udc.c 	ep_type = usb_endpoint_type(desc);
desc             2454 drivers/staging/emxx_udc/emxx_udc.c 	ep->desc = desc;
desc             2455 drivers/staging/emxx_udc/emxx_udc.c 	ep->epnum = usb_endpoint_num(desc);
desc             2456 drivers/staging/emxx_udc/emxx_udc.c 	ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK;
desc             2462 drivers/staging/emxx_udc/emxx_udc.c 	ep->ep.maxpacket = le16_to_cpu(desc->wMaxPacketSize);
desc             3022 drivers/staging/emxx_udc/emxx_udc.c 		ep->desc = NULL;
desc              540 drivers/staging/emxx_udc/emxx_udc.h 	const struct usb_endpoint_descriptor *desc;
desc              518 drivers/staging/gasket/gasket_core.h int gasket_register_device(const struct gasket_driver_desc *desc);
desc              527 drivers/staging/gasket/gasket_core.h void gasket_unregister_device(const struct gasket_driver_desc *desc);
desc              504 drivers/staging/gdm724x/gdm_mux.c 	bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber;
desc              809 drivers/staging/gdm724x/gdm_usb.c 	bInterfaceNumber = intf->cur_altsetting->desc.bInterfaceNumber;
desc               41 drivers/staging/greybus/audio_manager.c int gb_audio_manager_add(struct gb_audio_manager_module_descriptor *desc)
desc               52 drivers/staging/greybus/audio_manager.c 					     id, desc);
desc               31 drivers/staging/greybus/audio_manager.h 	struct gb_audio_manager_module_descriptor desc;
desc               41 drivers/staging/greybus/audio_manager.h int gb_audio_manager_add(struct gb_audio_manager_module_descriptor *desc);
desc               77 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "%s", module->desc.name);
desc               87 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "%d", module->desc.vid);
desc               97 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "%d", module->desc.pid);
desc              107 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "%d", module->desc.intf_id);
desc              118 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "0x%X", module->desc.ip_devices);
desc              129 drivers/staging/greybus/audio_manager_module.c 	return sprintf(buf, "0x%X", module->desc.op_devices);
desc              171 drivers/staging/greybus/audio_manager_module.c 	snprintf(name_string, 128, "NAME=%s", module->desc.name);
desc              172 drivers/staging/greybus/audio_manager_module.c 	snprintf(vid_string, 64, "VID=%d", module->desc.vid);
desc              173 drivers/staging/greybus/audio_manager_module.c 	snprintf(pid_string, 64, "PID=%d", module->desc.pid);
desc              174 drivers/staging/greybus/audio_manager_module.c 	snprintf(intf_id_string, 64, "INTF_ID=%d", module->desc.intf_id);
desc              176 drivers/staging/greybus/audio_manager_module.c 		 module->desc.ip_devices);
desc              178 drivers/staging/greybus/audio_manager_module.c 		 module->desc.op_devices);
desc              186 drivers/staging/greybus/audio_manager_module.c 	int id, struct gb_audio_manager_module_descriptor *desc)
desc              202 drivers/staging/greybus/audio_manager_module.c 	memcpy(&m->desc, desc, sizeof(*desc));
desc              236 drivers/staging/greybus/audio_manager_module.c 		module->desc.name,
desc              237 drivers/staging/greybus/audio_manager_module.c 		module->desc.vid,
desc              238 drivers/staging/greybus/audio_manager_module.c 		module->desc.pid,
desc              239 drivers/staging/greybus/audio_manager_module.c 		module->desc.intf_id,
desc              240 drivers/staging/greybus/audio_manager_module.c 		module->desc.ip_devices,
desc              241 drivers/staging/greybus/audio_manager_module.c 		module->desc.op_devices);
desc               18 drivers/staging/greybus/audio_manager_private.h 	int id, struct gb_audio_manager_module_descriptor *desc);
desc               18 drivers/staging/greybus/audio_manager_sysfs.c 	struct gb_audio_manager_module_descriptor desc = { {0} };
desc               23 drivers/staging/greybus/audio_manager_sysfs.c 			desc.name, &desc.vid, &desc.pid, &desc.intf_id,
desc               24 drivers/staging/greybus/audio_manager_sysfs.c 			&desc.ip_devices, &desc.op_devices);
desc               29 drivers/staging/greybus/audio_manager_sysfs.c 	num = gb_audio_manager_add(&desc);
desc              239 drivers/staging/greybus/audio_module.c 	struct gb_audio_manager_module_descriptor desc;
desc              344 drivers/staging/greybus/audio_module.c 	strlcpy(desc.name, gbmodule->name, GB_AUDIO_MANAGER_MODULE_NAME_LEN);
desc              345 drivers/staging/greybus/audio_module.c 	desc.vid = 2; /* todo */
desc              346 drivers/staging/greybus/audio_module.c 	desc.pid = 3; /* todo */
desc              347 drivers/staging/greybus/audio_module.c 	desc.intf_id = gbmodule->dev_id;
desc              348 drivers/staging/greybus/audio_module.c 	desc.op_devices = gbmodule->op_devices;
desc              349 drivers/staging/greybus/audio_module.c 	desc.ip_devices = gbmodule->ip_devices;
desc              350 drivers/staging/greybus/audio_module.c 	gbmodule->manager_id = gb_audio_manager_add(&desc);
desc             1253 drivers/staging/greybus/camera.c 		struct greybus_descriptor_cport *desc = &bundle->cport_desc[i];
desc             1255 drivers/staging/greybus/camera.c 		switch (desc->protocol_id) {
desc             1257 drivers/staging/greybus/camera.c 			mgmt_cport_id = le16_to_cpu(desc->id);
desc             1260 drivers/staging/greybus/camera.c 			data_cport_id = le16_to_cpu(desc->id);
desc              368 drivers/staging/greybus/gpio.c 	struct irq_desc *desc;
desc              394 drivers/staging/greybus/gpio.c 	desc = irq_to_desc(irq);
desc              395 drivers/staging/greybus/gpio.c 	if (!desc) {
desc              401 drivers/staging/greybus/gpio.c 	generic_handle_irq_desc(desc);
desc               29 drivers/staging/greybus/power_supply.c 	struct power_supply_desc	desc;
desc              824 drivers/staging/greybus/power_supply.c 	gbpsy->desc.name		= gbpsy->name;
desc              825 drivers/staging/greybus/power_supply.c 	gbpsy->desc.type		= gbpsy->type;
desc              826 drivers/staging/greybus/power_supply.c 	gbpsy->desc.properties		= gbpsy->props_raw;
desc              827 drivers/staging/greybus/power_supply.c 	gbpsy->desc.num_properties	= total_props(gbpsy);
desc              828 drivers/staging/greybus/power_supply.c 	gbpsy->desc.get_property	= get_property;
desc              829 drivers/staging/greybus/power_supply.c 	gbpsy->desc.set_property	= set_property;
desc              830 drivers/staging/greybus/power_supply.c 	gbpsy->desc.property_is_writeable = property_is_writeable;
desc              833 drivers/staging/greybus/power_supply.c 					   &gbpsy->desc, &cfg);
desc             2290 drivers/staging/isdn/gigaset/bas-gigaset.c 	if (hostif->desc.bAlternateSetting != 3) {
desc             2293 drivers/staging/isdn/gigaset/bas-gigaset.c 			__func__, hostif->desc.bAlternateSetting);
desc             2294 drivers/staging/isdn/gigaset/bas-gigaset.c 		if (usb_set_interface(udev, hostif->desc.bInterfaceNumber, 3)
desc             2298 drivers/staging/isdn/gigaset/bas-gigaset.c 				 udev->devnum, hostif->desc.bInterfaceNumber,
desc             2299 drivers/staging/isdn/gigaset/bas-gigaset.c 				 hostif->desc.bAlternateSetting);
desc             2307 drivers/staging/isdn/gigaset/bas-gigaset.c 	if (hostif->desc.bInterfaceClass != 255) {
desc             2309 drivers/staging/isdn/gigaset/bas-gigaset.c 			 __func__, hostif->desc.bInterfaceClass);
desc             2313 drivers/staging/isdn/gigaset/bas-gigaset.c 	if (hostif->desc.bNumEndpoints < 1)
desc             2361 drivers/staging/isdn/gigaset/bas-gigaset.c 	endpoint = &hostif->endpoint[0].desc;
desc              668 drivers/staging/isdn/gigaset/usb-gigaset.c 	if (hostif->desc.bInterfaceNumber != 0) {
desc              670 drivers/staging/isdn/gigaset/usb-gigaset.c 			hostif->desc.bInterfaceNumber);
desc              673 drivers/staging/isdn/gigaset/usb-gigaset.c 	if (hostif->desc.bAlternateSetting != 0) {
desc              675 drivers/staging/isdn/gigaset/usb-gigaset.c 			   hostif->desc.bAlternateSetting);
desc              678 drivers/staging/isdn/gigaset/usb-gigaset.c 	if (hostif->desc.bInterfaceClass != 255) {
desc              680 drivers/staging/isdn/gigaset/usb-gigaset.c 			   hostif->desc.bInterfaceClass);
desc              684 drivers/staging/isdn/gigaset/usb-gigaset.c 	if (hostif->desc.bNumEndpoints < 2) {
desc              706 drivers/staging/isdn/gigaset/usb-gigaset.c 	endpoint = &hostif->endpoint[0].desc;
desc              731 drivers/staging/isdn/gigaset/usb-gigaset.c 	endpoint = &hostif->endpoint[1].desc;
desc              246 drivers/staging/kpc2000/kpc_dma/dma.c void  clear_desc(struct kpc_dma_descriptor *desc)
desc              248 drivers/staging/kpc2000/kpc_dma/dma.c 	if (!desc)
desc              250 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescByteCount         = 0;
desc              251 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescStatusErrorFlags  = 0;
desc              252 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescStatusFlags       = 0;
desc              253 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescUserControlLS     = 0;
desc              254 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescUserControlMS     = 0;
desc              255 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescCardAddrLS        = 0;
desc              256 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescBufferByteCount   = 0;
desc              257 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescCardAddrMS        = 0;
desc              258 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescControlFlags      = 0;
desc              259 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescSystemAddrLS      = 0;
desc              260 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->DescSystemAddrMS      = 0;
desc              261 drivers/staging/kpc2000/kpc_dma/dma.c 	desc->acd = NULL;
desc               45 drivers/staging/kpc2000/kpc_dma/fileops.c 	struct kpc_dma_descriptor *desc;
desc              123 drivers/staging/kpc2000/kpc_dma/fileops.c 	desc = ldev->desc_next;
desc              129 drivers/staging/kpc2000/kpc_dma/fileops.c 			BUG_ON(desc == NULL);
desc              130 drivers/staging/kpc2000/kpc_dma/fileops.c 			clear_desc(desc);
desc              132 drivers/staging/kpc2000/kpc_dma/fileops.c 				desc->DescByteCount = 0x80000;
desc              134 drivers/staging/kpc2000/kpc_dma/fileops.c 				desc->DescByteCount = sg_dma_len(sg) - (p * 0x80000);
desc              136 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescBufferByteCount = desc->DescByteCount;
desc              138 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescControlFlags |= DMA_DESC_CTL_IRQONERR;
desc              140 drivers/staging/kpc2000/kpc_dma/fileops.c 				desc->DescControlFlags |= DMA_DESC_CTL_SOP;
desc              142 drivers/staging/kpc2000/kpc_dma/fileops.c 				desc->DescControlFlags |= DMA_DESC_CTL_EOP | DMA_DESC_CTL_IRQONDONE;
desc              144 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescCardAddrLS = (card_addr & 0xFFFFFFFF);
desc              145 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescCardAddrMS = (card_addr >> 32) & 0xF;
desc              146 drivers/staging/kpc2000/kpc_dma/fileops.c 			card_addr += desc->DescByteCount;
desc              149 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescSystemAddrLS = (dma_addr & 0x00000000FFFFFFFFUL) >>  0;
desc              150 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescSystemAddrMS = (dma_addr & 0xFFFFFFFF00000000UL) >> 32;
desc              156 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescUserControlLS = (user_ctl & 0x00000000FFFFFFFFUL) >>  0;
desc              157 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc->DescUserControlMS = (user_ctl & 0xFFFFFFFF00000000UL) >> 32;
desc              160 drivers/staging/kpc2000/kpc_dma/fileops.c 				desc->acd = acd;
desc              162 drivers/staging/kpc2000/kpc_dma/fileops.c 			dev_dbg(&priv->ldev->pldev->dev, "  Filled descriptor %p (acd = %p)\n", desc, desc->acd);
desc              164 drivers/staging/kpc2000/kpc_dma/fileops.c 			ldev->desc_next = desc->Next;
desc              165 drivers/staging/kpc2000/kpc_dma/fileops.c 			desc = desc->Next;
desc              175 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h void  SetEngineNextPtr(struct kpc_dma_device *eng, struct kpc_dma_descriptor *desc)
desc              177 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h 	writel(desc->MyDMAAddr, eng->eng_regs + 2);
desc              181 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h void  SetEngineSWPtr(struct kpc_dma_device *eng, struct kpc_dma_descriptor *desc)
desc              183 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h 	writel(desc->MyDMAAddr, eng->eng_regs + 3);
desc              217 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h void  clear_desc(struct kpc_dma_descriptor *desc);
desc              202 drivers/staging/ks7010/ks_hostif.c 	struct shash_desc *desc = NULL;
desc              215 drivers/staging/ks7010/ks_hostif.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
desc              216 drivers/staging/ks7010/ks_hostif.c 	if (!desc) {
desc              221 drivers/staging/ks7010/ks_hostif.c 	desc->tfm = tfm;
desc              223 drivers/staging/ks7010/ks_hostif.c 	ret = crypto_shash_init(desc);
desc              238 drivers/staging/ks7010/ks_hostif.c 	ret = crypto_shash_update(desc, data, 12);
desc              242 drivers/staging/ks7010/ks_hostif.c 	ret = crypto_shash_update(desc, pad_data, 4);
desc              246 drivers/staging/ks7010/ks_hostif.c 	ret = crypto_shash_finup(desc, data + 12, len - 12, result);
desc              249 drivers/staging/ks7010/ks_hostif.c 	kzfree(desc);
desc             1054 drivers/staging/most/usb/usb.c 	num_endpoints = usb_iface_desc->desc.bNumEndpoints;
desc             1078 drivers/staging/most/usb/usb.c 		 usb_dev->config->desc.bConfigurationValue,
desc             1079 drivers/staging/most/usb/usb.c 		 usb_iface_desc->desc.bInterfaceNumber);
desc             1102 drivers/staging/most/usb/usb.c 		ep_desc = &usb_iface_desc->endpoint[i].desc;
desc             1134 drivers/staging/most/usb/usb.c 		   usb_dev->config->desc.bConfigurationValue,
desc             1135 drivers/staging/most/usb/usb.c 		   usb_iface_desc->desc.bInterfaceNumber);
desc              151 drivers/staging/mt7621-dma/mtk-hsdma.c 	struct mtk_hsdma_desc *desc;
desc              292 drivers/staging/mt7621-dma/mtk-hsdma.c 	chan->desc = NULL;
desc              325 drivers/staging/mt7621-dma/mtk-hsdma.c 	sg = &chan->desc->sg[0];
desc              327 drivers/staging/mt7621-dma/mtk-hsdma.c 	chan->desc->num_sgs = DIV_ROUND_UP(len, HSDMA_MAX_PLEN);
desc              331 drivers/staging/mt7621-dma/mtk-hsdma.c 	for (i = 0; i < chan->desc->num_sgs; i++) {
desc              362 drivers/staging/mt7621-dma/mtk-hsdma.c 	for (i = 0; i < chan->desc->num_sgs; i++) {
desc              392 drivers/staging/mt7621-dma/mtk-hsdma.c 		chan->desc = NULL;
desc              395 drivers/staging/mt7621-dma/mtk-hsdma.c 	chan->desc = to_mtk_hsdma_desc(vdesc);
desc              404 drivers/staging/mt7621-dma/mtk-hsdma.c 	struct mtk_hsdma_desc *desc;
desc              409 drivers/staging/mt7621-dma/mtk-hsdma.c 	desc = chan->desc;
desc              410 drivers/staging/mt7621-dma/mtk-hsdma.c 	if (likely(desc)) {
desc              411 drivers/staging/mt7621-dma/mtk-hsdma.c 		if (chan->next_sg == desc->num_sgs) {
desc              412 drivers/staging/mt7621-dma/mtk-hsdma.c 			list_del(&desc->vdesc.node);
desc              413 drivers/staging/mt7621-dma/mtk-hsdma.c 			vchan_cookie_complete(&desc->vdesc);
desc              450 drivers/staging/mt7621-dma/mtk-hsdma.c 	if (vchan_issue_pending(&chan->vchan) && !chan->desc) {
desc              466 drivers/staging/mt7621-dma/mtk-hsdma.c 	struct mtk_hsdma_desc *desc;
desc              471 drivers/staging/mt7621-dma/mtk-hsdma.c 	desc = kzalloc(sizeof(*desc), GFP_ATOMIC);
desc              472 drivers/staging/mt7621-dma/mtk-hsdma.c 	if (!desc) {
desc              477 drivers/staging/mt7621-dma/mtk-hsdma.c 	desc->sg[0].src_addr = src;
desc              478 drivers/staging/mt7621-dma/mtk-hsdma.c 	desc->sg[0].dst_addr = dest;
desc              479 drivers/staging/mt7621-dma/mtk-hsdma.c 	desc->sg[0].len = len;
desc              481 drivers/staging/mt7621-dma/mtk-hsdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              507 drivers/staging/mt7621-dma/mtk-hsdma.c 		if (chan->desc)
desc               33 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c 	struct pinctrl_desc *desc;
desc              311 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c 	p->desc->pins = p->pads;
desc              312 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c 	p->desc->npins = p->max_pins;
desc              332 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c 	p->desc = &rt2880_pctrl_desc;
desc              345 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c 	dev = pinctrl_register(p->desc, &pdev->dev, p);
desc             3151 drivers/staging/octeon-usb/octeon-hcd.c 					  le16_to_cpu(ep->desc.wMaxPacketSize)
desc             3158 drivers/staging/octeon-usb/octeon-hcd.c 					  (le16_to_cpu(ep->desc.wMaxPacketSize)
desc             3308 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hub_descriptor *desc;
desc             3397 drivers/staging/octeon-usb/octeon-hcd.c 		desc = (struct usb_hub_descriptor *)buf;
desc             3398 drivers/staging/octeon-usb/octeon-hcd.c 		desc->bDescLength = 9;
desc             3399 drivers/staging/octeon-usb/octeon-hcd.c 		desc->bDescriptorType = 0x29;
desc             3400 drivers/staging/octeon-usb/octeon-hcd.c 		desc->bNbrPorts = 1;
desc             3401 drivers/staging/octeon-usb/octeon-hcd.c 		desc->wHubCharacteristics = cpu_to_le16(0x08);
desc             3402 drivers/staging/octeon-usb/octeon-hcd.c 		desc->bPwrOn2PwrGood = 1;
desc             3403 drivers/staging/octeon-usb/octeon-hcd.c 		desc->bHubContrCurrent = 0;
desc             3404 drivers/staging/octeon-usb/octeon-hcd.c 		desc->u.hs.DeviceRemovable[0] = 0;
desc             3405 drivers/staging/octeon-usb/octeon-hcd.c 		desc->u.hs.DeviceRemovable[1] = 0xff;
desc              703 drivers/staging/qlge/qlge_dbg.c 		u32 seg_number, u32 seg_size, u8 *desc)
desc              709 drivers/staging/qlge/qlge_dbg.c 	strncpy(seg_hdr->description, desc, (sizeof(seg_hdr->description)) - 1);
desc              115 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              229 drivers/staging/ralink-gdma/ralink-gdma.c 	chan->desc = NULL;
desc              286 drivers/staging/ralink-gdma/ralink-gdma.c 	sg = &chan->desc->sg[chan->next_sg];
desc              287 drivers/staging/ralink-gdma/ralink-gdma.c 	if (chan->desc->direction == DMA_MEM_TO_DEV) {
desc              293 drivers/staging/ralink-gdma/ralink-gdma.c 	} else if (chan->desc->direction == DMA_DEV_TO_MEM) {
desc              299 drivers/staging/ralink-gdma/ralink-gdma.c 	} else if (chan->desc->direction == DMA_MEM_TO_MEM) {
desc              311 drivers/staging/ralink-gdma/ralink-gdma.c 			chan->desc->direction);
desc              363 drivers/staging/ralink-gdma/ralink-gdma.c 	sg = &chan->desc->sg[chan->next_sg];
desc              364 drivers/staging/ralink-gdma/ralink-gdma.c 	if (chan->desc->direction == DMA_MEM_TO_DEV) {
desc              370 drivers/staging/ralink-gdma/ralink-gdma.c 	} else if (chan->desc->direction == DMA_DEV_TO_MEM) {
desc              377 drivers/staging/ralink-gdma/ralink-gdma.c 	} else if (chan->desc->direction == DMA_MEM_TO_MEM) {
desc              386 drivers/staging/ralink-gdma/ralink-gdma.c 			chan->desc->direction);
desc              419 drivers/staging/ralink-gdma/ralink-gdma.c 		chan->desc = NULL;
desc              422 drivers/staging/ralink-gdma/ralink-gdma.c 	chan->desc = to_gdma_dma_desc(vdesc);
desc              431 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              437 drivers/staging/ralink-gdma/ralink-gdma.c 	desc = chan->desc;
desc              438 drivers/staging/ralink-gdma/ralink-gdma.c 	if (desc) {
desc              439 drivers/staging/ralink-gdma/ralink-gdma.c 		if (desc->cyclic) {
desc              440 drivers/staging/ralink-gdma/ralink-gdma.c 			vchan_cyclic_callback(&desc->vdesc);
desc              441 drivers/staging/ralink-gdma/ralink-gdma.c 			if (chan->next_sg == desc->num_sgs)
desc              445 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->residue -= desc->sg[chan->next_sg - 1].len;
desc              446 drivers/staging/ralink-gdma/ralink-gdma.c 			if (chan->next_sg == desc->num_sgs) {
desc              447 drivers/staging/ralink-gdma/ralink-gdma.c 				list_del(&desc->vdesc.node);
desc              448 drivers/staging/ralink-gdma/ralink-gdma.c 				vchan_cookie_complete(&desc->vdesc);
desc              501 drivers/staging/ralink-gdma/ralink-gdma.c 	if (vchan_issue_pending(&chan->vchan) && !chan->desc) {
desc              519 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              523 drivers/staging/ralink-gdma/ralink-gdma.c 	desc = kzalloc(struct_size(desc, sg, sg_len), GFP_ATOMIC);
desc              524 drivers/staging/ralink-gdma/ralink-gdma.c 	if (!desc) {
desc              528 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->residue = 0;
desc              532 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].src_addr = sg_dma_address(sg);
desc              534 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].dst_addr = sg_dma_address(sg);
desc              546 drivers/staging/ralink-gdma/ralink-gdma.c 		desc->sg[i].len = sg_dma_len(sg);
desc              547 drivers/staging/ralink-gdma/ralink-gdma.c 		desc->residue += sg_dma_len(sg);
desc              550 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->num_sgs = sg_len;
desc              551 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->direction = direction;
desc              552 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->cyclic = false;
desc              554 drivers/staging/ralink-gdma/ralink-gdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              557 drivers/staging/ralink-gdma/ralink-gdma.c 	kfree(desc);
desc              566 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              578 drivers/staging/ralink-gdma/ralink-gdma.c 	desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC);
desc              579 drivers/staging/ralink-gdma/ralink-gdma.c 	if (!desc) {
desc              583 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->residue = len;
desc              586 drivers/staging/ralink-gdma/ralink-gdma.c 		desc->sg[i].src_addr = src;
desc              587 drivers/staging/ralink-gdma/ralink-gdma.c 		desc->sg[i].dst_addr = dest;
desc              589 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].len = xfer_count;
desc              591 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].len = len;
desc              592 drivers/staging/ralink-gdma/ralink-gdma.c 		src += desc->sg[i].len;
desc              593 drivers/staging/ralink-gdma/ralink-gdma.c 		dest += desc->sg[i].len;
desc              594 drivers/staging/ralink-gdma/ralink-gdma.c 		len -= desc->sg[i].len;
desc              597 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->num_sgs = num_periods;
desc              598 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->direction = DMA_MEM_TO_MEM;
desc              599 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->cyclic = false;
desc              601 drivers/staging/ralink-gdma/ralink-gdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              610 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              623 drivers/staging/ralink-gdma/ralink-gdma.c 	desc = kzalloc(struct_size(desc, sg, num_periods), GFP_ATOMIC);
desc              624 drivers/staging/ralink-gdma/ralink-gdma.c 	if (!desc) {
desc              628 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->residue = buf_len;
desc              632 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].src_addr = buf_addr;
desc              634 drivers/staging/ralink-gdma/ralink-gdma.c 			desc->sg[i].dst_addr = buf_addr;
desc              640 drivers/staging/ralink-gdma/ralink-gdma.c 		desc->sg[i].len = period_len;
desc              644 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->num_sgs = num_periods;
desc              645 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->direction = direction;
desc              646 drivers/staging/ralink-gdma/ralink-gdma.c 	desc->cyclic = true;
desc              648 drivers/staging/ralink-gdma/ralink-gdma.c 	return vchan_tx_prep(&chan->vchan, &desc->vdesc, flags);
desc              651 drivers/staging/ralink-gdma/ralink-gdma.c 	kfree(desc);
desc              663 drivers/staging/ralink-gdma/ralink-gdma.c 	struct gdma_dma_desc *desc;
desc              670 drivers/staging/ralink-gdma/ralink-gdma.c 	desc = chan->desc;
desc              671 drivers/staging/ralink-gdma/ralink-gdma.c 	if (desc && (cookie == desc->vdesc.tx.cookie)) {
desc              677 drivers/staging/ralink-gdma/ralink-gdma.c 		if (desc->cyclic)
desc              678 drivers/staging/ralink-gdma/ralink-gdma.c 			state->residue = desc->residue -
desc              679 drivers/staging/ralink-gdma/ralink-gdma.c 				((chan->next_sg - 1) * desc->sg[0].len);
desc              681 drivers/staging/ralink-gdma/ralink-gdma.c 			state->residue = desc->residue;
desc              728 drivers/staging/ralink-gdma/ralink-gdma.c 			if (chan->desc) {
desc              204 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c 				      u8 *desc, u8 mac_id)
desc              210 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c 		SET_TX_DESC_ANTSEL_A_88E(desc, dm_fat_tbl->antsel_a[mac_id]);
desc              211 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c 		SET_TX_DESC_ANTSEL_B_88E(desc, dm_fat_tbl->antsel_b[mac_id]);
desc              212 drivers/staging/rtl8188eu/hal/odm_rtl8188e.c 		SET_TX_DESC_ANTSEL_C_88E(desc, dm_fat_tbl->antsel_c[mac_id]);
desc               51 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c void rtl8188e_fill_fake_txdesc(struct adapter *adapt, u8 *desc, u32 BufferLen, u8  ispspoll, u8  is_btqosnull)
desc               56 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	ptxdesc = (struct tx_desc *)desc;
desc               57 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	memset(desc, 0, TXDESC_SIZE);
desc               23 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void rtl88eu_dm_set_tx_ant_by_tx_info(struct odm_dm_struct *dm_odm, u8 *desc,
desc               74 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	pconf_desc = &phost_conf->desc;
desc               77 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	piface_desc = &phost_iface->desc;
desc               85 drivers/staging/rtl8188eu/os_dep/usb_intf.c 		pendp_desc = &phost_iface->endpoint[i].desc;
desc              543 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	pdesc = &ring->desc[0];
desc             1583 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 		struct tx_desc *entry = &ring->desc[ring->idx];
desc             1592 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	pci_free_consistent(priv->pdev, sizeof(*ring->desc) * ring->entries,
desc             1593 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	ring->desc, ring->dma);
desc             1594 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	ring->desc = NULL;
desc             1670 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 		struct tx_desc *entry = &ring->desc[ring->idx];
desc             1702 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	entry = (struct tx_desc_cmd *)&ring->desc[idx];
desc             1755 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	pdesc = &ring->desc[idx];
desc             1841 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 	priv->tx_ring[prio].desc = ring;
desc             1876 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 		if (priv->tx_ring[i].desc)
desc             1901 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 		if (priv->tx_ring[i].desc) {
desc             1905 drivers/staging/rtl8192e/rtl8192e/rtl_core.c 				struct tx_desc *entry = &ring->desc[ring->idx];
desc              256 drivers/staging/rtl8192e/rtl8192e/rtl_core.h 	u32 *desc;
desc              262 drivers/staging/rtl8192e/rtl8192e/rtl_core.h 	struct tx_desc *desc;
desc              502 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	SHASH_DESC_ON_STACK(desc, tfm_michael);
desc              505 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	desc->tfm = tfm_michael;
desc              510 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	err = crypto_shash_init(desc);
desc              513 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	err = crypto_shash_update(desc, hdr, 16);
desc              516 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	err = crypto_shash_update(desc, data, data_len);
desc              519 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	err = crypto_shash_final(desc, mic);
desc              522 drivers/staging/rtl8192e/rtllib_crypt_tkip.c 	shash_desc_zero(desc);
desc              498 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	SHASH_DESC_ON_STACK(desc, tfm_michael);
desc              501 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	desc->tfm = tfm_michael;
desc              506 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	err = crypto_shash_init(desc);
desc              509 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	err = crypto_shash_update(desc, hdr, 16);
desc              512 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	err = crypto_shash_update(desc, data, data_len);
desc              515 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	err = crypto_shash_final(desc, mic);
desc              518 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c 	shash_desc_zero(desc);
desc             4512 drivers/staging/rtl8192u/r8192U_core.c 	struct rx_desc_819x_usb *desc = (struct rx_desc_819x_usb *)skb->data;
desc             4514 drivers/staging/rtl8192u/r8192U_core.c 	stats->Length = desc->Length;
desc             4515 drivers/staging/rtl8192u/r8192U_core.c 	stats->RxDrvInfoSize = desc->RxDrvInfoSize;
desc             4517 drivers/staging/rtl8192u/r8192U_core.c 	stats->bICV = desc->ICV;
desc             4518 drivers/staging/rtl8192u/r8192U_core.c 	stats->bCRC = desc->CRC32;
desc             4521 drivers/staging/rtl8192u/r8192U_core.c 	stats->Decrypted = !desc->SWDec;
desc             4688 drivers/staging/rtl8192u/r8192U_core.c 	struct rx_desc_819x_usb *desc = (struct rx_desc_819x_usb *)skb->data;
desc             4692 drivers/staging/rtl8192u/r8192U_core.c 	stats->Length = desc->Length;
desc              251 drivers/staging/rtl8712/usb_intf.c 	piface_desc = &phost_iface->desc;
desc               46 drivers/staging/rtl8723bs/include/rtw_mp.h 	u8 desc[TXDESC_SIZE];
desc              119 drivers/staging/speakup/kobjects.c 	char *desc = NULL;
desc              178 drivers/staging/speakup/kobjects.c 			desc = kmalloc(desc_length + 1, GFP_ATOMIC);
desc              179 drivers/staging/speakup/kobjects.c 			if (!desc) {
desc              184 drivers/staging/speakup/kobjects.c 			outptr = desc;
desc              196 drivers/staging/speakup/kobjects.c 			spk_characters[index] = desc;
desc              589 drivers/staging/uwb/hwa-rc.c 		0, hwarc->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              680 drivers/staging/uwb/hwa-rc.c 	epd = &iface->cur_altsetting->endpoint[0].desc;
desc              749 drivers/staging/uwb/hwa-rc.c 	itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength);
desc              809 drivers/staging/uwb/hwa-rc.c 	if (iface->cur_altsetting->desc.bNumEndpoints < 1)
desc              811 drivers/staging/uwb/hwa-rc.c 	if (!usb_endpoint_xfer_int(&iface->cur_altsetting->endpoint[0].desc))
desc              231 drivers/staging/uwb/i1480/dfu/usb.c 	epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc;
desc              287 drivers/staging/uwb/i1480/dfu/usb.c 	iface_no = i1480_usb->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              288 drivers/staging/uwb/i1480/dfu/usb.c 	epd = &i1480_usb->usb_iface->cur_altsetting->endpoint[0].desc;
desc              337 drivers/staging/uwb/i1480/dfu/usb.c 	if (iface->cur_altsetting->desc.bInterfaceNumber != 0) {
desc              339 drivers/staging/uwb/i1480/dfu/usb.c 			iface->cur_altsetting->desc.bInterfaceNumber);
desc              352 drivers/staging/uwb/i1480/dfu/usb.c 	if (iface->cur_altsetting->desc.bNumEndpoints < 1)
desc              124 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h #define v4l2_dump_pix_format(level, debug, dev, pix_fmt, desc)	\
desc              128 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h 		desc,	\
desc              134 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h #define v4l2_dump_win_format(level, debug, dev, win_fmt, desc)	\
desc              139 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h 		desc,	\
desc              530 drivers/staging/vt6655/device_main.c 	struct vnt_rx_desc *desc;
desc              536 drivers/staging/vt6655/device_main.c 		desc = &priv->aRD0Ring[i];
desc              537 drivers/staging/vt6655/device_main.c 		desc->rd_info = kzalloc(sizeof(*desc->rd_info), GFP_KERNEL);
desc              538 drivers/staging/vt6655/device_main.c 		if (!desc->rd_info) {
desc              543 drivers/staging/vt6655/device_main.c 		if (!device_alloc_rx_buf(priv, desc)) {
desc              549 drivers/staging/vt6655/device_main.c 		desc->next = &priv->aRD0Ring[(i + 1) % priv->opts.rx_descs0];
desc              550 drivers/staging/vt6655/device_main.c 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_rx_desc));
desc              560 drivers/staging/vt6655/device_main.c 	kfree(desc->rd_info);
desc              564 drivers/staging/vt6655/device_main.c 		desc = &priv->aRD0Ring[i];
desc              565 drivers/staging/vt6655/device_main.c 		device_free_rx_buf(priv, desc);
desc              566 drivers/staging/vt6655/device_main.c 		kfree(desc->rd_info);
desc              576 drivers/staging/vt6655/device_main.c 	struct vnt_rx_desc *desc;
desc              582 drivers/staging/vt6655/device_main.c 		desc = &priv->aRD1Ring[i];
desc              583 drivers/staging/vt6655/device_main.c 		desc->rd_info = kzalloc(sizeof(*desc->rd_info), GFP_KERNEL);
desc              584 drivers/staging/vt6655/device_main.c 		if (!desc->rd_info) {
desc              589 drivers/staging/vt6655/device_main.c 		if (!device_alloc_rx_buf(priv, desc)) {
desc              595 drivers/staging/vt6655/device_main.c 		desc->next = &priv->aRD1Ring[(i+1) % priv->opts.rx_descs1];
desc              596 drivers/staging/vt6655/device_main.c 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_rx_desc));
desc              606 drivers/staging/vt6655/device_main.c 	kfree(desc->rd_info);
desc              610 drivers/staging/vt6655/device_main.c 		desc = &priv->aRD1Ring[i];
desc              611 drivers/staging/vt6655/device_main.c 		device_free_rx_buf(priv, desc);
desc              612 drivers/staging/vt6655/device_main.c 		kfree(desc->rd_info);
desc              623 drivers/staging/vt6655/device_main.c 		struct vnt_rx_desc *desc = &priv->aRD0Ring[i];
desc              625 drivers/staging/vt6655/device_main.c 		device_free_rx_buf(priv, desc);
desc              626 drivers/staging/vt6655/device_main.c 		kfree(desc->rd_info);
desc              635 drivers/staging/vt6655/device_main.c 		struct vnt_rx_desc *desc = &priv->aRD1Ring[i];
desc              637 drivers/staging/vt6655/device_main.c 		device_free_rx_buf(priv, desc);
desc              638 drivers/staging/vt6655/device_main.c 		kfree(desc->rd_info);
desc              646 drivers/staging/vt6655/device_main.c 	struct vnt_tx_desc *desc;
desc              652 drivers/staging/vt6655/device_main.c 		desc = &priv->apTD0Rings[i];
desc              653 drivers/staging/vt6655/device_main.c 		desc->td_info = kzalloc(sizeof(*desc->td_info), GFP_KERNEL);
desc              654 drivers/staging/vt6655/device_main.c 		if (!desc->td_info) {
desc              659 drivers/staging/vt6655/device_main.c 		desc->td_info->buf = priv->tx0_bufs + i * PKT_BUF_SZ;
desc              660 drivers/staging/vt6655/device_main.c 		desc->td_info->buf_dma = priv->tx_bufs_dma0 + i * PKT_BUF_SZ;
desc              662 drivers/staging/vt6655/device_main.c 		desc->next = &(priv->apTD0Rings[(i+1) % priv->opts.tx_descs[0]]);
desc              663 drivers/staging/vt6655/device_main.c 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_tx_desc));
desc              674 drivers/staging/vt6655/device_main.c 		desc = &priv->apTD0Rings[i];
desc              675 drivers/staging/vt6655/device_main.c 		kfree(desc->td_info);
desc              685 drivers/staging/vt6655/device_main.c 	struct vnt_tx_desc *desc;
desc              692 drivers/staging/vt6655/device_main.c 		desc = &priv->apTD1Rings[i];
desc              693 drivers/staging/vt6655/device_main.c 		desc->td_info = kzalloc(sizeof(*desc->td_info), GFP_KERNEL);
desc              694 drivers/staging/vt6655/device_main.c 		if (!desc->td_info) {
desc              699 drivers/staging/vt6655/device_main.c 		desc->td_info->buf = priv->tx1_bufs + i * PKT_BUF_SZ;
desc              700 drivers/staging/vt6655/device_main.c 		desc->td_info->buf_dma = priv->tx_bufs_dma1 + i * PKT_BUF_SZ;
desc              702 drivers/staging/vt6655/device_main.c 		desc->next = &(priv->apTD1Rings[(i + 1) % priv->opts.tx_descs[1]]);
desc              703 drivers/staging/vt6655/device_main.c 		desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_tx_desc));
desc              714 drivers/staging/vt6655/device_main.c 		desc = &priv->apTD1Rings[i];
desc              715 drivers/staging/vt6655/device_main.c 		kfree(desc->td_info);
desc              726 drivers/staging/vt6655/device_main.c 		struct vnt_tx_desc *desc = &priv->apTD0Rings[i];
desc              727 drivers/staging/vt6655/device_main.c 		struct vnt_td_info *td_info = desc->td_info;
desc              730 drivers/staging/vt6655/device_main.c 		kfree(desc->td_info);
desc              739 drivers/staging/vt6655/device_main.c 		struct vnt_tx_desc *desc = &priv->apTD1Rings[i];
desc              740 drivers/staging/vt6655/device_main.c 		struct vnt_td_info *td_info = desc->td_info;
desc              743 drivers/staging/vt6655/device_main.c 		kfree(desc->td_info);
desc              895 drivers/staging/vt6655/device_main.c 	struct vnt_tx_desc *desc;
desc              900 drivers/staging/vt6655/device_main.c 	for (desc = priv->apTailTD[idx]; priv->iTDUsed[idx] > 0; desc = desc->next) {
desc              901 drivers/staging/vt6655/device_main.c 		if (desc->td0.owner == OWNED_BY_NIC)
desc              906 drivers/staging/vt6655/device_main.c 		byTsr0 = desc->td0.tsr0;
desc              907 drivers/staging/vt6655/device_main.c 		byTsr1 = desc->td0.tsr1;
desc              910 drivers/staging/vt6655/device_main.c 		if (desc->td1.tcr & TCR_STP) {
desc              911 drivers/staging/vt6655/device_main.c 			if ((desc->td_info->flags & TD_FLAGS_NETIF_SKB) != 0) {
desc              925 drivers/staging/vt6655/device_main.c 				if ((desc->td_info->flags & TD_FLAGS_PRIV_SKB) != 0) {
desc              931 drivers/staging/vt6655/device_main.c 			vnt_int_report_rate(priv, desc->td_info, byTsr0, byTsr1);
desc              933 drivers/staging/vt6655/device_main.c 			device_free_tx_buf(priv, desc);
desc              938 drivers/staging/vt6655/device_main.c 	priv->apTailTD[idx] = desc;
desc              954 drivers/staging/vt6655/device_main.c 			       struct vnt_tx_desc *desc)
desc              956 drivers/staging/vt6655/device_main.c 	struct vnt_td_info *td_info = desc->td_info;
desc              513 drivers/staging/wilc1000/wilc_hif.c 			param->opp_en.cnt = noa_attr.desc[0].count;
desc              514 drivers/staging/wilc1000/wilc_hif.c 			param->opp_en.duration = noa_attr.desc[0].duration;
desc              515 drivers/staging/wilc1000/wilc_hif.c 			param->opp_en.interval = noa_attr.desc[0].interval;
desc              516 drivers/staging/wilc1000/wilc_hif.c 			param->opp_en.start_time = noa_attr.desc[0].start_time;
desc              519 drivers/staging/wilc1000/wilc_hif.c 			param->opp_dis.cnt = noa_attr.desc[0].count;
desc              520 drivers/staging/wilc1000/wilc_hif.c 			param->opp_dis.duration = noa_attr.desc[0].duration;
desc              521 drivers/staging/wilc1000/wilc_hif.c 			param->opp_dis.interval = noa_attr.desc[0].interval;
desc              522 drivers/staging/wilc1000/wilc_hif.c 			param->opp_dis.start_time = noa_attr.desc[0].start_time;
desc              800 drivers/staging/wlan-ng/hfa384x.h 	struct hfa384x_tx_frame desc;
desc              847 drivers/staging/wlan-ng/hfa384x.h 	struct hfa384x_rx_frame desc;
desc             2500 drivers/staging/wlan-ng/hfa384x_usb.c 	memset(&hw->txbuff.txfrm.desc, 0, sizeof(hw->txbuff.txfrm.desc));
desc             2506 drivers/staging/wlan-ng/hfa384x_usb.c 	hw->txbuff.txfrm.desc.sw_support = 0x0123;
desc             2513 drivers/staging/wlan-ng/hfa384x_usb.c 	hw->txbuff.txfrm.desc.tx_control =
desc             2517 drivers/staging/wlan-ng/hfa384x_usb.c 	hw->txbuff.txfrm.desc.tx_control =
desc             2521 drivers/staging/wlan-ng/hfa384x_usb.c 	hw->txbuff.txfrm.desc.tx_control =
desc             2525 drivers/staging/wlan-ng/hfa384x_usb.c 	cpu_to_le16s(&hw->txbuff.txfrm.desc.tx_control);
desc             2528 drivers/staging/wlan-ng/hfa384x_usb.c 	memcpy(&hw->txbuff.txfrm.desc.frame_control, p80211_hdr,
desc             2533 drivers/staging/wlan-ng/hfa384x_usb.c 		hw->txbuff.txfrm.desc.data_len = cpu_to_le16(skb->len + 8);
desc             2536 drivers/staging/wlan-ng/hfa384x_usb.c 		hw->txbuff.txfrm.desc.data_len = cpu_to_le16(skb->len);
desc             3024 drivers/staging/wlan-ng/hfa384x_usb.c 			if (usbin->txfrm.desc.sw_support == 0x0123) {
desc             3261 drivers/staging/wlan-ng/hfa384x_usb.c 	le16_to_cpus(&usbin->rxfrm.desc.status);
desc             3262 drivers/staging/wlan-ng/hfa384x_usb.c 	le32_to_cpus(&usbin->rxfrm.desc.time);
desc             3265 drivers/staging/wlan-ng/hfa384x_usb.c 	switch (HFA384x_RXSTATUS_MACPORT_GET(usbin->rxfrm.desc.status)) {
desc             3267 drivers/staging/wlan-ng/hfa384x_usb.c 		fc = le16_to_cpu(usbin->rxfrm.desc.frame_control);
desc             3275 drivers/staging/wlan-ng/hfa384x_usb.c 		data_len = le16_to_cpu(usbin->rxfrm.desc.data_len);
desc             3287 drivers/staging/wlan-ng/hfa384x_usb.c 			&usbin->rxfrm.desc.frame_control, hdrlen);
desc             3302 drivers/staging/wlan-ng/hfa384x_usb.c 		rxmeta->mactime = usbin->rxfrm.desc.time;
desc             3303 drivers/staging/wlan-ng/hfa384x_usb.c 		rxmeta->rxrate = usbin->rxfrm.desc.rate;
desc             3304 drivers/staging/wlan-ng/hfa384x_usb.c 		rxmeta->signal = usbin->rxfrm.desc.signal - hw->dbmadjust;
desc             3305 drivers/staging/wlan-ng/hfa384x_usb.c 		rxmeta->noise = usbin->rxfrm.desc.silence - hw->dbmadjust;
desc             3312 drivers/staging/wlan-ng/hfa384x_usb.c 		if (!HFA384x_RXSTATUS_ISFCSERR(usbin->rxfrm.desc.status)) {
desc             3323 drivers/staging/wlan-ng/hfa384x_usb.c 			    HFA384x_RXSTATUS_MACPORT_GET(usbin->rxfrm.desc.status));
desc             3353 drivers/staging/wlan-ng/hfa384x_usb.c 	struct hfa384x_rx_frame *rxdesc = &rxfrm->desc;
desc              132 drivers/staging/wusbcore/cbaf.c 		0, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              254 drivers/staging/wusbcore/cbaf.c 			cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              277 drivers/staging/wusbcore/cbaf.c 		0x0200, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              519 drivers/staging/wusbcore/cbaf.c 		0x0201, cbaf->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              185 drivers/staging/wusbcore/crypto.c 	SHASH_DESC_ON_STACK(desc, tfm_cbcmac);
desc              212 drivers/staging/wusbcore/crypto.c 	desc->tfm = tfm_cbcmac;
desc              213 drivers/staging/wusbcore/crypto.c 	crypto_shash_init(desc);
desc              214 drivers/staging/wusbcore/crypto.c 	crypto_shash_update(desc, (u8 *)&scratch->b0, sizeof(scratch->b0) +
desc              216 drivers/staging/wusbcore/crypto.c 	crypto_shash_finup(desc, b, blen, iv);
desc              228 drivers/staging/wusbcore/crypto.c 	crypto_shash_digest(desc, (u8 *)&scratch->ax, sizeof(scratch->ax),
desc               73 drivers/staging/wusbcore/host/hwa-hc.c 			wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc               93 drivers/staging/wusbcore/host/hwa-hc.c 			wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              265 drivers/staging/wusbcore/host/hwa-hc.c 				cur_altsetting->desc.bInterfaceNumber,
desc              297 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              333 drivers/staging/wusbcore/host/hwa-hc.c 			wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              344 drivers/staging/wusbcore/host/hwa-hc.c 			0, wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              372 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              391 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              410 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              458 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              498 drivers/staging/wusbcore/host/hwa-hc.c 	u8 iface_no = wa->usb_iface->cur_altsetting->desc.bInterfaceNumber;
desc              565 drivers/staging/wusbcore/host/hwa-hc.c 	itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength);
desc              639 drivers/staging/wusbcore/host/hwa-hc.c 	itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength);
desc              642 drivers/staging/wusbcore/host/hwa-hc.c 			le16_to_cpu(usb_dev->actconfig->desc.wTotalLength),
desc              171 drivers/staging/wusbcore/host/whci/hcd.c 		if (usb_endpoint_xfer_bulk(&ep->desc)
desc              172 drivers/staging/wusbcore/host/whci/hcd.c 		    || usb_endpoint_xfer_control(&ep->desc))
desc              194 drivers/staging/wusbcore/host/whci/hcd.c 		if (usb_endpoint_xfer_bulk(&ep->desc)
desc              195 drivers/staging/wusbcore/host/whci/hcd.c 		    || usb_endpoint_xfer_control(&ep->desc))
desc               56 drivers/staging/wusbcore/host/whci/pzl.c 	uint8_t bInterval = qset->ep->desc.bInterval;
desc               51 drivers/staging/wusbcore/host/whci/qset.c 	qset->max_packet = le16_to_cpu(urb->ep->desc.wMaxPacketSize);
desc               28 drivers/staging/wusbcore/wa-hc.c 	if (iface->cur_altsetting->desc.bNumEndpoints < 3)
desc               36 drivers/staging/wusbcore/wa-hc.c 	wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc;
desc               37 drivers/staging/wusbcore/wa-hc.c 	wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc;
desc              376 drivers/staging/wusbcore/wa-hc.h 			wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              410 drivers/staging/wusbcore/wa-hc.h 		0, wa->usb_iface->cur_altsetting->desc.bInterfaceNumber,
desc              257 drivers/staging/wusbcore/wa-nep.c 	epd = &iface->cur_altsetting->endpoint[0].desc;
desc              257 drivers/staging/wusbcore/wa-rpipe.c 	if (ep->desc.bEndpointAddress == 0) {
desc              268 drivers/staging/wusbcore/wa-rpipe.c 				ep->desc.bEndpointAddress,
desc              281 drivers/staging/wusbcore/wa-rpipe.c 				ep->desc.bEndpointAddress,
desc              312 drivers/staging/wusbcore/wa-rpipe.c 			ep->desc.bEndpointAddress);
desc              323 drivers/staging/wusbcore/wa-rpipe.c 	if (usb_endpoint_xfer_isoc(&ep->desc))
desc              326 drivers/staging/wusbcore/wa-rpipe.c 		rpipe->descr.wMaxPacketSize = ep->desc.wMaxPacketSize;
desc              343 drivers/staging/wusbcore/wa-rpipe.c 	rpipe->descr.bEndpointAddress = ep->desc.bEndpointAddress;
desc              353 drivers/staging/wusbcore/wa-rpipe.c 	rpipe->descr.bInterval = ep->desc.bInterval;
desc              354 drivers/staging/wusbcore/wa-rpipe.c 	if (usb_endpoint_xfer_isoc(&ep->desc))
desc              359 drivers/staging/wusbcore/wa-rpipe.c 	rpipe->descr.bmAttribute = (ep->desc.bmAttributes &
desc              404 drivers/staging/wusbcore/wa-rpipe.c 	AIM_CHECK(bEndpointAddress, ep->desc.bEndpointAddress, "(%u vs %u)");
desc              405 drivers/staging/wusbcore/wa-rpipe.c 	AIM_CHECK(bInterval, ep->desc.bInterval, "(%u vs %u)");
desc              406 drivers/staging/wusbcore/wa-rpipe.c 	AIM_CHECK(bmAttribute, ep->desc.bmAttributes & 0x03, "(%u vs %u)");
desc              441 drivers/staging/wusbcore/wa-rpipe.c 			ep->desc.bEndpointAddress,
desc              446 drivers/staging/wusbcore/wa-rpipe.c 		eptype = ep->desc.bmAttributes & 0x03;
desc              459 drivers/staging/wusbcore/wa-rpipe.c 			ep->desc.bEndpointAddress,
desc             2388 drivers/staging/wusbcore/wa-xfer.c 		usb_endpoint_xfer_control(&xfer->ep->desc) &&
desc              168 drivers/target/iscsi/iscsi_target_auth.c 	struct shash_desc *desc = NULL;
desc              240 drivers/target/iscsi/iscsi_target_auth.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
desc              241 drivers/target/iscsi/iscsi_target_auth.c 	if (!desc) {
desc              246 drivers/target/iscsi/iscsi_target_auth.c 	desc->tfm = tfm;
desc              248 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_init(desc);
desc              254 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_update(desc, &chap->id, 1);
desc              260 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_update(desc, (char *)&auth->password,
desc              267 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_finup(desc, chap->challenge,
desc              356 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_init(desc);
desc              364 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_update(desc, &id_as_uchar, 1);
desc              370 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_update(desc, auth->password_mutual,
desc              380 drivers/target/iscsi/iscsi_target_auth.c 	ret = crypto_shash_finup(desc, challenge_binhex, challenge_len,
desc              403 drivers/target/iscsi/iscsi_target_auth.c 	kzfree(desc);
desc              108 drivers/target/target_core_xcopy.c 	unsigned char *desc = p;
desc              114 drivers/target/target_core_xcopy.c 	ript = get_unaligned_be16(&desc[2]);
desc              119 drivers/target/target_core_xcopy.c 	if ((desc[4] & 0x0f) != 0x1) {
desc              123 drivers/target/target_core_xcopy.c 	if ((desc[5] & 0x30) != 0x00) {
desc              127 drivers/target/target_core_xcopy.c 	if ((desc[5] & 0x0f) != 0x3) {
desc              129 drivers/target/target_core_xcopy.c 				(desc[5] & 0x0f));
desc              136 drivers/target/target_core_xcopy.c 	desig_len = desc[7];
desc              145 drivers/target/target_core_xcopy.c 	if ((desc[8] & 0xf0) != 0x60) {
desc              147 drivers/target/target_core_xcopy.c 					(desc[8] & 0xf0));
desc              158 drivers/target/target_core_xcopy.c 		memcpy(&xop->src_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN);
desc              172 drivers/target/target_core_xcopy.c 		memcpy(&xop->dst_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN);
desc              196 drivers/target/target_core_xcopy.c 	unsigned char *desc = p;
desc              229 drivers/target/target_core_xcopy.c 		switch (desc[0]) {
desc              232 drivers/target/target_core_xcopy.c 							&desc[0], cscd_index);
desc              236 drivers/target/target_core_xcopy.c 			desc += XCOPY_TARGET_DESC_LEN;
desc              241 drivers/target/target_core_xcopy.c 					" 0x%02x\n", desc[0]);
desc              287 drivers/target/target_core_xcopy.c 	unsigned char *desc = p;
desc              288 drivers/target/target_core_xcopy.c 	int dc = (desc[1] & 0x02);
desc              291 drivers/target/target_core_xcopy.c 	desc_len = get_unaligned_be16(&desc[2]);
desc              298 drivers/target/target_core_xcopy.c 	xop->stdi = get_unaligned_be16(&desc[4]);
desc              299 drivers/target/target_core_xcopy.c 	xop->dtdi = get_unaligned_be16(&desc[6]);
desc              311 drivers/target/target_core_xcopy.c 	xop->nolb = get_unaligned_be16(&desc[10]);
desc              312 drivers/target/target_core_xcopy.c 	xop->src_lba = get_unaligned_be64(&desc[12]);
desc              313 drivers/target/target_core_xcopy.c 	xop->dst_lba = get_unaligned_be64(&desc[20]);
desc              319 drivers/target/target_core_xcopy.c 		xop->dbl = get_unaligned_be24(&desc[29]);
desc              330 drivers/target/target_core_xcopy.c 	unsigned char *desc = p;
desc              354 drivers/target/target_core_xcopy.c 		switch (desc[0]) {
desc              356 drivers/target/target_core_xcopy.c 			rc = target_xcopy_parse_segdesc_02(se_cmd, xop, desc);
desc              362 drivers/target/target_core_xcopy.c 			desc += XCOPY_SEGMENT_DESC_LEN;
desc              366 drivers/target/target_core_xcopy.c 				"type: 0x%02x\n", desc[0]);
desc               48 drivers/tee/tee_core.c 	rc = teedev->desc->ops->open(ctx);
desc               73 drivers/tee/tee_core.c 	ctx->teedev->desc->ops->release(ctx);
desc              119 drivers/tee/tee_core.c 	ctx->teedev->desc->ops->get_version(ctx->teedev, &vers);
desc              121 drivers/tee/tee_core.c 	if (ctx->teedev->desc->flags & TEE_DESC_PRIVILEGED)
desc              309 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->open_session)
desc              337 drivers/tee/tee_core.c 	rc = ctx->teedev->desc->ops->open_session(ctx, &arg, params);
desc              354 drivers/tee/tee_core.c 	if (rc && have_session && ctx->teedev->desc->ops->close_session)
desc              355 drivers/tee/tee_core.c 		ctx->teedev->desc->ops->close_session(ctx, arg.session);
desc              380 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->invoke_func)
desc              408 drivers/tee/tee_core.c 	rc = ctx->teedev->desc->ops->invoke_func(ctx, &arg, params);
desc              435 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->cancel_req)
desc              441 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->cancel_req(ctx, arg.cancel_id,
desc              451 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->close_session)
desc              457 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->close_session(ctx, arg.session);
desc              514 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->supp_recv)
desc              539 drivers/tee/tee_core.c 	rc = ctx->teedev->desc->ops->supp_recv(ctx, &func, &num_params, params);
desc              612 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->supp_send)
desc              638 drivers/tee/tee_core.c 	rc = ctx->teedev->desc->ops->supp_send(ctx, ret, num_params, params);
desc              773 drivers/tee/tee_core.c 	teedev->desc = teedesc;
desc              798 drivers/tee/tee_core.c 	teedev->desc->ops->get_version(teedev, &vers);
desc              870 drivers/tee/tee_core.c 	if (!WARN_ON(!teedev->desc)) {
desc              873 drivers/tee/tee_core.c 			teedev->desc = NULL;
desc              883 drivers/tee/tee_core.c 	if (!teedev->desc) {
desc              947 drivers/tee/tee_core.c 	teedev->desc->ops->get_version(teedev, match_data->vers);
desc             1003 drivers/tee/tee_core.c 	ctx->teedev->desc->ops->get_version(ctx->teedev, vers);
desc             1011 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->open_session)
desc             1013 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->open_session(ctx, arg, param);
desc             1019 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->close_session)
desc             1021 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->close_session(ctx, session);
desc             1029 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->invoke_func)
desc             1031 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->invoke_func(ctx, arg, param);
desc             1038 drivers/tee/tee_core.c 	if (!ctx->teedev->desc->ops->cancel_req)
desc             1040 drivers/tee/tee_core.c 	return ctx->teedev->desc->ops->cancel_req(ctx, arg->cancel_id,
desc               45 drivers/tee/tee_private.h 	const struct tee_desc *desc;
desc               35 drivers/tee/tee_shm.c 		int rc = teedev->desc->ops->shm_unregister(shm->ctx, shm);
desc              239 drivers/tee/tee_shm.c 	if (!teedev->desc->ops->shm_register ||
desc              240 drivers/tee/tee_shm.c 	    !teedev->desc->ops->shm_unregister) {
desc              287 drivers/tee/tee_shm.c 	rc = teedev->desc->ops->shm_register(ctx, shm, shm->pages,
desc              305 drivers/tee/tee_shm.c 			teedev->desc->ops->shm_unregister(ctx, shm);
desc               23 drivers/thunderbolt/lc.c static int read_lc_desc(struct tb_switch *sw, u32 *desc)
desc               27 drivers/thunderbolt/lc.c 	return tb_sw_read(sw, desc, TB_CFG_SWITCH, sw->cap_lc + TB_LC_DESC, 1);
desc               34 drivers/thunderbolt/lc.c 	u32 desc;
desc               36 drivers/thunderbolt/lc.c 	ret = read_lc_desc(sw, &desc);
desc               41 drivers/thunderbolt/lc.c 	start = (desc & TB_LC_DESC_SIZE_MASK) >> TB_LC_DESC_SIZE_SHIFT;
desc               42 drivers/thunderbolt/lc.c 	size = (desc & TB_LC_DESC_PORT_SIZE_MASK) >> TB_LC_DESC_PORT_SIZE_SHIFT;
desc              147 drivers/thunderbolt/lc.c 	u32 desc;
desc              152 drivers/thunderbolt/lc.c 	ret = read_lc_desc(sw, &desc);
desc              157 drivers/thunderbolt/lc.c 	nlc = desc & TB_LC_DESC_NLC_MASK;
desc              158 drivers/thunderbolt/lc.c 	start = (desc & TB_LC_DESC_SIZE_MASK) >> TB_LC_DESC_SIZE_SHIFT;
desc              159 drivers/thunderbolt/lc.c 	size = (desc & TB_LC_DESC_PORT_SIZE_MASK) >> TB_LC_DESC_PORT_SIZE_SHIFT;
desc               66 drivers/tty/serial/8250/8250_dma.c 	struct dma_async_tx_descriptor	*desc;
desc               80 drivers/tty/serial/8250/8250_dma.c 	desc = dmaengine_prep_slave_single(dma->txchan,
desc               84 drivers/tty/serial/8250/8250_dma.c 	if (!desc) {
desc               90 drivers/tty/serial/8250/8250_dma.c 	desc->callback = __dma_tx_complete;
desc               91 drivers/tty/serial/8250/8250_dma.c 	desc->callback_param = p;
desc               93 drivers/tty/serial/8250/8250_dma.c 	dma->tx_cookie = dmaengine_submit(desc);
desc              112 drivers/tty/serial/8250/8250_dma.c 	struct dma_async_tx_descriptor	*desc;
desc              117 drivers/tty/serial/8250/8250_dma.c 	desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr,
desc              120 drivers/tty/serial/8250/8250_dma.c 	if (!desc)
desc              124 drivers/tty/serial/8250/8250_dma.c 	desc->callback = __dma_rx_complete;
desc              125 drivers/tty/serial/8250/8250_dma.c 	desc->callback_param = p;
desc              127 drivers/tty/serial/8250/8250_dma.c 	dma->rx_cookie = dmaengine_submit(desc);
desc              127 drivers/tty/serial/8250/8250_mtk.c 	struct dma_async_tx_descriptor	*desc;
desc              129 drivers/tty/serial/8250/8250_mtk.c 	desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr,
desc              132 drivers/tty/serial/8250/8250_mtk.c 	if (!desc) {
desc              137 drivers/tty/serial/8250/8250_mtk.c 	desc->callback = mtk8250_dma_rx_complete;
desc              138 drivers/tty/serial/8250/8250_mtk.c 	desc->callback_param = up;
desc              140 drivers/tty/serial/8250/8250_mtk.c 	dma->rx_cookie = dmaengine_submit(desc);
desc              863 drivers/tty/serial/8250/8250_omap.c 	struct dma_async_tx_descriptor  *desc;
desc              874 drivers/tty/serial/8250/8250_omap.c 	desc = dmaengine_prep_slave_single(dma->rxchan, dma->rx_addr,
desc              877 drivers/tty/serial/8250/8250_omap.c 	if (!desc) {
desc              883 drivers/tty/serial/8250/8250_omap.c 	desc->callback = __dma_rx_complete;
desc              884 drivers/tty/serial/8250/8250_omap.c 	desc->callback_param = p;
desc              886 drivers/tty/serial/8250/8250_omap.c 	dma->rx_cookie = dmaengine_submit(desc);
desc              947 drivers/tty/serial/8250/8250_omap.c 	struct dma_async_tx_descriptor	*desc;
desc              999 drivers/tty/serial/8250/8250_omap.c 	desc = dmaengine_prep_slave_single(dma->txchan,
desc             1003 drivers/tty/serial/8250/8250_omap.c 	if (!desc) {
desc             1010 drivers/tty/serial/8250/8250_omap.c 	desc->callback = omap_8250_dma_tx_complete;
desc             1011 drivers/tty/serial/8250/8250_omap.c 	desc->callback_param = p;
desc             1013 drivers/tty/serial/8250/8250_omap.c 	dma->tx_cookie = dmaengine_submit(desc);
desc              603 drivers/tty/serial/amba-pl011.c 	struct dma_async_tx_descriptor *desc;
desc              652 drivers/tty/serial/amba-pl011.c 	desc = dmaengine_prep_slave_sg(chan, &dmatx->sg, 1, DMA_MEM_TO_DEV,
desc              654 drivers/tty/serial/amba-pl011.c 	if (!desc) {
desc              666 drivers/tty/serial/amba-pl011.c 	desc->callback = pl011_dma_tx_callback;
desc              667 drivers/tty/serial/amba-pl011.c 	desc->callback_param = uap;
desc              670 drivers/tty/serial/amba-pl011.c 	dmaengine_submit(desc);
desc              833 drivers/tty/serial/amba-pl011.c 	struct dma_async_tx_descriptor *desc;
desc              842 drivers/tty/serial/amba-pl011.c 	desc = dmaengine_prep_slave_sg(rxchan, &sgbuf->sg, 1,
desc              850 drivers/tty/serial/amba-pl011.c 	if (!desc) {
desc              857 drivers/tty/serial/amba-pl011.c 	desc->callback = pl011_dma_rx_callback;
desc              858 drivers/tty/serial/amba-pl011.c 	desc->callback_param = uap;
desc              859 drivers/tty/serial/amba-pl011.c 	dmarx->cookie = dmaengine_submit(desc);
desc              932 drivers/tty/serial/atmel_serial.c 	struct dma_async_tx_descriptor *desc;
desc              988 drivers/tty/serial/atmel_serial.c 		desc = dmaengine_prep_slave_sg(chan,
desc              994 drivers/tty/serial/atmel_serial.c 		if (!desc) {
desc             1001 drivers/tty/serial/atmel_serial.c 		atmel_port->desc_tx = desc;
desc             1002 drivers/tty/serial/atmel_serial.c 		desc->callback = atmel_complete_tx_dma;
desc             1003 drivers/tty/serial/atmel_serial.c 		desc->callback_param = atmel_port;
desc             1004 drivers/tty/serial/atmel_serial.c 		atmel_port->cookie_tx = dmaengine_submit(desc);
desc             1194 drivers/tty/serial/atmel_serial.c 	struct dma_async_tx_descriptor *desc;
desc             1251 drivers/tty/serial/atmel_serial.c 	desc = dmaengine_prep_dma_cyclic(atmel_port->chan_rx,
desc             1257 drivers/tty/serial/atmel_serial.c 	if (!desc) {
desc             1261 drivers/tty/serial/atmel_serial.c 	desc->callback = atmel_complete_rx_dma;
desc             1262 drivers/tty/serial/atmel_serial.c 	desc->callback_param = port;
desc             1263 drivers/tty/serial/atmel_serial.c 	atmel_port->desc_rx = desc;
desc             1264 drivers/tty/serial/atmel_serial.c 	atmel_port->cookie_rx = dmaengine_submit(desc);
desc              591 drivers/tty/serial/imx.c 	struct dma_async_tx_descriptor *desc;
desc              622 drivers/tty/serial/imx.c 	desc = dmaengine_prep_slave_sg(chan, sgl, ret,
desc              624 drivers/tty/serial/imx.c 	if (!desc) {
desc              630 drivers/tty/serial/imx.c 	desc->callback = imx_uart_dma_tx_callback;
desc              631 drivers/tty/serial/imx.c 	desc->callback_param = sport;
desc              642 drivers/tty/serial/imx.c 	dmaengine_submit(desc);
desc             1153 drivers/tty/serial/imx.c 	struct dma_async_tx_descriptor *desc;
desc             1167 drivers/tty/serial/imx.c 	desc = dmaengine_prep_dma_cyclic(chan, sg_dma_address(sgl),
desc             1171 drivers/tty/serial/imx.c 	if (!desc) {
desc             1176 drivers/tty/serial/imx.c 	desc->callback = imx_uart_dma_rx_callback;
desc             1177 drivers/tty/serial/imx.c 	desc->callback_param = sport;
desc             1181 drivers/tty/serial/imx.c 	sport->rx_cookie = dmaengine_submit(desc);
desc              171 drivers/tty/serial/msm_serial.c 	struct dma_async_tx_descriptor	*desc;
desc              492 drivers/tty/serial/msm_serial.c 	dma->desc = dmaengine_prep_slave_single(dma->chan, dma->phys,
desc              496 drivers/tty/serial/msm_serial.c 	if (!dma->desc) {
desc              501 drivers/tty/serial/msm_serial.c 	dma->desc->callback = msm_complete_tx_dma;
desc              502 drivers/tty/serial/msm_serial.c 	dma->desc->callback_param = msm_port;
desc              504 drivers/tty/serial/msm_serial.c 	dma->cookie = dmaengine_submit(dma->desc);
desc              615 drivers/tty/serial/msm_serial.c 	dma->desc = dmaengine_prep_slave_single(dma->chan, dma->phys,
desc              618 drivers/tty/serial/msm_serial.c 	if (!dma->desc)
desc              621 drivers/tty/serial/msm_serial.c 	dma->desc->callback = msm_complete_rx_dma;
desc              622 drivers/tty/serial/msm_serial.c 	dma->desc->callback_param = msm_port;
desc              624 drivers/tty/serial/msm_serial.c 	dma->cookie = dmaengine_submit(dma->desc);
desc              551 drivers/tty/serial/mxs-auart.c 	struct dma_async_tx_descriptor *desc;
desc              558 drivers/tty/serial/mxs-auart.c 	desc = dmaengine_prep_slave_sg(channel, (struct scatterlist *)&pio,
desc              560 drivers/tty/serial/mxs-auart.c 	if (!desc) {
desc              568 drivers/tty/serial/mxs-auart.c 	desc = dmaengine_prep_slave_sg(channel, sgl,
desc              570 drivers/tty/serial/mxs-auart.c 	if (!desc) {
desc              576 drivers/tty/serial/mxs-auart.c 	desc->callback = dma_tx_callback;
desc              577 drivers/tty/serial/mxs-auart.c 	desc->callback_param = s;
desc              578 drivers/tty/serial/mxs-auart.c 	dmaengine_submit(desc);
desc              873 drivers/tty/serial/mxs-auart.c 	struct dma_async_tx_descriptor *desc;
desc              882 drivers/tty/serial/mxs-auart.c 	desc = dmaengine_prep_slave_sg(channel, (struct scatterlist *)pio,
desc              884 drivers/tty/serial/mxs-auart.c 	if (!desc) {
desc              892 drivers/tty/serial/mxs-auart.c 	desc = dmaengine_prep_slave_sg(channel, sgl, 1, DMA_DEV_TO_MEM,
desc              894 drivers/tty/serial/mxs-auart.c 	if (!desc) {
desc              900 drivers/tty/serial/mxs-auart.c 	desc->callback = dma_rx_callback;
desc              901 drivers/tty/serial/mxs-auart.c 	desc->callback_param = s;
desc              902 drivers/tty/serial/mxs-auart.c 	dmaengine_submit(desc);
desc              853 drivers/tty/serial/pch_uart.c 	struct dma_async_tx_descriptor *desc;
desc              868 drivers/tty/serial/pch_uart.c 	desc = dmaengine_prep_slave_sg(priv->chan_rx,
desc              872 drivers/tty/serial/pch_uart.c 	if (!desc)
desc              875 drivers/tty/serial/pch_uart.c 	priv->desc_rx = desc;
desc              876 drivers/tty/serial/pch_uart.c 	desc->callback = pch_dma_rx_complete;
desc              877 drivers/tty/serial/pch_uart.c 	desc->callback_param = priv;
desc              878 drivers/tty/serial/pch_uart.c 	desc->tx_submit(desc);
desc              936 drivers/tty/serial/pch_uart.c 	struct dma_async_tx_descriptor *desc;
desc             1029 drivers/tty/serial/pch_uart.c 	desc = dmaengine_prep_slave_sg(priv->chan_tx,
desc             1032 drivers/tty/serial/pch_uart.c 	if (!desc) {
desc             1038 drivers/tty/serial/pch_uart.c 	priv->desc_tx = desc;
desc             1039 drivers/tty/serial/pch_uart.c 	desc->callback = pch_dma_tx_complete;
desc             1040 drivers/tty/serial/pch_uart.c 	desc->callback_param = priv;
desc             1042 drivers/tty/serial/pch_uart.c 	desc->tx_submit(desc);
desc             1291 drivers/tty/serial/sh-sci.c 	struct dma_async_tx_descriptor *desc;
desc             1309 drivers/tty/serial/sh-sci.c 	desc = dmaengine_prep_slave_sg(s->chan_rx, &s->sg_rx[active], 1,
desc             1312 drivers/tty/serial/sh-sci.c 	if (!desc)
desc             1315 drivers/tty/serial/sh-sci.c 	desc->callback = sci_dma_rx_complete;
desc             1316 drivers/tty/serial/sh-sci.c 	desc->callback_param = s;
desc             1317 drivers/tty/serial/sh-sci.c 	s->cookie_rx[active] = dmaengine_submit(desc);
desc             1363 drivers/tty/serial/sh-sci.c 		struct dma_async_tx_descriptor *desc;
desc             1365 drivers/tty/serial/sh-sci.c 		desc = dmaengine_prep_slave_sg(chan,
desc             1368 drivers/tty/serial/sh-sci.c 		if (!desc)
desc             1371 drivers/tty/serial/sh-sci.c 		desc->callback = sci_dma_rx_complete;
desc             1372 drivers/tty/serial/sh-sci.c 		desc->callback_param = s;
desc             1373 drivers/tty/serial/sh-sci.c 		s->cookie_rx[i] = dmaengine_submit(desc);
desc             1400 drivers/tty/serial/sh-sci.c 	struct dma_async_tx_descriptor *desc;
desc             1428 drivers/tty/serial/sh-sci.c 	desc = dmaengine_prep_slave_single(chan, buf, s->tx_dma_len,
desc             1431 drivers/tty/serial/sh-sci.c 	if (!desc) {
desc             1440 drivers/tty/serial/sh-sci.c 	desc->callback = sci_dma_tx_complete;
desc             1441 drivers/tty/serial/sh-sci.c 	desc->callback_param = s;
desc             1442 drivers/tty/serial/sh-sci.c 	s->cookie_tx = dmaengine_submit(desc);
desc             1850 drivers/tty/serial/sh-sci.c 	const char	*desc;
desc             1857 drivers/tty/serial/sh-sci.c 		.desc = "rx err",
desc             1862 drivers/tty/serial/sh-sci.c 		.desc = "rx full",
desc             1867 drivers/tty/serial/sh-sci.c 		.desc = "tx empty",
desc             1872 drivers/tty/serial/sh-sci.c 		.desc = "break",
desc             1877 drivers/tty/serial/sh-sci.c 		.desc = "rx ready",
desc             1882 drivers/tty/serial/sh-sci.c 		.desc = "tx end",
desc             1890 drivers/tty/serial/sh-sci.c 		.desc = "mux",
desc             1901 drivers/tty/serial/sh-sci.c 		const struct sci_irq_desc *desc;
desc             1925 drivers/tty/serial/sh-sci.c 		desc = sci_irq_desc + i;
desc             1927 drivers/tty/serial/sh-sci.c 					    dev_name(up->dev), desc->desc);
desc             1933 drivers/tty/serial/sh-sci.c 		ret = request_irq(irq, desc->handler, up->irqflags,
desc             1936 drivers/tty/serial/sh-sci.c 			dev_err(up->dev, "Can't allocate %s IRQ\n", desc->desc);
desc              606 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.desc =
desc              611 drivers/tty/serial/sirfsoc_uart.c 	if (IS_ERR_OR_NULL(sirfport->rx_dma_items.desc)) {
desc              615 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.desc->callback =
desc              617 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.desc->callback_param = sirfport;
desc              619 drivers/tty/serial/sirfsoc_uart.c 		dmaengine_submit(sirfport->rx_dma_items.desc);
desc              408 drivers/tty/serial/sirfsoc_uart.h 	struct dma_async_tx_descriptor	*desc;
desc              357 drivers/tty/serial/stm32-usart.c 	struct dma_async_tx_descriptor *desc = NULL;
desc              386 drivers/tty/serial/stm32-usart.c 	desc = dmaengine_prep_slave_single(stm32port->tx_ch,
desc              392 drivers/tty/serial/stm32-usart.c 	if (!desc) {
desc              398 drivers/tty/serial/stm32-usart.c 	desc->callback = stm32_tx_dma_complete;
desc              399 drivers/tty/serial/stm32-usart.c 	desc->callback_param = port;
desc              402 drivers/tty/serial/stm32-usart.c 	cookie = dmaengine_submit(desc);
desc             1017 drivers/tty/serial/stm32-usart.c 	struct dma_async_tx_descriptor *desc = NULL;
desc             1048 drivers/tty/serial/stm32-usart.c 	desc = dmaengine_prep_dma_cyclic(stm32port->rx_ch,
desc             1052 drivers/tty/serial/stm32-usart.c 	if (!desc) {
desc             1059 drivers/tty/serial/stm32-usart.c 	desc->callback = NULL;
desc             1060 drivers/tty/serial/stm32-usart.c 	desc->callback_param = NULL;
desc             1063 drivers/tty/serial/stm32-usart.c 	cookie = dmaengine_submit(desc);
desc             4828 drivers/tty/synclinkmp.c    	SCADESC *desc;
desc             4845 drivers/tty/synclinkmp.c 		desc = &info->rx_buf_list[EndIndex];
desc             4848 drivers/tty/synclinkmp.c 		if (desc->status == 0xff)
desc             4854 drivers/tty/synclinkmp.c 		framesize += desc->length;
desc             4857 drivers/tty/synclinkmp.c 		if (desc->status)
desc             4889 drivers/tty/synclinkmp.c 	status = desc->status;
desc             4997 drivers/tty/synclinkmp.c 	SCADESC *desc;
desc             5010 drivers/tty/synclinkmp.c 		desc = &info->tx_buf_list[i];
desc             5015 drivers/tty/synclinkmp.c 		desc->length = copy_count;
desc             5016 drivers/tty/synclinkmp.c 		desc->status = 0;
desc              119 drivers/tty/vt/vt.c 	const char *desc;
desc             3378 drivers/tty/vt/vt.c 			con_driver->desc = display_desc;
desc             3508 drivers/tty/vt/vt.c 	const char *desc = NULL;
desc             3522 drivers/tty/vt/vt.c 			desc = con_driver->desc;
desc             3589 drivers/tty/vt/vt.c 			desc, vc->vc_cols, vc->vc_rows);
desc             3596 drivers/tty/vt/vt.c 		pr_cont("to %s\n", desc);
desc             3827 drivers/tty/vt/vt.c 			 con->desc);
desc             3984 drivers/tty/vt/vt.c 	const char *desc;
desc             4002 drivers/tty/vt/vt.c 	desc = csw->con_startup();
desc             4003 drivers/tty/vt/vt.c 	if (!desc) {
desc             4016 drivers/tty/vt/vt.c 			con_driver->desc = desc;
desc             4037 drivers/tty/vt/vt.c 			con_driver->desc, PTR_ERR(con_driver->dev));
desc             4118 drivers/tty/vt/vt.c 		con_driver->desc = NULL;
desc             4192 drivers/tty/vt/vt.c 					con->desc, PTR_ERR(con->dev));
desc             1184 drivers/usb/atm/cxacru.c 	if ((cmd_ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)
desc              768 drivers/usb/atm/speedtch.c 	int ifnum = intf->altsetting->desc.bInterfaceNumber;
desc              769 drivers/usb/atm/speedtch.c 	int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces;
desc              834 drivers/usb/atm/speedtch.c 		const struct usb_host_interface *desc = data_intf->cur_altsetting;
desc              839 drivers/usb/atm/speedtch.c 		for (i = 0; i < desc->desc.bNumEndpoints; i++) {
desc              840 drivers/usb/atm/speedtch.c 			const struct usb_endpoint_descriptor *endpoint_desc = &desc->endpoint[i].desc;
desc              915 drivers/usb/atm/speedtch.c 	speedtch_release_interfaces(usb_dev, usb_dev->actconfig->desc.bNumInterfaces);
desc             2156 drivers/usb/atm/ueagle-atm.c 	if (intf->cur_altsetting->desc.bNumEndpoints < 1) {
desc             2172 drivers/usb/atm/ueagle-atm.c 			 intf->cur_altsetting->endpoint[0].desc.bInterval);
desc             2495 drivers/usb/atm/ueagle-atm.c 	int ret, ifnum = intf->altsetting->desc.bInterfaceNumber;
desc             2622 drivers/usb/atm/ueagle-atm.c 	int ifnum = intf->altsetting->desc.bInterfaceNumber;
desc             2628 drivers/usb/atm/ueagle-atm.c 	if (usb->config->desc.bNumInterfaces != 1 && ifnum == 0) {
desc               16 drivers/usb/atm/xusbatm.c #define XUSBATM_PARM(name, type, parmtype, desc) \
desc               20 drivers/usb/atm/xusbatm.c 	MODULE_PARM_DESC(name, desc)
desc               44 drivers/usb/atm/xusbatm.c 	for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++)
desc               46 drivers/usb/atm/xusbatm.c 			for (j = 0; j < alt->desc.bNumEndpoints; j++)
desc               47 drivers/usb/atm/xusbatm.c 				if (alt->endpoint[j].desc.bEndpointAddress == ep)
desc               55 drivers/usb/atm/xusbatm.c 	int ifnum = intf->altsetting->desc.bInterfaceNumber;
desc              110 drivers/usb/atm/xusbatm.c 				rx_intf->altsetting->desc.bInterfaceNumber, rx_alt, tx_alt);
desc              115 drivers/usb/atm/xusbatm.c 			rx_intf->altsetting->desc.bInterfaceNumber,
desc              116 drivers/usb/atm/xusbatm.c 			tx_intf->altsetting->desc.bInterfaceNumber);
desc              138 drivers/usb/atm/xusbatm.c 	for (i = 0; i < usb_dev->actconfig->desc.bNumInterfaces; i++) {
desc              274 drivers/usb/c67x00/c67x00-sched.c 			if (prev->hep->desc.bEndpointAddress >
desc              275 drivers/usb/c67x00/c67x00-sched.c 			    hep->desc.bEndpointAddress) {
desc              667 drivers/usb/cdns3/ep0.c 				   const struct usb_endpoint_descriptor *desc)
desc              887 drivers/usb/cdns3/ep0.c 	priv_ep->endpoint.desc = &cdns3_gadget_ep0_desc;
desc              841 drivers/usb/cdns3/gadget.c 	address = priv_ep->endpoint.desc->bEndpointAddress;
desc             1643 drivers/usb/cdns3/gadget.c static int cdns3_ep_dir_is_correct(struct usb_endpoint_descriptor *desc,
desc             1646 drivers/usb/cdns3/gadget.c 	return (priv_ep->endpoint.caps.dir_in && usb_endpoint_dir_in(desc)) ||
desc             1647 drivers/usb/cdns3/gadget.c 	       (priv_ep->endpoint.caps.dir_out && usb_endpoint_dir_out(desc));
desc             1652 drivers/usb/cdns3/gadget.c 					struct usb_endpoint_descriptor *desc)
desc             1668 drivers/usb/cdns3/gadget.c 		if (cdns3_ep_dir_is_correct(desc, priv_ep)) {
desc             1697 drivers/usb/cdns3/gadget.c 			      struct usb_endpoint_descriptor *desc,
desc             1704 drivers/usb/cdns3/gadget.c 	priv_ep = cdns3_find_available_ep(priv_dev, desc);
desc             1713 drivers/usb/cdns3/gadget.c 	priv_ep->endpoint.desc = desc;
desc             1714 drivers/usb/cdns3/gadget.c 	priv_ep->dir  = usb_endpoint_dir_in(desc) ? USB_DIR_IN : USB_DIR_OUT;
desc             1715 drivers/usb/cdns3/gadget.c 	priv_ep->type = usb_endpoint_type(desc);
desc             1717 drivers/usb/cdns3/gadget.c 	priv_ep->interval = desc->bInterval ? BIT(desc->bInterval - 1) : 0;
desc             1771 drivers/usb/cdns3/gadget.c 				  const struct usb_endpoint_descriptor *desc)
desc             1785 drivers/usb/cdns3/gadget.c 	if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
desc             1790 drivers/usb/cdns3/gadget.c 	if (!desc->wMaxPacketSize) {
desc             1801 drivers/usb/cdns3/gadget.c 	priv_ep->endpoint.desc = desc;
desc             1802 drivers/usb/cdns3/gadget.c 	priv_ep->type = usb_endpoint_type(desc);
desc             1803 drivers/usb/cdns3/gadget.c 	priv_ep->interval = desc->bInterval ? BIT(desc->bInterval - 1) : 0;
desc             1859 drivers/usb/cdns3/gadget.c 	ep->desc = desc;
desc             1910 drivers/usb/cdns3/gadget.c 	cdns3_select_ep(priv_dev, ep->desc->bEndpointAddress);
desc             1958 drivers/usb/cdns3/gadget.c 	ep->desc = NULL;
desc             2001 drivers/usb/cdns3/gadget.c 					    usb_endpoint_dir_in(ep->desc));
desc             2077 drivers/usb/cdns3/gadget.c 	if (!ep || !request || !ep->desc)
desc             2086 drivers/usb/cdns3/gadget.c 	cdns3_select_ep(priv_dev, ep->desc->bEndpointAddress);
desc             2209 drivers/usb/cdns3/gadget.c 	cdns3_select_ep(priv_dev, ep->desc->bEndpointAddress);
desc              339 drivers/usb/cdns3/trace.h 		__entry->type = usb_endpoint_type(priv_ep->endpoint.desc);
desc              668 drivers/usb/chipidea/udc.c 	if (ep == NULL || hwep->ep.desc == NULL)
desc              671 drivers/usb/chipidea/udc.c 	if (usb_endpoint_xfer_isoc(hwep->ep.desc))
desc              678 drivers/usb/chipidea/udc.c 			!usb_endpoint_xfer_control(hwep->ep.desc)) {
desc              809 drivers/usb/chipidea/udc.c 	if (ep == NULL || req == NULL || hwep->ep.desc == NULL)
desc              823 drivers/usb/chipidea/udc.c 	if (usb_endpoint_xfer_isoc(hwep->ep.desc) &&
desc             1193 drivers/usb/chipidea/udc.c 		if (hwep->ep.desc == NULL)
desc             1227 drivers/usb/chipidea/udc.c 		     const struct usb_endpoint_descriptor *desc)
desc             1234 drivers/usb/chipidea/udc.c 	if (ep == NULL || desc == NULL)
desc             1247 drivers/usb/chipidea/udc.c 	hwep->ep.desc = desc;
desc             1249 drivers/usb/chipidea/udc.c 	hwep->dir  = usb_endpoint_dir_in(desc) ? TX : RX;
desc             1250 drivers/usb/chipidea/udc.c 	hwep->num  = usb_endpoint_num(desc);
desc             1251 drivers/usb/chipidea/udc.c 	hwep->type = usb_endpoint_type(desc);
desc             1253 drivers/usb/chipidea/udc.c 	hwep->ep.maxpacket = usb_endpoint_maxp(desc);
desc             1254 drivers/usb/chipidea/udc.c 	hwep->ep.mult = usb_endpoint_maxp_mult(desc);
desc             1302 drivers/usb/chipidea/udc.c 	else if (hwep->ep.desc == NULL)
desc             1323 drivers/usb/chipidea/udc.c 	hwep->ep.desc = NULL;
desc             1395 drivers/usb/chipidea/udc.c 	if (ep == NULL || req == NULL || hwep->ep.desc == NULL)
desc             1421 drivers/usb/chipidea/udc.c 		hwep->ep.desc == NULL || list_empty(&hwreq->queue) ||
desc             1472 drivers/usb/chipidea/udc.c 	if (ep == NULL || hwep->ep.desc == NULL)
desc             1644 drivers/usb/chipidea/udc.c 			      struct usb_endpoint_descriptor *desc,
desc             1650 drivers/usb/chipidea/udc.c 	if (usb_endpoint_xfer_isoc(desc) && usb_endpoint_dir_in(desc)) {
desc             1770 drivers/usb/chipidea/udc.c 	ci->ep0out->ep.desc = &ctrl_endpt_out_desc;
desc             1775 drivers/usb/chipidea/udc.c 	ci->ep0in->ep.desc = &ctrl_endpt_in_desc;
desc              121 drivers/usb/class/cdc-acm.c 		acm->control->altsetting[0].desc.bInterfaceNumber,
desc             1237 drivers/usb/class/cdc-acm.c 			if (intf->cur_altsetting->desc.bNumEndpoints != 3) {
desc             1269 drivers/usb/class/cdc-acm.c 		if (data_interface->cur_altsetting->desc.bNumEndpoints != 3) {
desc             1285 drivers/usb/class/cdc-acm.c 	if (data_interface->cur_altsetting->desc.bInterfaceClass
desc             1287 drivers/usb/class/cdc-acm.c 		if (control_interface->cur_altsetting->desc.bInterfaceClass
desc             1308 drivers/usb/class/cdc-acm.c 	if (data_interface->cur_altsetting->desc.bNumEndpoints < 2 ||
desc             1309 drivers/usb/class/cdc-acm.c 	    control_interface->cur_altsetting->desc.bNumEndpoints == 0)
desc             1312 drivers/usb/class/cdc-acm.c 	epctrl = &control_interface->cur_altsetting->endpoint[0].desc;
desc             1313 drivers/usb/class/cdc-acm.c 	epread = &data_interface->cur_altsetting->endpoint[0].desc;
desc             1314 drivers/usb/class/cdc-acm.c 	epwrite = &data_interface->cur_altsetting->endpoint[1].desc;
desc              113 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              116 drivers/usb/class/cdc-wdm.c 	list_for_each_entry(desc, &wdm_device_list, device_list)
desc              117 drivers/usb/class/cdc-wdm.c 		if (desc->intf == intf)
desc              119 drivers/usb/class/cdc-wdm.c 	desc = NULL;
desc              123 drivers/usb/class/cdc-wdm.c 	return desc;
desc              128 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              131 drivers/usb/class/cdc-wdm.c 	list_for_each_entry(desc, &wdm_device_list, device_list)
desc              132 drivers/usb/class/cdc-wdm.c 		if (desc->intf->minor == minor)
desc              134 drivers/usb/class/cdc-wdm.c 	desc = NULL;
desc              138 drivers/usb/class/cdc-wdm.c 	return desc;
desc              144 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              147 drivers/usb/class/cdc-wdm.c 	desc = urb->context;
desc              148 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              149 drivers/usb/class/cdc-wdm.c 	desc->werr = urb->status;
desc              150 drivers/usb/class/cdc-wdm.c 	spin_unlock_irqrestore(&desc->iuspin, flags);
desc              151 drivers/usb/class/cdc-wdm.c 	kfree(desc->outbuf);
desc              152 drivers/usb/class/cdc-wdm.c 	desc->outbuf = NULL;
desc              153 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_IN_USE, &desc->flags);
desc              154 drivers/usb/class/cdc-wdm.c 	wake_up(&desc->wait);
desc              160 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = urb->context;
desc              164 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              165 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_RESPONDING, &desc->flags);
desc              170 drivers/usb/class/cdc-wdm.c 			dev_dbg(&desc->intf->dev,
desc              174 drivers/usb/class/cdc-wdm.c 			dev_dbg(&desc->intf->dev,
desc              178 drivers/usb/class/cdc-wdm.c 			dev_dbg(&desc->intf->dev,
desc              182 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev,
desc              186 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev,
desc              198 drivers/usb/class/cdc-wdm.c 	if (desc->rerr == 0 && status != -EPIPE)
desc              199 drivers/usb/class/cdc-wdm.c 		desc->rerr = status;
desc              201 drivers/usb/class/cdc-wdm.c 	if (length + desc->length > desc->wMaxCommand) {
desc              203 drivers/usb/class/cdc-wdm.c 		set_bit(WDM_OVERFLOW, &desc->flags);
desc              206 drivers/usb/class/cdc-wdm.c 		if (!test_bit(WDM_OVERFLOW, &desc->flags)) {
desc              207 drivers/usb/class/cdc-wdm.c 			memmove(desc->ubuf + desc->length, desc->inbuf, length);
desc              208 drivers/usb/class/cdc-wdm.c 			desc->length += length;
desc              209 drivers/usb/class/cdc-wdm.c 			desc->reslength = length;
desc              214 drivers/usb/class/cdc-wdm.c 	if (desc->rerr) {
desc              221 drivers/usb/class/cdc-wdm.c 		schedule_work(&desc->service_outs_intr);
desc              223 drivers/usb/class/cdc-wdm.c 		set_bit(WDM_READ, &desc->flags);
desc              224 drivers/usb/class/cdc-wdm.c 		wake_up(&desc->wait);
desc              226 drivers/usb/class/cdc-wdm.c 	spin_unlock_irqrestore(&desc->iuspin, flags);
desc              235 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              238 drivers/usb/class/cdc-wdm.c 	desc = urb->context;
desc              239 drivers/usb/class/cdc-wdm.c 	dr = (struct usb_cdc_notification *)desc->sbuf;
desc              248 drivers/usb/class/cdc-wdm.c 			set_bit(WDM_INT_STALL, &desc->flags);
desc              249 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev, "Stall on int endpoint\n");
desc              252 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev,
desc              259 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev, "wdm_int_callback - %d bytes\n",
desc              266 drivers/usb/class/cdc-wdm.c 		dev_dbg(&desc->intf->dev,
desc              273 drivers/usb/class/cdc-wdm.c 		dev_dbg(&desc->intf->dev,
desc              278 drivers/usb/class/cdc-wdm.c 		dev_dbg(&desc->intf->dev, "SPEED_CHANGE received (len %u)\n",
desc              282 drivers/usb/class/cdc-wdm.c 		clear_bit(WDM_POLL_RUNNING, &desc->flags);
desc              283 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev,
desc              291 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              292 drivers/usb/class/cdc-wdm.c 	responding = test_and_set_bit(WDM_RESPONDING, &desc->flags);
desc              293 drivers/usb/class/cdc-wdm.c 	if (!desc->resp_count++ && !responding
desc              294 drivers/usb/class/cdc-wdm.c 		&& !test_bit(WDM_DISCONNECTING, &desc->flags)
desc              295 drivers/usb/class/cdc-wdm.c 		&& !test_bit(WDM_SUSPENDING, &desc->flags)) {
desc              296 drivers/usb/class/cdc-wdm.c 		rv = usb_submit_urb(desc->response, GFP_ATOMIC);
desc              297 drivers/usb/class/cdc-wdm.c 		dev_dbg(&desc->intf->dev, "submit response URB %d\n", rv);
desc              299 drivers/usb/class/cdc-wdm.c 	spin_unlock_irqrestore(&desc->iuspin, flags);
desc              301 drivers/usb/class/cdc-wdm.c 		clear_bit(WDM_RESPONDING, &desc->flags);
desc              306 drivers/usb/class/cdc-wdm.c 			rv = schedule_work(&desc->rxwork);
desc              308 drivers/usb/class/cdc-wdm.c 				dev_err(&desc->intf->dev,
desc              315 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev,
desc              321 drivers/usb/class/cdc-wdm.c static void kill_urbs(struct wdm_device *desc)
desc              324 drivers/usb/class/cdc-wdm.c 	usb_kill_urb(desc->command);
desc              325 drivers/usb/class/cdc-wdm.c 	usb_kill_urb(desc->validity);
desc              326 drivers/usb/class/cdc-wdm.c 	usb_kill_urb(desc->response);
desc              329 drivers/usb/class/cdc-wdm.c static void free_urbs(struct wdm_device *desc)
desc              331 drivers/usb/class/cdc-wdm.c 	usb_free_urb(desc->validity);
desc              332 drivers/usb/class/cdc-wdm.c 	usb_free_urb(desc->response);
desc              333 drivers/usb/class/cdc-wdm.c 	usb_free_urb(desc->command);
desc              336 drivers/usb/class/cdc-wdm.c static void cleanup(struct wdm_device *desc)
desc              338 drivers/usb/class/cdc-wdm.c 	kfree(desc->sbuf);
desc              339 drivers/usb/class/cdc-wdm.c 	kfree(desc->inbuf);
desc              340 drivers/usb/class/cdc-wdm.c 	kfree(desc->orq);
desc              341 drivers/usb/class/cdc-wdm.c 	kfree(desc->irq);
desc              342 drivers/usb/class/cdc-wdm.c 	kfree(desc->ubuf);
desc              343 drivers/usb/class/cdc-wdm.c 	free_urbs(desc);
desc              344 drivers/usb/class/cdc-wdm.c 	kfree(desc);
desc              352 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              355 drivers/usb/class/cdc-wdm.c 	if (count > desc->wMaxCommand)
desc              356 drivers/usb/class/cdc-wdm.c 		count = desc->wMaxCommand;
desc              358 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc              359 drivers/usb/class/cdc-wdm.c 	we = desc->werr;
desc              360 drivers/usb/class/cdc-wdm.c 	desc->werr = 0;
desc              361 drivers/usb/class/cdc-wdm.c 	spin_unlock_irq(&desc->iuspin);
desc              370 drivers/usb/class/cdc-wdm.c 	r = mutex_lock_interruptible(&desc->wlock);
desc              375 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              380 drivers/usb/class/cdc-wdm.c 	r = usb_autopm_get_interface(desc->intf);
desc              387 drivers/usb/class/cdc-wdm.c 		r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE,
desc              388 drivers/usb/class/cdc-wdm.c 								&desc->flags));
desc              390 drivers/usb/class/cdc-wdm.c 		if (test_bit(WDM_IN_USE, &desc->flags))
desc              393 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_RESETTING, &desc->flags))
desc              401 drivers/usb/class/cdc-wdm.c 	req = desc->orq;
desc              403 drivers/usb/class/cdc-wdm.c 		desc->command,
desc              404 drivers/usb/class/cdc-wdm.c 		interface_to_usbdev(desc->intf),
desc              406 drivers/usb/class/cdc-wdm.c 		usb_sndctrlpipe(interface_to_usbdev(desc->intf), 0),
desc              411 drivers/usb/class/cdc-wdm.c 		desc
desc              418 drivers/usb/class/cdc-wdm.c 	req->wIndex = desc->inum; /* already converted */
desc              420 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_IN_USE, &desc->flags);
desc              421 drivers/usb/class/cdc-wdm.c 	desc->outbuf = buf;
desc              423 drivers/usb/class/cdc-wdm.c 	rv = usb_submit_urb(desc->command, GFP_KERNEL);
desc              425 drivers/usb/class/cdc-wdm.c 		desc->outbuf = NULL;
desc              426 drivers/usb/class/cdc-wdm.c 		clear_bit(WDM_IN_USE, &desc->flags);
desc              427 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev, "Tx URB error: %d\n", rv);
desc              431 drivers/usb/class/cdc-wdm.c 		dev_dbg(&desc->intf->dev, "Tx URB has been submitted index=%d\n",
desc              435 drivers/usb/class/cdc-wdm.c 	usb_autopm_put_interface(desc->intf);
desc              436 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc              440 drivers/usb/class/cdc-wdm.c 	usb_autopm_put_interface(desc->intf);
desc              442 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc              453 drivers/usb/class/cdc-wdm.c static int service_outstanding_interrupt(struct wdm_device *desc)
desc              458 drivers/usb/class/cdc-wdm.c 	if (!desc->resp_count || !--desc->resp_count)
desc              461 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_RESPONDING, &desc->flags);
desc              462 drivers/usb/class/cdc-wdm.c 	spin_unlock_irq(&desc->iuspin);
desc              463 drivers/usb/class/cdc-wdm.c 	rv = usb_submit_urb(desc->response, GFP_KERNEL);
desc              464 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc              466 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev,
desc              470 drivers/usb/class/cdc-wdm.c 		clear_bit(WDM_RESPONDING, &desc->flags);
desc              471 drivers/usb/class/cdc-wdm.c 		desc->resp_count = 0;
desc              482 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              485 drivers/usb/class/cdc-wdm.c 	rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */
desc              489 drivers/usb/class/cdc-wdm.c 	cntr = READ_ONCE(desc->length);
desc              491 drivers/usb/class/cdc-wdm.c 		desc->read = 0;
desc              493 drivers/usb/class/cdc-wdm.c 		if (test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              497 drivers/usb/class/cdc-wdm.c 		if (test_bit(WDM_OVERFLOW, &desc->flags)) {
desc              498 drivers/usb/class/cdc-wdm.c 			clear_bit(WDM_OVERFLOW, &desc->flags);
desc              504 drivers/usb/class/cdc-wdm.c 			if (!test_bit(WDM_READ, &desc->flags)) {
desc              510 drivers/usb/class/cdc-wdm.c 			rv = wait_event_interruptible(desc->wait,
desc              511 drivers/usb/class/cdc-wdm.c 				test_bit(WDM_READ, &desc->flags));
desc              515 drivers/usb/class/cdc-wdm.c 		if (test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              519 drivers/usb/class/cdc-wdm.c 		if (test_bit(WDM_RESETTING, &desc->flags)) {
desc              523 drivers/usb/class/cdc-wdm.c 		usb_mark_last_busy(interface_to_usbdev(desc->intf));
desc              529 drivers/usb/class/cdc-wdm.c 		spin_lock_irq(&desc->iuspin);
desc              531 drivers/usb/class/cdc-wdm.c 		if (desc->rerr) { /* read completed, error happened */
desc              532 drivers/usb/class/cdc-wdm.c 			rv = usb_translate_errors(desc->rerr);
desc              533 drivers/usb/class/cdc-wdm.c 			desc->rerr = 0;
desc              534 drivers/usb/class/cdc-wdm.c 			spin_unlock_irq(&desc->iuspin);
desc              541 drivers/usb/class/cdc-wdm.c 		if (!test_bit(WDM_READ, &desc->flags)) { /* lost race */
desc              542 drivers/usb/class/cdc-wdm.c 			spin_unlock_irq(&desc->iuspin);
desc              546 drivers/usb/class/cdc-wdm.c 		if (!desc->reslength) { /* zero length read */
desc              547 drivers/usb/class/cdc-wdm.c 			dev_dbg(&desc->intf->dev, "zero length - clearing WDM_READ\n");
desc              548 drivers/usb/class/cdc-wdm.c 			clear_bit(WDM_READ, &desc->flags);
desc              549 drivers/usb/class/cdc-wdm.c 			rv = service_outstanding_interrupt(desc);
desc              550 drivers/usb/class/cdc-wdm.c 			spin_unlock_irq(&desc->iuspin);
desc              555 drivers/usb/class/cdc-wdm.c 		cntr = desc->length;
desc              556 drivers/usb/class/cdc-wdm.c 		spin_unlock_irq(&desc->iuspin);
desc              561 drivers/usb/class/cdc-wdm.c 	rv = copy_to_user(buffer, desc->ubuf, cntr);
desc              567 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc              569 drivers/usb/class/cdc-wdm.c 	for (i = 0; i < desc->length - cntr; i++)
desc              570 drivers/usb/class/cdc-wdm.c 		desc->ubuf[i] = desc->ubuf[i + cntr];
desc              572 drivers/usb/class/cdc-wdm.c 	desc->length -= cntr;
desc              574 drivers/usb/class/cdc-wdm.c 	if (!desc->length) {
desc              575 drivers/usb/class/cdc-wdm.c 		clear_bit(WDM_READ, &desc->flags);
desc              576 drivers/usb/class/cdc-wdm.c 		service_outstanding_interrupt(desc);
desc              578 drivers/usb/class/cdc-wdm.c 	spin_unlock_irq(&desc->iuspin);
desc              582 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->rlock);
desc              588 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              590 drivers/usb/class/cdc-wdm.c 	wait_event(desc->wait,
desc              597 drivers/usb/class/cdc-wdm.c 			!test_bit(WDM_IN_USE, &desc->flags) ||
desc              598 drivers/usb/class/cdc-wdm.c 			test_bit(WDM_DISCONNECTING, &desc->flags));
desc              601 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_DISCONNECTING, &desc->flags))
desc              603 drivers/usb/class/cdc-wdm.c 	if (desc->werr < 0)
desc              604 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev, "Error in flush path: %d\n",
desc              605 drivers/usb/class/cdc-wdm.c 			desc->werr);
desc              607 drivers/usb/class/cdc-wdm.c 	return usb_translate_errors(desc->werr);
desc              612 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              616 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              617 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              619 drivers/usb/class/cdc-wdm.c 		spin_unlock_irqrestore(&desc->iuspin, flags);
desc              622 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_READ, &desc->flags))
desc              624 drivers/usb/class/cdc-wdm.c 	if (desc->rerr || desc->werr)
desc              626 drivers/usb/class/cdc-wdm.c 	if (!test_bit(WDM_IN_USE, &desc->flags))
desc              628 drivers/usb/class/cdc-wdm.c 	spin_unlock_irqrestore(&desc->iuspin, flags);
desc              630 drivers/usb/class/cdc-wdm.c 	poll_wait(file, &desc->wait, wait);
desc              641 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              644 drivers/usb/class/cdc-wdm.c 	desc = wdm_find_device_by_minor(minor);
desc              645 drivers/usb/class/cdc-wdm.c 	if (!desc)
desc              648 drivers/usb/class/cdc-wdm.c 	intf = desc->intf;
desc              649 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_DISCONNECTING, &desc->flags))
desc              651 drivers/usb/class/cdc-wdm.c 	file->private_data = desc;
desc              653 drivers/usb/class/cdc-wdm.c 	rv = usb_autopm_get_interface(desc->intf);
desc              655 drivers/usb/class/cdc-wdm.c 		dev_err(&desc->intf->dev, "Error autopm - %d\n", rv);
desc              660 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->wlock);
desc              661 drivers/usb/class/cdc-wdm.c 	if (!desc->count++) {
desc              662 drivers/usb/class/cdc-wdm.c 		desc->werr = 0;
desc              663 drivers/usb/class/cdc-wdm.c 		desc->rerr = 0;
desc              664 drivers/usb/class/cdc-wdm.c 		rv = usb_submit_urb(desc->validity, GFP_KERNEL);
desc              666 drivers/usb/class/cdc-wdm.c 			desc->count--;
desc              667 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev,
desc              674 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc              675 drivers/usb/class/cdc-wdm.c 	if (desc->count == 1)
desc              676 drivers/usb/class/cdc-wdm.c 		desc->manage_power(intf, 1);
desc              677 drivers/usb/class/cdc-wdm.c 	usb_autopm_put_interface(desc->intf);
desc              685 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              690 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->wlock);
desc              691 drivers/usb/class/cdc-wdm.c 	desc->count--;
desc              692 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc              694 drivers/usb/class/cdc-wdm.c 	if (!desc->count) {
desc              695 drivers/usb/class/cdc-wdm.c 		if (!test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              696 drivers/usb/class/cdc-wdm.c 			dev_dbg(&desc->intf->dev, "wdm_release: cleanup\n");
desc              697 drivers/usb/class/cdc-wdm.c 			kill_urbs(desc);
desc              698 drivers/usb/class/cdc-wdm.c 			spin_lock_irq(&desc->iuspin);
desc              699 drivers/usb/class/cdc-wdm.c 			desc->resp_count = 0;
desc              700 drivers/usb/class/cdc-wdm.c 			spin_unlock_irq(&desc->iuspin);
desc              701 drivers/usb/class/cdc-wdm.c 			desc->manage_power(desc->intf, 0);
desc              705 drivers/usb/class/cdc-wdm.c 			cleanup(desc);
desc              714 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = file->private_data;
desc              719 drivers/usb/class/cdc-wdm.c 		if (copy_to_user((void __user *)arg, &desc->wMaxCommand, sizeof(desc->wMaxCommand)))
desc              750 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = container_of(work, struct wdm_device, rxwork);
desc              755 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              756 drivers/usb/class/cdc-wdm.c 	if (test_bit(WDM_DISCONNECTING, &desc->flags)) {
desc              757 drivers/usb/class/cdc-wdm.c 		spin_unlock_irqrestore(&desc->iuspin, flags);
desc              759 drivers/usb/class/cdc-wdm.c 		responding = test_and_set_bit(WDM_RESPONDING, &desc->flags);
desc              760 drivers/usb/class/cdc-wdm.c 		spin_unlock_irqrestore(&desc->iuspin, flags);
desc              762 drivers/usb/class/cdc-wdm.c 			rv = usb_submit_urb(desc->response, GFP_KERNEL);
desc              764 drivers/usb/class/cdc-wdm.c 			spin_lock_irqsave(&desc->iuspin, flags);
desc              765 drivers/usb/class/cdc-wdm.c 			clear_bit(WDM_RESPONDING, &desc->flags);
desc              766 drivers/usb/class/cdc-wdm.c 			if (!test_bit(WDM_DISCONNECTING, &desc->flags))
desc              767 drivers/usb/class/cdc-wdm.c 				schedule_work(&desc->rxwork);
desc              768 drivers/usb/class/cdc-wdm.c 			spin_unlock_irqrestore(&desc->iuspin, flags);
desc              775 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              777 drivers/usb/class/cdc-wdm.c 	desc = container_of(work, struct wdm_device, service_outs_intr);
desc              779 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc              780 drivers/usb/class/cdc-wdm.c 	service_outstanding_interrupt(desc);
desc              781 drivers/usb/class/cdc-wdm.c 	if (!desc->resp_count) {
desc              782 drivers/usb/class/cdc-wdm.c 		set_bit(WDM_READ, &desc->flags);
desc              783 drivers/usb/class/cdc-wdm.c 		wake_up(&desc->wait);
desc              785 drivers/usb/class/cdc-wdm.c 	spin_unlock_irq(&desc->iuspin);
desc              794 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              796 drivers/usb/class/cdc-wdm.c 	desc = kzalloc(sizeof(struct wdm_device), GFP_KERNEL);
desc              797 drivers/usb/class/cdc-wdm.c 	if (!desc)
desc              799 drivers/usb/class/cdc-wdm.c 	INIT_LIST_HEAD(&desc->device_list);
desc              800 drivers/usb/class/cdc-wdm.c 	mutex_init(&desc->rlock);
desc              801 drivers/usb/class/cdc-wdm.c 	mutex_init(&desc->wlock);
desc              802 drivers/usb/class/cdc-wdm.c 	spin_lock_init(&desc->iuspin);
desc              803 drivers/usb/class/cdc-wdm.c 	init_waitqueue_head(&desc->wait);
desc              804 drivers/usb/class/cdc-wdm.c 	desc->wMaxCommand = bufsize;
desc              806 drivers/usb/class/cdc-wdm.c 	desc->inum = cpu_to_le16((u16)intf->cur_altsetting->desc.bInterfaceNumber);
desc              807 drivers/usb/class/cdc-wdm.c 	desc->intf = intf;
desc              808 drivers/usb/class/cdc-wdm.c 	INIT_WORK(&desc->rxwork, wdm_rxwork);
desc              809 drivers/usb/class/cdc-wdm.c 	INIT_WORK(&desc->service_outs_intr, service_interrupt_work);
desc              815 drivers/usb/class/cdc-wdm.c 	desc->wMaxPacketSize = usb_endpoint_maxp(ep);
desc              817 drivers/usb/class/cdc-wdm.c 	desc->orq = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL);
desc              818 drivers/usb/class/cdc-wdm.c 	if (!desc->orq)
desc              820 drivers/usb/class/cdc-wdm.c 	desc->irq = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL);
desc              821 drivers/usb/class/cdc-wdm.c 	if (!desc->irq)
desc              824 drivers/usb/class/cdc-wdm.c 	desc->validity = usb_alloc_urb(0, GFP_KERNEL);
desc              825 drivers/usb/class/cdc-wdm.c 	if (!desc->validity)
desc              828 drivers/usb/class/cdc-wdm.c 	desc->response = usb_alloc_urb(0, GFP_KERNEL);
desc              829 drivers/usb/class/cdc-wdm.c 	if (!desc->response)
desc              832 drivers/usb/class/cdc-wdm.c 	desc->command = usb_alloc_urb(0, GFP_KERNEL);
desc              833 drivers/usb/class/cdc-wdm.c 	if (!desc->command)
desc              836 drivers/usb/class/cdc-wdm.c 	desc->ubuf = kmalloc(desc->wMaxCommand, GFP_KERNEL);
desc              837 drivers/usb/class/cdc-wdm.c 	if (!desc->ubuf)
desc              840 drivers/usb/class/cdc-wdm.c 	desc->sbuf = kmalloc(desc->wMaxPacketSize, GFP_KERNEL);
desc              841 drivers/usb/class/cdc-wdm.c 	if (!desc->sbuf)
desc              844 drivers/usb/class/cdc-wdm.c 	desc->inbuf = kmalloc(desc->wMaxCommand, GFP_KERNEL);
desc              845 drivers/usb/class/cdc-wdm.c 	if (!desc->inbuf)
desc              849 drivers/usb/class/cdc-wdm.c 		desc->validity,
desc              852 drivers/usb/class/cdc-wdm.c 		desc->sbuf,
desc              853 drivers/usb/class/cdc-wdm.c 		desc->wMaxPacketSize,
desc              855 drivers/usb/class/cdc-wdm.c 		desc,
desc              859 drivers/usb/class/cdc-wdm.c 	desc->irq->bRequestType = (USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE);
desc              860 drivers/usb/class/cdc-wdm.c 	desc->irq->bRequest = USB_CDC_GET_ENCAPSULATED_RESPONSE;
desc              861 drivers/usb/class/cdc-wdm.c 	desc->irq->wValue = 0;
desc              862 drivers/usb/class/cdc-wdm.c 	desc->irq->wIndex = desc->inum; /* already converted */
desc              863 drivers/usb/class/cdc-wdm.c 	desc->irq->wLength = cpu_to_le16(desc->wMaxCommand);
desc              866 drivers/usb/class/cdc-wdm.c 		desc->response,
desc              869 drivers/usb/class/cdc-wdm.c 		usb_rcvctrlpipe(interface_to_usbdev(desc->intf), 0),
desc              870 drivers/usb/class/cdc-wdm.c 		(unsigned char *)desc->irq,
desc              871 drivers/usb/class/cdc-wdm.c 		desc->inbuf,
desc              872 drivers/usb/class/cdc-wdm.c 		desc->wMaxCommand,
desc              874 drivers/usb/class/cdc-wdm.c 		desc
desc              877 drivers/usb/class/cdc-wdm.c 	desc->manage_power = manage_power;
desc              880 drivers/usb/class/cdc-wdm.c 	list_add(&desc->device_list, &wdm_device_list);
desc              892 drivers/usb/class/cdc-wdm.c 	list_del(&desc->device_list);
desc              894 drivers/usb/class/cdc-wdm.c 	cleanup(desc);
desc              928 drivers/usb/class/cdc-wdm.c 	if (iface->desc.bNumEndpoints != 1)
desc              930 drivers/usb/class/cdc-wdm.c 	ep = &iface->endpoint[0].desc;
desc              976 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc;
desc              980 drivers/usb/class/cdc-wdm.c 	desc = wdm_find_device(intf);
desc              984 drivers/usb/class/cdc-wdm.c 	spin_lock_irqsave(&desc->iuspin, flags);
desc              985 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_DISCONNECTING, &desc->flags);
desc              986 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_READ, &desc->flags);
desc              987 drivers/usb/class/cdc-wdm.c 	spin_unlock_irqrestore(&desc->iuspin, flags);
desc              988 drivers/usb/class/cdc-wdm.c 	wake_up_all(&desc->wait);
desc              989 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->rlock);
desc              990 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->wlock);
desc              991 drivers/usb/class/cdc-wdm.c 	kill_urbs(desc);
desc              992 drivers/usb/class/cdc-wdm.c 	cancel_work_sync(&desc->rxwork);
desc              993 drivers/usb/class/cdc-wdm.c 	cancel_work_sync(&desc->service_outs_intr);
desc              994 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc              995 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->rlock);
desc              999 drivers/usb/class/cdc-wdm.c 	list_del(&desc->device_list);
desc             1002 drivers/usb/class/cdc-wdm.c 	if (!desc->count)
desc             1003 drivers/usb/class/cdc-wdm.c 		cleanup(desc);
desc             1005 drivers/usb/class/cdc-wdm.c 		dev_dbg(&intf->dev, "%d open files - postponing cleanup\n", desc->count);
desc             1012 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = wdm_find_device(intf);
desc             1015 drivers/usb/class/cdc-wdm.c 	dev_dbg(&desc->intf->dev, "wdm%d_suspend\n", intf->minor);
desc             1019 drivers/usb/class/cdc-wdm.c 		mutex_lock(&desc->rlock);
desc             1020 drivers/usb/class/cdc-wdm.c 		mutex_lock(&desc->wlock);
desc             1022 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc             1025 drivers/usb/class/cdc-wdm.c 			(test_bit(WDM_IN_USE, &desc->flags)
desc             1026 drivers/usb/class/cdc-wdm.c 			|| test_bit(WDM_RESPONDING, &desc->flags))) {
desc             1027 drivers/usb/class/cdc-wdm.c 		spin_unlock_irq(&desc->iuspin);
desc             1031 drivers/usb/class/cdc-wdm.c 		set_bit(WDM_SUSPENDING, &desc->flags);
desc             1032 drivers/usb/class/cdc-wdm.c 		spin_unlock_irq(&desc->iuspin);
desc             1034 drivers/usb/class/cdc-wdm.c 		kill_urbs(desc);
desc             1035 drivers/usb/class/cdc-wdm.c 		cancel_work_sync(&desc->rxwork);
desc             1036 drivers/usb/class/cdc-wdm.c 		cancel_work_sync(&desc->service_outs_intr);
desc             1039 drivers/usb/class/cdc-wdm.c 		mutex_unlock(&desc->wlock);
desc             1040 drivers/usb/class/cdc-wdm.c 		mutex_unlock(&desc->rlock);
desc             1047 drivers/usb/class/cdc-wdm.c static int recover_from_urb_loss(struct wdm_device *desc)
desc             1051 drivers/usb/class/cdc-wdm.c 	if (desc->count) {
desc             1052 drivers/usb/class/cdc-wdm.c 		rv = usb_submit_urb(desc->validity, GFP_NOIO);
desc             1054 drivers/usb/class/cdc-wdm.c 			dev_err(&desc->intf->dev,
desc             1063 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = wdm_find_device(intf);
desc             1066 drivers/usb/class/cdc-wdm.c 	dev_dbg(&desc->intf->dev, "wdm%d_resume\n", intf->minor);
desc             1068 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_SUSPENDING, &desc->flags);
desc             1069 drivers/usb/class/cdc-wdm.c 	rv = recover_from_urb_loss(desc);
desc             1077 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = wdm_find_device(intf);
desc             1085 drivers/usb/class/cdc-wdm.c 	spin_lock_irq(&desc->iuspin);
desc             1086 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_RESETTING, &desc->flags);	/* inform read/write */
desc             1087 drivers/usb/class/cdc-wdm.c 	set_bit(WDM_READ, &desc->flags);	/* unblock read */
desc             1088 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_IN_USE, &desc->flags);	/* unblock write */
desc             1089 drivers/usb/class/cdc-wdm.c 	desc->rerr = -EINTR;
desc             1090 drivers/usb/class/cdc-wdm.c 	spin_unlock_irq(&desc->iuspin);
desc             1091 drivers/usb/class/cdc-wdm.c 	wake_up_all(&desc->wait);
desc             1092 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->rlock);
desc             1093 drivers/usb/class/cdc-wdm.c 	mutex_lock(&desc->wlock);
desc             1094 drivers/usb/class/cdc-wdm.c 	kill_urbs(desc);
desc             1095 drivers/usb/class/cdc-wdm.c 	cancel_work_sync(&desc->rxwork);
desc             1096 drivers/usb/class/cdc-wdm.c 	cancel_work_sync(&desc->service_outs_intr);
desc             1102 drivers/usb/class/cdc-wdm.c 	struct wdm_device *desc = wdm_find_device(intf);
desc             1105 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_OVERFLOW, &desc->flags);
desc             1106 drivers/usb/class/cdc-wdm.c 	clear_bit(WDM_RESETTING, &desc->flags);
desc             1107 drivers/usb/class/cdc-wdm.c 	rv = recover_from_urb_loss(desc);
desc             1108 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->wlock);
desc             1109 drivers/usb/class/cdc-wdm.c 	mutex_unlock(&desc->rlock);
desc             1116 drivers/usb/class/usblp.c 	usblp->ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc             1248 drivers/usb/class/usblp.c 		if (ifd->desc.bInterfaceClass != USB_CLASS_PRINTER ||
desc             1249 drivers/usb/class/usblp.c 		    ifd->desc.bInterfaceSubClass != 1)
desc             1253 drivers/usb/class/usblp.c 		if (ifd->desc.bInterfaceProtocol < USBLP_FIRST_PROTOCOL ||
desc             1254 drivers/usb/class/usblp.c 		    ifd->desc.bInterfaceProtocol > USBLP_LAST_PROTOCOL)
desc             1258 drivers/usb/class/usblp.c 		if (ifd->desc.bInterfaceProtocol > 1) {
desc             1278 drivers/usb/class/usblp.c 		usblp->protocol[ifd->desc.bInterfaceProtocol].alt_setting =
desc             1279 drivers/usb/class/usblp.c 				ifd->desc.bAlternateSetting;
desc             1280 drivers/usb/class/usblp.c 		usblp->protocol[ifd->desc.bInterfaceProtocol].epwrite = epwrite;
desc             1281 drivers/usb/class/usblp.c 		usblp->protocol[ifd->desc.bInterfaceProtocol].epread = epread;
desc             2352 drivers/usb/class/usbtmc.c 	data->ifnum = iface_desc->desc.bInterfaceNumber;
desc               55 drivers/usb/core/config.c 	struct usb_ssp_isoc_ep_comp_descriptor *desc;
desc               61 drivers/usb/core/config.c 	desc = (struct usb_ssp_isoc_ep_comp_descriptor *) buffer;
desc               62 drivers/usb/core/config.c 	if (desc->bDescriptorType != USB_DT_SSP_ISOC_ENDPOINT_COMP ||
desc               66 drivers/usb/core/config.c 			 cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc               69 drivers/usb/core/config.c 	memcpy(&ep->ssp_isoc_ep_comp, desc, USB_DT_SSP_ISOC_EP_COMP_SIZE);
desc               76 drivers/usb/core/config.c 	struct usb_ss_ep_comp_descriptor *desc;
desc               82 drivers/usb/core/config.c 	desc = (struct usb_ss_ep_comp_descriptor *) buffer;
desc               84 drivers/usb/core/config.c 	if (desc->bDescriptorType != USB_DT_SS_ENDPOINT_COMP ||
desc               89 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              100 drivers/usb/core/config.c 		if (usb_endpoint_xfer_isoc(&ep->desc) ||
desc              101 drivers/usb/core/config.c 				usb_endpoint_xfer_int(&ep->desc))
desc              103 drivers/usb/core/config.c 					ep->desc.wMaxPacketSize;
desc              106 drivers/usb/core/config.c 	buffer += desc->bLength;
desc              107 drivers/usb/core/config.c 	size -= desc->bLength;
desc              108 drivers/usb/core/config.c 	memcpy(&ep->ss_ep_comp, desc, USB_DT_SS_EP_COMP_SIZE);
desc              111 drivers/usb/core/config.c 	if (usb_endpoint_xfer_control(&ep->desc) && desc->bMaxBurst != 0) {
desc              114 drivers/usb/core/config.c 				"setting to zero\n", desc->bMaxBurst,
desc              115 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              117 drivers/usb/core/config.c 	} else if (desc->bMaxBurst > 15) {
desc              120 drivers/usb/core/config.c 				"setting to 15\n", desc->bMaxBurst,
desc              121 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              125 drivers/usb/core/config.c 	if ((usb_endpoint_xfer_control(&ep->desc) ||
desc              126 drivers/usb/core/config.c 			usb_endpoint_xfer_int(&ep->desc)) &&
desc              127 drivers/usb/core/config.c 				desc->bmAttributes != 0) {
desc              131 drivers/usb/core/config.c 				usb_endpoint_xfer_control(&ep->desc) ? "Control" : "Bulk",
desc              132 drivers/usb/core/config.c 				desc->bmAttributes,
desc              133 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              135 drivers/usb/core/config.c 	} else if (usb_endpoint_xfer_bulk(&ep->desc) &&
desc              136 drivers/usb/core/config.c 			desc->bmAttributes > 16) {
desc              140 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              142 drivers/usb/core/config.c 	} else if (usb_endpoint_xfer_isoc(&ep->desc) &&
desc              143 drivers/usb/core/config.c 		   !USB_SS_SSP_ISOC_COMP(desc->bmAttributes) &&
desc              144 drivers/usb/core/config.c 		   USB_SS_MULT(desc->bmAttributes) > 3) {
desc              148 drivers/usb/core/config.c 				USB_SS_MULT(desc->bmAttributes),
desc              149 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress);
desc              153 drivers/usb/core/config.c 	if (usb_endpoint_xfer_isoc(&ep->desc))
desc              154 drivers/usb/core/config.c 		max_tx = (desc->bMaxBurst + 1) *
desc              155 drivers/usb/core/config.c 			(USB_SS_MULT(desc->bmAttributes)) *
desc              156 drivers/usb/core/config.c 			usb_endpoint_maxp(&ep->desc);
desc              157 drivers/usb/core/config.c 	else if (usb_endpoint_xfer_int(&ep->desc))
desc              158 drivers/usb/core/config.c 		max_tx = usb_endpoint_maxp(&ep->desc) *
desc              159 drivers/usb/core/config.c 			(desc->bMaxBurst + 1);
desc              162 drivers/usb/core/config.c 	if (le16_to_cpu(desc->wBytesPerInterval) > max_tx) {
desc              166 drivers/usb/core/config.c 				usb_endpoint_xfer_isoc(&ep->desc) ? "Isoc" : "Int",
desc              167 drivers/usb/core/config.c 				le16_to_cpu(desc->wBytesPerInterval),
desc              168 drivers/usb/core/config.c 				cfgno, inum, asnum, ep->desc.bEndpointAddress,
desc              173 drivers/usb/core/config.c 	if (usb_endpoint_xfer_isoc(&ep->desc) &&
desc              174 drivers/usb/core/config.c 	    USB_SS_SSP_ISOC_COMP(desc->bmAttributes))
desc              232 drivers/usb/core/config.c 	for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc              238 drivers/usb/core/config.c 			if (alt->desc.bInterfaceNumber == inum &&
desc              239 drivers/usb/core/config.c 					alt->desc.bAlternateSetting != asnum)
desc              242 drivers/usb/core/config.c 			for (k = 0; k < alt->desc.bNumEndpoints; ++k) {
desc              243 drivers/usb/core/config.c 				epd = &alt->endpoint[k].desc;
desc              291 drivers/usb/core/config.c 	if (ifp->desc.bNumEndpoints >= num_ep)
desc              311 drivers/usb/core/config.c 	endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints];
desc              312 drivers/usb/core/config.c 	++ifp->desc.bNumEndpoints;
desc              314 drivers/usb/core/config.c 	memcpy(&endpoint->desc, d, n);
desc              388 drivers/usb/core/config.c 		endpoint->desc.bInterval = n;
desc              400 drivers/usb/core/config.c 		endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT;
desc              401 drivers/usb/core/config.c 		endpoint->desc.bInterval = 1;
desc              402 drivers/usb/core/config.c 		if (usb_endpoint_maxp(&endpoint->desc) > 8)
desc              403 drivers/usb/core/config.c 			endpoint->desc.wMaxPacketSize = cpu_to_le16(8);
desc              412 drivers/usb/core/config.c 	maxp = usb_endpoint_maxp(&endpoint->desc);
desc              442 drivers/usb/core/config.c 	j = maxpacket_maxes[usb_endpoint_type(&endpoint->desc)];
desc              448 drivers/usb/core/config.c 		endpoint->desc.wMaxPacketSize = cpu_to_le16(i | maxp);
desc              525 drivers/usb/core/config.c 	for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc              539 drivers/usb/core/config.c 		if (alt->desc.bAlternateSetting == asnum) {
desc              548 drivers/usb/core/config.c 	memcpy(&alt->desc, d, USB_DT_INTERFACE_SIZE);
desc              563 drivers/usb/core/config.c 	num_ep = num_ep_orig = alt->desc.bNumEndpoints;
desc              564 drivers/usb/core/config.c 	alt->desc.bNumEndpoints = 0;		/* Use as a counter */
desc              625 drivers/usb/core/config.c 	memcpy(&config->desc, buffer, USB_DT_CONFIG_SIZE);
desc              626 drivers/usb/core/config.c 	nintf = nintf_orig = config->desc.bNumInterfaces;
desc              627 drivers/usb/core/config.c 	config->desc.bNumInterfaces = 0;	// Adjusted later
desc              629 drivers/usb/core/config.c 	if (config->desc.bDescriptorType != USB_DT_CONFIG ||
desc              630 drivers/usb/core/config.c 	    config->desc.bLength < USB_DT_CONFIG_SIZE ||
desc              631 drivers/usb/core/config.c 	    config->desc.bLength > size) {
desc              634 drivers/usb/core/config.c 		    config->desc.bDescriptorType, config->desc.bLength);
desc              637 drivers/usb/core/config.c 	cfgno = config->desc.bConfigurationValue;
desc              639 drivers/usb/core/config.c 	buffer += config->desc.bLength;
desc              640 drivers/usb/core/config.c 	size -= config->desc.bLength;
desc              744 drivers/usb/core/config.c 	config->desc.wTotalLength = cpu_to_le16(buffer2 - buffer0);
desc              752 drivers/usb/core/config.c 	config->desc.bNumInterfaces = nintf = n;
desc              813 drivers/usb/core/config.c 				if (intfc->altsetting[n].desc.
desc              848 drivers/usb/core/config.c 		for (i = 0; i < cf->desc.bNumInterfaces; i++) {
desc              872 drivers/usb/core/config.c 	struct usb_config_descriptor *desc;
desc              895 drivers/usb/core/config.c 	desc = kmalloc(USB_DT_CONFIG_SIZE, GFP_KERNEL);
desc              896 drivers/usb/core/config.c 	if (!desc)
desc              903 drivers/usb/core/config.c 		    desc, USB_DT_CONFIG_SIZE);
desc              919 drivers/usb/core/config.c 		length = max((int) le16_to_cpu(desc->wTotalLength),
desc              957 drivers/usb/core/config.c 	kfree(desc);
desc              968 drivers/usb/core/config.c 		kfree(dev->bos->desc);
desc             1026 drivers/usb/core/config.c 	dev->bos->desc = (struct usb_bos_descriptor *)buffer;
desc             1044 drivers/usb/core/config.c 			dev->bos->desc->bNumDeviceCaps = i;
desc             1050 drivers/usb/core/config.c 			dev->bos->desc->bNumDeviceCaps = i;
desc             1092 drivers/usb/core/config.c 	dev->bos->desc->wTotalLength = cpu_to_le16(buffer - buffer0);
desc              162 drivers/usb/core/devices.c 				const struct usb_endpoint_descriptor *desc)
desc              170 drivers/usb/core/devices.c 	dir = usb_endpoint_dir_in(desc) ? 'I' : 'O';
desc              173 drivers/usb/core/devices.c 		bandwidth = usb_endpoint_maxp_mult(desc);
desc              176 drivers/usb/core/devices.c 	switch (usb_endpoint_type(desc)) {
desc              180 drivers/usb/core/devices.c 			interval = desc->bInterval;
desc              187 drivers/usb/core/devices.c 		interval = 1 << (desc->bInterval - 1);
desc              192 drivers/usb/core/devices.c 			interval = desc->bInterval;
desc              199 drivers/usb/core/devices.c 			interval = 1 << (desc->bInterval - 1);
desc              201 drivers/usb/core/devices.c 			interval = desc->bInterval;
desc              215 drivers/usb/core/devices.c 	start += sprintf(start, format_endpt, desc->bEndpointAddress, dir,
desc              216 drivers/usb/core/devices.c 			 desc->bmAttributes, type,
desc              217 drivers/usb/core/devices.c 			 usb_endpoint_maxp(desc) *
desc              228 drivers/usb/core/devices.c 	const struct usb_interface_descriptor *desc;
desc              234 drivers/usb/core/devices.c 	desc = &intfc->altsetting[setno].desc;
desc              239 drivers/usb/core/devices.c 		active = (desc == &iface->cur_altsetting->desc);
desc              243 drivers/usb/core/devices.c 			 desc->bInterfaceNumber,
desc              244 drivers/usb/core/devices.c 			 desc->bAlternateSetting,
desc              245 drivers/usb/core/devices.c 			 desc->bNumEndpoints,
desc              246 drivers/usb/core/devices.c 			 desc->bInterfaceClass,
desc              247 drivers/usb/core/devices.c 			 class_decode(desc->bInterfaceClass),
desc              248 drivers/usb/core/devices.c 			 desc->bInterfaceSubClass,
desc              249 drivers/usb/core/devices.c 			 desc->bInterfaceProtocol,
desc              258 drivers/usb/core/devices.c 	const struct usb_host_interface *desc = &intfc->altsetting[setno];
desc              262 drivers/usb/core/devices.c 	for (i = 0; i < desc->desc.bNumEndpoints; i++) {
desc              266 drivers/usb/core/devices.c 				start, end, &desc->endpoint[i].desc);
desc              292 drivers/usb/core/devices.c 				const struct usb_config_descriptor *desc,
desc              306 drivers/usb/core/devices.c 			 desc->bNumInterfaces,
desc              307 drivers/usb/core/devices.c 			 desc->bConfigurationValue,
desc              308 drivers/usb/core/devices.c 			 desc->bmAttributes,
desc              309 drivers/usb/core/devices.c 			 desc->bMaxPower * mul);
desc              325 drivers/usb/core/devices.c 	start = usb_dump_config_descriptor(start, end, &config->desc, active,
desc              333 drivers/usb/core/devices.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc              350 drivers/usb/core/devices.c 				const struct usb_device_descriptor *desc)
desc              352 drivers/usb/core/devices.c 	u16 bcdUSB = le16_to_cpu(desc->bcdUSB);
desc              353 drivers/usb/core/devices.c 	u16 bcdDevice = le16_to_cpu(desc->bcdDevice);
desc              359 drivers/usb/core/devices.c 			  desc->bDeviceClass,
desc              360 drivers/usb/core/devices.c 			  class_decode(desc->bDeviceClass),
desc              361 drivers/usb/core/devices.c 			  desc->bDeviceSubClass,
desc              362 drivers/usb/core/devices.c 			  desc->bDeviceProtocol,
desc              363 drivers/usb/core/devices.c 			  desc->bMaxPacketSize0,
desc              364 drivers/usb/core/devices.c 			  desc->bNumConfigurations);
desc              368 drivers/usb/core/devices.c 			 le16_to_cpu(desc->idVendor),
desc              369 drivers/usb/core/devices.c 			 le16_to_cpu(desc->idProduct),
desc              429 drivers/usb/core/devices.c 				     const struct usb_hub_descriptor *desc)
desc              432 drivers/usb/core/devices.c 	unsigned char *ptr = (unsigned char *)desc;
desc              343 drivers/usb/core/devio.c 				le16_to_cpu(dev->config[i].desc.wTotalLength);
desc              697 drivers/usb/core/devio.c 	unsigned int ifnum = intf->altsetting->desc.bInterfaceNumber;
desc              842 drivers/usb/core/devio.c 	for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) {
desc              846 drivers/usb/core/devio.c 			for (e = 0; e < alts->desc.bNumEndpoints; e++) {
desc              847 drivers/usb/core/devio.c 				endpt = &alts->endpoint[e].desc;
desc              849 drivers/usb/core/devio.c 					return alts->desc.bInterfaceNumber;
desc              878 drivers/usb/core/devio.c 		 && alt_setting->desc.bInterfaceClass == USB_CLASS_PRINTER)
desc              977 drivers/usb/core/devio.c 			if (ifnum != intf->altsetting->desc.bInterfaceNumber) {
desc             1397 drivers/usb/core/devio.c 		for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) {
desc             1399 drivers/usb/core/devio.c 			number = interface->cur_altsetting->desc.bInterfaceNumber;
desc             1448 drivers/usb/core/devio.c 		for (i = 0; i < actconfig->desc.bNumInterfaces; ++i) {
desc             1455 drivers/usb/core/devio.c 						->desc.bInterfaceNumber,
desc             1469 drivers/usb/core/devio.c 		if (actconfig && actconfig->desc.bConfigurationValue == u)
desc             1552 drivers/usb/core/devio.c 		if (!usb_endpoint_xfer_control(&ep->desc))
desc             1598 drivers/usb/core/devio.c 		switch (usb_endpoint_type(&ep->desc)) {
desc             1615 drivers/usb/core/devio.c 		if (!usb_endpoint_xfer_int(&ep->desc))
desc             1629 drivers/usb/core/devio.c 		if (!usb_endpoint_xfer_isoc(&ep->desc))
desc             1785 drivers/usb/core/devio.c 	if (ep->desc.bInterval) {
desc             1790 drivers/usb/core/devio.c 					min(15, ep->desc.bInterval - 1);
desc             1792 drivers/usb/core/devio.c 			as->urb->interval = ep->desc.bInterval;
desc             1827 drivers/usb/core/devio.c 	if (usb_endpoint_xfer_bulk(&ep->desc)) {
desc             1834 drivers/usb/core/devio.c 		as->bulk_addr = usb_endpoint_num(&ep->desc) |
desc             1835 drivers/usb/core/devio.c 			((ep->desc.bEndpointAddress & USB_ENDPOINT_DIR_MASK)
desc             1946 drivers/usb/core/devio.c 	if (usb_endpoint_xfer_isoc(&urb->ep->desc)) {
desc             2119 drivers/usb/core/devio.c 	if (usb_endpoint_xfer_isoc(&urb->ep->desc)) {
desc             2397 drivers/usb/core/devio.c 				   intf->altsetting[0].desc.bInterfaceNumber);
desc             2416 drivers/usb/core/devio.c 				   intf->altsetting[0].desc.bInterfaceNumber);
desc              304 drivers/usb/core/driver.c 				intf->altsetting->desc.bInterfaceNumber);
desc              355 drivers/usb/core/driver.c 				desc.bInterfaceNumber, 0);
desc              426 drivers/usb/core/driver.c 	for (i = 0, j = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i++) {
desc              449 drivers/usb/core/driver.c 	if (intf->cur_altsetting->desc.bAlternateSetting == 0) {
desc              456 drivers/usb/core/driver.c 				desc.bInterfaceNumber, 0);
desc              659 drivers/usb/core/driver.c 	    (id->bInterfaceClass != intf->desc.bInterfaceClass))
desc              663 drivers/usb/core/driver.c 	    (id->bInterfaceSubClass != intf->desc.bInterfaceSubClass))
desc              667 drivers/usb/core/driver.c 	    (id->bInterfaceProtocol != intf->desc.bInterfaceProtocol))
desc              671 drivers/usb/core/driver.c 	    (id->bInterfaceNumber != intf->desc.bInterfaceNumber))
desc             1039 drivers/usb/core/driver.c 		for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc             1086 drivers/usb/core/driver.c 		for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc             1124 drivers/usb/core/driver.c 		for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc             1231 drivers/usb/core/driver.c 					desc.bInterfaceNumber, 0);
desc             1305 drivers/usb/core/driver.c 		n = udev->actconfig->desc.bNumInterfaces;
desc             1412 drivers/usb/core/driver.c 		for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) {
desc             1786 drivers/usb/core/driver.c 		for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) {
desc               21 drivers/usb/core/endpoint.c 	struct usb_endpoint_descriptor *desc;
desc               42 drivers/usb/core/endpoint.c 	return sprintf(buf, format_string, ep->desc->field);	\
desc               55 drivers/usb/core/endpoint.c 	return sprintf(buf, "%04x\n", usb_endpoint_maxp(ep->desc));
desc               65 drivers/usb/core/endpoint.c 	switch (usb_endpoint_type(ep->desc)) {
desc               91 drivers/usb/core/endpoint.c 	in = (ep->desc->bEndpointAddress & USB_DIR_IN);
desc               93 drivers/usb/core/endpoint.c 	switch (usb_endpoint_type(ep->desc)) {
desc               97 drivers/usb/core/endpoint.c 			interval = ep->desc->bInterval;
desc              101 drivers/usb/core/endpoint.c 		interval = 1 << (ep->desc->bInterval - 1);
desc              107 drivers/usb/core/endpoint.c 			interval = ep->desc->bInterval;
desc              112 drivers/usb/core/endpoint.c 			interval = 1 << (ep->desc->bInterval - 1);
desc              114 drivers/usb/core/endpoint.c 			interval = ep->desc->bInterval;
desc              135 drivers/usb/core/endpoint.c 	if (usb_endpoint_xfer_control(ep->desc))
desc              137 drivers/usb/core/endpoint.c 	else if (usb_endpoint_dir_in(ep->desc))
desc              189 drivers/usb/core/endpoint.c 	ep_dev->desc = &endpoint->desc;
desc              194 drivers/usb/core/endpoint.c 	dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress);
desc               32 drivers/usb/core/generic.c static int is_rndis(struct usb_interface_descriptor *desc)
desc               34 drivers/usb/core/generic.c 	return desc->bInterfaceClass == USB_CLASS_COMM
desc               35 drivers/usb/core/generic.c 		&& desc->bInterfaceSubClass == 2
desc               36 drivers/usb/core/generic.c 		&& desc->bInterfaceProtocol == 0xff;
desc               39 drivers/usb/core/generic.c static int is_activesync(struct usb_interface_descriptor *desc)
desc               41 drivers/usb/core/generic.c 	return desc->bInterfaceClass == USB_CLASS_MISC
desc               42 drivers/usb/core/generic.c 		&& desc->bInterfaceSubClass == 1
desc               43 drivers/usb/core/generic.c 		&& desc->bInterfaceProtocol == 1;
desc               46 drivers/usb/core/generic.c static bool is_audio(struct usb_interface_descriptor *desc)
desc               48 drivers/usb/core/generic.c 	return desc->bInterfaceClass == USB_CLASS_AUDIO;
desc               51 drivers/usb/core/generic.c static bool is_uac3_config(struct usb_interface_descriptor *desc)
desc               53 drivers/usb/core/generic.c 	return desc->bInterfaceProtocol == UAC_VERSION_3;
desc               70 drivers/usb/core/generic.c 		struct usb_interface_descriptor	*desc = NULL;
desc               73 drivers/usb/core/generic.c 		if (c->desc.bNumInterfaces > 0)
desc               74 drivers/usb/core/generic.c 			desc = &c->intf_cache[0]->altsetting->desc;
desc               98 drivers/usb/core/generic.c 		if (bus_powered && (c->desc.bmAttributes &
desc              127 drivers/usb/core/generic.c 		if (desc && is_audio(desc)) {
desc              129 drivers/usb/core/generic.c 			if (is_uac3_config(desc)) {
desc              151 drivers/usb/core/generic.c 		if (i == 0 && num_configs > 1 && desc &&
desc              152 drivers/usb/core/generic.c 				(is_rndis(desc) || is_activesync(desc))) {
desc              166 drivers/usb/core/generic.c 				(desc && desc->bInterfaceClass !=
desc              184 drivers/usb/core/generic.c 		i = best->desc.bConfigurationValue;
desc              838 drivers/usb/core/hcd.c 	if (usb_endpoint_xfer_int(&urb->ep->desc))
desc              840 drivers/usb/core/hcd.c 	if (usb_endpoint_xfer_control(&urb->ep->desc))
desc              860 drivers/usb/core/hcd.c 	if (usb_endpoint_num(&urb->ep->desc) == 0) {	/* Control URB */
desc              987 drivers/usb/core/hcd.c 	usb_dev->ep0.desc.wMaxPacketSize = cpu_to_le16(64);
desc             1409 drivers/usb/core/hcd.c 	if (usb_endpoint_xfer_control(&urb->ep->desc)) {
desc             1460 drivers/usb/core/hcd.c 				if (usb_endpoint_xfer_isoc(&urb->ep->desc)) {
desc             1778 drivers/usb/core/hcd.c 			urb, usb_endpoint_num(&ep->desc),
desc             1780 drivers/usb/core/hcd.c 			usb_ep_type_string(usb_endpoint_type(&ep->desc)));
desc             1864 drivers/usb/core/hcd.c 		num_intfs = new_config->desc.bNumInterfaces;
desc             1887 drivers/usb/core/hcd.c 			iface_num = first_alt->desc.bInterfaceNumber;
desc             1894 drivers/usb/core/hcd.c 			for (j = 0; j < alt->desc.bNumEndpoints; j++) {
desc             1903 drivers/usb/core/hcd.c 				cur_alt->desc.bInterfaceNumber);
desc             1923 drivers/usb/core/hcd.c 		for (i = 0; i < cur_alt->desc.bNumEndpoints; i++) {
desc             1930 drivers/usb/core/hcd.c 		for (i = 0; i < new_alt->desc.bNumEndpoints; i++) {
desc             1979 drivers/usb/core/hcd.c 		int epnum = usb_endpoint_num(&ep->desc);
desc             1980 drivers/usb/core/hcd.c 		int is_out = usb_endpoint_dir_out(&ep->desc);
desc             1981 drivers/usb/core/hcd.c 		int is_control = usb_endpoint_xfer_control(&ep->desc);
desc             2023 drivers/usb/core/hcd.c 		if (!usb_endpoint_xfer_bulk(&eps[i]->desc))
desc              375 drivers/usb/core/hub.c 		struct usb_hub_descriptor *desc)
desc              391 drivers/usb/core/hub.c 			dtype << 8, 0, desc, size,
desc              398 drivers/usb/core/hub.c 			size = USB_DT_HUB_NONVAR_SIZE + desc->bNbrPorts / 8 + 1;
desc             1611 drivers/usb/core/hub.c 	if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER)
desc             1747 drivers/usb/core/hub.c static bool hub_descriptor_is_sane(struct usb_host_interface *desc)
desc             1751 drivers/usb/core/hub.c 	if (desc->desc.bInterfaceSubClass != 0 &&
desc             1752 drivers/usb/core/hub.c 	    desc->desc.bInterfaceSubClass != 1)
desc             1756 drivers/usb/core/hub.c 	if (desc->desc.bNumEndpoints != 1)
desc             1760 drivers/usb/core/hub.c 	if (!usb_endpoint_is_int_in(&desc->endpoint[0].desc))
desc             1768 drivers/usb/core/hub.c 	struct usb_host_interface *desc;
desc             1772 drivers/usb/core/hub.c 	desc = intf->cur_altsetting;
desc             1843 drivers/usb/core/hub.c 	if (!hub_descriptor_is_sane(desc)) {
desc             1881 drivers/usb/core/hub.c 	if (hub_configure(hub, &desc->endpoint[0].desc) >= 0)
desc             2056 drivers/usb/core/hub.c 					udev->actconfig->desc.bmAttributes &
desc             2314 drivers/usb/core/hub.c 		struct usb_otg_descriptor	*desc = NULL;
desc             2320 drivers/usb/core/hub.c 				le16_to_cpu(udev->config[0].desc.wTotalLength),
desc             2321 drivers/usb/core/hub.c 				USB_DT_OTG, (void **) &desc, sizeof(*desc));
desc             2322 drivers/usb/core/hub.c 		if (err || !(desc->bmAttributes & USB_OTG_HNP))
desc             2346 drivers/usb/core/hub.c 		} else if (desc->bLength == sizeof
desc             4590 drivers/usb/core/hub.c 		udev->ep0.desc.wMaxPacketSize = cpu_to_le16(512);
desc             4593 drivers/usb/core/hub.c 		udev->ep0.desc.wMaxPacketSize = cpu_to_le16(64);
desc             4600 drivers/usb/core/hub.c 		udev->ep0.desc.wMaxPacketSize = cpu_to_le16(64);
desc             4603 drivers/usb/core/hub.c 		udev->ep0.desc.wMaxPacketSize = cpu_to_le16(8);
desc             4833 drivers/usb/core/hub.c 	if (usb_endpoint_maxp(&udev->ep0.desc) != i) {
desc             4844 drivers/usb/core/hub.c 		udev->ep0.desc.wMaxPacketSize = cpu_to_le16(i);
desc             5603 drivers/usb/core/hub.c 		len = le16_to_cpu(udev->bos->desc->wTotalLength);
desc             5604 drivers/usb/core/hub.c 		if (len != le16_to_cpu(old_bos->desc->wTotalLength))
desc             5606 drivers/usb/core/hub.c 		if (memcmp(udev->bos->desc, old_bos->desc, len))
desc             5621 drivers/usb/core/hub.c 		old_length = le16_to_cpu(udev->config[index].desc.wTotalLength);
desc             5631 drivers/usb/core/hub.c 		old_length = le16_to_cpu(udev->config[index].desc.wTotalLength);
desc             5777 drivers/usb/core/hub.c 			udev->actconfig->desc.bConfigurationValue, 0,
desc             5782 drivers/usb/core/hub.c 			udev->actconfig->desc.bConfigurationValue, ret);
desc             5795 drivers/usb/core/hub.c 	for (i = 0; i < udev->actconfig->desc.bNumInterfaces; i++) {
desc             5798 drivers/usb/core/hub.c 		struct usb_interface_descriptor *desc;
desc             5800 drivers/usb/core/hub.c 		desc = &intf->cur_altsetting->desc;
desc             5801 drivers/usb/core/hub.c 		if (desc->bAlternateSetting == 0) {
desc             5811 drivers/usb/core/hub.c 			ret = usb_set_interface(udev, desc->bInterfaceNumber,
desc             5812 drivers/usb/core/hub.c 					desc->bAlternateSetting);
desc             5818 drivers/usb/core/hub.c 				desc->bInterfaceNumber,
desc             5819 drivers/usb/core/hub.c 				desc->bAlternateSetting,
desc             5824 drivers/usb/core/hub.c 		for (j = 0; j < intf->cur_altsetting->desc.bNumEndpoints; j++)
desc             5905 drivers/usb/core/hub.c 		for (i = 0; i < config->desc.bNumInterfaces; ++i) {
desc             5928 drivers/usb/core/hub.c 		for (i = config->desc.bNumInterfaces - 1; i >= 0; --i) {
desc             6017 drivers/usb/core/hub.c 		struct usb_hub_descriptor *desc)
desc             6034 drivers/usb/core/hub.c 				if (!(desc->u.hs.DeviceRemovable[i/8] & mask)) {
desc             6036 drivers/usb/core/hub.c 					desc->u.hs.DeviceRemovable[i/8]	|= mask;
desc             6041 drivers/usb/core/hub.c 		u16 port_removable = le16_to_cpu(desc->u.ss.DeviceRemovable);
desc             6057 drivers/usb/core/hub.c 		desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable);
desc               69 drivers/usb/core/message.c 			usb_endpoint_num(&urb->ep->desc),
desc              243 drivers/usb/core/message.c 	if ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
desc              248 drivers/usb/core/message.c 				ep->desc.bInterval);
desc              295 drivers/usb/core/message.c 			usb_endpoint_num(&urb->ep->desc),
desc              917 drivers/usb/core/message.c 	struct usb_device_descriptor *desc;
desc              920 drivers/usb/core/message.c 	if (size > sizeof(*desc))
desc              922 drivers/usb/core/message.c 	desc = kmalloc(sizeof(*desc), GFP_NOIO);
desc              923 drivers/usb/core/message.c 	if (!desc)
desc              926 drivers/usb/core/message.c 	ret = usb_get_descriptor(dev, USB_DT_DEVICE, 0, desc, size);
desc              928 drivers/usb/core/message.c 		memcpy(&dev->descriptor, desc, size);
desc              929 drivers/usb/core/message.c 	kfree(desc);
desc             1104 drivers/usb/core/message.c 	for (i = 0; i < alt->desc.bNumEndpoints; ++i)
desc             1118 drivers/usb/core/message.c 	for (i = 0; i < alt->desc.bNumEndpoints; ++i)
desc             1200 drivers/usb/core/message.c 	for (i = 0; i < alt->desc.bNumEndpoints; ++i) {
desc             1202 drivers/usb/core/message.c 				alt->endpoint[i].desc.bEndpointAddress,
desc             1231 drivers/usb/core/message.c 		for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++)
desc             1234 drivers/usb/core/message.c 		for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) {
desc             1250 drivers/usb/core/message.c 		for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) {
desc             1296 drivers/usb/core/message.c 	int epnum = usb_endpoint_num(&ep->desc);
desc             1297 drivers/usb/core/message.c 	int is_out = usb_endpoint_dir_out(&ep->desc);
desc             1298 drivers/usb/core/message.c 	int is_control = usb_endpoint_xfer_control(&ep->desc);
desc             1323 drivers/usb/core/message.c 	for (i = 0; i < alt->desc.bNumEndpoints; ++i)
desc             1412 drivers/usb/core/message.c 	for (i = 0; i < iface->cur_altsetting->desc.bNumEndpoints; i++)
desc             1472 drivers/usb/core/message.c 		for (i = 0; i < alt->desc.bNumEndpoints; i++) {
desc             1473 drivers/usb/core/message.c 			epaddr = alt->endpoint[i].desc.bEndpointAddress;
desc             1556 drivers/usb/core/message.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc             1589 drivers/usb/core/message.c 			config->desc.bConfigurationValue, 0,
desc             1596 drivers/usb/core/message.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc             1688 drivers/usb/core/message.c 		   alt->desc.bInterfaceClass,
desc             1689 drivers/usb/core/message.c 		   alt->desc.bInterfaceSubClass,
desc             1690 drivers/usb/core/message.c 		   alt->desc.bInterfaceProtocol))
desc             1702 drivers/usb/core/message.c 		   alt->desc.bInterfaceClass,
desc             1703 drivers/usb/core/message.c 		   alt->desc.bInterfaceSubClass,
desc             1704 drivers/usb/core/message.c 		   alt->desc.bInterfaceProtocol,
desc             1705 drivers/usb/core/message.c 		   alt->desc.bInterfaceNumber))
desc             1824 drivers/usb/core/message.c 			if (dev->config[i].desc.bConfigurationValue ==
desc             1846 drivers/usb/core/message.c 		nintf = cp->desc.bNumInterfaces;
desc             1940 drivers/usb/core/message.c 		ifnum = alt->desc.bInterfaceNumber;
desc             2002 drivers/usb/core/message.c 		cp->string = usb_cache_string(dev, cp->desc.iConfiguration);
desc             2021 drivers/usb/core/message.c 				 intf->cur_altsetting->desc.bInterfaceNumber);
desc             2028 drivers/usb/core/message.c 			intf->cur_altsetting->desc.bInterfaceNumber);
desc             2156 drivers/usb/core/message.c 	struct usb_cdc_mdlm_desc *desc = NULL;
desc             2230 drivers/usb/core/message.c 			if (desc)
desc             2232 drivers/usb/core/message.c 			desc = (struct usb_cdc_mdlm_desc *)buffer;
desc             2278 drivers/usb/core/message.c 	hdr->usb_cdc_mdlm_desc = desc;
desc               69 drivers/usb/core/of.c 			cdesc = &udev->config->desc;
desc              537 drivers/usb/core/quirks.c 		for (j = 0; j < cfg->desc.bNumInterfaces; ++j) {
desc               39 drivers/usb/core/sysfs.c 				actconfig->desc.field);			\
desc              904 drivers/usb/core/sysfs.c 			srclen = __le16_to_cpu(udev->config[cfgno].desc.
desc             1105 drivers/usb/core/sysfs.c 			intf->cur_altsetting->desc.field); 		\
desc             1149 drivers/usb/core/sysfs.c 			alt->desc.bInterfaceClass,
desc             1150 drivers/usb/core/sysfs.c 			alt->desc.bInterfaceSubClass,
desc             1151 drivers/usb/core/sysfs.c 			alt->desc.bInterfaceProtocol,
desc             1152 drivers/usb/core/sysfs.c 			alt->desc.bInterfaceNumber);
desc             1264 drivers/usb/core/sysfs.c 		alt->string = usb_cache_string(udev, alt->desc.iInterface);
desc              209 drivers/usb/core/urb.c 	if (usb_pipetype(urb->pipe) != pipetypes[usb_endpoint_type(&ep->desc)])
desc              386 drivers/usb/core/urb.c 	xfertype = usb_endpoint_type(&ep->desc);
desc              396 drivers/usb/core/urb.c 		is_out = usb_endpoint_dir_out(&ep->desc);
desc              410 drivers/usb/core/urb.c 	max = usb_endpoint_maxp(&ep->desc);
desc              414 drivers/usb/core/urb.c 			usb_endpoint_num(&ep->desc), is_out ? "out" : "in",
desc              446 drivers/usb/core/urb.c 			max *= usb_endpoint_maxp_mult(&ep->desc);
desc              154 drivers/usb/core/usb.c 	for (i = 0; i < alt->desc.bNumEndpoints; ++i) {
desc              155 drivers/usb/core/usb.c 		epd = &alt->endpoint[i].desc;
desc              200 drivers/usb/core/usb.c 	for (i = alt->desc.bNumEndpoints - 1; i >= 0; --i) {
desc              201 drivers/usb/core/usb.c 		epd = &alt->endpoint[i].desc;
desc              232 drivers/usb/core/usb.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc              233 drivers/usb/core/usb.c 		if (config->intf_cache[i]->altsetting[0].desc.bInterfaceNumber
desc              242 drivers/usb/core/usb.c 		if (intf_cache->altsetting[i].desc.bAlternateSetting == alt_num)
desc              247 drivers/usb/core/usb.c 			config->desc.bConfigurationValue);
desc              281 drivers/usb/core/usb.c 	for (i = 0; i < config->desc.bNumInterfaces; i++)
desc              283 drivers/usb/core/usb.c 				.desc.bInterfaceNumber == ifnum)
desc              316 drivers/usb/core/usb.c 		if (intf->altsetting[i].desc.bAlternateSetting == altnum)
desc              621 drivers/usb/core/usb.c 	dev->ep0.desc.bLength = USB_DT_ENDPOINT_SIZE;
desc              622 drivers/usb/core/usb.c 	dev->ep0.desc.bDescriptorType = USB_DT_ENDPOINT;
desc               60 drivers/usb/core/usb.h 	return c->desc.bMaxPower * mul;
desc              203 drivers/usb/core/usb.h 		struct usb_hub_descriptor *desc);
desc              772 drivers/usb/dwc2/gadget.c 						 struct dwc2_dma_desc **desc,
desc              792 drivers/usb/dwc2/gadget.c 		(*desc)->status = 0;
desc              793 drivers/usb/dwc2/gadget.c 		(*desc)->status |= (DEV_DMA_BUFF_STS_HBUSY
desc              798 drivers/usb/dwc2/gadget.c 				(*desc)->status |= (DEV_DMA_L | DEV_DMA_IOC);
desc              800 drivers/usb/dwc2/gadget.c 			(*desc)->status |=
desc              802 drivers/usb/dwc2/gadget.c 			(*desc)->buf = dma_buff + offset;
desc              808 drivers/usb/dwc2/gadget.c 				(*desc)->status |= (DEV_DMA_L | DEV_DMA_IOC);
desc              811 drivers/usb/dwc2/gadget.c 				(*desc)->status |= (len % mps) ? DEV_DMA_SHORT :
desc              815 drivers/usb/dwc2/gadget.c 			(*desc)->status |=
desc              817 drivers/usb/dwc2/gadget.c 			(*desc)->buf = dma_buff + offset;
desc              820 drivers/usb/dwc2/gadget.c 		(*desc)->status &= ~DEV_DMA_BUFF_STS_MASK;
desc              821 drivers/usb/dwc2/gadget.c 		(*desc)->status |= (DEV_DMA_BUFF_STS_HREADY
desc              823 drivers/usb/dwc2/gadget.c 		(*desc)++;
desc              842 drivers/usb/dwc2/gadget.c 	struct dwc2_dma_desc *desc = hs_ep->desc_list;
desc              852 drivers/usb/dwc2/gadget.c 		dwc2_gadget_fill_nonisoc_xfer_ddma_one(hs_ep, &desc,
desc              859 drivers/usb/dwc2/gadget.c 		dwc2_gadget_fill_nonisoc_xfer_ddma_one(hs_ep, &desc,
desc              882 drivers/usb/dwc2/gadget.c 	struct dwc2_dma_desc *desc;
desc              892 drivers/usb/dwc2/gadget.c 	desc = &hs_ep->desc_list[index];
desc              895 drivers/usb/dwc2/gadget.c 	if ((desc->status >> DEV_DMA_BUFF_STS_SHIFT) ==
desc              908 drivers/usb/dwc2/gadget.c 	desc->status = 0;
desc              909 drivers/usb/dwc2/gadget.c 	desc->status |= (DEV_DMA_BUFF_STS_HBUSY	<< DEV_DMA_BUFF_STS_SHIFT);
desc              911 drivers/usb/dwc2/gadget.c 	desc->buf = dma_buff;
desc              912 drivers/usb/dwc2/gadget.c 	desc->status |= (DEV_DMA_L | DEV_DMA_IOC |
desc              920 drivers/usb/dwc2/gadget.c 		desc->status |= ((pid << DEV_DMA_ISOC_PID_SHIFT) &
desc              929 drivers/usb/dwc2/gadget.c 	desc->status &= ~DEV_DMA_BUFF_STS_MASK;
desc              930 drivers/usb/dwc2/gadget.c 	desc->status |= (DEV_DMA_BUFF_STS_HREADY << DEV_DMA_BUFF_STS_SHIFT);
desc              961 drivers/usb/dwc2/gadget.c 	struct dwc2_dma_desc *desc;
desc              971 drivers/usb/dwc2/gadget.c 		desc = &hs_ep->desc_list[i];
desc              972 drivers/usb/dwc2/gadget.c 		desc->status = 0;
desc              973 drivers/usb/dwc2/gadget.c 		desc->status |= (DEV_DMA_BUFF_STS_HBUSY
desc             2324 drivers/usb/dwc2/gadget.c 	struct dwc2_dma_desc *desc = hs_ep->desc_list;
desc             2328 drivers/usb/dwc2/gadget.c 	if (!desc)
desc             2332 drivers/usb/dwc2/gadget.c 		status = desc->status;
desc             2338 drivers/usb/dwc2/gadget.c 		desc++;
desc             3922 drivers/usb/dwc2/gadget.c 				const struct usb_endpoint_descriptor *desc)
desc             3941 drivers/usb/dwc2/gadget.c 		__func__, ep->name, desc->bEndpointAddress, desc->bmAttributes,
desc             3942 drivers/usb/dwc2/gadget.c 		desc->wMaxPacketSize, desc->bInterval);
desc             3950 drivers/usb/dwc2/gadget.c 	dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0;
desc             3956 drivers/usb/dwc2/gadget.c 	ep_type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc             3957 drivers/usb/dwc2/gadget.c 	mps = usb_endpoint_maxp(desc);
desc             3958 drivers/usb/dwc2/gadget.c 	mc = usb_endpoint_maxp_mult(desc);
desc             3962 drivers/usb/dwc2/gadget.c 	    dir_in && desc->bInterval > 10) {
desc             4018 drivers/usb/dwc2/gadget.c 	hs_ep->interval = desc->bInterval;
desc             4025 drivers/usb/dwc2/gadget.c 		hs_ep->interval = 1 << (desc->bInterval - 1);
desc             4050 drivers/usb/dwc2/gadget.c 			hs_ep->interval = 1 << (desc->bInterval - 1);
desc             4521 drivers/usb/dwc2/hcd.c 		 usb_endpoint_maxp(&urb->ep->desc),
desc             4522 drivers/usb/dwc2/hcd.c 		 usb_endpoint_maxp_mult(&urb->ep->desc));
desc             4606 drivers/usb/dwc2/hcd.c 				  usb_endpoint_maxp(&ep->desc),
desc             4607 drivers/usb/dwc2/hcd.c 				  usb_endpoint_maxp_mult(&ep->desc));
desc             4762 drivers/usb/dwc2/hcd.c 		ep->desc.bEndpointAddress, ep->hcpriv);
desc             4779 drivers/usb/dwc2/hcd.c 		ep->desc.bEndpointAddress);
desc              754 drivers/usb/dwc3/debugfs.c 			!dep->endpoint.desc) {
desc              759 drivers/usb/dwc3/debugfs.c 	switch (usb_endpoint_type(dep->endpoint.desc)) {
desc              200 drivers/usb/dwc3/ep0.c 	if (!dep->endpoint.desc) {
desc              271 drivers/usb/dwc3/gadget.c 	const struct usb_endpoint_descriptor *desc = dep->endpoint.desc;
desc              340 drivers/usb/dwc3/gadget.c 			!usb_endpoint_xfer_isoc(desc))
desc              543 drivers/usb/dwc3/gadget.c 	const struct usb_endpoint_descriptor *desc;
desc              548 drivers/usb/dwc3/gadget.c 	desc = dep->endpoint.desc;
desc              552 drivers/usb/dwc3/gadget.c 	params.param0 = DWC3_DEPCFG_EP_TYPE(usb_endpoint_type(desc))
desc              553 drivers/usb/dwc3/gadget.c 		| DWC3_DEPCFG_MAX_PACKET_SIZE(usb_endpoint_maxp(desc));
desc              565 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_control(desc))
desc              568 drivers/usb/dwc3/gadget.c 	if (dep->number <= 1 || usb_endpoint_xfer_isoc(desc))
desc              571 drivers/usb/dwc3/gadget.c 	if (usb_ss_max_streams(comp_desc) && usb_endpoint_xfer_bulk(desc)) {
desc              577 drivers/usb/dwc3/gadget.c 	if (!usb_endpoint_xfer_control(desc))
desc              595 drivers/usb/dwc3/gadget.c 	if (desc->bInterval) {
desc              596 drivers/usb/dwc3/gadget.c 		params.param1 |= DWC3_DEPCFG_BINTERVAL_M1(desc->bInterval - 1);
desc              597 drivers/usb/dwc3/gadget.c 		dep->interval = 1 << (desc->bInterval - 1);
desc              613 drivers/usb/dwc3/gadget.c 	const struct usb_endpoint_descriptor *desc = dep->endpoint.desc;
desc              633 drivers/usb/dwc3/gadget.c 		dep->type = usb_endpoint_type(desc);
desc              640 drivers/usb/dwc3/gadget.c 		if (usb_endpoint_xfer_control(desc))
desc              663 drivers/usb/dwc3/gadget.c 	if ((usb_endpoint_xfer_bulk(desc) && !dep->stream_capable) ||
desc              664 drivers/usb/dwc3/gadget.c 			usb_endpoint_xfer_int(desc)) {
desc              752 drivers/usb/dwc3/gadget.c 		dep->endpoint.desc = NULL;
desc              761 drivers/usb/dwc3/gadget.c 		const struct usb_endpoint_descriptor *desc)
desc              774 drivers/usb/dwc3/gadget.c 		const struct usb_endpoint_descriptor *desc)
desc              781 drivers/usb/dwc3/gadget.c 	if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
desc              786 drivers/usb/dwc3/gadget.c 	if (!desc->wMaxPacketSize) {
desc              922 drivers/usb/dwc3/gadget.c 	switch (usb_endpoint_type(dep->endpoint.desc)) {
desc              956 drivers/usb/dwc3/gadget.c 				unsigned int maxp = usb_endpoint_maxp(ep->desc);
desc              984 drivers/usb/dwc3/gadget.c 				usb_endpoint_type(dep->endpoint.desc));
desc              991 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_dir_out(dep->endpoint.desc)) {
desc             1006 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_bulk(dep->endpoint.desc) && dep->stream_capable)
desc             1067 drivers/usb/dwc3/gadget.c 		unsigned int maxp = usb_endpoint_maxp(dep->endpoint.desc);
desc             1081 drivers/usb/dwc3/gadget.c 		if (rem && usb_endpoint_dir_out(dep->endpoint.desc) && !chain) {
desc             1123 drivers/usb/dwc3/gadget.c 	unsigned int maxp = usb_endpoint_maxp(dep->endpoint.desc);
desc             1126 drivers/usb/dwc3/gadget.c 	if ((!length || rem) && usb_endpoint_dir_out(dep->endpoint.desc)) {
desc             1250 drivers/usb/dwc3/gadget.c 		if (usb_endpoint_xfer_isoc(dep->endpoint.desc))
desc             1432 drivers/usb/dwc3/gadget.c 	if (!dep->endpoint.desc) {
desc             1471 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) {
desc             1600 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc)) {
desc             2335 drivers/usb/dwc3/gadget.c 		dep->endpoint.desc = &dwc3_gadget_ep0_desc;
desc             2433 drivers/usb/dwc3/gadget.c 	if (usb_endpoint_xfer_isoc(dep->endpoint.desc) &&
desc             2659 drivers/usb/dwc3/gadget.c 			    !usb_endpoint_xfer_isoc(dep->endpoint.desc))
desc              238 drivers/usb/dwc3/trace.h 		__entry->type = usb_endpoint_type(dep->endpoint.desc);
desc              196 drivers/usb/gadget/composite.c 	_ep->desc = chosen_desc;
desc              201 drivers/usb/gadget/composite.c 	if (g->speed == USB_SPEED_HIGH && (usb_endpoint_xfer_isoc(_ep->desc) ||
desc              202 drivers/usb/gadget/composite.c 				usb_endpoint_xfer_int(_ep->desc)))
desc              203 drivers/usb/gadget/composite.c 		_ep->mult = usb_endpoint_maxp_mult(_ep->desc);
desc              218 drivers/usb/gadget/composite.c 		switch (usb_endpoint_type(_ep->desc)) {
desc              740 drivers/usb/gadget/composite.c 	qual->bcdUSB = cdev->desc.bcdUSB;
desc              741 drivers/usb/gadget/composite.c 	qual->bDeviceClass = cdev->desc.bDeviceClass;
desc              742 drivers/usb/gadget/composite.c 	qual->bDeviceSubClass = cdev->desc.bDeviceSubClass;
desc              743 drivers/usb/gadget/composite.c 	qual->bDeviceProtocol = cdev->desc.bDeviceProtocol;
desc             1623 drivers/usb/gadget/composite.c 			cdev->desc.bNumConfigurations =
desc             1625 drivers/usb/gadget/composite.c 			cdev->desc.bMaxPacketSize0 =
desc             1629 drivers/usb/gadget/composite.c 					cdev->desc.bcdUSB = cpu_to_le16(0x0320);
desc             1630 drivers/usb/gadget/composite.c 					cdev->desc.bMaxPacketSize0 = 9;
desc             1632 drivers/usb/gadget/composite.c 					cdev->desc.bcdUSB = cpu_to_le16(0x0210);
desc             1636 drivers/usb/gadget/composite.c 					cdev->desc.bcdUSB = cpu_to_le16(0x0201);
desc             1638 drivers/usb/gadget/composite.c 					cdev->desc.bcdUSB = cpu_to_le16(0x0200);
desc             1641 drivers/usb/gadget/composite.c 			value = min(w_length, (u16) sizeof cdev->desc);
desc             1642 drivers/usb/gadget/composite.c 			memcpy(req->buf, &cdev->desc, value);
desc             2251 drivers/usb/gadget/composite.c 	update_unchanged_dev_desc(&cdev->desc, composite->dev);
desc             2254 drivers/usb/gadget/composite.c 	if (composite->needs_serial && !cdev->desc.iSerialNumber)
desc             2440 drivers/usb/gadget/composite.c 	struct usb_device_descriptor	*desc = &cdev->desc;
desc             2445 drivers/usb/gadget/composite.c 		desc->idVendor = cpu_to_le16(covr->idVendor);
desc             2448 drivers/usb/gadget/composite.c 		desc->idProduct = cpu_to_le16(covr->idProduct);
desc             2451 drivers/usb/gadget/composite.c 		desc->bcdDevice = cpu_to_le16(covr->bcdDevice);
desc             2454 drivers/usb/gadget/composite.c 		desc->iSerialNumber = dev_str[USB_GADGET_SERIAL_IDX].id;
desc             2458 drivers/usb/gadget/composite.c 		desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id;
desc             2462 drivers/usb/gadget/composite.c 		desc->iManufacturer = dev_str[USB_GADGET_MANUFACTURER_IDX].id;
desc             2468 drivers/usb/gadget/composite.c 		desc->iProduct = dev_str[USB_GADGET_PRODUCT_IDX].id;
desc               80 drivers/usb/gadget/config.c 	const struct usb_descriptor_header	**desc
desc               87 drivers/usb/gadget/config.c 	if (length < USB_DT_CONFIG_SIZE || !desc)
desc               93 drivers/usb/gadget/config.c 			length - USB_DT_CONFIG_SIZE, desc);
desc              136 drivers/usb/gadget/configfs.c 		to_gadget_info(item)->cdev.desc.__name); \
desc              144 drivers/usb/gadget/configfs.c 		le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
desc              157 drivers/usb/gadget/configfs.c 	to_gadget_info(item)->cdev.desc._name = val;	\
desc              170 drivers/usb/gadget/configfs.c 	to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val);	\
desc              213 drivers/usb/gadget/configfs.c 	to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice);
desc              230 drivers/usb/gadget/configfs.c 	to_gadget_info(item)->cdev.desc.bcdUSB = cpu_to_le16(bcdUSB);
desc              920 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc = to_usb_os_desc(ext_prop->item.ci_parent);
desc              924 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc              925 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc              952 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc              953 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc              975 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc = to_usb_os_desc(ext_prop->item.ci_parent);
desc              985 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc              986 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc              989 drivers/usb/gadget/configfs.c 	desc->ext_prop_len -= ext_prop->data_len;
desc              991 drivers/usb/gadget/configfs.c 	desc->ext_prop_len += ext_prop->data_len;
desc              995 drivers/usb/gadget/configfs.c 		desc->ext_prop_len -= ext_prop->data_len;
desc              998 drivers/usb/gadget/configfs.c 		desc->ext_prop_len += ext_prop->data_len;
desc             1000 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1001 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc             1031 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc;
desc             1045 drivers/usb/gadget/configfs.c 	desc = container_of(group, struct usb_os_desc, group);
desc             1048 drivers/usb/gadget/configfs.c 	ext_prop_type->ct_owner = desc->owner;
desc             1057 drivers/usb/gadget/configfs.c 	desc->ext_prop_len += 14;
desc             1059 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1060 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc             1061 drivers/usb/gadget/configfs.c 	desc->ext_prop_len += ext_prop->name_len;
desc             1062 drivers/usb/gadget/configfs.c 	list_add_tail(&ext_prop->entry, &desc->ext_prop);
desc             1063 drivers/usb/gadget/configfs.c 	++desc->ext_prop_count;
desc             1064 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1065 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc             1073 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc = to_usb_os_desc(&group->cg_item);
desc             1075 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1076 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc             1078 drivers/usb/gadget/configfs.c 	--desc->ext_prop_count;
desc             1080 drivers/usb/gadget/configfs.c 	desc->ext_prop_len -= (ext_prop->name_len + ext_prop->data_len + 14);
desc             1081 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1082 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc             1101 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc = to_usb_os_desc(item);
desc             1107 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1108 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc             1109 drivers/usb/gadget/configfs.c 	memcpy(desc->ext_compat_id, page, l);
desc             1111 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1112 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc             1127 drivers/usb/gadget/configfs.c 	struct usb_os_desc *desc = to_usb_os_desc(item);
desc             1133 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1134 drivers/usb/gadget/configfs.c 		mutex_lock(desc->opts_mutex);
desc             1135 drivers/usb/gadget/configfs.c 	memcpy(desc->ext_compat_id + 8, page, l);
desc             1137 drivers/usb/gadget/configfs.c 	if (desc->opts_mutex)
desc             1138 drivers/usb/gadget/configfs.c 		mutex_unlock(desc->opts_mutex);
desc             1155 drivers/usb/gadget/configfs.c 		struct usb_os_desc **desc,
desc             1186 drivers/usb/gadget/configfs.c 		d = desc[n_interf];
desc             1303 drivers/usb/gadget/configfs.c 		gi->cdev.desc.iManufacturer = s[USB_GADGET_MANUFACTURER_IDX].id;
desc             1304 drivers/usb/gadget/configfs.c 		gi->cdev.desc.iProduct = s[USB_GADGET_PRODUCT_IDX].id;
desc             1305 drivers/usb/gadget/configfs.c 		gi->cdev.desc.iSerialNumber = s[USB_GADGET_SERIAL_IDX].id;
desc             1556 drivers/usb/gadget/configfs.c 	gi->cdev.desc.bLength = USB_DT_DEVICE_SIZE;
desc             1557 drivers/usb/gadget/configfs.c 	gi->cdev.desc.bDescriptorType = USB_DT_DEVICE;
desc             1558 drivers/usb/gadget/configfs.c 	gi->cdev.desc.bcdDevice = cpu_to_le16(get_default_bcdDevice());
desc               12 drivers/usb/gadget/configfs.h 		struct usb_os_desc **desc,
desc               65 drivers/usb/gadget/epautoconf.c 	struct usb_endpoint_descriptor	*desc,
desc               72 drivers/usb/gadget/epautoconf.c 		ep = gadget->ops->match_ep(gadget, desc, ep_comp);
desc               79 drivers/usb/gadget/epautoconf.c 		if (usb_gadget_ep_match_desc(gadget, ep, desc, ep_comp))
desc               91 drivers/usb/gadget/epautoconf.c 	if (desc->wMaxPacketSize == 0)
desc               92 drivers/usb/gadget/epautoconf.c 		desc->wMaxPacketSize = cpu_to_le16(ep->maxpacket_limit);
desc               95 drivers/usb/gadget/epautoconf.c 	desc->bEndpointAddress &= USB_DIR_IN;
desc               98 drivers/usb/gadget/epautoconf.c 		desc->bEndpointAddress |= num;
desc               99 drivers/usb/gadget/epautoconf.c 	} else if (desc->bEndpointAddress & USB_DIR_IN) {
desc              102 drivers/usb/gadget/epautoconf.c 		desc->bEndpointAddress = USB_DIR_IN | gadget->in_epnum;
desc              106 drivers/usb/gadget/epautoconf.c 		desc->bEndpointAddress |= gadget->out_epnum;
desc              109 drivers/usb/gadget/epautoconf.c 	ep->address = desc->bEndpointAddress;
desc              110 drivers/usb/gadget/epautoconf.c 	ep->desc = NULL;
desc              151 drivers/usb/gadget/epautoconf.c 	struct usb_endpoint_descriptor	*desc
desc              157 drivers/usb/gadget/epautoconf.c 	ep = usb_ep_autoconfig_ss(gadget, desc, NULL);
desc              161 drivers/usb/gadget/epautoconf.c 	type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc              170 drivers/usb/gadget/epautoconf.c 		desc->wMaxPacketSize = cpu_to_le16(size);
desc              432 drivers/usb/gadget/function/f_acm.c 		if (!acm->notify->desc)
desc              444 drivers/usb/gadget/function/f_acm.c 		if (!acm->port.in->desc || !acm->port.out->desc) {
desc              451 drivers/usb/gadget/function/f_acm.c 				acm->port.in->desc = NULL;
desc              452 drivers/usb/gadget/function/f_acm.c 				acm->port.out->desc = NULL;
desc              545 drivers/usb/gadget/function/f_ecm.c 		if (!(ecm->notify->desc)) {
desc              562 drivers/usb/gadget/function/f_ecm.c 		if (!ecm->port.in_ep->desc ||
desc              563 drivers/usb/gadget/function/f_ecm.c 		    !ecm->port.out_ep->desc) {
desc              569 drivers/usb/gadget/function/f_ecm.c 				ecm->port.in_ep->desc = NULL;
desc              570 drivers/usb/gadget/function/f_ecm.c 				ecm->port.out_ep->desc = NULL;
desc              630 drivers/usb/gadget/function/f_ecm.c 		ecm->port.in_ep->desc = NULL;
desc              631 drivers/usb/gadget/function/f_ecm.c 		ecm->port.out_ep->desc = NULL;
desc              635 drivers/usb/gadget/function/f_ecm.c 	ecm->notify->desc = NULL;
desc              196 drivers/usb/gadget/function/f_eem.c 		if (!eem->port.in_ep->desc || !eem->port.out_ep->desc) {
desc              202 drivers/usb/gadget/function/f_eem.c 				eem->port.in_ep->desc = NULL;
desc              203 drivers/usb/gadget/function/f_eem.c 				eem->port.out_ep->desc = NULL;
desc             1331 drivers/usb/gadget/function/f_fs.c 		struct usb_endpoint_descriptor *desc;
desc             1343 drivers/usb/gadget/function/f_fs.c 		desc = epfile->ep->descs[desc_idx];
desc             1346 drivers/usb/gadget/function/f_fs.c 		ret = copy_to_user((void __user *)value, desc, desc->bLength);
desc             1984 drivers/usb/gadget/function/f_fs.c 			epfile->in = usb_endpoint_dir_in(ep->ep->desc);
desc             1985 drivers/usb/gadget/function/f_fs.c 			epfile->isoc = usb_endpoint_xfer_isoc(ep->ep->desc);
desc             2020 drivers/usb/gadget/function/f_fs.c 				   struct usb_descriptor_header *desc,
desc             2208 drivers/usb/gadget/function/f_fs.c 				u8 *valuep, struct usb_descriptor_header *desc,
desc             2240 drivers/usb/gadget/function/f_fs.c 		d = (void *)desc;
desc             2258 drivers/usb/gadget/function/f_fs.c 				   struct usb_os_desc_header *desc)
desc             2260 drivers/usb/gadget/function/f_fs.c 	u16 bcd_version = le16_to_cpu(desc->bcdVersion);
desc             2261 drivers/usb/gadget/function/f_fs.c 	u16 w_index = le16_to_cpu(desc->wIndex);
desc             2280 drivers/usb/gadget/function/f_fs.c 	return sizeof(*desc);
desc             2326 drivers/usb/gadget/function/f_fs.c 		struct usb_os_desc_header *desc = (void *)data;
desc             2328 drivers/usb/gadget/function/f_fs.c 		if (len < sizeof(*desc))
desc             2338 drivers/usb/gadget/function/f_fs.c 		if (le32_to_cpu(desc->dwLength) > len)
desc             2341 drivers/usb/gadget/function/f_fs.c 		ret = __ffs_do_os_desc_header(&type, desc);
desc             2350 drivers/usb/gadget/function/f_fs.c 		feature_count = le16_to_cpu(desc->wCount);
desc             2352 drivers/usb/gadget/function/f_fs.c 		    (feature_count > 255 || desc->Reserved))
desc             2362 drivers/usb/gadget/function/f_fs.c 					    feature_count, entity, priv, desc);
desc             2810 drivers/usb/gadget/function/f_fs.c 				    struct usb_descriptor_header *desc,
desc             2813 drivers/usb/gadget/function/f_fs.c 	struct usb_endpoint_descriptor *ds = (void *)desc;
desc             2831 drivers/usb/gadget/function/f_fs.c 		func->function.ss_descriptors[(long)valuep] = desc;
desc             2834 drivers/usb/gadget/function/f_fs.c 		func->function.hs_descriptors[(long)valuep] = desc;
desc             2837 drivers/usb/gadget/function/f_fs.c 		func->function.fs_descriptors[(long)valuep]    = desc;
desc             2840 drivers/usb/gadget/function/f_fs.c 	if (!desc || desc->bDescriptorType != USB_DT_ENDPOINT)
desc             2910 drivers/usb/gadget/function/f_fs.c 				   struct usb_descriptor_header *desc,
desc             2944 drivers/usb/gadget/function/f_fs.c 		if (desc->bDescriptorType == USB_DT_ENDPOINT)
desc             2973 drivers/usb/gadget/function/f_fs.c 		struct usb_ext_compat_desc *desc = data;
desc             2976 drivers/usb/gadget/function/f_fs.c 		t = &func->function.os_desc_table[desc->bFirstInterfaceNumber];
desc             2977 drivers/usb/gadget/function/f_fs.c 		t->if_id = func->interfaces_nums[desc->bFirstInterfaceNumber];
desc             2978 drivers/usb/gadget/function/f_fs.c 		memcpy(t->os_desc->ext_compat_id, &desc->CompatibleID,
desc             2979 drivers/usb/gadget/function/f_fs.c 		       ARRAY_SIZE(desc->CompatibleID) +
desc             2980 drivers/usb/gadget/function/f_fs.c 		       ARRAY_SIZE(desc->SubCompatibleID));
desc             2981 drivers/usb/gadget/function/f_fs.c 		length = sizeof(*desc);
desc             2985 drivers/usb/gadget/function/f_fs.c 		struct usb_ext_prop_desc *desc = data;
desc             2997 drivers/usb/gadget/function/f_fs.c 		ext_prop->type = le32_to_cpu(desc->dwPropertyDataType);
desc             2998 drivers/usb/gadget/function/f_fs.c 		ext_prop->name_len = le16_to_cpu(desc->wPropertyNameLength);
desc             3223 drivers/usb/gadget/function/f_fs.c 			struct usb_os_desc *desc;
desc             3225 drivers/usb/gadget/function/f_fs.c 			desc = func->function.os_desc_table[i].os_desc =
desc             3228 drivers/usb/gadget/function/f_fs.c 			desc->ext_compat_id =
desc             3230 drivers/usb/gadget/function/f_fs.c 			INIT_LIST_HEAD(&desc->ext_prop);
desc              563 drivers/usb/gadget/function/f_hid.c 			hidg_desc_copy.desc[0].bDescriptorType = HID_DT_REPORT;
desc              564 drivers/usb/gadget/function/f_hid.c 			hidg_desc_copy.desc[0].wDescriptorLength =
desc              796 drivers/usb/gadget/function/f_hid.c 	hidg_desc.desc[0].bDescriptorType = HID_DT_REPORT;
desc              797 drivers/usb/gadget/function/f_hid.c 	hidg_desc.desc[0].wDescriptorLength =
desc             2262 drivers/usb/gadget/function/f_mass_storage.c 	common->bulk_out_maxpacket = usb_endpoint_maxp(fsg->bulk_out->desc);
desc               21 drivers/usb/gadget/function/f_mass_storage.h #define _FSG_MODULE_PARAM_ARRAY(prefix, params, name, type, desc)	\
desc               25 drivers/usb/gadget/function/f_mass_storage.h 	MODULE_PARM_DESC(prefix ## name, desc)
desc               27 drivers/usb/gadget/function/f_mass_storage.h #define _FSG_MODULE_PARAM(prefix, params, name, type, desc)		\
desc               30 drivers/usb/gadget/function/f_mass_storage.h 	MODULE_PARM_DESC(prefix ## name, desc)
desc              877 drivers/usb/gadget/function/f_ncm.c 		if (!(ncm->notify->desc)) {
desc              904 drivers/usb/gadget/function/f_ncm.c 			if (!ncm->port.in_ep->desc ||
desc              905 drivers/usb/gadget/function/f_ncm.c 			    !ncm->port.out_ep->desc) {
desc              911 drivers/usb/gadget/function/f_ncm.c 					ncm->port.in_ep->desc = NULL;
desc              912 drivers/usb/gadget/function/f_ncm.c 					ncm->port.out_ep->desc = NULL;
desc             1334 drivers/usb/gadget/function/f_ncm.c 		ncm->notify->desc = NULL;
desc              211 drivers/usb/gadget/function/f_obex.c 		if (!obex->port.in->desc || !obex->port.out->desc) {
desc              218 drivers/usb/gadget/function/f_obex.c 				obex->port.out->desc = NULL;
desc              219 drivers/usb/gadget/function/f_obex.c 				obex->port.in->desc = NULL;
desc              421 drivers/usb/gadget/function/f_phonet.c 				fp->in_ep->desc = NULL;
desc              422 drivers/usb/gadget/function/f_phonet.c 				fp->out_ep->desc = NULL;
desc              764 drivers/usb/gadget/function/f_printer.c 	dev->in_ep->desc = ep_desc(dev->gadget, &fs_ep_in_desc, &hs_ep_in_desc,
desc              768 drivers/usb/gadget/function/f_printer.c 	dev->out_ep->desc = ep_desc(dev->gadget, &fs_ep_out_desc,
desc              789 drivers/usb/gadget/function/f_printer.c 		dev->in_ep->desc = NULL;
desc              790 drivers/usb/gadget/function/f_printer.c 		dev->out_ep->desc = NULL;
desc              806 drivers/usb/gadget/function/f_printer.c 	if (dev->in_ep->desc)
desc              809 drivers/usb/gadget/function/f_printer.c 	if (dev->out_ep->desc)
desc              813 drivers/usb/gadget/function/f_printer.c 	dev->in_ep->desc = NULL;
desc              814 drivers/usb/gadget/function/f_printer.c 	dev->out_ep->desc = NULL;
desc              548 drivers/usb/gadget/function/f_rndis.c 		if (!rndis->notify->desc) {
desc              563 drivers/usb/gadget/function/f_rndis.c 		if (!rndis->port.in_ep->desc || !rndis->port.out_ep->desc) {
desc              569 drivers/usb/gadget/function/f_rndis.c 				rndis->port.in_ep->desc = NULL;
desc              570 drivers/usb/gadget/function/f_rndis.c 				rndis->port.out_ep->desc = NULL;
desc              621 drivers/usb/gadget/function/f_rndis.c 	rndis->notify->desc = NULL;
desc              158 drivers/usb/gadget/function/f_serial.c 	if (!gser->port.in->desc || !gser->port.out->desc) {
desc              163 drivers/usb/gadget/function/f_serial.c 			gser->port.in->desc = NULL;
desc              164 drivers/usb/gadget/function/f_serial.c 			gser->port.out->desc = NULL;
desc              468 drivers/usb/gadget/function/f_sourcesink.c 	int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize);
desc              505 drivers/usb/gadget/function/f_sourcesink.c 	int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize);
desc              269 drivers/usb/gadget/function/f_subset.c 		geth->port.in_ep->desc = NULL;
desc              270 drivers/usb/gadget/function/f_subset.c 		geth->port.out_ep->desc = NULL;
desc              593 drivers/usb/gadget/function/f_uac1.c 	audio->out_ep->desc = &as_out_ep_desc;
desc              599 drivers/usb/gadget/function/f_uac1.c 	audio->in_ep->desc = &as_in_ep_desc;
desc              113 drivers/usb/gadget/function/f_uac1_legacy.c 	.desc = (struct usb_descriptor_header *)&feature_unit_desc,
desc              753 drivers/usb/gadget/function/f_uac1_legacy.c 	audio->out_ep->desc = &as_out_ep_desc;
desc              292 drivers/usb/gadget/function/f_uvc.c 		if (!uvc->control_ep->desc)
desc              444 drivers/usb/gadget/function/f_uvc.c #define UVC_COPY_DESCRIPTOR(mem, dst, desc) \
desc              446 drivers/usb/gadget/function/f_uvc.c 		memcpy(mem, desc, (desc)->bLength); \
desc              448 drivers/usb/gadget/function/f_uvc.c 		mem += (desc)->bLength; \
desc              480 drivers/usb/gadget/function/f_uvc.c 		uvc_control_desc = uvc->desc.ss_control;
desc              481 drivers/usb/gadget/function/f_uvc.c 		uvc_streaming_cls = uvc->desc.ss_streaming;
desc              486 drivers/usb/gadget/function/f_uvc.c 		uvc_control_desc = uvc->desc.fs_control;
desc              487 drivers/usb/gadget/function/f_uvc.c 		uvc_streaming_cls = uvc->desc.hs_streaming;
desc              493 drivers/usb/gadget/function/f_uvc.c 		uvc_control_desc = uvc->desc.fs_control;
desc              494 drivers/usb/gadget/function/f_uvc.c 		uvc_streaming_cls = uvc->desc.fs_streaming;
desc              928 drivers/usb/gadget/function/f_uvc.c 	uvc->desc.fs_control = opts->fs_control;
desc              929 drivers/usb/gadget/function/f_uvc.c 	uvc->desc.ss_control = opts->ss_control;
desc              930 drivers/usb/gadget/function/f_uvc.c 	uvc->desc.fs_streaming = opts->fs_streaming;
desc              931 drivers/usb/gadget/function/f_uvc.c 	uvc->desc.hs_streaming = opts->hs_streaming;
desc              932 drivers/usb/gadget/function/f_uvc.c 	uvc->desc.ss_streaming = opts->ss_streaming;
desc              433 drivers/usb/gadget/function/u_audio.c 	ep_desc = ep->desc;
desc              672 drivers/usb/gadget/function/u_ether.c 		in = link->in_ep->desc;
desc              673 drivers/usb/gadget/function/u_ether.c 		out = link->out_ep->desc;
desc              678 drivers/usb/gadget/function/u_ether.c 			link->in_ep->desc = in;
desc              679 drivers/usb/gadget/function/u_ether.c 			link->out_ep->desc = out;
desc             1155 drivers/usb/gadget/function/u_ether.c 	link->in_ep->desc = NULL;
desc             1168 drivers/usb/gadget/function/u_ether.c 	link->out_ep->desc = NULL;
desc              126 drivers/usb/gadget/function/uvc.h 	} desc;
desc              132 drivers/usb/gadget/function/uvc_configfs.c 	struct UVC_HEADER_DESCRIPTOR(1)	desc;
desc              157 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(ch->desc.aname));\
desc              194 drivers/usb/gadget/function/uvc_configfs.c 	ch->desc.aname = cpu_to_le##bits(num);				\
desc              231 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bLength			= UVC_DT_HEADER_SIZE(1);
desc              232 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorType		= USB_DT_CS_INTERFACE;
desc              233 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorSubType	= UVC_VC_HEADER;
desc              234 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bcdUVC			= cpu_to_le16(0x0100);
desc              235 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.dwClockFrequency	= cpu_to_le32(48000000);
desc              620 drivers/usb/gadget/function/uvc_configfs.c 	class_array[0] = (struct uvc_descriptor_header *)&target_hdr->desc;
desc              860 drivers/usb/gadget/function/uvc_configfs.c 	struct uvc_input_header_descriptor		desc;
desc              998 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(sh->desc.aname));\
desc             1040 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorType		= USB_DT_CS_INTERFACE;
desc             1041 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorSubType	= UVC_VS_INPUT_HEADER;
desc             1042 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bTerminalLink		= 3;
desc             1043 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bControlSize		= UVCG_STREAMING_CONTROL_SIZE;
desc             1430 drivers/usb/gadget/function/uvc_configfs.c 	struct uvc_format_uncompressed	desc;
desc             1459 drivers/usb/gadget/function/uvc_configfs.c 	memcpy(page, ch->desc.guidFormat, sizeof(ch->desc.guidFormat));
desc             1464 drivers/usb/gadget/function/uvc_configfs.c 	return sizeof(ch->desc.guidFormat);
desc             1487 drivers/usb/gadget/function/uvc_configfs.c 	memcpy(ch->desc.guidFormat, page,
desc             1488 drivers/usb/gadget/function/uvc_configfs.c 	       min(sizeof(ch->desc.guidFormat), len));
desc             1489 drivers/usb/gadget/function/uvc_configfs.c 	ret = sizeof(ch->desc.guidFormat);
desc             1515 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\
desc             1540 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\
desc             1573 drivers/usb/gadget/function/uvc_configfs.c 	u->desc.aname = num;						\
desc             1642 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bLength			= UVC_DT_FORMAT_UNCOMPRESSED_SIZE;
desc             1643 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorType		= USB_DT_CS_INTERFACE;
desc             1644 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorSubType	= UVC_VS_FORMAT_UNCOMPRESSED;
desc             1645 drivers/usb/gadget/function/uvc_configfs.c 	memcpy(h->desc.guidFormat, guid, sizeof(guid));
desc             1646 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bBitsPerPixel		= 16;
desc             1647 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDefaultFrameIndex	= 1;
desc             1648 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bAspectRatioX		= 0;
desc             1649 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bAspectRatioY		= 0;
desc             1650 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bmInterfaceFlags	= 0;
desc             1651 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bCopyProtect		= 0;
desc             1679 drivers/usb/gadget/function/uvc_configfs.c 	struct uvc_format_mjpeg		desc;
desc             1709 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\
desc             1733 drivers/usb/gadget/function/uvc_configfs.c 	result = sprintf(page, "%u\n", le##bits##_to_cpu(u->desc.aname));\
desc             1766 drivers/usb/gadget/function/uvc_configfs.c 	u->desc.aname = num;						\
desc             1830 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bLength			= UVC_DT_FORMAT_MJPEG_SIZE;
desc             1831 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorType		= USB_DT_CS_INTERFACE;
desc             1832 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDescriptorSubType	= UVC_VS_FORMAT_MJPEG;
desc             1833 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bDefaultFrameIndex	= 1;
desc             1834 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bAspectRatioX		= 0;
desc             1835 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bAspectRatioY		= 0;
desc             1836 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bmInterfaceFlags	= 0;
desc             1837 drivers/usb/gadget/function/uvc_configfs.c 	h->desc.bCopyProtect		= 0;
desc             2033 drivers/usb/gadget/function/uvc_configfs.c 		*size += sizeof(h->desc);
desc             2046 drivers/usb/gadget/function/uvc_configfs.c 			*size += sizeof(u->desc);
desc             2051 drivers/usb/gadget/function/uvc_configfs.c 			*size += sizeof(m->desc);
desc             2095 drivers/usb/gadget/function/uvc_configfs.c 		memcpy(*dest, &h->desc, sizeof(h->desc));
desc             2096 drivers/usb/gadget/function/uvc_configfs.c 		*dest += sizeof(h->desc);
desc             2102 drivers/usb/gadget/function/uvc_configfs.c 		ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz;
desc             2114 drivers/usb/gadget/function/uvc_configfs.c 			u->desc.bFormatIndex = n + 1;
desc             2115 drivers/usb/gadget/function/uvc_configfs.c 			u->desc.bNumFrameDescriptors = fmt->num_frames;
desc             2116 drivers/usb/gadget/function/uvc_configfs.c 			memcpy(*dest, &u->desc, sizeof(u->desc));
desc             2117 drivers/usb/gadget/function/uvc_configfs.c 			*dest += sizeof(u->desc);
desc             2122 drivers/usb/gadget/function/uvc_configfs.c 			m->desc.bFormatIndex = n + 1;
desc             2123 drivers/usb/gadget/function/uvc_configfs.c 			m->desc.bNumFrameDescriptors = fmt->num_frames;
desc             2124 drivers/usb/gadget/function/uvc_configfs.c 			memcpy(*dest, &m->desc, sizeof(m->desc));
desc             2125 drivers/usb/gadget/function/uvc_configfs.c 			*dest += sizeof(m->desc);
desc              138 drivers/usb/gadget/function/uvc_video.c 		if (usb_endpoint_xfer_bulk(video->ep->desc))
desc              167 drivers/usb/gadget/legacy/dbgp.c static int __enable_ep(struct usb_ep *ep, struct usb_endpoint_descriptor *desc)
desc              170 drivers/usb/gadget/legacy/dbgp.c 	ep->desc = desc;
desc              266 drivers/usb/gadget/legacy/dbgp.c 	dbgp.serial->in->desc = &i_desc;
desc              267 drivers/usb/gadget/legacy/dbgp.c 	dbgp.serial->out->desc = &o_desc;
desc              199 drivers/usb/gadget/legacy/inode.c 	struct usb_endpoint_descriptor	desc, hs_desc;
desc              384 drivers/usb/gadget/legacy/inode.c 		data->desc.bDescriptorType = 0;
desc              585 drivers/usb/gadget/legacy/inode.c 	if (usb_endpoint_dir_in(&epdata->desc)) {
desc              586 drivers/usb/gadget/legacy/inode.c 		if (usb_endpoint_xfer_isoc(&epdata->desc) ||
desc              647 drivers/usb/gadget/legacy/inode.c 	if (configured && !usb_endpoint_dir_in(&epdata->desc)) {
desc              648 drivers/usb/gadget/legacy/inode.c 		if (usb_endpoint_xfer_isoc(&epdata->desc) ||
desc              749 drivers/usb/gadget/legacy/inode.c 	memcpy(&data->desc, buf, USB_DT_ENDPOINT_SIZE);
desc              750 drivers/usb/gadget/legacy/inode.c 	if (data->desc.bLength != USB_DT_ENDPOINT_SIZE
desc              751 drivers/usb/gadget/legacy/inode.c 			|| data->desc.bDescriptorType != USB_DT_ENDPOINT)
desc              781 drivers/usb/gadget/legacy/inode.c 		ep->desc = &data->desc;
desc              785 drivers/usb/gadget/legacy/inode.c 		ep->desc = &data->hs_desc;
desc              802 drivers/usb/gadget/legacy/inode.c 		data->desc.bDescriptorType = 0;
desc             1280 drivers/usb/gadget/legacy/inode.c 	struct usb_device_descriptor		*desc;
desc             1286 drivers/usb/gadget/legacy/inode.c 	desc = dev->dev;
desc             1287 drivers/usb/gadget/legacy/inode.c 	qual.bDeviceClass = desc->bDeviceClass;
desc             1288 drivers/usb/gadget/legacy/inode.c 	qual.bDeviceSubClass = desc->bDeviceSubClass;
desc             1289 drivers/usb/gadget/legacy/inode.c 	qual.bDeviceProtocol = desc->bDeviceProtocol;
desc               20 drivers/usb/gadget/u_f.c 		req->length = usb_endpoint_dir_out(ep->desc) ?
desc              149 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso ||
desc              190 drivers/usb/gadget/udc/aspeed-vhub/dev.c 		if (!ep->epn.enabled || !ep->ep.desc || ep->epn.is_iso ||
desc              355 drivers/usb/gadget/udc/aspeed-vhub/dev.c 					    struct usb_endpoint_descriptor *desc,
desc              363 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	DDBG(d, "Match EP type %d\n", usb_endpoint_type(desc));
desc              372 drivers/usb/gadget/udc/aspeed-vhub/dev.c 		if (usb_gadget_ep_match_desc(gadget, u_ep, desc, ss)) {
desc              384 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	switch(usb_endpoint_type(desc)) {
desc              408 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	if (usb_endpoint_maxp(desc) > max)
desc              169 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	struct ast_vhub_desc *desc = NULL;
desc              190 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc = &ep->epn.descs[d_num];
desc              215 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc->w0 = cpu_to_le32(req->req.dma + act);
desc              227 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc->w1 = cpu_to_le32(VHUB_DSC1_IN_SET_LEN(chunk));
desc              229 drivers/usb/gadget/udc/aspeed-vhub/epn.c 			desc->w1 |= cpu_to_le32(VHUB_DSC1_IN_INTERRUPT);
desc              235 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	if (likely(desc))
desc              236 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		vhub_dma_workaround(desc);
desc              269 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		struct ast_vhub_desc *desc;
desc              275 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc = &ep->epn.descs[d_num];
desc              279 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		len = VHUB_DSC1_IN_LEN(le32_to_cpu(desc->w1));
desc              354 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx ||
desc              523 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	if (!u_ep || !u_ep->desc)
desc              586 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->ep.desc = NULL;
desc              594 drivers/usb/gadget/udc/aspeed-vhub/epn.c 			       const struct usb_endpoint_descriptor *desc)
desc              604 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	if (!u_ep || !desc)
desc              607 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	maxpacket = usb_endpoint_maxp(desc);
desc              609 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	    desc->bDescriptorType != USB_DT_ENDPOINT ||
desc              612 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		      ep->d_idx, ep->dev, desc->bDescriptorType,
desc              616 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	if (ep->d_idx != usb_endpoint_num(desc)) {
desc              636 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->epn.is_in = usb_endpoint_dir_in(desc);
desc              638 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	type = usb_endpoint_type(desc);
desc              646 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	      usb_endpoint_num(desc), maxpacket);
desc              687 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep_conf |= VHUB_EP_CFG_SET_EP_NUM(usb_endpoint_num(desc));
desc               76 drivers/usb/gadget/udc/aspeed-vhub/hub.c static void ast_vhub_patch_dev_desc_usb1(struct usb_device_descriptor *desc)
desc               78 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	desc->bcdUSB = cpu_to_le16(0x0100);
desc               79 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	desc->bDeviceProtocol = 0;
desc              230 drivers/usb/gadget/udc/at91_udc.c 			if (ep->ep.desc)
desc              472 drivers/usb/gadget/udc/at91_udc.c 				const struct usb_endpoint_descriptor *desc)
desc              481 drivers/usb/gadget/udc/at91_udc.c 			|| !desc || _ep->name == ep0name
desc              482 drivers/usb/gadget/udc/at91_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT
desc              483 drivers/usb/gadget/udc/at91_udc.c 			|| (maxpacket = usb_endpoint_maxp(desc)) == 0
desc              495 drivers/usb/gadget/udc/at91_udc.c 	tmp = usb_endpoint_type(desc);
desc              527 drivers/usb/gadget/udc/at91_udc.c 	ep->is_in = usb_endpoint_dir_in(desc);
desc              563 drivers/usb/gadget/udc/at91_udc.c 	ep->ep.desc = NULL;
desc              622 drivers/usb/gadget/udc/at91_udc.c 	if (!_ep || (!ep->ep.desc && ep->ep.name != ep0name)) {
desc              837 drivers/usb/gadget/udc/at91_udc.c 		ep->ep.desc = NULL;
desc             1175 drivers/usb/gadget/udc/at91_udc.c 		if (tmp >= NUM_ENDPOINTS || (tmp && !ep->ep.desc))
desc             1200 drivers/usb/gadget/udc/at91_udc.c 		if (!ep->ep.desc || ep->is_iso)
desc             1221 drivers/usb/gadget/udc/at91_udc.c 		if (!ep->ep.desc || ep->is_iso)
desc              573 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
desc              580 drivers/usb/gadget/udc/atmel_usba_udc.c 	DBG(DBG_GADGET, "%s: ep_enable: desc=%p\n", ep->ep.name, desc);
desc              582 drivers/usb/gadget/udc/atmel_usba_udc.c 	maxpacket = usb_endpoint_maxp(desc);
desc              584 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index)
desc              586 drivers/usb/gadget/udc/atmel_usba_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT
desc              599 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (usb_endpoint_dir_in(desc)) {
desc              604 drivers/usb/gadget/udc/atmel_usba_udc.c 	switch (usb_endpoint_type(desc)) {
desc              619 drivers/usb/gadget/udc/atmel_usba_udc.c 		nr_trans = usb_endpoint_maxp_mult(desc);
desc              638 drivers/usb/gadget/udc/atmel_usba_udc.c 	ep->ep.desc = desc;
desc              676 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (!ep->ep.desc) {
desc              687 drivers/usb/gadget/udc/atmel_usba_udc.c 	ep->ep.desc = NULL;
desc              768 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (ep->ep.desc) {
desc              793 drivers/usb/gadget/udc/atmel_usba_udc.c 	    !ep->ep.desc)
desc              809 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (ep->ep.desc) {
desc              932 drivers/usb/gadget/udc/atmel_usba_udc.c 	if (!ep->ep.desc) {
desc             1041 drivers/usb/gadget/udc/atmel_usba_udc.c 				struct usb_endpoint_descriptor	*desc,
desc             1049 drivers/usb/gadget/udc/atmel_usba_udc.c 		if (usb_gadget_ep_match_desc(gadget, _ep, desc, ep_comp))
desc             1061 drivers/usb/gadget/udc/atmel_usba_udc.c 		switch (usb_endpoint_type(desc)) {
desc             1076 drivers/usb/gadget/udc/atmel_usba_udc.c 			if (desc->wMaxPacketSize == 0)
desc             1081 drivers/usb/gadget/udc/atmel_usba_udc.c 				    roundup_pow_of_two(le16_to_cpu(desc->wMaxPacketSize));
desc             1157 drivers/usb/gadget/udc/atmel_usba_udc.c 		if (!ep->ep.desc)
desc             1159 drivers/usb/gadget/udc/atmel_usba_udc.c 		bEndpointAddress = ep->ep.desc->bEndpointAddress;
desc             1815 drivers/usb/gadget/udc/atmel_usba_udc.c 		ep0->ep.desc = &usba_ep0_desc;
desc              965 drivers/usb/gadget/udc/bcm63xx_udc.c 		bep->ep.desc = NULL;
desc             1033 drivers/usb/gadget/udc/bcm63xx_udc.c 	const struct usb_endpoint_descriptor *desc)
desc             1040 drivers/usb/gadget/udc/bcm63xx_udc.c 	if (!ep || !desc || ep->name == bcm63xx_ep0name)
desc             1061 drivers/usb/gadget/udc/bcm63xx_udc.c 	ep->desc = desc;
desc             1062 drivers/usb/gadget/udc/bcm63xx_udc.c 	ep->maxpacket = usb_endpoint_maxp(desc);
desc             1080 drivers/usb/gadget/udc/bcm63xx_udc.c 	if (!ep || !ep->desc)
desc             1104 drivers/usb/gadget/udc/bcm63xx_udc.c 	ep->desc = NULL;
desc              358 drivers/usb/gadget/udc/bdc/bdc.h 	const struct usb_endpoint_descriptor	*desc;
desc              137 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	const struct usb_endpoint_descriptor	*desc;
desc              142 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	desc = ep->desc;
desc              152 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	si = desc->bInterval;
desc              155 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	mps = usb_endpoint_maxp(desc);
desc              158 drivers/usb/gadget/udc/bdc/bdc_cmd.c 	param2 |= usb_endpoint_type(desc) << EPT_SHIFT;
desc              162 drivers/usb/gadget/udc/bdc/bdc_cmd.c 		if (usb_endpoint_xfer_int(desc) ||
desc              163 drivers/usb/gadget/udc/bdc/bdc_cmd.c 					usb_endpoint_xfer_isoc(desc)) {
desc              165 drivers/usb/gadget/udc/bdc/bdc_cmd.c 			if (usb_endpoint_xfer_isoc(desc) && comp_desc)
desc              176 drivers/usb/gadget/udc/bdc/bdc_cmd.c 		if (usb_endpoint_xfer_isoc(desc) ||
desc              177 drivers/usb/gadget/udc/bdc/bdc_cmd.c 					usb_endpoint_xfer_int(desc)) {
desc              180 drivers/usb/gadget/udc/bdc/bdc_cmd.c 			mbs = usb_endpoint_maxp_mult(desc);
desc              188 drivers/usb/gadget/udc/bdc/bdc_cmd.c 		if (usb_endpoint_xfer_isoc(desc))
desc              196 drivers/usb/gadget/udc/bdc/bdc_cmd.c 		if (usb_endpoint_xfer_int(desc))
desc              197 drivers/usb/gadget/udc/bdc/bdc_cmd.c 			si = fls(desc->bInterval * 8) - 1;
desc              129 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (usb_endpoint_xfer_isoc(ep->desc))
desc              443 drivers/usb/gadget/udc/bdc/bdc_ep.c 	maxp = usb_endpoint_maxp(ep->desc);
desc              593 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->desc = NULL;
desc              595 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->usb_ep.desc = NULL;
desc              627 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->usb_ep.maxpacket = usb_endpoint_maxp(ep->desc);
desc              628 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->usb_ep.desc = ep->desc;
desc              630 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->ep_type = usb_endpoint_type(ep->desc);
desc              715 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (!req || !ep->usb_ep.desc)
desc              761 drivers/usb/gadget/udc/bdc/bdc_ep.c 						ep, (void *)ep->usb_ep.desc);
desc             1717 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (!_ep || !_ep->desc)
desc             1730 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (!ep->usb_ep.desc) {
desc             1807 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (usb_endpoint_xfer_isoc(ep->usb_ep.desc))
desc             1851 drivers/usb/gadget/udc/bdc/bdc_ep.c 				 const struct usb_endpoint_descriptor *desc)
desc             1858 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
desc             1863 drivers/usb/gadget/udc/bdc/bdc_ep.c 	if (!desc->wMaxPacketSize) {
desc             1882 drivers/usb/gadget/udc/bdc/bdc_ep.c 	ep->desc = desc;
desc              119 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc->bdc_ep_array[1]->desc = &bdc_gadget_ep0_desc;
desc              123 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc->bdc_ep_array[1]->usb_ep.desc = &bdc_gadget_ep0_desc;
desc              553 drivers/usb/gadget/udc/bdc/bdc_udc.c 	bdc->bdc_ep_array[1]->desc = &bdc_gadget_ep0_desc;
desc              102 drivers/usb/gadget/udc/core.c 	if (usb_endpoint_maxp(ep->desc) == 0) {
desc              112 drivers/usb/gadget/udc/core.c 	ret = ep->ops->enable(ep, ep->desc);
desc              935 drivers/usb/gadget/udc/core.c 		struct usb_ep *ep, struct usb_endpoint_descriptor *desc,
desc              946 drivers/usb/gadget/udc/core.c 	type = usb_endpoint_type(desc);
desc              947 drivers/usb/gadget/udc/core.c 	max = usb_endpoint_maxp(desc);
desc              949 drivers/usb/gadget/udc/core.c 	if (usb_endpoint_dir_in(desc) && !ep->caps.dir_in)
desc              951 drivers/usb/gadget/udc/core.c 	if (usb_endpoint_dir_out(desc) && !ep->caps.dir_out)
desc              958 drivers/usb/gadget/udc/core.c 	if (!gadget_is_dualspeed(gadget) && usb_endpoint_maxp_mult(desc) > 1)
desc               86 drivers/usb/gadget/udc/dummy_hcd.c 	const struct usb_endpoint_descriptor *desc;
desc              499 drivers/usb/gadget/udc/dummy_hcd.c 		const struct usb_endpoint_descriptor *desc)
desc              508 drivers/usb/gadget/udc/dummy_hcd.c 	if (!_ep || !desc || ep->desc || _ep->name == ep0name
desc              509 drivers/usb/gadget/udc/dummy_hcd.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              524 drivers/usb/gadget/udc/dummy_hcd.c 	max = usb_endpoint_maxp(desc);
desc              535 drivers/usb/gadget/udc/dummy_hcd.c 	switch (usb_endpoint_type(desc)) {
desc              608 drivers/usb/gadget/udc/dummy_hcd.c 		if (!usb_endpoint_xfer_bulk(desc)) {
desc              615 drivers/usb/gadget/udc/dummy_hcd.c 	ep->desc = desc;
desc              619 drivers/usb/gadget/udc/dummy_hcd.c 		desc->bEndpointAddress & 0x0f,
desc              620 drivers/usb/gadget/udc/dummy_hcd.c 		(desc->bEndpointAddress & USB_DIR_IN) ? "in" : "out",
desc              621 drivers/usb/gadget/udc/dummy_hcd.c 		usb_ep_type_string(usb_endpoint_type(desc)),
desc              640 drivers/usb/gadget/udc/dummy_hcd.c 	if (!_ep || !ep->desc || _ep->name == ep0name)
desc              645 drivers/usb/gadget/udc/dummy_hcd.c 	ep->desc = NULL;
desc              701 drivers/usb/gadget/udc/dummy_hcd.c 	if (!_ep || (!ep->desc && _ep->name != ep0name))
desc              718 drivers/usb/gadget/udc/dummy_hcd.c 	if (ep->desc && (ep->desc->bEndpointAddress & USB_DIR_IN) &&
desc              797 drivers/usb/gadget/udc/dummy_hcd.c 	else if (ep->desc && (ep->desc->bEndpointAddress & USB_DIR_IN) &&
desc             1042 drivers/usb/gadget/udc/dummy_hcd.c 		ep->desc = NULL;
desc             1143 drivers/usb/gadget/udc/dummy_hcd.c static unsigned int dummy_get_ep_idx(const struct usb_endpoint_descriptor *desc)
desc             1147 drivers/usb/gadget/udc/dummy_hcd.c 	index = usb_endpoint_num(desc) << 1;
desc             1148 drivers/usb/gadget/udc/dummy_hcd.c 	if (usb_endpoint_dir_in(desc))
desc             1167 drivers/usb/gadget/udc/dummy_hcd.c 	const struct usb_endpoint_descriptor *desc = &urb->ep->desc;
desc             1170 drivers/usb/gadget/udc/dummy_hcd.c 	if (!usb_endpoint_xfer_bulk(desc))
desc             1173 drivers/usb/gadget/udc/dummy_hcd.c 	index = dummy_get_ep_idx(desc);
desc             1522 drivers/usb/gadget/udc/dummy_hcd.c 		tmp = usb_endpoint_maxp_mult(ep->desc);
desc             1527 drivers/usb/gadget/udc/dummy_hcd.c 		switch (usb_endpoint_type(ep->desc)) {
desc             1563 drivers/usb/gadget/udc/dummy_hcd.c 		if (!ep->desc)
desc             1565 drivers/usb/gadget/udc/dummy_hcd.c 		if (ep->desc->bEndpointAddress == address)
desc             2045 drivers/usb/gadget/udc/dummy_hcd.c ss_hub_descriptor(struct usb_hub_descriptor *desc)
desc             2047 drivers/usb/gadget/udc/dummy_hcd.c 	memset(desc, 0, sizeof *desc);
desc             2048 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bDescriptorType = USB_DT_SS_HUB;
desc             2049 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bDescLength = 12;
desc             2050 drivers/usb/gadget/udc/dummy_hcd.c 	desc->wHubCharacteristics = cpu_to_le16(
desc             2053 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bNbrPorts = 1;
desc             2054 drivers/usb/gadget/udc/dummy_hcd.c 	desc->u.ss.bHubHdrDecLat = 0x04; /* Worst case: 0.4 micro sec*/
desc             2055 drivers/usb/gadget/udc/dummy_hcd.c 	desc->u.ss.DeviceRemovable = 0;
desc             2058 drivers/usb/gadget/udc/dummy_hcd.c static inline void hub_descriptor(struct usb_hub_descriptor *desc)
desc             2060 drivers/usb/gadget/udc/dummy_hcd.c 	memset(desc, 0, sizeof *desc);
desc             2061 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             2062 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bDescLength = 9;
desc             2063 drivers/usb/gadget/udc/dummy_hcd.c 	desc->wHubCharacteristics = cpu_to_le16(
desc             2066 drivers/usb/gadget/udc/dummy_hcd.c 	desc->bNbrPorts = 1;
desc             2067 drivers/usb/gadget/udc/dummy_hcd.c 	desc->u.hs.DeviceRemovable[0] = 0;
desc             2068 drivers/usb/gadget/udc/dummy_hcd.c 	desc->u.hs.DeviceRemovable[1] = 0xff;	/* PortPwrCtrlMask */
desc             2533 drivers/usb/gadget/udc/dummy_hcd.c 		index = dummy_get_ep_idx(&eps[i]->desc);
desc             2546 drivers/usb/gadget/udc/dummy_hcd.c 					eps[i]->desc.bEndpointAddress,
desc             2553 drivers/usb/gadget/udc/dummy_hcd.c 		index = dummy_get_ep_idx(&eps[i]->desc);
desc             2556 drivers/usb/gadget/udc/dummy_hcd.c 				usb_endpoint_num(&eps[i]->desc), ret_streams);
desc             2576 drivers/usb/gadget/udc/dummy_hcd.c 		index = dummy_get_ep_idx(&eps[i]->desc);
desc             2584 drivers/usb/gadget/udc/dummy_hcd.c 		index = dummy_get_ep_idx(&eps[i]->desc);
desc             2587 drivers/usb/gadget/udc/dummy_hcd.c 				usb_endpoint_num(&eps[i]->desc), 0);
desc              143 drivers/usb/gadget/udc/fotg210-udc.c 		     const struct usb_endpoint_descriptor *desc)
desc              158 drivers/usb/gadget/udc/fotg210-udc.c 			  const struct usb_endpoint_descriptor *desc)
desc              164 drivers/usb/gadget/udc/fotg210-udc.c 	ep->desc = desc;
desc              165 drivers/usb/gadget/udc/fotg210-udc.c 	ep->epnum = usb_endpoint_num(desc);
desc              166 drivers/usb/gadget/udc/fotg210-udc.c 	ep->type = usb_endpoint_type(desc);
desc              167 drivers/usb/gadget/udc/fotg210-udc.c 	ep->dir_in = usb_endpoint_dir_in(desc);
desc              168 drivers/usb/gadget/udc/fotg210-udc.c 	ep->ep.maxpacket = usb_endpoint_maxp(desc);
desc              170 drivers/usb/gadget/udc/fotg210-udc.c 	return fotg210_config_ep(ep, desc);
desc              228 drivers/usb/gadget/udc/fotg210.h 	const struct usb_endpoint_descriptor	*desc;
desc              478 drivers/usb/gadget/udc/fsl_qe_udc.c 	logepnum = (ep->ep.desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK);
desc              481 drivers/usb/gadget/udc/fsl_qe_udc.c 	switch (ep->ep.desc->bmAttributes & 0x03) {
desc              522 drivers/usb/gadget/udc/fsl_qe_udc.c 		      const struct usb_endpoint_descriptor *desc)
desc              529 drivers/usb/gadget/udc/fsl_qe_udc.c 	max = usb_endpoint_maxp(desc);
desc              535 drivers/usb/gadget/udc/fsl_qe_udc.c 		switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
desc              632 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->tm = (u8)(desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK);
desc              633 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.desc = desc;
desc              642 drivers/usb/gadget/udc/fsl_qe_udc.c 		switch (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) {
desc             1576 drivers/usb/gadget/udc/fsl_qe_udc.c 			 const struct usb_endpoint_descriptor *desc)
desc             1586 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (!_ep || !desc || _ep->name == ep_name[0] ||
desc             1587 drivers/usb/gadget/udc/fsl_qe_udc.c 			(desc->bDescriptorType != USB_DT_ENDPOINT))
desc             1594 drivers/usb/gadget/udc/fsl_qe_udc.c 	epnum = (u8)desc->bEndpointAddress & 0xF;
desc             1596 drivers/usb/gadget/udc/fsl_qe_udc.c 	retval = qe_ep_init(udc, epnum, desc);
desc             1616 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (!_ep || !ep->ep.desc) {
desc             1624 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.desc = NULL;
desc             1701 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (!_ep || (!ep->ep.desc && ep_index(ep))) {
desc             1812 drivers/usb/gadget/udc/fsl_qe_udc.c 	if (!_ep || !ep->ep.desc) {
desc             1957 drivers/usb/gadget/udc/fsl_qe_udc.c 		if (!target_ep->ep.desc)
desc             2419 drivers/usb/gadget/udc/fsl_qe_udc.c 	ep->ep.desc = NULL;
desc              152 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_index(EP)		((EP)->ep.desc->bEndpointAddress & 0xF)
desc              155 drivers/usb/gadget/udc/fsl_qe_udc.h 			USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
desc              544 drivers/usb/gadget/udc/fsl_udc_core.c 		const struct usb_endpoint_descriptor *desc)
desc              556 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!_ep || !desc
desc              557 drivers/usb/gadget/udc/fsl_udc_core.c 			|| (desc->bDescriptorType != USB_DT_ENDPOINT))
desc              565 drivers/usb/gadget/udc/fsl_udc_core.c 	max = usb_endpoint_maxp(desc);
desc              573 drivers/usb/gadget/udc/fsl_udc_core.c 	switch (desc->bmAttributes & 0x03) {
desc              585 drivers/usb/gadget/udc/fsl_udc_core.c 		mult = usb_endpoint_maxp_mult(desc);
desc              596 drivers/usb/gadget/udc/fsl_udc_core.c 	ep->ep.desc = desc;
desc              603 drivers/usb/gadget/udc/fsl_udc_core.c 			(unsigned char) ((desc->bEndpointAddress & USB_DIR_IN)
desc              605 drivers/usb/gadget/udc/fsl_udc_core.c 			(unsigned char) (desc->bmAttributes
desc              611 drivers/usb/gadget/udc/fsl_udc_core.c 			(unsigned char) ((desc->bEndpointAddress & USB_DIR_IN)
desc              613 drivers/usb/gadget/udc/fsl_udc_core.c 			(unsigned char) (desc->bmAttributes
desc              620 drivers/usb/gadget/udc/fsl_udc_core.c 			ep->ep.desc->bEndpointAddress & 0x0f,
desc              621 drivers/usb/gadget/udc/fsl_udc_core.c 			(desc->bEndpointAddress & USB_DIR_IN)
desc              640 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!_ep || !ep->ep.desc) {
desc              663 drivers/usb/gadget/udc/fsl_udc_core.c 	ep->ep.desc = NULL;
desc              882 drivers/usb/gadget/udc/fsl_udc_core.c 	if (unlikely(!_ep || !ep->ep.desc)) {
desc              886 drivers/usb/gadget/udc/fsl_udc_core.c 	if (usb_endpoint_xfer_isoc(ep->ep.desc)) {
desc             1012 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!_ep || !ep->ep.desc) {
desc             1017 drivers/usb/gadget/udc/fsl_udc_core.c 	if (usb_endpoint_xfer_isoc(ep->ep.desc)) {
desc             1056 drivers/usb/gadget/udc/fsl_udc_core.c 	if (!_ep || (!ep->ep.desc && ep_index(ep) != 0))
desc             1089 drivers/usb/gadget/udc/fsl_udc_core.c 		if (!ep->ep.desc)
desc             1355 drivers/usb/gadget/udc/fsl_udc_core.c 		if (!target_ep->ep.desc)
desc             2186 drivers/usb/gadget/udc/fsl_udc_core.c 		if (ep->ep.desc) {
desc             2499 drivers/usb/gadget/udc/fsl_udc_core.c 	udc_controller->eps[0].ep.desc = &fsl_ep0_desc;
desc              570 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_index(EP)		((EP)->ep.desc->bEndpointAddress&0xF)
desc              573 drivers/usb/gadget/udc/fsl_usb2_udc.h 			USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
desc              198 drivers/usb/gadget/udc/fusb300_udc.c 		     const struct usb_endpoint_descriptor *desc)
desc              203 drivers/usb/gadget/udc/fusb300_udc.c 	ep->ep.desc = desc;
desc              209 drivers/usb/gadget/udc/fusb300_udc.c 	info.type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc              210 drivers/usb/gadget/udc/fusb300_udc.c 	info.dir_in = (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK) ? 1 : 0;
desc              211 drivers/usb/gadget/udc/fusb300_udc.c 	info.maxpacket = usb_endpoint_maxp(desc);
desc              212 drivers/usb/gadget/udc/fusb300_udc.c 	info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
desc              216 drivers/usb/gadget/udc/fusb300_udc.c 		info.interval = desc->bInterval;
desc              218 drivers/usb/gadget/udc/fusb300_udc.c 			info.bw_num = usb_endpoint_maxp_mult(desc);
desc              233 drivers/usb/gadget/udc/fusb300_udc.c 			  const struct usb_endpoint_descriptor *desc)
desc              245 drivers/usb/gadget/udc/fusb300_udc.c 	return config_ep(ep, desc);
desc              443 drivers/usb/gadget/udc/fusb300_udc.c 	if (ep->ep.desc == NULL) /* ep0 */
desc               91 drivers/usb/gadget/udc/goku_udc.c goku_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
desc              100 drivers/usb/gadget/udc/goku_udc.c 	if (!_ep || !desc
desc              101 drivers/usb/gadget/udc/goku_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              108 drivers/usb/gadget/udc/goku_udc.c 	if (ep->num != usb_endpoint_num(desc))
desc              111 drivers/usb/gadget/udc/goku_udc.c 	switch (usb_endpoint_type(desc)) {
desc              125 drivers/usb/gadget/udc/goku_udc.c 	max = get_unaligned_le16(&desc->wMaxPacketSize);
desc              144 drivers/usb/gadget/udc/goku_udc.c 	ep->is_in = usb_endpoint_dir_in(desc);
desc              178 drivers/usb/gadget/udc/goku_udc.c 	ep->ep.desc = desc;
desc              235 drivers/usb/gadget/udc/goku_udc.c 	ep->ep.desc = NULL;
desc              248 drivers/usb/gadget/udc/goku_udc.c 	if (!_ep || !ep->ep.desc)
desc              722 drivers/usb/gadget/udc/goku_udc.c 	if (unlikely(!_ep || (!ep->ep.desc && ep->num != 0)))
desc              815 drivers/usb/gadget/udc/goku_udc.c 	if (!_ep || !_req || (!ep->ep.desc && ep->num != 0))
desc              896 drivers/usb/gadget/udc/goku_udc.c 	} else if (!ep->ep.desc) {
desc              955 drivers/usb/gadget/udc/goku_udc.c 	if (!ep->ep.desc && ep->num != 0) {
desc              995 drivers/usb/gadget/udc/goku_udc.c 		struct usb_endpoint_descriptor *desc,
desc             1001 drivers/usb/gadget/udc/goku_udc.c 	switch (usb_endpoint_type(desc)) {
desc             1005 drivers/usb/gadget/udc/goku_udc.c 		if (usb_gadget_ep_match_desc(g, ep, desc, ep_comp))
desc             1009 drivers/usb/gadget/udc/goku_udc.c 		if (usb_endpoint_dir_in(desc)) {
desc             1012 drivers/usb/gadget/udc/goku_udc.c 			if (usb_gadget_ep_match_desc(g, ep, desc, ep_comp))
desc             1197 drivers/usb/gadget/udc/goku_udc.c 		if (i && !ep->ep.desc)
desc             1454 drivers/usb/gadget/udc/goku_udc.c 				    (!dev->ep[tmp].ep.desc && tmp != 0))
desc              164 drivers/usb/gadget/udc/gr_udc.c 		struct gr_dma_desc *desc;
desc              172 drivers/usb/gadget/udc/gr_udc.c 			desc = next;
desc              173 drivers/usb/gadget/udc/gr_udc.c 			next = desc->next_desc;
desc              175 drivers/usb/gadget/udc/gr_udc.c 				   desc == req->curr_desc ? 'c' : ' ',
desc              176 drivers/usb/gadget/udc/gr_udc.c 				   desc, desc->paddr, desc->ctrl, desc->data);
desc              177 drivers/usb/gadget/udc/gr_udc.c 		} while (desc != req->last_desc);
desc              248 drivers/usb/gadget/udc/gr_udc.c 				    struct gr_dma_desc *desc)
desc              250 drivers/usb/gadget/udc/gr_udc.c 	dma_pool_free(dev->desc_pool, desc, (dma_addr_t)desc->paddr);
desc              256 drivers/usb/gadget/udc/gr_udc.c 	struct gr_dma_desc *desc;
desc              264 drivers/usb/gadget/udc/gr_udc.c 		desc = next;
desc              265 drivers/usb/gadget/udc/gr_udc.c 		next = desc->next_desc;
desc              266 drivers/usb/gadget/udc/gr_udc.c 		gr_free_dma_desc(dev, desc);
desc              267 drivers/usb/gadget/udc/gr_udc.c 	} while (desc != req->last_desc);
desc              439 drivers/usb/gadget/udc/gr_udc.c 	struct gr_dma_desc *desc;
desc              441 drivers/usb/gadget/udc/gr_udc.c 	desc = gr_alloc_dma_desc(ep, gfp_flags);
desc              442 drivers/usb/gadget/udc/gr_udc.c 	if (!desc)
desc              445 drivers/usb/gadget/udc/gr_udc.c 	desc->data = data;
desc              447 drivers/usb/gadget/udc/gr_udc.c 		desc->ctrl =
desc              450 drivers/usb/gadget/udc/gr_udc.c 		desc->ctrl = GR_DESC_OUT_CTRL_IE;
desc              453 drivers/usb/gadget/udc/gr_udc.c 		req->first_desc = desc;
desc              454 drivers/usb/gadget/udc/gr_udc.c 		req->curr_desc = desc;
desc              456 drivers/usb/gadget/udc/gr_udc.c 		req->last_desc->next_desc = desc;
desc              457 drivers/usb/gadget/udc/gr_udc.c 		req->last_desc->next = desc->paddr;
desc              460 drivers/usb/gadget/udc/gr_udc.c 	req->last_desc = desc;
desc              581 drivers/usb/gadget/udc/gr_udc.c 	if (unlikely(!ep->ep.desc && ep->num != 0)) {
desc              676 drivers/usb/gadget/udc/gr_udc.c 	ep->ep.desc = NULL;
desc              708 drivers/usb/gadget/udc/gr_udc.c 	if (ep->num && !ep->ep.desc)
desc              711 drivers/usb/gadget/udc/gr_udc.c 	if (ep->num && ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC)
desc             1466 drivers/usb/gadget/udc/gr_udc.c 			const struct usb_endpoint_descriptor *desc)
desc             1477 drivers/usb/gadget/udc/gr_udc.c 	if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT)
desc             1495 drivers/usb/gadget/udc/gr_udc.c 	if (!ep->is_in != !usb_endpoint_dir_in(desc))
desc             1503 drivers/usb/gadget/udc/gr_udc.c 	if (usb_endpoint_xfer_control(desc)) {
desc             1505 drivers/usb/gadget/udc/gr_udc.c 	} else if (usb_endpoint_xfer_isoc(desc)) {
desc             1507 drivers/usb/gadget/udc/gr_udc.c 	} else if (usb_endpoint_xfer_bulk(desc)) {
desc             1509 drivers/usb/gadget/udc/gr_udc.c 	} else if (usb_endpoint_xfer_int(desc)) {
desc             1521 drivers/usb/gadget/udc/gr_udc.c 	max = usb_endpoint_maxp(desc);
desc             1522 drivers/usb/gadget/udc/gr_udc.c 	nt = usb_endpoint_maxp_mult(desc) - 1;
desc             1555 drivers/usb/gadget/udc/gr_udc.c 	ep->ep.desc = desc;
desc             1606 drivers/usb/gadget/udc/gr_udc.c 	if (!_ep || !ep->ep.desc)
desc             1624 drivers/usb/gadget/udc/gr_udc.c 	ep->ep.desc = NULL;
desc             1699 drivers/usb/gadget/udc/gr_udc.c 	if (!_ep || !_req || (!ep->ep.desc && ep->num != 0))
desc             1614 drivers/usb/gadget/udc/lpc32xx_udc.c 			     const struct usb_endpoint_descriptor *desc)
desc             1623 drivers/usb/gadget/udc/lpc32xx_udc.c 	if ((!_ep) || (!ep) || (!desc) ||
desc             1624 drivers/usb/gadget/udc/lpc32xx_udc.c 	    (desc->bDescriptorType != USB_DT_ENDPOINT)) {
desc             1628 drivers/usb/gadget/udc/lpc32xx_udc.c 	maxpacket = usb_endpoint_maxp(desc);
desc             1646 drivers/usb/gadget/udc/lpc32xx_udc.c 	tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc             1680 drivers/usb/gadget/udc/lpc32xx_udc.c 	ep->is_in = (desc->bEndpointAddress & USB_DIR_IN) != 0;
desc              325 drivers/usb/gadget/udc/m66592-udc.c 		const struct usb_endpoint_descriptor *desc,
desc              360 drivers/usb/gadget/udc/m66592-udc.c 	ep->ep.maxpacket = usb_endpoint_maxp(desc);
desc              362 drivers/usb/gadget/udc/m66592-udc.c 	m66592->epaddr2ep[desc->bEndpointAddress&USB_ENDPOINT_NUMBER_MASK] = ep;
desc              382 drivers/usb/gadget/udc/m66592-udc.c 		const struct usb_endpoint_descriptor *desc)
desc              390 drivers/usb/gadget/udc/m66592-udc.c 	ep->ep.desc = desc;
desc              394 drivers/usb/gadget/udc/m66592-udc.c 	switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
desc              436 drivers/usb/gadget/udc/m66592-udc.c 	info.epnum = desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK;
desc              437 drivers/usb/gadget/udc/m66592-udc.c 	info.maxpacket = usb_endpoint_maxp(desc);
desc              438 drivers/usb/gadget/udc/m66592-udc.c 	info.interval = desc->bInterval;
desc              439 drivers/usb/gadget/udc/m66592-udc.c 	if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK)
desc              454 drivers/usb/gadget/udc/m66592-udc.c 	m66592_ep_setting(m66592, ep, desc, info.pipe, dma);
desc              558 drivers/usb/gadget/udc/m66592-udc.c 	if (ep->ep.desc->bEndpointAddress & USB_DIR_IN)
desc              734 drivers/usb/gadget/udc/m66592-udc.c 		if (ep->ep.desc)
desc              917 drivers/usb/gadget/udc/m66592-udc.c 				if (ep->ep.desc->bEndpointAddress & USB_DIR_IN)
desc             1300 drivers/usb/gadget/udc/m66592-udc.c 			 const struct usb_endpoint_descriptor *desc)
desc             1305 drivers/usb/gadget/udc/m66592-udc.c 	return alloc_pipe_config(ep, desc);
desc             1373 drivers/usb/gadget/udc/m66592-udc.c 	if (ep->ep.desc == NULL)	/* control */
desc              522 drivers/usb/gadget/udc/mv_u3d_core.c 		const struct usb_endpoint_descriptor *desc)
desc              530 drivers/usb/gadget/udc/mv_u3d_core.c 	if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT)
desc              540 drivers/usb/gadget/udc/mv_u3d_core.c 	max = le16_to_cpu(desc->wMaxPacketSize);
desc              547 drivers/usb/gadget/udc/mv_u3d_core.c 	switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
desc              587 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.desc = desc;
desc              602 drivers/usb/gadget/udc/mv_u3d_core.c 		      | (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK));
desc              615 drivers/usb/gadget/udc/mv_u3d_core.c 		      | (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK));
desc              635 drivers/usb/gadget/udc/mv_u3d_core.c 	if (!ep->ep.desc)
desc              662 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.desc = NULL;
desc              810 drivers/usb/gadget/udc/mv_u3d_core.c 	if (unlikely(!ep->ep.desc)) {
desc              814 drivers/usb/gadget/udc/mv_u3d_core.c 	if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
desc              951 drivers/usb/gadget/udc/mv_u3d_core.c 	if (!ep->ep.desc) {
desc              956 drivers/usb/gadget/udc/mv_u3d_core.c 	if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
desc             1319 drivers/usb/gadget/udc/mv_u3d_core.c 	ep->ep.desc = &mv_u3d_ep0_desc;
desc              344 drivers/usb/gadget/udc/mv_udc_core.c 	if (usb_endpoint_xfer_isoc(req->ep->ep.desc)) {
desc              436 drivers/usb/gadget/udc/mv_udc_core.c 		const struct usb_endpoint_descriptor *desc)
desc              450 drivers/usb/gadget/udc/mv_udc_core.c 	if (!_ep || !desc
desc              451 drivers/usb/gadget/udc/mv_udc_core.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              458 drivers/usb/gadget/udc/mv_udc_core.c 	max = usb_endpoint_maxp(desc);
desc              482 drivers/usb/gadget/udc/mv_udc_core.c 	switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) {
desc              491 drivers/usb/gadget/udc/mv_udc_core.c 		mult = usb_endpoint_maxp_mult(desc);
desc              511 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.desc = desc;
desc              519 drivers/usb/gadget/udc/mv_udc_core.c 			| ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)
desc              524 drivers/usb/gadget/udc/mv_udc_core.c 			| ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)
desc              563 drivers/usb/gadget/udc/mv_udc_core.c 	if ((_ep == NULL) || !ep->ep.desc)
desc              588 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.desc = NULL;
desc              632 drivers/usb/gadget/udc/mv_udc_core.c 	if (!ep->ep.desc)
desc              697 drivers/usb/gadget/udc/mv_udc_core.c 	if (unlikely(!_ep || !ep->ep.desc)) {
desc              898 drivers/usb/gadget/udc/mv_udc_core.c 	if (!_ep || !ep->ep.desc) {
desc              903 drivers/usb/gadget/udc/mv_udc_core.c 	if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
desc             1255 drivers/usb/gadget/udc/mv_udc_core.c 	ep->ep.desc = &mv_ep0_desc;
desc              176 drivers/usb/gadget/udc/net2272.c net2272_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
desc              185 drivers/usb/gadget/udc/net2272.c 	if (!_ep || !desc || ep->desc || _ep->name == ep0name
desc              186 drivers/usb/gadget/udc/net2272.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              192 drivers/usb/gadget/udc/net2272.c 	max = usb_endpoint_maxp(desc);
desc              196 drivers/usb/gadget/udc/net2272.c 	ep->desc = desc;
desc              208 drivers/usb/gadget/udc/net2272.c 	tmp = usb_endpoint_type(desc);
desc              209 drivers/usb/gadget/udc/net2272.c 	if (usb_endpoint_xfer_bulk(desc)) {
desc              217 drivers/usb/gadget/udc/net2272.c 	ep->is_iso = usb_endpoint_xfer_isoc(desc) ? 1 : 0;
desc              219 drivers/usb/gadget/udc/net2272.c 	tmp |= ((desc->bEndpointAddress & 0x0f) << ENDPOINT_NUMBER);
desc              220 drivers/usb/gadget/udc/net2272.c 	tmp |= usb_endpoint_dir_in(desc) << ENDPOINT_DIRECTION;
desc              224 drivers/usb/gadget/udc/net2272.c 	ep->is_in = usb_endpoint_dir_in(desc);
desc              239 drivers/usb/gadget/udc/net2272.c 	tmp = desc->bEndpointAddress;
desc              242 drivers/usb/gadget/udc/net2272.c 		type_string(desc->bmAttributes), max,
desc              253 drivers/usb/gadget/udc/net2272.c 	ep->desc = NULL;
desc              301 drivers/usb/gadget/udc/net2272.c 	if (!_ep || !ep->desc || _ep->name == ep0name)
desc              822 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
desc              934 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0) || !_req)
desc              974 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
desc              978 drivers/usb/gadget/udc/net2272.c 	if (ep->desc /* not ep0 */ && usb_endpoint_xfer_isoc(ep->desc))
desc             1029 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
desc             1049 drivers/usb/gadget/udc/net2272.c 	if (!_ep || (!ep->desc && ep->num != 0))
desc             1229 drivers/usb/gadget/udc/net2272.c 		if (i && !ep->desc)
desc             1631 drivers/usb/gadget/udc/net2272.c 		if (!ep->desc)
desc             1633 drivers/usb/gadget/udc/net2272.c 		bEndpointAddress = ep->desc->bEndpointAddress;
desc              426 drivers/usb/gadget/udc/net2272.h 	const struct usb_endpoint_descriptor *desc;
desc              181 drivers/usb/gadget/udc/net2280.c net2280_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
desc              193 drivers/usb/gadget/udc/net2280.c 	if (!_ep || !desc || ep->desc || _ep->name == ep0name ||
desc              194 drivers/usb/gadget/udc/net2280.c 			desc->bDescriptorType != USB_DT_ENDPOINT) {
desc              205 drivers/usb/gadget/udc/net2280.c 	if ((desc->bEndpointAddress & 0x0f) == EP_DONTUSE) {
desc              211 drivers/usb/gadget/udc/net2280.c 		if ((desc->bEndpointAddress & 0x0f) >= 0x0c) {
desc              215 drivers/usb/gadget/udc/net2280.c 		ep->is_in = !!usb_endpoint_dir_in(desc);
desc              223 drivers/usb/gadget/udc/net2280.c 	max = usb_endpoint_maxp(desc);
desc              231 drivers/usb/gadget/udc/net2280.c 	ep->desc = desc;
desc              247 drivers/usb/gadget/udc/net2280.c 		if ((tmp & 0xf) != usb_endpoint_num(desc)) {
desc              257 drivers/usb/gadget/udc/net2280.c 	type = (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK);
desc              262 drivers/usb/gadget/udc/net2280.c 				!(desc->bEndpointAddress & USB_DIR_IN))
desc              279 drivers/usb/gadget/udc/net2280.c 		tmp |= desc->bEndpointAddress;
desc              297 drivers/usb/gadget/udc/net2280.c 			tmp |= usb_endpoint_num(desc);
desc              337 drivers/usb/gadget/udc/net2280.c 		if ((desc->bEndpointAddress & USB_DIR_IN) == 0) {
desc              345 drivers/usb/gadget/udc/net2280.c 	tmp = desc->bEndpointAddress;
desc              348 drivers/usb/gadget/udc/net2280.c 		type_string(desc->bmAttributes),
desc              384 drivers/usb/gadget/udc/net2280.c 	ep->desc = NULL;
desc              460 drivers/usb/gadget/udc/net2280.c 	ep->desc = NULL;
desc              998 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
desc             1250 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0) || !_req) {
desc             1335 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
desc             1343 drivers/usb/gadget/udc/net2280.c 	if (ep->desc /* not ep0 */ && (ep->desc->bmAttributes & 0x03)
desc             1408 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
desc             1434 drivers/usb/gadget/udc/net2280.c 	if (!_ep || (!ep->desc && ep->num != 0)) {
desc             1554 drivers/usb/gadget/udc/net2280.c 		struct usb_endpoint_descriptor *desc,
desc             1560 drivers/usb/gadget/udc/net2280.c 	if (usb_endpoint_type(desc) == USB_ENDPOINT_XFER_INT) {
desc             1563 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1566 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1574 drivers/usb/gadget/udc/net2280.c 	if (usb_endpoint_type(desc) == USB_ENDPOINT_XFER_INT &&
desc             1575 drivers/usb/gadget/udc/net2280.c 	    usb_endpoint_dir_in(desc)) {
desc             1577 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1580 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1582 drivers/usb/gadget/udc/net2280.c 	} else if (usb_endpoint_type(desc) == USB_ENDPOINT_XFER_INT &&
desc             1583 drivers/usb/gadget/udc/net2280.c 		   !usb_endpoint_dir_in(desc)) {
desc             1585 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1588 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1590 drivers/usb/gadget/udc/net2280.c 	} else if (usb_endpoint_type(desc) != USB_ENDPOINT_XFER_BULK &&
desc             1591 drivers/usb/gadget/udc/net2280.c 		   usb_endpoint_dir_in(desc)) {
desc             1593 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1596 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1598 drivers/usb/gadget/udc/net2280.c 	} else if (usb_endpoint_type(desc) != USB_ENDPOINT_XFER_BULK &&
desc             1599 drivers/usb/gadget/udc/net2280.c 		   !usb_endpoint_dir_in(desc)) {
desc             1601 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1604 drivers/usb/gadget/udc/net2280.c 		if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1609 drivers/usb/gadget/udc/net2280.c 	snprintf(name, sizeof(name), "ep%d%s", usb_endpoint_num(desc),
desc             1610 drivers/usb/gadget/udc/net2280.c 			usb_endpoint_dir_in(desc) ? "in" : "out");
desc             1612 drivers/usb/gadget/udc/net2280.c 	if (ep && usb_gadget_ep_match_desc(_gadget, ep, desc, ep_comp))
desc             1722 drivers/usb/gadget/udc/net2280.c 		if (i && !ep->desc)
desc             1827 drivers/usb/gadget/udc/net2280.c 			d = ep->desc;
desc             2761 drivers/usb/gadget/udc/net2280.c 		if (!ep->desc)
desc             2763 drivers/usb/gadget/udc/net2280.c 		bEndpointAddress = ep->desc->bEndpointAddress;
desc              102 drivers/usb/gadget/udc/net2280.h 	const struct usb_endpoint_descriptor	*desc;
desc              143 drivers/usb/gadget/udc/omap_udc.c 		const struct usb_endpoint_descriptor *desc)
desc              151 drivers/usb/gadget/udc/omap_udc.c 	if (!_ep || !desc
desc              152 drivers/usb/gadget/udc/omap_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT
desc              153 drivers/usb/gadget/udc/omap_udc.c 			|| ep->bEndpointAddress != desc->bEndpointAddress
desc              154 drivers/usb/gadget/udc/omap_udc.c 			|| ep->maxpacket < usb_endpoint_maxp(desc)) {
desc              158 drivers/usb/gadget/udc/omap_udc.c 	maxp = usb_endpoint_maxp(desc);
desc              159 drivers/usb/gadget/udc/omap_udc.c 	if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
desc              161 drivers/usb/gadget/udc/omap_udc.c 			|| usb_endpoint_maxp(desc) > ep->maxpacket
desc              162 drivers/usb/gadget/udc/omap_udc.c 			|| !desc->wMaxPacketSize) {
desc              168 drivers/usb/gadget/udc/omap_udc.c 	if ((desc->bmAttributes == USB_ENDPOINT_XFER_ISOC
desc              169 drivers/usb/gadget/udc/omap_udc.c 				&& desc->bInterval != 1)) {
desc              172 drivers/usb/gadget/udc/omap_udc.c 				1 << (desc->bInterval - 1));
desc              176 drivers/usb/gadget/udc/omap_udc.c 	if (desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
desc              183 drivers/usb/gadget/udc/omap_udc.c 	if (ep->bmAttributes != desc->bmAttributes
desc              185 drivers/usb/gadget/udc/omap_udc.c 			&& desc->bmAttributes != USB_ENDPOINT_XFER_INT) {
desc              198 drivers/usb/gadget/udc/omap_udc.c 	ep->ep.desc = desc;
desc              216 drivers/usb/gadget/udc/omap_udc.c 	if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK)
desc              221 drivers/usb/gadget/udc/omap_udc.c 	if (desc->bmAttributes != USB_ENDPOINT_XFER_ISOC
desc              240 drivers/usb/gadget/udc/omap_udc.c 	if (!_ep || !ep->ep.desc) {
desc              247 drivers/usb/gadget/udc/omap_udc.c 	ep->ep.desc = NULL;
desc              877 drivers/usb/gadget/udc/omap_udc.c 	if (!_ep || (!ep->ep.desc && ep->bEndpointAddress)) {
desc             1064 drivers/usb/gadget/udc/omap_udc.c 	} else if (ep->bmAttributes != USB_ENDPOINT_XFER_ISOC && ep->ep.desc) {
desc             1570 drivers/usb/gadget/udc/omap_udc.c 						|| !ep->ep.desc)
desc             1598 drivers/usb/gadget/udc/omap_udc.c 					|| ep == ep0 || !ep->ep.desc)
desc             1633 drivers/usb/gadget/udc/omap_udc.c 			if (!ep->ep.desc)
desc             2427 drivers/usb/gadget/udc/omap_udc.c 				if (ep->ep.desc)
desc              976 drivers/usb/gadget/udc/pch_udc.c 			       const struct usb_endpoint_descriptor *desc)
desc              981 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_ep_set_trfr_type(ep, desc->bmAttributes);
desc              987 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_ep_set_maxpkt(ep, usb_endpoint_maxp(desc));
desc              992 drivers/usb/gadget/udc/pch_udc.c 	      ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) <<
desc              997 drivers/usb/gadget/udc/pch_udc.c 	      usb_endpoint_maxp(desc) << UDC_CSR_NE_MAX_PKT_SHIFT;
desc             1683 drivers/usb/gadget/udc/pch_udc.c 				    const struct usb_endpoint_descriptor *desc)
desc             1689 drivers/usb/gadget/udc/pch_udc.c 	if (!usbep || (usbep->name == ep0_string) || !desc ||
desc             1690 drivers/usb/gadget/udc/pch_udc.c 	    (desc->bDescriptorType != USB_DT_ENDPOINT) || !desc->wMaxPacketSize)
desc             1698 drivers/usb/gadget/udc/pch_udc.c 	ep->ep.desc = desc;
desc             1700 drivers/usb/gadget/udc/pch_udc.c 	pch_udc_ep_enable(ep, &ep->dev->cfg_data, desc);
desc             1701 drivers/usb/gadget/udc/pch_udc.c 	ep->ep.maxpacket = usb_endpoint_maxp(desc);
desc             1725 drivers/usb/gadget/udc/pch_udc.c 	if ((usbep->name == ep0_string) || !ep->ep.desc)
desc             1733 drivers/usb/gadget/udc/pch_udc.c 	ep->ep.desc = NULL;
desc             1837 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && ep->num)
desc             1935 drivers/usb/gadget/udc/pch_udc.c 	if (!usbep || !usbreq || (!ep->ep.desc && ep->num))
desc             1972 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && !ep->num)
desc             2014 drivers/usb/gadget/udc/pch_udc.c 	if (!ep->ep.desc && !ep->num)
desc             2046 drivers/usb/gadget/udc/pch_udc.c 	if (ep->ep.desc || !ep->num)
desc              423 drivers/usb/gadget/udc/pxa25x_udc.c 		const struct usb_endpoint_descriptor *desc)
desc              429 drivers/usb/gadget/udc/pxa25x_udc.c 	if (!_ep || !desc || _ep->name == ep0name
desc              430 drivers/usb/gadget/udc/pxa25x_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT
desc              431 drivers/usb/gadget/udc/pxa25x_udc.c 			|| ep->bEndpointAddress != desc->bEndpointAddress
desc              432 drivers/usb/gadget/udc/pxa25x_udc.c 			|| ep->fifo_size < usb_endpoint_maxp (desc)) {
desc              438 drivers/usb/gadget/udc/pxa25x_udc.c 	if (ep->bmAttributes != desc->bmAttributes
desc              440 drivers/usb/gadget/udc/pxa25x_udc.c 			&& desc->bmAttributes != USB_ENDPOINT_XFER_INT) {
desc              446 drivers/usb/gadget/udc/pxa25x_udc.c 	if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
desc              447 drivers/usb/gadget/udc/pxa25x_udc.c 				&& usb_endpoint_maxp (desc)
desc              449 drivers/usb/gadget/udc/pxa25x_udc.c 			|| !desc->wMaxPacketSize) {
desc              460 drivers/usb/gadget/udc/pxa25x_udc.c 	ep->ep.desc = desc;
desc              463 drivers/usb/gadget/udc/pxa25x_udc.c 	ep->ep.maxpacket = usb_endpoint_maxp (desc);
desc              480 drivers/usb/gadget/udc/pxa25x_udc.c 	if (!_ep || !ep->ep.desc) {
desc              492 drivers/usb/gadget/udc/pxa25x_udc.c 	ep->ep.desc = NULL;
desc              600 drivers/usb/gadget/udc/pxa25x_udc.c 	max = usb_endpoint_maxp(ep->ep.desc);
desc              855 drivers/usb/gadget/udc/pxa25x_udc.c 	if (unlikely(!_ep || (!ep->ep.desc && ep->ep.name != ep0name))) {
desc              871 drivers/usb/gadget/udc/pxa25x_udc.c 			&& req->req.length > usb_endpoint_maxp(ep->ep.desc)))
desc              884 drivers/usb/gadget/udc/pxa25x_udc.c 		if (ep->ep.desc == NULL/* ep0 */) {
desc              933 drivers/usb/gadget/udc/pxa25x_udc.c 		if (likely(req && ep->ep.desc))
desc              960 drivers/usb/gadget/udc/pxa25x_udc.c 	if (ep->ep.desc)
desc             1003 drivers/usb/gadget/udc/pxa25x_udc.c 			|| (!ep->ep.desc && ep->ep.name != ep0name))
desc             1031 drivers/usb/gadget/udc/pxa25x_udc.c 	if (!ep->ep.desc) {
desc             1305 drivers/usb/gadget/udc/pxa25x_udc.c 			const struct usb_endpoint_descriptor	*desc;
desc             1307 drivers/usb/gadget/udc/pxa25x_udc.c 			desc = ep->ep.desc;
desc             1308 drivers/usb/gadget/udc/pxa25x_udc.c 			if (!desc)
desc             1313 drivers/usb/gadget/udc/pxa25x_udc.c 				ep->ep.name, usb_endpoint_maxp(desc),
desc             1396 drivers/usb/gadget/udc/pxa25x_udc.c 		ep->ep.desc = NULL;
desc              227 drivers/usb/gadget/udc/pxa25x_udc.h 		if (dev->ep[i].ep.desc == NULL)
desc              246 drivers/usb/gadget/udc/pxa27x_udc.c 	if (usb_endpoint_num(&udc_usb_ep->desc) != ep->addr)
desc              248 drivers/usb/gadget/udc/pxa27x_udc.c 	if (usb_endpoint_dir_in(&udc_usb_ep->desc) != ep->dir_in)
desc              250 drivers/usb/gadget/udc/pxa27x_udc.c 	if (usb_endpoint_type(&udc_usb_ep->desc) != ep->type)
desc             1318 drivers/usb/gadget/udc/pxa27x_udc.c 	const struct usb_endpoint_descriptor *desc)
desc             1324 drivers/usb/gadget/udc/pxa27x_udc.c 	if (!_ep || !desc)
desc             1343 drivers/usb/gadget/udc/pxa27x_udc.c 	if ((desc->bDescriptorType != USB_DT_ENDPOINT)
desc             1344 drivers/usb/gadget/udc/pxa27x_udc.c 			|| (ep->type != usb_endpoint_type(desc))) {
desc             1349 drivers/usb/gadget/udc/pxa27x_udc.c 	if (ep->fifo_size < usb_endpoint_maxp(desc)) {
desc              236 drivers/usb/gadget/udc/pxa27x_udc.h   .desc = {	.bEndpointAddress = addr | (dir ? USB_DIR_IN : 0), \
desc              307 drivers/usb/gadget/udc/pxa27x_udc.h 	struct usb_endpoint_descriptor desc;
desc              411 drivers/usb/gadget/udc/r8a66597-udc.c 				const struct usb_endpoint_descriptor *desc,
desc              428 drivers/usb/gadget/udc/r8a66597-udc.c 	ep->ep.maxpacket = usb_endpoint_maxp(desc);
desc              430 drivers/usb/gadget/udc/r8a66597-udc.c 	r8a66597->epaddr2ep[usb_endpoint_num(desc)]
desc              451 drivers/usb/gadget/udc/r8a66597-udc.c 		const struct usb_endpoint_descriptor *desc)
desc              459 drivers/usb/gadget/udc/r8a66597-udc.c 	ep->ep.desc = desc;
desc              464 drivers/usb/gadget/udc/r8a66597-udc.c 	switch (usb_endpoint_type(desc)) {
desc              509 drivers/usb/gadget/udc/r8a66597-udc.c 	info.epnum = usb_endpoint_num(desc);
desc              510 drivers/usb/gadget/udc/r8a66597-udc.c 	info.maxpacket = usb_endpoint_maxp(desc);
desc              511 drivers/usb/gadget/udc/r8a66597-udc.c 	info.interval = desc->bInterval;
desc              512 drivers/usb/gadget/udc/r8a66597-udc.c 	if (desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK)
desc              528 drivers/usb/gadget/udc/r8a66597-udc.c 	r8a66597_ep_setting(r8a66597, ep, desc, info.pipe, dma);
desc              648 drivers/usb/gadget/udc/r8a66597-udc.c 	if (ep->ep.desc->bEndpointAddress & USB_DIR_IN) {
desc              770 drivers/usb/gadget/udc/r8a66597-udc.c 	if (ep->ep.desc->bEndpointAddress & USB_DIR_IN)
desc              930 drivers/usb/gadget/udc/r8a66597-udc.c 		if (ep->ep.desc)
desc             1116 drivers/usb/gadget/udc/r8a66597-udc.c 				if (ep->ep.desc->bEndpointAddress & USB_DIR_IN)
desc             1550 drivers/usb/gadget/udc/r8a66597-udc.c 			 const struct usb_endpoint_descriptor *desc)
desc             1555 drivers/usb/gadget/udc/r8a66597-udc.c 	return alloc_pipe_config(ep, desc);
desc             1623 drivers/usb/gadget/udc/r8a66597-udc.c 	if (ep->ep.desc == NULL)	/* control */
desc             1680 drivers/usb/gadget/udc/r8a66597-udc.c 	if (!ep || !ep->ep.desc)
desc             2073 drivers/usb/gadget/udc/renesas_usb3.c 			      const struct usb_endpoint_descriptor *desc)
desc             2079 drivers/usb/gadget/udc/renesas_usb3.c 	val |= PN_MOD_TYPE(usb_endpoint_type(desc));
desc             2080 drivers/usb/gadget/udc/renesas_usb3.c 	val |= PN_MOD_EPNUM(usb_endpoint_num(desc));
desc             2101 drivers/usb/gadget/udc/renesas_usb3.c 				const struct usb_endpoint_descriptor *desc)
desc             2108 drivers/usb/gadget/udc/renesas_usb3.c 		if (usb_endpoint_maxp(desc) <= max_packet_array[i])
desc             2116 drivers/usb/gadget/udc/renesas_usb3.c 			      const struct usb_endpoint_descriptor *desc)
desc             2121 drivers/usb/gadget/udc/renesas_usb3.c 	usb3_ep->dir_in = usb_endpoint_dir_in(desc);
desc             2125 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_write_pn_mod(usb3_ep, desc);
desc             2126 drivers/usb/gadget/udc/renesas_usb3.c 		usb3_write(usb3, usb3_calc_rammap_val(usb3_ep, desc),
desc             2156 drivers/usb/gadget/udc/renesas_usb3.c 				  const struct usb_endpoint_descriptor *desc)
desc             2160 drivers/usb/gadget/udc/renesas_usb3.c 	return usb3_enable_pipe_n(usb3_ep, desc);
desc              749 drivers/usb/gadget/udc/s3c-hsudc.c 				const struct usb_endpoint_descriptor *desc)
desc              757 drivers/usb/gadget/udc/s3c-hsudc.c 	if (!_ep || !desc || _ep->name == ep0name
desc              758 drivers/usb/gadget/udc/s3c-hsudc.c 		|| desc->bDescriptorType != USB_DT_ENDPOINT
desc              759 drivers/usb/gadget/udc/s3c-hsudc.c 		|| hsep->bEndpointAddress != desc->bEndpointAddress
desc              760 drivers/usb/gadget/udc/s3c-hsudc.c 		|| ep_maxpacket(hsep) < usb_endpoint_maxp(desc))
desc              763 drivers/usb/gadget/udc/s3c-hsudc.c 	if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
desc              764 drivers/usb/gadget/udc/s3c-hsudc.c 		&& usb_endpoint_maxp(desc) != ep_maxpacket(hsep))
desc              765 drivers/usb/gadget/udc/s3c-hsudc.c 		|| !desc->wMaxPacketSize)
desc              775 drivers/usb/gadget/udc/s3c-hsudc.c 	ecr |= ((usb_endpoint_xfer_int(desc)) ? S3C_ECR_IEMS : S3C_ECR_DUEN);
desc              779 drivers/usb/gadget/udc/s3c-hsudc.c 	hsep->ep.desc = desc;
desc              780 drivers/usb/gadget/udc/s3c-hsudc.c 	hsep->ep.maxpacket = usb_endpoint_maxp(desc);
desc              802 drivers/usb/gadget/udc/s3c-hsudc.c 	if (!_ep || !hsep->ep.desc)
desc              812 drivers/usb/gadget/udc/s3c-hsudc.c 	hsep->ep.desc = NULL;
desc             1001 drivers/usb/gadget/udc/s3c-hsudc.c 	hsep->ep.desc = NULL;
desc             1014 drivers/usb/gadget/udc/s3c2410_udc.c 				 const struct usb_endpoint_descriptor *desc)
desc             1025 drivers/usb/gadget/udc/s3c2410_udc.c 	if (!_ep || !desc
desc             1027 drivers/usb/gadget/udc/s3c2410_udc.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc             1034 drivers/usb/gadget/udc/s3c2410_udc.c 	max = usb_endpoint_maxp(desc);
desc             1038 drivers/usb/gadget/udc/s3c2410_udc.c 	ep->ep.desc = desc;
desc             1040 drivers/usb/gadget/udc/s3c2410_udc.c 	ep->bEndpointAddress = desc->bEndpointAddress;
desc             1047 drivers/usb/gadget/udc/s3c2410_udc.c 	if (desc->bEndpointAddress & USB_DIR_IN) {
desc             1079 drivers/usb/gadget/udc/s3c2410_udc.c 	tmp = desc->bEndpointAddress;
desc             1082 drivers/usb/gadget/udc/s3c2410_udc.c 		 desc->bEndpointAddress & USB_DIR_IN ? "in" : "out", max);
desc             1099 drivers/usb/gadget/udc/s3c2410_udc.c 	if (!_ep || !ep->ep.desc) {
desc             1109 drivers/usb/gadget/udc/s3c2410_udc.c 	ep->ep.desc = NULL;
desc             1157 drivers/usb/gadget/udc/s3c2410_udc.c 	if (!ep || !_req || (!ep->ep.desc && _ep->name != ep0name))
desc             1177 drivers/usb/gadget/udc/s3c2410_udc.c 	if (unlikely(!_ep || (!ep->ep.desc && ep->ep.name != ep0name))) {
desc             1325 drivers/usb/gadget/udc/s3c2410_udc.c 	if (unlikely(!_ep || (!ep->ep.desc && ep->ep.name != ep0name))) {
desc             1592 drivers/usb/gadget/udc/s3c2410_udc.c 		ep->ep.desc = NULL;
desc              325 drivers/usb/gadget/udc/snps_udc_core.c udc_ep_enable(struct usb_ep *usbep, const struct usb_endpoint_descriptor *desc)
desc              336 drivers/usb/gadget/udc/snps_udc_core.c 			|| !desc
desc              337 drivers/usb/gadget/udc/snps_udc_core.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              349 drivers/usb/gadget/udc/snps_udc_core.c 	ep->ep.desc = desc;
desc              355 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_EPCTL_ET);
desc              359 drivers/usb/gadget/udc/snps_udc_core.c 	maxpacket = usb_endpoint_maxp(desc);
desc              415 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = AMD_ADDBITS(tmp, desc->bEndpointAddress, UDC_CSR_NE_NUM);
desc              419 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_CSR_NE_TYPE);
desc              445 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = desc->bEndpointAddress;
desc              458 drivers/usb/gadget/udc/snps_udc_core.c 	ep->ep.desc = NULL;
desc              504 drivers/usb/gadget/udc/snps_udc_core.c 	if (usbep->name == ep0_string || !ep->ep.desc)
desc             1072 drivers/usb/gadget/udc/snps_udc_core.c 	if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
desc             1264 drivers/usb/gadget/udc/snps_udc_core.c 	if (!usbep || !usbreq || (!ep->ep.desc && (ep->num != 0
desc             1324 drivers/usb/gadget/udc/snps_udc_core.c 	if (!ep->ep.desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
desc             1568 drivers/usb/gadget/udc/snps_udc_core.c 		if (!ep->ep.desc)
desc              144 drivers/usb/gadget/udc/udc-xilinx.c 	const struct usb_endpoint_descriptor *desc;
desc              681 drivers/usb/gadget/udc/udc-xilinx.c 	max = le16_to_cpu(ep->desc->wMaxPacketSize);
desc              753 drivers/usb/gadget/udc/udc-xilinx.c 	if (!_ep || (!ep->desc && ep->epnumber)) {
desc              801 drivers/usb/gadget/udc/udc-xilinx.c 			    const struct usb_endpoint_descriptor *desc)
desc              809 drivers/usb/gadget/udc/udc-xilinx.c 	ep->is_in = ((desc->bEndpointAddress & USB_DIR_IN) != 0);
desc              811 drivers/usb/gadget/udc/udc-xilinx.c 	ep->epnumber = (desc->bEndpointAddress & 0x0f);
desc              812 drivers/usb/gadget/udc/udc-xilinx.c 	ep->desc = desc;
desc              813 drivers/usb/gadget/udc/udc-xilinx.c 	ep->ep_usb.desc = desc;
desc              814 drivers/usb/gadget/udc/udc-xilinx.c 	tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
desc              815 drivers/usb/gadget/udc/udc-xilinx.c 	ep->ep_usb.maxpacket = maxpacket = le16_to_cpu(desc->wMaxPacketSize);
desc              889 drivers/usb/gadget/udc/udc-xilinx.c 			  const struct usb_endpoint_descriptor *desc)
desc              896 drivers/usb/gadget/udc/udc-xilinx.c 	if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
desc              910 drivers/usb/gadget/udc/udc-xilinx.c 	ret = __xudc_ep_enable(ep, desc);
desc              942 drivers/usb/gadget/udc/udc-xilinx.c 	ep->desc = NULL;
desc              943 drivers/usb/gadget/udc/udc-xilinx.c 	ep->ep_usb.desc = NULL;
desc             1080 drivers/usb/gadget/udc/udc-xilinx.c 	if (!ep->desc) {
desc             1166 drivers/usb/gadget/udc/udc-xilinx.c 			   const struct usb_endpoint_descriptor *desc)
desc             1328 drivers/usb/gadget/udc/udc-xilinx.c 		ep->desc = NULL;
desc             1371 drivers/usb/gadget/udc/udc-xilinx.c 	const struct usb_endpoint_descriptor *desc = &config_bulk_out_desc;
desc             1389 drivers/usb/gadget/udc/udc-xilinx.c 	ret = __xudc_ep_enable(ep0, desc);
desc              580 drivers/usb/host/ehci-dbg.c 					ps->ep->desc.bEndpointAddress,
desc              981 drivers/usb/host/ehci-hcd.c 		if (usb_endpoint_type(&ep->desc) != USB_ENDPOINT_XFER_INT)
desc             1008 drivers/usb/host/ehci-hcd.c 			qh, ep->desc.bEndpointAddress, qh->qh_state,
desc             1022 drivers/usb/host/ehci-hcd.c 	int			eptype = usb_endpoint_type(&ep->desc);
desc             1023 drivers/usb/host/ehci-hcd.c 	int			epnum = usb_endpoint_num(&ep->desc);
desc             1024 drivers/usb/host/ehci-hcd.c 	int			is_out = usb_endpoint_dir_out(&ep->desc);
desc              697 drivers/usb/host/ehci-hub.c 	struct usb_hub_descriptor	*desc
desc              702 drivers/usb/host/ehci-hub.c 	desc->bDescriptorType = USB_DT_HUB;
desc              703 drivers/usb/host/ehci-hub.c 	desc->bPwrOn2PwrGood = 10;	/* ehci 1.0, 2.3.9 says 20ms max */
desc              704 drivers/usb/host/ehci-hub.c 	desc->bHubContrCurrent = 0;
desc              706 drivers/usb/host/ehci-hub.c 	desc->bNbrPorts = ports;
desc              708 drivers/usb/host/ehci-hub.c 	desc->bDescLength = 7 + 2 * temp;
desc              711 drivers/usb/host/ehci-hub.c 	memset(&desc->u.hs.DeviceRemovable[0], 0, temp);
desc              712 drivers/usb/host/ehci-hub.c 	memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp);
desc              724 drivers/usb/host/ehci-hub.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc              357 drivers/usb/host/ehci-q.c 					usb_endpoint_num(&urb->ep->desc),
desc              358 drivers/usb/host/ehci-q.c 					usb_endpoint_dir_in(&urb->ep->desc) ? "in" : "out",
desc              786 drivers/usb/host/ehci-q.c 	maxp = usb_endpoint_maxp (&ep->desc);
desc              787 drivers/usb/host/ehci-q.c 	mult = usb_endpoint_maxp_mult (&ep->desc);
desc              829 drivers/usb/host/ehci-q.c 					1 << (urb->ep->desc.bInterval - 1));
desc              860 drivers/usb/host/ehci-q.c 					urb->ep->desc.bInterval);
desc             1113 drivers/usb/host/ehci-q.c 	epnum = urb->ep->desc.bEndpointAddress;
desc              199 drivers/usb/host/ehci-sched.c 			ps->ep->desc.bEndpointAddress,
desc              930 drivers/usb/host/ehci-sched.c 	epnum = urb->ep->desc.bEndpointAddress;
desc             1050 drivers/usb/host/ehci-sched.c 	maxp = usb_endpoint_maxp(&urb->ep->desc);
desc             1055 drivers/usb/host/ehci-sched.c 		unsigned multi = usb_endpoint_maxp_mult(&urb->ep->desc);
desc             1073 drivers/usb/host/ehci-sched.c 				1 << (urb->ep->desc.bInterval - 1));
desc             1116 drivers/usb/host/ehci-sched.c 				1 << (urb->ep->desc.bInterval - 1));
desc             1833 drivers/usb/host/ehci-sched.c 	struct usb_iso_packet_descriptor	*desc;
desc             1845 drivers/usb/host/ehci-sched.c 		desc = &urb->iso_frame_desc[urb_index];
desc             1854 drivers/usb/host/ehci-sched.c 				desc->status = usb_pipein(urb->pipe)
desc             1858 drivers/usb/host/ehci-sched.c 				desc->status = -EOVERFLOW;
desc             1860 drivers/usb/host/ehci-sched.c 				desc->status = -EPROTO;
desc             1864 drivers/usb/host/ehci-sched.c 				desc->actual_length = EHCI_ITD_LENGTH(t);
desc             1865 drivers/usb/host/ehci-sched.c 				urb->actual_length += desc->actual_length;
desc             1868 drivers/usb/host/ehci-sched.c 			desc->status = 0;
desc             1869 drivers/usb/host/ehci-sched.c 			desc->actual_length = EHCI_ITD_LENGTH(t);
desc             1870 drivers/usb/host/ehci-sched.c 			urb->actual_length += desc->actual_length;
desc             2227 drivers/usb/host/ehci-sched.c 	struct usb_iso_packet_descriptor	*desc;
desc             2234 drivers/usb/host/ehci-sched.c 	desc = &urb->iso_frame_desc[urb_index];
desc             2241 drivers/usb/host/ehci-sched.c 			desc->status = usb_pipein(urb->pipe)
desc             2245 drivers/usb/host/ehci-sched.c 			desc->status = -EOVERFLOW;
desc             2247 drivers/usb/host/ehci-sched.c 			desc->status = -EPROTO;
desc             2252 drivers/usb/host/ehci-sched.c 		desc->status = 0;
desc             2253 drivers/usb/host/ehci-sched.c 		desc->actual_length = desc->length - SITD_LENGTH(t);
desc             2254 drivers/usb/host/ehci-sched.c 		urb->actual_length += desc->actual_length;
desc              730 drivers/usb/host/fhci-sched.c 		ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc);
desc              770 drivers/usb/host/fhci-sched.c 				usb_endpoint_maxp(&urb->ep->desc)) == 0))
desc              808 drivers/usb/host/fhci-sched.c 		ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc);
desc             1439 drivers/usb/host/fotg210-hcd.c 		struct usb_hub_descriptor *desc)
desc             1444 drivers/usb/host/fotg210-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             1445 drivers/usb/host/fotg210-hcd.c 	desc->bPwrOn2PwrGood = 10;	/* fotg210 1.0, 2.3.9 says 20ms max */
desc             1446 drivers/usb/host/fotg210-hcd.c 	desc->bHubContrCurrent = 0;
desc             1448 drivers/usb/host/fotg210-hcd.c 	desc->bNbrPorts = ports;
desc             1450 drivers/usb/host/fotg210-hcd.c 	desc->bDescLength = 7 + 2 * temp;
desc             1453 drivers/usb/host/fotg210-hcd.c 	memset(&desc->u.hs.DeviceRemovable[0], 0, temp);
desc             1454 drivers/usb/host/fotg210-hcd.c 	memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp);
desc             1458 drivers/usb/host/fotg210-hcd.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc             2316 drivers/usb/host/fotg210-hcd.c 					urb, usb_endpoint_num(&urb->ep->desc),
desc             2317 drivers/usb/host/fotg210-hcd.c 					usb_endpoint_dir_in(&urb->ep->desc)
desc             3029 drivers/usb/host/fotg210-hcd.c 	epnum = urb->ep->desc.bEndpointAddress;
desc             3835 drivers/usb/host/fotg210-hcd.c 	epnum = urb->ep->desc.bEndpointAddress;
desc             4434 drivers/usb/host/fotg210-hcd.c 	struct usb_iso_packet_descriptor *desc;
desc             4447 drivers/usb/host/fotg210-hcd.c 		desc = &urb->iso_frame_desc[urb_index];
desc             4456 drivers/usb/host/fotg210-hcd.c 				desc->status = usb_pipein(urb->pipe)
desc             4460 drivers/usb/host/fotg210-hcd.c 				desc->status = -EOVERFLOW;
desc             4462 drivers/usb/host/fotg210-hcd.c 				desc->status = -EPROTO;
desc             4466 drivers/usb/host/fotg210-hcd.c 				desc->actual_length =
desc             4467 drivers/usb/host/fotg210-hcd.c 					fotg210_itdlen(urb, desc, t);
desc             4468 drivers/usb/host/fotg210-hcd.c 				urb->actual_length += desc->actual_length;
desc             4471 drivers/usb/host/fotg210-hcd.c 			desc->status = 0;
desc             4472 drivers/usb/host/fotg210-hcd.c 			desc->actual_length = fotg210_itdlen(urb, desc, t);
desc             4473 drivers/usb/host/fotg210-hcd.c 			urb->actual_length += desc->actual_length;
desc             4476 drivers/usb/host/fotg210-hcd.c 			desc->status = -EXDEV;
desc             5435 drivers/usb/host/fotg210-hcd.c 				qh, ep->desc.bEndpointAddress, qh->qh_state,
desc             5449 drivers/usb/host/fotg210-hcd.c 	int eptype = usb_endpoint_type(&ep->desc);
desc             5450 drivers/usb/host/fotg210-hcd.c 	int epnum = usb_endpoint_num(&ep->desc);
desc             5451 drivers/usb/host/fotg210-hcd.c 	int is_out = usb_endpoint_dir_out(&ep->desc);
desc              689 drivers/usb/host/fotg210.h #define fotg210_itdlen(urb, desc, t) ({			\
desc              691 drivers/usb/host/fotg210.h 	(desc)->length - FOTG210_ITD_LENGTH(t) :			\
desc              165 drivers/usb/host/imx21-dbg.c 			ep->desc.bEndpointAddress,
desc              166 drivers/usb/host/imx21-dbg.c 			usb_endpoint_type(&ep->desc),
desc             1461 drivers/usb/host/imx21-hcd.c 			      struct usb_hub_descriptor *desc)
desc             1464 drivers/usb/host/imx21-hcd.c 	desc->bDescriptorType = USB_DT_HUB; /* HUB descriptor */
desc             1465 drivers/usb/host/imx21-hcd.c 	desc->bHubContrCurrent = 0;
desc             1467 drivers/usb/host/imx21-hcd.c 	desc->bNbrPorts = readl(imx21->regs + USBH_ROOTHUBA)
desc             1469 drivers/usb/host/imx21-hcd.c 	desc->bDescLength = 9;
desc             1470 drivers/usb/host/imx21-hcd.c 	desc->bPwrOn2PwrGood = 0;
desc             1471 drivers/usb/host/imx21-hcd.c 	desc->wHubCharacteristics = (__force __u16) cpu_to_le16(
desc             1475 drivers/usb/host/imx21-hcd.c 	desc->u.hs.DeviceRemovable[0] = 1 << 1;
desc             1476 drivers/usb/host/imx21-hcd.c 	desc->u.hs.DeviceRemovable[1] = ~0;
desc              944 drivers/usb/host/isp116x-hcd.c 				   struct usb_hub_descriptor *desc)
desc              948 drivers/usb/host/isp116x-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc              949 drivers/usb/host/isp116x-hcd.c 	desc->bDescLength = 9;
desc              950 drivers/usb/host/isp116x-hcd.c 	desc->bHubContrCurrent = 0;
desc              951 drivers/usb/host/isp116x-hcd.c 	desc->bNbrPorts = (u8) (reg & 0x3);
desc              953 drivers/usb/host/isp116x-hcd.c 	desc->wHubCharacteristics = cpu_to_le16((u16) ((reg >> 8) &
desc              957 drivers/usb/host/isp116x-hcd.c 	desc->bPwrOn2PwrGood = (u8) ((reg >> 24) & 0xff);
desc              959 drivers/usb/host/isp116x-hcd.c 	desc->u.hs.DeviceRemovable[0] = 0;
desc              960 drivers/usb/host/isp116x-hcd.c 	desc->u.hs.DeviceRemovable[1] = ~0;
desc             1537 drivers/usb/host/isp1362-hcd.c 				   struct usb_hub_descriptor *desc)
desc             1543 drivers/usb/host/isp1362-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             1544 drivers/usb/host/isp1362-hcd.c 	desc->bDescLength = 9;
desc             1545 drivers/usb/host/isp1362-hcd.c 	desc->bHubContrCurrent = 0;
desc             1546 drivers/usb/host/isp1362-hcd.c 	desc->bNbrPorts = reg & 0x3;
desc             1548 drivers/usb/host/isp1362-hcd.c 	desc->wHubCharacteristics = cpu_to_le16((reg >> 8) &
desc             1553 drivers/usb/host/isp1362-hcd.c 			desc->wHubCharacteristics);
desc             1554 drivers/usb/host/isp1362-hcd.c 	desc->bPwrOn2PwrGood = (reg >> 24) & 0xff;
desc             1556 drivers/usb/host/isp1362-hcd.c 	desc->u.hs.DeviceRemovable[0] = desc->bNbrPorts == 1 ? 1 << 1 : 3 << 1;
desc             1557 drivers/usb/host/isp1362-hcd.c 	desc->u.hs.DeviceRemovable[1] = ~0;
desc              686 drivers/usb/host/max3421-hcd.c 			switch (usb_endpoint_type(&ep->desc)) {
desc              716 drivers/usb/host/max3421-hcd.c 			switch (usb_endpoint_type(&ep->desc)) {
desc              766 drivers/usb/host/max3421-hcd.c 	epnum = usb_endpoint_num(&urb->ep->desc);
desc              772 drivers/usb/host/max3421-hcd.c 		if (usb_endpoint_xfer_control(&ep->desc)) {
desc             1211 drivers/usb/host/max3421-hcd.c 		epnum = usb_endpoint_num(&ep->desc);
desc             1654 drivers/usb/host/max3421-hcd.c hub_descriptor(struct usb_hub_descriptor *desc)
desc             1656 drivers/usb/host/max3421-hcd.c 	memset(desc, 0, sizeof(*desc));
desc             1660 drivers/usb/host/max3421-hcd.c 	desc->bDescriptorType = USB_DT_HUB; /* hub descriptor */
desc             1661 drivers/usb/host/max3421-hcd.c 	desc->bDescLength = 9;
desc             1662 drivers/usb/host/max3421-hcd.c 	desc->wHubCharacteristics = cpu_to_le16(HUB_CHAR_INDV_PORT_LPSM |
desc             1664 drivers/usb/host/max3421-hcd.c 	desc->bNbrPorts = 1;
desc              333 drivers/usb/host/ohci-at91.c 	struct usb_hub_descriptor *desc;
desc              419 drivers/usb/host/ohci-at91.c 		desc = (struct usb_hub_descriptor *)buf;
desc              422 drivers/usb/host/ohci-at91.c 			desc->wHubCharacteristics);
desc              428 drivers/usb/host/ohci-at91.c 		desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_LPSM);
desc              429 drivers/usb/host/ohci-at91.c 		desc->wHubCharacteristics |=
desc              433 drivers/usb/host/ohci-at91.c 			desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_OCPM);
desc              434 drivers/usb/host/ohci-at91.c 			desc->wHubCharacteristics |=
desc              439 drivers/usb/host/ohci-at91.c 			desc->wHubCharacteristics);
desc              394 drivers/usb/host/ohci-hcd.c 			ed, ep->desc.bEndpointAddress, ed->state,
desc              537 drivers/usb/host/ohci-hub.c 	struct usb_hub_descriptor	*desc
desc              542 drivers/usb/host/ohci-hub.c 	desc->bDescriptorType = USB_DT_HUB;
desc              543 drivers/usb/host/ohci-hub.c 	desc->bPwrOn2PwrGood = (rh & RH_A_POTPGT) >> 24;
desc              544 drivers/usb/host/ohci-hub.c 	desc->bHubContrCurrent = 0;
desc              546 drivers/usb/host/ohci-hub.c 	desc->bNbrPorts = ohci->num_ports;
desc              548 drivers/usb/host/ohci-hub.c 	desc->bDescLength = 7 + 2 * temp;
desc              559 drivers/usb/host/ohci-hub.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc              563 drivers/usb/host/ohci-hub.c 	memset(desc->u.hs.DeviceRemovable, 0xff,
desc              564 drivers/usb/host/ohci-hub.c 			sizeof(desc->u.hs.DeviceRemovable));
desc              565 drivers/usb/host/ohci-hub.c 	desc->u.hs.DeviceRemovable[0] = rh & RH_B_DR;
desc              567 drivers/usb/host/ohci-hub.c 		desc->u.hs.DeviceRemovable[1] = (rh & RH_B_DR) >> 8;
desc              568 drivers/usb/host/ohci-hub.c 		desc->u.hs.DeviceRemovable[2] = 0xff;
desc              570 drivers/usb/host/ohci-hub.c 		desc->u.hs.DeviceRemovable[1] = 0xff;
desc              437 drivers/usb/host/ohci-q.c 		is_out = !(ep->desc.bEndpointAddress & USB_DIR_IN);
desc              445 drivers/usb/host/ohci-q.c 		info |= (ep->desc.bEndpointAddress & ~USB_DIR_IN) << 7;
desc              446 drivers/usb/host/ohci-q.c 		info |= usb_endpoint_maxp(&ep->desc) << 16;
desc              462 drivers/usb/host/ohci-q.c 					usb_endpoint_maxp(&ep->desc))
desc              171 drivers/usb/host/ohci-s3c2410.c 	struct usb_hub_descriptor *desc;
desc              242 drivers/usb/host/ohci-s3c2410.c 		desc = (struct usb_hub_descriptor *)buf;
desc              248 drivers/usb/host/ohci-s3c2410.c 			desc->wHubCharacteristics);
desc              254 drivers/usb/host/ohci-s3c2410.c 		desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_LPSM);
desc              255 drivers/usb/host/ohci-s3c2410.c 		desc->wHubCharacteristics |= cpu_to_le16(
desc              259 drivers/usb/host/ohci-s3c2410.c 			desc->wHubCharacteristics &= ~cpu_to_le16(
desc              261 drivers/usb/host/ohci-s3c2410.c 			desc->wHubCharacteristics |=  cpu_to_le16(
desc              266 drivers/usb/host/ohci-s3c2410.c 			desc->wHubCharacteristics);
desc              868 drivers/usb/host/oxu210hp-hcd.c 				struct usb_hub_descriptor *desc)
desc              873 drivers/usb/host/oxu210hp-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc              874 drivers/usb/host/oxu210hp-hcd.c 	desc->bPwrOn2PwrGood = 10;	/* oxu 1.0, 2.3.9 says 20ms max */
desc              875 drivers/usb/host/oxu210hp-hcd.c 	desc->bHubContrCurrent = 0;
desc              877 drivers/usb/host/oxu210hp-hcd.c 	desc->bNbrPorts = ports;
desc              879 drivers/usb/host/oxu210hp-hcd.c 	desc->bDescLength = 7 + 2 * temp;
desc              882 drivers/usb/host/oxu210hp-hcd.c 	memset(&desc->u.hs.DeviceRemovable[0], 0, temp);
desc              883 drivers/usb/host/oxu210hp-hcd.c 	memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp);
desc              890 drivers/usb/host/oxu210hp-hcd.c 	desc->wHubCharacteristics = (__force __u16)cpu_to_le16(temp);
desc             2047 drivers/usb/host/oxu210hp-hcd.c 	epnum = urb->ep->desc.bEndpointAddress;
desc             2622 drivers/usb/host/oxu210hp-hcd.c 	epnum = urb->ep->desc.bEndpointAddress;
desc             3467 drivers/usb/host/oxu210hp-hcd.c 			qh, ep->desc.bEndpointAddress, qh->qh_state,
desc             1914 drivers/usb/host/r8a66597-hcd.c 			init_pipe_info(r8a66597, urb, hep, &hep->desc);
desc             2128 drivers/usb/host/r8a66597-hcd.c 				    struct usb_hub_descriptor *desc)
desc             2130 drivers/usb/host/r8a66597-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             2131 drivers/usb/host/r8a66597-hcd.c 	desc->bHubContrCurrent = 0;
desc             2132 drivers/usb/host/r8a66597-hcd.c 	desc->bNbrPorts = r8a66597->max_root_hub;
desc             2133 drivers/usb/host/r8a66597-hcd.c 	desc->bDescLength = 9;
desc             2134 drivers/usb/host/r8a66597-hcd.c 	desc->bPwrOn2PwrGood = 0;
desc             2135 drivers/usb/host/r8a66597-hcd.c 	desc->wHubCharacteristics =
desc             2137 drivers/usb/host/r8a66597-hcd.c 	desc->u.hs.DeviceRemovable[0] =
desc             2139 drivers/usb/host/r8a66597-hcd.c 	desc->u.hs.DeviceRemovable[1] = ~0;
desc             1091 drivers/usb/host/sl811-hcd.c 	struct usb_hub_descriptor	*desc
desc             1095 drivers/usb/host/sl811-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             1096 drivers/usb/host/sl811-hcd.c 	desc->bHubContrCurrent = 0;
desc             1098 drivers/usb/host/sl811-hcd.c 	desc->bNbrPorts = 1;
desc             1099 drivers/usb/host/sl811-hcd.c 	desc->bDescLength = 9;
desc             1102 drivers/usb/host/sl811-hcd.c 	desc->bPwrOn2PwrGood = 0;
desc             1104 drivers/usb/host/sl811-hcd.c 		desc->bPwrOn2PwrGood = sl811->board->potpg;
desc             1105 drivers/usb/host/sl811-hcd.c 		if (!desc->bPwrOn2PwrGood)
desc             1106 drivers/usb/host/sl811-hcd.c 			desc->bPwrOn2PwrGood = 10;
desc             1114 drivers/usb/host/sl811-hcd.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc             1117 drivers/usb/host/sl811-hcd.c 	desc->u.hs.DeviceRemovable[0] = 0 << 1;
desc             1118 drivers/usb/host/sl811-hcd.c 	desc->u.hs.DeviceRemovable[1] = ~0;
desc             2564 drivers/usb/host/u132-hcd.c 	struct usb_hub_descriptor *desc)
desc             2573 drivers/usb/host/u132-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             2574 drivers/usb/host/u132-hcd.c 	desc->bPwrOn2PwrGood = (rh_a & RH_A_POTPGT) >> 24;
desc             2575 drivers/usb/host/u132-hcd.c 	desc->bHubContrCurrent = 0;
desc             2576 drivers/usb/host/u132-hcd.c 	desc->bNbrPorts = u132->num_ports;
desc             2578 drivers/usb/host/u132-hcd.c 	desc->bDescLength = 7 + 2 * temp;
desc             2588 drivers/usb/host/u132-hcd.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc             2592 drivers/usb/host/u132-hcd.c 	memset(desc->u.hs.DeviceRemovable, 0xff,
desc             2593 drivers/usb/host/u132-hcd.c 			sizeof(desc->u.hs.DeviceRemovable));
desc             2594 drivers/usb/host/u132-hcd.c 	desc->u.hs.DeviceRemovable[0] = rh_b & RH_B_DR;
desc             2596 drivers/usb/host/u132-hcd.c 		desc->u.hs.DeviceRemovable[1] = (rh_b & RH_B_DR) >> 8;
desc             2597 drivers/usb/host/u132-hcd.c 		desc->u.hs.DeviceRemovable[2] = 0xff;
desc             2599 drivers/usb/host/u132-hcd.c 		desc->u.hs.DeviceRemovable[1] = 0xff;
desc             2603 drivers/usb/host/u132-hcd.c static int u132_roothub_status(struct u132 *u132, __le32 *desc)
desc             2607 drivers/usb/host/u132-hcd.c 	*desc = cpu_to_le32(rh_status);
desc             2611 drivers/usb/host/u132-hcd.c static int u132_roothub_portstatus(struct u132 *u132, __le32 *desc, u16 wIndex)
desc             2620 drivers/usb/host/u132-hcd.c 		*desc = cpu_to_le32(rh_portstatus);
desc             2621 drivers/usb/host/u132-hcd.c 		if (*(u16 *) (desc + 2)) {
desc             2623 drivers/usb/host/u132-hcd.c 				"ge = %08X\n", port, *desc);
desc              264 drivers/usb/host/uhci-q.c 		qh->type = usb_endpoint_type(&hep->desc);
desc              280 drivers/usb/host/uhci-q.c 					usb_endpoint_dir_in(&hep->desc),
desc              282 drivers/usb/host/uhci-q.c 					usb_endpoint_maxp(&hep->desc))
desc              685 drivers/usb/host/uhci-q.c 			qh->hep->desc.bEndpointAddress, p,
desc              718 drivers/usb/host/uhci-q.c 			qh->hep->desc.bEndpointAddress, p,
desc              794 drivers/usb/host/uhci-q.c 	int maxsze = usb_endpoint_maxp(&qh->hep->desc);
desc              920 drivers/usb/host/uhci-q.c 	int maxsze = usb_endpoint_maxp(&qh->hep->desc);
desc              170 drivers/usb/host/xhci-hub.c 		struct usb_hub_descriptor *desc, int ports)
desc              174 drivers/usb/host/xhci-hub.c 	desc->bPwrOn2PwrGood = 10;	/* xhci section 5.4.9 says 20ms max */
desc              175 drivers/usb/host/xhci-hub.c 	desc->bHubContrCurrent = 0;
desc              177 drivers/usb/host/xhci-hub.c 	desc->bNbrPorts = ports;
desc              189 drivers/usb/host/xhci-hub.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc              194 drivers/usb/host/xhci-hub.c 		struct usb_hub_descriptor *desc)
desc              205 drivers/usb/host/xhci-hub.c 	xhci_common_hub_descriptor(xhci, desc, ports);
desc              206 drivers/usb/host/xhci-hub.c 	desc->bDescriptorType = USB_DT_HUB;
desc              208 drivers/usb/host/xhci-hub.c 	desc->bDescLength = USB_DT_HUB_NONVAR_SIZE + 2 * temp;
desc              236 drivers/usb/host/xhci-hub.c 	memset(desc->u.hs.DeviceRemovable, 0xff,
desc              237 drivers/usb/host/xhci-hub.c 			sizeof(desc->u.hs.DeviceRemovable));
desc              238 drivers/usb/host/xhci-hub.c 	memset(desc->u.hs.PortPwrCtrlMask, 0xff,
desc              239 drivers/usb/host/xhci-hub.c 			sizeof(desc->u.hs.PortPwrCtrlMask));
desc              242 drivers/usb/host/xhci-hub.c 		memset(&desc->u.hs.DeviceRemovable[i], port_removable[i],
desc              248 drivers/usb/host/xhci-hub.c 		struct usb_hub_descriptor *desc)
desc              258 drivers/usb/host/xhci-hub.c 	xhci_common_hub_descriptor(xhci, desc, ports);
desc              259 drivers/usb/host/xhci-hub.c 	desc->bDescriptorType = USB_DT_SS_HUB;
desc              260 drivers/usb/host/xhci-hub.c 	desc->bDescLength = USB_DT_SS_HUB_SIZE;
desc              265 drivers/usb/host/xhci-hub.c 	desc->u.ss.bHubHdrDecLat = 0;
desc              266 drivers/usb/host/xhci-hub.c 	desc->u.ss.wHubDelay = 0;
desc              276 drivers/usb/host/xhci-hub.c 	desc->u.ss.DeviceRemovable = cpu_to_le16(port_removable);
desc              280 drivers/usb/host/xhci-hub.c 		struct usb_hub_descriptor *desc)
desc              284 drivers/usb/host/xhci-hub.c 		xhci_usb3_hub_descriptor(hcd, xhci, desc);
desc              286 drivers/usb/host/xhci-hub.c 		xhci_usb2_hub_descriptor(hcd, xhci, desc);
desc             1225 drivers/usb/host/xhci-mem.c 	interval = clamp_val(ep->desc.bInterval, 1, 16) - 1;
desc             1226 drivers/usb/host/xhci-mem.c 	if (interval != ep->desc.bInterval - 1)
desc             1229 drivers/usb/host/xhci-mem.c 			 ep->desc.bEndpointAddress,
desc             1260 drivers/usb/host/xhci-mem.c 			 ep->desc.bEndpointAddress,
desc             1270 drivers/usb/host/xhci-mem.c 	if (ep->desc.bInterval == 0)
desc             1273 drivers/usb/host/xhci-mem.c 			ep->desc.bInterval, 0, 15);
desc             1281 drivers/usb/host/xhci-mem.c 			ep->desc.bInterval * 8, 3, 10);
desc             1300 drivers/usb/host/xhci-mem.c 		if (usb_endpoint_xfer_control(&ep->desc) ||
desc             1301 drivers/usb/host/xhci-mem.c 		    usb_endpoint_xfer_bulk(&ep->desc)) {
desc             1309 drivers/usb/host/xhci-mem.c 		if (usb_endpoint_xfer_int(&ep->desc) ||
desc             1310 drivers/usb/host/xhci-mem.c 		    usb_endpoint_xfer_isoc(&ep->desc)) {
desc             1316 drivers/usb/host/xhci-mem.c 		if (usb_endpoint_xfer_isoc(&ep->desc)) {
desc             1328 drivers/usb/host/xhci-mem.c 		if (usb_endpoint_xfer_int(&ep->desc) ||
desc             1329 drivers/usb/host/xhci-mem.c 		    usb_endpoint_xfer_isoc(&ep->desc)) {
desc             1350 drivers/usb/host/xhci-mem.c 			!usb_endpoint_xfer_isoc(&ep->desc))
desc             1363 drivers/usb/host/xhci-mem.c 	    (usb_endpoint_xfer_isoc(&ep->desc) ||
desc             1364 drivers/usb/host/xhci-mem.c 	     usb_endpoint_xfer_int(&ep->desc)))
desc             1365 drivers/usb/host/xhci-mem.c 		return usb_endpoint_maxp_mult(&ep->desc) - 1;
desc             1374 drivers/usb/host/xhci-mem.c 	in = usb_endpoint_dir_in(&ep->desc);
desc             1376 drivers/usb/host/xhci-mem.c 	switch (usb_endpoint_type(&ep->desc)) {
desc             1400 drivers/usb/host/xhci-mem.c 	if (usb_endpoint_xfer_control(&ep->desc) ||
desc             1401 drivers/usb/host/xhci-mem.c 			usb_endpoint_xfer_bulk(&ep->desc))
desc             1412 drivers/usb/host/xhci-mem.c 	max_packet = usb_endpoint_maxp(&ep->desc);
desc             1413 drivers/usb/host/xhci-mem.c 	max_burst = usb_endpoint_maxp_mult(&ep->desc);
desc             1440 drivers/usb/host/xhci-mem.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc             1447 drivers/usb/host/xhci-mem.c 	ring_type = usb_endpoint_type(&ep->desc);
desc             1459 drivers/usb/host/xhci-mem.c 	if (usb_endpoint_xfer_int(&ep->desc) ||
desc             1460 drivers/usb/host/xhci-mem.c 	    usb_endpoint_xfer_isoc(&ep->desc)) {
desc             1469 drivers/usb/host/xhci-mem.c 	max_packet = usb_endpoint_maxp(&ep->desc);
desc             1476 drivers/usb/host/xhci-mem.c 	if (!usb_endpoint_xfer_isoc(&ep->desc))
desc             1479 drivers/usb/host/xhci-mem.c 	if (usb_endpoint_xfer_bulk(&ep->desc)) {
desc             1488 drivers/usb/host/xhci-mem.c 	if (usb_endpoint_xfer_control(&ep->desc) && xhci->hci_version >= 0x100)
desc             1527 drivers/usb/host/xhci-mem.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc               61 drivers/usb/host/xhci-mtk-sch.c 		if (usb_endpoint_dir_out(&ep->desc))
desc              182 drivers/usb/host/xhci-mtk-sch.c 			&& usb_endpoint_xfer_isoc(&ep->desc))
desc              548 drivers/usb/host/xhci-mtk-sch.c 	if (usb_endpoint_xfer_control(&ep->desc)
desc              549 drivers/usb/host/xhci-mtk-sch.c 		|| usb_endpoint_xfer_bulk(&ep->desc))
desc              609 drivers/usb/host/xhci-mtk-sch.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc              615 drivers/usb/host/xhci-mtk-sch.c 		__func__, usb_endpoint_type(&ep->desc), udev->speed,
desc              616 drivers/usb/host/xhci-mtk-sch.c 		usb_endpoint_maxp(&ep->desc),
desc              617 drivers/usb/host/xhci-mtk-sch.c 		usb_endpoint_dir_in(&ep->desc), ep);
desc              624 drivers/usb/host/xhci-mtk-sch.c 		if (usb_endpoint_xfer_int(&ep->desc)
desc              625 drivers/usb/host/xhci-mtk-sch.c 			|| usb_endpoint_xfer_isoc(&ep->desc))
desc              683 drivers/usb/host/xhci-mtk-sch.c 		__func__, usb_endpoint_type(&ep->desc), udev->speed,
desc              684 drivers/usb/host/xhci-mtk-sch.c 		usb_endpoint_maxp(&ep->desc),
desc              685 drivers/usb/host/xhci-mtk-sch.c 		usb_endpoint_dir_in(&ep->desc), ep);
desc             1947 drivers/usb/host/xhci-ring.c 		    (*status != 0 && !usb_endpoint_xfer_isoc(&urb->ep->desc)))
desc             2277 drivers/usb/host/xhci-ring.c 				 td->urb->ep->desc.bEndpointAddress,
desc             2284 drivers/usb/host/xhci-ring.c 			 td->urb->ep->desc.bEndpointAddress,
desc             2599 drivers/usb/host/xhci-ring.c 			    !usb_endpoint_xfer_isoc(&td->urb->ep->desc)) {
desc             2661 drivers/usb/host/xhci-ring.c 		if (usb_endpoint_xfer_control(&td->urb->ep->desc))
desc             2663 drivers/usb/host/xhci-ring.c 		else if (usb_endpoint_xfer_isoc(&td->urb->ep->desc))
desc             3110 drivers/usb/host/xhci-ring.c 				urb->ep->desc.bEndpointAddress,
desc             3218 drivers/usb/host/xhci-ring.c 	maxp = usb_endpoint_maxp(&urb->ep->desc);
desc             3235 drivers/usb/host/xhci-ring.c 	max_pkt = usb_endpoint_maxp(&urb->ep->desc);
desc             3770 drivers/usb/host/xhci-ring.c 		max_pkt = usb_endpoint_maxp(&urb->ep->desc);
desc              285 drivers/usb/host/xhci-trace.h 		__entry->epnum = usb_endpoint_num(&urb->ep->desc);
desc              286 drivers/usb/host/xhci-trace.h 		__entry->dir_in = usb_endpoint_dir_in(&urb->ep->desc);
desc              287 drivers/usb/host/xhci-trace.h 		__entry->type = usb_endpoint_type(&urb->ep->desc);
desc             1284 drivers/usb/host/xhci.c unsigned int xhci_get_endpoint_index(struct usb_endpoint_descriptor *desc)
desc             1287 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_control(desc))
desc             1288 drivers/usb/host/xhci.c 		index = (unsigned int) (usb_endpoint_num(desc)*2);
desc             1290 drivers/usb/host/xhci.c 		index = (unsigned int) (usb_endpoint_num(desc)*2) +
desc             1291 drivers/usb/host/xhci.c 			(usb_endpoint_dir_in(desc) ? 1 : 0) - 1;
desc             1309 drivers/usb/host/xhci.c static unsigned int xhci_get_endpoint_flag(struct usb_endpoint_descriptor *desc)
desc             1311 drivers/usb/host/xhci.c 	return 1 << (xhci_get_endpoint_index(desc) + 1);
desc             1398 drivers/usb/host/xhci.c 	max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc);
desc             1472 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&urb->ep->desc);
desc             1485 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_isoc(&urb->ep->desc))
desc             1487 drivers/usb/host/xhci.c 	else if (usb_endpoint_is_bulk_out(&urb->ep->desc) &&
desc             1490 drivers/usb/host/xhci.c 	    !(urb->transfer_buffer_length % usb_endpoint_maxp(&urb->ep->desc)))
desc             1505 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_control(&urb->ep->desc)) {
desc             1524 drivers/usb/host/xhci.c 			 urb->ep->desc.bEndpointAddress, urb);
desc             1540 drivers/usb/host/xhci.c 	switch (usb_endpoint_type(&urb->ep->desc)) {
desc             1629 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&urb->ep->desc);
desc             1678 drivers/usb/host/xhci.c 				urb->ep->desc.bEndpointAddress,
desc             1751 drivers/usb/host/xhci.c 	drop_flag = xhci_get_endpoint_flag(&ep->desc);
desc             1767 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc             1774 drivers/usb/host/xhci.c 	    xhci_get_endpoint_flag(&ep->desc)) {
desc             1796 drivers/usb/host/xhci.c 			(unsigned int) ep->desc.bEndpointAddress,
desc             1839 drivers/usb/host/xhci.c 	added_ctxs = xhci_get_endpoint_flag(&ep->desc);
desc             1859 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc             1867 drivers/usb/host/xhci.c 				(unsigned int) ep->desc.bEndpointAddress);
desc             1887 drivers/usb/host/xhci.c 				__func__, ep->desc.bEndpointAddress);
desc             1920 drivers/usb/host/xhci.c 			(unsigned int) ep->desc.bEndpointAddress,
desc             3095 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&host_ep->desc);
desc             3154 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&host_ep->desc);
desc             3165 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_control(&host_ep->desc) ||
desc             3166 drivers/usb/host/xhci.c 	    usb_endpoint_xfer_isoc(&host_ep->desc))
desc             3169 drivers/usb/host/xhci.c 	ep_flag = xhci_get_endpoint_flag(&host_ep->desc);
desc             3260 drivers/usb/host/xhci.c 				ep->desc.bEndpointAddress);
desc             3264 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc             3270 drivers/usb/host/xhci.c 				ep->desc.bEndpointAddress);
desc             3278 drivers/usb/host/xhci.c 				ep->desc.bEndpointAddress);
desc             3329 drivers/usb/host/xhci.c 					eps[i]->desc.bEndpointAddress,
desc             3334 drivers/usb/host/xhci.c 		endpoint_flag = xhci_get_endpoint_flag(&eps[i]->desc);
desc             3357 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3364 drivers/usb/host/xhci.c 					eps[i]->desc.bEndpointAddress);
desc             3373 drivers/usb/host/xhci.c 					eps[i]->desc.bEndpointAddress);
desc             3378 drivers/usb/host/xhci.c 		changed_ep_bitmask |= xhci_get_endpoint_flag(&eps[i]->desc);
desc             3468 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3482 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3483 drivers/usb/host/xhci.c 		max_packet = usb_endpoint_maxp(&eps[i]->desc);
desc             3499 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3527 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3542 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3591 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&eps[0]->desc);
desc             3604 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             3633 drivers/usb/host/xhci.c 		ep_index = xhci_get_endpoint_index(&eps[i]->desc);
desc             4536 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc)
desc             4538 drivers/usb/host/xhci.c 	return (1ULL << (desc->bInterval - 1)) * 125 * 1000;
desc             4593 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc)
desc             4599 drivers/usb/host/xhci.c 	ep_type = usb_endpoint_type(desc);
desc             4608 drivers/usb/host/xhci.c 		intr_type = usb_endpoint_interrupt_type(desc);
desc             4616 drivers/usb/host/xhci.c 		timeout_ns = xhci_service_interval_to_ns(desc);
desc             4631 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc)
desc             4636 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_int(desc) || usb_endpoint_xfer_isoc(desc)) {
desc             4637 drivers/usb/host/xhci.c 		if (xhci_service_interval_to_ns(desc) <= udev->u1_params.mel) {
desc             4644 drivers/usb/host/xhci.c 		timeout_ns = xhci_calculate_intel_u1_timeout(udev, desc);
desc             4674 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc)
desc             4681 drivers/usb/host/xhci.c 	if ((usb_endpoint_xfer_int(desc) || usb_endpoint_xfer_isoc(desc)) &&
desc             4682 drivers/usb/host/xhci.c 			(xhci_service_interval_to_ns(desc) > timeout_ns))
desc             4683 drivers/usb/host/xhci.c 		timeout_ns = xhci_service_interval_to_ns(desc);
desc             4695 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc)
desc             4700 drivers/usb/host/xhci.c 	if (usb_endpoint_xfer_int(desc) || usb_endpoint_xfer_isoc(desc)) {
desc             4701 drivers/usb/host/xhci.c 		if (xhci_service_interval_to_ns(desc) <= udev->u2_params.mel) {
desc             4708 drivers/usb/host/xhci.c 		timeout_ns = xhci_calculate_intel_u2_timeout(udev, desc);
desc             4726 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc,
desc             4731 drivers/usb/host/xhci.c 		return xhci_calculate_u1_timeout(xhci, udev, desc);
desc             4733 drivers/usb/host/xhci.c 		return xhci_calculate_u2_timeout(xhci, udev, desc);
desc             4740 drivers/usb/host/xhci.c 		struct usb_endpoint_descriptor *desc,
desc             4747 drivers/usb/host/xhci.c 		desc, state, timeout);
desc             4771 drivers/usb/host/xhci.c 	for (j = 0; j < alt->desc.bNumEndpoints; j++) {
desc             4773 drivers/usb/host/xhci.c 					&alt->endpoint[j].desc, state, timeout))
desc             4844 drivers/usb/host/xhci.c 	if (xhci_update_timeout_for_endpoint(xhci, udev, &udev->ep0.desc,
desc             4852 drivers/usb/host/xhci.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc             5287 drivers/usb/host/xhci.c 	ep_index = xhci_get_endpoint_index(&ep->desc);
desc             1985 drivers/usb/host/xhci.h unsigned int xhci_get_endpoint_index(struct usb_endpoint_descriptor *desc);
desc             2175 drivers/usb/host/xhci.h 					xhci_get_endpoint_index(&urb->ep->desc),
desc             2186 drivers/usb/host/xhci.h 	if (!usb_endpoint_xfer_isoc(&urb->ep->desc) && usb_urb_dir_out(urb) &&
desc             2187 drivers/usb/host/xhci.h 	    usb_endpoint_maxp(&urb->ep->desc) >= TRB_IDT_MAX_SIZE &&
desc              448 drivers/usb/image/mdc800.c 			( intf_desc->desc.bInterfaceClass != 0xff )
desc              449 drivers/usb/image/mdc800.c 		||	( intf_desc->desc.bInterfaceSubClass != 0 )
desc              450 drivers/usb/image/mdc800.c 		|| ( intf_desc->desc.bInterfaceProtocol != 0 )
desc              451 drivers/usb/image/mdc800.c 		|| ( intf_desc->desc.bNumEndpoints != 4)
desc              464 drivers/usb/image/mdc800.c 			if (mdc800_endpoint_equals (&intf_desc->endpoint [j].desc,&mdc800_ed [i]))
desc              466 drivers/usb/image/mdc800.c 				mdc800->endpoint[i]=intf_desc->endpoint [j].desc.bEndpointAddress ;
desc              469 drivers/usb/image/mdc800.c 					irq_interval=intf_desc->endpoint [j].desc.bInterval;
desc              209 drivers/usb/image/microtek.c static inline void mts_debug_dump(struct mts_desc* desc) {
desc              211 drivers/usb/image/microtek.c 		  (int)desc,
desc              212 drivers/usb/image/microtek.c 		  (int)desc->usb_dev->toggle[1],(int)desc->usb_dev->toggle[0]
desc              215 drivers/usb/image/microtek.c 		  usb_sndbulkpipe(desc->usb_dev,desc->ep_out),
desc              216 drivers/usb/image/microtek.c 		  usb_rcvbulkpipe(desc->usb_dev,desc->ep_response),
desc              217 drivers/usb/image/microtek.c 		  usb_rcvbulkpipe(desc->usb_dev,desc->ep_image)
desc              314 drivers/usb/image/microtek.c static inline void mts_urb_abort(struct mts_desc* desc) {
desc              316 drivers/usb/image/microtek.c 	mts_debug_dump(desc);
desc              318 drivers/usb/image/microtek.c 	usb_kill_urb( desc->urb );
desc              335 drivers/usb/image/microtek.c 	struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]);
desc              339 drivers/usb/image/microtek.c 	mts_urb_abort(desc);
desc              346 drivers/usb/image/microtek.c 	struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]);
desc              350 drivers/usb/image/microtek.c 	mts_debug_dump(desc);
desc              352 drivers/usb/image/microtek.c 	result = usb_lock_device_for_reset(desc->usb_dev, desc->usb_intf);
desc              354 drivers/usb/image/microtek.c 		result = usb_reset_device(desc->usb_dev);
desc              355 drivers/usb/image/microtek.c 		usb_unlock_device(desc->usb_dev);
desc              524 drivers/usb/image/microtek.c mts_build_transfer_context(struct scsi_cmnd *srb, struct mts_desc* desc)
desc              530 drivers/usb/image/microtek.c 	desc->context.instance = desc;
desc              531 drivers/usb/image/microtek.c 	desc->context.srb = srb;
desc              534 drivers/usb/image/microtek.c 		desc->context.data = NULL;
desc              535 drivers/usb/image/microtek.c 		desc->context.data_length = 0;
desc              538 drivers/usb/image/microtek.c 		desc->context.curr_sg = scsi_sglist(srb);
desc              539 drivers/usb/image/microtek.c 		desc->context.data = sg_virt(desc->context.curr_sg);
desc              540 drivers/usb/image/microtek.c 		desc->context.data_length = desc->context.curr_sg->length;
desc              549 drivers/usb/image/microtek.c ) { 		pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_image);
desc              551 drivers/usb/image/microtek.c 			   (int)desc->ep_image );
desc              553 drivers/usb/image/microtek.c 			pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_response);
desc              555 drivers/usb/image/microtek.c 				   (int)desc->ep_response);
desc              558 drivers/usb/image/microtek.c 			  (int)desc->ep_out);
desc              559 drivers/usb/image/microtek.c 		pipe = usb_sndbulkpipe(desc->usb_dev,desc->ep_out);
desc              561 drivers/usb/image/microtek.c 	desc->context.data_pipe = pipe;
desc              568 drivers/usb/image/microtek.c 	struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]);
desc              574 drivers/usb/image/microtek.c 	mts_debug_dump(desc);
desc              591 drivers/usb/image/microtek.c 	usb_fill_bulk_urb(desc->urb,
desc              592 drivers/usb/image/microtek.c 		      desc->usb_dev,
desc              593 drivers/usb/image/microtek.c 		      usb_sndbulkpipe(desc->usb_dev,desc->ep_out),
desc              597 drivers/usb/image/microtek.c 		      &desc->context
desc              601 drivers/usb/image/microtek.c 	mts_build_transfer_context( srb, desc );
desc              602 drivers/usb/image/microtek.c 	desc->context.final_callback = callback;
desc              605 drivers/usb/image/microtek.c 	res=usb_submit_urb(desc->urb, GFP_ATOMIC);
desc              688 drivers/usb/image/microtek.c 	if ( altsetting->desc.bNumEndpoints != MTS_EP_TOTAL ) {
desc              690 drivers/usb/image/microtek.c 			     (int)MTS_EP_TOTAL, (int)altsetting->desc.bNumEndpoints );
desc              694 drivers/usb/image/microtek.c 	for( i = 0; i < altsetting->desc.bNumEndpoints; i++ ) {
desc              695 drivers/usb/image/microtek.c 		if ((altsetting->endpoint[i].desc.bmAttributes &
desc              699 drivers/usb/image/microtek.c 			     (int)altsetting->endpoint[i].desc.bEndpointAddress );
desc              701 drivers/usb/image/microtek.c 			if (altsetting->endpoint[i].desc.bEndpointAddress &
desc              704 drivers/usb/image/microtek.c 					= altsetting->endpoint[i].desc.bEndpointAddress &
desc              712 drivers/usb/image/microtek.c 				ep_out = altsetting->endpoint[i].desc.bEndpointAddress &
desc              791 drivers/usb/image/microtek.c 	struct mts_desc *desc = usb_get_intfdata(intf);
desc              795 drivers/usb/image/microtek.c 	usb_kill_urb(desc->urb);
desc              796 drivers/usb/image/microtek.c 	scsi_remove_host(desc->host);
desc              798 drivers/usb/image/microtek.c 	scsi_host_put(desc->host);
desc              799 drivers/usb/image/microtek.c 	usb_free_urb(desc->urb);
desc              800 drivers/usb/image/microtek.c 	kfree(desc->context.scsi_status);
desc              801 drivers/usb/image/microtek.c 	kfree(desc);
desc             1757 drivers/usb/isp1760/isp1760-hcd.c 		struct usb_hub_descriptor *desc)
desc             1762 drivers/usb/isp1760/isp1760-hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc             1764 drivers/usb/isp1760/isp1760-hcd.c 	desc->bPwrOn2PwrGood = 10;
desc             1765 drivers/usb/isp1760/isp1760-hcd.c 	desc->bHubContrCurrent = 0;
desc             1767 drivers/usb/isp1760/isp1760-hcd.c 	desc->bNbrPorts = ports;
desc             1769 drivers/usb/isp1760/isp1760-hcd.c 	desc->bDescLength = 7 + 2 * temp;
desc             1772 drivers/usb/isp1760/isp1760-hcd.c 	memset(&desc->u.hs.DeviceRemovable[0], 0, temp);
desc             1773 drivers/usb/isp1760/isp1760-hcd.c 	memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp);
desc             1783 drivers/usb/isp1760/isp1760-hcd.c 	desc->wHubCharacteristics = cpu_to_le16(temp);
desc               72 drivers/usb/isp1760/isp1760-udc.c 			return udc->ep[i].desc ? &udc->ep[i] : NULL;
desc              293 drivers/usb/isp1760/isp1760-udc.c 	if (ep->addr != 0 && !ep->desc) {
desc              405 drivers/usb/isp1760/isp1760-udc.c 	if (ep->desc && usb_endpoint_xfer_isoc(ep->desc)) {
desc              708 drivers/usb/isp1760/isp1760-udc.c 			     const struct usb_endpoint_descriptor *desc)
desc              721 drivers/usb/isp1760/isp1760-udc.c 	if (desc->bDescriptorType != USB_DT_ENDPOINT ||
desc              722 drivers/usb/isp1760/isp1760-udc.c 	    desc->bEndpointAddress == 0 ||
desc              723 drivers/usb/isp1760/isp1760-udc.c 	    desc->bEndpointAddress != uep->addr ||
desc              724 drivers/usb/isp1760/isp1760-udc.c 	    le16_to_cpu(desc->wMaxPacketSize) > ep->maxpacket) {
desc              727 drivers/usb/isp1760/isp1760-udc.c 			__func__, desc->bDescriptorType,
desc              728 drivers/usb/isp1760/isp1760-udc.c 			desc->bEndpointAddress, uep->addr,
desc              729 drivers/usb/isp1760/isp1760-udc.c 			le16_to_cpu(desc->wMaxPacketSize), ep->maxpacket);
desc              733 drivers/usb/isp1760/isp1760-udc.c 	switch (usb_endpoint_type(desc)) {
desc              752 drivers/usb/isp1760/isp1760-udc.c 	uep->desc = desc;
desc              753 drivers/usb/isp1760/isp1760-udc.c 	uep->maxpacket = le16_to_cpu(desc->wMaxPacketSize);
desc              780 drivers/usb/isp1760/isp1760-udc.c 	if (!uep->desc) {
desc              786 drivers/usb/isp1760/isp1760-udc.c 	uep->desc = NULL;
desc              881 drivers/usb/isp1760/isp1760-udc.c 	} else if (uep->desc) {
desc              951 drivers/usb/isp1760/isp1760-udc.c 	if (uep->addr && !uep->desc) {
desc             1368 drivers/usb/isp1760/isp1760-udc.c 		ep->desc = NULL;
desc               40 drivers/usb/isp1760/isp1760-udc.h 	const struct usb_endpoint_descriptor *desc;
desc             2679 drivers/usb/misc/ftdi-elan.c 		 iface_desc->desc.bInterfaceNumber, ftdi->bulk_in_endpointAddr,
desc             2682 drivers/usb/misc/ftdi-elan.c 	if (iface_desc->desc.bInterfaceNumber == 0 &&
desc             2694 drivers/usb/misc/ftdi-elan.c 				 ftdi, iface_desc->desc.bInterfaceNumber,
desc             2698 drivers/usb/misc/ftdi-elan.c 	} else if (iface_desc->desc.bInterfaceNumber == 1 &&
desc             2703 drivers/usb/misc/ftdi-elan.c 			 ftdi, iface_desc->desc.bInterfaceNumber);
desc              341 drivers/usb/misc/idmouse.c 	if (iface_desc->desc.bInterfaceClass != 0x0A)
desc              344 drivers/usb/misc/idmouse.c 	if (iface_desc->desc.bNumEndpoints < 1)
desc              115 drivers/usb/misc/iowarrior.c 			       inter->desc.bInterfaceNumber, buf, size,
desc              130 drivers/usb/misc/iowarrior.c 			       intf->cur_altsetting->desc.bInterfaceNumber, buf,
desc              185 drivers/usb/misc/iowarrior.c 	    && (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0)) {
desc              555 drivers/usb/misc/iowarrior.c 			struct usb_config_descriptor *cfg_descriptor = &dev->udev->actconfig->desc;
desc              565 drivers/usb/misc/iowarrior.c 			info.if_num = dev->interface->cur_altsetting->desc.bInterfaceNumber;
desc              805 drivers/usb/misc/iowarrior.c 	if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) &&
desc              841 drivers/usb/misc/iowarrior.c 	if (dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) {
desc              865 drivers/usb/misc/iowarrior.c 		 iface_desc->desc.bInterfaceNumber, dev->minor - IOWARRIOR_MINOR_BASE);
desc               60 drivers/usb/misc/lvstest.c 	udev->ep0.desc.wMaxPacketSize = cpu_to_le16(512);
desc              396 drivers/usb/misc/lvstest.c 	struct usb_host_interface *desc;
desc              403 drivers/usb/misc/lvstest.c 	desc = intf->cur_altsetting;
desc              405 drivers/usb/misc/lvstest.c 	ret = usb_find_int_in_endpoint(desc, &endpoint);
desc              161 drivers/usb/misc/usbtest.c 				override_alt != alt->desc.bAlternateSetting)
desc              167 drivers/usb/misc/usbtest.c 		for (ep = 0; ep < alt->desc.bNumEndpoints; ep++) {
desc              172 drivers/usb/misc/usbtest.c 			edi = usb_endpoint_dir_in(&e->desc);
desc              174 drivers/usb/misc/usbtest.c 			switch (usb_endpoint_type(&e->desc)) {
desc              197 drivers/usb/misc/usbtest.c 	dev->info->alt = alt->desc.bAlternateSetting;
desc              198 drivers/usb/misc/usbtest.c 	if (alt->desc.bAlternateSetting != 0) {
desc              200 drivers/usb/misc/usbtest.c 				alt->desc.bInterfaceNumber,
desc              201 drivers/usb/misc/usbtest.c 				alt->desc.bAlternateSetting);
desc              208 drivers/usb/misc/usbtest.c 			in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK);
desc              211 drivers/usb/misc/usbtest.c 			out->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK);
desc              214 drivers/usb/misc/usbtest.c 		dev->iso_in = &iso_in->desc;
desc              216 drivers/usb/misc/usbtest.c 				iso_in->desc.bEndpointAddress
desc              221 drivers/usb/misc/usbtest.c 		dev->iso_out = &iso_out->desc;
desc              223 drivers/usb/misc/usbtest.c 				iso_out->desc.bEndpointAddress
desc              228 drivers/usb/misc/usbtest.c 		dev->int_in = &int_in->desc;
desc              230 drivers/usb/misc/usbtest.c 				int_in->desc.bEndpointAddress
desc              235 drivers/usb/misc/usbtest.c 		dev->int_out = &int_out->desc;
desc              237 drivers/usb/misc/usbtest.c 				int_out->desc.bEndpointAddress
desc              347 drivers/usb/misc/usbtest.c 	return le16_to_cpup(&ep->desc.wMaxPacketSize);
desc              677 drivers/usb/misc/usbtest.c 			0, iface->altsetting[0].desc.bInterfaceNumber,
desc              700 drivers/usb/misc/usbtest.c 			iface->altsetting[0].desc.bInterfaceNumber,
desc              838 drivers/usb/misc/usbtest.c 		alt = iface->altsetting[i].desc.bAlternateSetting;
desc              869 drivers/usb/misc/usbtest.c 		int	expected = udev->actconfig->desc.bConfigurationValue;
desc              905 drivers/usb/misc/usbtest.c 				sizeof(*udev->bos->desc));
desc              906 drivers/usb/misc/usbtest.c 		if (retval != sizeof(*udev->bos->desc)) {
desc              930 drivers/usb/misc/usbtest.c 		length = sizeof(*udev->bos->desc);
desc             1046 drivers/usb/misc/usbtest.c 			iface->altsetting[0].desc.bInterfaceNumber, dev->buf);
desc             1357 drivers/usb/misc/usbtest.c 				len = le16_to_cpu(udev->bos->desc->wTotalLength);
desc             1977 drivers/usb/misc/usbtest.c 	struct usb_endpoint_descriptor	*desc,
desc             1985 drivers/usb/misc/usbtest.c 	if (bytes < 0 || !desc)
desc             1988 drivers/usb/misc/usbtest.c 	maxp = usb_endpoint_maxp(desc);
desc             1992 drivers/usb/misc/usbtest.c 		maxp *= usb_endpoint_maxp_mult(desc);
desc             2032 drivers/usb/misc/usbtest.c 	urb->interval = 1 << (desc->bInterval - 1);
desc             2039 drivers/usb/misc/usbtest.c 		int pipe, struct usb_endpoint_descriptor *desc, unsigned offset)
desc             2057 drivers/usb/misc/usbtest.c 	context.is_iso = !!desc;
desc             2065 drivers/usb/misc/usbtest.c 			urbs[i] = iso_alloc_urb(udev, pipe, desc,
desc             2086 drivers/usb/misc/usbtest.c 			transaction_num = usb_endpoint_maxp_mult(desc);
desc             2090 drivers/usb/misc/usbtest.c 			1 << (desc->bInterval - 1),
desc             2092 drivers/usb/misc/usbtest.c 			usb_endpoint_maxp(desc),
desc             2097 drivers/usb/misc/usbtest.c 			(packets * (1 << (desc->bInterval - 1)))
desc             2676 drivers/usb/misc/usbtest.c 		if (intf->altsetting->desc.bInterfaceNumber) {
desc              690 drivers/usb/misc/uss720.c 	i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2);
desc              695 drivers/usb/misc/uss720.c 	if (interface->desc.bNumEndpoints < 3) {
desc              247 drivers/usb/misc/yurex.c 	dev->cntl_req->wIndex	= cpu_to_le16(iface_desc->desc.bInterfaceNumber);
desc              488 drivers/usb/mon/mon_bin.c 	const struct usb_endpoint_descriptor *epd = &urb->ep->desc;
desc              655 drivers/usb/mon/mon_bin.c 	ep->xfer_type = xfer_to_pipe[usb_endpoint_type(&urb->ep->desc)];
desc              657 drivers/usb/mon/mon_bin.c 	ep->epnum |= usb_endpoint_num(&urb->ep->desc);
desc              214 drivers/usb/mon/mon_text.c 	ep->epnum = usb_endpoint_num(&urb->ep->desc);
desc              215 drivers/usb/mon/mon_text.c 	ep->xfertype = usb_endpoint_type(&urb->ep->desc);
desc              286 drivers/usb/mon/mon_text.c 	ep->epnum = usb_endpoint_num(&urb->ep->desc);
desc              287 drivers/usb/mon/mon_text.c 	ep->xfertype = usb_endpoint_type(&urb->ep->desc);
desc              293 drivers/usb/mtu3/mtu3.h 	const struct usb_endpoint_descriptor *desc;
desc               69 drivers/usb/mtu3/mtu3_gadget.c 	const struct usb_endpoint_descriptor *desc;
desc               78 drivers/usb/mtu3/mtu3_gadget.c 	desc = mep->desc;
desc               80 drivers/usb/mtu3/mtu3_gadget.c 	mep->type = usb_endpoint_type(desc);
desc               81 drivers/usb/mtu3/mtu3_gadget.c 	max_packet = usb_endpoint_maxp(desc);
desc               87 drivers/usb/mtu3/mtu3_gadget.c 		if (usb_endpoint_xfer_int(desc) ||
desc               88 drivers/usb/mtu3/mtu3_gadget.c 				usb_endpoint_xfer_isoc(desc)) {
desc               89 drivers/usb/mtu3/mtu3_gadget.c 			interval = desc->bInterval;
desc               91 drivers/usb/mtu3/mtu3_gadget.c 			if (usb_endpoint_xfer_isoc(desc) && comp_desc)
desc               99 drivers/usb/mtu3/mtu3_gadget.c 		if (usb_endpoint_xfer_isoc(desc) ||
desc              100 drivers/usb/mtu3/mtu3_gadget.c 				usb_endpoint_xfer_int(desc)) {
desc              101 drivers/usb/mtu3/mtu3_gadget.c 			interval = desc->bInterval;
desc              114 drivers/usb/mtu3/mtu3_gadget.c 	mep->ep.desc = desc;
desc              118 drivers/usb/mtu3/mtu3_gadget.c 	mep->slot = usb_endpoint_xfer_int(desc) ? 0 : mtu->slot;
desc              146 drivers/usb/mtu3/mtu3_gadget.c 	mep->desc = NULL;
desc              147 drivers/usb/mtu3/mtu3_gadget.c 	mep->ep.desc = NULL;
desc              156 drivers/usb/mtu3/mtu3_gadget.c 		const struct usb_endpoint_descriptor *desc)
desc              163 drivers/usb/mtu3/mtu3_gadget.c 	if (!ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) {
desc              168 drivers/usb/mtu3/mtu3_gadget.c 	if (!desc->wMaxPacketSize) {
desc              176 drivers/usb/mtu3/mtu3_gadget.c 	if (usb_endpoint_num(desc) != mep->epnum)
desc              179 drivers/usb/mtu3/mtu3_gadget.c 	if (!!usb_endpoint_dir_in(desc) ^ !!mep->is_in)
desc              191 drivers/usb/mtu3/mtu3_gadget.c 	mep->desc = desc;
desc              300 drivers/usb/mtu3/mtu3_gadget.c 	if (!mep->desc) {
desc              234 drivers/usb/mtu3/mtu3_gadget_ep0.c 		if (!mep->desc) {
desc              407 drivers/usb/mtu3/mtu3_gadget_ep0.c 		if (!mep->desc)
desc              770 drivers/usb/mtu3/mtu3_gadget_ep0.c 	const struct usb_endpoint_descriptor *desc)
desc              235 drivers/usb/musb/musb_gadget.c 	if (!musb_ep->desc) {
desc              501 drivers/usb/musb/musb_gadget.c 			req = musb_ep->desc ? next_request(musb_ep) : NULL;
desc              538 drivers/usb/musb/musb_gadget.c 	if (!musb_ep->desc) {
desc              906 drivers/usb/musb/musb_gadget.c 			const struct usb_endpoint_descriptor *desc)
desc              919 drivers/usb/musb/musb_gadget.c 	if (!ep || !desc)
desc              931 drivers/usb/musb/musb_gadget.c 	if (musb_ep->desc) {
desc              935 drivers/usb/musb/musb_gadget.c 	musb_ep->type = usb_endpoint_type(desc);
desc              938 drivers/usb/musb/musb_gadget.c 	if (usb_endpoint_num(desc) != epnum)
desc              942 drivers/usb/musb/musb_gadget.c 	tmp = usb_endpoint_maxp_mult(desc) - 1;
desc              946 drivers/usb/musb/musb_gadget.c 		if (usb_endpoint_dir_in(desc))
desc              960 drivers/usb/musb/musb_gadget.c 	musb_ep->packet_sz = usb_endpoint_maxp(desc);
desc              967 drivers/usb/musb/musb_gadget.c 	if (usb_endpoint_dir_in(desc)) {
desc             1055 drivers/usb/musb/musb_gadget.c 				(desc->bEndpointAddress & USB_DIR_IN));
desc             1059 drivers/usb/musb/musb_gadget.c 	musb_ep->desc = desc;
desc             1112 drivers/usb/musb/musb_gadget.c 	musb_ep->desc = NULL;
desc             1113 drivers/usb/musb/musb_gadget.c 	musb_ep->end_point.desc = NULL;
desc             1235 drivers/usb/musb/musb_gadget.c 	if (!musb_ep->desc) {
desc             1428 drivers/usb/musb/musb_gadget.c 	if (musb_ep->desc && !musb_ep->is_in) {
desc               85 drivers/usb/musb/musb_gadget.h 	const struct usb_endpoint_descriptor	*desc;
desc              104 drivers/usb/musb/musb_gadget_ep0.c 		if (!ep->desc) {
desc              256 drivers/usb/musb/musb_gadget_ep0.c 				if (!musb_ep->desc)
desc              420 drivers/usb/musb/musb_gadget_ep0.c 				if (!musb_ep->desc)
desc              894 drivers/usb/musb/musb_gadget_ep0.c musb_g_ep0_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *desc)
desc             2142 drivers/usb/musb/musb_host.c 	struct usb_endpoint_descriptor	*epd = &hep->desc;
desc             2442 drivers/usb/musb/musb_host.c 	u8			is_in = hep->desc.bEndpointAddress & USB_DIR_IN;
desc              325 drivers/usb/musb/musb_virthub.c 		struct usb_hub_descriptor *desc = (void *)buf;
desc              327 drivers/usb/musb/musb_virthub.c 		desc->bDescLength = 9;
desc              328 drivers/usb/musb/musb_virthub.c 		desc->bDescriptorType = USB_DT_HUB;
desc              329 drivers/usb/musb/musb_virthub.c 		desc->bNbrPorts = 1;
desc              330 drivers/usb/musb/musb_virthub.c 		desc->wHubCharacteristics = cpu_to_le16(
desc              334 drivers/usb/musb/musb_virthub.c 		desc->bPwrOn2PwrGood = 5;	/* msec/2 */
desc              335 drivers/usb/musb/musb_virthub.c 		desc->bHubContrCurrent = 0;
desc              338 drivers/usb/musb/musb_virthub.c 		desc->u.hs.DeviceRemovable[0] = 0x02;	/* port 1 */
desc              339 drivers/usb/musb/musb_virthub.c 		desc->u.hs.DeviceRemovable[1] = 0xff;
desc              812 drivers/usb/renesas_usbhs/fifo.c 	struct dma_async_tx_descriptor *desc;
desc              824 drivers/usb/renesas_usbhs/fifo.c 	desc = dmaengine_prep_slave_single(chan, pkt->dma + pkt->actual,
desc              827 drivers/usb/renesas_usbhs/fifo.c 	if (!desc)
desc              830 drivers/usb/renesas_usbhs/fifo.c 	desc->callback		= usbhsf_dma_complete;
desc              831 drivers/usb/renesas_usbhs/fifo.c 	desc->callback_param	= pipe;
desc              833 drivers/usb/renesas_usbhs/fifo.c 	pkt->cookie = dmaengine_submit(desc);
desc              580 drivers/usb/renesas_usbhs/mod_gadget.c 			 const struct usb_endpoint_descriptor *desc)
desc              603 drivers/usb/renesas_usbhs/mod_gadget.c 				 usb_endpoint_type(desc),
desc              604 drivers/usb/renesas_usbhs/mod_gadget.c 				 usb_endpoint_dir_in(desc));
desc              611 drivers/usb/renesas_usbhs/mod_gadget.c 					 usb_endpoint_num(desc),
desc              612 drivers/usb/renesas_usbhs/mod_gadget.c 					 usb_endpoint_maxp(desc));
desc              619 drivers/usb/renesas_usbhs/mod_gadget.c 		if (usb_endpoint_dir_in(desc)) {
desc              204 drivers/usb/renesas_usbhs/mod_host.c 	int maxp = usb_endpoint_maxp(&urb->ep->desc);
desc              251 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_endpoint_descriptor *desc = &urb->ep->desc;
desc              255 drivers/usb/renesas_usbhs/mod_host.c 	int is_dcp = usb_endpoint_xfer_control(desc);
desc              274 drivers/usb/renesas_usbhs/mod_host.c 		if (!usbhs_pipe_type_is(pipe, usb_endpoint_type(desc)))
desc              301 drivers/usb/renesas_usbhs/mod_host.c 					 usb_endpoint_num(desc),
desc              302 drivers/usb/renesas_usbhs/mod_host.c 					 usb_endpoint_maxp(desc));
desc              306 drivers/usb/renesas_usbhs/mod_host.c 			usb_endpoint_num(desc),
desc              354 drivers/usb/renesas_usbhs/mod_host.c 			usb_endpoint_num(&ep->desc),
desc              374 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_endpoint_descriptor *desc = &ep->desc;
desc              400 drivers/usb/renesas_usbhs/mod_host.c 		usb_endpoint_num(desc));
desc              418 drivers/usb/renesas_usbhs/mod_host.c 		usb_endpoint_num(&ep->desc));
desc             1198 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hub_descriptor *desc = (struct usb_hub_descriptor *)buf;
desc             1218 drivers/usb/renesas_usbhs/mod_host.c 		desc->bDescriptorType		= USB_DT_HUB;
desc             1219 drivers/usb/renesas_usbhs/mod_host.c 		desc->bHubContrCurrent		= 0;
desc             1220 drivers/usb/renesas_usbhs/mod_host.c 		desc->bNbrPorts			= roothub_id;
desc             1221 drivers/usb/renesas_usbhs/mod_host.c 		desc->bDescLength		= 9;
desc             1222 drivers/usb/renesas_usbhs/mod_host.c 		desc->bPwrOn2PwrGood		= 0;
desc             1223 drivers/usb/renesas_usbhs/mod_host.c 		desc->wHubCharacteristics	=
desc             1225 drivers/usb/renesas_usbhs/mod_host.c 		desc->u.hs.DeviceRemovable[0]	= (roothub_id << 1);
desc             1226 drivers/usb/renesas_usbhs/mod_host.c 		desc->u.hs.DeviceRemovable[1]	= ~0;
desc              286 drivers/usb/roles/class.c 			 const struct usb_role_switch_desc *desc)
desc              291 drivers/usb/roles/class.c 	if (!desc || !desc->set)
desc              300 drivers/usb/roles/class.c 	sw->allow_userspace_control = desc->allow_userspace_control;
desc              301 drivers/usb/roles/class.c 	sw->usb2_port = desc->usb2_port;
desc              302 drivers/usb/roles/class.c 	sw->usb3_port = desc->usb3_port;
desc              303 drivers/usb/roles/class.c 	sw->udc = desc->udc;
desc              304 drivers/usb/roles/class.c 	sw->set = desc->set;
desc              305 drivers/usb/roles/class.c 	sw->get = desc->get;
desc              308 drivers/usb/roles/class.c 	sw->dev.fwnode = desc->fwnode;
desc              518 drivers/usb/serial/cp210x.c 	return cur_altsetting->desc.bInterfaceNumber;
desc               66 drivers/usb/serial/empeg.c 	if (serial->dev->actconfig->desc.bConfigurationValue != 1) {
desc               68 drivers/usb/serial/empeg.c 			serial->dev->actconfig->desc.bConfigurationValue);
desc             1564 drivers/usb/serial/ftdi_sio.c 	interfaces = udev->actconfig->desc.bNumInterfaces;
desc             1583 drivers/usb/serial/ftdi_sio.c 		inter = serial->interface->altsetting->desc.bInterfaceNumber;
desc             1650 drivers/usb/serial/ftdi_sio.c 	num_endpoints = interface->cur_altsetting->desc.bNumEndpoints;
desc             1661 drivers/usb/serial/ftdi_sio.c 		ep_desc = &interface->cur_altsetting->endpoint[i].desc;
desc             2913 drivers/usb/serial/io_edgeport.c 		for (i = 0; i < alt->desc.bNumEndpoints; ++i) {
desc             2917 drivers/usb/serial/io_edgeport.c 			endpoint = &alt->endpoint[i].desc;
desc              587 drivers/usb/serial/io_ti.c 		__func__, dev->config->desc.bNumInterfaces);
desc              589 drivers/usb/serial/io_ti.c 		__func__, dev->config->desc.bMaxPower * 2);
desc              591 drivers/usb/serial/io_ti.c 	if (dev->config->desc.bNumInterfaces != 1) {
desc              760 drivers/usb/serial/io_ti.c 	struct edge_ti_manuf_descriptor *desc;
desc              784 drivers/usb/serial/io_ti.c 	desc = (struct edge_ti_manuf_descriptor *)buffer;
desc              785 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - IonConfig      0x%x\n", __func__, desc->IonConfig);
desc              786 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - Version          %d\n", __func__, desc->Version);
desc              787 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - Cpu/Board      0x%x\n", __func__, desc->CpuRev_BoardRev);
desc              788 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - NumPorts         %d\n", __func__, desc->NumPorts);
desc              789 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - NumVirtualPorts  %d\n", __func__, desc->NumVirtualPorts);
desc              790 drivers/usb/serial/io_ti.c 	dev_dbg(dev, "%s - TotalPorts       %d\n", __func__, desc->TotalPorts);
desc              956 drivers/usb/serial/io_ti.c static int ti_cpu_rev(struct edge_ti_manuf_descriptor *desc)
desc              958 drivers/usb/serial/io_ti.c 	return TI_GET_CPU_REVISION(desc->CpuRev_BoardRev);
desc             1043 drivers/usb/serial/io_ti.c 	interface = &serial->serial->interface->cur_altsetting->desc;
desc             2514 drivers/usb/serial/io_ti.c 	if (serial->interface->cur_altsetting->desc.bNumEndpoints > 1) {
desc              582 drivers/usb/serial/ipaq.c 	if (serial->dev->actconfig->desc.bConfigurationValue != 1) {
desc              589 drivers/usb/serial/ipaq.c 			serial->dev->actconfig->desc.bConfigurationValue);
desc               92 drivers/usb/serial/ir-usb.c 					    struct usb_irda_cs_descriptor *desc)
desc               96 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bLength=%x\n", desc->bLength);
desc               97 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bDescriptorType=%x\n", desc->bDescriptorType);
desc               98 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision));
desc               99 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bmDataSize=%x\n", desc->bmDataSize);
desc              100 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bmWindowSize=%x\n", desc->bmWindowSize);
desc              101 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bmMinTurnaroundTime=%d\n", desc->bmMinTurnaroundTime);
desc              102 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate));
desc              103 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bmAdditionalBOFs=%x\n", desc->bmAdditionalBOFs);
desc              104 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bIrdaRateSniff=%x\n", desc->bIrdaRateSniff);
desc              105 drivers/usb/serial/ir-usb.c 	dev_dbg(dev, "bMaxUnicastList=%x\n", desc->bMaxUnicastList);
desc              124 drivers/usb/serial/ir-usb.c 	struct usb_irda_cs_descriptor *desc;
desc              127 drivers/usb/serial/ir-usb.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc              128 drivers/usb/serial/ir-usb.c 	if (!desc)
desc              134 drivers/usb/serial/ir-usb.c 			0, ifnum, desc, sizeof(*desc), 1000);
desc              137 drivers/usb/serial/ir-usb.c 	if (ret < (int)sizeof(*desc)) {
desc              143 drivers/usb/serial/ir-usb.c 	if (desc->bDescriptorType != USB_DT_CS_IRDA) {
desc              149 drivers/usb/serial/ir-usb.c 	irda_usb_dump_class_desc(serial, desc);
desc              150 drivers/usb/serial/ir-usb.c 	return desc;
desc              153 drivers/usb/serial/ir-usb.c 	kfree(desc);
desc             1714 drivers/usb/serial/keyspan.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1715 drivers/usb/serial/keyspan.c 		ep = &iface_desc->endpoint[i].desc;
desc             2079 drivers/usb/serial/option.c 				&serial->interface->cur_altsetting->desc;
desc             2120 drivers/usb/serial/option.c 	iface_desc = &serial->interface->cur_altsetting->desc;
desc              284 drivers/usb/serial/pl2303.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              285 drivers/usb/serial/pl2303.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              233 drivers/usb/serial/qcserial.c 	if (intf->desc.bInterfaceClass != USB_CLASS_VENDOR_SPEC)
desc              236 drivers/usb/serial/qcserial.c 	nintf = serial->dev->actconfig->desc.bNumInterfaces;
desc              238 drivers/usb/serial/qcserial.c 	ifnum = intf->desc.bInterfaceNumber;
desc              249 drivers/usb/serial/qcserial.c 		if (intf->desc.bNumEndpoints == 2 &&
desc              250 drivers/usb/serial/qcserial.c 		    usb_endpoint_is_bulk_in(&intf->endpoint[0].desc) &&
desc              251 drivers/usb/serial/qcserial.c 		    usb_endpoint_is_bulk_out(&intf->endpoint[1].desc)) {
desc              372 drivers/usb/serial/qcserial.c 		switch (intf->desc.bInterfaceProtocol) {
desc              393 drivers/usb/serial/qcserial.c 				intf->desc.bInterfaceClass,
desc              394 drivers/usb/serial/qcserial.c 				intf->desc.bInterfaceSubClass,
desc              395 drivers/usb/serial/qcserial.c 				intf->desc.bInterfaceProtocol);
desc              261 drivers/usb/serial/safe_serial.c 	struct usb_interface_descriptor	*desc;
desc              266 drivers/usb/serial/safe_serial.c 	desc = &serial->interface->cur_altsetting->desc;
desc              268 drivers/usb/serial/safe_serial.c 	if (desc->bInterfaceClass != LINEO_INTERFACE_CLASS)
desc              270 drivers/usb/serial/safe_serial.c 	if (desc->bInterfaceSubClass != LINEO_INTERFACE_SUBCLASS_SAFESERIAL)
desc              273 drivers/usb/serial/safe_serial.c 	switch (desc->bInterfaceProtocol) {
desc               91 drivers/usb/serial/sierra.c 	ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber;
desc               92 drivers/usb/serial/sierra.c 	numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints;
desc              140 drivers/usb/serial/sierra.c 	return serial->interface->cur_altsetting->desc.bInterfaceNumber;
desc              526 drivers/usb/serial/ti_usb_3410_5052.c 		dev->actconfig->desc.bConfigurationValue);
desc              554 drivers/usb/serial/ti_usb_3410_5052.c 	num_endpoints = cur_altsetting->desc.bNumEndpoints;
desc              574 drivers/usb/serial/ti_usb_3410_5052.c 	if (dev->actconfig->desc.bConfigurationValue == TI_BOOT_CONFIG) {
desc              728 drivers/usb/serial/usb-serial.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc              729 drivers/usb/serial/usb-serial.c 		epd = &iface_desc->endpoint[i].desc;
desc               55 drivers/usb/serial/usb_wwan.c 	ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber;
desc              453 drivers/usb/serial/visor.c 	if (serial->dev->actconfig->desc.bConfigurationValue != 1) {
desc              455 drivers/usb/serial/visor.c 			serial->dev->actconfig->desc.bConfigurationValue);
desc               40 drivers/usb/serial/wishbone-serial.c 		port->serial->interface->cur_altsetting->desc.bInterfaceNumber,
desc               44 drivers/usb/serial/xsens_mt.c 	if (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1)
desc             1114 drivers/usb/storage/alauda.c 		altsetting->endpoint[0].desc.bEndpointAddress
desc              168 drivers/usb/storage/cypress_atacb.c 		unsigned char *desc = sb + 8;
desc              208 drivers/usb/storage/cypress_atacb.c 		desc[0] = 0x09; /* ATA_RETURN_DESCRIPTOR */
desc              212 drivers/usb/storage/cypress_atacb.c 		desc[1] = 12;
desc              215 drivers/usb/storage/cypress_atacb.c 		desc[ 2] = 0x00;
desc              216 drivers/usb/storage/cypress_atacb.c 		desc[ 3] = regs[1];  /* features */
desc              217 drivers/usb/storage/cypress_atacb.c 		desc[ 5] = regs[2];  /* sector count */
desc              218 drivers/usb/storage/cypress_atacb.c 		desc[ 7] = regs[3];  /* lba low */
desc              219 drivers/usb/storage/cypress_atacb.c 		desc[ 9] = regs[4];  /* lba med */
desc              220 drivers/usb/storage/cypress_atacb.c 		desc[11] = regs[5];  /* lba high */
desc              221 drivers/usb/storage/cypress_atacb.c 		desc[12] = regs[6];  /* device */
desc              222 drivers/usb/storage/cypress_atacb.c 		desc[13] = regs[7];  /* command */
desc              175 drivers/usb/storage/onetouch.c 	if (interface->desc.bNumEndpoints != 3)
desc              178 drivers/usb/storage/onetouch.c 	endpoint = &interface->endpoint[2].desc;
desc             1415 drivers/usb/storage/sddr09.c 	if (us->pusb_dev->actconfig->desc.bConfigurationValue != 1) {
desc             1417 drivers/usb/storage/sddr09.c 			     us->pusb_dev->actconfig->desc.bConfigurationValue);
desc                8 drivers/usb/storage/uas-detect.h 	return (intf->desc.bInterfaceClass == USB_CLASS_MASS_STORAGE &&
desc                9 drivers/usb/storage/uas-detect.h 		intf->desc.bInterfaceSubClass == USB_SC_SCSI &&
desc               10 drivers/usb/storage/uas-detect.h 		intf->desc.bInterfaceProtocol == USB_PR_UAS);
desc               32 drivers/usb/storage/uas-detect.h 	unsigned i, n_endpoints = alt->desc.bNumEndpoints;
desc              101 drivers/usb/storage/uas-detect.h 		if (udev->actconfig->desc.bMaxPower == 0) {
desc              930 drivers/usb/storage/uas.c 	return usb_set_interface(udev, alt->desc.bInterfaceNumber,
desc              931 drivers/usb/storage/uas.c 			alt->desc.bAlternateSetting);
desc              945 drivers/usb/storage/uas.c 					    usb_endpoint_num(&eps[0]->desc));
desc              947 drivers/usb/storage/uas.c 					    usb_endpoint_num(&eps[1]->desc));
desc              949 drivers/usb/storage/uas.c 					    usb_endpoint_num(&eps[2]->desc));
desc              951 drivers/usb/storage/uas.c 					    usb_endpoint_num(&eps[3]->desc));
desc             1040 drivers/usb/storage/uas.c 	usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0);
desc             1229 drivers/usb/storage/uas.c 	usb_set_interface(udev, intf->altsetting[0].desc.bInterfaceNumber, 0);
desc              148 drivers/usb/storage/usb.c 	for (i = 0; i < config->desc.bNumInterfaces; i++) {
desc              153 drivers/usb/storage/usb.c 	BUG_ON(i == config->desc.bNumInterfaces);
desc              445 drivers/usb/storage/usb.c 	us->ifnum = intf->cur_altsetting->desc.bInterfaceNumber;
desc              451 drivers/usb/storage/usb.c 		     intf->cur_altsetting->desc.bInterfaceSubClass,
desc              452 drivers/usb/storage/usb.c 		     intf->cur_altsetting->desc.bInterfaceProtocol);
desc              590 drivers/usb/storage/usb.c 		&us->pusb_intf->cur_altsetting->desc;
desc              538 drivers/usb/typec/altmodes/displayport.c 	alt->desc = "DisplayPort";
desc              293 drivers/usb/typec/bus.c 	return sprintf(buf, "%s\n", alt->desc ? alt->desc : "");
desc              393 drivers/usb/typec/bus.c 	adev->desc = NULL;
desc              335 drivers/usb/typec/class.c 	return sprintf(buf, "%s\n", alt->desc ? alt->desc : "");
desc              482 drivers/usb/typec/class.c 		       const struct typec_altmode_desc *desc)
desc              493 drivers/usb/typec/class.c 	alt->adev.svid = desc->svid;
desc              494 drivers/usb/typec/class.c 	alt->adev.mode = desc->mode;
desc              495 drivers/usb/typec/class.c 	alt->adev.vdo = desc->vdo;
desc              496 drivers/usb/typec/class.c 	alt->roles = desc->roles;
desc              508 drivers/usb/typec/class.c 	sprintf(alt->group_name, "mode%d", desc->mode);
desc              630 drivers/usb/typec/class.c 			       const struct typec_altmode_desc *desc)
desc              632 drivers/usb/typec/class.c 	return typec_register_altmode(&partner->dev, desc);
desc              646 drivers/usb/typec/class.c 					     struct typec_partner_desc *desc)
desc              656 drivers/usb/typec/class.c 	partner->usb_pd = desc->usb_pd;
desc              657 drivers/usb/typec/class.c 	partner->accessory = desc->accessory;
desc              659 drivers/usb/typec/class.c 	if (desc->identity) {
desc              665 drivers/usb/typec/class.c 		partner->identity = desc->identity;
desc              727 drivers/usb/typec/class.c 			    const struct typec_altmode_desc *desc)
desc              729 drivers/usb/typec/class.c 	return typec_register_altmode(&plug->dev, desc);
desc              745 drivers/usb/typec/class.c 				       struct typec_plug_desc *desc)
desc              755 drivers/usb/typec/class.c 	sprintf(name, "plug%d", desc->index);
desc              758 drivers/usb/typec/class.c 	plug->index = desc->index;
desc              864 drivers/usb/typec/class.c 					 struct typec_cable_desc *desc)
desc              873 drivers/usb/typec/class.c 	cable->type = desc->type;
desc              874 drivers/usb/typec/class.c 	cable->active = desc->active;
desc              876 drivers/usb/typec/class.c 	if (desc->identity) {
desc              882 drivers/usb/typec/class.c 		cable->identity = desc->identity;
desc             1501 drivers/usb/typec/class.c 			    const struct typec_altmode_desc *desc)
desc             1506 drivers/usb/typec/class.c 	mux = typec_mux_get(&port->dev, desc);
desc             1510 drivers/usb/typec/class.c 	adev = typec_register_altmode(&port->dev, desc);
desc              120 drivers/usb/typec/mux.c 		      const struct typec_switch_desc *desc)
desc              125 drivers/usb/typec/mux.c 	if (!desc || !desc->set)
desc              132 drivers/usb/typec/mux.c 	sw->set = desc->set;
desc              136 drivers/usb/typec/mux.c 	sw->dev.fwnode = desc->fwnode;
desc              139 drivers/usb/typec/mux.c 	sw->dev.driver_data = desc->drvdata;
desc              187 drivers/usb/typec/mux.c 	const struct typec_altmode_desc *desc = data;
desc              210 drivers/usb/typec/mux.c 	if (!desc) {
desc              233 drivers/usb/typec/mux.c 		match = val[i] == desc->svid;
desc              260 drivers/usb/typec/mux.c 				const struct typec_altmode_desc *desc)
desc              264 drivers/usb/typec/mux.c 	mux = device_connection_find_match(dev, "mode-switch", (void *)desc,
desc              309 drivers/usb/typec/mux.c typec_mux_register(struct device *parent, const struct typec_mux_desc *desc)
desc              314 drivers/usb/typec/mux.c 	if (!desc || !desc->set)
desc              321 drivers/usb/typec/mux.c 	mux->set = desc->set;
desc              325 drivers/usb/typec/mux.c 	mux->dev.fwnode = desc->fwnode;
desc              328 drivers/usb/typec/mux.c 	mux->dev.driver_data = desc->drvdata;
desc              196 drivers/usb/typec/tps6598x.c 	struct typec_partner_desc desc;
desc              210 drivers/usb/typec/tps6598x.c 	desc.usb_pd = mode == TYPEC_PWR_MODE_PD;
desc              211 drivers/usb/typec/tps6598x.c 	desc.accessory = TYPEC_ACCESSORY_NONE; /* XXX: handle accessories */
desc              212 drivers/usb/typec/tps6598x.c 	desc.identity = NULL;
desc              214 drivers/usb/typec/tps6598x.c 	if (desc.usb_pd) {
desc              218 drivers/usb/typec/tps6598x.c 		desc.identity = &tps->partner_identity;
desc              226 drivers/usb/typec/tps6598x.c 	tps->partner = typec_register_partner(tps->port, &desc);
desc              230 drivers/usb/typec/tps6598x.c 	if (desc.identity)
desc              286 drivers/usb/typec/ucsi/displayport.c 						struct typec_altmode_desc *desc)
desc              296 drivers/usb/typec/ucsi/displayport.c 	desc->vdo |= DP_CAP_DP_SIGNALING | DP_CAP_RECEPTACLE;
desc              299 drivers/usb/typec/ucsi/displayport.c 	desc->vdo |= all_assignments << 8;
desc              300 drivers/usb/typec/ucsi/displayport.c 	desc->vdo |= all_assignments << 16;
desc              302 drivers/usb/typec/ucsi/displayport.c 	alt = typec_port_register_altmode(con->port, desc);
desc              273 drivers/usb/typec/ucsi/ucsi.c 				 struct typec_altmode_desc *desc,
desc              291 drivers/usb/typec/ucsi/ucsi.c 		desc->mode = ucsi_altmode_next_mode(con->port_altmode,
desc              292 drivers/usb/typec/ucsi/ucsi.c 						    desc->svid);
desc              294 drivers/usb/typec/ucsi/ucsi.c 		switch (desc->svid) {
desc              297 drivers/usb/typec/ucsi/ucsi.c 			alt = ucsi_register_displayport(con, override, i, desc);
desc              300 drivers/usb/typec/ucsi/ucsi.c 			alt = typec_port_register_altmode(con->port, desc);
desc              318 drivers/usb/typec/ucsi/ucsi.c 		desc->mode = ucsi_altmode_next_mode(con->partner_altmode,
desc              319 drivers/usb/typec/ucsi/ucsi.c 						    desc->svid);
desc              321 drivers/usb/typec/ucsi/ucsi.c 		alt = typec_partner_register_altmode(con->partner, desc);
desc              339 drivers/usb/typec/ucsi/ucsi.c 		desc->svid, desc->mode);
desc              347 drivers/usb/typec/ucsi/ucsi.c 	struct typec_altmode_desc desc;
desc              385 drivers/usb/typec/ucsi/ucsi.c 			memset(&desc, 0, sizeof(desc));
desc              386 drivers/usb/typec/ucsi/ucsi.c 			desc.vdo = alt[j].mid;
desc              387 drivers/usb/typec/ucsi/ucsi.c 			desc.svid = alt[j].svid;
desc              388 drivers/usb/typec/ucsi/ucsi.c 			desc.roles = TYPEC_PORT_DRD;
desc              390 drivers/usb/typec/ucsi/ucsi.c 			ret = ucsi_register_altmode(con, &desc, recipient);
desc              448 drivers/usb/typec/ucsi/ucsi.c 	struct typec_partner_desc desc;
desc              454 drivers/usb/typec/ucsi/ucsi.c 	memset(&desc, 0, sizeof(desc));
desc              458 drivers/usb/typec/ucsi/ucsi.c 		desc.accessory = TYPEC_ACCESSORY_DEBUG;
desc              461 drivers/usb/typec/ucsi/ucsi.c 		desc.accessory = TYPEC_ACCESSORY_AUDIO;
desc              467 drivers/usb/typec/ucsi/ucsi.c 	desc.usb_pd = con->status.pwr_op_mode == UCSI_CONSTAT_PWR_OPMODE_PD;
desc              469 drivers/usb/typec/ucsi/ucsi.c 	partner = typec_register_partner(con->port, &desc);
desc              439 drivers/usb/typec/ucsi/ucsi.h 			  struct typec_altmode_desc *desc);
desc              447 drivers/usb/typec/ucsi/ucsi.h 			  struct typec_altmode_desc *desc)
desc              343 drivers/usb/usbip/stub_rx.c 	epd = &ep->desc;
desc              407 drivers/usb/usbip/stub_rx.c 	xfertype = usb_endpoint_type(&ep->desc);
desc              417 drivers/usb/usbip/stub_rx.c 		is_out = usb_endpoint_dir_out(&ep->desc);
desc              115 drivers/usb/usbip/usbip_common.c 			    le16_to_cpu(udev->ep_in[i]->desc.wMaxPacketSize));
desc              123 drivers/usb/usbip/usbip_common.c 			    le16_to_cpu(udev->ep_out[i]->desc.wMaxPacketSize));
desc              123 drivers/usb/usbip/vhci_hcd.c 	const char * const *desc = bit_desc;
desc              126 drivers/usb/usbip/vhci_hcd.c 		desc = bit_desc_ss;
desc              142 drivers/usb/usbip/vhci_hcd.c 			pr_debug(" %c%s\n", change, desc[i]);
desc              286 drivers/usb/usbip/vhci_hcd.c ss_hub_descriptor(struct usb_hub_descriptor *desc)
desc              288 drivers/usb/usbip/vhci_hcd.c 	memset(desc, 0, sizeof *desc);
desc              289 drivers/usb/usbip/vhci_hcd.c 	desc->bDescriptorType = USB_DT_SS_HUB;
desc              290 drivers/usb/usbip/vhci_hcd.c 	desc->bDescLength = 12;
desc              291 drivers/usb/usbip/vhci_hcd.c 	desc->wHubCharacteristics = cpu_to_le16(
desc              293 drivers/usb/usbip/vhci_hcd.c 	desc->bNbrPorts = VHCI_HC_PORTS;
desc              294 drivers/usb/usbip/vhci_hcd.c 	desc->u.ss.bHubHdrDecLat = 0x04; /* Worst case: 0.4 micro sec*/
desc              295 drivers/usb/usbip/vhci_hcd.c 	desc->u.ss.DeviceRemovable = 0xffff;
desc              298 drivers/usb/usbip/vhci_hcd.c static inline void hub_descriptor(struct usb_hub_descriptor *desc)
desc              302 drivers/usb/usbip/vhci_hcd.c 	memset(desc, 0, sizeof(*desc));
desc              303 drivers/usb/usbip/vhci_hcd.c 	desc->bDescriptorType = USB_DT_HUB;
desc              304 drivers/usb/usbip/vhci_hcd.c 	desc->wHubCharacteristics = cpu_to_le16(
desc              307 drivers/usb/usbip/vhci_hcd.c 	desc->bNbrPorts = VHCI_HC_PORTS;
desc              309 drivers/usb/usbip/vhci_hcd.c 	width = desc->bNbrPorts / 8 + 1;
desc              310 drivers/usb/usbip/vhci_hcd.c 	desc->bDescLength = USB_DT_HUB_NONVAR_SIZE + 2 * width;
desc              311 drivers/usb/usbip/vhci_hcd.c 	memset(&desc->u.hs.DeviceRemovable[0], 0, width);
desc              312 drivers/usb/usbip/vhci_hcd.c 	memset(&desc->u.hs.DeviceRemovable[width], 0xff, width);
desc              107 drivers/usb/usbip/vhci_tx.c 				      !usb_endpoint_xfer_isoc(&urb->ep->desc)) {
desc               30 drivers/usb/usbip/vudc.h 	const struct usb_endpoint_descriptor *desc;
desc              116 drivers/usb/usbip/vudc_dev.c 		if (!ep->desc)
desc              118 drivers/usb/usbip/vudc_dev.c 		if (ep->desc->bEndpointAddress == address)
desc              230 drivers/usb/usbip/vudc_dev.c 		const struct usb_endpoint_descriptor *desc)
desc              240 drivers/usb/usbip/vudc_dev.c 	if (!_ep || !desc || ep->desc || _ep->caps.type_control
desc              241 drivers/usb/usbip/vudc_dev.c 			|| desc->bDescriptorType != USB_DT_ENDPOINT)
desc              249 drivers/usb/usbip/vudc_dev.c 	maxp = usb_endpoint_maxp(desc);
desc              251 drivers/usb/usbip/vudc_dev.c 	ep->desc = desc;
desc              252 drivers/usb/usbip/vudc_dev.c 	ep->type = usb_endpoint_type(desc);
desc              268 drivers/usb/usbip/vudc_dev.c 	if (!_ep || !ep->desc || _ep->caps.type_control)
desc              272 drivers/usb/usbip/vudc_dev.c 	ep->desc = NULL;
desc              388 drivers/usb/usbip/vudc_dev.c 	else if (ep->desc && (ep->desc->bEndpointAddress & USB_DIR_IN) &&
desc              127 drivers/usb/usbip/vudc_rx.c 		maxp = usb_endpoint_maxp(urb_p->ep->desc);
desc              128 drivers/usb/usbip/vudc_rx.c 		maxp *= usb_endpoint_maxp_mult(urb_p->ep->desc);
desc              393 drivers/vhost/net.c 	vq->heads[ubuf->desc].len = success ?
desc              902 drivers/vhost/net.c 			ubuf->desc = nvq->upend_idx;
desc              304 drivers/vhost/vhost.c 	vq->desc = NULL;
desc              452 drivers/vhost/vhost.c 	return sizeof(*vq->desc) * num;
desc             1012 drivers/vhost/vhost.c 				 struct vring_desc *desc, int idx)
desc             1014 drivers/vhost/vhost.c 	return vhost_copy_from_user(vq, desc, vq->desc + idx, sizeof(*desc));
desc             1297 drivers/vhost/vhost.c 			 struct vring_desc __user *desc,
desc             1302 drivers/vhost/vhost.c 	return access_ok(desc, vhost_get_desc_size(vq, num)) &&
desc             1361 drivers/vhost/vhost.c 	return iotlb_access_ok(vq, VHOST_ACCESS_RO, (u64)(uintptr_t)vq->desc,
desc             1401 drivers/vhost/vhost.c 	return vq_access_ok(vq, vq->num, vq->desc, vq->avail, vq->used);
desc             1553 drivers/vhost/vhost.c 	vq->desc = (void __user *)(unsigned long)a.desc_user_addr;
desc             2089 drivers/vhost/vhost.c static unsigned next_desc(struct vhost_virtqueue *vq, struct vring_desc *desc)
desc             2094 drivers/vhost/vhost.c 	if (!(desc->flags & cpu_to_vhost16(vq, VRING_DESC_F_NEXT)))
desc             2098 drivers/vhost/vhost.c 	next = vhost16_to_cpu(vq, READ_ONCE(desc->next));
desc             2108 drivers/vhost/vhost.c 	struct vring_desc desc;
desc             2115 drivers/vhost/vhost.c 	if (unlikely(len % sizeof desc)) {
desc             2119 drivers/vhost/vhost.c 		       sizeof desc);
desc             2136 drivers/vhost/vhost.c 	count = len / sizeof desc;
desc             2153 drivers/vhost/vhost.c 		if (unlikely(!copy_from_iter_full(&desc, sizeof(desc), &from))) {
desc             2155 drivers/vhost/vhost.c 			       i, (size_t)vhost64_to_cpu(vq, indirect->addr) + i * sizeof desc);
desc             2158 drivers/vhost/vhost.c 		if (unlikely(desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT))) {
desc             2160 drivers/vhost/vhost.c 			       i, (size_t)vhost64_to_cpu(vq, indirect->addr) + i * sizeof desc);
desc             2164 drivers/vhost/vhost.c 		if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_WRITE))
desc             2169 drivers/vhost/vhost.c 		ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr),
desc             2170 drivers/vhost/vhost.c 				     vhost32_to_cpu(vq, desc.len), iov + iov_count,
desc             2182 drivers/vhost/vhost.c 				log[*log_num].addr = vhost64_to_cpu(vq, desc.addr);
desc             2183 drivers/vhost/vhost.c 				log[*log_num].len = vhost32_to_cpu(vq, desc.len);
desc             2196 drivers/vhost/vhost.c 	} while ((i = next_desc(vq, &desc)) != -1);
desc             2213 drivers/vhost/vhost.c 	struct vring_desc desc;
desc             2286 drivers/vhost/vhost.c 		ret = vhost_get_desc(vq, &desc, i);
desc             2289 drivers/vhost/vhost.c 			       i, vq->desc + i);
desc             2292 drivers/vhost/vhost.c 		if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT)) {
desc             2295 drivers/vhost/vhost.c 					   log, log_num, &desc);
desc             2305 drivers/vhost/vhost.c 		if (desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_WRITE))
desc             2309 drivers/vhost/vhost.c 		ret = translate_desc(vq, vhost64_to_cpu(vq, desc.addr),
desc             2310 drivers/vhost/vhost.c 				     vhost32_to_cpu(vq, desc.len), iov + iov_count,
desc             2323 drivers/vhost/vhost.c 				log[*log_num].addr = vhost64_to_cpu(vq, desc.addr);
desc             2324 drivers/vhost/vhost.c 				log[*log_num].len = vhost32_to_cpu(vq, desc.len);
desc             2337 drivers/vhost/vhost.c 	} while ((i = next_desc(vq, &desc)) != -1);
desc               90 drivers/vhost/vhost.h 	struct vring_desc __user *desc;
desc              153 drivers/vhost/vringh.c 			    const struct vring_desc *desc,
desc              164 drivers/vhost/vringh.c 	len = vringh32_to_cpu(vrh, desc->len);
desc              166 drivers/vhost/vringh.c 		vringh_bad("Strange indirect len %u", desc->len);
desc              171 drivers/vhost/vringh.c 	if (desc->flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT))
desc              172 drivers/vhost/vringh.c 		*up_next = vringh16_to_cpu(vrh, desc->next);
desc              215 drivers/vhost/vringh.c 	*descs = vrh->vring.desc;
desc              268 drivers/vhost/vringh.c 	struct vring_desc desc, *descs;
desc              273 drivers/vhost/vringh.c 	descs = vrh->vring.desc;
desc              291 drivers/vhost/vringh.c 			err = slow_copy(vrh, &desc, &descs[i], rcheck, getrange,
desc              294 drivers/vhost/vringh.c 			err = copy(&desc, &descs[i], sizeof(desc));
desc              298 drivers/vhost/vringh.c 		if (unlikely(desc.flags &
desc              300 drivers/vhost/vringh.c 			u64 a = vringh64_to_cpu(vrh, desc.addr);
desc              303 drivers/vhost/vringh.c 			len = vringh32_to_cpu(vrh, desc.len);
desc              309 drivers/vhost/vringh.c 			if (unlikely(len != vringh32_to_cpu(vrh, desc.len))) {
desc              316 drivers/vhost/vringh.c 			err = move_to_indirect(vrh, &up_next, &i, addr, &desc,
desc              329 drivers/vhost/vringh.c 		if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_WRITE))
desc              350 drivers/vhost/vringh.c 		len = vringh32_to_cpu(vrh, desc.len);
desc              351 drivers/vhost/vringh.c 		if (!rcheck(vrh, vringh64_to_cpu(vrh, desc.addr), &len, &range,
desc              356 drivers/vhost/vringh.c 		addr = (void *)(unsigned long)(vringh64_to_cpu(vrh, desc.addr) +
desc              369 drivers/vhost/vringh.c 		if (unlikely(len != vringh32_to_cpu(vrh, desc.len))) {
desc              370 drivers/vhost/vringh.c 			desc.len = cpu_to_vringh32(vrh,
desc              371 drivers/vhost/vringh.c 				   vringh32_to_cpu(vrh, desc.len) - len);
desc              372 drivers/vhost/vringh.c 			desc.addr = cpu_to_vringh64(vrh,
desc              373 drivers/vhost/vringh.c 				    vringh64_to_cpu(vrh, desc.addr) + len);
desc              377 drivers/vhost/vringh.c 		if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) {
desc              378 drivers/vhost/vringh.c 			i = vringh16_to_cpu(vrh, desc.next);
desc              608 drivers/vhost/vringh.c 		     struct vring_desc __user *desc,
desc              626 drivers/vhost/vringh.c 	vrh->vring.desc = (__force struct vring_desc *)desc;
desc              875 drivers/vhost/vringh.c 		     struct vring_desc *desc,
desc              892 drivers/vhost/vringh.c 	vrh->vring.desc = desc;
desc              447 drivers/video/fbdev/fsl-diu-fb.c 		 hw->desc[0], hw->desc[1], hw->desc[2], hw->gamma,
desc              509 drivers/video/fbdev/fsl-diu-fb.c 		wr_reg_wa(&hw->desc[0], ad->paddr);
desc              513 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[1] != ad->paddr) {	/* AOI0 closed */
desc              519 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[1], ad->paddr);
desc              524 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[2] != ad->paddr) {	/* AOI0 closed */
desc              530 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[2], ad->paddr);
desc              536 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[1] == data->dummy_ad.paddr)
desc              537 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[1], ad->paddr);
desc              544 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[2] == data->dummy_ad.paddr)
desc              545 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[2], ad->paddr);
desc              561 drivers/video/fbdev/fsl-diu-fb.c 		wr_reg_wa(&hw->desc[0], 0);
desc              566 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[1], cmfbi->ad->paddr);
desc              569 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[1], data->dummy_ad.paddr);
desc              575 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[2], cmfbi->ad->paddr);
desc              578 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[2], data->dummy_ad.paddr);
desc              583 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[1] != ad->paddr) {
desc              589 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[1], data->dummy_ad.paddr);
desc              594 drivers/video/fbdev/fsl-diu-fb.c 		if (hw->desc[2] != ad->paddr) {
desc              600 drivers/video/fbdev/fsl-diu-fb.c 			wr_reg_wa(&hw->desc[2], data->dummy_ad.paddr);
desc             1774 drivers/video/fbdev/fsl-diu-fb.c 		out_be32(&data->diu_reg->desc[0], 0);
desc             1776 drivers/video/fbdev/fsl-diu-fb.c 	out_be32(&data->diu_reg->desc[1], data->dummy_ad.paddr);
desc             1777 drivers/video/fbdev/fsl-diu-fb.c 	out_be32(&data->diu_reg->desc[2], data->dummy_ad.paddr);
desc               27 drivers/video/fbdev/matrox/matroxfb_g450.c 	struct v4l2_queryctrl desc;
desc               71 drivers/video/fbdev/matrox/matroxfb_g450.c 		if (v4l2_id < g450_controls[i].desc.id) {
desc               72 drivers/video/fbdev/matrox/matroxfb_g450.c 			if (g450_controls[i].desc.id == 0x08000000) {
desc               77 drivers/video/fbdev/matrox/matroxfb_g450.c 		if (v4l2_id == g450_controls[i].desc.id) {
desc               94 drivers/video/fbdev/matrox/matroxfb_g450.c 		*get_ctrl_ptr(minfo, i) = g450_controls[i].desc.default_value;
desc              147 drivers/video/fbdev/matrox/matroxfb_g450.c 		*p = g450_controls[i].desc;
desc              178 drivers/video/fbdev/matrox/matroxfb_g450.c 	if (p->value > g450_controls[i].desc.maximum) return -EINVAL;
desc              179 drivers/video/fbdev/matrox/matroxfb_g450.c 	if (p->value < g450_controls[i].desc.minimum) return -EINVAL;
desc               61 drivers/video/fbdev/matrox/matroxfb_maven.c 	struct v4l2_queryctrl desc;
desc              116 drivers/video/fbdev/matrox/matroxfb_maven.c 		if (v4l2_id < maven_controls[i].desc.id) {
desc              117 drivers/video/fbdev/matrox/matroxfb_maven.c 			if (maven_controls[i].desc.id == 0x08000000) {
desc              122 drivers/video/fbdev/matrox/matroxfb_maven.c 		if (v4l2_id == maven_controls[i].desc.id) {
desc             1039 drivers/video/fbdev/matrox/matroxfb_maven.c 		*p = maven_controls[i].desc;
desc             1070 drivers/video/fbdev/matrox/matroxfb_maven.c 	if (p->value > maven_controls[i].desc.maximum) return -EINVAL;
desc             1071 drivers/video/fbdev/matrox/matroxfb_maven.c 	if (p->value < maven_controls[i].desc.minimum) return -EINVAL;
desc             1228 drivers/video/fbdev/matrox/matroxfb_maven.c 			*get_ctrl_ptr(md, i) = maven_controls[i].desc.default_value;
desc              197 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	const char *desc, struct gpio_desc **gpiod)
desc              203 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW);
desc             1568 drivers/video/fbdev/udlfb.c 	char *desc;
desc             1576 drivers/video/fbdev/udlfb.c 	desc = buf;
desc             1580 drivers/video/fbdev/udlfb.c 					0, desc, MAX_VENDOR_DESCRIPTOR_SIZE);
desc             1585 drivers/video/fbdev/udlfb.c 			0x5f, &desc))
desc             1586 drivers/video/fbdev/udlfb.c 			total_len = (int) desc[0];
desc             1592 drivers/video/fbdev/udlfb.c 			 total_len, desc);
desc             1594 drivers/video/fbdev/udlfb.c 		if ((desc[0] != total_len) || /* descriptor length */
desc             1595 drivers/video/fbdev/udlfb.c 		    (desc[1] != 0x5f) ||   /* vendor descriptor type */
desc             1596 drivers/video/fbdev/udlfb.c 		    (desc[2] != 0x01) ||   /* version (2 bytes) */
desc             1597 drivers/video/fbdev/udlfb.c 		    (desc[3] != 0x00) ||
desc             1598 drivers/video/fbdev/udlfb.c 		    (desc[4] != total_len - 2)) /* length after type */
desc             1601 drivers/video/fbdev/udlfb.c 		desc_end = desc + total_len;
desc             1602 drivers/video/fbdev/udlfb.c 		desc += 5; /* the fixed header we've already parsed */
desc             1604 drivers/video/fbdev/udlfb.c 		while (desc < desc_end) {
desc             1608 drivers/video/fbdev/udlfb.c 			key = *desc++;
desc             1609 drivers/video/fbdev/udlfb.c 			key |= (u16)*desc++ << 8;
desc             1610 drivers/video/fbdev/udlfb.c 			length = *desc++;
desc             1614 drivers/video/fbdev/udlfb.c 				u32 max_area = *desc++;
desc             1615 drivers/video/fbdev/udlfb.c 				max_area |= (u32)*desc++ << 8;
desc             1616 drivers/video/fbdev/udlfb.c 				max_area |= (u32)*desc++ << 16;
desc             1617 drivers/video/fbdev/udlfb.c 				max_area |= (u32)*desc++ << 24;
desc             1627 drivers/video/fbdev/udlfb.c 			desc += length;
desc              463 drivers/virtio/virtio_mmio.c 		       struct irq_affinity *desc)
desc              103 drivers/virtio/virtio_pci_common.c 				   bool per_vq_vectors, struct irq_affinity *desc)
desc              128 drivers/virtio/virtio_pci_common.c 	if (desc) {
desc              130 drivers/virtio/virtio_pci_common.c 		desc->pre_vectors++; /* virtio config vector */
desc              134 drivers/virtio/virtio_pci_common.c 					     nvectors, flags, desc);
desc              283 drivers/virtio/virtio_pci_common.c 		struct irq_affinity *desc)
desc              305 drivers/virtio/virtio_pci_common.c 				      per_vq_vectors ? desc : NULL);
desc              395 drivers/virtio/virtio_pci_common.c 		struct irq_affinity *desc)
desc              400 drivers/virtio/virtio_pci_common.c 	err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, true, ctx, desc);
desc              404 drivers/virtio/virtio_pci_common.c 	err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, false, ctx, desc);
desc              133 drivers/virtio/virtio_pci_common.h 		struct irq_affinity *desc);
desc              406 drivers/virtio/virtio_pci_modern.c 			      struct irq_affinity *desc)
desc              410 drivers/virtio/virtio_pci_modern.c 	int rc = vp_find_vqs(vdev, nvqs, vqs, callbacks, names, ctx, desc);
desc              144 drivers/virtio/virtio_ring.c 				struct vring_packed_desc *desc;
desc              368 drivers/virtio/virtio_ring.c 				  struct vring_desc *desc)
desc              375 drivers/virtio/virtio_ring.c 	flags = virtio16_to_cpu(vq->vq.vdev, desc->flags);
desc              379 drivers/virtio/virtio_ring.c 				 virtio64_to_cpu(vq->vq.vdev, desc->addr),
desc              380 drivers/virtio/virtio_ring.c 				 virtio32_to_cpu(vq->vq.vdev, desc->len),
desc              385 drivers/virtio/virtio_ring.c 			       virtio64_to_cpu(vq->vq.vdev, desc->addr),
desc              386 drivers/virtio/virtio_ring.c 			       virtio32_to_cpu(vq->vq.vdev, desc->len),
desc              396 drivers/virtio/virtio_ring.c 	struct vring_desc *desc;
desc              406 drivers/virtio/virtio_ring.c 	desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp);
desc              407 drivers/virtio/virtio_ring.c 	if (!desc)
desc              411 drivers/virtio/virtio_ring.c 		desc[i].next = cpu_to_virtio16(_vq->vdev, i + 1);
desc              412 drivers/virtio/virtio_ring.c 	return desc;
desc              426 drivers/virtio/virtio_ring.c 	struct vring_desc *desc;
desc              448 drivers/virtio/virtio_ring.c 		desc = alloc_indirect_split(_vq, total_sg, gfp);
desc              450 drivers/virtio/virtio_ring.c 		desc = NULL;
desc              454 drivers/virtio/virtio_ring.c 	if (desc) {
desc              462 drivers/virtio/virtio_ring.c 		desc = vq->split.vring.desc;
desc              476 drivers/virtio/virtio_ring.c 			kfree(desc);
desc              487 drivers/virtio/virtio_ring.c 			desc[i].flags = cpu_to_virtio16(_vq->vdev, VRING_DESC_F_NEXT);
desc              488 drivers/virtio/virtio_ring.c 			desc[i].addr = cpu_to_virtio64(_vq->vdev, addr);
desc              489 drivers/virtio/virtio_ring.c 			desc[i].len = cpu_to_virtio32(_vq->vdev, sg->length);
desc              491 drivers/virtio/virtio_ring.c 			i = virtio16_to_cpu(_vq->vdev, desc[i].next);
desc              500 drivers/virtio/virtio_ring.c 			desc[i].flags = cpu_to_virtio16(_vq->vdev, VRING_DESC_F_NEXT | VRING_DESC_F_WRITE);
desc              501 drivers/virtio/virtio_ring.c 			desc[i].addr = cpu_to_virtio64(_vq->vdev, addr);
desc              502 drivers/virtio/virtio_ring.c 			desc[i].len = cpu_to_virtio32(_vq->vdev, sg->length);
desc              504 drivers/virtio/virtio_ring.c 			i = virtio16_to_cpu(_vq->vdev, desc[i].next);
desc              508 drivers/virtio/virtio_ring.c 	desc[prev].flags &= cpu_to_virtio16(_vq->vdev, ~VRING_DESC_F_NEXT);
desc              513 drivers/virtio/virtio_ring.c 			vq, desc, total_sg * sizeof(struct vring_desc),
desc              518 drivers/virtio/virtio_ring.c 		vq->split.vring.desc[head].flags = cpu_to_virtio16(_vq->vdev,
desc              520 drivers/virtio/virtio_ring.c 		vq->split.vring.desc[head].addr = cpu_to_virtio64(_vq->vdev,
desc              523 drivers/virtio/virtio_ring.c 		vq->split.vring.desc[head].len = cpu_to_virtio32(_vq->vdev,
desc              533 drivers/virtio/virtio_ring.c 					vq->split.vring.desc[head].next);
desc              540 drivers/virtio/virtio_ring.c 		vq->split.desc_state[head].indir_desc = desc;
desc              578 drivers/virtio/virtio_ring.c 		vring_unmap_one_split(vq, &desc[i]);
desc              579 drivers/virtio/virtio_ring.c 		i = virtio16_to_cpu(_vq->vdev, desc[i].next);
desc              583 drivers/virtio/virtio_ring.c 		kfree(desc);
desc              632 drivers/virtio/virtio_ring.c 	while (vq->split.vring.desc[i].flags & nextflag) {
desc              633 drivers/virtio/virtio_ring.c 		vring_unmap_one_split(vq, &vq->split.vring.desc[i]);
desc              634 drivers/virtio/virtio_ring.c 		i = virtio16_to_cpu(vq->vq.vdev, vq->split.vring.desc[i].next);
desc              638 drivers/virtio/virtio_ring.c 	vring_unmap_one_split(vq, &vq->split.vring.desc[i]);
desc              639 drivers/virtio/virtio_ring.c 	vq->split.vring.desc[i].next = cpu_to_virtio16(vq->vq.vdev,
desc              656 drivers/virtio/virtio_ring.c 				vq->split.vring.desc[head].len);
desc              658 drivers/virtio/virtio_ring.c 		BUG_ON(!(vq->split.vring.desc[head].flags &
desc              938 drivers/virtio/virtio_ring.c 				   struct vring_packed_desc *desc)
desc              945 drivers/virtio/virtio_ring.c 	flags = le16_to_cpu(desc->flags);
desc              949 drivers/virtio/virtio_ring.c 				 le64_to_cpu(desc->addr),
desc              950 drivers/virtio/virtio_ring.c 				 le32_to_cpu(desc->len),
desc              955 drivers/virtio/virtio_ring.c 			       le64_to_cpu(desc->addr),
desc              956 drivers/virtio/virtio_ring.c 			       le32_to_cpu(desc->len),
desc              965 drivers/virtio/virtio_ring.c 	struct vring_packed_desc *desc;
desc              974 drivers/virtio/virtio_ring.c 	desc = kmalloc_array(total_sg, sizeof(struct vring_packed_desc), gfp);
desc              976 drivers/virtio/virtio_ring.c 	return desc;
desc              987 drivers/virtio/virtio_ring.c 	struct vring_packed_desc *desc;
desc              994 drivers/virtio/virtio_ring.c 	desc = alloc_indirect_packed(total_sg, gfp);
desc              998 drivers/virtio/virtio_ring.c 		kfree(desc);
desc             1014 drivers/virtio/virtio_ring.c 			desc[i].flags = cpu_to_le16(n < out_sgs ?
desc             1016 drivers/virtio/virtio_ring.c 			desc[i].addr = cpu_to_le64(addr);
desc             1017 drivers/virtio/virtio_ring.c 			desc[i].len = cpu_to_le32(sg->length);
desc             1023 drivers/virtio/virtio_ring.c 	addr = vring_map_single(vq, desc,
desc             1029 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc[head].addr = cpu_to_le64(addr);
desc             1030 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc[head].len = cpu_to_le32(total_sg *
desc             1032 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc[head].id = cpu_to_le16(id);
desc             1048 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc[head].flags = cpu_to_le16(VRING_DESC_F_INDIRECT |
desc             1069 drivers/virtio/virtio_ring.c 	vq->packed.desc_state[id].indir_desc = desc;
desc             1083 drivers/virtio/virtio_ring.c 		vring_unmap_desc_packed(vq, &desc[i]);
desc             1085 drivers/virtio/virtio_ring.c 	kfree(desc);
desc             1101 drivers/virtio/virtio_ring.c 	struct vring_packed_desc *desc;
desc             1130 drivers/virtio/virtio_ring.c 	desc = vq->packed.vring.desc;
desc             1159 drivers/virtio/virtio_ring.c 				desc[i].flags = flags;
desc             1161 drivers/virtio/virtio_ring.c 			desc[i].addr = cpu_to_le64(addr);
desc             1162 drivers/virtio/virtio_ring.c 			desc[i].len = cpu_to_le32(sg->length);
desc             1163 drivers/virtio/virtio_ring.c 			desc[i].id = cpu_to_le16(id);
desc             1205 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc[head].flags = head_flags;
desc             1222 drivers/virtio/virtio_ring.c 		vring_unmap_desc_packed(vq, &desc[i]);
desc             1285 drivers/virtio/virtio_ring.c 	struct vring_packed_desc *desc;
desc             1310 drivers/virtio/virtio_ring.c 		desc = state->indir_desc;
desc             1311 drivers/virtio/virtio_ring.c 		if (!desc)
desc             1318 drivers/virtio/virtio_ring.c 				vring_unmap_desc_packed(vq, &desc[i]);
desc             1320 drivers/virtio/virtio_ring.c 		kfree(desc);
desc             1333 drivers/virtio/virtio_ring.c 	flags = le16_to_cpu(vq->packed.vring.desc[idx].flags);
desc             1371 drivers/virtio/virtio_ring.c 	id = le16_to_cpu(vq->packed.vring.desc[last_used].id);
desc             1372 drivers/virtio/virtio_ring.c 	*len = le32_to_cpu(vq->packed.vring.desc[last_used].len);
desc             1632 drivers/virtio/virtio_ring.c 	vq->packed.vring.desc = ring;
desc             2123 drivers/virtio/virtio_ring.c 		vq->split.vring.desc[i].next = cpu_to_virtio16(vdev, i + 1);
desc             2186 drivers/virtio/virtio_ring.c 					 vq->packed.vring.desc,
desc             2204 drivers/virtio/virtio_ring.c 					 vq->split.vring.desc,
desc             2304 drivers/virtio/virtio_ring.c 		((char *)vq->split.vring.avail - (char *)vq->split.vring.desc);
desc             2318 drivers/virtio/virtio_ring.c 		((char *)vq->split.vring.used - (char *)vq->split.vring.desc);
desc             1005 drivers/w1/masters/ds2490.c 		intf->cur_altsetting->desc.bInterfaceNumber, alt);
desc             1009 drivers/w1/masters/ds2490.c 			intf->cur_altsetting->desc.bInterfaceNumber, err);
desc             1014 drivers/w1/masters/ds2490.c 	if (iface_desc->desc.bNumEndpoints != NUM_EP-1) {
desc             1016 drivers/w1/masters/ds2490.c 			iface_desc->desc.bNumEndpoints);
desc             1025 drivers/w1/masters/ds2490.c 	for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
desc             1026 drivers/w1/masters/ds2490.c 		endpoint = &iface_desc->endpoint[i].desc;
desc              359 drivers/watchdog/ibmasr.c 	const char *desc;
desc              377 drivers/watchdog/ibmasr.c 	for (id = ibmasr_id_table; id->desc; id++) {
desc              378 drivers/watchdog/ibmasr.c 		if (dmi_find_device(DMI_DEV_TYPE_OTHER, id->desc, NULL)) {
desc              623 drivers/watchdog/pcwd_usb.c 	if (!(iface_desc->desc.bInterfaceClass == USB_CLASS_HID)) {
desc              628 drivers/watchdog/pcwd_usb.c 	if (iface_desc->desc.bNumEndpoints < 1)
desc              632 drivers/watchdog/pcwd_usb.c 	endpoint = &iface_desc->endpoint[0].desc;
desc              653 drivers/watchdog/pcwd_usb.c 	usb_pcwd->interface_number = iface_desc->desc.bInterfaceNumber;
desc             1345 drivers/xen/events/events_base.c int xen_set_affinity_evtchn(struct irq_desc *desc, unsigned int tcpu)
desc             1347 drivers/xen/events/events_base.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc              429 drivers/xen/evtchn.c 	struct irq_desc *desc;
desc              433 drivers/xen/evtchn.c 	desc = irq_to_desc(irq);
desc              435 drivers/xen/evtchn.c 	if (!desc)
desc              438 drivers/xen/evtchn.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              441 drivers/xen/evtchn.c 			desc->irq_common_data.affinity, cpu_online_mask);
desc              444 drivers/xen/evtchn.c 		selected_cpu = cpumask_first_and(desc->irq_common_data.affinity,
desc              450 drivers/xen/evtchn.c 	xen_set_affinity_evtchn(desc, selected_cpu);
desc              451 drivers/xen/evtchn.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              121 drivers/xen/xen-acpi-processor.c 				 cx->type, cx->desc, (u32)cx->latency);
desc              226 fs/afs/file.c  int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *desc)
desc              249 fs/afs/file.c  			afs_fs_fetch_data(&fc, scb, desc);
desc              260 fs/afs/file.c  		atomic_long_add(desc->actual_len,
desc              155 fs/btrfs/volumes.c #define DESCRIBE_FLAG(flag, desc)						\
desc              158 fs/btrfs/volumes.c 			ret = snprintf(bp, size_bp, "%s|", (desc));	\
desc              291 fs/cifs/cifsacl.c 	char desc[3 + 10 + 1]; /* 3 byte prefix + 10 bytes for value + NULL */
desc              294 fs/cifs/cifsacl.c 	rc = snprintf(desc, sizeof(desc), "%ci:%u",
desc              296 fs/cifs/cifsacl.c 	if (rc >= sizeof(desc))
desc              301 fs/cifs/cifsacl.c 	sidkey = request_key(&cifs_idmap_key_type, desc, "");
desc             3085 fs/cifs/connect.c 	char *desc;
desc             3093 fs/cifs/connect.c 	desc = kmalloc(CIFSCREDS_DESC_SIZE, GFP_KERNEL);
desc             3094 fs/cifs/connect.c 	if (!desc)
desc             3101 fs/cifs/connect.c 		sprintf(desc, "cifs:a:%pI4", &sa->sin_addr.s_addr);
desc             3105 fs/cifs/connect.c 		sprintf(desc, "cifs:a:%pI6c", &sa6->sin6_addr.s6_addr);
desc             3114 fs/cifs/connect.c 	cifs_dbg(FYI, "%s: desc=%s\n", __func__, desc);
desc             3115 fs/cifs/connect.c 	key = request_key(&key_type_logon, desc, "");
desc             3124 fs/cifs/connect.c 		sprintf(desc, "cifs:d:%s", ses->domainName);
desc             3125 fs/cifs/connect.c 		cifs_dbg(FYI, "%s: desc=%s\n", __func__, desc);
desc             3126 fs/cifs/connect.c 		key = request_key(&key_type_logon, desc, "");
desc             3213 fs/cifs/connect.c 	kfree(desc);
desc               47 fs/crypto/hkdf.c 	SHASH_DESC_ON_STACK(desc, hmac_tfm);
desc               54 fs/crypto/hkdf.c 	desc->tfm = hmac_tfm;
desc               55 fs/crypto/hkdf.c 	err = crypto_shash_digest(desc, ikm, ikmlen, prk);
desc               56 fs/crypto/hkdf.c 	shash_desc_zero(desc);
desc              119 fs/crypto/hkdf.c 	SHASH_DESC_ON_STACK(desc, hkdf->hmac_tfm);
desc              130 fs/crypto/hkdf.c 	desc->tfm = hkdf->hmac_tfm;
desc              137 fs/crypto/hkdf.c 		err = crypto_shash_init(desc);
desc              142 fs/crypto/hkdf.c 			err = crypto_shash_update(desc, prev, HKDF_HASHLEN);
desc              147 fs/crypto/hkdf.c 		err = crypto_shash_update(desc, prefix, sizeof(prefix));
desc              151 fs/crypto/hkdf.c 		err = crypto_shash_update(desc, info, infolen);
desc              157 fs/crypto/hkdf.c 			err = crypto_shash_finup(desc, &counter, 1, tmp);
desc              163 fs/crypto/hkdf.c 			err = crypto_shash_finup(desc, &counter, 1, &okm[i]);
desc              174 fs/crypto/hkdf.c 	shash_desc_zero(desc);
desc              142 fs/crypto/keysetup.c 		SHASH_DESC_ON_STACK(desc, tfm);
desc              143 fs/crypto/keysetup.c 		desc->tfm = tfm;
desc              145 fs/crypto/keysetup.c 		return crypto_shash_digest(desc, key, keysize, salt);
desc               54 fs/ecryptfs/crypto.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc               57 fs/ecryptfs/crypto.c 	desc->tfm = tfm;
desc               58 fs/ecryptfs/crypto.c 	err = crypto_shash_digest(desc, src, len, dst);
desc               59 fs/ecryptfs/crypto.c 	shash_desc_zero(desc);
desc               47 fs/ext2/balloc.c 	struct ext2_group_desc * desc;
desc               69 fs/ext2/balloc.c 	desc = (struct ext2_group_desc *) sbi->s_group_desc[group_desc]->b_data;
desc               72 fs/ext2/balloc.c 	return desc + offset;
desc               76 fs/ext2/balloc.c 					struct ext2_group_desc *desc,
desc               88 fs/ext2/balloc.c 	bitmap_blk = le32_to_cpu(desc->bg_block_bitmap);
desc               95 fs/ext2/balloc.c 	bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap);
desc              102 fs/ext2/balloc.c 	bitmap_blk = le32_to_cpu(desc->bg_inode_table);
desc              128 fs/ext2/balloc.c 	struct ext2_group_desc * desc;
desc              132 fs/ext2/balloc.c 	desc = ext2_get_group_desc(sb, block_group, NULL);
desc              133 fs/ext2/balloc.c 	if (!desc)
desc              135 fs/ext2/balloc.c 	bitmap_blk = le32_to_cpu(desc->bg_block_bitmap);
desc              141 fs/ext2/balloc.c 			    block_group, le32_to_cpu(desc->bg_block_bitmap));
desc              152 fs/ext2/balloc.c 			    block_group, le32_to_cpu(desc->bg_block_bitmap));
desc              156 fs/ext2/balloc.c 	ext2_valid_block_bitmap(sb, desc, block_group, bh);
desc              165 fs/ext2/balloc.c 	struct ext2_group_desc *desc, struct buffer_head *bh, int count)
desc              172 fs/ext2/balloc.c 		free_blocks = le16_to_cpu(desc->bg_free_blocks_count);
desc              173 fs/ext2/balloc.c 		desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count);
desc              489 fs/ext2/balloc.c 	struct ext2_group_desc * desc;
desc              521 fs/ext2/balloc.c 	desc = ext2_get_group_desc (sb, block_group, &bh2);
desc              522 fs/ext2/balloc.c 	if (!desc)
desc              525 fs/ext2/balloc.c 	if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) ||
desc              526 fs/ext2/balloc.c 	    in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) ||
desc              527 fs/ext2/balloc.c 	    in_range (block, le32_to_cpu(desc->bg_inode_table),
desc              529 fs/ext2/balloc.c 	    in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table),
desc              552 fs/ext2/balloc.c 	group_adjust_blocks(sb, block_group, desc, bh2, group_freed);
desc             1468 fs/ext2/balloc.c 	struct ext2_group_desc * desc;
desc             1478 fs/ext2/balloc.c 	desc = NULL;
desc             1481 fs/ext2/balloc.c 		desc = ext2_get_group_desc (sb, i, NULL);
desc             1482 fs/ext2/balloc.c 		if (!desc)
desc             1484 fs/ext2/balloc.c 		desc_count += le16_to_cpu(desc->bg_free_blocks_count);
desc             1491 fs/ext2/balloc.c 			i, le16_to_cpu(desc->bg_free_blocks_count), x);
desc             1501 fs/ext2/balloc.c                 desc = ext2_get_group_desc (sb, i, NULL);
desc             1502 fs/ext2/balloc.c                 if (!desc)
desc             1504 fs/ext2/balloc.c                 desc_count += le16_to_cpu(desc->bg_free_blocks_count);
desc               49 fs/ext2/ialloc.c 	struct ext2_group_desc *desc;
desc               52 fs/ext2/ialloc.c 	desc = ext2_get_group_desc(sb, block_group, NULL);
desc               53 fs/ext2/ialloc.c 	if (!desc)
desc               56 fs/ext2/ialloc.c 	bh = sb_bread(sb, le32_to_cpu(desc->bg_inode_bitmap));
desc               61 fs/ext2/ialloc.c 			    block_group, le32_to_cpu(desc->bg_inode_bitmap));
desc               68 fs/ext2/ialloc.c 	struct ext2_group_desc * desc;
desc               71 fs/ext2/ialloc.c 	desc = ext2_get_group_desc(sb, group, &bh);
desc               72 fs/ext2/ialloc.c 	if (!desc) {
desc               79 fs/ext2/ialloc.c 	le16_add_cpu(&desc->bg_free_inodes_count, 1);
desc               81 fs/ext2/ialloc.c 		le16_add_cpu(&desc->bg_used_dirs_count, -1);
desc              207 fs/ext2/ialloc.c 	struct ext2_group_desc *desc, *best_desc = NULL;
desc              211 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, group, NULL);
desc              212 fs/ext2/ialloc.c 		if (!desc || !desc->bg_free_inodes_count)
desc              214 fs/ext2/ialloc.c 		if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei)
desc              217 fs/ext2/ialloc.c 		    (le16_to_cpu(desc->bg_free_blocks_count) >
desc              220 fs/ext2/ialloc.c 			best_desc = desc;
desc              270 fs/ext2/ialloc.c 	struct ext2_group_desc *desc;
desc              288 fs/ext2/ialloc.c 			desc = ext2_get_group_desc (sb, group, NULL);
desc              289 fs/ext2/ialloc.c 			if (!desc || !desc->bg_free_inodes_count)
desc              291 fs/ext2/ialloc.c 			if (le16_to_cpu(desc->bg_used_dirs_count) >= best_ndir)
desc              293 fs/ext2/ialloc.c 			if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei)
desc              295 fs/ext2/ialloc.c 			if (le16_to_cpu(desc->bg_free_blocks_count) < avefreeb)
desc              298 fs/ext2/ialloc.c 			best_ndir = le16_to_cpu(desc->bg_used_dirs_count);
desc              299 fs/ext2/ialloc.c 			best_desc = desc;
desc              302 fs/ext2/ialloc.c 			desc = best_desc;
desc              328 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, group, NULL);
desc              329 fs/ext2/ialloc.c 		if (!desc || !desc->bg_free_inodes_count)
desc              333 fs/ext2/ialloc.c 		if (le16_to_cpu(desc->bg_used_dirs_count) >= max_dirs)
desc              335 fs/ext2/ialloc.c 		if (le16_to_cpu(desc->bg_free_inodes_count) < min_inodes)
desc              337 fs/ext2/ialloc.c 		if (le16_to_cpu(desc->bg_free_blocks_count) < min_blocks)
desc              345 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, group, NULL);
desc              346 fs/ext2/ialloc.c 		if (!desc || !desc->bg_free_inodes_count)
desc              348 fs/ext2/ialloc.c 		if (le16_to_cpu(desc->bg_free_inodes_count) >= avefreei)
desc              371 fs/ext2/ialloc.c 	struct ext2_group_desc *desc;
desc              378 fs/ext2/ialloc.c 	desc = ext2_get_group_desc (sb, group, NULL);
desc              379 fs/ext2/ialloc.c 	if (desc && le16_to_cpu(desc->bg_free_inodes_count) &&
desc              380 fs/ext2/ialloc.c 			le16_to_cpu(desc->bg_free_blocks_count))
desc              402 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, group, NULL);
desc              403 fs/ext2/ialloc.c 		if (desc && le16_to_cpu(desc->bg_free_inodes_count) &&
desc              404 fs/ext2/ialloc.c 				le16_to_cpu(desc->bg_free_blocks_count))
desc              416 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, group, NULL);
desc              417 fs/ext2/ialloc.c 		if (desc && le16_to_cpu(desc->bg_free_inodes_count))
desc              622 fs/ext2/ialloc.c 	struct ext2_group_desc *desc;
desc              635 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, i, NULL);
desc              636 fs/ext2/ialloc.c 		if (!desc)
desc              638 fs/ext2/ialloc.c 		desc_count += le16_to_cpu(desc->bg_free_inodes_count);
desc              646 fs/ext2/ialloc.c 			i, le16_to_cpu(desc->bg_free_inodes_count), x);
desc              657 fs/ext2/ialloc.c 		desc = ext2_get_group_desc (sb, i, NULL);
desc              658 fs/ext2/ialloc.c 		if (!desc)
desc              660 fs/ext2/ialloc.c 		desc_count += le16_to_cpu(desc->bg_free_inodes_count);
desc              271 fs/ext4/balloc.c 	struct ext4_group_desc *desc;
desc              298 fs/ext4/balloc.c 	desc = (struct ext4_group_desc *)(
desc              303 fs/ext4/balloc.c 	return desc;
desc              311 fs/ext4/balloc.c 					    struct ext4_group_desc *desc,
desc              334 fs/ext4/balloc.c 	blk = ext4_block_bitmap(sb, desc);
desc              342 fs/ext4/balloc.c 	blk = ext4_inode_bitmap(sb, desc);
desc              350 fs/ext4/balloc.c 	blk = ext4_inode_table(sb, desc);
desc              366 fs/ext4/balloc.c 				      struct ext4_group_desc *desc,
desc              382 fs/ext4/balloc.c 			desc, bh))) {
desc              389 fs/ext4/balloc.c 	blk = ext4_valid_block_bitmap(sb, desc, block_group, bh);
desc              417 fs/ext4/balloc.c 	struct ext4_group_desc *desc;
desc              423 fs/ext4/balloc.c 	desc = ext4_get_group_desc(sb, block_group, NULL);
desc              424 fs/ext4/balloc.c 	if (!desc)
desc              426 fs/ext4/balloc.c 	bitmap_blk = ext4_block_bitmap(sb, desc);
desc              453 fs/ext4/balloc.c 	    (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) {
desc              462 fs/ext4/balloc.c 		err = ext4_init_block_bitmap(sb, bh, block_group, desc);
desc              495 fs/ext4/balloc.c 	err = ext4_validate_block_bitmap(sb, desc, block_group, bh);
desc              508 fs/ext4/balloc.c 	struct ext4_group_desc *desc;
desc              512 fs/ext4/balloc.c 	desc = ext4_get_group_desc(sb, block_group, NULL);
desc              513 fs/ext4/balloc.c 	if (!desc)
desc              526 fs/ext4/balloc.c 	return ext4_validate_block_bitmap(sb, desc, block_group, bh);
desc             2098 fs/ext4/ext4.h 	} desc;
desc             2100 fs/ext4/ext4.h 	BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver)!=sizeof(desc.ctx));
desc             2102 fs/ext4/ext4.h 	desc.shash.tfm = sbi->s_chksum_driver;
desc             2103 fs/ext4/ext4.h 	*(u32 *)desc.ctx = crc;
desc             2105 fs/ext4/ext4.h 	BUG_ON(crypto_shash_update(&desc.shash, address, length));
desc             2107 fs/ext4/ext4.h 	return *(u32 *)desc.ctx;
desc             2570 fs/ext4/ext4.h 		ext4_group_t i, struct ext4_group_desc *desc);
desc               80 fs/ext4/ialloc.c 				      struct ext4_group_desc *desc,
desc               95 fs/ext4/ialloc.c 	blk = ext4_inode_bitmap(sb, desc);
desc               96 fs/ext4/ialloc.c 	if (!ext4_inode_bitmap_csum_verify(sb, block_group, desc, bh,
desc              120 fs/ext4/ialloc.c 	struct ext4_group_desc *desc;
desc              126 fs/ext4/ialloc.c 	desc = ext4_get_group_desc(sb, block_group, NULL);
desc              127 fs/ext4/ialloc.c 	if (!desc)
desc              130 fs/ext4/ialloc.c 	bitmap_blk = ext4_inode_bitmap(sb, desc);
desc              157 fs/ext4/ialloc.c 	    (desc->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT))) {
desc              206 fs/ext4/ialloc.c 	err = ext4_validate_inode_bitmap(sb, desc, block_group, bh);
desc              369 fs/ext4/ialloc.c 	struct ext4_group_desc *desc;
desc              380 fs/ext4/ialloc.c 	desc = ext4_get_group_desc(sb, g, NULL);
desc              381 fs/ext4/ialloc.c 	if (desc) {
desc              382 fs/ext4/ialloc.c 		stats->free_inodes = ext4_free_inodes_count(sb, desc);
desc              383 fs/ext4/ialloc.c 		stats->free_clusters = ext4_free_group_clusters(sb, desc);
desc              384 fs/ext4/ialloc.c 		stats->used_dirs = ext4_used_dirs_count(sb, desc);
desc              427 fs/ext4/ialloc.c 	struct ext4_group_desc *desc;
desc              495 fs/ext4/ialloc.c 			desc = ext4_get_group_desc(sb, grp+i, NULL);
desc              496 fs/ext4/ialloc.c 			if (desc && ext4_free_inodes_count(sb, desc)) {
desc              539 fs/ext4/ialloc.c 		desc = ext4_get_group_desc(sb, grp, NULL);
desc              540 fs/ext4/ialloc.c 		if (desc) {
desc              541 fs/ext4/ialloc.c 			grp_free = ext4_free_inodes_count(sb, desc);
desc              566 fs/ext4/ialloc.c 	struct ext4_group_desc *desc;
desc              585 fs/ext4/ialloc.c 			desc = ext4_get_group_desc(sb, i, NULL);
desc              586 fs/ext4/ialloc.c 			if (desc && ext4_free_inodes_count(sb, desc)) {
desc              611 fs/ext4/ialloc.c 	desc = ext4_get_group_desc(sb, *group, NULL);
desc              612 fs/ext4/ialloc.c 	if (desc && ext4_free_inodes_count(sb, desc) &&
desc              613 fs/ext4/ialloc.c 	    ext4_free_group_clusters(sb, desc))
desc              635 fs/ext4/ialloc.c 		desc = ext4_get_group_desc(sb, *group, NULL);
desc              636 fs/ext4/ialloc.c 		if (desc && ext4_free_inodes_count(sb, desc) &&
desc              637 fs/ext4/ialloc.c 		    ext4_free_group_clusters(sb, desc))
desc              649 fs/ext4/ialloc.c 		desc = ext4_get_group_desc(sb, *group, NULL);
desc              650 fs/ext4/ialloc.c 		if (desc && ext4_free_inodes_count(sb, desc))
desc             2391 fs/ext4/mballoc.c 			  struct ext4_group_desc *desc)
desc             2435 fs/ext4/mballoc.c 	    (desc->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) {
desc             2437 fs/ext4/mballoc.c 			ext4_free_clusters_after_init(sb, group, desc);
desc             2440 fs/ext4/mballoc.c 			ext4_free_group_clusters(sb, desc);
desc             2485 fs/ext4/mballoc.c 	struct ext4_group_desc *desc;
desc             2506 fs/ext4/mballoc.c 		desc = ext4_get_group_desc(sb, i, NULL);
desc             2507 fs/ext4/mballoc.c 		if (desc == NULL) {
desc             2511 fs/ext4/mballoc.c 		if (ext4_mb_add_groupinfo(sb, i, desc) != 0)
desc             4995 fs/ext4/mballoc.c 	struct ext4_group_desc *desc;
desc             5028 fs/ext4/mballoc.c 	desc = ext4_get_group_desc(sb, block_group, &gd_bh);
desc             5029 fs/ext4/mballoc.c 	if (!desc) {
desc             5034 fs/ext4/mballoc.c 	if (in_range(ext4_block_bitmap(sb, desc), block, count) ||
desc             5035 fs/ext4/mballoc.c 	    in_range(ext4_inode_bitmap(sb, desc), block, count) ||
desc             5036 fs/ext4/mballoc.c 	    in_range(block, ext4_inode_table(sb, desc), sbi->s_itb_per_group) ||
desc             5037 fs/ext4/mballoc.c 	    in_range(block + count - 1, ext4_inode_table(sb, desc),
desc             5085 fs/ext4/mballoc.c 		ext4_free_group_clusters(sb, desc);
desc             5086 fs/ext4/mballoc.c 	ext4_free_group_clusters_set(sb, desc, free_clusters_count);
desc             5087 fs/ext4/mballoc.c 	ext4_block_bitmap_csum_set(sb, block_group, desc, bitmap_bh);
desc             5088 fs/ext4/mballoc.c 	ext4_group_desc_csum_set(sb, block_group, desc);
desc              175 fs/ext4/verity.c static int ext4_write_verity_descriptor(struct inode *inode, const void *desc,
desc              187 fs/ext4/verity.c 	err = pagecache_write(inode, desc, desc_size, desc_pos);
desc              195 fs/ext4/verity.c static int ext4_end_enable_verity(struct file *filp, const void *desc,
desc              204 fs/ext4/verity.c 	if (desc != NULL) {
desc              206 fs/ext4/verity.c 		err = ext4_write_verity_descriptor(inode, desc, desc_size,
desc              215 fs/ext4/verity.c 	if (desc == NULL || err)
desc              237 fs/ext4/verity.c 	if (desc != NULL && !err) {
desc             1460 fs/f2fs/f2fs.h 	} desc;
desc             1463 fs/f2fs/f2fs.h 	BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver) != sizeof(desc.ctx));
desc             1465 fs/f2fs/f2fs.h 	desc.shash.tfm = sbi->s_chksum_driver;
desc             1466 fs/f2fs/f2fs.h 	*(u32 *)desc.ctx = crc;
desc             1468 fs/f2fs/f2fs.h 	err = crypto_shash_update(&desc.shash, address, length);
desc             1471 fs/f2fs/f2fs.h 	return *(u32 *)desc.ctx;
desc              149 fs/f2fs/verity.c static int f2fs_end_enable_verity(struct file *filp, const void *desc,
desc              161 fs/f2fs/verity.c 	if (desc != NULL) {
desc              163 fs/f2fs/verity.c 		err = pagecache_write(inode, desc, desc_size, desc_pos);
desc              171 fs/f2fs/verity.c 	if (desc == NULL || err)
desc              176 fs/f2fs/verity.c 	if (desc != NULL && !err) {
desc               46 fs/fs_parser.c 	const struct fs_parameter_description *desc,
desc               51 fs/fs_parser.c 	if (!desc->specs)
desc               54 fs/fs_parser.c 	for (p = desc->specs; p->name; p++)
desc               80 fs/fs_parser.c 	     const struct fs_parameter_description *desc,
desc               92 fs/fs_parser.c 	p = fs_lookup_key(desc, param->key);
desc              103 fs/fs_parser.c 		p = fs_lookup_key(desc, param->key + 2);
desc              114 fs/fs_parser.c 		      desc->name, param->key);
desc              150 fs/fs_parser.c 				      desc->name, param->key);
desc              190 fs/fs_parser.c 		for (e = desc->enums; e->name[0]; e++) {
desc              240 fs/fs_parser.c 	return invalf(fc, "%s: Bad value for '%s'", desc->name, param->key);
desc              360 fs/fs_parser.c bool fs_validate_description(const struct fs_parameter_description *desc)
desc              364 fs/fs_parser.c 	const char *name = desc->name;
desc              376 fs/fs_parser.c 	if (desc->specs) {
desc              377 fs/fs_parser.c 		for (param = desc->specs; param->name; param++) {
desc              391 fs/fs_parser.c 			for (p2 = desc->specs; p2 < param; p2++) {
desc              400 fs/fs_parser.c 		nr_params = param - desc->specs;
desc              403 fs/fs_parser.c 	if (desc->enums) {
desc              417 fs/fs_parser.c 		for (e = desc->enums; e->name[0]; e++) {
desc              421 fs/fs_parser.c 			for (param = desc->specs; param->name; param++) {
desc              425 fs/fs_parser.c 					       name, e - desc->enums, param->name);
desc              434 fs/fs_parser.c 		for (param = desc->specs; param->name; param++) {
desc              437 fs/fs_parser.c 			for (e = desc->enums; e->name[0]; e++)
desc              306 fs/fuse/cuse.c 	struct fuse_page_desc desc;
desc              458 fs/fuse/cuse.c 	ap->descs = &ia->desc;
desc              460 fs/fuse/cuse.c 	ia->desc.length = ap->args.out_args[1].size;
desc             1213 fs/fuse/dir.c  	struct fuse_page_desc desc = { .length = PAGE_SIZE - 1 };
desc             1217 fs/fuse/dir.c  		.descs = &desc,
desc             1228 fs/fuse/dir.c  	ap.args.out_args[0].size = desc.length;
desc               23 fs/fuse/file.c 				      struct fuse_page_desc **desc)
desc               29 fs/fuse/file.c 	*desc = (void *) (pages + npages);
desc              786 fs/fuse/file.c 	struct fuse_page_desc desc = { .length = PAGE_SIZE };
desc              792 fs/fuse/file.c 		.ap.descs = &desc,
desc              807 fs/fuse/file.c 	if (pos + (desc.length - 1) == LLONG_MAX)
desc              808 fs/fuse/file.c 		desc.length--;
desc              810 fs/fuse/file.c 	fuse_read_args_fill(&ia, file, pos, desc.length, FUSE_READ);
desc              817 fs/fuse/file.c 	if (res < desc.length)
desc              326 fs/fuse/readdir.c 	struct fuse_page_desc desc = { .length = PAGE_SIZE };
desc              338 fs/fuse/readdir.c 	ap->descs = &desc;
desc              136 fs/hfs/bnode.c 	struct hfs_bnode_desc desc;
desc              141 fs/hfs/bnode.c 	hfs_bnode_read(node, &desc, 0, sizeof(desc));
desc              143 fs/hfs/bnode.c 		be32_to_cpu(desc.next), be32_to_cpu(desc.prev),
desc              144 fs/hfs/bnode.c 		desc.type, desc.height, be16_to_cpu(desc.num_recs));
desc              147 fs/hfs/bnode.c 	for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) {
desc              315 fs/hfs/bnode.c 	struct hfs_bnode_desc *desc;
desc              338 fs/hfs/bnode.c 	desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + node->page_offset);
desc              339 fs/hfs/bnode.c 	node->prev = be32_to_cpu(desc->prev);
desc              340 fs/hfs/bnode.c 	node->next = be32_to_cpu(desc->next);
desc              341 fs/hfs/bnode.c 	node->num_recs = be16_to_cpu(desc->num_recs);
desc              342 fs/hfs/bnode.c 	node->type = desc->type;
desc              343 fs/hfs/bnode.c 	node->height = desc->height;
desc              192 fs/hfs/btree.c 	struct hfs_bnode_desc desc;
desc              209 fs/hfs/btree.c 	desc.next = 0;
desc              210 fs/hfs/btree.c 	desc.prev = 0;
desc              211 fs/hfs/btree.c 	desc.type = HFS_NODE_MAP;
desc              212 fs/hfs/btree.c 	desc.height = 0;
desc              213 fs/hfs/btree.c 	desc.num_recs = cpu_to_be16(1);
desc              214 fs/hfs/btree.c 	desc.reserved = 0;
desc              215 fs/hfs/btree.c 	hfs_bnode_write(node, &desc, 0, sizeof(desc));
desc              300 fs/hfsplus/bnode.c 	struct hfs_bnode_desc desc;
desc              305 fs/hfsplus/bnode.c 	hfs_bnode_read(node, &desc, 0, sizeof(desc));
desc              307 fs/hfsplus/bnode.c 		be32_to_cpu(desc.next), be32_to_cpu(desc.prev),
desc              308 fs/hfsplus/bnode.c 		desc.type, desc.height, be16_to_cpu(desc.num_recs));
desc              311 fs/hfsplus/bnode.c 	for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) {
desc              481 fs/hfsplus/bnode.c 	struct hfs_bnode_desc *desc;
desc              505 fs/hfsplus/bnode.c 	desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) +
desc              507 fs/hfsplus/bnode.c 	node->prev = be32_to_cpu(desc->prev);
desc              508 fs/hfsplus/bnode.c 	node->next = be32_to_cpu(desc->next);
desc              509 fs/hfsplus/bnode.c 	node->num_recs = be16_to_cpu(desc->num_recs);
desc              510 fs/hfsplus/bnode.c 	node->type = desc->type;
desc              511 fs/hfsplus/bnode.c 	node->height = desc->height;
desc              316 fs/hfsplus/btree.c 	struct hfs_bnode_desc desc;
desc              331 fs/hfsplus/btree.c 	desc.next = 0;
desc              332 fs/hfsplus/btree.c 	desc.prev = 0;
desc              333 fs/hfsplus/btree.c 	desc.type = HFS_NODE_MAP;
desc              334 fs/hfsplus/btree.c 	desc.height = 0;
desc              335 fs/hfsplus/btree.c 	desc.num_recs = cpu_to_be16(1);
desc              336 fs/hfsplus/btree.c 	desc.reserved = 0;
desc              337 fs/hfsplus/btree.c 	hfs_bnode_write(node, &desc, 0, sizeof(desc));
desc               57 fs/hfsplus/xattr.c 	struct hfs_bnode_desc *desc;
desc               73 fs/hfsplus/xattr.c 	desc = (struct hfs_bnode_desc *)buf;
desc               74 fs/hfsplus/xattr.c 	desc->type = HFS_NODE_HEADER;
desc               75 fs/hfsplus/xattr.c 	desc->num_recs = cpu_to_be16(HFSPLUS_BTREE_HDR_NODE_RECS_COUNT);
desc               98 fs/hfsplus/xattr.c 		desc->next = cpu_to_be32(be32_to_cpu(head->leaf_tail) + 1);
desc              243 fs/nfs/dir.c   int nfs_readdir_search_for_pos(struct nfs_cache_array *array, nfs_readdir_descriptor_t *desc)
desc              245 fs/nfs/dir.c   	loff_t diff = desc->ctx->pos - desc->current_index;
desc              257 fs/nfs/dir.c   	*desc->dir_cookie = array->array[index].cookie;
desc              258 fs/nfs/dir.c   	desc->cache_entry_index = index;
desc              261 fs/nfs/dir.c   	desc->eof = true;
desc              275 fs/nfs/dir.c   int nfs_readdir_search_for_cookie(struct nfs_cache_array *array, nfs_readdir_descriptor_t *desc)
desc              282 fs/nfs/dir.c   		if (array->array[i].cookie == *desc->dir_cookie) {
desc              283 fs/nfs/dir.c   			struct nfs_inode *nfsi = NFS_I(file_inode(desc->file));
desc              284 fs/nfs/dir.c   			struct nfs_open_dir_context *ctx = desc->file->private_data;
desc              286 fs/nfs/dir.c   			new_pos = desc->current_index + i;
desc              291 fs/nfs/dir.c   			} else if (new_pos < desc->ctx->pos) {
desc              293 fs/nfs/dir.c   				    && ctx->dup_cookie == *desc->dir_cookie) {
desc              298 fs/nfs/dir.c   								desc->file, array->array[i].string.len,
desc              299 fs/nfs/dir.c   								array->array[i].string.name, *desc->dir_cookie);
desc              304 fs/nfs/dir.c   				ctx->dup_cookie = *desc->dir_cookie;
desc              307 fs/nfs/dir.c   			desc->ctx->pos = new_pos;
desc              308 fs/nfs/dir.c   			desc->cache_entry_index = i;
desc              314 fs/nfs/dir.c   		if (*desc->dir_cookie == array->last_cookie)
desc              315 fs/nfs/dir.c   			desc->eof = true;
desc              322 fs/nfs/dir.c   int nfs_readdir_search_array(nfs_readdir_descriptor_t *desc)
desc              327 fs/nfs/dir.c   	array = kmap(desc->page);
desc              329 fs/nfs/dir.c   	if (*desc->dir_cookie == 0)
desc              330 fs/nfs/dir.c   		status = nfs_readdir_search_for_pos(array, desc);
desc              332 fs/nfs/dir.c   		status = nfs_readdir_search_for_cookie(array, desc);
desc              335 fs/nfs/dir.c   		desc->last_cookie = array->last_cookie;
desc              336 fs/nfs/dir.c   		desc->current_index += array->size;
desc              337 fs/nfs/dir.c   		desc->page_index++;
desc              339 fs/nfs/dir.c   	kunmap(desc->page);
desc              345 fs/nfs/dir.c   int nfs_readdir_xdr_filler(struct page **pages, nfs_readdir_descriptor_t *desc,
desc              357 fs/nfs/dir.c   					  NFS_SERVER(inode)->dtsize, desc->plus);
desc              360 fs/nfs/dir.c   		if (error == -ENOTSUPP && desc->plus) {
desc              363 fs/nfs/dir.c   			desc->plus = false;
desc              368 fs/nfs/dir.c   	desc->timestamp = timestamp;
desc              369 fs/nfs/dir.c   	desc->gencount = gencount;
desc              374 fs/nfs/dir.c   static int xdr_decode(nfs_readdir_descriptor_t *desc,
desc              379 fs/nfs/dir.c   	error = desc->decode(xdr, entry, desc->plus);
desc              382 fs/nfs/dir.c   	entry->fattr->time_start = desc->timestamp;
desc              383 fs/nfs/dir.c   	entry->fattr->gencount = desc->gencount;
desc              535 fs/nfs/dir.c   int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *entry,
desc              556 fs/nfs/dir.c   		status = xdr_decode(desc, entry, &stream);
desc              565 fs/nfs/dir.c   		if (desc->plus)
desc              566 fs/nfs/dir.c   			nfs_prime_dcache(file_dentry(desc->file), entry);
desc              616 fs/nfs/dir.c   int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, struct inode *inode)
desc              620 fs/nfs/dir.c   	struct file	*file = desc->file;
desc              628 fs/nfs/dir.c   	entry.cookie = desc->last_cookie;
desc              649 fs/nfs/dir.c   		status = nfs_readdir_xdr_filler(pages, desc, &entry, file, inode);
desc              654 fs/nfs/dir.c   		status = nfs_readdir_page_filler(desc, &entry, pages, page, pglen);
desc              681 fs/nfs/dir.c   	nfs_readdir_descriptor_t *desc = data;
desc              682 fs/nfs/dir.c   	struct inode	*inode = file_inode(desc->file);
desc              685 fs/nfs/dir.c   	ret = nfs_readdir_xdr_to_array(desc, page, inode);
desc              703 fs/nfs/dir.c   void cache_page_release(nfs_readdir_descriptor_t *desc)
desc              705 fs/nfs/dir.c   	put_page(desc->page);
desc              706 fs/nfs/dir.c   	desc->page = NULL;
desc              710 fs/nfs/dir.c   struct page *get_cache_page(nfs_readdir_descriptor_t *desc)
desc              712 fs/nfs/dir.c   	return read_cache_page(desc->file->f_mapping, desc->page_index,
desc              713 fs/nfs/dir.c   			nfs_readdir_filler, desc);
desc              721 fs/nfs/dir.c   int find_and_lock_cache_page(nfs_readdir_descriptor_t *desc)
desc              725 fs/nfs/dir.c   	desc->page = get_cache_page(desc);
desc              726 fs/nfs/dir.c   	if (IS_ERR(desc->page))
desc              727 fs/nfs/dir.c   		return PTR_ERR(desc->page);
desc              728 fs/nfs/dir.c   	res = lock_page_killable(desc->page);
desc              732 fs/nfs/dir.c   	if (desc->page->mapping != NULL) {
desc              733 fs/nfs/dir.c   		res = nfs_readdir_search_array(desc);
desc              737 fs/nfs/dir.c   	unlock_page(desc->page);
desc              739 fs/nfs/dir.c   	cache_page_release(desc);
desc              745 fs/nfs/dir.c   int readdir_search_pagecache(nfs_readdir_descriptor_t *desc)
desc              749 fs/nfs/dir.c   	if (desc->page_index == 0) {
desc              750 fs/nfs/dir.c   		desc->current_index = 0;
desc              751 fs/nfs/dir.c   		desc->last_cookie = 0;
desc              754 fs/nfs/dir.c   		res = find_and_lock_cache_page(desc);
desc              763 fs/nfs/dir.c   int nfs_do_filldir(nfs_readdir_descriptor_t *desc)
desc              765 fs/nfs/dir.c   	struct file	*file = desc->file;
desc              771 fs/nfs/dir.c   	array = kmap(desc->page);
desc              772 fs/nfs/dir.c   	for (i = desc->cache_entry_index; i < array->size; i++) {
desc              776 fs/nfs/dir.c   		if (!dir_emit(desc->ctx, ent->string.name, ent->string.len,
desc              778 fs/nfs/dir.c   			desc->eof = true;
desc              781 fs/nfs/dir.c   		desc->ctx->pos++;
desc              783 fs/nfs/dir.c   			*desc->dir_cookie = array->array[i+1].cookie;
desc              785 fs/nfs/dir.c   			*desc->dir_cookie = array->last_cookie;
desc              790 fs/nfs/dir.c   		desc->eof = true;
desc              792 fs/nfs/dir.c   	kunmap(desc->page);
desc              794 fs/nfs/dir.c   			(unsigned long long)*desc->dir_cookie, res);
desc              811 fs/nfs/dir.c   int uncached_readdir(nfs_readdir_descriptor_t *desc)
desc              815 fs/nfs/dir.c   	struct inode *inode = file_inode(desc->file);
desc              816 fs/nfs/dir.c   	struct nfs_open_dir_context *ctx = desc->file->private_data;
desc              819 fs/nfs/dir.c   			(unsigned long long)*desc->dir_cookie);
desc              827 fs/nfs/dir.c   	desc->page_index = 0;
desc              828 fs/nfs/dir.c   	desc->last_cookie = *desc->dir_cookie;
desc              829 fs/nfs/dir.c   	desc->page = page;
desc              832 fs/nfs/dir.c   	status = nfs_readdir_xdr_to_array(desc, page, inode);
desc              836 fs/nfs/dir.c   	status = nfs_do_filldir(desc);
desc              839 fs/nfs/dir.c   	nfs_readdir_clear_array(desc->page);
desc              840 fs/nfs/dir.c   	cache_page_release(desc);
desc              856 fs/nfs/dir.c   			*desc = &my_desc;
desc              870 fs/nfs/dir.c   	memset(desc, 0, sizeof(*desc));
desc              872 fs/nfs/dir.c   	desc->file = file;
desc              873 fs/nfs/dir.c   	desc->ctx = ctx;
desc              874 fs/nfs/dir.c   	desc->dir_cookie = &dir_ctx->dir_cookie;
desc              875 fs/nfs/dir.c   	desc->decode = NFS_PROTO(inode)->decode_dirent;
desc              876 fs/nfs/dir.c   	desc->plus = nfs_use_readdirplus(inode, ctx);
desc              884 fs/nfs/dir.c   		res = readdir_search_pagecache(desc);
desc              889 fs/nfs/dir.c   			if (*desc->dir_cookie && !desc->eof) {
desc              891 fs/nfs/dir.c   				res = uncached_readdir(desc);
desc              897 fs/nfs/dir.c   		if (res == -ETOOSMALL && desc->plus) {
desc              900 fs/nfs/dir.c   			desc->page_index = 0;
desc              901 fs/nfs/dir.c   			desc->plus = false;
desc              902 fs/nfs/dir.c   			desc->eof = false;
desc              908 fs/nfs/dir.c   		res = nfs_do_filldir(desc);
desc              909 fs/nfs/dir.c   		unlock_page(desc->page);
desc              910 fs/nfs/dir.c   		cache_page_release(desc);
desc              913 fs/nfs/dir.c   	} while (!desc->eof);
desc              451 fs/nfs/direct.c 	struct nfs_pageio_descriptor desc;
desc              457 fs/nfs/direct.c 	nfs_pageio_init_read(&desc, dreq->inode, false,
desc              460 fs/nfs/direct.c 	desc.pg_dreq = dreq;
desc              489 fs/nfs/direct.c 			if (!nfs_pageio_add_request(&desc, req)) {
desc              490 fs/nfs/direct.c 				result = desc.pg_error;
desc              506 fs/nfs/direct.c 	nfs_pageio_complete(&desc);
desc              624 fs/nfs/direct.c 	struct nfs_pageio_descriptor desc;
desc              641 fs/nfs/direct.c 	nfs_pageio_init_write(&desc, dreq->inode, FLUSH_STABLE, false,
desc              643 fs/nfs/direct.c 	desc.pg_dreq = dreq;
desc              648 fs/nfs/direct.c 		if (!nfs_pageio_add_request(&desc, req)) {
desc              652 fs/nfs/direct.c 			if (desc.pg_error < 0)
desc              653 fs/nfs/direct.c 				dreq->error = desc.pg_error;
desc              660 fs/nfs/direct.c 	nfs_pageio_complete(&desc);
desc              856 fs/nfs/direct.c 	struct nfs_pageio_descriptor desc;
desc              862 fs/nfs/direct.c 	nfs_pageio_init_write(&desc, inode, FLUSH_COND_STABLE, false,
desc              864 fs/nfs/direct.c 	desc.pg_dreq = dreq;
desc              894 fs/nfs/direct.c 			if (desc.pg_error < 0) {
desc              896 fs/nfs/direct.c 				result = desc.pg_error;
desc              903 fs/nfs/direct.c 			if (!nfs_pageio_add_request(&desc, req)) {
desc              904 fs/nfs/direct.c 				result = desc.pg_error;
desc              919 fs/nfs/direct.c 	nfs_pageio_complete(&desc);
desc              307 fs/nfs/inode.c 	struct nfs_find_desc	*desc = (struct nfs_find_desc *)opaque;
desc              308 fs/nfs/inode.c 	struct nfs_fh		*fh = desc->fh;
desc              309 fs/nfs/inode.c 	struct nfs_fattr	*fattr = desc->fattr;
desc              325 fs/nfs/inode.c 	struct nfs_find_desc	*desc = (struct nfs_find_desc *)opaque;
desc              326 fs/nfs/inode.c 	struct nfs_fattr	*fattr = desc->fattr;
desc              330 fs/nfs/inode.c 	nfs_copy_fh(NFS_FH(inode), desc->fh);
desc              400 fs/nfs/inode.c 	struct nfs_find_desc desc = {
desc              412 fs/nfs/inode.c 	inode = ilookup5(sb, hash, nfs_find_actor, &desc);
desc              425 fs/nfs/inode.c 	struct nfs_find_desc desc = {
desc              443 fs/nfs/inode.c 	inode = iget5_locked(sb, hash, nfs_find_actor, nfs_init_locked, &desc);
desc              241 fs/nfs/internal.h extern void nfs_pgheader_init(struct nfs_pageio_descriptor *desc,
desc              256 fs/nfs/internal.h nfs_pgio_current_mirror(struct nfs_pageio_descriptor *desc);
desc              258 fs/nfs/internal.h static inline bool nfs_pgio_has_mirroring(struct nfs_pageio_descriptor *desc)
desc              260 fs/nfs/internal.h 	WARN_ON_ONCE(desc->pg_mirror_count < 1);
desc              261 fs/nfs/internal.h 	return desc->pg_mirror_count > 1;
desc              258 fs/nfs/nfs4idmap.c 				const char *type, size_t typelen, char **desc)
desc              263 fs/nfs/nfs4idmap.c 	*desc = kmalloc(desclen, GFP_KERNEL);
desc              264 fs/nfs/nfs4idmap.c 	if (!*desc)
desc              267 fs/nfs/nfs4idmap.c 	cp = *desc;
desc              281 fs/nfs/nfs4idmap.c 	char *desc;
desc              285 fs/nfs/nfs4idmap.c 	ret = nfs_idmap_get_desc(name, namelen, type, strlen(type), &desc);
desc              290 fs/nfs/nfs4idmap.c 		rkey = request_key(&key_type_id_resolver, desc, "");
desc              294 fs/nfs/nfs4idmap.c 						desc, NULL, "", 0, idmap);
desc              300 fs/nfs/nfs4idmap.c 	kfree(desc);
desc              510 fs/nfs/nfs4idmap.c static int nfs_idmap_prepare_message(char *desc, struct idmap *idmap,
desc              518 fs/nfs/nfs4idmap.c 	token = match_token(desc, nfs_idmap_tokens, &substr);
desc               34 fs/nfs/pagelist.c nfs_pgio_current_mirror(struct nfs_pageio_descriptor *desc)
desc               36 fs/nfs/pagelist.c 	return nfs_pgio_has_mirroring(desc) ?
desc               37 fs/nfs/pagelist.c 		&desc->pg_mirrors[desc->pg_mirror_idx] :
desc               38 fs/nfs/pagelist.c 		&desc->pg_mirrors[0];
desc               42 fs/nfs/pagelist.c void nfs_pgheader_init(struct nfs_pageio_descriptor *desc,
desc               46 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc               50 fs/nfs/pagelist.c 	hdr->inode = desc->pg_inode;
desc               54 fs/nfs/pagelist.c 	hdr->io_completion = desc->pg_io_completion;
desc               55 fs/nfs/pagelist.c 	hdr->dreq = desc->pg_dreq;
desc               57 fs/nfs/pagelist.c 	hdr->completion_ops = desc->pg_completion_ops;
desc               61 fs/nfs/pagelist.c 	hdr->pgio_mirror_idx = desc->pg_mirror_idx;
desc              492 fs/nfs/pagelist.c size_t nfs_generic_pg_test(struct nfs_pageio_descriptor *desc,
desc              495 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc              700 fs/nfs/pagelist.c void nfs_pageio_init(struct nfs_pageio_descriptor *desc,
desc              708 fs/nfs/pagelist.c 	desc->pg_moreio = 0;
desc              709 fs/nfs/pagelist.c 	desc->pg_inode = inode;
desc              710 fs/nfs/pagelist.c 	desc->pg_ops = pg_ops;
desc              711 fs/nfs/pagelist.c 	desc->pg_completion_ops = compl_ops;
desc              712 fs/nfs/pagelist.c 	desc->pg_rw_ops = rw_ops;
desc              713 fs/nfs/pagelist.c 	desc->pg_ioflags = io_flags;
desc              714 fs/nfs/pagelist.c 	desc->pg_error = 0;
desc              715 fs/nfs/pagelist.c 	desc->pg_lseg = NULL;
desc              716 fs/nfs/pagelist.c 	desc->pg_io_completion = NULL;
desc              717 fs/nfs/pagelist.c 	desc->pg_dreq = NULL;
desc              718 fs/nfs/pagelist.c 	desc->pg_bsize = bsize;
desc              720 fs/nfs/pagelist.c 	desc->pg_mirror_count = 1;
desc              721 fs/nfs/pagelist.c 	desc->pg_mirror_idx = 0;
desc              723 fs/nfs/pagelist.c 	desc->pg_mirrors_dynamic = NULL;
desc              724 fs/nfs/pagelist.c 	desc->pg_mirrors = desc->pg_mirrors_static;
desc              725 fs/nfs/pagelist.c 	nfs_pageio_mirror_init(&desc->pg_mirrors[0], bsize);
desc              726 fs/nfs/pagelist.c 	desc->pg_maxretrans = 0;
desc              758 fs/nfs/pagelist.c int nfs_generic_pgio(struct nfs_pageio_descriptor *desc,
desc              761 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc              782 fs/nfs/pagelist.c 			desc->pg_error = -ENOMEM;
desc              783 fs/nfs/pagelist.c 			return desc->pg_error;
desc              787 fs/nfs/pagelist.c 	nfs_init_cinfo(&cinfo, desc->pg_inode, desc->pg_dreq);
desc              804 fs/nfs/pagelist.c 		desc->pg_error = -EINVAL;
desc              805 fs/nfs/pagelist.c 		return desc->pg_error;
desc              808 fs/nfs/pagelist.c 	if ((desc->pg_ioflags & FLUSH_COND_STABLE) &&
desc              809 fs/nfs/pagelist.c 	    (desc->pg_moreio || nfs_reqs_to_commit(&cinfo)))
desc              810 fs/nfs/pagelist.c 		desc->pg_ioflags &= ~FLUSH_COND_STABLE;
desc              813 fs/nfs/pagelist.c 	nfs_pgio_rpcsetup(hdr, mirror->pg_count, desc->pg_ioflags, &cinfo);
desc              814 fs/nfs/pagelist.c 	desc->pg_rpc_callops = &nfs_pgio_common_ops;
desc              819 fs/nfs/pagelist.c static int nfs_generic_pg_pgios(struct nfs_pageio_descriptor *desc)
desc              824 fs/nfs/pagelist.c 	hdr = nfs_pgio_header_alloc(desc->pg_rw_ops);
desc              826 fs/nfs/pagelist.c 		desc->pg_error = -ENOMEM;
desc              827 fs/nfs/pagelist.c 		return desc->pg_error;
desc              829 fs/nfs/pagelist.c 	nfs_pgheader_init(desc, hdr, nfs_pgio_header_free);
desc              830 fs/nfs/pagelist.c 	ret = nfs_generic_pgio(desc, hdr);
desc              836 fs/nfs/pagelist.c 					desc->pg_rpc_callops,
desc              837 fs/nfs/pagelist.c 					desc->pg_ioflags, 0);
desc              842 fs/nfs/pagelist.c nfs_pageio_alloc_mirrors(struct nfs_pageio_descriptor *desc,
desc              848 fs/nfs/pagelist.c 	kfree(desc->pg_mirrors_dynamic);
desc              849 fs/nfs/pagelist.c 	desc->pg_mirrors_dynamic = NULL;
desc              851 fs/nfs/pagelist.c 		return desc->pg_mirrors_static;
desc              855 fs/nfs/pagelist.c 			nfs_pageio_mirror_init(&ret[i], desc->pg_bsize);
desc              856 fs/nfs/pagelist.c 		desc->pg_mirrors_dynamic = ret;
desc              959 fs/nfs/pagelist.c static int nfs_pageio_do_add_request(struct nfs_pageio_descriptor *desc,
desc              962 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc              969 fs/nfs/pagelist.c 		if (desc->pg_ops->pg_init)
desc              970 fs/nfs/pagelist.c 			desc->pg_ops->pg_init(desc, req);
desc              971 fs/nfs/pagelist.c 		if (desc->pg_error < 0)
desc              976 fs/nfs/pagelist.c 	if (desc->pg_maxretrans && req->wb_nio > desc->pg_maxretrans) {
desc              977 fs/nfs/pagelist.c 		if (NFS_SERVER(desc->pg_inode)->flags & NFS_MOUNT_SOFTERR)
desc              978 fs/nfs/pagelist.c 			desc->pg_error = -ETIMEDOUT;
desc              980 fs/nfs/pagelist.c 			desc->pg_error = -EIO;
desc              984 fs/nfs/pagelist.c 	if (!nfs_can_coalesce_requests(prev, req, desc))
desc              994 fs/nfs/pagelist.c static void nfs_pageio_doio(struct nfs_pageio_descriptor *desc)
desc              996 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             1000 fs/nfs/pagelist.c 		int error = desc->pg_ops->pg_doio(desc);
desc             1002 fs/nfs/pagelist.c 			desc->pg_error = error;
desc             1013 fs/nfs/pagelist.c nfs_pageio_cleanup_request(struct nfs_pageio_descriptor *desc,
desc             1019 fs/nfs/pagelist.c 	desc->pg_completion_ops->error_cleanup(&head, desc->pg_error);
desc             1033 fs/nfs/pagelist.c static int __nfs_pageio_add_request(struct nfs_pageio_descriptor *desc,
desc             1036 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             1050 fs/nfs/pagelist.c 		if (!nfs_pageio_do_add_request(desc, subreq)) {
desc             1057 fs/nfs/pagelist.c 			desc->pg_moreio = 1;
desc             1058 fs/nfs/pagelist.c 			nfs_pageio_doio(desc);
desc             1059 fs/nfs/pagelist.c 			if (desc->pg_error < 0 || mirror->pg_recoalesce)
desc             1086 fs/nfs/pagelist.c 	desc->pg_error = PTR_ERR(subreq);
desc             1091 fs/nfs/pagelist.c 		nfs_pageio_cleanup_request(desc, subreq);
desc             1095 fs/nfs/pagelist.c static int nfs_do_recoalesce(struct nfs_pageio_descriptor *desc)
desc             1097 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             1111 fs/nfs/pagelist.c 			if (__nfs_pageio_add_request(desc, req))
desc             1113 fs/nfs/pagelist.c 			if (desc->pg_error < 0) {
desc             1124 fs/nfs/pagelist.c static int nfs_pageio_add_request_mirror(struct nfs_pageio_descriptor *desc,
desc             1130 fs/nfs/pagelist.c 		ret = __nfs_pageio_add_request(desc, req);
desc             1133 fs/nfs/pagelist.c 		if (desc->pg_error < 0)
desc             1135 fs/nfs/pagelist.c 		ret = nfs_do_recoalesce(desc);
desc             1141 fs/nfs/pagelist.c static void nfs_pageio_error_cleanup(struct nfs_pageio_descriptor *desc)
desc             1146 fs/nfs/pagelist.c 	if (!desc->pg_error)
desc             1149 fs/nfs/pagelist.c 	for (midx = 0; midx < desc->pg_mirror_count; midx++) {
desc             1150 fs/nfs/pagelist.c 		mirror = &desc->pg_mirrors[midx];
desc             1151 fs/nfs/pagelist.c 		desc->pg_completion_ops->error_cleanup(&mirror->pg_list,
desc             1152 fs/nfs/pagelist.c 				desc->pg_error);
desc             1156 fs/nfs/pagelist.c int nfs_pageio_add_request(struct nfs_pageio_descriptor *desc,
desc             1167 fs/nfs/pagelist.c 	nfs_pageio_setup_mirroring(desc, req);
desc             1168 fs/nfs/pagelist.c 	if (desc->pg_error < 0)
desc             1172 fs/nfs/pagelist.c 	for (midx = 1; midx < desc->pg_mirror_count; midx++) {
desc             1186 fs/nfs/pagelist.c 			desc->pg_error = PTR_ERR(dupreq);
desc             1190 fs/nfs/pagelist.c 		desc->pg_mirror_idx = midx;
desc             1191 fs/nfs/pagelist.c 		if (!nfs_pageio_add_request_mirror(desc, dupreq))
desc             1195 fs/nfs/pagelist.c 	desc->pg_mirror_idx = 0;
desc             1196 fs/nfs/pagelist.c 	if (!nfs_pageio_add_request_mirror(desc, req))
desc             1202 fs/nfs/pagelist.c 	nfs_pageio_cleanup_request(desc, dupreq);
desc             1204 fs/nfs/pagelist.c 	nfs_pageio_error_cleanup(desc);
desc             1214 fs/nfs/pagelist.c static void nfs_pageio_complete_mirror(struct nfs_pageio_descriptor *desc,
desc             1217 fs/nfs/pagelist.c 	struct nfs_pgio_mirror *mirror = &desc->pg_mirrors[mirror_idx];
desc             1218 fs/nfs/pagelist.c 	u32 restore_idx = desc->pg_mirror_idx;
desc             1220 fs/nfs/pagelist.c 	if (nfs_pgio_has_mirroring(desc))
desc             1221 fs/nfs/pagelist.c 		desc->pg_mirror_idx = mirror_idx;
desc             1223 fs/nfs/pagelist.c 		nfs_pageio_doio(desc);
desc             1224 fs/nfs/pagelist.c 		if (desc->pg_error < 0 || !mirror->pg_recoalesce)
desc             1226 fs/nfs/pagelist.c 		if (!nfs_do_recoalesce(desc))
desc             1229 fs/nfs/pagelist.c 	desc->pg_mirror_idx = restore_idx;
desc             1242 fs/nfs/pagelist.c int nfs_pageio_resend(struct nfs_pageio_descriptor *desc,
desc             1247 fs/nfs/pagelist.c 	desc->pg_io_completion = hdr->io_completion;
desc             1248 fs/nfs/pagelist.c 	desc->pg_dreq = hdr->dreq;
desc             1253 fs/nfs/pagelist.c 		if (!nfs_pageio_add_request(desc, req))
desc             1256 fs/nfs/pagelist.c 	nfs_pageio_complete(desc);
desc             1258 fs/nfs/pagelist.c 		int err = desc->pg_error < 0 ? desc->pg_error : -EIO;
desc             1271 fs/nfs/pagelist.c void nfs_pageio_complete(struct nfs_pageio_descriptor *desc)
desc             1275 fs/nfs/pagelist.c 	for (midx = 0; midx < desc->pg_mirror_count; midx++)
desc             1276 fs/nfs/pagelist.c 		nfs_pageio_complete_mirror(desc, midx);
desc             1278 fs/nfs/pagelist.c 	if (desc->pg_error < 0)
desc             1279 fs/nfs/pagelist.c 		nfs_pageio_error_cleanup(desc);
desc             1280 fs/nfs/pagelist.c 	if (desc->pg_ops->pg_cleanup)
desc             1281 fs/nfs/pagelist.c 		desc->pg_ops->pg_cleanup(desc);
desc             1282 fs/nfs/pagelist.c 	nfs_pageio_cleanup_mirroring(desc);
desc             1296 fs/nfs/pagelist.c void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *desc, pgoff_t index)
desc             1302 fs/nfs/pagelist.c 	for (midx = 0; midx < desc->pg_mirror_count; midx++) {
desc             1303 fs/nfs/pagelist.c 		mirror = &desc->pg_mirrors[midx];
desc             1307 fs/nfs/pagelist.c 				nfs_pageio_complete(desc);
desc             2551 fs/nfs/pnfs.c  pnfs_generic_pg_cleanup(struct nfs_pageio_descriptor *desc)
desc             2553 fs/nfs/pnfs.c  	if (desc->pg_lseg) {
desc             2554 fs/nfs/pnfs.c  		pnfs_put_lseg(desc->pg_lseg);
desc             2555 fs/nfs/pnfs.c  		desc->pg_lseg = NULL;
desc             2648 fs/nfs/pnfs.c  pnfs_write_through_mds(struct nfs_pageio_descriptor *desc,
desc             2651 fs/nfs/pnfs.c  	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             2655 fs/nfs/pnfs.c  		nfs_pageio_reset_write_mds(desc);
desc             2683 fs/nfs/pnfs.c  pnfs_do_write(struct nfs_pageio_descriptor *desc,
desc             2686 fs/nfs/pnfs.c  	const struct rpc_call_ops *call_ops = desc->pg_rpc_callops;
desc             2687 fs/nfs/pnfs.c  	struct pnfs_layout_segment *lseg = desc->pg_lseg;
desc             2693 fs/nfs/pnfs.c  		pnfs_write_through_mds(desc, hdr);
desc             2699 fs/nfs/pnfs.c  			struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             2714 fs/nfs/pnfs.c  pnfs_generic_pg_writepages(struct nfs_pageio_descriptor *desc)
desc             2719 fs/nfs/pnfs.c  	hdr = nfs_pgio_header_alloc(desc->pg_rw_ops);
desc             2721 fs/nfs/pnfs.c  		desc->pg_error = -ENOMEM;
desc             2722 fs/nfs/pnfs.c  		return desc->pg_error;
desc             2724 fs/nfs/pnfs.c  	nfs_pgheader_init(desc, hdr, pnfs_writehdr_free);
desc             2726 fs/nfs/pnfs.c  	hdr->lseg = pnfs_get_lseg(desc->pg_lseg);
desc             2727 fs/nfs/pnfs.c  	ret = nfs_generic_pgio(desc, hdr);
desc             2729 fs/nfs/pnfs.c  		pnfs_do_write(desc, hdr, desc->pg_ioflags);
desc             2771 fs/nfs/pnfs.c  pnfs_read_through_mds(struct nfs_pageio_descriptor *desc,
desc             2774 fs/nfs/pnfs.c  	struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             2778 fs/nfs/pnfs.c  		nfs_pageio_reset_read_mds(desc);
desc             2826 fs/nfs/pnfs.c  pnfs_do_read(struct nfs_pageio_descriptor *desc, struct nfs_pgio_header *hdr)
desc             2828 fs/nfs/pnfs.c  	const struct rpc_call_ops *call_ops = desc->pg_rpc_callops;
desc             2829 fs/nfs/pnfs.c  	struct pnfs_layout_segment *lseg = desc->pg_lseg;
desc             2835 fs/nfs/pnfs.c  		pnfs_read_through_mds(desc, hdr);
desc             2841 fs/nfs/pnfs.c  			struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc);
desc             2856 fs/nfs/pnfs.c  pnfs_generic_pg_readpages(struct nfs_pageio_descriptor *desc)
desc             2861 fs/nfs/pnfs.c  	hdr = nfs_pgio_header_alloc(desc->pg_rw_ops);
desc             2863 fs/nfs/pnfs.c  		desc->pg_error = -ENOMEM;
desc             2864 fs/nfs/pnfs.c  		return desc->pg_error;
desc             2866 fs/nfs/pnfs.c  	nfs_pgheader_init(desc, hdr, pnfs_readhdr_free);
desc             2867 fs/nfs/pnfs.c  	hdr->lseg = pnfs_get_lseg(desc->pg_lseg);
desc             2868 fs/nfs/pnfs.c  	ret = nfs_generic_pgio(desc, hdr);
desc             2870 fs/nfs/pnfs.c  		pnfs_do_read(desc, hdr);
desc              246 fs/nfs/pnfs.h  int pnfs_generic_pg_readpages(struct nfs_pageio_descriptor *desc);
desc              250 fs/nfs/pnfs.h  int pnfs_generic_pg_writepages(struct nfs_pageio_descriptor *desc);
desc              375 fs/nfs/read.c  	struct nfs_readdesc *desc = (struct nfs_readdesc *)data;
desc              384 fs/nfs/read.c  	new = nfs_create_request(desc->ctx, page, 0, len);
desc              390 fs/nfs/read.c  	if (!nfs_pageio_add_request(desc->pgio, new)) {
desc              392 fs/nfs/read.c  		error = desc->pgio->pg_error;
desc              409 fs/nfs/read.c  	struct nfs_readdesc desc = {
desc              426 fs/nfs/read.c  		desc.ctx = nfs_find_open_context(inode, NULL, FMODE_READ);
desc              427 fs/nfs/read.c  		if (desc.ctx == NULL)
desc              430 fs/nfs/read.c  		desc.ctx = get_nfs_open_context(nfs_file_open_context(filp));
desc              435 fs/nfs/read.c  	ret = nfs_readpages_from_fscache(desc.ctx, inode, mapping,
desc              443 fs/nfs/read.c  	ret = read_cache_pages(mapping, pages, readpage_async_filler, &desc);
desc              455 fs/nfs/read.c  	put_nfs_open_context(desc.ctx);
desc               35 fs/nfs_common/nfsacl.c 	struct xdr_array2_desc desc;
desc               49 fs/nfs_common/nfsacl.c xdr_nfsace_encode(struct xdr_array2_desc *desc, void *elem)
desc               52 fs/nfs_common/nfsacl.c 		(struct nfsacl_encode_desc *) desc;
desc               97 fs/nfs_common/nfsacl.c 		.desc = {
desc              131 fs/nfs_common/nfsacl.c 	err = xdr_encode_array2(buf, base + 4, &nfsacl_desc.desc);
desc              133 fs/nfs_common/nfsacl.c 		err = 8 + nfsacl_desc.desc.elem_size *
desc              134 fs/nfs_common/nfsacl.c 			  nfsacl_desc.desc.array_len;
desc              140 fs/nfs_common/nfsacl.c 	struct xdr_array2_desc desc;
desc              146 fs/nfs_common/nfsacl.c xdr_nfsace_decode(struct xdr_array2_desc *desc, void *elem)
desc              149 fs/nfs_common/nfsacl.c 		(struct nfsacl_decode_desc *) desc;
desc              155 fs/nfs_common/nfsacl.c 		if (desc->array_len > NFS_ACL_MAX_ENTRIES)
desc              157 fs/nfs_common/nfsacl.c 		nfsacl_desc->acl = posix_acl_alloc(desc->array_len, GFP_KERNEL);
desc              269 fs/nfs_common/nfsacl.c 		.desc = {
desc              280 fs/nfs_common/nfsacl.c 	nfsacl_desc.desc.array_maxlen = entries;
desc              281 fs/nfs_common/nfsacl.c 	err = xdr_decode_array2(buf, base + 4, &nfsacl_desc.desc);
desc              285 fs/nfs_common/nfsacl.c 		if (entries != nfsacl_desc.desc.array_len ||
desc              294 fs/nfs_common/nfsacl.c 	return 8 + nfsacl_desc.desc.elem_size *
desc              295 fs/nfs_common/nfsacl.c 		   nfsacl_desc.desc.array_len;
desc              131 fs/nfsd/nfs4recover.c 		SHASH_DESC_ON_STACK(desc, tfm);
desc              133 fs/nfsd/nfs4recover.c 		desc->tfm = tfm;
desc              135 fs/nfsd/nfs4recover.c 		status = crypto_shash_digest(desc, clname->data, clname->len,
desc              137 fs/nfsd/nfs4recover.c 		shash_desc_zero(desc);
desc             1151 fs/nfsd/nfs4recover.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc             1173 fs/nfsd/nfs4recover.c 		desc->tfm = tfm;
desc             1180 fs/nfsd/nfs4recover.c 		ret = crypto_shash_digest(desc, principal, strlen(principal),
desc             1182 fs/nfsd/nfs4recover.c 		shash_desc_zero(desc);
desc             1346 fs/nfsd/nfs4recover.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc             1384 fs/nfsd/nfs4recover.c 		desc->tfm = tfm;
desc             1389 fs/nfsd/nfs4recover.c 		status = crypto_shash_digest(desc, principal, strlen(principal),
desc             1391 fs/nfsd/nfs4recover.c 		shash_desc_zero(desc);
desc              130 fs/nilfs2/alloc.c nilfs_palloc_group_desc_nfrees(const struct nilfs_palloc_group_desc *desc,
desc              136 fs/nilfs2/alloc.c 	nfree = le32_to_cpu(desc->pg_nfrees);
desc              148 fs/nilfs2/alloc.c nilfs_palloc_group_desc_add_entries(struct nilfs_palloc_group_desc *desc,
desc              154 fs/nilfs2/alloc.c 	le32_add_cpu(&desc->pg_nfrees, n);
desc              155 fs/nilfs2/alloc.c 	nfree = le32_to_cpu(desc->pg_nfrees);
desc              185 fs/nilfs2/alloc.c 	struct nilfs_palloc_group_desc *desc = kaddr + bh_offset(bh);
desc              191 fs/nilfs2/alloc.c 		desc->pg_nfrees = nfrees;
desc              192 fs/nilfs2/alloc.c 		desc++;
desc              502 fs/nilfs2/alloc.c 	struct nilfs_palloc_group_desc *desc;
desc              528 fs/nilfs2/alloc.c 		desc = nilfs_palloc_block_get_group_desc(
desc              532 fs/nilfs2/alloc.c 		for (j = 0; j < n; j++, desc++, group++) {
desc              534 fs/nilfs2/alloc.c 			if (nilfs_palloc_group_desc_nfrees(desc, lock) > 0) {
desc              547 fs/nilfs2/alloc.c 						desc, lock, -1);
desc              601 fs/nilfs2/alloc.c 	struct nilfs_palloc_group_desc *desc;
desc              609 fs/nilfs2/alloc.c 	desc = nilfs_palloc_block_get_group_desc(inode, group,
desc              621 fs/nilfs2/alloc.c 		nilfs_palloc_group_desc_add_entries(desc, lock, 1);
desc              642 fs/nilfs2/alloc.c 	struct nilfs_palloc_group_desc *desc;
desc              650 fs/nilfs2/alloc.c 	desc = nilfs_palloc_block_get_group_desc(inode, group,
desc              662 fs/nilfs2/alloc.c 		nilfs_palloc_group_desc_add_entries(desc, lock, 1);
desc              727 fs/nilfs2/alloc.c 	struct nilfs_palloc_group_desc *desc;
desc              818 fs/nilfs2/alloc.c 		desc = nilfs_palloc_block_get_group_desc(
desc              820 fs/nilfs2/alloc.c 		nfree = nilfs_palloc_group_desc_add_entries(desc, lock, n);
desc             1240 fs/ocfs2/aops.c 	struct ocfs2_write_cluster_desc *desc;
desc             1244 fs/ocfs2/aops.c 		desc = &wc->w_desc[i];
desc             1255 fs/ocfs2/aops.c 		ret = ocfs2_write_cluster(mapping, &desc->c_phys,
desc             1256 fs/ocfs2/aops.c 					  desc->c_new,
desc             1257 fs/ocfs2/aops.c 					  desc->c_clear_unwritten,
desc             1258 fs/ocfs2/aops.c 					  desc->c_needs_zero,
desc             1260 fs/ocfs2/aops.c 					  wc, desc->c_cpos, pos, local_len);
desc             1284 fs/ocfs2/aops.c 	struct ocfs2_write_cluster_desc *desc;
desc             1308 fs/ocfs2/aops.c 		desc = &wc->w_desc[0];
desc             1309 fs/ocfs2/aops.c 		if (desc->c_needs_zero)
desc             1311 fs/ocfs2/aops.c 							desc->c_cpos,
desc             1315 fs/ocfs2/aops.c 		desc = &wc->w_desc[wc->w_clen - 1];
desc             1316 fs/ocfs2/aops.c 		if (desc->c_needs_zero)
desc             1318 fs/ocfs2/aops.c 							desc->c_cpos,
desc             1336 fs/ocfs2/aops.c 				 struct ocfs2_write_cluster_desc *desc)
desc             1342 fs/ocfs2/aops.c 	if (!desc->c_needs_zero)
desc             1351 fs/ocfs2/aops.c 		if (desc->c_cpos == ue->ue_cpos) {
desc             1352 fs/ocfs2/aops.c 			BUG_ON(desc->c_new);
desc             1353 fs/ocfs2/aops.c 			desc->c_needs_zero = 0;
desc             1354 fs/ocfs2/aops.c 			desc->c_clear_unwritten = 0;
desc             1373 fs/ocfs2/aops.c 	new->ue_cpos = desc->c_cpos;
desc             1374 fs/ocfs2/aops.c 	new->ue_phys = desc->c_phys;
desc             1375 fs/ocfs2/aops.c 	desc->c_clear_unwritten = 0;
desc             1401 fs/ocfs2/aops.c 	struct ocfs2_write_cluster_desc *desc;
desc             1411 fs/ocfs2/aops.c 		desc = &wc->w_desc[i];
desc             1412 fs/ocfs2/aops.c 		desc->c_cpos = wc->w_cpos + i;
desc             1418 fs/ocfs2/aops.c 			ret = ocfs2_get_clusters(inode, desc->c_cpos, &phys,
desc             1453 fs/ocfs2/aops.c 		if (desc->c_cpos >= wc->w_first_new_cpos) {
desc             1455 fs/ocfs2/aops.c 			desc->c_needs_zero = 1;
desc             1458 fs/ocfs2/aops.c 		desc->c_phys = phys;
desc             1460 fs/ocfs2/aops.c 			desc->c_new = 1;
desc             1461 fs/ocfs2/aops.c 			desc->c_needs_zero = 1;
desc             1462 fs/ocfs2/aops.c 			desc->c_clear_unwritten = 1;
desc             1467 fs/ocfs2/aops.c 			desc->c_clear_unwritten = 1;
desc             1468 fs/ocfs2/aops.c 			desc->c_needs_zero = 1;
desc             1471 fs/ocfs2/aops.c 		ret = ocfs2_unwritten_check(inode, wc, desc);
desc             2146 fs/ocfs2/aops.c 	struct ocfs2_write_cluster_desc *desc = NULL;
desc             2246 fs/ocfs2/aops.c 	desc = &wc->w_desc[0];
desc             2248 fs/ocfs2/aops.c 	p_blkno = ocfs2_clusters_to_blocks(inode->i_sb, desc->c_phys);
desc             2254 fs/ocfs2/aops.c 	if (desc->c_needs_zero)
desc             2270 fs/ocfs2/aops.c 		BUG_ON(ue->ue_cpos != desc->c_cpos);
desc             2272 fs/ocfs2/aops.c 		ue->ue_phys = desc->c_phys;
desc              736 fs/orangefs/devorangefs-req.c 		struct ORANGEFS_dev_map_desc desc;
desc              742 fs/orangefs/devorangefs-req.c 		desc.ptr = compat_ptr(d32.ptr);
desc              743 fs/orangefs/devorangefs-req.c 		desc.total_size = d32.total_size;
desc              744 fs/orangefs/devorangefs-req.c 		desc.size = d32.size;
desc              745 fs/orangefs/devorangefs-req.c 		desc.count = d32.count;
desc              746 fs/orangefs/devorangefs-req.c 		return orangefs_bufmap_initialize(&desc);
desc              298 fs/proc/kcore.c 			      unsigned int type, const void *desc,
desc              309 fs/proc/kcore.c 	memcpy(&notes[*i], desc, descsz);
desc             1987 fs/reiserfs/journal.c 				       struct reiserfs_journal_desc *desc,
desc             1990 fs/reiserfs/journal.c 	if (get_commit_trans_id(commit) != get_desc_trans_id(desc) ||
desc             1991 fs/reiserfs/journal.c 	    get_commit_trans_len(commit) != get_desc_trans_len(desc) ||
desc             2010 fs/reiserfs/journal.c 	struct reiserfs_journal_desc *desc;
desc             2018 fs/reiserfs/journal.c 	desc = (struct reiserfs_journal_desc *)d_bh->b_data;
desc             2019 fs/reiserfs/journal.c 	if (get_desc_trans_len(desc) > 0
desc             2022 fs/reiserfs/journal.c 		    && get_desc_trans_id(desc) > *oldest_invalid_trans_id) {
desc             2027 fs/reiserfs/journal.c 				       get_desc_trans_id(desc),
desc             2032 fs/reiserfs/journal.c 		    && *newest_mount_id > get_desc_mount_id(desc)) {
desc             2037 fs/reiserfs/journal.c 				       get_desc_mount_id(desc),
desc             2041 fs/reiserfs/journal.c 		if (get_desc_trans_len(desc) > SB_JOURNAL(sb)->j_trans_max) {
desc             2045 fs/reiserfs/journal.c 					 get_desc_trans_len(desc));
desc             2057 fs/reiserfs/journal.c 				  ((offset + get_desc_trans_len(desc) +
desc             2062 fs/reiserfs/journal.c 		if (journal_compare_desc_commit(sb, desc, commit)) {
desc             2073 fs/reiserfs/journal.c 				    get_desc_trans_id(desc);
desc             2078 fs/reiserfs/journal.c 					       get_desc_trans_id(desc));
desc             2088 fs/reiserfs/journal.c 			       get_desc_trans_len(desc),
desc             2089 fs/reiserfs/journal.c 			       get_desc_trans_id(desc));
desc             2117 fs/reiserfs/journal.c 	struct reiserfs_journal_desc *desc;
desc             2131 fs/reiserfs/journal.c 	desc = (struct reiserfs_journal_desc *)d_bh->b_data;
desc             2136 fs/reiserfs/journal.c 		       get_desc_trans_len(desc), get_desc_mount_id(desc));
desc             2137 fs/reiserfs/journal.c 	if (get_desc_trans_id(desc) < oldest_trans_id) {
desc             2145 fs/reiserfs/journal.c 	if (get_desc_mount_id(desc) != newest_mount_id) {
desc             2148 fs/reiserfs/journal.c 			       "newest_mount_id %lu", get_desc_mount_id(desc),
desc             2154 fs/reiserfs/journal.c 			     ((trans_offset + get_desc_trans_len(desc) + 1) %
desc             2161 fs/reiserfs/journal.c 	if (journal_compare_desc_commit(sb, desc, commit)) {
desc             2182 fs/reiserfs/journal.c 	trans_id = get_desc_trans_id(desc);
desc             2187 fs/reiserfs/journal.c 	log_blocks = kmalloc_array(get_desc_trans_len(desc),
desc             2190 fs/reiserfs/journal.c 	real_blocks = kmalloc_array(get_desc_trans_len(desc),
desc             2204 fs/reiserfs/journal.c 	for (i = 0; i < get_desc_trans_len(desc); i++) {
desc             2213 fs/reiserfs/journal.c 				      le32_to_cpu(desc->j_realblock[i]));
desc             2244 fs/reiserfs/journal.c 	ll_rw_block(REQ_OP_READ, 0, get_desc_trans_len(desc), log_blocks);
desc             2245 fs/reiserfs/journal.c 	for (i = 0; i < get_desc_trans_len(desc); i++) {
desc             2253 fs/reiserfs/journal.c 				     get_desc_trans_len(desc) - i);
desc             2254 fs/reiserfs/journal.c 			brelse_array(real_blocks, get_desc_trans_len(desc));
desc             2267 fs/reiserfs/journal.c 	for (i = 0; i < get_desc_trans_len(desc); i++) {
desc             2271 fs/reiserfs/journal.c 	for (i = 0; i < get_desc_trans_len(desc); i++) {
desc             2278 fs/reiserfs/journal.c 				     get_desc_trans_len(desc) - i);
desc             2289 fs/reiserfs/journal.c 	    ((trans_offset + get_desc_trans_len(desc) +
desc             2372 fs/reiserfs/journal.c 	struct reiserfs_journal_desc *desc;
desc             2458 fs/reiserfs/journal.c 			desc = (struct reiserfs_journal_desc *)d_bh->b_data;
desc             2460 fs/reiserfs/journal.c 				oldest_trans_id = get_desc_trans_id(desc);
desc             2462 fs/reiserfs/journal.c 				newest_mount_id = get_desc_mount_id(desc);
desc             2469 fs/reiserfs/journal.c 			} else if (oldest_trans_id > get_desc_trans_id(desc)) {
desc             2471 fs/reiserfs/journal.c 				oldest_trans_id = get_desc_trans_id(desc);
desc             2480 fs/reiserfs/journal.c 			if (newest_mount_id < get_desc_mount_id(desc)) {
desc             2481 fs/reiserfs/journal.c 				newest_mount_id = get_desc_mount_id(desc);
desc             2485 fs/reiserfs/journal.c 					       get_desc_mount_id(desc));
desc             2487 fs/reiserfs/journal.c 			cur_dblock += get_desc_trans_len(desc) + 2;
desc             3978 fs/reiserfs/journal.c 	struct reiserfs_journal_desc *desc;
desc             4069 fs/reiserfs/journal.c 	desc = (struct reiserfs_journal_desc *)(d_bh)->b_data;
desc             4072 fs/reiserfs/journal.c 	set_desc_trans_id(desc, journal->j_trans_id);
desc             4150 fs/reiserfs/journal.c 				desc->j_realblock[i] =
desc             4160 fs/reiserfs/journal.c 	set_desc_trans_len(desc, journal->j_len);
desc             4161 fs/reiserfs/journal.c 	set_desc_mount_id(desc, journal->j_mount_id);
desc             4162 fs/reiserfs/journal.c 	set_desc_trans_id(desc, journal->j_trans_id);
desc              598 fs/reiserfs/prints.c 	struct reiserfs_journal_desc *desc;
desc              603 fs/reiserfs/prints.c 	desc = (struct reiserfs_journal_desc *)(bh->b_data);
desc              605 fs/reiserfs/prints.c 	       (unsigned long long)bh->b_blocknr, get_desc_trans_id(desc),
desc              606 fs/reiserfs/prints.c 	       get_desc_mount_id(desc), get_desc_trans_len(desc));
desc              108 fs/ubifs/auth.c 	struct shash_desc *desc;
desc              114 fs/ubifs/auth.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL);
desc              115 fs/ubifs/auth.c 	if (!desc)
desc              118 fs/ubifs/auth.c 	desc->tfm = tfm;
desc              120 fs/ubifs/auth.c 	err = crypto_shash_init(desc);
desc              122 fs/ubifs/auth.c 		kfree(desc);
desc              126 fs/ubifs/auth.c 	return desc;
desc              609 fs/ubifs/lpt.c 	struct shash_desc *desc;
desc              623 fs/ubifs/lpt.c 	desc = ubifs_hash_get_desc(c);
desc              624 fs/ubifs/lpt.c 	if (IS_ERR(desc))
desc              625 fs/ubifs/lpt.c 		return PTR_ERR(desc);
desc              674 fs/ubifs/lpt.c 	err = ubifs_shash_update(c, desc, p, c->pnode_sz);
desc              712 fs/ubifs/lpt.c 		err = ubifs_shash_update(c, desc, p, c->pnode_sz);
desc              835 fs/ubifs/lpt.c 	err = ubifs_shash_final(c, desc, hash);
desc              862 fs/ubifs/lpt.c 	kfree(desc);
desc             1657 fs/ubifs/lpt.c 	struct shash_desc *desc;
desc             1672 fs/ubifs/lpt.c 	desc = ubifs_hash_get_desc(c);
desc             1673 fs/ubifs/lpt.c 	if (IS_ERR(desc))
desc             1674 fs/ubifs/lpt.c 		return PTR_ERR(desc);
desc             1721 fs/ubifs/lpt.c 				err = ubifs_shash_update(c, desc, buf,
desc             1732 fs/ubifs/lpt.c 	err = ubifs_shash_final(c, desc, hash);
desc             1734 fs/ubifs/lpt.c 	kfree(desc);
desc             1521 fs/ubifs/ubifs.h 				   struct shash_desc *desc)
desc             1524 fs/ubifs/ubifs.h 		return crypto_shash_init(desc);
desc             1530 fs/ubifs/ubifs.h 				      struct shash_desc *desc, const void *buf,
desc             1536 fs/ubifs/ubifs.h 		err = crypto_shash_update(desc, buf, len);
desc             1545 fs/ubifs/ubifs.h 				    struct shash_desc *desc, u8 *out)
desc             1547 fs/ubifs/ubifs.h 	return ubifs_authenticated(c) ? crypto_shash_final(desc, out) : 0;
desc             1603 fs/udf/super.c 	struct partitionDesc *desc = (struct partitionDesc *)bh->b_data;
desc             1607 fs/udf/super.c 	partnum = le16_to_cpu(desc->partitionNumber);
desc              163 fs/verity/enable.c 	struct fsverity_descriptor *desc;
desc              164 fs/verity/enable.c 	size_t desc_size = sizeof(*desc) + arg->sig_size;
desc              169 fs/verity/enable.c 	desc = kzalloc(desc_size, GFP_KERNEL);
desc              170 fs/verity/enable.c 	if (!desc)
desc              172 fs/verity/enable.c 	desc->version = 1;
desc              173 fs/verity/enable.c 	desc->hash_algorithm = arg->hash_algorithm;
desc              174 fs/verity/enable.c 	desc->log_blocksize = ilog2(arg->block_size);
desc              178 fs/verity/enable.c 	    copy_from_user(desc->salt,
desc              184 fs/verity/enable.c 	desc->salt_size = arg->salt_size;
desc              188 fs/verity/enable.c 	    copy_from_user(desc->signature,
desc              194 fs/verity/enable.c 	desc->sig_size = cpu_to_le32(arg->sig_size);
desc              196 fs/verity/enable.c 	desc->data_size = cpu_to_le64(inode->i_size);
desc              201 fs/verity/enable.c 					       desc->log_blocksize,
desc              202 fs/verity/enable.c 					       desc->salt, desc->salt_size);
desc              229 fs/verity/enable.c 	BUILD_BUG_ON(sizeof(desc->root_hash) < FS_VERITY_MAX_DIGEST_SIZE);
desc              230 fs/verity/enable.c 	err = build_merkle_tree(inode, &params, desc->root_hash);
desc              236 fs/verity/enable.c 		 params.hash_alg->name, params.digest_size, desc->root_hash);
desc              245 fs/verity/enable.c 	vi = fsverity_create_info(inode, desc, desc_size);
desc              260 fs/verity/enable.c 	err = vops->end_enable_verity(filp, desc, desc_size, params.tree_size);
desc              281 fs/verity/enable.c 	kfree(desc);
desc              148 fs/verity/fsverity_private.h 					   void *desc, size_t desc_size);
desc              161 fs/verity/fsverity_private.h 			      const struct fsverity_descriptor *desc,
desc              168 fs/verity/fsverity_private.h 			  const struct fsverity_descriptor *desc,
desc              130 fs/verity/open.c 				    struct fsverity_descriptor *desc,
desc              133 fs/verity/open.c 	__le32 sig_size = desc->sig_size;
desc              136 fs/verity/open.c 	desc->sig_size = 0;
desc              137 fs/verity/open.c 	err = fsverity_hash_buffer(hash_alg, desc, sizeof(*desc), measurement);
desc              138 fs/verity/open.c 	desc->sig_size = sig_size;
desc              150 fs/verity/open.c 	struct fsverity_descriptor *desc = _desc;
desc              154 fs/verity/open.c 	if (desc_size < sizeof(*desc)) {
desc              160 fs/verity/open.c 	if (desc->version != 1) {
desc              162 fs/verity/open.c 			     desc->version);
desc              166 fs/verity/open.c 	if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) {
desc              171 fs/verity/open.c 	if (desc->salt_size > sizeof(desc->salt)) {
desc              172 fs/verity/open.c 		fsverity_err(inode, "Invalid salt_size: %u", desc->salt_size);
desc              176 fs/verity/open.c 	if (le64_to_cpu(desc->data_size) != inode->i_size) {
desc              179 fs/verity/open.c 			     le64_to_cpu(desc->data_size), inode->i_size);
desc              189 fs/verity/open.c 					       desc->hash_algorithm,
desc              190 fs/verity/open.c 					       desc->log_blocksize,
desc              191 fs/verity/open.c 					       desc->salt, desc->salt_size);
desc              199 fs/verity/open.c 	memcpy(vi->root_hash, desc->root_hash, vi->tree_params.digest_size);
desc              201 fs/verity/open.c 	err = compute_file_measurement(vi->tree_params.hash_alg, desc,
desc              211 fs/verity/open.c 	err = fsverity_verify_signature(vi, desc, desc_size);
desc              242 fs/verity/open.c 	struct fsverity_descriptor *desc;
desc              259 fs/verity/open.c 	desc = kmalloc(res, GFP_KERNEL);
desc              260 fs/verity/open.c 	if (!desc)
desc              262 fs/verity/open.c 	res = inode->i_sb->s_vop->get_verity_descriptor(inode, desc, res);
desc              268 fs/verity/open.c 	vi = fsverity_create_info(inode, desc, res);
desc              277 fs/verity/open.c 	kfree(desc);
desc               38 fs/verity/signature.c 			      const struct fsverity_descriptor *desc,
desc               43 fs/verity/signature.c 	const u32 sig_size = le32_to_cpu(desc->sig_size);
desc               56 fs/verity/signature.c 	if (sig_size > desc_size - sizeof(*desc)) {
desc               70 fs/verity/signature.c 				     desc->signature, sig_size,
desc               28 fs/xfs/xfs_stats.c 		char	*desc;
desc               61 fs/xfs/xfs_stats.c 				xstats[i].desc);
desc               71 include/acpi/processor.h 	char desc[ACPI_CX_DESC_LEN];
desc               84 include/acpi/processor.h 	char desc[ACPI_CX_DESC_LEN];
desc               23 include/asm-generic/msi.h 	struct msi_desc			*desc;
desc              236 include/crypto/algapi.h int blkcipher_walk_done(struct blkcipher_desc *desc,
desc              238 include/crypto/algapi.h int blkcipher_walk_virt(struct blkcipher_desc *desc,
desc              240 include/crypto/algapi.h int blkcipher_walk_phys(struct blkcipher_desc *desc,
desc              242 include/crypto/algapi.h int blkcipher_walk_virt_block(struct blkcipher_desc *desc,
desc              245 include/crypto/algapi.h int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
desc              180 include/crypto/hash.h 	int (*init)(struct shash_desc *desc);
desc              181 include/crypto/hash.h 	int (*update)(struct shash_desc *desc, const u8 *data,
desc              183 include/crypto/hash.h 	int (*final)(struct shash_desc *desc, u8 *out);
desc              184 include/crypto/hash.h 	int (*finup)(struct shash_desc *desc, const u8 *data,
desc              186 include/crypto/hash.h 	int (*digest)(struct shash_desc *desc, const u8 *data,
desc              188 include/crypto/hash.h 	int (*export)(struct shash_desc *desc, void *out);
desc              189 include/crypto/hash.h 	int (*import)(struct shash_desc *desc, const void *in);
desc              806 include/crypto/hash.h static inline void *shash_desc_ctx(struct shash_desc *desc)
desc              808 include/crypto/hash.h 	return desc->__ctx;
desc              842 include/crypto/hash.h int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
desc              857 include/crypto/hash.h static inline int crypto_shash_export(struct shash_desc *desc, void *out)
desc              859 include/crypto/hash.h 	return crypto_shash_alg(desc->tfm)->export(desc, out);
desc              874 include/crypto/hash.h static inline int crypto_shash_import(struct shash_desc *desc, const void *in)
desc              876 include/crypto/hash.h 	struct crypto_shash *tfm = desc->tfm;
desc              881 include/crypto/hash.h 	return crypto_shash_alg(tfm)->import(desc, in);
desc              896 include/crypto/hash.h static inline int crypto_shash_init(struct shash_desc *desc)
desc              898 include/crypto/hash.h 	struct crypto_shash *tfm = desc->tfm;
desc              903 include/crypto/hash.h 	return crypto_shash_alg(tfm)->init(desc);
desc              918 include/crypto/hash.h int crypto_shash_update(struct shash_desc *desc, const u8 *data,
desc              935 include/crypto/hash.h int crypto_shash_final(struct shash_desc *desc, u8 *out);
desc              952 include/crypto/hash.h int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
desc              955 include/crypto/hash.h static inline void shash_desc_zero(struct shash_desc *desc)
desc              957 include/crypto/hash.h 	memzero_explicit(desc,
desc              958 include/crypto/hash.h 			 sizeof(*desc) + crypto_shash_descsize(desc->tfm));
desc              120 include/crypto/internal/hash.h int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc);
desc              121 include/crypto/internal/hash.h int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc);
desc              122 include/crypto/internal/hash.h int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc);
desc               64 include/crypto/nhpoly1305.h int crypto_nhpoly1305_init(struct shash_desc *desc);
desc               65 include/crypto/nhpoly1305.h int crypto_nhpoly1305_update(struct shash_desc *desc,
desc               67 include/crypto/nhpoly1305.h int crypto_nhpoly1305_update_helper(struct shash_desc *desc,
desc               70 include/crypto/nhpoly1305.h int crypto_nhpoly1305_final(struct shash_desc *desc, u8 *dst);
desc               71 include/crypto/nhpoly1305.h int crypto_nhpoly1305_final_helper(struct shash_desc *desc, u8 *dst,
desc               57 include/crypto/poly1305.h int crypto_poly1305_init(struct shash_desc *desc);
desc               60 include/crypto/poly1305.h int crypto_poly1305_update(struct shash_desc *desc,
desc               62 include/crypto/poly1305.h int crypto_poly1305_final(struct shash_desc *desc, u8 *dst);
desc               98 include/crypto/sha.h extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
desc              101 include/crypto/sha.h extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data,
desc              104 include/crypto/sha.h extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data,
desc              107 include/crypto/sha.h extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data,
desc              110 include/crypto/sha.h extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data,
desc              113 include/crypto/sha.h extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
desc               20 include/crypto/sha1_base.h static inline int sha1_base_init(struct shash_desc *desc)
desc               22 include/crypto/sha1_base.h 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               34 include/crypto/sha1_base.h static inline int sha1_base_do_update(struct shash_desc *desc,
desc               39 include/crypto/sha1_base.h 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               72 include/crypto/sha1_base.h static inline int sha1_base_do_finalize(struct shash_desc *desc,
desc               76 include/crypto/sha1_base.h 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               95 include/crypto/sha1_base.h static inline int sha1_base_finish(struct shash_desc *desc, u8 *out)
desc               97 include/crypto/sha1_base.h 	struct sha1_state *sctx = shash_desc_ctx(desc);
desc               21 include/crypto/sha256_base.h static inline int sha224_base_init(struct shash_desc *desc)
desc               23 include/crypto/sha256_base.h 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               28 include/crypto/sha256_base.h static inline int sha256_base_init(struct shash_desc *desc)
desc               30 include/crypto/sha256_base.h 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               35 include/crypto/sha256_base.h static inline int sha256_base_do_update(struct shash_desc *desc,
desc               40 include/crypto/sha256_base.h 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               73 include/crypto/sha256_base.h static inline int sha256_base_do_finalize(struct shash_desc *desc,
desc               77 include/crypto/sha256_base.h 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               96 include/crypto/sha256_base.h static inline int sha256_base_finish(struct shash_desc *desc, u8 *out)
desc               98 include/crypto/sha256_base.h 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc               99 include/crypto/sha256_base.h 	struct sha256_state *sctx = shash_desc_ctx(desc);
desc               29 include/crypto/sha3.h int crypto_sha3_init(struct shash_desc *desc);
desc               30 include/crypto/sha3.h int crypto_sha3_update(struct shash_desc *desc, const u8 *data,
desc               32 include/crypto/sha3.h int crypto_sha3_final(struct shash_desc *desc, u8 *out);
desc               21 include/crypto/sha512_base.h static inline int sha384_base_init(struct shash_desc *desc)
desc               23 include/crypto/sha512_base.h 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               38 include/crypto/sha512_base.h static inline int sha512_base_init(struct shash_desc *desc)
desc               40 include/crypto/sha512_base.h 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               55 include/crypto/sha512_base.h static inline int sha512_base_do_update(struct shash_desc *desc,
desc               60 include/crypto/sha512_base.h 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               95 include/crypto/sha512_base.h static inline int sha512_base_do_finalize(struct shash_desc *desc,
desc               99 include/crypto/sha512_base.h 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc              119 include/crypto/sha512_base.h static inline int sha512_base_finish(struct shash_desc *desc, u8 *out)
desc              121 include/crypto/sha512_base.h 	unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
desc              122 include/crypto/sha512_base.h 	struct sha512_state *sctx = shash_desc_ctx(desc);
desc               35 include/crypto/sm3.h extern int crypto_sm3_update(struct shash_desc *desc, const u8 *data,
desc               38 include/crypto/sm3.h extern int crypto_sm3_finup(struct shash_desc *desc, const u8 *data,
desc               20 include/crypto/sm3_base.h static inline int sm3_base_init(struct shash_desc *desc)
desc               22 include/crypto/sm3_base.h 	struct sm3_state *sctx = shash_desc_ctx(desc);
desc               37 include/crypto/sm3_base.h static inline int sm3_base_do_update(struct shash_desc *desc,
desc               42 include/crypto/sm3_base.h 	struct sm3_state *sctx = shash_desc_ctx(desc);
desc               75 include/crypto/sm3_base.h static inline int sm3_base_do_finalize(struct shash_desc *desc,
desc               79 include/crypto/sm3_base.h 	struct sm3_state *sctx = shash_desc_ctx(desc);
desc               98 include/crypto/sm3_base.h static inline int sm3_base_finish(struct shash_desc *desc, u8 *out)
desc              100 include/crypto/sm3_base.h 	struct sm3_state *sctx = shash_desc_ctx(desc);
desc              330 include/drm/bridge/mhl.h 	} __packed desc[0];
desc             1405 include/drm/drm_dp_helper.h int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc,
desc             1447 include/drm/drm_dp_helper.h drm_dp_has_quirk(const struct drm_dp_desc *desc, enum drm_dp_quirk quirk)
desc             1449 include/drm/drm_dp_helper.h 	return desc->quirks & BIT(quirk);
desc              735 include/drm/drm_drv.h 	char *desc;
desc               31 include/linux/ceph/cls_lock_client.h 		  char *tag, char *desc, u8 flags);
desc              274 include/linux/coresight.h coresight_register(struct coresight_desc *desc);
desc              290 include/linux/coresight.h coresight_register(struct coresight_desc *desc) { return NULL; }
desc               46 include/linux/cpuidle.h 	char		desc[CPUIDLE_DESC_LEN];
desc              257 include/linux/crypto.h 	int (*encrypt)(struct blkcipher_desc *desc,
desc              260 include/linux/crypto.h 	int (*decrypt)(struct blkcipher_desc *desc,
desc              734 include/linux/crypto.h 	int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
desc              736 include/linux/crypto.h 	int (*decrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
desc             1484 include/linux/crypto.h static inline int crypto_blkcipher_encrypt(struct blkcipher_desc *desc,
desc             1489 include/linux/crypto.h 	desc->info = crypto_blkcipher_crt(desc->tfm)->iv;
desc             1490 include/linux/crypto.h 	return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes);
desc             1512 include/linux/crypto.h static inline int crypto_blkcipher_encrypt_iv(struct blkcipher_desc *desc,
desc             1517 include/linux/crypto.h 	return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes);
desc             1537 include/linux/crypto.h static inline int crypto_blkcipher_decrypt(struct blkcipher_desc *desc,
desc             1542 include/linux/crypto.h 	desc->info = crypto_blkcipher_crt(desc->tfm)->iv;
desc             1543 include/linux/crypto.h 	return crypto_blkcipher_crt(desc->tfm)->decrypt(desc, dst, src, nbytes);
desc             1562 include/linux/crypto.h static inline int crypto_blkcipher_decrypt_iv(struct blkcipher_desc *desc,
desc             1567 include/linux/crypto.h 	return crypto_blkcipher_crt(desc->tfm)->decrypt(desc, dst, src, nbytes);
desc               33 include/linux/devfreq-event.h 	const struct devfreq_event_desc *desc;
desc              112 include/linux/devfreq-event.h 				struct devfreq_event_desc *desc);
desc              115 include/linux/devfreq-event.h 				struct devfreq_event_desc *desc);
desc              120 include/linux/devfreq-event.h 	return edev->desc->driver_data;
desc              166 include/linux/devfreq-event.h 					struct devfreq_event_desc *desc)
desc              178 include/linux/devfreq-event.h 					struct devfreq_event_desc *desc)
desc               32 include/linux/dma-iommu.h int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr);
desc               35 include/linux/dma-iommu.h void iommu_dma_compose_msi_msg(struct msi_desc *desc,
desc               66 include/linux/dma-iommu.h static inline int iommu_dma_prepare_msi(struct msi_desc *desc,
desc               72 include/linux/dma-iommu.h static inline void iommu_dma_compose_msi_msg(struct msi_desc *desc,
desc              159 include/linux/dma/ipu-dma.h 	struct idmac_tx_desc	*desc;		/* allocated tx-descriptors	   */
desc             1026 include/linux/dmaengine.h static inline dma_cookie_t dmaengine_submit(struct dma_async_tx_descriptor *desc)
desc             1028 include/linux/dmaengine.h 	return desc->tx_submit(desc);
desc             1393 include/linux/dmaengine.h static inline int dmaengine_desc_free(struct dma_async_tx_descriptor *desc)
desc             1396 include/linux/dmaengine.h 	if (dmaengine_desc_test_reuse(desc))
desc             1397 include/linux/dmaengine.h 		return desc->desc_free(desc);
desc               56 include/linux/elfnote.h #define ELFNOTE(name, type, desc)		\
desc               58 include/linux/elfnote.h 		desc			;	\
desc               72 include/linux/elfnote.h #define _ELFNOTE(size, name, unique, type, desc)			\
desc               77 include/linux/elfnote.h 		typeof(desc) _desc					\
desc               86 include/linux/elfnote.h 			sizeof(desc),					\
desc               90 include/linux/elfnote.h 		desc							\
desc               92 include/linux/elfnote.h #define ELFNOTE(size, name, type, desc)		\
desc               93 include/linux/elfnote.h 	_ELFNOTE(size, name, __LINE__, type, desc)
desc               95 include/linux/elfnote.h #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
desc               96 include/linux/elfnote.h #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc)
desc              382 include/linux/firewire.h int fw_core_add_descriptor(struct fw_descriptor *desc);
desc              383 include/linux/firewire.h void fw_core_remove_descriptor(struct fw_descriptor *desc);
desc               85 include/linux/fs_parser.h 		    const struct fs_parameter_description *desc,
desc              100 include/linux/fs_parser.h extern bool fs_validate_description(const struct fs_parameter_description *desc);
desc              105 include/linux/fs_parser.h static inline bool fs_validate_description(const struct fs_parameter_description *desc)
desc              138 include/linux/fsl-diu-fb.h 	__be32 desc[3];
desc              302 include/linux/fsl/bestcomm/bestcomm_priv.h bcom_drd_is_extended(u32 desc)
desc              304 include/linux/fsl/bestcomm/bestcomm_priv.h 	return (desc) & BCOM_DRD_EXTENDED;
desc              308 include/linux/fsl/bestcomm/bestcomm_priv.h bcom_desc_is_drd(u32 desc)
desc              310 include/linux/fsl/bestcomm/bestcomm_priv.h 	return !(desc & BCOM_LCD_MASK) && desc != BCOM_DESC_NOP;
desc              314 include/linux/fsl/bestcomm/bestcomm_priv.h bcom_desc_initiator(u32 desc)
desc              316 include/linux/fsl/bestcomm/bestcomm_priv.h 	return (desc >> BCOM_DRD_INITIATOR_SHIFT) & 0x1f;
desc              320 include/linux/fsl/bestcomm/bestcomm_priv.h bcom_set_desc_initiator(u32 *desc, int initiator)
desc              322 include/linux/fsl/bestcomm/bestcomm_priv.h 	*desc = (*desc & ~(0x1f << BCOM_DRD_INITIATOR_SHIFT)) |
desc               55 include/linux/fsverity.h 	int (*end_enable_verity)(struct file *filp, const void *desc,
desc                9 include/linux/gpio/aspeed.h int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
desc               11 include/linux/gpio/aspeed.h int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
desc               35 include/linux/gpio/consumer.h 	struct gpio_desc *desc[];
desc               84 include/linux/gpio/consumer.h void gpiod_put(struct gpio_desc *desc);
desc              106 include/linux/gpio/consumer.h void devm_gpiod_put(struct device *dev, struct gpio_desc *desc);
desc              107 include/linux/gpio/consumer.h void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc);
desc              110 include/linux/gpio/consumer.h int gpiod_get_direction(struct gpio_desc *desc);
desc              111 include/linux/gpio/consumer.h int gpiod_direction_input(struct gpio_desc *desc);
desc              112 include/linux/gpio/consumer.h int gpiod_direction_output(struct gpio_desc *desc, int value);
desc              113 include/linux/gpio/consumer.h int gpiod_direction_output_raw(struct gpio_desc *desc, int value);
desc              116 include/linux/gpio/consumer.h int gpiod_get_value(const struct gpio_desc *desc);
desc              121 include/linux/gpio/consumer.h void gpiod_set_value(struct gpio_desc *desc, int value);
desc              126 include/linux/gpio/consumer.h int gpiod_get_raw_value(const struct gpio_desc *desc);
desc              131 include/linux/gpio/consumer.h void gpiod_set_raw_value(struct gpio_desc *desc, int value);
desc              138 include/linux/gpio/consumer.h int gpiod_get_value_cansleep(const struct gpio_desc *desc);
desc              143 include/linux/gpio/consumer.h void gpiod_set_value_cansleep(struct gpio_desc *desc, int value);
desc              148 include/linux/gpio/consumer.h int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc);
desc              153 include/linux/gpio/consumer.h void gpiod_set_raw_value_cansleep(struct gpio_desc *desc, int value);
desc              159 include/linux/gpio/consumer.h int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce);
desc              160 include/linux/gpio/consumer.h int gpiod_set_transitory(struct gpio_desc *desc, bool transitory);
desc              161 include/linux/gpio/consumer.h void gpiod_toggle_active_low(struct gpio_desc *desc);
desc              163 include/linux/gpio/consumer.h int gpiod_is_active_low(const struct gpio_desc *desc);
desc              164 include/linux/gpio/consumer.h int gpiod_cansleep(const struct gpio_desc *desc);
desc              166 include/linux/gpio/consumer.h int gpiod_to_irq(const struct gpio_desc *desc);
desc              167 include/linux/gpio/consumer.h int gpiod_set_consumer_name(struct gpio_desc *desc, const char *name);
desc              171 include/linux/gpio/consumer.h int desc_to_gpio(const struct gpio_desc *desc);
desc              236 include/linux/gpio/consumer.h static inline void gpiod_put(struct gpio_desc *desc)
desc              241 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              245 include/linux/gpio/consumer.h 				      struct gpio_desc *desc)
desc              250 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              306 include/linux/gpio/consumer.h static inline void devm_gpiod_put(struct device *dev, struct gpio_desc *desc)
desc              311 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              324 include/linux/gpio/consumer.h static inline int gpiod_get_direction(const struct gpio_desc *desc)
desc              327 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              330 include/linux/gpio/consumer.h static inline int gpiod_direction_input(struct gpio_desc *desc)
desc              333 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              336 include/linux/gpio/consumer.h static inline int gpiod_direction_output(struct gpio_desc *desc, int value)
desc              339 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              342 include/linux/gpio/consumer.h static inline int gpiod_direction_output_raw(struct gpio_desc *desc, int value)
desc              345 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              350 include/linux/gpio/consumer.h static inline int gpiod_get_value(const struct gpio_desc *desc)
desc              353 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              365 include/linux/gpio/consumer.h static inline void gpiod_set_value(struct gpio_desc *desc, int value)
desc              368 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              379 include/linux/gpio/consumer.h static inline int gpiod_get_raw_value(const struct gpio_desc *desc)
desc              382 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              394 include/linux/gpio/consumer.h static inline void gpiod_set_raw_value(struct gpio_desc *desc, int value)
desc              397 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              409 include/linux/gpio/consumer.h static inline int gpiod_get_value_cansleep(const struct gpio_desc *desc)
desc              412 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              424 include/linux/gpio/consumer.h static inline void gpiod_set_value_cansleep(struct gpio_desc *desc, int value)
desc              427 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              438 include/linux/gpio/consumer.h static inline int gpiod_get_raw_value_cansleep(const struct gpio_desc *desc)
desc              441 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              453 include/linux/gpio/consumer.h static inline void gpiod_set_raw_value_cansleep(struct gpio_desc *desc,
desc              457 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              469 include/linux/gpio/consumer.h static inline int gpiod_set_debounce(struct gpio_desc *desc, unsigned debounce)
desc              472 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              476 include/linux/gpio/consumer.h static inline int gpiod_set_transitory(struct gpio_desc *desc, bool transitory)
desc              479 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              483 include/linux/gpio/consumer.h static inline void gpiod_toggle_active_low(struct gpio_desc *desc)
desc              486 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              489 include/linux/gpio/consumer.h static inline int gpiod_is_active_low(const struct gpio_desc *desc)
desc              492 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              495 include/linux/gpio/consumer.h static inline int gpiod_cansleep(const struct gpio_desc *desc)
desc              498 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              502 include/linux/gpio/consumer.h static inline int gpiod_to_irq(const struct gpio_desc *desc)
desc              505 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              509 include/linux/gpio/consumer.h static inline int gpiod_set_consumer_name(struct gpio_desc *desc,
desc              513 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              522 include/linux/gpio/consumer.h static inline int desc_to_gpio(const struct gpio_desc *desc)
desc              525 include/linux/gpio/consumer.h 	WARN_ON(desc);
desc              671 include/linux/gpio/consumer.h int gpiod_export(struct gpio_desc *desc, bool direction_may_change);
desc              673 include/linux/gpio/consumer.h 		      struct gpio_desc *desc);
desc              674 include/linux/gpio/consumer.h void gpiod_unexport(struct gpio_desc *desc);
desc              678 include/linux/gpio/consumer.h static inline int gpiod_export(struct gpio_desc *desc,
desc              685 include/linux/gpio/consumer.h 				    struct gpio_desc *desc)
desc              690 include/linux/gpio/consumer.h static inline void gpiod_unexport(struct gpio_desc *desc)
desc              714 include/linux/gpio/driver.h void gpiochip_free_own_desc(struct gpio_desc *desc);
desc              726 include/linux/gpio/driver.h struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc);
desc              730 include/linux/gpio/driver.h static inline struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc)
desc               29 include/linux/gpio_keys.h 	const char *desc;
desc              667 include/linux/hid.h 	struct hid_class_descriptor desc[1];
desc             1553 include/linux/hyperv.h static inline void *hv_pkt_data(const struct vmpacket_descriptor *desc)
desc             1555 include/linux/hyperv.h 	return (void *)((unsigned long)desc + (desc->offset8 << 3));
desc             1559 include/linux/hyperv.h static inline u32 hv_pkt_datalen(const struct vmpacket_descriptor *desc)
desc             1561 include/linux/hyperv.h 	return (desc->len8 << 3) - (desc->offset8 << 3);
desc              231 include/linux/i3c/master.h 	struct i3c_dev_desc *desc;
desc             1246 include/linux/ieee80211.h 	struct ieee80211_p2p_noa_desc desc[IEEE80211_P2P_NOA_DESC_MAX];
desc              400 include/linux/intel-iommu.h 	void		*desc;          /* invalidation queue */
desc              650 include/linux/intel-iommu.h extern int qi_submit_sync(struct qi_desc *desc, struct intel_iommu *iommu);
desc               25 include/linux/ioport.h 	unsigned long desc;
desc              154 include/linux/ioport.h 		.desc = IORES_DESC_NONE,				\
desc              289 include/linux/ioport.h walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end,
desc              589 include/linux/irq.h void irq_force_complete_move(struct irq_desc *desc);
desc              593 include/linux/irq.h static inline void irq_force_complete_move(struct irq_desc *desc) { }
desc              611 include/linux/irq.h extern void handle_level_irq(struct irq_desc *desc);
desc              612 include/linux/irq.h extern void handle_fasteoi_irq(struct irq_desc *desc);
desc              613 include/linux/irq.h extern void handle_edge_irq(struct irq_desc *desc);
desc              614 include/linux/irq.h extern void handle_edge_eoi_irq(struct irq_desc *desc);
desc              615 include/linux/irq.h extern void handle_simple_irq(struct irq_desc *desc);
desc              616 include/linux/irq.h extern void handle_untracked_irq(struct irq_desc *desc);
desc              617 include/linux/irq.h extern void handle_percpu_irq(struct irq_desc *desc);
desc              618 include/linux/irq.h extern void handle_percpu_devid_irq(struct irq_desc *desc);
desc              619 include/linux/irq.h extern void handle_bad_irq(struct irq_desc *desc);
desc              622 include/linux/irq.h extern void handle_fasteoi_nmi(struct irq_desc *desc);
desc              623 include/linux/irq.h extern void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc);
desc              629 include/linux/irq.h extern void handle_fasteoi_ack_irq(struct irq_desc *desc);
desc              630 include/linux/irq.h extern void handle_fasteoi_mask_irq(struct irq_desc *desc);
desc              651 include/linux/irq.h extern void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret);
desc             1204 include/linux/irq.h int __ipi_send_single(struct irq_desc *desc, unsigned int cpu);
desc             1205 include/linux/irq.h int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest);
desc               17 include/linux/irqchip/chained_irq.h 				     struct irq_desc *desc)
desc               24 include/linux/irqchip/chained_irq.h 		chip->irq_mask_ack(&desc->irq_data);
desc               26 include/linux/irqchip/chained_irq.h 		chip->irq_mask(&desc->irq_data);
desc               28 include/linux/irqchip/chained_irq.h 			chip->irq_ack(&desc->irq_data);
desc               33 include/linux/irqchip/chained_irq.h 				    struct irq_desc *desc)
desc               36 include/linux/irqchip/chained_irq.h 		chip->irq_eoi(&desc->irq_data);
desc               38 include/linux/irqchip/chained_irq.h 		chip->irq_unmask(&desc->irq_data);
desc               22 include/linux/irqchip/irq-partition-percpu.h int partition_translate_id(struct partition_desc *desc, void *partition_id);
desc               30 include/linux/irqchip/irq-partition-percpu.h static inline int partition_translate_id(struct partition_desc *desc,
desc              125 include/linux/irqdesc.h static inline unsigned int irq_desc_get_irq(struct irq_desc *desc)
desc              127 include/linux/irqdesc.h 	return desc->irq_data.irq;
desc              130 include/linux/irqdesc.h static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc)
desc              132 include/linux/irqdesc.h 	return &desc->irq_data;
desc              135 include/linux/irqdesc.h static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc)
desc              137 include/linux/irqdesc.h 	return desc->irq_data.chip;
desc              140 include/linux/irqdesc.h static inline void *irq_desc_get_chip_data(struct irq_desc *desc)
desc              142 include/linux/irqdesc.h 	return desc->irq_data.chip_data;
desc              145 include/linux/irqdesc.h static inline void *irq_desc_get_handler_data(struct irq_desc *desc)
desc              147 include/linux/irqdesc.h 	return desc->irq_common_data.handler_data;
desc              154 include/linux/irqdesc.h static inline void generic_handle_irq_desc(struct irq_desc *desc)
desc              156 include/linux/irqdesc.h 	desc->handle_irq(desc);
desc              184 include/linux/irqdesc.h static inline int irq_desc_has_action(struct irq_desc *desc)
desc              186 include/linux/irqdesc.h 	return desc->action != NULL;
desc              207 include/linux/irqdesc.h 	struct irq_desc *desc = irq_data_to_desc(data);
desc              209 include/linux/irqdesc.h 	desc->handle_irq = handler;
desc              228 include/linux/irqdesc.h 	struct irq_desc *desc = irq_data_to_desc(data);
desc              230 include/linux/irqdesc.h 	desc->handle_irq = handler;
desc              231 include/linux/irqdesc.h 	desc->name = name;
desc              237 include/linux/irqdesc.h 	struct irq_desc *desc;
desc              239 include/linux/irqdesc.h 	desc = irq_to_desc(irq);
desc              240 include/linux/irqdesc.h 	return desc->status_use_accessors & IRQ_NO_BALANCING_MASK;
desc              245 include/linux/irqdesc.h 	struct irq_desc *desc;
desc              247 include/linux/irqdesc.h 	desc = irq_to_desc(irq);
desc              248 include/linux/irqdesc.h 	return desc->status_use_accessors & IRQ_PER_CPU;
desc              253 include/linux/irqdesc.h 	struct irq_desc *desc;
desc              255 include/linux/irqdesc.h 	desc = irq_to_desc(irq);
desc              256 include/linux/irqdesc.h 	return desc->status_use_accessors & IRQ_PER_CPU_DEVID;
desc              263 include/linux/irqdesc.h 	struct irq_desc *desc = irq_to_desc(irq);
desc              265 include/linux/irqdesc.h 	if (desc) {
desc              266 include/linux/irqdesc.h 		lockdep_set_class(&desc->lock, lock_class);
desc              267 include/linux/irqdesc.h 		lockdep_set_class(&desc->request_mutex, request_class);
desc              275 include/linux/irqdesc.h 	struct irq_desc *desc;
desc              277 include/linux/irqdesc.h 	desc = irq_to_desc(irq);
desc              278 include/linux/irqdesc.h 	desc->preflow_handler = handler;
desc               12 include/linux/irqhandler.h typedef	void (*irq_flow_handler_t)(struct irq_desc *desc);
desc               12 include/linux/irqnr.h # define for_each_irq_desc(irq, desc)					\
desc               13 include/linux/irqnr.h 	for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs;		\
desc               14 include/linux/irqnr.h 	     irq++, desc = irq_to_desc(irq))				\
desc               15 include/linux/irqnr.h 		if (!desc)						\
desc               20 include/linux/irqnr.h # define for_each_irq_desc_reverse(irq, desc)				\
desc               21 include/linux/irqnr.h 	for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0;	\
desc               22 include/linux/irqnr.h 	     irq--, desc = irq_to_desc(irq))				\
desc               23 include/linux/irqnr.h 		if (!desc)						\
desc             1620 include/linux/jbd2.h 	} desc;
desc             1626 include/linux/jbd2.h 	desc.shash.tfm = journal->j_chksum_driver;
desc             1627 include/linux/jbd2.h 	*(u32 *)desc.ctx = crc;
desc             1629 include/linux/jbd2.h 	err = crypto_shash_update(&desc.shash, address, length);
desc             1632 include/linux/jbd2.h 	return *(u32 *)desc.ctx;
desc               98 include/linux/key.h 			char	desc[sizeof(long) - 2];	/* First few chars of description */
desc              100 include/linux/key.h 			char	desc[sizeof(long) - 2];	/* First few chars of description */
desc              258 include/linux/key.h 			     const char *desc,
desc              503 include/linux/leds.h typedef int (*gpio_blink_set_t)(struct gpio_desc *desc, int state,
desc              750 include/linux/libata.h 	char			desc[ATA_EH_DESC_LEN];
desc              245 include/linux/libnvdimm.h 		const struct nd_cmd_desc *desc, int idx, void *buf);
desc              247 include/linux/libnvdimm.h 		const struct nd_cmd_desc *desc, int idx, const u32 *in_field,
desc                8 include/linux/mISDNdsp.h 	char	*desc;
desc              550 include/linux/mfd/palmas.h 	struct regulator_desc desc[PALMAS_NUM_REGS];
desc              266 include/linux/mfd/tps65217.h 	struct regulator_desc desc[TPS65217_NUM_REGULATOR];
desc              269 include/linux/mfd/tps65218.h 	struct regulator_desc desc[TPS65218_NUM_REGULATOR];
desc              631 include/linux/mm.h 		      unsigned long desc);
desc               33 include/linux/moduleparam.h #define MODULE_PARM_DESC(_parm, desc) \
desc               34 include/linux/moduleparam.h 	__MODULE_INFO(parm, _parm, #_parm ":" desc)
desc               29 include/linux/msi.h typedef void (*irq_write_msi_msg_t)(struct msi_desc *desc,
desc              134 include/linux/msi.h #define msi_desc_to_dev(desc)		((desc)->dev)
desc              138 include/linux/msi.h #define for_each_msi_entry(desc, dev)	\
desc              139 include/linux/msi.h 	list_for_each_entry((desc), dev_to_msi_list((dev)), list)
desc              140 include/linux/msi.h #define for_each_msi_entry_safe(desc, tmp, dev)	\
desc              141 include/linux/msi.h 	list_for_each_entry_safe((desc), (tmp), dev_to_msi_list((dev)), list)
desc              144 include/linux/msi.h static inline const void *msi_desc_get_iommu_cookie(struct msi_desc *desc)
desc              146 include/linux/msi.h 	return desc->iommu_cookie;
desc              149 include/linux/msi.h static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc,
desc              152 include/linux/msi.h 	desc->iommu_cookie = iommu_cookie;
desc              155 include/linux/msi.h static inline const void *msi_desc_get_iommu_cookie(struct msi_desc *desc)
desc              160 include/linux/msi.h static inline void msi_desc_set_iommu_cookie(struct msi_desc *desc,
desc              168 include/linux/msi.h #define for_each_pci_msi_entry(desc, pdev)	\
desc              169 include/linux/msi.h 	for_each_msi_entry((desc), &(pdev)->dev)
desc              171 include/linux/msi.h struct pci_dev *msi_desc_to_pci_dev(struct msi_desc *desc);
desc              172 include/linux/msi.h void *msi_desc_to_pci_sysdata(struct msi_desc *desc);
desc              175 include/linux/msi.h static inline void *msi_desc_to_pci_sysdata(struct msi_desc *desc)
desc              190 include/linux/msi.h u32 __pci_msix_desc_mask_irq(struct msi_desc *desc, u32 flag);
desc              191 include/linux/msi.h u32 __pci_msi_desc_mask_irq(struct msi_desc *desc, u32 mask, u32 flag);
desc              200 include/linux/msi.h int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc);
desc              216 include/linux/msi.h 			 struct msi_desc *desc);
desc              270 include/linux/msi.h 				    struct msi_desc *desc);
desc              272 include/linux/msi.h 					struct msi_desc *desc, int error);
desc              373 include/linux/msi.h 					  struct msi_desc *desc);
desc               41 include/linux/mtd/qinfo.h 	char *desc;
desc             1136 include/linux/mtd/rawnand.h 		const struct nand_manufacturer *desc;
desc              225 include/linux/mtd/ubi.h void ubi_get_volume_info(struct ubi_volume_desc *desc,
desc              236 include/linux/mtd/ubi.h void ubi_close_volume(struct ubi_volume_desc *desc);
desc              237 include/linux/mtd/ubi.h int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset,
desc              239 include/linux/mtd/ubi.h int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl,
desc              241 include/linux/mtd/ubi.h int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf,
desc              243 include/linux/mtd/ubi.h int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf,
desc              245 include/linux/mtd/ubi.h int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum);
desc              246 include/linux/mtd/ubi.h int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum);
desc              247 include/linux/mtd/ubi.h int ubi_leb_map(struct ubi_volume_desc *desc, int lnum);
desc              248 include/linux/mtd/ubi.h int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum);
desc              256 include/linux/mtd/ubi.h static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf,
desc              259 include/linux/mtd/ubi.h 	return ubi_leb_read(desc, lnum, buf, offset, len, 0);
desc              266 include/linux/mtd/ubi.h static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum,
desc              269 include/linux/mtd/ubi.h 	return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0);
desc              198 include/linux/net.h 	int		(*read_sock)(struct sock *sk, read_descriptor_t *desc,
desc              123 include/linux/nfs_page.h extern	void nfs_pageio_init(struct nfs_pageio_descriptor *desc,
desc              134 include/linux/nfs_page.h extern	void nfs_pageio_complete(struct nfs_pageio_descriptor *desc);
desc              136 include/linux/nfs_page.h extern size_t nfs_generic_pg_test(struct nfs_pageio_descriptor *desc,
desc             1652 include/linux/ntb.h 			 struct ntb_msi_desc *desc);
desc             1654 include/linux/ntb.h 		      struct ntb_msi_desc *desc,
desc             1680 include/linux/ntb.h 				       struct ntb_msi_desc *desc)
desc             1685 include/linux/ntb.h 				    struct ntb_msi_desc *desc,
desc              231 include/linux/power/charger-manager.h 	struct charger_desc *desc;
desc              264 include/linux/power_supply.h 	const struct power_supply_desc *desc;
desc              408 include/linux/power_supply.h 				 const struct power_supply_desc *desc,
desc              412 include/linux/power_supply.h 				 const struct power_supply_desc *desc,
desc              416 include/linux/power_supply.h 				 const struct power_supply_desc *desc,
desc              420 include/linux/power_supply.h 				 const struct power_supply_desc *desc,
desc               66 include/linux/raid/pq.h #define MODULE_DESCRIPTION(desc)
desc              447 include/linux/regulator/driver.h 	const struct regulator_desc *desc;
desc              555 include/linux/regulator/driver.h int regulator_desc_list_voltage_linear_range(const struct regulator_desc *desc,
desc               17 include/linux/regulator/of_regulator.h 	const struct regulator_desc *desc;
desc               24 include/linux/regulator/of_regulator.h 				    const struct regulator_desc *desc);
desc               32 include/linux/regulator/of_regulator.h 				    const struct regulator_desc *desc)
desc              136 include/linux/sh_intc.h int register_intc_controller(struct intc_desc *desc);
desc               63 include/linux/shdma-base.h 	void *desc;			/* buffer for descriptor array */
desc              465 include/linux/skbuff.h 			unsigned long desc;
desc              131 include/linux/soc/qcom/llcc-qcom.h void llcc_slice_putd(struct llcc_slice_desc *desc);
desc              137 include/linux/soc/qcom/llcc-qcom.h int llcc_get_slice_id(struct llcc_slice_desc *desc);
desc              143 include/linux/soc/qcom/llcc-qcom.h size_t llcc_get_slice_size(struct llcc_slice_desc *desc);
desc              149 include/linux/soc/qcom/llcc-qcom.h int llcc_slice_activate(struct llcc_slice_desc *desc);
desc              155 include/linux/soc/qcom/llcc-qcom.h int llcc_slice_deactivate(struct llcc_slice_desc *desc);
desc              177 include/linux/soc/qcom/llcc-qcom.h static inline void llcc_slice_putd(struct llcc_slice_desc *desc)
desc              182 include/linux/soc/qcom/llcc-qcom.h static inline int llcc_get_slice_id(struct llcc_slice_desc *desc)
desc              187 include/linux/soc/qcom/llcc-qcom.h static inline size_t llcc_get_slice_size(struct llcc_slice_desc *desc)
desc              191 include/linux/soc/qcom/llcc-qcom.h static inline int llcc_slice_activate(struct llcc_slice_desc *desc)
desc              196 include/linux/soc/qcom/llcc-qcom.h static inline int llcc_slice_deactivate(struct llcc_slice_desc *desc)
desc               83 include/linux/soc/ti/knav_qmss.h void knav_pool_desc_put(void *ph, void *desc);
desc               84 include/linux/soc/ti/knav_qmss.h int knav_pool_desc_map(void *ph, void *desc, unsigned size,
desc              542 include/linux/soc/ti/ti_sci_protocol.h 	struct ti_sci_resource_desc *desc;
desc              259 include/linux/spi/spi-mem.h 	int (*dirmap_create)(struct spi_mem_dirmap_desc *desc);
desc              260 include/linux/spi/spi-mem.h 	void (*dirmap_destroy)(struct spi_mem_dirmap_desc *desc);
desc              261 include/linux/spi/spi-mem.h 	ssize_t (*dirmap_read)(struct spi_mem_dirmap_desc *desc,
desc              263 include/linux/spi/spi-mem.h 	ssize_t (*dirmap_write)(struct spi_mem_dirmap_desc *desc,
desc              340 include/linux/spi/spi-mem.h void spi_mem_dirmap_destroy(struct spi_mem_dirmap_desc *desc);
desc              341 include/linux/spi/spi-mem.h ssize_t spi_mem_dirmap_read(struct spi_mem_dirmap_desc *desc,
desc              343 include/linux/spi/spi-mem.h ssize_t spi_mem_dirmap_write(struct spi_mem_dirmap_desc *desc,
desc              349 include/linux/spi/spi-mem.h 				 struct spi_mem_dirmap_desc *desc);
desc              204 include/linux/sunrpc/xdr.h typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *desc, void *to, size_t len);
desc              212 include/linux/sunrpc/xdr.h typedef int (*xdr_xcode_elem_t)(struct xdr_array2_desc *desc, void *elem);
desc              221 include/linux/sunrpc/xdr.h 			     struct xdr_array2_desc *desc);
desc              223 include/linux/sunrpc/xdr.h 			     struct xdr_array2_desc *desc);
desc               68 include/linux/usb.h 	struct usb_endpoint_descriptor		desc;
desc               83 include/linux/usb.h 	struct usb_interface_descriptor	desc;
desc              375 include/linux/usb.h 	struct usb_config_descriptor	desc;
desc              397 include/linux/usb.h 	struct usb_bos_descriptor	*desc;
desc             1976 include/linux/usb.h 	return usb_endpoint_maxp(&ep->desc);
desc               42 include/linux/usb/audio.h 	struct usb_descriptor_header *desc;
desc               89 include/linux/usb/cdc_ncm.h #define cdc_ncm_comm_intf_is_mbim(x)  ((x)->desc.bInterfaceSubClass == USB_CDC_SUBCLASS_MBIM && \
desc               90 include/linux/usb/cdc_ncm.h 				       (x)->desc.bInterfaceProtocol == USB_CDC_PROTO_NONE)
desc               91 include/linux/usb/cdc_ncm.h #define cdc_ncm_data_intf_is_mbim(x)  ((x)->desc.bInterfaceProtocol == USB_CDC_MBIM_PROTO_NTB)
desc              491 include/linux/usb/composite.h 	struct usb_device_descriptor	desc;
desc              134 include/linux/usb/gadget.h 		const struct usb_endpoint_descriptor *desc);
desc              237 include/linux/usb/gadget.h 	const struct usb_endpoint_descriptor	*desc;
desc              455 include/linux/usb/gadget.h 	int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc) & 0x7ff;
desc              786 include/linux/usb/gadget.h 	void *buf, unsigned buflen, const struct usb_descriptor_header **desc);
desc              871 include/linux/usb/gadget.h 		struct usb_ep *ep, struct usb_endpoint_descriptor *desc,
desc               84 include/linux/usb/role.h 			 const struct usb_role_switch_desc *desc)
desc              112 include/linux/usb/typec.h 				const struct typec_altmode_desc *desc);
desc              115 include/linux/usb/typec.h 			     const struct typec_altmode_desc *desc);
desc              118 include/linux/usb/typec.h 			     const struct typec_altmode_desc *desc);
desc              223 include/linux/usb/typec.h 					     struct typec_partner_desc *desc);
desc              227 include/linux/usb/typec.h 					 struct typec_cable_desc *desc);
desc              231 include/linux/usb/typec.h 				       struct typec_plug_desc *desc);
desc               31 include/linux/usb/typec_altmode.h 	char				*desc;
desc               26 include/linux/usb/typec_mux.h 		      const struct typec_switch_desc *desc);
desc               41 include/linux/usb/typec_mux.h typec_mux_get(struct device *dev, const struct typec_altmode_desc *desc);
desc               44 include/linux/usb/typec_mux.h typec_mux_register(struct device *parent, const struct typec_mux_desc *desc);
desc               82 include/linux/virtio_config.h 			struct irq_affinity *desc);
desc              195 include/linux/virtio_config.h 			struct irq_affinity *desc)
desc              197 include/linux/virtio_config.h 	return vdev->config->find_vqs(vdev, nvqs, vqs, callbacks, names, NULL, desc);
desc              204 include/linux/virtio_config.h 			struct irq_affinity *desc)
desc              207 include/linux/virtio_config.h 				      desc);
desc              101 include/linux/vringh.h 		     struct vring_desc __user *desc,
desc              163 include/linux/vringh.h 		     struct vring_desc *desc,
desc               87 include/net/bond_options.h 	const char *desc;
desc             6161 include/net/mac80211.h 	} desc[IEEE80211_P2P_NOA_DESC_MAX];
desc              189 include/net/netfilter/nf_tables.h 		  struct nft_data_desc *desc, const struct nlattr *nla);
desc              362 include/net/netfilter/nf_tables.h 						    const struct nft_set_desc *desc);
desc              363 include/net/netfilter/nf_tables.h 	bool				(*estimate)(const struct nft_set_desc *desc,
desc              367 include/net/netfilter/nf_tables.h 						const struct nft_set_desc *desc,
desc                6 include/net/psnap.h register_snap_client(const unsigned char *desc,
desc              650 include/net/tcp.h int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
desc              120 include/net/xdp_sock.h bool xsk_umem_consume_tx(struct xdp_umem *umem, struct xdp_desc *desc);
desc              260 include/net/xdp_sock.h 				       struct xdp_desc *desc)
desc             1391 include/net/xfrm.h 	struct sadb_alg desc;
desc              511 include/pcmcia/cistpl.h     char	desc[30];
desc              283 include/rdma/ib_pack.h void ib_pack(const struct ib_field        *desc,
desc              288 include/rdma/ib_pack.h void ib_unpack(const struct ib_field        *desc,
desc              773 include/scsi/iscsi_if.h 	char desc[ISCSI_STATS_CUSTOM_DESC_MAX];
desc              848 include/scsi/iscsi_if.h 	char desc[ISCSI_HOST_STATS_CUSTOM_DESC_MAX];
desc               65 include/scsi/scsi_common.h extern void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq);
desc               60 include/soc/fsl/dpaa2-io.h struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc,
desc               58 include/soc/fsl/qe/qe_ic.h 		void (*low_handler)(struct irq_desc *desc),
desc               59 include/soc/fsl/qe/qe_ic.h 		void (*high_handler)(struct irq_desc *desc));
desc               64 include/soc/fsl/qe/qe_ic.h 		void (*low_handler)(struct irq_desc *desc),
desc               65 include/soc/fsl/qe/qe_ic.h 		void (*high_handler)(struct irq_desc *desc))
desc               77 include/soc/fsl/qe/qe_ic.h static inline void qe_ic_cascade_low_ipic(struct irq_desc *desc)
desc               79 include/soc/fsl/qe/qe_ic.h 	struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
desc               86 include/soc/fsl/qe/qe_ic.h static inline void qe_ic_cascade_high_ipic(struct irq_desc *desc)
desc               88 include/soc/fsl/qe/qe_ic.h 	struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
desc               95 include/soc/fsl/qe/qe_ic.h static inline void qe_ic_cascade_low_mpic(struct irq_desc *desc)
desc               97 include/soc/fsl/qe/qe_ic.h 	struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
desc               99 include/soc/fsl/qe/qe_ic.h 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              104 include/soc/fsl/qe/qe_ic.h 	chip->irq_eoi(&desc->irq_data);
desc              107 include/soc/fsl/qe/qe_ic.h static inline void qe_ic_cascade_high_mpic(struct irq_desc *desc)
desc              109 include/soc/fsl/qe/qe_ic.h 	struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
desc              111 include/soc/fsl/qe/qe_ic.h 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              116 include/soc/fsl/qe/qe_ic.h 	chip->irq_eoi(&desc->irq_data);
desc              119 include/soc/fsl/qe/qe_ic.h static inline void qe_ic_cascade_muxed_mpic(struct irq_desc *desc)
desc              121 include/soc/fsl/qe/qe_ic.h 	struct qe_ic *qe_ic = irq_desc_get_handler_data(desc);
desc              123 include/soc/fsl/qe/qe_ic.h 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              132 include/soc/fsl/qe/qe_ic.h 	chip->irq_eoi(&desc->irq_data);
desc               83 include/sound/intel-nhlt.h 	struct nhlt_endpoint desc[0];
desc              689 include/sound/soc.h 	struct gpio_desc *desc;
desc               41 include/sound/sof.h 	const struct sof_dev_desc *desc;
desc               98 include/sound/sof.h 		      const struct sof_dev_desc *desc,
desc              403 include/trace/events/xen.h 	    TP_PROTO(struct desc_struct *dt, int entrynum, u64 desc),
desc              404 include/trace/events/xen.h 	    TP_ARGS(dt, entrynum, desc),
desc              408 include/trace/events/xen.h 		    __field(u64, desc)
desc              412 include/trace/events/xen.h 			   __entry->desc = desc;
desc              416 include/trace/events/xen.h 		      (unsigned long long)__entry->desc)
desc              434 include/trace/events/xen.h 	    TP_PROTO(const struct desc_ptr *desc),
desc              435 include/trace/events/xen.h 	    TP_ARGS(desc),
desc              439 include/trace/events/xen.h 	    TP_fast_assign(__entry->addr = desc->address),
desc              444 include/trace/events/xen.h 	    TP_PROTO(struct desc_struct *dt, int entrynum, const void *desc, int type),
desc              445 include/trace/events/xen.h 	    TP_ARGS(dt, entrynum, desc, type),
desc              447 include/trace/events/xen.h 		    __field(u64, desc)
desc              454 include/trace/events/xen.h 			   __entry->desc = *(u64 *)desc;
desc              459 include/trace/events/xen.h 		      (unsigned long long)__entry->desc)
desc              149 include/uapi/drm/drm.h 	char __user *desc;	  /**< User-space buffer to hold desc */
desc              310 include/uapi/linux/android/binder.h 	__u32 desc;
desc               46 include/uapi/linux/if_xdp.h 	__u64 desc;
desc              105 include/uapi/linux/mic_common.h 	struct mic_device_desc desc[0];
desc              177 include/uapi/linux/mic_common.h static inline unsigned mic_desc_size(const struct mic_device_desc *desc)
desc              179 include/uapi/linux/mic_common.h 	return sizeof(*desc) + desc->num_vq * sizeof(struct mic_vqconfig)
desc              180 include/uapi/linux/mic_common.h 		+ desc->feature_len * 2 + desc->config_len;
desc              184 include/uapi/linux/mic_common.h mic_vq_config(const struct mic_device_desc *desc)
desc              186 include/uapi/linux/mic_common.h 	return (struct mic_vqconfig *)(desc + 1);
desc              189 include/uapi/linux/mic_common.h static inline __u8 *mic_vq_features(const struct mic_device_desc *desc)
desc              191 include/uapi/linux/mic_common.h 	return (__u8 *)(mic_vq_config(desc) + desc->num_vq);
desc              194 include/uapi/linux/mic_common.h static inline __u8 *mic_vq_configspace(const struct mic_device_desc *desc)
desc              196 include/uapi/linux/mic_common.h 	return mic_vq_features(desc) + desc->feature_len * 2;
desc              198 include/uapi/linux/mic_common.h static inline unsigned mic_total_desc_size(struct mic_device_desc *desc)
desc              200 include/uapi/linux/mic_common.h 	return mic_aligned_desc_size(desc) + sizeof(struct mic_device_ctrl);
desc              267 include/uapi/linux/usb/audio.h static inline __u8 uac_mixer_unit_bNrChannels(struct uac_mixer_unit_descriptor *desc)
desc              269 include/uapi/linux/usb/audio.h 	return desc->baSourceID[desc->bNrInPins];
desc              272 include/uapi/linux/usb/audio.h static inline __u32 uac_mixer_unit_wChannelConfig(struct uac_mixer_unit_descriptor *desc,
desc              276 include/uapi/linux/usb/audio.h 		return (desc->baSourceID[desc->bNrInPins + 2] << 8) |
desc              277 include/uapi/linux/usb/audio.h 			desc->baSourceID[desc->bNrInPins + 1];
desc              279 include/uapi/linux/usb/audio.h 		return  (desc->baSourceID[desc->bNrInPins + 4] << 24) |
desc              280 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 3] << 16) |
desc              281 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 2] << 8)  |
desc              282 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 1]);
desc              285 include/uapi/linux/usb/audio.h static inline __u8 uac_mixer_unit_iChannelNames(struct uac_mixer_unit_descriptor *desc,
desc              289 include/uapi/linux/usb/audio.h 		desc->baSourceID[desc->bNrInPins + 3] :
desc              290 include/uapi/linux/usb/audio.h 		desc->baSourceID[desc->bNrInPins + 5];
desc              293 include/uapi/linux/usb/audio.h static inline __u8 *uac_mixer_unit_bmControls(struct uac_mixer_unit_descriptor *desc,
desc              298 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 4];
desc              300 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 6];
desc              302 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 2];
desc              308 include/uapi/linux/usb/audio.h static inline __u16 uac3_mixer_unit_wClusterDescrID(struct uac_mixer_unit_descriptor *desc)
desc              310 include/uapi/linux/usb/audio.h 	return (desc->baSourceID[desc->bNrInPins + 1] << 8) |
desc              311 include/uapi/linux/usb/audio.h 		desc->baSourceID[desc->bNrInPins];
desc              314 include/uapi/linux/usb/audio.h static inline __u8 uac_mixer_unit_iMixer(struct uac_mixer_unit_descriptor *desc)
desc              316 include/uapi/linux/usb/audio.h 	__u8 *raw = (__u8 *) desc;
desc              317 include/uapi/linux/usb/audio.h 	return raw[desc->bLength - 1];
desc              330 include/uapi/linux/usb/audio.h static inline __u8 uac_selector_unit_iSelector(struct uac_selector_unit_descriptor *desc)
desc              332 include/uapi/linux/usb/audio.h 	__u8 *raw = (__u8 *) desc;
desc              333 include/uapi/linux/usb/audio.h 	return raw[desc->bLength - 1];
desc              347 include/uapi/linux/usb/audio.h static inline __u8 uac_feature_unit_iFeature(struct uac_feature_unit_descriptor *desc)
desc              349 include/uapi/linux/usb/audio.h 	__u8 *raw = (__u8 *) desc;
desc              350 include/uapi/linux/usb/audio.h 	return raw[desc->bLength - 1];
desc              364 include/uapi/linux/usb/audio.h static inline __u8 uac_processing_unit_bNrChannels(struct uac_processing_unit_descriptor *desc)
desc              366 include/uapi/linux/usb/audio.h 	return desc->baSourceID[desc->bNrInPins];
desc              369 include/uapi/linux/usb/audio.h static inline __u32 uac_processing_unit_wChannelConfig(struct uac_processing_unit_descriptor *desc,
desc              373 include/uapi/linux/usb/audio.h 		return (desc->baSourceID[desc->bNrInPins + 2] << 8) |
desc              374 include/uapi/linux/usb/audio.h 			desc->baSourceID[desc->bNrInPins + 1];
desc              376 include/uapi/linux/usb/audio.h 		return  (desc->baSourceID[desc->bNrInPins + 4] << 24) |
desc              377 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 3] << 16) |
desc              378 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 2] << 8)  |
desc              379 include/uapi/linux/usb/audio.h 			(desc->baSourceID[desc->bNrInPins + 1]);
desc              382 include/uapi/linux/usb/audio.h static inline __u8 uac_processing_unit_iChannelNames(struct uac_processing_unit_descriptor *desc,
desc              386 include/uapi/linux/usb/audio.h 		desc->baSourceID[desc->bNrInPins + 3] :
desc              387 include/uapi/linux/usb/audio.h 		desc->baSourceID[desc->bNrInPins + 5];
desc              390 include/uapi/linux/usb/audio.h static inline __u8 uac_processing_unit_bControlSize(struct uac_processing_unit_descriptor *desc,
desc              395 include/uapi/linux/usb/audio.h 		return desc->baSourceID[desc->bNrInPins + 4];
desc              405 include/uapi/linux/usb/audio.h static inline __u8 *uac_processing_unit_bmControls(struct uac_processing_unit_descriptor *desc,
desc              410 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 5];
desc              412 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 6];
desc              414 include/uapi/linux/usb/audio.h 		return &desc->baSourceID[desc->bNrInPins + 2];
desc              420 include/uapi/linux/usb/audio.h static inline __u8 uac_processing_unit_iProcessing(struct uac_processing_unit_descriptor *desc,
desc              423 include/uapi/linux/usb/audio.h 	__u8 control_size = uac_processing_unit_bControlSize(desc, protocol);
desc              429 include/uapi/linux/usb/audio.h 		return *(uac_processing_unit_bmControls(desc, protocol)
desc              436 include/uapi/linux/usb/audio.h static inline __u8 *uac_processing_unit_specific(struct uac_processing_unit_descriptor *desc,
desc              439 include/uapi/linux/usb/audio.h 	__u8 control_size = uac_processing_unit_bControlSize(desc, protocol);
desc              445 include/uapi/linux/usb/audio.h 		return uac_processing_unit_bmControls(desc, protocol)
desc              448 include/uapi/linux/usb/audio.h 		return uac_processing_unit_bmControls(desc, protocol)
desc              459 include/uapi/linux/usb/audio.h static inline __u8 uac_extension_unit_bControlSize(struct uac_processing_unit_descriptor *desc,
desc              464 include/uapi/linux/usb/audio.h 		return desc->baSourceID[desc->bNrInPins + 4];
desc              474 include/uapi/linux/usb/audio.h static inline __u8 uac_extension_unit_iExtension(struct uac_processing_unit_descriptor *desc,
desc              477 include/uapi/linux/usb/audio.h 	__u8 control_size = uac_extension_unit_bControlSize(desc, protocol);
desc              483 include/uapi/linux/usb/audio.h 		return *(uac_processing_unit_bmControls(desc, protocol)
desc              124 include/uapi/linux/virtio_ring.h 	struct vring_desc *desc;
desc              171 include/uapi/linux/virtio_ring.h 	vr->desc = p;
desc               63 include/xen/events.h int xen_set_affinity_evtchn(struct irq_desc *desc, unsigned int tcpu);
desc              247 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
desc              249 kernel/bpf/cgroup.c 		if (percpu_ref_is_zero(&desc->bpf.refcnt))
desc              252 kernel/bpf/cgroup.c 		err = compute_effective_progs(desc, type, &desc->bpf.inactive);
desc              259 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
desc              261 kernel/bpf/cgroup.c 		if (percpu_ref_is_zero(&desc->bpf.refcnt)) {
desc              262 kernel/bpf/cgroup.c 			if (unlikely(desc->bpf.inactive)) {
desc              263 kernel/bpf/cgroup.c 				bpf_prog_array_free(desc->bpf.inactive);
desc              264 kernel/bpf/cgroup.c 				desc->bpf.inactive = NULL;
desc              269 kernel/bpf/cgroup.c 		activate_effective_progs(desc, type, desc->bpf.inactive);
desc              270 kernel/bpf/cgroup.c 		desc->bpf.inactive = NULL;
desc              280 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
desc              282 kernel/bpf/cgroup.c 		bpf_prog_array_free(desc->bpf.inactive);
desc              283 kernel/bpf/cgroup.c 		desc->bpf.inactive = NULL;
desc               16 kernel/cgroup/freezer.c 	int desc = 1;
desc               26 kernel/cgroup/freezer.c 			cgrp->freezer.nr_frozen_descendants += desc;
desc               34 kernel/cgroup/freezer.c 				desc++;
desc               37 kernel/cgroup/freezer.c 			cgrp->freezer.nr_frozen_descendants -= desc;
desc               42 kernel/cgroup/freezer.c 				desc++;
desc               32 kernel/irq/autoprobe.c 	struct irq_desc *desc;
desc               45 kernel/irq/autoprobe.c 	for_each_irq_desc_reverse(i, desc) {
desc               46 kernel/irq/autoprobe.c 		raw_spin_lock_irq(&desc->lock);
desc               47 kernel/irq/autoprobe.c 		if (!desc->action && irq_settings_can_probe(desc)) {
desc               52 kernel/irq/autoprobe.c 			if (desc->irq_data.chip->irq_set_type)
desc               53 kernel/irq/autoprobe.c 				desc->irq_data.chip->irq_set_type(&desc->irq_data,
desc               55 kernel/irq/autoprobe.c 			irq_activate_and_startup(desc, IRQ_NORESEND);
desc               57 kernel/irq/autoprobe.c 		raw_spin_unlock_irq(&desc->lock);
desc               68 kernel/irq/autoprobe.c 	for_each_irq_desc_reverse(i, desc) {
desc               69 kernel/irq/autoprobe.c 		raw_spin_lock_irq(&desc->lock);
desc               70 kernel/irq/autoprobe.c 		if (!desc->action && irq_settings_can_probe(desc)) {
desc               71 kernel/irq/autoprobe.c 			desc->istate |= IRQS_AUTODETECT | IRQS_WAITING;
desc               72 kernel/irq/autoprobe.c 			if (irq_activate_and_startup(desc, IRQ_NORESEND))
desc               73 kernel/irq/autoprobe.c 				desc->istate |= IRQS_PENDING;
desc               75 kernel/irq/autoprobe.c 		raw_spin_unlock_irq(&desc->lock);
desc               86 kernel/irq/autoprobe.c 	for_each_irq_desc(i, desc) {
desc               87 kernel/irq/autoprobe.c 		raw_spin_lock_irq(&desc->lock);
desc               89 kernel/irq/autoprobe.c 		if (desc->istate & IRQS_AUTODETECT) {
desc               91 kernel/irq/autoprobe.c 			if (!(desc->istate & IRQS_WAITING)) {
desc               92 kernel/irq/autoprobe.c 				desc->istate &= ~IRQS_AUTODETECT;
desc               93 kernel/irq/autoprobe.c 				irq_shutdown_and_deactivate(desc);
desc               98 kernel/irq/autoprobe.c 		raw_spin_unlock_irq(&desc->lock);
desc              120 kernel/irq/autoprobe.c 	struct irq_desc *desc;
desc              123 kernel/irq/autoprobe.c 	for_each_irq_desc(i, desc) {
desc              124 kernel/irq/autoprobe.c 		raw_spin_lock_irq(&desc->lock);
desc              125 kernel/irq/autoprobe.c 		if (desc->istate & IRQS_AUTODETECT) {
desc              126 kernel/irq/autoprobe.c 			if (i < 16 && !(desc->istate & IRQS_WAITING))
desc              129 kernel/irq/autoprobe.c 			desc->istate &= ~IRQS_AUTODETECT;
desc              130 kernel/irq/autoprobe.c 			irq_shutdown_and_deactivate(desc);
desc              132 kernel/irq/autoprobe.c 		raw_spin_unlock_irq(&desc->lock);
desc              160 kernel/irq/autoprobe.c 	struct irq_desc *desc;
desc              162 kernel/irq/autoprobe.c 	for_each_irq_desc(i, desc) {
desc              163 kernel/irq/autoprobe.c 		raw_spin_lock_irq(&desc->lock);
desc              165 kernel/irq/autoprobe.c 		if (desc->istate & IRQS_AUTODETECT) {
desc              166 kernel/irq/autoprobe.c 			if (!(desc->istate & IRQS_WAITING)) {
desc              171 kernel/irq/autoprobe.c 			desc->istate &= ~IRQS_AUTODETECT;
desc              172 kernel/irq/autoprobe.c 			irq_shutdown_and_deactivate(desc);
desc              174 kernel/irq/autoprobe.c 		raw_spin_unlock_irq(&desc->lock);
desc               44 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc               46 kernel/irq/chip.c 	if (!desc)
desc               52 kernel/irq/chip.c 	desc->irq_data.chip = chip;
desc               53 kernel/irq/chip.c 	irq_put_desc_unlock(desc, flags);
desc               71 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc               74 kernel/irq/chip.c 	if (!desc)
desc               77 kernel/irq/chip.c 	ret = __irq_set_trigger(desc, type);
desc               78 kernel/irq/chip.c 	irq_put_desc_busunlock(desc, flags);
desc               93 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc               95 kernel/irq/chip.c 	if (!desc)
desc               97 kernel/irq/chip.c 	desc->irq_common_data.handler_data = data;
desc               98 kernel/irq/chip.c 	irq_put_desc_unlock(desc, flags);
desc              115 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_lock(irq_base + irq_offset, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              117 kernel/irq/chip.c 	if (!desc)
desc              119 kernel/irq/chip.c 	desc->irq_common_data.msi_desc = entry;
desc              122 kernel/irq/chip.c 	irq_put_desc_unlock(desc, flags);
desc              148 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc              150 kernel/irq/chip.c 	if (!desc)
desc              152 kernel/irq/chip.c 	desc->irq_data.chip_data = data;
desc              153 kernel/irq/chip.c 	irq_put_desc_unlock(desc, flags);
desc              160 kernel/irq/chip.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              162 kernel/irq/chip.c 	return desc ? &desc->irq_data : NULL;
desc              166 kernel/irq/chip.c static void irq_state_clr_disabled(struct irq_desc *desc)
desc              168 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_DISABLED);
desc              171 kernel/irq/chip.c static void irq_state_clr_masked(struct irq_desc *desc)
desc              173 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_MASKED);
desc              176 kernel/irq/chip.c static void irq_state_clr_started(struct irq_desc *desc)
desc              178 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_STARTED);
desc              181 kernel/irq/chip.c static void irq_state_set_started(struct irq_desc *desc)
desc              183 kernel/irq/chip.c 	irqd_set(&desc->irq_data, IRQD_IRQ_STARTED);
desc              194 kernel/irq/chip.c __irq_startup_managed(struct irq_desc *desc, struct cpumask *aff, bool force)
desc              196 kernel/irq/chip.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc              230 kernel/irq/chip.c __irq_startup_managed(struct irq_desc *desc, struct cpumask *aff, bool force)
desc              236 kernel/irq/chip.c static int __irq_startup(struct irq_desc *desc)
desc              238 kernel/irq/chip.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc              246 kernel/irq/chip.c 		irq_state_clr_disabled(desc);
desc              247 kernel/irq/chip.c 		irq_state_clr_masked(desc);
desc              249 kernel/irq/chip.c 		irq_enable(desc);
desc              251 kernel/irq/chip.c 	irq_state_set_started(desc);
desc              255 kernel/irq/chip.c int irq_startup(struct irq_desc *desc, bool resend, bool force)
desc              257 kernel/irq/chip.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc              261 kernel/irq/chip.c 	desc->depth = 0;
desc              264 kernel/irq/chip.c 		irq_enable(desc);
desc              266 kernel/irq/chip.c 		switch (__irq_startup_managed(desc, aff, force)) {
desc              268 kernel/irq/chip.c 			ret = __irq_startup(desc);
desc              269 kernel/irq/chip.c 			irq_setup_affinity(desc);
desc              273 kernel/irq/chip.c 			ret = __irq_startup(desc);
desc              281 kernel/irq/chip.c 		check_irq_resend(desc);
desc              286 kernel/irq/chip.c int irq_activate(struct irq_desc *desc)
desc              288 kernel/irq/chip.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc              295 kernel/irq/chip.c int irq_activate_and_startup(struct irq_desc *desc, bool resend)
desc              297 kernel/irq/chip.c 	if (WARN_ON(irq_activate(desc)))
desc              299 kernel/irq/chip.c 	return irq_startup(desc, resend, IRQ_START_FORCE);
desc              302 kernel/irq/chip.c static void __irq_disable(struct irq_desc *desc, bool mask);
desc              304 kernel/irq/chip.c void irq_shutdown(struct irq_desc *desc)
desc              306 kernel/irq/chip.c 	if (irqd_is_started(&desc->irq_data)) {
desc              307 kernel/irq/chip.c 		desc->depth = 1;
desc              308 kernel/irq/chip.c 		if (desc->irq_data.chip->irq_shutdown) {
desc              309 kernel/irq/chip.c 			desc->irq_data.chip->irq_shutdown(&desc->irq_data);
desc              310 kernel/irq/chip.c 			irq_state_set_disabled(desc);
desc              311 kernel/irq/chip.c 			irq_state_set_masked(desc);
desc              313 kernel/irq/chip.c 			__irq_disable(desc, true);
desc              315 kernel/irq/chip.c 		irq_state_clr_started(desc);
desc              320 kernel/irq/chip.c void irq_shutdown_and_deactivate(struct irq_desc *desc)
desc              322 kernel/irq/chip.c 	irq_shutdown(desc);
desc              329 kernel/irq/chip.c 	irq_domain_deactivate_irq(&desc->irq_data);
desc              332 kernel/irq/chip.c void irq_enable(struct irq_desc *desc)
desc              334 kernel/irq/chip.c 	if (!irqd_irq_disabled(&desc->irq_data)) {
desc              335 kernel/irq/chip.c 		unmask_irq(desc);
desc              337 kernel/irq/chip.c 		irq_state_clr_disabled(desc);
desc              338 kernel/irq/chip.c 		if (desc->irq_data.chip->irq_enable) {
desc              339 kernel/irq/chip.c 			desc->irq_data.chip->irq_enable(&desc->irq_data);
desc              340 kernel/irq/chip.c 			irq_state_clr_masked(desc);
desc              342 kernel/irq/chip.c 			unmask_irq(desc);
desc              347 kernel/irq/chip.c static void __irq_disable(struct irq_desc *desc, bool mask)
desc              349 kernel/irq/chip.c 	if (irqd_irq_disabled(&desc->irq_data)) {
desc              351 kernel/irq/chip.c 			mask_irq(desc);
desc              353 kernel/irq/chip.c 		irq_state_set_disabled(desc);
desc              354 kernel/irq/chip.c 		if (desc->irq_data.chip->irq_disable) {
desc              355 kernel/irq/chip.c 			desc->irq_data.chip->irq_disable(&desc->irq_data);
desc              356 kernel/irq/chip.c 			irq_state_set_masked(desc);
desc              358 kernel/irq/chip.c 			mask_irq(desc);
desc              383 kernel/irq/chip.c void irq_disable(struct irq_desc *desc)
desc              385 kernel/irq/chip.c 	__irq_disable(desc, irq_settings_disable_unlazy(desc));
desc              388 kernel/irq/chip.c void irq_percpu_enable(struct irq_desc *desc, unsigned int cpu)
desc              390 kernel/irq/chip.c 	if (desc->irq_data.chip->irq_enable)
desc              391 kernel/irq/chip.c 		desc->irq_data.chip->irq_enable(&desc->irq_data);
desc              393 kernel/irq/chip.c 		desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc              394 kernel/irq/chip.c 	cpumask_set_cpu(cpu, desc->percpu_enabled);
desc              397 kernel/irq/chip.c void irq_percpu_disable(struct irq_desc *desc, unsigned int cpu)
desc              399 kernel/irq/chip.c 	if (desc->irq_data.chip->irq_disable)
desc              400 kernel/irq/chip.c 		desc->irq_data.chip->irq_disable(&desc->irq_data);
desc              402 kernel/irq/chip.c 		desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              403 kernel/irq/chip.c 	cpumask_clear_cpu(cpu, desc->percpu_enabled);
desc              406 kernel/irq/chip.c static inline void mask_ack_irq(struct irq_desc *desc)
desc              408 kernel/irq/chip.c 	if (desc->irq_data.chip->irq_mask_ack) {
desc              409 kernel/irq/chip.c 		desc->irq_data.chip->irq_mask_ack(&desc->irq_data);
desc              410 kernel/irq/chip.c 		irq_state_set_masked(desc);
desc              412 kernel/irq/chip.c 		mask_irq(desc);
desc              413 kernel/irq/chip.c 		if (desc->irq_data.chip->irq_ack)
desc              414 kernel/irq/chip.c 			desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              418 kernel/irq/chip.c void mask_irq(struct irq_desc *desc)
desc              420 kernel/irq/chip.c 	if (irqd_irq_masked(&desc->irq_data))
desc              423 kernel/irq/chip.c 	if (desc->irq_data.chip->irq_mask) {
desc              424 kernel/irq/chip.c 		desc->irq_data.chip->irq_mask(&desc->irq_data);
desc              425 kernel/irq/chip.c 		irq_state_set_masked(desc);
desc              429 kernel/irq/chip.c void unmask_irq(struct irq_desc *desc)
desc              431 kernel/irq/chip.c 	if (!irqd_irq_masked(&desc->irq_data))
desc              434 kernel/irq/chip.c 	if (desc->irq_data.chip->irq_unmask) {
desc              435 kernel/irq/chip.c 		desc->irq_data.chip->irq_unmask(&desc->irq_data);
desc              436 kernel/irq/chip.c 		irq_state_clr_masked(desc);
desc              440 kernel/irq/chip.c void unmask_threaded_irq(struct irq_desc *desc)
desc              442 kernel/irq/chip.c 	struct irq_chip *chip = desc->irq_data.chip;
desc              445 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              447 kernel/irq/chip.c 	unmask_irq(desc);
desc              460 kernel/irq/chip.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              466 kernel/irq/chip.c 	raw_spin_lock_irq(&desc->lock);
desc              468 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              470 kernel/irq/chip.c 	action = desc->action;
desc              471 kernel/irq/chip.c 	if (unlikely(!action || irqd_irq_disabled(&desc->irq_data))) {
desc              472 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              476 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              477 kernel/irq/chip.c 	irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc              478 kernel/irq/chip.c 	raw_spin_unlock_irq(&desc->lock);
desc              481 kernel/irq/chip.c 	for_each_action_of_desc(desc, action)
desc              485 kernel/irq/chip.c 		note_interrupt(desc, action_ret);
desc              487 kernel/irq/chip.c 	raw_spin_lock_irq(&desc->lock);
desc              488 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc              491 kernel/irq/chip.c 	raw_spin_unlock_irq(&desc->lock);
desc              495 kernel/irq/chip.c static bool irq_check_poll(struct irq_desc *desc)
desc              497 kernel/irq/chip.c 	if (!(desc->istate & IRQS_POLL_INPROGRESS))
desc              499 kernel/irq/chip.c 	return irq_wait_for_poll(desc);
desc              502 kernel/irq/chip.c static bool irq_may_run(struct irq_desc *desc)
desc              510 kernel/irq/chip.c 	if (!irqd_has_set(&desc->irq_data, mask))
desc              518 kernel/irq/chip.c 	if (irq_pm_check_wakeup(desc))
desc              524 kernel/irq/chip.c 	return irq_check_poll(desc);
desc              538 kernel/irq/chip.c void handle_simple_irq(struct irq_desc *desc)
desc              540 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              542 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc              545 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              547 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc              548 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              552 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              553 kernel/irq/chip.c 	handle_irq_event(desc);
desc              556 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              573 kernel/irq/chip.c void handle_untracked_irq(struct irq_desc *desc)
desc              577 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              579 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc              582 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              584 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc              585 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              589 kernel/irq/chip.c 	desc->istate &= ~IRQS_PENDING;
desc              590 kernel/irq/chip.c 	irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc              591 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              593 kernel/irq/chip.c 	__handle_irq_event_percpu(desc, &flags);
desc              595 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              596 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc              599 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              607 kernel/irq/chip.c static void cond_unmask_irq(struct irq_desc *desc)
desc              616 kernel/irq/chip.c 	if (!irqd_irq_disabled(&desc->irq_data) &&
desc              617 kernel/irq/chip.c 	    irqd_irq_masked(&desc->irq_data) && !desc->threads_oneshot)
desc              618 kernel/irq/chip.c 		unmask_irq(desc);
desc              630 kernel/irq/chip.c void handle_level_irq(struct irq_desc *desc)
desc              632 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              633 kernel/irq/chip.c 	mask_ack_irq(desc);
desc              635 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc              638 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              644 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc              645 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              649 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              650 kernel/irq/chip.c 	handle_irq_event(desc);
desc              652 kernel/irq/chip.c 	cond_unmask_irq(desc);
desc              655 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              660 kernel/irq/chip.c static inline void preflow_handler(struct irq_desc *desc)
desc              662 kernel/irq/chip.c 	if (desc->preflow_handler)
desc              663 kernel/irq/chip.c 		desc->preflow_handler(&desc->irq_data);
desc              666 kernel/irq/chip.c static inline void preflow_handler(struct irq_desc *desc) { }
desc              669 kernel/irq/chip.c static void cond_unmask_eoi_irq(struct irq_desc *desc, struct irq_chip *chip)
desc              671 kernel/irq/chip.c 	if (!(desc->istate & IRQS_ONESHOT)) {
desc              672 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              681 kernel/irq/chip.c 	if (!irqd_irq_disabled(&desc->irq_data) &&
desc              682 kernel/irq/chip.c 	    irqd_irq_masked(&desc->irq_data) && !desc->threads_oneshot) {
desc              683 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              684 kernel/irq/chip.c 		unmask_irq(desc);
desc              686 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              699 kernel/irq/chip.c void handle_fasteoi_irq(struct irq_desc *desc)
desc              701 kernel/irq/chip.c 	struct irq_chip *chip = desc->irq_data.chip;
desc              703 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              705 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc              708 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              714 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc              715 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              716 kernel/irq/chip.c 		mask_irq(desc);
desc              720 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              721 kernel/irq/chip.c 	if (desc->istate & IRQS_ONESHOT)
desc              722 kernel/irq/chip.c 		mask_irq(desc);
desc              724 kernel/irq/chip.c 	preflow_handler(desc);
desc              725 kernel/irq/chip.c 	handle_irq_event(desc);
desc              727 kernel/irq/chip.c 	cond_unmask_eoi_irq(desc, chip);
desc              729 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              733 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              734 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              750 kernel/irq/chip.c void handle_fasteoi_nmi(struct irq_desc *desc)
desc              752 kernel/irq/chip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              753 kernel/irq/chip.c 	struct irqaction *action = desc->action;
desc              754 kernel/irq/chip.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              757 kernel/irq/chip.c 	__kstat_incr_irqs_this_cpu(desc);
desc              767 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              786 kernel/irq/chip.c void handle_edge_irq(struct irq_desc *desc)
desc              788 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              790 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              792 kernel/irq/chip.c 	if (!irq_may_run(desc)) {
desc              793 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              794 kernel/irq/chip.c 		mask_ack_irq(desc);
desc              802 kernel/irq/chip.c 	if (irqd_irq_disabled(&desc->irq_data) || !desc->action) {
desc              803 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              804 kernel/irq/chip.c 		mask_ack_irq(desc);
desc              808 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              811 kernel/irq/chip.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc              814 kernel/irq/chip.c 		if (unlikely(!desc->action)) {
desc              815 kernel/irq/chip.c 			mask_irq(desc);
desc              824 kernel/irq/chip.c 		if (unlikely(desc->istate & IRQS_PENDING)) {
desc              825 kernel/irq/chip.c 			if (!irqd_irq_disabled(&desc->irq_data) &&
desc              826 kernel/irq/chip.c 			    irqd_irq_masked(&desc->irq_data))
desc              827 kernel/irq/chip.c 				unmask_irq(desc);
desc              830 kernel/irq/chip.c 		handle_irq_event(desc);
desc              832 kernel/irq/chip.c 	} while ((desc->istate & IRQS_PENDING) &&
desc              833 kernel/irq/chip.c 		 !irqd_irq_disabled(&desc->irq_data));
desc              836 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              848 kernel/irq/chip.c void handle_edge_eoi_irq(struct irq_desc *desc)
desc              850 kernel/irq/chip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              852 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc              854 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc              856 kernel/irq/chip.c 	if (!irq_may_run(desc)) {
desc              857 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              865 kernel/irq/chip.c 	if (irqd_irq_disabled(&desc->irq_data) || !desc->action) {
desc              866 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc              870 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc              873 kernel/irq/chip.c 		if (unlikely(!desc->action))
desc              876 kernel/irq/chip.c 		handle_irq_event(desc);
desc              878 kernel/irq/chip.c 	} while ((desc->istate & IRQS_PENDING) &&
desc              879 kernel/irq/chip.c 		 !irqd_irq_disabled(&desc->irq_data));
desc              882 kernel/irq/chip.c 	chip->irq_eoi(&desc->irq_data);
desc              883 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc              893 kernel/irq/chip.c void handle_percpu_irq(struct irq_desc *desc)
desc              895 kernel/irq/chip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              901 kernel/irq/chip.c 	__kstat_incr_irqs_this_cpu(desc);
desc              904 kernel/irq/chip.c 		chip->irq_ack(&desc->irq_data);
desc              906 kernel/irq/chip.c 	handle_irq_event_percpu(desc);
desc              909 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              923 kernel/irq/chip.c void handle_percpu_devid_irq(struct irq_desc *desc)
desc              925 kernel/irq/chip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              926 kernel/irq/chip.c 	struct irqaction *action = desc->action;
desc              927 kernel/irq/chip.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              934 kernel/irq/chip.c 	__kstat_incr_irqs_this_cpu(desc);
desc              937 kernel/irq/chip.c 		chip->irq_ack(&desc->irq_data);
desc              945 kernel/irq/chip.c 		bool enabled = cpumask_test_cpu(cpu, desc->percpu_enabled);
desc              948 kernel/irq/chip.c 			irq_percpu_disable(desc, cpu);
desc              955 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              966 kernel/irq/chip.c void handle_percpu_devid_fasteoi_nmi(struct irq_desc *desc)
desc              968 kernel/irq/chip.c 	struct irq_chip *chip = irq_desc_get_chip(desc);
desc              969 kernel/irq/chip.c 	struct irqaction *action = desc->action;
desc              970 kernel/irq/chip.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              973 kernel/irq/chip.c 	__kstat_incr_irqs_this_cpu(desc);
desc              980 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc              984 kernel/irq/chip.c __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
desc              990 kernel/irq/chip.c 		struct irq_data *irq_data = &desc->irq_data;
desc             1019 kernel/irq/chip.c 		if (desc->irq_data.chip != &no_irq_chip)
desc             1020 kernel/irq/chip.c 			mask_ack_irq(desc);
desc             1021 kernel/irq/chip.c 		irq_state_set_disabled(desc);
desc             1023 kernel/irq/chip.c 			desc->action = NULL;
desc             1024 kernel/irq/chip.c 		desc->depth = 1;
desc             1026 kernel/irq/chip.c 	desc->handle_irq = handle;
desc             1027 kernel/irq/chip.c 	desc->name = name;
desc             1030 kernel/irq/chip.c 		unsigned int type = irqd_get_trigger_type(&desc->irq_data);
desc             1041 kernel/irq/chip.c 			__irq_set_trigger(desc, type);
desc             1042 kernel/irq/chip.c 			desc->handle_irq = handle;
desc             1045 kernel/irq/chip.c 		irq_settings_set_noprobe(desc);
desc             1046 kernel/irq/chip.c 		irq_settings_set_norequest(desc);
desc             1047 kernel/irq/chip.c 		irq_settings_set_nothread(desc);
desc             1048 kernel/irq/chip.c 		desc->action = &chained_action;
desc             1049 kernel/irq/chip.c 		irq_activate_and_startup(desc, IRQ_RESEND);
desc             1058 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, 0);
desc             1060 kernel/irq/chip.c 	if (!desc)
desc             1063 kernel/irq/chip.c 	__irq_do_set_handler(desc, handle, is_chained, name);
desc             1064 kernel/irq/chip.c 	irq_put_desc_busunlock(desc, flags);
desc             1073 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, 0);
desc             1075 kernel/irq/chip.c 	if (!desc)
desc             1078 kernel/irq/chip.c 	desc->irq_common_data.handler_data = data;
desc             1079 kernel/irq/chip.c 	__irq_do_set_handler(desc, handle, 1, NULL);
desc             1081 kernel/irq/chip.c 	irq_put_desc_busunlock(desc, flags);
desc             1097 kernel/irq/chip.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc             1099 kernel/irq/chip.c 	if (!desc)
desc             1106 kernel/irq/chip.c 	WARN_ON_ONCE(!desc->depth && (set & _IRQ_NOAUTOEN));
desc             1108 kernel/irq/chip.c 	irq_settings_clr_and_set(desc, clr, set);
desc             1110 kernel/irq/chip.c 	trigger = irqd_get_trigger_type(&desc->irq_data);
desc             1112 kernel/irq/chip.c 	irqd_clear(&desc->irq_data, IRQD_NO_BALANCING | IRQD_PER_CPU |
desc             1114 kernel/irq/chip.c 	if (irq_settings_has_no_balance_set(desc))
desc             1115 kernel/irq/chip.c 		irqd_set(&desc->irq_data, IRQD_NO_BALANCING);
desc             1116 kernel/irq/chip.c 	if (irq_settings_is_per_cpu(desc))
desc             1117 kernel/irq/chip.c 		irqd_set(&desc->irq_data, IRQD_PER_CPU);
desc             1118 kernel/irq/chip.c 	if (irq_settings_can_move_pcntxt(desc))
desc             1119 kernel/irq/chip.c 		irqd_set(&desc->irq_data, IRQD_MOVE_PCNTXT);
desc             1120 kernel/irq/chip.c 	if (irq_settings_is_level(desc))
desc             1121 kernel/irq/chip.c 		irqd_set(&desc->irq_data, IRQD_LEVEL);
desc             1123 kernel/irq/chip.c 	tmp = irq_settings_get_trigger_mask(desc);
desc             1127 kernel/irq/chip.c 	irqd_set(&desc->irq_data, trigger);
desc             1129 kernel/irq/chip.c 	irq_put_desc_unlock(desc, flags);
desc             1141 kernel/irq/chip.c 	struct irq_desc *desc;
desc             1147 kernel/irq/chip.c 		desc = irq_to_desc(irq);
desc             1148 kernel/irq/chip.c 		if (!desc)
desc             1151 kernel/irq/chip.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc             1153 kernel/irq/chip.c 		chip = irq_data_get_irq_chip(&desc->irq_data);
desc             1156 kernel/irq/chip.c 		     !irqd_irq_disabled(&desc->irq_data)))
desc             1157 kernel/irq/chip.c 			chip->irq_cpu_online(&desc->irq_data);
desc             1159 kernel/irq/chip.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1171 kernel/irq/chip.c 	struct irq_desc *desc;
desc             1177 kernel/irq/chip.c 		desc = irq_to_desc(irq);
desc             1178 kernel/irq/chip.c 		if (!desc)
desc             1181 kernel/irq/chip.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc             1183 kernel/irq/chip.c 		chip = irq_data_get_irq_chip(&desc->irq_data);
desc             1186 kernel/irq/chip.c 		     !irqd_irq_disabled(&desc->irq_data)))
desc             1187 kernel/irq/chip.c 			chip->irq_cpu_offline(&desc->irq_data);
desc             1189 kernel/irq/chip.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1206 kernel/irq/chip.c void handle_fasteoi_ack_irq(struct irq_desc *desc)
desc             1208 kernel/irq/chip.c 	struct irq_chip *chip = desc->irq_data.chip;
desc             1210 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc             1212 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc             1215 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc             1221 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc             1222 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc             1223 kernel/irq/chip.c 		mask_irq(desc);
desc             1227 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc             1228 kernel/irq/chip.c 	if (desc->istate & IRQS_ONESHOT)
desc             1229 kernel/irq/chip.c 		mask_irq(desc);
desc             1232 kernel/irq/chip.c 	desc->irq_data.chip->irq_ack(&desc->irq_data);
desc             1234 kernel/irq/chip.c 	preflow_handler(desc);
desc             1235 kernel/irq/chip.c 	handle_irq_event(desc);
desc             1237 kernel/irq/chip.c 	cond_unmask_eoi_irq(desc, chip);
desc             1239 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc             1243 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc             1244 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc             1258 kernel/irq/chip.c void handle_fasteoi_mask_irq(struct irq_desc *desc)
desc             1260 kernel/irq/chip.c 	struct irq_chip *chip = desc->irq_data.chip;
desc             1262 kernel/irq/chip.c 	raw_spin_lock(&desc->lock);
desc             1263 kernel/irq/chip.c 	mask_ack_irq(desc);
desc             1265 kernel/irq/chip.c 	if (!irq_may_run(desc))
desc             1268 kernel/irq/chip.c 	desc->istate &= ~(IRQS_REPLAY | IRQS_WAITING);
desc             1274 kernel/irq/chip.c 	if (unlikely(!desc->action || irqd_irq_disabled(&desc->irq_data))) {
desc             1275 kernel/irq/chip.c 		desc->istate |= IRQS_PENDING;
desc             1276 kernel/irq/chip.c 		mask_irq(desc);
desc             1280 kernel/irq/chip.c 	kstat_incr_irqs_this_cpu(desc);
desc             1281 kernel/irq/chip.c 	if (desc->istate & IRQS_ONESHOT)
desc             1282 kernel/irq/chip.c 		mask_irq(desc);
desc             1284 kernel/irq/chip.c 	preflow_handler(desc);
desc             1285 kernel/irq/chip.c 	handle_irq_event(desc);
desc             1287 kernel/irq/chip.c 	cond_unmask_eoi_irq(desc, chip);
desc             1289 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc             1293 kernel/irq/chip.c 		chip->irq_eoi(&desc->irq_data);
desc             1294 kernel/irq/chip.c 	raw_spin_unlock(&desc->lock);
desc               52 kernel/irq/cpuhotplug.c static bool migrate_one_irq(struct irq_desc *desc)
desc               54 kernel/irq/cpuhotplug.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc               85 kernel/irq/cpuhotplug.c 		irq_fixup_move_pending(desc, false);
desc               95 kernel/irq/cpuhotplug.c 	irq_force_complete_move(desc);
desc              103 kernel/irq/cpuhotplug.c 	if (irq_fixup_move_pending(desc, true))
desc              104 kernel/irq/cpuhotplug.c 		affinity = irq_desc_get_pending_mask(desc);
desc              119 kernel/irq/cpuhotplug.c 			irq_shutdown_and_deactivate(desc);
desc              156 kernel/irq/cpuhotplug.c 	struct irq_desc *desc;
desc              162 kernel/irq/cpuhotplug.c 		desc = irq_to_desc(irq);
desc              163 kernel/irq/cpuhotplug.c 		raw_spin_lock(&desc->lock);
desc              164 kernel/irq/cpuhotplug.c 		affinity_broken = migrate_one_irq(desc);
desc              165 kernel/irq/cpuhotplug.c 		raw_spin_unlock(&desc->lock);
desc              174 kernel/irq/cpuhotplug.c static void irq_restore_affinity_of_irq(struct irq_desc *desc, unsigned int cpu)
desc              176 kernel/irq/cpuhotplug.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              179 kernel/irq/cpuhotplug.c 	if (!irqd_affinity_is_managed(data) || !desc->action ||
desc              184 kernel/irq/cpuhotplug.c 		irq_startup(desc, IRQ_RESEND, IRQ_START_COND);
desc              203 kernel/irq/cpuhotplug.c 	struct irq_desc *desc;
desc              208 kernel/irq/cpuhotplug.c 		desc = irq_to_desc(irq);
desc              209 kernel/irq/cpuhotplug.c 		raw_spin_lock_irq(&desc->lock);
desc              210 kernel/irq/cpuhotplug.c 		irq_restore_affinity_of_irq(desc, cpu);
desc              211 kernel/irq/cpuhotplug.c 		raw_spin_unlock_irq(&desc->lock);
desc                6 kernel/irq/debug.h #define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f)
desc                7 kernel/irq/debug.h #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f)
desc               11 kernel/irq/debug.h static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc)
desc               19 kernel/irq/debug.h 		irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled);
desc               21 kernel/irq/debug.h 		desc->handle_irq, desc->handle_irq);
desc               23 kernel/irq/debug.h 		desc->irq_data.chip, desc->irq_data.chip);
desc               24 kernel/irq/debug.h 	printk("->action(): %p\n", desc->action);
desc               25 kernel/irq/debug.h 	if (desc->action) {
desc               27 kernel/irq/debug.h 			desc->action->handler, desc->action->handler);
desc               30 kernel/irq/debugfs.c static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc)
desc               32 kernel/irq/debugfs.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc               42 kernel/irq/debugfs.c 	msk = desc->pending_mask;
desc               47 kernel/irq/debugfs.c static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc) { }
desc              151 kernel/irq/debugfs.c 	struct irq_desc *desc = m->private;
desc              154 kernel/irq/debugfs.c 	raw_spin_lock_irq(&desc->lock);
desc              155 kernel/irq/debugfs.c 	data = irq_desc_get_irq_data(desc);
desc              156 kernel/irq/debugfs.c 	seq_printf(m, "handler:  %ps\n", desc->handle_irq);
desc              157 kernel/irq/debugfs.c 	seq_printf(m, "device:   %s\n", desc->dev_name);
desc              158 kernel/irq/debugfs.c 	seq_printf(m, "status:   0x%08x\n", desc->status_use_accessors);
desc              159 kernel/irq/debugfs.c 	irq_debug_show_bits(m, 0, desc->status_use_accessors, irqdesc_states,
desc              161 kernel/irq/debugfs.c 	seq_printf(m, "istate:   0x%08x\n", desc->istate);
desc              162 kernel/irq/debugfs.c 	irq_debug_show_bits(m, 0, desc->istate, irqdesc_istates,
desc              164 kernel/irq/debugfs.c 	seq_printf(m, "ddepth:   %u\n", desc->depth);
desc              165 kernel/irq/debugfs.c 	seq_printf(m, "wdepth:   %u\n", desc->wake_depth);
desc              170 kernel/irq/debugfs.c 	irq_debug_show_masks(m, desc);
desc              172 kernel/irq/debugfs.c 	raw_spin_unlock_irq(&desc->lock);
desc              184 kernel/irq/debugfs.c 	struct irq_desc *desc = file_inode(file)->i_private;
desc              197 kernel/irq/debugfs.c 		err = irq_set_irqchip_state(irq_desc_get_irq(desc),
desc              206 kernel/irq/debugfs.c 		chip_bus_lock(desc);
desc              207 kernel/irq/debugfs.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              215 kernel/irq/debugfs.c 		if (irq_settings_is_level(desc) ||
desc              216 kernel/irq/debugfs.c 		    !irqd_is_activated(&desc->irq_data) ||
desc              217 kernel/irq/debugfs.c 		    (desc->istate & (IRQS_NMI | IRQS_REPLAY))) {
desc              220 kernel/irq/debugfs.c 			desc->istate |= IRQS_PENDING;
desc              221 kernel/irq/debugfs.c 			check_irq_resend(desc);
desc              225 kernel/irq/debugfs.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              226 kernel/irq/debugfs.c 		chip_bus_sync_unlock(desc);
desc              244 kernel/irq/debugfs.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              248 kernel/irq/debugfs.c 		desc->dev_name = kstrdup(name, GFP_KERNEL);
desc              251 kernel/irq/debugfs.c void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc)
desc              255 kernel/irq/debugfs.c 	if (!irq_dir || !desc || desc->debugfs_file)
desc              259 kernel/irq/debugfs.c 	desc->debugfs_file = debugfs_create_file(name, 0644, irq_dir, desc,
desc               20 kernel/irq/dummychip.c 	struct irq_desc *desc = irq_data_to_desc(data);
desc               22 kernel/irq/dummychip.c 	print_irq_desc(data->irq, desc);
desc               31 kernel/irq/handle.c void handle_bad_irq(struct irq_desc *desc)
desc               33 kernel/irq/handle.c 	unsigned int irq = irq_desc_get_irq(desc);
desc               35 kernel/irq/handle.c 	print_irq_desc(irq, desc);
desc               36 kernel/irq/handle.c 	kstat_incr_irqs_this_cpu(desc);
desc               59 kernel/irq/handle.c void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action)
desc              121 kernel/irq/handle.c 	desc->threads_oneshot |= action->thread_mask;
desc              132 kernel/irq/handle.c 	atomic_inc(&desc->threads_active);
desc              137 kernel/irq/handle.c irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags)
desc              140 kernel/irq/handle.c 	unsigned int irq = desc->irq_data.irq;
desc              143 kernel/irq/handle.c 	record_irq_time(desc);
desc              145 kernel/irq/handle.c 	for_each_action_of_desc(desc, action) {
desc              167 kernel/irq/handle.c 			__irq_wake_thread(desc, action);
desc              184 kernel/irq/handle.c irqreturn_t handle_irq_event_percpu(struct irq_desc *desc)
desc              189 kernel/irq/handle.c 	retval = __handle_irq_event_percpu(desc, &flags);
desc              191 kernel/irq/handle.c 	add_interrupt_randomness(desc->irq_data.irq, flags);
desc              194 kernel/irq/handle.c 		note_interrupt(desc, retval);
desc              198 kernel/irq/handle.c irqreturn_t handle_irq_event(struct irq_desc *desc)
desc              202 kernel/irq/handle.c 	desc->istate &= ~IRQS_PENDING;
desc              203 kernel/irq/handle.c 	irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc              204 kernel/irq/handle.c 	raw_spin_unlock(&desc->lock);
desc              206 kernel/irq/handle.c 	ret = handle_irq_event_percpu(desc);
desc              208 kernel/irq/handle.c 	raw_spin_lock(&desc->lock);
desc              209 kernel/irq/handle.c 	irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc               70 kernel/irq/internals.h extern int __irq_set_trigger(struct irq_desc *desc, unsigned long flags);
desc               71 kernel/irq/internals.h extern void __disable_irq(struct irq_desc *desc);
desc               72 kernel/irq/internals.h extern void __enable_irq(struct irq_desc *desc);
desc               80 kernel/irq/internals.h extern int irq_activate(struct irq_desc *desc);
desc               81 kernel/irq/internals.h extern int irq_activate_and_startup(struct irq_desc *desc, bool resend);
desc               82 kernel/irq/internals.h extern int irq_startup(struct irq_desc *desc, bool resend, bool force);
desc               84 kernel/irq/internals.h extern void irq_shutdown(struct irq_desc *desc);
desc               85 kernel/irq/internals.h extern void irq_shutdown_and_deactivate(struct irq_desc *desc);
desc               86 kernel/irq/internals.h extern void irq_enable(struct irq_desc *desc);
desc               87 kernel/irq/internals.h extern void irq_disable(struct irq_desc *desc);
desc               88 kernel/irq/internals.h extern void irq_percpu_enable(struct irq_desc *desc, unsigned int cpu);
desc               89 kernel/irq/internals.h extern void irq_percpu_disable(struct irq_desc *desc, unsigned int cpu);
desc               90 kernel/irq/internals.h extern void mask_irq(struct irq_desc *desc);
desc               91 kernel/irq/internals.h extern void unmask_irq(struct irq_desc *desc);
desc               92 kernel/irq/internals.h extern void unmask_threaded_irq(struct irq_desc *desc);
desc              104 kernel/irq/internals.h extern void init_kstat_irqs(struct irq_desc *desc, int node, int nr);
desc              106 kernel/irq/internals.h irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags);
desc              107 kernel/irq/internals.h irqreturn_t handle_irq_event_percpu(struct irq_desc *desc);
desc              108 kernel/irq/internals.h irqreturn_t handle_irq_event(struct irq_desc *desc);
desc              111 kernel/irq/internals.h void check_irq_resend(struct irq_desc *desc);
desc              112 kernel/irq/internals.h bool irq_wait_for_poll(struct irq_desc *desc);
desc              113 kernel/irq/internals.h void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action);
desc              116 kernel/irq/internals.h extern void register_irq_proc(unsigned int irq, struct irq_desc *desc);
desc              117 kernel/irq/internals.h extern void unregister_irq_proc(unsigned int irq, struct irq_desc *desc);
desc              121 kernel/irq/internals.h static inline void register_irq_proc(unsigned int irq, struct irq_desc *desc) { }
desc              122 kernel/irq/internals.h static inline void unregister_irq_proc(unsigned int irq, struct irq_desc *desc) { }
desc              131 kernel/irq/internals.h extern void irq_set_thread_affinity(struct irq_desc *desc);
desc              137 kernel/irq/internals.h extern int irq_setup_affinity(struct irq_desc *desc);
desc              139 kernel/irq/internals.h static inline int irq_setup_affinity(struct irq_desc *desc) { return 0; }
desc              143 kernel/irq/internals.h static inline void chip_bus_lock(struct irq_desc *desc)
desc              145 kernel/irq/internals.h 	if (unlikely(desc->irq_data.chip->irq_bus_lock))
desc              146 kernel/irq/internals.h 		desc->irq_data.chip->irq_bus_lock(&desc->irq_data);
desc              149 kernel/irq/internals.h static inline void chip_bus_sync_unlock(struct irq_desc *desc)
desc              151 kernel/irq/internals.h 	if (unlikely(desc->irq_data.chip->irq_bus_sync_unlock))
desc              152 kernel/irq/internals.h 		desc->irq_data.chip->irq_bus_sync_unlock(&desc->irq_data);
desc              161 kernel/irq/internals.h #define for_each_action_of_desc(desc, act)			\
desc              162 kernel/irq/internals.h 	for (act = desc->action; act; act = act->next)
desc              167 kernel/irq/internals.h void __irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags, bool bus);
desc              176 kernel/irq/internals.h irq_put_desc_busunlock(struct irq_desc *desc, unsigned long flags)
desc              178 kernel/irq/internals.h 	__irq_put_desc_unlock(desc, flags, true);
desc              188 kernel/irq/internals.h irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags)
desc              190 kernel/irq/internals.h 	__irq_put_desc_unlock(desc, flags, false);
desc              238 kernel/irq/internals.h static inline void irq_state_set_disabled(struct irq_desc *desc)
desc              240 kernel/irq/internals.h 	irqd_set(&desc->irq_data, IRQD_IRQ_DISABLED);
desc              243 kernel/irq/internals.h static inline void irq_state_set_masked(struct irq_desc *desc)
desc              245 kernel/irq/internals.h 	irqd_set(&desc->irq_data, IRQD_IRQ_MASKED);
desc              250 kernel/irq/internals.h static inline void __kstat_incr_irqs_this_cpu(struct irq_desc *desc)
desc              252 kernel/irq/internals.h 	__this_cpu_inc(*desc->kstat_irqs);
desc              256 kernel/irq/internals.h static inline void kstat_incr_irqs_this_cpu(struct irq_desc *desc)
desc              258 kernel/irq/internals.h 	__kstat_incr_irqs_this_cpu(desc);
desc              259 kernel/irq/internals.h 	desc->tot_count++;
desc              262 kernel/irq/internals.h static inline int irq_desc_get_node(struct irq_desc *desc)
desc              264 kernel/irq/internals.h 	return irq_common_data_get_node(&desc->irq_common_data);
desc              267 kernel/irq/internals.h static inline int irq_desc_is_chained(struct irq_desc *desc)
desc              269 kernel/irq/internals.h 	return (desc->action && desc->action == &chained_action);
desc              273 kernel/irq/internals.h bool irq_pm_check_wakeup(struct irq_desc *desc);
desc              274 kernel/irq/internals.h void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action);
desc              275 kernel/irq/internals.h void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action);
desc              277 kernel/irq/internals.h static inline bool irq_pm_check_wakeup(struct irq_desc *desc) { return false; }
desc              279 kernel/irq/internals.h irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) { }
desc              281 kernel/irq/internals.h irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) { }
desc              305 kernel/irq/internals.h static inline void irq_remove_timings(struct irq_desc *desc)
desc              307 kernel/irq/internals.h 	desc->istate &= ~IRQS_TIMINGS;
desc              309 kernel/irq/internals.h 	irq_timings_free(irq_desc_get_irq(desc));
desc              312 kernel/irq/internals.h static inline void irq_setup_timings(struct irq_desc *desc, struct irqaction *act)
desc              314 kernel/irq/internals.h 	int irq = irq_desc_get_irq(desc);
desc              335 kernel/irq/internals.h 	desc->istate |= IRQS_TIMINGS;
desc              378 kernel/irq/internals.h static __always_inline void record_irq_time(struct irq_desc *desc)
desc              383 kernel/irq/internals.h 	if (desc->istate & IRQS_TIMINGS)
desc              384 kernel/irq/internals.h 		irq_timings_push(local_clock(), irq_desc_get_irq(desc));
desc              387 kernel/irq/internals.h static inline void irq_remove_timings(struct irq_desc *desc) {}
desc              388 kernel/irq/internals.h static inline void irq_setup_timings(struct irq_desc *desc,
desc              390 kernel/irq/internals.h static inline void record_irq_time(struct irq_desc *desc) {}
desc              415 kernel/irq/internals.h irq_copy_pending(struct irq_desc *desc, const struct cpumask *mask)
desc              417 kernel/irq/internals.h 	cpumask_copy(desc->pending_mask, mask);
desc              420 kernel/irq/internals.h irq_get_pending(struct cpumask *mask, struct irq_desc *desc)
desc              422 kernel/irq/internals.h 	cpumask_copy(mask, desc->pending_mask);
desc              424 kernel/irq/internals.h static inline struct cpumask *irq_desc_get_pending_mask(struct irq_desc *desc)
desc              426 kernel/irq/internals.h 	return desc->pending_mask;
desc              428 kernel/irq/internals.h bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear);
desc              439 kernel/irq/internals.h irq_copy_pending(struct irq_desc *desc, const struct cpumask *mask)
desc              443 kernel/irq/internals.h irq_get_pending(struct cpumask *mask, struct irq_desc *desc)
desc              446 kernel/irq/internals.h static inline struct cpumask *irq_desc_get_pending_mask(struct irq_desc *desc)
desc              450 kernel/irq/internals.h static inline bool irq_fixup_move_pending(struct irq_desc *desc, bool fclear)
desc              471 kernel/irq/internals.h void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc);
desc              472 kernel/irq/internals.h static inline void irq_remove_debugfs_entry(struct irq_desc *desc)
desc              474 kernel/irq/internals.h 	debugfs_remove(desc->debugfs_file);
desc              475 kernel/irq/internals.h 	kfree(desc->dev_name);
desc              221 kernel/irq/ipi.c int __ipi_send_single(struct irq_desc *desc, unsigned int cpu)
desc              223 kernel/irq/ipi.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              263 kernel/irq/ipi.c int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest)
desc              265 kernel/irq/ipi.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc              309 kernel/irq/ipi.c 	struct irq_desc *desc = irq_to_desc(virq);
desc              310 kernel/irq/ipi.c 	struct irq_data *data = desc ? irq_desc_get_irq_data(desc) : NULL;
desc              316 kernel/irq/ipi.c 	return __ipi_send_single(desc, cpu);
desc              330 kernel/irq/ipi.c 	struct irq_desc *desc = irq_to_desc(virq);
desc              331 kernel/irq/ipi.c 	struct irq_data *data = desc ? irq_desc_get_irq_data(desc) : NULL;
desc              337 kernel/irq/ipi.c 	return __ipi_send_mask(desc, dest);
desc               55 kernel/irq/irqdesc.c static int alloc_masks(struct irq_desc *desc, int node)
desc               57 kernel/irq/irqdesc.c 	if (!zalloc_cpumask_var_node(&desc->irq_common_data.affinity,
desc               62 kernel/irq/irqdesc.c 	if (!zalloc_cpumask_var_node(&desc->irq_common_data.effective_affinity,
desc               64 kernel/irq/irqdesc.c 		free_cpumask_var(desc->irq_common_data.affinity);
desc               70 kernel/irq/irqdesc.c 	if (!zalloc_cpumask_var_node(&desc->pending_mask, GFP_KERNEL, node)) {
desc               72 kernel/irq/irqdesc.c 		free_cpumask_var(desc->irq_common_data.effective_affinity);
desc               74 kernel/irq/irqdesc.c 		free_cpumask_var(desc->irq_common_data.affinity);
desc               81 kernel/irq/irqdesc.c static void desc_smp_init(struct irq_desc *desc, int node,
desc               86 kernel/irq/irqdesc.c 	cpumask_copy(desc->irq_common_data.affinity, affinity);
desc               89 kernel/irq/irqdesc.c 	cpumask_clear(desc->pending_mask);
desc               92 kernel/irq/irqdesc.c 	desc->irq_common_data.node = node;
desc               98 kernel/irq/irqdesc.c alloc_masks(struct irq_desc *desc, int node) { return 0; }
desc              100 kernel/irq/irqdesc.c desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) { }
desc              103 kernel/irq/irqdesc.c static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node,
desc              108 kernel/irq/irqdesc.c 	desc->irq_common_data.handler_data = NULL;
desc              109 kernel/irq/irqdesc.c 	desc->irq_common_data.msi_desc = NULL;
desc              111 kernel/irq/irqdesc.c 	desc->irq_data.common = &desc->irq_common_data;
desc              112 kernel/irq/irqdesc.c 	desc->irq_data.irq = irq;
desc              113 kernel/irq/irqdesc.c 	desc->irq_data.chip = &no_irq_chip;
desc              114 kernel/irq/irqdesc.c 	desc->irq_data.chip_data = NULL;
desc              115 kernel/irq/irqdesc.c 	irq_settings_clr_and_set(desc, ~0, _IRQ_DEFAULT_INIT_FLAGS);
desc              116 kernel/irq/irqdesc.c 	irqd_set(&desc->irq_data, IRQD_IRQ_DISABLED);
desc              117 kernel/irq/irqdesc.c 	irqd_set(&desc->irq_data, IRQD_IRQ_MASKED);
desc              118 kernel/irq/irqdesc.c 	desc->handle_irq = handle_bad_irq;
desc              119 kernel/irq/irqdesc.c 	desc->depth = 1;
desc              120 kernel/irq/irqdesc.c 	desc->irq_count = 0;
desc              121 kernel/irq/irqdesc.c 	desc->irqs_unhandled = 0;
desc              122 kernel/irq/irqdesc.c 	desc->tot_count = 0;
desc              123 kernel/irq/irqdesc.c 	desc->name = NULL;
desc              124 kernel/irq/irqdesc.c 	desc->owner = owner;
desc              126 kernel/irq/irqdesc.c 		*per_cpu_ptr(desc->kstat_irqs, cpu) = 0;
desc              127 kernel/irq/irqdesc.c 	desc_smp_init(desc, node, affinity);
desc              149 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              150 kernel/irq/irqdesc.c 	int cpu, irq = desc->irq_data.irq;
desc              169 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              172 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              173 kernel/irq/irqdesc.c 	if (desc->irq_data.chip && desc->irq_data.chip->name) {
desc              175 kernel/irq/irqdesc.c 				desc->irq_data.chip->name);
desc              177 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              186 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              189 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              190 kernel/irq/irqdesc.c 	if (desc->irq_data.domain)
desc              191 kernel/irq/irqdesc.c 		ret = sprintf(buf, "%d\n", (int)desc->irq_data.hwirq);
desc              192 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              201 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              204 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              206 kernel/irq/irqdesc.c 		      irqd_is_level_type(&desc->irq_data) ? "level" : "edge");
desc              207 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              217 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              220 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              222 kernel/irq/irqdesc.c 		      irqd_is_wakeup_set(&desc->irq_data) ? "enabled" : "disabled");
desc              223 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              233 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              236 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              237 kernel/irq/irqdesc.c 	if (desc->name)
desc              238 kernel/irq/irqdesc.c 		ret = scnprintf(buf, PAGE_SIZE, "%s\n", desc->name);
desc              239 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              248 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              253 kernel/irq/irqdesc.c 	raw_spin_lock_irq(&desc->lock);
desc              254 kernel/irq/irqdesc.c 	for (action = desc->action; action != NULL; action = action->next) {
desc              259 kernel/irq/irqdesc.c 	raw_spin_unlock_irq(&desc->lock);
desc              286 kernel/irq/irqdesc.c static void irq_sysfs_add(int irq, struct irq_desc *desc)
desc              293 kernel/irq/irqdesc.c 		if (kobject_add(&desc->kobj, irq_kobj_base, "%d", irq))
desc              298 kernel/irq/irqdesc.c static void irq_sysfs_del(struct irq_desc *desc)
desc              307 kernel/irq/irqdesc.c 		kobject_del(&desc->kobj);
desc              312 kernel/irq/irqdesc.c 	struct irq_desc *desc;
desc              325 kernel/irq/irqdesc.c 	for_each_irq_desc(irq, desc)
desc              326 kernel/irq/irqdesc.c 		irq_sysfs_add(irq, desc);
desc              339 kernel/irq/irqdesc.c static void irq_sysfs_add(int irq, struct irq_desc *desc) {}
desc              340 kernel/irq/irqdesc.c static void irq_sysfs_del(struct irq_desc *desc) {}
desc              346 kernel/irq/irqdesc.c static void irq_insert_desc(unsigned int irq, struct irq_desc *desc)
desc              348 kernel/irq/irqdesc.c 	radix_tree_insert(&irq_desc_tree, irq, desc);
desc              363 kernel/irq/irqdesc.c static void free_masks(struct irq_desc *desc)
desc              366 kernel/irq/irqdesc.c 	free_cpumask_var(desc->pending_mask);
desc              368 kernel/irq/irqdesc.c 	free_cpumask_var(desc->irq_common_data.affinity);
desc              370 kernel/irq/irqdesc.c 	free_cpumask_var(desc->irq_common_data.effective_affinity);
desc              374 kernel/irq/irqdesc.c static inline void free_masks(struct irq_desc *desc) { }
desc              391 kernel/irq/irqdesc.c 	struct irq_desc *desc;
desc              393 kernel/irq/irqdesc.c 	desc = kzalloc_node(sizeof(*desc), GFP_KERNEL, node);
desc              394 kernel/irq/irqdesc.c 	if (!desc)
desc              397 kernel/irq/irqdesc.c 	desc->kstat_irqs = alloc_percpu(unsigned int);
desc              398 kernel/irq/irqdesc.c 	if (!desc->kstat_irqs)
desc              401 kernel/irq/irqdesc.c 	if (alloc_masks(desc, node))
desc              404 kernel/irq/irqdesc.c 	raw_spin_lock_init(&desc->lock);
desc              405 kernel/irq/irqdesc.c 	lockdep_set_class(&desc->lock, &irq_desc_lock_class);
desc              406 kernel/irq/irqdesc.c 	mutex_init(&desc->request_mutex);
desc              407 kernel/irq/irqdesc.c 	init_rcu_head(&desc->rcu);
desc              409 kernel/irq/irqdesc.c 	desc_set_defaults(irq, desc, node, affinity, owner);
desc              410 kernel/irq/irqdesc.c 	irqd_set(&desc->irq_data, flags);
desc              411 kernel/irq/irqdesc.c 	kobject_init(&desc->kobj, &irq_kobj_type);
desc              413 kernel/irq/irqdesc.c 	return desc;
desc              416 kernel/irq/irqdesc.c 	free_percpu(desc->kstat_irqs);
desc              418 kernel/irq/irqdesc.c 	kfree(desc);
desc              424 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj);
desc              426 kernel/irq/irqdesc.c 	free_masks(desc);
desc              427 kernel/irq/irqdesc.c 	free_percpu(desc->kstat_irqs);
desc              428 kernel/irq/irqdesc.c 	kfree(desc);
desc              433 kernel/irq/irqdesc.c 	struct irq_desc *desc = container_of(rhp, struct irq_desc, rcu);
desc              435 kernel/irq/irqdesc.c 	kobject_put(&desc->kobj);
desc              440 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              442 kernel/irq/irqdesc.c 	irq_remove_debugfs_entry(desc);
desc              443 kernel/irq/irqdesc.c 	unregister_irq_proc(irq, desc);
desc              454 kernel/irq/irqdesc.c 	irq_sysfs_del(desc);
desc              463 kernel/irq/irqdesc.c 	call_rcu(&desc->rcu, delayed_free_desc);
desc              470 kernel/irq/irqdesc.c 	struct irq_desc *desc;
desc              495 kernel/irq/irqdesc.c 		desc = alloc_desc(start + i, node, flags, mask, owner);
desc              496 kernel/irq/irqdesc.c 		if (!desc)
desc              498 kernel/irq/irqdesc.c 		irq_insert_desc(start + i, desc);
desc              499 kernel/irq/irqdesc.c 		irq_sysfs_add(start + i, desc);
desc              500 kernel/irq/irqdesc.c 		irq_add_debugfs_entry(start + i, desc);
desc              522 kernel/irq/irqdesc.c 	struct irq_desc *desc;
desc              541 kernel/irq/irqdesc.c 		desc = alloc_desc(i, node, 0, NULL, NULL);
desc              543 kernel/irq/irqdesc.c 		irq_insert_desc(i, desc);
desc              561 kernel/irq/irqdesc.c 	struct irq_desc *desc;
desc              567 kernel/irq/irqdesc.c 	desc = irq_desc;
desc              571 kernel/irq/irqdesc.c 		desc[i].kstat_irqs = alloc_percpu(unsigned int);
desc              572 kernel/irq/irqdesc.c 		alloc_masks(&desc[i], node);
desc              573 kernel/irq/irqdesc.c 		raw_spin_lock_init(&desc[i].lock);
desc              574 kernel/irq/irqdesc.c 		lockdep_set_class(&desc[i].lock, &irq_desc_lock_class);
desc              575 kernel/irq/irqdesc.c 		mutex_init(&desc[i].request_mutex);
desc              576 kernel/irq/irqdesc.c 		desc_set_defaults(i, &desc[i], node, NULL, NULL);
desc              589 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              592 kernel/irq/irqdesc.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              593 kernel/irq/irqdesc.c 	desc_set_defaults(irq, desc, irq_desc_get_node(desc), NULL, NULL);
desc              594 kernel/irq/irqdesc.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              604 kernel/irq/irqdesc.c 		struct irq_desc *desc = irq_to_desc(start + i);
desc              606 kernel/irq/irqdesc.c 		desc->owner = owner;
desc              640 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              642 kernel/irq/irqdesc.c 	if (!desc)
desc              644 kernel/irq/irqdesc.c 	generic_handle_irq_desc(desc);
desc              873 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              875 kernel/irq/irqdesc.c 	if (desc) {
desc              878 kernel/irq/irqdesc.c 			    !irq_settings_is_per_cpu_devid(desc))
desc              882 kernel/irq/irqdesc.c 			    irq_settings_is_per_cpu_devid(desc))
desc              887 kernel/irq/irqdesc.c 			chip_bus_lock(desc);
desc              888 kernel/irq/irqdesc.c 		raw_spin_lock_irqsave(&desc->lock, *flags);
desc              890 kernel/irq/irqdesc.c 	return desc;
desc              893 kernel/irq/irqdesc.c void __irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags, bool bus)
desc              895 kernel/irq/irqdesc.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              897 kernel/irq/irqdesc.c 		chip_bus_sync_unlock(desc);
desc              903 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              905 kernel/irq/irqdesc.c 	if (!desc)
desc              908 kernel/irq/irqdesc.c 	if (desc->percpu_enabled)
desc              911 kernel/irq/irqdesc.c 	desc->percpu_enabled = kzalloc(sizeof(*desc->percpu_enabled), GFP_KERNEL);
desc              913 kernel/irq/irqdesc.c 	if (!desc->percpu_enabled)
desc              917 kernel/irq/irqdesc.c 		desc->percpu_affinity = affinity;
desc              919 kernel/irq/irqdesc.c 		desc->percpu_affinity = cpu_possible_mask;
desc              932 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              934 kernel/irq/irqdesc.c 	if (!desc || !desc->percpu_enabled)
desc              938 kernel/irq/irqdesc.c 		cpumask_copy(affinity, desc->percpu_affinity);
desc              960 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              962 kernel/irq/irqdesc.c 	return desc && desc->kstat_irqs ?
desc              963 kernel/irq/irqdesc.c 			*per_cpu_ptr(desc->kstat_irqs, cpu) : 0;
desc              966 kernel/irq/irqdesc.c static bool irq_is_nmi(struct irq_desc *desc)
desc              968 kernel/irq/irqdesc.c 	return desc->istate & IRQS_NMI;
desc              981 kernel/irq/irqdesc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              985 kernel/irq/irqdesc.c 	if (!desc || !desc->kstat_irqs)
desc              987 kernel/irq/irqdesc.c 	if (!irq_settings_is_per_cpu_devid(desc) &&
desc              988 kernel/irq/irqdesc.c 	    !irq_settings_is_per_cpu(desc) &&
desc              989 kernel/irq/irqdesc.c 	    !irq_is_nmi(desc))
desc              990 kernel/irq/irqdesc.c 	    return desc->tot_count;
desc              993 kernel/irq/irqdesc.c 		sum += *per_cpu_ptr(desc->kstat_irqs, cpu);
desc             1406 kernel/irq/irqdomain.c 	struct irq_desc *desc;
desc             1418 kernel/irq/irqdomain.c 	desc = irq_to_desc(virq);
desc             1419 kernel/irq/irqdomain.c 	if (!desc)
desc             1421 kernel/irq/irqdomain.c 	if (WARN_ON(desc->action))
desc             1489 kernel/irq/irqdomain.c 	struct irq_desc *desc;
desc             1500 kernel/irq/irqdomain.c 	desc = irq_to_desc(virq);
desc             1501 kernel/irq/irqdomain.c 	if (!desc)
desc             1503 kernel/irq/irqdomain.c 	if (WARN_ON(desc->action))
desc               38 kernel/irq/manage.c static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)
desc               40 kernel/irq/manage.c 	struct irq_data *irqd = irq_desc_get_irq_data(desc);
desc               50 kernel/irq/manage.c 		while (irqd_irq_inprogress(&desc->irq_data))
desc               54 kernel/irq/manage.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc               55 kernel/irq/manage.c 		inprogress = irqd_irq_inprogress(&desc->irq_data);
desc               70 kernel/irq/manage.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              100 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              102 kernel/irq/manage.c 	if (desc) {
desc              103 kernel/irq/manage.c 		__synchronize_hardirq(desc, false);
desc              104 kernel/irq/manage.c 		return !atomic_read(&desc->threads_active);
desc              128 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              130 kernel/irq/manage.c 	if (desc) {
desc              131 kernel/irq/manage.c 		__synchronize_hardirq(desc, true);
desc              137 kernel/irq/manage.c 		wait_event(desc->wait_for_threads,
desc              138 kernel/irq/manage.c 			   !atomic_read(&desc->threads_active));
desc              146 kernel/irq/manage.c static bool __irq_can_set_affinity(struct irq_desc *desc)
desc              148 kernel/irq/manage.c 	if (!desc || !irqd_can_balance(&desc->irq_data) ||
desc              149 kernel/irq/manage.c 	    !desc->irq_data.chip || !desc->irq_data.chip->irq_set_affinity)
desc              173 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              175 kernel/irq/manage.c 	return __irq_can_set_affinity(desc) &&
desc              176 kernel/irq/manage.c 		!irqd_affinity_is_managed(&desc->irq_data);
desc              188 kernel/irq/manage.c void irq_set_thread_affinity(struct irq_desc *desc)
desc              192 kernel/irq/manage.c 	for_each_action_of_desc(desc, action)
desc              213 kernel/irq/manage.c 	struct irq_desc *desc = irq_data_to_desc(data);
desc              224 kernel/irq/manage.c 		cpumask_copy(desc->irq_common_data.affinity, mask);
desc              228 kernel/irq/manage.c 		irq_set_thread_affinity(desc);
desc              239 kernel/irq/manage.c 	struct irq_desc *desc = irq_data_to_desc(data);
desc              242 kernel/irq/manage.c 	irq_copy_pending(desc, dest);
desc              272 kernel/irq/manage.c 	struct irq_desc *desc = irq_data_to_desc(data);
desc              282 kernel/irq/manage.c 		irq_copy_pending(desc, mask);
desc              285 kernel/irq/manage.c 	if (desc->affinity_notify) {
desc              286 kernel/irq/manage.c 		kref_get(&desc->affinity_notify->kref);
desc              287 kernel/irq/manage.c 		if (!schedule_work(&desc->affinity_notify->work)) {
desc              289 kernel/irq/manage.c 			kref_put(&desc->affinity_notify->kref,
desc              290 kernel/irq/manage.c 				 desc->affinity_notify->release);
desc              300 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              304 kernel/irq/manage.c 	if (!desc)
desc              307 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              308 kernel/irq/manage.c 	ret = irq_set_affinity_locked(irq_desc_get_irq_data(desc), mask, force);
desc              309 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              316 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              318 kernel/irq/manage.c 	if (!desc)
desc              320 kernel/irq/manage.c 	desc->affinity_hint = m;
desc              321 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc              333 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(notify->irq);
desc              337 kernel/irq/manage.c 	if (!desc || !alloc_cpumask_var(&cpumask, GFP_KERNEL))
desc              340 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              341 kernel/irq/manage.c 	if (irq_move_pending(&desc->irq_data))
desc              342 kernel/irq/manage.c 		irq_get_pending(cpumask, desc);
desc              344 kernel/irq/manage.c 		cpumask_copy(cpumask, desc->irq_common_data.affinity);
desc              345 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              368 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              375 kernel/irq/manage.c 	if (!desc || desc->istate & IRQS_NMI)
desc              385 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              386 kernel/irq/manage.c 	old_notify = desc->affinity_notify;
desc              387 kernel/irq/manage.c 	desc->affinity_notify = notify;
desc              388 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              406 kernel/irq/manage.c int irq_setup_affinity(struct irq_desc *desc)
desc              409 kernel/irq/manage.c 	int ret, node = irq_desc_get_node(desc);
desc              414 kernel/irq/manage.c 	if (!__irq_can_set_affinity(desc))
desc              422 kernel/irq/manage.c 	if (irqd_affinity_is_managed(&desc->irq_data) ||
desc              423 kernel/irq/manage.c 	    irqd_has_set(&desc->irq_data, IRQD_AFFINITY_SET)) {
desc              424 kernel/irq/manage.c 		if (cpumask_intersects(desc->irq_common_data.affinity,
desc              426 kernel/irq/manage.c 			set = desc->irq_common_data.affinity;
desc              428 kernel/irq/manage.c 			irqd_clear(&desc->irq_data, IRQD_AFFINITY_SET);
desc              442 kernel/irq/manage.c 	ret = irq_do_set_affinity(&desc->irq_data, &mask, false);
desc              448 kernel/irq/manage.c int irq_setup_affinity(struct irq_desc *desc)
desc              450 kernel/irq/manage.c 	return irq_select_affinity(irq_desc_get_irq(desc));
desc              470 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc              475 kernel/irq/manage.c 	if (!desc)
desc              478 kernel/irq/manage.c 	data = irq_desc_get_irq_data(desc);
desc              492 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc              498 kernel/irq/manage.c void __disable_irq(struct irq_desc *desc)
desc              500 kernel/irq/manage.c 	if (!desc->depth++)
desc              501 kernel/irq/manage.c 		irq_disable(desc);
desc              507 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              509 kernel/irq/manage.c 	if (!desc)
desc              511 kernel/irq/manage.c 	__disable_irq(desc);
desc              512 kernel/irq/manage.c 	irq_put_desc_busunlock(desc, flags);
desc              593 kernel/irq/manage.c void __enable_irq(struct irq_desc *desc)
desc              595 kernel/irq/manage.c 	switch (desc->depth) {
desc              599 kernel/irq/manage.c 		     irq_desc_get_irq(desc));
desc              602 kernel/irq/manage.c 		if (desc->istate & IRQS_SUSPENDED)
desc              605 kernel/irq/manage.c 		irq_settings_set_noprobe(desc);
desc              613 kernel/irq/manage.c 		irq_startup(desc, IRQ_RESEND, IRQ_START_FORCE);
desc              617 kernel/irq/manage.c 		desc->depth--;
desc              635 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              637 kernel/irq/manage.c 	if (!desc)
desc              639 kernel/irq/manage.c 	if (WARN(!desc->irq_data.chip,
desc              643 kernel/irq/manage.c 	__enable_irq(desc);
desc              645 kernel/irq/manage.c 	irq_put_desc_busunlock(desc, flags);
desc              665 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              668 kernel/irq/manage.c 	if (irq_desc_get_chip(desc)->flags &  IRQCHIP_SKIP_SET_WAKE)
desc              671 kernel/irq/manage.c 	if (desc->irq_data.chip->irq_set_wake)
desc              672 kernel/irq/manage.c 		ret = desc->irq_data.chip->irq_set_wake(&desc->irq_data, on);
desc              692 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              695 kernel/irq/manage.c 	if (!desc)
desc              699 kernel/irq/manage.c 	if (desc->istate & IRQS_NMI) {
desc              708 kernel/irq/manage.c 		if (desc->wake_depth++ == 0) {
desc              711 kernel/irq/manage.c 				desc->wake_depth = 0;
desc              713 kernel/irq/manage.c 				irqd_set(&desc->irq_data, IRQD_WAKEUP_STATE);
desc              716 kernel/irq/manage.c 		if (desc->wake_depth == 0) {
desc              718 kernel/irq/manage.c 		} else if (--desc->wake_depth == 0) {
desc              721 kernel/irq/manage.c 				desc->wake_depth = 1;
desc              723 kernel/irq/manage.c 				irqd_clear(&desc->irq_data, IRQD_WAKEUP_STATE);
desc              728 kernel/irq/manage.c 	irq_put_desc_busunlock(desc, flags);
desc              741 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc              744 kernel/irq/manage.c 	if (!desc)
desc              747 kernel/irq/manage.c 	if (irq_settings_can_request(desc)) {
desc              748 kernel/irq/manage.c 		if (!desc->action ||
desc              749 kernel/irq/manage.c 		    irqflags & desc->action->flags & IRQF_SHARED)
desc              752 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc              756 kernel/irq/manage.c int __irq_set_trigger(struct irq_desc *desc, unsigned long flags)
desc              758 kernel/irq/manage.c 	struct irq_chip *chip = desc->irq_data.chip;
desc              767 kernel/irq/manage.c 			 irq_desc_get_irq(desc),
desc              773 kernel/irq/manage.c 		if (!irqd_irq_masked(&desc->irq_data))
desc              774 kernel/irq/manage.c 			mask_irq(desc);
desc              775 kernel/irq/manage.c 		if (!irqd_irq_disabled(&desc->irq_data))
desc              781 kernel/irq/manage.c 	ret = chip->irq_set_type(&desc->irq_data, flags);
desc              786 kernel/irq/manage.c 		irqd_clear(&desc->irq_data, IRQD_TRIGGER_MASK);
desc              787 kernel/irq/manage.c 		irqd_set(&desc->irq_data, flags);
desc              791 kernel/irq/manage.c 		flags = irqd_get_trigger_type(&desc->irq_data);
desc              792 kernel/irq/manage.c 		irq_settings_set_trigger_mask(desc, flags);
desc              793 kernel/irq/manage.c 		irqd_clear(&desc->irq_data, IRQD_LEVEL);
desc              794 kernel/irq/manage.c 		irq_settings_clr_level(desc);
desc              796 kernel/irq/manage.c 			irq_settings_set_level(desc);
desc              797 kernel/irq/manage.c 			irqd_set(&desc->irq_data, IRQD_LEVEL);
desc              804 kernel/irq/manage.c 		       flags, irq_desc_get_irq(desc), chip->irq_set_type);
desc              807 kernel/irq/manage.c 		unmask_irq(desc);
desc              815 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0);
desc              817 kernel/irq/manage.c 	if (!desc)
desc              820 kernel/irq/manage.c 	desc->parent_irq = parent_irq;
desc              822 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc              884 kernel/irq/manage.c static void irq_finalize_oneshot(struct irq_desc *desc,
desc              887 kernel/irq/manage.c 	if (!(desc->istate & IRQS_ONESHOT) ||
desc              891 kernel/irq/manage.c 	chip_bus_lock(desc);
desc              892 kernel/irq/manage.c 	raw_spin_lock_irq(&desc->lock);
desc              908 kernel/irq/manage.c 	if (unlikely(irqd_irq_inprogress(&desc->irq_data))) {
desc              909 kernel/irq/manage.c 		raw_spin_unlock_irq(&desc->lock);
desc              910 kernel/irq/manage.c 		chip_bus_sync_unlock(desc);
desc              923 kernel/irq/manage.c 	desc->threads_oneshot &= ~action->thread_mask;
desc              925 kernel/irq/manage.c 	if (!desc->threads_oneshot && !irqd_irq_disabled(&desc->irq_data) &&
desc              926 kernel/irq/manage.c 	    irqd_irq_masked(&desc->irq_data))
desc              927 kernel/irq/manage.c 		unmask_threaded_irq(desc);
desc              930 kernel/irq/manage.c 	raw_spin_unlock_irq(&desc->lock);
desc              931 kernel/irq/manage.c 	chip_bus_sync_unlock(desc);
desc              939 kernel/irq/manage.c irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action)
desc              956 kernel/irq/manage.c 	raw_spin_lock_irq(&desc->lock);
desc              961 kernel/irq/manage.c 	if (cpumask_available(desc->irq_common_data.affinity)) {
desc              964 kernel/irq/manage.c 		m = irq_data_get_effective_affinity_mask(&desc->irq_data);
desc              969 kernel/irq/manage.c 	raw_spin_unlock_irq(&desc->lock);
desc              977 kernel/irq/manage.c irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
desc              987 kernel/irq/manage.c irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)
desc              994 kernel/irq/manage.c 		atomic_inc(&desc->threads_handled);
desc              996 kernel/irq/manage.c 	irq_finalize_oneshot(desc, action);
desc             1006 kernel/irq/manage.c static irqreturn_t irq_thread_fn(struct irq_desc *desc,
desc             1013 kernel/irq/manage.c 		atomic_inc(&desc->threads_handled);
desc             1015 kernel/irq/manage.c 	irq_finalize_oneshot(desc, action);
desc             1019 kernel/irq/manage.c static void wake_threads_waitq(struct irq_desc *desc)
desc             1021 kernel/irq/manage.c 	if (atomic_dec_and_test(&desc->threads_active))
desc             1022 kernel/irq/manage.c 		wake_up(&desc->wait_for_threads);
desc             1028 kernel/irq/manage.c 	struct irq_desc *desc;
desc             1040 kernel/irq/manage.c 	desc = irq_to_desc(action->irq);
desc             1046 kernel/irq/manage.c 		wake_threads_waitq(desc);
desc             1049 kernel/irq/manage.c 	irq_finalize_oneshot(desc, action);
desc             1052 kernel/irq/manage.c static void irq_wake_secondary(struct irq_desc *desc, struct irqaction *action)
desc             1059 kernel/irq/manage.c 	raw_spin_lock_irq(&desc->lock);
desc             1060 kernel/irq/manage.c 	__irq_wake_thread(desc, secondary);
desc             1061 kernel/irq/manage.c 	raw_spin_unlock_irq(&desc->lock);
desc             1071 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(action->irq);
desc             1072 kernel/irq/manage.c 	irqreturn_t (*handler_fn)(struct irq_desc *desc,
desc             1084 kernel/irq/manage.c 	irq_thread_check_affinity(desc, action);
desc             1089 kernel/irq/manage.c 		irq_thread_check_affinity(desc, action);
desc             1091 kernel/irq/manage.c 		action_ret = handler_fn(desc, action);
desc             1093 kernel/irq/manage.c 			irq_wake_secondary(desc, action);
desc             1095 kernel/irq/manage.c 		wake_threads_waitq(desc);
desc             1116 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             1120 kernel/irq/manage.c 	if (!desc || WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             1123 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             1124 kernel/irq/manage.c 	for_each_action_of_desc(desc, action) {
desc             1127 kernel/irq/manage.c 				__irq_wake_thread(desc, action);
desc             1131 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1174 kernel/irq/manage.c static int irq_request_resources(struct irq_desc *desc)
desc             1176 kernel/irq/manage.c 	struct irq_data *d = &desc->irq_data;
desc             1182 kernel/irq/manage.c static void irq_release_resources(struct irq_desc *desc)
desc             1184 kernel/irq/manage.c 	struct irq_data *d = &desc->irq_data;
desc             1191 kernel/irq/manage.c static bool irq_supports_nmi(struct irq_desc *desc)
desc             1193 kernel/irq/manage.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc             1207 kernel/irq/manage.c static int irq_nmi_setup(struct irq_desc *desc)
desc             1209 kernel/irq/manage.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc             1215 kernel/irq/manage.c static void irq_nmi_teardown(struct irq_desc *desc)
desc             1217 kernel/irq/manage.c 	struct irq_data *d = irq_desc_get_irq_data(desc);
desc             1280 kernel/irq/manage.c __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
desc             1286 kernel/irq/manage.c 	if (!desc)
desc             1289 kernel/irq/manage.c 	if (desc->irq_data.chip == &no_irq_chip)
desc             1291 kernel/irq/manage.c 	if (!try_module_get(desc->owner))
desc             1301 kernel/irq/manage.c 		new->flags |= irqd_get_trigger_type(&desc->irq_data);
desc             1307 kernel/irq/manage.c 	nested = irq_settings_is_nested_thread(desc);
desc             1320 kernel/irq/manage.c 		if (irq_settings_can_thread(desc)) {
desc             1352 kernel/irq/manage.c 	if (desc->irq_data.chip->flags & IRQCHIP_ONESHOT_SAFE)
desc             1362 kernel/irq/manage.c 	mutex_lock(&desc->request_mutex);
desc             1369 kernel/irq/manage.c 	chip_bus_lock(desc);
desc             1372 kernel/irq/manage.c 	if (!desc->action) {
desc             1373 kernel/irq/manage.c 		ret = irq_request_resources(desc);
desc             1376 kernel/irq/manage.c 			       new->name, irq, desc->irq_data.chip->name);
desc             1387 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             1388 kernel/irq/manage.c 	old_ptr = &desc->action;
desc             1401 kernel/irq/manage.c 		if (desc->istate & IRQS_NMI) {
desc             1403 kernel/irq/manage.c 				new->name, irq, desc->irq_data.chip->name);
desc             1412 kernel/irq/manage.c 		if (irqd_trigger_type_was_set(&desc->irq_data)) {
desc             1413 kernel/irq/manage.c 			oldtype = irqd_get_trigger_type(&desc->irq_data);
desc             1416 kernel/irq/manage.c 			irqd_set_trigger_type(&desc->irq_data, oldtype);
desc             1480 kernel/irq/manage.c 		   !(desc->irq_data.chip->flags & IRQCHIP_ONESHOT_SAFE)) {
desc             1503 kernel/irq/manage.c 		init_waitqueue_head(&desc->wait_for_threads);
desc             1507 kernel/irq/manage.c 			ret = __irq_set_trigger(desc,
desc             1525 kernel/irq/manage.c 		ret = irq_activate(desc);
desc             1529 kernel/irq/manage.c 		desc->istate &= ~(IRQS_AUTODETECT | IRQS_SPURIOUS_DISABLED | \
desc             1531 kernel/irq/manage.c 		irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
desc             1534 kernel/irq/manage.c 			irqd_set(&desc->irq_data, IRQD_PER_CPU);
desc             1535 kernel/irq/manage.c 			irq_settings_set_per_cpu(desc);
desc             1539 kernel/irq/manage.c 			desc->istate |= IRQS_ONESHOT;
desc             1543 kernel/irq/manage.c 			irq_settings_set_no_balancing(desc);
desc             1544 kernel/irq/manage.c 			irqd_set(&desc->irq_data, IRQD_NO_BALANCING);
desc             1547 kernel/irq/manage.c 		if (irq_settings_can_autoenable(desc)) {
desc             1548 kernel/irq/manage.c 			irq_startup(desc, IRQ_RESEND, IRQ_START_COND);
desc             1558 kernel/irq/manage.c 			desc->depth = 1;
desc             1563 kernel/irq/manage.c 		unsigned int omsk = irqd_get_trigger_type(&desc->irq_data);
desc             1573 kernel/irq/manage.c 	irq_pm_install_action(desc, new);
desc             1576 kernel/irq/manage.c 	desc->irq_count = 0;
desc             1577 kernel/irq/manage.c 	desc->irqs_unhandled = 0;
desc             1583 kernel/irq/manage.c 	if (shared && (desc->istate & IRQS_SPURIOUS_DISABLED)) {
desc             1584 kernel/irq/manage.c 		desc->istate &= ~IRQS_SPURIOUS_DISABLED;
desc             1585 kernel/irq/manage.c 		__enable_irq(desc);
desc             1588 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1589 kernel/irq/manage.c 	chip_bus_sync_unlock(desc);
desc             1590 kernel/irq/manage.c 	mutex_unlock(&desc->request_mutex);
desc             1592 kernel/irq/manage.c 	irq_setup_timings(desc, new);
desc             1603 kernel/irq/manage.c 	register_irq_proc(irq, desc);
desc             1619 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1621 kernel/irq/manage.c 	if (!desc->action)
desc             1622 kernel/irq/manage.c 		irq_release_resources(desc);
desc             1624 kernel/irq/manage.c 	chip_bus_sync_unlock(desc);
desc             1625 kernel/irq/manage.c 	mutex_unlock(&desc->request_mutex);
desc             1643 kernel/irq/manage.c 	module_put(desc->owner);
desc             1657 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             1659 kernel/irq/manage.c 	if (!desc || WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             1662 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             1666 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, act);
desc             1669 kernel/irq/manage.c 		irq_chip_pm_put(&desc->irq_data);
desc             1679 kernel/irq/manage.c static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id)
desc             1681 kernel/irq/manage.c 	unsigned irq = desc->irq_data.irq;
desc             1687 kernel/irq/manage.c 	mutex_lock(&desc->request_mutex);
desc             1688 kernel/irq/manage.c 	chip_bus_lock(desc);
desc             1689 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             1695 kernel/irq/manage.c 	action_ptr = &desc->action;
desc             1701 kernel/irq/manage.c 			raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1702 kernel/irq/manage.c 			chip_bus_sync_unlock(desc);
desc             1703 kernel/irq/manage.c 			mutex_unlock(&desc->request_mutex);
desc             1715 kernel/irq/manage.c 	irq_pm_remove_action(desc, action);
desc             1718 kernel/irq/manage.c 	if (!desc->action) {
desc             1719 kernel/irq/manage.c 		irq_settings_clr_disable_unlazy(desc);
desc             1721 kernel/irq/manage.c 		irq_shutdown(desc);
desc             1726 kernel/irq/manage.c 	if (WARN_ON_ONCE(desc->affinity_hint))
desc             1727 kernel/irq/manage.c 		desc->affinity_hint = NULL;
desc             1730 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1745 kernel/irq/manage.c 	chip_bus_sync_unlock(desc);
desc             1754 kernel/irq/manage.c 	__synchronize_hardirq(desc, true);
desc             1788 kernel/irq/manage.c 	if (!desc->action) {
desc             1793 kernel/irq/manage.c 		chip_bus_lock(desc);
desc             1798 kernel/irq/manage.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc             1799 kernel/irq/manage.c 		irq_domain_deactivate_irq(&desc->irq_data);
desc             1800 kernel/irq/manage.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1802 kernel/irq/manage.c 		irq_release_resources(desc);
desc             1803 kernel/irq/manage.c 		chip_bus_sync_unlock(desc);
desc             1804 kernel/irq/manage.c 		irq_remove_timings(desc);
desc             1807 kernel/irq/manage.c 	mutex_unlock(&desc->request_mutex);
desc             1809 kernel/irq/manage.c 	irq_chip_pm_put(&desc->irq_data);
desc             1810 kernel/irq/manage.c 	module_put(desc->owner);
desc             1824 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             1826 kernel/irq/manage.c 	if (desc && !WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             1827 kernel/irq/manage.c 		__free_irq(desc, act->dev_id);
desc             1849 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             1853 kernel/irq/manage.c 	if (!desc || WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             1857 kernel/irq/manage.c 	if (WARN_ON(desc->affinity_notify))
desc             1858 kernel/irq/manage.c 		desc->affinity_notify = NULL;
desc             1861 kernel/irq/manage.c 	action = __free_irq(desc, dev_id);
desc             1873 kernel/irq/manage.c static const void *__cleanup_nmi(unsigned int irq, struct irq_desc *desc)
desc             1877 kernel/irq/manage.c 	desc->istate &= ~IRQS_NMI;
desc             1879 kernel/irq/manage.c 	if (!WARN_ON(desc->action == NULL)) {
desc             1880 kernel/irq/manage.c 		irq_pm_remove_action(desc, desc->action);
desc             1881 kernel/irq/manage.c 		devname = desc->action->name;
desc             1882 kernel/irq/manage.c 		unregister_handler_proc(irq, desc->action);
desc             1884 kernel/irq/manage.c 		kfree(desc->action);
desc             1885 kernel/irq/manage.c 		desc->action = NULL;
desc             1888 kernel/irq/manage.c 	irq_settings_clr_disable_unlazy(desc);
desc             1889 kernel/irq/manage.c 	irq_shutdown_and_deactivate(desc);
desc             1891 kernel/irq/manage.c 	irq_release_resources(desc);
desc             1893 kernel/irq/manage.c 	irq_chip_pm_put(&desc->irq_data);
desc             1894 kernel/irq/manage.c 	module_put(desc->owner);
desc             1901 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             1905 kernel/irq/manage.c 	if (!desc || WARN_ON(!(desc->istate & IRQS_NMI)))
desc             1908 kernel/irq/manage.c 	if (WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             1912 kernel/irq/manage.c 	if (WARN_ON(desc->depth == 0))
desc             1915 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             1917 kernel/irq/manage.c 	irq_nmi_teardown(desc);
desc             1918 kernel/irq/manage.c 	devname = __cleanup_nmi(irq, desc);
desc             1920 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             1972 kernel/irq/manage.c 	struct irq_desc *desc;
desc             1992 kernel/irq/manage.c 	desc = irq_to_desc(irq);
desc             1993 kernel/irq/manage.c 	if (!desc)
desc             1996 kernel/irq/manage.c 	if (!irq_settings_can_request(desc) ||
desc             1997 kernel/irq/manage.c 	    WARN_ON(irq_settings_is_per_cpu_devid(desc)))
desc             2016 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             2022 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, action);
desc             2025 kernel/irq/manage.c 		irq_chip_pm_put(&desc->irq_data);
desc             2073 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2079 kernel/irq/manage.c 	desc = irq_to_desc(irq);
desc             2080 kernel/irq/manage.c 	if (!desc)
desc             2083 kernel/irq/manage.c 	if (irq_settings_is_nested_thread(desc)) {
desc             2124 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2141 kernel/irq/manage.c 	desc = irq_to_desc(irq);
desc             2143 kernel/irq/manage.c 	if (!desc || irq_settings_can_autoenable(desc) ||
desc             2144 kernel/irq/manage.c 	    !irq_settings_can_request(desc) ||
desc             2145 kernel/irq/manage.c 	    WARN_ON(irq_settings_is_per_cpu_devid(desc)) ||
desc             2146 kernel/irq/manage.c 	    !irq_supports_nmi(desc))
desc             2158 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             2162 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, action);
desc             2166 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             2169 kernel/irq/manage.c 	desc->istate |= IRQS_NMI;
desc             2170 kernel/irq/manage.c 	retval = irq_nmi_setup(desc);
desc             2172 kernel/irq/manage.c 		__cleanup_nmi(irq, desc);
desc             2173 kernel/irq/manage.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             2177 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             2182 kernel/irq/manage.c 	irq_chip_pm_put(&desc->irq_data);
desc             2193 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, IRQ_GET_DESC_CHECK_PERCPU);
desc             2195 kernel/irq/manage.c 	if (!desc)
desc             2204 kernel/irq/manage.c 		type = irqd_get_trigger_type(&desc->irq_data);
desc             2209 kernel/irq/manage.c 		ret = __irq_set_trigger(desc, type);
desc             2217 kernel/irq/manage.c 	irq_percpu_enable(desc, cpu);
desc             2219 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc             2238 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2242 kernel/irq/manage.c 	desc = irq_get_desc_lock(irq, &flags, IRQ_GET_DESC_CHECK_PERCPU);
desc             2243 kernel/irq/manage.c 	if (!desc)
desc             2246 kernel/irq/manage.c 	is_enabled = cpumask_test_cpu(cpu, desc->percpu_enabled);
desc             2247 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc             2257 kernel/irq/manage.c 	struct irq_desc *desc = irq_get_desc_lock(irq, &flags, IRQ_GET_DESC_CHECK_PERCPU);
desc             2259 kernel/irq/manage.c 	if (!desc)
desc             2262 kernel/irq/manage.c 	irq_percpu_disable(desc, cpu);
desc             2263 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc             2277 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             2283 kernel/irq/manage.c 	if (!desc)
desc             2286 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             2288 kernel/irq/manage.c 	action = desc->action;
desc             2294 kernel/irq/manage.c 	if (!cpumask_empty(desc->percpu_enabled)) {
desc             2296 kernel/irq/manage.c 		     irq, cpumask_first(desc->percpu_enabled));
desc             2301 kernel/irq/manage.c 	desc->action = NULL;
desc             2303 kernel/irq/manage.c 	desc->istate &= ~IRQS_NMI;
desc             2305 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             2309 kernel/irq/manage.c 	irq_chip_pm_put(&desc->irq_data);
desc             2310 kernel/irq/manage.c 	module_put(desc->owner);
desc             2314 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             2327 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             2329 kernel/irq/manage.c 	if (desc && irq_settings_is_per_cpu_devid(desc))
desc             2347 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             2349 kernel/irq/manage.c 	if (!desc || !irq_settings_is_per_cpu_devid(desc))
desc             2352 kernel/irq/manage.c 	chip_bus_lock(desc);
desc             2354 kernel/irq/manage.c 	chip_bus_sync_unlock(desc);
desc             2360 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             2362 kernel/irq/manage.c 	if (!desc || !irq_settings_is_per_cpu_devid(desc))
desc             2365 kernel/irq/manage.c 	if (WARN_ON(!(desc->istate & IRQS_NMI)))
desc             2380 kernel/irq/manage.c 	struct irq_desc *desc = irq_to_desc(irq);
desc             2383 kernel/irq/manage.c 	if (!desc || !irq_settings_is_per_cpu_devid(desc))
desc             2386 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             2390 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, act);
desc             2393 kernel/irq/manage.c 		irq_chip_pm_put(&desc->irq_data);
desc             2420 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2426 kernel/irq/manage.c 	desc = irq_to_desc(irq);
desc             2427 kernel/irq/manage.c 	if (!desc || !irq_settings_can_request(desc) ||
desc             2428 kernel/irq/manage.c 	    !irq_settings_is_per_cpu_devid(desc))
desc             2443 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             2449 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, action);
desc             2452 kernel/irq/manage.c 		irq_chip_pm_put(&desc->irq_data);
desc             2485 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2492 kernel/irq/manage.c 	desc = irq_to_desc(irq);
desc             2494 kernel/irq/manage.c 	if (!desc || !irq_settings_can_request(desc) ||
desc             2495 kernel/irq/manage.c 	    !irq_settings_is_per_cpu_devid(desc) ||
desc             2496 kernel/irq/manage.c 	    irq_settings_can_autoenable(desc) ||
desc             2497 kernel/irq/manage.c 	    !irq_supports_nmi(desc))
desc             2501 kernel/irq/manage.c 	if (desc->istate & IRQS_NMI)
desc             2514 kernel/irq/manage.c 	retval = irq_chip_pm_get(&desc->irq_data);
desc             2518 kernel/irq/manage.c 	retval = __setup_irq(irq, desc, action);
desc             2522 kernel/irq/manage.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc             2523 kernel/irq/manage.c 	desc->istate |= IRQS_NMI;
desc             2524 kernel/irq/manage.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc             2529 kernel/irq/manage.c 	irq_chip_pm_put(&desc->irq_data);
desc             2552 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2557 kernel/irq/manage.c 	desc = irq_get_desc_lock(irq, &flags,
desc             2559 kernel/irq/manage.c 	if (!desc)
desc             2562 kernel/irq/manage.c 	if (WARN(!(desc->istate & IRQS_NMI),
desc             2569 kernel/irq/manage.c 	ret = irq_nmi_setup(desc);
desc             2576 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc             2595 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2599 kernel/irq/manage.c 	desc = irq_get_desc_lock(irq, &flags,
desc             2601 kernel/irq/manage.c 	if (!desc)
desc             2604 kernel/irq/manage.c 	if (WARN_ON(!(desc->istate & IRQS_NMI)))
desc             2607 kernel/irq/manage.c 	irq_nmi_teardown(desc);
desc             2609 kernel/irq/manage.c 	irq_put_desc_unlock(desc, flags);
desc             2650 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2655 kernel/irq/manage.c 	desc = irq_get_desc_buslock(irq, &flags, 0);
desc             2656 kernel/irq/manage.c 	if (!desc)
desc             2659 kernel/irq/manage.c 	data = irq_desc_get_irq_data(desc);
desc             2663 kernel/irq/manage.c 	irq_put_desc_busunlock(desc, flags);
desc             2683 kernel/irq/manage.c 	struct irq_desc *desc;
desc             2689 kernel/irq/manage.c 	desc = irq_get_desc_buslock(irq, &flags, 0);
desc             2690 kernel/irq/manage.c 	if (!desc)
desc             2693 kernel/irq/manage.c 	data = irq_desc_get_irq_data(desc);
desc             2709 kernel/irq/manage.c 	irq_put_desc_busunlock(desc, flags);
desc               18 kernel/irq/migration.c bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear)
desc               20 kernel/irq/migration.c 	struct irq_data *data = irq_desc_get_irq_data(desc);
desc               29 kernel/irq/migration.c 	if (cpumask_any_and(desc->pending_mask, cpu_online_mask) >= nr_cpu_ids) {
desc               40 kernel/irq/migration.c 	struct irq_desc *desc = irq_data_to_desc(idata);
desc               41 kernel/irq/migration.c 	struct irq_data *data = &desc->irq_data;
desc               57 kernel/irq/migration.c 	if (unlikely(cpumask_empty(desc->pending_mask)))
desc               63 kernel/irq/migration.c 	assert_raw_spin_locked(&desc->lock);
desc               77 kernel/irq/migration.c 	if (cpumask_any_and(desc->pending_mask, cpu_online_mask) < nr_cpu_ids) {
desc               80 kernel/irq/migration.c 		ret = irq_do_set_affinity(data, desc->pending_mask, false);
desc               91 kernel/irq/migration.c 	cpumask_clear(desc->pending_mask);
desc               32 kernel/irq/msi.c 	struct msi_desc *desc;
desc               34 kernel/irq/msi.c 	desc = kzalloc(sizeof(*desc), GFP_KERNEL);
desc               35 kernel/irq/msi.c 	if (!desc)
desc               38 kernel/irq/msi.c 	INIT_LIST_HEAD(&desc->list);
desc               39 kernel/irq/msi.c 	desc->dev = dev;
desc               40 kernel/irq/msi.c 	desc->nvec_used = nvec;
desc               42 kernel/irq/msi.c 		desc->affinity = kmemdup(affinity,
desc               43 kernel/irq/msi.c 			nvec * sizeof(*desc->affinity), GFP_KERNEL);
desc               44 kernel/irq/msi.c 		if (!desc->affinity) {
desc               45 kernel/irq/msi.c 			kfree(desc);
desc               50 kernel/irq/msi.c 	return desc;
desc              205 kernel/irq/msi.c 				    struct msi_desc *desc)
desc              207 kernel/irq/msi.c 	arg->desc = desc;
desc              320 kernel/irq/msi.c 	struct msi_desc *desc;
desc              323 kernel/irq/msi.c 	for_each_msi_entry(desc, dev) {
desc              325 kernel/irq/msi.c 		if (WARN_ON(!desc->irq || desc->nvec_used != 1)) {
desc              330 kernel/irq/msi.c 		if (!(desc->irq >= virq && desc->irq < (virq + nvec)))
desc              333 kernel/irq/msi.c 		ops->set_desc(arg, desc);
desc              335 kernel/irq/msi.c 		ret = irq_domain_alloc_irqs_hierarchy(domain, desc->irq, 1,
desc              340 kernel/irq/msi.c 		irq_set_msi_desc_off(desc->irq, 0, desc);
desc              345 kernel/irq/msi.c 		for_each_msi_entry(desc, dev) {
desc              346 kernel/irq/msi.c 			if (!(desc->irq >= virq && desc->irq < (virq + nvec)))
desc              349 kernel/irq/msi.c 			irq_domain_free_irqs_common(domain, desc->irq, 1);
desc              371 kernel/irq/msi.c 	struct msi_desc *desc;
desc              386 kernel/irq/msi.c 	desc = first_msi_entry(dev);
desc              387 kernel/irq/msi.c 	return desc->msi_attrib.is_msix || desc->msi_attrib.maskbit;
desc              405 kernel/irq/msi.c 	struct msi_desc *desc;
desc              414 kernel/irq/msi.c 	for_each_msi_entry(desc, dev) {
desc              415 kernel/irq/msi.c 		ops->set_desc(&arg, desc);
desc              417 kernel/irq/msi.c 		virq = __irq_domain_alloc_irqs(domain, -1, desc->nvec_used,
desc              419 kernel/irq/msi.c 					       desc->affinity);
desc              423 kernel/irq/msi.c 				ret = ops->handle_error(domain, desc, ret);
desc              429 kernel/irq/msi.c 		for (i = 0; i < desc->nvec_used; i++) {
desc              430 kernel/irq/msi.c 			irq_set_msi_desc_off(virq, i, desc);
desc              440 kernel/irq/msi.c 	for_each_msi_entry(desc, dev) {
desc              441 kernel/irq/msi.c 		virq = desc->irq;
desc              442 kernel/irq/msi.c 		if (desc->nvec_used == 1)
desc              446 kernel/irq/msi.c 				virq, virq + desc->nvec_used - 1);
desc              455 kernel/irq/msi.c 		irq_data = irq_domain_get_irq_data(domain, desc->irq);
desc              471 kernel/irq/msi.c 		for_each_msi_entry(desc, dev) {
desc              472 kernel/irq/msi.c 			irq_data = irq_domain_get_irq_data(domain, desc->irq);
desc              479 kernel/irq/msi.c 	for_each_msi_entry(desc, dev) {
desc              482 kernel/irq/msi.c 		if (desc->irq == virq)
desc              485 kernel/irq/msi.c 		irqd = irq_domain_get_irq_data(domain, desc->irq);
desc              501 kernel/irq/msi.c 	struct msi_desc *desc;
desc              503 kernel/irq/msi.c 	for_each_msi_entry(desc, dev) {
desc              509 kernel/irq/msi.c 		if (desc->irq) {
desc              510 kernel/irq/msi.c 			irq_domain_free_irqs(desc->irq, desc->nvec_used);
desc              511 kernel/irq/msi.c 			desc->irq = 0;
desc               16 kernel/irq/pm.c bool irq_pm_check_wakeup(struct irq_desc *desc)
desc               18 kernel/irq/pm.c 	if (irqd_is_wakeup_armed(&desc->irq_data)) {
desc               19 kernel/irq/pm.c 		irqd_clear(&desc->irq_data, IRQD_WAKEUP_ARMED);
desc               20 kernel/irq/pm.c 		desc->istate |= IRQS_SUSPENDED | IRQS_PENDING;
desc               21 kernel/irq/pm.c 		desc->depth++;
desc               22 kernel/irq/pm.c 		irq_disable(desc);
desc               23 kernel/irq/pm.c 		pm_system_irq_wakeup(irq_desc_get_irq(desc));
desc               33 kernel/irq/pm.c void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action)
desc               35 kernel/irq/pm.c 	desc->nr_actions++;
desc               38 kernel/irq/pm.c 		desc->force_resume_depth++;
desc               40 kernel/irq/pm.c 	WARN_ON_ONCE(desc->force_resume_depth &&
desc               41 kernel/irq/pm.c 		     desc->force_resume_depth != desc->nr_actions);
desc               44 kernel/irq/pm.c 		desc->no_suspend_depth++;
desc               46 kernel/irq/pm.c 		desc->cond_suspend_depth++;
desc               48 kernel/irq/pm.c 	WARN_ON_ONCE(desc->no_suspend_depth &&
desc               49 kernel/irq/pm.c 		     (desc->no_suspend_depth +
desc               50 kernel/irq/pm.c 			desc->cond_suspend_depth) != desc->nr_actions);
desc               57 kernel/irq/pm.c void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action)
desc               59 kernel/irq/pm.c 	desc->nr_actions--;
desc               62 kernel/irq/pm.c 		desc->force_resume_depth--;
desc               65 kernel/irq/pm.c 		desc->no_suspend_depth--;
desc               67 kernel/irq/pm.c 		desc->cond_suspend_depth--;
desc               70 kernel/irq/pm.c static bool suspend_device_irq(struct irq_desc *desc)
desc               72 kernel/irq/pm.c 	if (!desc->action || irq_desc_is_chained(desc) ||
desc               73 kernel/irq/pm.c 	    desc->no_suspend_depth)
desc               76 kernel/irq/pm.c 	if (irqd_is_wakeup_set(&desc->irq_data)) {
desc               77 kernel/irq/pm.c 		irqd_set(&desc->irq_data, IRQD_WAKEUP_ARMED);
desc               87 kernel/irq/pm.c 	desc->istate |= IRQS_SUSPENDED;
desc               88 kernel/irq/pm.c 	__disable_irq(desc);
desc               96 kernel/irq/pm.c 	if (irq_desc_get_chip(desc)->flags & IRQCHIP_MASK_ON_SUSPEND)
desc               97 kernel/irq/pm.c 		mask_irq(desc);
desc              119 kernel/irq/pm.c 	struct irq_desc *desc;
desc              122 kernel/irq/pm.c 	for_each_irq_desc(irq, desc) {
desc              126 kernel/irq/pm.c 		if (irq_settings_is_nested_thread(desc))
desc              128 kernel/irq/pm.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              129 kernel/irq/pm.c 		sync = suspend_device_irq(desc);
desc              130 kernel/irq/pm.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              138 kernel/irq/pm.c static void resume_irq(struct irq_desc *desc)
desc              140 kernel/irq/pm.c 	irqd_clear(&desc->irq_data, IRQD_WAKEUP_ARMED);
desc              142 kernel/irq/pm.c 	if (desc->istate & IRQS_SUSPENDED)
desc              146 kernel/irq/pm.c 	if (!desc->force_resume_depth)
desc              150 kernel/irq/pm.c 	desc->depth++;
desc              151 kernel/irq/pm.c 	irq_state_set_disabled(desc);
desc              152 kernel/irq/pm.c 	irq_state_set_masked(desc);
desc              154 kernel/irq/pm.c 	desc->istate &= ~IRQS_SUSPENDED;
desc              155 kernel/irq/pm.c 	__enable_irq(desc);
desc              160 kernel/irq/pm.c 	struct irq_desc *desc;
desc              163 kernel/irq/pm.c 	for_each_irq_desc(irq, desc) {
desc              165 kernel/irq/pm.c 		bool is_early = desc->action &&
desc              166 kernel/irq/pm.c 			desc->action->flags & IRQF_EARLY_RESUME;
desc              170 kernel/irq/pm.c 		if (irq_settings_is_nested_thread(desc))
desc              173 kernel/irq/pm.c 		raw_spin_lock_irqsave(&desc->lock, flags);
desc              174 kernel/irq/pm.c 		resume_irq(desc);
desc              175 kernel/irq/pm.c 		raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              186 kernel/irq/pm.c 	struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL);
desc              188 kernel/irq/pm.c 	if (!desc || !(desc->istate & IRQS_SUSPENDED) ||
desc              189 kernel/irq/pm.c 	    !irqd_is_wakeup_set(&desc->irq_data))
desc              192 kernel/irq/pm.c 	desc->istate &= ~IRQS_SUSPENDED;
desc              193 kernel/irq/pm.c 	irqd_set(&desc->irq_data, IRQD_WAKEUP_ARMED);
desc              194 kernel/irq/pm.c 	__enable_irq(desc);
desc              196 kernel/irq/pm.c 	irq_put_desc_busunlock(desc, flags);
desc               48 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc((long)m->private);
desc               54 kernel/irq/proc.c 		mask = desc->irq_common_data.affinity;
desc               56 kernel/irq/proc.c 		if (irqd_is_setaffinity_pending(&desc->irq_data))
desc               57 kernel/irq/proc.c 			mask = desc->pending_mask;
desc               63 kernel/irq/proc.c 		mask = irq_data_get_effective_affinity_mask(&desc->irq_data);
desc               85 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc((long)m->private);
desc               92 kernel/irq/proc.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc               93 kernel/irq/proc.c 	if (desc->affinity_hint)
desc               94 kernel/irq/proc.c 		cpumask_copy(mask, desc->affinity_hint);
desc               95 kernel/irq/proc.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              281 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc((long) m->private);
desc              283 kernel/irq/proc.c 	seq_printf(m, "%d\n", irq_desc_get_node(desc));
desc              290 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc((long) m->private);
desc              293 kernel/irq/proc.c 		   desc->irq_count, desc->irqs_unhandled,
desc              294 kernel/irq/proc.c 		   jiffies_to_msecs(desc->last_unhandled));
desc              302 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              307 kernel/irq/proc.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              308 kernel/irq/proc.c 	for_each_action_of_desc(desc, action) {
desc              315 kernel/irq/proc.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              322 kernel/irq/proc.c 	struct irq_desc *desc = irq_to_desc(irq);
desc              324 kernel/irq/proc.c 	if (!desc->dir || action->dir || !action->name ||
desc              331 kernel/irq/proc.c 	action->dir = proc_mkdir(name, desc->dir);
desc              338 kernel/irq/proc.c void register_irq_proc(unsigned int irq, struct irq_desc *desc)
desc              344 kernel/irq/proc.c 	if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip))
desc              354 kernel/irq/proc.c 	if (desc->dir)
desc              360 kernel/irq/proc.c 	desc->dir = proc_mkdir(name, root_irq_dir);
desc              361 kernel/irq/proc.c 	if (!desc->dir)
desc              366 kernel/irq/proc.c 	proc_create_data("smp_affinity", 0644, desc->dir,
desc              370 kernel/irq/proc.c 	proc_create_single_data("affinity_hint", 0444, desc->dir,
desc              374 kernel/irq/proc.c 	proc_create_data("smp_affinity_list", 0644, desc->dir,
desc              377 kernel/irq/proc.c 	proc_create_single_data("node", 0444, desc->dir, irq_node_proc_show,
desc              380 kernel/irq/proc.c 	proc_create_single_data("effective_affinity", 0444, desc->dir,
desc              382 kernel/irq/proc.c 	proc_create_single_data("effective_affinity_list", 0444, desc->dir,
desc              386 kernel/irq/proc.c 	proc_create_single_data("spurious", 0444, desc->dir,
desc              393 kernel/irq/proc.c void unregister_irq_proc(unsigned int irq, struct irq_desc *desc)
desc              397 kernel/irq/proc.c 	if (!root_irq_dir || !desc->dir)
desc              400 kernel/irq/proc.c 	remove_proc_entry("smp_affinity", desc->dir);
desc              401 kernel/irq/proc.c 	remove_proc_entry("affinity_hint", desc->dir);
desc              402 kernel/irq/proc.c 	remove_proc_entry("smp_affinity_list", desc->dir);
desc              403 kernel/irq/proc.c 	remove_proc_entry("node", desc->dir);
desc              405 kernel/irq/proc.c 	remove_proc_entry("effective_affinity", desc->dir);
desc              406 kernel/irq/proc.c 	remove_proc_entry("effective_affinity_list", desc->dir);
desc              409 kernel/irq/proc.c 	remove_proc_entry("spurious", desc->dir);
desc              433 kernel/irq/proc.c 	struct irq_desc *desc;
desc              445 kernel/irq/proc.c 	for_each_irq_desc(irq, desc)
desc              446 kernel/irq/proc.c 		register_irq_proc(irq, desc);
desc              467 kernel/irq/proc.c 	struct irq_desc *desc;
desc              487 kernel/irq/proc.c 	desc = irq_to_desc(i);
desc              488 kernel/irq/proc.c 	if (!desc)
desc              491 kernel/irq/proc.c 	if (desc->kstat_irqs)
desc              493 kernel/irq/proc.c 			any_count |= *per_cpu_ptr(desc->kstat_irqs, j);
desc              495 kernel/irq/proc.c 	if ((!desc->action || irq_desc_is_chained(desc)) && !any_count)
desc              500 kernel/irq/proc.c 		seq_printf(p, "%10u ", desc->kstat_irqs ?
desc              501 kernel/irq/proc.c 					*per_cpu_ptr(desc->kstat_irqs, j) : 0);
desc              503 kernel/irq/proc.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              504 kernel/irq/proc.c 	if (desc->irq_data.chip) {
desc              505 kernel/irq/proc.c 		if (desc->irq_data.chip->irq_print_chip)
desc              506 kernel/irq/proc.c 			desc->irq_data.chip->irq_print_chip(&desc->irq_data, p);
desc              507 kernel/irq/proc.c 		else if (desc->irq_data.chip->name)
desc              508 kernel/irq/proc.c 			seq_printf(p, " %8s", desc->irq_data.chip->name);
desc              514 kernel/irq/proc.c 	if (desc->irq_data.domain)
desc              515 kernel/irq/proc.c 		seq_printf(p, " %*d", prec, (int) desc->irq_data.hwirq);
desc              519 kernel/irq/proc.c 	seq_printf(p, " %-8s", irqd_is_level_type(&desc->irq_data) ? "Level" : "Edge");
desc              521 kernel/irq/proc.c 	if (desc->name)
desc              522 kernel/irq/proc.c 		seq_printf(p, "-%-8s", desc->name);
desc              524 kernel/irq/proc.c 	action = desc->action;
desc              532 kernel/irq/proc.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc               32 kernel/irq/resend.c 	struct irq_desc *desc;
desc               38 kernel/irq/resend.c 		desc = irq_to_desc(irq);
desc               39 kernel/irq/resend.c 		if (!desc)
desc               42 kernel/irq/resend.c 		desc->handle_irq(desc);
desc               57 kernel/irq/resend.c void check_irq_resend(struct irq_desc *desc)
desc               65 kernel/irq/resend.c 	if (irq_settings_is_level(desc)) {
desc               66 kernel/irq/resend.c 		desc->istate &= ~IRQS_PENDING;
desc               69 kernel/irq/resend.c 	if (desc->istate & IRQS_REPLAY)
desc               71 kernel/irq/resend.c 	if (desc->istate & IRQS_PENDING) {
desc               72 kernel/irq/resend.c 		desc->istate &= ~IRQS_PENDING;
desc               73 kernel/irq/resend.c 		desc->istate |= IRQS_REPLAY;
desc               75 kernel/irq/resend.c 		if (!desc->irq_data.chip->irq_retrigger ||
desc               76 kernel/irq/resend.c 		    !desc->irq_data.chip->irq_retrigger(&desc->irq_data)) {
desc               78 kernel/irq/resend.c 			unsigned int irq = irq_desc_get_irq(desc);
desc               86 kernel/irq/resend.c 			if (irq_settings_is_nested_thread(desc)) {
desc               92 kernel/irq/resend.c 				if (!desc->parent_irq)
desc               94 kernel/irq/resend.c 				irq = desc->parent_irq;
desc               38 kernel/irq/settings.h irq_settings_clr_and_set(struct irq_desc *desc, u32 clr, u32 set)
desc               40 kernel/irq/settings.h 	desc->status_use_accessors &= ~(clr & _IRQF_MODIFY_MASK);
desc               41 kernel/irq/settings.h 	desc->status_use_accessors |= (set & _IRQF_MODIFY_MASK);
desc               44 kernel/irq/settings.h static inline bool irq_settings_is_per_cpu(struct irq_desc *desc)
desc               46 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_PER_CPU;
desc               49 kernel/irq/settings.h static inline bool irq_settings_is_per_cpu_devid(struct irq_desc *desc)
desc               51 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_PER_CPU_DEVID;
desc               54 kernel/irq/settings.h static inline void irq_settings_set_per_cpu(struct irq_desc *desc)
desc               56 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_PER_CPU;
desc               59 kernel/irq/settings.h static inline void irq_settings_set_no_balancing(struct irq_desc *desc)
desc               61 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_NO_BALANCING;
desc               64 kernel/irq/settings.h static inline bool irq_settings_has_no_balance_set(struct irq_desc *desc)
desc               66 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_NO_BALANCING;
desc               69 kernel/irq/settings.h static inline u32 irq_settings_get_trigger_mask(struct irq_desc *desc)
desc               71 kernel/irq/settings.h 	return desc->status_use_accessors & IRQ_TYPE_SENSE_MASK;
desc               75 kernel/irq/settings.h irq_settings_set_trigger_mask(struct irq_desc *desc, u32 mask)
desc               77 kernel/irq/settings.h 	desc->status_use_accessors &= ~IRQ_TYPE_SENSE_MASK;
desc               78 kernel/irq/settings.h 	desc->status_use_accessors |= mask & IRQ_TYPE_SENSE_MASK;
desc               81 kernel/irq/settings.h static inline bool irq_settings_is_level(struct irq_desc *desc)
desc               83 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_LEVEL;
desc               86 kernel/irq/settings.h static inline void irq_settings_clr_level(struct irq_desc *desc)
desc               88 kernel/irq/settings.h 	desc->status_use_accessors &= ~_IRQ_LEVEL;
desc               91 kernel/irq/settings.h static inline void irq_settings_set_level(struct irq_desc *desc)
desc               93 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_LEVEL;
desc               96 kernel/irq/settings.h static inline bool irq_settings_can_request(struct irq_desc *desc)
desc               98 kernel/irq/settings.h 	return !(desc->status_use_accessors & _IRQ_NOREQUEST);
desc              101 kernel/irq/settings.h static inline void irq_settings_clr_norequest(struct irq_desc *desc)
desc              103 kernel/irq/settings.h 	desc->status_use_accessors &= ~_IRQ_NOREQUEST;
desc              106 kernel/irq/settings.h static inline void irq_settings_set_norequest(struct irq_desc *desc)
desc              108 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_NOREQUEST;
desc              111 kernel/irq/settings.h static inline bool irq_settings_can_thread(struct irq_desc *desc)
desc              113 kernel/irq/settings.h 	return !(desc->status_use_accessors & _IRQ_NOTHREAD);
desc              116 kernel/irq/settings.h static inline void irq_settings_clr_nothread(struct irq_desc *desc)
desc              118 kernel/irq/settings.h 	desc->status_use_accessors &= ~_IRQ_NOTHREAD;
desc              121 kernel/irq/settings.h static inline void irq_settings_set_nothread(struct irq_desc *desc)
desc              123 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_NOTHREAD;
desc              126 kernel/irq/settings.h static inline bool irq_settings_can_probe(struct irq_desc *desc)
desc              128 kernel/irq/settings.h 	return !(desc->status_use_accessors & _IRQ_NOPROBE);
desc              131 kernel/irq/settings.h static inline void irq_settings_clr_noprobe(struct irq_desc *desc)
desc              133 kernel/irq/settings.h 	desc->status_use_accessors &= ~_IRQ_NOPROBE;
desc              136 kernel/irq/settings.h static inline void irq_settings_set_noprobe(struct irq_desc *desc)
desc              138 kernel/irq/settings.h 	desc->status_use_accessors |= _IRQ_NOPROBE;
desc              141 kernel/irq/settings.h static inline bool irq_settings_can_move_pcntxt(struct irq_desc *desc)
desc              143 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_MOVE_PCNTXT;
desc              146 kernel/irq/settings.h static inline bool irq_settings_can_autoenable(struct irq_desc *desc)
desc              148 kernel/irq/settings.h 	return !(desc->status_use_accessors & _IRQ_NOAUTOEN);
desc              151 kernel/irq/settings.h static inline bool irq_settings_is_nested_thread(struct irq_desc *desc)
desc              153 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_NESTED_THREAD;
desc              156 kernel/irq/settings.h static inline bool irq_settings_is_polled(struct irq_desc *desc)
desc              158 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_IS_POLLED;
desc              161 kernel/irq/settings.h static inline bool irq_settings_disable_unlazy(struct irq_desc *desc)
desc              163 kernel/irq/settings.h 	return desc->status_use_accessors & _IRQ_DISABLE_UNLAZY;
desc              166 kernel/irq/settings.h static inline void irq_settings_clr_disable_unlazy(struct irq_desc *desc)
desc              168 kernel/irq/settings.h 	desc->status_use_accessors &= ~_IRQ_DISABLE_UNLAZY;
desc               36 kernel/irq/spurious.c bool irq_wait_for_poll(struct irq_desc *desc)
desc               40 kernel/irq/spurious.c 		      smp_processor_id(), desc->irq_data.irq))
desc               45 kernel/irq/spurious.c 		raw_spin_unlock(&desc->lock);
desc               46 kernel/irq/spurious.c 		while (irqd_irq_inprogress(&desc->irq_data))
desc               48 kernel/irq/spurious.c 		raw_spin_lock(&desc->lock);
desc               49 kernel/irq/spurious.c 	} while (irqd_irq_inprogress(&desc->irq_data));
desc               51 kernel/irq/spurious.c 	return !irqd_irq_disabled(&desc->irq_data) && desc->action;
desc               61 kernel/irq/spurious.c static int try_one_irq(struct irq_desc *desc, bool force)
desc               66 kernel/irq/spurious.c 	raw_spin_lock(&desc->lock);
desc               72 kernel/irq/spurious.c 	if (irq_settings_is_per_cpu(desc) ||
desc               73 kernel/irq/spurious.c 	    irq_settings_is_nested_thread(desc) ||
desc               74 kernel/irq/spurious.c 	    irq_settings_is_polled(desc))
desc               81 kernel/irq/spurious.c 	if (irqd_irq_disabled(&desc->irq_data) && !force)
desc               88 kernel/irq/spurious.c 	action = desc->action;
desc               94 kernel/irq/spurious.c 	if (irqd_irq_inprogress(&desc->irq_data)) {
desc               99 kernel/irq/spurious.c 		desc->istate |= IRQS_PENDING;
desc              104 kernel/irq/spurious.c 	desc->istate |= IRQS_POLL_INPROGRESS;
desc              106 kernel/irq/spurious.c 		if (handle_irq_event(desc) == IRQ_HANDLED)
desc              109 kernel/irq/spurious.c 		action = desc->action;
desc              110 kernel/irq/spurious.c 	} while ((desc->istate & IRQS_PENDING) && action);
desc              111 kernel/irq/spurious.c 	desc->istate &= ~IRQS_POLL_INPROGRESS;
desc              113 kernel/irq/spurious.c 	raw_spin_unlock(&desc->lock);
desc              119 kernel/irq/spurious.c 	struct irq_desc *desc;
desc              127 kernel/irq/spurious.c 	for_each_irq_desc(i, desc) {
desc              134 kernel/irq/spurious.c 		if (try_one_irq(desc, false))
desc              145 kernel/irq/spurious.c 	struct irq_desc *desc;
desc              152 kernel/irq/spurious.c 	for_each_irq_desc(i, desc) {
desc              159 kernel/irq/spurious.c 		state = desc->istate;
desc              165 kernel/irq/spurious.c 		try_one_irq(desc, true);
desc              191 kernel/irq/spurious.c static void __report_bad_irq(struct irq_desc *desc, irqreturn_t action_ret)
desc              193 kernel/irq/spurious.c 	unsigned int irq = irq_desc_get_irq(desc);
desc              213 kernel/irq/spurious.c 	raw_spin_lock_irqsave(&desc->lock, flags);
desc              214 kernel/irq/spurious.c 	for_each_action_of_desc(desc, action) {
desc              221 kernel/irq/spurious.c 	raw_spin_unlock_irqrestore(&desc->lock, flags);
desc              224 kernel/irq/spurious.c static void report_bad_irq(struct irq_desc *desc, irqreturn_t action_ret)
desc              230 kernel/irq/spurious.c 		__report_bad_irq(desc, action_ret);
desc              235 kernel/irq/spurious.c try_misrouted_irq(unsigned int irq, struct irq_desc *desc,
desc              264 kernel/irq/spurious.c 	action = desc->action;
desc              271 kernel/irq/spurious.c void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret)
desc              275 kernel/irq/spurious.c 	if (desc->istate & IRQS_POLL_INPROGRESS ||
desc              276 kernel/irq/spurious.c 	    irq_settings_is_polled(desc))
desc              280 kernel/irq/spurious.c 		report_bad_irq(desc, action_ret);
desc              321 kernel/irq/spurious.c 			if (!(desc->threads_handled_last & SPURIOUS_DEFERRED)) {
desc              322 kernel/irq/spurious.c 				desc->threads_handled_last |= SPURIOUS_DEFERRED;
desc              337 kernel/irq/spurious.c 			handled = atomic_read(&desc->threads_handled);
desc              339 kernel/irq/spurious.c 			if (handled != desc->threads_handled_last) {
desc              349 kernel/irq/spurious.c 				desc->threads_handled_last = handled;
desc              380 kernel/irq/spurious.c 			desc->threads_handled_last &= ~SPURIOUS_DEFERRED;
desc              391 kernel/irq/spurious.c 		if (time_after(jiffies, desc->last_unhandled + HZ/10))
desc              392 kernel/irq/spurious.c 			desc->irqs_unhandled = 1;
desc              394 kernel/irq/spurious.c 			desc->irqs_unhandled++;
desc              395 kernel/irq/spurious.c 		desc->last_unhandled = jiffies;
desc              398 kernel/irq/spurious.c 	irq = irq_desc_get_irq(desc);
desc              399 kernel/irq/spurious.c 	if (unlikely(try_misrouted_irq(irq, desc, action_ret))) {
desc              402 kernel/irq/spurious.c 			desc->irqs_unhandled -= ok;
desc              405 kernel/irq/spurious.c 	desc->irq_count++;
desc              406 kernel/irq/spurious.c 	if (likely(desc->irq_count < 100000))
desc              409 kernel/irq/spurious.c 	desc->irq_count = 0;
desc              410 kernel/irq/spurious.c 	if (unlikely(desc->irqs_unhandled > 99900)) {
desc              414 kernel/irq/spurious.c 		__report_bad_irq(desc, action_ret);
desc              419 kernel/irq/spurious.c 		desc->istate |= IRQS_SPURIOUS_DISABLED;
desc              420 kernel/irq/spurious.c 		desc->depth++;
desc              421 kernel/irq/spurious.c 		irq_disable(desc);
desc              426 kernel/irq/spurious.c 	desc->irqs_unhandled = 0;
desc               63 kernel/kexec_core.c 	.desc  = IORES_DESC_CRASH_KERNEL
desc               70 kernel/kexec_core.c 	.desc  = IORES_DESC_CRASH_KERNEL
desc              619 kernel/kexec_file.c 		return walk_iomem_res_desc(crashk_res.desc,
desc              709 kernel/kexec_file.c 	struct shash_desc *desc;
desc              729 kernel/kexec_file.c 	desc_size = crypto_shash_descsize(tfm) + sizeof(*desc);
desc              730 kernel/kexec_file.c 	desc = kzalloc(desc_size, GFP_KERNEL);
desc              731 kernel/kexec_file.c 	if (!desc) {
desc              741 kernel/kexec_file.c 	desc->tfm   = tfm;
desc              743 kernel/kexec_file.c 	ret = crypto_shash_init(desc);
desc              764 kernel/kexec_file.c 		ret = crypto_shash_update(desc, ksegment->kbuf,
desc              779 kernel/kexec_file.c 			ret = crypto_shash_update(desc, zero_buf, bytes);
desc              794 kernel/kexec_file.c 		ret = crypto_shash_final(desc, digest);
desc              813 kernel/kexec_file.c 	kfree(desc);
desc              342 kernel/resource.c 			       unsigned long flags, unsigned long desc,
desc              376 kernel/resource.c 		if ((desc != IORES_DESC_NONE) && (desc != p->desc))
desc              388 kernel/resource.c 		res->desc = p->desc;
desc              396 kernel/resource.c 				 unsigned long flags, unsigned long desc,
desc              404 kernel/resource.c 	       !find_next_iomem_res(start, end, flags, desc, first_lvl, &res)) {
desc              431 kernel/resource.c int walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start,
desc              434 kernel/resource.c 	return __walk_iomem_res_desc(start, end, flags, desc, false, arg, func);
desc              537 kernel/resource.c 		      unsigned long desc)
desc              549 kernel/resource.c 				((desc == IORES_DESC_NONE) ||
desc              550 kernel/resource.c 				 (desc == p->desc)));
desc             1011 kernel/resource.c 	res->desc = IORES_DESC_NONE;
desc             1046 kernel/resource.c 				next_res->desc = IORES_DESC_NONE;
desc             1144 kernel/resource.c 		res->desc = parent->desc;
desc             1154 kernel/resource.c 		if (conflict->desc == IORES_DESC_DEVICE_PRIVATE_MEMORY) {
desc             1329 kernel/resource.c 			new_res->desc = res->desc;
desc             1518 kernel/resource.c 			res->desc = IORES_DESC_NONE;
desc             1668 kernel/resource.c 		res->desc = IORES_DESC_DEVICE_PRIVATE_MEMORY;
desc             2214 kernel/workqueue.c 	strscpy(worker->desc, pwq->wq->name, WORKER_DESC_LEN);
desc             4577 kernel/workqueue.c 		vsnprintf(worker->desc, sizeof(worker->desc), fmt, args);
desc             4600 kernel/workqueue.c 	char desc[WORKER_DESC_LEN] = { };
desc             4622 kernel/workqueue.c 	probe_kernel_read(desc, worker->desc, sizeof(desc) - 1);
desc             4624 kernel/workqueue.c 	if (fn || name[0] || desc[0]) {
desc             4626 kernel/workqueue.c 		if (strcmp(name, desc))
desc             4627 kernel/workqueue.c 			pr_cont(" (%s)", desc);
desc             4831 kernel/workqueue.c 			if (worker->desc[0] != '\0') {
desc             4834 kernel/workqueue.c 						  worker->desc);
desc             4837 kernel/workqueue.c 						  worker->desc);
desc               53 kernel/workqueue_internal.h 	char			desc[WORKER_DESC_LEN];
desc               62 lib/crc-t10dif.c 	} desc;
desc               69 lib/crc-t10dif.c 	desc.shash.tfm = rcu_dereference(crct10dif_tfm);
desc               70 lib/crc-t10dif.c 	*(__u16 *)desc.ctx = crc;
desc               72 lib/crc-t10dif.c 	err = crypto_shash_update(&desc.shash, buffer, len);
desc               77 lib/crc-t10dif.c 	return *(__u16 *)desc.ctx;
desc              204 lib/digsig.c   	struct shash_desc *desc = NULL;
desc              234 lib/digsig.c   	desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash),
desc              236 lib/digsig.c   	if (!desc)
desc              239 lib/digsig.c   	desc->tfm = shash;
desc              241 lib/digsig.c   	crypto_shash_init(desc);
desc              242 lib/digsig.c   	crypto_shash_update(desc, data, datalen);
desc              243 lib/digsig.c   	crypto_shash_update(desc, sig, sizeof(*sh));
desc              244 lib/digsig.c   	crypto_shash_final(desc, hash);
desc              246 lib/digsig.c   	kfree(desc);
desc              521 lib/dynamic_debug.c static char *dynamic_emit_prefix(const struct _ddebug *desc, char *buf)
desc              528 lib/dynamic_debug.c 	if (desc->flags & _DPRINTK_FLAGS_INCL_TID) {
desc              536 lib/dynamic_debug.c 	if (desc->flags & _DPRINTK_FLAGS_INCL_MODNAME)
desc              538 lib/dynamic_debug.c 				desc->modname);
desc              539 lib/dynamic_debug.c 	if (desc->flags & _DPRINTK_FLAGS_INCL_FUNCNAME)
desc              541 lib/dynamic_debug.c 				desc->function);
desc              542 lib/dynamic_debug.c 	if (desc->flags & _DPRINTK_FLAGS_INCL_LINENO)
desc              544 lib/dynamic_debug.c 				desc->lineno);
desc             1192 lib/locking-selftest.c #define DO_TESTCASE_1(desc, name, nr)				\
desc             1193 lib/locking-selftest.c 	print_testname(desc"/"#nr);				\
desc             1197 lib/locking-selftest.c #define DO_TESTCASE_1B(desc, name, nr)				\
desc             1198 lib/locking-selftest.c 	print_testname(desc"/"#nr);				\
desc             1202 lib/locking-selftest.c #define DO_TESTCASE_3(desc, name, nr)				\
desc             1203 lib/locking-selftest.c 	print_testname(desc"/"#nr);				\
desc             1209 lib/locking-selftest.c #define DO_TESTCASE_3RW(desc, name, nr)				\
desc             1210 lib/locking-selftest.c 	print_testname(desc"/"#nr);				\
desc             1216 lib/locking-selftest.c #define DO_TESTCASE_6(desc, name)				\
desc             1217 lib/locking-selftest.c 	print_testname(desc);					\
desc             1227 lib/locking-selftest.c #define DO_TESTCASE_6_SUCCESS(desc, name)			\
desc             1228 lib/locking-selftest.c 	print_testname(desc);					\
desc             1241 lib/locking-selftest.c #define DO_TESTCASE_6R(desc, name)				\
desc             1242 lib/locking-selftest.c 	print_testname(desc);					\
desc             1252 lib/locking-selftest.c #define DO_TESTCASE_2I(desc, name, nr)				\
desc             1253 lib/locking-selftest.c 	DO_TESTCASE_1("hard-"desc, name##_hard, nr);		\
desc             1254 lib/locking-selftest.c 	DO_TESTCASE_1("soft-"desc, name##_soft, nr);
desc             1256 lib/locking-selftest.c #define DO_TESTCASE_2IB(desc, name, nr)				\
desc             1257 lib/locking-selftest.c 	DO_TESTCASE_1B("hard-"desc, name##_hard, nr);		\
desc             1258 lib/locking-selftest.c 	DO_TESTCASE_1B("soft-"desc, name##_soft, nr);
desc             1260 lib/locking-selftest.c #define DO_TESTCASE_6I(desc, name, nr)				\
desc             1261 lib/locking-selftest.c 	DO_TESTCASE_3("hard-"desc, name##_hard, nr);		\
desc             1262 lib/locking-selftest.c 	DO_TESTCASE_3("soft-"desc, name##_soft, nr);
desc             1264 lib/locking-selftest.c #define DO_TESTCASE_6IRW(desc, name, nr)			\
desc             1265 lib/locking-selftest.c 	DO_TESTCASE_3RW("hard-"desc, name##_hard, nr);		\
desc             1266 lib/locking-selftest.c 	DO_TESTCASE_3RW("soft-"desc, name##_soft, nr);
desc             1268 lib/locking-selftest.c #define DO_TESTCASE_2x3(desc, name)				\
desc             1269 lib/locking-selftest.c 	DO_TESTCASE_3(desc, name, 12);				\
desc             1270 lib/locking-selftest.c 	DO_TESTCASE_3(desc, name, 21);
desc             1272 lib/locking-selftest.c #define DO_TESTCASE_2x6(desc, name)				\
desc             1273 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 12);				\
desc             1274 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 21);
desc             1276 lib/locking-selftest.c #define DO_TESTCASE_6x2(desc, name)				\
desc             1277 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 123);			\
desc             1278 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 132);			\
desc             1279 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 213);			\
desc             1280 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 231);			\
desc             1281 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 312);			\
desc             1282 lib/locking-selftest.c 	DO_TESTCASE_2I(desc, name, 321);
desc             1284 lib/locking-selftest.c #define DO_TESTCASE_6x2B(desc, name)				\
desc             1285 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 123);			\
desc             1286 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 132);			\
desc             1287 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 213);			\
desc             1288 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 231);			\
desc             1289 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 312);			\
desc             1290 lib/locking-selftest.c 	DO_TESTCASE_2IB(desc, name, 321);
desc             1292 lib/locking-selftest.c #define DO_TESTCASE_6x6(desc, name)				\
desc             1293 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 123);			\
desc             1294 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 132);			\
desc             1295 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 213);			\
desc             1296 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 231);			\
desc             1297 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 312);			\
desc             1298 lib/locking-selftest.c 	DO_TESTCASE_6I(desc, name, 321);
desc             1300 lib/locking-selftest.c #define DO_TESTCASE_6x6RW(desc, name)				\
desc             1301 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 123);			\
desc             1302 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 132);			\
desc             1303 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 213);			\
desc             1304 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 231);			\
desc             1305 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 312);			\
desc             1306 lib/locking-selftest.c 	DO_TESTCASE_6IRW(desc, name, 321);
desc              316 lib/reed_solomon/test_rslib.c 	static const char * const desc[] = {
desc              327 lib/reed_solomon/test_rslib.c 		pr_info("  %s\n", desc[method]);
desc              139 lib/zlib_deflate/deftree.c static void gen_bitlen     (deflate_state *s, tree_desc *desc);
desc              141 lib/zlib_deflate/deftree.c static void build_tree     (deflate_state *s, tree_desc *desc);
desc              409 lib/zlib_deflate/deftree.c 	tree_desc *desc    /* the tree descriptor */
desc              412 lib/zlib_deflate/deftree.c     ct_data *tree        = desc->dyn_tree;
desc              413 lib/zlib_deflate/deftree.c     int max_code         = desc->max_code;
desc              414 lib/zlib_deflate/deftree.c     const ct_data *stree = desc->stat_desc->static_tree;
desc              415 lib/zlib_deflate/deftree.c     const int *extra     = desc->stat_desc->extra_bits;
desc              416 lib/zlib_deflate/deftree.c     int base             = desc->stat_desc->extra_base;
desc              417 lib/zlib_deflate/deftree.c     int max_length       = desc->stat_desc->max_length;
desc              540 lib/zlib_deflate/deftree.c 	tree_desc *desc	 /* the tree descriptor */
desc              543 lib/zlib_deflate/deftree.c     ct_data *tree         = desc->dyn_tree;
desc              544 lib/zlib_deflate/deftree.c     const ct_data *stree  = desc->stat_desc->static_tree;
desc              545 lib/zlib_deflate/deftree.c     int elems             = desc->stat_desc->elems;
desc              577 lib/zlib_deflate/deftree.c     desc->max_code = max_code;
desc              616 lib/zlib_deflate/deftree.c     gen_bitlen(s, (tree_desc *)desc);
desc               29 net/802/psnap.c static struct datalink_proto *find_snap_client(const unsigned char *desc)
desc               34 net/802/psnap.c 		if (!memcmp(p->type, desc, 5)) {
desc              122 net/802/psnap.c struct datalink_proto *register_snap_client(const unsigned char *desc,
desc              132 net/802/psnap.c 	if (find_snap_client(desc))
desc              137 net/802/psnap.c 		memcpy(proto->type, desc, 5);
desc              173 net/bluetooth/smp.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc              184 net/bluetooth/smp.c 	desc->tfm = tfm;
desc              199 net/bluetooth/smp.c 	err = crypto_shash_digest(desc, msg_msb, len, mac_msb);
desc              200 net/bluetooth/smp.c 	shash_desc_zero(desc);
desc               27 net/ceph/cls_lock_client.c 		  char *tag, char *desc, u8 flags)
desc               33 net/ceph/cls_lock_client.c 	int desc_len = strlen(desc);
desc               64 net/ceph/cls_lock_client.c 	ceph_encode_string(&p, end, desc, desc_len);
desc               72 net/ceph/cls_lock_client.c 	     __func__, lock_name, type, cookie, tag, desc, flags);
desc               83 net/dns_resolver/dns_query.c 	char *desc, *cp;
desc              106 net/dns_resolver/dns_query.c 	desc = kmalloc(desclen, GFP_KERNEL);
desc              107 net/dns_resolver/dns_query.c 	if (!desc)
desc              110 net/dns_resolver/dns_query.c 	cp = desc;
desc              122 net/dns_resolver/dns_query.c 	kdebug("call request_key(,%s,%s)", desc, options);
desc              128 net/dns_resolver/dns_query.c 	rkey = request_key_net(&key_type_dns_resolver, desc, net, options);
desc              130 net/dns_resolver/dns_query.c 	kfree(desc);
desc              544 net/ieee802154/nl-mac.c 			      struct ieee802154_llsec_key_id *desc)
desc              546 net/ieee802154/nl-mac.c 	memset(desc, 0, sizeof(*desc));
desc              551 net/ieee802154/nl-mac.c 	desc->mode = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_KEY_MODE]);
desc              553 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_IMPLICIT) {
desc              559 net/ieee802154/nl-mac.c 		desc->device_addr.pan_id = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_PAN_ID]);
desc              562 net/ieee802154/nl-mac.c 			desc->device_addr.mode = IEEE802154_ADDR_SHORT;
desc              563 net/ieee802154/nl-mac.c 			desc->device_addr.short_addr = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_SHORT_ADDR]);
desc              565 net/ieee802154/nl-mac.c 			desc->device_addr.mode = IEEE802154_ADDR_LONG;
desc              566 net/ieee802154/nl-mac.c 			desc->device_addr.extended_addr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
desc              570 net/ieee802154/nl-mac.c 	if (desc->mode != IEEE802154_SCF_KEY_IMPLICIT &&
desc              574 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_SHORT_INDEX &&
desc              578 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_HW_INDEX &&
desc              582 net/ieee802154/nl-mac.c 	if (desc->mode != IEEE802154_SCF_KEY_IMPLICIT)
desc              583 net/ieee802154/nl-mac.c 		desc->id = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_KEY_ID]);
desc              585 net/ieee802154/nl-mac.c 	switch (desc->mode) {
desc              590 net/ieee802154/nl-mac.c 		desc->short_source = cpu_to_le32(source);
desc              594 net/ieee802154/nl-mac.c 		desc->extended_source = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_EXTENDED]);
desc              603 net/ieee802154/nl-mac.c 			     const struct ieee802154_llsec_key_id *desc)
desc              605 net/ieee802154/nl-mac.c 	if (nla_put_u8(msg, IEEE802154_ATTR_LLSEC_KEY_MODE, desc->mode))
desc              608 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_IMPLICIT) {
desc              610 net/ieee802154/nl-mac.c 				      desc->device_addr.pan_id))
desc              613 net/ieee802154/nl-mac.c 		if (desc->device_addr.mode == IEEE802154_ADDR_SHORT &&
desc              615 net/ieee802154/nl-mac.c 				      desc->device_addr.short_addr))
desc              618 net/ieee802154/nl-mac.c 		if (desc->device_addr.mode == IEEE802154_ADDR_LONG &&
desc              620 net/ieee802154/nl-mac.c 				   desc->device_addr.extended_addr,
desc              625 net/ieee802154/nl-mac.c 	if (desc->mode != IEEE802154_SCF_KEY_IMPLICIT &&
desc              626 net/ieee802154/nl-mac.c 	    nla_put_u8(msg, IEEE802154_ATTR_LLSEC_KEY_ID, desc->id))
desc              629 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_SHORT_INDEX &&
desc              631 net/ieee802154/nl-mac.c 			le32_to_cpu(desc->short_source)))
desc              634 net/ieee802154/nl-mac.c 	if (desc->mode == IEEE802154_SCF_KEY_HW_INDEX &&
desc              636 net/ieee802154/nl-mac.c 			   desc->extended_source, IEEE802154_ATTR_PAD))
desc             1009 net/ieee802154/nl-mac.c 	struct ieee802154_llsec_device desc;
desc             1011 net/ieee802154/nl-mac.c 	if (llsec_parse_dev(info, &desc))
desc             1014 net/ieee802154/nl-mac.c 	return ops->llsec->add_dev(dev, &desc);
desc             1046 net/ieee802154/nl-mac.c 		       const struct ieee802154_llsec_device *desc,
desc             1058 net/ieee802154/nl-mac.c 	    nla_put_shortaddr(msg, IEEE802154_ATTR_PAN_ID, desc->pan_id) ||
desc             1060 net/ieee802154/nl-mac.c 			      desc->short_addr) ||
desc             1061 net/ieee802154/nl-mac.c 	    nla_put_hwaddr(msg, IEEE802154_ATTR_HW_ADDR, desc->hwaddr,
desc             1064 net/ieee802154/nl-mac.c 			desc->frame_counter) ||
desc             1066 net/ieee802154/nl-mac.c 		       desc->seclevel_exempt) ||
desc             1067 net/ieee802154/nl-mac.c 	    nla_put_u8(msg, IEEE802154_ATTR_LLSEC_DEV_KEY_MODE, desc->key_mode))
desc              686 net/ieee802154/nl802154.c 			     const struct ieee802154_llsec_key_id *desc)
desc              690 net/ieee802154/nl802154.c 	if (nla_put_u32(msg, NL802154_KEY_ID_ATTR_MODE, desc->mode))
desc              693 net/ieee802154/nl802154.c 	switch (desc->mode) {
desc              701 net/ieee802154/nl802154.c 				 desc->device_addr.pan_id) ||
desc              703 net/ieee802154/nl802154.c 				desc->device_addr.mode))
desc              706 net/ieee802154/nl802154.c 		switch (desc->device_addr.mode) {
desc              709 net/ieee802154/nl802154.c 					 desc->device_addr.short_addr))
desc              714 net/ieee802154/nl802154.c 					 desc->device_addr.extended_addr,
desc              730 net/ieee802154/nl802154.c 				 desc->short_source))
desc              735 net/ieee802154/nl802154.c 				 desc->extended_source,
desc              745 net/ieee802154/nl802154.c 	if (desc->mode != NL802154_KEY_ID_MODE_IMPLICIT) {
desc              746 net/ieee802154/nl802154.c 		if (nla_put_u8(msg, NL802154_KEY_ID_ATTR_INDEX, desc->id))
desc             1344 net/ieee802154/nl802154.c 			      struct ieee802154_llsec_key_id *desc)
desc             1354 net/ieee802154/nl802154.c 	desc->mode = nla_get_u32(attrs[NL802154_KEY_ID_ATTR_MODE]);
desc             1355 net/ieee802154/nl802154.c 	switch (desc->mode) {
desc             1361 net/ieee802154/nl802154.c 						    &desc->device_addr) < 0)
desc             1370 net/ieee802154/nl802154.c 		desc->short_source = nla_get_le32(attrs[NL802154_KEY_ID_ATTR_SOURCE_SHORT]);
desc             1376 net/ieee802154/nl802154.c 		desc->extended_source = nla_get_le64(attrs[NL802154_KEY_ID_ATTR_SOURCE_EXTENDED]);
desc             1382 net/ieee802154/nl802154.c 	if (desc->mode != NL802154_KEY_ID_MODE_IMPLICIT) {
desc             1387 net/ieee802154/nl802154.c 		desc->id = nla_get_u8(attrs[NL802154_KEY_ID_ATTR_INDEX]);
desc             1622 net/ipv4/tcp.c int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
desc             1647 net/ipv4/tcp.c 			used = recv_actor(desc, skb, offset, len);
desc             1677 net/ipv4/tcp.c 		if (!desc->count)
desc               59 net/ipv6/seg6_local.c 	struct seg6_action_desc *desc;
desc              604 net/ipv6/seg6_local.c 	struct seg6_action_desc *desc;
desc              609 net/ipv6/seg6_local.c 		desc = &seg6_action_table[i];
desc              610 net/ipv6/seg6_local.c 		if (desc->action == action)
desc              611 net/ipv6/seg6_local.c 			return desc;
desc              620 net/ipv6/seg6_local.c 	struct seg6_action_desc *desc;
desc              629 net/ipv6/seg6_local.c 	desc = slwt->desc;
desc              631 net/ipv6/seg6_local.c 	return desc->input(skb, slwt);
desc              930 net/ipv6/seg6_local.c 	struct seg6_action_desc *desc;
desc              933 net/ipv6/seg6_local.c 	desc = __get_action_desc(slwt->action);
desc              934 net/ipv6/seg6_local.c 	if (!desc)
desc              937 net/ipv6/seg6_local.c 	if (!desc->input)
desc              940 net/ipv6/seg6_local.c 	slwt->desc = desc;
desc              941 net/ipv6/seg6_local.c 	slwt->headroom += desc->static_headroom;
desc              944 net/ipv6/seg6_local.c 		if (desc->attrs & (1 << i)) {
desc             1011 net/ipv6/seg6_local.c 	if (slwt->desc->attrs & (1 << SEG6_LOCAL_BPF)) {
desc             1030 net/ipv6/seg6_local.c 		if (slwt->desc->attrs & (1 << i)) {
desc             1049 net/ipv6/seg6_local.c 	attrs = slwt->desc->attrs;
desc             1090 net/ipv6/seg6_local.c 	if (slwt_a->desc->attrs != slwt_b->desc->attrs)
desc             1094 net/ipv6/seg6_local.c 		if (slwt_a->desc->attrs & (1 << i)) {
desc              860 net/key/af_key.c 					a->desc.sadb_alg_id : 0;
desc              867 net/key/af_key.c 					a->desc.sadb_alg_id : 0;
desc              873 net/key/af_key.c 					a->desc.sadb_alg_id : 0;
desc             1661 net/key/af_key.c 				*ap++ = aalg->desc;
desc             1682 net/key/af_key.c 				*ap++ = ealg->desc;
desc             2869 net/key/af_key.c 	unsigned int id = d->desc.sadb_alg_id;
desc             2880 net/key/af_key.c 	unsigned int id = d->desc.sadb_alg_id;
desc             2957 net/key/af_key.c 			c->sadb_comb_auth = aalg->desc.sadb_alg_id;
desc             2958 net/key/af_key.c 			c->sadb_comb_auth_minbits = aalg->desc.sadb_alg_minbits;
desc             2959 net/key/af_key.c 			c->sadb_comb_auth_maxbits = aalg->desc.sadb_alg_maxbits;
desc             3002 net/key/af_key.c 			c->sadb_comb_auth = aalg->desc.sadb_alg_id;
desc             3003 net/key/af_key.c 			c->sadb_comb_auth_minbits = aalg->desc.sadb_alg_minbits;
desc             3004 net/key/af_key.c 			c->sadb_comb_auth_maxbits = aalg->desc.sadb_alg_maxbits;
desc             3005 net/key/af_key.c 			c->sadb_comb_encrypt = ealg->desc.sadb_alg_id;
desc             3006 net/key/af_key.c 			c->sadb_comb_encrypt_minbits = ealg->desc.sadb_alg_minbits;
desc             3007 net/key/af_key.c 			c->sadb_comb_encrypt_maxbits = ealg->desc.sadb_alg_maxbits;
desc               27 net/mac80211/aes_cmac.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc               30 net/mac80211/aes_cmac.c 	desc->tfm = tfm;
desc               32 net/mac80211/aes_cmac.c 	crypto_shash_init(desc);
desc               33 net/mac80211/aes_cmac.c 	crypto_shash_update(desc, aad, AAD_LEN);
desc               34 net/mac80211/aes_cmac.c 	crypto_shash_update(desc, data, data_len - CMAC_TLEN);
desc               35 net/mac80211/aes_cmac.c 	crypto_shash_finup(desc, zero, CMAC_TLEN, out);
desc               43 net/mac80211/aes_cmac.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc               45 net/mac80211/aes_cmac.c 	desc->tfm = tfm;
desc               47 net/mac80211/aes_cmac.c 	crypto_shash_init(desc);
desc               48 net/mac80211/aes_cmac.c 	crypto_shash_update(desc, aad, AAD_LEN);
desc               49 net/mac80211/aes_cmac.c 	crypto_shash_update(desc, data, data_len - CMAC_TLEN_256);
desc               50 net/mac80211/aes_cmac.c 	crypto_shash_finup(desc, zero, CMAC_TLEN_256, mic);
desc               29 net/mac80211/fils_aead.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc               32 net/mac80211/fils_aead.c 	desc->tfm = tfm;
desc               35 net/mac80211/fils_aead.c 	crypto_shash_digest(desc, tmp, AES_BLOCK_SIZE, d);
desc               40 net/mac80211/fils_aead.c 		crypto_shash_digest(desc, addr[i], len[i], tmp);
desc               44 net/mac80211/fils_aead.c 	crypto_shash_init(desc);
desc               49 net/mac80211/fils_aead.c 		crypto_shash_update(desc, addr[i], len[i] - AES_BLOCK_SIZE);
desc               60 net/mac80211/fils_aead.c 	crypto_shash_finup(desc, d, AES_BLOCK_SIZE, v);
desc             3626 net/mac80211/util.c 	s32 end = data->desc[i].start + data->desc[i].duration - (tsf + 1);
desc             3636 net/mac80211/util.c 	if (data->desc[i].interval == 0)
desc             3640 net/mac80211/util.c 	skip = DIV_ROUND_UP(-end, data->desc[i].interval);
desc             3650 net/mac80211/util.c 	data->desc[i].start += skip * data->desc[i].interval;
desc             3671 net/mac80211/util.c 		cur = data->desc[i].start - tsf;
desc             3675 net/mac80211/util.c 		cur = data->desc[i].start + data->desc[i].duration - tsf;
desc             3719 net/mac80211/util.c 		start = data->desc[i].start - tsf;
desc             3745 net/mac80211/util.c 		const struct ieee80211_p2p_noa_desc *desc = &attr->desc[i];
desc             3747 net/mac80211/util.c 		if (!desc->count || !desc->duration)
desc             3750 net/mac80211/util.c 		data->count[i] = desc->count;
desc             3751 net/mac80211/util.c 		data->desc[i].start = le32_to_cpu(desc->start_time);
desc             3752 net/mac80211/util.c 		data->desc[i].duration = le32_to_cpu(desc->duration);
desc             3753 net/mac80211/util.c 		data->desc[i].interval = le32_to_cpu(desc->interval);
desc             3756 net/mac80211/util.c 		    data->desc[i].interval < data->desc[i].duration)
desc             3038 net/netfilter/nf_tables_api.c 		   const struct nft_set_desc *desc,
desc             3067 net/netfilter/nf_tables_api.c 		if (!ops->estimate(desc, flags, &est))
desc             3079 net/netfilter/nf_tables_api.c 			if (!desc->size) {
desc             3302 net/netfilter/nf_tables_api.c 	struct nlattr *desc;
desc             3359 net/netfilter/nf_tables_api.c 	desc = nla_nest_start_noflag(skb, NFTA_SET_DESC);
desc             3360 net/netfilter/nf_tables_api.c 	if (desc == NULL)
desc             3365 net/netfilter/nf_tables_api.c 	nla_nest_end(skb, desc);
desc             3537 net/netfilter/nf_tables_api.c static int nf_tables_set_desc_parse(struct nft_set_desc *desc,
desc             3549 net/netfilter/nf_tables_api.c 		desc->size = ntohl(nla_get_be32(da[NFTA_SET_DESC_SIZE]));
desc             3570 net/netfilter/nf_tables_api.c 	struct nft_set_desc desc;
desc             3581 net/netfilter/nf_tables_api.c 	memset(&desc, 0, sizeof(desc));
desc             3590 net/netfilter/nf_tables_api.c 	desc.klen = ntohl(nla_get_be32(nla[NFTA_SET_KEY_LEN]));
desc             3591 net/netfilter/nf_tables_api.c 	if (desc.klen == 0 || desc.klen > NFT_DATA_VALUE_MAXLEN)
desc             3624 net/netfilter/nf_tables_api.c 			desc.dlen = ntohl(nla_get_be32(nla[NFTA_SET_DATA_LEN]));
desc             3625 net/netfilter/nf_tables_api.c 			if (desc.dlen == 0 || desc.dlen > NFT_DATA_VALUE_MAXLEN)
desc             3628 net/netfilter/nf_tables_api.c 			desc.dlen = sizeof(struct nft_verdict);
desc             3666 net/netfilter/nf_tables_api.c 		err = nf_tables_set_desc_parse(&desc, nla[NFTA_SET_DESC]);
desc             3699 net/netfilter/nf_tables_api.c 	ops = nft_select_set_ops(&ctx, nla, &desc, policy);
desc             3709 net/netfilter/nf_tables_api.c 		size = ops->privsize(nla, &desc);
desc             3739 net/netfilter/nf_tables_api.c 	set->klen  = desc.klen;
desc             3742 net/netfilter/nf_tables_api.c 	set->dlen  = desc.dlen;
desc             3744 net/netfilter/nf_tables_api.c 	set->size  = desc.size;
desc             3752 net/netfilter/nf_tables_api.c 	err = ops->init(set, &desc, nla);
desc             4268 net/netfilter/nf_tables_api.c 	struct nft_data_desc desc;
desc             4287 net/netfilter/nf_tables_api.c 	err = nft_data_init(ctx, &elem.key.val, sizeof(elem.key), &desc,
desc             4293 net/netfilter/nf_tables_api.c 	if (desc.type != NFT_DATA_VALUE || desc.len != set->klen) {
desc             4294 net/netfilter/nf_tables_api.c 		nft_data_release(&elem.key.val, desc.type);
desc             4814 net/netfilter/nf_tables_api.c 	struct nft_data_desc desc;
desc             4839 net/netfilter/nf_tables_api.c 	err = nft_data_init(ctx, &elem.key.val, sizeof(elem.key), &desc,
desc             4845 net/netfilter/nf_tables_api.c 	if (desc.type != NFT_DATA_VALUE || desc.len != set->klen)
desc             4848 net/netfilter/nf_tables_api.c 	nft_set_ext_add_length(&tmpl, NFT_SET_EXT_KEY, desc.len);
desc             4885 net/netfilter/nf_tables_api.c 	nft_data_release(&elem.key.val, desc.type);
desc             7466 net/netfilter/nf_tables_api.c 			    struct nft_data_desc *desc, const struct nlattr *nla)
desc             7513 net/netfilter/nf_tables_api.c 	desc->len = sizeof(data->verdict);
desc             7514 net/netfilter/nf_tables_api.c 	desc->type = NFT_DATA_VERDICT;
desc             7555 net/netfilter/nf_tables_api.c 			  struct nft_data_desc *desc, const struct nlattr *nla)
desc             7566 net/netfilter/nf_tables_api.c 	desc->type = NFT_DATA_VALUE;
desc             7567 net/netfilter/nf_tables_api.c 	desc->len  = len;
desc             7599 net/netfilter/nf_tables_api.c 		  struct nft_data_desc *desc, const struct nlattr *nla)
desc             7610 net/netfilter/nf_tables_api.c 		return nft_value_init(ctx, data, size, desc,
desc             7613 net/netfilter/nf_tables_api.c 		return nft_verdict_init(ctx, data, desc, tb[NFTA_DATA_VERDICT]);
desc               75 net/netfilter/nft_cmp.c 	struct nft_data_desc desc;
desc               78 net/netfilter/nft_cmp.c 	err = nft_data_init(NULL, &priv->data, sizeof(priv->data), &desc,
desc               83 net/netfilter/nft_cmp.c 	if (desc.type != NFT_DATA_VALUE) {
desc               85 net/netfilter/nft_cmp.c 		nft_data_release(&priv->data, desc.type);
desc               90 net/netfilter/nft_cmp.c 	err = nft_validate_register_load(priv->sreg, desc.len);
desc               95 net/netfilter/nft_cmp.c 	priv->len = desc.len;
desc              162 net/netfilter/nft_cmp.c 	struct nft_data_desc desc;
desc              167 net/netfilter/nft_cmp.c 	err = nft_data_init(NULL, &data, sizeof(data), &desc,
desc              173 net/netfilter/nft_cmp.c 	err = nft_validate_register_load(priv->sreg, desc.len);
desc              177 net/netfilter/nft_cmp.c 	desc.len *= BITS_PER_BYTE;
desc              178 net/netfilter/nft_cmp.c 	mask = nft_cmp_fast_mask(desc.len);
desc              181 net/netfilter/nft_cmp.c 	priv->len  = desc.len;
desc              236 net/netfilter/nft_cmp.c 	struct nft_data_desc desc;
desc              259 net/netfilter/nft_cmp.c 	err = nft_data_init(NULL, &data, sizeof(data), &desc,
desc              264 net/netfilter/nft_cmp.c 	if (desc.type != NFT_DATA_VALUE) {
desc              269 net/netfilter/nft_cmp.c 	if (desc.len <= sizeof(u32) && op == NFT_CMP_EQ)
desc              274 net/netfilter/nft_cmp.c 	nft_data_release(&data, desc.type);
desc               37 net/netfilter/nft_immediate.c 	struct nft_data_desc desc;
desc               44 net/netfilter/nft_immediate.c 	err = nft_data_init(ctx, &priv->data, sizeof(priv->data), &desc,
desc               49 net/netfilter/nft_immediate.c 	priv->dlen = desc.len;
desc               53 net/netfilter/nft_immediate.c 					  desc.type, desc.len);
desc               60 net/netfilter/nft_immediate.c 	nft_data_release(&priv->data, desc.type);
desc              254 net/netfilter/nft_set_bitmap.c 			       const struct nft_set_desc *desc)
desc              262 net/netfilter/nft_set_bitmap.c 			 const struct nft_set_desc *desc,
desc              282 net/netfilter/nft_set_bitmap.c static bool nft_bitmap_estimate(const struct nft_set_desc *desc, u32 features,
desc              286 net/netfilter/nft_set_bitmap.c 	if (desc->klen > 2)
desc              289 net/netfilter/nft_set_bitmap.c 	est->size   = nft_bitmap_total_size(desc->klen);
desc              346 net/netfilter/nft_set_hash.c 			      const struct nft_set_desc *desc)
desc              360 net/netfilter/nft_set_hash.c 			  const struct nft_set_desc *desc,
desc              367 net/netfilter/nft_set_hash.c 	params.nelem_hint = desc->size ?: NFT_RHASH_ELEMENT_HINT;
desc              401 net/netfilter/nft_set_hash.c static bool nft_rhash_estimate(const struct nft_set_desc *desc, u32 features,
desc              596 net/netfilter/nft_set_hash.c 			     const struct nft_set_desc *desc)
desc              599 net/netfilter/nft_set_hash.c 	       nft_hash_buckets(desc->size) * sizeof(struct hlist_head);
desc              603 net/netfilter/nft_set_hash.c 			 const struct nft_set_desc *desc,
desc              608 net/netfilter/nft_set_hash.c 	priv->buckets = nft_hash_buckets(desc->size);
desc              629 net/netfilter/nft_set_hash.c static bool nft_hash_estimate(const struct nft_set_desc *desc, u32 features,
desc              632 net/netfilter/nft_set_hash.c 	if (!desc->size)
desc              635 net/netfilter/nft_set_hash.c 	if (desc->klen == 4)
desc              639 net/netfilter/nft_set_hash.c 		      nft_hash_buckets(desc->size) * sizeof(struct hlist_head) +
desc              640 net/netfilter/nft_set_hash.c 		      desc->size * sizeof(struct nft_hash_elem);
desc              647 net/netfilter/nft_set_hash.c static bool nft_hash_fast_estimate(const struct nft_set_desc *desc, u32 features,
desc              650 net/netfilter/nft_set_hash.c 	if (!desc->size)
desc              653 net/netfilter/nft_set_hash.c 	if (desc->klen != 4)
desc              657 net/netfilter/nft_set_hash.c 		      nft_hash_buckets(desc->size) * sizeof(struct hlist_head) +
desc              658 net/netfilter/nft_set_hash.c 		      desc->size * sizeof(struct nft_hash_elem);
desc              444 net/netfilter/nft_set_rbtree.c 			       const struct nft_set_desc *desc)
desc              450 net/netfilter/nft_set_rbtree.c 			   const struct nft_set_desc *desc,
desc              482 net/netfilter/nft_set_rbtree.c static bool nft_rbtree_estimate(const struct nft_set_desc *desc, u32 features,
desc              485 net/netfilter/nft_set_rbtree.c 	if (desc->size)
desc              487 net/netfilter/nft_set_rbtree.c 			    desc->size * sizeof(struct nft_rbtree_elem);
desc              154 net/rds/tcp_recv.c static int rds_tcp_data_recv(read_descriptor_t *desc, struct sk_buff *skb,
desc              157 net/rds/tcp_recv.c 	struct rds_tcp_desc_arg *arg = desc->arg.data;
desc              176 net/rds/tcp_recv.c 				desc->error = -ENOMEM;
desc              220 net/rds/tcp_recv.c 				desc->error = -ENOMEM;
desc              266 net/rds/tcp_recv.c 	read_descriptor_t desc;
desc              272 net/rds/tcp_recv.c 	desc.arg.data = &arg;
desc              273 net/rds/tcp_recv.c 	desc.error = 0;
desc              274 net/rds/tcp_recv.c 	desc.count = 1; /* give more than one skb per call */
desc              276 net/rds/tcp_recv.c 	tcp_read_sock(sock->sk, &desc, rds_tcp_data_recv);
desc              278 net/rds/tcp_recv.c 		 desc.error);
desc              280 net/rds/tcp_recv.c 	return desc.error;
desc               70 net/rxrpc/key.c static int rxrpc_vet_description_s(const char *desc)
desc               75 net/rxrpc/key.c 	num = simple_strtoul(desc, &p, 10);
desc              745 net/sctp/auth.c 		SHASH_DESC_ON_STACK(desc, tfm);
desc              747 net/sctp/auth.c 		desc->tfm = tfm;
desc              748 net/sctp/auth.c 		crypto_shash_digest(desc, (u8 *)auth,
desc              750 net/sctp/auth.c 		shash_desc_zero(desc);
desc             1673 net/sctp/sm_make_chunk.c 		SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac);
desc             1677 net/sctp/sm_make_chunk.c 		desc->tfm = sctp_sk(ep->base.sk)->hmac;
desc             1679 net/sctp/sm_make_chunk.c 		err = crypto_shash_setkey(desc->tfm, ep->secret_key,
desc             1681 net/sctp/sm_make_chunk.c 		      crypto_shash_digest(desc, (u8 *)&cookie->c, bodysize,
desc             1683 net/sctp/sm_make_chunk.c 		shash_desc_zero(desc);
desc             1744 net/sctp/sm_make_chunk.c 		SHASH_DESC_ON_STACK(desc, sctp_sk(ep->base.sk)->hmac);
desc             1747 net/sctp/sm_make_chunk.c 		desc->tfm = sctp_sk(ep->base.sk)->hmac;
desc             1749 net/sctp/sm_make_chunk.c 		err = crypto_shash_setkey(desc->tfm, ep->secret_key,
desc             1751 net/sctp/sm_make_chunk.c 		      crypto_shash_digest(desc, (u8 *)bear_cookie, bodysize,
desc             1753 net/sctp/sm_make_chunk.c 		shash_desc_zero(desc);
desc               73 net/strparser/strparser.c 			    read_descriptor_t *desc)
desc               75 net/strparser/strparser.c 	desc->error = err;
desc               97 net/strparser/strparser.c static int __strp_recv(read_descriptor_t *desc, struct sk_buff *orig_skb,
desc              101 net/strparser/strparser.c 	struct strparser *strp = (struct strparser *)desc->arg.data;
desc              124 net/strparser/strparser.c 				desc->error = -ENOMEM;
desc              130 net/strparser/strparser.c 				desc->error = -ENOMEM;
desc              144 net/strparser/strparser.c 				desc->error = err;
desc              156 net/strparser/strparser.c 					desc->error = -EINVAL;
desc              163 net/strparser/strparser.c 					desc->error = -ENOMEM;
desc              182 net/strparser/strparser.c 			desc->error = -ENOMEM;
desc              205 net/strparser/strparser.c 					desc->error = err;
desc              241 net/strparser/strparser.c 				strp_parser_err(strp, len, desc);
desc              246 net/strparser/strparser.c 				strp_parser_err(strp, -EMSGSIZE, desc);
desc              254 net/strparser/strparser.c 				strp_parser_err(strp, -EPROTO, desc);
desc              285 net/strparser/strparser.c 				desc->count = 0; /* Stop reading socket */
desc              329 net/strparser/strparser.c 	read_descriptor_t desc; /* Dummy arg to strp_recv */
desc              331 net/strparser/strparser.c 	desc.arg.data = strp;
desc              333 net/strparser/strparser.c 	return __strp_recv(&desc, orig_skb, orig_offset, orig_len,
desc              338 net/strparser/strparser.c static int strp_recv(read_descriptor_t *desc, struct sk_buff *orig_skb,
desc              341 net/strparser/strparser.c 	struct strparser *strp = (struct strparser *)desc->arg.data;
desc              343 net/strparser/strparser.c 	return __strp_recv(desc, orig_skb, orig_offset, orig_len,
desc              356 net/strparser/strparser.c 	read_descriptor_t desc;
desc              361 net/strparser/strparser.c 	desc.arg.data = strp;
desc              362 net/strparser/strparser.c 	desc.error = 0;
desc              363 net/strparser/strparser.c 	desc.count = 1; /* give more than one skb per call */
desc              366 net/strparser/strparser.c 	sock->ops->read_sock(strp->sk, &desc, strp_recv);
desc              368 net/strparser/strparser.c 	desc.error = strp->cb.read_sock_done(strp, desc.error);
desc              370 net/strparser/strparser.c 	return desc.error;
desc              467 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct encryptor_desc *desc = data;
desc              468 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct xdr_buf *outbuf = desc->outbuf;
desc              470 net/sunrpc/auth_gss/gss_krb5_crypto.c 		crypto_sync_skcipher_reqtfm(desc->req);
desc              472 net/sunrpc/auth_gss/gss_krb5_crypto.c 	int thislen = desc->fraglen + sg->length;
desc              478 net/sunrpc/auth_gss/gss_krb5_crypto.c 	BUG_ON(desc->fragno > 3);
desc              480 net/sunrpc/auth_gss/gss_krb5_crypto.c 	page_pos = desc->pos - outbuf->head[0].iov_len;
desc              484 net/sunrpc/auth_gss/gss_krb5_crypto.c 		in_page = desc->pages[i];
desc              488 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_set_page(&desc->infrags[desc->fragno], in_page, sg->length,
desc              490 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_set_page(&desc->outfrags[desc->fragno], sg_page(sg), sg->length,
desc              492 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->fragno++;
desc              493 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->fraglen += sg->length;
desc              494 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->pos += sg->length;
desc              502 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_mark_end(&desc->infrags[desc->fragno - 1]);
desc              503 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_mark_end(&desc->outfrags[desc->fragno - 1]);
desc              505 net/sunrpc/auth_gss/gss_krb5_crypto.c 	skcipher_request_set_crypt(desc->req, desc->infrags, desc->outfrags,
desc              506 net/sunrpc/auth_gss/gss_krb5_crypto.c 				   thislen, desc->iv);
desc              508 net/sunrpc/auth_gss/gss_krb5_crypto.c 	ret = crypto_skcipher_encrypt(desc->req);
desc              512 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc->infrags, 4);
desc              513 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc->outfrags, 4);
desc              516 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen,
desc              518 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->infrags[0] = desc->outfrags[0];
desc              519 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_assign_page(&desc->infrags[0], in_page);
desc              520 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fragno = 1;
desc              521 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fraglen = fraglen;
desc              523 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fragno = 0;
desc              524 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fraglen = 0;
desc              534 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct encryptor_desc desc;
desc              542 net/sunrpc/auth_gss/gss_krb5_crypto.c 	memset(desc.iv, 0, sizeof(desc.iv));
desc              543 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.req = req;
desc              544 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.pos = offset;
desc              545 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.outbuf = buf;
desc              546 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.pages = pages;
desc              547 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.fragno = 0;
desc              548 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.fraglen = 0;
desc              550 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc.infrags, 4);
desc              551 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc.outfrags, 4);
desc              553 net/sunrpc/auth_gss/gss_krb5_crypto.c 	ret = xdr_process_buf(buf, offset, buf->len - offset, encryptor, &desc);
desc              569 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct decryptor_desc *desc = data;
desc              570 net/sunrpc/auth_gss/gss_krb5_crypto.c 	int thislen = desc->fraglen + sg->length;
desc              572 net/sunrpc/auth_gss/gss_krb5_crypto.c 		crypto_sync_skcipher_reqtfm(desc->req);
desc              577 net/sunrpc/auth_gss/gss_krb5_crypto.c 	BUG_ON(desc->fragno > 3);
desc              578 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length,
desc              580 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->fragno++;
desc              581 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->fraglen += sg->length;
desc              589 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_mark_end(&desc->frags[desc->fragno - 1]);
desc              591 net/sunrpc/auth_gss/gss_krb5_crypto.c 	skcipher_request_set_crypt(desc->req, desc->frags, desc->frags,
desc              592 net/sunrpc/auth_gss/gss_krb5_crypto.c 				   thislen, desc->iv);
desc              594 net/sunrpc/auth_gss/gss_krb5_crypto.c 	ret = crypto_skcipher_decrypt(desc->req);
desc              598 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc->frags, 4);
desc              601 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_set_page(&desc->frags[0], sg_page(sg), fraglen,
desc              603 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fragno = 1;
desc              604 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fraglen = fraglen;
desc              606 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fragno = 0;
desc              607 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc->fraglen = 0;
desc              617 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct decryptor_desc desc;
desc              626 net/sunrpc/auth_gss/gss_krb5_crypto.c 	memset(desc.iv, 0, sizeof(desc.iv));
desc              627 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.req = req;
desc              628 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.fragno = 0;
desc              629 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc.fraglen = 0;
desc              631 net/sunrpc/auth_gss/gss_krb5_crypto.c 	sg_init_table(desc.frags, 4);
desc              633 net/sunrpc/auth_gss/gss_krb5_crypto.c 	ret = xdr_process_buf(buf, offset, buf->len - offset, decryptor, &desc);
desc              744 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct encryptor_desc desc;
desc              809 net/sunrpc/auth_gss/gss_krb5_crypto.c 	memset(desc.iv, 0, sizeof(desc.iv));
desc              814 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.pos = offset + GSS_KRB5_TOK_HDR_LEN;
desc              815 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.fragno = 0;
desc              816 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.fraglen = 0;
desc              817 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.pages = pages;
desc              818 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.outbuf = buf;
desc              819 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.req = req;
desc              824 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_init_table(desc.infrags, 4);
desc              825 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_init_table(desc.outfrags, 4);
desc              828 net/sunrpc/auth_gss/gss_krb5_crypto.c 				      cbcbytes, encryptor, &desc);
desc              837 net/sunrpc/auth_gss/gss_krb5_crypto.c 				 desc.iv, pages, 1);
desc              865 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct decryptor_desc desc;
desc              893 net/sunrpc/auth_gss/gss_krb5_crypto.c 	memset(desc.iv, 0, sizeof(desc.iv));
desc              898 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.fragno = 0;
desc              899 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.fraglen = 0;
desc              900 net/sunrpc/auth_gss/gss_krb5_crypto.c 		desc.req = req;
desc              905 net/sunrpc/auth_gss/gss_krb5_crypto.c 		sg_init_table(desc.frags, 4);
desc              907 net/sunrpc/auth_gss/gss_krb5_crypto.c 		ret = xdr_process_buf(&subbuf, 0, cbcbytes, decryptor, &desc);
desc              914 net/sunrpc/auth_gss/gss_krb5_crypto.c 	ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0);
desc              956 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct shash_desc *desc;
desc              970 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac),
desc              972 net/sunrpc/auth_gss/gss_krb5_crypto.c 	if (!desc) {
desc              979 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->tfm = hmac;
desc              986 net/sunrpc/auth_gss/gss_krb5_crypto.c 	err = crypto_shash_digest(desc, (u8 *)&zeroconstant, 4, Kseq);
desc              995 net/sunrpc/auth_gss/gss_krb5_crypto.c 	err = crypto_shash_digest(desc, cksum, 8, Kseq);
desc             1006 net/sunrpc/auth_gss/gss_krb5_crypto.c 	kzfree(desc);
desc             1022 net/sunrpc/auth_gss/gss_krb5_crypto.c 	struct shash_desc *desc;
desc             1037 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac),
desc             1039 net/sunrpc/auth_gss/gss_krb5_crypto.c 	if (!desc) {
desc             1046 net/sunrpc/auth_gss/gss_krb5_crypto.c 	desc->tfm = hmac;
desc             1056 net/sunrpc/auth_gss/gss_krb5_crypto.c 	err = crypto_shash_digest(desc, zeroconstant, 4, Kcrypt);
desc             1070 net/sunrpc/auth_gss/gss_krb5_crypto.c 	err = crypto_shash_digest(desc, seqnumarray, 4, Kcrypt);
desc             1082 net/sunrpc/auth_gss/gss_krb5_crypto.c 	kzfree(desc);
desc              412 net/sunrpc/auth_gss/gss_krb5_mech.c 	struct shash_desc *desc;
desc              432 net/sunrpc/auth_gss/gss_krb5_mech.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac), GFP_NOFS);
desc              433 net/sunrpc/auth_gss/gss_krb5_mech.c 	if (!desc) {
desc              440 net/sunrpc/auth_gss/gss_krb5_mech.c 	desc->tfm = hmac;
desc              442 net/sunrpc/auth_gss/gss_krb5_mech.c 	err = crypto_shash_digest(desc, sigkeyconstant, slen, ctx->cksum);
desc              443 net/sunrpc/auth_gss/gss_krb5_mech.c 	kzfree(desc);
desc               31 net/sunrpc/socklib.c xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len)
desc               33 net/sunrpc/socklib.c 	if (len > desc->count)
desc               34 net/sunrpc/socklib.c 		len = desc->count;
desc               35 net/sunrpc/socklib.c 	if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len)))
desc               37 net/sunrpc/socklib.c 	desc->count -= len;
desc               38 net/sunrpc/socklib.c 	desc->offset += len;
desc               50 net/sunrpc/socklib.c static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len)
desc               55 net/sunrpc/socklib.c 	if (len > desc->count)
desc               56 net/sunrpc/socklib.c 		len = desc->count;
desc               57 net/sunrpc/socklib.c 	pos = desc->offset;
desc               58 net/sunrpc/socklib.c 	csum2 = skb_copy_and_csum_bits(desc->skb, pos, to, len, 0);
desc               59 net/sunrpc/socklib.c 	desc->csum = csum_block_add(desc->csum, csum2, pos);
desc               60 net/sunrpc/socklib.c 	desc->count -= len;
desc               61 net/sunrpc/socklib.c 	desc->offset += len;
desc               74 net/sunrpc/socklib.c xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct xdr_skb_reader *desc, xdr_skb_read_actor copy_actor)
desc               84 net/sunrpc/socklib.c 		ret = copy_actor(desc, (char *)xdr->head[0].iov_base + base, len);
desc               86 net/sunrpc/socklib.c 		if (ret != len || !desc->count)
desc              124 net/sunrpc/socklib.c 			ret = copy_actor(desc, kaddr + base, len);
desc              129 net/sunrpc/socklib.c 			ret = copy_actor(desc, kaddr, len);
desc              134 net/sunrpc/socklib.c 		if (ret != len || !desc->count)
desc              141 net/sunrpc/socklib.c 		copied += copy_actor(desc, (char *)xdr->tail[0].iov_base + base, len - base);
desc              156 net/sunrpc/socklib.c 	struct xdr_skb_reader	desc;
desc              158 net/sunrpc/socklib.c 	desc.skb = skb;
desc              159 net/sunrpc/socklib.c 	desc.offset = 0;
desc              160 net/sunrpc/socklib.c 	desc.count = skb->len - desc.offset;
desc              165 net/sunrpc/socklib.c 	desc.csum = csum_partial(skb->data, desc.offset, skb->csum);
desc              166 net/sunrpc/socklib.c 	if (xdr_partial_copy_from_skb(xdr, 0, &desc, xdr_skb_read_and_csum_bits) < 0)
desc              168 net/sunrpc/socklib.c 	if (desc.offset != skb->len) {
desc              170 net/sunrpc/socklib.c 		csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0);
desc              171 net/sunrpc/socklib.c 		desc.csum = csum_block_add(desc.csum, csum2, desc.offset);
desc              173 net/sunrpc/socklib.c 	if (desc.count)
desc              175 net/sunrpc/socklib.c 	if (csum_fold(desc.csum))
desc              182 net/sunrpc/socklib.c 	if (xdr_partial_copy_from_skb(xdr, 0, &desc, xdr_skb_read_bits) < 0)
desc              184 net/sunrpc/socklib.c 	if (desc.count)
desc             1337 net/sunrpc/xdr.c 		 struct xdr_array2_desc *desc, int encode)
desc             1345 net/sunrpc/xdr.c 		if (xdr_encode_word(buf, base, desc->array_len) != 0)
desc             1348 net/sunrpc/xdr.c 		if (xdr_decode_word(buf, base, &desc->array_len) != 0 ||
desc             1349 net/sunrpc/xdr.c 		    desc->array_len > desc->array_maxlen ||
desc             1350 net/sunrpc/xdr.c 		    (unsigned long) base + 4 + desc->array_len *
desc             1351 net/sunrpc/xdr.c 				    desc->elem_size > buf->len)
desc             1356 net/sunrpc/xdr.c 	if (!desc->xcode)
desc             1359 net/sunrpc/xdr.c 	todo = desc->array_len * desc->elem_size;
desc             1368 net/sunrpc/xdr.c 		while (avail_here >= desc->elem_size) {
desc             1369 net/sunrpc/xdr.c 			err = desc->xcode(desc, c);
desc             1372 net/sunrpc/xdr.c 			c += desc->elem_size;
desc             1373 net/sunrpc/xdr.c 			avail_here -= desc->elem_size;
desc             1377 net/sunrpc/xdr.c 				elem = kmalloc(desc->elem_size, GFP_KERNEL);
desc             1383 net/sunrpc/xdr.c 				err = desc->xcode(desc, elem);
desc             1411 net/sunrpc/xdr.c 			if (copied || avail_page < desc->elem_size) {
desc             1413 net/sunrpc/xdr.c 					desc->elem_size - copied);
desc             1415 net/sunrpc/xdr.c 					elem = kmalloc(desc->elem_size,
desc             1423 net/sunrpc/xdr.c 						err = desc->xcode(desc, elem);
desc             1429 net/sunrpc/xdr.c 					if (copied == desc->elem_size)
desc             1434 net/sunrpc/xdr.c 					if (copied == desc->elem_size) {
desc             1435 net/sunrpc/xdr.c 						err = desc->xcode(desc, elem);
desc             1444 net/sunrpc/xdr.c 			while (avail_page >= desc->elem_size) {
desc             1445 net/sunrpc/xdr.c 				err = desc->xcode(desc, c);
desc             1448 net/sunrpc/xdr.c 				c += desc->elem_size;
desc             1449 net/sunrpc/xdr.c 				avail_page -= desc->elem_size;
desc             1453 net/sunrpc/xdr.c 					    desc->elem_size - copied);
desc             1455 net/sunrpc/xdr.c 					elem = kmalloc(desc->elem_size,
desc             1463 net/sunrpc/xdr.c 						err = desc->xcode(desc, elem);
desc             1469 net/sunrpc/xdr.c 					if (copied == desc->elem_size)
desc             1474 net/sunrpc/xdr.c 					if (copied == desc->elem_size) {
desc             1475 net/sunrpc/xdr.c 						err = desc->xcode(desc, elem);
desc             1499 net/sunrpc/xdr.c 			unsigned int l = desc->elem_size - copied;
desc             1505 net/sunrpc/xdr.c 				err = desc->xcode(desc, elem);
desc             1513 net/sunrpc/xdr.c 			err = desc->xcode(desc, c);
desc             1516 net/sunrpc/xdr.c 			c += desc->elem_size;
desc             1517 net/sunrpc/xdr.c 			todo -= desc->elem_size;
desc             1531 net/sunrpc/xdr.c 		  struct xdr_array2_desc *desc)
desc             1536 net/sunrpc/xdr.c 	return xdr_xcode_array2(buf, base, desc, 0);
desc             1542 net/sunrpc/xdr.c 		  struct xdr_array2_desc *desc)
desc             1544 net/sunrpc/xdr.c 	if ((unsigned long) base + 4 + desc->array_len * desc->elem_size >
desc             1548 net/sunrpc/xdr.c 	return xdr_xcode_array2(buf, base, desc, 1);
desc              477 net/wireless/lib80211_crypt_tkip.c 	SHASH_DESC_ON_STACK(desc, tfm_michael);
desc              485 net/wireless/lib80211_crypt_tkip.c 	desc->tfm = tfm_michael;
desc              490 net/wireless/lib80211_crypt_tkip.c 	err = crypto_shash_init(desc);
desc              493 net/wireless/lib80211_crypt_tkip.c 	err = crypto_shash_update(desc, hdr, 16);
desc              496 net/wireless/lib80211_crypt_tkip.c 	err = crypto_shash_update(desc, data, data_len);
desc              499 net/wireless/lib80211_crypt_tkip.c 	err = crypto_shash_final(desc, mic);
desc              502 net/wireless/lib80211_crypt_tkip.c 	shash_desc_zero(desc);
desc              286 net/xdp/xsk.c  bool xsk_umem_consume_tx(struct xdp_umem *umem, struct xdp_desc *desc)
desc              292 net/xdp/xsk.c  		if (!xskq_peek_desc(xs->tx, desc, umem))
desc              295 net/xdp/xsk.c  		if (xskq_produce_addr_lazy(umem->cq, desc->addr))
desc              344 net/xdp/xsk.c  	struct xdp_desc desc;
desc              353 net/xdp/xsk.c  	while (xskq_peek_desc(xs->tx, &desc, xs->umem)) {
desc              363 net/xdp/xsk.c  		len = desc.len;
desc              371 net/xdp/xsk.c  		addr = desc.addr;
desc              382 net/xdp/xsk.c  		skb_shinfo(skb)->destructor_arg = (void *)(long)desc.addr;
desc              837 net/xdp/xsk.c  	ring->desc = offsetof(struct xdp_rxtx_ring, desc);
desc              844 net/xdp/xsk.c  	ring->desc = offsetof(struct xdp_umem_ring, desc);
desc               10 net/xdp/xsk.h  	__u64 desc;
desc               25 net/xdp/xsk_queue.h 	struct xdp_desc desc[0] ____cacheline_aligned_in_smp;
desc               31 net/xdp/xsk_queue.h 	u64 desc[0] ____cacheline_aligned_in_smp;
desc              181 net/xdp/xsk_queue.h 		*addr = READ_ONCE(ring->desc[idx]) & q->chunk_mask;
desc              229 net/xdp/xsk_queue.h 	ring->desc[q->prod_tail++ & q->ring_mask] = addr;
desc              246 net/xdp/xsk_queue.h 	ring->desc[q->prod_head++ & q->ring_mask] = addr;
desc              300 net/xdp/xsk_queue.h 						  struct xdp_desc *desc,
desc              307 net/xdp/xsk_queue.h 		*desc = READ_ONCE(ring->desc[idx]);
desc              308 net/xdp/xsk_queue.h 		if (xskq_is_valid_desc(q, desc, umem))
desc              309 net/xdp/xsk_queue.h 			return desc;
desc              318 net/xdp/xsk_queue.h 					      struct xdp_desc *desc,
desc              330 net/xdp/xsk_queue.h 	return xskq_validate_desc(q, desc, umem);
desc              349 net/xdp/xsk_queue.h 	ring->desc[idx].addr = addr;
desc              350 net/xdp/xsk_queue.h 	ring->desc[idx].len = len;
desc               39 net/xfrm/xfrm_algo.c 	.desc = {
desc               58 net/xfrm/xfrm_algo.c 	.desc = {
desc               77 net/xfrm/xfrm_algo.c 	.desc = {
desc               96 net/xfrm/xfrm_algo.c 	.desc = {
desc              115 net/xfrm/xfrm_algo.c 	.desc = {
desc              134 net/xfrm/xfrm_algo.c 	.desc = {
desc              153 net/xfrm/xfrm_algo.c 	.desc = {
desc              187 net/xfrm/xfrm_algo.c 	.desc = {
desc              207 net/xfrm/xfrm_algo.c 	.desc = {
desc              227 net/xfrm/xfrm_algo.c 	.desc = {
desc              247 net/xfrm/xfrm_algo.c 	.desc = {
desc              266 net/xfrm/xfrm_algo.c 	.desc = {
desc              285 net/xfrm/xfrm_algo.c 	.desc = {
desc              305 net/xfrm/xfrm_algo.c 	.desc = {
desc              324 net/xfrm/xfrm_algo.c 	.desc = {
desc              360 net/xfrm/xfrm_algo.c 	.desc = {
desc              381 net/xfrm/xfrm_algo.c 	.desc = {
desc              402 net/xfrm/xfrm_algo.c 	.desc = {
desc              423 net/xfrm/xfrm_algo.c 	.desc = {
desc              444 net/xfrm/xfrm_algo.c 	.desc = {
desc              465 net/xfrm/xfrm_algo.c 	.desc = {
desc              486 net/xfrm/xfrm_algo.c 	.desc = {
desc              507 net/xfrm/xfrm_algo.c 	.desc = {
desc              528 net/xfrm/xfrm_algo.c 	.desc = {
desc              548 net/xfrm/xfrm_algo.c 	.desc = {
desc              566 net/xfrm/xfrm_algo.c 	.desc = { .sadb_alg_id = SADB_X_CALG_DEFLATE }
desc              576 net/xfrm/xfrm_algo.c 	.desc = { .sadb_alg_id = SADB_X_CALG_LZS }
desc              586 net/xfrm/xfrm_algo.c 	.desc = { .sadb_alg_id = SADB_X_CALG_LZJH }
desc              672 net/xfrm/xfrm_algo.c 	return entry->desc.sadb_alg_id == (unsigned long)data;
desc              304 net/xfrm/xfrm_user.c 	*props = algo->desc.sadb_alg_id;
desc              328 net/xfrm/xfrm_user.c 	x->props.ealgo = algo->desc.sadb_alg_id;
desc              355 net/xfrm/xfrm_user.c 	*props = algo->desc.sadb_alg_id;
desc              386 net/xfrm/xfrm_user.c 	*props = algo->desc.sadb_alg_id;
desc              413 net/xfrm/xfrm_user.c 	x->props.ealgo = algo->desc.sadb_alg_id;
desc              326 samples/mic/mpssd/mpssd.c static unsigned next_desc(struct vring_desc *desc)
desc              330 samples/mic/mpssd/mpssd.c 	if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT))
desc              332 samples/mic/mpssd/mpssd.c 	next = le16toh(desc->next);
desc              468 samples/mic/mpssd/mpssd.c 	struct mic_device_desc *desc = get_device_desc(mic, type);
desc              471 samples/mic/mpssd/mpssd.c 	if (!desc)
desc              473 samples/mic/mpssd/mpssd.c 	prev_status = desc->status;
desc              476 samples/mic/mpssd/mpssd.c 		mic->name, __func__, type, desc->status);
desc              489 samples/mic/mpssd/mpssd.c 			if (desc->status != prev_status) {
desc              493 samples/mic/mpssd/mpssd.c 					desc->status);
desc              494 samples/mic/mpssd/mpssd.c 				prev_status = desc->status;
desc              496 samples/mic/mpssd/mpssd.c 			if (desc->status & VIRTIO_CONFIG_S_DRIVER_OK) {
desc              501 samples/mic/mpssd/mpssd.c 					desc->status);
desc              542 samples/mic/mpssd/mpssd.c 	struct mic_device_desc *desc;
desc              568 samples/mic/mpssd/mpssd.c 	desc = get_device_desc(mic, VIRTIO_ID_NET);
desc              583 samples/mic/mpssd/mpssd.c 		if (!(desc->status & VIRTIO_CONFIG_S_DRIVER_OK)) {
desc              748 samples/mic/mpssd/mpssd.c 	struct mic_device_desc *desc;
desc              790 samples/mic/mpssd/mpssd.c 	desc = get_device_desc(mic, VIRTIO_ID_CONSOLE);
desc              801 samples/mic/mpssd/mpssd.c 		if (!(desc->status & VIRTIO_CONFIG_S_DRIVER_OK)) {
desc             1080 samples/mic/mpssd/mpssd.c header_error_check(struct vring_desc *desc)
desc             1082 samples/mic/mpssd/mpssd.c 	if (le32toh(desc->len) != sizeof(struct virtio_blk_outhdr)) {
desc             1087 samples/mic/mpssd/mpssd.c 	if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT)) {
desc             1092 samples/mic/mpssd/mpssd.c 	if (le16toh(desc->flags) & VRING_DESC_F_WRITE) {
desc             1128 samples/mic/mpssd/mpssd.c status_error_check(struct vring_desc *desc)
desc             1130 samples/mic/mpssd/mpssd.c 	if (le32toh(desc->len) != sizeof(__u8)) {
desc             1166 samples/mic/mpssd/mpssd.c 	struct vring_desc *desc;
desc             1223 samples/mic/mpssd/mpssd.c 				desc = &vring.vr.desc[desc_idx];
desc             1229 samples/mic/mpssd/mpssd.c 					vring.vr.num, desc);
desc             1231 samples/mic/mpssd/mpssd.c 				status = header_error_check(desc);
desc             1247 samples/mic/mpssd/mpssd.c 				buffer_desc_idx = next_desc(desc);
desc             1249 samples/mic/mpssd/mpssd.c 				for (desc = &vring.vr.desc[buffer_desc_idx];
desc             1250 samples/mic/mpssd/mpssd.c 				     desc->flags & VRING_DESC_F_NEXT;
desc             1251 samples/mic/mpssd/mpssd.c 				     desc_idx = next_desc(desc),
desc             1252 samples/mic/mpssd/mpssd.c 					     desc = &vring.vr.desc[desc_idx]) {
desc             1253 samples/mic/mpssd/mpssd.c 					piov->iov_len = desc->len;
desc             1256 samples/mic/mpssd/mpssd.c 					fos += desc->len;
desc             1288 samples/mic/mpssd/mpssd.c 					status = status_error_check(desc);
desc             1295 samples/mic/mpssd/mpssd.c 					status, desc);
desc               30 security/apparmor/crypto.c 	SHASH_DESC_ON_STACK(desc, apparmor_tfm);
desc               41 security/apparmor/crypto.c 	desc->tfm = apparmor_tfm;
desc               43 security/apparmor/crypto.c 	error = crypto_shash_init(desc);
desc               46 security/apparmor/crypto.c 	error = crypto_shash_update(desc, (u8 *) data, len);
desc               49 security/apparmor/crypto.c 	error = crypto_shash_final(desc, hash);
desc               64 security/apparmor/crypto.c 	SHASH_DESC_ON_STACK(desc, apparmor_tfm);
desc               78 security/apparmor/crypto.c 	desc->tfm = apparmor_tfm;
desc               80 security/apparmor/crypto.c 	error = crypto_shash_init(desc);
desc               83 security/apparmor/crypto.c 	error = crypto_shash_update(desc, (u8 *) &le32_version, 4);
desc               86 security/apparmor/crypto.c 	error = crypto_shash_update(desc, (u8 *) start, len);
desc               89 security/apparmor/crypto.c 	error = crypto_shash_final(desc, profile->hash);
desc               79 security/integrity/evm/evm_crypto.c 	struct shash_desc *desc;
desc              121 security/integrity/evm/evm_crypto.c 	desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm),
desc              123 security/integrity/evm/evm_crypto.c 	if (!desc)
desc              126 security/integrity/evm/evm_crypto.c 	desc->tfm = *tfm;
desc              128 security/integrity/evm/evm_crypto.c 	rc = crypto_shash_init(desc);
desc              130 security/integrity/evm/evm_crypto.c 		kfree(desc);
desc              133 security/integrity/evm/evm_crypto.c 	return desc;
desc              142 security/integrity/evm/evm_crypto.c static void hmac_add_misc(struct shash_desc *desc, struct inode *inode,
desc              172 security/integrity/evm/evm_crypto.c 	crypto_shash_update(desc, (const u8 *)&hmac_misc, sizeof(hmac_misc));
desc              175 security/integrity/evm/evm_crypto.c 		crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE);
desc              176 security/integrity/evm/evm_crypto.c 	crypto_shash_final(desc, digest);
desc              194 security/integrity/evm/evm_crypto.c 	struct shash_desc *desc;
desc              205 security/integrity/evm/evm_crypto.c 	desc = init_desc(type, data->hdr.algo);
desc              206 security/integrity/evm/evm_crypto.c 	if (IS_ERR(desc))
desc              207 security/integrity/evm/evm_crypto.c 		return PTR_ERR(desc);
desc              209 security/integrity/evm/evm_crypto.c 	data->hdr.length = crypto_shash_digestsize(desc->tfm);
desc              221 security/integrity/evm/evm_crypto.c 			crypto_shash_update(desc, (const u8 *)req_xattr_value,
desc              238 security/integrity/evm/evm_crypto.c 		crypto_shash_update(desc, (const u8 *)xattr_value, xattr_size);
desc              242 security/integrity/evm/evm_crypto.c 	hmac_add_misc(desc, inode, type, data->digest);
desc              249 security/integrity/evm/evm_crypto.c 	kfree(desc);
desc              336 security/integrity/evm/evm_crypto.c 	struct shash_desc *desc;
desc              338 security/integrity/evm/evm_crypto.c 	desc = init_desc(EVM_XATTR_HMAC, HASH_ALGO_SHA1);
desc              339 security/integrity/evm/evm_crypto.c 	if (IS_ERR(desc)) {
desc              341 security/integrity/evm/evm_crypto.c 		return PTR_ERR(desc);
desc              344 security/integrity/evm/evm_crypto.c 	crypto_shash_update(desc, lsm_xattr->value, lsm_xattr->value_len);
desc              345 security/integrity/evm/evm_crypto.c 	hmac_add_misc(desc, inode, EVM_XATTR_HMAC, hmac_val);
desc              346 security/integrity/evm/evm_crypto.c 	kfree(desc);
desc              141 security/integrity/ima/ima.h 			      struct ima_template_desc *desc, int num_fields,
desc               38 security/integrity/ima/ima_api.c 			    struct ima_template_desc *desc)
desc               43 security/integrity/ima/ima_api.c 	if (desc)
desc               44 security/integrity/ima/ima_api.c 		template_desc = desc;
desc              513 security/integrity/ima/ima_crypto.c 			      struct ima_template_desc *desc, int num_fields,
desc              523 security/integrity/ima/ima_crypto.c 	rc = ima_calc_field_array_hash_tfm(field_data, desc, num_fields,
desc              146 security/keys/dh.c 	struct shash_desc *desc = &sdesc->shash;
desc              147 security/keys/dh.c 	unsigned int h = crypto_shash_digestsize(desc->tfm);
desc              153 security/keys/dh.c 		err = crypto_shash_init(desc);
desc              157 security/keys/dh.c 		err = crypto_shash_update(desc, (u8 *)&counter, sizeof(__be32));
desc              167 security/keys/dh.c 				err = crypto_shash_update(desc, tmpbuffer,
desc              178 security/keys/dh.c 			err = crypto_shash_update(desc, src, slen);
desc              183 security/keys/dh.c 		err = crypto_shash_final(desc, dst);
desc              329 security/keys/encrypted-keys/encrypted.c 	SHASH_DESC_ON_STACK(desc, tfm);
desc              332 security/keys/encrypted-keys/encrypted.c 	desc->tfm = tfm;
desc              334 security/keys/encrypted-keys/encrypted.c 	err = crypto_shash_digest(desc, buf, buflen, digest);
desc              335 security/keys/encrypted-keys/encrypted.c 	shash_desc_zero(desc);
desc              224 security/keys/key.c struct key *key_alloc(struct key_type *type, const char *desc,
desc              235 security/keys/key.c 	if (!desc || !*desc)
desc              239 security/keys/key.c 		ret = type->vet_description(desc);
desc              246 security/keys/key.c 	desclen = strlen(desc);
desc              281 security/keys/key.c 	key->index_key.description = kmemdup(desc, desclen + 1, GFP_KERNEL);
desc              217 security/keys/keyring.c 	size_t n = min_t(size_t, index_key->desc_len, sizeof(index_key->desc));
desc              219 security/keys/keyring.c 	memcpy(index_key->desc, index_key->description, n);
desc              287 security/keys/keyring.c 		if (desc_len <= sizeof(index_key->desc))
desc              290 security/keys/keyring.c 		d = index_key->description + sizeof(index_key->desc);
desc              292 security/keys/keyring.c 		desc_len -= sizeof(index_key->desc);
desc              363 security/keys/keyring.c 	i = sizeof(a->desc);
desc              124 security/keys/request_key.c 	char desc[20];
desc              134 security/keys/request_key.c 	sprintf(desc, "_req.%u", key->serial);
desc              137 security/keys/request_key.c 	keyring = keyring_alloc(desc, cred->fsuid, cred->fsgid, cred,
desc              168 security/keys/request_key_auth.c 	char desc[20];
desc              214 security/keys/request_key_auth.c 	sprintf(desc, "%x", target->serial);
desc              216 security/keys/request_key_auth.c 	authkey = key_alloc(&key_type_request_key_auth, desc,
desc               17 security/keys/user_defined.c static int logon_vet_description(const char *desc);
desc              193 security/keys/user_defined.c static int logon_vet_description(const char *desc)
desc              198 security/keys/user_defined.c 	p = strchr(desc, ':');
desc              203 security/keys/user_defined.c 	if (p == desc)
desc              147 sound/core/pcm_dmaengine.c 	struct dma_async_tx_descriptor *desc;
desc              157 sound/core/pcm_dmaengine.c 	desc = dmaengine_prep_dma_cyclic(chan,
desc              162 sound/core/pcm_dmaengine.c 	if (!desc)
desc              165 sound/core/pcm_dmaengine.c 	desc->callback = dmaengine_pcm_dma_complete;
desc              166 sound/core/pcm_dmaengine.c 	desc->callback_param = substream;
desc              167 sound/core/pcm_dmaengine.c 	prtd->cookie = dmaengine_submit(desc);
desc              358 sound/firewire/amdtp-am824.c 		const struct pkt_desc *desc = descs + i;
desc              359 sound/firewire/amdtp-am824.c 		__be32 *buf = desc->ctx_payload;
desc              360 sound/firewire/amdtp-am824.c 		unsigned int data_blocks = desc->data_blocks;
desc              371 sound/firewire/amdtp-am824.c 					    desc->data_block_counter);
desc              388 sound/firewire/amdtp-am824.c 		const struct pkt_desc *desc = descs + i;
desc              389 sound/firewire/amdtp-am824.c 		__be32 *buf = desc->ctx_payload;
desc              390 sound/firewire/amdtp-am824.c 		unsigned int data_blocks = desc->data_blocks;
desc              399 sound/firewire/amdtp-am824.c 					   desc->data_block_counter);
desc              691 sound/firewire/amdtp-stream.c 		struct pkt_desc *desc = descs + i;
desc              705 sound/firewire/amdtp-stream.c 		desc->cycle = cycle;
desc              706 sound/firewire/amdtp-stream.c 		desc->syt = syt;
desc              707 sound/firewire/amdtp-stream.c 		desc->data_blocks = data_blocks;
desc              708 sound/firewire/amdtp-stream.c 		desc->data_block_counter = dbc;
desc              709 sound/firewire/amdtp-stream.c 		desc->ctx_payload = s->buffer.packets[index].buffer;
desc              712 sound/firewire/amdtp-stream.c 			dbc = (dbc + desc->data_blocks) & 0xff;
desc              732 sound/firewire/amdtp-stream.c 		struct pkt_desc *desc = descs + i;
desc              735 sound/firewire/amdtp-stream.c 		desc->cycle = compute_it_cycle(*ctx_header);
desc              736 sound/firewire/amdtp-stream.c 		desc->syt = calculate_syt(s, desc->cycle);
desc              737 sound/firewire/amdtp-stream.c 		desc->data_blocks = calculate_data_blocks(s, desc->syt);
desc              740 sound/firewire/amdtp-stream.c 			dbc = (dbc + desc->data_blocks) & 0xff;
desc              742 sound/firewire/amdtp-stream.c 		desc->data_block_counter = dbc;
desc              745 sound/firewire/amdtp-stream.c 			dbc = (dbc + desc->data_blocks) & 0xff;
desc              747 sound/firewire/amdtp-stream.c 		desc->ctx_payload = s->buffer.packets[index].buffer;
desc              793 sound/firewire/amdtp-stream.c 		const struct pkt_desc *desc = s->pkt_descs + i;
desc              801 sound/firewire/amdtp-stream.c 			syt = desc->syt;
desc              805 sound/firewire/amdtp-stream.c 		build_it_pkt_header(s, desc->cycle, &template.params,
desc              806 sound/firewire/amdtp-stream.c 				    desc->data_blocks, desc->data_block_counter,
desc              108 sound/firewire/amdtp-stream.h 						const struct pkt_desc *desc,
desc              353 sound/firewire/digi00x/amdtp-dot.c 		const struct pkt_desc *desc = descs + i;
desc              354 sound/firewire/digi00x/amdtp-dot.c 		__be32 *buf = desc->ctx_payload;
desc              355 sound/firewire/digi00x/amdtp-dot.c 		unsigned int data_blocks = desc->data_blocks;
desc              377 sound/firewire/digi00x/amdtp-dot.c 		const struct pkt_desc *desc = descs + i;
desc              378 sound/firewire/digi00x/amdtp-dot.c 		__be32 *buf = desc->ctx_payload;
desc              379 sound/firewire/digi00x/amdtp-dot.c 		unsigned int data_blocks = desc->data_blocks;
desc              389 sound/firewire/digi00x/amdtp-dot.c 				    desc->data_block_counter);
desc              124 sound/firewire/fireface/amdtp-ff.c 		const struct pkt_desc *desc = descs + i;
desc              125 sound/firewire/fireface/amdtp-ff.c 		__le32 *buf = (__le32 *)desc->ctx_payload;
desc              126 sound/firewire/fireface/amdtp-ff.c 		unsigned int data_blocks = desc->data_blocks;
desc              148 sound/firewire/fireface/amdtp-ff.c 		const struct pkt_desc *desc = descs + i;
desc              149 sound/firewire/fireface/amdtp-ff.c 		__le32 *buf = (__le32 *)desc->ctx_payload;
desc              150 sound/firewire/fireface/amdtp-ff.c 		unsigned int data_blocks = desc->data_blocks;
desc              320 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
desc              321 sound/firewire/motu/amdtp-motu.c 		__be32 *buf = desc->ctx_payload;
desc              322 sound/firewire/motu/amdtp-motu.c 		unsigned int data_blocks = desc->data_blocks;
desc              340 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
desc              341 sound/firewire/motu/amdtp-motu.c 		__be32 *buf = desc->ctx_payload;
desc              342 sound/firewire/motu/amdtp-motu.c 		unsigned int data_blocks = desc->data_blocks;
desc              414 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
desc              415 sound/firewire/motu/amdtp-motu.c 		__be32 *buf = desc->ctx_payload;
desc              416 sound/firewire/motu/amdtp-motu.c 		unsigned int data_blocks = desc->data_blocks;
desc              188 sound/firewire/tascam/amdtp-tascam.c 		const struct pkt_desc *desc = descs + i;
desc              189 sound/firewire/tascam/amdtp-tascam.c 		__be32 *buf = desc->ctx_payload;
desc              190 sound/firewire/tascam/amdtp-tascam.c 		unsigned int data_blocks = desc->data_blocks;
desc              212 sound/firewire/tascam/amdtp-tascam.c 		const struct pkt_desc *desc = descs + i;
desc              213 sound/firewire/tascam/amdtp-tascam.c 		__be32 *buf = desc->ctx_payload;
desc              214 sound/firewire/tascam/amdtp-tascam.c 		unsigned int data_blocks = desc->data_blocks;
desc               73 sound/hda/intel-nhlt.c 	epnt = (struct nhlt_endpoint *)nhlt->desc;
desc               51 sound/mips/hal2.c 	struct hpc_dma_desc desc;
desc               61 sound/mips/hal2.c 	struct hal2_desc *desc;
desc              447 sound/mips/hal2.c 	struct hal2_desc *desc;
desc              456 sound/mips/hal2.c 	desc = dma_alloc_attrs(dev, count * sizeof(struct hal2_desc),
desc              458 sound/mips/hal2.c 	if (!desc) {
desc              465 sound/mips/hal2.c 	codec->desc = desc;
desc              467 sound/mips/hal2.c 		desc->desc.pbuf = buffer_dma + i * H2_BLOCK_SIZE;
desc              468 sound/mips/hal2.c 		desc->desc.cntinfo = HPCDMA_XIE | H2_BLOCK_SIZE;
desc              469 sound/mips/hal2.c 		desc->desc.pnext = (i == count - 1) ?
desc              471 sound/mips/hal2.c 		desc++;
desc              473 sound/mips/hal2.c 	dma_cache_sync(dev, codec->desc, count * sizeof(struct hal2_desc),
desc              484 sound/mips/hal2.c 		       codec->desc, codec->desc_dma, DMA_ATTR_NON_CONSISTENT);
desc              743 sound/mips/sgio2audio.c 	const char *desc;
desc              749 sound/mips/sgio2audio.c 		.desc = "Capture DMA Channel 0"
desc              754 sound/mips/sgio2audio.c 		.desc = "Capture Overflow"
desc              759 sound/mips/sgio2audio.c 		.desc = "Playback DMA Channel 1"
desc              764 sound/mips/sgio2audio.c 		.desc = "Memory Error Channel 1"
desc              769 sound/mips/sgio2audio.c 		.desc = "Playback DMA Channel 2"
desc              774 sound/mips/sgio2audio.c 		.desc = "Memory Error Channel 2"
desc              855 sound/mips/sgio2audio.c 				snd_sgio2_isr_table[i].desc,
desc             1653 sound/pci/ali5451/ali5451.c 		       struct ali_pcm_description *desc)
desc             1658 sound/pci/ali5451/ali5451.c 	err = snd_pcm_new(codec->card, desc->name, device,
desc             1659 sound/pci/ali5451/ali5451.c 			  desc->playback_num, desc->capture_num, &pcm);
desc             1667 sound/pci/ali5451/ali5451.c 	if (desc->playback_ops)
desc             1669 sound/pci/ali5451/ali5451.c 				desc->playback_ops);
desc             1670 sound/pci/ali5451/ali5451.c 	if (desc->capture_ops)
desc             1672 sound/pci/ali5451/ali5451.c 				desc->capture_ops);
desc             1679 sound/pci/ali5451/ali5451.c 	pcm->dev_class = desc->class;
desc             1681 sound/pci/ali5451/ali5451.c 	strcpy(pcm->name, desc->name);
desc              377 sound/pci/atiixp.c 		struct atiixp_dma_desc *desc;
desc              378 sound/pci/atiixp.c 		desc = &((struct atiixp_dma_desc *)dma->desc_buf.area)[i];
desc              379 sound/pci/atiixp.c 		desc->addr = cpu_to_le32(addr);
desc              380 sound/pci/atiixp.c 		desc->status = 0;
desc              381 sound/pci/atiixp.c 		desc->size = period_bytes >> 2; /* in dwords */
desc              384 sound/pci/atiixp.c 			desc->next = cpu_to_le32((u32)dma->desc_buf.addr);
desc              386 sound/pci/atiixp.c 			desc->next = cpu_to_le32(desc_addr);
desc              344 sound/pci/atiixp_modem.c 		struct atiixp_dma_desc *desc;
desc              345 sound/pci/atiixp_modem.c 		desc = &((struct atiixp_dma_desc *)dma->desc_buf.area)[i];
desc              346 sound/pci/atiixp_modem.c 		desc->addr = cpu_to_le32(addr);
desc              347 sound/pci/atiixp_modem.c 		desc->status = 0;
desc              348 sound/pci/atiixp_modem.c 		desc->size = period_bytes >> 2; /* in dwords */
desc              351 sound/pci/atiixp_modem.c 			desc->next = cpu_to_le32((u32)dma->desc_buf.addr);
desc              353 sound/pci/atiixp_modem.c 			desc->next = cpu_to_le32(desc_addr);
desc              536 sound/pci/cs46xx/dsp_spos.c 			struct dsp_segment_desc * desc = (ins->modules[i].segments + j);
desc              538 sound/pci/cs46xx/dsp_spos.c 				    desc->segment_type,desc->offset, desc->size);
desc              913 sound/pci/cs46xx/dsp_spos.c 	struct dsp_scb_descriptor * desc = NULL;
desc              930 sound/pci/cs46xx/dsp_spos.c 	desc = (ins->scbs + index);
desc              939 sound/pci/cs46xx/dsp_spos.c 	return desc;
desc              946 sound/pci/cs46xx/dsp_spos.c 	struct dsp_task_descriptor * desc = NULL;
desc              963 sound/pci/cs46xx/dsp_spos.c 	desc = (ins->tasks + ins->ntask);
desc              968 sound/pci/cs46xx/dsp_spos.c 	return desc;
desc              976 sound/pci/cs46xx/dsp_spos.c 	struct dsp_scb_descriptor * desc;
desc              985 sound/pci/cs46xx/dsp_spos.c 	desc = _map_scb (chip,name,dest);
desc              986 sound/pci/cs46xx/dsp_spos.c 	if (desc) {
desc              987 sound/pci/cs46xx/dsp_spos.c 		desc->data = scb_data;
desc              996 sound/pci/cs46xx/dsp_spos.c 	return desc;
desc             1004 sound/pci/cs46xx/dsp_spos.c 	struct dsp_task_descriptor * desc;
desc             1006 sound/pci/cs46xx/dsp_spos.c 	desc = _map_task_tree (chip,name,dest,size);
desc             1007 sound/pci/cs46xx/dsp_spos.c 	if (desc) {
desc             1008 sound/pci/cs46xx/dsp_spos.c 		desc->data = task_data;
desc             1014 sound/pci/cs46xx/dsp_spos.c 	return desc;
desc              135 sound/pci/cs5535audio/cs5535audio_pcm.c 		struct cs5535audio_dma_desc *desc =
desc              137 sound/pci/cs5535audio/cs5535audio_pcm.c 		desc->addr = cpu_to_le32(addr);
desc              138 sound/pci/cs5535audio/cs5535audio_pcm.c 		desc->size = cpu_to_le16(period_bytes);
desc              139 sound/pci/cs5535audio/cs5535audio_pcm.c 		desc->ctlreserved = cpu_to_le16(PRD_EOP);
desc              197 sound/pci/ctxfi/ctamixer.c 			   const struct amixer_desc *desc,
desc              203 sound/pci/ctxfi/ctamixer.c 			AMIXER, desc->msr, mgr->mgr.hw);
desc              229 sound/pci/ctxfi/ctamixer.c 			  const struct amixer_desc *desc,
desc              248 sound/pci/ctxfi/ctamixer.c 	for (i = 0; i < desc->msr; i++) {
desc              262 sound/pci/ctxfi/ctamixer.c 	err = amixer_rsc_init(amixer, desc, mgr);
desc              364 sound/pci/ctxfi/ctamixer.c 			const struct sum_desc *desc,
desc              369 sound/pci/ctxfi/ctamixer.c 	err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw);
desc              385 sound/pci/ctxfi/ctamixer.c 		       const struct sum_desc *desc,
desc              403 sound/pci/ctxfi/ctamixer.c 	for (i = 0; i < desc->msr; i++) {
desc              417 sound/pci/ctxfi/ctamixer.c 	err = sum_rsc_init(sum, desc, mgr);
desc               40 sound/pci/ctxfi/ctamixer.h 			const struct sum_desc *desc, struct sum **rsum);
desc               85 sound/pci/ctxfi/ctamixer.h 			  const struct amixer_desc *desc,
desc              244 sound/pci/ctxfi/ctatc.c 	struct src_desc desc = {0};
desc              257 sound/pci/ctxfi/ctatc.c 	desc.multi = apcm->substream->runtime->channels;
desc              258 sound/pci/ctxfi/ctatc.c 	desc.msr = atc->msr;
desc              259 sound/pci/ctxfi/ctatc.c 	desc.mode = MEMRD;
desc              260 sound/pci/ctxfi/ctatc.c 	err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src);
desc              787 sound/pci/ctxfi/ctatc.c 	struct src_desc desc = {0};
desc              798 sound/pci/ctxfi/ctatc.c 	desc.multi = apcm->substream->runtime->channels;
desc              799 sound/pci/ctxfi/ctatc.c 	desc.msr = 1;
desc              800 sound/pci/ctxfi/ctatc.c 	while (apcm->substream->runtime->rate > (rsr * desc.msr))
desc              801 sound/pci/ctxfi/ctatc.c 		desc.msr <<= 1;
desc              803 sound/pci/ctxfi/ctatc.c 	desc.mode = MEMRD;
desc              804 sound/pci/ctxfi/ctatc.c 	err = src_mgr->get_src(src_mgr, &desc, (struct src **)&apcm->src);
desc              808 sound/pci/ctxfi/ctatc.c 	pitch = atc_get_pitch(apcm->substream->runtime->rate, (rsr * desc.msr));
desc              824 sound/pci/ctxfi/ctatc.c 	mix_dsc.msr = desc.msr;
desc              135 sound/pci/ctxfi/ctdaio.c static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc);
desc              327 sound/pci/ctxfi/ctdaio.c 			 const struct daio_desc *desc,
desc              335 sound/pci/ctxfi/ctdaio.c 		idx_l = idx_20k1[desc->type].left;
desc              336 sound/pci/ctxfi/ctdaio.c 		idx_r = idx_20k1[desc->type].right;
desc              339 sound/pci/ctxfi/ctdaio.c 		idx_l = idx_20k2[desc->type].left;
desc              340 sound/pci/ctxfi/ctdaio.c 		idx_r = idx_20k2[desc->type].right;
desc              345 sound/pci/ctxfi/ctdaio.c 	err = rsc_init(&daio->rscl, idx_l, DAIO, desc->msr, hw);
desc              349 sound/pci/ctxfi/ctdaio.c 	err = rsc_init(&daio->rscr, idx_r, DAIO, desc->msr, hw);
desc              354 sound/pci/ctxfi/ctdaio.c 	if (desc->type <= DAIO_OUT_MAX) {
desc              368 sound/pci/ctxfi/ctdaio.c 	daio->type = desc->type;
desc              386 sound/pci/ctxfi/ctdaio.c 			const struct daio_desc *desc,
desc              393 sound/pci/ctxfi/ctdaio.c 	err = daio_rsc_init(&dao->daio, desc, mgr->mgr.hw);
desc              397 sound/pci/ctxfi/ctdaio.c 	dao->imappers = kzalloc(array3_size(sizeof(void *), desc->msr, 2),
desc              414 sound/pci/ctxfi/ctdaio.c 	conf = (desc->msr & 0x7) | (desc->passthru << 3);
desc              450 sound/pci/ctxfi/ctdaio.c static int dao_rsc_reinit(struct dao *dao, const struct dao_desc *desc)
desc              456 sound/pci/ctxfi/ctdaio.c 	dsc.msr = desc->msr;
desc              457 sound/pci/ctxfi/ctdaio.c 	dsc.passthru = desc->passthru;
desc              463 sound/pci/ctxfi/ctdaio.c 			const struct daio_desc *desc,
desc              470 sound/pci/ctxfi/ctdaio.c 	err = daio_rsc_init(&dai->daio, desc, mgr->mgr.hw);
desc              480 sound/pci/ctxfi/ctdaio.c 	for (rsr = 0, msr = desc->msr; msr > 1; msr >>= 1)
desc              524 sound/pci/ctxfi/ctdaio.c 			const struct daio_desc *desc,
desc              534 sound/pci/ctxfi/ctdaio.c 	err = daio_mgr_get_rsc(&mgr->mgr, desc->type);
desc              544 sound/pci/ctxfi/ctdaio.c 	if (desc->type <= DAIO_OUT_MAX) {
desc              549 sound/pci/ctxfi/ctdaio.c 		err = dao_rsc_init(dao, desc, mgr);
desc              561 sound/pci/ctxfi/ctdaio.c 		err = dai_rsc_init(dai, desc, mgr);
desc              577 sound/pci/ctxfi/ctdaio.c 	daio_mgr_put_rsc(&mgr->mgr, desc->type);
desc               73 sound/pci/ctxfi/ctdaio.h 	int (*reinit)(struct dao *dao, const struct dao_desc *desc);
desc              107 sound/pci/ctxfi/ctdaio.h 			const struct daio_desc *desc, struct daio **rdaio);
desc              357 sound/pci/ctxfi/ctsrc.c 	     const struct src_desc *desc, struct src_mgr *mgr)
desc              363 sound/pci/ctxfi/ctsrc.c 	n = (MEMRD == desc->mode) ? desc->multi : 1;
desc              365 sound/pci/ctxfi/ctsrc.c 		err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw);
desc              371 sound/pci/ctxfi/ctsrc.c 		p->multi = (0 == i) ? desc->multi : 1;
desc              372 sound/pci/ctxfi/ctsrc.c 		p->mode = desc->mode;
desc              373 sound/pci/ctxfi/ctsrc.c 		src_default_config[desc->mode](p);
desc              412 sound/pci/ctxfi/ctsrc.c get_src_rsc(struct src_mgr *mgr, const struct src_desc *desc, struct src **rsrc)
desc              423 sound/pci/ctxfi/ctsrc.c 	if (MEMRD == desc->mode)
desc              424 sound/pci/ctxfi/ctsrc.c 		err = mgr_get_resource(&mgr->mgr, desc->multi, &idx);
desc              436 sound/pci/ctxfi/ctsrc.c 	if (MEMRD == desc->mode)
desc              437 sound/pci/ctxfi/ctsrc.c 		src = kcalloc(desc->multi, sizeof(*src), GFP_KERNEL);
desc              446 sound/pci/ctxfi/ctsrc.c 	err = src_rsc_init(src, idx, desc, mgr);
desc              458 sound/pci/ctxfi/ctsrc.c 	if (MEMRD == desc->mode)
desc              459 sound/pci/ctxfi/ctsrc.c 		mgr_put_resource(&mgr->mgr, desc->multi, idx);
desc              667 sound/pci/ctxfi/ctsrc.c 			   const struct srcimp_desc *desc,
desc              673 sound/pci/ctxfi/ctsrc.c 		       SRCIMP, desc->msr, mgr->mgr.hw);
desc              678 sound/pci/ctxfi/ctsrc.c 	srcimp->imappers = kcalloc(desc->msr, sizeof(struct imapper),
desc              711 sound/pci/ctxfi/ctsrc.c 			  const struct srcimp_desc *desc,
desc              729 sound/pci/ctxfi/ctsrc.c 	for (i = 0; i < desc->msr; i++) {
desc              743 sound/pci/ctxfi/ctsrc.c 	err = srcimp_rsc_init(srcimp, desc, mgr);
desc               90 sound/pci/ctxfi/ctsrc.h 		       const struct src_desc *desc, struct src **rsrc);
desc              133 sound/pci/ctxfi/ctsrc.h 			  const struct srcimp_desc *desc,
desc               25 sound/pci/mixart/mixart.h 	u32 desc;
desc               80 sound/pci/mixart/mixart_core.c 	resp->uid.desc      =  readl_be(MIXART_MEM(mgr, msg_frame_address + 12));  /* */
desc              174 sound/pci/mixart/mixart_core.c 	writel_be( msg->uid.desc,                        MIXART_MEM(mgr, msg_frame_address + 12) ); /* */
desc              374 sound/pci/mixart/mixart_core.c 					   msg, resp.message_id, resp.uid.object_id, resp.uid.desc, resp.size);
desc              529 sound/pci/mixart/mixart_core.h 	struct mixart_txx_stream_desc desc;
desc              257 sound/pci/mixart/mixart_hwdep.c 	get_console_mgr.desc = MSG_CONSOLE_MANAGER | 0; /* cardindex = 0 */
desc              721 sound/pci/mixart/mixart_mixer.c 	set_level.stream_level.desc.stream_idx = idx;
desc              734 sound/pci/mixart/mixart_mixer.c 	set_level.stream_level.desc.uid_pipe = pipe->group_uid;
desc               73 sound/soc/codecs/max9759.c 	gpiod_set_value_cansleep(priv->gpiod_gain->desc[0],
desc               76 sound/soc/codecs/max9759.c 	gpiod_set_value_cansleep(priv->gpiod_gain->desc[1],
desc              438 sound/soc/codecs/tlv320aic32x4-clk.c 			struct aic32x4_clkdesc *desc)
desc              444 sound/soc/codecs/tlv320aic32x4-clk.c 	init.ops = desc->ops;
desc              445 sound/soc/codecs/tlv320aic32x4-clk.c 	init.name = desc->name;
desc              446 sound/soc/codecs/tlv320aic32x4-clk.c 	init.parent_names = desc->parent_names;
desc              447 sound/soc/codecs/tlv320aic32x4-clk.c 	init.num_parents = desc->num_parents;
desc              457 sound/soc/codecs/tlv320aic32x4-clk.c 	priv->reg = desc->reg;
desc              459 sound/soc/codecs/tlv320aic32x4-clk.c 	clk_hw_register_clkdev(&priv->hw, desc->name, devname);
desc              524 sound/soc/codecs/wm_adsp.c 	struct snd_codec_desc desc;
desc              532 sound/soc/codecs/wm_adsp.c 		.desc = {
desc              546 sound/soc/codecs/wm_adsp.c 		.desc = {
desc             3454 sound/soc/codecs/wm_adsp.c 	const struct snd_codec_desc *desc;
desc             3471 sound/soc/codecs/wm_adsp.c 		desc = &caps->desc;
desc             3477 sound/soc/codecs/wm_adsp.c 			if (desc->max_ch < params->codec.ch_out)
desc             3480 sound/soc/codecs/wm_adsp.c 			if (desc->max_ch < params->codec.ch_in)
desc             3484 sound/soc/codecs/wm_adsp.c 		if (!(desc->formats & (1 << params->codec.format)))
desc             3487 sound/soc/codecs/wm_adsp.c 		for (j = 0; j < desc->num_sample_rates; ++j)
desc             3488 sound/soc/codecs/wm_adsp.c 			if (desc->sample_rates[j] == params->codec.sample_rate)
desc              412 sound/soc/fsl/fsl_asrc.h 	struct dma_async_tx_descriptor *desc[2];
desc               72 sound/soc/fsl/fsl_asrc_dma.c 	pair->desc[!dir] = dmaengine_prep_dma_cyclic(
desc               77 sound/soc/fsl/fsl_asrc_dma.c 	if (!pair->desc[!dir]) {
desc               82 sound/soc/fsl/fsl_asrc_dma.c 	pair->desc[!dir]->callback = fsl_asrc_dma_complete;
desc               83 sound/soc/fsl/fsl_asrc_dma.c 	pair->desc[!dir]->callback_param = substream;
desc               85 sound/soc/fsl/fsl_asrc_dma.c 	dmaengine_submit(pair->desc[!dir]);
desc               88 sound/soc/fsl/fsl_asrc_dma.c 	pair->desc[dir] = dmaengine_prep_dma_cyclic(
desc               90 sound/soc/fsl/fsl_asrc_dma.c 	if (!pair->desc[dir]) {
desc               95 sound/soc/fsl/fsl_asrc_dma.c 	dmaengine_submit(pair->desc[dir]);
desc               43 sound/soc/intel/common/sst-acpi.c 	struct sst_acpi_desc *desc;
desc               53 sound/soc/intel/common/sst-acpi.c 	struct sst_acpi_desc *desc = sst_acpi->desc;
desc               64 sound/soc/intel/common/sst-acpi.c 		platform_device_register_data(dev, desc->drv_name, -1,
desc               68 sound/soc/intel/common/sst-acpi.c 			desc->drv_name, (int)PTR_ERR(sst_acpi->pdev_pcm));
desc               81 sound/soc/intel/common/sst-acpi.c 	struct sst_acpi_desc *desc;
desc               93 sound/soc/intel/common/sst-acpi.c 	desc = (struct sst_acpi_desc *)id->driver_data;
desc               94 sound/soc/intel/common/sst-acpi.c 	mach = snd_soc_acpi_find_machine(desc->machines);
desc              101 sound/soc/intel/common/sst-acpi.c 	sst_pdata->id = desc->sst_id;
desc              103 sound/soc/intel/common/sst-acpi.c 	sst_acpi->desc = desc;
desc              106 sound/soc/intel/common/sst-acpi.c 	sst_pdata->resindex_dma_base = desc->resindex_dma_base;
desc              107 sound/soc/intel/common/sst-acpi.c 	if (desc->resindex_dma_base >= 0) {
desc              108 sound/soc/intel/common/sst-acpi.c 		sst_pdata->dma_engine = desc->dma_engine;
desc              109 sound/soc/intel/common/sst-acpi.c 		sst_pdata->dma_base = desc->resindex_dma_base;
desc              110 sound/soc/intel/common/sst-acpi.c 		sst_pdata->dma_size = desc->dma_size;
desc              113 sound/soc/intel/common/sst-acpi.c 	if (desc->irqindex_host_ipc >= 0)
desc              114 sound/soc/intel/common/sst-acpi.c 		sst_pdata->irq = platform_get_irq(pdev, desc->irqindex_host_ipc);
desc              116 sound/soc/intel/common/sst-acpi.c 	if (desc->resindex_lpe_base >= 0) {
desc              118 sound/soc/intel/common/sst-acpi.c 					     desc->resindex_lpe_base);
desc              125 sound/soc/intel/common/sst-acpi.c 	if (desc->resindex_pcicfg_base >= 0) {
desc              127 sound/soc/intel/common/sst-acpi.c 					     desc->resindex_pcicfg_base);
desc              134 sound/soc/intel/common/sst-acpi.c 	if (desc->resindex_fw_base >= 0) {
desc              136 sound/soc/intel/common/sst-acpi.c 					     desc->resindex_fw_base);
desc               40 sound/soc/intel/common/sst-firmware.c 	struct dma_async_tx_descriptor *desc;
desc               74 sound/soc/intel/common/sst-firmware.c 	struct dma_async_tx_descriptor *desc;
desc               85 sound/soc/intel/common/sst-firmware.c 	desc = dma->ch->device->device_prep_dma_memcpy(dma->ch, dest_addr,
desc               87 sound/soc/intel/common/sst-firmware.c 	if (!desc){
desc               92 sound/soc/intel/common/sst-firmware.c 	desc->callback = sst_dma_transfer_complete;
desc               93 sound/soc/intel/common/sst-firmware.c 	desc->callback_param = sst;
desc               95 sound/soc/intel/common/sst-firmware.c 	desc->tx_submit(desc);
desc               96 sound/soc/intel/common/sst-firmware.c 	dma_wait_for_async_tx(desc);
desc               97 sound/soc/intel/skylake/skl-nhlt.c 	epnt = (struct nhlt_endpoint *)nhlt->desc;
desc              343 sound/soc/intel/skylake/skl-nhlt.c 	epnt = (struct nhlt_endpoint *)nhlt->desc;
desc             1288 sound/soc/sh/fsi.c 	struct dma_async_tx_descriptor *desc;
desc             1298 sound/soc/sh/fsi.c 	desc = dmaengine_prep_dma_cyclic(io->chan,
desc             1304 sound/soc/sh/fsi.c 	if (!desc) {
desc             1309 sound/soc/sh/fsi.c 	desc->callback		= fsi_dma_complete;
desc             1310 sound/soc/sh/fsi.c 	desc->callback_param	= io;
desc             1312 sound/soc/sh/fsi.c 	if (dmaengine_submit(desc) < 0) {
desc              166 sound/soc/sh/rcar/dma.c 	struct dma_async_tx_descriptor *desc;
desc              185 sound/soc/sh/rcar/dma.c 	desc = dmaengine_prep_dma_cyclic(dmaen->chan,
desc              192 sound/soc/sh/rcar/dma.c 	if (!desc) {
desc              197 sound/soc/sh/rcar/dma.c 	desc->callback		= rsnd_dmaen_complete;
desc              198 sound/soc/sh/rcar/dma.c 	desc->callback_param	= rsnd_mod_get(dma);
desc              202 sound/soc/sh/rcar/dma.c 	dmaen->cookie = dmaengine_submit(desc);
desc              110 sound/soc/sh/siu_pcm.c 	struct dma_async_tx_descriptor *desc;
desc              121 sound/soc/sh/siu_pcm.c 	desc = dmaengine_prep_slave_sg(siu_stream->chan,
desc              123 sound/soc/sh/siu_pcm.c 	if (!desc) {
desc              128 sound/soc/sh/siu_pcm.c 	desc->callback = siu_dma_tx_complete;
desc              129 sound/soc/sh/siu_pcm.c 	desc->callback_param = siu_stream;
desc              130 sound/soc/sh/siu_pcm.c 	cookie = dmaengine_submit(desc);
desc              136 sound/soc/sh/siu_pcm.c 	siu_stream->tx_desc = desc;
desc              158 sound/soc/sh/siu_pcm.c 	struct dma_async_tx_descriptor *desc;
desc              171 sound/soc/sh/siu_pcm.c 	desc = dmaengine_prep_slave_sg(siu_stream->chan,
desc              173 sound/soc/sh/siu_pcm.c 	if (!desc) {
desc              178 sound/soc/sh/siu_pcm.c 	desc->callback = siu_dma_tx_complete;
desc              179 sound/soc/sh/siu_pcm.c 	desc->callback_param = siu_stream;
desc              180 sound/soc/sh/siu_pcm.c 	cookie = dmaengine_submit(desc);
desc              186 sound/soc/sh/siu_pcm.c 	siu_stream->tx_desc = desc;
desc              256 sound/soc/soc-jack.c 	enable = gpiod_get_value_cansleep(gpio->desc);
desc              324 sound/soc/soc-jack.c 		gpiod_unexport(gpios[i].desc);
desc              326 sound/soc/soc-jack.c 		free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]);
desc              328 sound/soc/soc-jack.c 		gpiod_put(gpios[i].desc);
desc              371 sound/soc/soc-jack.c 		if (gpios[i].desc) {
desc              376 sound/soc/soc-jack.c 			gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev,
desc              379 sound/soc/soc-jack.c 			if (IS_ERR(gpios[i].desc)) {
desc              380 sound/soc/soc-jack.c 				ret = PTR_ERR(gpios[i].desc);
desc              401 sound/soc/soc-jack.c 			gpios[i].desc = gpio_to_desc(gpios[i].gpio);
desc              407 sound/soc/soc-jack.c 		ret = request_any_context_irq(gpiod_to_irq(gpios[i].desc),
desc              417 sound/soc/soc-jack.c 			ret = irq_set_irq_wake(gpiod_to_irq(gpios[i].desc), 1);
desc              432 sound/soc/soc-jack.c 		gpiod_export(gpios[i].desc, false);
desc              281 sound/soc/sof/core.c 				plat_data->desc, plat_data->desc->ops);
desc              509 sound/soc/sof/core.c 	if (plat_data->desc->ipc_timeout == 0)
desc              512 sound/soc/sof/core.c 		sdev->ipc_timeout = plat_data->desc->ipc_timeout;
desc              513 sound/soc/sof/core.c 	if (plat_data->desc->boot_timeout == 0)
desc              516 sound/soc/sof/core.c 		sdev->boot_timeout = plat_data->desc->boot_timeout;
desc              428 sound/soc/sof/intel/bdw.c 	const struct sof_dev_desc *desc = pdata->desc;
desc              437 sound/soc/sof/intel/bdw.c 				     desc->resindex_lpe_base);
desc              443 sound/soc/sof/intel/bdw.c 			desc->resindex_lpe_base);
desc              464 sound/soc/sof/intel/bdw.c 				     desc->resindex_pcicfg_base);
desc              470 sound/soc/sof/intel/bdw.c 			desc->resindex_pcicfg_base);
desc              485 sound/soc/sof/intel/bdw.c 	sdev->ipc_irq = platform_get_irq(pdev, desc->irqindex_host_ipc);
desc              396 sound/soc/sof/intel/byt.c 	const struct sof_dev_desc *desc = pdata->desc;
desc              409 sound/soc/sof/intel/byt.c 	base = pci_resource_start(pci, desc->resindex_lpe_base) - IRAM_OFFSET;
desc              422 sound/soc/sof/intel/byt.c 	if (desc->resindex_imr_base == -1)
desc              425 sound/soc/sof/intel/byt.c 	base = pci_resource_start(pci, desc->resindex_imr_base);
desc              426 sound/soc/sof/intel/byt.c 	size = pci_resource_len(pci, desc->resindex_imr_base);
desc              531 sound/soc/sof/intel/byt.c 	const struct sof_dev_desc *desc = pdata->desc;
desc              547 sound/soc/sof/intel/byt.c 				     desc->resindex_lpe_base);
desc              553 sound/soc/sof/intel/byt.c 			desc->resindex_lpe_base);
desc              571 sound/soc/sof/intel/byt.c 	if (desc->resindex_imr_base == -1)
desc              575 sound/soc/sof/intel/byt.c 				     desc->resindex_imr_base);
desc              581 sound/soc/sof/intel/byt.c 			desc->resindex_imr_base);
desc              602 sound/soc/sof/intel/byt.c 	sdev->ipc_irq = platform_get_irq(pdev, desc->irqindex_host_ipc);
desc              259 sound/soc/sof/intel/hda-dsp.c 	const struct sof_intel_dsp_desc *chip = hda->desc;
desc              274 sound/soc/sof/intel/hda-dsp.c 	const struct sof_intel_dsp_desc *chip = hda->desc;
desc              288 sound/soc/sof/intel/hda-dsp.c 	const struct sof_intel_dsp_desc *chip = hda->desc;
desc               85 sound/soc/sof/intel/hda-loader.c 	const struct sof_intel_dsp_desc *chip = hda->desc;
desc              268 sound/soc/sof/intel/hda-loader.c 	const struct sof_dev_desc *desc = plat_data->desc;
desc              274 sound/soc/sof/intel/hda-loader.c 	chip_info = desc->chip_info;
desc              421 sound/soc/sof/intel/hda.c 			mach = pdata->desc->machines;
desc              488 sound/soc/sof/intel/hda.c 	const struct sof_dev_desc *desc = pdata->desc;
desc              491 sound/soc/sof/intel/hda.c 	chip_info = desc->chip_info;
desc              532 sound/soc/sof/intel/hda.c 	hdev->desc = chip;
desc              685 sound/soc/sof/intel/hda.c 	const struct sof_intel_dsp_desc *chip = hda->desc;
desc              389 sound/soc/sof/intel/hda.h 	const struct sof_intel_dsp_desc *desc;
desc               68 sound/soc/sof/nocodec.c 		      const struct sof_dev_desc *desc,
desc               80 sound/soc/sof/nocodec.c 	sof_pdata->fw_filename = desc->nocodec_fw_filename;
desc               81 sound/soc/sof/nocodec.c 	sof_pdata->tplg_filename = desc->nocodec_tplg_filename;
desc               22 sound/soc/sof/ops.h 	((sdev)->pdata->desc->ops)
desc              391 sound/soc/sof/ops.h 		if (d == mach_ops[i].desc)
desc              133 sound/soc/sof/sof-acpi-dev.c 	const struct sof_dev_desc *desc;
desc              145 sound/soc/sof/sof-acpi-dev.c 	desc = device_get_match_data(dev);
desc              146 sound/soc/sof/sof-acpi-dev.c 	if (!desc)
desc              150 sound/soc/sof/sof-acpi-dev.c 	if (desc == &sof_acpi_baytrail_desc && soc_intel_is_byt_cr(pdev))
desc              151 sound/soc/sof/sof-acpi-dev.c 		desc = &sof_acpi_baytrailcr_desc;
desc              155 sound/soc/sof/sof-acpi-dev.c 	ops = desc->ops;
desc              167 sound/soc/sof/sof-acpi-dev.c 	ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops);
desc              172 sound/soc/sof/sof-acpi-dev.c 	mach = snd_soc_acpi_find_machine(desc->machines);
desc              183 sound/soc/sof/sof-acpi-dev.c 		mach->mach_params.acpi_ipc_irq_index = desc->irqindex_host_ipc;
desc              187 sound/soc/sof/sof-acpi-dev.c 	sof_pdata->desc = desc;
desc              196 sound/soc/sof/sof-acpi-dev.c 			sof_pdata->desc->default_fw_path;
desc              202 sound/soc/sof/sof-acpi-dev.c 			sof_pdata->desc->default_tplg_path;
desc               45 sound/soc/sof/sof-of-dev.c 	const struct sof_dev_desc *desc;
desc               58 sound/soc/sof/sof-of-dev.c 	desc = device_get_match_data(dev);
desc               59 sound/soc/sof/sof-of-dev.c 	if (!desc)
desc               63 sound/soc/sof/sof-of-dev.c 	ops = desc->ops;
desc               75 sound/soc/sof/sof-of-dev.c 	ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops);
desc               87 sound/soc/sof/sof-of-dev.c 	sof_pdata->desc = desc;
desc               92 sound/soc/sof/sof-of-dev.c 	sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path;
desc               93 sound/soc/sof/sof-of-dev.c 	sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path;
desc              273 sound/soc/sof/sof-pci-dev.c 	const struct sof_dev_desc *desc =
desc              283 sound/soc/sof/sof-pci-dev.c 	ops = desc->ops;
desc              309 sound/soc/sof/sof-pci-dev.c 	ret = sof_nocodec_setup(dev, sof_pdata, mach, desc, ops);
desc              315 sound/soc/sof/sof-pci-dev.c 	mach = snd_soc_acpi_find_machine(desc->machines);
desc              327 sound/soc/sof/sof-pci-dev.c 	sof_pdata->desc = (struct sof_dev_desc *)pci_id->driver_data;
desc              336 sound/soc/sof/sof-pci-dev.c 			sof_pdata->desc->default_fw_path;
desc              342 sound/soc/sof/sof-pci-dev.c 			sof_pdata->desc->default_tplg_path;
desc              217 sound/soc/sof/sof-priv.h #define sof_arch_ops(sdev) ((sdev)->pdata->desc->arch_ops)
desc              221 sound/soc/sof/sof-priv.h 	const struct sof_dev_desc *desc;
desc               44 sound/soc/sprd/sprd-pcm-compress.c 	struct dma_async_tx_descriptor *desc;
desc              238 sound/soc/sprd/sprd-pcm-compress.c 	dma->desc = dma->chan->device->device_prep_slave_sg(dma->chan, sg,
desc              241 sound/soc/sprd/sprd-pcm-compress.c 	if (!dma->desc) {
desc              249 sound/soc/sprd/sprd-pcm-compress.c 		dma->desc->callback = sprd_platform_compr_dma_complete;
desc              250 sound/soc/sprd/sprd-pcm-compress.c 		dma->desc->callback_param = cstream;
desc              445 sound/soc/sprd/sprd-pcm-compress.c 			if (!dma->desc)
desc              448 sound/soc/sprd/sprd-pcm-compress.c 			dma->cookie = dmaengine_submit(dma->desc);
desc               22 sound/soc/sprd/sprd-pcm-dma.c 	struct dma_async_tx_descriptor *desc;
desc              290 sound/soc/sprd/sprd-pcm-dma.c 		data->desc = chan->device->device_prep_slave_sg(chan, sg,
desc              293 sound/soc/sprd/sprd-pcm-dma.c 		if (!data->desc) {
desc              300 sound/soc/sprd/sprd-pcm-dma.c 			data->desc->callback = sprd_pcm_dma_complete;
desc              301 sound/soc/sprd/sprd-pcm-dma.c 			data->desc->callback_param = dma_private;
desc              338 sound/soc/sprd/sprd-pcm-dma.c 			if (!data->desc)
desc              341 sound/soc/sprd/sprd-pcm-dma.c 			data->cookie = dmaengine_submit(data->desc);
desc              239 sound/soc/stm/stm32_spdifrx.c 	struct dma_async_tx_descriptor *desc;
desc              296 sound/soc/stm/stm32_spdifrx.c 	spdifrx->desc = dmaengine_prep_slave_single(spdifrx->ctrl_chan,
desc              301 sound/soc/stm/stm32_spdifrx.c 	if (!spdifrx->desc)
desc              304 sound/soc/stm/stm32_spdifrx.c 	spdifrx->desc->callback = stm32_spdifrx_dma_complete;
desc              305 sound/soc/stm/stm32_spdifrx.c 	spdifrx->desc->callback_param = spdifrx;
desc              306 sound/soc/stm/stm32_spdifrx.c 	cookie = dmaengine_submit(spdifrx->desc);
desc              124 sound/soc/txx9/txx9aclc.c 	struct dma_async_tx_descriptor *desc;
desc              131 sound/soc/txx9/txx9aclc.c 	desc = dmaengine_prep_slave_sg(chan, &sg, 1,
desc              135 sound/soc/txx9/txx9aclc.c 	if (!desc) {
desc              139 sound/soc/txx9/txx9aclc.c 	desc->callback = txx9aclc_dma_complete;
desc              140 sound/soc/txx9/txx9aclc.c 	desc->callback_param = dmadata;
desc              141 sound/soc/txx9/txx9aclc.c 	dmaengine_submit(desc);
desc              142 sound/soc/txx9/txx9aclc.c 	return desc;
desc              151 sound/soc/txx9/txx9aclc.c 	struct dma_async_tx_descriptor *desc;
desc              167 sound/soc/txx9/txx9aclc.c 			desc = txx9aclc_dma_submit(dmadata,
desc              169 sound/soc/txx9/txx9aclc.c 			if (!desc)
desc              187 sound/soc/txx9/txx9aclc.c 		desc = txx9aclc_dma_submit(dmadata,
desc              190 sound/soc/txx9/txx9aclc.c 		if (!desc)
desc              272 sound/sparc/dbri.c 	struct dbri_mem desc[DBRI_NO_DESCS];	/* Xmit/receive descriptors */
desc              286 sound/sparc/dbri.c 	int desc;		/* Index of active descriptor */
desc              770 sound/sparc/dbri.c 		dbri->pipes[n].desc = dbri->pipes[n].first_desc = -1;
desc              814 sound/sparc/dbri.c 	return ((pipe >= 0) && (dbri->pipes[pipe].desc != -1));
desc              825 sound/sparc/dbri.c 	int desc;
desc              847 sound/sparc/dbri.c 	desc = dbri->pipes[pipe].first_desc;
desc              848 sound/sparc/dbri.c 	if (desc >= 0)
desc              850 sound/sparc/dbri.c 			dbri->dma->desc[desc].ba = 0;
desc              851 sound/sparc/dbri.c 			dbri->dma->desc[desc].nda = 0;
desc              852 sound/sparc/dbri.c 			desc = dbri->next_desc[desc];
desc              853 sound/sparc/dbri.c 		} while (desc != -1 && desc != dbri->pipes[pipe].first_desc);
desc              855 sound/sparc/dbri.c 	dbri->pipes[pipe].desc = -1;
desc              884 sound/sparc/dbri.c 	dbri->pipes[pipe].desc = -1;
desc             1091 sound/sparc/dbri.c 	int desc;
desc             1137 sound/sparc/dbri.c 	desc = dbri->pipes[info->pipe].first_desc;
desc             1138 sound/sparc/dbri.c 	if (desc >= 0)
desc             1140 sound/sparc/dbri.c 			dbri->dma->desc[desc].ba = 0;
desc             1141 sound/sparc/dbri.c 			dbri->dma->desc[desc].nda = 0;
desc             1142 sound/sparc/dbri.c 			desc = dbri->next_desc[desc];
desc             1143 sound/sparc/dbri.c 		} while (desc != -1 &&
desc             1144 sound/sparc/dbri.c 			 desc != dbri->pipes[info->pipe].first_desc);
desc             1146 sound/sparc/dbri.c 	dbri->pipes[info->pipe].desc = -1;
desc             1149 sound/sparc/dbri.c 	desc = 0;
desc             1153 sound/sparc/dbri.c 		for (; desc < DBRI_NO_DESCS; desc++) {
desc             1154 sound/sparc/dbri.c 			if (!dbri->dma->desc[desc].ba)
desc             1158 sound/sparc/dbri.c 		if (desc == DBRI_NO_DESCS) {
desc             1171 sound/sparc/dbri.c 		dbri->next_desc[desc] = -1;
desc             1172 sound/sparc/dbri.c 		dbri->dma->desc[desc].ba = dvma_buffer;
desc             1173 sound/sparc/dbri.c 		dbri->dma->desc[desc].nda = 0;
desc             1176 sound/sparc/dbri.c 			dbri->dma->desc[desc].word1 = DBRI_TD_CNT(mylen);
desc             1177 sound/sparc/dbri.c 			dbri->dma->desc[desc].word4 = 0;
desc             1178 sound/sparc/dbri.c 			dbri->dma->desc[desc].word1 |= DBRI_TD_F | DBRI_TD_B;
desc             1180 sound/sparc/dbri.c 			dbri->dma->desc[desc].word1 = 0;
desc             1181 sound/sparc/dbri.c 			dbri->dma->desc[desc].word4 =
desc             1186 sound/sparc/dbri.c 			first_desc = desc;
desc             1188 sound/sparc/dbri.c 			dbri->next_desc[last_desc] = desc;
desc             1189 sound/sparc/dbri.c 			dbri->dma->desc[last_desc].nda =
desc             1190 sound/sparc/dbri.c 			    dvma_addr + dbri_dma_off(desc, desc);
desc             1193 sound/sparc/dbri.c 		last_desc = desc;
desc             1204 sound/sparc/dbri.c 	dbri->dma->desc[last_desc].nda =
desc             1205 sound/sparc/dbri.c 	    dvma_addr + dbri_dma_off(desc, first_desc);
desc             1208 sound/sparc/dbri.c 	dbri->pipes[info->pipe].desc = first_desc;
desc             1211 sound/sparc/dbri.c 	for (desc = first_desc; desc != -1;) {
desc             1213 sound/sparc/dbri.c 			desc,
desc             1214 sound/sparc/dbri.c 			dbri->dma->desc[desc].word1,
desc             1215 sound/sparc/dbri.c 			dbri->dma->desc[desc].ba,
desc             1216 sound/sparc/dbri.c 			dbri->dma->desc[desc].nda, dbri->dma->desc[desc].word4);
desc             1217 sound/sparc/dbri.c 			desc = dbri->next_desc[desc];
desc             1218 sound/sparc/dbri.c 			if (desc == first_desc)
desc             1734 sound/sparc/dbri.c 				   dbri_dma_off(desc, first_td);
desc             1738 sound/sparc/dbri.c 			dbri->pipes[info->pipe].desc = first_td;
desc             1756 sound/sparc/dbri.c 				   dbri_dma_off(desc, first_td);
desc             1760 sound/sparc/dbri.c 			dbri->pipes[info->pipe].desc = first_td;
desc             1784 sound/sparc/dbri.c 	int td = dbri->pipes[pipe].desc;
desc             1793 sound/sparc/dbri.c 		status = DBRI_TD_STATUS(dbri->dma->desc[td].word4);
desc             1799 sound/sparc/dbri.c 		dbri->dma->desc[td].word4 = 0;	/* Reset it for next time. */
desc             1800 sound/sparc/dbri.c 		info->offset += DBRI_RD_CNT(dbri->dma->desc[td].word1);
desc             1803 sound/sparc/dbri.c 		dbri->pipes[pipe].desc = td;
desc             1815 sound/sparc/dbri.c 	int rd = dbri->pipes[pipe].desc;
desc             1823 sound/sparc/dbri.c 	dbri->pipes[pipe].desc = dbri->next_desc[rd];
desc             1824 sound/sparc/dbri.c 	status = dbri->dma->desc[rd].word1;
desc             1825 sound/sparc/dbri.c 	dbri->dma->desc[rd].word1 = 0;	/* Reset it for next time. */
desc             1881 sound/sparc/dbri.c 			int td = dbri->pipes[pipe].desc;
desc             1883 sound/sparc/dbri.c 			dbri->dma->desc[td].word4 = 0;
desc             1888 sound/sparc/dbri.c 			*(cmd++) = dbri->dma_dvma + dbri_dma_off(desc, td);
desc             2505 sound/sparc/dbri.c 				    pptr->sdp, pptr->desc,
desc              450 sound/usb/endpoint.c 		    ep->iface == alts->desc.bInterfaceNumber &&
desc              451 sound/usb/endpoint.c 		    ep->altsetting == alts->desc.bAlternateSetting) {
desc              472 sound/usb/endpoint.c 	ep->iface = alts->desc.bInterfaceNumber;
desc              473 sound/usb/endpoint.c 	ep->altsetting = alts->desc.bAlternateSetting;
desc               75 sound/usb/helper.c 	if (!ep || usb_pipetype(pipe) != pipetypes[usb_endpoint_type(&ep->desc)])
desc               22 sound/usb/helper.h #define get_iface_desc(iface)	(&(iface)->desc)
desc               23 sound/usb/helper.h #define get_endpoint(alt,ep)	(&(alt)->endpoint[ep].desc)
desc               24 sound/usb/helper.h #define get_ep_desc(ep)		(&(ep)->desc)
desc               25 sound/usb/helper.h #define get_cfg_desc(cfg)	(&(cfg)->desc)
desc              524 sound/usb/line6/driver.c 		line6->interval = ep->desc.bInterval;
desc              525 sound/usb/line6/driver.c 		line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize);
desc              770 sound/usb/line6/driver.c 	interface_number = interface->cur_altsetting->desc.bInterfaceNumber;
desc              461 sound/usb/misc/ua101.c 	if (alts->desc.bAlternateSetting != 1) {
desc              463 sound/usb/misc/ua101.c 					    alts->desc.bInterfaceNumber, 1);
desc              482 sound/usb/misc/ua101.c 	if (alts->desc.bAlternateSetting != 0) {
desc              484 sound/usb/misc/ua101.c 					    alts->desc.bInterfaceNumber, 0);
desc              920 sound/usb/misc/ua101.c 	if (alt->desc.bNumEndpoints != 0) {
desc              926 sound/usb/misc/ua101.c 	if (alt->desc.bNumEndpoints != 1) {
desc              934 sound/usb/misc/ua101.c 		struct uac_format_type_i_discrete_descriptor *desc;
desc              936 sound/usb/misc/ua101.c 		desc = (struct uac_format_type_i_discrete_descriptor *)extra;
desc              937 sound/usb/misc/ua101.c 		if (desc->bLength > extralen) {
desc              941 sound/usb/misc/ua101.c 		if (desc->bLength == UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1) &&
desc              942 sound/usb/misc/ua101.c 		    desc->bDescriptorType == USB_DT_CS_INTERFACE &&
desc              943 sound/usb/misc/ua101.c 		    desc->bDescriptorSubtype == UAC_FORMAT_TYPE) {
desc              944 sound/usb/misc/ua101.c 			if (desc->bFormatType != UAC_FORMAT_TYPE_I_PCM ||
desc              945 sound/usb/misc/ua101.c 			    desc->bSamFreqType != 1) {
desc              950 sound/usb/misc/ua101.c 			return desc;
desc              952 sound/usb/misc/ua101.c 		extralen -= desc->bLength;
desc              953 sound/usb/misc/ua101.c 		extra += desc->bLength;
desc             1022 sound/usb/misc/ua101.c 	epd = &ua->intf[INTF_CAPTURE]->altsetting[1].endpoint[0].desc;
desc             1030 sound/usb/misc/ua101.c 	epd = &ua->intf[INTF_PLAYBACK]->altsetting[1].endpoint[0].desc;
desc             1211 sound/usb/misc/ua101.c 	if (interface->altsetting->desc.bInterfaceNumber !=
desc              739 sound/usb/mixer.c 				       struct uac_mixer_unit_descriptor *desc)
desc              747 sound/usb/mixer.c 		if (desc->bLength < sizeof(*desc) + desc->bNrInPins + 1)
desc              749 sound/usb/mixer.c 		mu_channels = uac_mixer_unit_bNrChannels(desc);
desc              753 sound/usb/mixer.c 				uac3_mixer_unit_wClusterDescrID(desc));
desc             1724 sound/usb/mixer.c 	struct uac_feature_unit_descriptor *desc = raw_desc;
desc             1725 sound/usb/mixer.c 	int nameid = uac_feature_unit_iFeature(desc);
desc             2002 sound/usb/mixer.c static bool mixer_bitmap_overflow(struct uac_mixer_unit_descriptor *desc,
desc             2005 sound/usb/mixer.c 	u8 *hdr = (u8 *)desc;
desc             2006 sound/usb/mixer.c 	u8 *c = uac_mixer_unit_bmControls(desc, protocol);
desc             2033 sound/usb/mixer.c 				 struct uac_mixer_unit_descriptor *desc,
desc             2054 sound/usb/mixer.c 		__u8 *c = uac_mixer_unit_bmControls(desc, state->mixer->protocol);
desc             2122 sound/usb/mixer.c 	struct uac_mixer_unit_descriptor *desc = raw_desc;
desc             2127 sound/usb/mixer.c 	err = uac_mixer_unit_get_channels(state, desc);
desc             2136 sound/usb/mixer.c 	input_pins = desc->bNrInPins;
desc             2141 sound/usb/mixer.c 		err = parse_audio_unit(state, desc->baSourceID[pin]);
desc             2147 sound/usb/mixer.c 		err = check_input_term(state, desc->baSourceID[pin], &iterm);
desc             2151 sound/usb/mixer.c 		if (mixer_bitmap_overflow(desc, state->mixer->protocol,
desc             2158 sound/usb/mixer.c 				__u8 *c = uac_mixer_unit_bmControls(desc,
desc             2167 sound/usb/mixer.c 				build_mixer_unit_ctl(state, desc, pin, ich, num_outs,
desc             2343 sound/usb/mixer.c 	struct uac_processing_unit_descriptor *desc = raw_desc;
desc             2361 sound/usb/mixer.c 	num_ins = desc->bNrInPins;
desc             2363 sound/usb/mixer.c 		err = parse_audio_unit(state, desc->baSourceID[i]);
desc             2368 sound/usb/mixer.c 	type = le16_to_cpu(desc->wProcessType);
desc             2376 sound/usb/mixer.c 		__u8 *controls = uac_processing_unit_bmControls(desc, state->mixer->protocol);
desc             2423 sound/usb/mixer.c 				__u8 *control_spec = uac_processing_unit_specific(desc,
desc             2463 sound/usb/mixer.c 				nameid = uac_extension_unit_iExtension(desc, state->mixer->protocol);
desc             2465 sound/usb/mixer.c 				nameid = uac_processing_unit_iProcessing(desc, state->mixer->protocol);
desc             2608 sound/usb/mixer.c 	struct uac_selector_unit_descriptor *desc = raw_desc;
desc             2616 sound/usb/mixer.c 	for (i = 0; i < desc->bNrInPins; i++) {
desc             2617 sound/usb/mixer.c 		err = parse_audio_unit(state, desc->baSourceID[i]);
desc             2622 sound/usb/mixer.c 	if (desc->bNrInPins == 1) /* only one ? nonsense! */
desc             2636 sound/usb/mixer.c 	cval->max = desc->bNrInPins;
desc             2647 sound/usb/mixer.c 		if (desc->bDescriptorSubtype == UAC2_CLOCK_SELECTOR ||
desc             2648 sound/usb/mixer.c 		    desc->bDescriptorSubtype == UAC3_CLOCK_SELECTOR)
desc             2655 sound/usb/mixer.c 	namelist = kcalloc(desc->bNrInPins, sizeof(char *), GFP_KERNEL);
desc             2661 sound/usb/mixer.c 	for (i = 0; i < desc->bNrInPins; i++) {
desc             2671 sound/usb/mixer.c 		if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0)
desc             2696 sound/usb/mixer.c 			nameid = uac_selector_unit_iSelector(desc);
desc             2716 sound/usb/mixer.c 		if (desc->bDescriptorSubtype == UAC2_CLOCK_SELECTOR ||
desc             2717 sound/usb/mixer.c 		    desc->bDescriptorSubtype == UAC3_CLOCK_SELECTOR)
desc             2726 sound/usb/mixer.c 		    cval->head.id, kctl->id.name, desc->bNrInPins);
desc             2730 sound/usb/mixer.c 	for (i = 0; i < desc->bNrInPins; i++)
desc             3121 sound/usb/mixer.c 			struct uac1_output_terminal_descriptor *desc = p;
desc             3124 sound/usb/mixer.c 			set_bit(desc->bTerminalID, state.unitbitmap);
desc             3125 sound/usb/mixer.c 			state.oterm.id = desc->bTerminalID;
desc             3126 sound/usb/mixer.c 			state.oterm.type = le16_to_cpu(desc->wTerminalType);
desc             3127 sound/usb/mixer.c 			state.oterm.name = desc->iTerminal;
desc             3128 sound/usb/mixer.c 			err = parse_audio_unit(&state, desc->bSourceID);
desc             3132 sound/usb/mixer.c 			struct uac2_output_terminal_descriptor *desc = p;
desc             3135 sound/usb/mixer.c 			set_bit(desc->bTerminalID, state.unitbitmap);
desc             3136 sound/usb/mixer.c 			state.oterm.id = desc->bTerminalID;
desc             3137 sound/usb/mixer.c 			state.oterm.type = le16_to_cpu(desc->wTerminalType);
desc             3138 sound/usb/mixer.c 			state.oterm.name = desc->iTerminal;
desc             3139 sound/usb/mixer.c 			err = parse_audio_unit(&state, desc->bSourceID);
desc             3147 sound/usb/mixer.c 			err = parse_audio_unit(&state, desc->bCSourceID);
desc             3152 sound/usb/mixer.c 			    uac_v2v3_control_is_readable(le16_to_cpu(desc->bmControls),
desc             3158 sound/usb/mixer.c 			struct uac3_output_terminal_descriptor *desc = p;
desc             3161 sound/usb/mixer.c 			set_bit(desc->bTerminalID, state.unitbitmap);
desc             3162 sound/usb/mixer.c 			state.oterm.id = desc->bTerminalID;
desc             3163 sound/usb/mixer.c 			state.oterm.type = le16_to_cpu(desc->wTerminalType);
desc             3164 sound/usb/mixer.c 			state.oterm.name = le16_to_cpu(desc->wTerminalDescrStr);
desc             3165 sound/usb/mixer.c 			err = parse_audio_unit(&state, desc->bSourceID);
desc             3173 sound/usb/mixer.c 			err = parse_audio_unit(&state, desc->bCSourceID);
desc             3178 sound/usb/mixer.c 			    uac_v2v3_control_is_readable(le32_to_cpu(desc->bmControls),
desc             1301 sound/usb/mixer_us16x08.c 	if (mixer->hostif->desc.bInterfaceNumber == 3) {
desc              381 sound/usb/quirks.c 	ifcount = chip->dev->actconfig->desc.bNumInterfaces;
desc              625 sound/usb/quirks.c 	if (dev->actconfig->desc.bConfigurationValue == 1) {
desc              599 sound/usb/usx2y/us122l.c 		    intf, intf->cur_altsetting->desc.bInterfaceNumber);
desc              600 sound/usb/usx2y/us122l.c 	if (intf->cur_altsetting->desc.bInterfaceNumber != 1)
desc               58 sound/usb/usx2y/usb_stream.c 		struct usb_iso_packet_descriptor *desc;
desc               71 sound/usb/usx2y/usb_stream.c 		desc = urb->iso_frame_desc;
desc               72 sound/usb/usx2y/usb_stream.c 		desc->offset = 0;
desc               73 sound/usb/usx2y/usb_stream.c 		desc->length = maxpacket;
desc               75 sound/usb/usx2y/usb_stream.c 			desc[p].offset = desc[p - 1].offset + maxpacket;
desc               76 sound/usb/usx2y/usb_stream.c 			desc[p].length = maxpacket;
desc              142 sound/usb/usx2y/usx2yhwdeppcm.c 		struct usb_iso_packet_descriptor *desc = urb->iso_frame_desc + pack;
desc              149 sound/usb/usx2y/usx2yhwdeppcm.c 			shm->captured_iso[head].offset = desc->offset;
desc              150 sound/usb/usx2y/usx2yhwdeppcm.c 			shm->captured_iso[head].length = desc->actual_length;
desc              154 sound/usb/usx2y/usx2yhwdeppcm.c 		if ((desc->offset += desc->length * NRURBS*nr_of_packs()) +
desc              155 sound/usb/usx2y/usx2yhwdeppcm.c 		    desc->length >= SSS)
desc              156 sound/usb/usx2y/usx2yhwdeppcm.c 			desc->offset -= (SSS - desc->length);
desc              149 tools/include/uapi/drm/drm.h 	char __user *desc;	  /**< User-space buffer to hold desc */
desc               46 tools/include/uapi/linux/if_xdp.h 	__u64 desc;
desc              772 tools/lib/bpf/btf.c 	const char *desc;
desc              789 tools/lib/bpf/btf.c 		     ext_sec->desc);
desc              798 tools/lib/bpf/btf.c 			 ext_sec->desc, ext_sec->off, ext_sec->len);
desc              804 tools/lib/bpf/btf.c 		pr_debug(".BTF.ext %s record size not found\n", ext_sec->desc);
desc              813 tools/lib/bpf/btf.c 			 ext_sec->desc, record_size);
desc              822 tools/lib/bpf/btf.c 		pr_debug("%s section in .BTF.ext has no records", ext_sec->desc);
desc              833 tools/lib/bpf/btf.c 			     ext_sec->desc);
desc              840 tools/lib/bpf/btf.c 			     ext_sec->desc);
desc              848 tools/lib/bpf/btf.c 			     ext_sec->desc);
desc              871 tools/lib/bpf/btf.c 		.desc = "func_info"
desc              884 tools/lib/bpf/btf.c 		.desc = "line_info",
desc              897 tools/lib/bpf/btf.c 		.desc = "offset_reloc",
desc             5778 tools/lib/bpf/libbpf.c 		struct bpf_prog_info_array_desc *desc;
desc             5781 tools/lib/bpf/libbpf.c 		desc = bpf_prog_info_array_desc + i;
desc             5784 tools/lib/bpf/libbpf.c 		if (info_len < desc->array_offset + sizeof(__u32) ||
desc             5785 tools/lib/bpf/libbpf.c 		    info_len < desc->count_offset + sizeof(__u32) ||
desc             5786 tools/lib/bpf/libbpf.c 		    (desc->size_offset > 0 && info_len < desc->size_offset))
desc             5794 tools/lib/bpf/libbpf.c 		count = bpf_prog_info_read_offset_u32(&info, desc->count_offset);
desc             5795 tools/lib/bpf/libbpf.c 		size  = bpf_prog_info_read_offset_u32(&info, desc->size_offset);
desc             5812 tools/lib/bpf/libbpf.c 		struct bpf_prog_info_array_desc *desc;
desc             5818 tools/lib/bpf/libbpf.c 		desc  = bpf_prog_info_array_desc + i;
desc             5819 tools/lib/bpf/libbpf.c 		count = bpf_prog_info_read_offset_u32(&info, desc->count_offset);
desc             5820 tools/lib/bpf/libbpf.c 		size  = bpf_prog_info_read_offset_u32(&info, desc->size_offset);
desc             5822 tools/lib/bpf/libbpf.c 					     desc->count_offset, count);
desc             5824 tools/lib/bpf/libbpf.c 					     desc->size_offset, size);
desc             5826 tools/lib/bpf/libbpf.c 					     desc->array_offset,
desc             5841 tools/lib/bpf/libbpf.c 		struct bpf_prog_info_array_desc *desc;
desc             5847 tools/lib/bpf/libbpf.c 		desc = bpf_prog_info_array_desc + i;
desc             5848 tools/lib/bpf/libbpf.c 		v1 = bpf_prog_info_read_offset_u32(&info, desc->count_offset);
desc             5850 tools/lib/bpf/libbpf.c 						   desc->count_offset);
desc             5854 tools/lib/bpf/libbpf.c 		v1 = bpf_prog_info_read_offset_u32(&info, desc->size_offset);
desc             5856 tools/lib/bpf/libbpf.c 						   desc->size_offset);
desc             5873 tools/lib/bpf/libbpf.c 		struct bpf_prog_info_array_desc *desc;
desc             5879 tools/lib/bpf/libbpf.c 		desc = bpf_prog_info_array_desc + i;
desc             5881 tools/lib/bpf/libbpf.c 						     desc->array_offset);
desc             5884 tools/lib/bpf/libbpf.c 					     desc->array_offset, offs);
desc             5893 tools/lib/bpf/libbpf.c 		struct bpf_prog_info_array_desc *desc;
desc             5899 tools/lib/bpf/libbpf.c 		desc = bpf_prog_info_array_desc + i;
desc             5901 tools/lib/bpf/libbpf.c 						     desc->array_offset);
desc             5904 tools/lib/bpf/libbpf.c 					     desc->array_offset, addr);
desc               80 tools/lib/bpf/xsk.c 	__u64 desc;
desc              163 tools/lib/bpf/xsk.c 	off->rx.desc = off_v1.rx.desc;
desc              168 tools/lib/bpf/xsk.c 	off->tx.desc = off_v1.tx.desc;
desc              173 tools/lib/bpf/xsk.c 	off->fr.desc = off_v1.fr.desc;
desc              178 tools/lib/bpf/xsk.c 	off->cr.desc = off_v1.cr.desc;
desc              265 tools/lib/bpf/xsk.c 	map = mmap(NULL, off.fr.desc + umem->config.fill_size * sizeof(__u64),
desc              279 tools/lib/bpf/xsk.c 	fill->ring = map + off.fr.desc;
desc              282 tools/lib/bpf/xsk.c 	map = mmap(NULL, off.cr.desc + umem->config.comp_size * sizeof(__u64),
desc              296 tools/lib/bpf/xsk.c 	comp->ring = map + off.cr.desc;
desc              302 tools/lib/bpf/xsk.c 	munmap(map, off.fr.desc + umem->config.fill_size * sizeof(__u64));
desc              632 tools/lib/bpf/xsk.c 		rx_map = mmap(NULL, off.rx.desc +
desc              646 tools/lib/bpf/xsk.c 		rx->ring = rx_map + off.rx.desc;
desc              651 tools/lib/bpf/xsk.c 		tx_map = mmap(NULL, off.tx.desc +
desc              665 tools/lib/bpf/xsk.c 		tx->ring = tx_map + off.tx.desc;
desc              694 tools/lib/bpf/xsk.c 		munmap(tx_map, off.tx.desc +
desc              698 tools/lib/bpf/xsk.c 		munmap(rx_map, off.rx.desc +
desc              721 tools/lib/bpf/xsk.c 		munmap(umem->fill->ring - off.fr.desc,
desc              722 tools/lib/bpf/xsk.c 		       off.fr.desc + umem->config.fill_size * sizeof(__u64));
desc              723 tools/lib/bpf/xsk.c 		munmap(umem->comp->ring - off.cr.desc,
desc              724 tools/lib/bpf/xsk.c 		       off.cr.desc + umem->config.comp_size * sizeof(__u64));
desc              750 tools/lib/bpf/xsk.c 			munmap(xsk->rx->ring - off.rx.desc,
desc              751 tools/lib/bpf/xsk.c 			       off.rx.desc + xsk->config.rx_size * desc_sz);
desc              754 tools/lib/bpf/xsk.c 			munmap(xsk->tx->ring - off.tx.desc,
desc              755 tools/lib/bpf/xsk.c 			       off.tx.desc + xsk->config.tx_size * desc_sz);
desc                9 tools/perf/arch/arm/tests/arch-tests.c 		.desc = "DWARF unwind",
desc               14 tools/perf/arch/arm/tests/arch-tests.c 		.desc = "Vectors page",
desc                9 tools/perf/arch/arm64/tests/arch-tests.c 		.desc = "DWARF unwind",
desc                9 tools/perf/arch/powerpc/tests/arch-tests.c 		.desc = "Test dwarf unwind",
desc                8 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "x86 rdpmc",
desc               12 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "Convert perf time to TSC",
desc               17 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "DWARF unwind",
desc               23 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "x86 instruction decoder - new instructions",
desc               27 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "Intel PT packet decoder",
desc               33 tools/perf/arch/x86/tests/arch-tests.c 		.desc = "x86 bp modify",
desc              175 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 	char desc[INTEL_PT_PKT_DESC_MAX];
desc              183 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 	ret = intel_pt_pkt_desc(packet, desc, INTEL_PT_PKT_DESC_MAX);
desc              188 tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c 	pr_debug("%s\n", desc);
desc               59 tools/perf/bench/mem-functions.c 	const char *desc;
desc              125 tools/perf/bench/mem-functions.c 	printf("# function '%s' (%s)\n", r->name, r->desc);
desc              216 tools/perf/bench/mem-functions.c 			       info->functions[i].name, info->functions[i].desc);
desc              273 tools/perf/bench/mem-functions.c 	  .desc		= "Default memcpy() provided by glibc",
desc              277 tools/perf/bench/mem-functions.c # define MEMCPY_FN(_fn, _name, _desc) {.name = _name, .desc = _desc, .fn.memcpy = _fn},
desc              352 tools/perf/bench/mem-functions.c 	  .desc		= "Default memset() provided by glibc",
desc              356 tools/perf/bench/mem-functions.c # define MEMSET_FN(_fn, _name, _desc) { .name = _name, .desc = _desc, .fn.memset = _fn },
desc                5 tools/perf/bench/mem-memcpy-arch.h #define MEMCPY_FN(fn, name, desc)		\
desc                5 tools/perf/bench/mem-memset-arch.h #define MEMSET_FN(fn, name, desc)		\
desc              536 tools/perf/builtin-report.c 		const char *desc =
desc              541 tools/perf/builtin-report.c 			desc = "If some relocation was applied (e.g. "
desc              549 tools/perf/builtin-report.c 		desc);
desc             2898 tools/perf/builtin-script.c static int read_script_info(struct script_desc *desc, const char *filename)
desc             2923 tools/perf/builtin-script.c 			desc->half_liner = strdup(skip_spaces(p));
desc             2929 tools/perf/builtin-script.c 			desc->args = strdup(skip_spaces(p));
desc             2966 tools/perf/builtin-script.c 	struct script_desc *desc;
desc             2991 tools/perf/builtin-script.c 				desc = script_desc__findnew(script_root);
desc             2994 tools/perf/builtin-script.c 				read_script_info(desc, script_path);
desc             3001 tools/perf/builtin-script.c 	list_for_each_entry(desc, &script_descs, node) {
desc             3002 tools/perf/builtin-script.c 		sprintf(first_half, "%s %s", desc->name,
desc             3003 tools/perf/builtin-script.c 			desc->args ? desc->args : "");
desc             3005 tools/perf/builtin-script.c 			desc->half_liner ? desc->half_liner : "");
desc             3197 tools/perf/builtin-script.c 	struct script_desc *desc;
desc             3201 tools/perf/builtin-script.c 	desc = script_desc__new(NULL);
desc             3203 tools/perf/builtin-script.c 	if (read_script_info(desc, script_path))
desc             3206 tools/perf/builtin-script.c 	if (!desc->args)
desc             3209 tools/perf/builtin-script.c 	for (p = desc->args; *p; p++)
desc             3213 tools/perf/builtin-script.c 	script_desc__delete(desc);
desc              322 tools/perf/pmu-events/jevents.c 				    char *desc, char *long_desc,
desc              341 tools/perf/pmu-events/jevents.c 	fprintf(outfp, "\t.desc = \"%s\",\n", desc);
desc              366 tools/perf/pmu-events/jevents.c 	char *desc;
desc              393 tools/perf/pmu-events/jevents.c 	op(desc);						\
desc              417 tools/perf/pmu-events/jevents.c 				char *desc, char *long_desc, char *pmu,
desc              479 tools/perf/pmu-events/jevents.c try_fixup(const char *fn, char *arch_std, char **event, char **desc,
desc              506 tools/perf/pmu-events/jevents.c 	  int (*func)(void *data, char *name, char *event, char *desc,
desc              529 tools/perf/pmu-events/jevents.c 		char *event = NULL, *desc = NULL, *name = NULL;
desc              575 tools/perf/pmu-events/jevents.c 				addfield(map, &desc, "", "", val);
desc              576 tools/perf/pmu-events/jevents.c 				fixdesc(desc);
desc              608 tools/perf/pmu-events/jevents.c 				addfield(map, &desc, ". ", "Unit: ", NULL);
desc              609 tools/perf/pmu-events/jevents.c 				addfield(map, &desc, "", pmu, NULL);
desc              610 tools/perf/pmu-events/jevents.c 				addfield(map, &desc, "", " ", NULL);
desc              632 tools/perf/pmu-events/jevents.c 		if (precise && desc && !strstr(desc, "(Precise Event)")) {
desc              642 tools/perf/pmu-events/jevents.c 		if (desc && extra_desc)
desc              643 tools/perf/pmu-events/jevents.c 			addfield(map, &desc, " ", extra_desc, NULL);
desc              658 tools/perf/pmu-events/jevents.c 			err = try_fixup(fn, arch_std, &event, &desc, &name,
desc              665 tools/perf/pmu-events/jevents.c 		err = func(data, name, real_event(name, event), desc, long_desc,
desc              669 tools/perf/pmu-events/jevents.c 		free(desc);
desc                6 tools/perf/pmu-events/jevents.h 		int (*func)(void *data, char *name, char *event, char *desc,
desc               11 tools/perf/pmu-events/pmu-events.h 	const char *desc;
desc               63 tools/perf/tests/bpf.c 	const char *desc;
desc               73 tools/perf/tests/bpf.c 		.desc		  = "Basic BPF filtering",
desc               82 tools/perf/tests/bpf.c 		.desc		  = "BPF pinning",
desc               93 tools/perf/tests/bpf.c 		.desc		  = "BPF prologue generation",
desc              103 tools/perf/tests/bpf.c 		.desc		  = "BPF relocation checker",
desc              298 tools/perf/tests/bpf.c 	return bpf_testcase_table[i].desc;
desc               40 tools/perf/tests/builtin-test.c 		.desc = "vmlinux symtab matches kallsyms",
desc               44 tools/perf/tests/builtin-test.c 		.desc = "Detect openat syscall event",
desc               48 tools/perf/tests/builtin-test.c 		.desc = "Detect openat syscall event on all cpus",
desc               52 tools/perf/tests/builtin-test.c 		.desc = "Read samples using the mmap interface",
desc               56 tools/perf/tests/builtin-test.c 		.desc = "Test data source output",
desc               60 tools/perf/tests/builtin-test.c 		.desc = "Parse event definition strings",
desc               64 tools/perf/tests/builtin-test.c 		.desc = "Simple expression parser",
desc               68 tools/perf/tests/builtin-test.c 		.desc = "PERF_RECORD_* events & perf_sample fields",
desc               72 tools/perf/tests/builtin-test.c 		.desc = "Parse perf pmu format",
desc               76 tools/perf/tests/builtin-test.c 		.desc = "DSO data read",
desc               80 tools/perf/tests/builtin-test.c 		.desc = "DSO data cache",
desc               84 tools/perf/tests/builtin-test.c 		.desc = "DSO data reopen",
desc               88 tools/perf/tests/builtin-test.c 		.desc = "Roundtrip evsel->name",
desc               92 tools/perf/tests/builtin-test.c 		.desc = "Parse sched tracepoints fields",
desc               96 tools/perf/tests/builtin-test.c 		.desc = "syscalls:sys_enter_openat event fields",
desc              100 tools/perf/tests/builtin-test.c 		.desc = "Setup struct perf_event_attr",
desc              104 tools/perf/tests/builtin-test.c 		.desc = "Match and link multiple hists",
desc              108 tools/perf/tests/builtin-test.c 		.desc = "'import perf' in python",
desc              112 tools/perf/tests/builtin-test.c 		.desc = "Breakpoint overflow signal handler",
desc              117 tools/perf/tests/builtin-test.c 		.desc = "Breakpoint overflow sampling",
desc              122 tools/perf/tests/builtin-test.c 		.desc = "Breakpoint accounting",
desc              127 tools/perf/tests/builtin-test.c 		.desc = "Watchpoint",
desc              137 tools/perf/tests/builtin-test.c 		.desc = "Number of exit events of a simple workload",
desc              141 tools/perf/tests/builtin-test.c 		.desc = "Software clock events period values",
desc              145 tools/perf/tests/builtin-test.c 		.desc = "Object code reading",
desc              149 tools/perf/tests/builtin-test.c 		.desc = "Sample parsing",
desc              153 tools/perf/tests/builtin-test.c 		.desc = "Use a dummy software event to keep tracking",
desc              157 tools/perf/tests/builtin-test.c 		.desc = "Parse with no sample_id_all bit set",
desc              161 tools/perf/tests/builtin-test.c 		.desc = "Filter hist entries",
desc              165 tools/perf/tests/builtin-test.c 		.desc = "Lookup mmap thread",
desc              169 tools/perf/tests/builtin-test.c 		.desc = "Share thread mg",
desc              173 tools/perf/tests/builtin-test.c 		.desc = "Sort output of hist entries",
desc              177 tools/perf/tests/builtin-test.c 		.desc = "Cumulate child hist entries",
desc              181 tools/perf/tests/builtin-test.c 		.desc = "Track with sched_switch",
desc              185 tools/perf/tests/builtin-test.c 		.desc = "Filter fds with revents mask in a fdarray",
desc              189 tools/perf/tests/builtin-test.c 		.desc = "Add fd to a fdarray, making it autogrow",
desc              193 tools/perf/tests/builtin-test.c 		.desc = "kmod_path__parse",
desc              197 tools/perf/tests/builtin-test.c 		.desc = "Thread map",
desc              201 tools/perf/tests/builtin-test.c 		.desc = "LLVM search and compile",
desc              210 tools/perf/tests/builtin-test.c 		.desc = "Session topology",
desc              214 tools/perf/tests/builtin-test.c 		.desc = "BPF filter",
desc              223 tools/perf/tests/builtin-test.c 		.desc = "Synthesize thread map",
desc              227 tools/perf/tests/builtin-test.c 		.desc = "Remove thread map",
desc              231 tools/perf/tests/builtin-test.c 		.desc = "Synthesize cpu map",
desc              235 tools/perf/tests/builtin-test.c 		.desc = "Synthesize stat config",
desc              239 tools/perf/tests/builtin-test.c 		.desc = "Synthesize stat",
desc              243 tools/perf/tests/builtin-test.c 		.desc = "Synthesize stat round",
desc              247 tools/perf/tests/builtin-test.c 		.desc = "Synthesize attr update",
desc              251 tools/perf/tests/builtin-test.c 		.desc = "Event times",
desc              255 tools/perf/tests/builtin-test.c 		.desc = "Read backward ring buffer",
desc              259 tools/perf/tests/builtin-test.c 		.desc = "Print cpu map",
desc              263 tools/perf/tests/builtin-test.c 		.desc = "Probe SDT events",
desc              267 tools/perf/tests/builtin-test.c 		.desc = "is_printable_array",
desc              271 tools/perf/tests/builtin-test.c 		.desc = "Print bitmap",
desc              275 tools/perf/tests/builtin-test.c 		.desc = "perf hooks",
desc              279 tools/perf/tests/builtin-test.c 		.desc = "builtin clang support",
desc              288 tools/perf/tests/builtin-test.c 		.desc = "unit_number__scnprintf",
desc              292 tools/perf/tests/builtin-test.c 		.desc = "mem2node",
desc              296 tools/perf/tests/builtin-test.c 		.desc = "time utils",
desc              300 tools/perf/tests/builtin-test.c 		.desc = "map_groups__merge_in",
desc              330 tools/perf/tests/builtin-test.c 		if (strcasestr(test->desc, argv[i]))
desc              407 tools/perf/tests/builtin-test.c 		pr_debug("%s:", t->desc);
desc              409 tools/perf/tests/builtin-test.c 		pr_debug("%s subtest %d:", t->desc, subtest + 1);
desc              490 tools/perf/tests/builtin-test.c 		const char *desc = shell_test__description(bf, sizeof(bf), path, ent->d_name);
desc              492 tools/perf/tests/builtin-test.c 		if (desc) {
desc              493 tools/perf/tests/builtin-test.c 			int len = strlen(desc);
desc              542 tools/perf/tests/builtin-test.c 		char desc[256];
desc              544 tools/perf/tests/builtin-test.c 			.desc = shell_test__description(desc, sizeof(desc), st.dir, ent->d_name),
desc              553 tools/perf/tests/builtin-test.c 		pr_info("%2d: %-*s:", i, width, test.desc);
desc              569 tools/perf/tests/builtin-test.c 		int len = strlen(t->desc);
desc              582 tools/perf/tests/builtin-test.c 			pr_debug("%2d: %-*s: Disabled\n", i, width, t->desc);
desc              586 tools/perf/tests/builtin-test.c 		pr_info("%2d: %-*s:", i, width, t->desc);
desc              654 tools/perf/tests/builtin-test.c 			.desc = shell_test__description(bf, sizeof(bf), path, ent->d_name),
desc              660 tools/perf/tests/builtin-test.c 		pr_info("%2d: %s\n", i, t.desc);
desc              680 tools/perf/tests/builtin-test.c 		pr_info("%2d: %s\n", i, t->desc);
desc                8 tools/perf/tests/clang.c 	const char *desc;
desc               13 tools/perf/tests/clang.c 		.desc = "builtin clang compile C source to IR",
desc               17 tools/perf/tests/clang.c 		.desc = "builtin clang compile C source to ELF object",
desc               31 tools/perf/tests/clang.c 	return clang_testcase_table[i].desc;
desc               33 tools/perf/tests/llvm.c 	const char *desc;
desc               38 tools/perf/tests/llvm.c 		.desc = "Basic BPF llvm compile",
desc               42 tools/perf/tests/llvm.c 		.desc = "kbuild searching",
desc               46 tools/perf/tests/llvm.c 		.desc = "Compile source for BPF prologue generation",
desc               50 tools/perf/tests/llvm.c 		.desc = "Compile source for BPF relocation",
desc               63 tools/perf/tests/llvm.c 	const char *desc;
desc               72 tools/perf/tests/llvm.c 	desc = bpf_source_table[idx].desc;
desc              132 tools/perf/tests/llvm.c 		pr_debug("Failed to compile test case: '%s'\n", desc);
desc              153 tools/perf/tests/llvm.c 				 bpf_source_table[subtest].desc);
desc              171 tools/perf/tests/llvm.c 	return bpf_source_table[subtest].desc;
desc               31 tools/perf/tests/tests.h 	const char *desc;
desc              185 tools/perf/tests/wp.c 	const char *desc;
desc              191 tools/perf/tests/wp.c 		.desc = "Read Only Watchpoint",
desc              197 tools/perf/tests/wp.c 		.desc = "Write Only Watchpoint",
desc              201 tools/perf/tests/wp.c 		.desc = "Read / Write Watchpoint",
desc              205 tools/perf/tests/wp.c 		.desc = "Modify Watchpoint",
desc              219 tools/perf/tests/wp.c 	return wp_testcase_table[i].desc;
desc               55 tools/perf/util/arm-spe.c 	char desc[ARM_SPE_PKT_DESC_MAX];
desc               75 tools/perf/util/arm-spe.c 			ret = arm_spe_pkt_desc(&packet, desc,
desc               78 tools/perf/util/arm-spe.c 				color_fprintf(stdout, color, " %s\n", desc);
desc              189 tools/perf/util/bpf-loader.c 	const char *desc;
desc              195 tools/perf/util/bpf-loader.c 		.desc	= "Set uprobe target",
desc              201 tools/perf/util/bpf-loader.c 		.desc	= "Set kprobe module",
desc              207 tools/perf/util/bpf-loader.c 		.desc	= "Probe at inline symbol",
desc              213 tools/perf/util/bpf-loader.c 		.desc	= "Forcibly add events with existing name",
desc              235 tools/perf/util/bpf-loader.c 			 bpf_prog_config_terms[i].desc);
desc               81 tools/perf/util/genelf.c 	Elf_Note desc;		/* descsz: size of build-id, must be multiple of 4 */
desc              466 tools/perf/util/genelf.c 	bnote.desc.namesz = sizeof(bnote.name); /* must include 0 termination */
desc              467 tools/perf/util/genelf.c 	bnote.desc.descsz = sizeof(bnote.build_id);
desc              468 tools/perf/util/genelf.c 	bnote.desc.type   = NT_GNU_BUILD_ID;
desc             2432 tools/perf/util/header.c 	} *desc;
desc             2443 tools/perf/util/header.c 	desc = calloc(nr_groups, sizeof(*desc));
desc             2444 tools/perf/util/header.c 	if (!desc)
desc             2448 tools/perf/util/header.c 		desc[i].name = do_read_string(ff);
desc             2449 tools/perf/util/header.c 		if (!desc[i].name)
desc             2452 tools/perf/util/header.c 		if (do_read_u32(ff, &desc[i].leader_idx))
desc             2455 tools/perf/util/header.c 		if (do_read_u32(ff, &desc[i].nr_members))
desc             2467 tools/perf/util/header.c 		if (evsel->idx == (int) desc[i].leader_idx) {
desc             2470 tools/perf/util/header.c 			if (strcmp(desc[i].name, "{anon_group}")) {
desc             2471 tools/perf/util/header.c 				evsel->group_name = desc[i].name;
desc             2472 tools/perf/util/header.c 				desc[i].name = NULL;
desc             2474 tools/perf/util/header.c 			evsel->core.nr_members = desc[i].nr_members;
desc             2500 tools/perf/util/header.c 		zfree(&desc[i].name);
desc             2501 tools/perf/util/header.c 	free(desc);
desc              100 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	char desc[INTEL_PT_PKT_DESC_MAX];
desc              106 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	intel_pt_pkt_desc(packet, desc, INTEL_PT_PKT_DESC_MAX);
desc              107 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	fprintf(f, "%s\n", desc);
desc              112 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	char desc[INTEL_PT_INSN_DESC_MAX];
desc              121 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0)
desc              122 tools/perf/util/intel-pt-decoder/intel-pt-log.c 		fprintf(f, "%s\n", desc);
desc              130 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	char desc[INTEL_PT_INSN_DESC_MAX];
desc              136 tools/perf/util/intel-pt-decoder/intel-pt-log.c 	if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0)
desc              137 tools/perf/util/intel-pt-decoder/intel-pt-log.c 		fprintf(f, "%s\n", desc);
desc              185 tools/perf/util/intel-pt.c 	char desc[INTEL_PT_PKT_DESC_MAX];
desc              206 tools/perf/util/intel-pt.c 			ret = intel_pt_pkt_desc(&packet, desc,
desc              209 tools/perf/util/intel-pt.c 				color_fprintf(stdout, color, " %s\n", desc);
desc              356 tools/perf/util/metricgroup.c 						     pe->metric_name, 8, "[", pe->desc) < 0)
desc               21 tools/perf/util/perf-hooks.c void perf_hooks__invoke(const struct perf_hook_desc *desc)
desc               23 tools/perf/util/perf-hooks.c 	if (!(desc && desc->p_hook_func && *desc->p_hook_func))
desc               28 tools/perf/util/perf-hooks.c 			   desc->hook_name);
desc               31 tools/perf/util/perf-hooks.c 		current_perf_hook = desc;
desc               32 tools/perf/util/perf-hooks.c 		(**desc->p_hook_func)(desc->hook_ctx);
desc              259 tools/perf/util/pmu.c 	perf_pmu_assign_str(old->name, "desc", &old->desc, &newalias->desc);
desc              278 tools/perf/util/pmu.c 	zfree(&newalias->desc);
desc              307 tools/perf/util/pmu.c 				 char *desc, char *val,
desc              370 tools/perf/util/pmu.c 	alias->desc = desc ? strdup(desc) : NULL;
desc              372 tools/perf/util/pmu.c 				desc ? strdup(desc) : NULL;
desc              786 tools/perf/util/pmu.c 				(char *)pe->desc, (char *)pe->event,
desc             1339 tools/perf/util/pmu.c 	char *desc;
desc             1353 tools/perf/util/pmu.c 	if (!!as->desc != !!bs->desc)
desc             1354 tools/perf/util/pmu.c 		return !!as->desc - !!bs->desc;
desc             1413 tools/perf/util/pmu.c 			char *name = alias->desc ? alias->name :
desc             1425 tools/perf/util/pmu.c 			if (is_cpu && !name_only && !alias->desc)
desc             1429 tools/perf/util/pmu.c 			if (is_cpu && !name_only && !alias->desc)
desc             1437 tools/perf/util/pmu.c 			aliases[j].desc = long_desc ? alias->long_desc :
desc             1438 tools/perf/util/pmu.c 						alias->desc;
desc             1465 tools/perf/util/pmu.c 		if (aliases[j].desc && !quiet_flag) {
desc             1476 tools/perf/util/pmu.c 			wordwrap(aliases[j].desc, 8, columns, 0);
desc               50 tools/perf/util/pmu.h 	char *desc;
desc              732 tools/perf/util/probe-file.c 	char *op, *desc = strdup(arg), *new_op = NULL;
desc              736 tools/perf/util/probe-file.c 	if (desc == NULL) {
desc              746 tools/perf/util/probe-file.c 	op = strchr(desc, '@');
desc              751 tools/perf/util/probe-file.c 		if (sdt_arg_parse_size(desc, &suffix))
desc              754 tools/perf/util/probe-file.c 		op = desc;
desc              770 tools/perf/util/probe-file.c 	free(desc);
desc              145 tools/perf/util/s390-sample-raw.c 		for (; evp->name || evp->event || evp->desc; ++evp) {
desc               53 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		.desc			= N_("Package in sleep state (PC1 or deeper)"),
desc               60 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		.desc			= N_("Processor Package C1"),
desc               67 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		.desc			= N_("Processor Package C6"),
desc               74 tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c 		.desc			= N_("North Bridge P1 boolean counter (returns 0 or 1)"),
desc              168 tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c 		strncpy(cpuidle_cstates[num].desc, tmp,	CSTATE_DESC_LEN - 1);
desc              276 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			       gettext(s.desc));
desc               43 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.h 	char desc[CSTATE_DESC_LEN];
desc               34 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		.desc			= N_("Processor Package C8"),
desc               41 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		.desc			= N_("Processor Package C9"),
desc               48 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c 		.desc			= N_("Processor Package C10"),
desc               37 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 		.desc			= N_("Processor Core not idle"),
desc               44 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 		.desc			= N_("Processor Core in an idle state"),
desc               52 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c 		.desc			= N_("Average Frequency (including boost) in MHz"),
desc               35 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		.desc			= N_("Processor Core C3"),
desc               42 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		.desc			= N_("Processor Core C6"),
desc               50 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		.desc			= N_("Processor Package C3"),
desc               57 tools/power/cpupower/utils/idle_monitor/nhm_idle.c 		.desc			= N_("Processor Package C6"),
desc               32 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		.desc			= N_("Processor Core C7"),
desc               39 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		.desc			= N_("Processor Package C2"),
desc               46 tools/power/cpupower/utils/idle_monitor/snb_idle.c 		.desc			= N_("Processor Package C7"),
desc              683 tools/power/x86/intel-speed-select/isst-config.c #define _get_tdp_level(desc, suffix, object, help)                                \
desc              698 tools/power/x86/intel-speed-select/isst-config.c 				&ctdp, desc, &ctdp.object);                       \
desc              702 tools/power/x86/intel-speed-select/isst-config.c 						       &ctdp, desc,               \
desc             3499 tools/power/x86/turbostat/turbostat.c 	char desc[64];
desc             3529 tools/power/x86/turbostat/turbostat.c 		if (!fgets(desc, sizeof(desc), input))
desc             3532 tools/power/x86/turbostat/turbostat.c 		fprintf(outf, "cpu%d: %s: %s", base_cpu, name_buf, desc);
desc               12 tools/testing/selftests/bpf/prog_tests/flow_dissector.c #define CHECK_FLOW_KEYS(desc, got, expected)				\
desc               14 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 	      desc,							\
desc               71 tools/testing/selftests/kvm/include/x86_64/processor.h static inline uint64_t get_desc64_base(const struct desc64 *desc)
desc               73 tools/testing/selftests/kvm/include/x86_64/processor.h 	return ((uint64_t)desc->base3 << 32) |
desc               74 tools/testing/selftests/kvm/include/x86_64/processor.h 		(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24));
desc              444 tools/testing/selftests/kvm/lib/x86_64/processor.c 	struct desc64 *desc = gdt + (segp->selector >> 3) * 8;
desc              446 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->limit0 = segp->limit & 0xFFFF;
desc              447 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->base0 = segp->base & 0xFFFF;
desc              448 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->base1 = segp->base >> 16;
desc              449 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->s = segp->s;
desc              450 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->type = segp->type;
desc              451 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->dpl = segp->dpl;
desc              452 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->p = segp->present;
desc              453 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->limit1 = segp->limit >> 16;
desc              454 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->l = segp->l;
desc              455 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->db = segp->db;
desc              456 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->g = segp->g;
desc              457 tools/testing/selftests/kvm/lib/x86_64/processor.c 	desc->base2 = segp->base >> 24;
desc              459 tools/testing/selftests/kvm/lib/x86_64/processor.c 		desc->base3 = segp->base >> 32;
desc              372 tools/testing/selftests/mqueue/mq_perf_tests.c 	char *desc;
desc              472 tools/testing/selftests/mqueue/mq_perf_tests.c 	for (cur_test = test2; cur_test->desc != NULL; cur_test++) {
desc              473 tools/testing/selftests/mqueue/mq_perf_tests.c 		printf("%s:\n", cur_test->desc);
desc              172 tools/testing/selftests/net/nettest.c static void log_address(const char *desc, struct sockaddr *sa)
desc              183 tools/testing/selftests/net/nettest.c 			desc,
desc              192 tools/testing/selftests/net/nettest.c 			desc,
desc              506 tools/testing/selftests/net/nettest.c 			       const char *desc)
desc              517 tools/testing/selftests/net/nettest.c 				  desc,
desc              528 tools/testing/selftests/net/nettest.c 				  desc,
desc              535 tools/testing/selftests/net/nettest.c 			  desc);
desc              540 tools/testing/selftests/net/nettest.c 		log_msg("%s address matches expected\n", desc);
desc              550 tools/testing/selftests/net/nettest.c 	const char *desc;
desc              553 tools/testing/selftests/net/nettest.c 	desc = server_mode ? "server local:" : "client local:";
desc              556 tools/testing/selftests/net/nettest.c 		log_address(desc, sa);
desc              567 tools/testing/selftests/net/nettest.c 	desc = server_mode ? "server peer:" : "client peer:";
desc              569 tools/testing/selftests/net/nettest.c 		log_address(desc, sa);
desc             1416 tools/testing/selftests/net/nettest.c 	const char *desc;
desc             1427 tools/testing/selftests/net/nettest.c 		desc = "local";
desc             1431 tools/testing/selftests/net/nettest.c 		desc = "remote";
desc             1435 tools/testing/selftests/net/nettest.c 		desc = "mcast grp";
desc             1439 tools/testing/selftests/net/nettest.c 		desc = "expected local";
desc             1443 tools/testing/selftests/net/nettest.c 		desc = "expected remote";
desc             1456 tools/testing/selftests/net/nettest.c 				log_error("Invalid %s IP address\n", desc);
desc             1475 tools/testing/selftests/net/nettest.c 				log_error("Invalid %s IPv6 address\n", desc);
desc             1486 tools/testing/selftests/net/nettest.c 					  desc);
desc               65 tools/testing/selftests/powerpc/vphn/asm/lppaca.h 	__be32	desc;			/* Eye catcher 0xD397D781 */
desc              150 tools/testing/selftests/ptp/testptp.c 	struct ptp_pin_desc desc;
desc              382 tools/testing/selftests/ptp/testptp.c 			desc.index = i;
desc              383 tools/testing/selftests/ptp/testptp.c 			if (ioctl(fd, PTP_PIN_GETFUNC, &desc)) {
desc              388 tools/testing/selftests/ptp/testptp.c 			       desc.name, desc.index, desc.func, desc.chan);
desc              411 tools/testing/selftests/ptp/testptp.c 		memset(&desc, 0, sizeof(desc));
desc              412 tools/testing/selftests/ptp/testptp.c 		desc.index = pin_index;
desc              413 tools/testing/selftests/ptp/testptp.c 		desc.func = pin_func;
desc              414 tools/testing/selftests/ptp/testptp.c 		desc.chan = index;
desc              415 tools/testing/selftests/ptp/testptp.c 		if (ioctl(fd, PTP_PIN_SETFUNC, &desc)) {
desc              259 tools/testing/selftests/x86/fsgsbase.c 	struct user_desc desc = {
desc              270 tools/testing/selftests/x86/fsgsbase.c 	if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) == 0) {
desc              278 tools/testing/selftests/x86/fsgsbase.c 			NULL, sizeof(desc),
desc              281 tools/testing/selftests/x86/fsgsbase.c 		memcpy(low_desc, &desc, sizeof(desc));
desc              290 tools/testing/selftests/x86/fsgsbase.c 		memcpy(&desc, low_desc, sizeof(desc));
desc              291 tools/testing/selftests/x86/fsgsbase.c 		munmap(low_desc, sizeof(desc));
desc              297 tools/testing/selftests/x86/fsgsbase.c 		printf("\tusing GDT slot %d\n", desc.entry_number);
desc              298 tools/testing/selftests/x86/fsgsbase.c 		set_thread_area_entry_number = desc.entry_number;
desc              300 tools/testing/selftests/x86/fsgsbase.c 		unsigned short gs = (unsigned short)((desc.entry_number << 3) | 0x3);
desc              142 tools/testing/selftests/x86/ldt_gdt.c 	struct user_desc desc = *d;
desc              152 tools/testing/selftests/x86/ldt_gdt.c 		desc.entry_number = gdt_entry_num;
desc              154 tools/testing/selftests/x86/ldt_gdt.c 		ret = syscall(SYS_set_thread_area, &desc);
desc              157 tools/testing/selftests/x86/ldt_gdt.c 			      &desc, sizeof(desc));
desc              169 tools/testing/selftests/x86/ldt_gdt.c 		uint32_t limit = desc.limit;
desc              170 tools/testing/selftests/x86/ldt_gdt.c 		if (desc.limit_in_pages)
desc              172 tools/testing/selftests/x86/ldt_gdt.c 		check_valid_segment(desc.entry_number, ldt, ar, limit, true);
desc              175 tools/testing/selftests/x86/ldt_gdt.c 		if (desc.seg_32bit) {
desc              189 tools/testing/selftests/x86/ldt_gdt.c static bool install_valid(const struct user_desc *desc, uint32_t ar)
desc              191 tools/testing/selftests/x86/ldt_gdt.c 	bool ret = install_valid_mode(desc, ar, false, true);
desc              193 tools/testing/selftests/x86/ldt_gdt.c 	if (desc->contents <= 1 && desc->seg_32bit &&
desc              194 tools/testing/selftests/x86/ldt_gdt.c 	    !desc->seg_not_present) {
desc              196 tools/testing/selftests/x86/ldt_gdt.c 		install_valid_mode(desc, ar, false, false);
desc              202 tools/testing/selftests/x86/ldt_gdt.c static void install_invalid(const struct user_desc *desc, bool oldmode)
desc              205 tools/testing/selftests/x86/ldt_gdt.c 			  desc, sizeof(*desc));
desc              209 tools/testing/selftests/x86/ldt_gdt.c 		check_invalid_segment(desc->entry_number, 1);
desc              213 tools/testing/selftests/x86/ldt_gdt.c 		if (desc->seg_32bit) {
desc              232 tools/testing/selftests/x86/ldt_gdt.c static void fail_install(struct user_desc *desc)
desc              234 tools/testing/selftests/x86/ldt_gdt.c 	if (safe_modify_ldt(0x11, desc, sizeof(*desc)) == 0) {
desc              246 tools/testing/selftests/x86/ldt_gdt.c 	struct user_desc desc = {
desc              257 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE | AR_S | AR_P | AR_DB);
desc              259 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit_in_pages = 1;
desc              260 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              265 tools/testing/selftests/x86/ldt_gdt.c 	desc.entry_number = 2;
desc              266 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              271 tools/testing/selftests/x86/ldt_gdt.c 	desc.base_addr = 0xf0000000;
desc              272 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              275 tools/testing/selftests/x86/ldt_gdt.c 	desc.useable = 1;
desc              276 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              279 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_not_present = 1;
desc              280 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              283 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_32bit = 0;
desc              284 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              287 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_32bit = 1;
desc              288 tools/testing/selftests/x86/ldt_gdt.c 	desc.contents = 0;
desc              289 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA |
desc              292 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              293 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA |
desc              296 tools/testing/selftests/x86/ldt_gdt.c 	desc.contents = 1;
desc              297 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA_EXPDOWN |
desc              300 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 0;
desc              301 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit_in_pages = 0;
desc              302 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA_EXPDOWN |
desc              305 tools/testing/selftests/x86/ldt_gdt.c 	desc.contents = 3;
desc              306 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE_CONF |
desc              309 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              310 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XOCODE_CONF |
desc              313 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 0;
desc              314 tools/testing/selftests/x86/ldt_gdt.c 	desc.contents = 2;
desc              315 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE |
desc              318 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              321 tools/testing/selftests/x86/ldt_gdt.c 	desc.lm = 1;
desc              322 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XOCODE |
desc              324 tools/testing/selftests/x86/ldt_gdt.c 	desc.lm = 0;
desc              327 tools/testing/selftests/x86/ldt_gdt.c 	bool entry1_okay = install_valid(&desc, AR_DPL3 | AR_TYPE_XOCODE |
desc              335 tools/testing/selftests/x86/ldt_gdt.c 			check_valid_segment(desc.entry_number, 1,
desc              337 tools/testing/selftests/x86/ldt_gdt.c 					    AR_S | AR_DB | AR_AVL, desc.limit,
desc              358 tools/testing/selftests/x86/ldt_gdt.c 			desc.entry_number = i;
desc              359 tools/testing/selftests/x86/ldt_gdt.c 			desc.limit = i;
desc              360 tools/testing/selftests/x86/ldt_gdt.c 			if (safe_modify_ldt(0x11, &desc, sizeof(desc)) != 0) {
desc              376 tools/testing/selftests/x86/ldt_gdt.c 	desc.entry_number = 8192;
desc              377 tools/testing/selftests/x86/ldt_gdt.c 	fail_install(&desc);
desc              380 tools/testing/selftests/x86/ldt_gdt.c 	memset(&desc, 0, sizeof(desc));
desc              381 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA | AR_S | AR_P);
desc              383 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_not_present = 1;
desc              384 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA | AR_S);
desc              386 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_not_present = 0;
desc              387 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              388 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA | AR_S | AR_P);
desc              390 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 0;
desc              391 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_not_present = 1;
desc              392 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA | AR_S);
desc              394 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              395 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit = 1;
desc              396 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA | AR_S);
desc              398 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit = 0;
desc              399 tools/testing/selftests/x86/ldt_gdt.c 	desc.base_addr = 1;
desc              400 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA | AR_S);
desc              402 tools/testing/selftests/x86/ldt_gdt.c 	desc.base_addr = 0;
desc              403 tools/testing/selftests/x86/ldt_gdt.c 	install_invalid(&desc, false);
desc              405 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_not_present = 0;
desc              406 tools/testing/selftests/x86/ldt_gdt.c 	desc.seg_32bit = 1;
desc              407 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 0;
desc              408 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit = 0xfffff;
desc              410 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA | AR_S | AR_P | AR_DB);
desc              412 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit_in_pages = 1;
desc              414 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA | AR_S | AR_P | AR_DB | AR_G);
desc              415 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              416 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA | AR_S | AR_P | AR_DB | AR_G);
desc              417 tools/testing/selftests/x86/ldt_gdt.c 	desc.contents = 1;
desc              418 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 0;
desc              419 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RWDATA_EXPDOWN | AR_S | AR_P | AR_DB | AR_G);
desc              420 tools/testing/selftests/x86/ldt_gdt.c 	desc.read_exec_only = 1;
desc              421 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_RODATA_EXPDOWN | AR_S | AR_P | AR_DB | AR_G);
desc              423 tools/testing/selftests/x86/ldt_gdt.c 	desc.limit = 0;
desc              424 tools/testing/selftests/x86/ldt_gdt.c 	install_invalid(&desc, true);
desc              451 tools/testing/selftests/x86/ldt_gdt.c 		const struct user_desc desc = {};
desc              452 tools/testing/selftests/x86/ldt_gdt.c 		if (syscall(SYS_modify_ldt, 1, &desc, sizeof(desc)) != 0)
desc              572 tools/testing/selftests/x86/ldt_gdt.c 		struct user_desc desc = {
desc              584 tools/testing/selftests/x86/ldt_gdt.c 		if (safe_modify_ldt(0x11, &desc, sizeof(desc)) != 0) {
desc              641 tools/testing/selftests/x86/ldt_gdt.c 	struct user_desc desc = {
desc              652 tools/testing/selftests/x86/ldt_gdt.c 	install_valid(&desc, AR_DPL3 | AR_TYPE_XRCODE | AR_S | AR_P | AR_DB);
desc              166 tools/testing/selftests/x86/sigreturn.c static void add_ldt(const struct user_desc *desc, unsigned short *var,
desc              169 tools/testing/selftests/x86/sigreturn.c 	if (syscall(SYS_modify_ldt, 1, desc, sizeof(*desc)) == 0) {
desc              170 tools/testing/selftests/x86/sigreturn.c 		*var = LDT3(desc->entry_number);
desc               84 tools/usb/ffs-aio-example/multibuff/host_app/test.c 		struct libusb_device_descriptor desc;
desc               85 tools/usb/ffs-aio-example/multibuff/host_app/test.c 		ret = libusb_get_device_descriptor(dev, &desc);
desc               91 tools/usb/ffs-aio-example/multibuff/host_app/test.c 		if (desc.idVendor == VENDOR && desc.idProduct == PRODUCT) {
desc               84 tools/usb/ffs-aio-example/simple/host_app/test.c 		struct libusb_device_descriptor desc;
desc               85 tools/usb/ffs-aio-example/simple/host_app/test.c 		ret = libusb_get_device_descriptor(dev, &desc);
desc               91 tools/usb/ffs-aio-example/simple/host_app/test.c 		if (desc.idVendor == VENDOR && desc.idProduct == PRODUCT) {
desc               22 tools/usb/usbip/libsrc/usbip_common.c 	char *desc;
desc               37 tools/usb/usbip/libsrc/usbip_common.c 	char *desc;
desc               53 tools/usb/usbip/libsrc/usbip_common.c 	for (int i = 0; portst_strings[i].desc != NULL; i++)
desc               55 tools/usb/usbip/libsrc/usbip_common.c 			return portst_strings[i].desc;
desc               64 tools/usb/usbip/libsrc/usbip_common.c 			return speed_strings[i].desc;
desc               71 tools/usb/usbip/libsrc/usbip_common.c 	char *desc;
desc               86 tools/usb/usbip/libsrc/usbip_common.c 	for (int i = 0; op_common_status_strings[i].desc != NULL; i++)
desc               88 tools/usb/usbip/libsrc/usbip_common.c 			return op_common_status_strings[i].desc;
desc               56 tools/virtio/ringtest/ring.c struct desc *ring;
desc               98 tools/virtio/ringtest/ring.c 		struct desc desc = {
desc              101 tools/virtio/ringtest/ring.c 		ring[i] = desc;
desc               86 tools/virtio/ringtest/virtio_ring_0_9.c 		ring.desc[i].next = i + 1;
desc              105 tools/virtio/ringtest/virtio_ring_0_9.c 	struct vring_desc *desc;
desc              117 tools/virtio/ringtest/virtio_ring_0_9.c 	desc = ring.desc;
desc              118 tools/virtio/ringtest/virtio_ring_0_9.c 	desc[head].flags = VRING_DESC_F_NEXT;
desc              119 tools/virtio/ringtest/virtio_ring_0_9.c 	desc[head].addr = (unsigned long)(void *)buf;
desc              120 tools/virtio/ringtest/virtio_ring_0_9.c 	desc[head].len = len;
desc              125 tools/virtio/ringtest/virtio_ring_0_9.c 	desc[head].flags &= ~VRING_DESC_F_NEXT;
desc              127 tools/virtio/ringtest/virtio_ring_0_9.c 	guest.free_head = desc[head].next;
desc              181 tools/virtio/ringtest/virtio_ring_0_9.c 	*lenp = ring.desc[index].len;
desc              186 tools/virtio/ringtest/virtio_ring_0_9.c 	*bufp = (void*)(unsigned long)ring.desc[index].addr;
desc              189 tools/virtio/ringtest/virtio_ring_0_9.c 	ring.desc[index].next = guest.free_head;
desc              273 tools/virtio/ringtest/virtio_ring_0_9.c 	struct vring_desc *desc;
desc              284 tools/virtio/ringtest/virtio_ring_0_9.c 	desc = &ring.desc[head & (ring_size - 1)];
desc              298 tools/virtio/ringtest/virtio_ring_0_9.c 	desc = &ring.desc[head];
desc              301 tools/virtio/ringtest/virtio_ring_0_9.c 	*lenp = desc->len;
desc              302 tools/virtio/ringtest/virtio_ring_0_9.c 	*bufp = (void *)(unsigned long)desc->addr;
desc              305 tools/virtio/ringtest/virtio_ring_0_9.c 	desc->len = desc->len - 1;
desc              309 tools/virtio/ringtest/virtio_ring_0_9.c 	ring.used->ring[used_idx].len = desc->len - 1;
desc               68 tools/virtio/virtio_test.c 		.desc_user_addr = (uint64_t)(unsigned long)info->vring.desc,
desc              190 tools/virtio/vringh_test.c 				 vrh.vring.desc, vrh.vring.avail, vrh.vring.used);
desc              492 tools/virtio/vringh_test.c 			 vrh.vring.desc, vrh.vring.avail, vrh.vring.used);
desc              686 tools/virtio/vringh_test.c 		assert(vring.desc[0].addr == (unsigned long)d);
desc              687 tools/virtio/vringh_test.c 		assert(vring.desc[1].addr == (unsigned long)(d+2));
desc              688 tools/virtio/vringh_test.c 		assert(vring.desc[2].addr == (unsigned long)data + 6);
desc              689 tools/virtio/vringh_test.c 		assert(vring.desc[3].addr == (unsigned long)(d+3));
desc              690 tools/virtio/vringh_test.c 		vring.desc[0].flags |= VRING_DESC_F_INDIRECT;
desc              691 tools/virtio/vringh_test.c 		vring.desc[1].flags |= VRING_DESC_F_INDIRECT;
desc              692 tools/virtio/vringh_test.c 		vring.desc[3].flags |= VRING_DESC_F_INDIRECT;
desc              484 virt/kvm/arm/vgic/vgic.c 	struct irq_desc *desc;
desc              490 virt/kvm/arm/vgic/vgic.c 	desc = irq_to_desc(host_irq);
desc              491 virt/kvm/arm/vgic/vgic.c 	if (!desc) {
desc              495 virt/kvm/arm/vgic/vgic.c 	data = irq_desc_get_irq_data(desc);