Lines Matching refs:hw_data
37 struct adf_hw_device_data *hw_data; in adf_probe() local
72 hw_data = devm_kzalloc(&pdev->dev, sizeof(*hw_data), GFP_KERNEL); in adf_probe()
73 if (!hw_data) { in adf_probe()
78 accel_dev->hw_device = hw_data; in adf_probe()
82 pci_read_config_dword(pdev, ADF_GEN4_FUSECTL4_OFFSET, &hw_data->fuses); in adf_probe()
85 hw_data->accel_mask = hw_data->get_accel_mask(hw_data); in adf_probe()
86 hw_data->ae_mask = hw_data->get_ae_mask(hw_data); in adf_probe()
87 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe()
89 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe()
90 (~hw_data->ae_mask & 0x01)) { in adf_probe()
122 hw_data->accel_capabilities_mask = hw_data->get_accel_cap(accel_dev); in adf_probe()
123 if (!hw_data->accel_capabilities_mask) { in adf_probe()