Searched refs:cached (Results 1 - 17 of 17) sorted by relevance

/drivers/mtd/maps/
H A Dpxa2xx-flash.c31 unsigned long start = (unsigned long)map->cached + from;
74 info->map.cached =
76 if (!info->map.cached)
77 printk(KERN_WARNING "Failed to ioremap cached %s\n",
92 if (info->map.cached)
93 iounmap(info->map.cached);
113 if (info->map.cached)
114 iounmap(info->map.cached);
/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c56 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED); local
75 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY;
/drivers/staging/android/ion/
H A Dion_system_heap.c59 bool cached = ion_buffer_cached(buffer); local
63 if (!cached) {
84 bool cached = ion_buffer_cached(buffer); local
86 if (!cached && !(buffer->private_flags & ION_PRIV_FLAG_SHRINKER_FREE)) {
186 bool cached = ion_buffer_cached(buffer); local
192 if (!cached && !(buffer->private_flags & ION_PRIV_FLAG_SHRINKER_FREE))
/drivers/block/
H A Dps3vram.c435 unsigned int cached, count; local
456 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset;
458 dev_dbg(&dev->core, "%s: from=%08x cached=%08x offset=%08x "
460 (unsigned int)from, cached, offset, avail, count);
464 memcpy(buf, priv->xdr_buf + cached, avail);
479 unsigned int cached, count; local
497 cached = CACHE_OFFSET + entry * priv->cache.page_size + offset;
499 dev_dbg(&dev->core, "%s: to=%08x cached=%08x offset=%08x "
501 cached, offset, avail, count);
505 memcpy(priv->xdr_buf + cached, bu
[all...]
/drivers/md/bcache/
H A Dsysfs.c766 uint16_t q[31], *p, *cached; local
769 cached = p = vmalloc(ca->sb.nbuckets * sizeof(uint16_t));
792 !cached[n - 1])
797 while (cached < p + n &&
798 *cached == BTREE_PRIO)
799 cached++, n--;
802 sum += INITIAL_PRIO - cached[i];
808 q[i] = INITIAL_PRIO - cached[n * (i + 1) /
/drivers/staging/lustre/lustre/obdclass/
H A Dlu_object.c135 * If object is dying (will not be cached), removed it
1842 * Ideally we should accurately return the remaining number of cached
1852 unsigned long cached = 0; local
1861 cached += stats.lss_total - stats.lss_busy;
1865 cached = (cached / 100) * sysctl_vfs_cache_pressure;
1866 CDEBUG(D_INODE, "%ld objects cached\n", cached);
1867 return cached;
2057 * Helper function to finalize a number of kmem slab cached a
[all...]
/drivers/mfd/
H A D88pm860x-core.c498 static unsigned char cached[3] = {0x0, 0x0, 0x0}; local
503 /* Load cached value. In initial, all IRQs are masked */
505 mask[i] = cached[i];
528 if (mask[i] != cached[i]) {
529 cached[i] = mask[i];
/drivers/acpi/apei/
H A Dghes.c526 int i, cached = 0; local
545 cached = 1;
549 return cached;
/drivers/mtd/nand/
H A Dcafe_nand.c534 int oob_required, int page, int cached, int raw)
552 cached = 0;
554 if (!cached || !(chip->options & NAND_CACHEPRG)) {
532 cafe_nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int cached, int raw) argument
H A Dnand_base.c21 * Enable cached programming for 2k page size chips
2246 * @cached: cached programming
2251 int oob_required, int page, int cached, int raw)
2279 cached = 0;
2281 if (!cached || !NAND_HAS_CACHEPROG(chip)) {
2411 /* Invalidate the page cache, when we write to the cached page */
2424 int cached = writelen > bytes && page != blockmask; local
2440 cached = 0;
2458 oob_required, page, cached,
2249 nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int cached, int raw) argument
[all...]
H A Datmel_nand.c1897 int oob_required, int page, int cached, int raw)
1895 nfc_sram_write_page(struct mtd_info *mtd, struct nand_chip *chip, uint32_t offset, int data_len, const uint8_t *buf, int oob_required, int page, int cached, int raw) argument
/drivers/media/usb/uvc/
H A Duvc_ctrl.c969 ctrl->cached = 1;
1045 if (!ctrl->cached) {
1170 if (!ctrl->cached) {
1406 * uvc_ctrl_get from using the cached value, and for write-only
1494 if (!ctrl->cached) {
1533 if (!ctrl->cached) {
H A Duvcvideo.h212 cached:1, member in struct:uvc_control
/drivers/ata/
H A Dsata_mv.c536 struct mv_cached_regs cached; member in struct:mv_port_priv
941 * mv_save_cached_regs - (re-)initialize cached port registers
955 pp->cached.fiscfg = readl(port_mmio + FISCFG);
956 pp->cached.ltmode = readl(port_mmio + LTMODE);
957 pp->cached.haltcond = readl(port_mmio + EDMA_HALTCOND);
958 pp->cached.unknown_rsvd = readl(port_mmio + EDMA_UNKNOWN_RSVD);
962 * mv_write_cached_reg - write to a cached port register
964 * @old: pointer to cached value of the register
967 * Write a new value to a cached register,
1484 u32 fiscfg, *old_fiscfg = &pp->cached
[all...]
/drivers/net/wireless/cw1200/
H A Dtxrx.c200 const struct tx_policy *cached)
203 if (wanted->defined > cached->defined)
206 if (memcmp(wanted->raw, cached->raw, count))
210 if ((wanted->raw[count] & 0x0F) != (cached->raw[count] & 0x0F))
199 tx_policy_is_equal(const struct tx_policy *wanted, const struct tx_policy *cached) argument
/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1749 hdl->cached = NULL;
1796 if (hdl->cached && hdl->cached->ctrl->id == id)
1797 return hdl->cached;
1805 hdl->cached = ref; /* cache it! */
/drivers/scsi/
H A Dgdth.h378 u8 cached; /* flag: caching enabled */ member in struct:__anon5376

Completed in 648 milliseconds