Home
last modified time | relevance | path

Searched refs:vtarget (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/message/fusion/
Dmptspi.c328 mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, in mptspi_initTarget() argument
338 if (vtarget == NULL) in mptspi_initTarget()
341 vtarget->type = sdev->type; in mptspi_initTarget()
346 vtarget->tflags |= MPT_TARGET_FLAGS_SAF_TE_ISSUED; in mptspi_initTarget()
347 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget()
349 !(vtarget->tflags & MPT_TARGET_FLAGS_SAF_TE_ISSUED )) { in mptspi_initTarget()
357 vtarget->tflags |= MPT_TARGET_FLAGS_SAF_TE_ISSUED; in mptspi_initTarget()
358 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget()
362 mptspi_setTargetNegoParms(hd, vtarget, sdev); in mptspi_initTarget()
401 VirtTarget *vtarget; in mptspi_target_alloc() local
[all …]
Dmptfc.c429 VirtTarget *vtarget; in mptfc_register_dev() local
472 vtarget = ri->starget->hostdata; in mptfc_register_dev()
473 if (vtarget) { in mptfc_register_dev()
474 vtarget->id = pg0->CurrentTargetID; in mptfc_register_dev()
475 vtarget->channel = pg0->CurrentBus; in mptfc_register_dev()
476 vtarget->deleted = 0; in mptfc_register_dev()
532 VirtTarget *vtarget; in mptfc_target_alloc() local
537 vtarget = kzalloc(sizeof(VirtTarget), GFP_KERNEL); in mptfc_target_alloc()
538 if (!vtarget) in mptfc_target_alloc()
540 starget->hostdata = vtarget; in mptfc_target_alloc()
[all …]
Dmptscsih.c392 mptscsih_issue_sep_command(MPT_ADAPTER *ioc, VirtTarget *vtarget, in mptscsih_issue_sep_command() argument
403 if (vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) in mptscsih_issue_sep_command()
414 SEPMsg->Bus = vtarget->channel; in mptscsih_issue_sep_command()
415 SEPMsg->TargetID = vtarget->id; in mptscsih_issue_sep_command()
596 VirtTarget *vtarget; in mptscsih_io_done() local
635 if (!vdevice || !vdevice->vtarget || in mptscsih_io_done()
636 vdevice->vtarget->deleted) { in mptscsih_io_done()
732 vtarget = vdevice->vtarget; in mptscsih_io_done()
733 if (vtarget->tflags & MPT_TARGET_FLAGS_LED_ON) { in mptscsih_io_done()
734 mptscsih_issue_sep_command(ioc, vtarget, in mptscsih_io_done()
[all …]
Dmptsas.c758 VirtTarget *vtarget; in mptsas_add_device_component_starget() local
764 vtarget = starget->hostdata; in mptsas_add_device_component_starget()
970 VirtTarget *vtarget = NULL; in mptsas_find_vtarget() local
975 (vdevice->vtarget == NULL)) in mptsas_find_vtarget()
977 if ((vdevice->vtarget->tflags & in mptsas_find_vtarget()
979 vdevice->vtarget->raidVolume)) in mptsas_find_vtarget()
981 if (vdevice->vtarget->id == id && in mptsas_find_vtarget()
982 vdevice->vtarget->channel == channel) in mptsas_find_vtarget()
983 vtarget = vdevice->vtarget; in mptsas_find_vtarget()
985 return vtarget; in mptsas_find_vtarget()
[all …]
Dmptctl.c1340 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_getiocinfo()
1342 if (vdevice->vtarget->tflags & in mptctl_getiocinfo()
1463 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_gettargetinfo()
1465 if (vdevice->vtarget->tflags & in mptctl_gettargetinfo()
1468 lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; in mptctl_gettargetinfo()
1469 *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) + in mptctl_gettargetinfo()
1470 (vdevice->vtarget->id )); in mptctl_gettargetinfo()
1995 VirtTarget *vtarget = starget->hostdata; in mptctl_do_mpt_command() local
1997 if (vtarget == NULL) in mptctl_do_mpt_command()
2000 if ((pScsiReq->TargetID == vtarget->id) && in mptctl_do_mpt_command()
[all …]
Dmptbase.h406 VirtTarget *vtarget; member
/Linux-v5.4/include/sound/
Demux_synth.h186 int vtarget; /* volume target */ member
/Linux-v5.4/sound/synth/emux/
Demux_proc.c81 vp->vtarget, in snd_emux_proc_info_read()
Demux_synth.c602 vp->vtarget = 0; in setup_voice()
606 vp->vtarget = voltarget[vp->avol % 0x10] >> (vp->avol >> 4); in setup_voice()
/Linux-v5.4/sound/isa/sb/
Demu8000_callback.c290 temp = vp->vtarget << 16; in start_voice()
/Linux-v5.4/sound/pci/emu10k1/
Demu10k1_callback.c453 temp = (unsigned int)vp->vtarget << 16; in start_voice()