Lines Matching refs:command
332 struct dbdma_cmd *command; in i2sbus_pcm_prepare() local
378 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare()
379 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
397 for (i = 0; i < nperiods; i++, command++, offset += periodsize) { in i2sbus_pcm_prepare()
398 command->command = cpu_to_le16(cmd); in i2sbus_pcm_prepare()
399 command->cmd_dep = cpu_to_le32(stopaddr); in i2sbus_pcm_prepare()
400 command->phy_addr = cpu_to_le32(offset); in i2sbus_pcm_prepare()
401 command->req_count = cpu_to_le16(periodsize); in i2sbus_pcm_prepare()
405 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in i2sbus_pcm_prepare()
406 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare()
407 command++; in i2sbus_pcm_prepare()
410 command->command = cpu_to_le16(DBDMA_STOP); in i2sbus_pcm_prepare()