aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2024-04-05 06:08:18 +0000
committerGreg Kroah-Hartman <[email protected]>2024-04-09 13:28:03 +0000
commitd52b761e4b1acc897e65bcc8eff42b0537ac0134 (patch)
tree1f21b36091a3dfde120e39ab18e70a4eee11c834 /drivers/tty/serial/sccnxp.c
parentkfifo: pass offset to setup_sgl_buf() instead of a pointer (diff)
downloadkernel-d52b761e4b1acc897e65bcc8eff42b0537ac0134.tar.gz
kernel-d52b761e4b1acc897e65bcc8eff42b0537ac0134.zip
kfifo: add kfifo_dma_out_prepare_mapped()
When the kfifo buffer is already dma-mapped, one cannot use the kfifo API to fill in an SG list. Add kfifo_dma_in_prepare_mapped() which allows exactly this. A mapped dma_addr_t is passed and it is filled into provided sgl too. Including the dma_len. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Cc: Stefani Seibold <[email protected]> Cc: Andrew Morton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions