/linux-6.6.21/drivers/spi/ |
D | spi-mpc52xx.c | 86 int (*state)(int irq, struct mpc52xx_spi *ms, u8 status, u8 data); 99 static void mpc52xx_spi_chipsel(struct mpc52xx_spi *ms, int value) in mpc52xx_spi_chipsel() argument 103 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel() 104 cs = spi_get_chipselect(ms->message->spi, 0); in mpc52xx_spi_chipsel() 105 gpiod_set_value(ms->gpio_cs[cs], value); in mpc52xx_spi_chipsel() 107 out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08); in mpc52xx_spi_chipsel() 116 static void mpc52xx_spi_start_transfer(struct mpc52xx_spi *ms) in mpc52xx_spi_start_transfer() argument 118 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer() 119 ms->tx_buf = ms->transfer->tx_buf; in mpc52xx_spi_start_transfer() 120 ms->len = ms->transfer->len; in mpc52xx_spi_start_transfer() [all …]
|
D | spi-mtk-snfi.c | 645 struct mtk_snand *ms = nand_to_mtk_snand(nand); in mtk_snand_ooblayout_free() local 647 if (section >= ms->nfi_cfg.nsectors) in mtk_snand_ooblayout_free() 650 oobfree->length = ms->caps->fdm_size - 1; in mtk_snand_ooblayout_free() 651 oobfree->offset = section * ms->caps->fdm_size + 1; in mtk_snand_ooblayout_free() 1258 struct mtk_snand *ms = spi_controller_get_devdata(mem->spi->master); in mtk_snand_adjust_op_size() local 1266 if (ms->autofmt) in mtk_snand_adjust_op_size() 1268 l = ms->caps->sector_size + ms->nfi_cfg.spare_size; in mtk_snand_adjust_op_size() 1269 l *= ms->nfi_cfg.nsectors; in mtk_snand_adjust_op_size() 1285 struct mtk_snand *ms = spi_controller_get_devdata(mem->spi->master); in mtk_snand_exec_op() local 1287 dev_dbg(ms->dev, "OP %02x ADDR %08llX@%d:%u DATA %d:%u", op->cmd.opcode, in mtk_snand_exec_op() [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | mesh.c | 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); 213 static void dlog(struct mesh_state *ms, char *fmt, int a) in dlog() argument 215 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in dlog() 219 slp = &ms->log[ms->log_ix]; in dlog() 222 tlp->phase = (ms->msgphase << 4) + ms->phase; in dlog() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-raid1.c | 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->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() 117 ms->timer.expires = jiffies + HZ / 5; in delayed_wake() 118 add_timer(&ms->timer); in delayed_wake() [all …]
|
/linux-6.6.21/Documentation/fb/ |
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-6.6.21/Documentation/translations/zh_CN/scheduler/ |
D | sched-bwc.rst | 78 cpu.cfs_period_us=100ms 86 小配额是1ms。周期长度也有一个1s的上限。当带宽限制以分层方式使用时,存在额外的限制,这些在下 104 /proc/sys/kernel/sched_cfs_bandwidth_slice_us (default=5ms) 144 1ms以外的所有时间片都可以返回到全局池中。这是在编译时由min_cfs_rq_runtime变量配置的。这 154 即任务组正在运行的每个cpu上未使用的片断量(通常每个cpu最多1ms或由min_cfs_rq_runtime定 157 长的时间窗口。这也限制了突发能力,每个cpu不超过1ms。这为在高核数机器上有小配额限制的高线程 164 可能在某些时期使用多达1ms的额外配额,从而阻止cpu绑定的应用程序完全使用其配额,这也是同样的数 172 如果周期是250ms,配额也是250ms,那么该组将每250ms获得价值1个CPU的运行时间。 174 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */ 175 # echo 250000 > cpu.cfs_period_us /* period = 250ms */ [all …]
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_lazy.h | 25 U32 ZSTD_insertAndFindFirstIndex(ZSTD_matchState_t* ms, const BYTE* ip); 26 void ZSTD_row_update(ZSTD_matchState_t* const ms, const BYTE* ip); 28 void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip); 33 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 36 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 39 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 42 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 45 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 48 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 51 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], [all …]
|
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 …]
|
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() 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() 103 const BYTE* const base = ms->window.base; in ZSTD_compressBlock_fast_noDict_generic() 106 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() [all …]
|
D | zstd_opt.c | 382 static U32 ZSTD_insertAndFindFirstIndexHash3 (const ZSTD_matchState_t* ms, in ZSTD_insertAndFindFirstIndexHash3() argument 386 U32* const hashTable3 = ms->hashTable3; in ZSTD_insertAndFindFirstIndexHash3() 387 U32 const hashLog3 = ms->hashLog3; in ZSTD_insertAndFindFirstIndexHash3() 388 const BYTE* const base = ms->window.base; in ZSTD_insertAndFindFirstIndexHash3() 412 const ZSTD_matchState_t* ms, in ZSTD_insertBt1() argument 417 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBt1() 418 U32* const hashTable = ms->hashTable; in ZSTD_insertBt1() 421 U32* const bt = ms->chainTable; in ZSTD_insertBt1() 426 const BYTE* const base = ms->window.base; in ZSTD_insertBt1() 427 const BYTE* const dictBase = ms->window.dictBase; in ZSTD_insertBt1() [all …]
|
D | zstd_double_fast.c | 15 void ZSTD_fillDoubleHashTable(ZSTD_matchState_t* ms, in ZSTD_fillDoubleHashTable() argument 18 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTable() 19 U32* const hashLarge = ms->hashTable; in ZSTD_fillDoubleHashTable() 22 U32* const hashSmall = ms->chainTable; in ZSTD_fillDoubleHashTable() 24 const BYTE* const base = ms->window.base; in ZSTD_fillDoubleHashTable() 25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() 52 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() argument 55 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_noDict_generic() 56 U32* const hashLong = ms->hashTable; in ZSTD_compressBlock_doubleFast_noDict_generic() 58 U32* const hashSmall = ms->chainTable; in ZSTD_compressBlock_doubleFast_noDict_generic() [all …]
|
D | zstd_opt.h | 18 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend); 21 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 24 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 27 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 32 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 35 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 39 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 42 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
/linux-6.6.21/kernel/ |
D | module_signature.c | 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() 38 ms->__pad[1] != 0 || in mod_check_sig() 39 ms->__pad[2] != 0) { in mod_check_sig()
|
/linux-6.6.21/mm/ |
D | sparse.c | 164 static void __section_mark_present(struct mem_section *ms, in __section_mark_present() argument 170 ms->section_mem_map |= SECTION_MARKED_PRESENT; in __section_mark_present() 202 struct mem_section *ms; in subsection_map_init() local 207 ms = __nr_to_section(nr); in subsection_map_init() 208 subsection_mask_set(ms->usage->subsection_map, pfn, pfns); in subsection_map_init() 246 struct mem_section *ms; in memory_present() local 251 ms = __nr_to_section(section); in memory_present() 252 if (!ms->section_mem_map) { in memory_present() 253 ms->section_mem_map = sparse_encode_early_nid(nid) | in memory_present() 255 __section_mark_present(ms, section); in memory_present() [all …]
|
/linux-6.6.21/fs/dlm/ |
D | requestqueue.c | 34 const struct dlm_message *ms) in dlm_add_requestqueue() argument 37 int length = le16_to_cpu(ms->m_header.h_length) - in dlm_add_requestqueue() 48 memcpy(&e->request, ms, sizeof(*ms)); in dlm_add_requestqueue() 49 memcpy(&e->request.m_extra, ms->m_extra, length); in dlm_add_requestqueue() 71 struct dlm_message *ms; in dlm_process_requestqueue() local 85 ms = &e->request; in dlm_process_requestqueue() 89 le32_to_cpu(ms->m_type), in dlm_process_requestqueue() 90 le32_to_cpu(ms->m_header.h_nodeid), in dlm_process_requestqueue() 91 le32_to_cpu(ms->m_lkid), le32_to_cpu(ms->m_remid), in dlm_process_requestqueue() 92 from_dlm_errno(le32_to_cpu(ms->m_result)), in dlm_process_requestqueue() [all …]
|
D | lock.c | 89 const struct dlm_message *ms, bool local); 90 static int receive_extralen(const struct dlm_message *ms); 1462 const struct dlm_message *ms) in _remove_from_waiters() argument 1500 (lkb->lkb_wait_type == DLM_MSG_CONVERT) && ms && !ms->m_result && in _remove_from_waiters() 1519 lkb->lkb_id, ms ? le32_to_cpu(ms->m_header.h_nodeid) : 0, in _remove_from_waiters() 1561 const struct dlm_message *ms, bool local) in remove_from_waiters_ms() argument 1568 error = _remove_from_waiters(lkb, le32_to_cpu(ms->m_type), ms); in remove_from_waiters_ms() 1803 const struct dlm_message *ms) in set_lvb_lock_pc() argument 1815 int len = receive_extralen(ms); in set_lvb_lock_pc() 1818 memcpy(lkb->lkb_lvbptr, ms->m_extra, len); in set_lvb_lock_pc() [all …]
|
/linux-6.6.21/include/asm-generic/ |
D | mmiowb.h | 37 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_set_pending() local 39 if (likely(ms->nesting_count)) in mmiowb_set_pending() 40 ms->mmiowb_pending = ms->nesting_count; in mmiowb_set_pending() 45 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_spin_lock() local 46 ms->nesting_count++; in mmiowb_spin_lock() 51 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_spin_unlock() local 53 if (unlikely(ms->mmiowb_pending)) { in mmiowb_spin_unlock() 54 ms->mmiowb_pending = 0; in mmiowb_spin_unlock() 58 ms->nesting_count--; in mmiowb_spin_unlock()
|
/linux-6.6.21/drivers/hid/ |
D | hid-microsoft.c | 62 struct ms_data *ms = hid_get_drvdata(hdev); in ms_report_fixup() local 63 unsigned long quirks = ms->quirks; in ms_report_fixup() 186 struct ms_data *ms = hid_get_drvdata(hdev); in ms_input_mapping() local 187 unsigned long quirks = ms->quirks; in ms_input_mapping() 213 struct ms_data *ms = hid_get_drvdata(hdev); in ms_input_mapped() local 214 unsigned long quirks = ms->quirks; in ms_input_mapped() 225 struct ms_data *ms = hid_get_drvdata(hdev); in ms_event() local 226 unsigned long quirks = ms->quirks; in ms_event() 283 struct ms_data *ms = container_of(work, struct ms_data, ff_worker); in ms_ff_worker() local 284 struct hid_device *hdev = ms->hdev; in ms_ff_worker() [all …]
|
/linux-6.6.21/drivers/platform/x86/amd/pmf/ |
D | cnqf.c | 273 struct cnqf_mode_settings *ms; in amd_pmf_update_mode_set() local 276 ms = &config_store.mode_set[idx][CNQF_MODE_QUIET]; in amd_pmf_update_mode_set() 277 ms->power_floor = out->ps[APMF_CNQF_QUIET].pfloor; in amd_pmf_update_mode_set() 278 ms->power_control.fppt = out->ps[APMF_CNQF_QUIET].fppt; in amd_pmf_update_mode_set() 279 ms->power_control.sppt = out->ps[APMF_CNQF_QUIET].sppt; in amd_pmf_update_mode_set() 280 ms->power_control.sppt_apu_only = out->ps[APMF_CNQF_QUIET].sppt_apu_only; in amd_pmf_update_mode_set() 281 ms->power_control.spl = out->ps[APMF_CNQF_QUIET].spl; in amd_pmf_update_mode_set() 282 ms->power_control.stt_min = out->ps[APMF_CNQF_QUIET].stt_min_limit; in amd_pmf_update_mode_set() 283 ms->power_control.stt_skin_temp[STT_TEMP_APU] = in amd_pmf_update_mode_set() 285 ms->power_control.stt_skin_temp[STT_TEMP_HS2] = in amd_pmf_update_mode_set() [all …]
|
/linux-6.6.21/include/trace/events/ |
D | dlm.h | 401 TP_PROTO(uint32_t dst, uint32_t h_seq, const struct dlm_message *ms, 404 TP_ARGS(dst, h_seq, ms, name, namelen), 433 le16_to_cpu(ms->m_header.h_length) - sizeof(*ms)) 440 __entry->h_version = le32_to_cpu(ms->m_header.h_version); 441 __entry->h_lockspace = le32_to_cpu(ms->m_header.u.h_lockspace); 442 __entry->h_nodeid = le32_to_cpu(ms->m_header.h_nodeid); 443 __entry->h_length = le16_to_cpu(ms->m_header.h_length); 444 __entry->h_cmd = ms->m_header.h_cmd; 445 __entry->m_type = le32_to_cpu(ms->m_type); 446 __entry->m_nodeid = le32_to_cpu(ms->m_nodeid); [all …]
|
/linux-6.6.21/tools/perf/arch/loongarch/annotate/ |
D | instructions.c | 8 static int loongarch_call__parse(struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) in loongarch_call__parse() argument 11 struct map *map = ms->map; in loongarch_call__parse() 13 .ms = { .map = map, }, in loongarch_call__parse() 42 if (maps__find_ams(ms->maps, &target) == 0 && in loongarch_call__parse() 43 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_call__parse() 44 ops->target.sym = target.ms.sym; in loongarch_call__parse() 54 static int loongarch_jump__parse(struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) in loongarch_jump__parse() argument 56 struct map *map = ms->map; in loongarch_jump__parse() 57 struct symbol *sym = ms->sym; in loongarch_jump__parse() 59 .ms = { .map = map, }, in loongarch_jump__parse() [all …]
|
/linux-6.6.21/arch/ia64/kernel/ |
D | mca.c | 898 const struct pal_min_state_area *ms = sos->pal_min_state; in finish_pt_regs() local 905 regs->cr_iip = ms->pmsa_iip; in finish_pt_regs() 906 regs->cr_ipsr = ms->pmsa_ipsr; in finish_pt_regs() 907 regs->cr_ifs = ms->pmsa_ifs; in finish_pt_regs() 909 regs->cr_iip = ms->pmsa_xip; in finish_pt_regs() 910 regs->cr_ipsr = ms->pmsa_xpsr; in finish_pt_regs() 911 regs->cr_ifs = ms->pmsa_xfs; in finish_pt_regs() 913 sos->iip = ms->pmsa_iip; in finish_pt_regs() 914 sos->ipsr = ms->pmsa_ipsr; in finish_pt_regs() 915 sos->ifs = ms->pmsa_ifs; in finish_pt_regs() [all …]
|
/linux-6.6.21/net/mac80211/ |
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() 148 struct minstrel_debugfs_info *ms; in minstrel_ht_stats_open() local 152 ms = kmalloc(32768, GFP_KERNEL); in minstrel_ht_stats_open() 153 if (!ms) in minstrel_ht_stats_open() 156 file->private_data = ms; in minstrel_ht_stats_open() 157 p = ms->buf; in minstrel_ht_stats_open() 179 ms->len = p - ms->buf; in minstrel_ht_stats_open() 180 WARN_ON(ms->len + sizeof(*ms) > 32768); in minstrel_ht_stats_open() [all …]
|
/linux-6.6.21/kernel/module/ |
D | signing.c | 45 struct module_signature ms; in mod_verify_sig() local 51 if (modlen <= sizeof(ms)) in mod_verify_sig() 54 memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms)); in mod_verify_sig() 56 ret = mod_check_sig(&ms, modlen, "module"); in mod_verify_sig() 60 sig_len = be32_to_cpu(ms.sig_len); in mod_verify_sig() 61 modlen -= sig_len + sizeof(ms); in mod_verify_sig()
|
/linux-6.6.21/Documentation/devicetree/bindings/input/touchscreen/ |
D | brcm,iproc-touchscreen.txt | 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 30 6 = 0.32 ms 31 7 = 0.64 ms 32 8 = 1.28 ms [all …]
|