/* * Copyright 2016, Cyril Bur, IBM Corp. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _SELFTESTS_POWERPC_FPU_ASM_H #define _SELFTESTS_POWERPC_FPU_ASM_H #include "basic_asm.h" #define PUSH_FPU(stack_size) \ stfd f31,(stack_size + STACK_FRAME_MIN_SIZE)(%r1); \ stfd f30,(stack_size + STACK_FRAME_MIN_SIZE - 8)(%r1); \ stfd f29,(stack_size + STACK_FRAME_MIN_SIZE - 16)(%r1); \ stfd f28,(stack_size + STACK_FRAME_MIN_SIZE - 24)(%r1); \ stfd f27,(stack_size + STACK_FRAME_MIN_SIZE - 32)(%r1); \ stfd f26,(stack_size + STACK_FRAME_MIN_SIZE - 40)(%r1); \ stfd f25,(stack_size + STACK_FRAME_MIN_SIZE - 48)(%r1); \ stfd f24,(stack_size + STACK_FRAME_MIN_SIZE - 56)(%r1); \ stfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \ stfd f22,(stack_size + STACK_FRAME_MIN_SIZE - 72)(%r1); \ stfd f21,(stack_size + STACK_FRAME_MIN_SIZE - 80)(%r1); \ stfd f20,(stack_size + STACK_FRAME_MIN_SIZE - 88)(%r1); \ stfd f19,(stack_size + STACK_FRAME_MIN_SIZE - 96)(%r1); \ stfd f18,(stack_size + STACK_FRAME_MIN_SIZE - 104)(%r1); \ stfd f17,(stack_size + STACK_FRAME_MIN_SIZE - 112)(%r1); \ stfd f16,(stack_size + STACK_FRAME_MIN_SIZE - 120)(%r1); \ stfd f15,(stack_size + STACK_FRAME_MIN_SIZE - 128)(%r1); \ stfd f14,(stack_size + STACK_FRAME_MIN_SIZE - 136)(%r1); #define POP_FPU(stack_size) \ lfd f31,(stack_size + STACK_FRAME_MIN_SIZE)(%r1); \ lfd f30,(stack_size + STACK_FRAME_MIN_SIZE - 8)(%r1); \ lfd f29,(stack_size + STACK_FRAME_MIN_SIZE - 16)(%r1); \ lfd f28,(stack_size + STACK_FRAME_MIN_SIZE - 24)(%r1); \ lfd f27,(stack_size + STACK_FRAME_MIN_SIZE - 32)(%r1); \ lfd f26,(stack_size + STACK_FRAME_MIN_SIZE - 40)(%r1); \ lfd f25,(stack_size + STACK_FRAME_MIN_SIZE - 48)(%r1); \ lfd f24,(stack_size + STACK_FRAME_MIN_SIZE - 56)(%r1); \ lfd f23,(stack_size + STACK_FRAME_MIN_SIZE - 64)(%r1); \ lfd f22,(stack_size + STACK_FRAME_MIN_SIZE - 72)(%r1); \ lfd f21,(stack_size + STACK_FRAME_MIN_SIZE - 80)(%r1); \ lfd f20,(stack_size + STACK_FRAME_MIN_SIZE - 88)(%r1); \ lfd f19,(stack_size + STACK_FRAME_MIN_SIZE - 96)(%r1); \ lfd f18,(stack_size + STACK_FRAME_MIN_SIZE - 104)(%r1); \ lfd f17,(stack_size + STACK_FRAME_MIN_SIZE - 112)(%r1); \ lfd f16,(stack_size + STACK_FRAME_MIN_SIZE - 120)(%r1); \ lfd f15,(stack_size + STACK_FRAME_MIN_SIZE - 128)(%r1); \ lfd f14,(stack_size + STACK_FRAME_MIN_SIZE - 136)(%r1); /* * Careful calling this, it will 'clobber' fpu (by design) * Don't call this from C */ FUNC_START(load_fpu) lfd f14,0(r3) lfd f15,8(r3) lfd f16,16(r3) lfd f17,24(r3) lfd f18,32(r3) lfd f19,40(r3) lfd f20,48(r3) lfd f21,56(r3) lfd f22,64(r3) lfd f23,72(r3) lfd f24,80(r3) lfd f25,88(r3) lfd f26,96(r3) lfd f27,104(r3) lfd f28,112(r3) lfd f29,120(r3) lfd f30,128(r3) lfd f31,136(r3) blr FUNC_END(load_fpu) #endif /* _SELFTESTS_POWERPC_FPU_ASM_H */ ac'>root/sound/soc/codecs/da9055.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-02 11:45:27 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-02 11:45:27 -0800
commit8bca927f13bc1cebe23a3709af6ce3016400f7ac (patch)
treed602bde61c8dfd26d2716b1c68f04d04a9a6b7d8 /sound/soc/codecs/da9055.c
parented8d747fd2b9d9204762ca6ab8c843c72c42cc41 (diff)
parentb98b0bc8c431e3ceb4b26b0dfc8db509518fb290 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull networking fixes from David Miller: 1) Lots more phydev and probe error path leaks in various drivers by Johan Hovold. 2) Fix race in packet_set_ring(), from Philip Pettersson. 3) Use after free in dccp_invalid_packet(), from Eric Dumazet. 4) Signnedness overflow in SO_{SND,RCV}BUFFORCE, also from Eric Dumazet. 5) When tunneling between ipv4 and ipv6 we can be left with the wrong skb->protocol value as we enter the IPSEC engine and this causes all kinds of problems. Set it before the output path does any dst_output() calls, from Eli Cooper. 6) bcmgenet uses wrong device struct pointer in DMA API calls, fix from Florian Fainelli. 7) Various netfilter nat bug fixes from FLorian Westphal. 8) Fix memory leak in ipvlan_link_new(), from Gao Feng. 9) Locking fixes, particularly wrt. socket lookups, in l2tp from Guillaume Nault. 10) Avoid invoking rhash teardowns in atomic context by moving netlink cb->done() dump completion from a worker thread. Fix from Herbert Xu. 11) Buffer refcount problems in tun and macvtap on errors, from Jason Wang. 12) We don't set Kconfig symbol DEFAULT_TCP_CONG properly when the user selects BBR. Fix from Julian Wollrath. 13) Fix deadlock in transmit path on altera TSE driver, from Lino Sanfilippo. 14) Fix unbalanced reference counting in dsa_switch_tree, from Nikita Yushchenko. 15) tc_tunnel_key needs to be properly exported to userspace via uapi, fix from Roi Dayan. 16) rds_tcp_init_net() doesn't unregister notifier in error path, fix from Sowmini Varadhan. 17) Stale packet header pointer access after pskb_expand_head() in genenve driver, fix from Sabrina Dubroca. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (103 commits) net: avoid signed overflows for SO_{SND|RCV}BUFFORCE geneve: avoid use-after-free of skb->data tipc: check minimum bearer MTU net: renesas: ravb: unintialized return value sh_eth: remove unchecked interrupts for RZ/A1 net: bcmgenet: Utilize correct struct device for all DMA operations NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040 cdc_ether: Fix handling connection notification ip6_offload: check segs for NULL in ipv6_gso_segment. RDS: TCP: unregister_netdevice_notifier() in error path of rds_tcp_init_net Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()" ipv6: Set skb->protocol properly for local output ipv4: Set skb->protocol properly for local output packet: fix race condition in packet_set_ring net: ethernet: altera: TSE: do not use tx queue lock in tx completion handler net: ethernet: altera: TSE: Remove unneeded dma sync for tx buffers net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks net: ethernet: stmmac: platform: fix outdated function header net: ethernet: stmmac: dwmac-meson8b: fix probe error path net: ethernet: stmmac: dwmac-generic: fix probe error path ...
Diffstat (limited to 'sound/soc/codecs/da9055.c')