mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/CROSSENVIROMENT/coolstream@17 e54a6e83-5905-42d5-8d5c-058d10e6a962
33 lines
809 B
C
33 lines
809 B
C
#ifndef __TSROUTER_H
|
|
#define __TSROUTER_H
|
|
|
|
typedef struct _tsrouter_hsdp_config {
|
|
u8 port;
|
|
u32 port_ctrl;
|
|
u32 pkt_ctrl;
|
|
u32 clk_ctrl;
|
|
u32 mux;
|
|
u32 int_en;
|
|
/* more ? */
|
|
} tsrouter_hsdp_config_t;
|
|
|
|
typedef struct _tsrouter_tsp_config {
|
|
u8 port;
|
|
u32 port_ctrl;
|
|
u32 mux;
|
|
} tsrouter_tsp_config_t;
|
|
|
|
extern int cs_tsrouter_init(void);
|
|
extern void cs_tsrouter_exit(void);
|
|
|
|
extern void cs_tsx_hsdp_init_port(u32 port, u32 ctrl);
|
|
extern void cs_tsx_tsp_init_port(u32 port, u32 hsdp_port);
|
|
|
|
extern void cs_tsx_hsdp_get_port_config(tsrouter_hsdp_config_t *conf);
|
|
extern void cs_tsx_tsp_get_port_config(tsrouter_tsp_config_t *conf);
|
|
|
|
extern void cs_tsx_hsdp_set_port_config(const tsrouter_hsdp_config_t *conf);
|
|
extern void cs_tsx_tsp_set_port_config(const tsrouter_tsp_config_t *conf);
|
|
|
|
#endif /* __TSROUTER_H */
|