/linux-6.1.9/drivers/scsi/ |
D | scsi_logging.c | 78 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()
|
D | scsi_sysfs.c | 441 put_device(&sdev->sdev_gendev); in scsi_device_cls_release() 461 parent = sdev->sdev_gendev.parent; in scsi_device_dev_release_usercontext() 1391 device_enable_async_suspend(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1393 pm_runtime_set_active(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1395 pm_runtime_forbid(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1396 pm_runtime_enable(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1403 error = device_add(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1415 device_del(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1418 transport_add_device(&sdev->sdev_gendev); in scsi_sysfs_add_sdev() 1438 struct device *dev = &sdev->sdev_gendev; in __scsi_remove_device() [all …]
|
D | scsi_dh.c | 278 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()
|
D | scsi.c | 340 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_size() 385 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_page() 424 dev_warn_once(&sdev->sdev_gendev, in scsi_get_vpd_buf() 520 dev_warn_once(&sdev->sdev_gendev, in scsi_report_opcode() 566 if (!get_device(&sdev->sdev_gendev)) in scsi_device_get() 573 put_device(&sdev->sdev_gendev); in scsi_device_get() 591 put_device(&sdev->sdev_gendev); in scsi_device_put()
|
D | scsi_pm.c | 220 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()
|
D | scsi_bsg.c | 101 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()
|
D | ses.c | 631 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure() 752 edev = enclosure_register(cdev->parent, dev_name(&sdev->sdev_gendev), in ses_intf_add() 805 if (!enclosure_remove_device(edev, &sdev->sdev_gendev)) in ses_intf_remove_component() 818 edev = enclosure_find(&sdev->sdev_gendev, NULL); in ses_intf_remove_enclosure()
|
D | myrb.c | 1412 dev_dbg(&scmd->device->sdev_gendev, in myrb_read_capacity() 1637 dev_dbg(&sdev->sdev_gendev, in myrb_ldev_slave_alloc() 1665 raid_set_level(myrb_raid_template, &sdev->sdev_gendev, level); in myrb_ldev_slave_alloc() 1685 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc() 1692 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc() 1697 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc() 2330 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi() 2349 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi() 2354 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi() 2360 dev_dbg(&scmd->device->sdev_gendev, "Device nonresponsive\n"); in myrb_handle_scsi()
|
D | virtio_scsi.c | 115 dev_dbg(&sc->device->sdev_gendev, in virtscsi_complete_cmd() 328 scsi_rescan_device(&sdev->sdev_gendev); in virtscsi_handle_param_change() 569 dev_dbg(&sc->device->sdev_gendev, in virtscsi_queuecommand()
|
D | scsi_scan.c | 311 sdev->sdev_gendev.parent = get_device(&starget->dev); in scsi_alloc_sdev() 1059 transport_configure_device(&sdev->sdev_gendev); in scsi_add_lun() 1169 dev_name(&sdev->sdev_gendev))); in scsi_probe_and_add_lun()
|
D | scsi_lib.c | 2017 if (!sdev || !get_device(&sdev->sdev_gendev)) in scsi_device_from_queue() 2446 scsi_rescan_device(&sdev->sdev_gendev); in scsi_evt_emit() 2474 kobject_uevent_env(&sdev->sdev_gendev.kobj, KOBJ_CHANGE, envp); in scsi_evt_emit() 2887 dev_name(&sdev->sdev_gendev), ret); in device_block()
|
D | vmw_pvscsi.c | 645 dev_dbg(&cmd->device->sdev_gendev, in pvscsi_complete_request() 794 dev_dbg(&cmd->device->sdev_gendev, in pvscsi_queue_lck()
|
D | scsi_transport_srp.c | 610 pr_debug("timeout for sdev %s\n", dev_name(&sdev->sdev_gendev)); in srp_timed_out()
|
D | sr.c | 692 error = device_add_disk(&sdev->sdev_gendev, disk, NULL); in sr_probe()
|
D | sg.c | 1532 error = sysfs_create_link(&scsidp->sdev_gendev.kobj, in sg_add_device() 1607 sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic"); in sg_remove_device()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshcd-priv.h | 267 return pm_runtime_get_sync(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_get_sync() 272 return pm_runtime_put_sync(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_put_sync() 277 pm_runtime_get_noresume(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_get_noresume() 282 return pm_runtime_resume(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_resume() 287 return pm_runtime_put(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_rpm_put()
|
D | ufshcd.c | 4250 !pm_runtime_suspended(&hba->ufs_device_wlun->sdev_gendev)) { in ufshcd_auto_hibern8_update() 4968 link = device_link_add(&sdev->sdev_gendev, in ufshcd_setup_links() 4969 &hba->ufs_device_wlun->sdev_gendev, in ufshcd_setup_links() 4972 dev_err(&sdev->sdev_gendev, "Failed establishing link - %s\n", in ufshcd_setup_links() 4973 dev_name(&hba->ufs_device_wlun->sdev_gendev)); in ufshcd_setup_links() 5078 pm_runtime_get_noresume(&sdev->sdev_gendev); in ufshcd_slave_configure() 5117 supplier = &hba->ufs_device_wlun->sdev_gendev; in ufshcd_slave_destroy() 5128 device_link_remove(&sdev->sdev_gendev, supplier); in ufshcd_slave_destroy() 6128 if (pm_runtime_status_suspended(&hba->ufs_device_wlun->sdev_gendev) || in ufshcd_err_handling_prepare() 6192 ret = pm_runtime_set_active(&hba->ufs_device_wlun->sdev_gendev); in ufshcd_recover_pm_error() [all …]
|
/linux-6.1.9/include/scsi/ |
D | scsi_device.h | 236 struct device sdev_gendev, member 260 container_of(d, struct scsi_device, sdev_gendev) 267 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a) 349 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target() 496 return device_reprobe(&sdev->sdev_gendev); in scsi_device_reprobe()
|
D | scsi_driver.h | 36 return to_scsi_driver(cmd->device->sdev_gendev.driver); in scsi_cmd_to_driver()
|
/linux-6.1.9/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.h | 251 #define sym_print_addr(cmd, arg...) dev_info(&cmd->device->sdev_gendev , ## arg)
|
/linux-6.1.9/drivers/hwmon/ |
D | drivetemp.c | 226 dev_dbg(&st->sdev->sdev_gendev, in drivetemp_get_smarttemp() 367 dev_notice(&sdev->sdev_gendev, in drivetemp_identify_sata()
|
/linux-6.1.9/drivers/ata/ |
D | libata-zpodd.c | 244 struct device *dev = &ata_dev->sdev->sdev_gendev; in zpodd_wake_dev()
|
D | libata-acpi.c | 157 kobj = &dev->sdev->sdev_gendev.kobj; in ata_acpi_uevent()
|
D | libata-scsi.c | 4258 sdev->sdev_gendev.of_node = child; in ata_scsi_assign_ofnode() 4419 dev_name(&sdev->sdev_gendev)); in ata_scsi_remove_dev() 4604 scsi_rescan_device(&(sdev->sdev_gendev)); in ata_scsi_dev_rescan()
|
/linux-6.1.9/drivers/scsi/esas2r/ |
D | esas2r_main.c | 1642 sdev_gendev), in esas2r_add_device() 1678 sdev_gendev), in esas2r_remove_device() 1687 sdev_gendev), in esas2r_remove_device()
|