Home
last modified time | relevance | path

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

/openbmc/qemu/hw/misc/macio/
H A Dmac_dbdma.c122 dbdma_cmd *current = &ch->current; in conditional_interrupt()
166 dbdma_cmd *current = &ch->current; in conditional_wait()
219 dbdma_cmd *current = &ch->current; in branch()
228 dbdma_cmd *current = &ch->current; in conditional_branch()
282 dbdma_cmd *current = &ch->current; in dbdma_end()
362 dbdma_cmd *current = &ch->current; in load_word()
394 dbdma_cmd *current = &ch->current; in store_word()
426 dbdma_cmd *current = &ch->current; in nop()
450 dbdma_cmd *current = &ch->current; in channel_run()
843 dbdma_cmd),
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Ddbdma.h45 struct dbdma_cmd { struct
92 #define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \
93 & -sizeof(struct dbdma_cmd))
/openbmc/linux/drivers/net/ethernet/packetengines/
H A Dyellowfin.c267 __le32 dbdma_cmd; member
738 yp->rx_ring[i].dbdma_cmd = in yellowfin_init_ring()
768 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring()
786 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
793 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring()
850 yp->tx_ring[TX_RING_SIZE-1].dbdma_cmd = in yellowfin_start_xmit()
854 yp->tx_ring[entry].dbdma_cmd = in yellowfin_start_xmit()
873 yp->tx_ring[entry<<1].dbdma_cmd = in yellowfin_start_xmit()
1075 data_size = (le32_to_cpu(desc->dbdma_cmd) - in yellowfin_rx()
1179 yp->rx_ring[entry - 1].dbdma_cmd = in yellowfin_rx()
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dmac_dbdma.h93 typedef struct dbdma_cmd { struct
100 } dbdma_cmd; argument
157 dbdma_cmd current;
/openbmc/linux/drivers/net/ethernet/apple/
H A 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))
196 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe()
200 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
439 volatile struct dbdma_cmd *cp; in mace_open()
449 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); in mace_open()
538 volatile struct dbdma_cmd *cp, *np; in mace_xmit_start()
668 volatile struct dbdma_cmd *cp; in mace_interrupt()
815 volatile struct dbdma_cmd *cp; in mace_tx_timeout()
[all …]
H A 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()
557 bmac_construct_xmt(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_xmt()
610 (N_RX_RING + 1) * sizeof(struct dbdma_cmd)); in bmac_init_rx_ring()
675 volatile struct dbdma_cmd *cp; in bmac_rxdma_intr()
748 volatile struct dbdma_cmd *cp; in bmac_txdma_intr()
1312 bp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(bp + 1); in bmac_probe()
1474 volatile struct dbdma_cmd *cp; in bmac_tx_timeout()
[all …]
/openbmc/linux/drivers/scsi/
H A Dmac53c94.c55 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */
362 struct dbdma_cmd *dcmds; in set_dma_cmds()
466 sizeof(struct dbdma_cmd), in mac53c94_probe()
475 state->dma_cmds = (struct dbdma_cmd *)DBDMA_ALIGN(dma_cmd_space); in mac53c94_probe()
477 * sizeof(struct dbdma_cmd)); in mac53c94_probe()
H A Dmesh.c168 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */
1258 struct dbdma_cmd *dcmds; in set_dma_cmds()
1911 ms->dma_cmd_size = (mesh_host->sg_tablesize + 2) * sizeof(struct dbdma_cmd); in mesh_probe()
1924 ms->dma_cmds = (struct dbdma_cmd *) DBDMA_ALIGN(dma_cmd_space); in mesh_probe()
/openbmc/linux/sound/ppc/
H A Dpmac.c52 unsigned int rsize = sizeof(struct dbdma_cmd) * (size + 1); in snd_pmac_dbdma_alloc()
69 unsigned int rsize = sizeof(struct dbdma_cmd) * (rec->size + 1); in snd_pmac_dbdma_free()
182 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_prepare()
246 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_trigger()
298 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_pointer()
382 volatile struct dbdma_cmd __iomem *cp) in snd_pmac_pcm_dead_xfer()
396 sizeof(struct dbdma_cmd)); in snd_pmac_pcm_dead_xfer()
415 + sizeof(struct dbdma_cmd)*((rec->cur_period+1)%rec->nperiods)); in snd_pmac_pcm_dead_xfer()
433 volatile struct dbdma_cmd __iomem *cp; in snd_pmac_pcm_update()
H A Dpmac.h43 struct dbdma_cmd __iomem *cmds;
/openbmc/linux/drivers/block/
H A Dswim3.c194 struct dbdma_cmd *dma_cmd;
203 char dbdma_cmd_space[5 * sizeof(struct dbdma_cmd)];
422 static inline void init_dma(struct dbdma_cmd *cp, int cmd, in init_dma()
435 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer()
662 struct dbdma_cmd *cp; in swim3_interrupt()
1158 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device()
1159 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
/openbmc/linux/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h33 struct dbdma_cmd *cmds;
H A Dpcm.c323 struct dbdma_cmd *command; in i2sbus_pcm_prepare()
370 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
387 (nperiods + 1) * sizeof(struct dbdma_cmd); in i2sbus_pcm_prepare()
H A Dcore.c45 r->size = (numcmds + 3) * sizeof(struct dbdma_cmd); in alloc_dbdma_descriptor_ring()
/openbmc/linux/drivers/macintosh/
H A Drack-meter.c43 struct dbdma_cmd cmd[4] ____cacheline_aligned;
169 struct dbdma_cmd *cmd = db->cmd; in rackmeter_setup_dbdma()
182 memset(cmd, 0, 4 * sizeof(struct dbdma_cmd)); in rackmeter_setup_dbdma()
/openbmc/linux/drivers/ata/
H A Dpata_macio.c240 struct dbdma_cmd * dma_table_cpu;
520 struct dbdma_cmd *table; in pata_macio_qc_prep()
529 table = (struct dbdma_cmd *) priv->dma_table_cpu; in pata_macio_qc_prep()
571 memset(table, 0, sizeof(struct dbdma_cmd)); in pata_macio_qc_prep()
726 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pata_macio_port_start()