/linux-master/drivers/infiniband/hw/qedr/ |
H A D | qedr.h | 326 u16 cons; member in struct:qedr_qp_hwq_info 521 info->cons = (info->cons + 1) % info->max_wr;
|
H A D | verbs.c | 859 static void doorbell_cq(struct qedr_cq *cq, u32 cons, u8 flags) argument 862 cq->db.data.value = cpu_to_le32(cons); 1337 qph->cons = 0; 2179 * We should add an extra WR since the prod and cons indices of 2181 * when (prod+1)%max_wr==cons. We currently don't do that because we 2443 if ((qp->rq.prod != qp->rq.cons) || 2444 (qp->sq.prod != qp->sq.cons)) { 2446 "Error->Reset with rq/sq not empty rq.prod=%x rq.cons=%x sq.prod=%x sq.cons=%x\n", 2447 qp->rq.prod, qp->rq.cons, q [all...] |
/linux-master/drivers/tty/serial/ |
H A D | serial_core.c | 325 if (uart_console(uport) && uport->cons->cflag) { 326 tty->termios.c_cflag = uport->cons->cflag; 327 tty->termios.c_ispeed = uport->cons->ispeed; 328 tty->termios.c_ospeed = uport->cons->ospeed; 329 uport->cons->cflag = 0; 330 uport->cons->ispeed = 0; 331 uport->cons->ospeed = 0; 411 uport->cons->cflag = tty->termios.c_cflag; 412 uport->cons->ispeed = tty->termios.c_ispeed; 413 uport->cons [all...] |
H A D | suncore.c | 61 drv->cons = con;
|
H A D | sprd_serial.c | 1076 .cons = SPRD_CONSOLE, 1096 struct console *cons = sprd_uart_driver.cons; local 1098 if ((cons && cons->index >= 0 && cons->index == uport->line) ||
|
H A D | kgdb_nmi.c | 53 dbg_io_ops->cons = co;
|
H A D | serial_txx9.c | 555 if (up->cons && up->line == up->cons->index) { 779 if (up->line == up->cons->index) 931 .cons = SERIAL_TXX9_CONSOLE,
|
/linux-master/include/linux/ |
H A D | kgdb.h | 291 * @cons: valid if the I/O device is a console; else NULL. 302 struct console *cons; member in struct:kgdb_io
|
/linux-master/drivers/xen/ |
H A D | evtchn.c | 166 unsigned int prod, cons; local 181 cons = READ_ONCE(u->ring_cons); 183 if ((prod - cons) < u->ring_size) { 187 if (cons == prod) { 343 * prod /or/ cons lock so take both when resizing.
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_drv.c | 292 struct ivpu_ipc_consumer cons; local 300 ivpu_ipc_consumer_add(vdev, &cons, IVPU_IPC_CHAN_BOOT_MSG, NULL); 305 ret = ivpu_ipc_receive(vdev, &cons, &ipc_hdr, NULL, 0); 312 ivpu_ipc_consumer_del(vdev, &cons);
|
/linux-master/drivers/net/xen-netback/ |
H A D | netback.c | 210 RING_IDX cons = queue->tx.req_cons; local 214 if (cons == end) 216 RING_COPY_REQUEST(&queue->tx, cons++, txp); 219 queue->tx.req_cons = cons; 237 RING_IDX cons = queue->tx.req_cons; local 285 RING_COPY_REQUEST(&queue->tx, cons + slots, txp); 322 xenvif_tx_err(queue, first, extra_count, cons + slots); 731 RING_IDX cons = queue->tx.req_cons; local 740 RING_COPY_REQUEST(&queue->tx, cons, &extra); 742 queue->tx.req_cons = ++cons; [all...] |
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 144 qp->sq.hwq.cons = 0; 147 qp->rq.hwq.cons = 0; 247 nqe = &nq_ptr[NQE_PG(hwq->cons)][NQE_IDX(hwq->cons)]; 276 bnxt_qplib_hwq_incr_cons(hwq->max_elements, &hwq->cons, 311 nqe = bnxt_qplib_get_qe(hwq, hwq->cons, NULL); 375 bnxt_qplib_hwq_incr_cons(hwq->max_elements, &hwq->cons, 408 sw_cons = HWQ_CMP(hwq->cons, hwq); 1471 peek_cons = cq_hwq->cons; 1815 "prod = %#x cons [all...] |
H A D | qplib_rcfw.c | 704 hwq->cons += req_size; 744 creqe = bnxt_qplib_get_qe(hwq, hwq->cons, NULL); 778 bnxt_qplib_hwq_incr_cons(hwq->max_elements, &hwq->cons, 800 sw_cons = HWQ_CMP(hwq->cons, hwq);
|
/linux-master/drivers/net/thunderbolt/ |
H A D | main.c | 143 unsigned int cons; member in struct:tbnet_ring 368 ring->cons = 0; 496 return ring->prod - ring->cons; 558 index = ring->cons++ & (TBNET_RING_SIZE - 1); 616 ring->cons = 0; 839 net->rx_ring.cons++; 1234 net->tx_ring.cons -= frame_index;
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 160 return ring->prod == ring->cons; 232 en_dbg(DRV, priv, "Freeing Rx buf - cons:%d prod:%d\n", 233 ring->cons, ring->prod); 240 ring->cons = 0; 280 ring->cons = 0; 340 ring->cons = 0; 551 u32 missing = ring->actual_size - (ring->prod - ring->cons); 977 ring->cons = cq->mcq.cons_index;
|
/linux-master/drivers/video/fbdev/ |
H A D | xen-fbfront.c | 119 u32 cons, prod; local 122 cons = info->page->out_cons; 123 return prod - cons == XENFB_OUT_RING_LEN;
|
/linux-master/drivers/tty/vt/ |
H A D | consolemap.c | 470 unsigned int cons, d, r; local 472 for (cons = 0; cons < MAX_NR_CONSOLES; cons++) { 473 if (!vc_cons_allocated(cons)) 475 dict2 = *vc_cons[cons].d->uni_pagedict_loc;
|
/linux-master/arch/sparc/include/asm/ |
H A D | vio.h | 281 u32 cons; member in struct:vio_dring_state 310 ((dr->prod - dr->cons) & (ring_size - 1)) - 1);
|
/linux-master/arch/arm64/kvm/ |
H A D | arm.c | 2625 int kvm_arch_irq_bypass_add_producer(struct irq_bypass_consumer *cons, argument 2629 container_of(cons, struct kvm_kernel_irqfd, consumer); 2634 void kvm_arch_irq_bypass_del_producer(struct irq_bypass_consumer *cons, argument 2638 container_of(cons, struct kvm_kernel_irqfd, consumer); 2644 void kvm_arch_irq_bypass_stop(struct irq_bypass_consumer *cons) argument 2647 container_of(cons, struct kvm_kernel_irqfd, consumer); 2652 void kvm_arch_irq_bypass_start(struct irq_bypass_consumer *cons) argument 2655 container_of(cons, struct kvm_kernel_irqfd, consumer);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 400 netdev_err(bp->dev, "Invalid Tx completion (ring:%d tx_hw_cons:%u cons:%u prod:%u curr:%u)", 773 u16 cons = txr->tx_cons; local 776 while (RING_TX(bp, cons) != hw_cons) { 781 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; 782 cons = NEXT_TX(cons); 787 bnxt_sched_reset_txr(bp, txr, cons); 804 cons = NEXT_TX(cons); 805 tx_buf = &txr->tx_buf_ring[RING_TX(bp, cons)]; 925 bnxt_reuse_rx_data(struct bnxt_rx_ring_info *rxr, u16 cons, void *data) argument 1024 u16 cons; local 1066 bnxt_rx_multi_page_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1098 bnxt_rx_page_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1145 bnxt_rx_skb(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, void *data, u8 *data_ptr, dma_addr_t dma_addr, unsigned int offset_and_len) argument 1192 u16 cons, frag_len; local 1453 u16 cons, prod, agg_id; local 2007 u16 cons, prod, cp_cons = RING_CMP(tmp_raw_cons); local 2814 u32 cons = RING_CMP(cpr->cp_raw_cons); local 2825 u16 cons = RING_CMP(raw_cons); local 2838 u32 cons = RING_CMP(cpr->cp_raw_cons); local 2866 u32 cons; local 3164 u32 cons; local 12988 bnxt_dbg_hwrm_ring_info_get(struct bnxt *bp, u8 ring_type, u32 ring_id, u32 *prod, u32 *cons) argument [all...] |
/linux-master/drivers/s390/cio/ |
H A D | ccwreq.c | 186 if (irb->esw.esw0.erw.cons) {
|
/linux-master/net/smc/ |
H A D | smc.h | 137 union smc_host_cursor cons; /* consumer cursor, member in struct:smc_host_cdc_msg 180 * .cons cf. TCP sends ack 208 * .cons cf. TCP snd_una
|
H A D | smc_core.c | 967 union smc_host_cursor cons; local 971 smc_curs_copy(&cons, &conn->local_rx_ctrl.cons, conn); 973 space = buffer_len - smc_curs_diff(buffer_len, &cons, &prod); 981 union smc_host_cursor cons, fin; local 989 smc_curs_copy(&cons, &conn->local_rx_ctrl.cons, conn); 991 if (smc_curs_comp(conn->peer_rmbe_size, &cons, &fin) < 0) { 992 /* cons cursor advanced more than fin, and prod was set 993 * fin above, so now prod is smaller than cons [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | cio.h | 87 * @cons: concurrent sense 90 * @scnt: sense count, if @cons == %1 99 __u32 cons : 1; member in struct:erw
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 673 u32 idx = dr->cons; 711 dr->cons = vio_dring_next(dr, end); 712 desc = vio_dring_entry(dr, dr->cons); 718 if (__vnet_tx_trigger(port, dr->cons) > 0) 1452 /* Exactly one ldc "start" trigger (for dr->cons) needs to be sent 1455 * a DRING_STOPPED is received from the consumer. The dr->cons field 1459 * vnet_ack() should check if the dring corresponding to cons 1474 port->vio._peer_sid, dr->cons); 1478 err = __vnet_tx_trigger(port, dr->cons); 1748 dr->cons [all...] |