/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_debug.c | 40 igb_t *igb = (igb_t *)arg; local 57 handle = igb->osdep.cfg_handle; 59 igb_log(igb, IGB_LOG_INFO, "Begin dump PCI config space"); 61 igb_log(igb, IGB_LOG_INFO, 64 igb_log(igb, IGB_LOG_INFO, 67 igb_log(igb, IGB_LOG_INFO, 70 igb_log(igb, IGB_LOG_INFO, 73 igb_log(igb, IGB_LOG_INFO, 76 igb_log(igb, IGB_LOG_INFO, 79 igb_log(igb, IGB_LOG_INF [all...] |
H A D | igb_stat.c | 39 igb_t *igb; local 50 igb = (igb_t *)ks->ks_private; 52 hw = &igb->hw; 54 mutex_enter(&igb->gen_lock); 59 igb_ks->reset_count.value.ui64 = igb->reset_count; 60 igb_ks->dout_sync.value.ui64 = igb->dout_sync; 66 for (i = 0; i < igb->num_rx_rings; i++) { 68 igb->rx_rings[i].stat_frame_error; 70 igb->rx_rings[i].stat_cksum_error; 72 igb 151 igb_init_stats(igb_t *igb) argument [all...] |
H A D | igb_buf.c | 125 igb_alloc_dma(igb_t *igb) argument 132 for (i = 0; i < igb->num_rx_rings; i++) { 136 rx_ring = &igb->rx_rings[i]; 146 for (i = 0; i < igb->num_tx_rings; i++) { 150 tx_ring = &igb->tx_rings[i]; 162 igb_free_dma(igb); 172 igb_free_dma(igb_t *igb) argument 182 for (i = 0; i < igb->num_rx_rings; i++) { 183 rx_ring = &igb->rx_rings[i]; 193 for (i = 0; i < igb 212 igb_t *igb = tx_ring->igb; local 333 igb_t *igb = rx_ring->igb; local 450 igb_t *igb = rx_data->rx_ring->igb; local 562 igb_alloc_dma_buffer(igb_t *igb, dma_buffer_t *buf, size_t size) argument 668 igb_t *igb = tx_ring->igb; local 834 igb_t *igb = rx_data->rx_ring->igb; local 895 igb_t *igb; local [all...] |
H A D | igb_rx.c | 50 igb_t *igb; local 60 igb = rx_ring->igb; 115 mutex_enter(&igb->rx_pending_lock); 117 atomic_dec_32(&igb->rcb_pending); 127 mutex_exit(&igb->rx_pending_lock); 142 igb_t *igb = rx_data->rx_ring->igb; local 150 ddi_fm_service_impact(igb->dip, DDI_SERVICE_DEGRADED); 151 atomic_or_32(&igb 188 igb_t *igb = rx_data->rx_ring->igb; local 330 igb_t *igb = rx_ring->igb; local [all...] |
H A D | igb_gld.c | 38 igb_t *igb = (igb_t *)arg; local 39 struct e1000_hw *hw = &igb->hw; 43 igb_ks = (igb_stat_t *)igb->igb_ks->ks_data; 45 mutex_enter(&igb->gen_lock); 47 if (igb->igb_state & IGB_SUSPENDED) { 48 mutex_exit(&igb->gen_lock); 54 *val = igb->link_speed * 1000000ull; 58 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC); 59 *val = igb->stat_mprc; 63 igb 418 igb_t *igb = (igb_t *)arg; local 451 igb_t *igb = (igb_t *)arg; local 478 igb_t *igb = (igb_t *)arg; local 514 igb_t *igb = (igb_t *)arg; local 539 igb_t *igb = (igb_t *)arg; local 611 igb_t *igb = rx_group->igb; local 675 igb_t *igb = rx_group->igb; local 714 igb_t *igb = rx_ring->igb; local 742 igb_t *igb = rx_ring->igb; local 768 igb_get_rx_ring_index(igb_t *igb, int gindex, int rindex) argument 803 igb_t *igb = (igb_t *)arg; local 863 igb_t *igb = (igb_t *)arg; local 897 igb_t *igb = (igb_t *)arg; local 964 igb_t *igb = (igb_t *)arg; local 1138 igb_t *igb = (igb_t *)arg; local 1232 igb_t *igb = (igb_t *)arg; local 1354 igb_set_priv_prop(igb_t *igb, const char *pr_name, uint_t pr_valsize, const void *pr_val) argument 1512 igb_get_priv_prop(igb_t *igb, const char *pr_name, uint_t pr_valsize, void *pr_val) argument 1557 igb_priv_prop_info(igb_t *igb, const char *pr_name, mac_prop_info_handle_t prh) argument [all...] |
H A D | e1000_osdep.h | 174 * igb only uses the first two of the ddi_acc_handle_t, the latter end up coming 175 * from the common code for devices that igb doesn't support. For now, we end up 184 struct igb *igb; member in struct:igb_osdep
|
H A D | igb_tx.c | 57 igb_t *igb; local 61 igb = tx_ring->igb; 63 if ((igb->igb_state & IGB_SUSPENDED) || 64 (igb->igb_state & IGB_ERROR) || 65 !(igb->igb_state & IGB_STARTED) || 66 igb->link_state != LINK_STATE_UP) { 106 igb_t *igb = tx_ring->igb; local 124 copy_thresh = igb 866 igb_t *igb = tx_ring->igb; local 1080 igb_t *igb = tx_ring->igb; local 1235 igb_t *igb = tx_ring->igb; local [all...] |
H A D | igb_main.c | 35 static char igb_version[] = "igb 2.3.8-ish"; 426 igb_t *igb; local 449 igb = kmem_zalloc(sizeof (igb_t), KM_SLEEP); 451 igb->dip = devinfo; 452 igb->instance = instance; 454 hw = &igb->hw; 455 osdep = &igb->osdep; 457 osdep->igb = igb; 460 ddi_set_driver_private(devinfo, igb); 631 igb_t *igb; local 708 igb_t *igb; local 744 igb_unconfigure(dev_info_t *devinfo, igb_t *igb) argument 854 igb_register_mac(igb_t *igb) argument 886 igb_identify_hardware(igb_t *igb) argument 946 igb_regs_map(igb_t *igb) argument 978 igb_init_properties(igb_t *igb) argument 995 igb_init_driver_settings(igb_t *igb) argument 1081 igb_init_locks(igb_t *igb) argument 1119 igb_destroy_locks(igb_t *igb) argument 1146 igb_t *igb; local 1188 igb_t *igb; local 1223 igb_init(igb_t *igb) argument 1256 igb_init_mac_address(igb_t *igb) argument 1315 igb_init_adapter(igb_t *igb) argument 1554 igb_stop_adapter(igb_t *igb) argument 1586 igb_reset(igb_t *igb) argument 1677 igb_tx_clean(igb_t *igb) argument 1744 igb_tx_drain(igb_t *igb) argument 1782 igb_rx_drain(igb_t *igb) argument 1813 igb_start(igb_t *igb, boolean_t alloc_buffer) argument 1898 igb_stop(igb_t *igb, boolean_t free_buffer) argument 1957 igb_alloc_rings(igb_t *igb) argument 2008 igb_free_rings(igb_t *igb) argument 2030 igb_alloc_rx_data(igb_t *igb) argument 2048 igb_free_rx_data(igb_t *igb) argument 2077 igb_setup_rings(igb_t *igb) argument 2094 igb_t *igb = rx_ring->igb; local 2155 igb_setup_rx(igb_t *igb) argument 2285 igb_t *igb = tx_ring->igb; local 2376 igb_setup_tx(igb_t *igb) argument 2406 igb_setup_rss(igb_t *igb) argument 2473 igb_setup_mac_rss_classify(igb_t *igb) argument 2549 igb_setup_mac_classify(igb_t *igb) argument 2584 igb_init_unicst(igb_t *igb) argument 2635 igb_unicst_find(igb_t *igb, const uint8_t *mac_addr) argument 2654 igb_unicst_set(igb_t *igb, const uint8_t *mac_addr, int slot) argument 2683 igb_multicst_add(igb_t *igb, const uint8_t *multiaddr) argument 2745 igb_multicst_remove(igb_t *igb, const uint8_t *multiaddr) argument 2796 igb_release_multicast(igb_t *igb) argument 2812 igb_setup_multicst(igb_t *igb) argument 2843 igb_get_conf(igb_t *igb) argument 3055 igb_get_prop(igb_t *igb, char *propname, int minval, int maxval, int defval) argument 3082 igb_setup_link(igb_t *igb, boolean_t setup_hw) argument 3156 igb_is_link_up(igb_t *igb) argument 3195 igb_link_check(igb_t *igb) argument 3242 igb_t *igb = (igb_t *)arg; local 3289 igb_t *igb = (igb_t *)arg; local 3308 igb_stall_check(igb_t *igb) argument 3367 igb_find_mac_address(igb_t *igb) argument 3447 igb_arm_watchdog_timer(igb_t *igb) argument 3462 igb_enable_watchdog_timer(igb_t *igb) argument 3480 igb_disable_watchdog_timer(igb_t *igb) argument 3502 igb_start_watchdog_timer(igb_t *igb) argument 3520 igb_restart_watchdog_timer(igb_t *igb) argument 3534 igb_stop_watchdog_timer(igb_t *igb) argument 3554 igb_start_link_timer(struct igb *igb) argument 3580 igb_stop_link_timer(struct igb *igb) argument 3598 igb_disable_adapter_interrupts(igb_t *igb) argument 3625 igb_enable_adapter_interrupts_82580(igb_t *igb) argument 3657 igb_enable_adapter_interrupts_82576(igb_t *igb) argument 3689 igb_enable_adapter_interrupts_82575(igb_t *igb) argument 3734 igb_loopback_ioctl(igb_t *igb, struct iocblk *iocp, mblk_t *mp) argument 3826 igb_set_loopback_mode(igb_t *igb, uint32_t mode) argument 3910 igb_set_external_loopback(igb_t *igb) argument 3932 igb_set_internal_phy_loopback(igb_t *igb) argument 3966 igb_set_internal_serdes_loopback(igb_t *igb) argument 4033 igb_t *igb = tx_ring->igb; local 4052 igb_intr_link_work(igb_t *igb) argument 4086 igb_t *igb = (igb_t *)arg1; local 4196 igb_t *igb = (igb_t *)arg1; local 4284 igb_t *igb = (igb_t *)arg1; local 4341 igb_alloc_intrs(igb_t *igb) argument 4416 igb_alloc_intr_handles(igb_t *igb, int intr_type) argument 4575 igb_add_intr_handlers(igb_t *igb) argument 4702 igb_setup_msix_82575(igb_t *igb) argument 4769 igb_setup_msix_82576(igb_t *igb) argument 4860 igb_setup_msix_82580(igb_t *igb) argument 4945 igb_rem_intr_handlers(igb_t *igb) argument 4963 igb_rem_intrs(igb_t *igb) argument 4984 igb_enable_intrs(igb_t *igb) argument 5017 igb_disable_intrs(igb_t *igb) argument 5048 igb_get_phy_state(igb_t *igb) argument 5193 igb_param_sync(igb_t *igb) argument 5291 igb_fm_init(igb_t *igb) argument 5333 igb_fm_fini(igb_t *igb) argument 5357 igb_fm_ereport(igb_t *igb, char *detail) argument [all...] |
H A D | igb_sw.h | 77 #define MODULE_NAME "igb" /* module name */ 313 typedef void (*igb_nic_func_t)(struct igb *); 476 * Pointer to the igb struct 478 struct igb *igb; member in struct:igb_tx_ring 544 struct igb *igb; /* Pointer to igb struct */ member in struct:igb_rx_ring 556 struct igb *igb; /* Pointe member in struct:igb_rx_group 559 typedef struct igb { struct [all...] |