Home
last modified time | relevance | path

Searched refs:se (Results 1 – 25 of 176) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/soc/qcom/
Dqcom-geni-se.c181 u32 geni_se_get_qup_hw_version(struct geni_se *se) in geni_se_get_qup_hw_version() argument
183 struct geni_wrapper *wrapper = se->wrapper; in geni_se_get_qup_hw_version()
222 static void geni_se_irq_clear(struct geni_se *se) in geni_se_irq_clear() argument
224 writel_relaxed(0, se->base + SE_GSI_EVENT_EN); in geni_se_irq_clear()
225 writel_relaxed(0xffffffff, se->base + SE_GENI_M_IRQ_CLEAR); in geni_se_irq_clear()
226 writel_relaxed(0xffffffff, se->base + SE_GENI_S_IRQ_CLEAR); in geni_se_irq_clear()
227 writel_relaxed(0xffffffff, se->base + SE_DMA_TX_IRQ_CLR); in geni_se_irq_clear()
228 writel_relaxed(0xffffffff, se->base + SE_DMA_RX_IRQ_CLR); in geni_se_irq_clear()
229 writel_relaxed(0xffffffff, se->base + SE_IRQ_EN); in geni_se_irq_clear()
241 void geni_se_init(struct geni_se *se, u32 rx_wm, u32 rx_rfr) in geni_se_init() argument
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-qcom-geni.c76 struct geni_se se; member
157 writel_relaxed(0, gi2c->se.base + SE_GENI_CLK_SEL); in qcom_geni_i2c_conf()
160 writel_relaxed(val, gi2c->se.base + GENI_SER_M_CLK_CFG); in qcom_geni_i2c_conf()
165 writel_relaxed(val, gi2c->se.base + SE_I2C_SCL_COUNTERS); in qcom_geni_i2c_conf()
170 u32 m_cmd = readl_relaxed(gi2c->se.base + SE_GENI_M_CMD0); in geni_i2c_err_misc()
171 u32 m_stat = readl_relaxed(gi2c->se.base + SE_GENI_M_IRQ_STATUS); in geni_i2c_err_misc()
172 u32 geni_s = readl_relaxed(gi2c->se.base + SE_GENI_STATUS); in geni_i2c_err_misc()
173 u32 geni_ios = readl_relaxed(gi2c->se.base + SE_GENI_IOS); in geni_i2c_err_misc()
174 u32 dma = readl_relaxed(gi2c->se.base + SE_GENI_DMA_MODE_EN); in geni_i2c_err_misc()
178 rx_st = readl_relaxed(gi2c->se.base + SE_DMA_RX_IRQ_STAT); in geni_i2c_err_misc()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dqcom-geni-se.h271 u32 geni_se_get_qup_hw_version(struct geni_se *se);
279 static inline u32 geni_se_read_proto(struct geni_se *se) in geni_se_read_proto() argument
283 val = readl_relaxed(se->base + GENI_FW_REVISION_RO); in geni_se_read_proto()
297 static inline void geni_se_setup_m_cmd(struct geni_se *se, u32 cmd, u32 params) in geni_se_setup_m_cmd() argument
302 writel(m_cmd, se->base + SE_GENI_M_CMD0); in geni_se_setup_m_cmd()
314 static inline void geni_se_setup_s_cmd(struct geni_se *se, u32 cmd, u32 params) in geni_se_setup_s_cmd() argument
318 s_cmd = readl_relaxed(se->base + SE_GENI_S_CMD0); in geni_se_setup_s_cmd()
322 writel(s_cmd, se->base + SE_GENI_S_CMD0); in geni_se_setup_s_cmd()
333 static inline void geni_se_cancel_m_cmd(struct geni_se *se) in geni_se_cancel_m_cmd() argument
335 writel_relaxed(M_GENI_CMD_CANCEL, se->base + SE_GENI_M_CMD_CTRL_REG); in geni_se_cancel_m_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-geni-qcom.c67 struct geni_se se; member
98 ret = geni_se_clk_freq_match(&mas->se, in get_spi_clk_cfg()
126 struct geni_se *se = &mas->se; in handle_fifo_timeout() local
130 writel(0, se->base + SE_GENI_TX_WATERMARK_REG); in handle_fifo_timeout()
132 geni_se_cancel_m_cmd(se); in handle_fifo_timeout()
141 geni_se_abort_m_cmd(se); in handle_fifo_timeout()
158 struct geni_se *se = &mas->se; in spi_geni_is_abort_still_pending() local
171 m_irq = readl(se->base + SE_GENI_M_IRQ_STATUS); in spi_geni_is_abort_still_pending()
172 m_irq_en = readl(se->base + SE_GENI_M_IRQ_EN); in spi_geni_is_abort_still_pending()
194 struct geni_se *se = &mas->se; in spi_geni_set_cs() local
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dfair.c290 static inline struct task_struct *task_of(struct sched_entity *se) in task_of() argument
292 SCHED_WARN_ON(!entity_is_task(se)); in task_of()
293 return container_of(se, struct task_struct, se); in task_of()
297 #define for_each_sched_entity(se) \ argument
298 for (; se; se = se->parent)
302 return p->se.cfs_rq; in task_cfs_rq()
306 static inline struct cfs_rq *cfs_rq_of(struct sched_entity *se) in cfs_rq_of() argument
308 return se->cfs_rq; in cfs_rq_of()
430 is_same_group(struct sched_entity *se, struct sched_entity *pse) in is_same_group() argument
432 if (se->cfs_rq == pse->cfs_rq) in is_same_group()
[all …]
Ddebug.c429 struct sched_entity *se = tg->se[cpu]; in print_cfs_group_stats() local
436 if (!se) in print_cfs_group_stats()
439 PN(se->exec_start); in print_cfs_group_stats()
440 PN(se->vruntime); in print_cfs_group_stats()
441 PN(se->sum_exec_runtime); in print_cfs_group_stats()
444 PN_SCHEDSTAT(se->statistics.wait_start); in print_cfs_group_stats()
445 PN_SCHEDSTAT(se->statistics.sleep_start); in print_cfs_group_stats()
446 PN_SCHEDSTAT(se->statistics.block_start); in print_cfs_group_stats()
447 PN_SCHEDSTAT(se->statistics.sleep_max); in print_cfs_group_stats()
448 PN_SCHEDSTAT(se->statistics.block_max); in print_cfs_group_stats()
[all …]
Dpelt.c299 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()
Dstop_task.c35 stop->se.exec_start = rq_clock_task(rq); in set_next_task_stop()
71 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop()
75 schedstat_set(curr->se.statistics.exec_max, in put_prev_task_stop()
76 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop()
78 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop()
81 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c102 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()
/kernel/liteos_a/testsuites/unittest/net/netdb/full/
Dnet_netdb_test_017.cpp46 struct servent se; in GetServByNameRTest() local
53 ret = getservbyname_r("ssh", "tcp", &se, buf1, sizeof buf1, &result); in GetServByNameRTest()
56 ICUNIT_ASSERT_STRING_EQUAL(se.s_name, "ssh", -1); in GetServByNameRTest()
57 ICUNIT_ASSERT_STRING_EQUAL(se.s_proto, "tcp", -1); in GetServByNameRTest()
58 ICUNIT_ASSERT_STRING_EQUAL(se.s_aliases[0], "ssh", -1); in GetServByNameRTest()
63 ret = getservbyname_r("ssh", "tcp", &se, buf2, sizeof buf2, &result); in GetServByNameRTest()
66 ret = getservbyname_r("ssh", "tp", &se, buf1, sizeof buf1, &result); in GetServByNameRTest()
69 ret = getservbyname_r("sh", "tcp", &se, buf1, sizeof buf1, &result); in GetServByNameRTest()
Dnet_netdb_test_012.cpp49 struct servent se, *result = NULL; in GetServByPortRTest() local
54 int ret = getservbyport_r(htons(test_port_no), "tcp", &se, buf, sizeof buf, &result); in GetServByPortRTest()
57 ICUNIT_ASSERT_STRING_EQUAL(se.s_name, "ssh", -1); in GetServByPortRTest()
58 ICUNIT_ASSERT_STRING_EQUAL(se.s_proto, "tcp", -1); in GetServByPortRTest()
59 ICUNIT_ASSERT_STRING_EQUAL(se.s_aliases[0], "ssh", -1); in GetServByPortRTest()
64 ret = getservbyport_r(htons(test_port_no), "udp", &se, buf, sizeof buf, &result); in GetServByPortRTest()
67 ret = getservbyport_r(htons(test_port_no), "udp", &se, buf1, sizeof buf1, &result); in GetServByPortRTest()
70 ret = getservbyport_r(htons(test_port_no), "ud", &se, buf, sizeof buf, &result); in GetServByPortRTest()
Dnet_netdb_test_011.cpp51 struct servent *se = getservbyport(htons(test_port_no), "tcp"); in GetServByPortTest() local
52 ICUNIT_ASSERT_NOT_EQUAL(se, NULL, -1); in GetServByPortTest()
53 ICUNIT_ASSERT_STRING_EQUAL(se->s_name, "ssh", -1); in GetServByPortTest()
54 ICUNIT_ASSERT_STRING_EQUAL(se->s_proto, "tcp", -1); in GetServByPortTest()
55 ICUNIT_ASSERT_STRING_EQUAL(se->s_aliases[0], "ssh", -1); in GetServByPortTest()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dqcom_geni_serial.c122 struct geni_se se; member
206 port->se.base = uport->membase; in qcom_geni_serial_request_port()
494 geni_se_cancel_m_cmd(&port->se); in qcom_geni_serial_console_write()
497 geni_se_abort_m_cmd(&port->se); in qcom_geni_serial_console_write()
630 geni_se_cancel_m_cmd(&port->se); in qcom_geni_serial_stop_tx()
633 geni_se_abort_m_cmd(&port->se); in qcom_geni_serial_stop_tx()
651 geni_se_setup_s_cmd(&port->se, UART_START_READ, 0); in qcom_geni_serial_start_rx()
682 geni_se_cancel_s_cmd(&port->se); in qcom_geni_serial_stop_rx()
876 port->tx_fifo_depth = geni_se_get_tx_fifo_depth(&port->se); in setup_fifos()
877 port->tx_fifo_width = geni_se_get_tx_fifo_width(&port->se); in setup_fifos()
[all …]
/kernel/linux/linux-5.10/net/nfc/
Dcore.c534 struct nfc_se *se; in nfc_find_se() local
536 list_for_each_entry(se, &dev->secure_elements, list) in nfc_find_se()
537 if (se->idx == se_idx) in nfc_find_se()
538 return se; in nfc_find_se()
546 struct nfc_se *se; in nfc_enable_se() local
573 se = nfc_find_se(dev, se_idx); in nfc_enable_se()
574 if (!se) { in nfc_enable_se()
579 if (se->state == NFC_SE_ENABLED) { in nfc_enable_se()
586 se->state = NFC_SE_ENABLED; in nfc_enable_se()
595 struct nfc_se *se; in nfc_disable_se() local
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dalarmtimer-suspend.c123 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()
Dset-timer-lat.c125 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()
Dleap-a-day.c179 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()
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.h27 #define SE_PAGETYPE(se) ((IS_NODESEG((se)->type) ? NODE : DATA)) argument
397 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks() local
399 blocks += se->ckpt_valid_blocks; in get_ckpt_valid_blocks()
406 static inline void seg_info_from_raw_sit(struct seg_entry *se, in seg_info_from_raw_sit() argument
409 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
410 se->ckpt_valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
411 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
412 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
414 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
416 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit()
[all …]
Dsegment.c1028 struct seg_entry *se; in f2fs_get_unusable_blocks() local
1033 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks()
1034 if (IS_NODESEG(se->type)) in f2fs_get_unusable_blocks()
1036 se->valid_blocks; in f2fs_get_unusable_blocks()
1039 se->valid_blocks; in f2fs_get_unusable_blocks()
2001 struct seg_entry *se; in f2fs_issue_discard() local
2024 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard()
2027 if (!f2fs_test_and_set_bit(offset, se->discard_map)) in f2fs_issue_discard()
2041 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() local
2042 unsigned long *cur_map = (unsigned long *)se->cur_valid_map; in add_discard_addrs()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c83 static void soc_tplg_denum_remove_texts(struct soc_enum *se);
84 static void soc_tplg_denum_remove_values(struct soc_enum *se);
386 struct soc_enum *se = container_of(dobj, struct soc_enum, dobj); in remove_enum() local
397 soc_tplg_denum_remove_values(se); in remove_enum()
398 soc_tplg_denum_remove_texts(se); in remove_enum()
399 kfree(se); in remove_enum()
464 struct soc_enum *se = in remove_widget() local
470 soc_tplg_denum_remove_values(se); in remove_widget()
471 soc_tplg_denum_remove_texts(se); in remove_widget()
473 kfree(se); in remove_widget()
[all …]
/kernel/linux/linux-5.10/crypto/
Dtwofish_common.c484 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dgtt.c1133 static inline void ppgtt_generate_shadow_entry(struct intel_gvt_gtt_entry *se, in ppgtt_generate_shadow_entry() argument
1138 se->type = ge->type; in ppgtt_generate_shadow_entry()
1139 se->val64 = ge->val64; in ppgtt_generate_shadow_entry()
1142 if (se->type == GTT_TYPE_PPGTT_PDE_ENTRY) in ppgtt_generate_shadow_entry()
1143 ops->clear_ips(se); in ppgtt_generate_shadow_entry()
1145 ops->set_pfn(se, s->shadow_page.mfn); in ppgtt_generate_shadow_entry()
1174 struct intel_gvt_gtt_entry *se) in split_2MB_gtt_entry() argument
1186 start_gfn = ops->get_pfn(se); in split_2MB_gtt_entry()
1197 sub_se.val64 = se->val64; in split_2MB_gtt_entry()
1201 sub_se.val64 |= (se->val64 & _PAGE_PAT_LARGE) >> 5; in split_2MB_gtt_entry()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events_synth.c318 struct synth_event *se; in print_synth_event() local
324 se = container_of(event, struct synth_event, call.event); in print_synth_event()
326 trace_seq_printf(s, "%s: ", se->name); in print_synth_event()
328 for (i = 0, n_u64 = 0; i < se->n_fields; i++) { in print_synth_event()
332 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event()
341 if (se->fields[i]->is_string) { in print_synth_event()
342 if (se->fields[i]->is_dynamic) { in print_synth_event()
351 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
354 i == se->n_fields - 1 ? "" : " "); in print_synth_event()
357 trace_seq_printf(s, print_fmt, se->fields[i]->name, in print_synth_event()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_ibhdrs.h117 u8 *se, u8 *pad, u8 *opcode, u8 *tver,
124 u8 *pad, u8 *se, u8 *tver,
140 u8 se, u8 pad, u8 opcode, const char *opname,
176 __field(u8, se)
223 &__entry->se,
244 &__entry->se,
290 __entry->se,
335 __field(u8, se)
388 &__entry->se,
412 &__entry->se,
[all …]
/kernel/linux/linux-5.10/drivers/s390/net/
Dsmsgiucv_app.c123 struct smsg_app_event *se; in smsg_app_callback() local
138 se = smsg_app_event_alloc(from, msg); in smsg_app_callback()
139 if (!se) in smsg_app_callback()
144 list_add_tail(&se->list, &smsg_event_queue); in smsg_app_callback()

12345678