Searched refs:mt (Results 1 - 114 of 114) sorted by relevance

/linux-4.1.27/drivers/input/
H A Dinput-mt.c11 #include <linux/input/mt.h>
30 * @flags: mt tasks to handle in core
44 struct input_mt *mt = dev->mt; input_mt_init_slots() local
49 if (mt) input_mt_init_slots()
50 return mt->num_slots != num_slots ? -EINVAL : 0; input_mt_init_slots()
52 mt = kzalloc(sizeof(*mt) + num_slots * sizeof(*mt->slots), GFP_KERNEL); input_mt_init_slots()
53 if (!mt) input_mt_init_slots()
56 mt->num_slots = num_slots; input_mt_init_slots()
57 mt->flags = flags; input_mt_init_slots()
86 mt->red = kcalloc(n2, sizeof(*mt->red), GFP_KERNEL); input_mt_init_slots()
87 if (!mt->red) input_mt_init_slots()
93 input_mt_set_value(&mt->slots[i], ABS_MT_TRACKING_ID, -1); input_mt_init_slots()
96 mt->frame = 1; input_mt_init_slots()
98 dev->mt = mt; input_mt_init_slots()
101 kfree(mt); input_mt_init_slots()
115 if (dev->mt) { input_mt_destroy_slots()
116 kfree(dev->mt->red); input_mt_destroy_slots()
117 kfree(dev->mt); input_mt_destroy_slots()
119 dev->mt = NULL; input_mt_destroy_slots()
138 struct input_mt *mt = dev->mt; input_mt_report_slot_state() local
142 if (!mt) input_mt_report_slot_state()
145 slot = &mt->slots[mt->slot]; input_mt_report_slot_state()
146 slot->frame = mt->frame; input_mt_report_slot_state()
155 id = input_mt_new_trkid(mt); input_mt_report_slot_state()
196 struct input_mt *mt = dev->mt; input_mt_report_pointer_emulation() local
200 if (!mt) input_mt_report_pointer_emulation()
204 oldid = mt->trkid; input_mt_report_pointer_emulation()
207 for (i = 0; i < mt->num_slots; ++i) { input_mt_report_pointer_emulation()
208 struct input_mt_slot *ps = &mt->slots[i]; input_mt_report_pointer_emulation()
242 static void __input_mt_drop_unused(struct input_dev *dev, struct input_mt *mt) __input_mt_drop_unused() argument
246 for (i = 0; i < mt->num_slots; i++) { __input_mt_drop_unused()
247 if (!input_mt_is_used(mt, &mt->slots[i])) { __input_mt_drop_unused()
262 struct input_mt *mt = dev->mt; input_mt_drop_unused() local
264 if (mt) { input_mt_drop_unused()
265 __input_mt_drop_unused(dev, mt); input_mt_drop_unused()
266 mt->frame++; input_mt_drop_unused()
272 * input_mt_sync_frame() - synchronize mt frame
281 struct input_mt *mt = dev->mt; input_mt_sync_frame() local
284 if (!mt) input_mt_sync_frame()
287 if (mt->flags & INPUT_MT_DROP_UNUSED) input_mt_sync_frame()
288 __input_mt_drop_unused(dev, mt); input_mt_sync_frame()
290 if ((mt->flags & INPUT_MT_POINTER) && !(mt->flags & INPUT_MT_SEMI_MT)) input_mt_sync_frame()
295 mt->frame++; input_mt_sync_frame()
344 static int input_mt_set_matrix(struct input_mt *mt, input_mt_set_matrix() argument
350 int *w = mt->red; input_mt_set_matrix()
353 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { input_mt_set_matrix()
364 return w - mt->red; input_mt_set_matrix()
367 static void input_mt_set_slots(struct input_mt *mt, input_mt_set_slots() argument
371 int *w = mt->red, j; input_mt_set_slots()
376 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { input_mt_set_slots()
382 slots[j] = s - mt->slots; input_mt_set_slots()
390 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) { input_mt_set_slots()
396 slots[j] = s - mt->slots; input_mt_set_slots()
425 struct input_mt *mt = dev->mt; input_mt_assign_slots() local
429 if (!mt || !mt->red) input_mt_assign_slots()
431 if (num_pos > mt->num_slots) input_mt_assign_slots()
436 nrc = input_mt_set_matrix(mt, pos, num_pos, mu); input_mt_assign_slots()
437 find_reduced_matrix(mt->red, num_pos, nrc / num_pos, nrc, mu); input_mt_assign_slots()
438 input_mt_set_slots(mt, slots, num_pos); input_mt_assign_slots()
458 struct input_mt *mt = dev->mt; input_mt_get_slot_by_key() local
461 if (!mt) input_mt_get_slot_by_key()
464 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) input_mt_get_slot_by_key()
466 return s - mt->slots; input_mt_get_slot_by_key()
468 for (s = mt->slots; s != mt->slots + mt->num_slots; s++) input_mt_get_slot_by_key()
469 if (!input_mt_is_active(s) && !input_mt_is_used(mt, s)) { input_mt_get_slot_by_key()
471 return s - mt->slots; input_mt_get_slot_by_key()
H A DMakefile8 input-core-y := input.o input-compat.o input-mt.o ff-core.o
H A Dinput.c18 #include <linux/input/mt.h>
218 struct input_mt *mt = dev->mt; input_handle_abs_event() local
227 if (mt && *pval >= 0 && *pval < mt->num_slots) input_handle_abs_event()
228 mt->slot = *pval; input_handle_abs_event()
237 } else if (mt) { input_handle_abs_event()
238 pold = &mt->slots[mt->slot].abs[code - ABS_MT_FIRST]; input_handle_abs_event()
257 if (is_mt_event && mt && mt->slot != input_abs_get_val(dev, ABS_MT_SLOT)) { input_handle_abs_event()
258 input_abs_set_val(dev, ABS_MT_SLOT, mt->slot); input_handle_abs_event()
391 v->value = dev->mt->slot; input_handle_event()
1969 if (dev->mt) { input_estimate_events_per_packet()
1970 mt_slots = dev->mt->num_slots; input_estimate_events_per_packet()
H A Devdev.c25 #include <linux/input/mt.h>
824 const struct input_mt *mt = dev->mt; evdev_handle_mt_request() local
831 if (!mt || !input_is_mt_value(code)) evdev_handle_mt_request()
835 for (i = 0; i < mt->num_slots && i < max_slots; i++) { evdev_handle_mt_request()
836 int value = input_mt_get_value(&mt->slots[i], code); evdev_handle_mt_request()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c237 struct my_timming *mt, const struct output_desc *outd) computeRegs()
252 hvis = ((mt->HDisplay << 1) + 3) & ~3; computeRegs()
265 mt->mnp = mnp; computeRegs()
266 mt->pixclock = g450_mnp2f(minfo, mnp); computeRegs()
270 pixclock = 1000000000U / mt->pixclock; computeRegs()
275 do_div(piic, mt->pixclock); computeRegs()
322 mt->interlaced = 1; computeRegs()
324 mt->HDisplay = hvis & ~7; computeRegs()
325 mt->HSyncStart = mt->HDisplay + 8; computeRegs()
326 mt->HSyncEnd = (hlen & ~7) - 8; computeRegs()
327 mt->HTotal = hlen; computeRegs()
335 vtotal = mt->VTotal; computeRegs()
336 vsyncend = mt->VSyncEnd; computeRegs()
337 vdisplay = mt->VDisplay; computeRegs()
353 mt->VDisplay = vdisplay; computeRegs()
354 mt->VSyncStart = outd->v_total - 2; computeRegs()
355 mt->VSyncEnd = outd->v_total; computeRegs()
356 mt->VTotal = outd->v_total; computeRegs()
520 static int matroxfb_g450_compute(void* md, struct my_timming* mt) { matroxfb_g450_compute() argument
525 if (mt->crtc == MATROXFB_SRC_CRTC2 && matroxfb_g450_compute()
547 computeRegs(minfo, &minfo->hw.maven, mt, outd); matroxfb_g450_compute()
548 } else if (mt->mnp < 0) { matroxfb_g450_compute()
551 mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL_C : M_VIDEO_PLL); matroxfb_g450_compute()
552 mt->pixclock = g450_mnp2f(minfo, mt->mnp); matroxfb_g450_compute()
554 dprintk(KERN_DEBUG "Pixclock = %u\n", mt->pixclock); matroxfb_g450_compute()
577 static int g450_dvi_compute(void* md, struct my_timming* mt) { g450_dvi_compute() argument
580 if (mt->mnp < 0) { g450_dvi_compute()
581 mt->mnp = matroxfb_g450_setclk(minfo, mt->pixclock, (mt->crtc == MATROXFB_SRC_CRTC1) ? M_PIXEL_PLL_C : M_VIDEO_PLL); g450_dvi_compute()
582 mt->pixclock = g450_mnp2f(minfo, mt->mnp); g450_dvi_compute()
236 computeRegs(struct matrox_fb_info *minfo, struct mavenregs *r, struct my_timming *mt, const struct output_desc *outd) computeRegs() argument
H A Dmatroxfb_maven.c755 struct my_timming* mt, maven_compute_timming()
771 if (maven_find_exact_clocks(mt->HTotal, mt->VTotal, m) == 0) maven_compute_timming()
774 lmargin = mt->HTotal - mt->HSyncEnd; maven_compute_timming()
775 slen = mt->HSyncEnd - mt->HSyncStart; maven_compute_timming()
776 hcrt = mt->HTotal - slen - mt->delay; maven_compute_timming()
777 umargin = mt->VTotal - mt->VSyncEnd; maven_compute_timming()
778 vslen = mt->VSyncEnd - mt->VSyncStart; maven_compute_timming()
780 if (m->hcorr < mt->HTotal) maven_compute_timming()
782 if (hcrt > mt->HTotal) maven_compute_timming()
783 hcrt -= mt->HTotal; maven_compute_timming()
784 if (hcrt + 2 > mt->HTotal) maven_compute_timming()
803 m->regs[0xA2] = mt->VTotal - mt->VSyncStart - 1; /* stop vblanking */ maven_compute_timming()
804 m->regs[0xA3] = (mt->VTotal - mt->VSyncStart - 1) >> 8; maven_compute_timming()
817 m->regs[0xA8] = mt->VTotal - 1; maven_compute_timming()
818 m->regs[0xA9] = (mt->VTotal - 1) >> 8; maven_compute_timming()
823 m->regs[0xAC] = mt->VTotal - 2; maven_compute_timming()
824 m->regs[0xAD] = (mt->VTotal - 2) >> 8; maven_compute_timming()
831 unsigned int ibmin = 4 + lmargin + mt->HDisplay; maven_compute_timming()
837 if (mt->HTotal) maven_compute_timming()
838 hdec = 94208 / (mt->HTotal); maven_compute_timming()
846 hlen = 98304 - 128 - ((lmargin + mt->HDisplay - 8) * hdec); maven_compute_timming()
887 if (mt->VTotal) { maven_compute_timming()
894 b = (mt->VTotal - 1) * (m->htotal + 2) + m->hcorr + 2; maven_compute_timming()
900 vdec = m->vlines * 32768 / mt->VTotal; maven_compute_timming()
906 vlen = (vslen + umargin + mt->VDisplay) * vdec; maven_compute_timming()
921 DAC1064_calcclock(mt->pixclock, 450000, &a, &bv, &c); maven_compute_timming()
930 m->regs[0x96] = mt->HTotal; maven_compute_timming()
931 m->regs[0x97] = mt->HTotal >> 8; maven_compute_timming()
936 tmpi = mt->HSyncEnd - mt->HSyncStart; maven_compute_timming()
940 tmpi = mt->HTotal - mt->HSyncStart; maven_compute_timming()
944 tmpi += mt->HDisplay; maven_compute_timming()
948 tmpi = mt->HTotal + 1; maven_compute_timming()
952 tmpi = mt->VSyncEnd - mt->VSyncStart - 1; maven_compute_timming()
956 tmpi = mt->VTotal - mt->VSyncStart; maven_compute_timming()
960 tmpi = mt->VTotal - 1; maven_compute_timming()
967 tmpi = mt->HTotal - mt->delay; maven_compute_timming()
971 tmpi = mt->VTotal - 2; maven_compute_timming()
1147 static int maven_out_compute(void* md, struct my_timming* mt) { maven_out_compute() argument
1150 return maven_compute_timming(md, mt, &minfo->hw.maven); maven_out_compute()
754 maven_compute_timming(struct maven_data* md, struct my_timming* mt, struct mavenregs* m) maven_compute_timming() argument
H A Dmatroxfb_crtc2.c64 struct my_timming* mt, matroxfb_dh_restore()
104 if (mt->interlaced) { matroxfb_dh_restore()
106 mt->VDisplay >>= 1; matroxfb_dh_restore()
107 mt->VSyncStart >>= 1; matroxfb_dh_restore()
108 mt->VSyncEnd >>= 1; matroxfb_dh_restore()
109 mt->VTotal >>= 1; matroxfb_dh_restore()
111 if ((mt->HTotal & 7) == 2) { matroxfb_dh_restore()
113 mt->HTotal &= ~7; matroxfb_dh_restore()
116 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); matroxfb_dh_restore()
117 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); matroxfb_dh_restore()
118 mga_outl(0x3C1C, ((mt->VDisplay - 1) << 16) | (mt->VTotal - 1)); matroxfb_dh_restore()
119 mga_outl(0x3C20, ((mt->VSyncEnd - 1) << 16) | (mt->VSyncStart - 1)); matroxfb_dh_restore()
120 mga_outl(0x3C24, ((mt->VSyncStart) << 16) | (mt->HSyncStart)); /* preload */ matroxfb_dh_restore()
152 tmp = mt->VDisplay << 16; /* line compare */ matroxfb_dh_restore()
153 if (mt->sync & FB_SYNC_HOR_HIGH_ACT) matroxfb_dh_restore()
155 if (mt->sync & FB_SYNC_VERT_HIGH_ACT) matroxfb_dh_restore()
343 struct my_timming mt; matroxfb_dh_set_par() local
348 matroxfb_var2my(&m2info->fbcon.var, &mt); matroxfb_dh_set_par()
349 mt.crtc = MATROXFB_SRC_CRTC2; matroxfb_dh_set_par()
351 mt.delay = 34; matroxfb_dh_set_par()
361 minfo->outputs[out].output->compute(minfo->outputs[out].data, &mt); matroxfb_dh_set_par()
365 minfo->crtc2.pixclock = mt.pixclock; matroxfb_dh_set_par()
366 minfo->crtc2.mnp = mt.mnp; matroxfb_dh_set_par()
369 matroxfb_dh_restore(m2info, &mt, mode, pos); matroxfb_dh_set_par()
63 matroxfb_dh_restore(struct matroxfb_dh_fb_info* m2info, struct my_timming* mt, int mode, unsigned int pos) matroxfb_dh_restore() argument
H A Dmatroxfb_misc.c106 void matroxfb_var2my(struct fb_var_screeninfo* var, struct my_timming* mt) { matroxfb_var2my() argument
112 mt->pixclock = 1000000000 / pixclock; matroxfb_var2my()
113 if (mt->pixclock < 1) mt->pixclock = 1; matroxfb_var2my()
114 mt->mnp = -1; matroxfb_var2my()
115 mt->dblscan = var->vmode & FB_VMODE_DOUBLE; matroxfb_var2my()
116 mt->interlaced = var->vmode & FB_VMODE_INTERLACED; matroxfb_var2my()
117 mt->HDisplay = var->xres; matroxfb_var2my()
118 mt->HSyncStart = mt->HDisplay + var->right_margin; matroxfb_var2my()
119 mt->HSyncEnd = mt->HSyncStart + var->hsync_len; matroxfb_var2my()
120 mt->HTotal = mt->HSyncEnd + var->left_margin; matroxfb_var2my()
121 mt->VDisplay = var->yres; matroxfb_var2my()
122 mt->VSyncStart = mt->VDisplay + var->lower_margin; matroxfb_var2my()
123 mt->VSyncEnd = mt->VSyncStart + var->vsync_len; matroxfb_var2my()
124 mt->VTotal = mt->VSyncEnd + var->upper_margin; matroxfb_var2my()
125 mt->sync = var->sync; matroxfb_var2my()
H A Dmatroxfb_base.c789 { struct my_timming mt; local
793 matroxfb_var2my(var, &mt);
794 mt.crtc = MATROXFB_SRC_CRTC1;
797 case 0: mt.delay = 31 + 0; break;
798 case 16: mt.delay = 21 + 8; break;
799 case 24: mt.delay = 17 + 8; break;
800 case 32: mt.delay = 16 + 8; break;
801 default: mt.delay = 31 + 8; break;
810 minfo->outputs[out].output->compute(minfo->outputs[out].data, &mt);
814 minfo->crtc1.pixclock = mt.pixclock;
815 minfo->crtc1.mnp = mt.mnp;
816 minfo->hw_switch->init(minfo, &mt);
H A Dmatroxfb_base.h721 extern void matroxfb_var2my(struct fb_var_screeninfo* fvsi, struct my_timming* mt);
/linux-4.1.27/arch/mips/kernel/
H A DMakefile49 obj-$(CONFIG_MIPS_MT) += mips-mt.o
50 obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
51 obj-$(CONFIG_MIPS_MT_SMP) += smp-mt.o
59 obj-$(CONFIG_MIPS_VPE_LOADER_MT) += vpe-mt.o
62 obj-$(CONFIG_MIPS_VPE_APSP_API_MT) += rtlx-mt.o
H A Dproc.c117 if (cpu_has_mipsmt) seq_printf(m, "%s", " mt"); show_cpuinfo()
H A Dcps-vec.S233 .set mt
350 .set mt
H A Dgenex.S447 BUILD_HANDLER mt mt sti silent /* #25 */
H A Dmips-mt.c306 mtc = class_create(THIS_MODULE, "mt"); mt_init()
/linux-4.1.27/include/linux/input/
H A Dmt.h22 #define INPUT_MT_SEMI_MT 0x0010 /* semi-mt device, finger count handled manually */
73 static inline bool input_mt_is_used(const struct input_mt *mt, input_mt_is_used() argument
76 return slot->frame == mt->frame; input_mt_is_used()
83 static inline int input_mt_new_trkid(struct input_mt *mt) input_mt_new_trkid() argument
85 return mt->trkid++ & TRKID_MAX; input_mt_new_trkid()
/linux-4.1.27/drivers/isdn/hisax/
H A Dl3_1tr6.c31 l3_1TR6_message(struct l3_process *pc, u_char mt, u_char pd) l3_1TR6_message() argument
39 MsgHead(p, pc->callref, mt, pd); l3_1TR6_message()
744 int i, mt, cr; up1tr6() local
784 mt = skb->data[3]; up1tr6()
788 l3_debug(st, "up1tr6%s N0 mt %x unhandled", up1tr6()
789 (pr == (DL_DATA | INDICATION)) ? " " : "(broadcast) ", mt); up1tr6()
793 if (mt == MT_N1_SETUP) { up1tr6()
806 } else if ((mt == MT_N1_REL) || (mt == MT_N1_REL_ACK) || up1tr6()
807 (mt == MT_N1_CANC_ACK) || (mt == MT_N1_CANC_REJ) || up1tr6()
808 (mt == MT_N1_REG_ACK) || (mt == MT_N1_REG_REJ) || up1tr6()
809 (mt == MT_N1_SUSP_ACK) || (mt == MT_N1_RES_REJ) || up1tr6()
810 (mt == MT_N1_INFO)) { up1tr6()
821 mt = MT_N1_INVALID; up1tr6()
825 if ((mt == datastln1[i].primitive) && up1tr6()
831 l3_debug(st, "up1tr6%sstate %d mt %x unhandled", up1tr6()
833 proc->state, mt); up1tr6()
838 l3_debug(st, "up1tr6%sstate %d mt %x", up1tr6()
840 proc->state, mt); up1tr6()
H A Dtei.c313 int mt; tei_l1l2() local
343 mt = skb->data[3]; tei_l1l2()
344 if (mt == ID_ASSIGNED) tei_l1l2()
346 else if (mt == ID_DENIED) tei_l1l2()
348 else if (mt == ID_CHK_REQ) tei_l1l2()
350 else if (mt == ID_REMOVE) tei_l1l2()
354 "tei handler wrong mt %x\n", mt); tei_l1l2()
H A Dl3ni1.c428 l3ni1_message(struct l3_process *pc, u_char mt) l3ni1_message() argument
436 MsgHead(p, pc->callref, mt); l3ni1_message()
441 l3ni1_message_plus_chid(struct l3_process *pc, u_char mt) l3ni1_message_plus_chid() argument
450 MsgHead(p, pc->callref, mt); l3ni1_message_plus_chid()
462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) l3ni1_message_cause() argument
469 MsgHead(p, pc->callref, mt); l3ni1_message_cause()
666 u_char mt; check_infoelements() local
679 mt = *p++; check_infoelements()
731 mt, err_compr, err_ureg, err_len, err_seq); check_infoelements()
746 l3ni1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) l3ni1_check_messagetype_validity() argument
748 switch (mt) { l3ni1_check_messagetype_validity()
773 l3_debug(pc->st, "l3ni1_check_messagetype_validity mt(%x) OK", mt); l3ni1_check_messagetype_validity()
779 l3_debug(pc->st, "l3ni1_check_messagetype_validity mt(%x) fail", mt); l3ni1_check_messagetype_validity()
2844 global_handler(struct PStack *st, int mt, struct sk_buff *skb) global_handler() argument
2857 if ((mt == globalmes_list[i].primitive) && global_handler()
2862 l3_debug(st, "ni1 global state %d mt %x unhandled", global_handler()
2863 proc->state, mt); global_handler()
2880 l3_debug(st, "ni1 global %d mt %x", global_handler()
2881 proc->state, mt); global_handler()
2883 globalmes_list[i].rout(proc, mt, skb); global_handler()
2890 int i, mt, cr, callState; ni1up() local
2936 mt = skb->data[skb->data[1] + 2]; ni1up()
2945 if (mt == MT_FACILITY) ni1up()
2956 global_handler(st, mt, skb); ni1up()
2968 global_handler(st, mt, skb); ni1up()
2975 if (mt == MT_SETUP) { ni1up()
2992 } else if (mt == MT_STATUS) { ni1up()
3023 } else if (mt == MT_RELEASE_COMPLETE) { ni1up()
3039 if (l3ni1_check_messagetype_validity(proc, mt, skb)) { ni1up()
3046 if ((mt == datastatelist[i].primitive) && ni1up()
3051 l3_debug(st, "ni1up%sstate %d mt %#x unhandled", ni1up()
3053 proc->state, mt); ni1up()
3055 if ((MT_RELEASE_COMPLETE != mt) && (MT_RELEASE != mt)) { ni1up()
3061 l3_debug(st, "ni1up%sstate %d mt %x", ni1up()
3063 proc->state, mt); ni1up()
H A Dl3dss1.c499 l3dss1_message(struct l3_process *pc, u_char mt) l3dss1_message() argument
507 MsgHead(p, pc->callref, mt); l3dss1_message()
512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) l3dss1_message_cause() argument
519 MsgHead(p, pc->callref, mt); l3dss1_message_cause()
716 u_char mt; check_infoelements() local
729 mt = *p++; check_infoelements()
781 mt, err_compr, err_ureg, err_len, err_seq); check_infoelements()
796 l3dss1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) l3dss1_check_messagetype_validity() argument
798 switch (mt) { l3dss1_check_messagetype_validity()
823 l3_debug(pc->st, "l3dss1_check_messagetype_validity mt(%x) OK", mt); l3dss1_check_messagetype_validity()
829 l3_debug(pc->st, "l3dss1_check_messagetype_validity mt(%x) fail", mt); l3dss1_check_messagetype_validity()
2903 global_handler(struct PStack *st, int mt, struct sk_buff *skb) global_handler() argument
2913 if ((mt == globalmes_list[i].primitive) && global_handler()
2918 l3_debug(st, "dss1 global state %d mt %x unhandled", global_handler()
2919 proc->state, mt); global_handler()
2936 l3_debug(st, "dss1 global %d mt %x", global_handler()
2937 proc->state, mt); global_handler()
2939 globalmes_list[i].rout(proc, mt, skb); global_handler()
2946 int i, mt, cr, callState; dss1up() local
2988 mt = skb->data[skb->data[1] + 2]; dss1up()
2997 if (mt == MT_FACILITY) dss1up()
3012 global_handler(st, mt, skb); dss1up()
3019 if (mt == MT_SETUP) { dss1up()
3036 } else if (mt == MT_STATUS) { dss1up()
3067 } else if (mt == MT_RELEASE_COMPLETE) { dss1up()
3083 if (l3dss1_check_messagetype_validity(proc, mt, skb)) { dss1up()
3090 if ((mt == datastatelist[i].primitive) && dss1up()
3095 l3_debug(st, "dss1up%sstate %d mt %#x unhandled", dss1up()
3097 proc->state, mt); dss1up()
3099 if ((MT_RELEASE_COMPLETE != mt) && (MT_RELEASE != mt)) { dss1up()
3105 l3_debug(st, "dss1up%sstate %d mt %x", dss1up()
3107 proc->state, mt); dss1up()
H A Dhfcscard.c101 hfcs_card_msg(struct IsdnCardState *cs, int mt, void *arg) hfcs_card_msg() argument
107 debugl1(cs, "HFCS: card_msg %x", mt); hfcs_card_msg()
108 switch (mt) { hfcs_card_msg()
H A Dq931.c1192 unsigned char pd, cr_l, cr, mt; dlogframe() local
1260 mt = *buf++; dlogframe()
1263 if (mt_n0[i].nr == mt) dlogframe()
1269 size, mt); dlogframe()
1276 if (mt_n1[i].nr == mt) dlogframe()
1282 size, mt); dlogframe()
1361 mt = *buf++; dlogframe()
1363 if (mtlist[i].nr == mt) dlogframe()
1370 size, mt); dlogframe()
1447 mt = *buf++; dlogframe()
1449 if (mtlist[i].nr == mt) dlogframe()
1456 size, mt); dlogframe()
H A Davm_a1p.c175 AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg) AVM_card_msg() argument
179 switch (mt) { AVM_card_msg()
H A Disurf.c143 ISurf_card_msg(struct IsdnCardState *cs, int mt, void *arg) ISurf_card_msg() argument
147 switch (mt) { ISurf_card_msg()
H A Dix1_micro.c186 ix1_card_msg(struct IsdnCardState *cs, int mt, void *arg) ix1_card_msg() argument
190 switch (mt) { ix1_card_msg()
H A Dmic.c168 mic_card_msg(struct IsdnCardState *cs, int mt, void *arg) mic_card_msg() argument
172 switch (mt) { mic_card_msg()
H A Dnj_s.c122 NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg) NETjet_S_card_msg() argument
126 switch (mt) { NETjet_S_card_msg()
H A Dnj_u.c102 NETjet_U_card_msg(struct IsdnCardState *cs, int mt, void *arg) NETjet_U_card_msg() argument
106 switch (mt) { NETjet_U_card_msg()
H A Ds0box.c192 S0Box_card_msg(struct IsdnCardState *cs, int mt, void *arg) S0Box_card_msg() argument
196 switch (mt) { S0Box_card_msg()
H A Dsaphir.c218 saphir_card_msg(struct IsdnCardState *cs, int mt, void *arg) saphir_card_msg() argument
222 switch (mt) { saphir_card_msg()
H A Dsportster.c158 Sportster_card_msg(struct IsdnCardState *cs, int mt, void *arg) Sportster_card_msg() argument
162 switch (mt) { Sportster_card_msg()
H A Dteleint.c226 TeleInt_card_msg(struct IsdnCardState *cs, int mt, void *arg) TeleInt_card_msg() argument
231 switch (mt) { TeleInt_card_msg()
H A Dtelespci.c265 TelesPCI_card_msg(struct IsdnCardState *cs, int mt, void *arg) TelesPCI_card_msg() argument
269 switch (mt) { TelesPCI_card_msg()
H A Denternow_pci.c173 enpci_card_msg(struct IsdnCardState *cs, int mt, void *arg) enpci_card_msg() argument
179 debugl1(cs, "enter:now PCI: card_msg: 0x%04X", mt); enpci_card_msg()
181 switch (mt) { enpci_card_msg()
H A Davm_a1.c156 AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg) AVM_card_msg() argument
160 switch (mt) { AVM_card_msg()
H A Dbkm_a4t.c220 BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg) BKM_card_msg() argument
224 switch (mt) { BKM_card_msg()
H A Dbkm_a8.c222 BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg) BKM_card_msg() argument
226 switch (mt) { BKM_card_msg()
H A Dniccy.c201 static int niccy_card_msg(struct IsdnCardState *cs, int mt, void *arg) niccy_card_msg() argument
205 switch (mt) { niccy_card_msg()
H A Dteles0.c242 Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg) Teles_card_msg() argument
246 switch (mt) { Teles_card_msg()
H A Dasuscom.c272 Asus_card_msg(struct IsdnCardState *cs, int mt, void *arg) Asus_card_msg() argument
276 switch (mt) { Asus_card_msg()
H A Dteles3.c230 Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg) Teles_card_msg() argument
234 switch (mt) { Teles_card_msg()
H A Dgazel.c401 Gazel_card_msg(struct IsdnCardState *cs, int mt, void *arg) Gazel_card_msg() argument
405 switch (mt) { Gazel_card_msg()
H A Dhfc_sx.c1350 hfcsx_card_msg(struct IsdnCardState *cs, int mt, void *arg) hfcsx_card_msg() argument
1355 debugl1(cs, "HFCSX: card_msg %x", mt); hfcsx_card_msg()
1356 switch (mt) { hfcsx_card_msg()
H A Davm_pci.c686 AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg) AVM_card_msg() argument
690 switch (mt) { AVM_card_msg()
H A Ddiva.c836 Diva_card_msg(struct IsdnCardState *cs, int mt, void *arg) Diva_card_msg() argument
841 switch (mt) { Diva_card_msg()
H A Dsedlbauer.c441 Sedl_card_msg(struct IsdnCardState *cs, int mt, void *arg) Sedl_card_msg() argument
445 switch (mt) { Sedl_card_msg()
H A Dw6692.c970 w6692_card_msg(struct IsdnCardState *cs, int mt, void *arg) w6692_card_msg() argument
972 switch (mt) { w6692_card_msg()
H A Dhfc_pci.c1598 hfcpci_card_msg(struct IsdnCardState *cs, int mt, void *arg) hfcpci_card_msg() argument
1603 debugl1(cs, "HFCPCI: card_msg %x", mt); hfcpci_card_msg()
1604 switch (mt) { hfcpci_card_msg()
H A Dconfig.c1578 static int hisax_cardmsg(struct IsdnCardState *cs, int mt, void *arg);
1814 static int hisax_cardmsg(struct IsdnCardState *cs, int mt, void *arg) hisax_cardmsg() argument
H A Delsa.c650 Elsa_card_msg(struct IsdnCardState *cs, int mt, void *arg) Elsa_card_msg() argument
655 switch (mt) { Elsa_card_msg()
/linux-4.1.27/drivers/input/mouse/
H A Dalps.c20 #include <linux/input/mt.h>
356 * These two points are returned in fields->mt.
392 fields->mt[0] = fields->st; alps_process_bitmap_dolphin()
393 fields->mt[1].x = 2 * box_middle_x - fields->mt[0].x; alps_process_bitmap_dolphin()
394 fields->mt[1].y = 2 * box_middle_y - fields->mt[0].y; alps_process_bitmap_dolphin()
431 * These points are returned in fields->mt when the return value
470 fields->mt[0].x = alps_process_bitmap()
473 fields->mt[0].y = alps_process_bitmap()
477 fields->mt[1].x = alps_process_bitmap()
480 fields->mt[1].y = alps_process_bitmap()
486 fields->mt[0].y = priv->y_max - fields->mt[0].y; alps_process_bitmap()
487 fields->mt[1].y = priv->y_max - fields->mt[1].y; alps_process_bitmap()
508 input_mt_assign_slots(dev, slot, f->mt, n, 0); alps_report_mt_data()
510 alps_set_slot(dev, slot[i], f->mt[i].x, f->mt[i].y); alps_report_mt_data()
521 /* Use st data when we don't have mt data */ alps_report_semi_mt_data()
523 f->mt[0].x = f->st.x; alps_report_semi_mt_data()
524 f->mt[0].y = f->st.y; alps_report_semi_mt_data()
962 static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt, alps_get_finger_coordinate_v7() argument
966 mt[0].x = ((pkt[2] & 0x80) << 4); alps_get_finger_coordinate_v7()
967 mt[0].x |= ((pkt[2] & 0x3F) << 5); alps_get_finger_coordinate_v7()
968 mt[0].x |= ((pkt[3] & 0x30) >> 1); alps_get_finger_coordinate_v7()
969 mt[0].x |= (pkt[3] & 0x07); alps_get_finger_coordinate_v7()
970 mt[0].y = (pkt[1] << 3) | (pkt[0] & 0x07); alps_get_finger_coordinate_v7()
972 mt[1].x = ((pkt[3] & 0x80) << 4); alps_get_finger_coordinate_v7()
973 mt[1].x |= ((pkt[4] & 0x80) << 3); alps_get_finger_coordinate_v7()
974 mt[1].x |= ((pkt[4] & 0x3F) << 4); alps_get_finger_coordinate_v7()
975 mt[1].y = ((pkt[5] & 0x80) << 3); alps_get_finger_coordinate_v7()
976 mt[1].y |= ((pkt[5] & 0x3F) << 4); alps_get_finger_coordinate_v7()
980 mt[1].x &= ~0x000F; alps_get_finger_coordinate_v7()
981 mt[1].y |= 0x000F; alps_get_finger_coordinate_v7()
983 if (mt[1].y == 0x7ff && mt[1].x == 0xff0) { alps_get_finger_coordinate_v7()
984 mt[1].x = 0; alps_get_finger_coordinate_v7()
990 mt[1].x &= ~0x003F; alps_get_finger_coordinate_v7()
991 mt[1].y &= ~0x0020; alps_get_finger_coordinate_v7()
992 mt[1].y |= ((pkt[4] & 0x02) << 4); alps_get_finger_coordinate_v7()
993 mt[1].y |= 0x001F; alps_get_finger_coordinate_v7()
997 mt[1].x &= ~0x003F; alps_get_finger_coordinate_v7()
998 mt[1].x |= (pkt[0] & 0x20); alps_get_finger_coordinate_v7()
999 mt[1].y |= 0x000F; alps_get_finger_coordinate_v7()
1003 mt[0].y = 0x7FF - mt[0].y; alps_get_finger_coordinate_v7()
1004 mt[1].y = 0x7FF - mt[1].y; alps_get_finger_coordinate_v7()
1007 static int alps_get_mt_count(struct input_mt_pos *mt) alps_get_mt_count() argument
1012 if (mt[i].x != 0 || mt[i].y != 0) alps_get_mt_count()
1052 alps_get_finger_coordinate_v7(f->mt, p, pkt_id); alps_decode_packet_v7()
1055 f->fingers = alps_get_mt_count(f->mt); alps_decode_packet_v7()
1070 /* Sometimes a single touch is reported in mt[1] rather then mt[0] */ alps_decode_packet_v7()
1071 if (f->fingers == 1 && f->mt[0].x == 0 && f->mt[0].y == 0) { alps_decode_packet_v7()
1072 f->mt[0].x = f->mt[1].x; alps_decode_packet_v7()
1073 f->mt[0].y = f->mt[1].y; alps_decode_packet_v7()
1074 f->mt[1].x = 0; alps_decode_packet_v7()
1075 f->mt[1].y = 0; alps_decode_packet_v7()
1125 alps_report_mt_data(psmouse, alps_get_mt_count(f->mt)); alps_process_touchpad_packet_v7()
1176 f->mt[0].x = SS4_1F_X_V2(p); alps_decode_ss4_v2()
1177 f->mt[0].y = SS4_1F_Y_V2(p); alps_decode_ss4_v2()
1186 f->mt[0].x = SS4_BTL_MF_X_V2(p, 0); alps_decode_ss4_v2()
1187 f->mt[0].y = SS4_BTL_MF_Y_V2(p, 0); alps_decode_ss4_v2()
1188 f->mt[1].x = SS4_BTL_MF_X_V2(p, 1); alps_decode_ss4_v2()
1189 f->mt[1].y = SS4_BTL_MF_Y_V2(p, 1); alps_decode_ss4_v2()
1191 f->mt[0].x = SS4_STD_MF_X_V2(p, 0); alps_decode_ss4_v2()
1192 f->mt[0].y = SS4_STD_MF_Y_V2(p, 0); alps_decode_ss4_v2()
1193 f->mt[1].x = SS4_STD_MF_X_V2(p, 1); alps_decode_ss4_v2()
1194 f->mt[1].y = SS4_STD_MF_Y_V2(p, 1); alps_decode_ss4_v2()
1210 f->mt[2].x = SS4_BTL_MF_X_V2(p, 0); alps_decode_ss4_v2()
1211 f->mt[2].y = SS4_BTL_MF_Y_V2(p, 0); alps_decode_ss4_v2()
1212 f->mt[3].x = SS4_BTL_MF_X_V2(p, 1); alps_decode_ss4_v2()
1213 f->mt[3].y = SS4_BTL_MF_Y_V2(p, 1); alps_decode_ss4_v2()
1217 f->mt[2].x = SS4_STD_MF_X_V2(p, 0); alps_decode_ss4_v2()
1218 f->mt[2].y = SS4_STD_MF_Y_V2(p, 0); alps_decode_ss4_v2()
1219 f->mt[3].x = SS4_STD_MF_X_V2(p, 1); alps_decode_ss4_v2()
1220 f->mt[3].y = SS4_STD_MF_Y_V2(p, 1); alps_decode_ss4_v2()
1230 } else if (f->mt[3].x == no_data_x && alps_decode_ss4_v2()
1231 f->mt[3].y == no_data_y) { alps_decode_ss4_v2()
1232 f->mt[3].x = 0; alps_decode_ss4_v2()
1233 f->mt[3].y = 0; alps_decode_ss4_v2()
H A Delantech.c18 #include <linux/input/mt.h>
498 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; elantech_report_absolute_v3()
503 etd->mt[0].y = etd->y_max - elantech_report_absolute_v3()
512 x1 = etd->mt[0].x; elantech_report_absolute_v3()
513 y1 = etd->mt[0].y; elantech_report_absolute_v3()
595 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; process_packet_head_v4()
596 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); process_packet_head_v4()
603 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); process_packet_head_v4()
604 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); process_packet_head_v4()
637 etd->mt[id].x += delta_x1 * weight; process_packet_motion_v4()
638 etd->mt[id].y -= delta_y1 * weight; process_packet_motion_v4()
640 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); process_packet_motion_v4()
641 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); process_packet_motion_v4()
644 etd->mt[sid].x += delta_x2 * weight; process_packet_motion_v4()
645 etd->mt[sid].y -= delta_y2 * weight; process_packet_motion_v4()
647 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[sid].x); process_packet_motion_v4()
648 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[sid].y); process_packet_motion_v4()
H A Dalps.h15 #include <linux/input/mt.h>
187 * @mt: position for MT.
204 struct input_mt_pos mt[MAX_TOUCHES]; member in struct:alps_fields
H A Delantech.h142 struct finger_pos mt[ETP_MAX_FINGERS]; member in struct:elantech_data
H A Dfocaltech.c20 #include <linux/input/mt.h>
H A Dcypress_ps2.c24 #include <linux/input/mt.h>
H A Dsynaptics.c29 #include <linux/input/mt.h>
1213 * other non-image sensors with AGM use semi-mt. set_input_params()
H A Dbcm5974.c42 #include <linux/input/mt.h>
H A Dcyapa.c20 #include <linux/input/mt.h>
H A Dcyapa_gen3.c20 #include <linux/input/mt.h>
H A Delan_i2c_core.c26 #include <linux/input/mt.h>
H A Dsentelic.c24 #include <linux/input/mt.h>
H A Dcyapa_gen5.c16 #include <linux/input/mt.h>
/linux-4.1.27/arch/arm/mm/
H A Dmm.h67 #define VM_ARM_MTYPE(mt) ((mt) << 20)
/linux-4.1.27/drivers/isdn/mISDN/
H A Dtei.c770 tei_ph_data_ind(struct teimgr *tm, u_int mt, u_char *dp, int len) tei_ph_data_ind() argument
775 tm->tei_m.printdebug(&tm->tei_m, "tei handler mt %x", mt); tei_ph_data_ind()
776 if (mt == ID_ASSIGNED) tei_ph_data_ind()
778 else if (mt == ID_DENIED) tei_ph_data_ind()
780 else if (mt == ID_CHK_REQ) tei_ph_data_ind()
782 else if (mt == ID_REMOVE) tei_ph_data_ind()
784 else if (mt == ID_VERIFY) tei_ph_data_ind()
786 else if (mt == ID_CHK_RES) tei_ph_data_ind()
891 u_char mt; ph_data_ind() local
912 mt = skb->data[6]; ph_data_ind()
913 switch (mt) { ph_data_ind()
931 if (mt == ID_REQUEST) { ph_data_ind()
936 tei_ph_data_ind(l2->tm, mt, &skb->data[4], skb->len - 4); ph_data_ind()
/linux-4.1.27/drivers/input/touchscreen/
H A Dof_touchscreen.c14 #include <linux/input/mt.h>
H A Dpenmount.c22 #include <linux/input/mt.h>
67 * pm_mtevent() sends mt events and also emulates pointer movement
H A Dchipone_icn8318.c19 #include <linux/input/mt.h>
H A Degalax_ts.c29 #include <linux/input/mt.h>
H A Dgoodix.c20 #include <linux/input/mt.h>
H A Dili210x.c6 #include <linux/input/mt.h>
H A Dwacom_w8001.c19 #include <linux/input/mt.h>
H A Dcyttsp_core.c32 #include <linux/input/mt.h>
H A Dmms114.c15 #include <linux/input/mt.h>
H A Dpixcir_i2c_ts.c26 #include <linux/input/mt.h>
H A Dsur40.c35 #include <linux/input/mt.h>
H A Dzforce_ts.c30 #include <linux/input/mt.h>
H A Dcyttsp4_core.c28 #include <linux/input/mt.h>
2098 dev_err(dev, "%s: Error, fail mt probe\n", __func__); cyttsp4_probe()
H A Dedt-ft5x06.c39 #include <linux/input/mt.h>
H A Delants_i2c.c38 #include <linux/input/mt.h>
H A Datmel_mxt_ts.c26 #include <linux/input/mt.h>
/linux-4.1.27/scripts/kconfig/
H A DMakefile226 pkg-config --exists qt-mt 2> /dev/null && pkg=qt-mt; \
249 test -f $$libpath/libqt-mt.so && lib=qt-mt; \
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_monitor.c73 int i, mt = MT_NONE; radeon_parse_montype_prop() local
84 mt = MT_DFP; radeon_parse_montype_prop()
86 mt = MT_CRT; radeon_parse_montype_prop()
109 return mt; radeon_parse_montype_prop()
113 return mt; radeon_parse_montype_prop()
115 return mt; radeon_parse_montype_prop()
144 int mt = radeon_parse_montype_prop(dp, out_EDID, 0); radeon_probe_OF_head() local
148 if (mt == MT_DFP && rinfo->is_mobility) radeon_probe_OF_head()
149 mt = MT_LCD; radeon_probe_OF_head()
150 return mt; radeon_probe_OF_head()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc91x.h990 const unsigned char *mt = (x); \
991 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
992 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
993 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
994 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
/linux-4.1.27/drivers/edac/
H A Dsynopsys_edac.c338 enum mem_type mt; synps_edac_get_mtype() local
344 mt = MEM_DDR3; synps_edac_get_mtype()
346 mt = MEM_DDR2; synps_edac_get_mtype()
348 return mt; synps_edac_get_mtype()
/linux-4.1.27/drivers/hid/
H A Dhid-multitouch.c45 #include <linux/input/mt.h>
102 struct mt_class mtclass; /* our mt device class */
124 unsigned mt_flags; /* flags to pass to input-mt */
576 struct input_mt *mt = input->mt; mt_complete_slot() local
581 if ((td->mtclass.quirks & MT_QUIRK_IGNORE_DUPLICATES) && mt) { mt_complete_slot()
582 struct input_mt_slot *slot = &mt->slots[slotnum]; mt_complete_slot()
584 input_mt_is_used(mt, slot)) mt_complete_slot()
H A Dwacom_wac.c17 #include <linux/input/mt.h>
1083 for (i = 0; i < input->mt->num_slots; i++) { wacom_wac_finger_count_touches()
1084 struct input_mt_slot *ps = &input->mt->slots[i]; wacom_wac_finger_count_touches()
1510 bool mt = wacom_wac->features.touch_max > 1; wacom_wac_finger_slot() local
1514 if (mt) { wacom_wac_finger_slot()
1526 input_report_abs(input, mt ? ABS_MT_POSITION_X : ABS_X, wacom_wac_finger_slot()
1528 input_report_abs(input, mt ? ABS_MT_POSITION_Y : ABS_Y, wacom_wac_finger_slot()
H A Dhid-magicmouse.c19 #include <linux/input/mt.h>
H A Dhid-logitech-hidpp.c23 #include <linux/input/mt.h>
H A Dhid-rmi.c16 #include <linux/input/mt.h>
H A Dwacom_sys.c16 #include <linux/input/mt.h>
H A Dhid-sony.c38 #include <linux/input/mt.h>
/linux-4.1.27/arch/arm64/mm/
H A Dproc.S46 #define MAIR(attr, mt) ((attr) << ((mt) * 8))
/linux-4.1.27/net/ipv4/
H A Dipconfig.c669 u8 mt = ((ic_servaddr == NONE) ic_dhcp_init_options() local
675 printk("DHCP: Sending message type %d\n", mt); ic_dhcp_init_options()
683 *e++ = mt; ic_dhcp_init_options()
685 if (mt == DHCPREQUEST) { ic_dhcp_init_options()
1047 int mt = 0; ic_bootp_recv() local
1060 mt = opt[2]; ic_bootp_recv()
1070 printk("DHCP: Got message type %d\n", mt); ic_bootp_recv()
1073 switch (mt) { ic_bootp_recv()
1111 ic_dhcp_msgtype = mt; ic_bootp_recv()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_disk.h125 static inline char *mt_str(enum ldd_mount_type mt) mt_str() argument
135 return mount_type_string[mt]; mt_str()
138 static inline char *mt_type(enum ldd_mount_type mt) mt_type() argument
148 return mount_type_string[mt]; mt_type()
/linux-4.1.27/arch/powerpc/kernel/
H A Dswsusp_asm64.S67 mt##special r0
/linux-4.1.27/include/net/nfc/
H A Dnci.h176 #define nci_mt_set(hdr, mt) ((hdr)[0] |= (__u8)(((mt)&0x07)<<5))
/linux-4.1.27/net/sched/
H A Dcls_fw.c12 * Karlis Peisenieks <karlis@mt.lv> : 990415 : fw_walk off by one
13 * Karlis Peisenieks <karlis@mt.lv> : 990415 : fw_delete killed all the filter (and kernel).
/linux-4.1.27/drivers/iommu/
H A Dmsm_iommu.c687 static int __init get_tex_class(int icp, int ocp, int mt, int nos) get_tex_class() argument
703 if (icp == c_icp && ocp == c_ocp && c_mt == mt && c_nos == nos) get_tex_class()
/linux-4.1.27/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c808 u8 *mt; go7007_s_ctrl() local
848 mt = go->modet_map; go7007_s_ctrl()
849 for (y = 0; y < go->height / 16; y++, mt += go->width / 16) go7007_s_ctrl()
850 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); go7007_s_ctrl()
/linux-4.1.27/drivers/soc/mediatek/
H A Dmtk-pmic-wrap.c901 "mt-pmic-pwrap", wrp); pwrap_probe()
928 .name = "mt-pmic-pwrap",
/linux-4.1.27/include/linux/
H A Dinput.h74 * @mt: pointer to multitouch state
158 struct input_mt *mt; member in struct:input_dev
/linux-4.1.27/mm/
H A Dpage_alloc.c750 int mt; /* migratetype of the to-be-freed page */ free_pcppages_bulk() local
755 mt = get_freepage_migratetype(page); free_pcppages_bulk()
757 mt = get_pageblock_migratetype(page); free_pcppages_bulk()
760 __free_one_page(page, page_to_pfn(page), zone, 0, mt); free_pcppages_bulk()
761 trace_mm_page_pcpu_drain(page, 0, mt); free_pcppages_bulk()
1659 int mt; __isolate_free_page() local
1664 mt = get_pageblock_migratetype(page); __isolate_free_page()
1666 if (!is_migrate_isolate(mt)) { __isolate_free_page()
1672 __mod_zone_freepage_state(zone, -(1UL << order), mt); __isolate_free_page()
1684 int mt = get_pageblock_migratetype(page); __isolate_free_page() local
1685 if (!is_migrate_isolate(mt) && !is_migrate_cma(mt)) __isolate_free_page()
6261 int mt; has_unmovable_pages() local
6269 mt = get_pageblock_migratetype(page); has_unmovable_pages()
6270 if (mt == MIGRATE_MOVABLE || is_migrate_cma(mt)) has_unmovable_pages()
/linux-4.1.27/drivers/scsi/
H A Dch.c329 VPRINTK(KERN_INFO, "type #1 (mt): 0x%x+%d [medium transport]\n", ch_readconfig()
/linux-4.1.27/drivers/input/misc/
H A Duinput.c42 #include <linux/input/mt.h>
/linux-4.1.27/drivers/staging/ste_rmi4/
H A Dsynaptics_i2c_rmi4.c34 #include <linux/input/mt.h>
/linux-4.1.27/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c979 .name = "mt-eint",
/linux-4.1.27/arch/x86/kvm/
H A Dmmu.c3686 int mt = pte >> 3; reset_rsvds_bits_mask_ept() local
3687 if (mt == 0x2 || mt == 0x3 || mt == 0x7 || reset_rsvds_bits_mask_ept()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_attr.c332 * GROT: another possible req'mt for a double-split btree op. xfs_attr_set()
/linux-4.1.27/fs/ext4/
H A Dinline.c3 * Written by Tao Ma <boyu.mt@taobao.com>
/linux-4.1.27/kernel/
H A Dexit.c618 /* mt-exec, de_thread() is waiting for group leader */ exit_notify()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dtopro.c1159 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x5d); /* mi/mt??? */ probe_6810()
1167 reg_w(gspca_dev, TP6800_R12_SIF_ADDR_S, 0x5c); /* mi/mt??? */ probe_6810()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c587 VPD_ENTRY(mt, 2); /* mem timing */
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-cards.c3149 pr_info("%d: pinnacle/mt: id=%d info=\"%s\" radio=%s\n", miro_pinnacle_gpio()

Completed in 3982 milliseconds