Lines Matching defs:slot
36 * @slot: Slot to free
39 static void iop_adma_free_slots(struct iop_adma_desc_slot *slot)
41 int stride = slot->slots_per_op;
44 slot->slots_per_op = 0;
45 slot = list_entry(slot->slot_node.next,
95 "\tfree slot: %d slots_per_op: %d\n",
118 pr_debug("\tcookie: %d slot: %d busy: %d "
282 /* give up after finding the first busy slot
292 /* start the allocation if the slot is correctly aligned */
309 "allocated slot: %d "
391 * memcpy operations have a 1:1 (slot:operation) relation
399 dev_dbg(iop_chan->device->common.dev, "%s cookie: %d slot: %d\n",
423 struct iop_adma_desc_slot *slot = NULL;
435 slot = kzalloc(sizeof(*slot), GFP_KERNEL);
436 if (!slot) {
442 slot->hw_desc = (void *) &hw_desc[idx * IOP_ADMA_SLOT_SIZE];
444 dma_async_tx_descriptor_init(&slot->async_tx, chan);
445 slot->async_tx.tx_submit = iop_adma_tx_submit;
446 INIT_LIST_HEAD(&slot->tx_list);
447 INIT_LIST_HEAD(&slot->chain_node);
448 INIT_LIST_HEAD(&slot->slot_node);
450 slot->async_tx.phys = dma_desc + idx * IOP_ADMA_SLOT_SIZE;
451 slot->idx = idx;
455 list_add_tail(&slot->slot_node, &iop_chan->all_slots);