Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/dma/ioat/
Ddma.c133 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending()
169 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc()
174 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc()
212 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan()
273 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); in ioat_tx_submit_unlock()
463 dev_dbg(to_dev(ioat_chan), "%s: allocated %d descriptors\n", in reshape_ring()
490 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock()
514 dev_dbg_ratelimited(to_dev(ioat_chan), in ioat_check_space_lock()
571 dev_dbg(to_dev(ioat_chan), "%s: phys_complete: %#llx\n", __func__, in ioat_get_current_completion()
632 dev_dbg(to_dev(ioat_chan), "%s: head: %#x tail: %#x issued: %#x\n", in __cleanup()
[all …]
Dprep.c291 struct device *dev = to_dev(ioat_chan); in dump_pq_desc_dbg()
318 struct device *dev = to_dev(ioat_chan); in dump_pq16_desc_dbg()
370 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq_lock()
492 dev_dbg(to_dev(ioat_chan), "%s\n", __func__); in __ioat_prep_pq16_lock()
519 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
Dsysfs.c84 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
Ddma.h35 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro
220 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
Dinit.c653 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); in ioat_free_chan_resources()
660 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n", in ioat_free_chan_resources()
744 dev_WARN(to_dev(ioat_chan), in ioat_alloc_chan_resources()
/linux-4.4.14/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.4.14/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.4.14/drivers/nvdimm/
Dbtt.c295 static struct device *to_dev(struct arena_info *arena) in to_dev() function
319 dev_info(to_dev(arena), in btt_log_read()
645 dev_info(to_dev(arena), "No existing arenas\n"); in discover_arenas()
648 dev_info(to_dev(arena), in discover_arenas()
/linux-4.4.14/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.4.14/net/bridge/
Dbr_sysfs_br.c25 #define to_dev(obj) container_of(obj, struct device, kobj) macro
817 struct device *dev = to_dev(kobj); in brforward_read()
/linux-4.4.14/Documentation/filesystems/
Dsysfs.txt144 #define to_dev(obj) container_of(obj, struct device, kobj)
151 struct device *dev = to_dev(kobj);
/linux-4.4.14/drivers/net/bonding/
Dbond_sysfs.c45 #define to_dev(obj) container_of(obj, struct device, kobj) macro