Lines Matching refs:mc_data
11625 static int drx_check_firmware(struct drx_demod_instance *demod, u8 *mc_data, in drx_check_firmware() argument
11632 u16 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data + sizeof(u16))); in drx_check_firmware()
11650 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count)); in drx_check_firmware()
11652 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11654 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11656 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11664 u8 *auxblk = ((void *)mc_data) + block_hdr.addr; in drx_check_firmware()
11733 u8 *mc_data = NULL; in drx_ctrl_u_code() local
11766 mc_data = (void *)mc_data_init; in drx_ctrl_u_code()
11768 mc_magic_word = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11769 mc_data += sizeof(u16); in drx_ctrl_u_code()
11770 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11771 mc_data += sizeof(u16); in drx_ctrl_u_code()
11794 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data)); in drx_ctrl_u_code()
11795 mc_data += sizeof(u32); in drx_ctrl_u_code()
11796 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11797 mc_data += sizeof(u16); in drx_ctrl_u_code()
11798 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11799 mc_data += sizeof(u16); in drx_ctrl_u_code()
11800 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11801 mc_data += sizeof(u16); in drx_ctrl_u_code()
11804 (unsigned)(mc_data - mc_data_init), block_hdr.addr, in drx_ctrl_u_code()
11813 (block_hdr.CRC != drx_u_code_compute_crc(mc_data, block_hdr.size))) in drx_ctrl_u_code()
11832 mc_data, 0x0000)) { in drx_ctrl_u_code()
11835 (unsigned)(mc_data - mc_data_init)); in drx_ctrl_u_code()
11845 u8 *curr_ptr = mc_data; in drx_ctrl_u_code()
11859 (unsigned)(mc_data - mc_data_init)); in drx_ctrl_u_code()
11868 (unsigned)(mc_data - mc_data_init)); in drx_ctrl_u_code()
11883 mc_data += mc_block_nr_bytes; in drx_ctrl_u_code()