Home
last modified time | relevance | path

Searched refs:hldev (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c47 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id) in vxge_hw_vpath_wait_receive_idle() argument
54 vpath = &hldev->virtual_paths[vp_id]; in vxge_hw_vpath_wait_receive_idle()
99 void vxge_hw_device_wait_receive_idle(struct __vxge_hw_device *hldev) in vxge_hw_device_wait_receive_idle() argument
104 if (!(hldev->vpaths_deployed & vxge_mBIT(i))) in vxge_hw_device_wait_receive_idle()
107 total_count += vxge_hw_vpath_wait_receive_idle(hldev, i); in vxge_hw_device_wait_receive_idle()
222 vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major, in vxge_hw_upgrade_read_version() argument
229 vpath = &hldev->virtual_paths[hldev->first_vp_id]; in vxge_hw_upgrade_read_version()
246 enum vxge_hw_status vxge_hw_flash_fw(struct __vxge_hw_device *hldev) in vxge_hw_flash_fw() argument
253 vpath = &hldev->virtual_paths[hldev->first_vp_id]; in vxge_hw_flash_fw()
277 vxge_update_fw_image(struct __vxge_hw_device *hldev, const u8 *fwdata, int size) in vxge_update_fw_image() argument
[all …]
Dvxge-traffic.c130 if (vpath->hldev->first_vp_id != vpath->vp_id) in vxge_hw_vpath_intr_enable()
337 u32 vxge_hw_device_set_intr_type(struct __vxge_hw_device *hldev, u32 intr_mode) in vxge_hw_device_set_intr_type() argument
346 hldev->config.intr_mode = intr_mode; in vxge_hw_device_set_intr_type()
359 void vxge_hw_device_intr_enable(struct __vxge_hw_device *hldev) in vxge_hw_device_intr_enable() argument
365 vxge_hw_device_mask_all(hldev); in vxge_hw_device_intr_enable()
369 if (!(hldev->vpaths_deployed & vxge_mBIT(i))) in vxge_hw_device_intr_enable()
373 VXGE_HW_VIRTUAL_PATH_HANDLE(&hldev->virtual_paths[i])); in vxge_hw_device_intr_enable()
376 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) { in vxge_hw_device_intr_enable()
377 val64 = hldev->tim_int_mask0[VXGE_HW_VPATH_INTR_TX] | in vxge_hw_device_intr_enable()
378 hldev->tim_int_mask0[VXGE_HW_VPATH_INTR_RX]; in vxge_hw_device_intr_enable()
[all …]
Dvxge-main.c148 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
[all …]
Dvxge-config.h553 struct __vxge_hw_device *hldev; member
681 struct __vxge_hw_device *hldev; member
846 #define VXGE_HW_DEVICE_LINK_STATE_SET(hldev, ls) (hldev->link_state = ls) argument
871 status = vxge_hw_mrpcim_stats_access(hldev, \
2023 vxge_hw_vpath_strip_fcs_check(struct __vxge_hw_device *hldev, u64 vpath_mask);
2069 vxge_hw_device_wait_receive_idle(struct __vxge_hw_device *hldev);
2072 vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major,
2075 enum vxge_hw_status vxge_hw_flash_fw(struct __vxge_hw_device *hldev);
2078 vxge_update_fw_image(struct __vxge_hw_device *hldev, const u8 *filebuf,
2082 vxge_hw_vpath_eprom_img_ver_get(struct __vxge_hw_device *hldev,
[all …]
Dvxge-ethtool.c135 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_gregs() local
142 status = vxge_hw_mgmt_reg_read(hldev, in vxge_ethtool_gregs()
169 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_idnic() local
173 vxge_hw_device_flick_link_led(hldev, VXGE_FLICKER_ON); in vxge_ethtool_idnic()
177 vxge_hw_device_flick_link_led(hldev, VXGE_FLICKER_OFF); in vxge_ethtool_idnic()
200 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_getpause_data() local
202 vxge_hw_device_getpause_data(hldev, 0, &ep->tx_pause, &ep->rx_pause); in vxge_ethtool_getpause_data()
219 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_setpause_data() local
221 vxge_hw_device_setpause_data(hldev, 0, ep->tx_pause, ep->rx_pause); in vxge_ethtool_setpause_data()
237 struct __vxge_hw_device *hldev = vdev->devh; in vxge_get_ethtool_stats() local
[all …]