Lines Matching refs:new_fw
724 struct firmware_properties new_fw; in check_firmware() local
739 new_fw.type = type; in check_firmware()
740 new_fw.id = std; in check_firmware()
741 new_fw.std_req = std; in check_firmware()
742 new_fw.scode_table = SCODE | priv->ctrl.scode_table; in check_firmware()
743 new_fw.scode_nr = 0; in check_firmware()
744 new_fw.int_freq = int_freq; in check_firmware()
748 dump_firm_type(new_fw.type); in check_firmware()
749 printk("(%x), id %016llx, ", new_fw.type, in check_firmware()
750 (unsigned long long)new_fw.std_req); in check_firmware()
756 printk("int_freq %d, ", new_fw.int_freq); in check_firmware()
757 printk("scode_nr %d\n", new_fw.scode_nr); in check_firmware()
765 (((BASE | new_fw.type) & BASE_TYPES) == in check_firmware()
781 rc = load_firmware(fe, BASE | new_fw.type, &std0); in check_firmware()
791 rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); in check_firmware()
793 rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, in check_firmware()
806 if (priv->cur_fw.type == (BASE | new_fw.type) && in check_firmware()
815 rc = load_firmware(fe, new_fw.type, &new_fw.id); in check_firmware()
817 rc = load_firmware(fe, new_fw.type & ~F8MHZ, &new_fw.id); in check_firmware()
823 if (priv->cur_fw.scode_table == new_fw.scode_table && in check_firmware()
824 priv->cur_fw.scode_nr == new_fw.scode_nr) { in check_firmware()
829 if (new_fw.type & FM) in check_firmware()
833 tuner_dbg("Trying to load scode %d\n", new_fw.scode_nr); in check_firmware()
835 rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, in check_firmware()
836 new_fw.int_freq, new_fw.scode_nr); in check_firmware()
878 priv->cur_fw = new_fw; in check_firmware()