Lines Matching refs:dev
1518 dev_dbg(chan->device->common.dev, "\tfree slot %llx: %d stride: %d\n", in ppc440spe_adma_clean_slot()
1541 dev_dbg(chan->device->common.dev, "ppc440spe adma%d: %s\n", in __ppc440spe_adma_slot_cleanup()
1556 dev_dbg(chan->device->common.dev, "\tcookie: %d slot: %d " in __ppc440spe_adma_slot_cleanup()
1815 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_alloc_chan_resources()
1881 dev_dbg(chan->device->common.dev, "ppc440spe adma%d: pending: %d\n", in ppc440spe_adma_check_threshold()
1933 dev_dbg(chan->device->common.dev, in ppc440spe_adma_tx_submit()
1953 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_prep_dma_interrupt()
1992 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_prep_dma_memcpy()
2033 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_prep_dma_xor()
2556 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_prep_dma_pq()
3555 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_free_chan_resources()
3596 dev_dbg(chan->device->common.dev, in ppc440spe_adma_eot_handler()
3613 dev_dbg(chan->device->common.dev, in ppc440spe_adma_err_handler()
3638 dev_dbg(ppc440spe_chan->device->common.dev, in ppc440spe_adma_issue_pending()
3659 dev_dbg(chan->device->common.dev, in ppc440spe_chan_start_null_xor()
3732 dma_addr = dma_map_page(chan->device->dev, pg, 0, in ppc440spe_test_raid6()
3855 dev_name(adev->dev), in ppc440spe_adma_init_capabilities()
3872 ofdev = container_of(adev->dev, struct platform_device, dev); in ppc440spe_adma_setup_irqs()
3873 np = ofdev->dev.of_node; in ppc440spe_adma_setup_irqs()
3877 dev_warn(adev->dev, "no err irq resource?\n"); in ppc440spe_adma_setup_irqs()
3888 dev_err(adev->dev, "no irq resource\n"); in ppc440spe_adma_setup_irqs()
3893 dev_dbg(adev->dev, "irq %d, err irq %d\n", in ppc440spe_adma_setup_irqs()
3897 0, dev_driver_string(adev->dev), chan); in ppc440spe_adma_setup_irqs()
3899 dev_err(adev->dev, "can't request irq %d\n", in ppc440spe_adma_setup_irqs()
3914 dev_driver_string(adev->dev), in ppc440spe_adma_setup_irqs()
3917 dev_err(adev->dev, "can't request irq %d\n", in ppc440spe_adma_setup_irqs()
4006 struct device_node *np = ofdev->dev.of_node; in ppc440spe_adma_probe()
4028 dev_err(&ofdev->dev, "Device node %pOF has missing " in ppc440spe_adma_probe()
4051 dev_err(&ofdev->dev, "failed to get memory resource\n"); in ppc440spe_adma_probe()
4058 dev_driver_string(&ofdev->dev))) { in ppc440spe_adma_probe()
4059 dev_err(&ofdev->dev, "failed to request memory region %pR\n", in ppc440spe_adma_probe()
4077 adev->dma_desc_pool_virt = dma_alloc_coherent(&ofdev->dev, in ppc440spe_adma_probe()
4081 dev_err(&ofdev->dev, "failed to allocate %d bytes of coherent " in ppc440spe_adma_probe()
4088 dev_dbg(&ofdev->dev, "allocated descriptor pool virt 0x%p phys 0x%llx\n", in ppc440spe_adma_probe()
4093 dev_err(&ofdev->dev, "failed to ioremap regs!\n"); in ppc440spe_adma_probe()
4121 adev->dev = &ofdev->dev; in ppc440spe_adma_probe()
4122 adev->common.dev = &ofdev->dev; in ppc440spe_adma_probe()
4158 chan->pdest = dma_map_page(&ofdev->dev, chan->pdest_page, 0, in ppc440spe_adma_probe()
4160 chan->qdest = dma_map_page(&ofdev->dev, chan->qdest_page, 0, in ppc440spe_adma_probe()
4170 dev_err(&ofdev->dev, "failed to allocate channel reference!\n"); in ppc440spe_adma_probe()
4184 dev_err(&ofdev->dev, "failed to register dma device\n"); in ppc440spe_adma_probe()
4201 dma_unmap_page(&ofdev->dev, chan->pdest, in ppc440spe_adma_probe()
4203 dma_unmap_page(&ofdev->dev, chan->qdest, in ppc440spe_adma_probe()
4216 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_probe()
4236 struct device_node *np = ofdev->dev.of_node; in ppc440spe_adma_remove()
4253 dma_unmap_page(&ofdev->dev, ppc440spe_chan->pdest, in ppc440spe_adma_remove()
4255 dma_unmap_page(&ofdev->dev, ppc440spe_chan->qdest, in ppc440spe_adma_remove()
4272 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_remove()
4294 static ssize_t devices_show(struct device_driver *dev, char *buf) in devices_show() argument
4309 static ssize_t enable_show(struct device_driver *dev, char *buf) in enable_show() argument
4315 static ssize_t enable_store(struct device_driver *dev, const char *buf, in enable_store() argument
4349 static ssize_t poly_show(struct device_driver *dev, char *buf) in poly_show() argument
4368 static ssize_t poly_store(struct device_driver *dev, const char *buf, in poly_store() argument