Home
last modified time | relevance | path

Searched refs:to_dev (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/dma/ioat/
Ddma.c174 dev_dbg(to_dev(&ioat->base), "%s: pending: %d\n", in __ioat1_dma_memcpy_issue_pending()
201 dev_warn(to_dev(chan), "reset\n"); in ioat1_reset_channel()
205 dev_err(to_dev(chan), in ioat1_reset_channel()
239 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); in ioat1_tx_submit()
325 dev_err(to_dev(chan), "CHANERR = %x, clearing\n", chanerr); in ioat1_dma_alloc_chan_resources()
333 dev_err(to_dev(chan), "Only %d initial descriptors\n", i); in ioat1_dma_alloc_chan_resources()
356 dev_dbg(to_dev(chan), "%s: allocated %d descriptors\n", in ioat1_dma_alloc_chan_resources()
426 dev_dbg(to_dev(chan), "%s: freeing %d from used list\n", in ioat1_dma_free_chan_resources()
450 dev_err(to_dev(chan), "Freeing %d in use descriptors!\n", in ioat1_dma_free_chan_resources()
479 dev_err(to_dev(&ioat->base), "alloc failed\n"); in ioat1_dma_get_next_descriptor()
[all …]
Ddma_v2.c59 dev_dbg(to_dev(chan), in __ioat2_issue_pending()
94 dev_err(to_dev(&ioat->base), in __ioat2_start_null_desc()
99 dev_dbg(to_dev(&ioat->base), "%s: head: %#x tail: %#x issued: %#x\n", in __ioat2_start_null_desc()
136 dev_dbg(to_dev(chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup()
164 dev_dbg(to_dev(chan), "%s: cancel completion timeout\n", in __cleanup()
207 dev_dbg(to_dev(chan), in __ioat2_restart_chan()
313 dev_err(to_dev(chan), "%s: Channel halted (%x)\n", in ioat2_timer_event()
419 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); in ioat2_tx_submit_unlock()
572 dev_WARN(to_dev(chan), in ioat2_alloc_chan_resources()
676 dev_dbg(to_dev(chan), "%s: allocated %d descriptors\n", in reshape_ring()
[all …]
Ddma_v3.c315 dev_dbg(to_dev(chan), "%s: phys_complete: %#llx\n", __func__, in ioat3_get_current_completion()
380 dev_dbg(to_dev(chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup()
437 dev_dbg(to_dev(chan), "%s: cancel completion timeout\n", in __cleanup()
511 dev_dbg(to_dev(chan), "%s: error = %x:%x\n", in ioat3_eh()
540 dev_err(to_dev(chan), "%s: fatal error (%x:%x)\n", in ioat3_eh()
608 dev_err(to_dev(chan), "%s: Channel halted (%x)\n", in ioat3_timer_event()
776 struct device *dev = to_dev(&ioat->base); in dump_pq_desc_dbg()
803 struct device *dev = to_dev(&ioat->base); in dump_pq16_desc_dbg()
856 dev_dbg(to_dev(chan), "%s\n", __func__); in __ioat3_prep_pq_lock()
978 dev_dbg(to_dev(chan), "%s\n", __func__); in __ioat3_prep_pq16_lock()
[all …]
Ddma.h37 #define to_dev(ioat_chan) (&(ioat_chan)->device->pdev->dev) macro
201 struct device *dev = to_dev(chan); in __dump_desc_dbg()
/linux-4.1.27/drivers/dma/sh/
Drcar-hpbdma.c125 #define to_dev(sc) container_of(sc->shdma_chan.dma_chan.device, \ macro
248 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan); in calc_xmit_shift()
299 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan); in hpb_dmae_find_slave()
317 struct hpb_dmae_device *hpbdev = to_dev(chan); in hpb_dmae_start_xfer()
349 struct hpb_dmae_device *hpbdev = to_dev(chan); in hpb_dmae_chan_irq()
403 struct hpb_dmae_device *hpbdev = to_dev(hpb_chan); in hpb_dmae_alloc_chan_resources()
/linux-4.1.27/Documentation/zh_CN/filesystems/
Dsysfs.txt157 #define to_dev(obj) container_of(obj, struct device, kobj)
164 struct device *dev = to_dev(kobj);
/linux-4.1.27/drivers/media/i2c/
Dmt9m032.c168 #define to_dev(sensor) \ macro
188 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
/linux-4.1.27/net/bridge/
Dbr_sysfs_br.c25 #define to_dev(obj) container_of(obj, struct device, kobj) macro
810 struct device *dev = to_dev(kobj); in brforward_read()
/linux-4.1.27/Documentation/filesystems/
Dsysfs.txt144 #define to_dev(obj) container_of(obj, struct device, kobj)
151 struct device *dev = to_dev(kobj);
/linux-4.1.27/drivers/net/bonding/
Dbond_sysfs.c45 #define to_dev(obj) container_of(obj, struct device, kobj) macro