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.c62 next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; in update_events()
145 start_stop(cmt, 0, FIELD_EX16(cmt->cmstr, CMSTR, STR0)); in cmt_write()
146 start_stop(cmt, 1, FIELD_EX16(cmt->cmstr, CMSTR, STR1)); in cmt_write()
154 cmt->cmcr[ch] = FIELD_DP16(cmt->cmcr[ch], CMCR, CKS, in cmt_write()
156 cmt->cmcr[ch] = FIELD_DP16(cmt->cmcr[ch], CMCR, CMIE, in cmt_write()
218 cmt->cmstr = 0; in rcmt_reset()
219 cmt->cmcr[0] = cmt->cmcr[1] = 0; in rcmt_reset()
220 cmt->cmcnt[0] = cmt->cmcnt[1] = 0; in rcmt_reset()
221 cmt->cmcor[0] = cmt->cmcor[1] = 0xffff; in rcmt_reset()
230 memory_region_init_io(&cmt->memory, OBJECT(cmt), &cmt_ops, in rcmt_init()
[all …]
/openbmc/linux/drivers/clocksource/
H A Dsh_cmt.c246 return ch->cmt->info->read_control(ch->cmt->mapbase, 0); in sh_cmt_read_cmstr()
887 ch->cmt = cmt; in sh_cmt_setup_channel()
1022 cmt->hw_channels = cmt->info->channels_mask; in sh_cmt_setup()
1035 cmt->clk = clk_get(&cmt->pdev->dev, "fck"); in sh_cmt_setup()
1059 cmt->rate = rate / (cmt->info->width == 16 ? 512 : 8); in sh_cmt_setup()
1067 cmt->num_channels = hweight8(cmt->hw_channels); in sh_cmt_setup()
1068 cmt->channels = kcalloc(cmt->num_channels, sizeof(*cmt->channels), in sh_cmt_setup()
1120 if (cmt) { in sh_cmt_probe()
1125 cmt = kzalloc(sizeof(*cmt), GFP_KERNEL); in sh_cmt_probe()
1131 kfree(cmt); in sh_cmt_probe()
[all …]
/openbmc/qemu/hw/rx/
H A Drx62n.c181 SysBusDevice *cmt; in register_cmt() local
185 &s->cmt[unit], TYPE_RENESAS_CMT); in register_cmt()
186 cmt = SYS_BUS_DEVICE(&s->cmt[unit]); in register_cmt()
187 qdev_prop_set_uint64(DEVICE(cmt), "input-freq", s->pclk_freq_hz); in register_cmt()
188 sysbus_realize(cmt, &error_abort); in register_cmt()
192 sysbus_connect_irq(cmt, i, s->irq[irqbase + 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.h119 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/qemu/include/hw/rx/
H A Drx62n.h59 RCMTState cmt[RX62N_NR_CMT]; member
/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/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.txt5426 cmt, mbmtotal, mbmlocal, l3cat, l3cdp, l2cat, l2cdp,
5428 E.g. to turn on cmt and turn off mba use:
5429 rdt=cmt,!mba
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,cmt.yaml4 $id: http://devicetree.org/schemas/timer/renesas,cmt.yaml#
/openbmc/qemu/scripts/
H A Dcheckpatch.pl925 my $cmt = ctx_locate_comment($first_line, $end_line);
930 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.pl1996 my $cmt = ctx_locate_comment($first_line, $end_line);
2001 return ($cmt ne '');
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt2957 cmt.h: 1786