Lines Matching refs:kzalloc
896 uint64_t device_context_vaddr = (uint64_t)kzalloc(xhci_hc[id].context_size * 32, 0); in xhci_initialize_slot()
1009 uint64_t input_ctx_buffer = (uint64_t)kzalloc(xhci_hc[id].context_size * 33, 0); in xhci_set_address()
1244 (uint64_t)kzalloc(16, 0); // 本来是要申请4bytes的buffer的,但是因为xhci控制器需要16bytes对齐,因此申请16bytes in xhci_control_in()
1252 data_buf_vaddr = (uint64_t)kzalloc(packet->length, 0); in xhci_control_in()
1316 uint64_t status_buf_vaddr = (uint64_t)kzalloc(16, 0); in xhci_control_out()
1325 data_buf_vaddr = (uint64_t)kzalloc(packet->length, 0); in xhci_control_out()
1736 uint64_t input_ctx_buffer = (uint64_t)kzalloc(xhci_hc[id].context_size * 33, 0); in xhci_configure_endpoint()
1812 full_conf = kzalloc(conf_desc.total_len, 0); in xhci_configure_port()
1856 void *hid_report_data = kzalloc(hid_desc->report_desc_len, 0); in xhci_configure_port()
2182 xhci_hc[cid].dcbaap_vaddr = (uint64_t)kzalloc(2048, 0); // 分配2KB的设备上下文地址数组空间 in xhci_init()
2200 …xhci_hc[cid].scratchpad_buf_array_vaddr = (uint64_t)kzalloc(sizeof(uint64_t) * max_scratchpad_buf,… in xhci_init()
2206 uint64_t buf_vaddr = (uint64_t)kzalloc(xhci_hc[cid].page_size, 0); in xhci_init()