Lines Matching refs:fw_blob_size
163 size_t fw_blob_size; member
643 phy->fw_blob_size - phy->fw_written); in pn544_hci_i2c_fw_write_chunk()
692 phy->fw_blob_size = get_unaligned_be16(&framep->be_datalen) in pn544_hci_i2c_fw_secure_write_frame()
696 if (phy->fw_blob_size > PN544_FW_I2C_MAX_PAYLOAD && in pn544_hci_i2c_fw_secure_write_frame()
701 if (phy->fw_blob_size < PN544_FW_I2C_MAX_PAYLOAD) { in pn544_hci_i2c_fw_secure_write_frame()
703 (const char *) phy->fw_blob_data, phy->fw_blob_size); in pn544_hci_i2c_fw_secure_write_frame()
705 if (r == phy->fw_blob_size) in pn544_hci_i2c_fw_secure_write_frame()
715 phy->fw_blob_size - phy->fw_written); in pn544_hci_i2c_fw_secure_write_frame()
755 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
784 if (phy->fw_written == phy->fw_blob_size) { in pn544_hci_i2c_fw_work()
788 phy->fw_blob_size); in pn544_hci_i2c_fw_work()
808 phy->fw_blob_size); in pn544_hci_i2c_fw_work()
809 phy->fw_blob_size = get_unaligned_be32(&blob->be_size); in pn544_hci_i2c_fw_work()
810 if (phy->fw_blob_size != 0) { in pn544_hci_i2c_fw_work()
820 if (r < 0 || phy->fw_blob_size == 0) in pn544_hci_i2c_fw_work()
834 if (phy->fw_written == phy->fw_blob_size) { in pn544_hci_i2c_fw_work()
836 (phy->fw_blob_data + phy->fw_blob_size); in pn544_hci_i2c_fw_work()
837 phy->fw_size -= phy->fw_blob_size + in pn544_hci_i2c_fw_work()