Home
last modified time | relevance | path

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

1234567

/openbmc/linux/lib/
H A Dtest_maple_tree.c226 MT_BUG_ON(mt, !mtree_empty(mt)); in check_rev_seq()
236 MT_BUG_ON(mt, !mt_height(mt)); in check_rev_seq()
238 MT_BUG_ON(mt, !mt_height(mt)); in check_rev_seq()
259 MT_BUG_ON(mt, !mtree_empty(mt)); in check_seq()
268 MT_BUG_ON(mt, !mt_height(mt)); in check_seq()
304 MT_BUG_ON(mt, !mtree_empty(mt)); in check_lower_bound_split()
313 MT_BUG_ON(mt, !mtree_empty(mt)); in check_upper_bound_split()
1000 MT_BUG_ON(mt, !mt_height(mt)); in check_ranges()
1005 MT_BUG_ON(mt, !mt_height(mt)); in check_ranges()
1007 MT_BUG_ON(mt, mt_height(mt)); in check_ranges()
[all …]
H A Dmaple_tree.c785 switch (mt) { in ma_slots()
799 return mt_external_lock(mt) ? mt_write_lock_is_held(mt) : in mt_write_locked()
805 return mt_external_lock(mt) ? mt_lock_is_held(mt) : in mt_locked()
878 switch (mt) { in ma_meta()
6294 mtree_lock(mt); in mtree_store_range()
6347 mtree_lock(mt); in mtree_insert_range()
6391 mtree_lock(mt); in mtree_alloc_range()
6429 mtree_lock(mt); in mtree_alloc_rrange()
6791 mt_dump_node(mt, mt_slot(mt, node->slot, i), in mt_dump_range64()
6857 mt_dump_node(mt, mt_slot(mt, node->slot, i), in mt_dump_arange64()
[all …]
/openbmc/linux/drivers/input/
H A Dinput-mt.c42 struct input_mt *mt = dev->mt; in input_mt_init_slots() local
99 dev->mt = mt; in input_mt_init_slots()
141 struct input_mt *mt = dev->mt; in input_mt_report_slot_state() local
148 slot = &mt->slots[mt->slot]; in input_mt_report_slot_state()
201 struct input_mt *mt = dev->mt; in input_mt_report_pointer_emulation() local
415 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_matrix()
438 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_slots()
452 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_slots()
491 if (!mt || !mt->red) in input_mt_assign_slots()
526 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) in input_mt_get_slot_by_key()
[all …]
/openbmc/linux/drivers/thermal/mediatek/
H A Dauxadc_thermal.c719 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()
782 struct mtk_thermal *mt = bank->mt; in mtk_thermal_get_bank() local
803 struct mtk_thermal *mt = bank->mt; in mtk_thermal_put_bank() local
818 struct mtk_thermal *mt = bank->mt; in mtk_thermal_bank_temperature() local
885 bank->mt = mt; in mtk_thermal_init_bank()
1068 mt->o_slope = 0; in mtk_thermal_extract_efuse_v3()
1082 mt->adc_ge = 512; in mtk_thermal_get_calibration_data()
1083 mt->adc_oe = 512; in mtk_thermal_get_calibration_data()
1087 mt->o_slope = 0; in mtk_thermal_get_calibration_data()
1203 mt = devm_kzalloc(&pdev->dev, sizeof(*mt), GFP_KERNEL); in mtk_thermal_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_tc.c71 if (mt.mask->src) { in vcap_tc_flower_handler_ipv4_usage()
79 if (mt.mask->dst) { in vcap_tc_flower_handler_ipv4_usage()
143 if (mt.mask->src) { in vcap_tc_flower_handler_portnum_usage()
152 if (mt.mask->dst) { in vcap_tc_flower_handler_portnum_usage()
188 if (mt.mask->vlan_id) { in vcap_tc_flower_handler_cvlan_usage()
335 if (mt.mask->op) { in vcap_tc_flower_handler_arp_usage()
359 if (mt.mask->sip) { in vcap_tc_flower_handler_arp_usage()
369 if (mt.mask->tip) { in vcap_tc_flower_handler_arp_usage()
396 if (mt.mask->tos) { in vcap_tc_flower_handler_ip_usage()
398 mt.key->tos, in vcap_tc_flower_handler_ip_usage()
[all …]
/openbmc/linux/include/linux/
H A Dmaple_tree.h186 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock))
195 #define mt_on_stack(mt) (mt).ma_external_lock = NULL argument
258 #define mtree_lock(mt) spin_lock((&(mt)->ma_lock)) argument
259 #define mtree_unlock(mt) spin_unlock((&(mt)->ma_lock)) argument
438 .tree = mt, \
652 if (!mt_in_rcu(mt)) in mt_clear_in_rcu()
659 mtree_lock(mt); in mt_clear_in_rcu()
661 mtree_unlock(mt); in mt_clear_in_rcu()
671 if (mt_in_rcu(mt)) in mt_set_in_rcu()
678 mtree_lock(mt); in mt_set_in_rcu()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qdev-global-props.c78 MyType *mt; in test_static_prop_subprocess() local
107 MyType *mt; in test_static_globalprop_subprocess() local
118 g_assert_cmpuint(mt->prop1, ==, 200); in test_static_globalprop_subprocess()
140 MyType *mt = DYNAMIC_TYPE(obj); in DECLARE_INSTANCE_CHECKER() local
148 MyType *mt = DYNAMIC_TYPE(obj); in prop2_accessor() local
219 MyType *mt; in test_dynamic_globalprop_subprocess() local
236 g_assert_cmpuint(mt->prop1, ==, 101); in test_dynamic_globalprop_subprocess()
237 g_assert_cmpuint(mt->prop2, ==, 102); in test_dynamic_globalprop_subprocess()
267 MyType *mt; in test_subclass_global_props() local
282 g_assert_cmpuint(mt->prop1, ==, 102); in test_subclass_global_props()
[all …]
/openbmc/linux/include/trace/events/
H A Dmmap.h50 TP_ARGS(mt, start, end),
53 __field(struct maple_tree *, mt)
59 __entry->mt = mt;
65 __entry->mt,
74 TP_ARGS(mt, vma),
77 __field(struct maple_tree *, mt)
84 __entry->mt = mt;
91 __entry->mt, __entry->vma,
105 __field(struct maple_tree *, mt)
110 __entry->mt = &mm->mm_mt;
[all …]
H A Dpage_ref.h25 __field(int, mt)
35 __entry->mt = get_pageblock_migratetype(page);
43 __entry->mapcount, __entry->mapping, __entry->mt,
73 __field(int, mt)
84 __entry->mt = get_pageblock_migratetype(page);
93 __entry->mapcount, __entry->mapping, __entry->mt,
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c266 mt->mnp = mnp; in computeRegs()
323 mt->interlaced = 1; in computeRegs()
325 mt->HDisplay = hvis & ~7; in computeRegs()
326 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
328 mt->HTotal = hlen; in computeRegs()
336 vtotal = mt->VTotal; in computeRegs()
552mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in matroxfb_g450_compute()
553 mt->pixclock = g450_mnp2f(minfo, mt->mnp); in matroxfb_g450_compute()
581 if (mt->mnp < 0) { in g450_dvi_compute()
582mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL… in g450_dvi_compute()
[all …]
H A Dmatroxfb_maven.c775 lmargin = mt->HTotal - mt->HSyncEnd; in maven_compute_timming()
776 slen = mt->HSyncEnd - mt->HSyncStart; in maven_compute_timming()
777 hcrt = mt->HTotal - slen - mt->delay; in maven_compute_timming()
778 umargin = mt->VTotal - mt->VSyncEnd; in maven_compute_timming()
779 vslen = mt->VSyncEnd - mt->VSyncStart; in maven_compute_timming()
805 m->regs[0xA3] = (mt->VTotal - mt->VSyncStart - 1) >> 8; in maven_compute_timming()
937 tmpi = mt->HSyncEnd - mt->HSyncStart; in maven_compute_timming()
941 tmpi = mt->HTotal - mt->HSyncStart; in maven_compute_timming()
953 tmpi = mt->VSyncEnd - mt->VSyncStart - 1; in maven_compute_timming()
957 tmpi = mt->VTotal - mt->VSyncStart; in maven_compute_timming()
[all …]
H A Dmatroxfb_crtc2.c65 struct my_timming* mt, in matroxfb_dh_restore() argument
105 if (mt->interlaced) { in matroxfb_dh_restore()
107 mt->VDisplay >>= 1; in matroxfb_dh_restore()
109 mt->VSyncEnd >>= 1; in matroxfb_dh_restore()
110 mt->VTotal >>= 1; in matroxfb_dh_restore()
114 mt->HTotal &= ~7; in matroxfb_dh_restore()
117 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore()
118 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore()
119 mga_outl(0x3C1C, ((mt->VDisplay - 1) << 16) | (mt->VTotal - 1)); in matroxfb_dh_restore()
120 mga_outl(0x3C20, ((mt->VSyncEnd - 1) << 16) | (mt->VSyncStart - 1)); in matroxfb_dh_restore()
[all …]
H A Dmatroxfb_misc.c114 if (mt->pixclock < 1) mt->pixclock = 1; in matroxfb_var2my()
115 mt->mnp = -1; in matroxfb_var2my()
118 mt->HDisplay = var->xres; in matroxfb_var2my()
119 mt->HSyncStart = mt->HDisplay + var->right_margin; in matroxfb_var2my()
120 mt->HSyncEnd = mt->HSyncStart + var->hsync_len; in matroxfb_var2my()
121 mt->HTotal = mt->HSyncEnd + var->left_margin; in matroxfb_var2my()
122 mt->VDisplay = var->yres; in matroxfb_var2my()
123 mt->VSyncStart = mt->VDisplay + var->lower_margin; in matroxfb_var2my()
124 mt->VSyncEnd = mt->VSyncStart + var->vsync_len; in matroxfb_var2my()
125 mt->VTotal = mt->VSyncEnd + var->upper_margin; in matroxfb_var2my()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregcache-maple.c20 MA_STATE(mas, mt, reg, reg); in regcache_maple_read()
42 MA_STATE(mas, mt, reg, reg); in regcache_maple_write()
111 MA_STATE(mas, mt, min, max); in regcache_maple_drop()
301 if (!mt) in regcache_maple_exit()
307 __mt_destroy(mt); in regcache_maple_exit()
310 kfree(mt); in regcache_maple_exit()
347 struct maple_tree *mt; in regcache_maple_init() local
352 mt = kmalloc(sizeof(*mt), GFP_KERNEL); in regcache_maple_init()
353 if (!mt) in regcache_maple_init()
355 map->cache = mt; in regcache_maple_init()
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dmaple.c587 MT_BUG_ON(mt, root_node == mt->ma_root); in check_erase_testset()
1062 MT_BUG_ON(mt, !mt_height(mt)); in check_erase2_testset()
34723 test.mt = mt; in rcu_stress()
34940 MT_BUG_ON(mt, !mt_in_rcu(mt)); in run_check_rcu()
35002 MT_BUG_ON(mt, !mt_in_rcu(mt)); in run_check_rcu_slot_store()
35038 MT_BUG_ON(mt, !mt_in_rcu(mt)); in run_check_rcu_slowread()
35245 vals.mt = mt; in check_rcu_threaded()
35268 vals.mt = mt; in check_rcu_threaded()
35305 vals.mt = mt; in check_rcu_threaded()
35814 MT_BUG_ON(mt, !mtree_empty(mt)); in check_nomem()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_set_pipapo.c387 bitmap_set(dst, mt[i].to, mt[i].n); in pipapo_refill()
637 goto mt; in pipapo_resize()
667 mt: in pipapo_resize()
686 f->mt = new_mt; in pipapo_resize()
1360 if (!dst->mt)
1363 memcpy(dst->mt, src->mt, src->rules * sizeof(*src->mt));
1478 memmove(mt + start, mt + start + n, (rules - start - n) * sizeof(*mt));
1479 memset(mt + rules - n, 0, n * sizeof(*mt));
2063 if (r < f->rules - 1 && f->mt[r + 1].e == f->mt[r].e)
2178 f->mt = NULL;
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dalps.c519 alps_set_slot(dev, slot[i], f->mt[i].x, f->mt[i].y); in alps_report_mt_data()
539 alps_set_slot(dev, 0, f->mt[0].x, f->mt[0].y); in alps_report_semi_mt_data()
541 alps_set_slot(dev, 1, f->mt[1].x, f->mt[1].y); in alps_report_semi_mt_data()
990 if (mt[1].y == 0x7ff && mt[1].x == 0xff0) { in alps_get_finger_coordinate_v7()
991 mt[1].x = 0; in alps_get_finger_coordinate_v7()
1010 mt[0].y = 0x7FF - mt[0].y; in alps_get_finger_coordinate_v7()
1011 mt[1].y = 0x7FF - mt[1].y; in alps_get_finger_coordinate_v7()
1019 if (mt[i].x != 0 || mt[i].y != 0) in alps_get_mt_count()
1078 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { in alps_decode_packet_v7()
1079 f->mt[0].x = f->mt[1].x; in alps_decode_packet_v7()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dprivate_header_test.cpp55 auto mt = ph.commitTimestamp(); in TEST_F() local
56 EXPECT_EQ(mt.yearMSB, 0x20); in TEST_F()
57 EXPECT_EQ(mt.yearLSB, 0x31); in TEST_F()
58 EXPECT_EQ(mt.month, 0x06); in TEST_F()
59 EXPECT_EQ(mt.day, 0x0F); in TEST_F()
60 EXPECT_EQ(mt.hour, 0x09); in TEST_F()
61 EXPECT_EQ(mt.minutes, 0x22); in TEST_F()
62 EXPECT_EQ(mt.seconds, 0x3A); in TEST_F()
63 EXPECT_EQ(mt.hundredths, 0x00); in TEST_F()
/openbmc/linux/mm/
H A Dpage_reporting.c116 int mt = get_pageblock_migratetype(page); in page_reporting_drain() local
119 __putback_isolated_page(page, order, mt); in page_reporting_drain()
147 unsigned int order, unsigned int mt, in page_reporting_cycle() argument
151 struct list_head *list = &area->free_list[mt]; in page_reporting_cycle()
263 unsigned int order, mt, leftover, offset = PAGE_REPORTING_CAPACITY; in page_reporting_process_zone() local
280 for (mt = 0; mt < MIGRATE_TYPES; mt++) { in page_reporting_process_zone()
282 if (is_migrate_isolate(mt)) in page_reporting_process_zone()
285 err = page_reporting_cycle(prdev, zone, order, mt, in page_reporting_process_zone()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/nis/
H A Dypbind-mt_2.7.2.bb2 # The source package is utils/net/NIS/ypbind-mt
7 Multithreaded NIS bind service (ypbind-mt). \
8 ypbind-mt is a complete new implementation of a NIS \
17 This is the final IPv4-only version of ypbind-mt. \
19 HOMEPAGE = "https://github.com/thkukuk/ypbind-mt/"
27 # ypbind-mt now provides all the functionality of ypbind
31 SRC_URI = "https://github.com/thkukuk/ypbind-mt/releases/download/v${PV}/${BPN}-${PV}.tar.xz \
/openbmc/qemu/scripts/
H A Dcompare-machine-types.py255 for mt in self.req_mt:
261 column.append(mt.compat_props[driver][prop])
342 def mt_comp(mt: Machine) -> Tuple[str, int, int, int]:
346 if '-' not in mt.name or '.' not in mt.name:
347 return mt.name, 0, 0, 0
349 socket, ver = mt.name.rsplit('-', 1)
380 for mt in mt_defs:
381 if mt.name in req_mt:
382 matched_mt.append(mt)
394 for mt in config.req_mt:
[all …]
/openbmc/linux/include/linux/input/
H A Dmt.h70 static inline bool input_mt_is_used(const struct input_mt *mt, in input_mt_is_used() argument
73 return slot->frame == mt->frame; in input_mt_is_used()
80 static inline int input_mt_new_trkid(struct input_mt *mt) in input_mt_new_trkid() argument
82 return mt->trkid++ & TRKID_MAX; in input_mt_new_trkid()
/openbmc/webui-vue/src/views/Operations/FactoryReset/
H A DFactoryResetModal.vue13 <li class="mt-1 mb-1">
16 <li class="mt-1 mb-1">
21 <li class="mt-1 mb-1">
24 <li class="mt-1 mb-1">
27 <li class="mt-1 mb-1">
30 <li class="mt-1 mb-1">
/openbmc/linux/drivers/slimbus/
H A Dqcom-ctrl.c64 #define SLIM_MSG_ASM_FIRST_WORD(l, mt, mc, dt, ad) \ argument
212 u8 mc, mt, len; in qcom_slim_handle_rx_irq() local
215 mt = SLIM_HEADER_GET_MT(pkt[0]); in qcom_slim_handle_rx_irq()
251 mc, mt); in qcom_slim_handle_rx_irq()
365 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_xfer_msg()
368 if (slim_ec_txn(txn->mt, txn->mc)) { in qcom_xfer_msg()
381 txn->mt); in qcom_xfer_msg()
442 u8 mc, mt; in qcom_slim_rxwq() local
448 mt = SLIM_HEADER_GET_MT(buf[0]); in qcom_slim_rxwq()
450 if (mt == SLIM_MSG_MT_CORE && in qcom_slim_rxwq()
[all …]
H A Dslimbus.h129 u8 mt; member
436 static inline bool slim_tid_txn(u8 mt, u8 mc) in slim_tid_txn() argument
438 return (mt == SLIM_MSG_MT_CORE && in slim_tid_txn()
445 static inline bool slim_ec_txn(u8 mt, u8 mc) in slim_ec_txn() argument
447 return (mt == SLIM_MSG_MT_CORE && in slim_ec_txn()

1234567