Lines Matching refs:ltdefs

4253 	const struct npc_lt_def_cfg *ltdefs;  in rvu_nix_block_init()  local
4282 ltdefs = rvu->kpu.lt_def; in rvu_nix_block_init()
4337 (ltdefs->rx_ol2.lid << 8) | (ltdefs->rx_ol2.ltype_match << 4) | in rvu_nix_block_init()
4338 ltdefs->rx_ol2.ltype_mask); in rvu_nix_block_init()
4340 (ltdefs->rx_oip4.lid << 8) | (ltdefs->rx_oip4.ltype_match << 4) | in rvu_nix_block_init()
4341 ltdefs->rx_oip4.ltype_mask); in rvu_nix_block_init()
4343 (ltdefs->rx_iip4.lid << 8) | (ltdefs->rx_iip4.ltype_match << 4) | in rvu_nix_block_init()
4344 ltdefs->rx_iip4.ltype_mask); in rvu_nix_block_init()
4346 (ltdefs->rx_oip6.lid << 8) | (ltdefs->rx_oip6.ltype_match << 4) | in rvu_nix_block_init()
4347 ltdefs->rx_oip6.ltype_mask); in rvu_nix_block_init()
4349 (ltdefs->rx_iip6.lid << 8) | (ltdefs->rx_iip6.ltype_match << 4) | in rvu_nix_block_init()
4350 ltdefs->rx_iip6.ltype_mask); in rvu_nix_block_init()
4352 (ltdefs->rx_otcp.lid << 8) | (ltdefs->rx_otcp.ltype_match << 4) | in rvu_nix_block_init()
4353 ltdefs->rx_otcp.ltype_mask); in rvu_nix_block_init()
4355 (ltdefs->rx_itcp.lid << 8) | (ltdefs->rx_itcp.ltype_match << 4) | in rvu_nix_block_init()
4356 ltdefs->rx_itcp.ltype_mask); in rvu_nix_block_init()
4358 (ltdefs->rx_oudp.lid << 8) | (ltdefs->rx_oudp.ltype_match << 4) | in rvu_nix_block_init()
4359 ltdefs->rx_oudp.ltype_mask); in rvu_nix_block_init()
4361 (ltdefs->rx_iudp.lid << 8) | (ltdefs->rx_iudp.ltype_match << 4) | in rvu_nix_block_init()
4362 ltdefs->rx_iudp.ltype_mask); in rvu_nix_block_init()
4364 (ltdefs->rx_osctp.lid << 8) | (ltdefs->rx_osctp.ltype_match << 4) | in rvu_nix_block_init()
4365 ltdefs->rx_osctp.ltype_mask); in rvu_nix_block_init()
4367 (ltdefs->rx_isctp.lid << 8) | (ltdefs->rx_isctp.ltype_match << 4) | in rvu_nix_block_init()
4368 ltdefs->rx_isctp.ltype_mask); in rvu_nix_block_init()
4375 (ltdefs->rx_apad0.valid << 11) | in rvu_nix_block_init()
4376 (ltdefs->rx_apad0.lid << 8) | in rvu_nix_block_init()
4377 (ltdefs->rx_apad0.ltype_match << 4) | in rvu_nix_block_init()
4378 ltdefs->rx_apad0.ltype_mask); in rvu_nix_block_init()
4380 (ltdefs->rx_apad1.valid << 11) | in rvu_nix_block_init()
4381 (ltdefs->rx_apad1.lid << 8) | in rvu_nix_block_init()
4382 (ltdefs->rx_apad1.ltype_match << 4) | in rvu_nix_block_init()
4383 ltdefs->rx_apad1.ltype_mask); in rvu_nix_block_init()
4391 (ltdefs->rx_et[0].offset << 12) | in rvu_nix_block_init()
4392 (ltdefs->rx_et[0].valid << 11) | in rvu_nix_block_init()
4393 (ltdefs->rx_et[0].lid << 8) | in rvu_nix_block_init()
4394 (ltdefs->rx_et[0].ltype_match << 4) | in rvu_nix_block_init()
4395 ltdefs->rx_et[0].ltype_mask); in rvu_nix_block_init()
4397 (ltdefs->rx_et[1].offset << 12) | in rvu_nix_block_init()
4398 (ltdefs->rx_et[1].valid << 11) | in rvu_nix_block_init()
4399 (ltdefs->rx_et[1].lid << 8) | in rvu_nix_block_init()
4400 (ltdefs->rx_et[1].ltype_match << 4) | in rvu_nix_block_init()
4401 ltdefs->rx_et[1].ltype_mask); in rvu_nix_block_init()
4846 struct npc_lt_def_cfg defs, *ltdefs; in nix_config_rx_pkt_policer_precolor() local
4848 ltdefs = &defs; in nix_config_rx_pkt_policer_precolor()
4849 memcpy(ltdefs, rvu->kpu.lt_def, sizeof(struct npc_lt_def_cfg)); in nix_config_rx_pkt_policer_precolor()
4857 (2UL << 12) | (ltdefs->ovlan.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4858 (ltdefs->ovlan.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4859 ltdefs->ovlan.ltype_mask); in nix_config_rx_pkt_policer_precolor()
4861 (2UL << 12) | (ltdefs->ivlan.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4862 (ltdefs->ivlan.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4863 ltdefs->ivlan.ltype_mask); in nix_config_rx_pkt_policer_precolor()
4867 (1UL << 12) | (ltdefs->rx_oip4.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4868 (ltdefs->rx_oip4.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4869 ltdefs->rx_oip4.ltype_mask); in nix_config_rx_pkt_policer_precolor()
4871 (1UL << 12) | (ltdefs->rx_iip4.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4872 (ltdefs->rx_iip4.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4873 ltdefs->rx_iip4.ltype_mask); in nix_config_rx_pkt_policer_precolor()
4877 (1UL << 11) | (ltdefs->rx_oip6.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4878 (ltdefs->rx_oip6.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4879 ltdefs->rx_oip6.ltype_mask); in nix_config_rx_pkt_policer_precolor()
4881 (1UL << 11) | (ltdefs->rx_iip6.lid << 8) | in nix_config_rx_pkt_policer_precolor()
4882 (ltdefs->rx_iip6.ltype_match << 4) | in nix_config_rx_pkt_policer_precolor()
4883 ltdefs->rx_iip6.ltype_mask); in nix_config_rx_pkt_policer_precolor()