Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mgmt.h98 xge_hal_mgmt_pcim_stats(xge_hal_device_h devh,
110 xge_hal_mgmt_device_stats(xge_hal_device_h devh,
130 xge_hal_mgmt_device_config(xge_hal_device_h devh,
138 xge_hal_mgmt_pci_config(xge_hal_device_h devh,
145 xge_hal_rldram_test(xge_hal_device_h devh, u64 * data);
154 xge_hal_read_xfp_current_temp(xge_hal_device_h devh);
166 xge_hal_eeprom_test(xge_hal_device_h devh, u64 *data);
169 xge_hal_bist_test(xge_hal_device_h devh, u64 *data);
172 xge_hal_link_test(xge_hal_device_h devh, u64 *data);
193 xge_hal_restore_link_led(xge_hal_device_h devh);
[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,
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,
66 xge_hal_status_e xge_hal_aux_channel_read(xge_hal_device_h devh,
[all …]
H A Dxgehal-device.h557 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()
636 xge_hal_device_msi_mode(xge_hal_device_h devh) in xge_hal_device_msi_mode() argument
638 return ((xge_hal_device_t*)devh)->msi_enabled; in xge_hal_device_msi_mode()
648 xge_hal_device_queue (xge_hal_device_h devh) in xge_hal_device_queue() argument
650 return ((xge_hal_device_t*)devh)->queueh; in xge_hal_device_queue()
661 xge_hal_device_attr(xge_hal_device_h devh) in xge_hal_device_attr() argument
663 return &((xge_hal_device_t*)devh)->orig_attr; in xge_hal_device_attr()
692 xge_hal_device_private(xge_hal_device_h devh) in xge_hal_device_private() argument
790 void xge_hal_device_poll(xge_hal_device_h devh);
[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);
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mgmt.c49 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()
138 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_reg_read()
195 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_reg_write()
251 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_mgmt_hw_stats()
329 xge_hal_mgmt_pcim_stats(xge_hal_device_h devh, in xge_hal_mgmt_pcim_stats() argument
461 xge_hal_mgmt_device_stats(xge_hal_device_h devh, in xge_hal_mgmt_device_stats() argument
620 xge_hal_mgmt_device_config(xge_hal_device_h devh, in xge_hal_mgmt_device_config() argument
688 xge_hal_mgmt_pci_config(xge_hal_device_h devh, in xge_hal_mgmt_pci_config() argument
777 xge_hal_restore_link_led(xge_hal_device_h devh) in xge_hal_restore_link_led() argument
[all …]
H A Dxgehal-stats.c40 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in __hal_stats_initialize()
174 stats->devh = devh; in __hal_stats_initialize()
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()
521 __hal_stats_pcim_update_latest(devh); in __hal_stats_update_latest()
736 __hal_stats_update_latest(devh); in xge_hal_stats_hw()
801 __hal_stats_pcim_update_latest(devh); in xge_hal_stats_pcim()
826 xge_hal_stats_device(xge_hal_device_h devh, in xge_hal_stats_device() argument
873 hldev = (xge_hal_device_t *)channel->devh; in xge_hal_stats_channel()
[all …]
H A Dxgehal-mgmtaux.c197 status = xge_hal_mgmt_about(devh, &about_info, in xge_hal_aux_about_read()
250 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_aux_stats_tmac_read()
257 status = xge_hal_mgmt_hw_stats(devh, &hw, in xge_hal_aux_stats_tmac_read()
290 status = xge_hal_mgmt_pcim_stats(devh, &pcim, in xge_hal_aux_stats_tmac_read()
391 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_aux_stats_rmac_read()
398 status = xge_hal_mgmt_hw_stats(devh, &hw, in xge_hal_aux_stats_rmac_read()
510 status = xge_hal_mgmt_pcim_stats(devh, &pcim, in xge_hal_aux_stats_rmac_read()
693 xge_hal_device_t *hldev = (xge_hal_device_t*)devh; in xge_hal_aux_stats_herc_enchanced()
705 status = xge_hal_mgmt_hw_stats(devh, &hw, in xge_hal_aux_stats_herc_enchanced()
831 status = xge_hal_mgmt_hw_stats(devh, &hw, in xge_hal_aux_stats_pci_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
3218 channel.devh = hldev; in __hal_device_poll()
5795 xge_hal_device_check_id(xge_hal_device_h devh) in xge_hal_device_check_id() argument
6766 xge_hal_device_poll(xge_hal_device_h devh) in xge_hal_device_poll() argument
7132 xge_hal_device_is_closed(xge_hal_device_h devh) in xge_hal_device_is_closed() argument
7283 (void) xge_hal_device_disable(devh); in xge_hal_device_quiesce()
[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()
/illumos-gate/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()
1852 xge_hal_device_t *hldev = lldev->devh; in xgell_initiate_start()
1977 xge_hal_device_t *hldev = lldev->devh; in xgell_m_start()
[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()
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.h164 extern int picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh);
H A Dpicl.c845 picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh) in picl_get_frutree_parent() argument
854 req.devh = devh; in picl_get_frutree_parent()
H A Dpicl2door.h346 picl_nodehdl_t devh; /* dev node handle */ member
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c744 err = cvt_picl2ptree(in->req_fruparent.devh, &ptreeh); in picld_get_frutree_parent()