Searched refs:hldev (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/net/vxge/ |
D | vxge-config.c | 47 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() 224 vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major, in vxge_hw_upgrade_read_version() argument 231 vpath = &hldev->virtual_paths[hldev->first_vp_id]; in vxge_hw_upgrade_read_version() 248 enum vxge_hw_status vxge_hw_flash_fw(struct __vxge_hw_device *hldev) in vxge_hw_flash_fw() argument 255 vpath = &hldev->virtual_paths[hldev->first_vp_id]; in vxge_hw_flash_fw() 279 vxge_update_fw_image(struct __vxge_hw_device *hldev, const u8 *fwdata, int size) in vxge_update_fw_image() argument [all …]
|
D | vxge-traffic.c | 130 if (vpath->hldev->first_vp_id != vpath->vp_id) in vxge_hw_vpath_intr_enable() 341 u32 vxge_hw_device_set_intr_type(struct __vxge_hw_device *hldev, u32 intr_mode) in vxge_hw_device_set_intr_type() argument 350 hldev->config.intr_mode = intr_mode; in vxge_hw_device_set_intr_type() 365 void vxge_hw_device_intr_enable(struct __vxge_hw_device *hldev) in vxge_hw_device_intr_enable() argument 371 vxge_hw_device_mask_all(hldev); in vxge_hw_device_intr_enable() 375 if (!(hldev->vpaths_deployed & vxge_mBIT(i))) in vxge_hw_device_intr_enable() 379 VXGE_HW_VIRTUAL_PATH_HANDLE(&hldev->virtual_paths[i])); in vxge_hw_device_intr_enable() 382 if (hldev->config.intr_mode == VXGE_HW_INTR_MODE_IRQLINE) { in vxge_hw_device_intr_enable() 383 val64 = hldev->tim_int_mask0[VXGE_HW_VPATH_INTR_TX] | in vxge_hw_device_intr_enable() 384 hldev->tim_int_mask0[VXGE_HW_VPATH_INTR_RX]; in vxge_hw_device_intr_enable() [all …]
|
D | vxge-main.c | 143 static void vxge_callback_link_up(struct __vxge_hw_device *hldev) in vxge_callback_link_up() argument 145 struct net_device *dev = hldev->ndev; in vxge_callback_link_up() 166 static void vxge_callback_link_down(struct __vxge_hw_device *hldev) in vxge_callback_link_down() argument 168 struct net_device *dev = hldev->ndev; in vxge_callback_link_down() 731 struct __vxge_hw_device *hldev; in vxge_learn_mac() local 733 hldev = pci_get_drvdata(vdev->pdev); in vxge_learn_mac() 1128 struct __vxge_hw_device *hldev; in vxge_set_multicast() local 1142 hldev = (struct __vxge_hw_device *)vdev->devh; in vxge_set_multicast() 1291 struct __vxge_hw_device *hldev; in vxge_set_mac_addr() local 1299 hldev = vdev->devh; in vxge_set_mac_addr() [all …]
|
D | vxge-config.h | 547 struct __vxge_hw_device *hldev; member 675 struct __vxge_hw_device *hldev; member 840 #define VXGE_HW_DEVICE_LINK_STATE_SET(hldev, ls) (hldev->link_state = ls) argument 865 status = vxge_hw_mrpcim_stats_access(hldev, \ 2042 vxge_hw_vpath_strip_fcs_check(struct __vxge_hw_device *hldev, u64 vpath_mask); 2088 vxge_hw_device_wait_receive_idle(struct __vxge_hw_device *hldev); 2091 vxge_hw_upgrade_read_version(struct __vxge_hw_device *hldev, u32 *major, 2094 enum vxge_hw_status vxge_hw_flash_fw(struct __vxge_hw_device *hldev); 2097 vxge_update_fw_image(struct __vxge_hw_device *hldev, const u8 *filebuf, 2101 vxge_hw_vpath_eprom_img_ver_get(struct __vxge_hw_device *hldev, [all …]
|
D | vxge-ethtool.c | 112 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_gregs() local 119 status = vxge_hw_mgmt_reg_read(hldev, in vxge_ethtool_gregs() 148 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_idnic() local 150 vxge_hw_device_flick_link_led(hldev, VXGE_FLICKER_ON); in vxge_ethtool_idnic() 152 vxge_hw_device_flick_link_led(hldev, VXGE_FLICKER_OFF); in vxge_ethtool_idnic() 170 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_getpause_data() local 172 vxge_hw_device_getpause_data(hldev, 0, &ep->tx_pause, &ep->rx_pause); in vxge_ethtool_getpause_data() 189 struct __vxge_hw_device *hldev = vdev->devh; in vxge_ethtool_setpause_data() local 191 vxge_hw_device_setpause_data(hldev, 0, ep->tx_pause, ep->rx_pause); in vxge_ethtool_setpause_data() 207 struct __vxge_hw_device *hldev = vdev->devh; in vxge_get_ethtool_stats() local [all …]
|