Lines Matching refs:hw_data
39 struct adf_hw_device_data *hw_data; in adf_probe() local
74 hw_data = devm_kzalloc(&pdev->dev, sizeof(*hw_data), GFP_KERNEL); in adf_probe()
75 if (!hw_data) { in adf_probe()
80 accel_dev->hw_device = hw_data; in adf_probe()
84 pci_read_config_dword(pdev, ADF_GEN4_FUSECTL4_OFFSET, &hw_data->fuses); in adf_probe()
87 hw_data->accel_mask = hw_data->get_accel_mask(hw_data); in adf_probe()
88 hw_data->ae_mask = hw_data->get_ae_mask(hw_data); in adf_probe()
89 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe()
91 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe()
92 (~hw_data->ae_mask & 0x01)) { in adf_probe()
124 hw_data->accel_capabilities_mask = hw_data->get_accel_cap(accel_dev); in adf_probe()
125 if (!hw_data->accel_capabilities_mask) { in adf_probe()