Lines Matching refs:rds
103 struct phantom_rds rds[PHN_NUM_RDS]; member
116 struct nx_hostrq_rds_ring_s rds; member
121 struct nx_cardrsp_rds_ring_s rds; member
630 cpu_to_le32 ( sizeof ( buf->hostrq.rds ) ); in phantom_create_rx_ctx()
633 buf->hostrq.rds.host_phys_addr = in phantom_create_rx_ctx()
634 cpu_to_le64 ( virt_to_bus ( phantom->desc->rds ) ); in phantom_create_rx_ctx()
635 buf->hostrq.rds.buff_size = cpu_to_le64 ( PHN_RX_BUFSIZE ); in phantom_create_rx_ctx()
636 buf->hostrq.rds.ring_size = cpu_to_le32 ( PHN_NUM_RDS ); in phantom_create_rx_ctx()
637 buf->hostrq.rds.ring_kind = cpu_to_le32 ( NX_RDS_RING_TYPE_NORMAL ); in phantom_create_rx_ctx()
667 le32_to_cpu ( buf->cardrsp.rds.host_producer_crb )); in phantom_create_rx_ctx()
864 struct phantom_rds *rds ) { in phantom_post_rds() argument
871 entry = &phantom->desc->rds[rds_producer_idx]; in phantom_post_rds()
872 memcpy ( entry, rds, sizeof ( *entry ) ); in phantom_post_rds()
874 phantom, NX_GET ( rds, handle ), rds_producer_idx ); in phantom_post_rds()
1078 struct phantom_rds rds; in phantom_refill_rx_ring() local
1104 memset ( &rds, 0, sizeof ( rds ) ); in phantom_refill_rx_ring()
1105 NX_FILL_2 ( &rds, 0, in phantom_refill_rx_ring()
1108 NX_FILL_1 ( &rds, 1, in phantom_refill_rx_ring()
1116 phantom_post_rds ( phantom, &rds ); in phantom_refill_rx_ring()