Searched refs:dbdma_cmd (Results 1 – 13 of 13) sorted by relevance
/linux-2.4.37.9/include/asm-ppc/ |
D | dbdma.h | 44 struct dbdma_cmd { struct 91 #define DBDMA_ALIGN(x) (((unsigned)(x) + sizeof(struct dbdma_cmd) - 1) \ 92 & -sizeof(struct dbdma_cmd))
|
/linux-2.4.37.9/drivers/net/ |
D | yellowfin.c | 321 u32 dbdma_cmd; member 785 yp->rx_ring[i].dbdma_cmd = in yellowfin_init_ring() 801 yp->rx_ring[i-1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring() 809 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring() 814 yp->tx_ring[--i].dbdma_cmd = cpu_to_le32(CMD_STOP | BRANCH_ALWAYS); in yellowfin_init_ring() 824 yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_init_ring() 829 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring() 836 yp->tx_ring[j].dbdma_cmd = in yellowfin_init_ring() 849 yp->tx_ring[++j].dbdma_cmd |= cpu_to_le32(BRANCH_ALWAYS | INTR_ALWAYS); in yellowfin_init_ring() 894 yp->tx_ring[0].dbdma_cmd = cpu_to_le32(CMD_STOP); [all …]
|
D | mace.c | 53 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ 54 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */ 81 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd)) 208 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe1() 213 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe1() 465 volatile struct dbdma_cmd *cp; in mace_open() 475 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); in mace_open() 584 volatile struct dbdma_cmd *cp, *np; in mace_xmit_start() 720 volatile struct dbdma_cmd *cp; in mace_interrupt() 862 volatile struct dbdma_cmd *cp; in mace_restart() [all …]
|
D | bmac.c | 69 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ 70 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */ 149 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \ 212 dbdma_setcmd(volatile struct dbdma_cmd *cp, in dbdma_setcmd() 586 bmac_construct_xmt(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_xmt() 600 bmac_construct_rxbuff(struct sk_buff *skb, volatile struct dbdma_cmd *cp) in bmac_construct_rxbuff() 625 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring() 650 (N_RX_RING + 1) * sizeof(struct dbdma_cmd)); in bmac_init_rx_ring() 715 volatile struct dbdma_cmd *cp; in bmac_rxdma_intr() 791 volatile struct dbdma_cmd *cp; in bmac_txdma_intr() [all …]
|
/linux-2.4.37.9/drivers/media/video/ |
D | planb.h | 193 typedef volatile struct dbdma_cmd dbdma_cmd_t; 194 typedef volatile struct dbdma_cmd *dbdma_cmd_ptr; 249 struct dbdma_cmd cmd;
|
D | planb.c | 384 size = (NUMJUMPS + 1) * sizeof(struct dbdma_cmd); in planb_prepare_open() 410 size = (2*VBI_MAXLINES + VBIDUMMY + 1) * sizeof(struct dbdma_cmd); in planb_prepare_vbi() 415 size = (VBI_MAXLINES + VBIDUMMY/2) * sizeof(struct dbdma_cmd); in planb_prepare_vbi() 438 + MAX_GBUFFERS * PLANB_DUMMY + 1) * sizeof(struct dbdma_cmd) in planb_prepare_video() 647 struct dbdma_cmd last; in suspend_overlay() 771 * sizeof(struct dbdma_cmd)); in fill_cmd_buff() 973 unsigned int size = pb->tab_size * sizeof(struct dbdma_cmd); in overlay_is_active()
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_awacs.c | 138 static volatile struct dbdma_cmd *awacs_tx_cmds; 142 static volatile struct dbdma_cmd *awacs_rx_cmds; 216 static volatile struct dbdma_cmd *beep_dbdma_cmd; 237 static volatile struct dbdma_cmd *emergency_dbdma_cmd; 801 volatile struct dbdma_cmd *cp; in __PMacPlay() 928 volatile struct dbdma_cmd *cp; in pmac_awacs_tx_intr() 952 sizeof(struct dbdma_cmd)); in pmac_awacs_tx_intr() 2199 volatile struct dbdma_cmd *cp; in PMacWriteSqSetup() 2225 ((write_sq.max_count + 1 + 1) * sizeof(struct dbdma_cmd), in PMacWriteSqSetup() 2237 awacs_tx_cmds = (volatile struct dbdma_cmd *) in PMacWriteSqSetup() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | mac53c94.c | 49 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */ 110 sizeof(struct dbdma_cmd), GFP_KERNEL); in mac53c94_detect() 113 state->dma_cmds = (struct dbdma_cmd *) in mac53c94_detect() 116 * sizeof(struct dbdma_cmd)); in mac53c94_detect() 481 struct dbdma_cmd *dcmds; in set_dma_cmds()
|
D | mesh.c | 168 struct dbdma_cmd *dma_cmds; /* space for dbdma commands, aligned */ 328 sizeof(struct dbdma_cmd), GFP_KERNEL); in mesh_detect() 331 ms->dma_cmds = (struct dbdma_cmd *) DBDMA_ALIGN(dma_cmd_space); in mesh_detect() 333 * sizeof(struct dbdma_cmd)); in mesh_detect() 1795 struct dbdma_cmd *dcmds; in set_dma_cmds()
|
/linux-2.4.37.9/drivers/block/ |
D | swim3.c | 194 struct dbdma_cmd *dma_cmd; 203 char dbdma_cmd_space[5 * sizeof(struct dbdma_cmd)]; 232 static void init_dma(struct dbdma_cmd *cp, int cmd, void *buf, int count); 411 static inline void init_dma(struct dbdma_cmd *cp, int cmd, in init_dma() 424 struct dbdma_cmd *cp = fs->dma_cmd; in setup_transfer() 596 struct dbdma_cmd *cp = fs->dma_cmd; in xfer_timeout() 630 struct dbdma_cmd *cp; in swim3_interrupt() 1125 fs->dma_cmd = (struct dbdma_cmd *) DBDMA_ALIGN(fs->dbdma_cmd_space); in swim3_add_device() 1126 memset(fs->dma_cmd, 0, 2 * sizeof(struct dbdma_cmd)); in swim3_add_device()
|
/linux-2.4.37.9/drivers/macintosh/ |
D | macserial.h | 171 volatile struct dbdma_cmd *tx_cmds; 174 volatile struct dbdma_cmd **rx_cmds;
|
D | macserial.c | 629 volatile struct dbdma_cmd *cd; in rs_rxdma_irq() 791 volatile struct dbdma_cmd *cd = info->rx_cmds[current]; in rxdma_start() 845 volatile struct dbdma_cmd *cd = info->rx_cmds[info->rx_ubuf]; in rxdma_to_tty() 892 volatile struct dbdma_cmd *cd; in dma_init() 898 size = sizeof(struct dbdma_cmd) * (3 * info->rx_nbuf + 2) in dma_init() 907 info->rx_cmds = (volatile struct dbdma_cmd **)info->dma_priv; in dma_init() 917 cd = info->rx_cmds[0] = (volatile struct dbdma_cmd *) DBDMA_ALIGN(p); in dma_init()
|
/linux-2.4.37.9/drivers/ide/ppc/ |
D | pmac.c | 69 struct dbdma_cmd* dma_table_cpu; 1311 struct dbdma_cmd *table; in pmac_ide_build_dmatable() 1319 table = (struct dbdma_cmd *) pmif->dma_table_cpu; in pmac_ide_build_dmatable() 1371 memset(table, 0, sizeof(struct dbdma_cmd)); in pmac_ide_build_dmatable() 1805 pmif->dma_table_cpu = (struct dbdma_cmd*)pci_alloc_consistent( in pmac_ide_setup_dma() 1807 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pmac_ide_setup_dma() 1819 (MAX_DCMDS + 2) * sizeof(struct dbdma_cmd), in pmac_ide_setup_dma()
|