Searched defs:credit (Results 1 - 13 of 13) sorted by relevance

/drivers/infiniband/hw/cxgb3/
H A Diwch_cq.c50 u32 credit = 0; local
68 &credit);
69 if (t3a_device(chp->rhp) && credit) {
71 credit, chp->cq.cqid);
72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit);
H A Dcxio_hal.c72 enum t3_cq_opcode op, u32 credit)
80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0;
642 * Force a CQE to return the credit to the workq in case
1141 * credit: cq credit to return to sge.
1150 u8 *cqe_flushed, u64 *cookie, u32 *credit)
1156 *credit = 0;
1340 *credit = cq->rptr - cq->wptr;
71 cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq, enum t3_cq_opcode op, u32 credit) argument
1149 cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) argument
/drivers/net/wireless/iwmc3200wifi/
H A Ddebugfs.c192 struct iwm_tx_credit *credit = &iwm->tx_credit; local
208 "NR pools: %d\n", credit->pool_nr);
210 "pools map: 0x%lx\n", credit->full_pools_map);
218 credit->pools[i].id);
221 credit->pools[i].sid);
224 credit->pools[i].min_pages);
227 credit->pools[i].max_pages);
230 credit->pools[i].alloc_pages);
233 credit->pools[i].total_freed_pages);
242 credit
[all...]
/drivers/xen/
H A Dballoon.c223 * reserve_additional_memory() adds memory region of size >= credit above
233 static enum bp_state reserve_additional_memory(long credit) argument
237 unsigned long balloon_hotplug = credit;
250 balloon_hotplug -= credit;
252 balloon_stats.hotplug_pages += credit;
307 static enum bp_state reserve_additional_memory(long credit) argument
459 long credit; local
464 credit = current_credit();
466 if (credit > 0) {
468 state = increase_reservation(credit);
[all...]
/drivers/infiniband/hw/cxgb4/
H A Dcq.c393 * credit: cq credit to return to sge.
403 u8 *cqe_flushed, u64 *cookie, u32 *credit)
409 *credit = 0;
570 u32 credit = 0; local
587 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit);
402 poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) argument
/drivers/infiniband/hw/ipath/
H A Dipath_qp.c50 * Convert the AETH credit code into the number of credits.
684 * Set the credit field to the invalid value.
710 * Binary search the credit table to find the code to
1057 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; local
1060 * If the credit is invalid, we can send
1062 * honor the credit field.
1064 if (credit == IPATH_AETH_CREDIT_INVAL)
1067 /* Compute new LSN (i.e., MSN + credit) */
1068 credit = (aeth + credit_table[credit])
[all...]
/drivers/infiniband/hw/qib/
H A Dqib_qp.c64 * Convert the AETH credit code into the number of credits.
913 * Set the credit field to the invalid value.
939 * Binary search the credit table to find the code to
1255 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; local
1258 * If the credit is invalid, we can send
1260 * honor the credit field.
1262 if (credit == QIB_AETH_CREDIT_INVAL) {
1271 /* Compute new LSN (i.e., MSN + credit) */
1272 credit = (aeth + credit_table[credit])
[all...]
/drivers/net/ethernet/broadcom/
H A Dcnic_if.h137 struct drv_ctl_spq_credit credit; member in union:drv_ctl_info::__anon1978
/drivers/net/ethernet/chelsio/cxgb/
H A Dcpl5_cmd.h417 u32 credit; member in struct:cpl_rx_data_ack
/drivers/net/wireless/bcmdhd/
H A Ddhd_cdc.c418 bcm_bprintf(strbuf, "SENDQ (len,credit,sent) "
452 bcm_bprintf(strbuf, "INTERFACE[%d].DELAYQ(len,state,credit)"
484 bcm_bprintf(strbuf, "MAC_table[%d].DELAYQ(len,state,credit)"
533 bcm_bprintf(strbuf, "wlfc- fifo[0-5] credit stats: sent = (%d,%d,%d,%d,%d,%d), "
956 if this packet did not count against FIFO credit, it must have
1208 destination-specific-credit left send packets. This is because the
1238 /* most cases a packet will count against FIFO credit */
1283 then this should not count against the FIFO credit.
1452 /* update the AC FIFO credit map */
1457 /* credit fo
1549 int credit; local
2170 uint8 credit; local
[all...]
/drivers/staging/ozwpan/
H A Dozhcd.c74 int credit; member in struct:oz_endpoint
317 ep->credit = -1;
457 if (!in_dir && ep_addr && (ep->credit < 0)) {
459 ep->credit = 0;
461 0, 0, ep->credit);
1001 if (ep->credit < 0)
1003 ep->credit += (now - ep->last_jiffies);
1004 if (ep->credit > ep->credit_ceiling)
1005 ep->credit = ep->credit_ceiling;
1006 oz_event_log(OZ_EVT_EP_CREDIT, ep->ep_num, 0, 0, ep->credit);
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c350 /* credit handling callbacks */
1162 * requested, consume CAM credit.
1196 /* Consume the credit if not requested not to */
1213 * requested, returns a CAM credit.
1254 /* Return the credit to the credit pool if not requested not to */
1258 BNX2X_ERR("Failed to return a credit\n");
1273 * requested, returns a CAM credit.
1324 /* Consume the credit if not requested not to */
1333 /* return the credit take
3907 bnx2x_init_credit_pool(struct bnx2x_credit_pool_obj *p, int base, int credit) argument
4024 int credit = MAX_VLAN_CREDIT_E2 / func_num; local
[all...]
H A Dbnx2x_sp.h290 /* MACs credit pool */
293 /* VLANs credit pool */
343 * Update the relevant credit object(s) (consume/return
627 /* Current amount of credit in the pool */
628 atomic_t credit; member in struct:bnx2x_credit_pool_obj
630 /* Maximum allowed credit. put() will check against it. */
662 * Get the requested amount of credit from the pool.
664 * @param cnt Amount of requested credit
670 * Returns the credit to the pool.
672 * @param cnt Amount of credit t
[all...]

Completed in 339 milliseconds