Lines Matching refs:umc
33 whci_wait_for(&whc->umc->dev, whc->base + WUSBCMD, WUSBCMD_WHCRESET, 0, in whc_hw_reset()
68 whc->workqueue = create_singlethread_workqueue(dev_name(&whc->umc->dev)); in whc_init()
85 start = whc->umc->resource.start; in whc_init()
86 len = whc->umc->resource.end - start + 1; in whc_init()
88 dev_err(&whc->umc->dev, "can't request HC region\n"); in whc_init()
95 dev_err(&whc->umc->dev, "ioremap\n"); in whc_init()
108 dev_dbg(&whc->umc->dev, "N_DEVICES = %d, N_KEYS = %d, N_MMC_IES = %d\n", in whc_init()
111 whc->qset_pool = dma_pool_create("qset", &whc->umc->dev, in whc_init()
129 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init()
136 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
145 whc->di_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
166 dma_free_coherent(&whc->umc->dev, sizeof(struct di_buf_entry) * whc->n_devices, in whc_clean_up()
169 dma_free_coherent(&whc->umc->dev, sizeof(struct dn_buf_entry) * WHC_N_DN_ENTRIES, in whc_clean_up()
172 dma_free_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_clean_up()
181 len = whc->umc->resource.end - whc->umc->resource.start + 1; in whc_clean_up()