Lines Matching refs:cs84xx
2403 ha->cs84xx = qla84xx_get_chip(vha);
2404 if (!ha->cs84xx) {
8476 struct qla_chip_state_84xx *cs84xx;
8482 list_for_each_entry(cs84xx, &qla_cs84xx_list, list) {
8483 if (cs84xx->bus == ha->pdev->bus) {
8484 kref_get(&cs84xx->kref);
8489 cs84xx = kzalloc(sizeof(*cs84xx), GFP_KERNEL);
8490 if (!cs84xx)
8493 kref_init(&cs84xx->kref);
8494 spin_lock_init(&cs84xx->access_lock);
8495 mutex_init(&cs84xx->fw_update_mutex);
8496 cs84xx->bus = ha->pdev->bus;
8498 list_add_tail(&cs84xx->list, &qla_cs84xx_list);
8501 return cs84xx;
8507 struct qla_chip_state_84xx *cs84xx =
8511 list_del(&cs84xx->list);
8513 kfree(cs84xx);
8521 if (ha->cs84xx)
8522 kref_put(&ha->cs84xx->kref, __qla84xx_chip_release);
8532 mutex_lock(&ha->cs84xx->fw_update_mutex);
8536 mutex_unlock(&ha->cs84xx->fw_update_mutex);