Home
last modified time | relevance | path

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

12345

/linux/drivers/input/
A Dinput-mt.c41 struct input_mt *mt = dev->mt; in input_mt_init_slots() local
95 dev->mt = mt; in input_mt_init_slots()
137 struct input_mt *mt = dev->mt; in input_mt_report_slot_state() local
144 slot = &mt->slots[mt->slot]; in input_mt_report_slot_state()
197 struct input_mt *mt = dev->mt; in input_mt_report_pointer_emulation() local
372 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_matrix()
395 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_slots()
409 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { in input_mt_set_slots()
448 if (!mt || !mt->red) in input_mt_assign_slots()
483 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) in input_mt_get_slot_by_key()
[all …]
/linux/drivers/thermal/
A Dmtk_thermal.c568 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()
615 struct mtk_thermal *mt = bank->mt; in mtk_thermal_get_bank() local
636 struct mtk_thermal *mt = bank->mt; in mtk_thermal_put_bank() local
651 struct mtk_thermal *mt = bank->mt; in mtk_thermal_bank_temperature() local
719 bank->mt = mt; in mtk_thermal_init_bank()
855 mt->vts[VTSABB] = in mtk_thermal_extract_efuse_v1()
899 mt->adc_ge = 512; in mtk_thermal_get_calibration_data()
901 mt->vts[i] = 260; in mtk_thermal_get_calibration_data()
903 mt->o_slope = 0; in mtk_thermal_get_calibration_data()
998 mt = devm_kzalloc(&pdev->dev, sizeof(*mt), GFP_KERNEL); in mtk_thermal_probe()
[all …]
/linux/drivers/video/fbdev/matrox/
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 …]
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 …]
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 …]
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 …]
/linux/net/netfilter/
A Dnft_set_pipapo.c390 bitmap_set(dst, mt[i].to, mt[i].n); in pipapo_refill()
634 goto mt; in pipapo_resize()
664 mt: in pipapo_resize()
683 f->mt = new_mt; in pipapo_resize()
1319 if (!dst->mt)
1322 memcpy(dst->mt, src->mt, src->rules * sizeof(*src->mt));
1437 memmove(mt + start, mt + start + n, (rules - start - n) * sizeof(*mt));
1438 memset(mt + rules - n, 0, n * sizeof(*mt));
1964 if (r < f->rules - 1 && f->mt[r + 1].e == f->mt[r].e)
2092 f->mt = NULL;
[all …]
A Dnft_set_pipapo_avx2.c157 union nft_pipapo_map_bucket *mt, bool last) in nft_pipapo_avx2_refill() argument
170 nft_pipapo_avx2_fill(dst, mt[i].to, mt[i].n); \ in nft_pipapo_avx2_refill()
173 ret = mt[i].to; \ in nft_pipapo_avx2_refill()
245 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_2()
321 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_4()
415 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_8()
505 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_12()
640 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_32()
697 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_8b_1()
1066 b = pipapo_refill(map, bsize, f->rules, fill, f->mt, last); in nft_pipapo_avx2_lookup_slow()
[all …]
/linux/drivers/input/mouse/
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 …]
A Delantech.c591 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
596 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
605 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
606 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
683 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
691 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
692 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
725 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
726 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
732 etd->mt[sid].x += delta_x2 * weight; in process_packet_motion_v4()
[all …]
/linux/mm/
A Dpage_reporting.c84 int mt = get_pageblock_migratetype(page); in page_reporting_drain() local
87 __putback_isolated_page(page, order, mt); in page_reporting_drain()
115 unsigned int order, unsigned int mt, in page_reporting_cycle() argument
119 struct list_head *list = &area->free_list[mt]; in page_reporting_cycle()
231 unsigned int order, mt, leftover, offset = PAGE_REPORTING_CAPACITY; in page_reporting_process_zone() local
248 for (mt = 0; mt < MIGRATE_TYPES; mt++) { in page_reporting_process_zone()
250 if (is_migrate_isolate(mt)) in page_reporting_process_zone()
253 err = page_reporting_cycle(prdev, zone, order, mt, in page_reporting_process_zone()
/linux/include/trace/events/
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,
/linux/include/linux/input/
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()
/linux/drivers/slimbus/
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 …]
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()
A Dqcom-ngd-ctrl.c605 u8 mc, mt, len; in qcom_slim_ngd_rx() local
607 mt = SLIM_HEADER_GET_MT(buf[0]); in qcom_slim_ngd_rx()
793 if (txn->mt == SLIM_MSG_MT_CORE && in qcom_slim_ngd_xfer_msg()
813 if (txn->mt == SLIM_MSG_MT_CORE && in qcom_slim_ngd_xfer_msg()
869 if (slim_tid_txn(txn->mt, txn->mc)) in qcom_slim_ngd_xfer_msg()
872 if (slim_ec_txn(txn->mt, txn->mc)) { in qcom_slim_ngd_xfer_msg()
890 txn->mt); in qcom_slim_ngd_xfer_msg()
899 txn->mc, txn->mt); in qcom_slim_ngd_xfer_msg()
926 txn->mt); in qcom_slim_ngd_xfer_msg_sync()
993 txn.mt); in qcom_slim_ngd_enable_stream()
[all …]
A Dmessaging.c121 (txn->mt == SLIM_MSG_MT_CORE && in slim_do_transfer()
136 need_tid = slim_tid_txn(txn->mt, txn->mc); in slim_do_transfer()
164 txn->mt, txn->mc, txn->la, ret); in slim_do_transfer()
267 if (slim_tid_txn(txn->mt, txn->mc)) in slim_xfer_msg()
/linux/arch/mips/kernel/
A DMakefile59 obj-$(CONFIG_MIPS_MT) += mips-mt.o
60 obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
61 obj-$(CONFIG_MIPS_MT_SMP) += smp-mt.o
69 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
72 obj-$(CONFIG_MIPS_VPE_APSP_API_MT) += rtlx-mt.o
/linux/drivers/edac/
A Ddmc520_edac.c294 enum mem_type mt = MEM_UNKNOWN; in dmc520_get_mtype() local
303 mt = MEM_DDR3; in dmc520_get_mtype()
307 mt = MEM_DDR4; in dmc520_get_mtype()
311 return mt; in dmc520_get_mtype()
450 enum mem_type mt; in dmc520_init_csrow() local
455 mt = dmc520_get_mtype(pvt); in dmc520_init_csrow()
466 dimm->mtype = mt; in dmc520_init_csrow()
/linux/Documentation/driver-api/
A Dinput.rst22 .. kernel-doc:: include/linux/input/mt.h
25 .. kernel-doc:: drivers/input/input-mt.c
/linux/arch/arm/mm/
A Dmm.h64 #define VM_ARM_MTYPE(mt) ((mt) << 20) argument
/linux/arch/arm/include/asm/
A Dmpu.h70 #define PMSAv8_MAIR(attr, mt) ((attr) << ((mt) * 8)) argument
/linux/Documentation/devicetree/bindings/arm/mediatek/
A Dmediatek,vcodecsys.txt14 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
18 The available power doamins are defined in dt-bindings/power/mt*-power.h.
A Dmediatek,mipi0a.txt15 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
19 The available power doamins are defined in dt-bindings/power/mt*-power.h.
/linux/drivers/video/fbdev/aty/
A Dradeon_monitor.c74 int i, mt = MT_NONE; in radeon_parse_montype_prop() local
85 mt = MT_DFP; in radeon_parse_montype_prop()
87 mt = MT_CRT; in radeon_parse_montype_prop()
110 return mt; in radeon_parse_montype_prop()
114 return mt; in radeon_parse_montype_prop()
116 return mt; in radeon_parse_montype_prop()
145 int mt = radeon_parse_montype_prop(dp, out_EDID, 0); in radeon_probe_OF_head() local
149 if (mt == MT_DFP && rinfo->is_mobility) in radeon_probe_OF_head()
150 mt = MT_LCD; in radeon_probe_OF_head()
151 return mt; in radeon_probe_OF_head()

Completed in 73 milliseconds

12345