Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/sched/
Dcpufreq_schedutil.c294 static unsigned long sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
296 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
298 unsigned long max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
300 sg_cpu->max = max; in sugov_get_util()
301 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
303 return schedutil_cpu_util(sg_cpu->cpu, util, max, FREQUENCY_UTIL, NULL); in sugov_get_util()
317 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
320 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
326 sg_cpu->iowait_boost = set_iowait_boost ? IOWAIT_BOOST_MIN : 0; in sugov_iowait_reset()
327 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
[all …]
/Linux-v5.4/drivers/mmc/host/
Dmmci_stm32_sdmmc.c25 void *sg_cpu; member
104 idma->sg_cpu = dmam_alloc_coherent(mmc_dev(host->mmc), in sdmmc_idma_setup()
107 if (!idma->sg_cpu) { in sdmmc_idma_setup()
127 struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu; in sdmmc_idma_start()
Dsunxi-mmc.c290 void *sg_cpu; member
360 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des()
1352 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1354 if (!host->sg_cpu) { in sunxi_mmc_probe()
1447 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1462 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c507 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
535 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
583 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64()
640 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64()
655 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32()
714 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32()
1097 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
2927 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma()
2930 if (!host->sg_cpu) { in dw_mci_init_dma()
Ddw_mmc.h179 void *sg_cpu; member
/Linux-v5.4/Documentation/media/v4l-drivers/
Dpxa_camera.rst113 This structure is pointed by dma->sg_cpu.
/Linux-v5.4/Documentation/driver-api/dmaengine/
Dpxa_dma.rst54 This structure is pointed by dma->sg_cpu.