Searched refs:primary_offset (Results 1 – 2 of 2) sorted by relevance
181 u32 primary_offset, iram_offset, iram_size, dram_offset, dram_size; in aquantia_upload_firmware() local198 primary_offset = ((addr[9] & 0xf) << 8 | addr[8]) << 12; in aquantia_upload_firmware()200 header = (struct fw_header *)&addr[primary_offset + HEADER_OFFSET]; in aquantia_upload_firmware()202 iram_offset = primary_offset + unpack_u24(header->iram_offset); in aquantia_upload_firmware()205 dram_offset = primary_offset + unpack_u24(header->dram_offset); in aquantia_upload_firmware()209 primary_offset, iram_offset, iram_size, dram_offset, dram_size); in aquantia_upload_firmware()
331 s32 primary_offset; in chandef_to_chanspec() local336 primary_offset = ch->chan->center_freq - ch->center_freq1; in chandef_to_chanspec()341 WARN_ON(primary_offset != 0); in chandef_to_chanspec()345 if (primary_offset > 0) in chandef_to_chanspec()352 if (primary_offset == -30) in chandef_to_chanspec()354 else if (primary_offset == -10) in chandef_to_chanspec()356 else if (primary_offset == 10) in chandef_to_chanspec()363 if (primary_offset == -70) in chandef_to_chanspec()365 else if (primary_offset == -50) in chandef_to_chanspec()367 else if (primary_offset == -30) in chandef_to_chanspec()[all …]