Lines Matching defs:command
323 struct dbdma_cmd *command;
368 /* generate dbdma command ring first */
369 command = pi->dbdma_ring.cmds;
370 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd));
378 * command has a branch condition to
379 * make it branch to a stop command if S0 is set.
388 for (i = 0; i < nperiods; i++, command++, offset += periodsize) {
389 command->command = cpu_to_le16(cmd);
390 command->cmd_dep = cpu_to_le32(stopaddr);
391 command->phy_addr = cpu_to_le32(offset);
392 command->req_count = cpu_to_le16(periodsize);
396 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS);
397 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start);
398 command++;
400 /* set stop command */
401 command->command = cpu_to_le16(DBDMA_STOP);
572 /* write dma command buffer address to the dbdma chip */
647 * branch to the stop command.