/Linux-v5.10/drivers/usb/storage/ |
D | usb.c | 171 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend() local 174 mutex_lock(&us->dev_mutex); in usb_stor_suspend() 176 if (us->suspend_resume_hook) in usb_stor_suspend() 177 (us->suspend_resume_hook)(us, US_SUSPEND); in usb_stor_suspend() 184 mutex_unlock(&us->dev_mutex); in usb_stor_suspend() 191 struct us_data *us = usb_get_intfdata(iface); in usb_stor_resume() local 193 mutex_lock(&us->dev_mutex); in usb_stor_resume() 195 if (us->suspend_resume_hook) in usb_stor_resume() 196 (us->suspend_resume_hook)(us, US_RESUME); in usb_stor_resume() 198 mutex_unlock(&us->dev_mutex); in usb_stor_resume() [all …]
|
D | transport.c | 67 * sets the machine state and the ABORTING bit in us->dflags to prevent 69 * below, which atomically tests-and-clears the URB_ACTIVE bit in us->dflags 74 * When a disconnect occurs, the DISCONNECTING bit in us->dflags is set to 98 * This is the completion handler which will wake us up when an URB 115 static int usb_stor_msg_common(struct us_data *us, int timeout) in usb_stor_msg_common() argument 122 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_msg_common() 129 us->current_urb->context = &urb_done; in usb_stor_msg_common() 130 us->current_urb->transfer_flags = 0; in usb_stor_msg_common() 133 * we assume that if transfer_buffer isn't us->iobuf then it in usb_stor_msg_common() 135 * easier than always having the caller tell us whether the in usb_stor_msg_common() [all …]
|
D | realtek_cr.c | 100 struct us_data *us; member 158 static int init_realtek_cr(struct us_data *us); 201 static int rts51x_bulk_transport(struct us_data *us, u8 lun, in rts51x_bulk_transport() argument 205 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *)us->iobuf; in rts51x_bulk_transport() 206 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *)us->iobuf; in rts51x_bulk_transport() 216 bcb->Tag = ++us->tag; in rts51x_bulk_transport() 225 result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in rts51x_bulk_transport() 235 us->recv_bulk_pipe : us->send_bulk_pipe; in rts51x_bulk_transport() 236 result = usb_stor_bulk_transfer_buf(us, pipe, in rts51x_bulk_transport() 243 result = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in rts51x_bulk_transport() [all …]
|
D | alauda.c | 114 #define MEDIA_PORT(us) us->srb->device->lun argument 115 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument 121 static int init_alauda(struct us_data *us); 308 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() argument 313 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_get_media_status() 318 rc = usb_stor_ctrl_transfer(us, us->recv_ctrl_pipe, in alauda_get_media_status() 321 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]); in alauda_get_media_status() 330 static int alauda_ack_media(struct us_data *us) in alauda_ack_media() argument 334 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_ack_media() 339 return usb_stor_ctrl_transfer(us, us->send_ctrl_pipe, in alauda_ack_media() [all …]
|
D | shuttle_usbat.c | 149 static int usbat_flash_transport(struct scsi_cmnd * srb, struct us_data *us); 150 static int usbat_hp8200e_transport(struct scsi_cmnd *srb, struct us_data *us); 152 static int init_usbat_cd(struct us_data *us); 153 static int init_usbat_flash(struct us_data *us); 214 static int usbat_get_device_type(struct us_data *us) in usbat_get_device_type() argument 216 return ((struct usbat_info*)us->extra)->devicetype; in usbat_get_device_type() 222 static int usbat_read(struct us_data *us, in usbat_read() argument 227 return usb_stor_ctrl_transfer(us, in usbat_read() 228 us->recv_ctrl_pipe, in usbat_read() 240 static int usbat_write(struct us_data *us, in usbat_write() argument [all …]
|
D | freecom.c | 35 static void pdump(struct us_data *us, void *ibuffer, int length); 110 static int init_freecom(struct us_data *us); 152 freecom_readdata (struct scsi_cmnd *srb, struct us_data *us, in freecom_readdata() argument 156 (struct freecom_xfer_wrap *) us->iobuf; in freecom_readdata() 164 usb_stor_dbg(us, "Read data Freecom! (c=%d)\n", count); in freecom_readdata() 167 result = usb_stor_bulk_transfer_buf (us, opipe, fxfr, in freecom_readdata() 170 usb_stor_dbg(us, "Freecom readdata transport error\n"); in freecom_readdata() 175 usb_stor_dbg(us, "Start of read\n"); in freecom_readdata() 176 result = usb_stor_bulk_srb(us, ipipe, srb); in freecom_readdata() 177 usb_stor_dbg(us, "freecom_readdata done!\n"); in freecom_readdata() [all …]
|
D | ene_ub6250.c | 480 static int ene_sd_init(struct us_data *us); 481 static int ene_ms_init(struct us_data *us); 482 static int ene_load_bincode(struct us_data *us, unsigned char flag); 493 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() argument 495 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd() 496 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ene_send_scsi_cmd() 503 /* usb_stor_dbg(us, "transport --- ene_send_scsi_cmd\n"); */ in ene_send_scsi_cmd() 505 result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in ene_send_scsi_cmd() 508 usb_stor_dbg(us, "send cmd to out endpoint fail ---\n"); in ene_send_scsi_cmd() 516 pipe = us->recv_bulk_pipe; in ene_send_scsi_cmd() [all …]
|
D | isd200.c | 58 static int isd200_Initialization(struct us_data *us); 399 static void isd200_build_sense(struct us_data *us, struct scsi_cmnd *srb) in isd200_build_sense() argument 401 struct isd200_info *info = (struct isd200_info *)us->extra; in isd200_build_sense() 477 static int isd200_action( struct us_data *us, int action, in isd200_action() argument 483 struct isd200_info *info = (struct isd200_info *)us->extra; in isd200_action() 497 usb_stor_dbg(us, " isd200_action(READ_STATUS)\n"); in isd200_action() 506 usb_stor_dbg(us, " isd200_action(ENUM,0x%02x)\n", value); in isd200_action() 516 usb_stor_dbg(us, " isd200_action(RESET)\n"); in isd200_action() 525 usb_stor_dbg(us, " isd200_action(REENABLE)\n"); in isd200_action() 534 usb_stor_dbg(us, " isd200_action(SOFT_RESET)\n"); in isd200_action() [all …]
|
D | karma.c | 42 static int rio_karma_init(struct us_data *us); 94 static int rio_karma_send_command(char cmd, struct us_data *us) in rio_karma_send_command() argument 99 struct karma_data *data = (struct karma_data *) us->extra; in rio_karma_send_command() 101 usb_stor_dbg(us, "sending command %04x\n", cmd); in rio_karma_send_command() 102 memset(us->iobuf, 0, RIO_SEND_LEN); in rio_karma_send_command() 103 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN); in rio_karma_send_command() 104 us->iobuf[5] = cmd; in rio_karma_send_command() 105 us->iobuf[6] = seq; in rio_karma_send_command() 109 result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in rio_karma_send_command() 110 us->iobuf, RIO_SEND_LEN, NULL); in rio_karma_send_command() [all …]
|
D | jumpshot.c | 105 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read() argument 112 usb_stor_dbg(us, "len = %d\n", len); in jumpshot_bulk_read() 113 return usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in jumpshot_bulk_read() 118 static inline int jumpshot_bulk_write(struct us_data *us, in jumpshot_bulk_write() argument 125 usb_stor_dbg(us, "len = %d\n", len); in jumpshot_bulk_write() 126 return usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in jumpshot_bulk_write() 131 static int jumpshot_get_status(struct us_data *us) in jumpshot_get_status() argument 135 if (!us) in jumpshot_get_status() 139 rc = usb_stor_ctrl_transfer(us, us->recv_ctrl_pipe, in jumpshot_get_status() 140 0, 0xA0, 0, 7, us->iobuf, 1); in jumpshot_get_status() [all …]
|
D | scsiglue.c | 64 struct us_data *us = host_to_us(host); in host_info() local 65 return us->scsi_name; in host_info() 70 struct us_data *us = host_to_us(sdev->host); in slave_alloc() local 86 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc() 94 struct us_data *us = host_to_us(sdev->host); in slave_configure() local 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure() 102 if (us->fflags & (US_FL_MAX_SECTORS_64 | US_FL_MAX_SECTORS_MIN)) { in slave_configure() 105 if (us->fflags & US_FL_MAX_SECTORS_MIN) in slave_configure() 117 } else if (us->pusb_dev->speed >= USB_SPEED_SUPER) { in slave_configure() 119 * USB3 devices will be limited to 2048 sectors. This gives us in slave_configure() [all …]
|
D | datafab.c | 70 static int datafab_determine_lun(struct us_data *us, 114 datafab_bulk_read(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_read() argument 118 usb_stor_dbg(us, "len = %d\n", len); in datafab_bulk_read() 119 return usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, in datafab_bulk_read() 125 datafab_bulk_write(struct us_data *us, unsigned char *data, unsigned int len) { in datafab_bulk_write() argument 129 usb_stor_dbg(us, "len = %d\n", len); in datafab_bulk_write() 130 return usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in datafab_bulk_write() 135 static int datafab_read_data(struct us_data *us, in datafab_read_data() argument 140 unsigned char *command = us->iobuf; in datafab_read_data() 157 result = datafab_determine_lun(us, info); in datafab_read_data() [all …]
|
D | sddr09.c | 52 static int usb_stor_sddr09_dpcm_init(struct us_data *us); 53 static int sddr09_transport(struct scsi_cmnd *srb, struct us_data *us); 54 static int usb_stor_sddr09_init(struct us_data *us); 289 sddr09_send_command(struct us_data *us, in sddr09_send_command() argument 301 pipe = us->recv_ctrl_pipe; in sddr09_send_command() 303 pipe = us->send_ctrl_pipe; in sddr09_send_command() 305 rc = usb_stor_ctrl_transfer(us, pipe, request, requesttype, in sddr09_send_command() 315 sddr09_send_scsi_command(struct us_data *us, in sddr09_send_scsi_command() argument 318 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command() 327 sddr09_test_unit_ready(struct us_data *us) { [all …]
|
D | option_ms.c | 29 static int option_rezero(struct us_data *us) in option_rezero() argument 40 usb_stor_dbg(us, "Option MS: %s\n", "DEVICE MODE SWITCH"); in option_rezero() 47 result = usb_stor_bulk_transfer_buf(us, in option_rezero() 48 us->send_bulk_pipe, in option_rezero() 59 usb_stor_bulk_transfer_buf(us, in option_rezero() 60 us->recv_bulk_pipe, in option_rezero() 64 usb_stor_bulk_transfer_buf(us, in option_rezero() 65 us->recv_bulk_pipe, in option_rezero() 75 static int option_inquiry(struct us_data *us) in option_inquiry() argument 86 usb_stor_dbg(us, "Option MS: %s\n", "device inquiry for vendor name"); in option_inquiry() [all …]
|
D | sddr55.c | 110 sddr55_bulk_transport(struct us_data *us, int direction, in sddr55_bulk_transport() argument 112 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_bulk_transport() 114 us->recv_bulk_pipe : us->send_bulk_pipe; in sddr55_bulk_transport() 119 return usb_stor_bulk_transfer_buf(us, pipe, data, len, NULL); in sddr55_bulk_transport() 127 static int sddr55_status(struct us_data *us) in sddr55_status() argument 130 unsigned char *command = us->iobuf; in sddr55_status() 131 unsigned char *status = us->iobuf; in sddr55_status() 132 struct sddr55_card_info *info = (struct sddr55_card_info *)us->extra; in sddr55_status() 138 result = sddr55_bulk_transport(us, in sddr55_status() 141 usb_stor_dbg(us, "Result for send_command in status %d\n", result); in sddr55_status() [all …]
|
D | initializers.c | 34 int usb_stor_euscsi_init(struct us_data *us) in usb_stor_euscsi_init() argument 38 usb_stor_dbg(us, "Attempting to init eUSCSI bridge...\n"); in usb_stor_euscsi_init() 39 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in usb_stor_euscsi_init() 42 usb_stor_dbg(us, "-- result is %d\n", result); in usb_stor_euscsi_init() 51 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init() argument 53 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() 54 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; in usb_stor_ucr61s2b_init() 59 usb_stor_dbg(us, "Sending UCR-61S2B initialization packet...\n"); in usb_stor_ucr61s2b_init() 69 res = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, bcb, in usb_stor_ucr61s2b_init() 74 usb_stor_dbg(us, "Getting status packet...\n"); in usb_stor_ucr61s2b_init() [all …]
|
D | sierra_ms.c | 127 int sierra_ms_init(struct us_data *us) in sierra_ms_init() argument 135 udev = us->pusb_dev; in sierra_ms_init() 139 usb_stor_dbg(us, "SWIMS: Forcing Modem Mode\n"); in sierra_ms_init() 142 usb_stor_dbg(us, "SWIMS: Failed to switch to modem mode\n"); in sierra_ms_init() 147 usb_stor_dbg(us, "SWIMS: Forcing Mass Storage Mode\n"); in sierra_ms_init() 152 usb_stor_dbg(us, "SWIMS: Normal SWoC Logic\n"); in sierra_ms_init() 164 usb_stor_dbg(us, "SWIMS: Failed SWoC query\n"); in sierra_ms_init() 170 usb_stor_dbg(us, "SWIMS: Completely failed SWoC query\n"); in sierra_ms_init() 175 debug_swoc(&us->pusb_dev->dev, swocInfo); in sierra_ms_init() 182 usb_stor_dbg(us, "SWIMS: Switching to Modem Mode\n"); in sierra_ms_init() [all …]
|
/Linux-v5.10/Documentation/fb/ |
D | viafb.modes | 15 # Sync Width 3.813 us 0.064 ms 17 # Front Porch 0.636 us 0.318 ms 19 # Back Porch 1.907 us 1.048 ms 21 # Active Time 25.422 us 15.253 ms 23 # Blank Time 6.356 us 1.430 ms 40 # Sync Width 2.032 us 0.080 ms 42 # Front Porch 0.508 us 0.027 ms 44 # Back Porch 3.810 us 0.427 ms 46 # Active Time 20.317 us 12.800 ms 48 # Blank Time 6.349 us 0.533 ms [all …]
|
/Linux-v5.10/Documentation/trace/ |
D | ftrace.rst | 896 # latency: 259 us, #4/4, CPU#2 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 912 ps-6143 2d... 0us!: trace_hardirqs_off <-__lock_task_sighand 913 ps-6143 2d..1 259us+: trace_hardirqs_on <-_raw_spin_unlock_irqrestore 914 ps-6143 2d..1 263us+: time_hardirqs_on <-_raw_spin_unlock_irqrestore 915 ps-6143 2d..1 306us : <stack trace> 931 (3.8). Then it displays the max latency in microseconds (259 us). The number 1362 # latency: 16 us, #4/4, CPU#0 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 1378 <idle>-0 0d.s2 0us+: _raw_spin_lock_irq <-run_timer_softirq 1379 <idle>-0 0dNs3 17us : _raw_spin_unlock_irq <-run_timer_softirq 1380 <idle>-0 0dNs3 17us+: trace_hardirqs_on <-run_timer_softirq [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/arm/ |
D | idle-states.yaml | 286 entry-latency-us: 290 exit-latency-us: 293 The exit-latency-us duration may be guaranteed only after 294 entry-latency-us has passed. 296 min-residency-us: 302 wakeup-latency-us: 308 entry-latency-us + exit-latency-us 312 systems entry-latency-us + exit-latency-us will exceed 313 wakeup-latency-us by this duration. 322 - entry-latency-us [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/power/ |
D | domain-idle-state.yaml | 30 entry-latency-us: 33 state. Note that, the exit-latency-us duration may be guaranteed only 34 after the entry-latency-us has passed. 36 exit-latency-us: 41 min-residency-us: 49 - entry-latency-us 50 - exit-latency-us 51 - min-residency-us 61 entry-latency-us = <20>; 62 exit-latency-us = <40>; [all …]
|
/Linux-v5.10/Documentation/crypto/ |
D | descore-readme.rst | 62 - 30us per encryption (options: 64k tables, no IP/FP) 63 - 33us per encryption (options: 64k tables, FIPS standard bit ordering) 64 - 45us per encryption (options: 2k tables, no IP/FP) 65 - 48us per encryption (options: 2k tables, FIPS standard bit ordering) 66 - 275us to set a new key (uses 1k of key tables) 80 - 53us per encryption (uses 2k of tables) 81 - 96us to set a new key (uses 2.25k of key tables) 93 gcc 2.1 -O2 Sun 3/110 304 uS 369.5uS 461.8uS 22% 94 cc -O1 Sun 3/110 336 uS 436.6uS 399.3uS 19% 95 cc -O2 Sun 3/110 360 uS 532.4uS 505.1uS 40% [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | max8952.txt | 20 - 0: 32mV/us 21 - 1: 16mV/us 22 - 2: 8mV/us 23 - 3: 4mV/us 24 - 4: 2mV/us 25 - 5: 1mV/us 26 - 6: 0.5mV/us 27 - 7: 0.25mV/us 28 Defaults to 32mV/us if not specified.
|
/Linux-v5.10/Documentation/devicetree/bindings/i2c/ |
D | i2c-arb-gpio-challenge.txt | 24 - OUR_CLAIM: output from us signaling to other hosts that we want the bus 50 - slew-delay-us: microseconds to wait for a GPIO to go high. Default is 10 us. 51 - wait-retry-us: we'll attempt another claim after this many microseconds. 52 Default is 3000 us. 53 - wait-free-us: we'll give up after this many microseconds. Default is 50000 us. 70 slew-delay-us = <10>; 71 wait-retry-us = <3000>; 72 wait-free-us = <50000>;
|
/Linux-v5.10/Documentation/input/devices/ |
D | walkera0701.rst | 87 288 uS Binary 0 318 uS 000 88 438 uS Binary 1 398 uS 001 89 478 uS 010 90 558 uS 011 91 638 uS 100 92 1306 uS SYNC 718 uS 101 93 798 uS 110 94 878 uS 111
|