Lines Matching refs:fw
23 const struct firmware *fw; in rt2x00lib_request_firmware() local
40 retval = request_firmware(&fw, fw_name, device); in rt2x00lib_request_firmware()
46 if (!fw || !fw->size || !fw->data) { in rt2x00lib_request_firmware()
48 release_firmware(fw); in rt2x00lib_request_firmware()
53 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware()
56 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware()
58 retval = rt2x00dev->ops->lib->check_firmware(rt2x00dev, fw->data, fw->size); in rt2x00lib_request_firmware()
67 fw->size); in rt2x00lib_request_firmware()
74 rt2x00dev->fw = fw; in rt2x00lib_request_firmware()
79 release_firmware(fw); in rt2x00lib_request_firmware()
91 if (!rt2x00dev->fw) { in rt2x00lib_load_firmware()
101 rt2x00dev->fw->data, in rt2x00lib_load_firmware()
102 rt2x00dev->fw->size); in rt2x00lib_load_firmware()
116 release_firmware(rt2x00dev->fw); in rt2x00lib_free_firmware()
117 rt2x00dev->fw = NULL; in rt2x00lib_free_firmware()