Lines Matching refs:channels

26  * Each device has a channels list, which runs unlocked but is never modified
88 list_for_each_entry(chan, &dma_dev->channels, device_node) {
108 seq_printf(s, "dma%d (%s): number of channels: %u\n",
314 * If some channels are close to the given CPU, the one with the lowest
331 list_for_each_entry(chan, &device->channels, device_node) {
353 * dma_channel_rebalance - redistribute the available channels
357 * multi-tasking channels) in the non-SMP case.
376 list_for_each_entry(chan, &device->channels, device_node)
384 /* redistribute available channels */
552 * dma_issue_pending_all - flush all pending operations across all channels
563 list_for_each_entry(chan, &device->channels, device_node)
607 * distributed slave capabilities per device channels. In this
629 /* devices with multiple channels need special handling as we need to
630 * ensure that all channels are either private or public.
633 list_for_each_entry(chan, &dev->channels, device_node) {
634 /* some channels are already publicly allocated */
639 list_for_each_entry(chan, &dev->channels, device_node) {
749 * @fn: optional callback to disposition available channels
751 * @np: device node to look for DMA channels
941 /* try to grab channels */
945 list_for_each_entry(chan, &device->channels, device_node) {
958 /* if this is the first reference and there were channels
959 * waiting we need to rebalance to get those channels
983 list_for_each_entry(chan, &device->channels, device_node)
992 /* A device that satisfies this test has channels that will never cause
1204 /* represent channels in sysfs. Probably want devs too */
1205 list_for_each_entry(chan, &device->channels, device_node) {
1212 /* take references on public channels */
1214 list_for_each_entry(chan, &device->channels, device_node) {
1215 /* if clients are already waiting for channels we need
1220 * channel as the remaining channels are
1245 list_for_each_entry(chan, &device->channels, device_node) {
1263 * references to prevent it being called while channels are in use.
1271 list_for_each_entry_safe(chan, n, &device->channels, device_node)