| /include/linux/surface_aggregator/ |
| D | device.h | 190 int (*probe)(struct ssam_device *sdev); 191 void (*remove)(struct ssam_device *sdev); 257 int ssam_device_add(struct ssam_device *sdev); 258 void ssam_device_remove(struct ssam_device *sdev); 268 static inline void ssam_device_mark_hot_removed(struct ssam_device *sdev) in ssam_device_mark_hot_removed() argument 270 dev_dbg(&sdev->dev, "marking device as hot-removed\n"); in ssam_device_mark_hot_removed() 271 set_bit(SSAM_DEVICE_HOT_REMOVED_BIT, &sdev->flags); in ssam_device_mark_hot_removed() 284 static inline bool ssam_device_is_hot_removed(struct ssam_device *sdev) in ssam_device_is_hot_removed() argument 286 return test_bit(SSAM_DEVICE_HOT_REMOVED_BIT, &sdev->flags); in ssam_device_is_hot_removed() 301 static inline struct ssam_device *ssam_device_get(struct ssam_device *sdev) in ssam_device_get() argument [all …]
|
| /include/scsi/ |
| D | scsi_device.h | 301 #define sdev_dbg(sdev, fmt, a...) \ argument 302 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a) 312 #define sdev_printk(l, sdev, fmt, a...) \ argument 313 sdev_prefix_printk(l, sdev, NULL, fmt, ##a) 382 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() argument 384 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target() 399 void scsi_attach_vpd(struct scsi_device *sdev); 400 void scsi_cdl_check(struct scsi_device *sdev); 401 int scsi_cdl_enable(struct scsi_device *sdev, bool enable); 433 #define shost_for_each_device(sdev, shost) \ argument [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 | 46 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, 48 int scsi_ioctl(struct scsi_device *sdev, bool open_for_write, 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 203 bool sas_ata_ncq_prio_supported(struct scsi_device *sdev);
|
| D | scsi_host.h | 806 extern int scsi_resume_device(struct scsi_device *sdev); 807 extern int scsi_rescan_device(struct scsi_device *sdev);
|
| D | libsas.h | 392 sdev_to_domain_dev(struct scsi_device *sdev) { in sdev_to_domain_dev() argument 393 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev() 707 extern int sas_ioctl(struct scsi_device *sdev, unsigned int cmd,
|
| /include/linux/ |
| D | spmi.h | 51 static inline void *spmi_device_get_drvdata(const struct spmi_device *sdev) in spmi_device_get_drvdata() argument 53 return dev_get_drvdata(&sdev->dev); in spmi_device_get_drvdata() 56 static inline void spmi_device_set_drvdata(struct spmi_device *sdev, void *data) in spmi_device_set_drvdata() argument 58 dev_set_drvdata(&sdev->dev, data); in spmi_device_set_drvdata() 63 static inline void spmi_device_put(struct spmi_device *sdev) in spmi_device_put() argument 65 if (sdev) in spmi_device_put() 66 put_device(&sdev->dev); in spmi_device_put() 69 int spmi_device_add(struct spmi_device *sdev); 71 void spmi_device_remove(struct spmi_device *sdev); 144 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 | 240 static inline int serdev_device_open(struct serdev_device *sdev) in serdev_device_open() argument 244 static inline void serdev_device_close(struct serdev_device *sdev) {} in serdev_device_close() argument 245 static inline unsigned int serdev_device_set_baudrate(struct serdev_device *sdev, unsigned int baud… in serdev_device_set_baudrate() argument 249 static inline void serdev_device_set_flow_control(struct serdev_device *sdev, bool enable) {} in serdev_device_set_flow_control() argument 256 static inline void serdev_device_wait_until_sent(struct serdev_device *sdev, long timeout) {} in serdev_device_wait_until_sent() argument 269 static inline ssize_t serdev_device_write(struct serdev_device *sdev, in serdev_device_write() argument 275 static inline void serdev_device_write_flush(struct serdev_device *sdev) {} in serdev_device_write_flush() argument 276 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 | 877 int (*devm_event_notifier_register)(struct scmi_device *sdev, 881 int (*devm_event_notifier_unregister)(struct scmi_device *sdev, 919 int __must_check (*devm_protocol_acquire)(struct scmi_device *sdev, 922 (*devm_protocol_get)(struct scmi_device *sdev, u8 proto, 924 void (*devm_protocol_put)(struct scmi_device *sdev, u8 proto); 974 int (*probe)(struct scmi_device *sdev); 975 void (*remove)(struct scmi_device *sdev);
|
| D | libata.h | 726 struct scsi_device *sdev; /* attached SCSI device */ member 1203 extern int ata_std_bios_param(struct scsi_device *sdev, 1206 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev); 1207 extern int ata_scsi_slave_alloc(struct scsi_device *sdev); 1208 int ata_scsi_device_configure(struct scsi_device *sdev, 1210 extern void ata_scsi_slave_destroy(struct scsi_device *sdev); 1211 extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, 1213 extern int ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev, 1215 extern int ata_ncq_prio_supported(struct ata_port *ap, struct scsi_device *sdev, 1217 extern int ata_ncq_prio_enabled(struct ata_port *ap, struct scsi_device *sdev, [all …]
|
| D | arm_ffa.h | 151 int (*probe)(struct ffa_device *sdev); 152 void (*remove)(struct ffa_device *sdev);
|
| /include/trace/events/ |
| D | sof_intel.h | 18 TP_PROTO(struct snd_sof_dev *sdev, char *source), 19 TP_ARGS(sdev, source), 21 __string(device_name, dev_name(sdev->dev)) 33 TP_ARGS(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 34 TP_PROTO(sdev, msg, msg_ext), 36 __string(device_name, dev_name(sdev->dev)) 50 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 51 TP_ARGS(sdev, msg, msg_ext) 55 TP_PROTO(struct snd_sof_dev *sdev, u32 msg, u32 msg_ext), 56 TP_ARGS(sdev, msg, msg_ext) [all …]
|
| D | sof.h | 43 TP_PROTO(struct snd_sof_dev *sdev, struct sof_ipc_stream_posn *posn), 44 TP_ARGS(sdev, posn), 46 __string(device_name, dev_name(sdev->dev)) 63 TP_PROTO(struct snd_sof_dev *sdev, 69 TP_ARGS(sdev, spcm, substream, dma_posn, dai_posn), 71 __string(device_name, dev_name(sdev->dev)) 102 TP_PROTO(struct snd_sof_dev *sdev, char *key, u32 value), 103 TP_ARGS(sdev, key, value), 105 __string(device_name, dev_name(sdev->dev))
|
| /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() 633 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state() argument 635 if (sdev->bus->bustype == SSB_BUSTYPE_PCI) in ssb_pcihost_set_power_state() 636 pci_set_power_state(sdev->bus->host_pci, state); in ssb_pcihost_set_power_state() 644 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state() argument
|
| /include/sound/ |
| D | sof.h | 170 int (*ops_init)(struct snd_sof_dev *sdev); 171 void (*ops_free)(struct snd_sof_dev *sdev);
|
| /include/trace/hooks/ |
| D | ufshcd.h | 66 TP_PROTO(struct scsi_device *sdev), 67 TP_ARGS(sdev));
|
| /include/linux/spi/ |
| D | spi.h | 1698 spi_get_device_id(const struct spi_device *sdev); 1701 spi_get_device_match_data(const struct spi_device *sdev);
|
| /include/ufs/ |
| D | ufshcd.h | 394 void (*config_scsi_dev)(struct scsi_device *sdev);
|