Searched refs:sdevice (Results 1 – 5 of 5) sorted by relevance
/drivers/siox/ |
D | siox-core.c | 68 static bool siox_device_counter_error(struct siox_device *sdevice, in siox_device_counter_error() argument 74 static bool siox_device_type_error(struct siox_device *sdevice, u8 status_clean) in siox_device_type_error() argument 83 if (sdevice->statustype) { in siox_device_type_error() 84 if (statustype != sdevice->statustype) in siox_device_type_error() 97 static bool siox_device_wdg_error(struct siox_device *sdevice, u8 status_clean) in siox_device_wdg_error() argument 105 bool siox_device_synced(struct siox_device *sdevice) in siox_device_synced() argument 107 if (siox_device_type_error(sdevice, sdevice->status_read_clean)) in siox_device_synced() 110 return !siox_device_counter_error(sdevice, sdevice->status_read_clean); in siox_device_synced() 119 bool siox_device_connected(struct siox_device *sdevice) in siox_device_connected() argument 121 if (!siox_device_synced(sdevice)) in siox_device_connected() [all …]
|
/drivers/gpio/ |
D | gpio-siox.c | 28 static int gpio_siox_set_data(struct siox_device *sdevice, u8 status, u8 buf[]) in gpio_siox_set_data() argument 30 struct gpio_siox_ddata *ddata = dev_get_drvdata(&sdevice->dev); in gpio_siox_set_data() 39 static int gpio_siox_get_data(struct siox_device *sdevice, const u8 buf[]) in gpio_siox_get_data() argument 41 struct gpio_siox_ddata *ddata = dev_get_drvdata(&sdevice->dev); in gpio_siox_get_data() 211 static int gpio_siox_probe(struct siox_device *sdevice) in gpio_siox_probe() argument 215 struct device *dev = &sdevice->dev; in gpio_siox_probe()
|
/drivers/scsi/ |
D | storvsc_drv.c | 1520 static int storvsc_device_alloc(struct scsi_device *sdevice) in storvsc_device_alloc() argument 1531 sdevice->sdev_bflags = BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES; in storvsc_device_alloc() 1536 static int storvsc_device_configure(struct scsi_device *sdevice) in storvsc_device_configure() argument 1538 blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); in storvsc_device_configure() 1541 sdevice->no_report_opcodes = 1; in storvsc_device_configure() 1542 sdevice->no_write_same = 1; in storvsc_device_configure() 1549 if (!strncmp(sdevice->vendor, "Msft", 4)) { in storvsc_device_configure() 1553 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure() 1558 sdevice->no_write_same = 0; in storvsc_device_configure()
|
D | virtio_scsi.c | 656 static int virtscsi_device_alloc(struct scsi_device *sdevice) in virtscsi_device_alloc() argument 672 sdevice->sdev_bflags = BLIST_TRY_VPD_PAGES; in virtscsi_device_alloc()
|
/drivers/gpu/drm/i915/ |
D | intel_pch.c | 137 unsigned short svendor, unsigned short sdevice) in intel_is_virt_pch() argument 143 sdevice == PCI_SUBDEVICE_ID_QEMU)); in intel_is_virt_pch()
|