Lines Matching defs:ascb
298 struct asd_ascb *ascb)
300 INIT_LIST_HEAD(&ascb->list);
301 ascb->scb = ascb->dma_scb.vaddr;
302 ascb->ha = asd_ha;
303 ascb->timer.function = NULL;
304 init_timer(&ascb->timer);
305 ascb->tc_index = -1;
306 init_completion(&ascb->completion);
343 * @ascb: pointer to the aSCB of interest
348 static inline void asd_ascb_free(struct asd_ascb *ascb)
350 if (ascb) {
351 struct asd_ha_struct *asd_ha = ascb->ha;
354 BUG_ON(!list_empty(&ascb->list));
355 spin_lock_irqsave(&ascb->ha->seq.tc_index_lock, flags);
356 asd_tc_index_release(&ascb->ha->seq, ascb->tc_index);
357 spin_unlock_irqrestore(&ascb->ha->seq.tc_index_lock, flags);
358 dma_pool_free(asd_ha->scb_pool, ascb->dma_scb.vaddr,
359 ascb->dma_scb.dma_handle);
360 kmem_cache_free(asd_ascb_cache, ascb);
394 int asd_post_ascb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb,
396 int asd_post_escb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb,
400 void asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc);
404 void asd_build_initiate_link_adm_task(struct asd_ascb *ascb, int phy_id,