/openbmc/linux/drivers/usb/storage/ |
H A D | usb.c | 171 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend() local 191 struct us_data *us = usb_get_intfdata(iface); in usb_stor_resume() local 205 struct us_data *us = usb_get_intfdata(iface); in usb_stor_reset_resume() local 227 struct us_data *us = usb_get_intfdata(iface); in usb_stor_pre_reset() local 237 struct us_data *us = usb_get_intfdata(iface); in usb_stor_post_reset() local 261 void fill_inquiry_response(struct us_data *us, unsigned char *data, in fill_inquiry_response() 300 struct us_data *us = (struct us_data *)__us; in usb_stor_control_thread() local 440 static int associate_dev(struct us_data *us, struct usb_interface *intf) in associate_dev() 588 static int get_device_info(struct us_data *us, const struct usb_device_id *id, in get_device_info() 666 static void get_transport(struct us_data *us) in get_transport() [all …]
|
H A D | transport.c | 115 static int usb_stor_msg_common(struct us_data *us, int timeout) in usb_stor_msg_common() 185 int usb_stor_control_msg(struct us_data *us, unsigned int pipe, in usb_stor_control_msg() 227 int usb_stor_clear_halt(struct us_data *us, unsigned int pipe) in usb_stor_clear_halt() 256 static int interpret_urb_result(struct us_data *us, unsigned int pipe, in interpret_urb_result() 322 int usb_stor_ctrl_transfer(struct us_data *us, unsigned int pipe, in usb_stor_ctrl_transfer() 356 static int usb_stor_intr_transfer(struct us_data *us, void *buf, in usb_stor_intr_transfer() 385 int usb_stor_bulk_transfer_buf(struct us_data *us, unsigned int pipe, in usb_stor_bulk_transfer_buf() 411 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() 488 int usb_stor_bulk_transfer_sg(struct us_data* us, unsigned int pipe, in usb_stor_bulk_transfer_sg() [all …]
|
H A D | shuttle_usbat.c | 214 static int usbat_get_device_type(struct us_data *us) in usbat_get_device_type() 222 static int usbat_read(struct us_data *us, in usbat_read() 240 static int usbat_write(struct us_data *us, in usbat_write() 258 static int usbat_bulk_read(struct us_data *us, in usbat_bulk_read() 273 static int usbat_bulk_write(struct us_data *us, in usbat_bulk_write() 290 static int usbat_execute_command(struct us_data *us, in usbat_execute_command() 302 static int usbat_get_status(struct us_data *us, unsigned char *status) in usbat_get_status() 314 static int usbat_check_status(struct us_data *us) in usbat_check_status() 338 static int usbat_set_shuttle_features(struct us_data *us, in usbat_set_shuttle_features() 394 static int usbat_wait_not_busy(struct us_data *us, int minutes) in usbat_wait_not_busy() [all …]
|
H A D | scsiglue.c | 64 struct us_data *us = host_to_us(host); in host_info() local 70 struct us_data *us = host_to_us(sdev->host); in slave_alloc() local 94 struct us_data *us = host_to_us(sdev->host); in slave_configure() local 346 struct us_data *us = host_to_us(dev_to_shost(starget->dev.parent)); in target_alloc() local 376 struct us_data *us = host_to_us(srb->device->host); in queuecommand_lck() local 459 struct us_data *us = host_to_us(srb->device->host); in command_abort() local 471 struct us_data *us = host_to_us(srb->device->host); in device_reset() local 490 struct us_data *us = host_to_us(srb->device->host); in bus_reset() local 504 void usb_stor_report_device_reset(struct us_data *us) in usb_stor_report_device_reset() 521 void usb_stor_report_bus_reset(struct us_data *us) in usb_stor_report_bus_reset() [all …]
|
H A D | realtek_cr.c | 100 struct us_data *us; member 201 static int rts51x_bulk_transport(struct us_data *us, u8 lun, in rts51x_bulk_transport() 291 static int rts51x_bulk_transport_special(struct us_data *us, u8 lun, in rts51x_bulk_transport_special() 338 static int rts51x_get_max_lun(struct us_data *us) in rts51x_get_max_lun() 360 static int rts51x_read_mem(struct us_data *us, u16 addr, u8 *data, u16 len) in rts51x_read_mem() 391 static int rts51x_write_mem(struct us_data *us, u16 addr, u8 *data, u16 len) in rts51x_write_mem() 419 static int rts51x_read_status(struct us_data *us, in rts51x_read_status() 447 static int rts51x_check_status(struct us_data *us, u8 lun) in rts51x_check_status() 478 static int enable_oscillator(struct us_data *us) in enable_oscillator() 502 static int __do_config_autodelink(struct us_data *us, u8 *data, u16 len) in __do_config_autodelink() [all …]
|
H A D | sddr09.c | 289 sddr09_send_command(struct us_data *us, in sddr09_send_command() 315 sddr09_send_scsi_command(struct us_data *us, in sddr09_send_scsi_command() 348 sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) { in sddr09_request_sense() 389 sddr09_readX(struct us_data *us, int x, unsigned long fromaddress, in sddr09_readX() 438 sddr09_read20(struct us_data *us, unsigned long fromaddress, in sddr09_read20() 461 sddr09_read21(struct us_data *us, unsigned long fromaddress, in sddr09_read21() 479 sddr09_read22(struct us_data *us, unsigned long fromaddress, in sddr09_read22() 522 sddr09_erase(struct us_data *us, unsigned long Eaddress) { in sddr09_erase() 571 sddr09_writeX(struct us_data *us, in sddr09_writeX() 615 sddr09_write_inplace(struct us_data *us, unsigned long address, in sddr09_write_inplace() [all …]
|
H A D | alauda.c | 116 #define MEDIA_PORT(us) us->srb->device->lun argument 117 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument 310 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() 333 static int alauda_ack_media(struct us_data *us) in alauda_ack_media() 350 static int alauda_get_media_signature(struct us_data *us, unsigned char *data) in alauda_get_media_signature() 366 static int alauda_reset_media(struct us_data *us) in alauda_reset_media() 382 static int alauda_init_media(struct us_data *us) in alauda_init_media() 457 static int alauda_check_media(struct us_data *us) in alauda_check_media() 500 static int alauda_check_status2(struct us_data *us) in alauda_check_status2() 530 static int alauda_get_redu_data(struct us_data *us, u16 pba, unsigned char *data) in alauda_get_redu_data() [all …]
|
H A D | ene_ub6250.c | 490 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() 570 static int do_scsi_request_sense(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_request_sense() 586 static int do_scsi_inquiry(struct us_data *us, struct scsi_cmnd *srb) in do_scsi_inquiry() 598 static int sd_scsi_test_unit_ready(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_test_unit_ready() 612 static int sd_scsi_mode_sense(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_mode_sense() 631 static int sd_scsi_read_capacity(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read_capacity() 671 static int sd_scsi_read(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_read() 711 static int sd_scsi_write(struct us_data *us, struct scsi_cmnd *srb) in sd_scsi_write() 755 static int ms_lib_set_logicalpair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_set_logicalpair() 768 static int ms_lib_set_logicalblockmark(struct us_data *us, u16 phyblk, u16 mark) in ms_lib_set_logicalblockmark() [all …]
|
H A D | jumpshot.c | 105 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read() 118 static inline int jumpshot_bulk_write(struct us_data *us, in jumpshot_bulk_write() 131 static int jumpshot_get_status(struct us_data *us) in jumpshot_get_status() 153 static int jumpshot_read_data(struct us_data *us, in jumpshot_read_data() 230 static int jumpshot_write_data(struct us_data *us, in jumpshot_write_data() 321 static int jumpshot_id_device(struct us_data *us, in jumpshot_id_device() 366 static int jumpshot_handle_mode_sense(struct us_data *us, in jumpshot_handle_mode_sense() 474 static int jumpshot_transport(struct scsi_cmnd *srb, struct us_data *us) in jumpshot_transport() 651 struct us_data *us; in jumpshot_probe() local
|
H A D | datafab.c | 114 datafab_bulk_read(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_read() 125 datafab_bulk_write(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_write() 135 static int datafab_read_data(struct us_data *us, in datafab_read_data() 218 static int datafab_write_data(struct us_data *us, in datafab_write_data() 313 static int datafab_determine_lun(struct us_data *us, in datafab_determine_lun() 380 static int datafab_id_device(struct us_data *us, in datafab_id_device() 436 static int datafab_handle_mode_sense(struct us_data *us, in datafab_handle_mode_sense() 547 static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us) in datafab_transport() 725 struct us_data *us; in datafab_probe() local
|
H A D | initializers.c | 34 int usb_stor_euscsi_init(struct us_data *us) in usb_stor_euscsi_init() 51 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init() 84 int usb_stor_huawei_e220_init(struct us_data *us) in usb_stor_huawei_e220_init()
|
H A D | option_ms.c | 29 static int option_rezero(struct us_data *us) in option_rezero() 75 static int option_inquiry(struct us_data *us) in option_inquiry() 125 int option_ms_init(struct us_data *us) in option_ms_init()
|
H A D | debug.c | 41 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb) in usb_stor_show_command() 143 void usb_stor_show_sense(const struct us_data *us, in usb_stor_show_sense() 164 void usb_stor_dbg(const struct us_data *us, const char *fmt, ...) in usb_stor_dbg()
|
H A D | sddr55.c | 110 sddr55_bulk_transport(struct us_data *us, int direction, in sddr55_bulk_transport() 127 static int sddr55_status(struct us_data *us) in sddr55_status() 187 static int sddr55_read_data(struct us_data *us, in sddr55_read_data() 306 static int sddr55_write_data(struct us_data *us, in sddr55_write_data() 512 static int sddr55_read_deviceID(struct us_data *us, in sddr55_read_deviceID() 549 static int sddr55_reset(struct us_data *us) in sddr55_reset() 555 static unsigned long sddr55_get_capacity(struct us_data *us) { in sddr55_get_capacity() 639 static int sddr55_read_map(struct us_data *us) { in sddr55_read_map() 775 static int sddr55_transport(struct scsi_cmnd *srb, struct us_data *us) in sddr55_transport() 983 struct us_data *us; in sddr55_probe() local
|
H A D | protocol.c | 45 void usb_stor_pad12_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_pad12_command() 61 void usb_stor_ufi_command(struct scsi_cmnd *srb, struct us_data *us) in usb_stor_ufi_command() 105 struct us_data *us) in usb_stor_transparent_scsi_command()
|
H A D | freecom.c | 152 freecom_readdata (struct scsi_cmnd *srb, struct us_data *us, in freecom_readdata() 185 freecom_writedata (struct scsi_cmnd *srb, struct us_data *us, in freecom_writedata() 221 static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us) in freecom_transport() 439 static int init_freecom(struct us_data *us) in init_freecom() 480 static int usb_stor_freecom_reset(struct us_data *us) in usb_stor_freecom_reset() 489 static void pdump(struct us_data *us, void *ibuffer, int length) in pdump() 546 struct us_data *us; in freecom_probe() local
|
H A D | isd200.c | 399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense() 477 static int isd200_action( struct us_data *us, int action, in isd200_action() 578 static int isd200_read_regs( struct us_data *us ) in isd200_read_regs() 607 static void isd200_invoke_transport( struct us_data *us, in isd200_invoke_transport() 709 static void isd200_log_config(struct us_data *us, struct isd200_info *info) in isd200_log_config() 754 static int isd200_write_config( struct us_data *us ) in isd200_write_config() 797 static int isd200_read_config( struct us_data *us ) in isd200_read_config() 842 static int isd200_atapi_soft_reset( struct us_data *us ) in isd200_atapi_soft_reset() 868 static int isd200_srst( struct us_data *us ) in isd200_srst() 909 static int isd200_try_enum(struct us_data *us, unsigned char master_slave, in isd200_try_enum() [all …]
|
H A D | karma.c | 94 static int rio_karma_send_command(char cmd, struct us_data *us) in rio_karma_send_command() 145 static int rio_karma_transport(struct scsi_cmnd *srb, struct us_data *us) in rio_karma_transport() 175 static int rio_karma_init(struct us_data *us) in rio_karma_init() 203 struct us_data *us; in karma_probe() local
|
H A D | debug.h | 42 static inline void _usb_stor_dbg(const struct us_data *us, in _usb_stor_dbg() 46 #define usb_stor_dbg(us, fmt, ...) \ argument
|
H A D | cypress_atacb.c | 73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough() 243 struct us_data *us; in cypress_probe() local
|
/openbmc/u-boot/common/ |
H A D | usb_storage.c | 170 static unsigned int usb_get_max_lun(struct us_data *us) in usb_get_max_lun() 327 struct us_data *us; in usb_stor_irq() local 363 static int us_one_transfer(struct us_data *us, int pipe, char *buf, int length) in us_one_transfer() 446 static int usb_stor_BBB_reset(struct us_data *us) in usb_stor_BBB_reset() 500 static int usb_stor_CB_reset(struct us_data *us) in usb_stor_CB_reset() 530 static int usb_stor_BBB_comdat(struct scsi_cmd *srb, struct us_data *us) in usb_stor_BBB_comdat() 579 static int usb_stor_CB_comdat(struct scsi_cmd *srb, struct us_data *us) in usb_stor_CB_comdat() 648 static int usb_stor_CBI_get_status(struct scsi_cmd *srb, struct us_data *us) in usb_stor_CBI_get_status() 695 static int usb_stor_BBB_clear_endpt_stall(struct us_data *us, __u8 endpt) in usb_stor_BBB_clear_endpt_stall() 703 static int usb_stor_BBB_transport(struct scsi_cmd *srb, struct us_data *us) in usb_stor_BBB_transport() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-hid.c | 563 USBHIDState *us = container_of(hs, USBHIDState, hid); in usb_hid_changed() local 570 USBHIDState *us = USB_HID(dev); in usb_hid_handle_reset() local 578 USBHIDState *us = USB_HID(dev); in usb_hid_handle_control() local 657 USBHIDState *us = USB_HID(dev); in usb_hid_handle_data() local 693 USBHIDState *us = USB_HID(dev); in usb_hid_unrealize() local 702 USBHIDState *us = USB_HID(dev); in usb_hid_initfn() local
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
H A D | timer.c | 54 static inline unsigned long long us_to_tick(unsigned long long us) in us_to_tick() 77 static inline unsigned long long us_to_tick(unsigned long long us) in us_to_tick()
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | delay.c | 32 void __udelay(unsigned long us) in __udelay()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | delay.h | 15 #define udelay(us) __udelay(us) argument
|