/drivers/infiniband/sw/rdmavt/ |
D | rc.c | 168 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit() local 176 if (credit == IB_AETH_CREDIT_INVAL) { in rvt_get_credit() 186 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit() 187 if (rvt_cmp_msn(credit, qp->s_lsn) > 0) { in rvt_get_credit() 188 qp->s_lsn = credit; in rvt_get_credit()
|
/drivers/xen/ |
D | balloon.c | 289 long credit; in reserve_additional_memory() local 294 credit = balloon_stats.target_pages + balloon_stats.target_unpopulated in reserve_additional_memory() 301 if (credit <= 0) in reserve_additional_memory() 304 balloon_hotplug = round_up(credit, PAGES_PER_SECTION); in reserve_additional_memory() 519 long credit; in balloon_process() local 525 credit = current_credit(); in balloon_process() 527 if (credit > 0) { in balloon_process() 529 state = increase_reservation(credit); in balloon_process() 534 if (credit < 0) { in balloon_process() 537 n_pages = min(-credit, si_mem_available()); in balloon_process() [all …]
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cq.c | 40 u32 credit = 0; in __iwch_poll_cq_one() local 46 &credit); in __iwch_poll_cq_one() 47 if (t3a_device(chp->rhp) && credit) { in __iwch_poll_cq_one() 49 credit, chp->cq.cqid); in __iwch_poll_cq_one() 50 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in __iwch_poll_cq_one()
|
D | cxio_hal.h | 159 enum t3_cq_opcode op, u32 credit); 195 u8 *cqe_flushed, u64 *cookie, u32 *credit);
|
D | cxio_hal.c | 72 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() 1117 u8 *cqe_flushed, u64 *cookie, u32 *credit) in cxio_poll_cq() argument 1123 *credit = 0; in cxio_poll_cq() 1307 *credit = cq->rptr - cq->wptr; in cxio_poll_cq()
|
/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 125 IMX8_DDR_PMU_EVENT_ATTR(lp-read-credit-cnt, 0x10), 126 IMX8_DDR_PMU_EVENT_ATTR(hp-read-credit-cnt, 0x11), 127 IMX8_DDR_PMU_EVENT_ATTR(write-credit-cnt, 0x12), 133 IMX8_DDR_PMU_EVENT_ATTR(hp-xact-credit, 0x25), 135 IMX8_DDR_PMU_EVENT_ATTR(lp-xact-credit, 0x27), 136 IMX8_DDR_PMU_EVENT_ATTR(wr-xact-credit, 0x29),
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 545 u8 *cqe_flushed, u64 *cookie, u32 *credit, in poll_cq() argument 552 *credit = 0; in poll_cq() 759 u32 credit = 0; in __c4iw_poll_cq_one() local 764 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit, in __c4iw_poll_cq_one()
|
/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 234 int credit; member
|
D | ibmvscsi_tgt.c | 815 vscsi->credit = 0; in ibmvscsis_establish_new_q() 887 vscsi->credit = 0; in ibmvscsis_reset_queue() 1354 vscsi->credit = 0; in ibmvscsis_adapter_idle() 1932 vscsi->credit += 1; in ibmvscsis_send_messages() 2121 vscsi->credit = 0; in ibmvscsis_login_rsp() 3110 rsp->req_lim_delta = cpu_to_be32(1 + vscsi->credit); in srp_build_response() 3180 vscsi->credit = 0; in srp_build_response()
|
/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 160 struct drv_ctl_spq_credit credit; member
|
D | cnic.c | 298 info.data.credit.credit_count = count; in cnic_spq_completion()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 233 u16 seid, u16 credit, u8 max_credit, 238 u16 seid, u16 credit, u8 max_bw,
|
D | i40e_adminq_cmd.h | 1655 __le16 credit; member 1723 __le16 credit; member
|
D | i40e_common.c | 4004 u16 seid, u16 credit, u8 max_credit, in i40e_aq_config_vsi_bw_limit() argument 4016 cmd->credit = cpu_to_le16(credit); in i40e_aq_config_vsi_bw_limit()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.h | 660 atomic_t credit; member 1507 int base, int credit);
|
D | bnx2x_sp.c | 4213 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); in bnx2x_credit_pool_get() 4226 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in bnx2x_credit_pool_put() 4238 cur_credit = atomic_read(&o->credit); in bnx2x_credit_pool_check() 4323 int base, int credit) in bnx2x_init_credit_pool() argument 4332 atomic_set(&p->credit, credit); in bnx2x_init_credit_pool() 4335 p->pool_sz = credit; in bnx2x_init_credit_pool() 4345 if (credit >= 0) { in bnx2x_init_credit_pool() 4434 int credit = PF_VLAN_CREDIT_E2(bp, func_num); in bnx2x_init_vlan_credit_pool() local 4436 bnx2x_init_credit_pool(p, -1/*unused for E2*/, credit); in bnx2x_init_vlan_credit_pool()
|
D | bnx2x_main.c | 14793 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl() 14861 int count = ctl->data.credit.credit_count; in bnx2x_drv_ctl()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 3050 u32 credit; in hns_dsaf_roce_reset() local 3133 credit = dsaf_read_dev(dsaf_dev, DSAF_SBM_ROCEE_CFG_REG_REG); in hns_dsaf_roce_reset() 3134 dsaf_set_bit(credit, DSAF_SBM_ROCEE_CFG_CRD_EN_B, 0); in hns_dsaf_roce_reset() 3135 dsaf_write_dev(dsaf_dev, DSAF_SBM_ROCEE_CFG_REG_REG, credit); in hns_dsaf_roce_reset() 3137 dsaf_set_bit(credit, DSAF_SBM_ROCEE_CFG_CRD_EN_B, 1); in hns_dsaf_roce_reset() 3138 dsaf_write_dev(dsaf_dev, DSAF_SBM_ROCEE_CFG_REG_REG, credit); in hns_dsaf_roce_reset()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1798 u32 credit = 0; in cxgbit_credit_err() local 1807 credit += (__force u32)skb->csum; in cxgbit_credit_err() 1811 if (unlikely((csk->wr_cred + credit) != csk->wr_max_cred)) { in cxgbit_credit_err() 1814 credit, csk->wr_max_cred); in cxgbit_credit_err()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 416 u32 credit; member
|
/drivers/char/ |
D | random.c | 1318 int credit = 0; in add_interrupt_randomness() local 1363 credit = 1; in add_interrupt_randomness() 1370 credit_entropy_bits(r, credit + 1); in add_interrupt_randomness()
|
/drivers/pcmcia/ |
D | Kconfig | 11 computer. These are credit-card size devices such as network cards,
|
/drivers/tty/serial/8250/ |
D | Kconfig | 154 credit-card size devices often used with laptops.)
|
/drivers/staging/speakup/ |
D | spkguide.txt | 1193 to get credit for their work, while not being considered responsible
|