RTEMS: bsps/powerpc/mvme3100/include/bsp/if_tsec_pub.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
if_tsec_pub.h File Reference
Board Support Packages » PowerPC » MVME3100 » Low-level Driver API

IF_TSEC_PUB Support. More...

`#include <rtems.h>`
`#include <stdio.h>`
`#include <stdint.h>`

Go to the source code of this file.

## Macros
#define | TSEC_TXIRQ ( (1<<(31-9)) | (1<<(31-11)) )
#define | TSEC_RXIRQ ( (1<<(31-0)) | (1<<(31- 3)) | (1<<(31-24)) )
#define | TSEC_LKIRQ ( 1<<(31- 4) )

## Functions
struct tsec_private * | BSP_tsec_setup (int unit, rtems_id driver_tid, void(*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void *cleanup_txbuf_arg, void *(*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void(*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), void *consume_rxbuf_arg, int rx_ring_size, int tx_ring_size, int irq_mask)
struct tsec_private * | BSP_tsec_setup_1 (int unit, void(*isr)(void *isr_arg), void *isr_arg, void(*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void *cleanup_txbuf_arg, void *(*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void(*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), void *consume_rxbuf_arg, int rx_ring_size, int tx_ring_size, int irq_mask)
int | BSP_tsec_swipe_tx (struct tsec_private *mp)
void | BSP_tsec_reset_stats (struct tsec_private *mp)
void | BSP_tsec_init_hw (struct tsec_private *mp, int promisc, unsigned char *enaddr)
void | BSP_tsec_mcast_filter_clear (struct tsec_private *mp)
void | BSP_tsec_mcast_filter_accept_all (struct tsec_private *mp)
void | BSP_tsec_mcast_filter_accept_add (struct tsec_private *mp, unsigned char *enaddr)
void | BSP_tsec_mcast_filter_accept_del (struct tsec_private *mp, unsigned char *enaddr)
void | BSP_tsec_dump_stats (struct tsec_private *mp, FILE *f)
void | BSP_tsec_stop_hw (struct tsec_private *mp)
int | BSP_tsec_detach (struct tsec_private *mp)
int | BSP_tsec_send_buf (struct tsec_private *mp, void *m_head, void *data_p, int len)
int | BSP_tsec_swipe_rx (struct tsec_private *mp)
void | BSP_tsec_read_eaddr (struct tsec_private *mp, unsigned char *eaddr)
uint32_t | BSP_tsec_mdio_rd (struct tsec_private *mp, unsigned reg)
int | BSP_tsec_mdio_wr (struct tsec_private *mp, unsigned reg, uint32_t val)
int | BSP_tsec_media_ioctl (struct tsec_private *mp, int cmd, int *parg)
void | BSP_tsec_enable_irqs (struct tsec_private *mp)
void | BSP_tsec_disable_irqs (struct tsec_private *mp)
uint32_t | BSP_tsec_ack_irqs (struct tsec_private *mp)
void | BSP_tsec_enable_irq_mask (struct tsec_private *mp, uint32_t irq_mask)
uint32_t | BSP_tsec_disable_irq_mask (struct tsec_private *mp, uint32_t irq_mask)
uint32_t | BSP_tsec_ack_irq_mask (struct tsec_private *mp, uint32_t mask)
rtems_id | BSP_tsec_get_tid (struct tsec_private *mp)
struct tsec_private * | BSP_tsec_getp (unsigned index)
int | rtems_tsec_attach (struct rtems_bsdnet_ifconfig *ifcfg, int attaching)

## Detailed Description

IF_TSEC_PUB Support.