Home
last modified time | relevance | path

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

123

/linux-3.4.99/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 …]
/linux-3.4.99/drivers/input/
Dinput-mt.c34 if (dev->mt) in input_mt_init_slots()
37 dev->mt = kcalloc(num_slots, sizeof(struct input_mt_slot), GFP_KERNEL); in input_mt_init_slots()
38 if (!dev->mt) in input_mt_init_slots()
48 input_mt_set_value(&dev->mt[i], ABS_MT_TRACKING_ID, -1); in input_mt_init_slots()
63 kfree(dev->mt); in input_mt_destroy_slots()
64 dev->mt = NULL; in input_mt_destroy_slots()
86 struct input_mt_slot *mt; in input_mt_report_slot_state() local
89 if (!dev->mt || !active) { in input_mt_report_slot_state()
94 mt = &dev->mt[dev->slot]; in input_mt_report_slot_state()
95 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-3.4.99/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()
/linux-3.4.99/arch/arm/mm/
Dmm.h62 #define VM_ARM_MTYPE(mt) ((mt) << 20) argument
/linux-3.4.99/drivers/input/mouse/
Delantech.c442 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; in elantech_report_absolute_v3()
447 etd->mt[0].y = etd->y_max - in elantech_report_absolute_v3()
456 x1 = etd->mt[0].x; in elantech_report_absolute_v3()
457 y1 = etd->mt[0].y; in elantech_report_absolute_v3()
538 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; in process_packet_head_v4()
539 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); in process_packet_head_v4()
546 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); in process_packet_head_v4()
547 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); in process_packet_head_v4()
580 etd->mt[id].x += delta_x1 * weight; in process_packet_motion_v4()
581 etd->mt[id].y -= delta_y1 * weight; in process_packet_motion_v4()
[all …]
Delantech.h137 struct finger_pos mt[ETP_MAX_FINGERS]; member
/linux-3.4.99/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-3.4.99/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-3.4.99/scripts/kconfig/
DMakefile226 pkg-config --exists qt-mt 2> /dev/null && pkg=qt-mt; \
249 test -f $$libpath/libqt-mt.so && lib=qt-mt; \
/linux-3.4.99/arch/mips/kernel/
DMakefile64 obj-$(CONFIG_MIPS_MT) += mips-mt.o
65 obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
67 obj-$(CONFIG_MIPS_MT_SMP) += smp-mt.o
/linux-3.4.99/net/ipv4/
Dipconfig.c644 u8 mt = ((ic_servaddr == NONE) in ic_dhcp_init_options() local
650 printk("DHCP: Sending message type %d\n", mt); in ic_dhcp_init_options()
658 *e++ = mt; in ic_dhcp_init_options()
660 if (mt == DHCPREQUEST) { in ic_dhcp_init_options()
1029 int mt = 0; in ic_bootp_recv() local
1042 mt = opt[2]; in ic_bootp_recv()
1052 printk("DHCP: Got message type %d\n", mt); in ic_bootp_recv()
1055 switch (mt) { in ic_bootp_recv()
1093 ic_dhcp_msgtype = mt; in ic_bootp_recv()
/linux-3.4.99/drivers/net/ethernet/smsc/
Dsmc91x.h1075 const unsigned char *mt = (x); \
1076 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \
1077 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \
1078 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \
1079 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-cfq-target-latency3 contact: Tao Ma <boyu.mt@taobao.com>
/linux-3.4.99/include/net/nfc/
Dnci.h137 #define nci_mt_set(hdr, mt) ((hdr)[0] |= (__u8)(((mt)&0x07)<<5)) argument

123