Home
last modified time | relevance | path

Searched defs:us (Results 1 – 25 of 35) sorted by relevance

12

/drivers/usb/storage/
Dshuttle_usbat.c86 static int usbat_get_device_type(struct us_data *us) in usbat_get_device_type()
94 static int usbat_read(struct us_data *us, in usbat_read()
112 static int usbat_write(struct us_data *us, in usbat_write()
130 static int usbat_bulk_read(struct us_data *us, in usbat_bulk_read()
145 static int usbat_bulk_write(struct us_data *us, in usbat_bulk_write()
162 static int usbat_execute_command(struct us_data *us, in usbat_execute_command()
174 static int usbat_get_status(struct us_data *us, unsigned char *status) in usbat_get_status()
186 static int usbat_check_status(struct us_data *us) in usbat_check_status()
210 static int usbat_set_shuttle_features(struct us_data *us, in usbat_set_shuttle_features()
266 static int usbat_wait_not_busy(struct us_data *us, int minutes) in usbat_wait_not_busy()
[all …]
Dusb.c195 struct us_data *us = usb_get_intfdata(iface); in storage_suspend() local
213 struct us_data *us = usb_get_intfdata(iface); in storage_resume() local
227 struct us_data *us = usb_get_intfdata(iface); in storage_reset_resume() local
248 struct us_data *us = usb_get_intfdata(iface); in storage_pre_reset() local
259 struct us_data *us = usb_get_intfdata(iface); in storage_post_reset() local
282 void fill_inquiry_response(struct us_data *us, unsigned char *data, in fill_inquiry_response()
317 struct us_data *us = (struct us_data *)__us; in usb_stor_control_thread() local
442 static int associate_dev(struct us_data *us, struct usb_interface *intf) in associate_dev()
482 static void adjust_quirks(struct us_data *us) in adjust_quirks()
562 static int get_device_info(struct us_data *us, const struct usb_device_id *id) in get_device_info()
[all …]
Dtransport.c125 static int usb_stor_msg_common(struct us_data *us, int timeout) in usb_stor_msg_common()
195 int usb_stor_control_msg(struct us_data *us, unsigned int pipe, in usb_stor_control_msg()
236 int usb_stor_clear_halt(struct us_data *us, unsigned int pipe) in usb_stor_clear_halt()
266 static int interpret_urb_result(struct us_data *us, unsigned int pipe, in interpret_urb_result()
329 int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, in usb_stor_ctrl_transfer()
363 static int usb_stor_intr_transfer(struct us_data *us, void *buf, in usb_stor_intr_transfer()
392 int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, in usb_stor_bulk_transfer_buf()
417 static int usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe, in usb_stor_bulk_transfer_sglist()
466 int usb_stor_bulk_srb(struct us_data* us, unsigned int pipe, in usb_stor_bulk_srb()
487 int usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, in usb_stor_bulk_transfer_sg()
[all …]
Dscsiglue.c81 struct us_data *us = host_to_us(sdev->host); in slave_alloc() local
124 struct us_data *us = host_to_us(sdev->host); in slave_configure() local
277 struct us_data *us = host_to_us(srb->device->host); in queuecommand() local
311 struct us_data *us = host_to_us(srb->device->host); in command_abort() local
347 struct us_data *us = host_to_us(srb->device->host); in device_reset() local
363 struct us_data *us = host_to_us(srb->device->host); in bus_reset() local
374 void usb_stor_report_device_reset(struct us_data *us) in usb_stor_report_device_reset()
389 void usb_stor_report_bus_reset(struct us_data *us) in usb_stor_report_bus_reset()
410 struct us_data *us = host_to_us(host); in proc_info() local
Dalauda.c48 #define MEDIA_PORT(us) us->srb->device->lun argument
49 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument
199 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status()
222 static int alauda_ack_media(struct us_data *us) in alauda_ack_media()
239 static int alauda_get_media_signature(struct us_data *us, unsigned char *data) in alauda_get_media_signature()
255 static int alauda_reset_media(struct us_data *us) in alauda_reset_media()
271 static int alauda_init_media(struct us_data *us) in alauda_init_media()
346 static int alauda_check_media(struct us_data *us) in alauda_check_media()
384 static int alauda_check_status2(struct us_data *us) in alauda_check_status2()
414 static int alauda_get_redu_data(struct us_data *us, u16 pba, unsigned char *data) in alauda_get_redu_data()
[all …]
Dsddr09.c256 sddr09_send_command(struct us_data *us, in sddr09_send_command()
282 sddr09_send_scsi_command(struct us_data *us, in sddr09_send_scsi_command()
315 sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) { in sddr09_request_sense()
356 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, in sddr09_readX()
405 sddr09_read20(struct us_data *us, unsigned long fromaddress, in sddr09_read20()
428 sddr09_read21(struct us_data *us, unsigned long fromaddress, in sddr09_read21()
446 sddr09_read22(struct us_data *us, unsigned long fromaddress, in sddr09_read22()
490 sddr09_erase(struct us_data *us, unsigned long Eaddress) { in sddr09_erase()
539 sddr09_writeX(struct us_data *us, in sddr09_writeX()
583 sddr09_write_inplace(struct us_data *us, unsigned long address, in sddr09_write_inplace()
[all …]
Djumpshot.c61 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read()
74 static inline int jumpshot_bulk_write(struct us_data *us, in jumpshot_bulk_write()
87 static int jumpshot_get_status(struct us_data *us) in jumpshot_get_status()
110 static int jumpshot_read_data(struct us_data *us, in jumpshot_read_data()
187 static int jumpshot_write_data(struct us_data *us, in jumpshot_write_data()
278 static int jumpshot_id_device(struct us_data *us, in jumpshot_id_device()
324 static int jumpshot_handle_mode_sense(struct us_data *us, in jumpshot_handle_mode_sense()
432 int jumpshot_transport(struct scsi_cmnd * srb, struct us_data *us) in jumpshot_transport()
Ddatafab.c68 datafab_bulk_read(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_read()
79 datafab_bulk_write(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_write()
89 static int datafab_read_data(struct us_data *us, in datafab_read_data()
172 static int datafab_write_data(struct us_data *us, in datafab_write_data()
269 static int datafab_determine_lun(struct us_data *us, in datafab_determine_lun()
336 static int datafab_id_device(struct us_data *us, in datafab_id_device()
392 static int datafab_handle_mode_sense(struct us_data *us, in datafab_handle_mode_sense()
503 int datafab_transport(struct scsi_cmnd * srb, struct us_data *us) in datafab_transport()
Dsddr55.c76 sddr55_bulk_transport(struct us_data *us, int direction, in sddr55_bulk_transport()
92 static int sddr55_status(struct us_data *us) in sddr55_status()
153 static int sddr55_read_data(struct us_data *us, in sddr55_read_data()
273 static int sddr55_write_data(struct us_data *us, in sddr55_write_data()
479 static int sddr55_read_deviceID(struct us_data *us, in sddr55_read_deviceID()
516 int sddr55_reset(struct us_data *us) { in sddr55_reset()
521 static unsigned long sddr55_get_capacity(struct us_data *us) { in sddr55_get_capacity()
605 static int sddr55_read_map(struct us_data *us) { in sddr55_read_map()
735 int sddr55_transport(struct scsi_cmnd *srb, struct us_data *us) in sddr55_transport()
Dinitializers.c47 int usb_stor_euscsi_init(struct us_data *us) in usb_stor_euscsi_init()
63 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init()
94 int usb_stor_huawei_e220_init(struct us_data *us) in usb_stor_huawei_e220_init()
Dprotocol.c59 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command()
76 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command()
119 struct us_data *us) in usb_stor_transparent_scsi_command()
Dkarma.c56 static int rio_karma_send_command(char cmd, struct us_data *us) in rio_karma_send_command()
107 int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport()
136 int rio_karma_init(struct us_data *us) in rio_karma_init()
Dfreecom.c107 freecom_readdata (struct scsi_cmnd *srb, struct us_data *us, in freecom_readdata()
140 freecom_writedata (struct scsi_cmnd *srb, struct us_data *us, in freecom_writedata()
176 int freecom_transport(struct scsi_cmnd *srb, struct us_data *us) in freecom_transport()
381 freecom_init (struct us_data *us) in freecom_init()
420 int usb_stor_freecom_reset(struct us_data *us) in usb_stor_freecom_reset()
Disd200.c363 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense()
441 static int isd200_action( struct us_data *us, int action, in isd200_action()
542 static int isd200_read_regs( struct us_data *us ) in isd200_read_regs()
571 static void isd200_invoke_transport( struct us_data *us, in isd200_invoke_transport()
714 static int isd200_write_config( struct us_data *us ) in isd200_write_config()
757 static int isd200_read_config( struct us_data *us ) in isd200_read_config()
802 static int isd200_atapi_soft_reset( struct us_data *us ) in isd200_atapi_soft_reset()
828 static int isd200_srst( struct us_data *us ) in isd200_srst()
869 static int isd200_try_enum(struct us_data *us, unsigned char master_slave, in isd200_try_enum()
974 static int isd200_manual_enum(struct us_data *us) in isd200_manual_enum()
[all …]
Doption_ms.c40 static int option_rezero(struct us_data *us, int ep_in, int ep_out) in option_rezero()
79 int option_ms_init(struct us_data *us) in option_ms_init()
Dcypress_atacb.c39 void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough()
Donetouch.c109 static void usb_onetouch_pm_hook(struct us_data *us, int action) in usb_onetouch_pm_hook()
Dsierra_ms.c125 int sierra_ms_init(struct us_data *us) in sierra_ms_init()
Dusb.h164 static inline struct Scsi_Host *us_to_host(struct us_data *us) { in us_to_host()
/drivers/video/backlight/
Dplatform_lcd.c23 struct device *us; member
/drivers/spi/
Dtle62x0.c28 struct spi_device *us; member
/drivers/hwmon/
Dapplesmc.c210 int us; in __wait_status() local
238 int us; in send_command() local
/drivers/net/wireless/ath9k/
Dhw.c1122 static bool ath9k_hw_set_ack_timeout(struct ath_hal *ah, u32 us) in ath9k_hw_set_ack_timeout()
1138 static bool ath9k_hw_set_cts_timeout(struct ath_hal *ah, u32 us) in ath9k_hw_set_cts_timeout()
3889 bool ath9k_hw_setslottime(struct ath_hal *ah, u32 us) in ath9k_hw_setslottime()
/drivers/char/
Dconsolemap.c350 unsigned short us; in con_set_trans_new() local
/drivers/net/wireless/
Darlan-main.c93 static inline long us2ticks(int us) in us2ticks()

12