Searched refs:lp (Results 76 - 100 of 237) sorted by relevance

12345678910

/linux-master/drivers/net/ethernet/3com/
H A D3c589_cs.c196 struct el3_private *lp; local
206 lp = netdev_priv(dev);
208 lp->p_dev = link;
210 spin_lock_init(&lp->lock);
406 struct el3_private *lp = netdev_priv(dev); local
429 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000);
431 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800);
517 struct el3_private *lp = netdev_priv(dev); local
518 struct pcmcia_device *link = lp->p_dev;
527 timer_setup(&lp
609 struct el3_private *lp = netdev_priv(dev); local
688 struct el3_private *lp = from_timer(lp, t, media); local
775 struct el3_private *lp = netdev_priv(dev); local
914 struct el3_private *lp = netdev_priv(dev); local
[all...]
H A D3c509.c249 struct el3_private *lp = netdev_priv(el3_devs[i]); local
250 if (lp->type == EL3_PNP &&
271 struct el3_private *lp = netdev_priv(dev); local
277 lp->type = type;
513 struct el3_private *lp = netdev_priv(dev); local
519 spin_lock_init(&lp->lock);
704 struct el3_private *lp = netdev_priv(dev); local
727 spin_lock_irqsave(&lp->lock, flags);
741 spin_unlock_irqrestore(&lp->lock, flags);
765 struct el3_private *lp; local
860 struct el3_private *lp = netdev_priv(dev); local
973 struct el3_private *lp = netdev_priv(dev); local
1002 struct el3_private *lp = netdev_priv(dev); local
1144 struct el3_private *lp = netdev_priv(dev); local
1155 struct el3_private *lp = netdev_priv(dev); local
1166 struct el3_private *lp = netdev_priv(dev); local
1319 struct el3_private *lp; local
1343 struct el3_private *lp; local
[all...]
/linux-master/drivers/net/ethernet/amd/
H A D7990.h234 #define TX_BUFFS_AVAIL ((lp->tx_old <= lp->tx_new) ? \
235 lp->tx_old + lp->tx_ring_mod_mask - lp->tx_new : \
236 lp->tx_old - lp->tx_new - 1)
H A Dsun3lance.c162 #define MEM lp->mem
163 #define DREG lp->iobase[0]
164 #define AREG lp->iobase[1]
307 struct lance_private *lp; local
340 lp = netdev_priv(dev);
352 lp->iobase = (volatile unsigned short *)ioaddr;
414 struct lance_private *lp = netdev_priv(dev); local
451 struct lance_private *lp = netdev_priv(dev); local
454 lp->lock = 0;
455 lp
512 struct lance_private *lp = netdev_priv(dev); local
652 struct lance_private *lp = netdev_priv(dev); local
767 struct lance_private *lp = netdev_priv(dev); local
858 struct lance_private *lp = netdev_priv(dev); local
884 struct lance_private *lp = netdev_priv(dev); local
[all...]
/linux-master/drivers/regulator/
H A Dlp8788-buck.c89 struct lp8788 *lp; member in struct:lp8788_buck
177 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val);
211 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val);
230 lp8788_read_byte(buck->lp, LP8788_BUCK_DVS_SEL, &val);
258 return lp8788_update_bits(buck->lp, addr, LP8788_VOUT_M, selector);
272 ret = lp8788_read_byte(buck->lp, addr, &val);
285 if (lp8788_read_byte(buck->lp, addr, &val))
311 return lp8788_update_bits(buck->lp, LP8788_BUCK_PWM, mask, val);
321 ret = lp8788_read_byte(buck->lp, LP8788_BUCK_PWM, &val);
414 struct lp8788_platform_data *pdata = buck->lp
479 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); local
[all...]
/linux-master/drivers/net/arcnet/
H A Drfc1201.c136 struct arcnet_local *lp = netdev_priv(dev); local
141 struct Incoming *in = &lp->rfc1201.incoming[saddr];
163 lp->hw.copy_from_card(dev, bufnum, 512 - length,
174 lp->rfc1201.aborted_seq = soft->sequence;
198 lp->hw.copy_from_card(dev, bufnum,
287 lp->rfc1201.aborted_seq = soft->sequence;
296 lp->rfc1201.aborted_seq = soft->sequence;
315 if (lp->rfc1201.aborted_seq != soft->sequence) {
319 lp->rfc1201.aborted_seq);
340 lp
381 struct arcnet_local *lp = netdev_priv(dev); local
446 struct arcnet_local *lp = netdev_priv(dev); local
479 struct arcnet_local *lp = netdev_priv(dev); local
513 struct arcnet_local *lp = netdev_priv(dev); local
[all...]
H A Dcom90xx.c464 struct arcnet_local *lp; local
476 lp = netdev_priv(dev);
518 lp->card_name = "COM90xx";
519 lp->hw.command = com90xx_command;
520 lp->hw.status = com90xx_status;
521 lp->hw.intmask = com90xx_setmask;
522 lp->hw.reset = com90xx_reset;
523 lp->hw.owner = THIS_MODULE;
524 lp->hw.copy_to_card = com90xx_copy_to_card;
525 lp
592 struct arcnet_local *lp = netdev_priv(dev); local
633 struct arcnet_local *lp = netdev_priv(dev); local
642 struct arcnet_local *lp = netdev_priv(dev); local
664 struct arcnet_local *lp; local
[all...]
H A Drfc1051.c125 struct arcnet_local *lp = netdev_priv(dev); local
150 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
211 struct arcnet_local *lp = netdev_priv(dev); local
216 lp->next_tx, lp->cur_tx, bufnum);
237 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
238 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length);
240 lp->lastload_dest = hard->dest;
H A Dcom20020-pci.c102 struct arcnet_local *lp = netdev_priv(net_dev); local
104 return sprintf(buf, "%s\n", lp->backplane ? "true" : "false");
126 struct arcnet_local *lp; local
178 lp = netdev_priv(dev);
204 lp->card_name = "PCI COM20020";
205 lp->card_flags = ci->flags;
206 lp->backplane = backplane;
207 lp->clockp = clockp & 7;
208 lp->clockm = clockm & 3;
209 lp
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6t_hbh.c56 const u_int8_t *lp = NULL; local
124 lp = skb_header_pointer(skb, ptr + 1,
127 if (lp == NULL)
131 if (spec_len != 0x00FF && spec_len != *lp) {
132 pr_debug("Lbad %02X %04X\n", *lp,
137 optlen = *lp + 2;
/linux-master/drivers/power/supply/
H A Dlp8788-charger.c92 * @lp : used for accessing the registers of mfd lp8788 device
103 struct lp8788 *lp; member in struct:lp8788_charger
137 lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data);
155 lp8788_read_byte(pchg->lp, LP8788_CHG_IDCIN, &read);
173 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data);
205 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data);
225 ret = lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data);
252 struct lp8788 *lp = pchg->lp; local
267 ret = lp8788_read_byte(lp, LP8788_CHG_STATU
368 struct lp8788 *lp = pchg->lp; local
679 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); local
[all...]
/linux-master/drivers/scsi/
H A Dncr53c8xx.c1192 struct lcb * lp[MAX_LUN]; /* The lcb's of this tcb */ member in struct:tcb
1937 static void ncr_start_next_ccb (struct ncb *np, struct lcb * lp, int maxn);
4086 struct lcb *lp = tp->lp[sdev->lun]; local
4172 if (lp && time_after(jiffies, lp->tags_stime)) {
4173 if (lp->tags_smap) {
4180 lp->tags_stime = jiffies + 3*HZ;
4181 lp->tags_smap = lp
4387 ncr_start_next_ccb(struct ncb *np, struct lcb *lp, int maxn) argument
4552 struct lcb *lp; local
4664 struct lcb *lp; local
4945 struct lcb *lp = tp->lp[cp->lun]; local
5461 struct lcb *lp = tp->lp[ln]; local
6370 struct lcb *lp = tp->lp[cmd->device->lun]; local
6974 struct lcb *lp = tp->lp[ln]; local
7083 struct lcb *lp = tp->lp[cp->lun]; local
7184 struct lcb *lp = tp->lp[ln]; local
7320 struct lcb *lp = tp->lp[ln]; local
7411 struct lcb *lp = tp->lp[ln]; local
7804 struct lcb *lp = tp->lp[device->lun]; local
[all...]
/linux-master/arch/sparc/kernel/
H A Dds.c203 struct ldc_channel *lp; member in struct:ds_info
244 static int __ds_send(struct ldc_channel *lp, void *data, int len) argument
250 err = ldc_write(lp, data, len);
259 static int ds_send(struct ldc_channel *lp, void *data, int len) argument
265 err = __ds_send(lp, data, len);
284 struct ldc_channel *lp = dp->lp; local
305 ds_send(lp, &pkt, sizeof(pkt));
323 struct ldc_channel *lp = dp->lp; local
363 struct ldc_channel *lp = dp->lp; local
886 struct ldc_channel *lp = dp->lp; local
1066 struct ldc_channel *lp = dp->lp; local
1096 struct ldc_channel *lp = dp->lp; local
1167 struct ldc_channel *lp; local
[all...]
/linux-master/arch/um/drivers/
H A Ddaemon_kern.c42 static int daemon_read(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
48 static int daemon_write(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
51 (struct daemon_data *) &lp->user);
H A Dvde_kern.c39 static int vde_read(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
41 struct vde_data *pri = (struct vde_data *) &lp->user;
51 static int vde_write(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
53 struct vde_data *pri = (struct vde_data *) &lp->user;
H A Dslirp_kern.c52 static int slirp_read(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
55 (struct slirp_data *) &lp->user);
58 static int slirp_write(int fd, struct sk_buff *skb, struct uml_net_private *lp) argument
61 (struct slirp_data *) &lp->user);
/linux-master/drivers/scsi/fnic/
H A Dfnic_main.c170 struct fc_lport *lp = shost_priv(shost); local
171 struct fnic *fnic = lport_priv(lp);
201 struct fc_lport *lp = shost_priv(host); local
202 struct fnic *fnic = lport_priv(lp);
203 struct fc_host_statistics *stats = &lp->host_stats;
314 struct fc_lport *lp = shost_priv(host); local
315 struct fnic *fnic = lport_priv(lp);
583 struct fc_lport *lp = shost_priv(host); local
584 struct fnic *fnic = lport_priv(lp);
610 struct fc_lport *lp; local
1012 struct fc_lport *lp = fnic->lport; local
[all...]
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1527 void sym_start_next_ccbs(struct sym_hcb *np, struct sym_lcb *lp, int maxn) argument
1535 assert(!lp->started_tags || !lp->started_no_tag);
1543 qp = sym_remque_head(&lp->waiting_ccbq);
1548 if (lp->started_no_tag ||
1549 lp->started_tags >= lp->started_max) {
1550 sym_insque_head(qp, &lp->waiting_ccbq);
1553 lp->itlq_tbl[cp->tag] = cpu_to_scr(cp->ccb_ba);
1554 lp
1646 struct sym_lcb *lp = sym_lp(tp, cp->lun); local
3446 struct sym_lcb *lp = sym_lp(tp, lun); local
4649 struct sym_lcb *lp = sym_lp(tp, ln); local
4774 struct sym_lcb *lp = sym_lp(tp, cp->lun); local
4970 struct sym_lcb *lp = NULL; local
5051 struct sym_lcb *lp = sym_lp(tp, ln); local
5097 struct sym_lcb *lp = sym_lp(tp, ln); local
5134 struct sym_lcb *lp; local
5356 struct sym_lcb *lp; local
5489 struct sym_lcb *lp; local
[all...]
/linux-master/fs/jfs/
H A Djfs_logmgr.c349 struct logpage *lp; /* dst log page */ local
368 lp = (struct logpage *) bp->l_ldata;
411 lp = (struct logpage *) bp->l_ldata;
424 dst = (caddr_t) lp + dstoffset;
436 lp = (struct logpage *) bp->l_ldata;
447 lvd = (struct lvd *) ((caddr_t) lp + dstoffset);
472 dst = (caddr_t) lp + dstoffset;
532 lp = (struct logpage *) bp->l_ldata;
554 struct logpage *lp; local
564 lp
740 struct logpage *lp; local
806 struct logpage *lp; local
930 struct logsyncblk *lp; local
1247 struct logpage *lp; local
1592 struct logsyncblk *lp; local
1639 struct logpage *lp; local
2360 struct logpage *lp; local
[all...]
/linux-master/drivers/iio/adc/
H A Dlp8788_adc.c28 struct lp8788 *lp; member in struct:lp8788_adc
61 ret = lp8788_write_byte(adc->lp, LP8788_ADC_CONF, data);
70 ret = lp8788_read_byte(adc->lp, LP8788_ADC_DONE, &data);
79 ret = lp8788_read_multi_bytes(adc->lp, LP8788_ADC_RAW, rawdata, size);
189 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); local
199 adc->lp = lp;
201 ret = lp8788_iio_map_register(&pdev->dev, indio_dev, lp->pdata, adc);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c38 struct lppaca *lp; local
41 lp = vcpu->arch.vpa.pinned_addr;
42 if (lp)
43 load_pmu = lp->pmcregs_in_use;
121 struct lppaca *lp; local
124 lp = vcpu->arch.vpa.pinned_addr;
125 if (lp)
126 save_pmu = lp->pmcregs_in_use;
/linux-master/arch/powerpc/include/asm/
H A Dcputime.h80 struct lppaca *lp = local_paca->lppaca_ptr; local
82 if (unlikely(local_paca->dtl_ridx != be64_to_cpu(lp->dtl_idx)))
/linux-master/net/sched/
H A Dem_canid.c100 const struct can_filter *lp; local
105 for (i = 0, lp = cm->rules_raw;
106 i < cm->eff_rules_count; i++, lp++) {
107 if (!(((lp->can_id ^ can_id) & lp->can_mask))) {
H A Dsch_skbprio.c76 u16 prio, lp; local
99 lp = q->lowest_prio;
100 if (prio <= lp) {
111 lp_qdisc = &q->qdiscs[lp];
117 q->qstats[lp].backlog -= qdisc_pkt_len(to_drop);
118 q->qstats[lp].drops++;
119 q->qstats[lp].overlimits++;
/linux-master/fs/ubifs/
H A Dreplay.c89 const struct ubifs_lprops *lp; local
94 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum);
95 if (IS_ERR(lp)) {
96 err = PTR_ERR(lp);
100 dirty = lp->dirty;
101 if (b->bud->start == 0 && (lp->free != c->leb_size || lp->dirty != 0)) {
105 * property values should be @lp->free == @c->leb_size and
106 * @lp->dirty == 0, but that is not the case. The reason is that
122 lp
1144 const struct ubifs_lprops *lp; local
[all...]

Completed in 281 milliseconds

12345678910