Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/sched/
Dcpufreq_schedutil.c164 static void sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
166 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
167 unsigned long max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
169 sg_cpu->max = max; in sugov_get_util()
170 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
171 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(rq), max, in sugov_get_util()
186 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
189 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
195 sg_cpu->iowait_boost = set_iowait_boost ? IOWAIT_BOOST_MIN : 0; in sugov_iowait_reset()
196 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
[all …]
/Linux-v5.15/drivers/mmc/host/
Dmmci_stm32_sdmmc.c45 void *sg_cpu; member
131 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
133 if (!idma->sg_cpu) { in sdmmc_idma_setup()
152 struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu; in sdmmc_idma_start()
Dsunxi-mmc.c292 void *sg_cpu; member
362 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des()
1378 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1380 if (!host->sg_cpu) { in sunxi_mmc_probe()
1473 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1488 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c512 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
540 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
588 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64()
645 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64()
660 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32()
719 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32()
1105 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
3000 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma()
3003 if (!host->sg_cpu) { in dw_mci_init_dma()
Ddw_mmc.h181 void *sg_cpu; member
/Linux-v5.15/Documentation/driver-api/media/drivers/
Dpxa_camera.rst113 This structure is pointed by dma->sg_cpu.
/Linux-v5.15/Documentation/driver-api/dmaengine/
Dpxa_dma.rst54 This structure is pointed by dma->sg_cpu.