Searched refs:sdevice (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/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 …]
|
/Linux-v5.4/include/trace/events/ |
D | siox.h | 11 const struct siox_device *sdevice, 13 TP_ARGS(smaster, sdevice, devno, bufoffset), 18 __dynamic_array(u8, buf, sdevice->inbytes) 23 __entry->inbytes = sdevice->inbytes; 25 smaster->buf + bufoffset, sdevice->inbytes); 36 const struct siox_device *sdevice, 39 TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset), 45 __dynamic_array(u8, buf, sdevice->outbytes) 51 __entry->outbytes = sdevice->outbytes; 53 smaster->buf + bufoffset, sdevice->outbytes);
|
/Linux-v5.4/include/linux/ |
D | siox.h | 34 bool siox_device_synced(struct siox_device *sdevice); 35 bool siox_device_connected(struct siox_device *sdevice); 38 int (*probe)(struct siox_device *sdevice); 39 int (*remove)(struct siox_device *sdevice); 40 void (*shutdown)(struct siox_device *sdevice); 46 int (*set_data)(struct siox_device *sdevice, u8 status, u8 buf[]); 51 int (*get_data)(struct siox_device *sdevice, const u8 buf[]);
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_pch.c | 96 unsigned short svendor, unsigned short sdevice) in intel_is_virt_pch() argument 102 sdevice == PCI_SUBDEVICE_ID_QEMU)); in intel_is_virt_pch()
|
/Linux-v5.4/drivers/scsi/ |
D | storvsc_drv.c | 1406 static int storvsc_device_alloc(struct scsi_device *sdevice) in storvsc_device_alloc() argument 1417 sdevice->sdev_bflags = BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES; in storvsc_device_alloc() 1422 static int storvsc_device_configure(struct scsi_device *sdevice) in storvsc_device_configure() argument 1424 blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); in storvsc_device_configure() 1426 sdevice->no_write_same = 1; in storvsc_device_configure() 1433 if (!strncmp(sdevice->vendor, "Msft", 4)) { in storvsc_device_configure() 1437 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure() 1442 sdevice->no_write_same = 0; in storvsc_device_configure()
|
D | virtio_scsi.c | 645 static int virtscsi_device_alloc(struct scsi_device *sdevice) in virtscsi_device_alloc() argument 661 sdevice->sdev_bflags = BLIST_TRY_VPD_PAGES; in virtscsi_device_alloc()
|