Home
last modified time | relevance | path

Searched refs:credit (Results 1 – 19 of 19) sorted by relevance

/drivers/xen/
Dballoon.c233 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument
237 unsigned long balloon_hotplug = credit; in reserve_additional_memory()
250 balloon_hotplug -= credit; in reserve_additional_memory()
252 balloon_stats.hotplug_pages += credit; in reserve_additional_memory()
307 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument
459 long credit; in balloon_process() local
464 credit = current_credit(); in balloon_process()
466 if (credit > 0) { in balloon_process()
468 state = increase_reservation(credit); in balloon_process()
470 state = reserve_additional_memory(credit); in balloon_process()
[all …]
/drivers/net/wireless/iwmc3200wifi/
Ddebugfs.c192 struct iwm_tx_credit *credit = &iwm->tx_credit; in iwm_debugfs_tx_credit_read() local
208 "NR pools: %d\n", credit->pool_nr); in iwm_debugfs_tx_credit_read()
210 "pools map: 0x%lx\n", credit->full_pools_map); in iwm_debugfs_tx_credit_read()
218 credit->pools[i].id); in iwm_debugfs_tx_credit_read()
221 credit->pools[i].sid); in iwm_debugfs_tx_credit_read()
224 credit->pools[i].min_pages); in iwm_debugfs_tx_credit_read()
227 credit->pools[i].max_pages); in iwm_debugfs_tx_credit_read()
230 credit->pools[i].alloc_pages); in iwm_debugfs_tx_credit_read()
233 credit->pools[i].total_freed_pages); in iwm_debugfs_tx_credit_read()
242 credit->spools[i].id); in iwm_debugfs_tx_credit_read()
[all …]
/drivers/infiniband/hw/cxgb3/
Diwch_cq.c50 u32 credit = 0; in iwch_poll_cq_one() local
68 &credit); in iwch_poll_cq_one()
69 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one()
71 credit, chp->cq.cqid); in iwch_poll_cq_one()
72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one()
Dcxio_hal.h159 enum t3_cq_opcode op, u32 credit);
196 u8 *cqe_flushed, u64 *cookie, u32 *credit);
Dcxio_hal.c72 enum t3_cq_opcode op, u32 credit) in cxio_hal_cq_op() argument
80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; in cxio_hal_cq_op()
1150 u8 *cqe_flushed, u64 *cookie, u32 *credit) in cxio_poll_cq() argument
1156 *credit = 0; in cxio_poll_cq()
1340 *credit = cq->rptr - cq->wptr; in cxio_poll_cq()
/drivers/staging/ozwpan/
Dozhcd.c74 int credit; member
317 ep->credit = -1; in oz_ep_alloc()
457 if (!in_dir && ep_addr && (ep->credit < 0)) { in oz_enqueue_ep_urb()
459 ep->credit = 0; in oz_enqueue_ep_urb()
461 0, 0, ep->credit); in oz_enqueue_ep_urb()
1001 if (ep->credit < 0) in oz_hcd_heartbeat()
1003 ep->credit += (now - ep->last_jiffies); in oz_hcd_heartbeat()
1004 if (ep->credit > ep->credit_ceiling) in oz_hcd_heartbeat()
1005 ep->credit = ep->credit_ceiling; in oz_hcd_heartbeat()
1006 oz_event_log(OZ_EVT_EP_CREDIT, ep->ep_num, 0, 0, ep->credit); in oz_hcd_heartbeat()
[all …]
/drivers/infiniband/hw/ipath/
Dipath_qp.c1057 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; in ipath_get_credit() local
1064 if (credit == IPATH_AETH_CREDIT_INVAL) in ipath_get_credit()
1068 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; in ipath_get_credit()
1069 if (ipath_cmp24(credit, qp->s_lsn) > 0) in ipath_get_credit()
1070 qp->s_lsn = credit; in ipath_get_credit()
/drivers/infiniband/hw/qib/
Dqib_qp.c1255 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; in qib_get_credit() local
1262 if (credit == QIB_AETH_CREDIT_INVAL) { in qib_get_credit()
1272 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; in qib_get_credit()
1273 if (qib_cmp24(credit, qp->s_lsn) > 0) { in qib_get_credit()
1274 qp->s_lsn = credit; in qib_get_credit()
/drivers/net/wireless/bcmdhd/
Ddhd_wlfc.c1316 int credit; in dhd_wlfc_commit_packets() local
1391 for (credit = 0; credit < ctx->FIFO_credit[ac];) { in dhd_wlfc_commit_packets()
1411 credit++; in dhd_wlfc_commit_packets()
1418 ctx->FIFO_credit[ac] -= credit; in dhd_wlfc_commit_packets()
1424 ctx->FIFO_credit[ac] -= credit; in dhd_wlfc_commit_packets()
2120 uint8 credit; in dhd_wlfc_credit_request() local
2124 credit = value[0]; in dhd_wlfc_credit_request()
2128 desc->requested_credit = credit; in dhd_wlfc_credit_request()
/drivers/infiniband/hw/cxgb4/
Dcq.c403 u8 *cqe_flushed, u64 *cookie, u32 *credit) in poll_cq() argument
409 *credit = 0; in poll_cq()
570 u32 credit = 0; in c4iw_poll_cq_one() local
587 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); in c4iw_poll_cq_one()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c3797 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); in bnx2x_credit_pool_get()
3810 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in bnx2x_credit_pool_put()
3822 cur_credit = atomic_read(&o->credit); in bnx2x_credit_pool_check()
3908 int base, int credit) in bnx2x_init_credit_pool() argument
3917 atomic_set(&p->credit, credit); in bnx2x_init_credit_pool()
3920 p->pool_sz = credit; in bnx2x_init_credit_pool()
3930 if (credit >= 0) { in bnx2x_init_credit_pool()
4024 int credit = MAX_VLAN_CREDIT_E2 / func_num; in bnx2x_init_vlan_credit_pool() local
4025 bnx2x_init_credit_pool(p, func_id * credit, credit); in bnx2x_init_vlan_credit_pool()
Dbnx2x_sp.h628 atomic_t credit; member
Dbnx2x_main.c12013 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl()
12083 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl()
/drivers/net/ethernet/broadcom/
Dcnic_if.h137 struct drv_ctl_spq_credit credit; member
Dcnic.c281 info.data.credit.credit_count = count; in cnic_spq_completion()
/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h417 u32 credit; member
/drivers/pcmcia/
DKconfig10 computer. These are credit-card size devices such as network cards,
/drivers/tty/serial/8250/
DKconfig108 credit-card size devices often used with laptops.)
/drivers/staging/speakup/
Dspkguide.txt1194 to get credit for their work, while not being considered responsible