Home
last modified time | relevance | path

Searched refs:sdevice (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/siox/
Dsiox-core.c68 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-v4.19/include/trace/events/
Dsiox.h11 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-v4.19/include/linux/
Dsiox.h37 bool siox_device_synced(struct siox_device *sdevice);
38 bool siox_device_connected(struct siox_device *sdevice);
41 int (*probe)(struct siox_device *sdevice);
42 int (*remove)(struct siox_device *sdevice);
43 void (*shutdown)(struct siox_device *sdevice);
49 int (*set_data)(struct siox_device *sdevice, u8 status, u8 buf[]);
54 int (*get_data)(struct siox_device *sdevice, const u8 buf[]);
/Linux-v4.19/drivers/scsi/
Dstorvsc_drv.c1408 static int storvsc_device_alloc(struct scsi_device *sdevice) in storvsc_device_alloc() argument
1419 sdevice->sdev_bflags = BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES; in storvsc_device_alloc()
1424 static int storvsc_device_configure(struct scsi_device *sdevice) in storvsc_device_configure() argument
1426 blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); in storvsc_device_configure()
1429 blk_queue_virt_boundary(sdevice->request_queue, PAGE_SIZE - 1); in storvsc_device_configure()
1431 sdevice->no_write_same = 1; in storvsc_device_configure()
1438 if (!strncmp(sdevice->vendor, "Msft", 4)) { in storvsc_device_configure()
1442 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure()
1447 sdevice->no_write_same = 0; in storvsc_device_configure()
Dvirtio_scsi.c637 static int virtscsi_device_alloc(struct scsi_device *sdevice) in virtscsi_device_alloc() argument
653 sdevice->sdev_bflags = BLIST_TRY_VPD_PAGES; in virtscsi_device_alloc()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_drv.c198 unsigned short svendor, unsigned short sdevice) in intel_is_virt_pch() argument
204 sdevice == PCI_SUBDEVICE_ID_QEMU)); in intel_is_virt_pch()