Home
last modified time | relevance | path

Searched refs:mc5 (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c123 static int init_mask_data_array(struct mc5 *mc5, u32 mask_array_base, in init_mask_data_array() argument
128 struct adapter *adap = mc5->adapter; in init_mask_data_array()
134 unsigned int size72 = mc5->tcam_size; in init_mask_data_array()
137 if (mc5->mode == MC5_MODE_144_BIT) { in init_mask_data_array()
154 mc5->mode == MC5_MODE_144_BIT ? in init_mask_data_array()
163 static int init_idt52100(struct mc5 *mc5) in init_idt52100() argument
166 struct adapter *adap = mc5->adapter; in init_idt52100()
221 return init_mask_data_array(mc5, IDT_MSKARY_BASE_ADR0, in init_idt52100()
227 static int init_idt43102(struct mc5 *mc5) in init_idt43102() argument
230 struct adapter *adap = mc5->adapter; in init_idt43102()
[all …]
Dcommon.h383 struct mc5_params mc5; member
442 struct mc5 { struct
451 static inline unsigned int t3_mc5_size(const struct mc5 *p) in t3_mc5_size() argument
717 void t3_mc5_prep(struct adapter *adapter, struct mc5 *mc5, int mode);
718 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters,
720 void t3_mc5_intr_handler(struct mc5 *mc5);
DMakefile8 cxgb3-objs := cxgb3_main.o ael1002.o vsc8211.o t3_hw.o mc5.o \
Dcxgb3_offload.c397 tid->num = t3_mc5_size(&adapter->mc5) - in cxgb_offload_ctl()
398 adapter->params.mc5.nroutes - in cxgb_offload_ctl()
399 adapter->params.mc5.nfilters - adapter->params.mc5.nservers; in cxgb_offload_ctl()
404 tid->num = adapter->params.mc5.nservers; in cxgb_offload_ctl()
405 tid->base = t3_mc5_size(&adapter->mc5) - tid->num - in cxgb_offload_ctl()
406 adapter->params.mc5.nfilters - adapter->params.mc5.nroutes; in cxgb_offload_ctl()
Dadapter.h248 struct mc5 mc5; member
Dt3_hw.c1895 t3_mc5_intr_handler(&adapter->mc5); in t3_slow_intr_handler()
2543 unsigned int m, pstructs, tids = t3_mc5_size(&adap->mc5); in partition_mem()
2593 m = t3_mc5_size(&adap->mc5) - adap->params.mc5.nservers - in partition_mem()
2594 adap->params.mc5.nfilters - adap->params.mc5.nroutes; in partition_mem()
2596 adap->params.mc5.nservers += m - tids; in partition_mem()
3325 t3_mc5_init(&adapter->mc5, adapter->params.mc5.nservers, in t3_init_hw()
3326 adapter->params.mc5.nfilters, in t3_init_hw()
3327 adapter->params.mc5.nroutes)) in t3_init_hw()
3653 adapter->params.mc5.nservers = DEFAULT_NSERVERS; in t3_prep_adapter()
3654 adapter->params.mc5.nfilters = adapter->params.rev > 0 ? in t3_prep_adapter()
[all …]
Dcxgb3_main.c742 if (val > t3_mc5_size(&adap->mc5) - adap->params.mc5.nservers - in set_nfilters()
745 adap->params.mc5.nfilters = val; in set_nfilters()
762 if (val > t3_mc5_size(&adap->mc5) - adap->params.mc5.nfilters - in set_nservers()
765 adap->params.mc5.nservers = val; in set_nservers()
783 CXGB3_ATTR_R(cam_size, t3_mc5_size(&adap->mc5));
784 CXGB3_ATTR_RW(nfilters, adap->params.mc5.nfilters, store_nfilters);
785 CXGB3_ATTR_RW(nservers, adap->params.mc5.nservers, store_nservers);
/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h181 struct mc5_params mc5; member
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik-db8500.c906 DB8500_FUNC_GROUPS(mc5, "mc5_c_1");
965 FUNCTION(mc5),