Home
last modified time | relevance | path

Searched refs:oce_dev (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h50 struct oce_dev;
293 oce_dma_buf_t *oce_alloc_dma_buffer(struct oce_dev *dev,
295 void oce_free_dma_buffer(struct oce_dev *dev, oce_dma_buf_t *dbuf);
297 oce_ring_buffer_t *create_ring_buffer(struct oce_dev *dev,
300 void destroy_ring_buffer(struct oce_dev *dev, oce_ring_buffer_t *ring);
303 int oce_set_eq_delay(struct oce_dev *dev, uint32_t *eq_arr,
305 void oce_arm_eq(struct oce_dev *dev, int16_t qid, int npopped,
307 void oce_arm_cq(struct oce_dev *dev, int16_t qid, int npopped,
310 void oce_dev_rss_ready(struct oce_dev *dev);
313 int oce_mbox_init(struct oce_dev *dev);
[all …]
H A Doce_impl.h207 struct oce_dev { struct
339 int oce_start(struct oce_dev *dev); argument
340 void oce_stop(struct oce_dev *dev);
341 int oce_identify_hw(struct oce_dev *dev);
342 int oce_get_bdf(struct oce_dev *dev);
345 void oce_fm_init(struct oce_dev *dev);
346 void oce_fm_fini(struct oce_dev *dev);
350 void oce_fm_ereport(struct oce_dev *dev, char *detail);
351 int oce_fm_check_acc_handle(struct oce_dev *dev,
353 int oce_fm_check_dma_handle(struct oce_dev *dev,
[all …]
H A Doce_stat.h93 int oce_stat_init(struct oce_dev *dev);
94 void oce_stat_fini(struct oce_dev *dev);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c40 extern int oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx,
44 oce_map_regs(struct oce_dev *dev) in oce_map_regs()
123 oce_unmap_regs(struct oce_dev *dev) in oce_unmap_regs()
146 oce_pci_init(struct oce_dev *dev) in oce_pci_init()
175 oce_pci_fini(struct oce_dev *dev) in oce_pci_fini()
187 oce_get_bdf(struct oce_dev *dev) in oce_get_bdf()
218 oce_identify_hw(struct oce_dev *dev) in oce_identify_hw()
255 oce_is_reset_pci(struct oce_dev *dev) in oce_is_reset_pci()
278 oce_pci_soft_reset(struct oce_dev *dev) in oce_pci_soft_reset()
323 oce_POST(struct oce_dev *dev) in oce_POST()
[all …]
H A Doce_main.c49 struct oce_dev *oce_dev_list[MAX_DEVS + 1]; /* Last entry is invalid */
73 static void oce_unconfigure(struct oce_dev *dev);
74 static void oce_init_locks(struct oce_dev *dev);
75 static void oce_destroy_locks(struct oce_dev *dev);
76 static void oce_get_params(struct oce_dev *dev);
77 static int oce_get_prop(struct oce_dev *dev, char *propname, int minval,
193 struct oce_dev *dev = NULL; in oce_attach()
208 dev = kmem_zalloc(sizeof (struct oce_dev), KM_SLEEP); in oce_attach()
383 struct oce_dev *dev; in oce_detach()
439 struct oce_dev *dev = ddi_get_driver_private(dip); in oce_quiesce()
[all …]
H A Doce_queue.c30 extern struct oce_dev *oce_dev_list[];
32 int oce_destroy_q(struct oce_dev *oce, struct oce_mbx *mbx, size_t req_size,
36 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len);
40 oce_eq_create(struct oce_dev *dev, uint32_t q_len, uint32_t item_size,
45 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len,
51 static struct oce_wq *oce_wq_init(struct oce_dev *dev, uint32_t q_len,
53 static void oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq);
55 static void oce_wq_del(struct oce_dev *dev, struct oce_wq *wq);
57 static struct oce_rq *oce_rq_init(struct oce_dev *dev, uint32_t q_len,
60 static void oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq);
[all …]
H A Doce_gld.c48 static int oce_set_priv_prop(struct oce_dev *dev, const char *name,
51 static int oce_get_priv_prop(struct oce_dev *dev, const char *name,
58 struct oce_dev *dev = arg; in oce_m_start()
86 oce_start(struct oce_dev *dev) in oce_start()
123 struct oce_dev *dev = arg; in oce_m_stop()
139 oce_stop(struct oce_dev *dev) in oce_stop()
165 struct oce_dev *dev = (struct oce_dev *)arg; in oce_m_multicast()
245 struct oce_dev *dev = arg; in oce_m_unicast()
284 struct oce_dev *dev = arg; in oce_m_send()
323 struct oce_dev *dev = arg; in oce_m_getcap()
[all …]
H A Doce_intr.c42 oce_setup_intr(struct oce_dev *dev) in oce_setup_intr()
159 oce_teardown_intr(struct oce_dev *dev) in oce_teardown_intr()
183 oce_setup_handlers(struct oce_dev *dev) in oce_setup_handlers()
210 oce_remove_handler(struct oce_dev *dev) in oce_remove_handler()
219 oce_chip_ei(struct oce_dev *dev) in oce_chip_ei()
236 oce_ei(struct oce_dev *dev) in oce_ei()
258 oce_chip_di(struct oce_dev *dev) in oce_chip_di()
275 oce_di(struct oce_dev *dev) in oce_di()
311 struct oce_dev *dev; in oce_isr()
H A Doce_fm.c43 oce_fm_init(struct oce_dev *dev) in oce_fm_init()
73 oce_fm_fini(struct oce_dev *dev) in oce_fm_fini()
97 oce_fm_check_acc_handle(struct oce_dev *dev, ddi_acc_handle_t acc_handle) in oce_fm_check_acc_handle()
120 oce_fm_check_dma_handle(struct oce_dev *dev, ddi_dma_handle_t dma_handle) in oce_fm_check_dma_handle()
139 oce_fm_ereport(struct oce_dev *dev, char *detail) in oce_fm_ereport()
H A Doce_mbx.c94 oce_mbox_init(struct oce_dev *dev) in oce_mbox_init()
133 oce_mbox_wait(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_wait()
176 oce_mbox_dispatch(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_dispatch()
250 oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, in oce_mbox_post()
333 oce_get_fw_version(struct oce_dev *dev) in oce_get_fw_version()
379 oce_reset_fun(struct oce_dev *dev) in oce_reset_fun()
418 oce_read_mac_addr(struct oce_dev *dev, uint32_t if_id, uint8_t perm, in oce_read_mac_addr()
489 oce_if_create(struct oce_dev *dev, uint32_t cap_flags, uint32_t en_flags, in oce_if_create()
557 oce_if_del(struct oce_dev *dev, uint32_t if_id) in oce_if_del()
594 oce_get_link_status(struct oce_dev *dev, struct link_status *link) in oce_get_link_status()
[all …]
H A Doce_buf.c63 oce_alloc_dma_buffer(struct oce_dev *dev, in oce_alloc_dma_buffer()
137 oce_free_dma_buffer(struct oce_dev *dev, oce_dma_buf_t *dbuf) in oce_free_dma_buffer()
167 create_ring_buffer(struct oce_dev *dev, in create_ring_buffer()
208 destroy_ring_buffer(struct oce_dev *dev, oce_ring_buffer_t *ring) in destroy_ring_buffer()
H A Doce_rx.c36 static inline mblk_t *oce_rx(struct oce_dev *dev, struct oce_rq *rq,
38 static inline mblk_t *oce_rx_bcopy(struct oce_dev *dev,
165 struct oce_dev *dev; in oce_rqb_ctor()
239 struct oce_dev *dev = rq->parent; in oce_rq_post_buffer()
333 oce_rx(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) in oce_rx()
393 oce_rx_bcopy(struct oce_dev *dev, struct oce_rq *rq, struct oce_nic_rx_cqe *cqe) in oce_rx_bcopy()
503 struct oce_dev *dev; in oce_drain_rq_cq()
616 struct oce_dev *dev; in oce_clean_rq()
654 struct oce_dev *dev = rq->parent; in oce_start_rq()
667 oce_rx_pending(struct oce_dev *dev, struct oce_rq *rq, int32_t timeout) in oce_rx_pending()
H A Doce_tx.c114 struct oce_dev *dev; in oce_wqm_ctor()
135 struct oce_dev *dev = wq->parent; in oce_wqm_cache_create()
197 struct oce_dev *dev = wq->parent; in oce_wqb_cache_create()
259 struct oce_dev *dev; in oce_wqb_ctor()
399 oce_get_wq(struct oce_dev *dev, mblk_t *mp) in oce_get_wq()
456 struct oce_dev *dev = wq->parent; in oce_bcopy_wqe()
514 struct oce_dev *dev = wq->parent; in oce_map_wqe()
563 struct oce_dev *dev; in oce_process_tx_compl()
613 struct oce_dev *dev; in oce_drain_wq_cq()
679 struct oce_dev *dev; in oce_send_packet()
H A Doce_mq.c48 struct oce_dev *dev; in oce_drain_mq_cq()
98 struct oce_dev *dev; in oce_clean_mq()
H A Doce_stat.c52 struct oce_dev *dev; in oce_update_stats()
195 oce_stat_init(struct oce_dev *dev) in oce_stat_init()
332 oce_stat_fini(struct oce_dev *dev) in oce_stat_fini()
347 struct oce_dev *dev = arg; in oce_m_stat()