Lines Matching refs:lind
816 u32 lind; in cxlflash_restore_luntable() local
826 lind = lli->lun_index; in cxlflash_restore_luntable()
829 writeq_be(lli->lun_id[0], &agm->fc_port[0][lind]); in cxlflash_restore_luntable()
830 writeq_be(lli->lun_id[1], &agm->fc_port[1][lind]); in cxlflash_restore_luntable()
832 "id1=%llx\n", __func__, lind, in cxlflash_restore_luntable()
836 writeq_be(lli->lun_id[chan], &agm->fc_port[chan][lind]); in cxlflash_restore_luntable()
838 "id=%llx\n", __func__, lind, chan, in cxlflash_restore_luntable()
860 u32 lind; in init_luntable() local
881 lind = lli->lun_index = cfg->promote_lun_index; in init_luntable()
882 writeq_be(lli->lun_id[0], &agm->fc_port[0][lind]); in init_luntable()
883 writeq_be(lli->lun_id[1], &agm->fc_port[1][lind]); in init_luntable()
886 __func__, lind, lli->lun_id[0], lli->lun_id[1]); in init_luntable()
898 lind = lli->lun_index = cfg->last_lun_index[chan]; in init_luntable()
899 writeq_be(lli->lun_id[chan], &agm->fc_port[chan][lind]); in init_luntable()
902 __func__, lind, chan, lli->lun_id[chan]); in init_luntable()