Lines Matching refs:csw
367 ALLOC_CACHE_ALIGN_BUFFER(struct bulk_cs_wrap, csw, in printcsw()
369 memcpy((char *)csw, buf, USB_BULK_CS_WRAP_LEN); in printcsw()
370 debug("csw: signature:%x\n", csw->signature); in printcsw()
371 debug("csw: tag:%x\n", csw->tag); in printcsw()
372 debug("csw: residue:%x\n", csw->residue); in printcsw()
373 debug("csw: status:%x\n", csw->status); in printcsw()
379 ALLOC_CACHE_ALIGN_BUFFER(struct bulk_cs_wrap, csw, in rockusb_tx_write_csw()
381 csw->signature = cpu_to_le32(USB_BULK_CS_SIG); in rockusb_tx_write_csw()
382 csw->tag = tag; in rockusb_tx_write_csw()
383 csw->residue = cpu_to_be32(residue); in rockusb_tx_write_csw()
384 csw->status = status; in rockusb_tx_write_csw()
386 printcsw((char *)&csw); in rockusb_tx_write_csw()
388 return rockusb_tx_write((char *)csw, size); in rockusb_tx_write_csw()