Home
last modified time | relevance | path

Searched refs:cmdptr (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/powermac/
Dpfunc_core.c71 const void *cmdptr; member
99 if ((cmd->cmdend - cmd->cmdptr) < 4) { in pmf_next32()
103 value = *((u32 *)cmd->cmdptr); in pmf_next32()
104 cmd->cmdptr += 4; in pmf_next32()
111 if ((cmd->cmdend - cmd->cmdptr) < count) { in pmf_next_blob()
115 value = cmd->cmdptr; in pmf_next_blob()
116 cmd->cmdptr += count; in pmf_next_blob()
587 cmd.cmdptr = func->data; in pmf_parse_one()
601 while(count-- && cmd.cmdptr < cmd.cmdend) { in pmf_parse_one()
631 func->length = cmd.cmdptr - func->data; in pmf_parse_one()
Dfeature.c499 save[i].cmdptr = in_le32(&chan->cmdptr); in dbdma_save()
518 out_le32(&chan->cmdptr, save[i].cmdptr); in dbdma_restore()
/Linux-v5.4/kernel/debug/kdb/
Dkdb_main.c815 static unsigned int cmdptr; variable
1104 if (cmdptr != cmd_tail) in handle_ctrl_cmd()
1105 cmdptr = (cmdptr-1) % KDB_CMD_HISTORY_COUNT; in handle_ctrl_cmd()
1106 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1109 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1110 cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; in handle_ctrl_cmd()
1111 strncpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1317 if (cmdptr == cmd_head) { in kdb_local()
1337 cmdptr = cmd_head; in kdb_local()
/Linux-v5.4/arch/powerpc/include/asm/
Ddbdma.h19 unsigned int cmdptr; /* (lower 32 bits of) command address (phys) */ member
/Linux-v5.4/sound/sparc/
Ddbri.c316 s32 *cmdptr; /* Pointer to the last queued cmd */ member
670 if (dbri->cmdptr - dbri->dma->cmd + len < DBRI_NO_CMDS - 2) in dbri_cmdlock()
671 return dbri->cmdptr + 2; in dbri_cmdlock()
701 *(dbri->cmdptr+1) = addr; in dbri_cmdsend()
702 *(dbri->cmdptr) = DBRI_CMD(D_JUMP, 0, 0); in dbri_cmdsend()
705 if (cmd > dbri->cmdptr) { in dbri_cmdsend()
708 for (ptr = dbri->cmdptr; ptr < cmd+2; ptr++) in dbri_cmdsend()
712 s32 *ptr = dbri->cmdptr; in dbri_cmdsend()
728 dbri->cmdptr = cmd; in dbri_cmdsend()
783 cmd = dbri->cmdptr = dbri->dma->cmd; in dbri_initialize()
[all …]
/Linux-v5.4/drivers/net/ethernet/apple/
Dmace.c473 out_le32(&rd->cmdptr, virt_to_bus(mp->rx_cmds)); in mace_open()
483 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open()
831 cp = bus_to_virt(le32_to_cpu(rd->cmdptr)); in mace_tx_timeout()
834 out_le32(&rd->cmdptr, virt_to_bus(cp)); in mace_tx_timeout()
855 out_le32(&td->cmdptr, virt_to_bus(cp)); in mace_tx_timeout()
Dbmac.c601 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
633 out_le32(&rd->cmdptr, virt_to_bus(bp->rx_cmds)); in bmac_init_rx_ring()
775 if (cp == bus_to_virt(in_le32(&bp->tx_dma->cmdptr))) in bmac_txdma_intr()
1502 cp = bus_to_virt(le32_to_cpu(rd->cmdptr)); in bmac_tx_timeout()
1505 out_le32(&rd->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
1525 out_le32(&td->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
/Linux-v5.4/drivers/macintosh/
Drack-meter.c162 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
/Linux-v5.4/sound/ppc/
Dpmac.c182 out_le32(&rec->dma->cmdptr, cmd->addr); in snd_pmac_dma_set_command()
438 out_le32(&rec->dma->cmdptr, emergency_dbdma.addr); in snd_pmac_pcm_dead_xfer()
/Linux-v5.4/drivers/scsi/
Dmac53c94.c276 writel(virt_to_phys(state->dma_cmds), &dma->cmdptr); in mac53c94_interrupt()
Dmesh.c321 in_le32(&md->status), in_le32(&md->cmdptr)); in mesh_dump_regs()
787 out_le32(&md->cmdptr, virt_to_phys(ms->dma_cmds)); in start_phase()
/Linux-v5.4/sound/aoa/soundbus/i2sbus/
Dpcm.c581 out_le32(&pi->dbdma->cmdptr, pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_trigger()
/Linux-v5.4/drivers/ata/
Dpata_macio.c601 writel(priv->dma_table_dma, &dma_regs->cmdptr); in pata_macio_bmdma_setup()
/Linux-v5.4/drivers/ide/
Dpmac.c1517 writel(hwif->dmatable_dma, &dma->cmdptr); in pmac_ide_build_dmatable()
/Linux-v5.4/drivers/block/
Dswim3.c444 out_le32(&dr->cmdptr, virt_to_bus(cp)); in setup_transfer()