Lines Matching refs:hw_data
78 struct adf_hw_device_data *hw_data; in adf_probe() local
118 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
120 if (!hw_data) { in adf_probe()
125 accel_dev->hw_device = hw_data; in adf_probe()
129 &hw_data->fuses); in adf_probe()
131 &hw_data->straps); in adf_probe()
134 hw_data->accel_mask = hw_data->get_accel_mask(hw_data); in adf_probe()
135 hw_data->ae_mask = hw_data->get_ae_mask(hw_data); in adf_probe()
136 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe()
138 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe()
139 ((~hw_data->ae_mask) & 0x01)) { in adf_probe()
169 hw_data->accel_capabilities_mask = hw_data->get_accel_cap(accel_dev); in adf_probe()
172 i = (hw_data->fuses & ADF_DEVICE_FUSECTL_MASK) ? 1 : 0; in adf_probe()