Avoid beyond bounds copy while caching ACL
[zen-stable.git] / arch / c6x / include / asm / dscr.h
blob561ba8332042e032815904ac6fd3c8eff8f82f28
1 /*
2 * Copyright (C) 2011 Texas Instruments Incorporated
3 * Author: Mark Salter <msalter@redhat.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 */
10 #ifndef _ASM_C6X_DSCR_H
11 #define _ASM_C6X_DSCR_H
13 enum dscr_devstate_t {
14 DSCR_DEVSTATE_ENABLED,
15 DSCR_DEVSTATE_DISABLED,
19 * Set the device state of the device with the given ID.
21 * Individual drivers should use this to enable or disable the
22 * hardware device. The devid used to identify the device being
23 * controlled should be a property in the device's tree node.
25 extern void dscr_set_devstate(int devid, enum dscr_devstate_t state);
28 * Assert or de-assert an RMII reset.
30 extern void dscr_rmii_reset(int id, int assert);
32 extern void dscr_probe(void);
34 #endif /* _ASM_C6X_DSCR_H */