Searched refs:to_dev (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/drivers/dma/ioat/ |
D | dma.c | 133 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 …]
|
D | prep.c | 291 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()
|
D | sysfs.c | 84 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
|
D | dma.h | 35 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro 220 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
|
D | init.c | 653 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/ |
D | rcar-hpbdma.c | 125 #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/ |
D | sysfs.txt | 157 #define to_dev(obj) container_of(obj, struct device, kobj) 164 struct device *dev = to_dev(kobj);
|
/linux-4.4.14/drivers/nvdimm/ |
D | btt.c | 295 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/ |
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()
|
/linux-4.4.14/net/bridge/ |
D | br_sysfs_br.c | 25 #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/ |
D | sysfs.txt | 144 #define to_dev(obj) container_of(obj, struct device, kobj) 151 struct device *dev = to_dev(kobj);
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_sysfs.c | 45 #define to_dev(obj) container_of(obj, struct device, kobj) macro
|