/netbsd-current/sys/netbt/ |
H A D | rfcomm_dlc.c | 270 * this every time, in order to establish initial credits. 280 pn.credits = dlc->rd_rxcred; 328 * Start sending data (and/or credits) for DLC. Our strategy is to 329 * send anything we can down to the l2cap layer. When credits run 340 int len, credits; local 347 credits = 0; 350 credits = (dlc->rd_rxsize / dlc->rd_mtu); 351 credits -= dlc->rd_rxcred; 352 credits = uimin(credits, RFCOMM_CREDITS_MA [all...] |
H A D | rfcomm_session.c | 928 uint8_t credits = 0; local 957 /* if PF is set, credits were included */ 960 if (m->m_pkthdr.len < sizeof(credits)) { 965 m_copydata(m, 0, sizeof(credits), &credits); 966 m_adj(m, sizeof(credits)); 968 dlc->rd_txcred += credits; 970 if (credits > 0 && dlc->rd_txbuf != NULL) 1349 /* credits are only set before DLC is open */ 1353 dlc->rd_txcred = pn.credits 1526 rfcomm_session_send_uih(struct rfcomm_session *rs, struct rfcomm_dlc *dlc, int credits, struct mbuf *m) argument [all...] |
H A D | rfcomm.h | 204 uint8_t credits; member in struct:rfcomm_mcc_pn 249 uint8_t tx_cred; /* TX credits */ 250 uint8_t rx_cred; /* RX credits */ 332 int rd_rxcred; /* receive credits (sent) */ 334 int rd_txcred; /* transmit credits (unused) */ 356 * rxcred is the number of credits that we have previously 359 * send credits. We calculate the amount of credits to send 362 * credits without risking buffer overflow.
|
/netbsd-current/sys/dev/pci/cxgb/ |
H A D | cxgb_ctl_defs.h | 136 unsigned int credits; member in struct:rdma_cq_op 146 unsigned int credits; member in struct:rdma_cq_setup
|
H A D | cxgb_sge.c | 513 q->credits++; 533 while (q->credits--) { 552 refill_fl(adap, fl, uimin(16U, fl->size - fl->credits)); 577 q->credits++; 670 * c) Return coalesced response queue credits in case a response queue is 693 refill_rx = ((qs->fl[0].credits < qs->fl[0].size) || 694 (qs->fl[1].credits < qs->fl[1].size)); 754 * @credits: how many new responses to make available 760 refill_rspq(adapter_t *sc, const struct sge_rspq *q, u_int credits) argument 765 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); 2337 unsigned int credits; local [all...] |
H A D | cxgb_adapter.h | 190 uint32_t credits; member in struct:sge_rspq 228 uint32_t credits; member in struct:sge_fl
|
H A D | cxgb_common.h | 751 unsigned int credits, unsigned int credit_thres); 761 unsigned int credits);
|
H A D | cxgb_t3_hw.c | 1914 unsigned int credits = type == SGE_CNTXT_OFLD ? 0 : FW_WR_NUM; local 1923 V_EC_CREDITS(credits) | V_EC_GTS(gts_enable)); 2023 * @credits: completion queue credits 2032 unsigned int credits, unsigned int credit_thres) 2047 t3_write_reg(adapter, A_SG_CONTEXT_DATA3, V_CQ_CREDITS(credits) | 2154 * @credits: credits to return to the CQ 2164 unsigned int credits) 2171 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, credits << 1 2030 t3_sge_init_cqcntxt(adapter_t *adapter, unsigned int id, u64 base_addr, unsigned int size, int rspq, int ovfl_mode, unsigned int credits, unsigned int credit_thres) argument 2163 t3_sge_cqcntxt_op(adapter_t *adapter, unsigned int id, unsigned int op, unsigned int credits) argument [all...] |
H A D | cxgb_offload.c | 295 req2->credits); 325 req2->ovfl_mode, req2->credits,
|
H A D | cxgb_t3_cpl.h | 900 __be16 credits; member in struct:cpl_wr_ack
|
/netbsd-current/sys/dev/usb/ |
H A D | if_athn_usb.h | 280 uint16_t credits; member in struct:ar_htc_msg_ready 289 uint8_t credits; member in struct:ar_htc_msg_config_pipe
|
H A D | if_athn_usb.c | 1119 /* Set credits for WLAN Tx pipe. */ 1122 cfg.credits = (usc->usc_flags & ATHN_USB_FLAG_AR7010) ? 45 : 33;
|
/netbsd-current/external/gpl2/groff/dist/src/libs/snprintf/ |
H A D | snprintf.c | 189 * - make compiler not complain about 'credits' defined but 218 * comes to the rescue. Changed the credits[] string, and 487 static const char credits[] = "\n\ 675 str_arg = credits;/* just to make compiler happy (defined but not used)*/ 486 static const char credits[] = "\\n\\ variable
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/ |
H A D | intel_cdclk.c | 497 unsigned int credits, default_credits; local 507 credits = PFI_CREDIT_63; 509 credits = PFI_CREDIT(15); 511 credits = default_credits; 515 * WA - write default credits before re-programming 522 credits | PFI_CREDIT_RESEND);
|