Defined in 2 files as a prototype:
- arch/arm/include/asm/dma.h, line 141 (as a prototype)
- arch/sh/include/asm/dma.h, line 120 (as a prototype)
Defined in 1 files as a member:
Defined in 2 files as a macro:
- arch/sparc/include/asm/floppy_32.h, line 82 (as a macro)
- arch/sparc/include/asm/floppy_64.h, line 77 (as a macro)
Defined in 9 files as a function:
- arch/alpha/include/asm/dma.h, line 340 (as a function)
- arch/arm/kernel/dma.c, line 251 (as a function)
- arch/mips/include/asm/dma.h, line 291 (as a function)
- arch/mips/include/asm/mach-au1x00/au1000_dma.h, line 431 (as a function)
- arch/parisc/include/asm/dma.h, line 94 (as a function)
- arch/powerpc/include/asm/dma.h, line 321 (as a function)
- arch/sh/drivers/dma/dma-api.c, line 77 (as a function)
- arch/sparc/include/asm/parport_64.h, line 106 (as a function)
- arch/x86/include/asm/dma.h, line 288 (as a function)
Referenced in 15 files:
- arch/arm/kernel/dma.c, line 261
- arch/mips/include/asm/mach-generic/floppy.h, line 83
- arch/parisc/include/asm/floppy.h, line 231
- arch/powerpc/include/asm/floppy.h, line 173
- arch/sh/drivers/dma/dma-api.c, line 87
- arch/sh/drivers/dma/dma-pvr2.c, line 23
- arch/sparc/include/asm/floppy_64.h
- arch/x86/include/asm/floppy.h, line 249
- drivers/block/floppy.c, line 260
- drivers/comedi/drivers/comedi_isadma.c
- drivers/gpib/nec7210/nec7210.c
- drivers/mmc/host/wbsd.c, line 702
- drivers/parport/parport_pc.c
- sound/core/isadma.c
- sound/soc/au1x/dma.c, line 273
Smatch caller information:
drivers/comedi/drivers/comedi_isadma.c comedi_isadma_disable() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dmanr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->spinlock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | spin_flags |
drivers/comedi/drivers/comedi_isadma.c comedi_isadma_poll() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| LOCK2 | global &dma_spin_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/comedi_isadma.c comedi_isadma_poll() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &dev->spinlock | ||
| LOCK2 | flags | ||
| LOCK2 | global &dma_spin_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
sound/core/isadma.c snd_dma_pointer() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dmanr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | irq |
sound/core/isadma.c snd_dma_pointer() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dmanr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &atimer->lock | ||
| HALF_LOCKED2 | irq |
drivers/mmc/host/wbsd.c wbsd_finish_data() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmanr | 0-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &host->lock | ||
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct wbsd_host)->lock |
drivers/parport/parport_pc.c parport_pc_fifo_write_block_dma() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &port->physport->ieee1284.irq | ||
| LOCK2 | global &dma_spin_lock | ||
| TYPE_LOCK | (struct ieee1284_info)->irq |
drivers/parport/parport_pc.c parport_pc_fifo_write_block_dma() -> get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &port->physport->ieee1284.irq |
drivers/block/floppy.c raw_cmd_done() -> (struct fd_routine_l)->_get_dma_residue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dmanr | 2 |
| LOCK2 | global &dma_spin_lock | ||
| HALF_LOCKED2 | &pool->lock |