Searched refs:mp (Results 26 - 50 of 56) sorted by relevance

123

/drivers/hid/
H A Dhid-wiimote-core.c765 wdata->state.mp = mode;
774 if (wdata->state.mp < 2)
780 wdata->state.mp = 0;
906 bool mp; local
911 mp = wiimote_cmd_read_mp(wdata, mpdata);
915 if (mp) {
916 if (!wdata->state.mp) {
920 } else if (wdata->state.mp) {
957 wdata->state.mp > 0 && (flags & WIIPROTO_FLAG_MP_USED)) {
1036 wdata->state.mp >
1092 bool mp; local
[all...]
H A Dhid-wiimote-modules.c2086 input_report_abs(wdata->mp, ABS_RX, x);
2087 input_report_abs(wdata->mp, ABS_RY, y);
2088 input_report_abs(wdata->mp, ABS_RZ, z);
2089 input_sync(wdata->mp);
2123 wdata->mp = input_allocate_device();
2124 if (!wdata->mp)
2127 input_set_drvdata(wdata->mp, wdata);
2128 wdata->mp->open = wiimod_mp_open;
2129 wdata->mp->close = wiimod_mp_close;
2130 wdata->mp
[all...]
H A Dhid-wiimote.h123 __u8 mp; member in struct:wiimote_state
151 struct input_dev *mp; member in struct:wiimote_data
198 void (*in_mp) (struct wiimote_data *wdata, const __u8 *mp);
/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c3001 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) pmb->context1; local
3016 memcpy((uint8_t *) &vport->fc_sparam, (uint8_t *) mp->virt,
3024 lpfc_mbuf_free(phba, mp->virt, mp->phys);
3025 kfree(mp);
3031 lpfc_mbuf_free(phba, mp->virt, mp->phys);
3032 kfree(mp);
3045 struct lpfc_dmabuf *mp; local
3163 mp
3291 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
3435 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
3602 struct lpfc_dmabuf *mp; local
3737 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
3815 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
4639 struct lpfc_dmabuf *mp; local
5475 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
[all...]
H A Dlpfc_bsg.c158 struct lpfc_dmabuf *mp; local
172 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL);
173 if (!mp) {
179 INIT_LIST_HEAD(&mp->list);
180 mp->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &(mp->phys));
182 if (!mp->virt) {
183 kfree(mp);
191 mlist = mp;
193 list_add_tail(&mp
218 struct lpfc_dmabuf *mp; local
2853 struct lpfc_dmabuf *mp[2] = {NULL, NULL}; local
[all...]
H A Dlpfc_nportdisc.c1012 struct lpfc_dmabuf *pcmd, *prsp, *mp; local
1111 mp = (struct lpfc_dmabuf *) mbox->context1;
1112 lpfc_mbuf_free(phba, mp->virt, mp->phys);
1113 kfree(mp);
1445 struct lpfc_dmabuf *mp; local
1463 mp = (struct lpfc_dmabuf *) (mb->context1);
1464 if (mp) {
1465 __lpfc_mbuf_free(phba, mp->virt, mp
[all...]
H A Dlpfc_init.c378 struct lpfc_dmabuf *mp; local
414 mp = (struct lpfc_dmabuf *) pmb->context1;
416 lpfc_mbuf_free(phba, mp->virt, mp->phys);
417 kfree(mp);
421 mp = (struct lpfc_dmabuf *) pmb->context1;
423 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm));
424 lpfc_mbuf_free(phba, mp->virt, mp->phys);
425 kfree(mp);
884 struct lpfc_dmabuf *mp, *next_mp; local
1760 struct lpfc_dmabuf *mp; local
3822 struct lpfc_dmabuf *mp; local
3951 struct lpfc_dmabuf *mp; local
[all...]
H A Dlpfc_sli.c2159 struct lpfc_dmabuf *mp; local
2165 mp = (struct lpfc_dmabuf *) (pmb->context1);
2167 if (mp) {
2168 lpfc_mbuf_free(phba, mp->virt, mp->phys);
2169 kfree(mp);
4727 struct lpfc_dmabuf *mp; local
4748 mp = (struct lpfc_dmabuf *) mboxq->context1;
4773 lpfc_mbuf_free(phba, mp->virt, mp
6206 struct lpfc_dmabuf *mp; local
9497 lpfc_sli_ringpostbuf_put(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, struct lpfc_dmabuf *mp) argument
9553 struct lpfc_dmabuf *mp, *next_mp; local
9597 struct lpfc_dmabuf *mp, *next_mp; local
10879 struct lpfc_dmabuf *mp; local
11630 struct lpfc_dmabuf *mp; local
16594 struct lpfc_dmabuf *mp = NULL; local
16835 struct lpfc_dmabuf *mp; local
[all...]
H A Dlpfc_els.c368 struct lpfc_dmabuf *mp; local
430 mp = (struct lpfc_dmabuf *) mbox->context1;
431 lpfc_mbuf_free(phba, mp->virt, mp->phys);
432 kfree(mp);
3685 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *) (pmb->context1); local
3691 lpfc_mbuf_free(phba, mp->virt, mp->phys);
3692 kfree(mp);
3736 struct lpfc_dmabuf *mp local
[all...]
/drivers/s390/char/
H A Dtape_3590.h99 unsigned int mp:16; member in struct:tape_3590_sense::__anon4957::__anon4958
/drivers/watchdog/
H A Dcpwd.c591 struct miscdevice *mp = &p->devs[i].misc; local
593 mp->minor = WD0_MINOR + i;
594 mp->name = cpwd_names[i];
595 mp->fops = &cpwd_fops;
/drivers/block/aoe/
H A Daoeblk.c354 mempool_t *mp; local
378 mp = mempool_create(MIN_BUFS, mempool_alloc_slab, mempool_free_slab,
380 if (mp == NULL) {
401 d->bufpool = mp;
431 mempool_destroy(mp);
/drivers/crypto/
H A Dn2_core.c2094 struct n2_mau *mp = kzalloc(sizeof(struct n2_mau), GFP_KERNEL); local
2096 if (mp)
2097 INIT_LIST_HEAD(&mp->mau_list);
2099 return mp;
2102 static void free_ncp(struct n2_mau *mp) argument
2104 if (mp->mau_info.ino_table) {
2105 kfree(mp->mau_info.ino_table);
2106 mp->mau_info.ino_table = NULL;
2109 kfree(mp);
2116 struct n2_mau *mp; local
2181 struct n2_mau *mp = dev_get_drvdata(&amp;dev->dev); local
[all...]
/drivers/net/ethernet/sun/
H A Dniu.c3921 struct niu_xmac_stats *mp = &np->mac_stats.xmac; local
3926 mp->tx_frames += TXMAC_FRM_CNT_COUNT;
3928 mp->tx_bytes += TXMAC_BYTE_CNT_COUNT;
3930 mp->tx_fifo_errors++;
3932 mp->tx_overflow_errors++;
3934 mp->tx_max_pkt_size_errors++;
3936 mp->tx_underflow_errors++;
3940 mp->rx_local_faults++;
3942 mp->rx_remote_faults++;
3944 mp
3993 struct niu_bmac_stats *mp = &amp;np->mac_stats.bmac; local
6196 struct niu_xmac_stats *mp = &amp;np->mac_stats.xmac; local
6221 struct niu_bmac_stats *mp = &amp;np->mac_stats.bmac; local
[all...]
H A Dsunvnet.c1505 vp = vnet_find_parent(hp, vdev->mp);
1512 rmac = mdesc_get_property(hp, vdev->mp, remote_macaddr_prop, &len);
1547 if (mdesc_get_property(hp, vdev->mp, "switch-port", NULL) != NULL)
/drivers/s390/cio/
H A Ddevice_pgid.c41 if (sch->config.mp != mpath) {
42 sch->config.mp = mpath;
579 if (sch->config.mp) {
580 sch->config.mp = 0;
H A Dcio.c324 schib->pmcw.mp = sch->config.mp;
338 (schib->pmcw.mp == sch->config.mp) &&
/drivers/net/hamradio/
H A Dbaycom_epp.c1034 hi.data.mp.iobase = dev->base_addr;
1035 hi.data.mp.irq = dev->irq;
1036 hi.data.mp.dma = dev->dma;
1037 hi.data.mp.dma2 = 0;
1038 hi.data.mp.seriobase = 0;
1039 hi.data.mp.pariobase = 0;
1040 hi.data.mp.midiiobase = 0;
1046 dev->base_addr = hi.data.mp.iobase;
1047 dev->irq = /*hi.data.mp.irq*/0;
1048 dev->dma = /*hi.data.mp
[all...]
/drivers/isdn/hisax/
H A Disar.c196 u_char *msg, *tmpmsg, *mp, tmp[64]; local
278 mp = msg;
279 *mp++ = sadr / 256;
280 *mp++ = sadr % 256;
282 *mp++ = noc;
298 *mp++ = *sp % 256;
299 *mp++ = *sp / 256;
301 *mp++ = *sp / 256;
302 *mp++ = *sp % 256;
/drivers/tty/
H A Dmxser.c552 struct mxser_port *mp = container_of(port, struct mxser_port, port); local
553 return (inb(mp->ioaddr + UART_MSR) & UART_MSR_DCD)?1:0;
558 struct mxser_port *mp = container_of(port, struct mxser_port, port); local
561 spin_lock_irqsave(&mp->slock, flags);
563 outb(inb(mp->ioaddr + UART_MCR) |
564 UART_MCR_DTR | UART_MCR_RTS, mp->ioaddr + UART_MCR);
566 outb(inb(mp->ioaddr + UART_MCR)&~(UART_MCR_DTR | UART_MCR_RTS),
567 mp->ioaddr + UART_MCR);
568 spin_unlock_irqrestore(&mp->slock, flags);
/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c245 const struct v4l2_pix_format_mplane *mp; local
272 mp = &p->fmt.pix_mp;
276 mp->width, mp->height,
277 (mp->pixelformat & 0xff),
278 (mp->pixelformat >> 8) & 0xff,
279 (mp->pixelformat >> 16) & 0xff,
280 (mp->pixelformat >> 24) & 0xff,
281 prt_names(mp->field, v4l2_field_names),
282 mp
[all...]
/drivers/isdn/hardware/mISDN/
H A DmISDNisar.c192 u8 *mp; local
255 mp = isar->buf;
257 *mp++ = blk_head.sadr >> 8;
258 *mp++ = blk_head.sadr & 0xFF;
261 *mp++ = noc;
267 *mp++ = val >> 8;
268 *mp++ = val & 0xFF;
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c325 struct bnx2x_credit_pool_obj *mp = o->macs_pool; local
327 WARN_ON(!mp);
329 return mp->get_entry(mp, offset);
334 struct bnx2x_credit_pool_obj *mp = o->macs_pool; local
336 WARN_ON(!mp);
338 return mp->get(mp, 1);
360 struct bnx2x_credit_pool_obj *mp = o->macs_pool; local
362 return mp
367 struct bnx2x_credit_pool_obj *mp = o->macs_pool; local
[all...]
/drivers/scsi/libfc/
H A Dfc_lport.c396 __be32 *mp; local
398 mp = &lport->fcts.ff_type_map[type / FC_NS_BPW];
399 *mp = htonl(ntohl(*mp) | 1UL << (type % FC_NS_BPW));
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-sysfs.c771 struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *mp, argument
778 pvr2_channel_init(&sfp->channel,mp);

Completed in 1165 milliseconds

123