/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | mbuf.h | 29 #define SMbuf Mbuf macro 44 typedef struct s_mbuf SMbuf ; typedef in typeref:struct:s_mbuf
|
H A D | hwmtm.h | 108 SMbuf mb[MAX_MBUF] ; /* mbuf pool */ 110 SMbuf *mb_start ; /* points to the first mb */ 111 SMbuf *mb_free ; /* free queue */ 119 char *mb_pos ; /* SMbuf receive position */ 136 SMbuf *llc_rx_pipe ; /* points to the first queued llc fr */ 137 SMbuf *llc_rx_tail ; /* points to the last queued llc fr */ 140 SMbuf *txd_tx_pipe ; /* points to first mb in the txd ring */ 141 SMbuf *txd_tx_tail ; /* points to last mb in the txd ring */ 153 SMbuf *tx_mb ; /* SMT tx MBuf pointer */
|
H A D | cmtdef.h | 484 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, 486 SMbuf *smt_get_mbuf(struct s_smc *smc); /* drvsr.c */ 517 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs); 526 void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc); 527 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb); 574 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local); 575 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local); 619 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm,
|
H A D | sba.h | 134 SMbuf *sba_reply_pend ; /* local reply for the sba is pending */
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
H A D | hwmtm.c | 49 static SMbuf *mb_start = 0 ; 50 static SMbuf *mb_free = 0 ; 78 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb); 79 static void smt_to_llc(struct s_smc *smc, SMbuf *mb); 82 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb); 87 static SMbuf* get_llc_rx(struct s_smc *smc); 88 static SMbuf* get_txd_mb(struct s_smc *smc); 141 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb); 158 SMbuf* smt_get_mbuf(struct s_smc *smc); 190 MAX_MBUF*sizeof(SMbuf)) 281 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; mac_drv_init() 284 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, mac_drv_init() 285 MAX_MBUF*sizeof(SMbuf)))) { mac_drv_init() 290 if (!(mb_start = (SMbuf *) mac_drv_get_space(smc, mac_drv_init() 291 MAX_MBUF*sizeof(SMbuf)))) { mac_drv_init() 424 SMbuf *mb ; init_fddi_driver() 435 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; init_fddi_driver() 457 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; init_fddi_driver() 486 SMbuf *smt_get_mbuf(struct s_smc *smc) smt_get_mbuf() 488 register SMbuf *mb ; smt_get_mbuf() 504 DB_GEN("get SMbuf: mb = %x",(void *)mb,0,3) ; smt_get_mbuf() 508 void smt_free_mbuf(struct s_smc *smc, SMbuf *mb) smt_free_mbuf() 520 DB_GEN("free SMbuf: mb = %x",(void *)mb,0,3) ; smt_free_mbuf() 713 SMbuf *mb ; fddi_isr() 1055 SMbuf *mb ; process_receive() 1268 DB_RX("No SMbuf; receive terminated",0,0,4) ; process_receive() 1380 static void smt_to_llc(struct s_smc *smc, SMbuf *mb) smt_to_llc() 1681 DB_TX("No SMbuf; transmit terminated",0,0,4) ; hwm_tx_frag() 1734 static void queue_llc_rx(struct s_smc *smc, SMbuf *mb) queue_llc_rx() 1738 mb->sm_next = (SMbuf *)NULL ; queue_llc_rx() 1756 * get a SMbuf from the llc_rx_queue 1758 static SMbuf *get_llc_rx(struct s_smc *smc) get_llc_rx() 1760 SMbuf *mb ; get_llc_rx() 1774 static void queue_txd_mb(struct s_smc *smc, SMbuf *mb) queue_txd_mb() 1778 mb->sm_next = (SMbuf *)NULL ; queue_txd_mb() 1789 * get a SMbuf from the txd_tx_queue 1791 static SMbuf *get_txd_mb(struct s_smc *smc) get_txd_mb() 1793 SMbuf *mb ; get_txd_mb() 1806 void smt_send_mbuf(struct s_smc *smc, SMbuf *mb, int fc) smt_send_mbuf() 1946 SMbuf *mb ; mac_drv_clear_txd()
|
H A D | ess.c | 87 static void ess_send_frame(struct s_smc *smc, SMbuf *mb); 103 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, 117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, ess_raf_received_pack() 122 SMbuf *db ; ess_raf_received_pack() 478 SMbuf *mb ; ess_send_response() 556 SMbuf *mb ; ess_send_alc_req() 661 static void ess_send_frame(struct s_smc *smc, SMbuf *mb) ess_send_frame()
|
H A D | smt.c | 32 * FC in SMbuf 67 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 81 static void smt_add_frame_len(SMbuf *mb, int len); 469 void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) smt_received_pack() 833 void smt_send_frame(struct s_smc *smc, SMbuf *mb, int fc, int local) smt_send_frame() 834 /* SMbuf *mb; buffer to send */ smt_send_frame() 856 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, smt_send_rdf() 858 /* SMbuf *rej; mbuf of offending frame */ smt_send_rdf() 862 SMbuf *mb ; smt_send_rdf() 941 SMbuf *mb ; smt_send_nif() 1008 SMbuf *mb ; smt_send_ecf() 1031 SMbuf *mb ; smt_send_sif_config() 1064 SMbuf *mb ; smt_send_sif_operation() 1106 SMbuf *smt_build_frame(struct s_smc *smc, int class, int type, smt_build_frame() 1109 SMbuf *mb ; smt_build_frame() 1142 static void smt_add_frame_len(SMbuf *mb, int len) smt_add_frame_len() 1704 SMbuf *mb ;
|
H A D | pmf.c | 43 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, 281 void smt_pmf_received_pack(struct s_smc *smc, SMbuf *mb, int local) smt_pmf_received_pack() 284 SMbuf *reply ; smt_pmf_received_pack() 311 static SMbuf *smt_build_pmf_response(struct s_smc *smc, struct smt_header *req, smt_build_pmf_response() 314 SMbuf *mb ; smt_build_pmf_response()
|
H A D | srf.c | 377 SMbuf *mb ; smt_send_srf()
|