Lines Matching refs:targets
986 struct ep11_target_dev *targets)
989 if (targets->ap_id == dev_id || targets->ap_id == AUTOSEL_AP)
991 targets++;
998 struct ep11_target_dev *targets)
1003 if ((targets->ap_id == card || targets->ap_id == AUTOSEL_AP) &&
1004 (targets->dom_id == dom || targets->dom_id == AUTOSEL_DOM))
1006 targets++;
1017 struct ep11_target_dev *targets;
1036 /* empty list indicates autoselect (all available targets) */
1037 targets = NULL;
1041 targets = kcalloc(target_num, sizeof(*targets), GFP_KERNEL);
1042 if (!targets) {
1048 uptr = (struct ep11_target_dev __force __user *) xcrb->targets;
1049 if (z_copy_from_user(userspace, targets, uptr,
1050 target_num * sizeof(*targets))) {
1070 if (targets &&
1071 !is_desired_ep11_card(zc->card->id, target_num, targets))
1089 (targets &&
1091 target_num, targets)))
1125 kfree(targets);