Lines Matching refs:pesge
92 static inline uint32_t t1_sge_rx(pesge *sge, freelQ_t *Q,
95 static void t1_sge_check_pause(pesge *sge, struct freelQ *Q);
97 static void alloc_freelQ_buffers(pesge *sge, struct freelQ *Q);
98 static void freelQs_empty(pesge *sge);
99 static void free_cmdQ_buffers(pesge *sge, cmdQ_t *Q, uint32_t credits_pend);
100 static int alloc_rx_resources(pesge *sge, struct sge_params *p);
101 static int alloc_tx_resources(pesge *sge, struct sge_params *p);
104 static void configure_sge(pesge *sge, struct sge_params *p);
105 static void free_freelQ_buffers(pesge *sge, struct freelQ *Q);
106 static void free_rx_resources(pesge *sge);
107 static void free_tx_resources(pesge *sge);
108 static inline unsigned int jumbo_payload_capacity(pesge *sge);
110 static int sge_kstat_setup(pesge *);
111 static void sge_kstat_remove(pesge *);
119 static inline void sge_ring_doorbell(pesge *sge, u32 control_reg);
122 sge_ring_doorbell(pesge *sge, u32 control_reg)
134 pesge *
137 pesge *sge;
139 sge = t1_os_malloc_wait_zero(sizeof (pesge));
184 t1_os_free(sge, sizeof (pesge));
192 t1_sge_destroy(pesge* sge)
204 t1_os_free(sge, sizeof (pesge));
230 pesge *sge = adapter->sge;
262 sge_start(pesge *sge)
276 sge_stop(pesge *sge)
303 sge_data_out(pesge* sge, int qid, mblk_t *m0,
505 t1_sge_intr_disable(pesge* sge)
521 t1_sge_intr_enable(pesge* sge)
538 t1_sge_intr_clear(pesge* sge)
548 t1_sge_intr_error_handler(pesge *sge)
586 sge_data_in(pesge *sge)
803 t1_sge_rx(pesge *sge, struct freelQ *Q, unsigned int len, unsigned int offload)
1017 t1_sge_check_pause(pesge *sge, struct freelQ *Q)
1060 alloc_freelQ_buffers(pesge *sge, struct freelQ *Q)
1136 freelQs_empty(pesge *sge)
1165 free_cmdQ_buffers(pesge *sge, struct cmdQ *Q, unsigned int credits_pend)
1245 sge_get_stat(pesge *sge)
1258 t1_sge_configure(pesge *sge, struct sge_params *p)
1288 alloc_rx_resources(pesge *sge, struct sge_params *p)
1371 alloc_tx_resources(pesge *sge, struct sge_params *p)
1418 t1_sge_set_coalesce_params(pesge *sge, struct sge_params *p)
1434 configure_sge(pesge *sge, struct sge_params *p)
1517 free_rx_resources(pesge *sge)
1553 free_freelQ_buffers(pesge *sge, struct freelQ *Q)
1602 free_tx_resources(pesge *sge)
1634 static inline unsigned int jumbo_payload_capacity(pesge *sge)
1644 pesge *sge = adapter->sge;
1654 pesge *sge = adapter->sge;
1660 sge_add_fake_arp(pesge *sge, void *bp)
1667 sge_kstat_setup(pesge *sge)
1789 sge_kstat_remove(pesge *sge)
1798 pesge *sge;
1803 sge = (pesge *)ksp->ks_private;