Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/sched/
Dcpufreq_schedutil.c157 static void sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
159 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
161 sg_cpu->max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
162 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
163 sg_cpu->util = effective_cpu_util(sg_cpu->cpu, cpu_util_cfs(sg_cpu->cpu), in sugov_get_util()
178 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
181 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
187 sg_cpu->iowait_boost = set_iowait_boost ? IOWAIT_BOOST_MIN : 0; in sugov_iowait_reset()
188 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
207 static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_boost() argument
[all …]
/Linux-v6.1/drivers/mmc/host/
Dmmci_stm32_sdmmc.c45 void *sg_cpu; member
175 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
177 if (!idma->sg_cpu) { in sdmmc_idma_setup()
198 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()
1388 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1390 if (!host->sg_cpu) { in sunxi_mmc_probe()
1483 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1498 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c513 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
541 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
589 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64()
646 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64()
661 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32()
720 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32()
1106 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
3051 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma()
3054 if (!host->sg_cpu) { in dw_mci_init_dma()
Ddw_mmc.h183 void *sg_cpu; member
/Linux-v6.1/Documentation/driver-api/media/drivers/
Dpxa_camera.rst113 This structure is pointed by dma->sg_cpu.
/Linux-v6.1/Documentation/driver-api/dmaengine/
Dpxa_dma.rst54 This structure is pointed by dma->sg_cpu.