Searched refs:lp (Results 101 - 125 of 156) sorted by relevance

1234567

/drivers/scsi/libfc/
H A Dfc_frame.c74 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) argument
H A Dfc_fcp.c154 fsp->lp = lport;
178 struct fc_fcp_internal *si = fc_get_scsi_internal(fsp->lp);
270 per_cpu_ptr(fsp->lp->stats, get_cpu())->FcpPktAborts++;
274 return fsp->lp->tt.seq_exch_abort(fsp->seq_ptr, 0);
289 fsp->lp->tt.exch_done(fsp->seq_ptr);
308 lport = fsp->lp;
332 lport = fsp->lp;
444 struct fc_lport *lport = fsp->lp;
566 struct fc_lport *lport = fsp->lp;
753 struct fc_lport *lport = fsp->lp;
[all...]
/drivers/scsi/fnic/
H A Dfnic_scsi.c263 struct fc_lport *lp = fnic->lport; local
290 lp->r_a_tov, lp->e_d_tov);
422 struct fc_lport *lp = shost_priv(sc->device->host); local
425 struct fnic *fnic = lport_priv(lp);
446 if (lp->state != LPORT_ST_READY || !(lp->link_up))
456 spin_unlock(lp->host->host_lock);
560 spin_lock(lp->host->host_lock);
1724 struct fc_lport *lp; local
2180 struct fc_lport *lp; local
2436 struct fc_lport *lp; local
2483 struct fc_lport *lp = shost_priv(shost); local
2510 fnic_scsi_abort_io(struct fc_lport *lp) argument
2561 fnic_scsi_cleanup(struct fc_lport *lp) argument
2590 fnic_empty_scsi_cleanup(struct fc_lport *lp) argument
2594 fnic_exch_mgr_reset(struct fc_lport *lp, u32 sid, u32 did) argument
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c400 struct list_head *lp; local
402 while ((lp = sp->queued_list.next) != &sp->queued_list) {
403 bp1 = list_entry(lp,struct pvr2_buffer,list_overhead);
566 struct list_head *lp = sp->idle_list.next; local
567 if (lp == &sp->idle_list) return NULL;
568 return list_entry(lp,struct pvr2_buffer,list_overhead);
573 struct list_head *lp = sp->ready_list.next; local
574 if (lp == &sp->ready_list) return NULL;
575 return list_entry(lp,struct pvr2_buffer,list_overhead);
/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c304 struct sym_lcb *lp; local
316 lp = sym_lp(tp, sdev->lun);
317 order = (lp && lp->s.reqtags) ? M_SIMPLE_TAG : 0;
717 struct sym_lcb *lp = sym_lp(tp, lun); local
720 if (!lp)
723 oldtags = lp->s.reqtags;
725 if (reqtags > lp->s.scdev_depth)
726 reqtags = lp->s.scdev_depth;
728 lp
741 struct sym_lcb *lp; local
801 struct sym_lcb *lp = sym_lp(tp, sdev->lun); local
839 struct sym_lcb *lp = sym_lp(tp, sdev->lun); local
978 struct sym_lcb *lp = sym_lp(tp, l); local
[all...]
/drivers/net/ethernet/smsc/
H A Dsmc9194.c470 struct smc_local *lp = netdev_priv(dev); local
480 if ( lp->saved_skb) {
486 lp->saved_skb = skb;
512 lp->saved_skb = NULL;
518 lp->packets_waiting++;
580 struct smc_local *lp = netdev_priv(dev); local
582 struct sk_buff * skb = lp->saved_skb;
602 lp->saved_skb = NULL;
663 lp->saved_skb = NULL;
1277 struct smc_local *lp local
1342 struct smc_local *lp = netdev_priv(dev); local
[all...]
/drivers/net/ethernet/sun/
H A Dniu.c214 static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) argument
216 u64 val = (u64) lp->timer;
221 nw64(LDG_IMGMT(lp->ldg_num), val);
250 static int niu_enable_ldn_in_ldg(struct niu *np, struct niu_ldg *lp, int on) argument
258 if (parent->ldg_map[i] != lp->ldg_num)
273 struct niu_ldg *lp = &np->ldg[i]; local
276 err = niu_enable_ldn_in_ldg(np, lp, on);
391 struct niu_link_config *lp = &np->link_config; local
400 if (lp->loopback_mode == LOOPBACK_PHY) {
428 struct niu_link_config *lp local
525 struct niu_link_config *lp = &np->link_config; local
755 struct niu_link_config *lp = &np->link_config; local
908 struct niu_link_config *lp = &np->link_config; local
1029 struct niu_link_config *lp = &np->link_config; local
1061 struct niu_link_config *lp = &np->link_config; local
1094 struct niu_link_config *lp = &np->link_config; local
1207 struct niu_link_config *lp = &np->link_config; local
1260 struct niu_link_config *lp = &np->link_config; local
1531 struct niu_link_config *lp = &np->link_config; local
1732 struct niu_link_config *lp = &np->link_config; local
1906 struct niu_link_config *lp = &np->link_config; local
2369 struct niu_link_config *lp = &np->link_config; local
3746 niu_poll_core(struct niu *np, struct niu_ldg *lp, int budget) argument
3783 struct niu_ldg *lp = container_of(napi, struct niu_ldg, napi); local
4079 niu_slowpath_interrupt(struct niu *np, struct niu_ldg *lp, u64 v0, u64 v1, u64 v2) argument
4201 niu_schedule_napi(struct niu *np, struct niu_ldg *lp, u64 v0, u64 v1, u64 v2) argument
4215 struct niu_ldg *lp = dev_id; local
5292 struct niu_link_config *lp = &np->link_config; local
5349 struct niu_link_config *lp = &np->link_config; local
5411 struct niu_link_config *lp = &np->link_config; local
6055 struct niu_ldg *lp = &np->ldg[i]; local
6068 struct niu_ldg *lp = &np->ldg[j]; local
6080 struct niu_ldg *lp = &np->ldg[i]; local
6832 struct niu_link_config *lp; local
6853 struct niu_link_config *lp = &np->link_config; local
8976 struct niu_link_config *lp = &np->link_config; local
9115 struct niu_ldg *lp = &np->ldg[i]; local
[all...]
/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c978 struct local_info *lp = netdev_priv(dev); local
993 if (lp->mohawk) { /* must disable the interrupt */
1046 if (lp->silicon == 0 ) { /* work around a hardware bug */
1071 else if (lp->mohawk) {
1136 n = lp->last_ptr_value;
1138 lp->last_ptr_value = nn;
1144 dev->stats.tx_packets += lp->last_ptr_value - n;
1209 struct local_info *lp = netdev_priv(dev); local
1212 schedule_work(&lp->tx_timeout_task);
1218 struct local_info *lp local
1303 struct local_info *lp = netdev_priv(dev); local
1390 struct local_info *lp = netdev_priv(dev); local
1718 struct local_info *lp = netdev_priv(dev); local
[all...]
/drivers/clk/pxa/
H A Dclk-pxa.c38 fix = &pclk->lp;
/drivers/ata/
H A Dpata_legacy.c176 struct legacy_probe *lp = &probe_list[0]; local
181 if (lp->port == 0 && free == NULL)
182 free = lp;
184 if (lp->port == port || legacy_port[i] == port) {
185 free = lp;
188 lp++;
734 struct legacy_probe *lp, struct legacy_data *ld)
736 if (devm_request_region(&dev->dev, lp->private, 4, "qdi") == NULL)
738 ld->timing = lp->private;
819 struct legacy_probe *lp, struc
733 qdi_port(struct platform_device *dev, struct legacy_probe *lp, struct legacy_data *ld) argument
818 winbond_port(struct platform_device *dev, struct legacy_probe *lp, struct legacy_data *ld) argument
[all...]
/drivers/net/ethernet/3com/
H A D3c515.c1130 struct corkscrew_private *lp = netdev_priv(dev); local
1138 spin_lock(&lp->lock);
1173 unsigned int dirty_tx = lp->dirty_tx;
1175 while (lp->cur_tx - dirty_tx > 0) {
1177 if (inl(ioaddr + DownListPtr) == isa_virt_to_bus(&lp->tx_ring[entry]))
1179 if (lp->tx_skbuff[entry]) {
1180 dev_kfree_skb_irq(lp->tx_skbuff[entry]);
1181 lp->tx_skbuff[entry] = NULL;
1185 lp->dirty_tx = dirty_tx;
1187 if (lp
[all...]
/drivers/net/fddi/skfp/
H A Dskfddi.c327 struct s_smc *lp = netdev_priv(p); local
331 if (lp->os.SharedMemAddr) {
332 pci_free_consistent(&lp->os.pdev,
333 lp->os.SharedMemSize,
334 lp->os.SharedMemAddr,
335 lp->os.SharedMemDMA);
336 lp->os.SharedMemAddr = NULL;
338 if (lp->os.LocalRxBuffer) {
339 pci_free_consistent(&lp->os.pdev,
341 lp
964 skfddi_priv *lp = &smc->os; local
[all...]
/drivers/target/tcm_fc/
H A Dtfc_io.c90 lport = ep->lp;
241 lport = ep->lp;
361 lport = ep->lp;
/drivers/char/
H A DMakefile20 obj-$(CONFIG_PRINTER) += lp.o
/drivers/staging/lustre/lustre/lov/
H A Dlov_page.c134 struct lov_page *lp = cl2lov_page(slice); local
136 return (*printer)(env, cookie, LUSTRE_LOV_NAME"-page@%p\n", lp);
/drivers/iio/light/
H A Dtsl2563.c431 const struct tsl2563_lux_coeff *lp = lux_table; local
436 while (lp->ch_ratio < ratio)
437 lp++;
439 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff;
/drivers/net/wireless/b43/
H A Dphy_lp.c61 dev->phy.lp = lpphy;
69 struct b43_phy_lp *lpphy = phy->lp;
79 struct b43_phy_lp *lpphy = dev->phy.lp;
82 dev->phy.lp = NULL;
89 struct b43_phy_lp *lpphy = dev->phy.lp;
171 struct b43_phy_lp *lpphy = dev->phy.lp;
213 struct b43_phy_lp *lpphy = dev->phy.lp;
378 struct b43_phy_lp *lpphy = dev->phy.lp;
401 struct b43_phy_lp *lpphy = dev->phy.lp;
410 struct b43_phy_lp *lpphy = dev->phy.lp;
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_nportdisc.c168 uint32_t *lp; local
182 lp = (uint32_t *) prsp->virt;
183 ptr = (void *)((uint8_t *)lp + sizeof(uint32_t));
279 uint32_t *lp; local
315 lp = (uint32_t *) pcmd->virt;
316 sp = (struct serv_parm *) ((uint8_t *) lp + sizeof (uint32_t));
525 uint32_t *lp; local
529 lp = (uint32_t *) pcmd->virt;
531 cmd = *lp++;
533 ap = (ADISC *) lp;
694 uint32_t *lp; local
904 uint32_t *lp = (uint32_t *) pcmd->virt; local
1013 uint32_t *lp; local
[all...]
/drivers/block/
H A Dsunvdc.c177 ldc_disconnect(port->vio.lp);
270 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies);
340 err = ldc_read(vio->lp, &msgbuf, sizeof(msgbuf));
440 err = ldc_map_sg(port->vio.lp, sg, nsg,
598 err = ldc_map_single(port->vio.lp, req_buf, op_len,
659 dring = ldc_alloc_exp_dring(port->vio.lp, len,
682 ldc_free_exp_dring(port->vio.lp, dr->base,
/drivers/infiniband/hw/ipath/
H A Dipath_sdma.c97 struct list_head *lp = NULL; local
104 lp = dd->ipath_sdma_activelist.next;
105 txp = list_entry(lp, struct ipath_sdma_txreq, list);
138 list_move_tail(lp, &dd->ipath_sdma_notifylist);
140 lp = dd->ipath_sdma_activelist.next;
141 txp = list_entry(lp, struct ipath_sdma_txreq,
145 lp = NULL;
/drivers/scsi/
H A Dmesh.c240 struct dbglog *lp; local
250 lp = &tp->log[i];
252 t, lp->bs1, lp->bs0, lp->phase);
254 printk("tb=%10u ", lp->tb);
256 printk(lp->fmt, lp->d);
265 struct dbglog *lp; local
275 lp
[all...]
/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c124 static void bnx2fc_clean_rx_queue(struct fc_lport *lp) argument
140 if (fr->fr_dev == lp) {
421 lport = ctlr->lp;
870 lport = ctlr->lp;
1435 BNX2FC_HBA_DBG(ctlr->lp, "Unable to alloc blport\n");
1533 struct fc_lport *lport = ctlr->lp;
1574 struct fc_lport *lport = ctlr->lp;
1606 if (!interface || !ctlr->lp) {
1779 lport = ctlr->lp;
1806 lport = ctlr->lp;
[all...]
/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi_lowlevel.c468 unsigned int lp)
474 if (lp)
481 unsigned int lp)
487 if (lp)
467 exynos_mipi_dsi_set_cpu_transfer_mode(struct mipi_dsim_device *dsim, unsigned int lp) argument
480 exynos_mipi_dsi_set_lcdc_transfer_mode(struct mipi_dsim_device *dsim, unsigned int lp) argument
/drivers/staging/lustre/lnet/lnet/
H A Drouter_proc.c347 lnet_peer_t *lp = list_entry(r, lnet_peer_t, local
351 peer = lp;
492 lnet_peer_t *lp = list_entry(p, lnet_peer_t, local
495 peer = lp;
500 if (lp->lp_hashlist.next ==
512 p = lp->lp_hashlist.next;
/drivers/staging/lustre/lustre/obdclass/
H A Ddt_object.c648 * \param lp - is a pointer to the lu_page to fill
655 static int dt_index_page_build(const struct lu_env *env, union lu_page *lp, argument
660 struct lu_idxpage *lip = &lp->lp_idx;
810 union lu_page *lp; local
814 lp = kmap(rdpg->rp_pages[pageidx]);
817 for (i = 0; i < LU_PAGE_COUNT; i++, lp++, nob -= LU_PAGE_SIZE) {
818 rc = filler(env, lp, min_t(int, nob, LU_PAGE_SIZE),

Completed in 573 milliseconds

1234567