Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcpufreq_schedutil.c296 static unsigned long sugov_get_util(struct sugov_cpu *sg_cpu) in sugov_get_util() argument
298 struct rq *rq = cpu_rq(sg_cpu->cpu); in sugov_get_util()
300 unsigned long max = arch_scale_cpu_capacity(sg_cpu->cpu); in sugov_get_util()
302 sg_cpu->max = max; in sugov_get_util()
303 sg_cpu->bw_dl = cpu_bw_dl(rq); in sugov_get_util()
305 return schedutil_cpu_util(sg_cpu->cpu, util, max, FREQUENCY_UTIL, NULL); in sugov_get_util()
319 static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, in sugov_iowait_reset() argument
322 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
328 sg_cpu->iowait_boost = set_iowait_boost ? IOWAIT_BOOST_MIN : 0; in sugov_iowait_reset()
329 sg_cpu->iowait_boost_pending = set_iowait_boost; in sugov_iowait_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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()
H A 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()
1355 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1357 if (!host->sg_cpu) { in sunxi_mmc_probe()
1450 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1465 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
H A Ddw_mmc.c544 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
572 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
620 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc64()
677 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc64()
692 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_prepare_desc32()
758 memset(host->sg_cpu, 0, DESC_RING_BUF_SZ); in dw_mci_prepare_desc32()
1144 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
3041 host->sg_cpu = dmam_alloc_coherent(host->dev, in dw_mci_init_dma()
3044 if (!host->sg_cpu) { in dw_mci_init_dma()
H A Ddw_mmc.h179 void *sg_cpu; member
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/
H A Dpxa_camera.rst113 This structure is pointed by dma->sg_cpu.
/OK3568_Linux_fs/kernel/Documentation/driver-api/dmaengine/
H A Dpxa_dma.rst54 This structure is pointed by dma->sg_cpu.