Home
last modified time | relevance | path

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

/linux-6.12.1/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.c500 save[i].cmdptr = in_le32(&chan->cmdptr); in dbdma_save()
519 out_le32(&chan->cmdptr, save[i].cmdptr); in dbdma_restore()
/linux-6.12.1/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c354 struct mpi3mr_drv_cmd *cmdptr = NULL; in mpi3mr_process_admin_reply_desc() local
407 cmdptr = mpi3mr_get_drv_cmd(mrioc, host_tag, def_reply); in mpi3mr_process_admin_reply_desc()
408 if (cmdptr) { in mpi3mr_process_admin_reply_desc()
409 if (cmdptr->state & MPI3MR_CMD_PENDING) { in mpi3mr_process_admin_reply_desc()
410 cmdptr->state |= MPI3MR_CMD_COMPLETE; in mpi3mr_process_admin_reply_desc()
411 cmdptr->ioc_loginfo = ioc_loginfo; in mpi3mr_process_admin_reply_desc()
413 cmdptr->ioc_status = ioc_status; in mpi3mr_process_admin_reply_desc()
415 cmdptr->ioc_status = masked_ioc_status; in mpi3mr_process_admin_reply_desc()
416 cmdptr->state &= ~MPI3MR_CMD_PENDING; in mpi3mr_process_admin_reply_desc()
418 cmdptr->state |= MPI3MR_CMD_REPLY_VALID; in mpi3mr_process_admin_reply_desc()
[all …]
Dmpi3mr_os.c5104 static inline void mpi3mr_init_drv_cmd(struct mpi3mr_drv_cmd *cmdptr, in mpi3mr_init_drv_cmd() argument
5107 mutex_init(&cmdptr->mutex); in mpi3mr_init_drv_cmd()
5108 cmdptr->reply = NULL; in mpi3mr_init_drv_cmd()
5109 cmdptr->state = MPI3MR_CMD_NOTUSED; in mpi3mr_init_drv_cmd()
5110 cmdptr->dev_handle = MPI3MR_INVALID_DEV_HANDLE; in mpi3mr_init_drv_cmd()
5111 cmdptr->host_tag = host_tag; in mpi3mr_init_drv_cmd()
/linux-6.12.1/kernel/debug/kdb/
Dkdb_main.c860 static unsigned int cmdptr; variable
1136 if (cmdptr != cmd_tail) in handle_ctrl_cmd()
1137 cmdptr = (cmdptr + KDB_CMD_HISTORY_COUNT - 1) % in handle_ctrl_cmd()
1139 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1142 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1143 cmdptr = (cmdptr+1) % KDB_CMD_HISTORY_COUNT; in handle_ctrl_cmd()
1144 strscpy(cmd_cur, cmd_hist[cmdptr], CMD_BUFLEN); in handle_ctrl_cmd()
1348 if (cmdptr == cmd_head) { in kdb_local()
1368 cmdptr = cmd_head; in kdb_local()
/linux-6.12.1/arch/powerpc/include/asm/
Ddbdma.h19 unsigned int cmdptr; /* (lower 32 bits of) command address (phys) */ member
/linux-6.12.1/sound/sparc/
Ddbri.c315 s32 *cmdptr; /* Pointer to the last queued cmd */ member
669 if (dbri->cmdptr - dbri->dma->cmd + len < DBRI_NO_CMDS - 2) in dbri_cmdlock()
670 return dbri->cmdptr + 2; in dbri_cmdlock()
700 *(dbri->cmdptr+1) = addr; in dbri_cmdsend()
701 *(dbri->cmdptr) = DBRI_CMD(D_JUMP, 0, 0); in dbri_cmdsend()
704 if (cmd > dbri->cmdptr) { in dbri_cmdsend()
707 for (ptr = dbri->cmdptr; ptr < cmd+2; ptr++) in dbri_cmdsend()
711 s32 *ptr = dbri->cmdptr; in dbri_cmdsend()
727 dbri->cmdptr = cmd; in dbri_cmdsend()
782 cmd = dbri->cmdptr = dbri->dma->cmd; in dbri_initialize()
[all …]
/linux-6.12.1/drivers/net/ethernet/apple/
Dmace.c476 out_le32(&rd->cmdptr, virt_to_bus(mp->rx_cmds)); in mace_open()
486 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open()
834 cp = bus_to_virt(le32_to_cpu(rd->cmdptr)); in mace_tx_timeout()
837 out_le32(&rd->cmdptr, virt_to_bus(cp)); in mace_tx_timeout()
858 out_le32(&td->cmdptr, virt_to_bus(cp)); in mace_tx_timeout()
Dbmac.c597 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
629 out_le32(&rd->cmdptr, virt_to_bus(bp->rx_cmds)); in bmac_init_rx_ring()
771 if (cp == bus_to_virt(in_le32(&bp->tx_dma->cmdptr))) in bmac_txdma_intr()
1500 cp = bus_to_virt(le32_to_cpu(rd->cmdptr)); in bmac_tx_timeout()
1503 out_le32(&rd->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
1523 out_le32(&td->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
/linux-6.12.1/drivers/macintosh/
Drack-meter.c162 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
/linux-6.12.1/sound/ppc/
Dpmac.c164 out_le32(&rec->dma->cmdptr, cmd->addr); in snd_pmac_dma_set_command()
416 out_le32(&rec->dma->cmdptr, emergency_dbdma.addr); in snd_pmac_pcm_dead_xfer()
/linux-6.12.1/drivers/scsi/
Dmac53c94.c274 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()
781 out_le32(&md->cmdptr, virt_to_phys(ms->dma_cmds)); in start_phase()
/linux-6.12.1/sound/aoa/soundbus/i2sbus/
Dpcm.c573 out_le32(&pi->dbdma->cmdptr, pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_trigger()
/linux-6.12.1/drivers/ata/
Dpata_macio.c620 writel(priv->dma_table_dma, &dma_regs->cmdptr); in pata_macio_bmdma_setup()
/linux-6.12.1/drivers/block/
Dswim3.c459 out_le32(&dr->cmdptr, swim3_phys_to_bus(virt_to_phys(cp))); in setup_transfer()