Searched refs:dbdma_cmd (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/arch/powerpc/include/asm/ |
D | dbdma.h | 45 struct dbdma_cmd { struct 92 #define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \ 93 & -sizeof(struct dbdma_cmd))
|
/linux-6.1.9/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 267 __le32 dbdma_cmd; member 738 yp->rx_ring[i].dbdma_cmd = in yellowfin_init_ring() 760 yp->rx_ring[i-1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring() 768 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring() 773 yp->tx_ring[--i].dbdma_cmd = cpu_to_le32(CMD_STOP | BRANCH_ALWAYS); in yellowfin_init_ring() 781 yp->tx_ring[j].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() 806 yp->tx_ring[++j].dbdma_cmd |= cpu_to_le32(BRANCH_ALWAYS | INTR_ALWAYS); in yellowfin_init_ring() 849 yp->tx_ring[0].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit() [all …]
|
/linux-6.1.9/drivers/net/ethernet/apple/ |
D | mace.c | 50 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 …]
|
D | bmac.c | 65 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() 571 bmac_construct_rxbuff(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_rxbuff() 584 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring() 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() [all …]
|
/linux-6.1.9/drivers/scsi/ |
D | mac53c94.c | 55 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()
|
D | mesh.c | 168 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.1.9/sound/ppc/ |
D | pmac.c | 52 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()
|
D | pmac.h | 43 struct dbdma_cmd __iomem *cmds;
|
/linux-6.1.9/drivers/block/ |
D | swim3.c | 194 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.1.9/sound/aoa/soundbus/i2sbus/ |
D | i2sbus.h | 33 struct dbdma_cmd *cmds;
|
D | pcm.c | 323 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()
|
D | core.c | 45 r->size = (numcmds + 3) * sizeof(struct dbdma_cmd); in alloc_dbdma_descriptor_ring()
|
/linux-6.1.9/drivers/macintosh/ |
D | rack-meter.c | 43 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.1.9/drivers/ata/ |
D | pata_macio.c | 239 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()
|