Lines Matching refs:hw_data
17 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_enable_vf2pf_interrupts() local
19 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in __adf_enable_vf2pf_interrupts()
50 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_disable_vf2pf_interrupts() local
52 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in __adf_disable_vf2pf_interrupts()
90 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_iov_putmsg() local
92 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in __adf_iov_putmsg()
101 pf2vf_offset = hw_data->get_pf2vf_offset(0); in __adf_iov_putmsg()
109 pf2vf_offset = hw_data->get_pf2vf_offset(vf_nr); in __adf_iov_putmsg()
189 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_req_hndl() local
190 int bar_id = hw_data->get_misc_bar_id(hw_data); in adf_vf2pf_req_hndl()
196 msg = ADF_CSR_RD(pmisc_addr, hw_data->get_pf2vf_offset(vf_nr)); in adf_vf2pf_req_hndl()
205 ADF_CSR_WR(pmisc_addr, hw_data->get_pf2vf_offset(vf_nr), msg); in adf_vf2pf_req_hndl()
226 if (vf_compat_ver < hw_data->min_iov_compat_ver) { in adf_vf2pf_req_hndl()
312 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_request_version() local
345 if (accel_dev->vf.pf_version >= hw_data->min_iov_compat_ver) { in adf_vf2pf_request_version()