Lines Matching refs:cid
26 u32 cid = BMI_DONE; in ath6kl_bmi_done() local
35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_done()
48 u32 cid = BMI_GET_TARGET_INFO; in ath6kl_bmi_get_target_info() local
51 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_get_target_info()
55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_get_target_info()
116 u32 cid = BMI_READ_MEMORY; in ath6kl_bmi_read() local
123 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_read()
127 size = ar->bmi.max_data_size + sizeof(cid) + sizeof(addr) + sizeof(len); in ath6kl_bmi_read()
144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read()
145 offset += sizeof(cid); in ath6kl_bmi_read()
172 u32 cid = BMI_WRITE_MEMORY; in ath6kl_bmi_write() local
176 const u32 header = sizeof(cid) + sizeof(addr) + sizeof(len); in ath6kl_bmi_write()
181 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_write()
216 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_write()
217 offset += sizeof(cid); in ath6kl_bmi_write()
239 u32 cid = BMI_EXECUTE; in ath6kl_bmi_execute() local
245 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_execute()
249 size = sizeof(cid) + sizeof(addr) + sizeof(*param); in ath6kl_bmi_execute()
260 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_execute()
261 offset += sizeof(cid); in ath6kl_bmi_execute()
286 u32 cid = BMI_SET_APP_START; in ath6kl_bmi_set_app_start() local
292 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_set_app_start()
296 size = sizeof(cid) + sizeof(addr); in ath6kl_bmi_set_app_start()
306 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_set_app_start()
307 offset += sizeof(cid); in ath6kl_bmi_set_app_start()
322 u32 cid = BMI_READ_SOC_REGISTER; in ath6kl_bmi_reg_read() local
328 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_reg_read()
332 size = sizeof(cid) + sizeof(addr); in ath6kl_bmi_reg_read()
342 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_reg_read()
343 offset += sizeof(cid); in ath6kl_bmi_reg_read()
365 u32 cid = BMI_WRITE_SOC_REGISTER; in ath6kl_bmi_reg_write() local
371 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_reg_write()
375 size = sizeof(cid) + sizeof(addr) + sizeof(param); in ath6kl_bmi_reg_write()
387 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_reg_write()
388 offset += sizeof(cid); in ath6kl_bmi_reg_write()
405 u32 cid = BMI_LZ_DATA; in ath6kl_bmi_lz_data() local
409 const u32 header = sizeof(cid) + sizeof(len); in ath6kl_bmi_lz_data()
413 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_lz_data()
433 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_lz_data()
434 offset += sizeof(cid); in ath6kl_bmi_lz_data()
456 u32 cid = BMI_LZ_STREAM_START; in ath6kl_bmi_lz_stream_start() local
462 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_lz_stream_start()
466 size = sizeof(cid) + sizeof(addr); in ath6kl_bmi_lz_stream_start()
478 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_lz_stream_start()
479 offset += sizeof(cid); in ath6kl_bmi_lz_stream_start()