Home
last modified time | relevance | path

Searched refs:mc7 (Results 1 – 5 of 5) sorted by relevance

/drivers/net/cxgb3/
Dt3_hw.c143 int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n, in t3_mc7_bd_read() argument
149 unsigned int size64 = mc7->size / 8; /* # of 64-bit words */ in t3_mc7_bd_read()
150 struct adapter *adap = mc7->adapter; in t3_mc7_bd_read()
155 start *= (8 << mc7->width); in t3_mc7_bd_read()
160 for (i = (1 << mc7->width) - 1; i >= 0; --i) { in t3_mc7_bd_read()
164 t3_write_reg(adap, mc7->offset + A_MC7_BD_ADDR, start); in t3_mc7_bd_read()
165 t3_write_reg(adap, mc7->offset + A_MC7_BD_OP, 0); in t3_mc7_bd_read()
166 val = t3_read_reg(adap, mc7->offset + A_MC7_BD_OP); in t3_mc7_bd_read()
169 mc7->offset + A_MC7_BD_OP); in t3_mc7_bd_read()
173 val = t3_read_reg(adap, mc7->offset + A_MC7_BD_DATA1); in t3_mc7_bd_read()
[all …]
Dadapter.h240 struct mc7 pmrx;
241 struct mc7 pmtx;
242 struct mc7 cm;
Dcommon.h484 struct mc7 { struct
493 static inline unsigned int t3_mc7_size(const struct mc7 *p) in t3_mc7_size() argument
742 int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n,
Dcxgb3_offload.c292 struct mc7 *mem; in cxgb_rdma_ctl()
Dcxgb3_main.c2190 struct mc7 *mem; in cxgb_extension_ioctl()