/drivers/net/ethernet/xscale/ixp2000/ |
H A D | ixp2400-msf.c | 26 static void ixp2400_pll_init(struct ixp2400_msf_parameters *mp) argument 36 rx_dual_clock = !!(mp->rx_mode & IXP2400_RX_MODE_WIDTH_MASK); 37 tx_dual_clock = !!(mp->tx_mode & IXP2400_TX_MODE_WIDTH_MASK); 60 value |= mp->rxclk01_multiplier << 16; 61 value |= mp->rxclk23_multiplier << 18; 62 value |= mp->txclk01_multiplier << 20; 63 value |= mp->txclk23_multiplier << 22; 93 static void ixp2400_msf_free_rbuf_entries(struct ixp2400_msf_parameters *mp) argument 103 size_bits = mp->rx_mode & IXP2400_RX_MODE_RBUF_SIZE_MASK; 154 static void ixp2400_msf_enable_rx(struct ixp2400_msf_parameters *mp) argument 163 ixp2400_msf_enable_tx(struct ixp2400_msf_parameters *mp) argument 173 ixp2400_msf_init(struct ixp2400_msf_parameters *mp) argument [all...] |
/drivers/mtd/devices/ |
H A D | ms02-nv.c | 60 struct ms02nv_private *mp = mtd->priv; local 62 memcpy(buf, mp->uaddr + from, len); 70 struct ms02nv_private *mp = mtd->priv; local 72 memcpy(mp->uaddr + to, buf, len); 111 struct ms02nv_private *mp; local 148 mp = kzalloc(sizeof(*mp), GFP_KERNEL); 149 if (!mp) 152 mtd->priv = mp; 153 mp 253 struct ms02nv_private *mp = mtd->priv; local [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 237 struct lpfc_dmabuf *mp; local 241 mp = (struct lpfc_dmabuf *) (mbox->context1); 242 if (mp) { 243 lpfc_mbuf_free(phba, mp->virt, mp->phys); 244 kfree(mp); 251 mp = (struct lpfc_dmabuf *) (mbox->context1); 252 if (mp) { 253 lpfc_mbuf_free(phba, mp->virt, mp 500 lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) argument [all...] |
H A D | lpfc_vport.c | 118 struct lpfc_dmabuf *mp; local 137 mp = (struct lpfc_dmabuf *) pmb->context1; 147 lpfc_mbuf_free(phba, mp->virt, mp->phys); 148 kfree(mp); 157 lpfc_mbuf_free(phba, mp->virt, mp->phys); 158 kfree(mp); 165 memcpy(&vport->fc_sparam, mp->virt, sizeof (struct serv_parm)); 171 lpfc_mbuf_free(phba, mp [all...] |
H A D | lpfc_ct.c | 67 struct lpfc_dmabuf *mp, uint32_t size) 69 if (!mp) { 83 struct lpfc_dmabuf *mp, uint32_t size) 85 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size); 92 struct lpfc_dmabuf *mp = NULL; local 153 mp = lpfc_sli_ringpostbuf_get(phba, pring, 156 lpfc_ct_unsol_buffer(phba, iocbq, mp, size); 157 lpfc_in_buf_free(phba, mp); 219 struct lpfc_dmabuf *mp; local 227 mp 66 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument 82 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) argument 436 lpfc_ns_rsp(struct lpfc_vport *vport, struct lpfc_dmabuf *mp, uint32_t Size) argument 1102 struct lpfc_dmabuf *mp, *bmp; local 1361 struct lpfc_dmabuf *mp, *bmp; local [all...] |
H A D | lpfc_mbox.c | 61 struct lpfc_dmabuf *mp; local 81 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); 82 if (mp) 83 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); 85 if (!mp || !mp->virt) { 86 kfree(mp); 92 memset(mp->virt, 0, LPFC_BPL_SIZE); 93 INIT_LIST_HEAD(&mp 287 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, struct lpfc_dmabuf *mp) argument 585 struct lpfc_dmabuf *mp; local 738 struct lpfc_dmabuf *mp; local 2200 struct lpfc_dmabuf *mp = NULL; local [all...] |
H A D | lpfc_nportdisc.c | 984 struct lpfc_dmabuf *pcmd, *prsp, *mp; local 1081 mp = (struct lpfc_dmabuf *) mbox->context1; 1082 lpfc_mbuf_free(phba, mp->virt, mp->phys); 1083 kfree(mp); 1407 struct lpfc_dmabuf *mp; local 1425 mp = (struct lpfc_dmabuf *) (mb->context1); 1426 if (mp) { 1427 __lpfc_mbuf_free(phba, mp->virt, mp [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_malloc.c | 60 static void *___sym_malloc(m_pool_p mp, int size) argument 66 m_link_p h = mp->h; 106 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) argument 112 m_link_p h = mp->h; 158 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) argument 162 p = ___sym_malloc(mp, size); 174 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) 179 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) argument 184 ___sym_mfree(mp, pt 193 ___mp0_get_mem_cluster(m_pool_p mp) argument 202 ___mp0_free_mem_cluster(m_pool_p mp, void *m) argument 223 ___get_dma_mem_cluster(m_pool_p mp) argument 246 ___free_dma_mem_cluster(m_pool_p mp, void *m) argument 267 m_pool_p mp; local 277 m_pool_p mp = __sym_calloc(&mp0, sizeof(*mp), "MPOOL"); local 315 m_pool_p mp; local 338 m_pool_p mp; local 360 m_pool_p mp; local [all...] |
/drivers/block/aoe/ |
H A D | aoechr.c | 124 char *mp; local 137 mp = kmalloc(n, GFP_ATOMIC); 138 if (mp == NULL) { 143 memcpy(mp, msg, n); 144 em->msg = mp; 211 char *mp; local 249 mp = em->msg; 259 n = copy_to_user(buf, mp, len); 260 kfree(mp);
|
/drivers/media/dvb/bt8xx/ |
H A D | bt878.c | 344 bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp) argument 354 // dprintk("dvb_bt8xx: dst enable mask 0x%02x enb 0x%02x \n", mp->dstg.enb.mask, mp->dstg.enb.enable); 356 mp->enb.mask, 357 mp->enb.enable); 360 // dprintk("dvb_bt8xx: dst write gpio mask 0x%02x out 0x%02x\n", mp->dstg.outp.mask, mp->dstg.outp.highvals); 362 mp->outp.mask, 363 mp->outp.highvals); 368 retval = bttv_read_gpio(bt->bttv_nr, &mp [all...] |
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-context.c | 43 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) argument 48 if (!mp->notify_flag) { 50 mp->notify_prev = pvr2_context_notify_last; 51 mp->notify_next = NULL; 52 pvr2_context_notify_last = mp; 53 if (mp->notify_prev) { 54 mp->notify_prev->notify_next = mp; 56 pvr2_context_notify_first = mp; 58 mp 80 pvr2_context_destroy(struct pvr2_context *mp) argument 106 pvr2_context_notify(struct pvr2_context *mp) argument 112 pvr2_context_check(struct pvr2_context *mp) argument 164 struct pvr2_context *mp; local 219 struct pvr2_context *mp = NULL; local 247 pvr2_context_reset_input_limits(struct pvr2_context *mp) argument 263 pvr2_context_enter(struct pvr2_context *mp) argument 269 pvr2_context_exit(struct pvr2_context *mp) argument 280 pvr2_context_disconnect(struct pvr2_context *mp) argument 288 pvr2_channel_init(struct pvr2_channel *cp,struct pvr2_context *mp) argument 316 struct pvr2_context *mp = cp->mc_head; local [all...] |
H A D | pvrusb2-sysfs.c | 771 struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *mp, argument 778 pvr2_channel_init(&sfp->channel,mp);
|
/drivers/misc/ |
H A D | atmel_pwm.c | 310 u32 *mp = pdev->dev.platform_data; local 316 if (!r || irq < 0 || !mp || !*mp) 318 if (*mp & ~((1<<PWM_NCHAN)-1)) { 320 *mp, PWM_NCHAN); 330 p->mask = *mp;
|
/drivers/s390/cio/ |
H A D | cio.h | 25 u32 mp : 1; /* multipath mode */ member in struct:pmcw 56 u32 mp:1; member in struct:schib_config
|
/drivers/isdn/hardware/mISDN/ |
H A D | mISDNisar.c | 192 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/apple/ |
H A D | mace.c | 91 static inline void mace_clean_rings(struct mace_data *mp); 113 struct mace_data *mp; local 155 mp = netdev_priv(dev); 156 mp->mdev = mdev; 160 mp->mace = ioremap(dev->base_addr, 0x1000); 161 if (mp->mace == NULL) { 172 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | 173 in_8(&mp->mace->chipid_lo); 176 mp 277 struct mace_data *mp; local 319 struct mace_data *mp = netdev_priv(dev); local 374 struct mace_data *mp = netdev_priv(dev); local 395 struct mace_data *mp = netdev_priv(dev); local 410 mace_clean_rings(struct mace_data *mp) argument 430 struct mace_data *mp = netdev_priv(dev); local 500 struct mace_data *mp = netdev_priv(dev); local 520 struct mace_data *mp = netdev_priv(dev); local 533 struct mace_data *mp = netdev_priv(dev); local 588 struct mace_data *mp = netdev_priv(dev); local 638 mace_handle_misc_intrs(struct mace_data *mp, int intr, struct net_device *dev) argument 662 struct mace_data *mp = netdev_priv(dev); local 808 struct mace_data *mp = netdev_priv(dev); local 879 struct mace_data *mp = netdev_priv(dev); local [all...] |
H A D | macmace.c | 107 struct mace_data *mp = netdev_priv(dev); local 110 psc_write_long(PSC_ENETRD_ADDR + set, (u32) mp->rx_ring_phys); 113 mp->rx_tail = 0; 122 struct mace_data *mp = netdev_priv(dev); local 123 volatile struct mace *mace = mp->mace; 137 mp->rx_slot = 0; 149 struct mace_data *mp = netdev_priv(dev); local 150 volatile struct mace *mace = mp->mace; 158 mp->tx_slot = mp 201 struct mace_data *mp; local 267 struct mace_data *mp = netdev_priv(dev); local 324 struct mace_data *mp = netdev_priv(dev); local 345 struct mace_data *mp = netdev_priv(dev); local 370 struct mace_data *mp = netdev_priv(dev); local 437 struct mace_data *mp = netdev_priv(dev); local 453 struct mace_data *mp = netdev_priv(dev); local 489 struct mace_data *mp = netdev_priv(dev); local 540 struct mace_data *mp = netdev_priv(dev); local 563 struct mace_data *mp = netdev_priv(dev); local 614 struct mace_data *mp = netdev_priv(dev); local 686 struct mace_data *mp = netdev_priv(dev); local 752 struct mace_data *mp = netdev_priv(dev); local [all...] |
/drivers/s390/char/ |
H A D | tape_3590.h | 100 unsigned int mp:16; member in struct:tape_3590_sense::__anon3921::__anon3922
|
/drivers/staging/cxt1e1/ |
H A D | linux.c | 619 struct c4_musycc_param mp; local 623 if (copy_from_user (&mp, data, sizeof (struct c4_musycc_param))) 628 ret = mkret (c4_musycc_rw (ci, &mp)); 631 if (copy_to_user (data, &mp, sizeof (struct c4_musycc_param)))
|
/drivers/video/omap2/dss/ |
H A D | apply.c | 186 struct mgr_priv_data *mp; local 188 mp = get_mgr_priv(mgr); 190 if (applying && mp->user_info_dirty) 191 mi = &mp->user_info; 193 mi = &mp->info; 238 struct mgr_priv_data *mp; local 242 mp = get_mgr_priv(mgr); 244 if (!mp->enabled) 249 if (mp->updating) 253 if (mp 303 struct mgr_priv_data *mp; local 326 struct mgr_priv_data *mp; local 383 struct mgr_priv_data *mp; local 518 struct mgr_priv_data *mp; local 556 struct mgr_priv_data *mp; local 579 struct mgr_priv_data *mp = get_mgr_priv(mgr); local 614 struct mgr_priv_data *mp; local 640 struct mgr_priv_data *mp; local 667 struct mgr_priv_data *mp; local 691 struct mgr_priv_data *mp; local 706 struct mgr_priv_data *mp = get_mgr_priv(mgr); local 788 struct mgr_priv_data *mp; local 838 struct mgr_priv_data *mp; local 939 struct mgr_priv_data *mp; local 966 struct mgr_priv_data *mp; local 990 struct mgr_priv_data *mp; local 1039 struct mgr_priv_data *mp = get_mgr_priv(mgr); local 1099 struct mgr_priv_data *mp = get_mgr_priv(mgr); local 1133 struct mgr_priv_data *mp = get_mgr_priv(mgr); local 1154 struct mgr_priv_data *mp = get_mgr_priv(mgr); local [all...] |
/drivers/watchdog/ |
H A D | cpwd.c | 592 struct miscdevice *mp = &p->devs[i].misc; local 594 mp->minor = WD0_MINOR + i; 595 mp->name = cpwd_names[i]; 596 mp->fops = &cpwd_fops;
|
/drivers/isdn/capi/ |
H A D | capi.c | 143 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) argument 154 spin_lock_bh(&mp->ackqlock); 155 list_add_tail(&n->list, &mp->ackqueue); 156 mp->nack++; 157 spin_unlock_bh(&mp->ackqlock); 161 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) argument 165 spin_lock_bh(&mp->ackqlock); 166 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { 169 mp->nack--; 170 spin_unlock_bh(&mp 179 capiminor_del_all_ack(struct capiminor *mp) argument 197 struct capiminor *mp; local 255 struct capiminor *mp = container_of(kref, struct capiminor, kref); local 266 struct capiminor *mp; local 277 capiminor_put(struct capiminor *mp) argument 282 capiminor_free(struct capiminor *mp) argument 303 struct capiminor *mp = np->minorp; local 319 struct capiminor *mp = np->minorp; local 389 gen_data_b3_resp_for(struct capiminor *mp, struct sk_buff *skb) argument 407 handle_recv_skb(struct capiminor *mp, struct sk_buff *skb) argument 481 handle_minor_recv(struct capiminor *mp) argument 492 handle_minor_send(struct capiminor *mp) argument 579 struct capiminor *mp; local 924 struct capiminor *mp; local 1016 struct capiminor *mp = capiminor_get(tty->index); local 1028 struct capiminor *mp = tty->driver_data; local 1035 struct capiminor *mp = tty->driver_data; local 1048 struct capiminor *mp = tty->driver_data; local 1056 struct capiminor *mp = tty->driver_data; local 1090 struct capiminor *mp = tty->driver_data; local 1131 struct capiminor *mp = tty->driver_data; local 1153 struct capiminor *mp = tty->driver_data; local 1164 struct capiminor *mp = tty->driver_data; local 1186 struct capiminor *mp = tty->driver_data; local 1193 struct capiminor *mp = tty->driver_data; local 1202 struct capiminor *mp = tty->driver_data; local 1210 struct capiminor *mp = tty->driver_data; local 1219 struct capiminor *mp = tty->driver_data; local [all...] |
/drivers/isdn/hisax/ |
H A D | isar.c | 196 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/scsi/libfc/ |
H A D | fc_exch.c | 120 * @mp: Exchange Manager associated with this anchor 131 struct fc_exch_mgr *mp; member in struct:fc_exch_mgr_anchor 330 struct fc_exch_mgr *mp; local 333 mp = ep->em; 337 mempool_free(ep, mp->ep_pool); 423 fc_exch_release(ep); /* drop hold for exch in mp */ 707 * @mp: The exchange manager that will allocate the exchange 712 struct fc_exch_mgr *mp) 720 ep = mempool_alloc(mp->ep_pool, GFP_ATOMIC); 722 atomic_inc(&mp 711 fc_exch_em_alloc(struct fc_lport *lport, struct fc_exch_mgr *mp) argument 815 fc_exch_find(struct fc_exch_mgr *mp, u16 xid) argument 857 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 905 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1033 fc_seq_lookup_orig(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1357 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1421 fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1515 fc_exch_recv_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 1618 fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp) argument 2164 fc_exch_mgr_add(struct fc_lport *lport, struct fc_exch_mgr *mp, bool (*match)(struct fc_frame *)) argument 2189 struct fc_exch_mgr *mp = container_of(kref, struct fc_exch_mgr, kref); local 2243 struct fc_exch_mgr *mp; local [all...] |
H A D | fc_lport.c | 389 __be32 *mp; local 391 mp = &lport->fcts.ff_type_map[type / FC_NS_BPW]; 392 *mp = htonl(ntohl(*mp) | 1UL << (type % FC_NS_BPW));
|