Lines Matching refs:hw_data
76 struct adf_hw_device_data *hw_data; in adf_probe() local
117 hw_data = kzalloc_node(sizeof(*hw_data), GFP_KERNEL, in adf_probe()
119 if (!hw_data) { in adf_probe()
124 accel_dev->hw_device = hw_data; in adf_probe()
128 &hw_data->fuses); in adf_probe()
130 &hw_data->straps); in adf_probe()
133 hw_data->accel_mask = hw_data->get_accel_mask(hw_data); in adf_probe()
134 hw_data->ae_mask = hw_data->get_ae_mask(hw_data); in adf_probe()
135 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe()
137 if (!hw_data->accel_mask || !hw_data->ae_mask || in adf_probe()
138 ((~hw_data->ae_mask) & 0x01)) { in adf_probe()
146 hw_data->dev_class->name, pci_name(pdev)); in adf_probe()
174 hw_data->accel_capabilities_mask = hw_data->get_accel_cap(accel_dev); in adf_probe()