Searched refs:descs (Results 1 - 25 of 144) sorted by path

123456

/linux-master/drivers/clk/mvebu/
H A Dclk-corediv.c41 const struct clk_corediv_desc *descs; member in struct:clk_corediv_soc_desc
195 .descs = mvebu_corediv_desc,
211 .descs = mvebu_corediv_desc,
227 .descs = mvebu_corediv_desc,
239 .descs = mv98dx3236_corediv_desc,
293 corediv[i].desc = soc_desc->descs + i;
/linux-master/drivers/dma/ioat/
H A Dprep.c31 static void xor_set_src(struct ioat_raw_descriptor *descs[2], argument
34 struct ioat_raw_descriptor *raw = descs[xor_idx_to_desc >> idx & 1];
39 static dma_addr_t pq_get_src(struct ioat_raw_descriptor *descs[2], int idx) argument
41 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
53 static void pq_set_src(struct ioat_raw_descriptor *descs[2], argument
56 struct ioat_pq_descriptor *pq = (struct ioat_pq_descriptor *) descs[0];
57 struct ioat_raw_descriptor *raw = descs[pq_idx_to_desc >> idx & 1];
192 struct ioat_raw_descriptor *descs[2]; local
207 descs[0] = (struct ioat_raw_descriptor *) xor;
208 descs[
282 struct ioat_raw_descriptor *descs[] = { (void *) pq, (void *) pq_ex }; local
308 struct ioat_raw_descriptor *descs[] = { (void *)pq, local
388 struct ioat_raw_descriptor *descs[2]; local
496 struct ioat_raw_descriptor *descs[4]; local
[all...]
H A Ddma.c350 pos = (u8 *)ioat_chan->descs[chunk].virt + offs;
351 phys = ioat_chan->descs[chunk].hw + offs;
389 struct ioat_descs *descs = &ioat_chan->descs[i]; local
391 descs->virt = dma_alloc_coherent(to_dev(ioat_chan),
392 IOAT_CHUNK_SIZE, &descs->hw, flags);
393 if (!descs->virt) {
397 descs = &ioat_chan->descs[idx];
400 descs
[all...]
H A Ddma.h135 struct ioat_descs descs[IOAT_MAX_DESCS / IOAT_DESCS_PER_CHUNK]; member in struct:ioatdma_chan
H A Dinit.c613 int descs; local
636 descs = ioat_ring_space(ioat_chan);
637 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); local
638 for (i = 0; i < descs; i++) {
643 if (descs < total_descs)
645 total_descs - descs);
647 for (i = 0; i < total_descs - descs; i++) {
655 ioat_chan->descs[i].virt,
656 ioat_chan->descs[i].hw);
657 ioat_chan->descs[
[all...]
/linux-master/drivers/media/pci/pt3/
H A Dpt3.h86 struct xfer_desc *descs; /* PAGE_SIZE (xfer_desc[DESCS_IN_PAGE]) */ member in struct:xfer_desc_buffer
H A Dpt3_dma.c140 adap->desc_buf[i].descs, adap->desc_buf[i].b_addr);
179 adap->desc_buf[i].descs = p;
183 d = &adap->desc_buf[i - 1].descs[DESCS_IN_PAGE - 1];
189 d = &adap->desc_buf[i].descs[j];
/linux-master/drivers/comedi/drivers/
H A Dmite.c670 desc = &ring->descs[i];
679 desc = &ring->descs[i];
699 struct mite_dma_desc *descs = ring->descs; local
701 if (descs) {
703 ring->n_links * sizeof(*descs),
704 descs, ring->dma_addr);
705 ring->descs = NULL;
719 struct mite_dma_desc *descs; local
729 descs
[all...]
H A Dmite.h32 struct mite_dma_desc *descs; member in struct:mite_ring
/linux-master/drivers/dma/idxd/
H A Ddevice.c79 kfree(wq->descs[i]);
81 kfree(wq->descs);
90 wq->descs = kcalloc_node(num, sizeof(struct idxd_desc *),
92 if (!wq->descs)
96 wq->descs[i] = kzalloc_node(sizeof(*wq->descs[i]),
98 if (!wq->descs[i]) {
141 struct idxd_desc *desc = wq->descs[i];
H A Ddma.c266 struct idxd_desc *desc = wq->descs[i];
H A Didxd.h229 struct idxd_desc **descs; member in struct:idxd_wq
H A Dsubmit.c16 desc = wq->descs[idx];
/linux-master/drivers/dma/
H A Dmpc512x_dma.c494 LIST_HEAD(descs);
520 list_add_tail(&mdesc->node, &descs);
534 list_splice_tail_init(&descs, &mchan->free);
552 LIST_HEAD(descs);
563 list_splice_tail_init(&mchan->free, &descs);
575 list_for_each_entry_safe(mdesc, tmp, &descs, node)
H A Dtimb_dma.c83 unsigned int descs; /* Descriptors to allocate */ member in struct:timb_dma_chan
410 for (i = 0; i < td_chan->descs; i++) {
702 td_chan->descs = pchan->descriptors;
/linux-master/drivers/dma/qcom/
H A Dhidma.c347 LIST_HEAD(descs);
373 list_add_tail(&mdesc->node, &descs);
378 list_for_each_entry_safe(mdesc, tmp, &descs, node) {
386 list_splice_tail_init(&descs, &mchan->free);
540 LIST_HEAD(descs);
548 list_splice_tail_init(&mchan->free, &descs);
551 list_for_each_entry_safe(mdesc, tmp, &descs, node) {
/linux-master/drivers/dma/sh/
H A Drcar-dmac.c99 * @descs: array of DMA descriptors
106 DECLARE_FLEX_ARRAY(struct rcar_dmac_desc, descs);
112 ((PAGE_SIZE - offsetof(struct rcar_dmac_desc_page, descs)) / \
542 struct rcar_dmac_desc *desc = &page->descs[i];
829 LIST_HEAD(descs);
834 list_splice_init(&chan->desc.pending, &descs);
835 list_splice_init(&chan->desc.active, &descs);
836 list_splice_init(&chan->desc.done, &descs);
837 list_splice_init(&chan->desc.wait, &descs);
843 list_for_each_entry_safe(desc, _desc, &descs, nod
[all...]
/linux-master/drivers/gpio/
H A Dgpio-aggregator.c252 struct gpio_desc **descs; member in struct:gpiochip_fwd
258 unsigned long tmp[]; /* values and descs for multiple ops */
270 return gpiod_get_direction(fwd->descs[offset]);
277 return gpiod_direction_input(fwd->descs[offset]);
285 return gpiod_direction_output(fwd->descs[offset], value);
292 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset])
293 : gpiod_get_value(fwd->descs[offset]);
299 struct gpio_desc **descs = fwd_tmp_descs(fwd); local
306 descs[j++] = fwd->descs[
379 struct gpio_desc **descs = fwd_tmp_descs(fwd); local
494 gpiochip_fwd_create(struct device *dev, unsigned int ngpios, struct gpio_desc *descs[], unsigned long features) argument
571 struct gpio_desc **descs; local
[all...]
H A Dgpio-max3191x.c336 struct gpio_descs *descs; local
348 descs = devm_gpiod_get_array_optional(dev, con_id, flags);
350 if (IS_ERR(descs)) {
352 con_id, PTR_ERR(descs));
356 return descs;
H A Dgpio-moxtet.c21 static const struct moxtet_gpio_desc descs[] = { variable in typeref:struct:moxtet_gpio_desc
124 if (id >= ARRAY_SIZE(descs)) {
136 chip->desc = &descs[id];
H A Dgpiolib-cdev.c72 * @descs: the GPIO descriptors held by this handle
73 * @num_descs: the number of descriptors held in the descs array
78 struct gpio_desc *descs[GPIOHANDLES_MAX]; member in struct:linehandle_state
173 desc = lh->descs[i];
216 lh->num_descs, lh->descs,
234 if (!test_bit(FLAG_IS_OUT, &lh->descs[0]->flags))
248 lh->descs,
271 if (lh->descs[i])
272 gpiod_free(lh->descs[i]);
344 lh->descs[
1371 struct gpio_desc **descs; local
1443 struct gpio_desc **descs; local
[all...]
H A Dgpiolib-devres.c34 struct gpio_descs **descs = res; local
36 gpiod_put_array(*descs);
216 struct gpio_descs *descs; local
223 descs = gpiod_get_array(dev, con_id, flags);
224 if (IS_ERR(descs)) {
226 return descs;
229 *dr = descs;
232 return descs;
251 struct gpio_descs *descs; local
253 descs
316 devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs) argument
[all...]
H A Dgpiolib.c149 return &gdev->descs[gpio - gdev->base];
190 return &gdev->descs[hwnum];
206 return desc->gdev->base + (desc - &desc->gdev->descs[0]);
490 gdev->descs[i].name = gc->names[i];
564 gdev->descs[i].name = names[chip->offset + i];
701 cleanup_srcu_struct(&gdev->descs[i].srcu);
705 kfree(gdev->descs);
915 gdev->descs = kcalloc(gc->ngpio, sizeof(*gdev->descs), GFP_KERNEL);
916 if (!gdev->descs) {
4543 struct gpio_descs *descs; local
4667 struct gpio_descs *descs; local
4694 gpiod_put_array(struct gpio_descs *descs) argument
[all...]
H A Dgpiolib.h33 * @descs: array of ngpio descriptors.
35 * of the @descs array.
63 struct gpio_desc *descs; member in struct:gpio_device
247 return desc - &desc->gdev->descs[0];
/linux-master/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c997 const struct atmel_hlcdc_layer_desc *descs = dc->desc->layers; local
1008 if (descs[i].type != ATMEL_HLCDC_BASE_LAYER &&
1009 descs[i].type != ATMEL_HLCDC_OVERLAY_LAYER &&
1010 descs[i].type != ATMEL_HLCDC_CURSOR_LAYER)
1013 ret = atmel_hlcdc_plane_create(dev, &descs[i]);

Completed in 576 milliseconds

123456