/drivers/input/ |
H A D | input-mt.c | 11 #include <linux/input/mt.h> 30 * @flags: mt tasks to handle in core 44 struct input_mt *mt = dev->mt; local 49 if (mt) 50 return mt->num_slots != num_slots ? -EINVAL : 0; 52 mt = kzalloc(sizeof(*mt) + num_slots * sizeof(*mt->slots), GFP_KERNEL); 53 if (!mt) 135 struct input_mt *mt = dev->mt; local 193 struct input_mt *mt = dev->mt; local 239 __input_mt_drop_unused(struct input_dev *dev, struct input_mt *mt) argument 259 struct input_mt *mt = dev->mt; local 278 struct input_mt *mt = dev->mt; local 340 input_mt_set_matrix(struct input_mt *mt, const struct input_mt_pos *pos, int num_pos) argument 362 input_mt_set_slots(struct input_mt *mt, int *slots, int num_pos) argument 406 struct input_mt *mt = dev->mt; local 436 struct input_mt *mt = dev->mt; local [all...] |
H A D | Makefile | 8 input-core-y := input.o input-compat.o input-mt.o ff-core.o
|
H A D | input.c | 18 #include <linux/input/mt.h> 212 struct input_mt *mt = dev->mt; local 221 if (mt && *pval >= 0 && *pval < mt->num_slots) 222 mt->slot = *pval; 231 } else if (mt) { 232 pold = &mt->slots[mt->slot].abs[code - ABS_MT_FIRST]; 251 if (is_mt_event && mt [all...] |
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_g450.c | 237 struct my_timming *mt, const struct output_desc *outd) 252 hvis = ((mt->HDisplay << 1) + 3) & ~3; 265 mt->mnp = mnp; 266 mt->pixclock = g450_mnp2f(minfo, mnp); 270 pixclock = 1000000000U / mt->pixclock; 275 do_div(piic, mt->pixclock); 322 mt->interlaced = 1; 324 mt->HDisplay = hvis & ~7; 325 mt->HSyncStart = mt 236 computeRegs(struct matrox_fb_info *minfo, struct mavenregs *r, struct my_timming *mt, const struct output_desc *outd) argument 520 matroxfb_g450_compute(void* md, struct my_timming* mt) argument 577 g450_dvi_compute(void* md, struct my_timming* mt) argument [all...] |
H A D | matroxfb_maven.c | 755 struct my_timming* mt, 771 if (maven_find_exact_clocks(mt->HTotal, mt->VTotal, m) == 0) 774 lmargin = mt->HTotal - mt->HSyncEnd; 775 slen = mt->HSyncEnd - mt->HSyncStart; 776 hcrt = mt->HTotal - slen - mt->delay; 777 umargin = mt 754 maven_compute_timming(struct maven_data* md, struct my_timming* mt, struct mavenregs* m) argument 1147 maven_out_compute(void* md, struct my_timming* mt) argument [all...] |
H A D | matroxfb_crtc2.c | 64 struct my_timming* mt, 104 if (mt->interlaced) { 106 mt->VDisplay >>= 1; 107 mt->VSyncStart >>= 1; 108 mt->VSyncEnd >>= 1; 109 mt->VTotal >>= 1; 111 if ((mt->HTotal & 7) == 2) { 113 mt->HTotal &= ~7; 116 mga_outl(0x3C14, ((mt->HDisplay - 8) << 16) | (mt 63 matroxfb_dh_restore(struct matroxfb_dh_fb_info* m2info, struct my_timming* mt, int mode, unsigned int pos) argument 343 struct my_timming mt; local [all...] |
H A D | matroxfb_misc.c | 106 void matroxfb_var2my(struct fb_var_screeninfo* var, struct my_timming* mt) { argument 112 mt->pixclock = 1000000000 / pixclock; 113 if (mt->pixclock < 1) mt->pixclock = 1; 114 mt->mnp = -1; 115 mt->dblscan = var->vmode & FB_VMODE_DOUBLE; 116 mt->interlaced = var->vmode & FB_VMODE_INTERLACED; 117 mt->HDisplay = var->xres; 118 mt->HSyncStart = mt [all...] |
/drivers/input/mouse/ |
H A D | alps.h | 15 #include <linux/input/mt.h> 102 * @mt: position for MT. 119 struct input_mt_pos mt[MAX_TOUCHES]; member in struct:alps_fields
|
H A D | alps.c | 20 #include <linux/input/mt.h> 286 * These two points are returned in fields->mt. 322 fields->mt[0] = fields->st; 323 fields->mt[1].x = 2 * box_middle_x - fields->mt[0].x; 324 fields->mt[1].y = 2 * box_middle_y - fields->mt[0].y; 361 * These points are returned in fields->mt when the return value 400 fields->mt[0].x = 403 fields->mt[ 880 alps_get_finger_coordinate_v7(struct input_mt_pos *mt, unsigned char *pkt, unsigned char pkt_id) argument 920 alps_get_mt_count(struct input_mt_pos *mt) argument [all...] |
H A D | elantech.h | 142 struct finger_pos mt[ETP_MAX_FINGERS]; member in struct:elantech_data
|
H A D | elantech.c | 18 #include <linux/input/mt.h> 498 etd->mt[0].x = ((packet[1] & 0x0f) << 8) | packet[2]; 503 etd->mt[0].y = etd->y_max - 512 x1 = etd->mt[0].x; 513 y1 = etd->mt[0].y; 595 etd->mt[id].x = ((packet[1] & 0x0f) << 8) | packet[2]; 596 etd->mt[id].y = etd->y_max - (((packet[4] & 0x0f) << 8) | packet[5]); 603 input_report_abs(dev, ABS_MT_POSITION_X, etd->mt[id].x); 604 input_report_abs(dev, ABS_MT_POSITION_Y, etd->mt[id].y); 637 etd->mt[i [all...] |
/drivers/isdn/hisax/ |
H A D | l3_1tr6.c | 31 l3_1TR6_message(struct l3_process *pc, u_char mt, u_char pd) argument 39 MsgHead(p, pc->callref, mt, pd); 744 int i, mt, cr; local 784 mt = skb->data[3]; 788 l3_debug(st, "up1tr6%s N0 mt %x unhandled", 789 (pr == (DL_DATA | INDICATION)) ? " " : "(broadcast) ", mt); 793 if (mt == MT_N1_SETUP) { 806 } else if ((mt == MT_N1_REL) || (mt == MT_N1_REL_ACK) || 807 (mt [all...] |
H A D | q931.c | 1192 unsigned char pd, cr_l, cr, mt; local 1260 mt = *buf++; 1263 if (mt_n0[i].nr == mt) 1269 size, mt); 1276 if (mt_n1[i].nr == mt) 1282 size, mt); 1361 mt = *buf++; 1363 if (mtlist[i].nr == mt) 1370 size, mt); 1447 mt [all...] |
H A D | tei.c | 313 int mt; local 343 mt = skb->data[3]; 344 if (mt == ID_ASSIGNED) 346 else if (mt == ID_DENIED) 348 else if (mt == ID_CHK_REQ) 350 else if (mt == ID_REMOVE) 354 "tei handler wrong mt %x\n", mt);
|
H A D | hfcscard.c | 101 hfcs_card_msg(struct IsdnCardState *cs, int mt, void *arg) argument 107 debugl1(cs, "HFCS: card_msg %x", mt); 108 switch (mt) {
|
H A D | l3ni1.c | 428 l3ni1_message(struct l3_process *pc, u_char mt) argument 436 MsgHead(p, pc->callref, mt); 441 l3ni1_message_plus_chid(struct l3_process *pc, u_char mt) argument 450 MsgHead(p, pc->callref, mt); 462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) argument 469 MsgHead(p, pc->callref, mt); 666 u_char mt; local 679 mt = *p++; 731 mt, err_compr, err_ureg, err_len, err_seq); 746 l3ni1_check_messagetype_validity(struct l3_process *pc, int mt, voi argument 2844 global_handler(struct PStack *st, int mt, struct sk_buff *skb) argument 2890 int i, mt, cr, callState; local [all...] |
H A D | l3dss1.c | 499 l3dss1_message(struct l3_process *pc, u_char mt) argument 507 MsgHead(p, pc->callref, mt); 512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) argument 519 MsgHead(p, pc->callref, mt); 716 u_char mt; local 729 mt = *p++; 781 mt, err_compr, err_ureg, err_len, err_seq); 796 l3dss1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) argument 798 switch (mt) { 823 l3_debug(pc->st, "l3dss1_check_messagetype_validity mt( 2903 global_handler(struct PStack *st, int mt, struct sk_buff *skb) argument 2946 int i, mt, cr, callState; local [all...] |
H A D | enternow_pci.c | 173 enpci_card_msg(struct IsdnCardState *cs, int mt, void *arg) argument 179 debugl1(cs, "enter:now PCI: card_msg: 0x%04X", mt); 181 switch (mt) {
|
H A D | avm_a1p.c | 175 AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg) argument 179 switch (mt) {
|
H A D | isurf.c | 143 ISurf_card_msg(struct IsdnCardState *cs, int mt, void *arg) argument 147 switch (mt) {
|
H A D | mic.c | 168 mic_card_msg(struct IsdnCardState *cs, int mt, void *arg) argument 172 switch (mt) {
|
/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 73 int i, mt = MT_NONE; local 84 mt = MT_DFP; 86 mt = MT_CRT; 109 return mt; 113 return mt; 115 return mt; 144 int mt = radeon_parse_montype_prop(dp, out_EDID, 0); local 148 if (mt == MT_DFP && rinfo->is_mobility) 149 mt = MT_LCD; 150 return mt; [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_disk.h | 125 static inline char *mt_str(enum ldd_mount_type mt) argument 135 return mount_type_string[mt]; 138 static inline char *mt_type(enum ldd_mount_type mt) argument 148 return mount_type_string[mt];
|
/drivers/isdn/mISDN/ |
H A D | tei.c | 770 tei_ph_data_ind(struct teimgr *tm, u_int mt, u_char *dp, int len) argument 775 tm->tei_m.printdebug(&tm->tei_m, "tei handler mt %x", mt); 776 if (mt == ID_ASSIGNED) 778 else if (mt == ID_DENIED) 780 else if (mt == ID_CHK_REQ) 782 else if (mt == ID_REMOVE) 784 else if (mt == ID_VERIFY) 786 else if (mt == ID_CHK_RES) 891 u_char mt; local [all...] |
/drivers/net/ethernet/smsc/ |
H A D | smc91x.h | 1077 const unsigned char *mt = (x); \ 1078 SMC_outw(mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ 1079 SMC_outw(mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ 1080 SMC_outw(mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ 1081 SMC_outw(mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \
|