Lines Matching refs:to_dev
68 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs()
165 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending()
201 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc()
206 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc()
244 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan()
305 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); in ioat_tx_submit_unlock()
378 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
384 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_alloc_ring()
405 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
457 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock()
465 dev_dbg_ratelimited(to_dev(ioat_chan), in ioat_check_space_lock()
522 dev_dbg(to_dev(ioat_chan), "%s: phys_complete: %#llx\n", __func__, in ioat_get_current_completion()
583 dev_dbg(to_dev(ioat_chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup()
641 dev_dbg(to_dev(ioat_chan), "%s: cancel completion timeout\n", in __cleanup()
778 dev_dbg(to_dev(ioat_chan), "%s: error = %x:%x\n", in ioat_eh()
820 dev_err(to_dev(ioat_chan), "%s: fatal error (%x:%x)\n", in ioat_eh()
822 dev_err(to_dev(ioat_chan), "Errors handled:\n"); in ioat_eh()
824 dev_err(to_dev(ioat_chan), "Errors not handled:\n"); in ioat_eh()
884 dev_err(to_dev(ioat_chan), "%s: Channel halted (%x)\n", in ioat_timer_event()
886 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
896 dev_warn(to_dev(ioat_chan), "Reset channel...\n"); in ioat_timer_event()
898 dev_warn(to_dev(ioat_chan), "Restart channel...\n"); in ioat_timer_event()
931 dev_err(to_dev(ioat_chan), "CHANSTS: %#Lx CHANERR: %#x\n", in ioat_timer_event()
933 dev_err(to_dev(ioat_chan), "Errors:\n"); in ioat_timer_event()
936 dev_dbg(to_dev(ioat_chan), "Active descriptors: %d\n", in ioat_timer_event()
944 dev_warn(to_dev(ioat_chan), "Resetting channel...\n"); in ioat_timer_event()
946 dev_warn(to_dev(ioat_chan), "Restarting channel...\n"); in ioat_timer_event()