Searched refs:pinstance (Results 1 – 2 of 2) sorted by relevance
140 struct pmcraid_instance *pinstance; in pmcraid_slave_alloc() local146 pinstance = shost_priv(scsi_dev->host); in pmcraid_slave_alloc()148 fw_version = be16_to_cpu(pinstance->inq_data->fw_version); in pmcraid_slave_alloc()155 spin_lock_irqsave(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()156 list_for_each_entry(temp, &pinstance->used_res_q, queue) { in pmcraid_slave_alloc()193 spin_unlock_irqrestore(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()360 struct pmcraid_instance *pinstance in pmcraid_get_free_cmd() argument367 spin_lock_irqsave(&pinstance->free_pool_lock, lock_flags); in pmcraid_get_free_cmd()369 if (!list_empty(&pinstance->free_cmd_pool)) { in pmcraid_get_free_cmd()370 cmd = list_entry(pinstance->free_cmd_pool.next, in pmcraid_get_free_cmd()[all …]
98 extern VCHIQ_STATUS_T vchiq_initialise(VCHIQ_INSTANCE_T *pinstance);