#undef TRACE_SYSTEM #define TRACE_SYSTEM swiotlb #if !defined(_TRACE_SWIOTLB_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_SWIOTLB_H #include TRACE_EVENT(swiotlb_bounced, TP_PROTO(struct device *dev, dma_addr_t dev_addr, size_t size, enum swiotlb_force swiotlb_force), TP_ARGS(dev, dev_addr, size, swiotlb_force), TP_STRUCT__entry( __string( dev_name, dev_name(dev) ) __field( u64, dma_mask ) __field( dma_addr_t, dev_addr ) __field( size_t, size ) __field( enum swiotlb_force, swiotlb_force ) ), TP_fast_assign( __assign_str(dev_name, dev_name(dev)); __entry->dma_mask = (dev->dma_mask ? *dev->dma_mask : 0); __entry->dev_addr = dev_addr; __entry->size = size; __entry->swiotlb_force = swiotlb_force; ), TP_printk("dev_name: %s dma_mask=%llx dev_addr=%llx " "size=%zu %s", __get_str(dev_name), __entry->dma_mask, (unsigned long long)__entry->dev_addr, __entry->size, __print_symbolic(__entry->swiotlb_force, { SWIOTLB_NORMAL, "NORMAL" }, { SWIOTLB_FORCE, "FORCE" }, { SWIOTLB_NO_FORCE, "NO_FORCE" })) ); #endif /* _TRACE_SWIOTLB_H */ /* This part must be outside protection */ #include ed='selected'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-20 12:25:11 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-20 12:25:11 -0800
commitcca112ecf259e24096bc18b736c3ae985e81ac72 (patch)
tree0eb80216d469e5fade76bb35b7e729751a38d019 /Documentation
parente90665a5d38b17fdbe484a85fbba917a7006522d (diff)
parent52cc720c568efd8fd454053b98fe4b4fd94688fe (diff)
Merge tag 'spi-fix-v4.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown: "The usual small smattering of driver specific fixes. A few bits that stand out here: - the R-Car patches adding fallbacks are just adding new compatible strings to the driver so that device trees are written in a more robustly future proof fashion, this isn't strictly a fix but it's just new IDs and it's better to get it into mainline sooner to improve the ABI - the DesignWare "switch to new API part 2" patch is actually a misleadingly titled fix for a bit that got missed in the original conversion" * tag 'spi-fix-v4.10-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: davinci: use dma_mapping_error() spi: spi-axi: Free resources on error path spi: pxa2xx: add missed break spi: dw-mid: switch to new dmaengine_terminate_* API (part 2) spi: dw: Make debugfs name unique between instances spi: sh-msiof: Do not use C++ style comment spi: armada-3700: Set mode bits correctly spi: armada-3700: fix unsigned compare than zero on irq spi: sh-msiof: Add R-Car Gen 2 and 3 fallback bindings spi: SPI_FSL_DSPI should depend on HAS_DMA
Diffstat (limited to 'Documentation')