| /linux/drivers/usb/storage/ |
| H A 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 …]
|
| H A D | ene_ub6250.c | 78 #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 …]
|
| H A D | isd200.c | 58 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 …]
|
| H A D | freecom.c | 35 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 …]
|
| H A D | karma.c | 31 #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 …]
|
| H A D | option_ms.c | 19 #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 …]
|
| H A D | sddr55.c | 74 #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 …]
|
| H A D | scsiglue.c | 52 #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 sdev_init() local 79 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in sdev_init() 88 return 0; in sdev_init() 93 struct us_data *us = host_to_us(sdev->host); in sdev_configure() local [all …]
|
| H A D | sierra_ms.c | 17 #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 …]
|
| H A D | cypress_atacb.c | 73 static void cypress_atacb_passthrough(struct scsi_cmnd *srb, struct us_data *us) in cypress_atacb_passthrough() argument 77 if (likely(srb->cmnd[0] != ATA_16 && srb->cmnd[0] != ATA_12)) { in cypress_atacb_passthrough() 78 usb_stor_transparent_scsi_command(srb, us); in cypress_atacb_passthrough() 83 memset(srb->cmnd, 0, MAX_COMMAND_SIZE); in cypress_atacb_passthrough() 89 switch ((save_cmnd[1] >> 1) & 0xf) { in cypress_atacb_passthrough() 101 srb->cmnd[0] = 0x24; /* in cypress_atacb_passthrough() 104 * keep the cypress default : 0x24 in cypress_atacb_passthrough() 106 srb->cmnd[1] = 0x24; /* bVSCBSubCommand : 0x24 for ATACB */ in cypress_atacb_passthrough() 108 srb->cmnd[3] = 0xff - 1; /* in cypress_atacb_passthrough() 114 if (save_cmnd[0] == ATA_16) { in cypress_atacb_passthrough() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-intel-iommu | 16 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/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 102 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/Documentation/fb/ |
| H A 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/Documentation/devicetree/bindings/regulator/ |
| H A D | maxim,max8952.yaml | 21 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/Documentation/devicetree/bindings/leds/ |
| H A D | leds-lm3532.txt | 19 - #size-cells : 0 23 - ramp-up-us - The Run time ramp rates/step are from one current 26 - ramp-down-us - The Run time ramp rates/step are from one current 29 Range for ramp settings: 8us - 65536us 34 Per the data sheet the max ALS voltage is 2V and the min is 0V 41 - ti,als-avrg-time-us - Determines the length of time the device needs to 44 Range: 17920us - 2293760us 47 0x00 - ALS1 and ALS2 input average 48 0x01 - ALS1 Input 49 0x02 - ALS2 Input [all …]
|
| /linux/Documentation/tools/rtla/ |
| H A D | rtla-timerlat-top.rst | 37 **--aa-only** *us* 48 automatic trace mode, instructing the tracer to stop if a *40 us* latency or 53 0 00:00:12 | IRQ Timer Latency (us) | Thread Timer Latency (us) 55 1 #12322 | 0 0 1 15 | 10 3 9 31 56 2 #12322 | 3 0 1 12 | 10 3 9 23 57 3 #12322 | 1 0 1 21 | 8 2 8 34 58 4 #12322 | 1 0 1 17 | 10 2 11 33 59 5 #12322 | 0 0 1 12 | 8 3 8 25 60 6 #12322 | 1 0 1 14 | 16 3 11 35 61 7 #12322 | 0 0 1 14 | 9 2 8 29 [all …]
|
| H A D | common_timerlat_options.rst | 11 **-a**, **--auto** *us* 14 while debugging the system. It is equivalent to use **-T** *us* **-s** *us* 18 **-p**, **--period** *us* 22 **-i**, **--irq** *us* 24 Stop trace if the *IRQ* latency is higher than the argument in us. 26 **-T**, **--thread** *us* 28 Stop trace if the *Thread* latency is higher than the argument in us. 30 **-s**, **--stack** *us* 33 argument in us. 39 **--dma-latency** *us* [all …]
|
| /linux/tools/testing/selftests/tpm2/ |
| H A D | tpm2.py | 12 TPM2_ST_NO_SESSIONS = 0x8001 13 TPM2_ST_SESSIONS = 0x8002 15 TPM2_CC_FIRST = 0x01FF 17 TPM2_CC_CREATE_PRIMARY = 0x0131 18 TPM2_CC_DICTIONARY_ATTACK_LOCK_RESET = 0x0139 19 TPM2_CC_CREATE = 0x0153 20 TPM2_CC_LOAD = 0x0157 21 TPM2_CC_UNSEAL = 0x015E 22 TPM2_CC_FLUSH_CONTEXT = 0x0165 23 TPM2_CC_START_AUTH_SESSION = 0x0176 [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | max98373.c | 36 MAX98373_GLOBAL_EN_MASK, 0); in max98373_dac_event() 41 return 0; in max98373_dac_event() 43 return 0; in max98373_dac_event() 58 SOC_DAPM_SINGLE("Switch", MAX98373_R202C_PCM_TX_EN, 0, 1, 0); 61 SOC_DAPM_SINGLE("Switch", MAX98373_R2043_AMP_EN, 1, 1, 0); 65 MAX98373_R202B_PCM_RX_EN, 0, 0, max98373_dac_event, 67 SND_SOC_DAPM_MUX("DAI Sel Mux", SND_SOC_NOPM, 0, 0, 70 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0, 71 MAX98373_R2047_IV_SENSE_ADC_EN, 0, 0), 72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, [all …]
|
| /linux/include/linux/spi/ |
| H A D | ad7877.h | 11 u16 vref_delay_usecs; /* 0 for external vref; etc */ 19 u8 stopacq_polarity; /* 1 = Active HIGH, 0 = Active LOW */ 20 u8 first_conversion_delay; /* 0 = 0.5us, 1 = 128us, 2 = 1ms, 3 = 8ms */ 21 u8 acquisition_time; /* 0 = 2us, 1 = 4us, 2 = 8us, 3 = 16us */ 22 u8 averaging; /* 0 = 1, 1 = 4, 2 = 8, 3 = 16 */ 23 u8 pen_down_acc_interval; /* 0 = covert once, 1 = every 0.5 ms,
|
| /linux/drivers/media/rc/img-ir/ |
| H A D | img-ir-jvc.c | 19 cust = (raw >> 0) & 0xff; in img_ir_jvc_scancode() 20 data = (raw >> 8) & 0xff; in img_ir_jvc_scancode() 34 cust = (in->data >> 8) & 0xff; in img_ir_jvc_filter() 35 cust_m = (in->mask >> 8) & 0xff; in img_ir_jvc_filter() 36 data = (in->data >> 0) & 0xff; in img_ir_jvc_filter() 37 data_m = (in->mask >> 0) & 0xff; in img_ir_jvc_filter() 42 return 0; in img_ir_jvc_filter() 57 .unit = 527500, /* 527.5 us */ 64 /* 0 symbol */ 66 .pulse = { 1 /* 527.5 us +-60 us */ }, [all …]
|
| /linux/drivers/iio/gyro/ |
| H A D | adxrs450.c | 26 #define ADXRS450_SENSOR_DATA (0x20 << 24) 27 #define ADXRS450_WRITE_DATA (0x40 << 24) 28 #define ADXRS450_READ_DATA (0x80 << 24) 30 #define ADXRS450_RATE1 0x00 /* Rate Registers */ 31 #define ADXRS450_TEMP1 0x02 /* Temperature Registers */ 32 #define ADXRS450_LOCST1 0x04 /* Low CST Memory Registers */ 33 #define ADXRS450_HICST1 0x06 /* High CST Memory Registers */ 34 #define ADXRS450_QUAD1 0x08 /* Quad Memory Registers */ 35 #define ADXRS450_FAULT1 0x0A /* Fault Registers */ 36 #define ADXRS450_PID1 0x0C /* Part ID Register 1 */ [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | osnoise_top.c | 122 return 0; in osnoise_top_handler() 152 trace_seq_printf(s, "\033[0;0;0m"); in osnoise_top_header() 155 trace_seq_printf(s, "duration: %9s | time is in us\n", duration); in osnoise_top_header() 173 trace_seq_printf(s, "\033[0;0;0m"); in osnoise_top_header() 246 for (i = 0; i < nr_cpus; i++) { in osnoise_print_stats() 265 " [-h] [-q] [-D] [-d s] [-a us] [-p us] [-r us] [-s us] [-S us] \\", in osnoise_top_usage() 266 " [-T us] [-t[file]] [-e sys[:event]] [--filter <filter>] [--trigger <trigger>] \\", in osnoise_top_usage() 270 " -a/--auto: set automatic trace mode, stopping the session if argument in us sample is hit", in osnoise_top_usage() 271 " -p/--period us: osnoise period in us", in osnoise_top_usage() 272 " -r/--runtime us: osnoise runtime in us", in osnoise_top_usage() [all …]
|
| /linux/drivers/staging/vme_user/ |
| H A D | vme_tsi148.h | 16 #define PCI_VENDOR_ID_TUNDRA 0x10e3 20 #define PCI_DEVICE_ID_TUNDRA_TSI148 0x148 93 #define TSI148_PCFS_ID 0x0 94 #define TSI148_PCFS_CSR 0x4 95 #define TSI148_PCFS_CLASS 0x8 96 #define TSI148_PCFS_MISC0 0xC 97 #define TSI148_PCFS_MBARL 0x10 98 #define TSI148_PCFS_MBARU 0x14 99 #define TSI148_PCFS_SUBID 0x28 100 #define TSI148_PCFS_CAPP 0x34 [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | adi,ad7879.yaml | 41 default: 0 42 minimum: 0 45 0-12: In 128us steps (starting with 128us) 53 default: 0 54 enum: [0, 1, 2, 3] 56 0: 2us 57 1: 4us 58 2: 8us 59 3: 16us 64 default: 0 [all …]
|