/include/scsi/ |
D | scsi_device.h | 242 #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 …]
|
D | scsi_transport.h | 79 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()
|
D | scsi_ioctl.h | 44 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
|
D | libsas.h | 414 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,
|
D | scsi_transport_sas.h | 16 static inline int scsi_is_sas_rphy(const struct device *sdev) in scsi_is_sas_rphy() argument
|
/include/linux/ |
D | spmi.h | 50 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 …]
|
D | shdma-base.h | 118 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);
|
D | serdev.h | 232 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
|
D | slimbus.h | 196 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);
|
D | scmi_protocol.h | 276 int (*probe)(struct scmi_device *sdev); 277 void (*remove)(struct scmi_device *sdev);
|
D | libata.h | 674 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/ |
D | ssb_driver_gige.h | 122 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
|
D | ssb.h | 265 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/ |
D | spi.h | 1373 spi_get_device_id(const struct spi_device *sdev);
|