Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/include/asm/
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))
/linux-6.3-rc2/drivers/net/ethernet/packetengines/
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 …]
/linux-6.3-rc2/drivers/net/ethernet/apple/
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 …]
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 …]
/linux-6.3-rc2/drivers/scsi/
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()
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()
/linux-6.3-rc2/sound/ppc/
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()
A Dpmac.h43 struct dbdma_cmd __iomem *cmds;
/linux-6.3-rc2/drivers/block/
A Dswim3.c194 struct dbdma_cmd *dma_cmd;
203 char dbdma_cmd_space[5 * sizeof(struct dbdma_cmd)];
423 static inline void init_dma(struct dbdma_cmd *cp, int cmd, in init_dma()
436 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer()
663 struct dbdma_cmd *cp; in swim3_interrupt()
1159 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device()
1160 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
/linux-6.3-rc2/drivers/macintosh/
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()
/linux-6.3-rc2/sound/aoa/soundbus/i2sbus/
A Di2sbus.h33 struct dbdma_cmd *cmds;
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()
A Dcore.c45 r->size = (numcmds + 3) * sizeof(struct dbdma_cmd); in alloc_dbdma_descriptor_ring()
/linux-6.3-rc2/drivers/ata/
A Dpata_macio.c239 struct dbdma_cmd * dma_table_cpu;
519 struct dbdma_cmd *table; in pata_macio_qc_prep()
528 table = (struct dbdma_cmd *) priv->dma_table_cpu; in pata_macio_qc_prep()
567 memset(table, 0, sizeof(struct dbdma_cmd)); in pata_macio_qc_prep()
722 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pata_macio_port_start()

Completed in 36 milliseconds