/openbmc/linux/lib/ |
H A D | test_maple_tree.c | 19 #define mt_dump(mt, fmt) do {} while (0) argument 20 #define mt_validate(mt) do {} while (0) argument 57 static int __init mtree_insert_index(struct maple_tree *mt, in mtree_insert_index() argument 60 return mtree_insert(mt, index, xa_mk_value(index & LONG_MAX), gfp); in mtree_insert_index() 63 static void __init mtree_erase_index(struct maple_tree *mt, unsigned long index) in mtree_erase_index() argument 65 MT_BUG_ON(mt, mtree_erase(mt, index) != xa_mk_value(index & LONG_MAX)); in mtree_erase_index() 66 MT_BUG_ON(mt, mtree_load(mt, index) != NULL); in mtree_erase_index() 69 static int __init mtree_test_insert(struct maple_tree *mt, unsigned long index, in mtree_test_insert() argument 72 return mtree_insert(mt, index, ptr, GFP_KERNEL); in mtree_test_insert() 75 static int __init mtree_test_store_range(struct maple_tree *mt, in mtree_test_store_range() argument [all …]
|
H A D | maple_tree.c | 378 static inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc() argument 380 return (mt->ma_flags & MT_FLAGS_ALLOC_RANGE); in mt_is_alloc() 779 * @mt: The maple node type 783 static inline void __rcu **ma_slots(struct maple_node *mn, enum maple_type mt) in ma_slots() argument 785 switch (mt) { in ma_slots() 797 static inline bool mt_write_locked(const struct maple_tree *mt) in mt_write_locked() argument 799 return mt_external_lock(mt) ? mt_write_lock_is_held(mt) : in mt_write_locked() 800 lockdep_is_held(&mt->ma_lock); in mt_write_locked() 803 static inline bool mt_locked(const struct maple_tree *mt) in mt_locked() argument 805 return mt_external_lock(mt) ? mt_lock_is_held(mt) : in mt_locked() [all …]
|
/openbmc/linux/drivers/input/ |
H A D | input-mt.c | 8 #include <linux/input/mt.h> 25 * input_mt_init_slots() - initialize MT input slots 26 * @dev: input device supporting MT events and finger tracking 28 * @flags: mt tasks to handle in core 30 * This function allocates all necessary memory for MT slot handling 42 struct input_mt *mt = dev->mt; in input_mt_init_slots() local 47 if (mt) in input_mt_init_slots() 48 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots() 53 mt = kzalloc(struct_size(mt, slots, num_slots), GFP_KERNEL); in input_mt_init_slots() 54 if (!mt) in input_mt_init_slots() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.c | 68 struct flow_match_ipv4_addrs mt; in vcap_tc_flower_handler_ipv4_usage() local 70 flow_rule_match_ipv4_addrs(st->frule, &mt); in vcap_tc_flower_handler_ipv4_usage() 71 if (mt.mask->src) { in vcap_tc_flower_handler_ipv4_usage() 74 be32_to_cpu(mt.key->src), in vcap_tc_flower_handler_ipv4_usage() 75 be32_to_cpu(mt.mask->src)); in vcap_tc_flower_handler_ipv4_usage() 79 if (mt.mask->dst) { in vcap_tc_flower_handler_ipv4_usage() 82 be32_to_cpu(mt.key->dst), in vcap_tc_flower_handler_ipv4_usage() 83 be32_to_cpu(mt.mask->dst)); in vcap_tc_flower_handler_ipv4_usage() 104 struct flow_match_ipv6_addrs mt; in vcap_tc_flower_handler_ipv6_usage() local 108 flow_rule_match_ipv6_addrs(st->frule, &mt); in vcap_tc_flower_handler_ipv6_usage() [all …]
|
/openbmc/linux/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 307 struct mtk_thermal *mt; member 350 int (*raw_to_mcelsius)(struct mtk_thermal *mt, int sensno, s32 raw); 705 * @mt: The thermal controller 712 static int raw_to_mcelsius_v1(struct mtk_thermal *mt, int sensno, s32 raw) in raw_to_mcelsius_v1() argument 719 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1() 720 tmp /= 10000 + mt->adc_ge; in raw_to_mcelsius_v1() 721 tmp *= raw - mt->vts[sensno] - 3350; in raw_to_mcelsius_v1() 724 return mt->degc_cali * 500 - tmp; in raw_to_mcelsius_v1() 727 static int raw_to_mcelsius_v2(struct mtk_thermal *mt, int sensno, s32 raw) in raw_to_mcelsius_v2() argument 740 g_gain = 10000 + (((mt->adc_ge - 512) * 10000) >> 12); in raw_to_mcelsius_v2() [all …]
|
/openbmc/linux/arch/sh/lib/ |
H A D | memcpy-sh4.S | 31 mov r4,r2 ! 5 MT (0 cycles latency) 41 mov r7, r3 ! 5 MT (latency=0) ! RQPO 43 cmp/hi r2,r0 ! 57 MT 46 mov r1,r6 ! 5 MT (latency=0) 50 mov r1, r7 ! 5 MT (latency=0) 58 mov r7,r3 ! 5 MT (latency=0) ! OPQR 60 cmp/hi r2,r0 ! 57 MT 64 mov r1,r6 ! 5 MT (latency=0) 67 mov r1,r7 ! 5 MT (latency=0) 77 cmp/eq r4,r0 ! 54 MT [all …]
|
/openbmc/linux/include/linux/ |
H A D | maple_tree.h | 185 #define mt_lock_is_held(mt) \ argument 186 (!(mt)->ma_external_lock || lock_is_held((mt)->ma_external_lock)) 188 #define mt_write_lock_is_held(mt) \ argument 189 (!(mt)->ma_external_lock || \ 190 lock_is_held_type((mt)->ma_external_lock, 0)) 192 #define mt_set_external_lock(mt, lock) \ argument 193 (mt)->ma_external_lock = &(lock)->dep_map 195 #define mt_on_stack(mt) (mt).ma_external_lock = NULL argument 198 #define mt_lock_is_held(mt) 1 argument 199 #define mt_write_lock_is_held(mt) 1 argument [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | mmap.h | 47 TP_PROTO(struct maple_tree *mt, unsigned long start, 50 TP_ARGS(mt, start, end), 53 __field(struct maple_tree *, mt) 59 __entry->mt = mt; 65 __entry->mt, 72 TP_PROTO(struct maple_tree *mt, struct vm_area_struct *vma), 74 TP_ARGS(mt, vma), 77 __field(struct maple_tree *, mt) 84 __entry->mt = mt; 91 __entry->mt, __entry->vma, [all …]
|
H A D | page_ref.h | 25 __field(int, mt) 35 __entry->mt = get_pageblock_migratetype(page); 39 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d", 43 __entry->mapcount, __entry->mapping, __entry->mt, 73 __field(int, mt) 84 __entry->mt = get_pageblock_migratetype(page); 89 TP_printk("pfn=0x%lx flags=%s count=%d mapcount=%d mapping=%p mt=%d val=%d ret=%d", 93 __entry->mapcount, __entry->mapping, __entry->mt,
|
/openbmc/qemu/tests/unit/ |
H A D | test-qdev-global-props.c | 78 MyType *mt; in test_static_prop_subprocess() local 80 mt = STATIC_TYPE(object_new(TYPE_STATIC_PROPS)); in test_static_prop_subprocess() 81 qdev_realize(DEVICE(mt), NULL, &error_fatal); in test_static_prop_subprocess() 83 g_assert_cmpuint(mt->prop1, ==, PROP_DEFAULT); in test_static_prop_subprocess() 107 MyType *mt; in test_static_globalprop_subprocess() local 115 mt = STATIC_TYPE(object_new(TYPE_STATIC_PROPS)); in test_static_globalprop_subprocess() 116 qdev_realize(DEVICE(mt), NULL, &error_fatal); in test_static_globalprop_subprocess() 118 g_assert_cmpuint(mt->prop1, ==, 200); in test_static_globalprop_subprocess() 119 g_assert_cmpuint(mt->prop2, ==, PROP_DEFAULT); in test_static_globalprop_subprocess() 140 MyType *mt = DYNAMIC_TYPE(obj); in DECLARE_INSTANCE_CHECKER() local [all …]
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regcache-maple.c | 19 struct maple_tree *mt = map->cache; in regcache_maple_read() local 20 MA_STATE(mas, mt, reg, reg); in regcache_maple_read() 41 struct maple_tree *mt = map->cache; in regcache_maple_write() local 42 MA_STATE(mas, mt, reg, reg); in regcache_maple_write() 110 struct maple_tree *mt = map->cache; in regcache_maple_drop() local 111 MA_STATE(mas, mt, min, max); in regcache_maple_drop() 242 struct maple_tree *mt = map->cache; in regcache_maple_sync() local 244 MA_STATE(mas, mt, min, max); in regcache_maple_sync() 296 struct maple_tree *mt = map->cache; in regcache_maple_exit() local 297 MA_STATE(mas, mt, 0, UINT_MAX); in regcache_maple_exit() [all …]
|
/openbmc/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 238 struct my_timming *mt, const struct output_desc *outd) in computeRegs() argument 253 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs() 266 mt->mnp = mnp; in computeRegs() 267 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs() 271 pixclock = 1000000000U / mt->pixclock; in computeRegs() 276 do_div(piic, mt->pixclock); in computeRegs() 323 mt->interlaced = 1; in computeRegs() 325 mt->HDisplay = hvis & ~7; in computeRegs() 326 mt->HSyncStart = mt->HDisplay + 8; in computeRegs() 327 mt->HSyncEnd = (hlen & ~7) - 8; in computeRegs() [all …]
|
H A D | matroxfb_maven.c | 756 struct my_timming* mt, in maven_compute_timming() argument 772 if (maven_find_exact_clocks(mt->HTotal, mt->VTotal, m) == 0) in maven_compute_timming() 775 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() 781 if (m->hcorr < mt->HTotal) in maven_compute_timming() 783 if (hcrt > mt->HTotal) in maven_compute_timming() 784 hcrt -= mt->HTotal; in maven_compute_timming() [all …]
|
H A D | matroxfb_crtc2.c | 65 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() 108 mt->VSyncStart >>= 1; in matroxfb_dh_restore() 109 mt->VSyncEnd >>= 1; in matroxfb_dh_restore() 110 mt->VTotal >>= 1; in matroxfb_dh_restore() 112 if ((mt->HTotal & 7) == 2) { 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() [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | rohm-bu27034.c | 672 * => 115.7400832 * ch1 / gain1 / mt - 673 * 68.1982976 * ch0 / gain0 / mt + 674 * 0.00012213 * 25600 * (ch1 / gain1 / mt) * 25600 * 675 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 677 * A = 0.00012213 * 25600 * (ch1 /gain1 / mt) * 25600 * 678 * (ch1 /gain1 / mt) / (25600 * ch0 / gain0 / mt) 679 * => 0.00012213 * 25600 * (ch1 /gain1 / mt) * 680 * (ch1 /gain1 / mt) / (ch0 / gain0 / mt) 681 * => 0.00012213 * 25600 * (ch1 / gain1) * (ch1 /gain1 / mt) / 683 * => 0.00012213 * 25600 * (ch1 / gain1) * (ch1 /gain1 / mt) * [all …]
|
/openbmc/linux/include/linux/input/ |
H A D | mt.h | 19 #define INPUT_MT_SEMI_MT 0x0010 /* semi-mt device, finger count handled manually */ 22 * struct input_mt_slot - represents the state of an input MT slot 35 * @trkid: stores MT tracking ID for the next contact 36 * @num_slots: number of MT slots the device uses 37 * @slot: MT slot currently being transmitted 70 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/openbmc/meta-openembedded/meta-networking/recipes-support/nis/ |
H A D | ypbind-mt_2.7.2.bb | 2 # 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/phosphor-logging/test/openpower-pels/ |
H A D | private_header_test.cpp | 55 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/qemu/scripts/ |
H A D | compare-machine-types.py | 255 for mt in self.req_mt: 256 name = f'{self._binary}\n{mt.name}' 261 column.append(mt.compat_props[driver][prop]) 275 * compare machines: ./scripts/compare-machine-types.py --mt pc-q35-2.12 \ 278 --mt pc-q35-6.2 pc-q35-7.0 --qemu-binary build/qemu-system-x86_64 \ 335 mt_args_group.add_argument('--mt', nargs="*", type=str, 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) [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | alps.c | 17 #include <linux/input/mt.h> 383 * Process bitmap data from semi-mt protocols. Returns the number of 389 * These points are returned in fields->mt when the return value 496 fields->mt[0] = fields->st; in alps_process_bitmap() 497 fields->mt[1] = corner[priv->second_touch]; in alps_process_bitmap() 517 input_mt_assign_slots(dev, slot, f->mt, n, 0); in alps_report_mt_data() 519 alps_set_slot(dev, slot[i], f->mt[i].x, f->mt[i].y); in alps_report_mt_data() 530 /* Use st data when we don't have mt data */ in alps_report_semi_mt_data() 532 f->mt[0].x = f->st.x; in alps_report_semi_mt_data() 533 f->mt[0].y = f->st.y; in alps_report_semi_mt_data() [all …]
|
/openbmc/webui-vue/src/views/Operations/FactoryReset/ |
H A D | FactoryResetModal.vue | 13 <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/mm/ |
H A D | page_reporting.c | 116 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 278 /* Process each free list starting from lowest order/mt */ in page_reporting_process_zone() 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/linux/tools/testing/radix-tree/ |
H A D | maple.c | 29 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } 32 struct maple_tree *mt; member 49 struct maple_tree *mt; member 91 static noinline void __init check_new_node(struct maple_tree *mt) in check_new_node() argument 99 MA_STATE(mas, mt, 0, 0); in check_new_node() 104 mtree_lock(mt); in check_new_node() 109 MT_BUG_ON(mt, mas_alloc_req(&mas) != 3); in check_new_node() 111 MT_BUG_ON(mt, mas.node != MA_ERROR(-ENOMEM)); in check_new_node() 112 MT_BUG_ON(mt, !mas_nomem(&mas, GFP_KERNEL)); in check_new_node() 114 MT_BUG_ON(mt, mas_allocated(&mas) != 3); in check_new_node() [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | qcom-ctrl.c | 64 #define SLIM_MSG_ASM_FIRST_WORD(l, mt, mc, dt, ad) \ argument 65 ((l) | ((mt) << 5) | ((mc) << 8) | ((dt) << 15) | ((ad) << 16)) 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() 223 if (mt == SLIM_MSG_MT_CORE && mc == SLIM_MSG_MC_REPORT_PRESENT) { in qcom_slim_handle_rx_irq() 250 dev_err(ctrl->dev, "unsupported MC,%x MT:%x\n", in qcom_slim_handle_rx_irq() 251 mc, mt); in qcom_slim_handle_rx_irq() 356 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg() 360 *head = SLIM_MSG_ASM_FIRST_WORD(txn->rl, txn->mt, in qcom_xfer_msg() 365 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_xfer_msg() [all …]
|
/openbmc/u-boot/board/freescale/t208xrdb/ |
H A D | t2080_sd_rcw.cfg | 5 #SerDes=0x66_0x16, Core=1533MHz, DDR=1600MT/s 12 #SerDes=0x66_0x15, Core:1800MHz, DDR:1600MT/s 15 #SerDes=0x66_0x15, Core:1800MHz, DDR:1867MT/s
|