Home
last modified time | relevance | path

Searched refs:sg_cpu (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/kernel/sched/
Dcpufreq_schedutil.c200 static unsigned long sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
202 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
205 sg_cpu->max = max = arch_scale_cpu_capacity(NULL, sg_cpu->cpu); in sugov_get_util()
206 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
263 return min(max, util + sg_cpu->bw_dl); in sugov_get_util()
277 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
280 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
286 sg_cpu->iowait_boost = set_iowait_boost in sugov_iowait_reset()
287 ? sg_cpu->sg_policy->policy->min : 0; in sugov_iowait_reset()
288 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dsunxi-mmc.c291 void *sg_cpu; member
361 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des()
1346 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1348 if (!host->sg_cpu) { in sunxi_mmc_probe()
1417 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1432 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c533 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
561 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
609 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64()
666 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64()
681 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32()
740 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32()
1123 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
2954 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma()
2957 if (!host->sg_cpu) { in dw_mci_init_dma()
Ddw_mmc.h183 void *sg_cpu; member
/Linux-v4.19/Documentation/media/v4l-drivers/
Dpxa_camera.rst111 This structure is pointed by dma->sg_cpu.
/Linux-v4.19/Documentation/driver-api/dmaengine/
Dpxa_dma.rst54 This structure is pointed by dma->sg_cpu.