| /include/linux/surface_aggregator/ |
| A D | device.h | 303 return sdev ? to_ssam_device(get_device(&sdev->dev)) : NULL; in ssam_device_get() 318 if (sdev) in ssam_device_put() 319 put_device(&sdev->dev); in ssam_device_put() 331 return dev_get_drvdata(&sdev->dev); in ssam_device_get_drvdata() 341 dev_set_drvdata(&sdev->dev, data); in ssam_device_set_drvdata() 424 return ssam_register_clients(&sdev->dev, sdev->ctrl); in ssam_device_register_clients() 458 return __raw_##name(sdev->ctrl, sdev->uid.target, \ 459 sdev->uid.instance); \ 492 return __raw_##name(sdev->ctrl, sdev->uid.target, \ 526 return __raw_##name(sdev->ctrl, sdev->uid.target, \ [all …]
|
| /include/scsi/ |
| A D | scsi_device.h | 436 (sdev); \ 437 (sdev) = __scsi_iterate_devices((shost), (sdev))) 586 return sdev->id; in sdev_id() 619 return sdev->sdtr; in scsi_device_sync() 623 return sdev->wdtr; in scsi_device_wide() 627 return sdev->ppr; in scsi_device_dt() 649 return sdev->inquiry ? (sdev->inquiry[6] & (1<<6)) : 1; in scsi_device_enclosure() 654 if (sdev->no_dif) in scsi_device_protection() 657 return sdev->scsi_level > SCSI_2 && sdev->inquiry[5] & (1<<0); in scsi_device_protection() 662 return sdev->inquiry ? (sdev->inquiry[5] >> 4) & 0x3 : 0; in scsi_device_tpgs() [all …]
|
| A 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()
|
| A 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,
|
| A 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);
|
| A D | scsi_host.h | 774 extern int scsi_resume_device(struct scsi_device *sdev); 775 extern int scsi_rescan_device(struct scsi_device *sdev);
|
| A 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() 706 extern int sas_ioctl(struct scsi_device *sdev, unsigned int cmd,
|
| /include/linux/ |
| A D | spmi.h | 52 return dev_get_drvdata(&sdev->dev); in spmi_device_get_drvdata() 57 dev_set_drvdata(&sdev->dev, data); in spmi_device_set_drvdata() 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); 142 int (*probe)(struct spmi_device *sdev); 143 void (*remove)(struct spmi_device *sdev); 144 void (*shutdown)(struct spmi_device *sdev); 184 int spmi_command_reset(struct spmi_device *sdev); [all …]
|
| A 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);
|
| A D | serdev.h | 238 static inline int serdev_device_open(struct serdev_device *sdev) in serdev_device_open() argument 242 static inline void serdev_device_close(struct serdev_device *sdev) {} in serdev_device_close() argument 243 static inline unsigned int serdev_device_set_baudrate(struct serdev_device *sdev, unsigned int baud… in serdev_device_set_baudrate() argument 247 static inline void serdev_device_set_flow_control(struct serdev_device *sdev, bool enable) {} in serdev_device_set_flow_control() argument 254 static inline void serdev_device_wait_until_sent(struct serdev_device *sdev, long timeout) {} in serdev_device_wait_until_sent() argument 267 static inline ssize_t serdev_device_write(struct serdev_device *sdev, in serdev_device_write() argument 273 static inline void serdev_device_write_flush(struct serdev_device *sdev) {} in serdev_device_write_flush() argument
|
| A 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);
|
| A D | scmi_protocol.h | 864 int (*devm_event_notifier_register)(struct scmi_device *sdev, 868 int (*devm_event_notifier_unregister)(struct scmi_device *sdev, 906 int __must_check (*devm_protocol_acquire)(struct scmi_device *sdev, 909 (*devm_protocol_get)(struct scmi_device *sdev, u8 proto, 911 void (*devm_protocol_put)(struct scmi_device *sdev, u8 proto); 957 int (*probe)(struct scmi_device *sdev); 958 void (*remove)(struct scmi_device *sdev);
|
| A D | libata.h | 724 struct scsi_device *sdev; /* attached SCSI device */ member 1205 extern int ata_std_bios_param(struct scsi_device *sdev, 1208 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev); 1209 extern int ata_scsi_sdev_init(struct scsi_device *sdev); 1210 int ata_scsi_sdev_configure(struct scsi_device *sdev, struct queue_limits *lim); 1211 extern void ata_scsi_sdev_destroy(struct scsi_device *sdev); 1212 extern int ata_scsi_change_queue_depth(struct scsi_device *sdev, 1214 extern int ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev, 1218 extern int ata_ncq_prio_enabled(struct ata_port *ap, struct scsi_device *sdev, 1220 extern int ata_ncq_prio_enable(struct ata_port *ap, struct scsi_device *sdev, [all …]
|
| A D | arm_ffa.h | 151 int (*probe)(struct ffa_device *sdev); 152 void (*remove)(struct ffa_device *sdev);
|
| /include/trace/events/ |
| A D | sof_intel.h | 19 TP_ARGS(sdev, source), 21 __string(device_name, dev_name(sdev->dev)) 34 TP_PROTO(sdev, msg, msg_ext), 36 __string(device_name, dev_name(sdev->dev)) 51 TP_ARGS(sdev, msg, msg_ext) 56 TP_ARGS(sdev, msg, msg_ext) 61 TP_ARGS(sdev, reg), 76 TP_ARGS(sdev, irq_status), 90 TP_PROTO(struct snd_sof_dev *sdev, 95 TP_ARGS(sdev, hstream, substream, pos), [all …]
|
| A 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/sound/ |
| A D | soc-usb.h | 56 struct snd_soc_usb_device *sdev, 70 int snd_soc_usb_connect(struct device *usbdev, struct snd_soc_usb_device *sdev); 71 int snd_soc_usb_disconnect(struct device *usbdev, struct snd_soc_usb_device *sdev); 94 struct snd_soc_usb_device *sdev) in snd_soc_usb_connect() argument 100 struct snd_soc_usb_device *sdev) in snd_soc_usb_disconnect() argument
|
| A D | sof.h | 171 int (*ops_init)(struct snd_sof_dev *sdev); 172 void (*ops_free)(struct snd_sof_dev *sdev);
|
| /include/linux/ssb/ |
| A 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
|
| A 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/linux/spi/ |
| A D | spi.h | 1717 spi_get_device_id(const struct spi_device *sdev); 1720 spi_get_device_match_data(const struct spi_device *sdev);
|
| /include/ufs/ |
| A D | ufshcd.h | 387 void (*config_scsi_dev)(struct scsi_device *sdev);
|