Lines Matching refs:cc
184 struct icp_cachecmd *cc;
200 cc = &ic->ic_cmd.cmd_packet.cc;
201 ic->ic_sg = cc->cc_sg;
215 cc->cc_deviceno = htole16(sc->sc_hwunit);
216 cc->cc_blockno = htole32(blkno);
217 cc->cc_blockcnt = htole32(datasize / ICP_SECTOR_SIZE);
218 cc->cc_addr = ~0; /* scatter gather */
219 cc->cc_nsgent = htole32(ic->ic_nsgent);
265 struct icp_cachecmd *cc;
275 cc = &ic->ic_cmd.cmd_packet.cc;
276 cc->cc_deviceno = htole16(sc->sc_hwunit);
277 cc->cc_blockno = htole32(1);
278 cc->cc_blockcnt = 0;
279 cc->cc_addr = 0;
280 cc->cc_nsgent = 0;
282 ic->ic_cmdlen = (u_long)&cc->cc_sg - (u_long)&ic->ic_cmd;