Lines Matching refs:fi
606 struct flash_info_regs __iomem *fi = stdev->mmio_flash_info; in ioctl_flash_info() local
609 info.flash_length = ioread32(&fi->gen3.flash_length); in ioctl_flash_info()
612 info.flash_length = ioread32(&fi->gen4.flash_length); in ioctl_flash_info()
634 struct flash_info_regs_gen3 __iomem *fi = in flash_part_info_gen3() local
641 active_addr = ioread32(&fi->active_cfg); in flash_part_info_gen3()
642 set_fw_info_part(info, &fi->cfg0); in flash_part_info_gen3()
647 active_addr = ioread32(&fi->active_cfg); in flash_part_info_gen3()
648 set_fw_info_part(info, &fi->cfg1); in flash_part_info_gen3()
653 active_addr = ioread32(&fi->active_img); in flash_part_info_gen3()
654 set_fw_info_part(info, &fi->img0); in flash_part_info_gen3()
659 active_addr = ioread32(&fi->active_img); in flash_part_info_gen3()
660 set_fw_info_part(info, &fi->img1); in flash_part_info_gen3()
665 set_fw_info_part(info, &fi->nvlog); in flash_part_info_gen3()
668 set_fw_info_part(info, &fi->vendor[0]); in flash_part_info_gen3()
671 set_fw_info_part(info, &fi->vendor[1]); in flash_part_info_gen3()
674 set_fw_info_part(info, &fi->vendor[2]); in flash_part_info_gen3()
677 set_fw_info_part(info, &fi->vendor[3]); in flash_part_info_gen3()
680 set_fw_info_part(info, &fi->vendor[4]); in flash_part_info_gen3()
683 set_fw_info_part(info, &fi->vendor[5]); in flash_part_info_gen3()
686 set_fw_info_part(info, &fi->vendor[6]); in flash_part_info_gen3()
689 set_fw_info_part(info, &fi->vendor[7]); in flash_part_info_gen3()
704 struct flash_info_regs_gen4 __iomem *fi = &stdev->mmio_flash_info->gen4; in flash_part_info_gen4() local
706 struct active_partition_info_gen4 __iomem *af = &fi->active_flag; in flash_part_info_gen4()
710 set_fw_info_part(info, &fi->map0); in flash_part_info_gen4()
713 set_fw_info_part(info, &fi->map1); in flash_part_info_gen4()
716 set_fw_info_part(info, &fi->key0); in flash_part_info_gen4()
723 set_fw_info_part(info, &fi->key1); in flash_part_info_gen4()
730 set_fw_info_part(info, &fi->bl2_0); in flash_part_info_gen4()
737 set_fw_info_part(info, &fi->bl2_1); in flash_part_info_gen4()
744 set_fw_info_part(info, &fi->cfg0); in flash_part_info_gen4()
751 set_fw_info_part(info, &fi->cfg1); in flash_part_info_gen4()
758 set_fw_info_part(info, &fi->img0); in flash_part_info_gen4()
765 set_fw_info_part(info, &fi->img1); in flash_part_info_gen4()
772 set_fw_info_part(info, &fi->nvlog); in flash_part_info_gen4()
775 set_fw_info_part(info, &fi->vendor[0]); in flash_part_info_gen4()
778 set_fw_info_part(info, &fi->vendor[1]); in flash_part_info_gen4()
781 set_fw_info_part(info, &fi->vendor[2]); in flash_part_info_gen4()
784 set_fw_info_part(info, &fi->vendor[3]); in flash_part_info_gen4()
787 set_fw_info_part(info, &fi->vendor[4]); in flash_part_info_gen4()
790 set_fw_info_part(info, &fi->vendor[5]); in flash_part_info_gen4()
793 set_fw_info_part(info, &fi->vendor[6]); in flash_part_info_gen4()
796 set_fw_info_part(info, &fi->vendor[7]); in flash_part_info_gen4()