Lines Matching refs:ix
56 u16 ix, int cmd, int sel) in vcap_cmd() argument
59 VCAP_CORE_UPDATE_CTRL_UPDATE_ADDR(ix) | in vcap_cmd()
62 if ((sel & VCAP_SEL_ENTRY) && ix >= vcap->entry_count) in vcap_cmd()
174 struct vcap_data *data, int ix) in vcap_data_offset_get() argument
194 col = (ix % num_entries_per_row); in vcap_data_offset_get()
344 static void is2_entry_set(struct ocelot *ocelot, int ix, in is2_entry_set() argument
352 int row = (ix / 2); in is2_entry_set()
363 vcap_data_offset_get(vcap, &data, ix); in is2_entry_set()
668 static void is1_entry_set(struct ocelot *ocelot, int ix, in is1_entry_set() argument
675 int row = ix / 2; in is1_entry_set()
688 vcap_data_offset_get(vcap, &data, ix); in is1_entry_set()
809 static void es0_entry_set(struct ocelot *ocelot, int ix, in es0_entry_set() argument
816 int row = ix; in es0_entry_set()
828 vcap_data_offset_get(vcap, &data, ix); in es0_entry_set()
854 static void vcap_entry_get(struct ocelot *ocelot, int ix, in vcap_entry_get() argument
868 row = (ix / count); in vcap_entry_get()
871 vcap_data_offset_get(vcap, &data, ix); in vcap_entry_get()
878 static void vcap_entry_set(struct ocelot *ocelot, int ix, in vcap_entry_set() argument
882 return is1_entry_set(ocelot, ix, filter); in vcap_entry_set()
884 return is2_entry_set(ocelot, ix, filter); in vcap_entry_set()
886 return es0_entry_set(ocelot, ix, filter); in vcap_entry_set()