/linux-6.1.9/drivers/soc/qcom/ |
D | qcom-geni-se.c | 184 u32 geni_se_get_qup_hw_version(struct geni_se *se) in geni_se_get_qup_hw_version() argument 186 struct geni_wrapper *wrapper = se->wrapper; in geni_se_get_qup_hw_version() 225 static void geni_se_irq_clear(struct geni_se *se) in geni_se_irq_clear() argument 227 writel_relaxed(0, se->base + SE_GSI_EVENT_EN); in geni_se_irq_clear() 228 writel_relaxed(0xffffffff, se->base + SE_GENI_M_IRQ_CLEAR); in geni_se_irq_clear() 229 writel_relaxed(0xffffffff, se->base + SE_GENI_S_IRQ_CLEAR); in geni_se_irq_clear() 230 writel_relaxed(0xffffffff, se->base + SE_DMA_TX_IRQ_CLR); in geni_se_irq_clear() 231 writel_relaxed(0xffffffff, se->base + SE_DMA_RX_IRQ_CLR); in geni_se_irq_clear() 232 writel_relaxed(0xffffffff, se->base + SE_IRQ_EN); in geni_se_irq_clear() 244 void geni_se_init(struct geni_se *se, u32 rx_wm, u32 rx_rfr) in geni_se_init() argument [all …]
|
/linux-6.1.9/include/linux/ |
D | qcom-geni-se.h | 284 u32 geni_se_get_qup_hw_version(struct geni_se *se); 292 static inline u32 geni_se_read_proto(struct geni_se *se) in geni_se_read_proto() argument 296 val = readl_relaxed(se->base + GENI_FW_REVISION_RO); in geni_se_read_proto() 310 static inline void geni_se_setup_m_cmd(struct geni_se *se, u32 cmd, u32 params) in geni_se_setup_m_cmd() argument 315 writel(m_cmd, se->base + SE_GENI_M_CMD0); in geni_se_setup_m_cmd() 327 static inline void geni_se_setup_s_cmd(struct geni_se *se, u32 cmd, u32 params) in geni_se_setup_s_cmd() argument 331 s_cmd = readl_relaxed(se->base + SE_GENI_S_CMD0); in geni_se_setup_s_cmd() 335 writel(s_cmd, se->base + SE_GENI_S_CMD0); in geni_se_setup_s_cmd() 346 static inline void geni_se_cancel_m_cmd(struct geni_se *se) in geni_se_cancel_m_cmd() argument 348 writel_relaxed(M_GENI_CMD_CANCEL, se->base + SE_GENI_M_CMD_CTRL_REG); in geni_se_cancel_m_cmd() [all …]
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-qcom-geni.c | 81 struct geni_se se; member 166 writel_relaxed(0, gi2c->se.base + SE_GENI_CLK_SEL); in qcom_geni_i2c_conf() 169 writel_relaxed(val, gi2c->se.base + GENI_SER_M_CLK_CFG); in qcom_geni_i2c_conf() 174 writel_relaxed(val, gi2c->se.base + SE_I2C_SCL_COUNTERS); in qcom_geni_i2c_conf() 179 u32 m_cmd = readl_relaxed(gi2c->se.base + SE_GENI_M_CMD0); in geni_i2c_err_misc() 180 u32 m_stat = readl_relaxed(gi2c->se.base + SE_GENI_M_IRQ_STATUS); in geni_i2c_err_misc() 181 u32 geni_s = readl_relaxed(gi2c->se.base + SE_GENI_STATUS); in geni_i2c_err_misc() 182 u32 geni_ios = readl_relaxed(gi2c->se.base + SE_GENI_IOS); in geni_i2c_err_misc() 183 u32 dma = readl_relaxed(gi2c->se.base + SE_GENI_DMA_MODE_EN); in geni_i2c_err_misc() 187 rx_st = readl_relaxed(gi2c->se.base + SE_DMA_RX_IRQ_STAT); in geni_i2c_err_misc() [all …]
|
/linux-6.1.9/kernel/sched/ |
D | fair.c | 345 #define for_each_sched_entity(se) \ argument 346 for (; se; se = se->parent) 448 is_same_group(struct sched_entity *se, struct sched_entity *pse) in is_same_group() argument 450 if (se->cfs_rq == pse->cfs_rq) in is_same_group() 451 return se->cfs_rq; in is_same_group() 456 static inline struct sched_entity *parent_entity(struct sched_entity *se) in parent_entity() argument 458 return se->parent; in parent_entity() 462 find_matching_se(struct sched_entity **se, struct sched_entity **pse) in find_matching_se() argument 474 se_depth = (*se)->depth; in find_matching_se() 479 *se = parent_entity(*se); in find_matching_se() [all …]
|
D | pelt.c | 295 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) in __update_load_avg_blocked_se() argument 297 if (___update_load_sum(now, &se->avg, 0, 0, 0)) { in __update_load_avg_blocked_se() 298 ___update_load_avg(&se->avg, se_weight(se)); in __update_load_avg_blocked_se() 299 trace_pelt_se_tp(se); in __update_load_avg_blocked_se() 306 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() argument 308 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), in __update_load_avg_se() 309 cfs_rq->curr == se)) { in __update_load_avg_se() 311 ___update_load_avg(&se->avg, se_weight(se)); in __update_load_avg_se() 312 cfs_se_util_change(&se->avg); in __update_load_avg_se() 313 trace_pelt_se_tp(se); in __update_load_avg_se()
|
D | debug.c | 449 struct sched_entity *se = tg->se[cpu]; in print_cfs_group_stats() local 458 if (!se) in print_cfs_group_stats() 461 PN(se->exec_start); in print_cfs_group_stats() 462 PN(se->vruntime); in print_cfs_group_stats() 463 PN(se->sum_exec_runtime); in print_cfs_group_stats() 467 stats = __schedstats_from_se(se); in print_cfs_group_stats() 481 P(se->load.weight); in print_cfs_group_stats() 483 P(se->avg.load_avg); in print_cfs_group_stats() 484 P(se->avg.util_avg); in print_cfs_group_stats() 485 P(se->avg.runnable_avg); in print_cfs_group_stats() [all …]
|
D | sched.h | 374 struct sched_entity **se; member 461 struct sched_entity *se, int cpu, 492 extern void set_task_rq_fair(struct sched_entity *se, 495 static inline void set_task_rq_fair(struct sched_entity *se, in set_task_rq_fair() argument 762 #define entity_is_task(se) (!se->my_q) argument 764 static inline void se_update_runnable(struct sched_entity *se) in se_update_runnable() argument 766 if (!entity_is_task(se)) in se_update_runnable() 767 se->runnable_weight = se->my_q->h_nr_running; in se_update_runnable() 770 static inline long se_runnable(struct sched_entity *se) in se_runnable() argument 772 if (entity_is_task(se)) in se_runnable() [all …]
|
D | stats.h | 94 struct sched_entity se; member 100 __schedstats_from_se(struct sched_entity *se) in __schedstats_from_se() argument 103 if (!entity_is_task(se)) in __schedstats_from_se() 104 return &container_of(se, struct sched_entity_stats, se)->stats; in __schedstats_from_se() 106 return &task_of(se)->stats; in __schedstats_from_se()
|
/linux-6.1.9/drivers/spi/ |
D | spi-geni-qcom.c | 75 struct geni_se se; member 109 ret = geni_se_clk_freq_match(&mas->se, in get_spi_clk_cfg() 137 struct geni_se *se = &mas->se; in handle_fifo_timeout() local 141 writel(0, se->base + SE_GENI_TX_WATERMARK_REG); in handle_fifo_timeout() 143 geni_se_cancel_m_cmd(se); in handle_fifo_timeout() 152 geni_se_abort_m_cmd(se); in handle_fifo_timeout() 193 struct geni_se *se = &mas->se; in spi_geni_is_abort_still_pending() local 206 m_irq = readl(se->base + SE_GENI_M_IRQ_STATUS); in spi_geni_is_abort_still_pending() 207 m_irq_en = readl(se->base + SE_GENI_M_IRQ_EN); in spi_geni_is_abort_still_pending() 229 struct geni_se *se = &mas->se; in spi_geni_set_cs() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 458 u32 in_sync, struct v3d_submit_ext *se, enum v3d_queue queue) in v3d_job_init() argument 462 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_job_init() 481 if (se->in_sync_count && se->wait_stage == queue) { in v3d_job_init() 482 struct drm_v3d_sem __user *handle = u64_to_user_ptr(se->in_syncs); in v3d_job_init() 484 for (i = 0; i < se->in_sync_count; i++) { in v3d_job_init() 534 struct v3d_submit_ext *se, in v3d_attach_fences_and_unlock_reservation() argument 538 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_attach_fences_and_unlock_reservation() 561 if (se->out_sync_count) { in v3d_attach_fences_and_unlock_reservation() 562 for (i = 0; i < se->out_sync_count; i++) { in v3d_attach_fences_and_unlock_reservation() 563 drm_syncobj_replace_fence(se->out_syncs[i].syncobj, in v3d_attach_fences_and_unlock_reservation() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager.c | 105 int i, se, sh, cu, cu_bitmap_sh_mul, inc = wgp_mode_req ? 2 : 1; in mqd_symmetrically_map_cu_mask() local 140 for (se = 0; se < cu_info.num_shader_engines; se++) in mqd_symmetrically_map_cu_mask() 142 cu_per_sh[se][sh] = hweight32( in mqd_symmetrically_map_cu_mask() 143 cu_info.cu_bitmap[se % 4][sh + (se / 4) * cu_bitmap_sh_mul]); in mqd_symmetrically_map_cu_mask() 174 for (se = 0; se < cu_info.num_shader_engines; se++) { in mqd_symmetrically_map_cu_mask() 175 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask() 177 se_mask[se] |= en_mask << (cu + sh * 16); in mqd_symmetrically_map_cu_mask()
|
/linux-6.1.9/net/nfc/ |
D | core.c | 536 struct nfc_se *se; in nfc_find_se() local 538 list_for_each_entry(se, &dev->secure_elements, list) in nfc_find_se() 539 if (se->idx == se_idx) in nfc_find_se() 540 return se; in nfc_find_se() 548 struct nfc_se *se; in nfc_enable_se() local 575 se = nfc_find_se(dev, se_idx); in nfc_enable_se() 576 if (!se) { in nfc_enable_se() 581 if (se->state == NFC_SE_ENABLED) { in nfc_enable_se() 588 se->state = NFC_SE_ENABLED; in nfc_enable_se() 597 struct nfc_se *se; in nfc_disable_se() local [all …]
|
/linux-6.1.9/drivers/tty/serial/ |
D | qcom_geni_serial.c | 126 struct geni_se se; member 203 port->se.base = uport->membase; in qcom_geni_serial_request_port() 491 geni_se_cancel_m_cmd(&port->se); in qcom_geni_serial_console_write() 494 geni_se_abort_m_cmd(&port->se); in qcom_geni_serial_console_write() 627 geni_se_cancel_m_cmd(&port->se); in qcom_geni_serial_stop_tx() 630 geni_se_abort_m_cmd(&port->se); in qcom_geni_serial_stop_tx() 648 geni_se_setup_s_cmd(&port->se, UART_START_READ, 0); in qcom_geni_serial_start_rx() 679 geni_se_cancel_s_cmd(&port->se); in qcom_geni_serial_stop_rx() 873 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos() 874 port->tx_fifo_width = geni_se_get_tx_fifo_width(&port->se); in setup_fifos() [all …]
|
/linux-6.1.9/tools/testing/selftests/timers/ |
D | alarmtimer-suspend.c | 123 struct sigevent se; in main() local 134 memset(&se, 0, sizeof(se)); in main() 135 se.sigev_notify = SIGEV_SIGNAL; in main() 136 se.sigev_signo = signum; in main() 137 se.sigev_value.sival_int = 0; in main() 144 if (timer_create(alarm_clock_id, &se, &tm1) == -1) { in main()
|
D | set-timer-lat.c | 125 struct sigevent se; in setup_timer() local 130 memset(&se, 0, sizeof(se)); in setup_timer() 131 se.sigev_notify = SIGEV_SIGNAL; in setup_timer() 132 se.sigev_signo = SIGRTMAX; in setup_timer() 133 se.sigev_value.sival_int = 0; in setup_timer() 139 err = timer_create(clock_id, &se, tm1); in setup_timer()
|
D | leap-a-day.c | 179 struct sigevent se; in main() local 292 memset(&se, 0, sizeof(se)); in main() 293 se.sigev_notify = SIGEV_SIGNAL; in main() 294 se.sigev_signo = signum; in main() 295 se.sigev_value.sival_int = 0; in main() 296 if (timer_create(CLOCK_REALTIME, &se, &tm1) == -1) { in main()
|
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/ |
D | sched-design-CFS.rst | 36 在CFS中,虚拟运行时间由每个任务的p->se.vruntime(单位为纳秒)的值表达和跟踪。因此, 39 一些细节:在“理想的”硬件上,所有的任务在任何时刻都应该具有一样的p->se.vruntime值, 42 CFS的任务选择逻辑基于p->se.vruntime的值,因此非常简单:总是试图选择p->se.vruntime值 64 CFS维护了一个按时间排序的红黑树,所有可运行任务以p->se.vruntime为键值排序。CFS从这颗 70 p->se.vruntime。一旦p->se.vruntime变得足够大,其它的任务将成为按时间排序的红黑树的
|
/linux-6.1.9/fs/f2fs/ |
D | segment.h | 27 #define SE_PAGETYPE(se) ((IS_NODESEG((se)->type) ? NODE : DATA)) argument 378 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks() local 380 blocks += se->ckpt_valid_blocks; in get_ckpt_valid_blocks() 387 static inline void seg_info_from_raw_sit(struct seg_entry *se, in seg_info_from_raw_sit() argument 390 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit() 391 se->ckpt_valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit() 392 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 393 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 395 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 397 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit() [all …]
|
D | segment.c | 844 struct seg_entry *se; in f2fs_get_unusable_blocks() local 849 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks() 850 if (IS_NODESEG(se->type)) in f2fs_get_unusable_blocks() 852 se->valid_blocks; in f2fs_get_unusable_blocks() 855 se->valid_blocks; in f2fs_get_unusable_blocks() 1782 struct seg_entry *se; in f2fs_issue_discard() local 1805 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard() 1809 !f2fs_test_and_set_bit(offset, se->discard_map)) in f2fs_issue_discard() 1823 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() local 1824 unsigned long *cur_map = (unsigned long *)se->cur_valid_map; in add_discard_addrs() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/frequency/ |
D | adi,admv1013.yaml | 55 adi,quad-se-mode: 58 se-neg - Single-Ended Mode, Negative Side Disabled. 59 se-pos - Single-Ended Mode, Positive Side Disabled. 61 enum: [se-neg, se-pos, diff] 87 adi,quad-se-mode = "diff";
|
D | adi,admv1014.yaml | 92 adi,quad-se-mode: 95 se-neg - Single-Ended Mode, Negative Side Disabled. 96 se-pos - Single-Ended Mode, Positive Side Disabled. 98 enum: [se-neg, se-pos, diff] 129 adi,quad-se-mode = "diff";
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | gtt.c | 1154 static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se, in ppgtt_generate_shadow_entry() argument 1159 se->type = ge->type; in ppgtt_generate_shadow_entry() 1160 se->val64 = ge->val64; in ppgtt_generate_shadow_entry() 1163 if (se->type == GTT_TYPE_PPGTT_PDE_ENTRY) in ppgtt_generate_shadow_entry() 1164 ops->clear_ips(se); in ppgtt_generate_shadow_entry() 1166 ops->set_pfn(se, s->shadow_page.mfn); in ppgtt_generate_shadow_entry() 1196 struct intel_gvt_gtt_entry *se) in split_2MB_gtt_entry() argument 1208 start_gfn = ops->get_pfn(se); in split_2MB_gtt_entry() 1219 sub_se.val64 = se->val64; in split_2MB_gtt_entry() 1223 sub_se.val64 |= (se->val64 & _PAGE_PAT_LARGE) >> 5; in split_2MB_gtt_entry() [all …]
|
/linux-6.1.9/crypto/ |
D | twofish_common.c | 484 ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ 492 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ 500 ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ 579 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in __twofish_setkey() local 601 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey() 602 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey() 603 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey() 604 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey() 605 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey() 606 CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey() [all …]
|
/linux-6.1.9/kernel/trace/ |
D | trace_events_synth.c | 329 struct synth_event *se; in print_synth_event() local 335 se = container_of(event, struct synth_event, call.event); in print_synth_event() 337 trace_seq_printf(s, "%s: ", se->name); in print_synth_event() 339 for (i = 0, n_u64 = 0; i < se->n_fields; i++) { in print_synth_event() 343 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event() 352 if (se->fields[i]->is_string) { in print_synth_event() 353 if (se->fields[i]->is_dynamic) { in print_synth_event() 362 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event() 365 i == se->n_fields - 1 ? "" : " "); in print_synth_event() 368 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event() [all …]
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | module.h | 66 const Elf_Shdr *s, *se; in find_section() local 69 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) { in find_section()
|