Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fwdump.c408 struct firmware fake_fw; in mlx5_ctl_ioctl() local
463 if (fake_fw.data == NULL) { in mlx5_ctl_ioctl()
469 bzero(&fake_fw, sizeof(fake_fw)); in mlx5_ctl_ioctl()
470 fake_fw.name = "umlx_fw_up"; in mlx5_ctl_ioctl()
471 fake_fw.datasize = fu->img_fw_data_len; in mlx5_ctl_ioctl()
472 fake_fw.version = 1; in mlx5_ctl_ioctl()
473 fake_fw.data = fw_data; in mlx5_ctl_ioctl()
474 error = -mlx5_firmware_flash(mdev, &fake_fw); in mlx5_ctl_ioctl()