Lines Matching refs:reg_cache
38 ((u16 *)mcbsp->reg_cache)[reg] = (u16)val; in omap_mcbsp_write()
41 ((u32 *)mcbsp->reg_cache)[reg] = val; in omap_mcbsp_write()
52 ((u16 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read()
55 ((u32 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read()
517 void *reg_cache; in omap_mcbsp_request() local
520 reg_cache = kzalloc(mcbsp->reg_cache_size, GFP_KERNEL); in omap_mcbsp_request()
521 if (!reg_cache) { in omap_mcbsp_request()
534 mcbsp->reg_cache = reg_cache; in omap_mcbsp_request()
583 mcbsp->reg_cache = NULL; in omap_mcbsp_request()
586 kfree(reg_cache); in omap_mcbsp_request()
593 void *reg_cache; in omap_mcbsp_free() local
613 reg_cache = mcbsp->reg_cache; in omap_mcbsp_free()
630 mcbsp->reg_cache = NULL; in omap_mcbsp_free()
633 kfree(reg_cache); in omap_mcbsp_free()