Lines Matching refs:ld_index
445 evt_detail->args.ld.target_id, evt_detail->args.ld.ld_index); in megasas_decode_evt()
4756 int ret = 0, ld_index = 0, ids = 0; in megasas_get_ld_list() local
4841 for (ld_index = 0; ld_index < ld_count; ld_index++) { in megasas_get_ld_list()
4842 if (ci->ldList[ld_index].state != 0) { in megasas_get_ld_list()
4843 ids = ci->ldList[ld_index].ref.targetId; in megasas_get_ld_list()
4844 instance->ld_ids[ids] = ci->ldList[ld_index].ref.targetId; in megasas_get_ld_list()
4848 ld_index, ids); in megasas_get_ld_list()
4873 int ret = 0, ld_index = 0, ids = 0; in megasas_ld_list_query() local
4960 for (ld_index = 0; ld_index < tgtid_count; ld_index++) { in megasas_ld_list_query()
4961 ids = ci->targetId[ld_index]; in megasas_ld_list_query()
4962 instance->ld_ids[ids] = ci->targetId[ld_index]; in megasas_ld_list_query()
4965 ld_index, ci->targetId[ld_index]); in megasas_ld_list_query()
8794 u16 ld_index = 0; in megasas_add_remove_devices() local
8850 ld_index = (i * MEGASAS_MAX_DEV_PER_CHANNEL) + j; in megasas_add_remove_devices()
8853 if (instance->ld_ids[ld_index] != 0xff) { in megasas_add_remove_devices()