Searched defs:devh (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-stats.c31 * @devh: HAL device handle.
37 __hal_stats_initialize (xge_hal_stats_t *stats, xge_hal_device_h devh) argument
40 xge_hal_device_t *hldev = (xge_hal_device_t*)devh;
174 stats->devh = devh;
186 xge_hal_device_t *hldev = (xge_hal_device_t*)stats->devh;
191 (void) xge_hal_stats_hw(stats->devh, &latest);
198 (void) xge_hal_stats_pcim(stats->devh, &latest);
222 hldev = (xge_hal_device_t*)stats->devh;
254 hldev = (xge_hal_device_t*)stats->devh;
369 __hal_stats_pcim_update_latest(xge_hal_device_h devh) argument
510 __hal_stats_update_latest(xge_hal_device_h devh) argument
710 xge_hal_stats_hw(xge_hal_device_h devh, xge_hal_stats_hw_info_t **hw_info) argument
775 xge_hal_stats_pcim(xge_hal_device_h devh, xge_hal_stats_pcim_info_t **hw_info) argument
826 xge_hal_stats_device(xge_hal_device_h devh, xge_hal_stats_device_info_t **device_info) argument
951 xge_hal_stats_reset(xge_hal_device_h devh) argument
973 __hal_stats_soft_reset(xge_hal_device_h devh, int reset_all) argument
[all...]
H A Dxgehal-channel.c96 __hal_channel_allocate(xge_hal_device_h devh, int post_qid, argument
99 xge_hal_device_t *hldev = (xge_hal_device_t*)devh;
132 channel->devh = devh;
174 hldev = (xge_hal_device_t *)channel->devh;
229 hldev = (xge_hal_device_t *)channel->devh;
260 * @devh: HAL device, pointer to xge_hal_device_t structure.
295 xge_hal_channel_open(xge_hal_device_h devh, argument
304 xge_hal_device_t *device = (xge_hal_device_t *)devh;
528 hldev = (xge_hal_device_t *)channel->devh;
[all...]
H A Dxgehal-fifo.c159 hldev = (xge_hal_device_t *)fifo->channel.devh;
316 xge_hal_device_t *hldev = (xge_hal_device_t *)fifo->channel.devh;
340 __hal_fifo_hw_initialize(xge_hal_device_h devh) argument
342 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
H A Dxgehal-mgmtaux.c67 * @devh: HAL device handle.
84 xge_hal_status_e xge_hal_aux_bar0_read(xge_hal_device_h devh, argument
91 status = xge_hal_mgmt_reg_read(devh, 0, offset, &retval);
108 * @devh: HAL device handle.
124 xge_hal_status_e xge_hal_aux_bar1_read(xge_hal_device_h devh, argument
131 status = xge_hal_mgmt_reg_read(devh, 1, offset, &retval);
146 * @devh: HAL device handle.
160 xge_hal_status_e xge_hal_aux_bar0_write(xge_hal_device_h devh, argument
165 status = xge_hal_mgmt_reg_write(devh, 0, offset, value);
175 * @devh
190 xge_hal_aux_about_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
246 xge_hal_aux_stats_tmac_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
387 xge_hal_aux_stats_rmac_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
688 xge_hal_aux_stats_herc_enchanced(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
814 xge_hal_aux_stats_pci_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
878 xge_hal_aux_stats_hal_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
1082 xge_hal_aux_stats_sw_dev_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
1165 xge_hal_aux_pci_config_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
1259 xge_hal_aux_channel_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
1399 xge_hal_aux_device_dump(xge_hal_device_h devh) argument
1555 xge_hal_aux_device_config_read(xge_hal_device_h devh, int bufsize, char *retbuf, int *retsize) argument
[all...]
H A Dxgehal-ring.c248 /* Note: at this point we have channel.devh and channel.pdev
251 hldev = (xge_hal_device_t *)ring->channel.devh;
350 xge_hal_device_t *hldev = (xge_hal_device_t *)ring->channel.devh;
385 xge_hal_device_t *hldev = (xge_hal_device_t *)ring->channel.devh;
396 ((xge_hal_device_t *)ring->channel.devh)->bar0;
469 ((xge_hal_device_t *)ring->channel.devh)->bar0;
480 __hal_ring_hw_initialize(xge_hal_device_h devh) argument
482 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
634 __hal_ring_mtu_set(xge_hal_device_h devh, int new_frmlen) argument
637 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
[all...]
H A Dxgehal-mgmt.c30 * @devh: HAL device handle.
46 xge_hal_mgmt_about(xge_hal_device_h devh, xge_hal_mgmt_about_info_t *about_info, argument
49 xge_hal_device_t *hldev = (xge_hal_device_t*)devh;
113 xge_hal_read_xfp_current_temp(devh);
120 * @devh: HAL device handle.
135 xge_hal_mgmt_reg_read(xge_hal_device_h devh, int bar_id, unsigned int offset, argument
138 xge_hal_device_t *hldev = (xge_hal_device_t*)devh;
176 * @devh: HAL device handle.
192 xge_hal_mgmt_reg_write(xge_hal_device_h devh, int bar_id, unsigned int offset, argument
195 xge_hal_device_t *hldev = (xge_hal_device_t*)devh;
247 xge_hal_mgmt_hw_stats(xge_hal_device_h devh, xge_hal_mgmt_hw_stats_t *hw_stats, int size) argument
287 xge_hal_mgmt_hw_stats_off(xge_hal_device_h devh, int off, int size, char *out) argument
329 xge_hal_mgmt_pcim_stats(xge_hal_device_h devh, xge_hal_mgmt_pcim_stats_t *pcim_stats, int size) argument
370 xge_hal_mgmt_pcim_stats_off(xge_hal_device_h devh, int off, int size, char *out) argument
414 xge_hal_mgmt_sw_stats(xge_hal_device_h devh, xge_hal_mgmt_sw_stats_t *sw_stats, int size) argument
461 xge_hal_mgmt_device_stats(xge_hal_device_h devh, xge_hal_mgmt_device_stats_t *device_stats, int size) argument
576 xge_hal_mgmt_pcireg_read(xge_hal_device_h devh, unsigned int offset, int value_bits, u32 *value) argument
620 xge_hal_mgmt_device_config(xge_hal_device_h devh, xge_hal_mgmt_device_config_t *dev_config, int size) argument
688 xge_hal_mgmt_pci_config(xge_hal_device_h devh, xge_hal_mgmt_pci_config_t *pci_config, int size) argument
777 xge_hal_restore_link_led(xge_hal_device_h devh) argument
833 xge_hal_flick_link_led(xge_hal_device_h devh) argument
880 xge_hal_read_eeprom(xge_hal_device_h devh, int off, u32* data) argument
924 xge_hal_write_eeprom(xge_hal_device_h devh, int off, u32 data, int cnt) argument
965 xge_hal_register_test(xge_hal_device_h devh, u64 *data) argument
1037 xge_hal_rldram_test(xge_hal_device_h devh, u64 *data) argument
1158 xge_hal_pma_loopback( xge_hal_device_h devh, int enable ) argument
1247 xge_hal_mdio_read( xge_hal_device_h devh, u32 mmd_type, u64 addr ) argument
1300 xge_hal_mdio_write( xge_hal_device_h devh, u32 mmd_type, u64 addr, u32 value ) argument
1368 xge_hal_eeprom_test(xge_hal_device_h devh, u64 *data) argument
1440 xge_hal_bist_test(xge_hal_device_h devh, u64 *data) argument
1477 xge_hal_link_test(xge_hal_device_h devh, u64 *data) argument
1502 xge_hal_getpause_data(xge_hal_device_h devh, int *tx, int *rx) argument
1530 xge_hal_setpause_data(xge_hal_device_h devh, int tx, int rx) argument
[all...]
H A Dxgehal-device.c200 * @devh: the device
208 xge_hal_device_is_slot_freeze(xge_hal_device_h devh) argument
210 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
346 xge_hal_device_bcast_enable(xge_hal_device_h devh) argument
348 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
376 xge_hal_device_bcast_disable(xge_hal_device_h devh) argument
378 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
1740 * @devh: HAL device handle.
1757 xge_hal_device_rts_mac_enable(xge_hal_device_h devh, int index, macaddr_t macaddr) argument
1762 xge_hal_device_t *hldev = (xge_hal_device_t *)devh;
1793 xge_hal_device_rts_mac_disable(xge_hal_device_h devh, int index) argument
2305 __hal_device_pci_info_get(xge_hal_device_h devh, xge_hal_pci_mode_e *pci_mode, xge_hal_pci_bus_frequency_e *bus_frequency, xge_hal_pci_bus_width_e *bus_width) argument
5431 xge_hal_device_terminating(xge_hal_device_h devh) argument
5728 xge_hal_device_link_state(xge_hal_device_h devh, xge_hal_device_link_state_e *ls) argument
5754 xge_hal_device_sched_timer(xge_hal_device_h devh, int interval_us, int one_shot) argument
5795 xge_hal_device_check_id(xge_hal_device_h devh) argument
5831 xge_hal_device_pci_info_get(xge_hal_device_h devh, xge_hal_pci_mode_e *pci_mode, xge_hal_pci_bus_frequency_e *bus_frequency, xge_hal_pci_bus_width_e *bus_width) argument
6070 xge_hal_spdm_entry_add(xge_hal_device_h devh, xge_hal_ipaddr_t *src_ip, xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp, u8 is_tcp, u8 is_ipv4, u8 tgt_queue) argument
6214 xge_hal_spdm_entry_remove(xge_hal_device_h devh, xge_hal_ipaddr_t *src_ip, xge_hal_ipaddr_t *dst_ip, u16 l4_sp, u16 l4_dp, u8 is_tcp, u8 is_ipv4) argument
6555 xge_hal_mask_msix(xge_hal_device_h devh, int msi_id) argument
6585 xge_hal_unmask_msix(xge_hal_device_h devh, int msi_id) argument
6613 __hal_set_msix_vals(xge_hal_device_h devh, u32 *msix_value, u64 *msix_addr, int msix_idx) argument
6766 xge_hal_device_poll(xge_hal_device_h devh) argument
7132 xge_hal_device_is_closed(xge_hal_device_h devh) argument
7144 xge_hal_device_rts_section_enable(xge_hal_device_h devh, int index) argument
7276 xge_hal_device_quiesce(xge_hal_device_t *hldev, xge_hal_device_h devh) argument
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-channel.h299 * @devh: Device handle. HAL device object that contains _this_ channel.
378 xge_hal_device_h devh; member in struct:__anon6647
426 __hal_channel_allocate(xge_hal_device_h devh, int post_qid,
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);
539 * @devh: HAL device handle.
544 xge_hal_device_is_initialized(xge_hal_device_h devh) argument
546 return ((xge_hal_device_t*)devh)->is_initialized;
552 * @devh: HAL device handle.
557 xge_hal_device_in_poll(xge_hal_device_h devh) argument
559 return ((xge_hal_device_t*)devh)->in_poll;
565 * @devh: HAL device, pointer to xge_hal_device_t structure.
577 xge_hal_device_inject_ecc(xge_hal_device_h devh, u6 argument
597 xge_hal_device_inject_serr(xge_hal_device_h devh, u64 err_reg) argument
620 xge_hal_device_inject_bad_tcode(xge_hal_device_h devh, int chan_type, u8 t_code) argument
636 xge_hal_device_msi_mode(xge_hal_device_h devh) argument
648 xge_hal_device_queue(xge_hal_device_h devh) argument
661 xge_hal_device_attr(xge_hal_device_h devh) argument
676 xge_hal_device_private_set(xge_hal_device_h devh, void *data) argument
692 xge_hal_device_private(xge_hal_device_h devh) argument
[all...]
H A Dxgehal-stats.h1471 * @devh: HAL device handle.
1503 xge_hal_device_h devh; member in struct:xge_hal_stats_t
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);
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.c847 picl_get_frutree_parent(picl_nodehdl_t devh, picl_nodehdl_t *fruh) argument
856 req.devh = devh;
H A Dpicl2door.h348 picl_nodehdl_t devh; /* dev node handle */ member in struct:__anon4000
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.h360 xge_hal_device_h devh; member in struct:xgelldev
397 int xgell_device_alloc(xge_hal_device_h devh, dev_info_t *dev_info,
H A Dxgell.c322 hldev = (xge_hal_device_t *)lldev->devh;
485 hldev = (xge_hal_device_t *)lldev->devh;
947 xge_hal_device_t *hldev = lldev->devh;
1217 xge_hal_device_t *hldev = lldev->devh;
1251 xge_hal_device_t *hldev = lldev->devh;
1306 xge_hal_device_t *hldev = lldev->devh;
1537 xge_hal_device_t *hldev = lldev->devh;
1591 xge_hal_device_t *hldev = lldev->devh;
1614 status = xge_hal_channel_open(lldev->devh, &attr, &rx_ring->channelh,
1770 status = xge_hal_channel_open(lldev->devh,
2323 xgell_device_alloc(xge_hal_device_h devh, dev_info_t *dev_info, xgelldev_t **lldev_out) argument
[all...]

Completed in 97 milliseconds