Searched refs:asic_data (Results 1 – 7 of 7) sorted by relevance
324 bus = target ? dd->asic_data->i2c_bus1 : dd->asic_data->i2c_bus0; in __i2c_write()363 bus = target ? dd->asic_data->i2c_bus1 : dd->asic_data->i2c_bus0; in __i2c_read()
1492 mutex_lock(&dd->asic_data->asic_resource_mutex); in __acquire_chip_resource()1513 mutex_unlock(&dd->asic_data->asic_resource_mutex); in __acquire_chip_resource()1557 mutex_lock(&dd->asic_data->asic_resource_mutex); in release_chip_resource()1578 mutex_unlock(&dd->asic_data->asic_resource_mutex); in release_chip_resource()1611 mutex_lock(&dd->asic_data->asic_resource_mutex); in clear_chip_resources()1628 mutex_unlock(&dd->asic_data->asic_resource_mutex); in clear_chip_resources()
1185 if (!dd->asic_data) in release_asic_data()1187 dd->asic_data->dds[dd->hfi1_id] = NULL; in release_asic_data()1189 ad = dd->asic_data; in release_asic_data()1190 dd->asic_data = NULL; in release_asic_data()
616 mutex_lock(&dd->asic_data->asic_resource_mutex); in asic_flags_write()626 mutex_unlock(&dd->asic_data->asic_resource_mutex); in asic_flags_write()
14927 struct hfi1_asic_data *asic_data; in init_asic_data() local14931 asic_data = kzalloc(sizeof(*dd->asic_data), GFP_KERNEL); in init_asic_data()14932 if (!asic_data) in init_asic_data()14945 dd->asic_data = peer->asic_data; in init_asic_data()14946 kfree(asic_data); in init_asic_data()14948 dd->asic_data = asic_data; in init_asic_data()14949 mutex_init(&dd->asic_data->asic_resource_mutex); in init_asic_data()14951 dd->asic_data->dds[dd->hfi1_id] = dd; /* self back-pointer */ in init_asic_data()14956 ret = set_up_i2c(dd, dd->asic_data); in init_asic_data()
1132 struct hfi1_asic_data *asic_data; member
793 static void write_asic(unsigned int ioaddr, int location, short asic_data) in write_asic() argument800 asic_data |= read_eeprom(ioaddr, location); in write_asic()820 dataval = (asic_data & (1 << i)) ? EE_ADOT : 0; in write_asic()