Lines Matching refs:fw_blob_size
165 size_t fw_blob_size; member
645 phy->fw_blob_size - phy->fw_written); in pn544_hci_i2c_fw_write_chunk()
694 phy->fw_blob_size = get_unaligned_be16(&framep->be_datalen) in pn544_hci_i2c_fw_secure_write_frame()
698 if (phy->fw_blob_size > PN544_FW_I2C_MAX_PAYLOAD && in pn544_hci_i2c_fw_secure_write_frame()
703 if (phy->fw_blob_size < PN544_FW_I2C_MAX_PAYLOAD) { in pn544_hci_i2c_fw_secure_write_frame()
705 (const char *) phy->fw_blob_data, phy->fw_blob_size); in pn544_hci_i2c_fw_secure_write_frame()
707 if (r == phy->fw_blob_size) in pn544_hci_i2c_fw_secure_write_frame()
717 phy->fw_blob_size - phy->fw_written); in pn544_hci_i2c_fw_secure_write_frame()
757 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
786 if (phy->fw_written == phy->fw_blob_size) { in pn544_hci_i2c_fw_work()
790 phy->fw_blob_size); in pn544_hci_i2c_fw_work()
810 phy->fw_blob_size); in pn544_hci_i2c_fw_work()
811 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
812 if (phy->fw_blob_size != 0) { in pn544_hci_i2c_fw_work()
822 if (r < 0 || phy->fw_blob_size == 0) in pn544_hci_i2c_fw_work()
836 if (phy->fw_written == phy->fw_blob_size) { in pn544_hci_i2c_fw_work()
838 (phy->fw_blob_data + phy->fw_blob_size); in pn544_hci_i2c_fw_work()
839 phy->fw_size -= phy->fw_blob_size + in pn544_hci_i2c_fw_work()