Lines Matching refs:flash
732 __le16 *flash = (__le16 *)&qdev->flash;
734 status = strncmp((char *)&qdev->flash, str, 4);
736 netif_err(qdev, ifup, qdev->ndev, "Invalid flash signature.\n");
741 csum += le16_to_cpu(*flash++);
745 "Invalid flash checksum, csum = 0x%.04x.\n", csum);
765 /* This data is stored on flash as an array of
778 __le32 *p = (__le32 *)&qdev->flash;
782 /* Get flash offset for function and adjust
798 "Error reading flash.\n");
807 netif_err(qdev, ifup, qdev->ndev, "Invalid flash.\n");
815 if (qdev->flash.flash_params_8000.data_type1 == 2)
817 qdev->flash.flash_params_8000.mac_addr1,
821 qdev->flash.flash_params_8000.mac_addr,
843 __le32 *p = (__le32 *)&qdev->flash;
860 "Error reading flash.\n");
870 netif_err(qdev, ifup, qdev->ndev, "Invalid flash.\n");
875 if (!is_valid_ether_addr(qdev->flash.flash_params_8012.mac_addr)) {
881 qdev->flash.flash_params_8012.mac_addr,