/linux/drivers/scsi/ |
H A D | mesh.c | 62 static int sync_targets = 0xff; 63 static int resel_targets = 0xff; 64 static int debug_targets = 0; /* print debug for these targets */ 67 module_param(sync_rate, int, 0); 68 MODULE_PARM_DESC(sync_rate, "Synchronous rate (0..10, 0=async)"); 69 module_param(sync_targets, int, 0); 71 module_param(resel_targets, int, 0); 75 module_param(init_reset_delay, int, 0); 76 MODULE_PARM_DESC(init_reset_delay, "Initial bus reset delay (0=no reset)"); 79 static int mesh_sync_offset = 0; [all …]
|
/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 35 #define SPI_CTRL1 0x00 42 #define SPI_CTRL1_LSBFE (1 << 0) 44 #define SPI_CTRL2 0x01 45 #define SPI_BRR 0x04 47 #define SPI_STATUS 0x05 52 #define SPI_DATA 0x09 53 #define SPI_PORTDATA 0x0d 54 #define SPI_DATADIR 0x10 57 #define FSM_STOP 0 /* Nothing more for the state machine to */ 87 int (*state)(int irq, struct mpc52xx_spi *ms, u8 status, u8 data); [all …]
|
/linux/drivers/md/ |
H A D | dm-raid1.c | 31 #define DM_RAID1_HANDLE_ERRORS 0x01 32 #define DM_RAID1_KEEP_LOG 0x02 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 = from_timer(ms, t, timer); in delayed_wake_fn() local 108 clear_bit(0, &ms in delayed_wake_fn() 112 delayed_wake(struct mirror_set * ms) delayed_wake() argument 126 queue_bio(struct mirror_set * ms,struct bio * bio,int rw) queue_bio() argument 144 struct mirror_set *ms = context; dispatch_bios() local 178 get_default_mirror(struct mirror_set * ms) get_default_mirror() argument 185 struct mirror_set *ms = m->ms; set_default_mirror() local 191 get_valid_mirror(struct mirror_set * ms) get_valid_mirror() argument 218 struct mirror_set *ms = m->ms; fail_mirror() local 261 struct mirror_set *ms = ti->private; mirror_flush() local 306 struct mirror_set *ms = dm_rh_region_context(reg); recovery_complete() local 335 recover(struct mirror_set * ms,struct dm_region * reg) recover() argument 379 reset_ms_flags(struct mirror_set * ms) reset_ms_flags() argument 390 do_recovery(struct mirror_set * ms) do_recovery() argument 423 choose_mirror(struct mirror_set * ms,sector_t sector) choose_mirror() argument 445 mirror_available(struct mirror_set * ms,struct bio * bio) mirror_available() argument 480 hold_bio(struct mirror_set * ms,struct bio * bio) hold_bio() argument 560 region_in_sync(struct mirror_set * ms,region_t region,int may_block) region_in_sync() argument 567 do_reads(struct mirror_set * ms,struct bio_list * reads) do_reads() argument 608 struct mirror_set *ms; write_callback() local 654 do_write(struct mirror_set * ms,struct bio * bio) do_write() argument 687 do_writes(struct mirror_set * ms,struct bio_list * writes) do_writes() argument 795 do_failures(struct mirror_set * ms,struct bio_list * failures) do_failures() argument 849 struct mirror_set *ms = trigger_event() local 862 struct mirror_set *ms = container_of(work, struct mirror_set, do_mirror() local 893 struct mirror_set *ms = alloc_context() local 937 free_context(struct mirror_set * ms,struct dm_target * ti,unsigned int m) free_context() argument 948 get_mirror(struct mirror_set * ms,struct dm_target * ti,unsigned int mirror,char ** argv) get_mirror() argument 1014 parse_features(struct mirror_set * ms,unsigned int argc,char ** argv,unsigned int * args_used) parse_features() argument 1079 struct mirror_set *ms; mirror_ctr() local 1183 struct mirror_set *ms = ti->private; mirror_dtr() local 1200 struct mirror_set *ms = ti->private; mirror_map() local 1249 struct mirror_set *ms = ti->private; mirror_end_io() local 1314 struct mirror_set *ms = ti->private; mirror_presuspend() local 1360 struct mirror_set *ms = ti->private; mirror_postsuspend() local 1370 struct mirror_set *ms = ti->private; mirror_resume() local 1410 struct mirror_set *ms = ti->private; mirror_status() local 1473 struct mirror_set *ms = ti->private; mirror_iterate_devices() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.c | 887 s = 0; in dscceComputeDelay() 899 if ((ix % w) == 0 && p != 0) in dscceComputeDelay() 902 lstall = 0; in dscceComputeDelay() 922 dml_uint_t Delay = 0; in dscComputeDelay() 928 Delay = Delay + 0; in dscComputeDelay() 972 Delay = Delay + 0; in dscComputeDelay() 1002 s->DPPCycles = 0; in CalculatePrefetchSchedule() 1003 s->DISPCLKCycles = 0; in CalculatePrefetchSchedule() 1016 s->HostVMDynamicLevelsTrips = 0; in CalculatePrefetchSchedule() 1042 s->HostVMDynamicLevelsTrips = 0; in CalculatePrefetchSchedule() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | netem.json | 15 "expExitCode": "0", 17 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit", 36 "expExitCode": "0", 38 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit 200", 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms", 57 "expExitCode": "0", 59 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ .*delay 100ms", 77 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root netem delay 100ms 10ms distribution norma… 78 "expExitCode": "0", 80 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ .*delay 100ms 10ms corrupt 1%", [all …]
|
H A D | codel.json | 15 "expExitCode": "0", 17 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 36 "expExitCode": "0", 38 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel target 100ms", 57 "expExitCode": "0", 59 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", 77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel interval 20ms", 78 "expExitCode": "0", 80 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 20ms", [all …]
|
H A D | fq_codel.json | 15 "expExitCode": "0", 17 …chPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms inte… 36 "expExitCode": "0", 38 …tchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms inte… 57 "expExitCode": "0", 59 …chPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms inte… 78 "expExitCode": "0", 80 …chPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 2ms inte… 99 "expExitCode": "0", 101 …tchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms int… [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 20 ZSTD_updateDUBT(ZSTD_matchState_t* ms, in ZSTD_updateDUBT() argument 24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT() 25 U32* const hashTable = ms->hashTable; in ZSTD_updateDUBT() 28 U32* const bt = ms->chainTable; in ZSTD_updateDUBT() 32 const BYTE* const base = ms->window.base; in ZSTD_updateDUBT() 34 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT() 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 55 ms->nextToUpdate = target; in ZSTD_updateDUBT() 64 ZSTD_insertDUBT1(const ZSTD_matchState_t* ms, in ZSTD_insertDUBT1() argument [all …]
|
H A D | zstd_fast.c | 15 void ZSTD_fillHashTable(ZSTD_matchState_t* ms, in ZSTD_fillHashTable() argument 19 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTable() 20 U32* const hashTable = ms->hashTable; in ZSTD_fillHashTable() 23 const BYTE* const base = ms->window.base; in ZSTD_fillHashTable() 24 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTable() 40 if (hashTable[hash] == 0) { /* not yet filled */ in ZSTD_fillHashTable() 94 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() argument 98 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_noDict_generic() 99 U32* const hashTable = ms->hashTable; in ZSTD_compressBlock_fast_noDict_generic() 101 /* support stepSize of 0 */ in ZSTD_compressBlock_fast_noDict_generic() [all …]
|
/linux/drivers/hid/ |
H A D | hid-microsoft.c | 22 #define MS_HIDINPUT BIT(0) 41 #define ENABLE_WEAK BIT(0) 62 struct ms_data *ms = hid_get_drvdata(hdev); in ms_report_fixup() local 63 unsigned long quirks = ms->quirks; in ms_report_fixup() 69 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup() 70 rdesc[559] == 0x29) { in ms_report_fixup() 72 rdesc[557] = 0x35; in ms_report_fixup() 73 rdesc[559] = 0x45; in ms_report_fixup() 89 * the MS office kb labelled "Office Home" and "Task Pane". in ms_ergonomy_kb_quirk() 91 case 0x29d: in ms_ergonomy_kb_quirk() [all …]
|
/linux/drivers/platform/x86/amd/pmf/ |
H A D | cnqf.c | 40 pr_debug("flags: 0x%x\n", data->flags); in amd_pmf_cnqf_dump_defaults() 43 pr_debug("t_perf_to_turbo: %u ms\n", data->t_perf_to_turbo); in amd_pmf_cnqf_dump_defaults() 44 pr_debug("t_balanced_to_perf: %u ms\n", data->t_balanced_to_perf); in amd_pmf_cnqf_dump_defaults() 45 pr_debug("t_quiet_to_balanced: %u ms\n", data->t_quiet_to_balanced); in amd_pmf_cnqf_dump_defaults() 46 pr_debug("t_balanced_to_quiet: %u ms\n", data->t_balanced_to_quiet); in amd_pmf_cnqf_dump_defaults() 47 pr_debug("t_perf_to_balanced: %u ms\n", data->t_perf_to_balanced); in amd_pmf_cnqf_dump_defaults() 48 pr_debug("t_turbo_to_perf: %u ms\n", data->t_turbo_to_perf); in amd_pmf_cnqf_dump_defaults() 50 for (i = 0 ; i < CNQF_MODE_MAX ; i++) { in amd_pmf_cnqf_dump_defaults() 94 return 0; in amd_pmf_set_cnqf() 158 u32 avg_power = 0; in amd_pmf_trans_cnqf() [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/sound/pci/ice1712/ |
H A D | wm8776.c | 21 u8 bus_data = data & 0xff; /* remaining 8 data bits */ in snd_wm8776_write() 53 int i, flags_on = 0, flags_off = 0; in snd_wm8776_update_agc_ctl() 71 for (i = 0; i < WM8776_CTL_COUNT; i++) in snd_wm8776_update_agc_ctl() 84 case 0: /* Off */ in snd_wm8776_set_agc() 122 static const DECLARE_TLV_DB_SCALE(wm8776_lct_tlv, -1600, 100, 0); 123 static const DECLARE_TLV_DB_SCALE(wm8776_maxgain_tlv, 0, 400, 0); 124 static const DECLARE_TLV_DB_SCALE(wm8776_ngth_tlv, -7800, 600, 0); 125 static const DECLARE_TLV_DB_SCALE(wm8776_maxatten_lim_tlv, -1200, 100, 0); 126 static const DECLARE_TLV_DB_SCALE(wm8776_maxatten_alc_tlv, -2100, 400, 0); 137 .max = 0xff, [all …]
|
/linux/sound/soc/codecs/ |
H A D | ssm2518.c | 25 #define SSM2518_REG_POWER1 0x00 26 #define SSM2518_REG_CLOCK 0x01 27 #define SSM2518_REG_SAI_CTRL1 0x02 28 #define SSM2518_REG_SAI_CTRL2 0x03 29 #define SSM2518_REG_CHAN_MAP 0x04 30 #define SSM2518_REG_LEFT_VOL 0x05 31 #define SSM2518_REG_RIGHT_VOL 0x06 32 #define SSM2518_REG_MUTE_CTRL 0x07 33 #define SSM2518_REG_FAULT_CTRL 0x08 34 #define SSM2518_REG_POWER2 0x09 [all …]
|
H A D | adau1761.c | 24 #define ADAU1761_DIGMIC_JACKDETECT 0x4008 25 #define ADAU1761_REC_MIXER_LEFT0 0x400a 26 #define ADAU1761_REC_MIXER_LEFT1 0x400b 27 #define ADAU1761_REC_MIXER_RIGHT0 0x400c 28 #define ADAU1761_REC_MIXER_RIGHT1 0x400d 29 #define ADAU1761_LEFT_DIFF_INPUT_VOL 0x400e 30 #define ADAU1761_RIGHT_DIFF_INPUT_VOL 0x400f 31 #define ADAU1761_ALC_CTRL0 0x4011 32 #define ADAU1761_ALC_CTRL1 0x4012 33 #define ADAU1761_ALC_CTRL2 0x4013 [all …]
|
H A D | max98388.c | 22 {MAX98388_R2000_SW_RESET, 0x00}, 23 {MAX98388_R2001_INT_RAW1, 0x00}, 24 {MAX98388_R2002_INT_RAW2, 0x00}, 25 {MAX98388_R2004_INT_STATE1, 0x00}, 26 {MAX98388_R2005_INT_STATE2, 0x00}, 27 {MAX98388_R2020_THERM_WARN_THRESH, 0x0A}, 28 {MAX98388_R2031_SPK_MON_THRESH, 0x58}, 29 {MAX98388_R2032_SPK_MON_LD_SEL, 0x08}, 30 {MAX98388_R2033_SPK_MON_DURATION, 0x02}, 31 {MAX98388_R2037_ERR_MON_CTRL, 0x01}, [all …]
|
/linux/kernel/ |
H A D | module_signature.c | 17 * @ms: Signature to check. 18 * @file_len: Size of the file to which @ms is appended. 21 int mod_check_sig(const struct module_signature *ms, size_t file_len, in mod_check_sig() argument 24 if (be32_to_cpu(ms->sig_len) >= file_len - sizeof(*ms)) in mod_check_sig() 27 if (ms->id_type != PKEY_ID_PKCS7) { in mod_check_sig() 33 if (ms->algo != 0 || in mod_check_sig() 34 ms->hash != 0 || in mod_check_sig() 35 ms->signer_len != 0 || in mod_check_sig() 36 ms->key_id_len != 0 || in mod_check_sig() 37 ms->__pad[0] != 0 || in mod_check_sig() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 7 * 0 - Roland Soundcanvas support (default) 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 28 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 speed=115200 34 /sbin/modprobe snd-serial-u16550 port=0x3f8 irq=4 outs=4 36 In MS-124T mode, one raw MIDI substream is supported (midiCnD0); the outs 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 \ [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared.c | 13 *remainder = ((dividend / divisor) - (int)(dividend / divisor) > 0); in dml2_core_shared_div_rem() 766 memset(&mode_lib->ms, 0, sizeof(struct dml2_core_internal_mode_support)); in dml2_core_shared_mode_support() 768 mode_lib->ms.num_active_planes = display_cfg->num_planes; in dml2_core_shared_mode_support() 771 mode_lib->ms.state_idx = in_out_params->min_clk_index; in dml2_core_shared_mode_support() 772 mode_lib->ms.SOCCLK = ((double)mode_lib->soc.clk_table.socclk.clk_values_khz[0] / 1000); in dml2_core_shared_mode_support() 773 …mode_lib->ms.DCFCLK = ((double)min_clk_table->dram_bw_table.entries[in_out_params->min_clk_index].… in dml2_core_shared_mode_support() 774 …mode_lib->ms.FabricClock = ((double)min_clk_table->dram_bw_table.entries[in_out_params->min_clk_in… in dml2_core_shared_mode_support() 775 mode_lib->ms.MaxDCFCLK = (double)min_clk_table->max_clocks_khz.dcfclk / 1000; in dml2_core_shared_mode_support() 776 mode_lib->ms.MaxFabricClock = (double)min_clk_table->max_clocks_khz.fclk / 1000; in dml2_core_shared_mode_support() 777 mode_lib->ms.max_dispclk_freq_mhz = (double)min_clk_table->max_clocks_khz.dispclk / 1000; in dml2_core_shared_mode_support() [all …]
|
H A D | dml2_core_dcn4_calcs.c | 50 *remainder = ((dividend / divisor) - (int)(dividend / divisor) > 0); in dml2_core_div_rem() 58 if (!fail_only || support->ScaleRatioAndTapsSupport == 0) in dml2_print_mode_support_info() 60 if (!fail_only || support->SourceFormatPixelAndScanSupport == 0) in dml2_print_mode_support_info() 62 if (!fail_only || support->ViewportSizeSupport == 0) in dml2_print_mode_support_info() 82 if (!fail_only || support->DSCSlicesODMModeSupported == 0) in dml2_print_mode_support_info() 94 if (!fail_only || support->PixelsPerLinePerDSCUnitSupport == 0) in dml2_print_mode_support_info() 100 if (!fail_only || support->ROBSupport == 0) in dml2_print_mode_support_info() 102 if (!fail_only || support->OutstandingRequestsSupport == 0) in dml2_print_mode_support_info() 104 if (!fail_only || support->OutstandingRequestsUrgencyAvoidance == 0) in dml2_print_mode_support_info() 106 if (!fail_only || support->DISPCLK_DPPCLK_Support == 0) in dml2_print_mode_support_info() [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 19 - debounce_timeout: Each step is 512 us. Valid 0-255 20 - settling_timeout: The settling duration (in ms) is the amount of time 23 Valid values: 0-11 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 30 6 = 0.32 ms [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l42.yaml | 64 0 - (Default) Shorted to tip when unplugged, open when plugged. 72 minimum: 0 80 0 - 0ms 81 1 - 125ms 82 2 - 250ms 83 3 - 500ms 84 4 - 750ms 91 minimum: 0 99 0 - 0ms 100 1 - 125ms [all …]
|
/linux/fs/dlm/ |
H A D | lock.c | 89 const struct dlm_message *ms, bool local); 90 static int receive_extralen(const struct dlm_message *ms); 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 */ 110 {1, 1, 0, 0, 0, 0, 0, 0}, /* EX */ 111 {0, 0, 0, 0, 0, 0, 0, 0} /* PD */ [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_mac.c | 23 REG_WRITE(hw, AR_CR, 0); in ar9003_hw_rx_enable() 30 int checksum = 0; in ar9003_set_txdesc() 34 desc_len = ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x18 : 0x17); in ar9003_set_txdesc() 47 checksum += i->buf_addr[0]; in ar9003_set_txdesc() 48 WRITE_ONCE(ads->data0, i->buf_addr[0]); in ar9003_set_txdesc() 56 checksum += (val = (i->buf_len[0] << AR_BufLen_S) & AR_BufLen); in ar9003_set_txdesc() 65 checksum = (u16) (((checksum & 0xffff) + (checksum >> 16)) & 0xffff); in ar9003_set_txdesc() 69 WRITE_ONCE(ads->ctl13, set11nTries(i->rates, 0) in ar9003_set_txdesc() 73 | (i->dur_update ? AR_DurUpdateEna : 0) in ar9003_set_txdesc() 74 | SM(0, AR_BurstDur)); in ar9003_set_txdesc() [all …]
|
/linux/arch/microblaze/kernel/ |
H A D | mcount.S | 16 /* FIXME MS: I think that I don't need to save all regs */ 88 /* MS: It is just barrier which is removed from C code */ 93 swi r15, r1, 0; 109 /* MS: jump over graph function - replaced from C code */ 112 addik r5, r1, 120; /* MS: load parent addr */ 113 addik r6, r15, 0; /* MS: load current function addr */ 116 /* MS: graph was taken that's why - can jump over function trace */ 122 /* MS: test function trace if is taken or not */ 126 beqid r5, end; /* MS: not taken -> jump over */ 135 lwi r6, r1, 120; /* MS: load parent addr */ [all …]
|