Home
last modified time | relevance | path

Searched refs:sdp (Results 1 – 13 of 13) sorted by relevance

/drivers/scsi/
Dsg.c207 static Sg_fd *sg_add_sfp(Sg_device * sdp);
220 #define sg_printk(prefix, sdp, fmt, a...) \ argument
221 sdev_printk(prefix, (sdp)->device, "[%s] " fmt, \
222 (sdp)->disk->disk_name, ##a)
235 open_wait(Sg_device *sdp, int flags) in open_wait() argument
240 while (sdp->open_cnt > 0) { in open_wait()
241 mutex_unlock(&sdp->open_rel_lock); in open_wait()
242 retval = wait_event_interruptible(sdp->open_wait, in open_wait()
243 (atomic_read(&sdp->detaching) || in open_wait()
244 !sdp->open_cnt)); in open_wait()
[all …]
Dsd.c156 struct scsi_device *sdp = sdkp->device; in cache_type_store() local
164 if (sdp->type != TYPE_DISK) in cache_type_store()
197 if (scsi_mode_sense(sdp, 0x08, 8, buffer, sizeof(buffer), SD_TIMEOUT, in cache_type_store()
208 if (scsi_mode_select(sdp, 1, sp, 8, buffer_data, len, SD_TIMEOUT, in cache_type_store()
223 struct scsi_device *sdp = sdkp->device; in manage_start_stop_show() local
225 return snprintf(buf, 20, "%u\n", sdp->manage_start_stop); in manage_start_stop_show()
233 struct scsi_device *sdp = sdkp->device; in manage_start_stop_store() local
238 sdp->manage_start_stop = simple_strtoul(buf, NULL, 10); in manage_start_stop_store()
257 struct scsi_device *sdp = sdkp->device; in allow_restart_store() local
262 if (sdp->type != TYPE_DISK) in allow_restart_store()
[all …]
Dsd_dif.c43 struct scsi_device *sdp = sdkp->device; in sd_dif_config_host() local
48 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host()
49 dix = scsi_host_dix_capable(sdp->host, type); in sd_dif_config_host()
51 if (!dix && scsi_host_dix_capable(sdp->host, 0)) { in sd_dif_config_host()
Dscsi_debug.c2682 static int scsi_debug_slave_alloc(struct scsi_device *sdp) in scsi_debug_slave_alloc() argument
2686 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_alloc()
2687 queue_flag_set_unlocked(QUEUE_FLAG_BIDI, sdp->request_queue); in scsi_debug_slave_alloc()
2691 static int scsi_debug_slave_configure(struct scsi_device *sdp) in scsi_debug_slave_configure() argument
2697 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_configure()
2698 if (sdp->host->max_cmd_len != SCSI_DEBUG_MAX_CMD_LEN) in scsi_debug_slave_configure()
2699 sdp->host->max_cmd_len = SCSI_DEBUG_MAX_CMD_LEN; in scsi_debug_slave_configure()
2700 devip = devInfoReg(sdp); in scsi_debug_slave_configure()
2703 sdp->hostdata = devip; in scsi_debug_slave_configure()
2704 sdp->tagged_supported = 1; in scsi_debug_slave_configure()
[all …]
Dscsi_sysfs.c435 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release() local
437 &sdp->ew); in scsi_device_dev_release()
448 struct scsi_device *sdp; in scsi_bus_match() local
453 sdp = to_scsi_device(dev); in scsi_bus_match()
454 if (sdp->no_uld_attach) in scsi_bus_match()
456 return (sdp->inq_periph_qual == SCSI_INQ_PQ_CON)? 1: 0; in scsi_bus_match()
Dosst.h194 unsigned sdp :1; /* Should be 0 */ member
202 unsigned sdp :1; /* Should be 0 */ member
/drivers/s390/scsi/
Dzfcp_scsi.c66 static int zfcp_scsi_slave_configure(struct scsi_device *sdp) in zfcp_scsi_slave_configure() argument
68 if (sdp->tagged_supported) in zfcp_scsi_slave_configure()
69 scsi_adjust_queue_depth(sdp, MSG_SIMPLE_TAG, default_depth); in zfcp_scsi_slave_configure()
71 scsi_adjust_queue_depth(sdp, 0, 1); in zfcp_scsi_slave_configure()
/drivers/video/fbdev/omap2/displays-new/
DKconfig78 Zoom2/3/3630 sdp boards.
/drivers/scsi/ufs/
Dufshcd.c4677 ufshcd_send_request_sense(struct ufs_hba *hba, struct scsi_device *sdp) in ufshcd_send_request_sense() argument
4694 ret = scsi_execute_req_flags(sdp, cmd, DMA_FROM_DEVICE, buffer, in ufshcd_send_request_sense()
4719 struct scsi_device *sdp; in ufshcd_set_dev_pwr_mode() local
4724 sdp = hba->sdev_ufs_device; in ufshcd_set_dev_pwr_mode()
4725 if (sdp) { in ufshcd_set_dev_pwr_mode()
4726 ret = scsi_device_get(sdp); in ufshcd_set_dev_pwr_mode()
4727 if (!ret && !scsi_device_online(sdp)) { in ufshcd_set_dev_pwr_mode()
4729 scsi_device_put(sdp); in ufshcd_set_dev_pwr_mode()
4747 ret = ufshcd_send_request_sense(hba, sdp); in ufshcd_set_dev_pwr_mode()
4761 ret = scsi_execute_req_flags(sdp, cmd, DMA_NONE, NULL, 0, &sshdr, in ufshcd_set_dev_pwr_mode()
[all …]
/drivers/net/ethernet/intel/i40evf/
Di40e_type.h224 bool sdp[I40E_HW_CAP_MAX_GPIO]; member
/drivers/net/ethernet/intel/i40e/
Di40e_type.h224 bool sdp[I40E_HW_CAP_MAX_GPIO]; member
Di40e_common.c2375 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities()
/drivers/scsi/isci/
Drequest.c278 static u8 scu_bg_blk_size(struct scsi_device *sdp) in scu_bg_blk_size() argument
280 switch (sdp->sector_size) { in scu_bg_blk_size()