Home
last modified time | relevance | path

Searched refs:sdev_gendev (Results 1 - 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_logging.c75 dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); in sdev_prefix_printk()
100 dev_printk(level, &scmd->device->sdev_gendev, "%s", logbuf); in scmd_printk()
207 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_command()
221 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", in scsi_print_command()
233 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_command()
312 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_dump_sense()
329 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_print_sense_hdr()
338 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_print_sense_hdr()
441 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_result()
H A Dscsi_dh.c278 put_device(&sdev->sdev_gendev); in scsi_dh_activate()
309 put_device(&sdev->sdev_gendev); in scsi_dh_set_params()
345 put_device(&sdev->sdev_gendev); in scsi_dh_attach()
370 put_device(&sdev->sdev_gendev); in scsi_dh_attached_handler_name()
H A Dscsi_sysfs.c442 put_device(&sdev->sdev_gendev); in scsi_device_cls_release()
461 parent = sdev->sdev_gendev.parent; in scsi_device_dev_release_usercontext()
1370 device_enable_async_suspend(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1372 pm_runtime_set_active(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1374 pm_runtime_forbid(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1375 pm_runtime_enable(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1382 error = device_add(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1394 device_del(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1397 transport_add_device(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1400 error = bsg_scsi_register_queue(rq, &sdev->sdev_gendev); in scsi_sysfs_add_sdev()
[all...]
H A Dscsi_pm.c302 err = pm_runtime_get_sync(&sdev->sdev_gendev); in scsi_autopm_get_device()
304 pm_runtime_put_sync(&sdev->sdev_gendev); in scsi_autopm_get_device()
313 pm_runtime_put_sync(&sdev->sdev_gendev); in scsi_autopm_put_device()
H A Dscsi.c532 if (!get_device(&sdev->sdev_gendev)) in scsi_device_get()
539 put_device(&sdev->sdev_gendev); in scsi_device_get()
557 put_device(&sdev->sdev_gendev); in scsi_device_put()
H A Dses.c653 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure()
777 edev = enclosure_register(cdev->parent, dev_name(&sdev->sdev_gendev), in ses_intf_add()
830 if (!enclosure_remove_device(edev, &sdev->sdev_gendev)) in ses_intf_remove_component()
843 edev = enclosure_find(&sdev->sdev_gendev, NULL); in ses_intf_remove_enclosure()
H A Dvirtio_scsi.c114 dev_dbg(&sc->device->sdev_gendev, in virtscsi_complete_cmd()
329 scsi_rescan_device(&sdev->sdev_gendev); in virtscsi_handle_param_change()
570 dev_dbg(&sc->device->sdev_gendev, in virtscsi_queuecommand()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_logging.c78 dev_printk(level, &sdev->sdev_gendev, "%s", logbuf); in sdev_prefix_printk()
103 dev_printk(level, &scmd->device->sdev_gendev, "%s", logbuf); in scmd_printk()
207 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_command()
221 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", in scsi_print_command()
233 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_command()
312 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_dump_sense()
329 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_print_sense_hdr()
338 dev_printk(KERN_INFO, &sdev->sdev_gendev, "%s", logbuf); in scsi_log_print_sense_hdr()
436 dev_printk(KERN_INFO, &cmd->device->sdev_gendev, "%s", logbuf); in scsi_print_result()
H A Dscsi_dh.c278 put_device(&sdev->sdev_gendev); in scsi_dh_activate()
309 put_device(&sdev->sdev_gendev); in scsi_dh_set_params()
345 put_device(&sdev->sdev_gendev); in scsi_dh_attach()
370 put_device(&sdev->sdev_gendev); in scsi_dh_attached_handler_name()
H A Dscsi_sysfs.c441 put_device(&sdev->sdev_gendev); in scsi_device_cls_release()
458 parent = sdev->sdev_gendev.parent; in scsi_device_dev_release()
1405 device_enable_async_suspend(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1407 pm_runtime_set_active(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1409 pm_runtime_forbid(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1410 pm_runtime_enable(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1417 error = device_add(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1429 device_del(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1432 transport_add_device(&sdev->sdev_gendev); in scsi_sysfs_add_sdev()
1452 struct device *dev = &sdev->sdev_gendev; in __scsi_remove_device()
[all...]
H A Dscsi.c368 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_size()
413 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_page()
452 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_buf()
555 dev_warn_once(&sdev->sdev_gendev, in scsi_report_opcode()
726 dev_name(&sdev->sdev_gendev), &sshdr); in scsi_cdl_enable()
753 if (!get_device(&sdev->sdev_gendev)) in scsi_device_get()
776 put_device(&sdev->sdev_gendev); in scsi_device_put()
H A Dscsi_pm.c220 err = pm_runtime_get_sync(&sdev->sdev_gendev); in scsi_autopm_get_device()
222 pm_runtime_put_sync(&sdev->sdev_gendev); in scsi_autopm_get_device()
231 pm_runtime_put_sync(&sdev->sdev_gendev); in scsi_autopm_put_device()
H A Dscsi_bsg.c101 return bsg_register_queue(sdev->request_queue, &sdev->sdev_gendev, in scsi_bsg_register_queue()
102 dev_name(&sdev->sdev_gendev), scsi_bsg_sg_io_fn); in scsi_bsg_register_queue()
H A Dses.c659 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure()
782 edev = enclosure_register(cdev->parent, dev_name(&sdev->sdev_gendev), in ses_intf_add()
835 if (!enclosure_remove_device(edev, &sdev->sdev_gendev)) in ses_intf_remove_component()
848 edev = enclosure_find(&sdev->sdev_gendev, NULL); in ses_intf_remove_enclosure()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_device.h225 struct device sdev_gendev, member
245 container_of(d, struct scsi_device, sdev_gendev)
252 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a)
332 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target()
480 return device_reprobe(&sdev->sdev_gendev); in scsi_device_reprobe()
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_device.h265 struct device sdev_gendev, member
288 container_of(d, struct scsi_device, sdev_gendev)
295 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a)
377 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target()
520 return device_reprobe(&sdev->sdev_gendev); in scsi_device_reprobe()
H A Dscsi_driver.h36 return to_scsi_driver(cmd->device->sdev_gendev.driver); in scsi_cmd_to_driver()
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufshcd-priv.h329 return pm_runtime_get_sync(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_get_sync()
334 return pm_runtime_put_sync(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_put_sync()
339 pm_runtime_get_noresume(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_get_noresume()
344 return pm_runtime_resume(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_resume()
349 return pm_runtime_put(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_put()
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h251 #define sym_print_addr(cmd, arg...) dev_info(&cmd->device->sdev_gendev , ## arg)
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h251 #define sym_print_addr(cmd, arg...) dev_info(&cmd->device->sdev_gendev , ## arg)
/kernel/linux/linux-5.10/drivers/hwmon/
H A Ddrivetemp.c226 dev_dbg(&st->sdev->sdev_gendev, in drivetemp_get_smarttemp()
367 dev_notice(&sdev->sdev_gendev, in drivetemp_identify_sata()
552 * sdev->sdev_gendev, which we can use to get the scsi_device pointer.
/kernel/linux/linux-6.6/drivers/hwmon/
H A Ddrivetemp.c225 dev_dbg(&st->sdev->sdev_gendev, in drivetemp_get_smarttemp()
366 dev_notice(&sdev->sdev_gendev, in drivetemp_identify_sata()
551 * sdev->sdev_gendev, which we can use to get the scsi_device pointer.
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/
H A Dvisorhba_main.c334 dev_dbg(&scsidev->sdev_gendev, in forward_taskmgmt_command()
348 dev_dbg(&scsidev->sdev_gendev, in forward_taskmgmt_command()
355 dev_dbg(&scsidev->sdev_gendev, in forward_taskmgmt_command()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-zpodd.c244 struct device *dev = &ata_dev->sdev->sdev_gendev; in zpodd_wake_dev()
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-zpodd.c244 struct device *dev = &ata_dev->sdev->sdev_gendev; in zpodd_wake_dev()

Completed in 23 milliseconds

123