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()
508 void *reg_cache; in omap_mcbsp_request() local
511 reg_cache = kzalloc(mcbsp->reg_cache_size, GFP_KERNEL); in omap_mcbsp_request()
512 if (!reg_cache) { in omap_mcbsp_request()
525 mcbsp->reg_cache = reg_cache; in omap_mcbsp_request()
574 mcbsp->reg_cache = NULL; in omap_mcbsp_request()
577 kfree(reg_cache); in omap_mcbsp_request()
584 void *reg_cache; in omap_mcbsp_free() local
604 reg_cache = mcbsp->reg_cache; in omap_mcbsp_free()
621 mcbsp->reg_cache = NULL; in omap_mcbsp_free()
624 kfree(reg_cache); in omap_mcbsp_free()