/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_io.h | 50 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 D | oce_impl.h | 207 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 D | oce_stat.h | 93 int oce_stat_init(struct oce_dev *dev); 94 void oce_stat_fini(struct oce_dev *dev);
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_hw.c | 40 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 D | oce_main.c | 49 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 D | oce_queue.c | 30 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 D | oce_intr.c | 42 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 D | oce_gld.c | 44 static int oce_set_priv_prop(struct oce_dev *dev, const char *name, 47 static int oce_get_priv_prop(struct oce_dev *dev, const char *name, 54 struct oce_dev *dev = arg; in oce_m_start() 82 oce_start(struct oce_dev *dev) in oce_start() 119 struct oce_dev *dev = arg; in oce_m_stop() 135 oce_stop(struct oce_dev *dev) in oce_stop() 161 struct oce_dev *dev = (struct oce_dev *)arg; in oce_m_multicast() 241 struct oce_dev *dev = arg; in oce_m_unicast() 280 struct oce_dev *dev = arg; in oce_m_send() 319 struct oce_dev *dev = arg; in oce_m_getcap() [all …]
|
H A D | oce_fm.c | 43 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 D | oce_mbx.c | 91 oce_mbox_init(struct oce_dev *dev) in oce_mbox_init() 130 oce_mbox_wait(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_wait() 173 oce_mbox_dispatch(struct oce_dev *dev, uint32_t tmo_sec) in oce_mbox_dispatch() 247 oce_mbox_post(struct oce_dev *dev, struct oce_mbx *mbx, in oce_mbox_post() 330 oce_get_fw_version(struct oce_dev *dev) in oce_get_fw_version() 376 oce_reset_fun(struct oce_dev *dev) in oce_reset_fun() 415 oce_read_mac_addr(struct oce_dev *dev, uint32_t if_id, uint8_t perm, in oce_read_mac_addr() 486 oce_if_create(struct oce_dev *dev, uint32_t cap_flags, uint32_t en_flags, in oce_if_create() 554 oce_if_del(struct oce_dev *dev, uint32_t if_id) in oce_if_del() 591 oce_get_link_status(struct oce_dev *dev, struct link_status *link) in oce_get_link_status() [all …]
|
H A D | oce_buf.c | 63 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 D | oce_rx.c | 36 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 D | oce_tx.c | 114 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 D | oce_mq.c | 48 struct oce_dev *dev; in oce_drain_mq_cq() 98 struct oce_dev *dev; in oce_clean_mq()
|
H A D | oce_stat.c | 52 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()
|