Home
last modified time | relevance | path

Searched refs:dbdma_cmd (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Ddbdma.h45 struct dbdma_cmd { struct
92 #define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \
93 & -sizeof(struct dbdma_cmd))
/Linux-v4.19/drivers/net/ethernet/packetengines/
Dyellowfin.c267 __le32 dbdma_cmd; member
731 yp->rx_ring[i].dbdma_cmd = in yellowfin_init_ring()
751 yp->rx_ring[i-1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
759 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
764 yp->tx_ring[--i].dbdma_cmd = cpu_to_le32(CMD_STOP | BRANCH_ALWAYS); in yellowfin_init_ring()
772 yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
777 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
784 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
797 yp->tx_ring[++j].dbdma_cmd |= cpu_to_le32(BRANCH_ALWAYS | INTR_ALWAYS); in yellowfin_init_ring()
839 yp->tx_ring[0].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit()
[all …]
/Linux-v4.19/drivers/net/ethernet/apple/
Dmace.c50 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */
51 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */
77 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd))
194 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe()
198 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
433 volatile struct dbdma_cmd *cp; in mace_open()
443 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); in mace_open()
532 volatile struct dbdma_cmd *cp, *np; in mace_xmit_start()
662 volatile struct dbdma_cmd *cp; in mace_interrupt()
809 volatile struct dbdma_cmd *cp; in mace_tx_timeout()
[all …]
Dbmac.c65 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */
66 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */
139 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
196 dbdma_setcmd(volatile struct dbdma_cmd *cp, in dbdma_setcmd()
560 bmac_construct_xmt(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_xmt()
574 bmac_construct_rxbuff(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_rxbuff()
587 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
613 (N_RX_RING + 1) * sizeof(struct dbdma_cmd)); in bmac_init_rx_ring()
678 volatile struct dbdma_cmd *cp; in bmac_rxdma_intr()
751 volatile struct dbdma_cmd *cp; in bmac_txdma_intr()
[all …]
/Linux-v4.19/drivers/scsi/
Dmac53c94.c54 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */
365 struct dbdma_cmd *dcmds; in set_dma_cmds()
468 sizeof(struct dbdma_cmd), in mac53c94_probe()
476 state->dma_cmds = (struct dbdma_cmd *)DBDMA_ALIGN(dma_cmd_space); in mac53c94_probe()
478 * sizeof(struct dbdma_cmd)); in mac53c94_probe()
Dmesh.c167 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */
1261 struct dbdma_cmd *dcmds; in set_dma_cmds()
1913 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
1925 ms->dma_cmds = (struct dbdma_cmd *) DBDMA_ALIGN(dma_cmd_space); in mesh_probe()
/Linux-v4.19/sound/ppc/
Dpmac.c65 unsigned int rsize = sizeof(struct dbdma_cmd) * (size + 1); in snd_pmac_dbdma_alloc()
82 unsigned int rsize = sizeof(struct dbdma_cmd) * (rec->size + 1); in snd_pmac_dbdma_free()
213 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_prepare()
277 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_trigger()
329 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_pointer()
413 volatile struct dbdma_cmd __iomem *cp) in snd_pmac_pcm_dead_xfer()
427 sizeof(struct dbdma_cmd)); in snd_pmac_pcm_dead_xfer()
446 + sizeof(struct dbdma_cmd)*((rec->cur_period+1)%rec->nperiods)); in snd_pmac_pcm_dead_xfer()
464 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_update()
Dpmac.h55 struct dbdma_cmd __iomem *cmds;
/Linux-v4.19/drivers/block/
Dswim3.c197 struct dbdma_cmd *dma_cmd;
206 char dbdma_cmd_space[5 * sizeof(struct dbdma_cmd)];
240 static void init_dma(struct dbdma_cmd *cp, int cmd, void *buf, int count);
439 static inline void init_dma(struct dbdma_cmd *cp, int cmd, in init_dma()
452 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer()
681 struct dbdma_cmd *cp; in swim3_interrupt()
1170 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device()
1171 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
/Linux-v4.19/sound/aoa/soundbus/i2sbus/
Di2sbus.h34 struct dbdma_cmd *cmds;
Dpcm.c332 struct dbdma_cmd *command; in i2sbus_pcm_prepare()
379 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
396 (nperiods + 1) * sizeof(struct dbdma_cmd); in i2sbus_pcm_prepare()
Dcore.c46 r->size = (numcmds + 3) * sizeof(struct dbdma_cmd); in alloc_dbdma_descriptor_ring()
/Linux-v4.19/arch/mips/include/asm/mach-au1x00/
Dau1xxx_ide.h56 struct dbdma_cmd *dma_table_cpu;
/Linux-v4.19/drivers/macintosh/
Drack-meter.c46 struct dbdma_cmd cmd[4] ____cacheline_aligned;
171 struct dbdma_cmd *cmd = db->cmd; in rackmeter_setup_dbdma()
184 memset(cmd, 0, 4 * sizeof(struct dbdma_cmd)); in rackmeter_setup_dbdma()
/Linux-v4.19/drivers/ata/
Dpata_macio.c238 struct dbdma_cmd * dma_table_cpu;
516 struct dbdma_cmd *table; in pata_macio_qc_prep()
525 table = (struct dbdma_cmd *) priv->dma_table_cpu; in pata_macio_qc_prep()
564 memset(table, 0, sizeof(struct dbdma_cmd)); in pata_macio_qc_prep()
718 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pata_macio_port_start()
/Linux-v4.19/drivers/ide/
Dpmac.c74 struct dbdma_cmd* dma_table_cpu;
1461 struct dbdma_cmd *table; in pmac_ide_build_dmatable()
1468 table = (struct dbdma_cmd *) pmif->dma_table_cpu; in pmac_ide_build_dmatable()
1518 memset(table, 0, sizeof(struct dbdma_cmd)); in pmac_ide_build_dmatable()
1693 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pmac_ide_init_dma()