Home
last modified time | relevance | path

Searched refs:fw_length (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/csr/
Dputest.c469 unsigned int fw_length; in unifi_putest_dl_fw_buff() local
476 if (get_user(fw_length, (unsigned int*)(((unifi_putest_command_t*)arg) + 1))) { in unifi_putest_dl_fw_buff()
482 unifi_trace(priv, UDBG2, "unifi_putest_dl_fw_buff: size = %d\n", fw_length); in unifi_putest_dl_fw_buff()
485 if (fw_length == 0 || fw_length > 0xfffffff) { in unifi_putest_dl_fw_buff()
487 "unifi_putest_dl_fw_buff: buffer length bad %u\n", fw_length); in unifi_putest_dl_fw_buff()
492 fw_buf = kmalloc(fw_length, GFP_KERNEL); in unifi_putest_dl_fw_buff()
500 if (copy_from_user(fw_buf, (void*)fw_user_ptr, fw_length)) { in unifi_putest_dl_fw_buff()
515 priv->fw_sta.dl_len = fw_length; in unifi_putest_dl_fw_buff()
/drivers/net/wireless/p54/
Dp54usb.h104 __le32 fw_length; member
Dp54usb.c527 hdr->fw_length = cpu_to_le32(priv->fw->size); in p54u_upload_firmware_3887()