Lines Matching refs:cs84xx
2788 ha->cs84xx = qla84xx_get_chip(vha);
2789 if (!ha->cs84xx) {
8962 struct qla_chip_state_84xx *cs84xx;
8968 list_for_each_entry(cs84xx, &qla_cs84xx_list, list) {
8969 if (cs84xx->bus == ha->pdev->bus) {
8970 kref_get(&cs84xx->kref);
8975 cs84xx = kzalloc(sizeof(*cs84xx), GFP_KERNEL);
8976 if (!cs84xx)
8979 kref_init(&cs84xx->kref);
8980 spin_lock_init(&cs84xx->access_lock);
8981 mutex_init(&cs84xx->fw_update_mutex);
8982 cs84xx->bus = ha->pdev->bus;
8984 list_add_tail(&cs84xx->list, &qla_cs84xx_list);
8987 return cs84xx;
8993 struct qla_chip_state_84xx *cs84xx =
8997 list_del(&cs84xx->list);
8999 kfree(cs84xx);
9007 if (ha->cs84xx)
9008 kref_put(&ha->cs84xx->kref, __qla84xx_chip_release);
9018 mutex_lock(&ha->cs84xx->fw_update_mutex);
9022 mutex_unlock(&ha->cs84xx->fw_update_mutex);