Home
last modified time | relevance | path

Searched refs:g_xge_hal_driver (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-driver.h256 extern xge_hal_driver_t *g_xge_hal_driver;
260 return g_xge_hal_driver->is_initialized; in xge_hal_driver_is_initialized()
266 return g_xge_hal_driver->debug_module_mask; in xge_hal_driver_debug_module_mask()
274 g_xge_hal_driver->debug_module_mask = new_mask; in xge_hal_driver_debug_module_mask_set()
275 g_module_mask = (unsigned long *)&g_xge_hal_driver->debug_module_mask; in xge_hal_driver_debug_module_mask_set()
280 xge_hal_driver_debug_level(void) { return g_xge_hal_driver->debug_level; } in xge_hal_driver_debug_level()
287 g_xge_hal_driver->debug_level = new_level; in xge_hal_driver_debug_level_set()
288 g_level = &g_xge_hal_driver->debug_level; in xge_hal_driver_debug_level_set()
/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-driver.c28 xge_hal_driver_t *g_xge_hal_driver = NULL; variable
184 g_xge_hal_driver = &g_driver; in xge_hal_driver_initialize()
209 xge_os_memzero(g_xge_hal_driver, sizeof(xge_hal_driver_t)); in xge_hal_driver_initialize()
212 xge_os_memcpy(&g_xge_hal_driver->config, config, in xge_hal_driver_initialize()
216 xge_os_memcpy(&g_xge_hal_driver->uld_callbacks, uld_callbacks, in xge_hal_driver_initialize()
219 g_xge_hal_driver->is_initialized = 1; in xge_hal_driver_initialize()
256 g_xge_hal_driver->is_initialized = 0; in xge_hal_driver_terminate()
264 g_xge_hal_driver = NULL; in xge_hal_driver_terminate()
H A Dxgehal-mgmt.c658 if (g_xge_hal_driver == NULL) { in xge_hal_mgmt_driver_config()
666 xge_os_memcpy(drv_config, &g_xge_hal_driver->config, in xge_hal_mgmt_driver_config()
1623 if (g_xge_hal_driver->uld_callbacks.xpak_alarm_log) { in __hal_chk_xpak_counter()
1624 g_xge_hal_driver->uld_callbacks.xpak_alarm_log( in __hal_chk_xpak_counter()
1636 if (g_xge_hal_driver->uld_callbacks.xpak_alarm_log) { in __hal_chk_xpak_counter()
1637 g_xge_hal_driver->uld_callbacks.xpak_alarm_log( in __hal_chk_xpak_counter()
1650 if (g_xge_hal_driver->uld_callbacks.xpak_alarm_log) { in __hal_chk_xpak_counter()
1651 g_xge_hal_driver->uld_callbacks.xpak_alarm_log( in __hal_chk_xpak_counter()
H A Dxgehal-device.c74 if (g_xge_hal_driver->uld_callbacks.event_queued) { in __hal_device_event_queued()
75 g_xge_hal_driver->uld_callbacks.event_queued(data, event_type); in __hal_device_event_queued()
2511 if (g_xge_hal_driver->uld_callbacks.link_up) { in __hal_device_handle_link_up_ind()
2512 g_xge_hal_driver->uld_callbacks.link_up( in __hal_device_handle_link_up_ind()
2611 if (g_xge_hal_driver->uld_callbacks.link_down) { in __hal_device_handle_link_down_ind()
2612 g_xge_hal_driver->uld_callbacks.link_down( in __hal_device_handle_link_down_ind()
3632 if (g_xge_hal_driver->uld_callbacks.sched_timer != NULL) in __hal_device_handle_txpic()
3633 g_xge_hal_driver->uld_callbacks.sched_timer( in __hal_device_handle_txpic()
5152 if (g_xge_hal_driver == NULL || in xge_hal_device_initialize()
5153 !g_xge_hal_driver->is_initialized) { in xge_hal_device_initialize()
[all …]