Home
last modified time | relevance | path

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

123

/linux-2.6.39/drivers/input/
Dinput-mt.c33 if (dev->mt) in input_mt_init_slots()
36 dev->mt = kcalloc(num_slots, sizeof(struct input_mt_slot), GFP_KERNEL); in input_mt_init_slots()
37 if (!dev->mt) in input_mt_init_slots()
47 input_mt_set_value(&dev->mt[i], ABS_MT_TRACKING_ID, -1); in input_mt_init_slots()
62 kfree(dev->mt); in input_mt_destroy_slots()
63 dev->mt = NULL; in input_mt_destroy_slots()
85 struct input_mt_slot *mt; in input_mt_report_slot_state() local
88 if (!dev->mt || !active) { in input_mt_report_slot_state()
93 mt = &dev->mt[dev->slot]; in input_mt_report_slot_state()
94 id = input_mt_get_value(mt, ABS_MT_TRACKING_ID); in input_mt_report_slot_state()
[all …]
DMakefile8 input-core-y := input.o input-compat.o input-mt.o ff-core.o
/linux-2.6.39/drivers/video/matrox/
Dmatroxfb_g450.c237 struct my_timming *mt, const struct output_desc *outd) in computeRegs() argument
252 hvis = ((mt->HDisplay << 1) + 3) & ~3; in computeRegs()
265 mt->mnp = mnp; in computeRegs()
266 mt->pixclock = g450_mnp2f(minfo, mnp); in computeRegs()
270 pixclock = 1000000000U / mt->pixclock; in computeRegs()
275 do_div(piic, mt->pixclock); in computeRegs()
322 mt->interlaced = 1; in computeRegs()
324 mt->HDisplay = hvis & ~7; in computeRegs()
325 mt->HSyncStart = mt->HDisplay + 8; in computeRegs()
326 mt->HSyncEnd = (hlen & ~7) - 8; in computeRegs()
[all …]
Dmatroxfb_maven.c741 struct my_timming* mt, in maven_compute_timming() argument
757 if (maven_find_exact_clocks(mt->HTotal, mt->VTotal, m) == 0) in maven_compute_timming()
760 lmargin = mt->HTotal - mt->HSyncEnd; in maven_compute_timming()
761 slen = mt->HSyncEnd - mt->HSyncStart; in maven_compute_timming()
762 hcrt = mt->HTotal - slen - mt->delay; in maven_compute_timming()
763 umargin = mt->VTotal - mt->VSyncEnd; in maven_compute_timming()
764 vslen = mt->VSyncEnd - mt->VSyncStart; in maven_compute_timming()
766 if (m->hcorr < mt->HTotal) in maven_compute_timming()
768 if (hcrt > mt->HTotal) in maven_compute_timming()
769 hcrt -= mt->HTotal; in maven_compute_timming()
[all …]
Dmatroxfb_crtc2.c64 struct my_timming* mt, in matroxfb_dh_restore() argument
104 if (mt->interlaced) { in matroxfb_dh_restore()
106 mt->VDisplay >>= 1; in matroxfb_dh_restore()
107 mt->VSyncStart >>= 1; in matroxfb_dh_restore()
108 mt->VSyncEnd >>= 1; in matroxfb_dh_restore()
109 mt->VTotal >>= 1; in matroxfb_dh_restore()
111 if ((mt->HTotal & 7) == 2) { in matroxfb_dh_restore()
113 mt->HTotal &= ~7; in matroxfb_dh_restore()
116 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt->HTotal - 8)); in matroxfb_dh_restore()
117 mga_outl(0x3C18, ((mt->HSyncEnd - 8) << 16) | (mt->HSyncStart - 8)); in matroxfb_dh_restore()
[all …]
Dmatroxfb_misc.c106 void matroxfb_var2my(struct fb_var_screeninfo* var, struct my_timming* mt) { in matroxfb_var2my() argument
112 mt->pixclock = 1000000000 / pixclock; in matroxfb_var2my()
113 if (mt->pixclock < 1) mt->pixclock = 1; in matroxfb_var2my()
114 mt->mnp = -1; in matroxfb_var2my()
115 mt->dblscan = var->vmode & FB_VMODE_DOUBLE; in matroxfb_var2my()
116 mt->interlaced = var->vmode & FB_VMODE_INTERLACED; in matroxfb_var2my()
117 mt->HDisplay = var->xres; in matroxfb_var2my()
118 mt->HSyncStart = mt->HDisplay + var->right_margin; in matroxfb_var2my()
119 mt->HSyncEnd = mt->HSyncStart + var->hsync_len; in matroxfb_var2my()
120 mt->HTotal = mt->HSyncEnd + var->left_margin; in matroxfb_var2my()
[all …]
Dmatroxfb_base.c790 { struct my_timming mt; in matroxfb_set_par() local
794 matroxfb_var2my(var, &mt); in matroxfb_set_par()
795 mt.crtc = MATROXFB_SRC_CRTC1; in matroxfb_set_par()
798 case 0: mt.delay = 31 + 0; break; in matroxfb_set_par()
799 case 16: mt.delay = 21 + 8; break; in matroxfb_set_par()
800 case 24: mt.delay = 17 + 8; break; in matroxfb_set_par()
801 case 32: mt.delay = 16 + 8; break; in matroxfb_set_par()
802 default: mt.delay = 31 + 8; break; in matroxfb_set_par()
811 minfo->outputs[out].output->compute(minfo->outputs[out].data, &mt); in matroxfb_set_par()
815 minfo->crtc1.pixclock = mt.pixclock; in matroxfb_set_par()
[all …]
/linux-2.6.39/drivers/isdn/hisax/
Dl3_1tr6.c31 l3_1TR6_message(struct l3_process *pc, u_char mt, u_char pd) in l3_1TR6_message() argument
39 MsgHead(p, pc->callref, mt, pd); in l3_1TR6_message()
746 int i, mt, cr; in up1tr6() local
790 mt = skb->data[3]; in up1tr6()
795 (pr == (DL_DATA | INDICATION)) ? " " : "(broadcast) ", mt); in up1tr6()
800 if (mt == MT_N1_SETUP) { in up1tr6()
814 } else if ((mt == MT_N1_REL) || (mt == MT_N1_REL_ACK) || in up1tr6()
815 (mt == MT_N1_CANC_ACK) || (mt == MT_N1_CANC_REJ) || in up1tr6()
816 (mt == MT_N1_REG_ACK) || (mt == MT_N1_REG_REJ) || in up1tr6()
817 (mt == MT_N1_SUSP_ACK) || (mt == MT_N1_RES_REJ) || in up1tr6()
[all …]
Dq931.c1192 unsigned char pd, cr_l, cr, mt; in dlogframe() local
1260 mt = *buf++; in dlogframe()
1263 if (mt_n0[i].nr == mt) in dlogframe()
1269 size, mt); in dlogframe()
1276 if (mt_n1[i].nr == mt) in dlogframe()
1282 size, mt); in dlogframe()
1361 mt = *buf++; in dlogframe()
1363 if (mtlist[i].nr == mt) in dlogframe()
1370 size, mt); in dlogframe()
1447 mt = *buf++; in dlogframe()
[all …]
Dtei.c313 int mt; in tei_l1l2() local
343 mt = skb->data[3]; in tei_l1l2()
344 if (mt == ID_ASSIGNED) in tei_l1l2()
346 else if (mt == ID_DENIED) in tei_l1l2()
348 else if (mt == ID_CHK_REQ) in tei_l1l2()
350 else if (mt == ID_REMOVE) in tei_l1l2()
354 "tei handler wrong mt %x\n", mt); in tei_l1l2()
Dl3ni1.c428 l3ni1_message(struct l3_process *pc, u_char mt) in l3ni1_message() argument
436 MsgHead(p, pc->callref, mt); in l3ni1_message()
441 l3ni1_message_plus_chid(struct l3_process *pc, u_char mt) in l3ni1_message_plus_chid() argument
450 MsgHead(p, pc->callref, mt); in l3ni1_message_plus_chid()
462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3ni1_message_cause() argument
469 MsgHead(p, pc->callref, mt); in l3ni1_message_cause()
666 u_char mt; in check_infoelements() local
679 mt = *p++; in check_infoelements()
731 mt, err_compr, err_ureg, err_len, err_seq); in check_infoelements()
746 l3ni1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) in l3ni1_check_messagetype_validity() argument
[all …]
Dl3dss1.c499 l3dss1_message(struct l3_process *pc, u_char mt) in l3dss1_message() argument
507 MsgHead(p, pc->callref, mt); in l3dss1_message()
512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3dss1_message_cause() argument
519 MsgHead(p, pc->callref, mt); in l3dss1_message_cause()
716 u_char mt; in check_infoelements() local
729 mt = *p++; in check_infoelements()
781 mt, err_compr, err_ureg, err_len, err_seq); in check_infoelements()
796 l3dss1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) in l3dss1_check_messagetype_validity() argument
798 switch (mt) { in l3dss1_check_messagetype_validity()
823 l3_debug(pc->st, "l3dss1_check_messagetype_validity mt(%x) OK", mt); in l3dss1_check_messagetype_validity()
[all …]
Dhfcscard.c101 hfcs_card_msg(struct IsdnCardState *cs, int mt, void *arg) in hfcs_card_msg() argument
107 debugl1(cs, "HFCS: card_msg %x", mt); in hfcs_card_msg()
108 switch (mt) { in hfcs_card_msg()
Denternow_pci.c173 enpci_card_msg(struct IsdnCardState *cs, int mt, void *arg) in enpci_card_msg() argument
179 debugl1(cs, "enter:now PCI: card_msg: 0x%04X", mt); in enpci_card_msg()
181 switch (mt) { in enpci_card_msg()
Dnj_u.c102 NETjet_U_card_msg(struct IsdnCardState *cs, int mt, void *arg) in NETjet_U_card_msg() argument
106 switch (mt) { in NETjet_U_card_msg()
Dsportster.c158 Sportster_card_msg(struct IsdnCardState *cs, int mt, void *arg) in Sportster_card_msg() argument
162 switch (mt) { in Sportster_card_msg()
Dnj_s.c122 NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg) in NETjet_S_card_msg() argument
126 switch (mt) { in NETjet_S_card_msg()
/linux-2.6.39/Documentation/s390/
DTAPE42 tool mt can be used to perform control operations, such as rewinding the tape
67 The mt command is used to issue tape commands and the mkisofs command to
77 mt -f /dev/ntibm0 rewind
81 mt -f /dev/ntibm0 setblk 2048
87 mt -f /dev/ntibm0 rewind
/linux-2.6.39/drivers/video/aty/
Dradeon_monitor.c73 int i, mt = MT_NONE; in radeon_parse_montype_prop() local
84 mt = MT_DFP; in radeon_parse_montype_prop()
86 mt = MT_CRT; in radeon_parse_montype_prop()
109 return mt; in radeon_parse_montype_prop()
113 return mt; in radeon_parse_montype_prop()
115 return mt; in radeon_parse_montype_prop()
144 int mt = radeon_parse_montype_prop(dp, out_EDID, 0); in radeon_probe_OF_head() local
148 if (mt == MT_DFP && rinfo->is_mobility) in radeon_probe_OF_head()
149 mt = MT_LCD; in radeon_probe_OF_head()
150 return mt; in radeon_probe_OF_head()
/linux-2.6.39/arch/mips/kernel/
DMakefile59 obj-$(CONFIG_MIPS_MT) += mips-mt.o
60 obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
62 obj-$(CONFIG_MIPS_MT_SMP) += smp-mt.o
/linux-2.6.39/drivers/isdn/mISDN/
Dtei.c770 tei_ph_data_ind(struct teimgr *tm, u_int mt, u_char *dp, int len) in tei_ph_data_ind() argument
775 tm->tei_m.printdebug(&tm->tei_m, "tei handler mt %x", mt); in tei_ph_data_ind()
776 if (mt == ID_ASSIGNED) in tei_ph_data_ind()
778 else if (mt == ID_DENIED) in tei_ph_data_ind()
780 else if (mt == ID_CHK_REQ) in tei_ph_data_ind()
782 else if (mt == ID_REMOVE) in tei_ph_data_ind()
784 else if (mt == ID_VERIFY) in tei_ph_data_ind()
786 else if (mt == ID_CHK_RES) in tei_ph_data_ind()
878 u_char mt; in ph_data_ind() local
899 mt = skb->data[6]; in ph_data_ind()
[all …]
/linux-2.6.39/net/ipv4/
Dipconfig.c622 u8 mt = ((ic_servaddr == NONE) in ic_dhcp_init_options() local
628 printk("DHCP: Sending message type %d\n", mt); in ic_dhcp_init_options()
636 *e++ = mt; in ic_dhcp_init_options()
638 if (mt == DHCPREQUEST) { in ic_dhcp_init_options()
999 int mt = 0; in ic_bootp_recv() local
1012 mt = opt[2]; in ic_bootp_recv()
1022 printk("DHCP: Got message type %d\n", mt); in ic_bootp_recv()
1025 switch (mt) { in ic_bootp_recv()
1063 ic_dhcp_msgtype = mt; in ic_bootp_recv()
/linux-2.6.39/scripts/kconfig/
DMakefile241 pkg-config --exists qt-mt 2> /dev/null && pkg=qt-mt; \
264 test -f $$libpath/libqt-mt.so && lib=qt-mt; \
/linux-2.6.39/drivers/net/
Dsmc91x.h1089 const unsigned char *mt = (x); \
1090 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
1091 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
1092 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
1093 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
/linux-2.6.39/drivers/input/mouse/
Dsynaptics.h141 struct synaptics_hw_state mt; /* current gesture packet */ member

123