Lines Matching full:fw
44 ath3k_fw_read(struct ath3k_firmware *fw, const char *fwname) in ath3k_fw_read() argument
91 bzero(fw, sizeof(*fw)); in ath3k_fw_read()
93 fw->fwname = strdup(fwname); in ath3k_fw_read()
94 fw->len = sb.st_size; in ath3k_fw_read()
95 fw->size = sb.st_size; in ath3k_fw_read()
96 fw->buf = buf; in ath3k_fw_read()
103 ath3k_fw_free(struct ath3k_firmware *fw) in ath3k_fw_free() argument
105 if (fw->fwname) in ath3k_fw_free()
106 free(fw->fwname); in ath3k_fw_free()
107 if (fw->buf) in ath3k_fw_free()
108 free(fw->buf); in ath3k_fw_free()
109 bzero(fw, sizeof(*fw)); in ath3k_fw_free()