Lines Matching defs:cs84xx
559 ha->cs84xx = qla84xx_get_chip(vha);
560 if (!ha->cs84xx) {
4913 struct qla_chip_state_84xx *cs84xx;
4919 list_for_each_entry(cs84xx, &qla_cs84xx_list, list) {
4920 if (cs84xx->bus == ha->pdev->bus) {
4921 kref_get(&cs84xx->kref);
4926 cs84xx = kzalloc(sizeof(*cs84xx), GFP_KERNEL);
4927 if (!cs84xx)
4930 kref_init(&cs84xx->kref);
4931 spin_lock_init(&cs84xx->access_lock);
4932 mutex_init(&cs84xx->fw_update_mutex);
4933 cs84xx->bus = ha->pdev->bus;
4935 list_add_tail(&cs84xx->list, &qla_cs84xx_list);
4938 return cs84xx;
4944 struct qla_chip_state_84xx *cs84xx =
4948 list_del(&cs84xx->list);
4950 kfree(cs84xx);
4957 if (ha->cs84xx)
4958 kref_put(&ha->cs84xx->kref, __qla84xx_chip_release);
4968 mutex_lock(&ha->cs84xx->fw_update_mutex);
4972 mutex_unlock(&ha->cs84xx->fw_update_mutex);