Lines Matching refs:firmware_buf
243 __u8 *firmware_buf; member
411 memcpy(kaweth->firmware_buf, fw->data, fw->size); in kaweth_download_firmware()
415 kaweth->firmware_buf[2] = (data_len & 0xFF) - 7; in kaweth_download_firmware()
416 kaweth->firmware_buf[3] = data_len >> 8; in kaweth_download_firmware()
417 kaweth->firmware_buf[4] = type; in kaweth_download_firmware()
418 kaweth->firmware_buf[5] = interrupt; in kaweth_download_firmware()
420 netdev_dbg(kaweth->net, "High: %i, Low:%i\n", kaweth->firmware_buf[3], in kaweth_download_firmware()
421 kaweth->firmware_buf[2]); in kaweth_download_firmware()
425 kaweth->firmware_buf, kaweth); in kaweth_download_firmware()
434 (void *)kaweth->firmware_buf, in kaweth_download_firmware()
445 kaweth->firmware_buf[0] = 0xB6; in kaweth_trigger_firmware()
446 kaweth->firmware_buf[1] = 0xC3; in kaweth_trigger_firmware()
447 kaweth->firmware_buf[2] = 0x01; in kaweth_trigger_firmware()
448 kaweth->firmware_buf[3] = 0x00; in kaweth_trigger_firmware()
449 kaweth->firmware_buf[4] = 0x06; in kaweth_trigger_firmware()
450 kaweth->firmware_buf[5] = interrupt; in kaweth_trigger_firmware()
451 kaweth->firmware_buf[6] = 0x00; in kaweth_trigger_firmware()
452 kaweth->firmware_buf[7] = 0x00; in kaweth_trigger_firmware()
462 (void *)kaweth->firmware_buf, in kaweth_trigger_firmware()
1052 kaweth->firmware_buf = (__u8 *)__get_free_page(GFP_KERNEL); in kaweth_probe()
1053 if (!kaweth->firmware_buf) { in kaweth_probe()
1102 free_page((unsigned long)kaweth->firmware_buf); in kaweth_probe()