9 #ifndef IF_TSEC_PUBLIC_INTERFACE_H 10 #define IF_TSEC_PUBLIC_INTERFACE_H 82 #define TSEC_TXIRQ ( (1<<(31-9)) | (1<<(31-11)) ) 83 #define TSEC_RXIRQ ( (1<<(31-0)) | (1<<(31- 3)) | (1<<(31-24)) ) 84 #define TSEC_LKIRQ ( 1<<(31- 4) ) 156 void (*cleanup_txbuf)(
void *user_buf,
void *cleanup_txbuf_arg,
int error_on_tx_occurred),
157 void * cleanup_txbuf_arg,
158 void * (*alloc_rxbuf)(
int *p_size, uintptr_t *p_data_addr),
159 void (*consume_rxbuf)(
void *user_buf,
void *consume_rxbuf_arg,
int len),
160 void * consume_rxbuf_arg,
175 void (*isr)(
void *isr_arg),
177 void (*cleanup_txbuf)(
void *user_buf,
void *cleanup_txbuf_arg,
int error_on_tx_occurred),
178 void * cleanup_txbuf_arg,
179 void * (*alloc_rxbuf)(
int *p_size, uintptr_t *p_data_addr),
180 void (*consume_rxbuf)(
void *user_buf,
void *consume_rxbuf_arg,
int len),
181 void * consume_rxbuf_arg,
217 BSP_tsec_init_hw(
struct tsec_private *mp,
int promisc,
unsigned char *enaddr);
237 BSP_tsec_mcast_filter_accept_all(
struct tsec_private *mp);
251 BSP_tsec_mcast_filter_accept_add(
struct tsec_private *mp,
unsigned char *enaddr);
266 BSP_tsec_mcast_filter_accept_del(
struct tsec_private *mp,
unsigned char *enaddr);
310 BSP_tsec_send_buf(
struct tsec_private *mp,
void *m_head,
void *data_p,
int len);
324 BSP_tsec_read_eaddr(
struct tsec_private *mp,
unsigned char *eaddr);
328 BSP_tsec_mdio_rd(
struct tsec_private *mp,
unsigned reg);
332 BSP_tsec_mdio_wr(
struct tsec_private *mp,
unsigned reg, uint32_t val);
343 BSP_tsec_media_ioctl(
struct tsec_private *mp,
int cmd,
int *parg);
403 BSP_tsec_enable_irq_mask(
struct tsec_private *mp, uint32_t irq_mask);
415 BSP_tsec_disable_irq_mask(
struct tsec_private *mp, uint32_t irq_mask);
429 BSP_tsec_ack_irq_mask(
struct tsec_private *mp, uint32_t mask);
440 BSP_tsec_getp(
unsigned index);
466 struct rtems_bsdnet_ifconfig;
469 rtems_tsec_attach(
struct rtems_bsdnet_ifconfig *ifcfg,
int attaching);
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83