Home
last modified time | relevance | path

Searched refs:ring_state (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c82 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_req_notify_cq()
171 cq->ring_state = cq->pdir.pages[0]; in pvrdma_create_cq()
284 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in _pvrdma_flush_cqe()
289 int tail = pvrdma_idx(&cq->ring_state->rx.prod_tail, in _pvrdma_flush_cqe()
311 &cq->ring_state->rx.cons_head, in _pvrdma_flush_cqe()
329 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_poll_one()
370 pvrdma_idx_ring_inc(&cq->ring_state->rx.cons_head, cq->ibcq.cqe); in pvrdma_poll_one()
Dpvrdma.h92 struct pvrdma_ring_state *ring_state; member
/Linux-v5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c174 u32 ring_state, num_msgs; in xgene_enet_ring_len() local
176 ring_state = ioread32(&cmd_base[1]); in xgene_enet_ring_len()
177 num_msgs = GET_VAL(X2_NUMMSGSINQ, ring_state); in xgene_enet_ring_len()
Dxgene_enet_hw.c187 u32 ring_state, num_msgs; in xgene_enet_ring_len() local
189 ring_state = ioread32(&cmd_base[1]); in xgene_enet_ring_len()
190 num_msgs = GET_VAL(NUMMSGSINQ, ring_state); in xgene_enet_ring_len()
/Linux-v5.10/net/bridge/
Dbr_mrp.c195 hdr->state = cpu_to_be16(mrp->ring_state); in br_mrp_alloc_test_skb()
268 if (mrp->ring_state == BR_MRP_RING_STATE_CLOSED || in br_mrp_test_work_expired()
607 if (mrp->ring_state == BR_MRP_RING_STATE_CLOSED && in br_mrp_set_ring_state()
608 state->ring_state != BR_MRP_RING_STATE_CLOSED) in br_mrp_set_ring_state()
611 mrp->ring_state = state->ring_state; in br_mrp_set_ring_state()
613 br_mrp_switchdev_set_ring_state(br, mrp, state->ring_state); in br_mrp_set_ring_state()
879 if (mrp->ring_state != BR_MRP_RING_STATE_CLOSED) in br_mrp_mrm_process()
Dbr_private_mrp.h23 enum br_mrp_ring_state_type ring_state; member
Dbr_mrp_netlink.c156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse()
486 mrp->ring_state)) in br_mrp_fill_info()
Dbr_mrp_switchdev.c97 .ring_state = state, in br_mrp_switchdev_set_ring_state()
/Linux-v5.10/include/net/
Dswitchdev.h155 u8 ring_state; member
/Linux-v5.10/include/uapi/linux/
Dif_bridge.h296 __u32 ring_state; member
/Linux-v5.10/drivers/scsi/be2iscsi/
Dbe_cmds.h878 u8 ring_state[4]; /* dword 0 */ member
/Linux-v5.10/Documentation/core-api/
Ddma-api-howto.rst844 struct ring_state {
852 struct ring_state {