Searched refs:asic_data (Results 1 – 7 of 7) sorted by relevance
282 bus = target ? dd->asic_data->i2c_bus1 : dd->asic_data->i2c_bus0; in __i2c_write()321 bus = target ? dd->asic_data->i2c_bus1 : dd->asic_data->i2c_bus0; in __i2c_read()
1449 mutex_lock(&dd->asic_data->asic_resource_mutex); in __acquire_chip_resource()1470 mutex_unlock(&dd->asic_data->asic_resource_mutex); in __acquire_chip_resource()1514 mutex_lock(&dd->asic_data->asic_resource_mutex); in release_chip_resource()1535 mutex_unlock(&dd->asic_data->asic_resource_mutex); in release_chip_resource()1568 mutex_lock(&dd->asic_data->asic_resource_mutex); in clear_chip_resources()1585 mutex_unlock(&dd->asic_data->asic_resource_mutex); in clear_chip_resources()
1144 if (!dd->asic_data) in release_asic_data()1146 dd->asic_data->dds[dd->hfi1_id] = NULL; in release_asic_data()1148 ad = dd->asic_data; in release_asic_data()1149 dd->asic_data = NULL; in release_asic_data()
574 mutex_lock(&dd->asic_data->asic_resource_mutex); in asic_flags_write()584 mutex_unlock(&dd->asic_data->asic_resource_mutex); in asic_flags_write()
14880 struct hfi1_asic_data *asic_data; in init_asic_data() local14884 asic_data = kzalloc(sizeof(*dd->asic_data), GFP_KERNEL); in init_asic_data()14885 if (!asic_data) in init_asic_data()14898 dd->asic_data = peer->asic_data; in init_asic_data()14899 kfree(asic_data); in init_asic_data()14901 dd->asic_data = asic_data; in init_asic_data()14902 mutex_init(&dd->asic_data->asic_resource_mutex); in init_asic_data()14904 dd->asic_data->dds[dd->hfi1_id] = dd; /* self back-pointer */ in init_asic_data()14909 ret = set_up_i2c(dd, dd->asic_data); in init_asic_data()
1082 struct hfi1_asic_data *asic_data; member
803 static void write_asic(unsigned int ioaddr, int location, short asic_data) in write_asic() argument810 asic_data |= read_eeprom(ioaddr, location); in write_asic()830 dataval = (asic_data & (1 << i)) ? EE_ADOT : 0; in write_asic()