Searched refs:sdev (Results 1 - 12 of 12) sorted by relevance

/include/linux/
H A Dswitch.h27 ssize_t (*print_name)(struct switch_dev *sdev, char *buf);
28 ssize_t (*print_state)(struct switch_dev *sdev, char *buf);
43 extern int switch_dev_register(struct switch_dev *sdev);
44 extern void switch_dev_unregister(struct switch_dev *sdev);
46 static inline int switch_get_state(struct switch_dev *sdev) argument
48 return sdev->state;
51 extern void switch_set_state(struct switch_dev *sdev, int state);
H A Dlibata.h615 struct scsi_device *sdev; /* attached SCSI device */ member in struct:ata_device
1050 extern int ata_std_bios_param(struct scsi_device *sdev,
1053 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev);
1054 extern int ata_scsi_slave_config(struct scsi_device *sdev);
1055 extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
1056 extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
1058 extern int __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev,
/include/scsi/
H A Dscsi_tcq.h21 * @sdev: the scsi device
27 static inline int scsi_get_tag_type(struct scsi_device *sdev) argument
29 if (!sdev->tagged_supported)
31 if (sdev->ordered_tags)
33 if (sdev->simple_tags)
38 static inline void scsi_set_tag_type(struct scsi_device *sdev, int tag) argument
42 sdev->ordered_tags = 1;
45 sdev->simple_tags = 1;
50 sdev->ordered_tags = 0;
51 sdev
65 scsi_activate_tcq(struct scsi_device *sdev, int depth) argument
81 scsi_deactivate_tcq(struct scsi_device *sdev, int depth) argument
119 scsi_find_tag(struct scsi_device *sdev, int tag) argument
[all...]
H A Dscsi_device.h27 * sdev state: If you alter this, you also need to alter scsi_sysfs.c
206 struct scsi_device *sdev; member in struct:scsi_dh_data
218 #define sdev_printk(prefix, sdev, fmt, a...) \
219 dev_printk(prefix, &(sdev)->sdev_gendev, fmt, ##a)
236 * starget_sdev_user is NULL, else it points to the active sdev.
275 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) argument
277 return to_scsi_target(sdev->sdev_gendev.parent);
315 * @sdev: the &struct scsi_device to use as a cursor
320 * you break out of the loop, you must call scsi_device_put(sdev).
322 #define shost_for_each_device(sdev, shos
400 scsi_device_reprobe(struct scsi_device *sdev) argument
405 sdev_channel(struct scsi_device *sdev) argument
410 sdev_id(struct scsi_device *sdev) argument
421 scsi_device_online(struct scsi_device *sdev) argument
426 scsi_device_blocked(struct scsi_device *sdev) argument
431 scsi_device_created(struct scsi_device *sdev) argument
438 scsi_device_sync(struct scsi_device *sdev) argument
442 scsi_device_wide(struct scsi_device *sdev) argument
446 scsi_device_dt(struct scsi_device *sdev) argument
450 scsi_device_dt_only(struct scsi_device *sdev) argument
456 scsi_device_ius(struct scsi_device *sdev) argument
462 scsi_device_qas(struct scsi_device *sdev) argument
468 scsi_device_enclosure(struct scsi_device *sdev) argument
473 scsi_device_protection(struct scsi_device *sdev) argument
478 scsi_device_tpgs(struct scsi_device *sdev) argument
[all...]
H A Dscsi_driver.h32 int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req);
33 int scsi_setup_fs_cmnd(struct scsi_device *sdev, struct request *req);
34 int scsi_prep_state_check(struct scsi_device *sdev, struct request *req);
H A Dscsi_transport.h115 scsi_transport_device_data(struct scsi_device *sdev) argument
117 struct Scsi_Host *shost = sdev->host;
118 return (u8 *)sdev->sdev_data
H A Dscsi_ioctl.h44 extern int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd,
H A Dlibsas.h433 sdev_to_domain_dev(struct scsi_device *sdev) { argument
434 return starget_to_domain_dev(sdev->sdev_target);
716 extern int sas_ioctl(struct scsi_device *sdev, int cmd, void __user *arg);
H A Dlibiscsi.h334 extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth,
/include/linux/ssb/
H A Dssb_driver_gige.h116 extern int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev,
118 extern int ssb_gige_map_irq(struct ssb_device *sdev,
136 static inline int ssb_gige_pcibios_plat_dev_init(struct ssb_device *sdev, argument
141 static inline int ssb_gige_map_irq(struct ssb_device *sdev, argument
H A Dssb.h255 struct ssb_device *sdev; member in struct:__ssb_dev_wrapper
282 return wrap->sdev;
584 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) argument
586 if (sdev->bus->bustype == SSB_BUSTYPE_PCI)
587 pci_set_power_state(sdev->bus->host_pci, state);
595 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) argument
/include/linux/spi/
H A Dspi.h857 spi_get_device_id(const struct spi_device *sdev);

Completed in 850 milliseconds