Searched refs:to_dev (Results 1 – 6 of 6) sorted by relevance
/drivers/dma/ioat/ |
D | dma.c | 177 dev_dbg(to_dev(&ioat->base), "%s: pending: %d\n", in __ioat1_dma_memcpy_issue_pending() 204 dev_warn(to_dev(chan), "reset\n"); in ioat1_reset_channel() 208 dev_err(to_dev(chan), in ioat1_reset_channel() 242 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); in ioat1_tx_submit() 328 dev_err(to_dev(chan), "CHANERR = %x, clearing\n", chanerr); in ioat1_dma_alloc_chan_resources() 336 dev_err(to_dev(chan), "Only %d initial descriptors\n", i); in ioat1_dma_alloc_chan_resources() 359 dev_dbg(to_dev(chan), "%s: allocated %d descriptors\n", in ioat1_dma_alloc_chan_resources() 395 dev_dbg(to_dev(chan), "%s: freeing %d from used list\n", in ioat1_dma_free_chan_resources() 419 dev_err(to_dev(chan), "Freeing %d in use descriptors!\n", in ioat1_dma_free_chan_resources() 448 dev_err(to_dev(&ioat->base), "alloc failed\n"); in ioat1_dma_get_next_descriptor() [all …]
|
D | dma_v2.c | 63 dev_dbg(to_dev(chan), in __ioat2_issue_pending() 98 dev_err(to_dev(&ioat->base), in __ioat2_start_null_desc() 103 dev_dbg(to_dev(&ioat->base), "%s: head: %#x tail: %#x issued: %#x\n", in __ioat2_start_null_desc() 140 dev_dbg(to_dev(chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup() 168 dev_dbg(to_dev(chan), "%s: cancel completion timeout\n", in __cleanup() 208 dev_dbg(to_dev(chan), in __ioat2_restart_chan() 314 dev_err(to_dev(chan), "%s: Channel halted (%x)\n", in ioat2_timer_event() 420 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); in ioat2_tx_submit_unlock() 574 dev_WARN(to_dev(chan), in ioat2_alloc_chan_resources() 678 dev_dbg(to_dev(chan), "%s: allocated %d descriptors\n", in reshape_ring() [all …]
|
D | dma_v3.c | 494 dev_dbg(to_dev(chan), "%s: phys_complete: %#llx\n", __func__, in ioat3_get_current_completion() 559 dev_dbg(to_dev(chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup() 616 dev_dbg(to_dev(chan), "%s: cancel completion timeout\n", in __cleanup() 686 dev_dbg(to_dev(chan), "%s: error = %x:%x\n", in ioat3_eh() 715 dev_err(to_dev(chan), "%s: fatal error (%x:%x)\n", in ioat3_eh() 773 dev_err(to_dev(chan), "%s: Channel halted (%x)\n", in ioat3_timer_event() 986 struct device *dev = to_dev(&ioat->base); in dump_pq_desc_dbg() 1013 struct device *dev = to_dev(&ioat->base); in dump_pq16_desc_dbg() 1066 dev_dbg(to_dev(chan), "%s\n", __func__); in __ioat3_prep_pq_lock() 1191 dev_dbg(to_dev(chan), "%s\n", __func__); in __ioat3_prep_pq16_lock() [all …]
|
D | dma.h | 41 #define to_dev(ioat_chan) (&(ioat_chan)->device->pdev->dev) macro 207 struct device *dev = to_dev(chan); in __dump_desc_dbg()
|
/drivers/media/i2c/ |
D | mt9m032.c | 168 #define to_dev(sensor) \ macro 188 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
|
/drivers/net/bonding/ |
D | bond_sysfs.c | 46 #define to_dev(obj) container_of(obj, struct device, kobj) macro
|