Lines Matching refs:rf
58 iwdev->rf->reset = true; in i40iw_close()
66 static void i40iw_request_reset(struct irdma_pci_f *rf) in i40iw_request_reset() argument
68 struct i40e_info *cdev_info = rf->cdev; in i40iw_request_reset()
75 struct irdma_pci_f *rf = iwdev->rf; in i40iw_fill_device_info() local
77 rf->rdma_ver = IRDMA_GEN_1; in i40iw_fill_device_info()
78 rf->gen_ops.request_reset = i40iw_request_reset; in i40iw_fill_device_info()
79 rf->pcidev = cdev_info->pcidev; in i40iw_fill_device_info()
80 rf->pf_id = cdev_info->fid; in i40iw_fill_device_info()
81 rf->hw.hw_addr = cdev_info->hw_addr; in i40iw_fill_device_info()
82 rf->cdev = cdev_info; in i40iw_fill_device_info()
83 rf->msix_count = cdev_info->msix_count; in i40iw_fill_device_info()
84 rf->msix_entries = cdev_info->msix_entries; in i40iw_fill_device_info()
85 rf->limits_sel = 5; in i40iw_fill_device_info()
86 rf->protocol_used = IRDMA_IWARP_PROTOCOL_ONLY; in i40iw_fill_device_info()
87 rf->iwdev = iwdev; in i40iw_fill_device_info()
110 struct irdma_pci_f *rf; in i40iw_open() local
120 iwdev->rf = kzalloc(sizeof(*rf), GFP_KERNEL); in i40iw_open()
121 if (!iwdev->rf) { in i40iw_open()
127 rf = iwdev->rf; in i40iw_open()
129 if (irdma_ctrl_init_hw(rf)) { in i40iw_open()
155 PCI_FUNC(rf->pcidev->devfn)); in i40iw_open()
162 irdma_ctrl_deinit_hw(rf); in i40iw_open()
164 kfree(iwdev->rf); in i40iw_open()