/arch/um/drivers/ |
D | chan.h | 15 struct chan { struct 26 const struct chan_ops *ops; argument 33 extern int write_chan(struct chan *chan, const char *buf, int len, argument
|
D | chan_kern.c | 84 static int open_one_chan(struct chan *chan) in open_one_chan() 113 struct chan *chan; in open_chan() local 125 void chan_enable_winch(struct chan *chan, struct tty_port *port) in chan_enable_winch() 142 struct chan *chan; in enable_chan() local 185 struct chan *chan; in free_irqs() local 205 static void close_one_chan(struct chan *chan, int delay_free_irq) in close_one_chan() 232 struct chan *chan; in close_chan() local 244 void deactivate_chan(struct chan *chan, int irq) in deactivate_chan() 250 int write_chan(struct chan *chan, const char *buf, int len, in write_chan() 265 int console_write_chan(struct chan *chan, const char *buf, int len) in console_write_chan() [all …]
|
/arch/arm/kernel/ |
D | dma.c | 28 static inline dma_t *dma_channel(unsigned int chan) in dma_channel() 36 int __init isa_dma_add(unsigned int chan, dma_t *dma) in isa_dma_add() 54 int request_dma(unsigned int chan, const char *device_id) in request_dma() 92 void free_dma(unsigned int chan) in free_dma() 121 void set_dma_sg (unsigned int chan, struct scatterlist *sg, int nr_sg) in set_dma_sg() 138 void __set_dma_addr (unsigned int chan, void *addr) in __set_dma_addr() 155 void set_dma_count (unsigned int chan, unsigned long count) in set_dma_count() 170 void set_dma_mode (unsigned int chan, unsigned int mode) in set_dma_mode() 184 void enable_dma (unsigned int chan) in enable_dma() 205 void disable_dma (unsigned int chan) in disable_dma() [all …]
|
D | dma-isa.c | 44 static int isa_get_dma_residue(unsigned int chan, dma_t *dma) in isa_get_dma_residue() 61 static void isa_enable_dma(unsigned int chan, dma_t *dma) in isa_enable_dma() 125 static void isa_disable_dma(unsigned int chan, dma_t *dma) in isa_disable_dma() 178 unsigned int chan, i; in isa_init_dma() local
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1000_dma.h | 156 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer0() local 165 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer1() local 173 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffers() local 182 struct dma_chan *chan = get_dma_chan(dmanr); in start_dma() local 193 struct dma_chan *chan = get_dma_chan(dmanr); in halt_dma() local 210 struct dma_chan *chan = get_dma_chan(dmanr); in disable_dma() local 223 struct dma_chan *chan = get_dma_chan(dmanr); in dma_halted() local 233 struct dma_chan *chan = get_dma_chan(dmanr); in init_dma() local 257 struct dma_chan *chan = get_dma_chan(dmanr); in set_dma_mode() local 273 struct dma_chan *chan = get_dma_chan(dmanr); in get_dma_mode() local [all …]
|
/arch/sh/drivers/dma/ |
D | dma-sh.c | 39 static unsigned long dma_find_base(unsigned int chan) in dma_find_base() 51 static unsigned long dma_base_addr(unsigned int chan) in dma_base_addr() 65 static inline unsigned int get_dmte_irq(unsigned int chan) in get_dmte_irq() 87 static inline unsigned int get_dmte_irq(unsigned int chan) in get_dmte_irq() 103 static inline unsigned int calc_xmit_shift(struct dma_channel *chan) in calc_xmit_shift() 120 struct dma_channel *chan = dev_id; in dma_tei() local 136 static int sh_dmac_request_dma(struct dma_channel *chan) in sh_dmac_request_dma() 145 static void sh_dmac_free_dma(struct dma_channel *chan) in sh_dmac_free_dma() 151 sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) in sh_dmac_configure_channel() 169 static void sh_dmac_enable_dma(struct dma_channel *chan) in sh_dmac_enable_dma() [all …]
|
D | dma-api.c | 24 struct dma_info *get_dma_info(unsigned int chan) in get_dma_info() 73 struct dma_channel *get_dma_channel(unsigned int chan) in get_dma_channel() 92 int get_dma_residue(unsigned int chan) in get_dma_residue() 191 int request_dma(unsigned int chan, const char *dev_id) in request_dma() 215 void free_dma(unsigned int chan) in free_dma() 227 void dma_wait_for_completion(unsigned int chan) in dma_wait_for_completion() 272 void dma_configure_channel(unsigned int chan, unsigned long flags) in dma_configure_channel() 282 int dma_xfer(unsigned int chan, unsigned long from, in dma_xfer() 297 int dma_extend(unsigned int chan, unsigned long op, void *param) in dma_extend() 371 struct dma_channel *chan = &info->channels[i]; in register_dmac() local
|
D | dma-pvr2.c | 38 static int pvr2_request_dma(struct dma_channel *chan) in pvr2_request_dma() 48 static int pvr2_get_dma_residue(struct dma_channel *chan) in pvr2_get_dma_residue() 53 static int pvr2_xfer_dma(struct dma_channel *chan) in pvr2_xfer_dma()
|
D | dma-g2.c | 61 struct dma_channel *chan = info->channels + i; in g2_dma_interrupt() local 73 static int g2_enable_dma(struct dma_channel *chan) in g2_enable_dma() 83 static int g2_disable_dma(struct dma_channel *chan) in g2_disable_dma() 93 static int g2_xfer_dma(struct dma_channel *chan) in g2_xfer_dma() 149 static int g2_get_residue(struct dma_channel *chan) in g2_get_residue()
|
D | dma-sysfs.c | 121 int dma_create_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_create_sysfs_files() 149 void dma_remove_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_remove_sysfs_files()
|
/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 129 static void pasemi_free_tx_chan(int chan) in pasemi_free_tx_chan() 148 static void pasemi_free_rx_chan(int chan) in pasemi_free_rx_chan() 173 struct pasemi_dmachan *chan; in pasemi_dma_alloc_chan() local 214 void pasemi_dma_free_chan(struct pasemi_dmachan *chan) in pasemi_dma_free_chan() 240 int pasemi_dma_alloc_ring(struct pasemi_dmachan *chan, int ring_size) in pasemi_dma_alloc_ring() 262 void pasemi_dma_free_ring(struct pasemi_dmachan *chan) in pasemi_dma_free_ring() 280 void pasemi_dma_start_chan(const struct pasemi_dmachan *chan, const u32 cmdsta) in pasemi_dma_start_chan() 304 int pasemi_dma_stop_chan(const struct pasemi_dmachan *chan) in pasemi_dma_stop_chan() 347 void *pasemi_dma_alloc_buf(struct pasemi_dmachan *chan, int size, in pasemi_dma_alloc_buf() 361 void pasemi_dma_free_buf(struct pasemi_dmachan *chan, int size, in pasemi_dma_free_buf()
|
/arch/arm/mach-rpc/ |
D | dma.c | 134 static int iomd_request_dma(unsigned int chan, dma_t *dma) in iomd_request_dma() 142 static void iomd_free_dma(unsigned int chan, dma_t *dma) in iomd_free_dma() 155 static void iomd_enable_dma(unsigned int chan, dma_t *dma) in iomd_enable_dma() 192 static void iomd_disable_dma(unsigned int chan, dma_t *dma) in iomd_disable_dma() 205 static int iomd_set_dma_speed(unsigned int chan, dma_t *dma, int cycle) in iomd_set_dma_speed() 265 static void floppy_enable_dma(unsigned int chan, dma_t *dma) in floppy_enable_dma() 299 static void floppy_disable_dma(unsigned int chan, dma_t *dma) in floppy_disable_dma() 306 static int floppy_get_residue(unsigned int chan, dma_t *dma) in floppy_get_residue() 323 static void sound_enable_disable_dma(unsigned int chan, dma_t *dma) in sound_enable_disable_dma()
|
/arch/mips/alchemy/common/ |
D | dma.c | 104 struct dma_chan *chan; in au1000_dma_read_proc() local 136 struct dma_chan *chan; in dump_au1000_dma_channel() local 167 struct dma_chan *chan; in request_au1000_dma() local 223 struct dma_chan *chan = get_dma_chan(dmanr); in free_au1000_dma() local
|
/arch/sh/drivers/pci/ |
D | ops-sh4.c | 25 struct pci_channel *chan = bus->sysdata; in sh4_pci_read() local 63 struct pci_channel *chan = bus->sysdata; in sh4_pci_write() local 101 int __attribute__((weak)) pci_fixup_pcic(struct pci_channel *chan) in pci_fixup_pcic()
|
D | pcie-sh7786.c | 152 static int __init phy_wait_for_ack(struct pci_channel *chan) in phy_wait_for_ack() 166 static int __init pci_wait_for_irq(struct pci_channel *chan, unsigned int mask) in pci_wait_for_irq() 180 static void __init phy_write_reg(struct pci_channel *chan, unsigned int addr, in phy_write_reg() 203 struct pci_channel *chan = port->hose; in pcie_clk_init() local 258 struct pci_channel *chan = port->hose; in phy_init() local 291 struct pci_channel *chan = port->hose; in pcie_reset() local 301 struct pci_channel *chan = port->hose; in pcie_init() local
|
D | pci-sh7751.c | 19 static int __init __area_sdram_check(struct pci_channel *chan, in __area_sdram_check() 77 struct pci_channel *chan = &sh7751_pci_controller; in sh7751_pci_init() local
|
D | fixups-landisk.c | 39 int pci_fixup_pcic(struct pci_channel *chan) in pci_fixup_pcic()
|
D | fixups-rts7751r2d.c | 39 int pci_fixup_pcic(struct pci_channel *chan) in pci_fixup_pcic()
|
D | fixups-se7751.c | 39 int pci_fixup_pcic(struct pci_channel *chan) in pci_fixup_pcic()
|
/arch/arm/include/asm/ |
D | dma.h | 54 #define clear_dma_ff(chan) argument 108 #define set_dma_addr(chan, addr) \ argument
|
/arch/sh/include/asm/ |
D | dma.h | 66 unsigned int chan; /* DMAC channel number */ member 112 #define dma_write(chan, from, to, size) \ argument 114 #define dma_write_page(chan, from, to) \ argument 117 #define dma_read(chan, from, to, size) \ argument 119 #define dma_read_page(chan, from, to) \ argument
|
/arch/mips/kernel/ |
D | rtlx.c | 38 struct rtlx_channel *chan = &rtlx->channel[i]; in dump_rtlx() local 94 struct rtlx_channel *chan; in rtlx_open() local 194 struct rtlx_channel *chan; in rtlx_read_poll() local 236 struct rtlx_channel *chan = &rtlx->channel[index]; in rtlx_write_poll() local
|
/arch/m68k/mac/ |
D | iop.c | 327 int iop_listen(uint iop_num, uint chan, in iop_listen() 348 int chan = msg->channel; in iop_complete_message() local 392 static void iop_handle_send(uint iop_num, uint chan) in iop_handle_send() 422 static void iop_handle_recv(uint iop_num, uint chan) in iop_handle_recv() 465 int iop_send_message(uint iop_num, uint chan, void *privdata, in iop_send_message()
|
/arch/m68k/include/asm/ |
D | mac_asc.h | 18 #define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte)) argument
|
/arch/mips/include/asm/sibyte/ |
D | sb1250_regs.h | 163 #define A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) \ argument 169 #define R_MAC_DMA_CHANNEL_BASE(txrx, chan) \ argument 174 #define A_MAC_DMA_REGISTER(macnum, txrx, chan, reg) \ argument 178 #define R_MAC_DMA_REGISTER(txrx, chan, reg) \ argument 269 #define A_DUART_CHANREG(chan, reg) \ argument 300 #define R_DUART_IMRREG(chan) \ argument 302 #define R_DUART_ISRREG(chan) \ argument 304 #define R_DUART_INCHREG(chan) \ argument 307 #define A_DUART_IMRREG(chan) A_DUART_CTRLREG(R_DUART_IMRREG(chan)) argument 308 #define A_DUART_ISRREG(chan) A_DUART_CTRLREG(R_DUART_ISRREG(chan)) argument [all …]
|