Home
last modified time | relevance | path

Searched full:us (Results 1 – 25 of 4722) sorted by relevance

12345678910>>...189

/linux-6.12.1/drivers/usb/storage/
Dusb.c253 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend() local
256 mutex_lock(&us->dev_mutex); in usb_stor_suspend()
258 if (us->suspend_resume_hook) in usb_stor_suspend()
259 (us->suspend_resume_hook)(us, US_SUSPEND); in usb_stor_suspend()
266 mutex_unlock(&us->dev_mutex); in usb_stor_suspend()
273 struct us_data *us = usb_get_intfdata(iface); in usb_stor_resume() local
275 mutex_lock(&us->dev_mutex); in usb_stor_resume()
277 if (us->suspend_resume_hook) in usb_stor_resume()
278 (us->suspend_resume_hook)(us, US_RESUME); in usb_stor_resume()
280 mutex_unlock(&us->dev_mutex); in usb_stor_resume()
[all …]
Dtransport.c67 * 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 …]
Drealtek_cr.c100 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 …]
Dalauda.c116 #define MEDIA_PORT(us) us->srb->device->lun argument
117 #define MEDIA_INFO(us) ((struct alauda_info *)us->extra)->port[MEDIA_PORT(us)] argument
123 static int init_alauda(struct us_data *us);
310 static int alauda_get_media_status(struct us_data *us, unsigned char *data) in alauda_get_media_status() argument
315 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_get_media_status()
320 rc = usb_stor_ctrl_transfer(us, us->recv_ctrl_pipe, in alauda_get_media_status()
324 usb_stor_dbg(us, "Media status %02X %02X\n", data[0], data[1]); in alauda_get_media_status()
333 static int alauda_ack_media(struct us_data *us) in alauda_ack_media() argument
337 if (MEDIA_PORT(us) == ALAUDA_PORT_XD) in alauda_ack_media()
342 return usb_stor_ctrl_transfer(us, us->send_ctrl_pipe, in alauda_ack_media()
[all …]
Dshuttle_usbat.c149 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 …]
Dfreecom.c35 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 …]
Disd200.c58 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 …]
Dene_ub6250.c477 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()
500 /* usb_stor_dbg(us, "transport --- ene_send_scsi_cmd\n"); */ 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()
[all …]
Djumpshot.c105 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 …]
Dkarma.c42 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 …]
Dscsiglue.c63 struct us_data *us = host_to_us(host); in host_info() local
64 return us->scsi_name; in host_info()
69 struct us_data *us = host_to_us(sdev->host); in slave_alloc() local
79 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc()
93 struct us_data *us = host_to_us(sdev->host); in device_configure() local
94 struct device *dev = us->pusb_dev->bus->sysdev; in device_configure()
101 if (us->fflags & (US_FL_MAX_SECTORS_64 | US_FL_MAX_SECTORS_MIN)) { in device_configure()
104 if (us->fflags & US_FL_MAX_SECTORS_MIN) in device_configure()
114 } else if (us->pusb_dev->speed >= USB_SPEED_SUPER) { in device_configure()
116 * USB3 devices will be limited to 2048 sectors. This gives us in device_configure()
[all …]
Ddatafab.c70 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 …]
Dsddr09.c52 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 …]
Doption_ms.c29 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 …]
Dsddr55.c110 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 …]
Dinitializers.c34 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 …]
/linux-6.12.1/Documentation/fb/
Dviafb.modes15 # 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.12.1/Documentation/ABI/testing/
Ddebugfs-intel-iommu192 <0.1us 0.1us-1us 1us-10us 10us-100us 100us-1ms
195 1ms-10ms >=10ms min(us) max(us) average(us)
201 <0.1us 0.1us-1us 1us-10us 10us-100us 100us-1ms
204 1ms-10ms >=10ms min(us) max(us) average(us)
214 <0.1us 0.1us-1us 1us-10us 10us-100us 100us-1ms
217 >=10ms min(us) max(us) average(us)
/linux-6.12.1/Documentation/trace/
Dftrace.rst975 # latency: 259 us, #4/4, CPU#2 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4)
991 ps-6143 2d... 0us!: trace_hardirqs_off <-__lock_task_sighand
992 ps-6143 2d..1 259us+: trace_hardirqs_on <-_raw_spin_unlock_irqrestore
993 ps-6143 2d..1 263us+: time_hardirqs_on <-_raw_spin_unlock_irqrestore
994 ps-6143 2d..1 306us : <stack trace>
1010 (3.8). Then it displays the max latency in microseconds (259 us). The number
1478 # latency: 16 us, #4/4, CPU#0 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4)
1494 <idle>-0 0d.s2 0us+: _raw_spin_lock_irq <-run_timer_softirq
1495 <idle>-0 0dNs3 17us : _raw_spin_unlock_irq <-run_timer_softirq
1496 <idle>-0 0dNs3 17us+: trace_hardirqs_on <-run_timer_softirq
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/cpu/
Didle-states.yaml396 entry-latency-us:
400 exit-latency-us:
403 The exit-latency-us duration may be guaranteed only after
404 entry-latency-us has passed.
406 min-residency-us:
412 wakeup-latency-us:
418 entry-latency-us + exit-latency-us
422 systems entry-latency-us + exit-latency-us will exceed
423 wakeup-latency-us by this duration.
434 - entry-latency-us
[all …]
/linux-6.12.1/drivers/staging/vc04_services/interface/
DTESTING59 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.12.1/Documentation/tools/rtla/
Dcommon_timerlat_options.rst1 **-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.
29 **--dma-latency** *us*
[all …]
Dcommon_osnoise_options.rst1 **-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.12.1/Documentation/devicetree/bindings/power/
Ddomain-idle-state.yaml31 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 …]
/linux-6.12.1/Documentation/crypto/
Ddescore-readme.rst62 - 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 …]

12345678910>>...189