Lines Matching refs:slot
47 * @slot: Slot to free
50 static void iop_adma_free_slots(struct iop_adma_desc_slot *slot)
52 int stride = slot->slots_per_op;
55 slot->slots_per_op = 0;
56 slot = list_entry(slot->slot_node.next,
187 "\tfree slot: %d slots_per_op: %d\n",
210 pr_debug("\tcookie: %d slot: %d busy: %d "
373 /* give up after finding the first busy slot
383 /* start the allocation if the slot is correctly aligned */
400 "allocated slot: %d "
496 * memcpy operations have a 1:1 (slot:operation) relation
504 dev_dbg(iop_chan->device->common.dev, "%s cookie: %d slot: %d\n",
528 struct iop_adma_desc_slot *slot = NULL;
540 slot = kzalloc(sizeof(*slot), GFP_KERNEL);
541 if (!slot) {
547 slot->hw_desc = (void *) &hw_desc[idx * IOP_ADMA_SLOT_SIZE];
549 dma_async_tx_descriptor_init(&slot->async_tx, chan);
550 slot->async_tx.tx_submit = iop_adma_tx_submit;
551 INIT_LIST_HEAD(&slot->tx_list);
552 INIT_LIST_HEAD(&slot->chain_node);
553 INIT_LIST_HEAD(&slot->slot_node);
555 slot->async_tx.phys =
557 slot->idx = idx;
561 list_add_tail(&slot->slot_node, &iop_chan->all_slots);