Searched refs:pset (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/dma/ |
H A D | edma.c | 199 struct edma_pset pset[0]; member in struct:edma_desc 770 edma_write_slot(ecc, echan->slot[i], &edesc->pset[j].param); edma_execute() 771 edesc->sg_len += edesc->pset[j].len; edma_execute() 773 "\n pset[%d]:\n" edma_execute() 785 edesc->pset[j].param.opt, edma_execute() 786 edesc->pset[j].param.src, edma_execute() 787 edesc->pset[j].param.dst, edma_execute() 788 edesc->pset[j].param.a_b_cnt, edma_execute() 789 edesc->pset[j].param.ccnt, edma_execute() 790 edesc->pset[j].param.src_dst_bidx, edma_execute() 791 edesc->pset[j].param.src_dst_cidx, edma_execute() 792 edesc->pset[j].param.link_bcntrld); edma_execute() 905 * @pset: PaRAM set to initialize and setup. 1060 edesc = kzalloc(sizeof(*edesc) + sg_len * sizeof(edesc->pset[0]), edma_prep_slave_sg() 1096 ret = edma_config_pset(chan, &edesc->pset[i], src_addr, for_each_sg() 1110 edesc->pset[i].param.opt |= TCINTEN; for_each_sg() 1114 edesc->pset[i].param.opt |= TCINTEN; for_each_sg() 1164 edesc = kzalloc(sizeof(*edesc) + nslots * sizeof(edesc->pset[0]), edma_prep_dma_memcpy() 1176 ret = edma_config_pset(chan, &edesc->pset[0], src, dest, 1, edma_prep_dma_memcpy() 1185 edesc->pset[0].param.opt |= ITCCHEN; edma_prep_dma_memcpy() 1188 edesc->pset[0].param.opt |= TCINTEN; edma_prep_dma_memcpy() 1191 edesc->pset[0].param.opt |= TCCHEN; edma_prep_dma_memcpy() 1207 ret = edma_config_pset(chan, &edesc->pset[1], src, dest, 1, edma_prep_dma_memcpy() 1214 edesc->pset[1].param.opt |= ITCCHEN; edma_prep_dma_memcpy() 1215 edesc->pset[1].param.opt |= TCINTEN; edma_prep_dma_memcpy() 1275 edesc = kzalloc(sizeof(*edesc) + nslots * sizeof(edesc->pset[0]), edma_prep_dma_cyclic() 1305 memcpy(&edesc->pset[i], &edesc->pset[0], edma_prep_dma_cyclic() 1306 sizeof(edesc->pset[0])); edma_prep_dma_cyclic() 1310 ret = edma_config_pset(chan, &edesc->pset[i], src_addr, edma_prep_dma_cyclic() 1325 "\n pset[%d]:\n" edma_prep_dma_cyclic() 1337 edesc->pset[i].param.opt, edma_prep_dma_cyclic() 1338 edesc->pset[i].param.src, edma_prep_dma_cyclic() 1339 edesc->pset[i].param.dst, edma_prep_dma_cyclic() 1340 edesc->pset[i].param.a_b_cnt, edma_prep_dma_cyclic() 1341 edesc->pset[i].param.ccnt, edma_prep_dma_cyclic() 1342 edesc->pset[i].param.src_dst_bidx, edma_prep_dma_cyclic() 1343 edesc->pset[i].param.src_dst_cidx, edma_prep_dma_cyclic() 1344 edesc->pset[i].param.link_bcntrld); edma_prep_dma_cyclic() 1352 edesc->pset[i].param.opt |= TCINTEN; edma_prep_dma_cyclic() 1686 struct edma_pset *pset = edesc->pset; edma_residue() local 1692 * pset. That's the one which is active now. edma_residue() 1697 * Cyclic is simple. Just subtract pset[0].addr from pos. edma_residue() 1704 done = pos - pset->addr; edma_residue() 1713 pset += edesc->processed_stat; edma_residue() 1715 for (i = edesc->processed_stat; i < edesc->processed; i++, pset++) { edma_residue() 1717 * If we are inside this pset address range, we know edma_residue() 1721 if (pos >= pset->addr && pos < pset->addr + pset->len) edma_residue() 1722 return edesc->residue_stat - (pos - pset->addr); edma_residue() 1726 edesc->residue_stat -= pset->len; edma_residue()
|
/linux-4.4.14/drivers/base/ |
H A D | property.c | 25 * @pset: Collection of properties to add. 27 * Associate a collection of device properties represented by @pset with @dev 30 void device_add_property_set(struct device *dev, struct property_set *pset) device_add_property_set() argument 32 if (!pset) device_add_property_set() 35 pset->fwnode.type = FWNODE_PDATA; device_add_property_set() 36 set_secondary_fwnode(dev, &pset->fwnode); device_add_property_set() 51 static struct property_entry *pset_prop_get(struct property_set *pset, pset_prop_get() argument 56 if (!pset || !pset->properties) pset_prop_get() 59 for (prop = pset->properties; prop->name; prop++) pset_prop_get() 66 static int pset_prop_read_array(struct property_set *pset, const char *name, pset_prop_read_array() argument 72 prop = pset_prop_get(pset, name); pset_prop_read_array()
|
/linux-4.4.14/include/linux/ |
H A D | property.h | 175 void device_add_property_set(struct device *dev, struct property_set *pset);
|
H A D | vmstat.h | 254 struct per_cpu_pageset *pset) { } 253 drain_zonestat(struct zone *zone, struct per_cpu_pageset *pset) drain_zonestat() argument
|
/linux-4.4.14/mm/ |
H A D | vmstat.c | 553 * pset->vm_stat_diff[] exsist. 555 void drain_zonestat(struct zone *zone, struct per_cpu_pageset *pset) drain_zonestat() argument 560 if (pset->vm_stat_diff[i]) { drain_zonestat() 561 int v = pset->vm_stat_diff[i]; drain_zonestat() 562 pset->vm_stat_diff[i] = 0; drain_zonestat()
|
H A D | page_alloc.c | 1903 struct per_cpu_pageset *pset; drain_pages_zone() local 1907 pset = per_cpu_ptr(zone->pageset, cpu); drain_pages_zone() 1909 pcp = &pset->pcp; drain_pages_zone() 6842 struct per_cpu_pageset *pset; zone_pcp_reset() local 6848 pset = per_cpu_ptr(zone->pageset, cpu); for_each_online_cpu() 6849 drain_zonestat(zone, pset); for_each_online_cpu()
|
Completed in 215 milliseconds