Lines Matching refs:slot
245 * @slot: Slot to free
249 struct mv_xor_desc_slot *slot)
251 dev_dbg(mv_chan->device->common.dev, "%s %d slot %p\n",
252 __func__, __LINE__, slot);
254 slot->slots_per_op = 0;
376 /* move this slot to the completed_slots */
481 /* give up after finding the first busy slot
491 /* start the allocation if the slot is correctly aligned */
615 struct mv_xor_desc_slot *slot = NULL;
623 slot = kzalloc(sizeof(*slot), GFP_KERNEL);
624 if (!slot) {
630 slot->hw_desc = (void *) &hw_desc[idx * MV_XOR_SLOT_SIZE];
632 dma_async_tx_descriptor_init(&slot->async_tx, chan);
633 slot->async_tx.tx_submit = mv_xor_tx_submit;
634 INIT_LIST_HEAD(&slot->chain_node);
635 INIT_LIST_HEAD(&slot->slot_node);
636 INIT_LIST_HEAD(&slot->tx_list);
638 slot->async_tx.phys =
640 slot->idx = idx++;
644 list_add_tail(&slot->slot_node, &mv_chan->all_slots);