Lines Matching refs:umc
22 whci_wait_for(&whc->umc->dev, whc->base + WUSBCMD, WUSBCMD_WHCRESET, 0, in whc_hw_reset()
57 whc->workqueue = alloc_ordered_workqueue(dev_name(&whc->umc->dev), 0); in whc_init()
74 start = whc->umc->resource.start; in whc_init()
75 len = whc->umc->resource.end - start + 1; in whc_init()
77 dev_err(&whc->umc->dev, "can't request HC region\n"); in whc_init()
84 dev_err(&whc->umc->dev, "ioremap\n"); in whc_init()
97 dev_dbg(&whc->umc->dev, "N_DEVICES = %d, N_KEYS = %d, N_MMC_IES = %d\n", in whc_init()
100 whc->qset_pool = dma_pool_create("qset", &whc->umc->dev, in whc_init()
118 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init()
125 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
134 whc->di_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
155 dma_free_coherent(&whc->umc->dev, sizeof(struct di_buf_entry) * whc->n_devices, in whc_clean_up()
158 dma_free_coherent(&whc->umc->dev, sizeof(struct dn_buf_entry) * WHC_N_DN_ENTRIES, in whc_clean_up()
161 dma_free_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_clean_up()
169 len = resource_size(&whc->umc->resource); in whc_clean_up()