Lines Matching refs:ld_index
445 evt_detail->args.ld.target_id, evt_detail->args.ld.ld_index); in megasas_decode_evt()
4757 int ret = 0, ld_index = 0, ids = 0; in megasas_get_ld_list() local
4842 for (ld_index = 0; ld_index < ld_count; ld_index++) { in megasas_get_ld_list()
4843 if (ci->ldList[ld_index].state != 0) { in megasas_get_ld_list()
4844 ids = ci->ldList[ld_index].ref.targetId; in megasas_get_ld_list()
4845 instance->ld_ids[ids] = ci->ldList[ld_index].ref.targetId; in megasas_get_ld_list()
4849 ld_index, ids); in megasas_get_ld_list()
4874 int ret = 0, ld_index = 0, ids = 0; in megasas_ld_list_query() local
4961 for (ld_index = 0; ld_index < tgtid_count; ld_index++) { in megasas_ld_list_query()
4962 ids = ci->targetId[ld_index]; in megasas_ld_list_query()
4963 instance->ld_ids[ids] = ci->targetId[ld_index]; in megasas_ld_list_query()
4966 ld_index, ci->targetId[ld_index]); in megasas_ld_list_query()
8795 u16 ld_index = 0; in megasas_add_remove_devices() local
8851 ld_index = (i * MEGASAS_MAX_DEV_PER_CHANNEL) + j; in megasas_add_remove_devices()
8854 if (instance->ld_ids[ld_index] != 0xff) { in megasas_add_remove_devices()