Home
last modified time | relevance | path

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

/drivers/dma/ioat/
Ddma.c80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs()
177 dev_dbg(to_dev(ioat_chan), in __ioat_issue_pending()
213 dev_err(to_dev(ioat_chan), in __ioat_start_null_desc()
218 dev_dbg(to_dev(ioat_chan), in __ioat_start_null_desc()
256 dev_dbg(to_dev(ioat_chan), in __ioat_restart_chan()
317 dev_dbg(to_dev(ioat_chan), "%s: cookie: %d\n", __func__, cookie); in ioat_tx_submit_unlock()
389 descs->virt = dma_alloc_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
396 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_alloc_ring()
417 dma_free_coherent(to_dev(ioat_chan), in ioat_alloc_ring()
458 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n", in ioat_check_space_lock()
[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()
Ddma.h35 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) macro
232 struct device *dev = to_dev(ioat_chan); in __dump_desc_dbg()
Dsysfs.c100 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
Dinit.c641 dev_dbg(to_dev(ioat_chan), "freeing %d idle descriptors\n", descs); in ioat_free_chan_resources()
648 dev_err(to_dev(ioat_chan), "Freeing %d in use descriptors!\n", in ioat_free_chan_resources()
658 dma_free_coherent(to_dev(ioat_chan), SZ_2M, in ioat_free_chan_resources()
740 dev_WARN(to_dev(ioat_chan), in ioat_alloc_chan_resources()
/drivers/nvdimm/
Dbtt.c34 static struct device *to_dev(struct arena_info *arena) in to_dev() function
75 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->infooff, 512), in btt_info_write()
77 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->info2off, 512), in btt_info_write()
107 dev_err_ratelimited(to_dev(arena), in __btt_map_write()
148 dev_err_ratelimited(to_dev(arena), in btt_map_write()
166 dev_err_ratelimited(to_dev(arena), in btt_map_read()
347 dev_err(to_dev(arena), in btt_log_read()
430 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->mapoff, 512), in btt_map_init()
436 dev_WARN_ONCE(to_dev(arena), size < 512, in btt_map_init()
474 dev_WARN_ONCE(to_dev(arena), !IS_ALIGNED(arena->logoff, 512), in btt_log_init()
[all …]
Dpmem.c38 static struct device *to_dev(struct pmem_device *pmem) in to_dev() function
49 return to_nd_region(to_dev(pmem)->parent); in to_region()
55 struct device *dev = to_dev(pmem); in pmem_clear_poison()
/drivers/media/i2c/
Dmt9m032.c163 #define to_dev(sensor) \ macro
183 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); in mt9m032_row_time()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1554 struct net_device *to_dev; in mlxsw_sp_port_add_cls_matchall_mirror() local
1558 to_dev = __dev_get_by_index(net, ifindex); in mlxsw_sp_port_add_cls_matchall_mirror()
1559 if (!to_dev) { in mlxsw_sp_port_add_cls_matchall_mirror()
1564 if (!mlxsw_sp_port_dev_check(to_dev)) { in mlxsw_sp_port_add_cls_matchall_mirror()
1568 to_port = netdev_priv(to_dev); in mlxsw_sp_port_add_cls_matchall_mirror()