Home
last modified time | relevance | path

Searched refs:sdev (Results 1 – 14 of 14) sorted by relevance

/include/scsi/
Dscsi_device.h242 #define sdev_dbg(sdev, fmt, a...) \ argument
243 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a)
253 #define sdev_printk(l, sdev, fmt, a...) \ argument
254 sdev_prefix_printk(l, sdev, NULL, fmt, ##a)
321 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() argument
323 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target()
338 void scsi_attach_vpd(struct scsi_device *sdev);
370 #define shost_for_each_device(sdev, shost) \ argument
371 for ((sdev) = __scsi_iterate_devices((shost), NULL); \
372 (sdev); \
[all …]
Dscsi_transport.h79 scsi_transport_device_data(struct scsi_device *sdev) in scsi_transport_device_data() argument
81 struct Scsi_Host *shost = sdev->host; in scsi_transport_device_data()
82 return (u8 *)sdev->sdev_data in scsi_transport_device_data()
Dscsi_ioctl.h44 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
Dlibsas.h414 sdev_to_domain_dev(struct scsi_device *sdev) { in sdev_to_domain_dev() argument
415 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev()
699 extern int sas_ioctl(struct scsi_device *sdev, unsigned int cmd,
Dscsi_transport_sas.h16 static inline int scsi_is_sas_rphy(const struct device *sdev) in scsi_is_sas_rphy() argument
/include/linux/
Dspmi.h50 static inline void *spmi_device_get_drvdata(const struct spmi_device *sdev) in spmi_device_get_drvdata() argument
52 return dev_get_drvdata(&sdev->dev); in spmi_device_get_drvdata()
55 static inline void spmi_device_set_drvdata(struct spmi_device *sdev, void *data) in spmi_device_set_drvdata() argument
57 dev_set_drvdata(&sdev->dev, data); in spmi_device_set_drvdata()
62 static inline void spmi_device_put(struct spmi_device *sdev) in spmi_device_put() argument
64 if (sdev) in spmi_device_put()
65 put_device(&sdev->dev); in spmi_device_put()
68 int spmi_device_add(struct spmi_device *sdev);
70 void spmi_device_remove(struct spmi_device *sdev);
139 int (*probe)(struct spmi_device *sdev);
[all …]
Dshdma-base.h118 bool shdma_reset(struct shdma_dev *sdev);
119 void shdma_chan_probe(struct shdma_dev *sdev,
122 int shdma_init(struct device *dev, struct shdma_dev *sdev,
124 void shdma_cleanup(struct shdma_dev *sdev);
Dserdev.h232 static inline int serdev_device_open(struct serdev_device *sdev) in serdev_device_open() argument
236 static inline void serdev_device_close(struct serdev_device *sdev) {} in serdev_device_close() argument
237 static inline unsigned int serdev_device_set_baudrate(struct serdev_device *sdev, unsigned int baud… in serdev_device_set_baudrate() argument
241 static inline void serdev_device_set_flow_control(struct serdev_device *sdev, bool enable) {} in serdev_device_set_flow_control() argument
248 static inline void serdev_device_wait_until_sent(struct serdev_device *sdev, long timeout) {} in serdev_device_wait_until_sent() argument
257 static inline int serdev_device_write(struct serdev_device *sdev, const unsigned char *buf, in serdev_device_write() argument
262 static inline void serdev_device_write_flush(struct serdev_device *sdev) {} in serdev_device_write_flush() argument
263 static inline int serdev_device_write_room(struct serdev_device *sdev) in serdev_device_write_room() argument
Dslimbus.h196 int slim_readb(struct slim_device *sdev, u32 addr);
197 int slim_writeb(struct slim_device *sdev, u32 addr, u8 value);
198 int slim_read(struct slim_device *sdev, u32 addr, size_t count, u8 *val);
199 int slim_write(struct slim_device *sdev, u32 addr, size_t count, u8 *val);
Dscmi_protocol.h276 int (*probe)(struct scmi_device *sdev);
277 void (*remove)(struct scmi_device *sdev);
Dlibata.h674 struct scsi_device *sdev; /* attached SCSI device */ member
1179 extern int ata_std_bios_param(struct scsi_device *sdev,
1182 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev);
1183 extern int ata_scsi_slave_config(struct scsi_device *sdev);
1184 extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
1185 extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
1187 extern int __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev,
/include/linux/ssb/
Dssb_driver_gige.h122 extern int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev,
124 extern int ssb_gige_map_irq(struct ssb_device *sdev,
142 static inline int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev, in ssb_gige_pcibios_plat_dev_init() argument
147 static inline int ssb_gige_map_irq(struct ssb_device *sdev, in ssb_gige_map_irq() argument
Dssb.h265 struct ssb_device *sdev; member
292 return wrap->sdev; in dev_to_ssb_dev()
641 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state() argument
643 if (sdev->bus->bustype == SSB_BUSTYPE_PCI) in ssb_pcihost_set_power_state()
644 pci_set_power_state(sdev->bus->host_pci, state); in ssb_pcihost_set_power_state()
652 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state() argument
/include/linux/spi/
Dspi.h1373 spi_get_device_id(const struct spi_device *sdev);