Lines Matching refs:new_fw
719 struct firmware_properties new_fw; in check_firmware() local
734 new_fw.type = type; in check_firmware()
735 new_fw.id = std; in check_firmware()
736 new_fw.std_req = std; in check_firmware()
737 new_fw.scode_table = SCODE | priv->ctrl.scode_table; in check_firmware()
738 new_fw.scode_nr = 0; in check_firmware()
739 new_fw.int_freq = int_freq; in check_firmware()
743 dump_firm_type(new_fw.type); in check_firmware()
744 printk("(%x), id %016llx, ", new_fw.type, in check_firmware()
745 (unsigned long long)new_fw.std_req); in check_firmware()
751 printk("int_freq %d, ", new_fw.int_freq); in check_firmware()
752 printk("scode_nr %d\n", new_fw.scode_nr); in check_firmware()
760 (((BASE | new_fw.type) & BASE_TYPES) == in check_firmware()
776 rc = load_firmware(fe, BASE | new_fw.type, &std0); in check_firmware()
786 rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); in check_firmware()
788 rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, in check_firmware()
801 if (priv->cur_fw.type == (BASE | new_fw.type) && in check_firmware()
810 rc = load_firmware(fe, new_fw.type, &new_fw.id); in check_firmware()
812 rc = load_firmware(fe, new_fw.type & ~F8MHZ, &new_fw.id); in check_firmware()
818 if (priv->cur_fw.scode_table == new_fw.scode_table && in check_firmware()
819 priv->cur_fw.scode_nr == new_fw.scode_nr) { in check_firmware()
824 if (new_fw.type & FM) in check_firmware()
828 tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr); in check_firmware()
830 rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, in check_firmware()
831 new_fw.int_freq, new_fw.scode_nr); in check_firmware()
873 priv->cur_fw = new_fw; in check_firmware()