Lines Matching refs:fw
46 iwmbt_fw_read(struct iwmbt_firmware *fw, const char *fwname)
92 memset(fw, 0, sizeof(*fw));
94 fw->fwname = strdup(fwname);
95 fw->len = sb.st_size;
96 fw->buf = buf;
103 iwmbt_fw_free(struct iwmbt_firmware *fw)
105 if (fw->fwname)
106 free(fw->fwname);
107 if (fw->buf)
108 free(fw->buf);
109 memset(fw, 0, sizeof(*fw));
123 asprintf(&fwname, "%s/ibt-hw-%x.%x.%x-fw-%x.%x.%x.%x.%x.%s",