Home
last modified time | relevance | path

Searched refs:NS_SMBUFSIZE (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/atm/
H A Dnicstar.h37 #define NS_SMBUFSIZE 48 /* 48, 96, 240 or 2048 */ macro
107 #define NS_MAX_IOVECS (2 + (65568 - NS_SMBUFSIZE) / \
111 #define NS_SMBUFSIZE_USABLE (NS_SMBUFSIZE - NS_SMBUFSIZE % 48)
116 #define NS_SMSKBSIZE (NS_SMBUFSIZE + NS_AAL0_HEADER)
117 #define NS_LGSKBSIZE (NS_SMBUFSIZE + NS_LGBUFSIZE)
571 #if (NS_SMBUFSIZE == 48)
573 #elif (NS_SMBUFSIZE == 96)
575 #elif (NS_SMBUFSIZE == 240)
577 #elif (NS_SMBUFSIZE == 2048)
580 #error NS_SMBUFSIZE is incorrect in nicstar.h
H A Dnicstar.c689 skb_reserve(lb, NS_SMBUFSIZE); in ns_init_card()
1208 skb_reserve(lb, NS_SMBUFSIZE); in ns_irq_handler()
2188 if (len <= NS_SMBUFSIZE) { in dequeue_rx()
2210 skb_push(skb, NS_SMBUFSIZE); in dequeue_rx()
2212 NS_SMBUFSIZE); in dequeue_rx()
2213 skb_put(skb, len - NS_SMBUFSIZE); in dequeue_rx()
2390 skb_reserve(new_lb, NS_SMBUFSIZE); in dequeue_lg_buf()
2400 skb_reserve(new_lb, NS_SMBUFSIZE); in dequeue_lg_buf()
2605 skb_reserve(lb, NS_SMBUFSIZE); in ns_ioctl()