/drivers/scsi/ |
D | sg.c | 208 static Sg_fd *sg_add_sfp(Sg_device * sdp); 221 #define sg_printk(prefix, sdp, fmt, a...) \ argument 222 sdev_prefix_printk(prefix, (sdp)->device, \ 223 (sdp)->disk->disk_name, fmt, ##a) 263 open_wait(Sg_device *sdp, int flags) in open_wait() argument 268 while (sdp->open_cnt > 0) { in open_wait() 269 mutex_unlock(&sdp->open_rel_lock); in open_wait() 270 retval = wait_event_interruptible(sdp->open_wait, in open_wait() 271 (atomic_read(&sdp->detaching) || in open_wait() 272 !sdp->open_cnt)); in open_wait() [all …]
|
D | sd.c | 157 struct scsi_device *sdp = sdkp->device; in cache_type_store() local 165 if (sdp->type != TYPE_DISK) in cache_type_store() 198 if (scsi_mode_sense(sdp, 0x08, 8, buffer, sizeof(buffer), SD_TIMEOUT, in cache_type_store() 216 if (scsi_mode_select(sdp, 1, sp, 8, buffer_data, len, SD_TIMEOUT, in cache_type_store() 231 struct scsi_device *sdp = sdkp->device; in manage_start_stop_show() local 233 return snprintf(buf, 20, "%u\n", sdp->manage_start_stop); in manage_start_stop_show() 241 struct scsi_device *sdp = sdkp->device; in manage_start_stop_store() local 250 sdp->manage_start_stop = v; in manage_start_stop_store() 270 struct scsi_device *sdp = sdkp->device; in allow_restart_store() local 275 if (sdp->type != TYPE_DISK) in allow_restart_store() [all …]
|
D | sd_dif.c | 43 struct scsi_device *sdp = sdkp->device; in sd_dif_config_host() local 49 dif = scsi_host_dif_capable(sdp->host, type); in sd_dif_config_host() 50 dix = scsi_host_dix_capable(sdp->host, type); in sd_dif_config_host() 52 if (!dix && scsi_host_dix_capable(sdp->host, 0)) { in sd_dif_config_host()
|
D | scsi_debug.c | 3095 struct scsi_device *sdp = scp->device; in resp_write_buffer() local 3114 if (dp->target == sdp->id) { in resp_write_buffer() 3126 if (dp->target == sdp->id) in resp_write_buffer() 3615 static int scsi_debug_slave_alloc(struct scsi_device *sdp) in scsi_debug_slave_alloc() argument 3619 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_alloc() 3620 queue_flag_set_unlocked(QUEUE_FLAG_BIDI, sdp->request_queue); in scsi_debug_slave_alloc() 3624 static int scsi_debug_slave_configure(struct scsi_device *sdp) in scsi_debug_slave_configure() argument 3630 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun); in scsi_debug_slave_configure() 3631 if (sdp->host->max_cmd_len != SCSI_DEBUG_MAX_CMD_LEN) in scsi_debug_slave_configure() 3632 sdp->host->max_cmd_len = SCSI_DEBUG_MAX_CMD_LEN; in scsi_debug_slave_configure() [all …]
|
D | scsi_sysfs.c | 441 struct scsi_device *sdp = to_scsi_device(dev); in scsi_device_dev_release() local 444 if (!try_module_get(sdp->host->hostt->module)) in scsi_device_dev_release() 445 sdp->host->hostt->module = NULL; in scsi_device_dev_release() 448 &sdp->ew); in scsi_device_dev_release() 459 struct scsi_device *sdp; in scsi_bus_match() local 464 sdp = to_scsi_device(dev); in scsi_bus_match() 465 if (sdp->no_uld_attach) in scsi_bus_match() 467 return (sdp->inq_periph_qual == SCSI_INQ_PQ_CON)? 1: 0; in scsi_bus_match()
|
D | osst.h | 194 unsigned sdp :1; /* Should be 0 */ member 202 unsigned sdp :1; /* Should be 0 */ member
|
/drivers/s390/scsi/ |
D | zfcp_scsi.c | 47 static int zfcp_scsi_slave_configure(struct scsi_device *sdp) in zfcp_scsi_slave_configure() argument 49 if (sdp->tagged_supported) in zfcp_scsi_slave_configure() 50 scsi_change_queue_depth(sdp, default_depth); in zfcp_scsi_slave_configure()
|
/drivers/video/fbdev/omap2/displays-new/ |
D | Kconfig | 84 Zoom2/3/3630 sdp boards.
|
/drivers/scsi/ufs/ |
D | ufshcd.c | 4820 ufshcd_send_request_sense(struct ufs_hba *hba, struct scsi_device *sdp) in ufshcd_send_request_sense() argument 4837 ret = scsi_execute_req_flags(sdp, cmd, DMA_FROM_DEVICE, buffer, in ufshcd_send_request_sense() 4862 struct scsi_device *sdp; in ufshcd_set_dev_pwr_mode() local 4867 sdp = hba->sdev_ufs_device; in ufshcd_set_dev_pwr_mode() 4868 if (sdp) { in ufshcd_set_dev_pwr_mode() 4869 ret = scsi_device_get(sdp); in ufshcd_set_dev_pwr_mode() 4870 if (!ret && !scsi_device_online(sdp)) { in ufshcd_set_dev_pwr_mode() 4872 scsi_device_put(sdp); in ufshcd_set_dev_pwr_mode() 4890 ret = ufshcd_send_request_sense(hba, sdp); in ufshcd_set_dev_pwr_mode() 4904 ret = scsi_execute_req_flags(sdp, cmd, DMA_NONE, NULL, 0, &sshdr, in ufshcd_set_dev_pwr_mode() [all …]
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 271 bool sdp[I40E_HW_CAP_MAX_GPIO]; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_type.h | 271 bool sdp[I40E_HW_CAP_MAX_GPIO]; member
|
D | i40e_common.c | 2940 p->sdp[phys_id] = true; in i40e_parse_discover_capabilities()
|
/drivers/scsi/isci/ |
D | request.c | 278 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()
|