blob: f835e828ed1beb5d9a7ac5b0682af3cfdb3a8950 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001#ifndef __ASM_ARCH_MSM_MSM_KRAIT_L2_ACCESSORS_H
2#define __ASM_ARCH_MSM_MSM_KRAIT_L2_ACCESSORS_H
3
4/*
5 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 and
9 * only version 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070016extern void set_l2_indirect_reg(u32 reg_addr, u32 val);
17extern u32 get_l2_indirect_reg(u32 reg_addr);
18extern u32 set_get_l2_indirect_reg(u32 reg_addr, u32 val);
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070019
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070020#endif