Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/
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()
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 …]
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_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()
Dscsi.c525 if (!get_device(&sdev->sdev_gendev)) in scsi_device_get()
532 put_device(&sdev->sdev_gendev); in scsi_device_get()
550 put_device(&sdev->sdev_gendev); in scsi_device_put()
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.c1414 dev_dbg(&scmd->device->sdev_gendev, in myrb_read_capacity()
1665 dev_dbg(&sdev->sdev_gendev, in myrb_ldev_slave_alloc()
1693 raid_set_level(myrb_raid_template, &sdev->sdev_gendev, level); in myrb_ldev_slave_alloc()
1713 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc()
1720 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc()
1725 dev_dbg(&sdev->sdev_gendev, in myrb_pdev_slave_alloc()
2354 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi()
2379 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi()
2384 dev_dbg(&scmd->device->sdev_gendev, in myrb_handle_scsi()
2391 dev_dbg(&scmd->device->sdev_gendev, "Device nonresponsive\n"); in myrb_handle_scsi()
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()
Dscsi_scan.c246 sdev->sdev_gendev.parent = get_device(&starget->dev); in scsi_alloc_sdev()
962 transport_configure_device(&sdev->sdev_gendev); in scsi_add_lun()
1064 dev_name(&sdev->sdev_gendev))); in scsi_probe_and_add_lun()
Dscsi_lib.c1941 if (!sdev || !get_device(&sdev->sdev_gendev)) in scsi_device_from_queue()
2357 scsi_rescan_device(&sdev->sdev_gendev); in scsi_evt_emit()
2385 kobject_uevent_env(&sdev->sdev_gendev.kobj, KOBJ_CHANGE, envp); in scsi_evt_emit()
2806 dev_name(&sdev->sdev_gendev), ret); in device_block()
Dvmw_pvscsi.c653 dev_dbg(&cmd->device->sdev_gendev, in pvscsi_complete_request()
803 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.c796 device_add_disk(&sdev->sdev_gendev, disk, NULL); in sr_probe()
Dsg.c1563 error = sysfs_create_link(&scsidp->sdev_gendev.kobj, in sg_add_device()
1640 sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic"); in sg_remove_device()
Dstorvsc_drv.c515 scsi_rescan_device(&sdev->sdev_gendev); in storvsc_device_scan()
Dst.c4225 dev = device_create(&st_sysfs_class, &tape->device->sdev_gendev, in create_one_cdev()
4256 return sysfs_create_link(&tape->device->sdev_gendev.kobj, in create_cdevs()
4263 sysfs_remove_link(&tape->device->sdev_gendev.kobj, "tape"); in remove_cdevs()
/kernel/linux/linux-5.10/include/scsi/
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-5.10/drivers/scsi/sym53c8xx_2/
Dsym_glue.h251 #define sym_print_addr(cmd, arg...) dev_info(&cmd->device->sdev_gendev , ## arg)
/kernel/linux/linux-5.10/drivers/hwmon/
Ddrivetemp.c226 dev_dbg(&st->sdev->sdev_gendev, in drivetemp_get_smarttemp()
367 dev_notice(&sdev->sdev_gendev, in drivetemp_identify_sata()
/kernel/linux/linux-5.10/drivers/staging/unisys/visorhba/
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/
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.c4325 sdev->sdev_gendev.of_node = child; in ata_scsi_assign_ofnode()
4486 dev_name(&sdev->sdev_gendev)); in ata_scsi_remove_dev()
4675 scsi_rescan_device(&(sdev->sdev_gendev)); in ata_scsi_dev_rescan()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_main.c1647 sdev_gendev), in esas2r_add_device()
1683 sdev_gendev), in esas2r_remove_device()
1692 sdev_gendev), in esas2r_remove_device()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c2228 &sdev->sdev_gendev, level); in _scsih_set_level()
2233 &sdev->sdev_gendev, level); in _scsih_set_level()
5024 if (((!ioc->is_warpdrive && !scsih_is_raid(&scmd->device->sdev_gendev)) in scsih_qcmd()
5025 && !scsih_is_nvme(&scmd->device->sdev_gendev)) in scsih_qcmd()
5571 !scsih_is_raid(&scmd->device->sdev_gendev) && in _scsih_io_done()
5572 !scsih_is_nvme(&scmd->device->sdev_gendev)) in _scsih_io_done()

12