Home
last modified time | relevance | path

Searched refs:devh (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mgmt.h87 xge_hal_mgmt_about(xge_hal_device_h devh, xge_hal_mgmt_about_info_t *about_info,
91 xge_hal_mgmt_hw_stats(xge_hal_device_h devh, xge_hal_mgmt_hw_stats_t *hw_stats,
95 xge_hal_mgmt_hw_stats_off(xge_hal_device_h devh, int off, int size, char *out);
98 xge_hal_mgmt_pcim_stats(xge_hal_device_h devh,
102 xge_hal_mgmt_pcim_stats_off(xge_hal_device_h devh, int off, int size,
106 xge_hal_mgmt_sw_stats(xge_hal_device_h devh, xge_hal_mgmt_sw_stats_t *hw_stats,
110 xge_hal_mgmt_device_stats(xge_hal_device_h devh,
118 xge_hal_mgmt_reg_read(xge_hal_device_h devh, int bar_id, unsigned int offset,
122 xge_hal_mgmt_reg_write(xge_hal_device_h devh, int bar_id, unsigned int offset,
126 xge_hal_mgmt_pcireg_read(xge_hal_device_h devh, unsigned int offset,
[all …]
H A Dxgehal-mgmtaux.h33 xge_hal_status_e xge_hal_aux_about_read(xge_hal_device_h devh,
36 xge_hal_status_e xge_hal_aux_stats_tmac_read(xge_hal_device_h devh,
39 xge_hal_status_e xge_hal_aux_stats_rmac_read(xge_hal_device_h devh,
42 xge_hal_status_e xge_hal_aux_stats_sw_dev_read(xge_hal_device_h devh,
45 xge_hal_status_e xge_hal_aux_stats_pci_read(xge_hal_device_h devh,
48 xge_hal_status_e xge_hal_aux_stats_hal_read(xge_hal_device_h devh,
51 xge_hal_status_e xge_hal_aux_bar0_read(xge_hal_device_h devh,
54 xge_hal_status_e xge_hal_aux_bar0_write(xge_hal_device_h devh,
57 xge_hal_status_e xge_hal_aux_bar1_read(xge_hal_device_h devh,
60 xge_hal_status_e xge_hal_aux_pci_config_read(xge_hal_device_h devh,
[all …]
H A Dxgehal-device.h508 xge_hal_device_rts_mac_enable(xge_hal_device_h devh, int index, macaddr_t macaddr);
511 xge_hal_device_rts_mac_disable(xge_hal_device_h devh, int index);
544 xge_hal_device_is_initialized(xge_hal_device_h devh) in xge_hal_device_is_initialized() argument
546 return ((xge_hal_device_t*)devh)->is_initialized; in xge_hal_device_is_initialized()
557 xge_hal_device_in_poll(xge_hal_device_h devh) in xge_hal_device_in_poll() argument
559 return ((xge_hal_device_t*)devh)->in_poll; in xge_hal_device_in_poll()
577 xge_hal_device_inject_ecc(xge_hal_device_h devh, u64 err_reg) in xge_hal_device_inject_ecc() argument
579 ((xge_hal_device_t*)devh)->inject_ecc = err_reg; in xge_hal_device_inject_ecc()
597 xge_hal_device_inject_serr(xge_hal_device_h devh, u64 err_reg) in xge_hal_device_inject_serr() argument
599 ((xge_hal_device_t*)devh)->inject_serr = err_reg; in xge_hal_device_inject_serr()
[all …]
H A Dxgehal-driver.h54 typedef void (*xge_uld_sched_timer_cb_f)(xge_hal_device_h devh, void *userdata);
119 typedef void (*xge_uld_event_queued_f) (xge_hal_device_h devh, int event_type);
153 typedef int (*xge_uld_before_device_poll_f) (xge_hal_device_h devh);
169 typedef void (*xge_uld_after_device_poll_f) (xge_hal_device_h devh);
179 typedef void (*xge_uld_xpak_alarm_log_f) (xge_hal_device_h devh, xge_hal_xpak_alarm_type_e type);
H A Dxgehal-stats.h1503 xge_hal_device_h devh; member
1530 xge_hal_device_h devh);
1538 void __hal_stats_soft_reset(xge_hal_device_h devh, int reset_all);
1542 xge_hal_status_e xge_hal_stats_hw(xge_hal_device_h devh,
1545 xge_hal_status_e xge_hal_stats_pcim(xge_hal_device_h devh,
1548 xge_hal_status_e xge_hal_stats_device(xge_hal_device_h devh,
1554 xge_hal_status_e xge_hal_stats_reset(xge_hal_device_h devh);
H A Dxgehal-channel.h378 xge_hal_device_h devh; member
426 __hal_channel_allocate(xge_hal_device_h devh, int post_qid,
H A Dxgehal-ring.h364 void __hal_ring_hw_initialize(xge_hal_device_h devh);
366 void __hal_ring_mtu_set(xge_hal_device_h devh, int new_mtu);
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mgmt.c46 xge_hal_mgmt_about(xge_hal_device_h devh, xge_hal_mgmt_about_info_t *about_info, in xge_hal_mgmt_about() argument
49 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_about()
113 xge_hal_read_xfp_current_temp(devh); in xge_hal_mgmt_about()
135 xge_hal_mgmt_reg_read(xge_hal_device_h devh, int bar_id, unsigned int offset, in xge_hal_mgmt_reg_read() argument
138 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_reg_read()
192 xge_hal_mgmt_reg_write(xge_hal_device_h devh, int bar_id, unsigned int offset, in xge_hal_mgmt_reg_write() argument
195 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_reg_write()
247 xge_hal_mgmt_hw_stats(xge_hal_device_h devh, xge_hal_mgmt_hw_stats_t *hw_stats, in xge_hal_mgmt_hw_stats() argument
251 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_hw_stats()
264 if ((status = xge_hal_stats_hw (devh, &hw_info)) != XGE_HAL_OK) { in xge_hal_mgmt_hw_stats()
[all …]
H A Dxgehal-stats.c37 __hal_stats_initialize (xge_hal_stats_t *stats, xge_hal_device_h devh) in __hal_stats_initialize() argument
40 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in __hal_stats_initialize()
174 stats->devh = devh; in __hal_stats_initialize()
186 xge_hal_device_t *hldev = (xge_hal_device_t*)stats->devh; in __hal_stats_save()
191 (void) xge_hal_stats_hw(stats->devh, &latest); in __hal_stats_save()
198 (void) xge_hal_stats_pcim(stats->devh, &latest); in __hal_stats_save()
222 hldev = (xge_hal_device_t*)stats->devh; in __hal_stats_disable()
254 hldev = (xge_hal_device_t*)stats->devh; in __hal_stats_terminate()
314 hldev = (xge_hal_device_t*)stats->devh; in __hal_stats_enable()
369 __hal_stats_pcim_update_latest(xge_hal_device_h devh) in __hal_stats_pcim_update_latest() argument
[all …]
H A Dxgehal-mgmtaux.c84 xge_hal_status_e xge_hal_aux_bar0_read(xge_hal_device_h devh, in xge_hal_aux_bar0_read() argument
91 status = xge_hal_mgmt_reg_read(devh, 0, offset, &retval); in xge_hal_aux_bar0_read()
124 xge_hal_status_e xge_hal_aux_bar1_read(xge_hal_device_h devh, in xge_hal_aux_bar1_read() argument
131 status = xge_hal_mgmt_reg_read(devh, 1, offset, &retval); in xge_hal_aux_bar1_read()
160 xge_hal_status_e xge_hal_aux_bar0_write(xge_hal_device_h devh, in xge_hal_aux_bar0_write() argument
165 status = xge_hal_mgmt_reg_write(devh, 0, offset, value); in xge_hal_aux_bar0_write()
190 xge_hal_status_e xge_hal_aux_about_read(xge_hal_device_h devh, int bufsize, in xge_hal_aux_about_read() argument
197 status = xge_hal_mgmt_about(devh, &about_info, in xge_hal_aux_about_read()
246 xge_hal_status_e xge_hal_aux_stats_tmac_read(xge_hal_device_h devh, int bufsize, in xge_hal_aux_stats_tmac_read() argument
250 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_aux_stats_tmac_read()
[all …]
H A Dxgehal-channel.c96 __hal_channel_allocate(xge_hal_device_h devh, int post_qid, in __hal_channel_allocate() argument
99 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in __hal_channel_allocate()
132 channel->devh = devh; in __hal_channel_allocate()
174 hldev = (xge_hal_device_t *)channel->devh; in __hal_channel_initialize()
229 hldev = (xge_hal_device_t *)channel->devh; in __hal_channel_terminate()
295 xge_hal_channel_open(xge_hal_device_h devh, in xge_hal_channel_open() argument
304 xge_hal_device_t *device = (xge_hal_device_t *)devh; in xge_hal_channel_open()
528 hldev = (xge_hal_device_t *)channel->devh; in xge_hal_channel_close()
H A Dxgehal-ring.c251 hldev = (xge_hal_device_t *)ring->channel.devh; in __hal_ring_open()
350 xge_hal_device_t *hldev = (xge_hal_device_t *)ring->channel.devh; in __hal_ring_close()
385 xge_hal_device_t *hldev = (xge_hal_device_t *)ring->channel.devh; in __hal_ring_prc_enable()
396 ((xge_hal_device_t *)ring->channel.devh)->bar0; in __hal_ring_prc_enable()
469 ((xge_hal_device_t *)ring->channel.devh)->bar0; in __hal_ring_prc_disable()
480 __hal_ring_hw_initialize(xge_hal_device_h devh) in __hal_ring_hw_initialize() argument
482 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in __hal_ring_hw_initialize()
634 __hal_ring_mtu_set(xge_hal_device_h devh, int new_frmlen) in __hal_ring_mtu_set() argument
637 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in __hal_ring_mtu_set()
H A Dxgehal-device.c208 xge_hal_device_is_slot_freeze(xge_hal_device_h devh) in xge_hal_device_is_slot_freeze() argument
210 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in xge_hal_device_is_slot_freeze()
346 xge_hal_device_bcast_enable(xge_hal_device_h devh) in xge_hal_device_bcast_enable() argument
348 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in xge_hal_device_bcast_enable()
376 xge_hal_device_bcast_disable(xge_hal_device_h devh) in xge_hal_device_bcast_disable() argument
378 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in xge_hal_device_bcast_disable()
1757 xge_hal_device_rts_mac_enable(xge_hal_device_h devh, int index, macaddr_t macaddr) in xge_hal_device_rts_mac_enable() argument
1762 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in xge_hal_device_rts_mac_enable()
1793 xge_hal_device_rts_mac_disable(xge_hal_device_h devh, int index) in xge_hal_device_rts_mac_disable() argument
1799 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in xge_hal_device_rts_mac_disable()
[all …]
H A Dxgehal-fifo.c159 hldev = (xge_hal_device_t *)fifo->channel.devh; in __hal_fifo_open()
316 xge_hal_device_t *hldev = (xge_hal_device_t *)fifo->channel.devh; in __hal_fifo_close()
340 __hal_fifo_hw_initialize(xge_hal_device_h devh) in __hal_fifo_hw_initialize() argument
342 xge_hal_device_t *hldev = (xge_hal_device_t *)devh; in __hal_fifo_hw_initialize()
H A Dxgehal-device-fp.c349 xge_hal_device_t *hldev = (xge_hal_device_t *)channel->devh; in xge_hal_device_poll_rx_channel()
398 xge_hal_device_t *hldev = (xge_hal_device_t *)channel->devh; in xge_hal_device_poll_tx_channel()
/titanic_44/usr/src/uts/common/io/xge/drv/
H A Dxgell.c322 hldev = (xge_hal_device_t *)lldev->devh; in xgell_rx_buffer_alloc()
485 hldev = (xge_hal_device_t *)lldev->devh; in xgell_rx_create_buffer_pool()
947 xge_hal_device_t *hldev = lldev->devh; in xgell_ring_tx()
1217 xge_hal_device_t *hldev = lldev->devh; in xgell_rx_ring_maddr_init()
1251 xge_hal_device_t *hldev = lldev->devh; in xgell_addmac()
1306 xge_hal_device_t *hldev = lldev->devh; in xgell_remmac()
1537 xge_hal_device_t *hldev = lldev->devh; in xgell_maddr_set()
1591 xge_hal_device_t *hldev = lldev->devh; in xgell_rx_ring_open()
1614 status = xge_hal_channel_open(lldev->devh, &attr, &rx_ring->channelh, in xgell_rx_ring_open()
1770 status = xge_hal_channel_open(lldev->devh, &attr, &tx_ring->channelh, in xgell_tx_ring_open()
[all …]
H A Dxgell.h360 xge_hal_device_h devh; member
397 int xgell_device_alloc(xge_hal_device_h devh, dev_info_t *dev_info,
H A Dxge.c238 xgelldev_t *lldev = xge_hal_device_private(channel->devh); in xge_fifo_msix_isr()
257 xgelldev_t *lldev = xge_hal_device_private(channel->devh); in xge_ring_msix_isr()
879 xge_hal_device_t *hldev = lldev->devh; in xge_add_intrs()
1319 xge_hal_device_quiesce(hldev, lldev->devh); in xge_quiesce()
/titanic_44/usr/src/lib/libpicl/
H A Dpicl.h166 extern int picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh);
H A Dpicl.c847 picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh) in picl_get_frutree_parent() argument
856 req.devh = devh; in picl_get_frutree_parent()
H A Dpicl2door.h348 picl_nodehdl_t devh; /* dev node handle */ member
/titanic_44/usr/src/cmd/picl/picld/
H A Dpicld.c744 err = cvt_picl2ptree(in->req_fruparent.devh, &ptreeh); in picld_get_frutree_parent()