Lines Matching refs:ct_ioc
46 struct ct_iocmd ct_ioc; variable
230 memset(&ct_ioc, 0, sizeof(ct_ioc)); in ctstrategy()
231 ct_ioc.unit = C_SUNIT(rs->sc_punit); in ctstrategy()
232 ct_ioc.saddr = C_SADDR; in ctstrategy()
233 ct_ioc.nop2 = C_NOP; in ctstrategy()
234 ct_ioc.slen = C_SLEN; in ctstrategy()
235 ct_ioc.nop3 = C_NOP; in ctstrategy()
238 ct_ioc.cmd = C_READ; in ctstrategy()
239 ct_ioc.addr = rs->sc_blkno; in ctstrategy()
240 ct_ioc.len = size; in ctstrategy()
243 ct_ioc.cmd = C_WRITE; in ctstrategy()
244 ct_ioc.addr = rs->sc_blkno; in ctstrategy()
245 ct_ioc.len = size; in ctstrategy()
248 ct_ioc.cmd = C_READ; in ctstrategy()
249 ct_ioc.addr = rs->sc_blkno; in ctstrategy()
250 ct_ioc.len = size = MAXBSIZE; in ctstrategy()
253 ct_ioc.cmd = C_READ; in ctstrategy()
254 ct_ioc.addr = 0; in ctstrategy()
255 ct_ioc.len = 0; in ctstrategy()
260 hpibsend(ctlr, unit, C_CMD, (uint8_t *)&ct_ioc, sizeof(ct_ioc)); in ctstrategy()