Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfirmware.c211 static void dispose_one_firmware(struct firmware_details *fdet);
213 struct firmware_details *fdet);
408 struct firmware_details *fdet) in obtain_one_firmware() argument
413 memset(fdet, 0, sizeof(*fdet)); in obtain_one_firmware()
415 ret = request_firmware(&fdet->fw, name, &dd->pcidev->dev); in obtain_one_firmware()
423 if (fdet->fw->size < sizeof(struct css_header)) { in obtain_one_firmware()
428 css = (struct css_header *)fdet->fw->data; in obtain_one_firmware()
431 hfi1_cdbg(FIRMWARE, "file size: 0x%lx bytes", fdet->fw->size); in obtain_one_firmware()
449 fdet->fw->size - sizeof(struct firmware_file)); in obtain_one_firmware()
464 } else if ((css->size * 4) == fdet->fw->size) { in obtain_one_firmware()
[all …]