/drivers/input/misc/ |
D | gpio_matrix.c | 38 struct gpio_event_matrix_info *mi = kp->keypad_info; in clear_phantom_key() local 39 int key_index = out * mi->ninputs + in; in clear_phantom_key() 40 unsigned short keyentry = mi->keymap[key_index]; in clear_phantom_key() 45 if (mi->flags & GPIOKPF_PRINT_PHANTOM_KEYS) in clear_phantom_key() 48 mi->output_gpios[out], mi->input_gpios[in]); in clear_phantom_key() 51 if (mi->flags & GPIOKPF_PRINT_PHANTOM_KEYS) in clear_phantom_key() 54 mi->output_gpios[out], mi->input_gpios[in]); in clear_phantom_key() 107 struct gpio_event_matrix_info *mi = kp->keypad_info; in report_key() local 109 unsigned short keyentry = mi->keymap[key_index]; in report_key() 115 if (mi->flags & GPIOKPF_PRINT_UNMAPPED_KEYS) in report_key() [all …]
|
/drivers/uio/ |
D | uio.c | 258 int mi, pi; in uio_dev_add_attributes() local 270 for (mi = 0; mi < MAX_UIO_MAPS; mi++) { in uio_dev_add_attributes() 271 mem = &idev->info->mem[mi]; in uio_dev_add_attributes() 287 ret = kobject_add(&map->kobj, idev->map_dir, "map%d", mi); in uio_dev_add_attributes() 331 for (mi--; mi>=0; mi--) { in uio_dev_add_attributes() 332 mem = &idev->info->mem[mi]; in uio_dev_add_attributes() 589 int mi; in uio_find_mem_index() local 592 for (mi = 0; mi < MAX_UIO_MAPS; mi++) { in uio_find_mem_index() 593 if (idev->info->mem[mi].size == 0) in uio_find_mem_index() 595 if (vma->vm_pgoff == mi) in uio_find_mem_index() [all …]
|
/drivers/media/video/ |
D | ov511.h | 23 #define RESTRICT_TO_RANGE(v,mi,ma) { \ argument 24 if ((v) < (mi)) (v) = (mi); \
|
/drivers/media/video/usbvideo/ |
D | usbvideo.h | 50 #define RESTRICT_TO_RANGE(v,mi,ma) { if ((v) < (mi)) (v) = (mi); else if ((v) > (ma)) (v) = (ma); } argument
|
/drivers/input/mouse/ |
D | synaptics.c | 118 unsigned char mi[3]; in synaptics_model_id() local 120 if (synaptics_send_cmd(psmouse, SYN_QUE_MODEL, mi)) in synaptics_model_id() 122 priv->model_id = (mi[0]<<16) | (mi[1]<<8) | mi[2]; in synaptics_model_id()
|
/drivers/media/video/usbvision/ |
D | usbvision.h | 164 #define RESTRICT_TO_RANGE(v,mi,ma) { if ((v) < (mi)) (v) = (mi); else if ((v) > (ma)) (v) = (ma); } argument
|
/drivers/video/omap/ |
D | omapfb_main.c | 826 static int omapfb_setup_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_setup_mem() argument 836 if (mi->type > OMAPFB_MEMTYPE_MAX) in omapfb_setup_mem() 839 size = PAGE_ALIGN(mi->size); in omapfb_setup_mem() 845 if (rg->size != size || rg->type != mi->type) { in omapfb_setup_mem() 852 rg->type = mi->type; in omapfb_setup_mem() 870 r = fbdev->ctrl->setup_mem(plane->idx, size, mi->type, &paddr); in omapfb_setup_mem() 900 static int omapfb_query_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_query_mem() argument 907 memset(mi, 0, sizeof(*mi)); in omapfb_query_mem() 908 mi->size = rg->size; in omapfb_query_mem() 909 mi->type = rg->type; in omapfb_query_mem()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_init.c | 610 unsigned short mi) in SiS_SetCRT1FIFO_310() argument 612 unsigned short modeflag = SiS_Pr->SiS_EModeIDTable[mi].Ext_ModeFlag; in SiS_SetCRT1FIFO_310() 769 unsigned short mi) in SiS_LoadDAC() argument 777 data = SiS_Pr->SiS_SModeIDTable[mi].St_ModeFlag; in SiS_LoadDAC() 779 data = SiS_Pr->SiS_EModeIDTable[mi].Ext_ModeFlag; in SiS_LoadDAC()
|
/drivers/md/ |
D | md.c | 5542 struct mdstat_info *mi = seq->private; in md_seq_show() local 5554 mi->event = atomic_read(&md_event_count); in md_seq_show() 5667 struct mdstat_info *mi = kmalloc(sizeof(*mi), GFP_KERNEL); in md_seq_open() local 5668 if (mi == NULL) in md_seq_open() 5673 kfree(mi); in md_seq_open() 5676 p->private = mi; in md_seq_open() 5677 mi->event = atomic_read(&md_event_count); in md_seq_open() 5685 struct mdstat_info *mi = m->private; in mdstat_poll() local 5693 if (mi->event != atomic_read(&md_event_count)) in mdstat_poll()
|
/drivers/isdn/i4l/ |
D | isdn_tty.c | 2131 int mi; in isdn_tty_stat_callback() local 2137 if ((mi = dev->m_idx[i]) >= 0) { in isdn_tty_stat_callback() 2138 info = &dev->mdm.info[mi]; in isdn_tty_stat_callback()
|
/drivers/net/wireless/b43/ |
D | main.c | 519 u16 lo, mi, hi; in b43_hf_write() local 522 mi = (value & 0x0000FFFF0000ULL) >> 16; in b43_hf_write() 525 b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_HOSTFMI, mi); in b43_hf_write()
|