• Home
  • Raw
  • Download

Lines Matching refs:hw_data

70 	struct adf_hw_device_data *hw_data = accel_dev->hw_device;  in adf_enable_pf2vf_interrupts()  local
72 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_enable_pf2vf_interrupts()
74 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x0); in adf_enable_pf2vf_interrupts()
87 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_pf2vf_interrupts() local
89 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in adf_disable_pf2vf_interrupts()
91 ADF_CSR_WR(pmisc_bar_addr, hw_data->get_vintmsk_offset(0), 0x2); in adf_disable_pf2vf_interrupts()
98 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_vf2pf_interrupts() local
100 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_enable_vf2pf_interrupts()
127 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_vf2pf_interrupts() local
129 &GET_BARS(accel_dev)[hw_data->get_misc_bar_id(hw_data)]; in adf_disable_vf2pf_interrupts()
152 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in __adf_iov_putmsg() local
154 pci_info->pci_bars[hw_data->get_misc_bar_id(hw_data)].virt_addr; in __adf_iov_putmsg()
163 pf2vf_offset = hw_data->get_pf2vf_offset(0); in __adf_iov_putmsg()
171 pf2vf_offset = hw_data->get_pf2vf_offset(vf_nr); in __adf_iov_putmsg()
269 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_req_hndl() local
270 int bar_id = hw_data->get_misc_bar_id(hw_data); in adf_vf2pf_req_hndl()
276 msg = ADF_CSR_RD(pmisc_addr, hw_data->get_pf2vf_offset(vf_nr)); in adf_vf2pf_req_hndl()
280 ADF_CSR_WR(pmisc_addr, hw_data->get_pf2vf_offset(vf_nr), msg); in adf_vf2pf_req_hndl()
301 if (vf_compat_ver < hw_data->min_iov_compat_ver) { in adf_vf2pf_req_hndl()
385 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_request_version() local
418 if (accel_dev->vf.pf_version >= hw_data->min_iov_compat_ver) in adf_vf2pf_request_version()