Lines Matching refs:mc_data

11635 static int drx_check_firmware(struct drx_demod_instance *demod, u8 *mc_data,  in drx_check_firmware()  argument
11642 u16 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data + sizeof(u16))); in drx_check_firmware()
11660 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count)); in drx_check_firmware()
11662 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11664 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11666 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11674 u8 *auxblk = ((void *)mc_data) + block_hdr.addr; in drx_check_firmware()
11743 u8 *mc_data = NULL; in drx_ctrl_u_code() local
11776 mc_data = (void *)mc_data_init; in drx_ctrl_u_code()
11778 mc_magic_word = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11779 mc_data += sizeof(u16); in drx_ctrl_u_code()
11780 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11781 mc_data += sizeof(u16); in drx_ctrl_u_code()
11804 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data)); in drx_ctrl_u_code()
11805 mc_data += sizeof(u32); in drx_ctrl_u_code()
11806 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11807 mc_data += sizeof(u16); in drx_ctrl_u_code()
11808 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11809 mc_data += sizeof(u16); in drx_ctrl_u_code()
11810 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
11811 mc_data += sizeof(u16); in drx_ctrl_u_code()
11814 (mc_data - mc_data_init), block_hdr.addr, in drx_ctrl_u_code()
11823 (block_hdr.CRC != drx_u_code_compute_crc(mc_data, block_hdr.size))) in drx_ctrl_u_code()
11842 mc_data, 0x0000)) { in drx_ctrl_u_code()
11845 mc_data - mc_data_init); in drx_ctrl_u_code()
11855 u8 *curr_ptr = mc_data; in drx_ctrl_u_code()
11869 mc_data - mc_data_init); in drx_ctrl_u_code()
11878 mc_data - mc_data_init); in drx_ctrl_u_code()
11893 mc_data += mc_block_nr_bytes; in drx_ctrl_u_code()