Home
last modified time | relevance | path

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

/linux/drivers/siox/
A Dsiox-core.c107 if (siox_device_type_error(sdevice, sdevice->status_read_clean)) in siox_device_synced()
124 return !siox_device_wdg_error(sdevice, sdevice->status_read_clean); in siox_device_connected()
169 sdriver->set_data(sdevice, sdevice->status_written, in siox_poll()
264 sdevice->status_written_lastcycle = sdevice->status_written; in siox_poll()
498 kfree(sdevice); in siox_device_release()
779 sdevice = kzalloc(sizeof(*sdevice), GFP_KERNEL); in siox_device_add()
780 if (!sdevice) in siox_device_add()
829 sdevice->watchdog_kn = sysfs_get_dirent(sdevice->dev.kobj.sd, in siox_device_add()
833 sdevice->connected_kn = sysfs_get_dirent(sdevice->dev.kobj.sd, in siox_device_add()
838 return sdevice; in siox_device_add()
[all …]
/linux/include/trace/events/
A 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/include/linux/
A Dsiox.h34 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 void (*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/drivers/gpio/
A Dgpio-siox.c28 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/drivers/scsi/
A Dstorvsc_drv.c1594 static int storvsc_device_alloc(struct scsi_device *sdevice) in storvsc_device_alloc() argument
1605 sdevice->sdev_bflags = BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES; in storvsc_device_alloc()
1610 static int storvsc_device_configure(struct scsi_device *sdevice) in storvsc_device_configure() argument
1612 blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); in storvsc_device_configure()
1614 sdevice->no_write_same = 1; in storvsc_device_configure()
1621 if (!strncmp(sdevice->vendor, "Msft", 4)) { in storvsc_device_configure()
1625 sdevice->scsi_level = SCSI_SPC_3; in storvsc_device_configure()
1630 sdevice->no_write_same = 0; in storvsc_device_configure()
A Dvirtio_scsi.c656 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()
/linux/drivers/gpu/drm/i915/
A Dintel_pch.c142 unsigned short svendor, unsigned short sdevice) in intel_is_virt_pch() argument
148 sdevice == PCI_SUBDEVICE_ID_QEMU)); in intel_is_virt_pch()

Completed in 30 milliseconds