descs              41 drivers/clk/mvebu/clk-corediv.c 	const struct clk_corediv_desc *descs;
descs             195 drivers/clk/mvebu/clk-corediv.c 	.descs = mvebu_corediv_desc,
descs             211 drivers/clk/mvebu/clk-corediv.c 	.descs = mvebu_corediv_desc,
descs             227 drivers/clk/mvebu/clk-corediv.c 	.descs = mvebu_corediv_desc,
descs             239 drivers/clk/mvebu/clk-corediv.c 	.descs = mv98dx3236_corediv_desc,
descs             293 drivers/clk/mvebu/clk-corediv.c 		corediv[i].desc = soc_desc->descs + i;
descs             338 drivers/dma/ioat/dma.c 	pos = (u8 *)ioat_chan->descs[chunk].virt + offs;
descs             339 drivers/dma/ioat/dma.c 	phys = ioat_chan->descs[chunk].hw + offs;
descs             376 drivers/dma/ioat/dma.c 		struct ioat_descs *descs = &ioat_chan->descs[i];
descs             378 drivers/dma/ioat/dma.c 		descs->virt = dma_alloc_coherent(to_dev(ioat_chan),
descs             379 drivers/dma/ioat/dma.c 						 SZ_2M, &descs->hw, flags);
descs             380 drivers/dma/ioat/dma.c 		if (!descs->virt) {
descs             384 drivers/dma/ioat/dma.c 				descs = &ioat_chan->descs[idx];
descs             386 drivers/dma/ioat/dma.c 						  descs->virt, descs->hw);
descs             387 drivers/dma/ioat/dma.c 				descs->virt = NULL;
descs             388 drivers/dma/ioat/dma.c 				descs->hw = 0;
descs             408 drivers/dma/ioat/dma.c 						  ioat_chan->descs[idx].virt,
descs             409 drivers/dma/ioat/dma.c 						  ioat_chan->descs[idx].hw);
descs             410 drivers/dma/ioat/dma.c 				ioat_chan->descs[idx].virt = NULL;
descs             411 drivers/dma/ioat/dma.c 				ioat_chan->descs[idx].hw = 0;
descs             131 drivers/dma/ioat/dma.h 	struct ioat_descs descs[2];
descs             617 drivers/dma/ioat/init.c 	int descs;
descs             636 drivers/dma/ioat/init.c 	descs = ioat_ring_space(ioat_chan);
descs             637 drivers/dma/ioat/init.c 	dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs);
descs             638 drivers/dma/ioat/init.c 	for (i = 0; i < descs; i++) {
descs             643 drivers/dma/ioat/init.c 	if (descs < total_descs)
descs             645 drivers/dma/ioat/init.c 			total_descs - descs);
descs             647 drivers/dma/ioat/init.c 	for (i = 0; i < total_descs - descs; i++) {
descs             655 drivers/dma/ioat/init.c 				  ioat_chan->descs[i].virt,
descs             656 drivers/dma/ioat/init.c 				  ioat_chan->descs[i].hw);
descs             657 drivers/dma/ioat/init.c 		ioat_chan->descs[i].virt = NULL;
descs             658 drivers/dma/ioat/init.c 		ioat_chan->descs[i].hw = 0;
descs              31 drivers/dma/ioat/prep.c static void xor_set_src(struct ioat_raw_descriptor *descs[2],
descs              34 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
descs              39 drivers/dma/ioat/prep.c static dma_addr_t pq_get_src(struct ioat_raw_descriptor *descs[2], int idx)
descs              41 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
descs              53 drivers/dma/ioat/prep.c static void pq_set_src(struct ioat_raw_descriptor *descs[2],
descs              56 drivers/dma/ioat/prep.c 	struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *) descs[0];
descs              57 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
descs             192 drivers/dma/ioat/prep.c 		struct ioat_raw_descriptor *descs[2];
descs             207 drivers/dma/ioat/prep.c 		descs[0] = (struct ioat_raw_descriptor *) xor;
descs             208 drivers/dma/ioat/prep.c 		descs[1] = (struct ioat_raw_descriptor *) xor_ex;
descs             210 drivers/dma/ioat/prep.c 			xor_set_src(descs, src[s], offset, s);
descs             282 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *descs[] = { (void *) pq, (void *) pq_ex };
descs             297 drivers/dma/ioat/prep.c 			(unsigned long long) pq_get_src(descs, i), pq->coef[i]);
descs             308 drivers/dma/ioat/prep.c 	struct ioat_raw_descriptor *descs[] = { (void *)pq,
descs             315 drivers/dma/ioat/prep.c 		descs[1] = (void *)desc->sed->hw;
descs             316 drivers/dma/ioat/prep.c 		descs[2] = (void *)desc->sed->hw + 64;
descs             331 drivers/dma/ioat/prep.c 			(unsigned long long) pq16_get_src(descs, i),
descs             388 drivers/dma/ioat/prep.c 		struct ioat_raw_descriptor *descs[2];
descs             402 drivers/dma/ioat/prep.c 		descs[0] = (struct ioat_raw_descriptor *) pq;
descs             403 drivers/dma/ioat/prep.c 		descs[1] = (struct ioat_raw_descriptor *) pq_ex;
descs             406 drivers/dma/ioat/prep.c 			pq_set_src(descs, src[s], offset, scf[s], s);
descs             410 drivers/dma/ioat/prep.c 			pq_set_src(descs, dst[1], offset, 1, s++);
descs             412 drivers/dma/ioat/prep.c 			pq_set_src(descs, dst[0], offset, 0, s++);
descs             413 drivers/dma/ioat/prep.c 			pq_set_src(descs, dst[1], offset, 1, s++);
descs             414 drivers/dma/ioat/prep.c 			pq_set_src(descs, dst[1], offset, 0, s++);
descs             496 drivers/dma/ioat/prep.c 		struct ioat_raw_descriptor *descs[4];
descs             503 drivers/dma/ioat/prep.c 		descs[0] = (struct ioat_raw_descriptor *) pq;
descs             515 drivers/dma/ioat/prep.c 		descs[1] = (struct ioat_raw_descriptor *)desc->sed->hw;
descs             516 drivers/dma/ioat/prep.c 		descs[2] = (void *)descs[1] + 64;
descs             519 drivers/dma/ioat/prep.c 			pq16_set_src(descs, src[s], offset, scf[s], s);
descs             523 drivers/dma/ioat/prep.c 			pq16_set_src(descs, dst[1], offset, 1, s++);
descs             525 drivers/dma/ioat/prep.c 			pq16_set_src(descs, dst[0], offset, 0, s++);
descs             526 drivers/dma/ioat/prep.c 			pq16_set_src(descs, dst[1], offset, 1, s++);
descs             527 drivers/dma/ioat/prep.c 			pq16_set_src(descs, dst[1], offset, 0, s++);
descs             494 drivers/dma/mpc512x_dma.c 	LIST_HEAD(descs);
descs             520 drivers/dma/mpc512x_dma.c 		list_add_tail(&mdesc->node, &descs);
descs             534 drivers/dma/mpc512x_dma.c 	list_splice_tail_init(&descs, &mchan->free);
descs             552 drivers/dma/mpc512x_dma.c 	LIST_HEAD(descs);
descs             563 drivers/dma/mpc512x_dma.c 	list_splice_tail_init(&mchan->free, &descs);
descs             575 drivers/dma/mpc512x_dma.c 	list_for_each_entry_safe(mdesc, tmp, &descs, node)
descs             354 drivers/dma/qcom/hidma.c 	LIST_HEAD(descs);
descs             380 drivers/dma/qcom/hidma.c 		list_add_tail(&mdesc->node, &descs);
descs             385 drivers/dma/qcom/hidma.c 		list_for_each_entry_safe(mdesc, tmp, &descs, node) {
descs             393 drivers/dma/qcom/hidma.c 	list_splice_tail_init(&descs, &mchan->free);
descs             536 drivers/dma/qcom/hidma.c 	LIST_HEAD(descs);
descs             544 drivers/dma/qcom/hidma.c 	list_splice_tail_init(&mchan->free, &descs);
descs             547 drivers/dma/qcom/hidma.c 	list_for_each_entry_safe(mdesc, tmp, &descs, node) {
descs             106 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_desc descs[0];
descs             112 drivers/dma/sh/rcar-dmac.c 	((PAGE_SIZE - offsetof(struct rcar_dmac_desc_page, descs)) /	\
descs             504 drivers/dma/sh/rcar-dmac.c 		struct rcar_dmac_desc *desc = &page->descs[i];
descs             791 drivers/dma/sh/rcar-dmac.c 	LIST_HEAD(descs);
descs             796 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.pending, &descs);
descs             797 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.active, &descs);
descs             798 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.done, &descs);
descs             799 drivers/dma/sh/rcar-dmac.c 	list_splice_init(&chan->desc.wait, &descs);
descs             805 drivers/dma/sh/rcar-dmac.c 	list_for_each_entry_safe(desc, _desc, &descs, node) {
descs             562 drivers/dma/sirf-dma.c 	LIST_HEAD(descs);
descs             580 drivers/dma/sirf-dma.c 		list_add_tail(&sdesc->node, &descs);
descs             589 drivers/dma/sirf-dma.c 	list_splice_tail_init(&descs, &schan->free);
descs             602 drivers/dma/sirf-dma.c 	LIST_HEAD(descs);
descs             613 drivers/dma/sirf-dma.c 	list_splice_tail_init(&schan->free, &descs);
descs             618 drivers/dma/sirf-dma.c 	list_for_each_entry_safe(sdesc, tmp, &descs, node)
descs              83 drivers/dma/timb_dma.c 	unsigned int		descs; /* Descriptors to allocate */
descs             410 drivers/dma/timb_dma.c 	for (i = 0; i < td_chan->descs; i++) {
descs             702 drivers/dma/timb_dma.c 		td_chan->descs = pchan->descriptors;
descs             375 drivers/edac/mce_amd.c 	const char * const *descs;
descs             974 drivers/edac/mce_amd.c 		pr_cont(", %s.\n", smca_mce_descs[bank_type].descs[xec]);
descs             335 drivers/gpio/gpio-max3191x.c 	struct gpio_descs *descs;
descs             347 drivers/gpio/gpio-max3191x.c 	descs = devm_gpiod_get_array_optional(dev, con_id, flags);
descs             349 drivers/gpio/gpio-max3191x.c 	if (IS_ERR(descs)) {
descs             351 drivers/gpio/gpio-max3191x.c 			con_id, PTR_ERR(descs));
descs             355 drivers/gpio/gpio-max3191x.c 	return descs;
descs             249 drivers/gpio/gpio-mockup.c 	desc = &gc->gpiodev->descs[priv->offset];
descs             340 drivers/gpio/gpio-mockup.c 		priv->desc = &gc->gpiodev->descs[i];
descs              21 drivers/gpio/gpio-moxtet.c static const struct moxtet_gpio_desc descs[] = {
descs             124 drivers/gpio/gpio-moxtet.c 	if (id >= ARRAY_SIZE(descs)) {
descs             136 drivers/gpio/gpio-moxtet.c 	chip->desc = &descs[id];
descs              56 drivers/gpio/gpiolib-devprop.c 		gdev->descs[i].name = names[i];
descs              34 drivers/gpio/gpiolib-devres.c 	struct gpio_descs **descs = res;
descs              36 drivers/gpio/gpiolib-devres.c 	gpiod_put_array(*descs);
descs             288 drivers/gpio/gpiolib-devres.c 	struct gpio_descs *descs;
descs             295 drivers/gpio/gpiolib-devres.c 	descs = gpiod_get_array(dev, con_id, flags);
descs             296 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(descs)) {
descs             298 drivers/gpio/gpiolib-devres.c 		return descs;
descs             301 drivers/gpio/gpiolib-devres.c 	*dr = descs;
descs             304 drivers/gpio/gpiolib-devres.c 	return descs;
descs             323 drivers/gpio/gpiolib-devres.c 	struct gpio_descs *descs;
descs             325 drivers/gpio/gpiolib-devres.c 	descs = devm_gpiod_get_array(dev, con_id, flags);
descs             326 drivers/gpio/gpiolib-devres.c 	if (IS_ERR(descs) && (PTR_ERR(descs) == -ENOENT))
descs             329 drivers/gpio/gpiolib-devres.c 	return descs;
descs             388 drivers/gpio/gpiolib-devres.c void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs)
descs             391 drivers/gpio/gpiolib-devres.c 			       devm_gpiod_match_array, &descs));
descs             797 drivers/gpio/gpiolib-sysfs.c 		desc = &gdev->descs[i];
descs             119 drivers/gpio/gpiolib.c 			return &gdev->descs[gpio - gdev->base];
descs             150 drivers/gpio/gpiolib.c 	return &gdev->descs[hwnum];
descs             165 drivers/gpio/gpiolib.c 	return desc->gdev->base + (desc - &desc->gdev->descs[0]);
descs             310 drivers/gpio/gpiolib.c 			struct gpio_desc *desc = &gdev->descs[i];
descs             354 drivers/gpio/gpiolib.c 		gdev->descs[i].name = gc->names[i];
descs             425 drivers/gpio/gpiolib.c 	struct gpio_desc *descs[GPIOHANDLES_MAX];
descs             450 drivers/gpio/gpiolib.c 							lh->descs,
descs             469 drivers/gpio/gpiolib.c 		if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags))
descs             483 drivers/gpio/gpiolib.c 					      lh->descs,
descs             505 drivers/gpio/gpiolib.c 		gpiod_free(lh->descs[i]);
descs             591 drivers/gpio/gpiolib.c 		desc = &gdev->descs[offset];
descs             595 drivers/gpio/gpiolib.c 		lh->descs[i] = desc;
descs             668 drivers/gpio/gpiolib.c 		gpiod_free(lh->descs[i]);
descs             947 drivers/gpio/gpiolib.c 	desc = &gdev->descs[offset];
descs            1071 drivers/gpio/gpiolib.c 		desc = &gdev->descs[lineinfo.line_offset];
descs            1183 drivers/gpio/gpiolib.c 	kfree(gdev->descs);
descs            1316 drivers/gpio/gpiolib.c 	gdev->descs = kcalloc(chip->ngpio, sizeof(gdev->descs[0]), GFP_KERNEL);
descs            1317 drivers/gpio/gpiolib.c 	if (!gdev->descs) {
descs            1376 drivers/gpio/gpiolib.c 		gdev->descs[i].gdev = gdev;
descs            1399 drivers/gpio/gpiolib.c 		struct gpio_desc *desc = &gdev->descs[i];
descs            1464 drivers/gpio/gpiolib.c 	kfree(gdev->descs);
descs            1522 drivers/gpio/gpiolib.c 		desc = &gdev->descs[i];
descs            2848 drivers/gpio/gpiolib.c 	desc = &chip->gpiodev->descs[offset];
descs            3978 drivers/gpio/gpiolib.c 	return test_bit(FLAG_USED_AS_IRQ, &chip->gpiodev->descs[offset].flags);
descs            4011 drivers/gpio/gpiolib.c 	return test_bit(FLAG_OPEN_DRAIN, &chip->gpiodev->descs[offset].flags);
descs            4020 drivers/gpio/gpiolib.c 	return test_bit(FLAG_OPEN_SOURCE, &chip->gpiodev->descs[offset].flags);
descs            4029 drivers/gpio/gpiolib.c 	return !test_bit(FLAG_TRANSITORY, &chip->gpiodev->descs[offset].flags);
descs            4749 drivers/gpio/gpiolib.c 		if (test_bit(FLAG_IS_HOGGED, &chip->gpiodev->descs[id].flags))
descs            4750 drivers/gpio/gpiolib.c 			gpiochip_free_own_desc(&chip->gpiodev->descs[id]);
descs            4771 drivers/gpio/gpiolib.c 	struct gpio_descs *descs;
descs            4780 drivers/gpio/gpiolib.c 	descs = kzalloc(struct_size(descs, desc, count), GFP_KERNEL);
descs            4781 drivers/gpio/gpiolib.c 	if (!descs)
descs            4784 drivers/gpio/gpiolib.c 	for (descs->ndescs = 0; descs->ndescs < count; ) {
descs            4785 drivers/gpio/gpiolib.c 		desc = gpiod_get_index(dev, con_id, descs->ndescs, flags);
descs            4787 drivers/gpio/gpiolib.c 			gpiod_put_array(descs);
descs            4791 drivers/gpio/gpiolib.c 		descs->desc[descs->ndescs] = desc;
descs            4798 drivers/gpio/gpiolib.c 		if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) {
descs            4804 drivers/gpio/gpiolib.c 			array = kzalloc(struct_size(descs, desc, count) +
descs            4808 drivers/gpio/gpiolib.c 				gpiod_put_array(descs);
descs            4812 drivers/gpio/gpiolib.c 			memcpy(array, descs,
descs            4813 drivers/gpio/gpiolib.c 			       struct_size(descs, desc, descs->ndescs + 1));
descs            4814 drivers/gpio/gpiolib.c 			kfree(descs);
descs            4816 drivers/gpio/gpiolib.c 			descs = array;
descs            4817 drivers/gpio/gpiolib.c 			array_info = (void *)(descs->desc + count);
descs            4823 drivers/gpio/gpiolib.c 			array_info->desc = descs->desc;
descs            4826 drivers/gpio/gpiolib.c 			bitmap_set(array_info->get_mask, descs->ndescs,
descs            4827 drivers/gpio/gpiolib.c 				   count - descs->ndescs);
descs            4828 drivers/gpio/gpiolib.c 			bitmap_set(array_info->set_mask, descs->ndescs,
descs            4829 drivers/gpio/gpiolib.c 				   count - descs->ndescs);
descs            4830 drivers/gpio/gpiolib.c 			descs->info = array_info;
descs            4834 drivers/gpio/gpiolib.c 			__clear_bit(descs->ndescs, array_info->get_mask);
descs            4835 drivers/gpio/gpiolib.c 			__clear_bit(descs->ndescs, array_info->set_mask);
descs            4842 drivers/gpio/gpiolib.c 			   gpio_chip_hwgpio(desc) != descs->ndescs) {
descs            4848 drivers/gpio/gpiolib.c 			if (bitmap_full(array_info->get_mask, descs->ndescs)) {
descs            4851 drivers/gpio/gpiolib.c 				__clear_bit(descs->ndescs,
descs            4853 drivers/gpio/gpiolib.c 				__clear_bit(descs->ndescs,
descs            4858 drivers/gpio/gpiolib.c 			if (gpiochip_line_is_open_drain(chip, descs->ndescs) ||
descs            4859 drivers/gpio/gpiolib.c 			    gpiochip_line_is_open_source(chip, descs->ndescs))
descs            4860 drivers/gpio/gpiolib.c 				__clear_bit(descs->ndescs,
descs            4864 drivers/gpio/gpiolib.c 				__set_bit(descs->ndescs,
descs            4868 drivers/gpio/gpiolib.c 		descs->ndescs++;
descs            4876 drivers/gpio/gpiolib.c 	return descs;
descs            4894 drivers/gpio/gpiolib.c 	struct gpio_descs *descs;
descs            4896 drivers/gpio/gpiolib.c 	descs = gpiod_get_array(dev, con_id, flags);
descs            4897 drivers/gpio/gpiolib.c 	if (IS_ERR(descs) && (PTR_ERR(descs) == -ENOENT))
descs            4900 drivers/gpio/gpiolib.c 	return descs;
descs            4921 drivers/gpio/gpiolib.c void gpiod_put_array(struct gpio_descs *descs)
descs            4925 drivers/gpio/gpiolib.c 	for (i = 0; i < descs->ndescs; i++)
descs            4926 drivers/gpio/gpiolib.c 		gpiod_put(descs->desc[i]);
descs            4928 drivers/gpio/gpiolib.c 	kfree(descs);
descs            4962 drivers/gpio/gpiolib.c 	struct gpio_desc	*gdesc = &gdev->descs[0];
descs              51 drivers/gpio/gpiolib.h 	struct gpio_desc	*descs;
descs             132 drivers/gpio/gpiolib.h 	return desc - &desc->gdev->descs[0];
descs             995 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	const struct atmel_hlcdc_layer_desc *descs = dc->desc->layers;
descs            1006 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		if (descs[i].type != ATMEL_HLCDC_BASE_LAYER &&
descs            1007 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		    descs[i].type != ATMEL_HLCDC_OVERLAY_LAYER &&
descs            1008 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		    descs[i].type != ATMEL_HLCDC_CURSOR_LAYER)
descs            1011 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		ret = atmel_hlcdc_plane_create(dev, &descs[i]);
descs             195 drivers/gpu/drm/exynos/exynos_drm_g2d.c 	struct g2d_buf_desc	descs[MAX_REG_TYPE_NR];
descs             715 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		buf_desc = &buf_info->descs[reg_type];
descs             787 drivers/gpu/drm/exynos/exynos_drm_g2d.c 		buf_desc = &buf_info->descs[reg_type];
descs            1069 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			buf_desc = &buf_info->descs[reg_type];
descs            1079 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			buf_desc = &buf_info->descs[reg_type];
descs            1091 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			buf_desc = &buf_info->descs[reg_type];
descs            1104 drivers/gpu/drm/exynos/exynos_drm_g2d.c 			buf_desc = &buf_info->descs[reg_type];
descs            1696 drivers/infiniband/hw/hfi1/sdma.c 	if (unlikely(tx->desc_limit > ARRAY_SIZE(tx->descs))) {
descs            1697 drivers/infiniband/hw/hfi1/sdma.c 		tx->desc_limit = ARRAY_SIZE(tx->descs);
descs            3090 drivers/infiniband/hw/hfi1/sdma.c 		tx->descp[i] = tx->descs[i];
descs            3253 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[2].qw[0] = 0;
descs            3254 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[2].qw[1] = 0;
descs            3258 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[1].qw[0] = 0;
descs            3259 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[1].qw[1] = 0;
descs            3263 drivers/infiniband/hw/hfi1/sdma.c 	tx->descs[0].qw[1] |=
descs            3275 drivers/infiniband/hw/hfi1/sdma.c 		tx->descs[desc].qw[!!(i & 2)] |=
descs             553 drivers/infiniband/hw/hfi1/sdma.h 	tx->desc_limit = ARRAY_SIZE(tx->descs);
descs             554 drivers/infiniband/hw/hfi1/sdma.h 	tx->descp = &tx->descs[0];
descs             563 drivers/infiniband/hw/hfi1/sdma.h 	tx->descs[0].qw[0] = SDMA_DESC0_FIRST_DESC_FLAG;
descs             564 drivers/infiniband/hw/hfi1/sdma.h 	tx->descs[0].qw[1] = 0;
descs             566 drivers/infiniband/hw/hfi1/sdma.h 		tx->descs[0].qw[1] |=
descs             128 drivers/infiniband/hw/hfi1/sdma_txreq.h 	struct sdma_desc descs[NUM_DESC];
descs             591 drivers/infiniband/hw/mlx5/mlx5_ib.h 	void			*descs;
descs            1520 drivers/infiniband/hw/mlx5/mr.c 	mr->descs = PTR_ALIGN(mr->descs_alloc, MLX5_UMR_ALIGN);
descs            1522 drivers/infiniband/hw/mlx5/mr.c 	mr->desc_map = dma_map_single(device->dev.parent, mr->descs,
descs            1539 drivers/infiniband/hw/mlx5/mr.c 	if (mr->descs) {
descs            1546 drivers/infiniband/hw/mlx5/mr.c 		mr->descs = NULL;
descs            2071 drivers/infiniband/hw/mlx5/mr.c 	struct mlx5_klm *klms = mr->descs;
descs            2124 drivers/infiniband/hw/mlx5/mr.c 	__be64 *descs;
descs            2129 drivers/infiniband/hw/mlx5/mr.c 	descs = mr->descs;
descs            2130 drivers/infiniband/hw/mlx5/mr.c 	descs[mr->ndescs++] = cpu_to_be64(addr | MLX5_EN_RD | MLX5_EN_WR);
descs            2138 drivers/infiniband/hw/mlx5/mr.c 	__be64 *descs;
descs            2143 drivers/infiniband/hw/mlx5/mr.c 	descs = mr->descs;
descs            2144 drivers/infiniband/hw/mlx5/mr.c 	descs[mr->ndescs + mr->meta_ndescs++] =
descs            4853 drivers/infiniband/hw/mlx5/qp.c 		memcpy_send_wqe(&qp->sq, cur_edge, seg, size, mr->descs,
descs             955 drivers/md/dm-cache-target.c 	const char *descs[] = {
descs             963 drivers/md/dm-cache-target.c 	       cache_device_name(cache), descs[(int)mode]);
descs             171 drivers/md/dm-clone-target.c 	const char *descs[] = {
descs             199 drivers/md/dm-clone-target.c 		       descs[(int)new_mode]);
descs             296 drivers/md/dm-thin.c 	const char *descs[] = {
descs             316 drivers/md/dm-thin.c 	       descs[(int)mode], extra_desc ? : "");
descs              86 drivers/media/pci/pt3/pt3.h 	struct xfer_desc *descs; /* PAGE_SIZE (xfer_desc[DESCS_IN_PAGE]) */
descs             140 drivers/media/pci/pt3/pt3_dma.c 			adap->desc_buf[i].descs, adap->desc_buf[i].b_addr);
descs             179 drivers/media/pci/pt3/pt3_dma.c 		adap->desc_buf[i].descs = p;
descs             183 drivers/media/pci/pt3/pt3_dma.c 			d = &adap->desc_buf[i - 1].descs[DESCS_IN_PAGE - 1];
descs             189 drivers/media/pci/pt3/pt3_dma.c 			d = &adap->desc_buf[i].descs[j];
descs              90 drivers/media/pci/solo6x10/solo6x10-p2m.c 		p2m_dev->descs = desc;
descs             170 drivers/media/pci/solo6x10/solo6x10-p2m.c 	desc = &p2m_dev->descs[p2m_dev->desc_idx];
descs             123 drivers/media/pci/solo6x10/solo6x10.h 	struct solo_p2m_desc	*descs;
descs             184 drivers/media/pci/tw686x/tw686x-video.c static int tw686x_sg_desc_fill(struct tw686x_sg_desc *descs,
descs             194 drivers/media/pci/tw686x/tw686x-video.c 	memset(descs, 0, TW686X_SG_TABLE_SIZE);
descs             209 drivers/media/pci/tw686x/tw686x-video.c 			descs[count].phys = cpu_to_le32(phys);
descs             210 drivers/media/pci/tw686x/tw686x-video.c 			descs[count++].flags_length =
descs             676 drivers/media/platform/pxa_camera.c 	struct dma_async_tx_descriptor	*descs[3];
descs             887 drivers/media/platform/pxa_camera.c 	buf->descs[channel] = tx;
descs             940 drivers/media/platform/pxa_camera.c 		buf->cookie[i] = dmaengine_submit(buf->descs[i]);
descs             943 drivers/media/platform/pxa_camera.c 			__func__, i, buf, buf->descs[i]->cookie);
descs            1360 drivers/media/platform/pxa_camera.c 	for (i = 0; i < 3 && buf->descs[i]; i++) {
descs            1361 drivers/media/platform/pxa_camera.c 		dmaengine_desc_free(buf->descs[i]);
descs            1363 drivers/media/platform/pxa_camera.c 		buf->descs[i] = NULL;
descs             170 drivers/mmc/host/meson-gx-mmc.c 	struct sd_emmc_desc *descs;
descs             705 drivers/mmc/host/meson-gx-mmc.c 	struct sd_emmc_desc *desc = host->descs;
descs            1195 drivers/mmc/host/meson-gx-mmc.c 	host->descs = dma_alloc_coherent(host->dev, SD_EMMC_DESC_BUF_LEN,
descs            1197 drivers/mmc/host/meson-gx-mmc.c 	if (!host->descs) {
descs            1234 drivers/mmc/host/meson-gx-mmc.c 			  host->descs, host->descs_dma_addr);
descs             478 drivers/net/ethernet/alacritech/slic.h 	struct slic_stat_desc *descs[SLIC_NUM_STAT_DESC_ARRAYS];
descs              83 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_stat_desc *descs;
descs              87 drivers/net/ethernet/alacritech/slicoss.c 	descs = stq->descs[active];
descs              88 drivers/net/ethernet/alacritech/slicoss.c 	stat = &descs[stq->done_idx];
descs             772 drivers/net/ethernet/alacritech/slicoss.c 	struct slic_stat_desc *descs;
descs             784 drivers/net/ethernet/alacritech/slicoss.c 	size = stq->len * sizeof(*descs) + DESC_ALIGN_MASK;
descs             787 drivers/net/ethernet/alacritech/slicoss.c 		descs = dma_alloc_coherent(&sdev->pdev->dev, size, &paddr,
descs             789 drivers/net/ethernet/alacritech/slicoss.c 		if (!descs) {
descs             800 drivers/net/ethernet/alacritech/slicoss.c 			descs += offset;
descs             806 drivers/net/ethernet/alacritech/slicoss.c 		stq->descs[i] = descs;
descs             818 drivers/net/ethernet/alacritech/slicoss.c 				  stq->descs[i] - stq->addr_offset[i],
descs             832 drivers/net/ethernet/alacritech/slicoss.c 				  stq->descs[i] - stq->addr_offset[i],
descs             528 drivers/net/ethernet/amazon/ena/ena_eth_com.c 		ena_rx_ctx->descs = nb_hw_desc;
descs             558 drivers/net/ethernet/amazon/ena/ena_eth_com.c 	ena_rx_ctx->descs = nb_hw_desc;
descs              74 drivers/net/ethernet/amazon/ena/ena_eth_com.h 	u16 descs;
descs             864 drivers/net/ethernet/amazon/ena/ena_netdev.c 				  u32 descs,
descs             913 drivers/net/ethernet/amazon/ena/ena_netdev.c 		*next_to_clean = ENA_RX_RING_IDX_ADD(*next_to_clean, descs,
descs             940 drivers/net/ethernet/amazon/ena/ena_netdev.c 		if (likely(--descs == 0))
descs            1070 drivers/net/ethernet/amazon/ena/ena_netdev.c 		ena_rx_ctx.descs = 0;
descs            1077 drivers/net/ethernet/amazon/ena/ena_netdev.c 		if (unlikely(ena_rx_ctx.descs == 0))
descs            1082 drivers/net/ethernet/amazon/ena/ena_netdev.c 			  rx_ring->qid, ena_rx_ctx.descs, ena_rx_ctx.l3_proto,
descs            1086 drivers/net/ethernet/amazon/ena/ena_netdev.c 		skb = ena_rx_skb(rx_ring, rx_ring->ena_bufs, ena_rx_ctx.descs,
descs            1091 drivers/net/ethernet/amazon/ena/ena_netdev.c 			for (i = 0; i < ena_rx_ctx.descs; i++) {
descs             158 drivers/net/ethernet/cirrus/ep93xx_eth.c 	struct ep93xx_descs	*descs;
descs             241 drivers/net/ethernet/cirrus/ep93xx_eth.c 		rstat = ep->descs->rstat + entry;
descs             283 drivers/net/ethernet/cirrus/ep93xx_eth.c 			struct ep93xx_rdesc *rxd = &ep->descs->rdesc[entry];
descs             346 drivers/net/ethernet/cirrus/ep93xx_eth.c 	txd = &ep->descs->tdesc[entry];
descs             381 drivers/net/ethernet/cirrus/ep93xx_eth.c 		tstat = ep->descs->tstat + entry;
descs             395 drivers/net/ethernet/cirrus/ep93xx_eth.c 			int length = ep->descs->tdesc[entry].tdesc1 & 0xfff;
descs             450 drivers/net/ethernet/cirrus/ep93xx_eth.c 	if (!ep->descs)
descs             456 drivers/net/ethernet/cirrus/ep93xx_eth.c 		d = ep->descs->rdesc[i].buf_addr;
descs             466 drivers/net/ethernet/cirrus/ep93xx_eth.c 		d = ep->descs->tdesc[i].buf_addr;
descs             473 drivers/net/ethernet/cirrus/ep93xx_eth.c 	dma_free_coherent(dev, sizeof(struct ep93xx_descs), ep->descs,
descs             475 drivers/net/ethernet/cirrus/ep93xx_eth.c 	ep->descs = NULL;
descs             483 drivers/net/ethernet/cirrus/ep93xx_eth.c 	ep->descs = dma_alloc_coherent(dev, sizeof(struct ep93xx_descs),
descs             485 drivers/net/ethernet/cirrus/ep93xx_eth.c 	if (ep->descs == NULL)
descs             503 drivers/net/ethernet/cirrus/ep93xx_eth.c 		ep->descs->rdesc[i].buf_addr = d;
descs             504 drivers/net/ethernet/cirrus/ep93xx_eth.c 		ep->descs->rdesc[i].rdesc1 = (i << 16) | PKT_BUF_SIZE;
descs             522 drivers/net/ethernet/cirrus/ep93xx_eth.c 		ep->descs->tdesc[i].buf_addr = d;
descs              83 drivers/net/ethernet/cisco/enic/vnic_cq.h 	cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs             100 drivers/net/ethernet/cisco/enic/vnic_cq.h 		cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs             188 drivers/net/ethernet/cisco/enic/vnic_dev.c 	memset(ring->descs, 0, ring->size);
descs             208 drivers/net/ethernet/cisco/enic/vnic_dev.c 	ring->descs = (u8 *)ring->descs_unaligned +
descs             220 drivers/net/ethernet/cisco/enic/vnic_dev.c 	if (ring->descs) {
descs             225 drivers/net/ethernet/cisco/enic/vnic_dev.c 		ring->descs = NULL;
descs             419 drivers/net/ethernet/cisco/enic/vnic_dev.c 	vdev->devcmd2->result = vdev->devcmd2->results_ring.descs;
descs             420 drivers/net/ethernet/cisco/enic/vnic_dev.c 	vdev->devcmd2->cmd_ring = vdev->devcmd2->wq.ring.descs;
descs              61 drivers/net/ethernet/cisco/enic/vnic_dev.h 	void *descs;
descs              47 drivers/net/ethernet/cisco/enic/vnic_rq.c 			buf->desc = (u8 *)rq->ring.descs +
descs              47 drivers/net/ethernet/cisco/enic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
descs              55 drivers/net/ethernet/faraday/ftmac100.c 	struct ftmac100_descs *descs;
descs             299 drivers/net/ethernet/faraday/ftmac100.c 	return &priv->descs->rxdes[priv->rx_pointer];
descs             565 drivers/net/ethernet/faraday/ftmac100.c 	return &priv->descs->txdes[priv->tx_pointer];
descs             570 drivers/net/ethernet/faraday/ftmac100.c 	return &priv->descs->txdes[priv->tx_clean_pointer];
descs             693 drivers/net/ethernet/faraday/ftmac100.c 		struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i];
descs             705 drivers/net/ethernet/faraday/ftmac100.c 		struct ftmac100_txdes *txdes = &priv->descs->txdes[i];
descs             717 drivers/net/ethernet/faraday/ftmac100.c 			  priv->descs, priv->descs_dma_addr);
descs             724 drivers/net/ethernet/faraday/ftmac100.c 	priv->descs = dma_alloc_coherent(priv->dev,
descs             727 drivers/net/ethernet/faraday/ftmac100.c 	if (!priv->descs)
descs             731 drivers/net/ethernet/faraday/ftmac100.c 	ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]);
descs             734 drivers/net/ethernet/faraday/ftmac100.c 		struct ftmac100_rxdes *rxdes = &priv->descs->rxdes[i];
descs             741 drivers/net/ethernet/faraday/ftmac100.c 	ftmac100_txdes_set_end_of_ring(&priv->descs->txdes[TX_QUEUE_ENTRIES - 1]);
descs             984 drivers/net/ethernet/ibm/ibmveth.c 			union ibmveth_buf_desc *descs, unsigned long mss)
descs             998 drivers/net/ethernet/ibm/ibmveth.c 					     descs[0].desc, descs[1].desc,
descs             999 drivers/net/ethernet/ibm/ibmveth.c 					     descs[2].desc, descs[3].desc,
descs            1000 drivers/net/ethernet/ibm/ibmveth.c 					     descs[4].desc, descs[5].desc,
descs            1019 drivers/net/ethernet/ibm/ibmveth.c 	union ibmveth_buf_desc descs[6];
descs            1073 drivers/net/ethernet/ibm/ibmveth.c 	memset(descs, 0, sizeof(descs));
descs            1085 drivers/net/ethernet/ibm/ibmveth.c 		descs[0].fields.flags_len = desc_flags | skb->len;
descs            1086 drivers/net/ethernet/ibm/ibmveth.c 		descs[0].fields.address = adapter->bounce_buffer_dma;
descs            1088 drivers/net/ethernet/ibm/ibmveth.c 		if (ibmveth_send(adapter, descs, 0)) {
descs            1105 drivers/net/ethernet/ibm/ibmveth.c 	descs[0].fields.flags_len = desc_flags | skb_headlen(skb);
descs            1106 drivers/net/ethernet/ibm/ibmveth.c 	descs[0].fields.address = dma_addr;
descs            1118 drivers/net/ethernet/ibm/ibmveth.c 		descs[i+1].fields.flags_len = desc_flags | skb_frag_size(frag);
descs            1119 drivers/net/ethernet/ibm/ibmveth.c 		descs[i+1].fields.address = dma_addr;
descs            1138 drivers/net/ethernet/ibm/ibmveth.c 	if (ibmveth_send(adapter, descs, mss)) {
descs            1147 drivers/net/ethernet/ibm/ibmveth.c 			 descs[0].fields.address,
descs            1148 drivers/net/ethernet/ibm/ibmveth.c 			 descs[0].fields.flags_len & IBMVETH_BUF_LEN_MASK,
descs            1152 drivers/net/ethernet/ibm/ibmveth.c 		dma_unmap_page(&adapter->vdev->dev, descs[i].fields.address,
descs            1153 drivers/net/ethernet/ibm/ibmveth.c 			       descs[i].fields.flags_len & IBMVETH_BUF_LEN_MASK,
descs            1163 drivers/net/ethernet/ibm/ibmveth.c 		dma_unmap_page(&adapter->vdev->dev, descs[i].fields.address,
descs            1164 drivers/net/ethernet/ibm/ibmveth.c 			       descs[i].fields.flags_len & IBMVETH_BUF_LEN_MASK,
descs            1168 drivers/net/ethernet/ibm/ibmveth.c 			 descs[0].fields.address,
descs            1169 drivers/net/ethernet/ibm/ibmveth.c 			 descs[0].fields.flags_len & IBMVETH_BUF_LEN_MASK,
descs             577 drivers/net/ethernet/marvell/mvneta.c 	struct mvneta_tx_desc *descs;
descs             612 drivers/net/ethernet/marvell/mvneta.c 	struct mvneta_rx_desc *descs;
descs             823 drivers/net/ethernet/marvell/mvneta.c 	prefetch(rxq->descs + rxq->next_desc_to_proc);
descs             824 drivers/net/ethernet/marvell/mvneta.c 	return rxq->descs + rx_desc;
descs             883 drivers/net/ethernet/marvell/mvneta.c 	return txq->descs + tx_desc;
descs            1156 drivers/net/ethernet/marvell/mvneta.c 		if (txq->descs)
descs            1166 drivers/net/ethernet/marvell/mvneta.c 		if (rxq->descs)
descs            1624 drivers/net/ethernet/marvell/mvneta.c 	i = rx_desc - rxq->descs;
descs            1775 drivers/net/ethernet/marvell/mvneta.c 		struct mvneta_tx_desc *tx_desc = txq->descs +
descs            1903 drivers/net/ethernet/marvell/mvneta.c 		struct mvneta_rx_desc *rx_desc = rxq->descs + i;
descs            1922 drivers/net/ethernet/marvell/mvneta.c 		rx_desc = rxq->descs + curr_desc;
descs            1964 drivers/net/ethernet/marvell/mvneta.c 		index = rx_desc - rxq->descs;
descs            2348 drivers/net/ethernet/marvell/mvneta.c 		struct mvneta_tx_desc *tx_desc = txq->descs + i;
descs            2402 drivers/net/ethernet/marvell/mvneta.c 		tx_desc = txq->descs + i;
descs            2854 drivers/net/ethernet/marvell/mvneta.c 		memset(rxq->descs + i, 0, sizeof(struct mvneta_rx_desc));
descs            2855 drivers/net/ethernet/marvell/mvneta.c 		if (mvneta_rx_refill(pp, rxq->descs + i, rxq,
descs            2899 drivers/net/ethernet/marvell/mvneta.c 	rxq->descs = dma_alloc_coherent(pp->dev->dev.parent,
descs            2902 drivers/net/ethernet/marvell/mvneta.c 	if (!rxq->descs)
descs            2967 drivers/net/ethernet/marvell/mvneta.c 	if (rxq->descs)
descs            2970 drivers/net/ethernet/marvell/mvneta.c 				  rxq->descs,
descs            2973 drivers/net/ethernet/marvell/mvneta.c 	rxq->descs             = NULL;
descs            2998 drivers/net/ethernet/marvell/mvneta.c 	txq->descs = dma_alloc_coherent(pp->dev->dev.parent,
descs            3001 drivers/net/ethernet/marvell/mvneta.c 	if (!txq->descs)
descs            3011 drivers/net/ethernet/marvell/mvneta.c 				  txq->descs, txq->descs_phys);
descs            3023 drivers/net/ethernet/marvell/mvneta.c 				  txq->descs, txq->descs_phys);
descs            3079 drivers/net/ethernet/marvell/mvneta.c 	if (txq->descs)
descs            3082 drivers/net/ethernet/marvell/mvneta.c 				  txq->descs, txq->descs_phys);
descs            3086 drivers/net/ethernet/marvell/mvneta.c 	txq->descs             = NULL;
descs            1125 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	struct mvpp2_tx_desc *descs;
descs            1148 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	struct mvpp2_rx_desc *descs;
descs            1793 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		if (txq->descs)
descs            1870 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	prefetch(rxq->descs + rxq->next_desc_to_proc);
descs            1871 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	return rxq->descs + rx_desc;
descs            1902 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	return txq->descs + tx_desc;
descs            2322 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	aggr_txq->descs = dma_alloc_coherent(&pdev->dev,
descs            2325 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (!aggr_txq->descs)
descs            2361 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	rxq->descs = dma_alloc_coherent(port->dev->dev.parent,
descs            2364 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (!rxq->descs)
descs            2430 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (rxq->descs)
descs            2433 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				  rxq->descs,
descs            2436 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	rxq->descs             = NULL;
descs            2464 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	txq->descs = dma_alloc_coherent(port->dev->dev.parent,
descs            2467 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (!txq->descs)
descs            2564 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	if (txq->descs)
descs            2567 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				  txq->descs, txq->descs_dma);
descs            2569 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	txq->descs             = NULL;
descs            3080 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		tx_desc = txq->descs + i;
descs            3156 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	int i, len, descs = 0;
descs            3172 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		descs++;
descs            3180 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 			descs++;
descs            3189 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	return descs;
descs            3192 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	for (i = descs - 1; i >= 0; i--) {
descs            3193 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 		struct mvpp2_tx_desc *tx_desc = txq->descs + i;
descs            5954 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 				  aggr_txq->descs,
descs             406 drivers/net/ethernet/natsemi/ns83820.c 	__le32		*descs;
descs             523 drivers/net/ethernet/natsemi/ns83820.c 	sg = dev->rx_info.descs + (next_empty * DESC_SIZE);
descs             534 drivers/net/ethernet/natsemi/ns83820.c 		dev->rx_info.descs[((NR_RX_DESC + next_empty - 1) % NR_RX_DESC) * DESC_SIZE] = cpu_to_le32(dev->rx_info.phy_descs + (next_empty * DESC_SIZE * 4));
descs             595 drivers/net/ethernet/natsemi/ns83820.c 	build_rx_desc(dev, dev->rx_info.descs + (DESC_SIZE * i), 0, 0, CMDSTS_OWN, 0);
descs             715 drivers/net/ethernet/natsemi/ns83820.c 	dev->rx_info.next_rx_desc = dev->rx_info.descs;
descs             832 drivers/net/ethernet/natsemi/ns83820.c 		(dev->rx_info.descs + (DESC_SIZE * dev->rx_info.next_rx)),
descs             834 drivers/net/ethernet/natsemi/ns83820.c 		(dev->rx_info.descs + (DESC_SIZE * dev->rx_info.next_empty))
descs             913 drivers/net/ethernet/natsemi/ns83820.c 		desc = info->descs + (DESC_SIZE * next_rx);
descs             916 drivers/net/ethernet/natsemi/ns83820.c 	info->next_rx_desc = info->descs + (DESC_SIZE * next_rx);
descs            1943 drivers/net/ethernet/natsemi/ns83820.c 	dev->rx_info.descs = pci_alloc_consistent(pci_dev,
descs            1946 drivers/net/ethernet/natsemi/ns83820.c 	if (!dev->base || !dev->tx_descs || !dev->rx_info.descs)
descs            1951 drivers/net/ethernet/natsemi/ns83820.c 		dev->rx_info.descs, (long)dev->rx_info.phy_descs);
descs            2187 drivers/net/ethernet/natsemi/ns83820.c 	pci_free_consistent(pci_dev, 4 * DESC_SIZE * NR_RX_DESC, dev->rx_info.descs, dev->rx_info.phy_descs);
descs            2211 drivers/net/ethernet/natsemi/ns83820.c 			dev->rx_info.descs, dev->rx_info.phy_descs);
descs             112 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	} descs[];
descs             565 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	desc_sz = struct_size(desc, descs, nseg);
descs             574 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		desc->descs[i].size = cpu_to_le32(chunks[i].len);
descs             575 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		desc->descs[i].addr = cpu_to_le64(chunks[i].dma_addr);
descs            1817 drivers/net/ethernet/ti/netcp_core.c 	unsigned int descs = knav_pool_count(netcp->tx_pool);
descs            1819 drivers/net/ethernet/ti/netcp_core.c 	dev_err(netcp->ndev_dev, "transmit timed out tx descs(%d)\n", descs);
descs            1898 drivers/nvme/host/pci.c 	struct nvme_host_mem_buf_desc *descs;
descs            1912 drivers/nvme/host/pci.c 	descs = dma_alloc_coherent(dev->dev, max_entries * sizeof(*descs),
descs            1914 drivers/nvme/host/pci.c 	if (!descs)
descs            1930 drivers/nvme/host/pci.c 		descs[i].addr = cpu_to_le64(dma_addr);
descs            1931 drivers/nvme/host/pci.c 		descs[i].size = cpu_to_le32(len / dev->ctrl.page_size);
descs            1940 drivers/nvme/host/pci.c 	dev->host_mem_descs = descs;
descs            1947 drivers/nvme/host/pci.c 		size_t size = le32_to_cpu(descs[i].size) * dev->ctrl.page_size;
descs            1950 drivers/nvme/host/pci.c 			       le64_to_cpu(descs[i].addr),
descs            1956 drivers/nvme/host/pci.c 	dma_free_coherent(dev->dev, max_entries * sizeof(*descs), descs,
descs             353 drivers/pcmcia/soc_common.c 		struct gpio_desc *descs[2];
descs             358 drivers/pcmcia/soc_common.c 			descs[n] = skt->gpio_reset;
descs             362 drivers/pcmcia/soc_common.c 			descs[n] = skt->gpio_bus_enable;
descs             367 drivers/pcmcia/soc_common.c 			gpiod_set_array_value_cansleep(n, descs, NULL, values);
descs            2552 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
descs            2680 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
descs            2720 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
descs            2254 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
descs              91 drivers/pinctrl/aspeed/pinmux-aspeed.c 		const struct aspeed_sig_desc *desc = &expr->descs[i];
descs             467 drivers/pinctrl/aspeed/pinmux-aspeed.h 	const struct aspeed_sig_desc *descs;
descs             525 drivers/pinctrl/aspeed/pinmux-aspeed.h 		.descs = &(SIG_DESC_LIST_SYM(sig, group))[0], \
descs             388 drivers/regulator/ltc3589.c 	struct regulator_desc *descs;
descs             404 drivers/regulator/ltc3589.c 	descs = ltc3589->regulator_descs;
descs             405 drivers/regulator/ltc3589.c 	memcpy(descs, ltc3589_regulators, sizeof(ltc3589_regulators));
descs             407 drivers/regulator/ltc3589.c 		descs[LTC3589_LDO3].fixed_uV = 1800000;
descs             408 drivers/regulator/ltc3589.c 		descs[LTC3589_LDO4].volt_table = ltc3589_ldo4;
descs             410 drivers/regulator/ltc3589.c 		descs[LTC3589_LDO3].fixed_uV = 2800000;
descs             411 drivers/regulator/ltc3589.c 		descs[LTC3589_LDO4].volt_table = ltc3589_12_ldo4;
descs             309 drivers/regulator/ltc3676.c 	struct regulator_desc *descs;
descs             320 drivers/regulator/ltc3676.c 	descs = ltc3676->regulator_descs;
descs             321 drivers/regulator/ltc3676.c 	memcpy(descs, ltc3676_regulators, sizeof(ltc3676_regulators));
descs             322 drivers/regulator/ltc3676.c 	descs[LTC3676_LDO3].fixed_uV = 1800000; /* LDO3 is fixed 1.8V */
descs             193 drivers/rpmsg/qcom_glink_smem.c 	__le32 *descs;
descs             233 drivers/rpmsg/qcom_glink_smem.c 	descs = qcom_smem_get(remote_pid,
descs             235 drivers/rpmsg/qcom_glink_smem.c 	if (IS_ERR(descs)) {
descs             237 drivers/rpmsg/qcom_glink_smem.c 		ret = PTR_ERR(descs);
descs             247 drivers/rpmsg/qcom_glink_smem.c 	tx_pipe->tail = &descs[0];
descs             248 drivers/rpmsg/qcom_glink_smem.c 	tx_pipe->head = &descs[1];
descs             249 drivers/rpmsg/qcom_glink_smem.c 	rx_pipe->tail = &descs[2];
descs             250 drivers/rpmsg/qcom_glink_smem.c 	rx_pipe->head = &descs[3];
descs              81 drivers/scsi/fnic/vnic_cq.h 	cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs              98 drivers/scsi/fnic/vnic_cq.h 		cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs              35 drivers/scsi/fnic/vnic_cq_copy.h 	desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
descs              50 drivers/scsi/fnic/vnic_cq_copy.h 		desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs +
descs             215 drivers/scsi/fnic/vnic_dev.c 	memset(ring->descs, 0, ring->size);
descs             236 drivers/scsi/fnic/vnic_dev.c 	ring->descs = (u8 *)ring->descs_unaligned +
descs             248 drivers/scsi/fnic/vnic_dev.c 	if (ring->descs) {
descs             253 drivers/scsi/fnic/vnic_dev.c 		ring->descs = NULL;
descs             466 drivers/scsi/fnic/vnic_dev.c 		(struct devcmd2_result *) vdev->devcmd2->results_ring.descs;
descs             468 drivers/scsi/fnic/vnic_dev.c 		(struct vnic_devcmd2 *) vdev->devcmd2->wq.ring.descs;
descs              97 drivers/scsi/fnic/vnic_dev.h 	void *descs;
descs              45 drivers/scsi/fnic/vnic_rq.c 			buf->desc = (u8 *)rq->ring.descs +
descs              65 drivers/scsi/fnic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
descs              48 drivers/scsi/fnic/vnic_wq_copy.h 	struct fcpio_host_req *desc = wq->ring.descs;
descs              88 drivers/scsi/fnic/vnic_wq_copy.h 	struct fcpio_host_req *wq_desc = wq->ring.descs;
descs              71 drivers/scsi/snic/vnic_cq.h 	cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs              88 drivers/scsi/snic/vnic_cq.h 		cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
descs              35 drivers/scsi/snic/vnic_cq_fw.h 	desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
descs              50 drivers/scsi/snic/vnic_cq_fw.h 		desc = (struct snic_fw_req *)((u8 *)cq->ring.descs +
descs             220 drivers/scsi/snic/vnic_dev.c 	memset(ring->descs, 0, ring->size);
descs             240 drivers/scsi/snic/vnic_dev.c 	ring->descs = (u8 *)ring->descs_unaligned +
descs             252 drivers/scsi/snic/vnic_dev.c 	if (ring->descs) {
descs             257 drivers/scsi/snic/vnic_dev.c 		ring->descs = NULL;
descs             405 drivers/scsi/snic/vnic_dev.c 	dc2c->result = (struct devcmd2_result *) dc2c->results_ring.descs;
descs             406 drivers/scsi/snic/vnic_dev.c 	dc2c->cmd_ring = (struct vnic_devcmd2 *) dc2c->wq.ring.descs;
descs              55 drivers/scsi/snic/vnic_dev.h 	void *descs;
descs              62 drivers/scsi/snic/vnic_wq.c 			buf->desc = (u8 *)wq->ring.descs +
descs             251 drivers/soc/ti/knav_qmss.h 	u32				*descs;
descs             171 drivers/soc/ti/knav_qmss_acc.c 		kq->descs[idx] = val;
descs             400 drivers/soc/ti/knav_qmss_acc.c 	kq->descs = devm_kcalloc(range->kdev->dev,
descs             402 drivers/soc/ti/knav_qmss_acc.c 	if (!kq->descs)
descs             669 drivers/soc/ti/knav_qmss_queue.c 	if (inst->descs) {
descs             676 drivers/soc/ti/knav_qmss_queue.c 		val = inst->descs[idx];
descs             671 drivers/staging/comedi/drivers/mite.c 		desc = &ring->descs[i];
descs             680 drivers/staging/comedi/drivers/mite.c 		desc = &ring->descs[i];
descs             700 drivers/staging/comedi/drivers/mite.c 	struct mite_dma_desc *descs = ring->descs;
descs             702 drivers/staging/comedi/drivers/mite.c 	if (descs) {
descs             704 drivers/staging/comedi/drivers/mite.c 				  ring->n_links * sizeof(*descs),
descs             705 drivers/staging/comedi/drivers/mite.c 				  descs, ring->dma_addr);
descs             706 drivers/staging/comedi/drivers/mite.c 		ring->descs = NULL;
descs             720 drivers/staging/comedi/drivers/mite.c 	struct mite_dma_desc *descs;
descs             730 drivers/staging/comedi/drivers/mite.c 	descs = dma_alloc_coherent(ring->hw_dev,
descs             731 drivers/staging/comedi/drivers/mite.c 				   n_links * sizeof(*descs),
descs             733 drivers/staging/comedi/drivers/mite.c 	if (!descs) {
descs             738 drivers/staging/comedi/drivers/mite.c 	ring->descs = descs;
descs             762 drivers/staging/comedi/drivers/mite.c 	ring->descs = NULL;
descs              32 drivers/staging/comedi/drivers/mite.h 	struct mite_dma_desc *descs;
descs             122 drivers/usb/gadget/function/f_fs.c 	struct usb_endpoint_descriptor	*descs[3];
descs            1343 drivers/usb/gadget/function/f_fs.c 		desc = epfile->ep->descs[desc_idx];
descs            2849 drivers/usb/gadget/function/f_fs.c 	if (unlikely(ffs_ep->descs[ep_desc_id])) {
descs            2855 drivers/usb/gadget/function/f_fs.c 	ffs_ep->descs[ep_desc_id] = ds;
descs            2859 drivers/usb/gadget/function/f_fs.c 		ds->bEndpointAddress = ffs_ep->descs[0]->bEndpointAddress;
descs            2861 drivers/usb/gadget/function/f_fs.c 			ds->wMaxPacketSize = ffs_ep->descs[0]->wMaxPacketSize;
descs            2952 drivers/usb/gadget/function/f_fs.c 			struct usb_endpoint_descriptor **descs;
descs            2953 drivers/usb/gadget/function/f_fs.c 			descs = func->eps[idx].descs;
descs            2954 drivers/usb/gadget/function/f_fs.c 			newValue = descs[descs[0] ? 0 : 1]->bEndpointAddress;
descs            1594 drivers/usb/gadget/function/f_ncm.c 	struct usb_os_desc *descs[1];
descs            1613 drivers/usb/gadget/function/f_ncm.c 	descs[0] = &opts->ncm_os_desc;
descs            1618 drivers/usb/gadget/function/f_ncm.c 		usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
descs             915 drivers/usb/gadget/function/f_rndis.c 	struct usb_os_desc *descs[1];
descs             938 drivers/usb/gadget/function/f_rndis.c 	descs[0] = &opts->rndis_os_desc;
descs             943 drivers/usb/gadget/function/f_rndis.c 		usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
descs             190 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc = &ep->epn.descs[d_num];
descs             275 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		desc = &ep->epn.descs[d_num];
descs             649 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->epn.desc_mode = ep->epn.descs && ep->epn.is_in;
descs             651 drivers/usb/gadget/udc/aspeed-vhub/epn.c 		memset(ep->epn.descs, 0, 8 * AST_VHUB_DESCS_COUNT);
descs             776 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->epn.descs = NULL;
descs             835 drivers/usb/gadget/udc/aspeed-vhub/epn.c 	ep->epn.descs = ep->buf + AST_VHUB_EPn_MAX_PACKET;
descs             319 drivers/usb/gadget/udc/aspeed-vhub/vhub.h 			struct ast_vhub_desc	*descs;
descs             154 drivers/vhost/vringh.c 			    struct vring_desc **descs, int *desc_max)
descs             175 drivers/vhost/vringh.c 	*descs = addr;
descs             210 drivers/vhost/vringh.c 				       struct vring_desc **descs, int *desc_max)
descs             215 drivers/vhost/vringh.c 	*descs = vrh->vring.desc;
descs             268 drivers/vhost/vringh.c 	struct vring_desc desc, *descs;
descs             273 drivers/vhost/vringh.c 	descs = vrh->vring.desc;
descs             291 drivers/vhost/vringh.c 			err = slow_copy(vrh, &desc, &descs[i], rcheck, getrange,
descs             294 drivers/vhost/vringh.c 			err = copy(&desc, &descs[i], sizeof(desc));
descs             317 drivers/vhost/vringh.c 					       &descs, &desc_max);
descs             324 drivers/vhost/vringh.c 			vringh_bad("Descriptor loop in %p", descs);
descs             335 drivers/vhost/vringh.c 					   &descs[i]);
descs             383 drivers/vhost/vringh.c 							 &descs, &desc_max);
descs             458 fs/fuse/cuse.c 	ap->descs = &ia->desc;
descs             958 fs/fuse/dev.c  		unsigned int offset = ap->descs[i].offset;
descs             959 fs/fuse/dev.c  		unsigned int count = min(nbytes, ap->descs[i].length);
descs            1663 fs/fuse/dev.c  	args_size += num_pages * (sizeof(ap->pages[0]) + sizeof(ap->descs[0]));
descs            1671 fs/fuse/dev.c  	ap->descs = (void *) (ap->pages + num_pages);
descs            1692 fs/fuse/dev.c  		ap->descs[ap->num_pages].offset = offset;
descs            1693 fs/fuse/dev.c  		ap->descs[ap->num_pages].length = this_num;
descs            1217 fs/fuse/dir.c  		.descs = &desc,
descs             658 fs/fuse/file.c 						&ia->ap.descs);
descs             792 fs/fuse/file.c 		.ap.descs = &desc,
descs             899 fs/fuse/file.c 		ap->descs[ap->num_pages - 1].length--;
descs             959 fs/fuse/file.c 	ap->descs[ap->num_pages].length = PAGE_SIZE;
descs            1118 fs/fuse/file.c 	offset = ap->descs[0].offset;
descs            1150 fs/fuse/file.c 	ap->descs[0].offset = offset;
descs            1187 fs/fuse/file.c 		ap->descs[ap->num_pages].length = tmp;
descs            1233 fs/fuse/file.c 		ap->pages = fuse_pages_alloc(nr_pages, GFP_KERNEL, &ap->descs);
descs            1344 fs/fuse/file.c static inline void fuse_page_descs_length_init(struct fuse_page_desc *descs,
descs            1351 fs/fuse/file.c 		descs[i].length = PAGE_SIZE - descs[i].offset;
descs            1403 fs/fuse/file.c 		ap->descs[ap->num_pages].offset = start;
descs            1404 fs/fuse/file.c 		fuse_page_descs_length_init(ap->descs, ap->num_pages, npages);
descs            1407 fs/fuse/file.c 		ap->descs[ap->num_pages - 1].length -=
descs            1804 fs/fuse/file.c 		ap->pages = fuse_pages_alloc(1, GFP_NOFS, &ap->descs);
descs            1849 fs/fuse/file.c 	ap->descs[0].offset = 0;
descs            1850 fs/fuse/file.c 	ap->descs[0].length = PAGE_SIZE;
descs            1913 fs/fuse/file.c 	struct fuse_page_desc *descs;
descs            1920 fs/fuse/file.c 	pages = fuse_pages_alloc(npages, GFP_NOFS, &descs);
descs            1925 fs/fuse/file.c 	memcpy(descs, ap->descs, sizeof(struct fuse_page_desc) * ap->num_pages);
descs            1928 fs/fuse/file.c 	ap->descs = descs;
descs            2097 fs/fuse/file.c 	ap->descs[ap->num_pages].offset = 0;
descs            2098 fs/fuse/file.c 	ap->descs[ap->num_pages].length = PAGE_SIZE;
descs            2747 fs/fuse/file.c 	ap.pages = fuse_pages_alloc(fc->max_pages, GFP_KERNEL, &ap.descs);
descs            2752 fs/fuse/file.c 	fuse_page_descs_length_init(ap.descs, 0, fc->max_pages);
descs             260 fs/fuse/fuse_i.h 	struct fuse_page_desc *descs;
descs             338 fs/fuse/readdir.c 	ap->descs = &desc;
descs             487 fs/fuse/virtio_fs.c 				thislen = ap->descs[i].length;
descs             489 fs/fuse/virtio_fs.c 					WARN_ON(ap->descs[i].offset);
descs             864 fs/fuse/virtio_fs.c 						ap->pages, ap->descs,
descs              85 include/linux/gpio/consumer.h void gpiod_put_array(struct gpio_descs *descs);
descs             108 include/linux/gpio/consumer.h void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs);
descs             253 include/linux/gpio/consumer.h static inline void gpiod_put_array(struct gpio_descs *descs)
descs             258 include/linux/gpio/consumer.h 	WARN_ON(descs);
descs             315 include/linux/gpio/consumer.h 					struct gpio_descs *descs)
descs             320 include/linux/gpio/consumer.h 	WARN_ON(descs);
descs             349 sound/firewire/amdtp-am824.c 					    const struct pkt_desc *descs,
descs             358 sound/firewire/amdtp-am824.c 		const struct pkt_desc *desc = descs + i;
descs             379 sound/firewire/amdtp-am824.c 					    const struct pkt_desc *descs,
descs             388 sound/firewire/amdtp-am824.c 		const struct pkt_desc *desc = descs + i;
descs             682 sound/firewire/amdtp-stream.c 				     struct pkt_desc *descs,
descs             691 sound/firewire/amdtp-stream.c 		struct pkt_desc *desc = descs + i;
descs             724 sound/firewire/amdtp-stream.c 				     struct pkt_desc *descs,
descs             732 sound/firewire/amdtp-stream.c 		struct pkt_desc *desc = descs + i;
descs             764 sound/firewire/amdtp-stream.c 				 const struct pkt_desc *descs,
descs             771 sound/firewire/amdtp-stream.c 	pcm_frames = s->process_ctx_payloads(s, descs, packets, pcm);
descs             345 sound/firewire/digi00x/amdtp-dot.c 					    const struct pkt_desc *descs,
descs             353 sound/firewire/digi00x/amdtp-dot.c 		const struct pkt_desc *desc = descs + i;
descs             369 sound/firewire/digi00x/amdtp-dot.c 					    const struct pkt_desc *descs,
descs             377 sound/firewire/digi00x/amdtp-dot.c 		const struct pkt_desc *desc = descs + i;
descs             116 sound/firewire/fireface/amdtp-ff.c 					   const struct pkt_desc *descs,
descs             124 sound/firewire/fireface/amdtp-ff.c 		const struct pkt_desc *desc = descs + i;
descs             140 sound/firewire/fireface/amdtp-ff.c 					    const struct pkt_desc *descs,
descs             148 sound/firewire/fireface/amdtp-ff.c 		const struct pkt_desc *desc = descs + i;
descs             314 sound/firewire/motu/amdtp-motu.c 				     const struct pkt_desc *descs,
descs             320 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
descs             330 sound/firewire/motu/amdtp-motu.c 					    const struct pkt_desc *descs,
descs             340 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
descs             356 sound/firewire/motu/amdtp-motu.c 		probe_tracepoints_events(s, descs, packets);
descs             404 sound/firewire/motu/amdtp-motu.c 					    const struct pkt_desc *descs,
descs             414 sound/firewire/motu/amdtp-motu.c 		const struct pkt_desc *desc = descs + i;
descs             436 sound/firewire/motu/amdtp-motu.c 		probe_tracepoints_events(s, descs, packets);
descs             180 sound/firewire/tascam/amdtp-tascam.c 					    const struct pkt_desc *descs,
descs             188 sound/firewire/tascam/amdtp-tascam.c 		const struct pkt_desc *desc = descs + i;
descs             204 sound/firewire/tascam/amdtp-tascam.c 					    const struct pkt_desc *descs,
descs             212 sound/firewire/tascam/amdtp-tascam.c 		const struct pkt_desc *desc = descs + i;
descs              67 tools/lib/bpf/xsk.h 	struct xdp_desc *descs = (struct xdp_desc *)tx->ring;
descs              69 tools/lib/bpf/xsk.h 	return &descs[idx & tx->mask];
descs              75 tools/lib/bpf/xsk.h 	const struct xdp_desc *descs = (const struct xdp_desc *)rx->ring;
descs              77 tools/lib/bpf/xsk.h 	return &descs[idx & rx->mask];