Lines Matching refs:s
101 cvmx_dprintf(" Buffers: %u\n", work->word2.s.bufs); in cvmx_helper_dump_packet()
103 if (work->word2.s.bufs == 0) { in cvmx_helper_dump_packet()
107 buffer_ptr.s.pool = wqe_pool.s.wqe_pool; in cvmx_helper_dump_packet()
108 buffer_ptr.s.size = 128; in cvmx_helper_dump_packet()
109 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data); in cvmx_helper_dump_packet()
110 if (likely(!work->word2.s.not_IP)) { in cvmx_helper_dump_packet()
113 buffer_ptr.s.addr += in cvmx_helper_dump_packet()
114 (pip_ip_offset.s.offset << 3) - in cvmx_helper_dump_packet()
115 work->word2.s.ip_offset; in cvmx_helper_dump_packet()
116 buffer_ptr.s.addr += (work->word2.s.is_v6 ^ 1) << 2; in cvmx_helper_dump_packet()
126 buffer_ptr.s.addr += pip_gbl_cfg.s.nip_shf; in cvmx_helper_dump_packet()
134 ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_dump_packet()
137 cvmx_dprintf(" Buffer I : %u\n", buffer_ptr.s.i); in cvmx_helper_dump_packet()
138 cvmx_dprintf(" Buffer Back: %u\n", buffer_ptr.s.back); in cvmx_helper_dump_packet()
139 cvmx_dprintf(" Buffer Pool: %u\n", buffer_ptr.s.pool); in cvmx_helper_dump_packet()
141 (unsigned long long)buffer_ptr.s.addr); in cvmx_helper_dump_packet()
142 cvmx_dprintf(" Buffer Size: %u\n", buffer_ptr.s.size); in cvmx_helper_dump_packet()
145 data_address = (uint8_t *) cvmx_phys_to_ptr(buffer_ptr.s.addr); in cvmx_helper_dump_packet()
146 end_of_data = data_address + buffer_ptr.s.size; in cvmx_helper_dump_packet()
165 cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_dump_packet()
191 red_marks.s.drop = drop_thresh; in cvmx_helper_setup_red_queue()
192 red_marks.s.pass = pass_thresh; in cvmx_helper_setup_red_queue()
197 red_param.s.prb_con = in cvmx_helper_setup_red_queue()
198 (255ul << 24) / (red_marks.s.pass - red_marks.s.drop); in cvmx_helper_setup_red_queue()
199 red_param.s.avg_con = 1; in cvmx_helper_setup_red_queue()
200 red_param.s.new_con = 255; in cvmx_helper_setup_red_queue()
201 red_param.s.use_pcnt = 1; in cvmx_helper_setup_red_queue()
228 page_cnt.s.bp_enb = 0; in cvmx_helper_setup_red()
229 page_cnt.s.page_cnt = 100; in cvmx_helper_setup_red()
243 ipd_bp_prt_red_end.s.prt_enb = 0; in cvmx_helper_setup_red()
247 red_port_enable.s.prt_enb = 0xfffffffffull; in cvmx_helper_setup_red()
248 red_port_enable.s.avg_dly = 10000; in cvmx_helper_setup_red()
249 red_port_enable.s.prb_dly = 10000; in cvmx_helper_setup_red()
276 gmx_tx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx()
296 gmx_rx_prts.s.prts = num_ports; in __cvmx_helper_setup_gmx()
307 pko_mode.s.mode0 = 4; in __cvmx_helper_setup_gmx()
309 pko_mode.s.mode0 = 3; in __cvmx_helper_setup_gmx()
311 pko_mode.s.mode0 = 2; in __cvmx_helper_setup_gmx()
313 pko_mode.s.mode0 = 1; in __cvmx_helper_setup_gmx()
315 pko_mode.s.mode0 = 0; in __cvmx_helper_setup_gmx()
318 pko_mode.s.mode1 = 4; in __cvmx_helper_setup_gmx()
320 pko_mode.s.mode1 = 3; in __cvmx_helper_setup_gmx()
322 pko_mode.s.mode1 = 2; in __cvmx_helper_setup_gmx()
324 pko_mode.s.mode1 = 1; in __cvmx_helper_setup_gmx()
326 pko_mode.s.mode1 = 0; in __cvmx_helper_setup_gmx()
342 gmx_tx_thresh.s.cnt = 0x40; in __cvmx_helper_setup_gmx()
346 gmx_tx_thresh.s.cnt = 0x100 / 1; in __cvmx_helper_setup_gmx()
348 gmx_tx_thresh.s.cnt = 0x100 / 2; in __cvmx_helper_setup_gmx()
350 gmx_tx_thresh.s.cnt = 0x100 / 4; in __cvmx_helper_setup_gmx()