Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 25 of 33) sorted by relevance

12

/drivers/message/fusion/
Dmptspi.c108 mptspi_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtTarget *target, in mptspi_setTargetNegoParms() argument
111 MPT_ADAPTER *ioc = hd->ioc; in mptspi_setTargetNegoParms()
254 mptspi_writeIOCPage4(MPT_SCSI_HOST *hd, u8 channel , u8 id) in mptspi_writeIOCPage4() argument
256 MPT_ADAPTER *ioc = hd->ioc; in mptspi_writeIOCPage4()
333 mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, in mptspi_initTarget() argument
348 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) { in mptspi_initTarget()
352 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget()
363 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget()
367 mptspi_setTargetNegoParms(hd, vtarget, sdev); in mptspi_initTarget()
381 mptspi_is_raid(struct _MPT_SCSI_HOST *hd, u32 id) in mptspi_is_raid() argument
[all …]
Dmptscsih.c95 static void mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SC…
97 int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id,
108 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd);
109 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice);
591 MPT_SCSI_HOST *hd; in mptscsih_io_done() local
598 hd = shost_priv(ioc->sh); in mptscsih_io_done()
688 mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); in mptscsih_io_done()
726 if (hd->sel_timeout[pScsiReq->TargetID] < 0xFFFF) in mptscsih_io_done()
727 hd->sel_timeout[pScsiReq->TargetID]++; in mptscsih_io_done()
1030 mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) in mptscsih_flush_running_cmds() argument
[all …]
Dmptfc.c191 MPT_SCSI_HOST *hd; in mptfc_block_error_handler() local
200 hd = shost_priv(SCpnt->device->host); in mptfc_block_error_handler()
201 ioc = hd->ioc; in mptfc_block_error_handler()
607 MPT_SCSI_HOST *hd; in mptfc_slave_alloc() local
620 hd = shost_priv(sdev->host); in mptfc_slave_alloc()
621 ioc = hd->ioc; in mptfc_slave_alloc()
1180 MPT_SCSI_HOST *hd; in mptfc_probe() local
1296 hd = shost_priv(sh); in mptfc_probe()
1297 hd->ioc = ioc; in mptfc_probe()
1312 hd->last_queue_full = 0; in mptfc_probe()
[all …]
Dmptscsih.h117 extern int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel,
138 extern void mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd);
Dmptsas.c338 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_cleanup_fw_event_q() local
341 if (!list_empty(&hd->target_reset_list)) { in mptsas_cleanup_fw_event_q()
343 &hd->target_reset_list, list) { in mptsas_cleanup_fw_event_q()
1113 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_target_reset_queue() local
1138 list_add_tail(&target_reset_list->list, &hd->target_reset_list); in mptsas_target_reset_queue()
1160 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_schedule_target_reset() local
1161 struct list_head *head = &hd->target_reset_list; in mptsas_schedule_target_reset()
1168 head = &hd->target_reset_list; in mptsas_schedule_target_reset()
1196 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_taskmgmt_complete() local
1197 struct list_head *head = &hd->target_reset_list; in mptsas_taskmgmt_complete()
[all …]
Dmptctl.c2561 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptctl_hp_hostinfo() local
2563 if (hd && (cim_rev == 1)) { in mptctl_hp_hostinfo()
2675 MPT_SCSI_HOST *hd = NULL; in mptctl_hp_targetinfo() local
2791 hd = shost_priv(ioc->sh); in mptctl_hp_targetinfo()
2792 if (hd != NULL) in mptctl_hp_targetinfo()
2793 karg.select_timeouts = hd->sel_timeout[karg.hdr.id]; in mptctl_hp_targetinfo()
Dmptbase.h598 typedef void (*MPT_FLUSH_RUNNING_CMDS)(MPT_SCSI_HOST *hd);
/drivers/scsi/
Deata_pio.c115 hostdata *hd = SD(sh); in eata_pio_release() local
125 if (hd->pdev) in eata_pio_release()
126 pci_dev_put(hd->pdev); in eata_pio_release()
162 hostdata *hd; in eata_pio_int_handler() local
181 hd = SD(sh); in eata_pio_int_handler()
183 cp = &hd->ccb[0]; in eata_pio_int_handler()
246 while ((stat & HA_SDRQ) || ((stat & HA_SMORE) && hd->moresupport)); in eata_pio_int_handler()
259 hd->devflags |= (1 << cp->cp_id); in eata_pio_int_handler()
260 } else if (hd->devflags & (1 << cp->cp_id)) in eata_pio_int_handler()
308 hostdata *hd; in eata_pio_queue_lck() local
[all …]
Dwd33c93.c1924 static inline void set_resync ( struct WD33C93_hostdata *hd, int mask ) in set_resync() argument
1929 hd->sync_stat[i] = SS_UNSET; in set_resync()
2062 struct WD33C93_hostdata *hd; in wd33c93_write_info() local
2065 hd = (struct WD33C93_hostdata *) instance->hostdata; in wd33c93_write_info()
2086 hd->args = simple_strtoul(bp+6, &bp, 0) & DB_MASK; in wd33c93_write_info()
2091 hd->disconnect = x; in wd33c93_write_info()
2094 hd->default_sx_per = in wd33c93_write_info()
2095 hd->sx_table[round_period((unsigned int) x, in wd33c93_write_info()
2096 hd->sx_table)].period_ns; in wd33c93_write_info()
2098 set_resync(hd, (int)simple_strtoul(bp+7, &bp, 0)); in wd33c93_write_info()
[all …]
Din2000.c2175 struct IN2000_hostdata *hd; in in2000_write_info() local
2178 hd = (struct IN2000_hostdata *) instance->hostdata; in in2000_write_info()
2184 hd->args = simple_strtoul(bp, NULL, 0) & DB_MASK; in in2000_write_info()
2190 hd->disconnect = x; in in2000_write_info()
2194 hd->default_sx_per = sx_table[round_period((unsigned int) x)].period_ns; in in2000_write_info()
2200 hd->sync_stat[i] = SS_UNSET; in in2000_write_info()
2203 hd->proc = simple_strtoul(bp, NULL, 0); in in2000_write_info()
2206 hd->level2 = simple_strtoul(bp, NULL, 0); in in2000_write_info()
2217 struct IN2000_hostdata *hd; in in2000_show_info() local
2221 hd = (struct IN2000_hostdata *) instance->hostdata; in in2000_show_info()
[all …]
Dsgiwd93.c66 void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din) in fill_hpc_entries() argument
74 physaddr = dma_map_single(hd->dev, addr, len, DMA_DIR(din)); in fill_hpc_entries()
76 hcp = hd->cpu; in fill_hpc_entries()
98 dma_cache_sync(hd->dev, hd->cpu, in fill_hpc_entries()
99 (unsigned long)(hcp + 1) - (unsigned long)hd->cpu, in fill_hpc_entries()
Daha152x.c1431 struct aha152x_hostdata *hd; in run() local
1433 list_for_each_entry(hd, &aha152x_host_list, host_list) { in run()
1434 struct Scsi_Host *shost = container_of((void *)hd, struct Scsi_Host, hostdata); in run()
3891 struct aha152x_hostdata *hd, *tmp; in aha152x_exit() local
3893 list_for_each_entry_safe(hd, tmp, &aha152x_host_list, host_list) { in aha152x_exit()
3894 struct Scsi_Host *shost = container_of((void *)hd, struct Scsi_Host, hostdata); in aha152x_exit()
/drivers/gpu/drm/radeon/
Dradeon_uvd.c804 unsigned *sd, unsigned *hd) in radeon_uvd_count_handles() argument
809 *hd = 0; in radeon_uvd_count_handles()
816 ++(*hd); in radeon_uvd_count_handles()
830 &rdev->pm.dpm.hd); in radeon_uvd_idle_work_handler()
849 unsigned hd = 0, sd = 0; in radeon_uvd_note_usage() local
850 radeon_uvd_count_handles(rdev, &sd, &hd); in radeon_uvd_note_usage()
852 (rdev->pm.dpm.hd != hd)) { in radeon_uvd_note_usage()
854 rdev->pm.dpm.hd = hd; in radeon_uvd_note_usage()
Dradeon_pm.c989 enable |= rdev->pm.dpm.hd > 0; in radeon_dpm_enable_uvd()
999 if ((rdev->pm.dpm.sd == 1) && (rdev->pm.dpm.hd == 0)) in radeon_dpm_enable_uvd()
1001 else if ((rdev->pm.dpm.sd == 2) && (rdev->pm.dpm.hd == 0)) in radeon_dpm_enable_uvd()
1003 else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 1)) in radeon_dpm_enable_uvd()
1005 else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 2)) in radeon_dpm_enable_uvd()
/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c191 unsigned int hd, hs, he, hbe, ht; in matroxfb_vgaHWinit() local
239 hd = m->HDisplay >> 3; in matroxfb_vgaHWinit()
248 hd >>= 1; in matroxfb_vgaHWinit()
257 hd <<= 1; in matroxfb_vgaHWinit()
263 hd = hd - 1; in matroxfb_vgaHWinit()
289 ((hd & 0x100) >> 7) | /* blanking */ in matroxfb_vgaHWinit()
304 hw->CRTC[1] = hd; in matroxfb_vgaHWinit()
305 hw->CRTC[2] = hd; in matroxfb_vgaHWinit()
/drivers/gpu/drm/i2c/
Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
108 .name = #hd "x" #vd, \
112 .hdisplay = hd, \
135 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument
137 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
138 scale_mask, norm_mask, hd, vd)
/drivers/media/platform/ti-vpe/
Dcsc.c31 u16 hd[12]; member
160 coeff = sd_hd_coeffs->hd; in csc_set_coeff()
/drivers/infiniband/hw/ipath/
Dipath_intr.c542 unsigned long tl, hd, status, lengen; in handle_sdma_errors() local
544 hd = ipath_read_kreg64(dd, dd->ipath_kregs->kr_senddmahead); in handle_sdma_errors()
550 "lengen 0x%lx\n", tl, hd, status, lengen); in handle_sdma_errors()
588 u32 hd, tl; in handle_hdrq_full() local
618 hd = ipath_read_ureg32(dd, ur_rcvhdrhead, i); in handle_hdrq_full()
619 if (hd == (tl + 1) || (!hd && tl == dd->ipath_hdrqlast)) { in handle_hdrq_full()
/drivers/media/rc/keymaps/
DMakefile7 rc-ati-tv-wonder-hd-600.o \
71 rc-pinnacle-pctv-hd.o \
/drivers/video/fbdev/
Dasiliantfb.c176 unsigned hd = p->var.xres / 8; in asiliant_set_timing() local
194 write_cr(0x01, hd - 1); in asiliant_set_timing()
195 write_cr(0x02, hd); in asiliant_set_timing()
Dtdfxfb.c568 u32 hd, hs, he, ht, hbs, hbe; in tdfxfb_set_par() local
598 hd = wd; in tdfxfb_set_par()
602 hbs = hd; in tdfxfb_set_par()
661 reg.crt[0x01] = hd; in tdfxfb_set_par()
686 ((hd & 0x100) >> 6) | in tdfxfb_set_par()
/drivers/block/
DMakefile35 obj-$(CONFIG_BLK_DEV_HD) += hd.o
/drivers/mtd/
Dmtdswap.c1114 union swap_header *hd = (union swap_header *)(buf); in mtdswap_auto_header() local
1118 hd->info.version = 1; in mtdswap_auto_header()
1119 hd->info.last_page = d->mbd_dev->size - 1; in mtdswap_auto_header()
1120 hd->info.nr_badpages = 0; in mtdswap_auto_header()
/drivers/mfd/
Dsi476x-cmd.c1151 (tuneargs->hd << 6), in si476x_core_cmd_am_tune_freq_a10()
1352 (tuneargs->hd << 6) | (tuneargs->tunemode << 4) in si476x_core_cmd_fm_tune_freq_a10()
1370 (tuneargs->hd << 6) | (tuneargs->tunemode << 4) in si476x_core_cmd_fm_tune_freq_a20()
/drivers/media/radio/
Dradio-si476x.c537 .hd = false, in si476x_radio_pretune()
739 args.hd = false; in si476x_radio_s_frequency()

12