/* * Handling of a sram zone for bestcomm * * * Copyright (C) 2007 Sylvain Munaut * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. */ #ifndef __BESTCOMM_SRAM_H__ #define __BESTCOMM_SRAM_H__ #include #include #include /* Structure used internally */ /* The internals are here for the inline functions * sake, certainly not for the user to mess with ! */ struct bcom_sram { phys_addr_t base_phys; void *base_virt; unsigned int size; rh_info_t *rh; spinlock_t lock; }; extern struct bcom_sram *bcom_sram; /* Public API */ extern int bcom_sram_init(struct device_node *sram_node, char *owner); extern void bcom_sram_cleanup(void); extern void* bcom_sram_alloc(int size, int align, phys_addr_t *phys); extern void bcom_sram_free(void *ptr); static inline phys_addr_t bcom_sram_va2pa(void *va) { return bcom_sram->base_phys + (unsigned long)(va - bcom_sram->base_virt); } static inline void *bcom_sram_pa2va(phys_addr_t pa) { return bcom_sram->base_virt + (unsigned long)(pa - bcom_sram->base_phys); } #endif /* __BESTCOMM_SRAM_H__ */ linux-2.6.17.y'>linux-2.6.17.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/net/atm
AgeCommit message (Expand)Author
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds
2020-07-30treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()Kees Cook
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig
2020-07-19net/atm: remove the atmdev_ops {get, set}sockopt methodsChristoph Hellwig
2020-07-19net: atm: lec_arpc.h: delete duplicated wordRandy Dunlap
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds
2020-06-13net: atm: Remove the error message according to the atomic contextLiao Pingfang
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada
2020-05-20atm: switch do_atmif_sioc() to direct use of atm_dev_ioctl()Al Viro
2020-05-20atm: lift copyin from atm_dev_ioctl()Al Viro
2020-05-20atm: switch do_atm_iobuf() to direct use of atm_getnames()Al Viro
2020-05-20atm: move copyin from atm_getnames() into the callerAl Viro
2020-05-20atm: separate ATM_GETNAMES handling from the rest of atm_dev_ioctl()Al Viro
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-05-04atm: fix a memory leak of vcc->user_backCong Wang
2020-05-04atm: fix a UAF in lec_arp_clear_vccs()Cong Wang
2020-04-28docs: networking: convert atm.txt to ReSTMauro Carvalho Chehab
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan
2020-01-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller
2020-01-25net: atm: use %*ph to print small bufferAndy Shevchenko
2020-01-24vcc_seq_next should increase position indexVasily Averin
2019-12-12netdev: pass the stuck queue to the timeout handlerMichael S. Tsirkin
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski
2019-11-18net: atm: Reduce the severity of logging in unlink_clip_vccAditya Pakki
2019-11-06net: use helpers to change sk_ack_backlogEric Dumazet
2019-10-28net: use skb_queue_empty_lockless() in poll() handlersEric Dumazet
2019-09-05pppoatm: use %*ph to print small bufferAndy Shevchenko
2019-09-05net: mpoa: Use kzfree rather than its implementation.zhong jiang
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner
2019-05-05net: atm: clean up a range checkDan Carpenter
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller
2019-04-16net: atm: Fix potential Spectre v1 vulnerabilitiesGustavo A. R. Silva
2019-04-08ipv4: Prepare rtable for IPv6 gatewayDavid Ahern
2019-03-07net: atm: Add another IS_ENABLED(CONFIG_COMPAT) in atm_dev_ioctlNathan Chancellor
2019-03-07net: atm: Use IS_ENABLED in atm_dev_ioctlNathan Chancellor
2019-02-16atm: clean up vcc_seq_next()Dan Carpenter