Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 28) sorted by relevance

12

/drivers/mtd/maps/
Dpxa2xx-flash.c28 unsigned long start = (unsigned long)map->cached + from; in pxa2xx_map_inval_cache()
72 info->map.cached = ioremap_cache(info->map.phys, info->map.size); in pxa2xx_flash_probe()
73 if (!info->map.cached) in pxa2xx_flash_probe()
89 if (info->map.cached) in pxa2xx_flash_probe()
90 iounmap(info->map.cached); in pxa2xx_flash_probe()
111 if (info->map.cached) in pxa2xx_flash_remove()
112 iounmap(info->map.cached); in pxa2xx_flash_remove()
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_10nm.c472 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_save_state() local
476 cached->pll_out_div = dsi_phy_read(pll_10nm->phy->pll_base + in dsi_10nm_pll_save_state()
478 cached->pll_out_div &= 0x3; in dsi_10nm_pll_save_state()
481 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_10nm_pll_save_state()
482 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_10nm_pll_save_state()
485 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_10nm_pll_save_state()
488 pll_10nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_10nm_pll_save_state()
489 cached->pix_clk_div, cached->pll_mux); in dsi_10nm_pll_save_state()
495 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_restore_state() local
502 val |= cached->pll_out_div; in dsi_10nm_pll_restore_state()
[all …]
Ddsi_phy_7nm.c500 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state() local
504 cached->pll_out_div = dsi_phy_read(pll_7nm->phy->pll_base + in dsi_7nm_pll_save_state()
506 cached->pll_out_div &= 0x3; in dsi_7nm_pll_save_state()
509 cached->bit_clk_div = cmn_clk_cfg0 & 0xf; in dsi_7nm_pll_save_state()
510 cached->pix_clk_div = (cmn_clk_cfg0 & 0xf0) >> 4; in dsi_7nm_pll_save_state()
513 cached->pll_mux = cmn_clk_cfg1 & 0x3; in dsi_7nm_pll_save_state()
516 pll_7nm->phy->id, cached->pll_out_div, cached->bit_clk_div, in dsi_7nm_pll_save_state()
517 cached->pix_clk_div, cached->pll_mux); in dsi_7nm_pll_save_state()
523 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_restore_state() local
530 val |= cached->pll_out_div; in dsi_7nm_pll_restore_state()
[all …]
/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c696 bool cached, in alloc_private_pages() argument
728 cached); in alloc_private_pages()
744 cached); in alloc_private_pages()
807 if (!cached) { in alloc_private_pages()
881 const void __user *userptr, bool cached) in alloc_user_pages() argument
982 const void __user *userptr, bool cached) in hmm_bo_alloc_pages() argument
997 cached, &dynamic_pool, &reserved_pool); in hmm_bo_alloc_pages()
999 ret = alloc_user_pages(bo, userptr, cached); in hmm_bo_alloc_pages()
1228 void *hmm_bo_vmap(struct hmm_buffer_object *bo, bool cached) in hmm_bo_vmap() argument
1236 if (((bo->status & HMM_BO_VMAPED) && !cached) || in hmm_bo_vmap()
[all …]
Dhmm.c230 bool cached = attrs & ATOMISP_MAP_FLAG_CACHED; in hmm_alloc() local
253 ret = hmm_bo_alloc_pages(bo, type, from_highmem, userptr, cached); in hmm_alloc()
273 __func__, bo->start, bytes, type, from_highmem, userptr, cached); in hmm_alloc()
624 void *hmm_vmap(ia_css_ptr virt, bool cached) in hmm_vmap() argument
637 ptr = hmm_bo_vmap(bo, cached); in hmm_vmap()
717 void *hmm_isp_vaddr_to_host_vaddr(ia_css_ptr ptr, bool cached) in hmm_isp_vaddr_to_host_vaddr() argument
719 return hmm_vmap(ptr, cached); in hmm_isp_vaddr_to_host_vaddr()
Dhmm_dynamic_pool.c38 unsigned int size, bool cached) in get_pages_from_dynamic_pool() argument
Dhmm_reserved_pool.c37 unsigned int size, bool cached) in get_pages_from_reserved_pool() argument
/drivers/staging/media/atomisp/include/hmm/
Dhmm.h62 void *hmm_vmap(ia_css_ptr virt, bool cached);
75 void *hmm_isp_vaddr_to_host_vaddr(ia_css_ptr ptr, bool cached);
Dhmm_bo.h238 const void __user *userptr, bool cached);
259 void *hmm_bo_vmap(struct hmm_buffer_object *bo, bool cached);
Dhmm_pool.h53 unsigned int size, bool cached);
/drivers/block/
Dps3vram.c428 unsigned int cached, count; in ps3vram_read() local
449 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_read()
453 (unsigned int)from, cached, offset, avail, count); in ps3vram_read()
457 memcpy(buf, priv->xdr_buf + cached, avail); in ps3vram_read()
472 unsigned int cached, count; in ps3vram_write() local
490 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset; in ps3vram_write()
494 cached, offset, avail, count); in ps3vram_write()
498 memcpy(priv->xdr_buf + cached, buf, avail); in ps3vram_write()
/drivers/gpu/drm/ttm/
Dttm_agp_backend.c55 int ret, cached = ttm->caching == ttm_cached; in ttm_agp_bind() local
77 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY; in ttm_agp_bind()
/drivers/crypto/marvell/cesa/
Dhash.c472 bool cached = false; in mv_cesa_ahash_cache_req() local
476 cached = true; in mv_cesa_ahash_cache_req()
479 return cached; in mv_cesa_ahash_cache_req()
488 return cached; in mv_cesa_ahash_cache_req()
761 static int mv_cesa_ahash_req_init(struct ahash_request *req, bool *cached) in mv_cesa_ahash_req_init() argument
771 *cached = mv_cesa_ahash_cache_req(req); in mv_cesa_ahash_req_init()
773 if (*cached) in mv_cesa_ahash_req_init()
786 bool cached = false; in mv_cesa_ahash_queue_req() local
789 ret = mv_cesa_ahash_req_init(req, &cached); in mv_cesa_ahash_queue_req()
793 if (cached) in mv_cesa_ahash_queue_req()
/drivers/md/bcache/
Dsysfs.c1062 uint16_t q[31], *p, *cached; in SHOW() local
1065 cached = p = vmalloc(array_size(sizeof(uint16_t), in SHOW()
1089 !cached[n - 1]) in SHOW()
1092 while (cached < p + n && in SHOW()
1093 *cached == BTREE_PRIO) { in SHOW()
1094 cached++; in SHOW()
1099 sum += INITIAL_PRIO - cached[i]; in SHOW()
1105 q[i] = INITIAL_PRIO - cached[n * (i + 1) / in SHOW()
/drivers/power/supply/
Dsurface_battery.c209 static int spwr_battery_update_bst_unlocked(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst_unlocked() argument
216 if (cached && bat->timestamp && time_is_after_jiffies(cache_deadline)) in spwr_battery_update_bst_unlocked()
231 static int spwr_battery_update_bst(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst() argument
236 status = spwr_battery_update_bst_unlocked(bat, cached); in spwr_battery_update_bst()
Dcpcap-battery.c564 int cached; in cpcap_battery_get_property() local
567 cached = cpcap_battery_update_status(ddata); in cpcap_battery_get_property()
568 if (cached < 0) in cpcap_battery_get_property()
569 return cached; in cpcap_battery_get_property()
/drivers/gpu/drm/
Ddrm_format_helper.c97 struct drm_rect *clip, bool cached) in drm_fb_swab() argument
109 if (!cached) in drm_fb_swab()
/drivers/soc/qcom/
Dsmem.c356 void *cached; in qcom_smem_alloc_private() local
360 cached = phdr_to_last_cached_entry(phdr); in qcom_smem_alloc_private()
373 if ((void *)hdr + alloc_size > cached) { in qcom_smem_alloc_private()
/drivers/mfd/
D88pm860x-core.c495 static unsigned char cached[3] = {0x0, 0x0, 0x0}; in pm860x_irq_sync_unlock() local
502 mask[i] = cached[i]; in pm860x_irq_sync_unlock()
525 if (mask[i] != cached[i]) { in pm860x_irq_sync_unlock()
526 cached[i] = mask[i]; in pm860x_irq_sync_unlock()
/drivers/gpu/drm/i915/
Di915_active.c247 u64 cached = READ_ONCE(it->timeline); in __active_lookup() local
250 if (cached == idx) in __active_lookup()
263 if (!cached && !cmpxchg64(&it->timeline, 0, idx)) in __active_lookup()
/drivers/media/v4l2-core/
Dv4l2-ctrls-core.c994 hdl->cached = NULL; in v4l2_ctrl_handler_free()
1042 if (hdl->cached && hdl->cached->ctrl->id == id) in find_ref()
1043 return hdl->cached; in find_ref()
1051 hdl->cached = ref; /* cache it! */ in find_ref()
/drivers/ata/
Dsata_mv.c528 struct mv_cached_regs cached; member
951 pp->cached.fiscfg = readl(port_mmio + FISCFG); in mv_save_cached_regs()
952 pp->cached.ltmode = readl(port_mmio + LTMODE); in mv_save_cached_regs()
953 pp->cached.haltcond = readl(port_mmio + EDMA_HALTCOND); in mv_save_cached_regs()
954 pp->cached.unknown_rsvd = readl(port_mmio + EDMA_UNKNOWN_RSVD); in mv_save_cached_regs()
1486 u32 fiscfg, *old_fiscfg = &pp->cached.fiscfg; in mv_config_fbs()
1487 u32 ltmode, *old_ltmode = &pp->cached.ltmode; in mv_config_fbs()
1488 u32 haltcond, *old_haltcond = &pp->cached.haltcond; in mv_config_fbs()
1540 u32 new, *old = &pp->cached.unknown_rsvd; in mv_bmdma_enable_iie()
/drivers/net/wireless/st/cw1200/
Dtxrx.c197 const struct tx_policy *cached) in tx_policy_is_equal() argument
200 if (wanted->defined > cached->defined) in tx_policy_is_equal()
203 if (memcmp(wanted->raw, cached->raw, count)) in tx_policy_is_equal()
207 if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F)) in tx_policy_is_equal()
/drivers/acpi/apei/
Dghes.c737 int i, cached = 0; in ghes_estatus_cached() local
756 cached = 1; in ghes_estatus_cached()
760 return cached; in ghes_estatus_cached()
/drivers/media/usb/uvc/
Duvc_ctrl.c944 ctrl->cached = 1; in uvc_ctrl_populate_cache()
1178 if (!ctrl->cached) { in __uvc_query_v4l2_ctrl()
1322 if (!ctrl->cached) { in uvc_query_v4l2_menu()
1762 if (!ctrl->cached) { in uvc_ctrl_set()
1801 if (!ctrl->cached) { in uvc_ctrl_set()

12