Lines Matching refs:firm
76 struct firmware_description *firm; member
625 if (!priv->firm) { in seek_firmware()
636 (priv->firm[i].id ^ (*id)) & (*id); in seek_firmware()
638 (priv->firm[i].type ^ type) in seek_firmware()
670 *id = priv->firm[i].id; in seek_firmware()
693 p = priv->firm[pos].ptr; in load_firmware()
768 priv->firm = kcalloc(n_array, sizeof(*priv->firm), GFP_KERNEL); in xc4000_fwupload()
769 if (priv->firm == NULL) { in xc4000_fwupload()
815 priv->firm[n].ptr = kmemdup(p, size, GFP_KERNEL); in xc4000_fwupload()
816 if (priv->firm[n].ptr == NULL) { in xc4000_fwupload()
829 priv->firm[n].type = type; in xc4000_fwupload()
830 priv->firm[n].id = id; in xc4000_fwupload()
831 priv->firm[n].size = size; in xc4000_fwupload()
832 priv->firm[n].int_freq = int_freq; in xc4000_fwupload()
875 if ((priv->firm[pos].int_freq == int_freq) && in load_scode()
876 (priv->firm[pos].type & HAS_IF)) in load_scode()
883 p = priv->firm[pos].ptr; in load_scode()
885 if (priv->firm[pos].size != 12 * 16 || scode >= 16) in load_scode()
891 dump_firm_type_and_int_freq(priv->firm[pos].type, in load_scode()
892 priv->firm[pos].int_freq); in load_scode()
893 printk(KERN_CONT "(%x), id %016llx.\n", priv->firm[pos].type, in load_scode()
935 if (!priv->firm) { in check_firmware()