Lines Matching refs:hldev

148 static void vxge_callback_link_up(struct __vxge_hw_device *hldev)  in vxge_callback_link_up()  argument
150 struct net_device *dev = hldev->ndev; in vxge_callback_link_up()
171 static void vxge_callback_link_down(struct __vxge_hw_device *hldev) in vxge_callback_link_down() argument
173 struct net_device *dev = hldev->ndev; in vxge_callback_link_down()
1376 msix_id = (vpath->handle->vpath->hldev->first_vp_id * in vxge_vpath_intr_enable()
1392 struct __vxge_hw_device *hldev; in vxge_vpath_intr_disable() local
1395 hldev = pci_get_drvdata(vdev->pdev); in vxge_vpath_intr_disable()
1397 vxge_hw_vpath_wait_receive_idle(hldev, vpath->device_id); in vxge_vpath_intr_disable()
1409 msix_id = (vpath->handle->vpath->hldev->first_vp_id * in vxge_vpath_intr_disable()
1847 struct __vxge_hw_device *hldev = pci_get_drvdata(vdev->pdev); in vxge_poll_inta() local
1865 vxge_hw_device_unmask_all(hldev); in vxge_poll_inta()
1866 vxge_hw_device_flush_io(hldev); in vxge_poll_inta()
1886 struct __vxge_hw_device *hldev = pci_get_drvdata(pdev); in vxge_netpoll() local
1895 vxge_hw_device_clear_tx_rx(hldev); in vxge_netpoll()
1897 vxge_hw_device_clear_tx_rx(hldev); in vxge_netpoll()
2177 struct __vxge_hw_device *hldev; in vxge_isr_napi() local
2184 hldev = pci_get_drvdata(vdev->pdev); in vxge_isr_napi()
2192 status = vxge_hw_device_begin_irq(hldev, vdev->exec_mode, &reason); in vxge_isr_napi()
2194 vxge_hw_device_mask_all(hldev); in vxge_isr_napi()
2201 vxge_hw_device_clear_tx_rx(hldev); in vxge_isr_napi()
2207 vxge_hw_device_unmask_all(hldev); in vxge_isr_napi()
2211 vxge_hw_device_mask_all(hldev); in vxge_isr_napi()
2212 vxge_hw_device_flush_io(hldev); in vxge_isr_napi()
2702 struct __vxge_hw_device *hldev; in vxge_open() local
2712 hldev = pci_get_drvdata(vdev->pdev); in vxge_open()
2767 hldev->config.rth_en ? "enabled" : "disabled"); in vxge_open()
2936 struct __vxge_hw_device *hldev; in do_vxge_close() local
2943 hldev = pci_get_drvdata(vdev->pdev); in do_vxge_close()
2998 vxge_hw_device_wait_receive_idle(hldev); in do_vxge_close()
3370 static int vxge_device_register(struct __vxge_hw_device *hldev, in vxge_device_register() argument
3388 vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3395 vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3403 vdev->devh = hldev; in vxge_device_register()
3404 vdev->pdev = hldev->pdev; in vxge_device_register()
3440 vxge_debug_init(vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3445 vxge_debug_init(vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3455 vxge_debug_init(vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3470 vxge_debug_init(vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3474 hldev->ndev = ndev; in vxge_device_register()
3479 hldev, in vxge_device_register()
3487 vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3491 vxge_debug_entryexit(vxge_hw_device_trace_level_get(hldev), in vxge_device_register()
3509 static void vxge_device_unregister(struct __vxge_hw_device *hldev) in vxge_device_unregister() argument
3515 dev = hldev->ndev; in vxge_device_unregister()
3546 vxge_callback_crit_err(struct __vxge_hw_device *hldev, in vxge_callback_crit_err() argument
3549 struct net_device *dev = hldev->ndev; in vxge_callback_crit_err()
3587 vxge_hw_device_mask_all(hldev); in vxge_callback_crit_err()
4035 struct __vxge_hw_device *hldev = pci_get_drvdata(pdev); in vxge_io_error_detected() local
4036 struct net_device *netdev = hldev->ndev; in vxge_io_error_detected()
4064 struct __vxge_hw_device *hldev = pci_get_drvdata(pdev); in vxge_io_slot_reset() local
4065 struct net_device *netdev = hldev->ndev; in vxge_io_slot_reset()
4089 struct __vxge_hw_device *hldev = pci_get_drvdata(pdev); in vxge_io_resume() local
4090 struct net_device *netdev = hldev->ndev; in vxge_io_resume()
4135 struct __vxge_hw_device *hldev = vdev->devh; in vxge_fw_upgrade() local
4149 status = vxge_update_fw_image(hldev, fw->data, fw->size); in vxge_fw_upgrade()
4159 status = vxge_hw_upgrade_read_version(hldev, &maj, &min, &bld); in vxge_fw_upgrade()
4185 status = vxge_hw_flash_fw(hldev); in vxge_fw_upgrade()
4302 struct __vxge_hw_device *hldev; in vxge_probe() local
4499 status = vxge_hw_device_initialize(&hldev, &attr, device_config); in vxge_probe()
4513 status = vxge_hw_vpath_eprom_img_ver_get(hldev, img); in vxge_probe()
4521 hldev->eprom_versions[i] = img[i].version; in vxge_probe()
4534 status = vxge_hw_vpath_strip_fcs_check(hldev, vpath_mask); in vxge_probe()
4551 status = vxge_timestamp_config(hldev); in vxge_probe()
4560 vxge_hw_device_debug_set(hldev, VXGE_ERR, VXGE_COMPONENT_LL); in vxge_probe()
4563 pci_set_drvdata(pdev, hldev); in vxge_probe()
4578 ret = vxge_device_register(hldev, ll_config, high_dma, no_of_vpath, in vxge_probe()
4589 vxge_hw_device_debug_set(hldev, VXGE_TRACE, VXGE_COMPONENT_LL); in vxge_probe()
4590 VXGE_COPY_DEBUG_INFO_TO_LL(vdev, vxge_hw_device_error_level_get(hldev), in vxge_probe()
4591 vxge_hw_device_trace_level_get(hldev)); in vxge_probe()
4650 vdev->ndev->name, vxge_hw_device_link_width_get(hldev)); in vxge_probe()
4720 vxge_hw_device_unmask_all(hldev); in vxge_probe()
4725 vxge_hw_device_debug_set(hldev, VXGE_ERR, VXGE_COMPONENT_LL); in vxge_probe()
4726 VXGE_COPY_DEBUG_INFO_TO_LL(vdev, vxge_hw_device_error_level_get(hldev), in vxge_probe()
4727 vxge_hw_device_trace_level_get(hldev)); in vxge_probe()
4736 vxge_device_unregister(hldev); in vxge_probe()
4738 vxge_hw_device_terminate(hldev); in vxge_probe()
4762 struct __vxge_hw_device *hldev; in vxge_remove() local
4766 hldev = pci_get_drvdata(pdev); in vxge_remove()
4767 if (hldev == NULL) in vxge_remove()
4770 vdev = netdev_priv(hldev->ndev); in vxge_remove()
4779 vxge_device_unregister(hldev); in vxge_remove()
4781 vxge_hw_device_terminate(hldev); in vxge_remove()