Lines Matching defs:zip
53 * @zip: Pointer to zip device structure
57 int zip_cmd_qbuf_alloc(struct zip_device *zip, int q)
59 zip->iq[q].sw_head = (u64 *)__get_free_pages((GFP_KERNEL | GFP_DMA),
62 if (!zip->iq[q].sw_head)
65 memset(zip->iq[q].sw_head, 0, ZIP_CMD_QBUF_SIZE);
67 zip_dbg("cmd_qbuf_alloc[%d] Success : %p\n", q, zip->iq[q].sw_head);
73 * @zip: Pointer to zip device structure
76 void zip_cmd_qbuf_free(struct zip_device *zip, int q)
78 zip_dbg("Freeing cmd_qbuf 0x%lx\n", zip->iq[q].sw_tail);
80 free_pages((u64)zip->iq[q].sw_tail, get_order(ZIP_CMD_QBUF_SIZE));