Home
last modified time | relevance | path

Searched refs:sdev_gendev (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/scsi/
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()
Dscsi_sysfs.c441 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 …]
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()
Dscsi.c340 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()
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()
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()
Dses.c631 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()
Dmyrb.c1412 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()
Dvirtio_scsi.c115 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()
Dscsi_scan.c311 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()
Dscsi_lib.c2017 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()
Dvmw_pvscsi.c645 dev_dbg(&cmd->device->sdev_gendev, in pvscsi_complete_request()
794 dev_dbg(&cmd->device->sdev_gendev, in pvscsi_queue_lck()
Dscsi_transport_srp.c610 pr_debug("timeout for sdev %s\n", dev_name(&sdev->sdev_gendev)); in srp_timed_out()
Dsr.c692 error = device_add_disk(&sdev->sdev_gendev, disk, NULL); in sr_probe()
Dsg.c1532 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/
Dufshcd-priv.h267 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()
Dufshcd.c4250 !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/
Dscsi_device.h236 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()
Dscsi_driver.h36 return to_scsi_driver(cmd->device->sdev_gendev.driver); in scsi_cmd_to_driver()
/linux-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_glue.h251 #define sym_print_addr(cmd, arg...) dev_info(&cmd->device->sdev_gendev , ## arg)
/linux-6.1.9/drivers/hwmon/
Ddrivetemp.c226 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/
Dlibata-zpodd.c244 struct device *dev = &ata_dev->sdev->sdev_gendev; in zpodd_wake_dev()
Dlibata-acpi.c157 kobj = &dev->sdev->sdev_gendev.kobj; in ata_acpi_uevent()
Dlibata-scsi.c4258 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/
Desas2r_main.c1642 sdev_gendev), in esas2r_add_device()
1678 sdev_gendev), in esas2r_remove_device()
1687 sdev_gendev), in esas2r_remove_device()

12