Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c145 int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n, in t3_mc7_bd_read() argument
151 unsigned int size64 = mc7->size / 8; /* # of 64-bit words */ in t3_mc7_bd_read()
152 struct adapter *adap = mc7->adapter; in t3_mc7_bd_read()
157 start *= (8 << mc7->width); in t3_mc7_bd_read()
162 for (i = (1 << mc7->width) - 1; i >= 0; --i) { in t3_mc7_bd_read()
166 t3_write_reg(adap, mc7->offset + A_MC7_BD_ADDR, start); in t3_mc7_bd_read()
167 t3_write_reg(adap, mc7->offset + A_MC7_BD_OP, 0); in t3_mc7_bd_read()
168 val = t3_read_reg(adap, mc7->offset + A_MC7_BD_OP); in t3_mc7_bd_read()
171 mc7->offset + A_MC7_BD_OP); in t3_mc7_bd_read()
175 val = t3_read_reg(adap, mc7->offset + A_MC7_BD_DATA1); in t3_mc7_bd_read()
[all …]
Dadapter.h245 struct mc7 pmrx;
246 struct mc7 pmtx;
247 struct mc7 cm;
Dcommon.h456 struct mc7 { struct
465 static inline unsigned int t3_mc7_size(const struct mc7 *p) in t3_mc7_size() argument
702 int t3_mc7_bd_read(struct mc7 *mc7, unsigned int start, unsigned int n,
Dcxgb3_offload.c311 struct mc7 *mem; in cxgb_rdma_ctl()
Dcxgb3_main.c2446 struct mc7 *mem; in cxgb_extension_ioctl()