Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Drenesas_cmt.c54 static void update_events(RCMTState *cmt, int ch) in update_events() argument
58 if ((cmt->cmstr & (1 << ch)) == 0) { in update_events()
62 next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; in update_events()
64 next_time /= cmt->input_freq; in update_events()
72 next_time *= 1 << (3 + FIELD_EX16(cmt->cmcr[ch], CMCR, CKS) * 2); in update_events()
74 timer_mod(&cmt->timer[ch], next_time); in update_events()
77 static int64_t read_cmcnt(RCMTState *cmt, int ch) in read_cmcnt() argument
81 if (cmt->cmstr & (1 << ch)) { in read_cmcnt()
82 delta = (now - cmt->tick[ch]); in read_cmcnt()
84 delta /= cmt->input_freq; in read_cmcnt()
[all …]
/openbmc/linux/drivers/clocksource/
H A Dsh_cmt.c91 struct sh_cmt_device *cmt; member
244 return ch->cmt->info->read_control(ch->iostart, 0); in sh_cmt_read_cmstr()
246 return ch->cmt->info->read_control(ch->cmt->mapbase, 0); in sh_cmt_read_cmstr()
255 ch->cmt->info->write_control(ch->iostart, 0, value); in sh_cmt_write_cmstr()
256 udelay(ch->cmt->reg_delay); in sh_cmt_write_cmstr()
258 ch->cmt->info->write_control(ch->cmt->mapbase, 0, value); in sh_cmt_write_cmstr()
259 udelay(ch->cmt->reg_delay); in sh_cmt_write_cmstr()
266 return ch->cmt->info->read_control(ch->ioctrl, CMCSR); in sh_cmt_read_cmcsr()
274 ch->cmt->info->write_control(ch->ioctrl, CMCSR, value); in sh_cmt_write_cmcsr()
275 udelay(ch->cmt->reg_delay); in sh_cmt_write_cmcsr()
[all …]
/openbmc/qemu/hw/rx/
H A Drx62n.c180 SysBusDevice *cmt; in register_cmt() local
184 &s->cmt[unit], TYPE_RENESAS_CMT); in register_cmt()
185 cmt = SYS_BUS_DEVICE(&s->cmt[unit]); in register_cmt()
186 qdev_prop_set_uint64(DEVICE(cmt), "input-freq", s->pclk_freq_hz); in register_cmt()
187 sysbus_realize(cmt, &error_abort); in register_cmt()
191 sysbus_connect_irq(cmt, i, in register_cmt()
194 sysbus_mmio_map(cmt, 0, RX62N_CMT_BASE + unit * 0x10); in register_cmt()
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dcache.c284 bool platform, bool cmt) in show_cache_info() argument
296 (cmt ? (abs(avg_diff) > max_diff) : true); in show_cache_info()
304 ksft_print_msg("Cache span (%s): %zu\n", cmt ? "bytes" : "lines", in show_cache_info()
H A Dresctrl.h117 bool platform, bool cmt);
H A DREADME75 -t test list: run tests specified in the test list, e.g. -t mbm,mba,cmt,cat
/openbmc/u-boot/fs/ubifs/
H A Dorphan.c124 if (o->cmt) { in ubifs_delete_orphan()
165 ubifs_assert(!orphan->cmt); in ubifs_orphan_start_commit()
167 orphan->cmt = 1; in ubifs_orphan_start_commit()
294 ubifs_assert(orphan->cmt); in write_orph_node()
296 orphan->cmt = 0; in write_orph_node()
374 orphan->cmt = 1; in consolidate()
H A Dlpt_commit.c162 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
165 c->ltab[i].cmt = 1; in alloc_lpt_leb()
172 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
175 c->ltab[i].cmt = 1; in alloc_lpt_leb()
347 if (c->ltab[i].cmt) { in realloc_lpt_leb()
348 c->ltab[i].cmt = 0; in realloc_lpt_leb()
354 if (c->ltab[i].cmt) { in realloc_lpt_leb()
355 c->ltab[i].cmt = 0; in realloc_lpt_leb()
1755 if (c->ltab[i].tgc || c->ltab[i].cmt) in dbg_chk_lpt_free_spc()
H A Dubifs.h1095 unsigned cmt:1; member
1526 unsigned cmt:1; member
H A Dlpt.c644 ltab[i].cmt = 0; in ubifs_create_dflt_lpt()
1048 c->ltab[i].cmt = 0; in unpack_ltab()
H A Ddebug.c799 c->ltab[i].tgc, c->ltab[i].cmt); in ubifs_dump_lpt_info()
/openbmc/qemu/include/hw/rx/
H A Drx62n.h58 RCMTState cmt[RX62N_NR_CMT]; member
/openbmc/linux/fs/ubifs/
H A Dorphan.c136 if (orph->cmt) { in orphan_delete()
246 ubifs_assert(c, !orphan->cmt); in ubifs_orphan_start_commit()
248 orphan->cmt = 1; in ubifs_orphan_start_commit()
375 ubifs_assert(c, orphan->cmt); in write_orph_node()
377 orphan->cmt = 0; in write_orph_node()
455 orphan->cmt = 1; in consolidate()
H A Dlpt_commit.c155 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
158 c->ltab[i].cmt = 1; in alloc_lpt_leb()
165 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
168 c->ltab[i].cmt = 1; in alloc_lpt_leb()
339 if (c->ltab[i].cmt) { in realloc_lpt_leb()
340 c->ltab[i].cmt = 0; in realloc_lpt_leb()
346 if (c->ltab[i].cmt) { in realloc_lpt_leb()
347 c->ltab[i].cmt = 0; in realloc_lpt_leb()
1712 if (c->ltab[i].tgc || c->ltab[i].cmt) in dbg_chk_lpt_free_spc()
H A Dubifs.h509 unsigned cmt:1; member
944 unsigned cmt:1; member
H A Dlpt.c646 ltab[i].cmt = 0; in ubifs_create_dflt_lpt()
1063 c->ltab[i].cmt = 0; in unpack_ltab()
H A Ddebug.c827 c->ltab[i].tgc, c->ltab[i].cmt); in ubifs_dump_lpt_info()
/openbmc/linux/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst339 // and the function parse_one, #cmt is stripped
340 dyndbg="file init/* +p #cmt ; func parse_one +p"
H A Dkernel-parameters.txt5433 cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
5435 E.g. to turn on cmt and turn off mba use:
5436 rdt=cmt,!mba
/openbmc/qemu/scripts/
H A Dcheckpatch.pl995 my $cmt = ctx_locate_comment($first_line, $end_line);
1000 return ($cmt ne '');
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h509 struct couple_mode_teaming cmt; member
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl1625 my $cmt = ctx_locate_comment($first_line, $end_line);
1630 return ($cmt ne '');
/openbmc/linux/scripts/
H A Dcheckpatch.pl2000 my $cmt = ctx_locate_comment($first_line, $end_line);
2005 return ($cmt ne '');
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt2957 cmt.h: 1786
/openbmc/linux/
H A Dopengrok2.0.log[all...]