Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_cq.c82 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_req_notify_cq()
174 cq->ring_state = cq->pdir.pages[0]; in pvrdma_create_cq()
287 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in _pvrdma_flush_cqe()
292 int tail = pvrdma_idx(&cq->ring_state->rx.prod_tail, in _pvrdma_flush_cqe()
314 &cq->ring_state->rx.cons_head, in _pvrdma_flush_cqe()
332 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_poll_one()
373 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-v6.1/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-v6.1/net/bridge/
Dbr_mrp.c202 hdr->state = cpu_to_be16(mrp->ring_state); in br_mrp_alloc_test_skb()
302 if (mrp->ring_state == BR_MRP_RING_STATE_CLOSED || in br_mrp_test_work_expired()
657 if (mrp->ring_state != state->ring_state) in br_mrp_set_ring_state()
660 mrp->ring_state = state->ring_state; in br_mrp_set_ring_state()
662 br_mrp_switchdev_set_ring_state(br, mrp, state->ring_state); in br_mrp_set_ring_state()
939 if (mrp->ring_state != BR_MRP_RING_STATE_CLOSED) in br_mrp_mrm_process()
Dbr_private_mrp.h25 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.c129 .ring_state = state, in br_mrp_switchdev_set_ring_state()
/Linux-v6.1/tools/testing/selftests/net/
Dtoeplitz.c94 struct ring_state { struct
104 static struct ring_state rings[RSS_MAX_CPUS]; argument
204 static char *recv_frame(const struct ring_state *ring, char *frame) in recv_frame()
218 static void recv_block(struct ring_state *ring) in recv_block()
/Linux-v6.1/include/net/
Dswitchdev.h162 u8 ring_state; member
/Linux-v6.1/include/uapi/linux/
Dif_bridge.h298 __u32 ring_state; member
/Linux-v6.1/drivers/scsi/be2iscsi/
Dbe_cmds.h878 u8 ring_state[4]; /* dword 0 */ member
/Linux-v6.1/Documentation/core-api/
Ddma-api-howto.rst830 struct ring_state {
838 struct ring_state {