Lines Matching refs:to_dev
80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs()
177 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending()
213 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc()
218 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc()
256 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan()
317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); in ioat_tx_submit_unlock()
389 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
396 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_alloc_ring()
417 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
458 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock()
466 dev_dbg_ratelimited(to_dev(ioat_chan), in ioat_check_space_lock()
523 dev_dbg(to_dev(ioat_chan), "%s: phys_complete: %#llx\n", __func__, in ioat_get_current_completion()
584 dev_dbg(to_dev(ioat_chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup()
643 dev_dbg(to_dev(ioat_chan), "%s: cancel completion timeout\n", in __cleanup()
775 dev_dbg(to_dev(ioat_chan), "%s: error = %x:%x\n", in ioat_eh()
817 dev_err(to_dev(ioat_chan), "%s: fatal error (%x:%x)\n", in ioat_eh()
819 dev_err(to_dev(ioat_chan), "Errors handled:\n"); in ioat_eh()
821 dev_err(to_dev(ioat_chan), "Errors not handled:\n"); in ioat_eh()
881 dev_err(to_dev(ioat_chan), "%s: Channel halted (%x)\n", in ioat_timer_event()
883 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
893 dev_warn(to_dev(ioat_chan), "Reset channel...\n"); in ioat_timer_event()
895 dev_warn(to_dev(ioat_chan), "Restart channel...\n"); in ioat_timer_event()
928 dev_err(to_dev(ioat_chan), "CHANSTS: %#Lx CHANERR: %#x\n", in ioat_timer_event()
930 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
933 dev_dbg(to_dev(ioat_chan), "Active descriptors: %d\n", in ioat_timer_event()
941 dev_warn(to_dev(ioat_chan), "Resetting channel...\n"); in ioat_timer_event()
943 dev_warn(to_dev(ioat_chan), "Restarting channel...\n"); in ioat_timer_event()