Home
last modified time | relevance | path

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

/linux-6.6.21/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.c390 mptscsih_issue_sep_command(MPT_ADAPTER *ioc, VirtTarget *vtarget, in mptscsih_issue_sep_command() argument
401 if (vtarget->tflags & MPT_TARGET_FLAGS_RAID_COMPONENT) in mptscsih_issue_sep_command()
412 SEPMsg->Bus = vtarget->channel; in mptscsih_issue_sep_command()
413 SEPMsg->TargetID = vtarget->id; in mptscsih_issue_sep_command()
594 VirtTarget *vtarget; in mptscsih_io_done() local
633 if (!vdevice || !vdevice->vtarget || in mptscsih_io_done()
634 vdevice->vtarget->deleted) { in mptscsih_io_done()
730 vtarget = vdevice->vtarget; in mptscsih_io_done()
731 if (vtarget->tflags & MPT_TARGET_FLAGS_LED_ON) { in mptscsih_io_done()
732 mptscsih_issue_sep_command(ioc, vtarget, in mptscsih_io_done()
[all …]
Dmptsas.c997 VirtTarget *vtarget = NULL; in mptsas_find_vtarget() local
1002 (vdevice->vtarget == NULL)) in mptsas_find_vtarget()
1004 if ((vdevice->vtarget->tflags & in mptsas_find_vtarget()
1006 vdevice->vtarget->raidVolume)) in mptsas_find_vtarget()
1008 if (vdevice->vtarget->id == id && in mptsas_find_vtarget()
1009 vdevice->vtarget->channel == channel) in mptsas_find_vtarget()
1010 vtarget = vdevice->vtarget; in mptsas_find_vtarget()
1012 return vtarget; in mptsas_find_vtarget()
1140 VirtTarget *vtarget = NULL; in mptsas_target_reset_queue() local
1147 vtarget = mptsas_find_vtarget(ioc, channel, id); in mptsas_target_reset_queue()
[all …]
Dmptctl.c1315 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_getiocinfo()
1317 if (vdevice->vtarget->tflags & in mptctl_getiocinfo()
1423 if (vdevice == NULL || vdevice->vtarget == NULL) in mptctl_gettargetinfo()
1425 if (vdevice->vtarget->tflags & in mptctl_gettargetinfo()
1428 lun = (vdevice->vtarget->raidVolume) ? 0x80 : vdevice->lun; in mptctl_gettargetinfo()
1429 *pdata = (((u8)lun << 16) + (vdevice->vtarget->channel << 8) + in mptctl_gettargetinfo()
1430 (vdevice->vtarget->id )); in mptctl_gettargetinfo()
1894 VirtTarget *vtarget = starget->hostdata; in mptctl_do_mpt_command() local
1896 if (vtarget == NULL) in mptctl_do_mpt_command()
1899 if ((pScsiReq->TargetID == vtarget->id) && in mptctl_do_mpt_command()
[all …]
Dmptbase.h406 VirtTarget *vtarget; member
/linux-6.6.21/sound/pci/emu10k1/
Demu10k1_callback.c313 u32 psst, dsl, map, ccca, vtarget; in start_voice() local
377 vtarget = (unsigned int)vp->vtarget << 16; in start_voice()
437 VTFT, vtarget | vp->ftarget, in start_voice()
438 CVCF, vtarget | CVCF_CURRENTFILTER_MASK, in start_voice()
/linux-6.6.21/include/sound/
Demux_synth.h186 int vtarget; /* volume target */ member
/linux-6.6.21/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-6.6.21/block/
Dblk-iocost.c1265 u64 vtime, vtarget; in iocg_activate() local
1307 vtarget = now->vnow - ioc->margins.target; in iocg_activate()
1310 atomic64_add(vtarget - vtime, &iocg->vtime); in iocg_activate()
1311 atomic64_add(vtarget - vtime, &iocg->done_vtime); in iocg_activate()
1312 vtime = vtarget; in iocg_activate()
/linux-6.6.21/sound/isa/sb/
Demu8000_callback.c290 temp = vp->vtarget << 16; in start_voice()