/linux/drivers/soc/qcom/ |
A D | qcom-geni-se.c | 245 geni_se_irq_clear(se); in geni_se_init() 267 geni_se_irq_clear(se); in geni_se_select_fifo_mode() 303 geni_se_irq_clear(se); in geni_se_select_dma_mode() 328 geni_se_irq_clear(se); in geni_se_select_gpi_mode() 518 geni_se_clks_off(se); in geni_se_resources_off() 560 geni_se_clks_off(se); in geni_se_resources_on() 584 if (se->clk_perf_tbl) { in geni_se_clk_tbl_get() 589 se->clk_perf_tbl = devm_kcalloc(se->dev, MAX_CLK_PERF_LEVEL, in geni_se_clk_tbl_get() 592 if (!se->clk_perf_tbl) in geni_se_clk_tbl_get() 792 se->icc_paths[i].path = devm_of_icc_get(se->dev, icc_names[i]); in geni_icc_get() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-qcom-geni.c | 76 struct geni_se se; member 313 geni_se_abort_m_cmd(&gi2c->se); in geni_i2c_abort_xfer() 384 struct geni_se *se = &gi2c->se; in geni_i2c_rx_one_msg() local 423 struct geni_se *se = &gi2c->se; in geni_i2c_tx_one_msg() local 532 gi2c->se.dev = dev; in geni_i2c_probe() 536 if (IS_ERR(gi2c->se.base)) in geni_i2c_probe() 537 return PTR_ERR(gi2c->se.base); in geni_i2c_probe() 541 return PTR_ERR(gi2c->se.clk); in geni_i2c_probe() 594 ret = geni_icc_set_bw(&gi2c->se); in geni_i2c_probe() 630 pm_runtime_enable(gi2c->se.dev); in geni_i2c_probe() [all …]
|
/linux/include/linux/ |
A D | qcom-geni-se.h | 315 writel(m_cmd, se->base + SE_GENI_M_CMD0); in geni_se_setup_m_cmd() 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() 402 val = readl_relaxed(se->base + SE_HW_PARAM_0); in geni_se_get_tx_fifo_depth() 420 val = readl_relaxed(se->base + SE_HW_PARAM_0); in geni_se_get_tx_fifo_width() 438 val = readl_relaxed(se->base + SE_HW_PARAM_1); in geni_se_get_rx_fifo_depth() 450 int geni_se_resources_off(struct geni_se *se); 452 int geni_se_resources_on(struct geni_se *se); 472 int geni_icc_set_bw(struct geni_se *se); 475 int geni_icc_enable(struct geni_se *se); [all …]
|
/linux/kernel/sched/ |
A D | fair.c | 282 for (; se; se = se->parent) 428 *se = parent_entity(*se); in find_matching_se() 437 *se = parent_entity(*se); in find_matching_se() 462 for (; se; se = NULL) 4841 se = parent_entity(se); in throttle_cfs_rq() 7098 struct sched_entity *se = &curr->se, *pse = &p->se; in check_preempt_wakeup() local 11282 se = se->parent; in propagate_entity_cfs_rq() 11321 se->depth = se->parent ? se->parent->depth + 1 : 0; in attach_entity_cfs_rq() 11427 se->depth = se->parent ? se->parent->depth + 1 : 0; in task_set_group_fair() 11520 se = tg->se[i]; in online_fair_sched_group() [all …]
|
A D | pelt.c | 299 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) in __update_load_avg_blocked_se() argument 301 if (___update_load_sum(now, &se->avg, 0, 0, 0)) { in __update_load_avg_blocked_se() 302 ___update_load_avg(&se->avg, se_weight(se)); in __update_load_avg_blocked_se() 303 trace_pelt_se_tp(se); in __update_load_avg_blocked_se() 310 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() argument 312 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), in __update_load_avg_se() 313 cfs_rq->curr == se)) { in __update_load_avg_se() 315 ___update_load_avg(&se->avg, se_weight(se)); in __update_load_avg_se() 316 cfs_se_util_change(&se->avg); in __update_load_avg_se() 317 trace_pelt_se_tp(se); in __update_load_avg_se()
|
A 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() 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() 970 PN(se.exec_start); in proc_sched_show_task() 971 PN(se.vruntime); in proc_sched_show_task() 1032 P(se.load.weight); in proc_sched_show_task() [all …]
|
A D | sched.h | 740 #define entity_is_task(se) (!se->my_q) argument 745 se->runnable_weight = se->my_q->h_nr_running; in se_update_runnable() 750 if (entity_is_task(se)) in se_runnable() 751 return !!se->on_rq; in se_runnable() 763 return !!se->on_rq; in se_runnable() 1375 return container_of(se, struct task_struct, se); in task_of() 1380 return p->se.cfs_rq; in task_cfs_rq() 1386 return se->cfs_rq; in cfs_rq_of() 1399 return container_of(se, struct task_struct, se); in task_of() 1885 set_task_rq_fair(&p->se, p->se.cfs_rq, tg->cfs_rq[cpu]); in set_task_rq() [all …]
|
A D | stats.h | 92 struct sched_entity se; member 98 __schedstats_from_se(struct sched_entity *se) in __schedstats_from_se() argument 101 if (!entity_is_task(se)) in __schedstats_from_se() 102 return &container_of(se, struct sched_entity_stats, se)->stats; in __schedstats_from_se() 104 return &task_of(se)->stats; in __schedstats_from_se()
|
A D | stop_task.c | 34 stop->se.exec_start = rq_clock_task(rq); in set_next_task_stop() 77 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop() 84 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop() 87 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop()
|
/linux/drivers/spi/ |
A D | spi-geni-qcom.c | 141 struct geni_se *se = &mas->se; in handle_fifo_timeout() local 173 struct geni_se *se = &mas->se; in spi_geni_is_abort_still_pending() local 209 struct geni_se *se = &mas->se; in spi_geni_set_cs() local 255 struct geni_se *se = &mas->se; in spi_setup_word_len() local 276 struct geni_se *se = &mas->se; in geni_spi_set_clock_and_bw() local 315 struct geni_se *se = &mas->se; in setup_fifo_params() local 532 struct geni_se *se = &mas->se; in spi_geni_init() local 615 struct geni_se *se = &mas->se; in geni_spi_handle_tx() local 653 struct geni_se *se = &mas->se; in geni_spi_handle_rx() local 701 struct geni_se *se = &mas->se; in setup_fifo_xfer() local [all …]
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_gem.c | 461 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_job_init() 484 if (se->in_sync_count && se->wait_stage == queue) { in v3d_job_init() 543 bool has_multisync = se && (se->flags & DRM_V3D_EXT_ID_MULTI_SYNC); in v3d_attach_fences_and_unlock_reservation() 572 kvfree(se->out_syncs); in v3d_attach_fences_and_unlock_reservation() 581 if (!(se && se->out_sync_count)) in v3d_put_multisync_post_deps() 586 kvfree(se->out_syncs); in v3d_put_multisync_post_deps() 604 if (!se->out_syncs) in v3d_get_multisync_post_deps() 632 kvfree(se->out_syncs); in v3d_get_multisync_post_deps() 837 &se, in v3d_submit_cl_ioctl() 945 &se, in v3d_submit_tfu_ioctl() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_mqd_manager.c | 102 int i, se, sh, cu; in mqd_symmetrically_map_cu_mask() local 131 for (se = 0; se < cu_info.num_shader_engines; se++) in mqd_symmetrically_map_cu_mask() 133 cu_per_sh[se][sh] = hweight32(cu_info.cu_bitmap[se % 4][sh + (se / 4)]); in mqd_symmetrically_map_cu_mask() 164 for (se = 0; se < cu_info.num_shader_engines; se++) { in mqd_symmetrically_map_cu_mask() 165 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask() 167 se_mask[se] |= 1 << (cu + sh * 16); in mqd_symmetrically_map_cu_mask()
|
/linux/net/nfc/ |
A D | core.c | 536 struct nfc_se *se; in nfc_find_se() local 540 return se; in nfc_find_se() 576 if (!se) { in nfc_enable_se() 620 if (!se) { in nfc_disable_se() 879 if (se) in nfc_add_se() 883 if (!se) in nfc_add_se() 886 se->idx = se_idx; in nfc_add_se() 887 se->type = type; in nfc_add_se() 896 kfree(se); in nfc_add_se() 919 kfree(se); in nfc_remove_se() [all …]
|
/linux/drivers/tty/serial/ |
A D | qcom_geni_serial.c | 122 struct geni_se se; member 205 port->se.base = uport->membase; in qcom_geni_serial_request_port() 1023 geni_icc_set_bw(&port->se); in qcom_geni_serial_set_termios() 1178 struct geni_se se; in qcom_geni_serial_earlycon_setup() local 1185 memset(&se, 0, sizeof(se)); in qcom_geni_serial_earlycon_setup() 1186 se.base = uport->membase; in qcom_geni_serial_earlycon_setup() 1279 geni_icc_enable(&port->se); in qcom_geni_serial_pm() 1360 port->se.dev = &pdev->dev; in qcom_geni_serial_probe() 1363 if (IS_ERR(port->se.clk)) { in qcom_geni_serial_probe() 1490 geni_icc_set_bw(&port->se); in qcom_geni_serial_sys_suspend() [all …]
|
/linux/tools/testing/selftests/timers/ |
A 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()
|
A 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()
|
A 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/drivers/gpu/drm/i915/gvt/ |
A D | gtt.c | 1141 se->type = ge->type; in ppgtt_generate_shadow_entry() 1142 se->val64 = ge->val64; in ppgtt_generate_shadow_entry() 1146 ops->clear_ips(se); in ppgtt_generate_shadow_entry() 1215 ops->clear_pse(se); in split_2MB_gtt_entry() 1216 ops->clear_ips(se); in split_2MB_gtt_entry() 1361 se->type, index, se->val64); in ppgtt_handle_guest_entry_removal() 1366 if (ops->get_pfn(se) == in ppgtt_handle_guest_entry_removal() 1391 spt, se->val64, se->type); in ppgtt_handle_guest_entry_removal() 1802 se.val64 = 0; in invalidate_ppgtt_mm() 1806 NULL, se.type, se.val64, index); in invalidate_ppgtt_mm() [all …]
|
/linux/fs/f2fs/ |
A D | segment.h | 373 blocks += se->ckpt_valid_blocks; in get_ckpt_valid_blocks() 383 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit() 390 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit() 391 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit() 398 se->valid_blocks; in __seg_info_to_raw_sit() 401 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit() 408 struct seg_entry *se; in seg_info_to_sit_page() local 418 se = get_seg_entry(sbi, start + i); in seg_info_to_sit_page() 419 __seg_info_to_raw_sit(se, rs); in seg_info_to_sit_page() 426 __seg_info_to_raw_sit(se, rs); in seg_info_to_raw_sit() [all …]
|
A D | segment.c | 962 struct seg_entry *se; in f2fs_get_unusable_blocks() local 1903 struct seg_entry *se; in f2fs_issue_discard() local 2240 se->type = type; in __set_sit_entry_type() 2258 struct seg_entry *se; in update_segment_mtime() local 2268 if (!se->mtime) in update_segment_mtime() 2269 se->mtime = mtime; in update_segment_mtime() 2271 se->mtime = div_u64(se->mtime * se->valid_blocks + mtime, in update_segment_mtime() 2280 struct seg_entry *se; in update_sit_entry() local 3709 type = se->type; in f2fs_do_replace_block() 4308 if (memcmp(se->cur_valid_map, se->cur_valid_map_mir, in f2fs_flush_sit_entries() [all …]
|
/linux/crypto/ |
A 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/kernel/trace/ |
A D | trace_events_synth.c | 319 struct synth_event *se; in print_synth_event() local 342 if (se->fields[i]->is_string) { in print_synth_event() 370 se->fields[i]->name, in print_synth_event() 371 se->fields[i]->size, in print_synth_event() 1372 if (se->ref) in destroy_synth_event() 1381 free_synth_event(se); in destroy_synth_event() 1403 if (se) { in synth_event_delete() 1404 mod = se->mod; in synth_event_delete() 1506 struct synth_event *se; in synth_event_run_command() local 1514 if (WARN_ON(!se)) in synth_event_run_command() [all …]
|
/linux/sound/soc/ |
A D | soc-topology.c | 864 se->dobj.control.dtexts = in soc_tplg_denum_create_texts() 885 se->texts = (const char * const *)se->dobj.control.dtexts; in soc_tplg_denum_create_texts() 924 struct soc_enum *se; in soc_tplg_denum_create() local 946 se = devm_kzalloc(tplg->dev, (sizeof(*se)), GFP_KERNEL); in soc_tplg_denum_create() 947 if (se == NULL) in soc_tplg_denum_create() 958 kc.private_value = (long)se; in soc_tplg_denum_create() 971 se->dobj.ops = tplg->ops; in soc_tplg_denum_create() 1283 struct soc_enum *se; in soc_tplg_dapm_widget_denum_create() local 1292 se = devm_kzalloc(tplg->dev, sizeof(*se), GFP_KERNEL); in soc_tplg_dapm_widget_denum_create() 1293 if (!se) in soc_tplg_dapm_widget_denum_create() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | trace_ibhdrs.h | 76 u8 *se, u8 *pad, u8 *opcode, u8 *tver, 83 u8 *pad, u8 *se, u8 *tver, 99 u8 se, u8 pad, u8 opcode, const char *opname, 135 __field(u8, se) 182 &__entry->se, 203 &__entry->se, 249 __entry->se, 294 __field(u8, se) 347 &__entry->se, 371 &__entry->se, [all …]
|
/linux/mm/ |
A D | swapfile.c | 171 struct swap_extent *se; in discard_swap() local 177 se = first_se(si); in discard_swap() 188 for (se = next_se(se); se; se = next_se(se)) { in discard_swap() 213 else if (offset >= se->start_page + se->nr_pages) in offset_to_swap_extent() 216 return se; in offset_to_swap_extent() 231 sector = se->start_block + (offset - se->start_page); in swap_page_sector() 260 se = next_se(se); in discard_swap_cluster() 1858 return se->start_block + (offset - se->start_page); in swapdev_block() 2295 kfree(se); in destroy_swap_extents() 2333 BUG_ON(se->start_page + se->nr_pages != start_page); in add_swap_extent() [all …]
|