Lines Matching refs:header
106 struct snd_efw_transaction *header; in efw_transaction() local
133 header = (struct snd_efw_transaction *)buf; in efw_transaction()
134 header->length = cpu_to_be32(cmd_bytes / sizeof(__be32)); in efw_transaction()
135 header->version = cpu_to_be32(1); in efw_transaction()
136 header->seqnum = cpu_to_be32(seqnum); in efw_transaction()
137 header->category = cpu_to_be32(category); in efw_transaction()
138 header->command = cpu_to_be32(command); in efw_transaction()
139 header->status = 0; in efw_transaction()
142 memcpy(header->params, params, param_bytes); in efw_transaction()
150 if ((be32_to_cpu(header->version) < 1) || in efw_transaction()
151 (be32_to_cpu(header->category) != category) || in efw_transaction()
152 (be32_to_cpu(header->command) != command) || in efw_transaction()
153 (be32_to_cpu(header->status) != EFR_STATUS_OK)) { in efw_transaction()
155 be32_to_cpu(header->category), in efw_transaction()
156 be32_to_cpu(header->command), in efw_transaction()
157 efr_status_names[be32_to_cpu(header->status)]); in efw_transaction()
168 be32_to_cpu(header->length) * sizeof(__be32) - in efw_transaction()