Lines Matching refs:s_smc
70 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb);
71 static void smt_to_llc(struct s_smc *smc, SMbuf *mb);
72 static void init_txd_ring(struct s_smc *smc);
73 static void init_rxd_ring(struct s_smc *smc);
74 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb);
75 static u_long init_descr_ring(struct s_smc *smc, union s_fp_descr volatile *start,
77 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue);
78 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue);
79 static SMbuf* get_llc_rx(struct s_smc *smc);
80 static SMbuf* get_txd_mb(struct s_smc *smc);
81 static void mac_drv_clear_txd(struct s_smc *smc);
90 extern void* mac_drv_get_space(struct s_smc *smc, unsigned int size);
91 extern void* mac_drv_get_desc_mem(struct s_smc *smc, unsigned int size);
92 extern void mac_drv_fill_rxd(struct s_smc *smc);
93 extern void mac_drv_tx_complete(struct s_smc *smc,
95 extern void mac_drv_rx_complete(struct s_smc *smc,
98 extern void mac_drv_requeue_rxd(struct s_smc *smc,
101 extern void mac_drv_clear_rxd(struct s_smc *smc,
113 extern u_long mac_drv_virt2phys(struct s_smc *smc, void *virt);
114 extern u_long dma_master(struct s_smc *smc, void *virt, int len, int flag);
119 extern void dma_complete(struct s_smc *smc, volatile union s_fp_descr *descr,
123 extern int mac_drv_rx_init(struct s_smc *smc, int len, int fc, char *look_ahead,
131 void process_receive(struct s_smc *smc);
132 void fddi_isr(struct s_smc *smc);
133 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb);
134 void init_driver_fplus(struct s_smc *smc);
135 void mac_drv_rx_mode(struct s_smc *smc, int mode);
136 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr);
137 void mac_drv_clear_tx_queue(struct s_smc *smc);
138 void mac_drv_clear_rx_queue(struct s_smc *smc);
139 void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len,
141 void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len,
144 int mac_drv_init(struct s_smc *smc);
145 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len,
150 SMbuf* smt_get_mbuf(struct s_smc *smc);
153 void mac_drv_debug_lev(struct s_smc *smc, int flag, int lev);
251 int mac_drv_init(struct s_smc *smc) in mac_drv_init()
301 void init_driver_fplus(struct s_smc *smc) in init_driver_fplus()
316 static u_long init_descr_ring(struct s_smc *smc, in init_descr_ring()
347 static void init_txd_ring(struct s_smc *smc) in init_txd_ring()
384 static void init_rxd_ring(struct s_smc *smc) in init_rxd_ring()
414 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr) in init_fddi_driver()
478 SMbuf *smt_get_mbuf(struct s_smc *smc) in smt_get_mbuf()
500 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb) in smt_free_mbuf()
546 void mac_drv_repair_descr(struct s_smc *smc) in mac_drv_repair_descr()
578 static u_long repair_txd_ring(struct s_smc *smc, struct s_smt_tx_queue *queue) in repair_txd_ring()
630 static u_long repair_rxd_ring(struct s_smc *smc, struct s_smt_rx_queue *queue) in repair_rxd_ring()
701 void fddi_isr(struct s_smc *smc) in fddi_isr()
984 void mac_drv_rx_mode(struct s_smc *smc, int mode) in mac_drv_rx_mode()
1033 void process_receive(struct s_smc *smc) in process_receive()
1372 static void smt_to_llc(struct s_smc *smc, SMbuf *mb) in smt_to_llc()
1407 void hwm_rx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, in hwm_rx_frag()
1455 void mac_drv_clear_rx_queue(struct s_smc *smc) in mac_drv_clear_rx_queue()
1542 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len, in hwm_tx_init()
1620 void hwm_tx_frag(struct s_smc *smc, char far *virt, u_long phys, int len, in hwm_tx_frag()
1726 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb) in queue_llc_rx()
1750 static SMbuf *get_llc_rx(struct s_smc *smc) in get_llc_rx()
1766 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb) in queue_txd_mb()
1783 static SMbuf *get_txd_mb(struct s_smc *smc) in get_txd_mb()
1798 void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc) in smt_send_mbuf()
1933 static void mac_drv_clear_txd(struct s_smc *smc) in mac_drv_clear_txd()
2023 void mac_drv_clear_tx_queue(struct s_smc *smc) in mac_drv_clear_tx_queue()
2115 void mac_drv_debug_lev(struct s_smc *smc, int flag, int lev) in mac_drv_debug_lev()