/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 36 #define SPI_CTRL1_SPIE (1 << 7) 37 #define SPI_CTRL1_SPE (1 << 6) 38 #define SPI_CTRL1_MSTR (1 << 4) 39 #define SPI_CTRL1_CPOL (1 << 3) 40 #define SPI_CTRL1_CPHA (1 << 2) 41 #define SPI_CTRL1_SSOE (1 << 1) 42 #define SPI_CTRL1_LSBFE (1 << 0) 48 #define SPI_STATUS_SPIF (1 << 7) 49 #define SPI_STATUS_WCOL (1 << 6) 50 #define SPI_STATUS_MODF (1 << 4) [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 33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode 40 # Sync Width 2.032 us 0.080 ms 42 # Front Porch 0.508 us 0.027 ms 43 # 2 chars 1 lines 44 # Back Porch 3.810 us 0.427 ms [all …]
|
/linux/drivers/scsi/ |
H A D | mesh.c | 52 #if 1 82 #define ALLOW_SYNC(tgt) ((sync_targets >> (tgt)) & 1) 83 #define ALLOW_RESEL(tgt) ((resel_targets >> (tgt)) & 1) 84 #define ALLOW_DEBUG(tgt) ((debug_targets >> (tgt)) & 1) 186 static void mesh_done(struct mesh_state *ms, int start_next); 187 static void mesh_interrupt(struct mesh_state *ms); 188 static void cmd_complete(struct mesh_state *ms); 189 static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd); 190 static void halt_dma(struct mesh_state *ms); 191 static void phase_mismatch(struct mesh_state *ms); [all …]
|
/linux/drivers/md/ |
H A D | dm-raid1.c | 27 #define MAX_RECOVERY 1 /* Maximum number of regions recovered in parallel. */ 29 #define MAX_NR_MIRRORS (DM_KCOPYD_MAX_REGIONS + 1) 51 struct mirror_set *ms; member 99 struct mirror_set *ms = context; in wakeup_mirrord() local 101 queue_work(ms->kmirrord_wq, &ms->kmirrord_work); in wakeup_mirrord() 106 struct mirror_set *ms = timer_container_of(ms, t, timer); in delayed_wake_fn() local 108 clear_bit(0, &ms->timer_pending); in delayed_wake_fn() 109 wakeup_mirrord(ms); in delayed_wake_fn() 112 static void delayed_wake(struct mirror_set *ms) in delayed_wake() argument 114 if (test_and_set_bit(0, &ms->timer_pending)) in delayed_wake() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | netem.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem", 17 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit", 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem limit 200", 38 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit 200", 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms", 59 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ .*delay 100ms", [all …]
|
H A D | codel.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel", 17 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel limit 1500", 38 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel target 100ms", 59 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", [all …]
|
H A D | fq_codel.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel", 17 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel limit 1000", 38 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i… 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel memory_limit 100000", 59 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 30 void ZSTD_updateDUBT(ZSTD_MatchState_t* ms, in ZSTD_updateDUBT() argument 34 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() 35 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() 38 U32* const bt = ms->chainTable; in ZSTD_updateDUBT() 39 U32 const btLog = cParams->chainLog - 1; in ZSTD_updateDUBT() 40 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() 42 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 44 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT() 48 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 52 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() [all …]
|
H A D | zstd_double_fast.c | 19 void ZSTD_fillDoubleHashTableForCDict(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTableForCDict() argument 22 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTableForCDict() 23 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCDict() 26 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTableForCDict() 28 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTableForCDict() 29 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict() 37 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTableForCDict() 57 void ZSTD_fillDoubleHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillDoubleHashTableForCCtx() argument 60 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTableForCCtx() 61 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTableForCCtx() [all …]
|
H A D | zstd_fast.c | 17 void ZSTD_fillHashTableForCDict(ZSTD_MatchState_t* ms, in ZSTD_fillHashTableForCDict() argument 21 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTableForCDict() 22 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCDict() 25 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCDict() 26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCDict() 45 for (p = 1; p < fastHashFillStep; ++p) { in ZSTD_fillHashTableForCDict() 54 void ZSTD_fillHashTableForCCtx(ZSTD_MatchState_t* ms, in ZSTD_fillHashTableForCCtx() argument 58 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTableForCCtx() 59 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTableForCCtx() 62 const BYTE* const base = ms->window.base; in ZSTD_fillHashTableForCCtx() [all …]
|
H A D | zstd_opt.c | 21 #define ZSTD_MAX_PRICE (1<<30) 32 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) 36 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) 40 # define BITCOST_MULTIPLIER (1 << BITCOST_ACCURACY) 48 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER); in ZSTD_bitWeight() 56 U32 const stat = rawStat + 1; in ZSTD_fracWeight() 60 * but it's effectively a value between 1 and 2 in ZSTD_fracWeight() 103 typedef enum { base_0possible=0, base_1guaranteed=1 } base_directive_e; 110 (unsigned)lastEltIndex+1, (unsigned)shift ); in ZSTD_downscaleStats() 112 for (s=0; s<lastEltIndex+1; s++) { in ZSTD_downscaleStats() [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 47 #define SSM2518_POWER1_MCS_MASK (0xf << 1) 48 #define SSM2518_POWER1_MCS_64FS (0x0 << 1) 49 #define SSM2518_POWER1_MCS_128FS (0x1 << 1) 50 #define SSM2518_POWER1_MCS_256FS (0x2 << 1) 51 #define SSM2518_POWER1_MCS_384FS (0x3 << 1) 52 #define SSM2518_POWER1_MCS_512FS (0x4 << 1) 53 #define SSM2518_POWER1_MCS_768FS (0x5 << 1) 54 #define SSM2518_POWER1_MCS_100FS (0x6 << 1) 55 #define SSM2518_POWER1_MCS_200FS (0x7 << 1) 56 #define SSM2518_POWER1_MCS_400FS (0x8 << 1) [all …]
|
H A D | adau1761.c | 59 #define ADAU1761_PLAY_MONO_OUTPUT_VOL_UNMUTE BIT(1) 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 159 ADAU17X1_REC_POWER_MGMT, 1, 0x3, adau1761_bias_select_text, 163 3, 0, 1, 2, 168 "24 ms", 169 "48 ms", 170 "96 ms", [all …]
|
H A D | max98388.c | 81 MAX98388_R210F_GLOBAL_EN, 1); in max98388_dac_event() 108 SOC_DAPM_SINGLE("Switch", MAX98388_R205F_PCM_TX_EN, 0, 1, 0); 120 MAX98388_R20A7_IV_DATA_EN, 1, 0), 124 MAX98388_R205D_PCM_TX_SRC_EN, 1, 0), 131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); 135 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS", 176 "320us", "640us", "1.28ms", "2.56ms", "5.12ms", "10.24ms", 177 "20.48ms", "40.96ms", "81.92ms", "163.84ms" 187 "1.28ms", "2.56ms", "5.12ms", "10.24ms", "20.48ms", "40.96ms", 188 "81.92ms", "163.84ms", "327.68ms", "655.36ms" [all …]
|
H A D | max98373.c | 30 MAX98373_GLOBAL_EN_MASK, 1); 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); 73 MAX98373_R2047_IV_SENSE_ADC_EN, 1, 0), 85 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1); 94 0, 1, TLV_DB_SCALE_ITEM(25, 25, 0), 101 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0), 135 "45ms", "225ms", "450ms", "1150ms", 136 "2250ms", "3100ms", "4500ms", "6750ms" 145 "160us", "320us", "640us", "1.28ms", [all …]
|
/linux/drivers/hid/ |
H A D | hid-microsoft.c | 23 #define MS_ERGONOMY BIT(1) 42 #define ENABLE_STRONG BIT(1) 62 struct ms_data *ms = hid_get_drvdata(hdev); in ms_report_fixup() local 63 unsigned long quirks = ms->quirks; in ms_report_fixup() 89 * the MS office kb labelled "Office Home" and "Task Pane". in ms_ergonomy_kb_quirk() 93 return 1; in ms_ergonomy_kb_quirk() 96 return 1; in ms_ergonomy_kb_quirk() 121 * (this usage is found on interface 1). in ms_ergonomy_kb_quirk() 126 return -1; in ms_ergonomy_kb_quirk() 139 return 1; in ms_ergonomy_kb_quirk() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 13 For the Midiator MS-124W, you must set the physical M-S and A-B 19 number plus 1. Roland modules use this command to switch between different 36 In MS-124T mode, one raw MIDI substream is supported (midiCnD0); the outs 37 module parameter is automatically set to 1. The driver sends the same data to 41 Usage example for MS-124T, with A-B switch in A position: 45 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 adaptor=1 \ 48 In MS-124W S/A mode, one raw MIDI substream is supported (midiCnD0); [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 13 Should set to 1. 15 in reg property. Should set to 1. 18 - scanning_period: Time between scans. Each step is 1024 us. Valid 1-256. 20 - settling_timeout: The settling duration (in ms) is the amount of time 24 0 = 0.008 ms 25 1 = 0.01 ms 26 2 = 0.02 ms 27 3 = 0.04 ms 28 4 = 0.08 ms 29 5 = 0.16 ms [all …]
|
/linux/sound/pci/ice1712/ |
H A D | wm8776.c | 20 u8 bus_addr = addr << 1 | data >> 8; /* addr + 9th data bit */ in snd_wm8776_write() 87 case 1: /* Limiter */ in snd_wm8776_set_agc() 119 static const DECLARE_TLV_DB_SCALE(wm8776_hp_tlv, -7400, 100, 1); 120 static const DECLARE_TLV_DB_SCALE(wm8776_dac_tlv, -12750, 50, 1); 121 static const DECLARE_TLV_DB_SCALE(wm8776_adc_tlv, -10350, 50, 1); 287 .enum_names = { "0.25 ms", "0.5 ms", "1 ms", "2 ms", "4 ms", 288 "8 ms", "16 ms", "32 ms", "64 ms", "128 ms", "256 ms" }, 297 .enum_names = { "1.2 ms", "2.4 ms", "4.8 ms", "9.6 ms", 298 "19.2 ms", "38.4 ms", "76.8 ms", "154 ms", "307 ms", 299 "614 ms", "1.23 s" }, [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l42.yaml | 27 maxItems: 1 53 maxItems: 1 58 maxItems: 1 67 1 - Open when unplugged, shorted to tip when plugged. 73 maximum: 1 80 0 - 0ms 81 1 - 125ms 82 2 - 250ms 83 3 - 500ms 84 4 - 750ms [all …]
|
/linux/fs/dlm/ |
H A D | lock.c | 31 Stage 1 (lock, unlock) is mainly about checking input args and 89 const struct dlm_message *ms, bool local); 90 static int receive_extralen(const struct dlm_message *ms); 99 * Usage: matrix[grmode+1][rqmode+1] (although m[rq+1][gr+1] is the same) 104 {1, 1, 1, 1, 1, 1, 1, 0}, /* UN */ 105 {1, 1, 1, 1, 1, 1, 1, 0}, /* NL */ 106 {1, 1, 1, 1, 1, 1, 0, 0}, /* CR */ 107 {1, 1, 1, 1, 0, 0, 0, 0}, /* CW */ 108 {1, 1, 1, 0, 1, 0, 0, 0}, /* PR */ 109 {1, 1, 1, 0, 0, 0, 0, 0}, /* PW */ [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4_calcs.c | 65 if (!fail_only || support->LinkRateDoesNotMatchDPVersion == 1) in dml2_print_mode_support_info() 67 if (!fail_only || support->LinkRateForMultistreamNotIndicated == 1) in dml2_print_mode_support_info() 69 if (!fail_only || support->BPPForMultistreamNotIndicated == 1) in dml2_print_mode_support_info() 71 if (!fail_only || support->MultistreamWithHDMIOreDP == 1) in dml2_print_mode_support_info() 73 if (!fail_only || support->ExceededMultistreamSlots == 1) in dml2_print_mode_support_info() 75 if (!fail_only || support->MSOOrODMSplitWithNonDPLink == 1) in dml2_print_mode_support_info() 77 if (!fail_only || support->NotEnoughLanesForMSO == 1) in dml2_print_mode_support_info() 79 if (!fail_only || support->P2IWith420 == 1) in dml2_print_mode_support_info() 81 if (!fail_only || support->DSC422NativeNotSupported == 1) in dml2_print_mode_support_info() 85 if (!fail_only || support->NotEnoughDSCUnits == 1) in dml2_print_mode_support_info() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mac.c | 37 (1 << AR_TxRxDesc_S) | in ar9003_set_txdesc() 38 (1 << AR_CtrlStat_S) | in ar9003_set_txdesc() 49 checksum += i->buf_addr[1]; in ar9003_set_txdesc() 50 WRITE_ONCE(ads->data1, i->buf_addr[1]); in ar9003_set_txdesc() 58 checksum += (val = (i->buf_len[1] << AR_BufLen_S) & AR_BufLen); in ar9003_set_txdesc() 70 | set11nTries(i->rates, 1) in ar9003_set_txdesc() 77 | set11nRate(i->rates, 1) in ar9003_set_txdesc() 142 | set11nPktDurRTSCTS(i->rates, 1)); in ar9003_set_txdesc() 149 | set11nRateFlags(i->rates, 1) | set11nChainSel(i->rates, 1) in ar9003_set_txdesc() 156 WRITE_ONCE(ads->ctl20, SM(i->txpower[1], AR_XmitPower1)); in ar9003_set_txdesc() [all …]
|
/linux/kernel/time/ |
H A D | timer.c | 106 * 0 0 1 ms 0 ms - 63 ms 107 * 1 64 8 ms 64 ms - 511 ms 108 * 2 128 64 ms 512 ms - 4095 ms (512ms - ~4s) 109 * 3 192 512 ms 4096 ms - 32767 ms (~4s - ~32s) 110 * 4 256 4096 ms (~4s) 32768 ms - 262143 ms (~32s - ~4m) 111 * 5 320 32768 ms (~32s) 262144 ms - 2097151 ms (~4m - ~34m) 112 * 6 384 262144 ms (~4m) 2097152 ms - 16777215 ms (~34m - ~4h) 113 * 7 448 2097152 ms (~34m) 16777216 ms - 134217727 ms (~4h - ~1d) 114 * 8 512 16777216 ms (~4h) 134217728 ms - 1073741822 ms (~1d - ~12d) 118 * 0 0 3 ms 0 ms - 210 ms [all …]
|
/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 22 struct minstrel_debugfs_info *ms; in minstrel_stats_read() local 24 ms = file->private_data; in minstrel_stats_read() 25 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read() 87 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() 91 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() 95 *(p++) = (idx == mi->max_tp_rate[1]) ? 'B' : ' '; in minstrel_ht_stats_dump() 102 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump() 104 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump() 113 p += sprintf(p, " %2u.%1uM", r / 10, r % 10); in minstrel_ht_stats_dump() 128 p += sprintf(p, "%4u.%1u %4u.%1u %3u.%1u" in minstrel_ht_stats_dump() [all …]
|