Home
last modified time | relevance | path

Searched +full:0 +full:us (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/linux-6.12.1/drivers/usb/storage/
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.c42 MODULE_PARM_DESC(auto_delink_en, "auto delink mode (0=firmware, 1=software [default])");
100 struct us_data *us; member
115 #define FLIDX_AUTO_DELINK 0x01
131 #define VENDOR_ID(chip) ((chip)->status[0].vid)
132 #define PRODUCT_ID(chip) ((chip)->status[0].pid)
133 #define FW_VERSION(chip) ((chip)->status[0].fw_ver)
136 #define STATUS_SUCCESS 0
141 CHK_BIT((chip)->status[0].function[0], 1)
143 CHK_BIT((chip)->status[0].function[0], 2)
145 CHK_BIT((chip)->status[0].function[0], 3)
[all …]
Dusb.c84 * Returns 0 on success, a negative error code otherwise.
94 if (n > 0 && str[n - 1] == '\n') in parse_delay_str()
98 n2 = 0; in parse_delay_str()
106 while (n2-- > 0) in parse_delay_str()
107 buf[n++] = '0'; in parse_delay_str()
108 buf[n] = 0; in parse_delay_str()
147 if (ret < 0) in delay_use_set()
151 return 0; in delay_use_set()
230 for (i = 0; i < config->desc.bNumInterfaces; i++) { in us_set_lock_class()
253 struct us_data *us = usb_get_intfdata(iface); in usb_stor_suspend() local
[all …]
Dalauda.c44 #define ALAUDA_STATUS_ERROR 0x01
45 #define ALAUDA_STATUS_READY 0x40
50 #define ALAUDA_GET_XD_MEDIA_STATUS 0x08
51 #define ALAUDA_GET_SM_MEDIA_STATUS 0x98
52 #define ALAUDA_ACK_XD_MEDIA_CHANGE 0x0a
53 #define ALAUDA_ACK_SM_MEDIA_CHANGE 0x9a
54 #define ALAUDA_GET_XD_MEDIA_SIG 0x86
55 #define ALAUDA_GET_SM_MEDIA_SIG 0x96
58 * Bulk command identity (byte 0)
60 #define ALAUDA_BULK_CMD 0x40
[all …]
Dshuttle_usbat.c54 #define USBAT_DEV_HP8200 0x01
55 #define USBAT_DEV_FLASH 0x02
57 #define USBAT_EPP_PORT 0x10
58 #define USBAT_EPP_REGISTER 0x30
59 #define USBAT_ATA 0x40
60 #define USBAT_ISA 0x50
63 #define USBAT_CMD_READ_REG 0x00
64 #define USBAT_CMD_WRITE_REG 0x01
65 #define USBAT_CMD_READ_BLOCK 0x02
66 #define USBAT_CMD_WRITE_BLOCK 0x03
[all …]
Dene_ub6250.c78 #define ENE_BIN_CODE_LEN 0x800
80 #define REG_CARD_STATUS 0xFF83
81 #define REG_HW_TRAP1 0xFF89
84 #define SS_SUCCESS 0x000000 /* No Sense */
85 #define SS_NOT_READY 0x023A00 /* Medium not present */
86 #define SS_MEDIUM_ERR 0x031100 /* Unrecovered read error */
87 #define SS_HW_ERR 0x040800 /* Communication failure */
88 #define SS_ILLEGAL_REQUEST 0x052000 /* Invalid command */
89 #define SS_UNIT_ATTENTION 0x062900 /* Reset occurred */
101 #define FDIR_WRITE 0
[all …]
Dfreecom.c35 static void pdump(struct us_data *us, void *ibuffer, int length);
39 #define ERR_STAT 0x01
40 #define DRQ_STAT 0x08
80 #define FCM_INT_STATUS 0x02 /* INDEX_STAT */
81 #define FCM_STATUS_BUSY 0x80
87 #define FCM_PACKET_ATAPI 0x21
88 #define FCM_PACKET_STATUS 0x20
94 #define FCM_PACKET_INPUT 0x81
97 #define FCM_PACKET_OUTPUT 0x01
103 #define FCM_PACKET_IDE_WRITE 0x40
[all …]
Disd200.c58 static int isd200_Initialization(struct us_data *us);
106 #define DF_ATA_DEVICE 0x0001
107 #define DF_MEDIA_STATUS_ENABLED 0x0002
108 #define DF_REMOVABLE_MEDIA 0x0004
111 #define CAPABILITY_DMA 0x01
112 #define CAPABILITY_LBA 0x02
115 #define COMMANDSET_REMOVABLE 0x02
116 #define COMMANDSET_MEDIA_STATUS 0x10
119 #define ATA_ADDRESS_DEVHEAD_STD 0xa0
120 #define ATA_ADDRESS_DEVHEAD_LBA_MODE 0x40
[all …]
Djumpshot.c105 static inline int jumpshot_bulk_read(struct us_data *us, in jumpshot_bulk_read() argument
109 if (len == 0) in jumpshot_bulk_read()
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
122 if (len == 0) in jumpshot_bulk_write()
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()
[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
115 if (len == 0) in datafab_bulk_read()
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
126 if (len == 0) in datafab_bulk_write()
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
[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);
97 #define LSB_of(s) ((s)&0xFF)
120 #define NAND_MFR_AMD 0x01
121 #define NAND_MFR_NATSEMI 0x8f
122 #define NAND_MFR_TOSHIBA 0x98
123 #define NAND_MFR_SAMSUNG 0xec
144 * 256 MB NAND flash has a 5-byte ID with 2nd byte 0xaa, 0xba, 0xca or 0xda.
149 { 0x6e, 20, 8, 4, 8, 2}, /* 1 MB */
[all …]
Dkarma.c31 #define RIO_RECV_LEN 0x200
33 #define RIO_ENTER_STORAGE 0x1
34 #define RIO_LEAVE_STORAGE 0x2
35 #define RIO_RESET 0xC
42 static int rio_karma_init(struct us_data *us);
87 * For each command we send 40 bytes starting 'RIOP\0' followed by
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()
[all …]
Doption_ms.c19 #define ZCD_FORCE_MODEM 0x01
20 #define ZCD_ALLOW_MS 0x02
29 static int option_rezero(struct us_data *us) in option_rezero() argument
32 0x55, 0x53, 0x42, 0x43, 0x78, 0x56, 0x34, 0x12, in option_rezero()
33 0x01, 0x00, 0x00, 0x00, 0x80, 0x00, 0x06, 0x01, in option_rezero()
34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in option_rezero()
35 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 in option_rezero()
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()
[all …]
Dscsiglue.c52 #define VENDOR_ID_NOKIA 0x0421
53 #define VENDOR_ID_NIKON 0x04b0
54 #define VENDOR_ID_PENTAX 0x0a17
55 #define VENDOR_ID_MOTOROLA 0x22b8
63 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()
88 return 0; in slave_alloc()
93 struct us_data *us = host_to_us(sdev->host); in device_configure() local
[all …]
Dsddr55.c74 #define LSB_of(s) ((s)&0xFF)
83 } while (0)
104 #define NOT_ALLOCATED 0xffffffff
105 #define BAD_BLOCK 0xffff
106 #define CIS_BLOCK 0x400
107 #define UNUSED_BLOCK 0x3ff
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()
[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()
40 0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR, in usb_stor_euscsi_init()
41 0x01, 0x0, NULL, 0x0, 5 * HZ); in usb_stor_euscsi_init()
42 usb_stor_dbg(us, "-- result is %d\n", result); in usb_stor_euscsi_init()
44 return 0; 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()
[all …]
Dsierra_ms.c17 #define SWIMS_USB_REQUEST_SetSwocMode 0x0B
18 #define SWIMS_USB_REQUEST_GetSwocInfo 0x0A
19 #define SWIMS_USB_INDEX_SetMode 0x0000
20 #define SWIMS_SET_MODE_Modem 0x0001
22 #define TRU_NORMAL 0x01
23 #define TRU_FORCE_MS 0x02
24 #define TRU_FORCE_MODEM 0x03
41 if ((swocInfo->LinuxSKU >= 0x2100 && swocInfo->LinuxSKU <= 0x2FFF) || in containsFullLinuxPackage()
42 (swocInfo->LinuxSKU >= 0x7100 && swocInfo->LinuxSKU <= 0x7FFF)) in containsFullLinuxPackage()
52 result = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), in sierra_set_ms_mode()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-intel-iommu16 VER 0x00 0x0000000000000010
17 GCMD 0x18 0x0000000000000000
18 GSTS 0x1c 0x00000000c7000000
19 FSTS 0x34 0x0000000000000000
20 FECTL 0x38 0x0000000000000000
27 VER 0x00 0x0000000000000010
28 GCMD 0x18 0x0000000000000000
29 GSTS 0x1c 0x00000000c7000000
30 FSTS 0x34 0x0000000000000000
31 FECTL 0x38 0x0000000000000000
[all …]
/linux-6.12.1/Documentation/trace/
Dftrace.rst56 tracefs /sys/kernel/tracing tracefs defaults 0 0
111 ring buffer is enabled. Echo 0 into this file to disable
118 set this file to "0". User space can re-enable tracing by
161 or cleared by writing a "1" or "0" respectively into the
180 Only active when the file contains a number greater than 0.
192 0 - means to wake up as soon as there is any data in the ring buffer.
476 If the option "record-cmd" is set to "0", then comms of tasks
622 if (trace_fd < 0)
973 # irqsoff latency trace v1.1.5 on 3.8.0-test+
975 # latency: 259 us, #4/4, CPU#2 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4)
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/cpu/
Didle-states.yaml102 between 0 and infinite time, until a wake-up event occurs.
127 wakeup-delay = exit-latency + max(entry-latency - (now - entry-timestamp), 0)
167 0| 1 time(ms)
172 The graph curve with X-axis values = { x | 0 < x < 1ms } has a steep slope
396 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:
[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/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/devicetree/bindings/regulator/
Dmaxim,max8952.yaml21 enum: [0, 1, 2, 3]
42 enum: [0, 1, 2, 3, 4, 5, 6, 7]
43 default: 0
46 - 0: 32mV/us
47 - 1: 16mV/us
48 - 2: 8mV/us
49 - 3: 4mV/us
50 - 4: 2mV/us
51 - 5: 1mV/us
52 - 6: 0.5mV/us
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Drs.h19 * for BPSK (MCS 0) with 1 spatial
22 * for BPSK (MCS 0) with 2 spatial
27 IWL_TLC_MNG_CFG_FLAGS_STBC_MSK = BIT(0),
57 IWL_TLC_MNG_CHAIN_A_MSK = BIT(0),
72 IWL_TLC_MNG_MODE_CCK = 0,
98 IWL_TLC_MNG_HT_RATE_MCS0 = 0,
146 * <nss, channel-width> pair (0 - 80mhz width and below, 1 - 160mhz).
182 * pair (0 - 80mhz width and below, 1 - 160mhz, 2 - 320mhz).
207 IWL_TLC_NOTIF_FLAG_RATE = BIT(0),
243 IWL_RATE_1M_INDEX = 0,
[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 …]

12345678910>>...44