/linux-6.6.21/drivers/usb/storage/ |
D | transport.c | 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() 138 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common() 139 us->current_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_stor_msg_common() 140 us->current_urb->transfer_dma = us->iobuf_dma; in usb_stor_msg_common() 143 status = usb_submit_urb(us->current_urb, GFP_NOIO); in usb_stor_msg_common() 153 set_bit(US_FLIDX_URB_ACTIVE, &us->dflags); in usb_stor_msg_common() 156 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_msg_common() [all …]
|
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 | 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() 138 if (!hcd_uses_dma(bus_to_hcd(us->pusb_dev->bus)) || in slave_configure() [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() 322 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]); in alauda_get_media_status() 331 static int alauda_ack_media(struct us_data *us) in alauda_ack_media() argument 335 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_ack_media() 340 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | ene_ub6250.c | 477 static int ene_sd_init(struct us_data *us); 478 static int ene_ms_init(struct us_data *us); 479 static int ene_load_bincode(struct us_data *us, unsigned char flag); 490 static int ene_send_scsi_cmd(struct us_data *us, u8 fDir, void *buf, int use_sg) in ene_send_scsi_cmd() argument 492 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in ene_send_scsi_cmd() 493 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf; in ene_send_scsi_cmd() 502 result = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, in ene_send_scsi_cmd() 505 usb_stor_dbg(us, "send cmd to out endpoint fail ---\n"); in ene_send_scsi_cmd() 513 pipe = us->recv_bulk_pipe; in ene_send_scsi_cmd() 515 pipe = us->send_bulk_pipe; in ene_send_scsi_cmd() [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 133 udev = us->pusb_dev; in sierra_ms_init() 137 usb_stor_dbg(us, "SWIMS: Forcing Modem Mode\n"); in sierra_ms_init() 140 usb_stor_dbg(us, "SWIMS: Failed to switch to modem mode\n"); in sierra_ms_init() 145 usb_stor_dbg(us, "SWIMS: Forcing Mass Storage Mode\n"); in sierra_ms_init() 150 usb_stor_dbg(us, "SWIMS: Normal SWoC Logic\n"); in sierra_ms_init() 162 usb_stor_dbg(us, "SWIMS: Failed SWoC query\n"); in sierra_ms_init() 168 usb_stor_dbg(us, "SWIMS: Completely failed SWoC query\n"); in sierra_ms_init() 173 debug_swoc(&us->pusb_dev->dev, swocInfo); in sierra_ms_init() 180 usb_stor_dbg(us, "SWIMS: Switching to Modem Mode\n"); in sierra_ms_init() [all …]
|
D | debug.h | 33 void usb_stor_show_command(const struct us_data *us, struct scsi_cmnd *srb); 34 void usb_stor_show_sense(const struct us_data *us, unsigned char key, 36 __printf(2, 3) void usb_stor_dbg(const struct us_data *us, 42 static inline void _usb_stor_dbg(const struct us_data *us, in _usb_stor_dbg() argument 46 #define usb_stor_dbg(us, fmt, ...) \ argument 47 do { if (0) _usb_stor_dbg(us, fmt, ##__VA_ARGS__); } while (0)
|
/linux-6.6.21/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-6.6.21/drivers/staging/vc04_services/interface/ |
D | TESTING | 59 vchi ping (size 0) -> 57.000000us 60 vchi ping (size 0, 0 async, 0 oneway) -> 122.000000us 61 vchi bulk (size 0, 0 async, 0 oneway) -> 546.000000us 62 vchi bulk (size 0, 0 oneway) -> 230.000000us 63 vchi ping (size 0) -> 49.000000us 64 vchi ping (size 0, 0 async, 0 oneway) -> 70.000000us 65 vchi bulk (size 0, 0 async, 0 oneway) -> 296.000000us 66 vchi bulk (size 0, 0 oneway) -> 266.000000us 67 vchi ping (size 0, 1 async, 0 oneway) -> 65.000000us 68 vchi bulk (size 0, 0 oneway) -> 456.000000us [all …]
|
/linux-6.6.21/Documentation/tools/rtla/ |
D | common_timerlat_options.rst | 1 **-a**, **--auto** *us* 4 while debugging the system. It is equivalent to use **-T** *us* **-s** *us* 8 **-p**, **--period** *us* 12 **-i**, **--irq** *us* 14 Stop trace if the *IRQ* latency is higher than the argument in us. 16 **-T**, **--thread** *us* 18 Stop trace if the *Thread* latency is higher than the argument in us. 20 **-s**, **--stack** *us* 23 argument in us. 25 **--dma-latency** *us* [all …]
|
D | common_osnoise_options.rst | 1 **-a**, **--auto** *us* 4 while debugging the system. It is equivalent to use **-s** *us* **-T 1 -t**. 6 **-p**, **--period** *us* 10 **-r**, **--runtime** *us* 14 **-s**, **--stop** *us* 19 **-S**, **--stop-total** *us* 24 **-T**, **--threshold** *us* 27 The default threshold is *5 us*.
|
/linux-6.6.21/Documentation/devicetree/bindings/cpu/ |
D | idle-states.yaml | 332 entry-latency-us: 336 exit-latency-us: 339 The exit-latency-us duration may be guaranteed only after 340 entry-latency-us has passed. 342 min-residency-us: 348 wakeup-latency-us: 354 entry-latency-us + exit-latency-us 358 systems entry-latency-us + exit-latency-us will exceed 359 wakeup-latency-us by this duration. 370 - entry-latency-us [all …]
|
/linux-6.6.21/Documentation/trace/ |
D | ftrace.rst | 939 # latency: 259 us, #4/4, CPU#2 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 955 ps-6143 2d... 0us!: trace_hardirqs_off <-__lock_task_sighand 956 ps-6143 2d..1 259us+: trace_hardirqs_on <-_raw_spin_unlock_irqrestore 957 ps-6143 2d..1 263us+: time_hardirqs_on <-_raw_spin_unlock_irqrestore 958 ps-6143 2d..1 306us : <stack trace> 974 (3.8). Then it displays the max latency in microseconds (259 us). The number 1430 # latency: 16 us, #4/4, CPU#0 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 1446 <idle>-0 0d.s2 0us+: _raw_spin_lock_irq <-run_timer_softirq 1447 <idle>-0 0dNs3 17us : _raw_spin_unlock_irq <-run_timer_softirq 1448 <idle>-0 0dNs3 17us+: trace_hardirqs_on <-run_timer_softirq [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/power/ |
D | domain-idle-state.yaml | 31 entry-latency-us: 34 state. Note that, the exit-latency-us duration may be guaranteed only 35 after the entry-latency-us has passed. 37 exit-latency-us: 42 min-residency-us: 59 - entry-latency-us 60 - exit-latency-us 61 - min-residency-us 71 entry-latency-us = <20>; 72 exit-latency-us = <40>; [all …]
|