Searched refs:sdev_id (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 358 u16 sdev_id; in mlx5_check_dev_ids() local 365 err = pci_read_config_word(sdev, PCI_DEVICE_ID, &sdev_id); in mlx5_check_dev_ids() 368 if (sdev_id != dev_id) { in mlx5_check_dev_ids() 369 mlx5_core_warn(dev, "unrecognized dev_id (0x%x)\n", sdev_id); in mlx5_check_dev_ids()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | linit.c | 399 tid = sdev_id(sdev); in aac_slave_configure() 453 || !aac->fsa_dev[sdev_id(dev)].valid) { in aac_slave_configure() 522 tid = sdev_id(sdev); in aac_change_queue_depth() 565 get_container_type(aac->fsa_dev[sdev_id(sdev)].type)); in aac_show_raid_level() 586 memcpy(sn, aac->fsa_dev[sdev_id(sdev)].identifier, sizeof(sn)); in aac_show_unique_id() 702 host->host_no, sdev_channel(dev), sdev_id(dev), (int)dev->lun); in aac_eh_abort() 761 host->host_no, sdev_channel(dev), sdev_id(dev), in aac_eh_abort()
|
H A D | aachba.c | 2624 u32 cid = sdev_id(sdev); in synchronize_callback() 2740 pmcmd->cid = cpu_to_le32(sdev_id(sdev)); in aac_start_stop()
|
/openbmc/linux/include/scsi/ |
H A D | scsi_device.h | 527 static inline unsigned int sdev_id(struct scsi_device *sdev) in sdev_id() function 532 #define scmd_id(scmd) sdev_id((scmd)->device)
|
/openbmc/qemu/hw/scsi/ |
H A D | megasas.c | 1265 uint16_t sdev_id = ((sdev->id & 0xFF) << 8) | (lun & 0xFF); in megasas_ld_get_info_submit() local 1301 info->ld_config.span[0].array_ref = cpu_to_le16(sdev_id); in megasas_ld_get_info_submit() 1382 uint16_t sdev_id = ((sdev->id & 0xFF) << 8) | (sdev->lun & 0xFF); in megasas_dcmd_cfg_read() local 1392 array->array_ref = cpu_to_le16(sdev_id); in megasas_dcmd_cfg_read() 1393 array->pd[0].ref.v.device_id = cpu_to_le16(sdev_id); in megasas_dcmd_cfg_read() 1420 ld->span[0].array_ref = cpu_to_le16(sdev_id); in megasas_dcmd_cfg_read()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_error.c | 2425 target == sdev_id(sdev)) in scsi_report_device_reset()
|
H A D | hpsa.c | 2126 sd->target = sdev_id(sdev); in hpsa_slave_alloc() 2132 sdev_id(sdev), sdev->lun); in hpsa_slave_alloc()
|
H A D | ncr53c8xx.c | 4325 cp->phys.select.sel_id = sdev_id(sdev); in ncr_queue_command()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 6484 device->target = sdev_id(sdev); in pqi_slave_alloc() 6491 sdev_id(sdev), sdev->lun); in pqi_slave_alloc()
|