Root/target/linux/brcm-2.4/files/arch/mips/bcm947xx/include/hndchipc.h

1/*
2 * HND SiliconBackplane chipcommon support.
3 *
4 * Copyright 2007, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 *
12 */
13
14#ifndef _hndchipc_h_
15#define _hndchipc_h_
16
17typedef void (*sb_serial_init_fn)(void *regs, uint irq, uint baud_base, uint reg_shift);
18
19extern void sb_serial_init(sb_t *sbh, sb_serial_init_fn add);
20
21extern void *sb_jtagm_init(sb_t *sbh, uint clkd, bool exttap);
22extern void sb_jtagm_disable(osl_t *osh, void *h);
23extern uint32 jtag_rwreg(osl_t *osh, void *h, uint32 ir, uint32 dr);
24
25typedef void (*cc_isr_fn)(void* cbdata, uint32 ccintst);
26
27extern bool sb_cc_register_isr(sb_t *sbh, cc_isr_fn isr, uint32 ccintmask, void *cbdata);
28extern void sb_cc_isr(sb_t *sbh, chipcregs_t *regs);
29
30#endif /* _hndchipc_h_ */
31

Archive Download this file



interactive