Lines Matching full:lsb

19 /* Allocate the requested number of contiguous LSB slots
20 * from the LSB bitmap. Look in the private range for this
31 if (cmd_q->lsb >= 0) { in ccp_lsb_alloc()
37 return start + cmd_q->lsb * LSB_SIZE; in ccp_lsb_alloc()
67 /* Free a number of LSB slots from the bitmap, starting at
76 if (cmd_q->lsb == start) { in ccp_lsb_free()
77 /* An entry from the private LSB */ in ccp_lsb_free()
602 dev_dbg(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", in ccp_find_lsb_regions()
638 /* We found an available LSB in ccp_find_and_assign_lsb_to_q()
641 cmd_q->lsb = bitno; in ccp_find_and_assign_lsb_to_q()
644 "Queue %d gets LSB %d\n", in ccp_find_and_assign_lsb_to_q()
660 * find an LSB that can be assigned to the queue. If there are N queues that
662 * dedicated LSB. Remaining LSB regions become a shared resource.
663 * If we have fewer LSBs than queues, all LSB regions become shared resources.
685 /* We have enough LSBS to give every queue a private LSB. in ccp_assign_lsbs()
687 * constrained in LSB choice. When an LSB is privately in ccp_assign_lsbs()
704 * shared. Any zero bits in the lsb_pub mask represent an LSB region in ccp_assign_lsbs()
705 * that can't be used as a shared resource, so mark the LSB slots for in ccp_assign_lsbs()
900 dev_dbg(dev, "Loading LSB map...\n"); in ccp5_init()
901 /* Copy the private LSB mask to the public registers */ in ccp5_init()
928 /* Find the LSB regions accessible to the queue */ in ccp5_init()
930 cmd_q->lsb = -1; /* Unassigned value */ in ccp5_init()
940 /* Optimization: pre-allocate LSB slots for each queue */ in ccp5_init()