vcap_is2 39 drivers/net/ethernet/mscc/ocelot_ace.c static const struct vcap_props vcap_is2 = { vcap_is2 109 drivers/net/ethernet/mscc/ocelot_ace.c if ((sel & VCAP_SEL_ENTRY) && ix >= vcap_is2.entry_count) vcap_is2 130 drivers/net/ethernet/mscc/ocelot_ace.c vcap_cmd(oc, vcap_is2.entry_count - row - 1, cmd, sel); vcap_is2 137 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.entry_words; i++) { vcap_is2 148 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.entry_words; i++) { vcap_is2 161 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_type_width; vcap_is2 167 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.action_words; i++) vcap_is2 170 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.counter_words; i++) vcap_is2 178 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.action_words; i++) vcap_is2 181 drivers/net/ethernet/mscc/ocelot_ace.c for (i = 0; i < vcap_is2.counter_words; i++) vcap_is2 185 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_type_width; vcap_is2 192 drivers/net/ethernet/mscc/ocelot_ace.c u32 i, col, offset, count, cnt, base, width = vcap_is2.tg_width; vcap_is2 196 drivers/net/ethernet/mscc/ocelot_ace.c cnt = (vcap_is2.sw_count / count); vcap_is2 197 drivers/net/ethernet/mscc/ocelot_ace.c base = (vcap_is2.sw_count - col * cnt - cnt); vcap_is2 208 drivers/net/ethernet/mscc/ocelot_ace.c data->key_offset = (base * vcap_is2.entry_width) / vcap_is2.sw_count; vcap_is2 209 drivers/net/ethernet/mscc/ocelot_ace.c data->counter_offset = (cnt * col * vcap_is2.counter_width); vcap_is2 211 drivers/net/ethernet/mscc/ocelot_ace.c width = vcap_is2.action_table[i].width; vcap_is2 212 drivers/net/ethernet/mscc/ocelot_ace.c cnt = vcap_is2.action_table[i].count; vcap_is2 214 drivers/net/ethernet/mscc/ocelot_ace.c (((cnt * col * width) / count) + vcap_is2.action_type_width); vcap_is2 557 drivers/net/ethernet/mscc/ocelot_ace.c count = (vcap_is2.entry_width / 2); vcap_is2 568 drivers/net/ethernet/mscc/ocelot_ace.c vcap_data_set(data.counter, data.counter_offset, vcap_is2.counter_width, vcap_is2 589 drivers/net/ethernet/mscc/ocelot_ace.c vcap_is2.counter_width); vcap_is2 751 drivers/net/ethernet/mscc/ocelot_ace.c ocelot_write(ocelot, vcap_is2.entry_count, S2_CORE_MV_CFG); vcap_is2 755 drivers/net/ethernet/mscc/ocelot_ace.c ocelot_write(ocelot, vcap_is2.action_count, S2_CORE_MV_CFG);