Searched refs:pidx (Results 1 - 25 of 41) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v10/drivers/
H A Daxisflashmap.c279 int pidx = 0; local
302 pidx++; /* First partition is always set to the default. */
350 && pidx < MAX_PARTITIONS) {
352 axis_partitions[pidx].offset = offset + ptable->offset;
353 axis_partitions[pidx].size = ptable->size;
355 printk(pmsg, pidx, axis_partitions[pidx].offset,
356 axis_partitions[pidx].size);
357 pidx++;
366 axis_partitions[pidx]
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/arch-v32/drivers/
H A Daxisflashmap.c316 int pidx = 0; local
379 pidx++;
447 && pidx < MAX_PARTITIONS - 1) {
449 axis_partitions[pidx].offset = offset + ptable->offset;
452 axis_partitions[pidx].size =
461 axis_partitions[pidx].size = ptable->size;
471 ram_rootfs_partition = pidx;
473 pidx++;
485 pidx = NUM_DEFAULT_PARTITIONS;
495 axis_partitions[pidx]
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_init.c210 int ret, pidx; local
234 for (pidx = 0; pidx < dd->num_pports; ++pidx) {
235 dd->pport[pidx].statusp = status_page;
427 int i, pidx; local
439 for (pidx = 0; pidx < dd->num_pports; ++pidx)
440 dd->f_sendctrl(dd->pport + pidx, QIB_SENDCTRL_FLUS
498 int ret = 0, pidx, lastfail = 0; local
682 int pidx; local
717 unsigned pidx; local
986 u32 pidx; local
1136 int pidx; local
1227 int ret, j, pidx, initfail; local
[all...]
H A Dqib_driver.c92 int pidx, nunits_active = 0; local
98 for (pidx = 0; pidx < dd->num_pports; ++pidx) {
99 ppd = dd->pport + pidx;
121 int pidx; local
130 for (pidx = 0; pidx < dd->num_pports; ++pidx) {
131 ppd = dd->pport + pidx;
609 int pidx; local
[all...]
H A Dqib_iba7322.c846 #define QIB_I_P_SDMAINT(pidx) \
847 (INT_MASK_P(SDma, pidx) | INT_MASK_P(SDmaIdle, pidx) | \
848 INT_MASK_P(SDmaProgress, pidx) | \
849 INT_MASK_PM(SDmaCleanupDone, pidx))
852 #define QIB_I_P_BITSEXTANT(pidx) \
853 (INT_MASK_P(Err, pidx) | INT_MASK_P(SendDone, pidx) | \
854 INT_MASK_P(SDma, pidx) | INT_MASK_P(SDmaIdle, pidx) | \
1590 int pidx; local
1903 int pidx; local
2042 int pidx; local
2610 int pidx; local
4687 int pidx; local
5412 unsigned pidx; local
5579 u32 pidx, unit, port, deflt, h1; local
5803 int i, pidx; local
5885 unsigned features, pidx, sbufcnt; local
[all...]
H A Dqib_tx.c116 unsigned pidx; local
118 for (pidx = 0; pidx < dd->num_pports; pidx++) {
119 ppd = dd->pport + pidx;
H A Dqib_file_ops.c558 int i, any = 0, pidx = -1; local
582 if (!rcd->pkeys[i] && pidx == -1)
583 pidx = i;
589 if (pidx == -1) {
602 rcd->pkeys[pidx] = key;
630 rcd->pkeys[pidx] = key;
1330 u32 pidx = ctxt % dd->num_pports; local
1331 if (usable(dd->pport + pidx))
1332 ppd = dd->pport + pidx;
1334 for (pidx
[all...]
H A Dqib_mad.c274 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ local
277 if (smp->attr_mod || pidx >= dd->num_pports ||
278 dd->pport[pidx].guid == 0)
281 nip->port_guid = dd->pport[pidx].guid;
310 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ local
316 if (startgx == 0 && pidx < dd->num_pports) {
317 struct qib_pportdata *ppd = dd->pport + pidx;
600 unsigned pidx = port - 1; /* IB number port from 1, hdw from 0 */ local
604 if (startgx == 0 && pidx < dd->num_pports) {
605 struct qib_pportdata *ppd = dd->pport + pidx;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4vf/
H A Dadapter.h98 u8 pidx; /* index into adapter port[] */ member in struct:port_info
131 unsigned int pidx; /* producer index */ member in struct:sge_fl
234 unsigned int pidx; /* producer index */ member in struct:sge_txq
453 * @pidx: the port index
457 static inline const char *port_name(struct adapter *adapter, int pidx) argument
459 return adapter->port[pidx]->name;
465 * @pidx: the port index
471 static inline void t4_os_set_hw_addr(struct adapter *adapter, int pidx, argument
474 memcpy(adapter->port[pidx]->dev_addr, hw_addr, ETH_ALEN);
475 memcpy(adapter->port[pidx]
496 adap2pinfo(struct adapter *adapter, int pidx) argument
[all...]
H A Dcxgb4vf_main.c142 void t4vf_os_link_changed(struct adapter *adapter, int pidx, int link_ok) argument
144 struct net_device *dev = adapter->port[pidx];
266 int pidx; local
278 for_each_port(adapter, pidx) {
279 struct net_device *dev = adapter->port[pidx];
493 int err, pidx, msix; local
531 for_each_port(adapter, pidx) {
532 struct net_device *dev = adapter->port[pidx];
562 for_each_port(adapter, pidx) {
563 struct net_device *dev = adapter->port[pidx];
603 int pidx; local
1926 int pidx = (uintptr_t)v - 2; local
2241 int q10g, n10g, qidx, pidx, qs; local
2435 int err, pidx; local
2775 int pidx; local
[all...]
H A Dt4vf_hw.c266 * @pidx: the adapter port index
268 int __devinit t4vf_port_init(struct adapter *adapter, int pidx) argument
270 struct port_info *pi = adap2pinfo(adapter, pidx);
292 t4_os_set_hw_addr(adapter, pidx, vi_rpl.mac);
1129 * @pidx: the port index
1134 int t4vf_get_port_stats(struct adapter *adapter, int pidx, argument
1137 struct port_info *pi = adap2pinfo(adapter, pidx);
1270 int action, port_id, link_ok, speed, fc, pidx; local
1308 for_each_port(adapter, pidx) {
1309 struct port_info *pi = adap2pinfo(adapter, pidx);
[all...]
H A Dsge.c578 * @n does not exceed the queue's capacity -- i.e. (cidx == pidx) _IN
589 __be64 *d = &fl->desc[fl->pidx];
590 struct rx_sw_desc *sdesc = &fl->sdesc[fl->pidx];
644 if (++fl->pidx == fl->size) {
645 fl->pidx = 0;
674 if (++fl->pidx == fl->size) {
675 fl->pidx = 0;
1059 tq->pidx += n;
1060 if (tq->pidx >= tq->size)
1061 tq->pidx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/chelsio/
H A Dsge.c185 u16 pidx; /* producer index (SW) */ member in struct:cmdQ
198 u16 pidx; /* producer index (SW) */ member in struct:freelQ
806 struct freelQ_ce *ce = &q->centries[q->pidx];
807 struct freelQ_e *e = &q->entries[q->pidx];
834 if (++q->pidx == q->size) {
835 q->pidx = 0;
984 struct freelQ_e *to = &fl->entries[fl->pidx];
986 fl->centries[fl->pidx] = fl->centries[idx];
994 if (++fl->pidx == fl->size) {
995 fl->pidx
1137 write_large_page_tx_descs(unsigned int pidx, struct cmdQ_e **e, struct cmdQ_ce **ce, unsigned int *gen, dma_addr_t *desc_mapping, unsigned int *desc_len, unsigned int nfrags, struct cmdQ *q) argument
1178 write_tx_descs(struct adapter *adapter, struct sk_buff *skb, unsigned int pidx, unsigned int gen, struct cmdQ *q) argument
1298 unsigned int genbit, pidx, count; local
1643 unsigned int credits, pidx, genbit, count, use_sched_skb = 0; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dsvc.c182 unsigned int pidx = 0; local
191 BUG_ON(pidx > maxpools);
192 m->to_pool[cpu] = pidx;
193 m->pool_to[pidx] = cpu;
194 pidx++;
198 return pidx;
210 unsigned int pidx = 0; local
220 BUG_ON(pidx > maxpools);
221 m->to_pool[node] = pidx;
222 m->pool_to[pidx]
303 svc_pool_map_set_cpumask(struct task_struct *task, unsigned int pidx) argument
337 unsigned int pidx = 0; local
[all...]
H A Dsvc_xprt.c1167 unsigned int pidx = (unsigned int)*pos; local
1170 dprintk("svc_pool_stats_start, *pidx=%u\n", pidx);
1172 if (!pidx)
1174 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]);
1187 unsigned int pidx = (pool - &serv->sv_pools[0]); local
1188 if (pidx < serv->sv_nrpools-1)
1189 pool = &serv->sv_pools[pidx+1];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/
H A Dt4_hw.h74 SGE_EQ_IDXSIZE = 64, /* egress queue pidx/cidx unit size */
79 SGE_UPDATEDEL_NONE = 0, /* ingress queue pidx update delivery */
114 __be16 pidx; member in struct:sge_qstat
H A Dsge.c489 __be64 *d = &q->desc[q->pidx];
490 struct rx_sw_desc *sd = &q->sdesc[q->pidx];
519 if (++q->pidx == q->size) {
520 q->pidx = 0;
547 if (++q->pidx == q->size) {
548 q->pidx = 0;
861 q->pidx += n;
862 if (q->pidx >= q->size)
863 q->pidx -= q->size;
927 wr = (void *)&q->q.desc[q->q.pidx];
[all...]
H A Dcxgb4.h323 unsigned int pidx; /* producer index */ member in struct:sge_fl
406 unsigned int pidx; /* producer index */ member in struct:sge_txq
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb3/
H A Dsge.c499 struct rx_sw_desc *sd = &q->sdesc[q->pidx];
500 struct rx_desc *d = &q->desc[q->pidx];
539 if (++q->pidx == q->size) {
540 q->pidx = 0;
574 struct rx_desc *to = &q->desc[q->pidx];
576 q->sdesc[q->pidx] = q->sdesc[idx];
583 if (++q->pidx == q->size) {
584 q->pidx = 0;
1032 * @pidx: index of above descriptors
1047 struct tx_desc *d, unsigned int pidx,
1046 write_wr_hdr_sgl(unsigned int ndesc, struct sk_buff *skb, struct tx_desc *d, unsigned int pidx, const struct sge_txq *q, const struct sg_ent *sgl, unsigned int flits, unsigned int sgl_flits, unsigned int gen, __be32 wr_hi, __be32 wr_lo) argument
1134 write_tx_pkt_wr(struct adapter *adap, struct sk_buff *skb, const struct port_info *pi, unsigned int pidx, unsigned int gen, struct sge_txq *q, unsigned int ndesc, unsigned int compl) argument
1221 unsigned int ndesc, pidx, credits, gen, compl; local
1576 write_ofld_wr(struct adapter *adap, struct sk_buff *skb, struct sge_txq *q, unsigned int pidx, unsigned int gen, unsigned int ndesc) argument
1644 unsigned int ndesc = calc_tx_descs_ofld(skb), pidx, gen; local
1692 unsigned int gen, pidx; local
[all...]
H A Dadapter.h117 unsigned int pidx; /* producer index */ member in struct:sge_fl
181 unsigned int pidx; /* producer index */ member in struct:sge_txq
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/
H A Dt4.h61 __be16 pidx; member in struct:t4_status_page
281 u16 pidx; member in struct:t4_sq
303 u16 pidx; member in struct:t4_rq
338 if (++wq->rq.pidx == wq->rq.size)
339 wq->rq.pidx = 0;
371 if (++wq->sq.pidx == wq->sq.size)
372 wq->sq.pidx = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/cxgb3i/
H A Dcxgb3i_ddp.c82 int j, pidx; local
91 for (pidx = 4 * i, j = 0; j < 5; ++j, ++pidx)
92 ppod->addr[j] = pidx < gl->nelem ?
93 cpu_to_be64(gl->phys_addr[pidx]) : 0UL;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Dscsi_tgt_if.c66 u32 pidx, off; local
68 pidx = idx / TGT_EVENT_PER_PAGE;
72 (ring->tr_pages[pidx] + sizeof(struct tgt_event) * off);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Drelay.c1225 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; local
1258 pidx = (read_start / PAGE_SIZE) % subbuf_pages;
1272 spd.pages[spd.nr_pages] = rbuf->page_array[pidx];
1286 pidx = (pidx + 1) % subbuf_pages;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/be2iscsi/
H A Dbe_cmds.h215 u8 pidx[13]; /* dword 1 */ member in struct:amap_eq_context
378 u8 pidx[11]; /* dword 1 */ member in struct:amap_cq_context

Completed in 319 milliseconds

12